Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/release-notes/v2.4.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# V2.4.2 - Watcher

Dictation keeps the message in your draft until the final transcript is ready. Pressing Send or queuing a follow-up while recording no longer sends a partial message. Releasing push-to-talk during microphone setup cancels the recording, and switching windows won't send your words to another draft.

You can now collapse a question to read the conversation behind it. Expand it to continue where you left off, including any answer you were typing.

The CI watcher now recognizes “Hey, set up a watcher as soon as the CI passes” even when you also ask to merge or release. If one check fails while others are still running, Fate posts the failure in the original chat without waiting for every check or calling a model. A busy chat gets the update when it’s idle. The watcher does not merge or publish anything.
21 changes: 18 additions & 3 deletions .github/workflows/cross-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,16 +314,29 @@ jobs:
echo "PKG smoke attempt $attempt failed; retrying in 5 seconds."
sleep 5
done
- name: Verify packaged spoken transcript
if: runner.os == 'Linux' && github.event_name != 'pull_request'
shell: bash
env:
PI_DESKTOP_SPEECH_STREAM_SMOKE: '1'
INSTALLED_SMOKE_TIMEOUT_MS: '600000'
run: |
version=$(node -p "require('./package.json').version")
appimage="artifacts/Fate-UI-$version-Linux-${{ matrix.arch }}.AppImage"
chmod +x "$appimage"
xvfb-run -a node scripts/smoke-executable.mjs "$appimage" --appimage-extract-and-run
- name: Run, install, and smoke Linux installers
if: runner.os == 'Linux'
shell: bash
run: |
set -euo pipefail
version=$(node -p "require('./package.json').version")
appimage="artifacts/Fate-UI-$version-Linux-${{ matrix.arch }}.AppImage"
deb="artifacts/Fate-UI-$version-Linux-${{ matrix.arch }}.deb"
chmod +x "$appimage"
xvfb-run -a node scripts/smoke-executable.mjs "$appimage" --appimage-extract-and-run
if [ "$GITHUB_EVENT_NAME" = pull_request ]; then
appimage="artifacts/Fate-UI-$version-Linux-${{ matrix.arch }}.AppImage"
chmod +x "$appimage"
xvfb-run -a node scripts/smoke-executable.mjs "$appimage" --appimage-extract-and-run
fi

package_name=$(dpkg-deb -f "$deb" Package)
trap 'sudo apt-get purge -y "$package_name" >/dev/null 2>&1 || true' EXIT
Expand Down Expand Up @@ -497,6 +510,8 @@ jobs:
test "$run_conclusion" = success
test "$run_workflow" = .github/workflows/cross-platform.yml
test "$run_head" = "$tag_head"
gh api "repos/$GITHUB_REPOSITORY/actions/runs/$PROMOTE_RUN_ID/jobs?per_page=100" |
jq -e 'any(.jobs[]; .name == "Linux x64 / Node 22" and .conclusion == "success" and any(.steps[]; .name == "Verify packaged spoken transcript" and .conclusion == "success"))'
git merge-base --is-ancestor "$tag_head" origin/main
git checkout --detach "$PROMOTE_TAG"
node scripts/release-artifacts.mjs validate-tag --tag "$PROMOTE_TAG"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ coverage/
.parallax/
.impeccable/
/plans/
/advisor-plans/
# Local handoff archives are inputs, not source or release artifacts.
/pi-fategui-M5-updated-plans.zip
/fate-server-*.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion PRODVER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.1
2.4.2
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The cross-platform GitHub Actions package matrix runs for pull requests, pushes
- Native hosted runners build, install or mount, and smoke-test Windows x64, macOS Apple Silicon and Intel, and Linux x64 packages: Windows NSIS, macOS DMG and PKG, Linux AppImage and DEB.
- The version in `package.json` and `PRODVER` must match. The release tag is `v<version>`, and `node scripts/release-artifacts.mjs metadata --field display-version` combines that version with the optional `package.json.releaseName` for the display title.

The current source version is `2.4.1` (Watcher).
The current source version is `2.4.2` (Watcher).

1. Merge the version bump and `.github/release-notes/v<version>.md` into `main`.
2. Manually run **Cross-platform installers** on `main` with the promotion inputs empty. Confirm the run used the intended commit, all four native jobs passed, and `verified-release-installers` contains seven installers and `SHA256SUMS`. This artifact is retained for 14 days. This run does not publish anything.
Expand Down
2 changes: 1 addition & 1 deletion docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Attach saved sessions as read-only context, or message a saved session without s

## Native media (optional)

- **Voice transcription** — local, settings-controlled models with bounded and verified downloads.
- **Voice transcription** — audio is decoded locally and the result stays in the draft. Send and queue actions are unavailable from microphone preparation until the transcript is ready; stopping dictation never sends a message. Push-to-talk is bound to one window until release. A recording stops after three minutes.
- **Ambient audio** — disabled by default; resolved through a bundled, pinned `yt-dlp` runtime and streamed without saving media into the project.
- **Generated images** — select an image model independently of the active chat model. Fate UI supports authenticated OpenAI, Google, OpenRouter, and ChatGPT OAuth routes, plus compatible custom Pi providers. Custom endpoints require HTTPS except on loopback addresses. Generated raster output is validated, rendered inline, and stored under `~/.pi/agent/generated-images/<session-id>/`.

Expand Down
6 changes: 4 additions & 2 deletions docs/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ A Monitor watch uses a separate, one-shot connection to a named, enabled **local

## Watch CI from chat

In a trusted desktop project, ask: “Watch this PR’s CI and tell me when it finishes.” Fate resolves the branch’s pull request and pins its current commit. You can also include a GitHub pull request or Actions run link in the request. An authenticated local `gh` CLI with access to the repository is required. No workflow is started or modified.
In a trusted desktop project, ask: “Watch this PR’s CI and tell me when it finishes.” Fate resolves the branch’s pull request and pins its current commit. You can also include a GitHub pull request or Actions run link in the request. An authenticated local `gh` CLI with access to the repository is required.

The turn ends normally. **Run → Monitor → Watches** shows the status and lets you stop the watch. When checks finish, Fate posts a text-only update in the original chat, without tools or chat history. Switching projects does not stop the watch. Watches expire after one hour and do not resume after quitting.
You can also say “Hey, set up a watcher as soon as the CI passes.” The watch reports the result, including failures. Asking for a merge or a release in the same message does not schedule either action.

The turn ends normally. **Run → Monitor → Watches** shows the status and lets you stop the watch. Fate reports the first confirmed failure for the pinned commit, even if other checks are still running. A success report waits for the complete set of checks. Chat watches post directly in the original chat without calling a model; if the chat is busy, the update waits until it is idle. Switching projects does not stop the watch. Watches expire after one hour and do not resume after quitting.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pi-fategui",
"version": "2.4.1",
"version": "2.4.2",
"releaseName": "Watcher",
"description": "A local-first desktop interface for the Pi coding agent",
"type": "module",
Expand Down
3 changes: 2 additions & 1 deletion scripts/smoke-executable.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ const smokeArguments = process.platform === 'darwin' && process.arch === 'x64' &
? ['--disable-gpu', ...applicationArguments]
: applicationArguments;

const { TRANSCRIBE_LIBRARY: _hostSpeechLibrary, ...smokeEnv } = process.env;
const child = spawn(executable, smokeArguments, {
cwd: path.resolve(import.meta.dirname, '..'),
env: { ...process.env, FATE_NEW_INSTANCE: '1', PI_DESKTOP_SMOKE: '1', PI_OFFLINE: '1' },
env: { ...smokeEnv, FATE_NEW_INSTANCE: '1', PI_DESKTOP_SMOKE: '1', PI_OFFLINE: '1' },
stdio: ['ignore', 'pipe', 'pipe'],
});
const requiredMarkers = ['PI_DESKTOP_RENDERER_OK', 'PI_DESKTOP_SPEECH_OK', 'PI_DESKTOP_YT_DLP_OK', 'PI_DESKTOP_THEMES_OK', 'PI_DESKTOP_TERMINAL_OK', 'PI_DESKTOP_SMOKE_OK'];
Expand Down
3 changes: 2 additions & 1 deletion scripts/smoke-packaged.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ const timeoutMs = Number(process.env.PACKAGED_SMOKE_TIMEOUT_MS ?? '120000');
const applicationArguments = process.platform === 'darwin' && process.arch === 'x64' && process.env.PI_DESKTOP_SPEECH_STREAM_SMOKE === '1'
? ['--disable-gpu']
: [];
const { TRANSCRIBE_LIBRARY: _hostSpeechLibrary, ...smokeEnv } = process.env;
const child = spawn(executable, applicationArguments, {
cwd: root,
env: { ...process.env, FATE_NEW_INSTANCE: '1', PI_DESKTOP_SMOKE: '1', PI_OFFLINE: '1' },
env: { ...smokeEnv, FATE_NEW_INSTANCE: '1', PI_DESKTOP_SMOKE: '1', PI_OFFLINE: '1' },
stdio: ['ignore', 'pipe', 'pipe'],
});
const requiredMarkers = ['PI_DESKTOP_RENDERER_OK', 'PI_DESKTOP_SPEECH_OK', 'PI_DESKTOP_YT_DLP_OK', 'PI_DESKTOP_THEMES_OK', 'PI_DESKTOP_TERMINAL_OK', 'PI_DESKTOP_SMOKE_OK'];
Expand Down
Loading
Loading