Skip to content

Releases

sPi v0.3.8 (Linux + macOS)

Choose a tag to compare

@github-actions github-actions released this 21 Nov 19:47

sPi 0.3.8 — /compact routes to the compact RPC

Changes / 更新

  • /compact executes the compact command instead of prompting the model. In Pi RPC mode a prompt beginning with / is not parsed as a built-in command, so typing /compact sent the literal text to the model as a plain user message. Sending a draft that is exactly /compact (optionally followed by compaction instructions) now calls the session compact RPC — the same path as the title-bar compact control — clearing the draft on success, preserving it with an error notice on failure (for example while the session is busy), and refusing image attachments. Other text containing /compact is unchanged, and extension/skill/template commands keep working through the normal prompt path.

输入 /compact(可带压缩指令)现在执行上下文压缩,而不是把文本发给模型:RPC 模式下 Pi 不会把 prompt 里的 /compact 解析为内建命令,sPi 现在直接走与标题栏压缩按钮相同的 compact RPC。成功即清空草稿;失败(如会话忙碌)保留草稿并提示;不能附带图片。正文中提及 /compact 的消息不受影响。

Platforms and upgrade / 平台与升级

  • Linux x64/arm64 and macOS Apple Silicon/Intel. Mac is ad-hoc signed, not Developer ID signed or notarized; no OS protection bypass is provided.
  • Existing 0.3.7 installations can use the in-app path: Settings → Check for updates, download 0.3.8, save unsent drafts/queue contents, then explicitly confirm Restart to apply. spi update is the CLI alternative. This publication will not restart the current window for you; installation alone does not hot-update a running app.
  • GitHub is the primary desktop update channel; no npm action is needed for that in-app update. The matching lightweight npm package remains the first-install path: pi install npm:spi-agent-gui@0.3.8 after public npm verification.
  • Remote protocol stays v2; saved pairings/profile/history are preserved. Immutable 0.3.7 assets are not replaced.

Acceptance and publication status

  • GitHub v0.3.8 is public from immutable source 4ab6c50 (feature) + prepare commit. Native release run and source Checks passed. All 11 public assets were anonymously downloaded and verified against SHA256SUMS; the four-target manifest binds version 0.3.8 with no-build-dependencies inventories on every target.
  • npm spi-agent-gui@0.3.8 — pending publication and verification.

sPi v0.3.7 (Linux + macOS)

Choose a tag to compare

@github-actions github-actions released this 21 Nov 16:46

sPi 0.3.7 — editable directory path, right-click copy

Changes / 更新

  • Editable directory path with jump. The path title at the top of the directory session list is now editable: click it to open an input pre-filled with the current absolute path, type a directory and press Enter to jump there (~ and ~/… expand against the home directory). If the typed path does not exist or is not a directory, an error notice is shown and the list stays on the current directory. Escape or clicking away cancels without jumping.
  • Right-click copy for selected text. Selecting text with the mouse in the main window (chat area) and right-clicking opens a context menu with a single Copy item that copies the exact selection to the clipboard. Without a selection the previous behavior is unchanged, and the terminal keeps its own right-click menu (Copy/Paste/Select all/Clear/Hide/Close).

目录会话列表顶部的路径标题现在可以直接编辑:点击后输入目录并回车即跳转(支持 ~ 展开);目录不存在时弹出错误提示并留在原目录,Esc 取消。主窗口选中文字后右键可一键复制选区;终端右键菜单不受影响。

Platforms and upgrade / 平台与升级

  • Linux x64/arm64 and macOS Apple Silicon/Intel. Mac is ad-hoc signed, not Developer ID signed or notarized; no OS protection bypass is provided.
  • Existing 0.3.6 installations can use the in-app path: Settings → Check for updates, download 0.3.7, save unsent drafts/queue contents, then explicitly confirm Restart to apply. spi update is the CLI alternative. This publication will not restart the current window for you; installation alone does not hot-update a running app.
  • GitHub is the primary desktop update channel; no npm action is needed for that in-app update. The matching lightweight npm package remains the first-install path: pi install npm:spi-agent-gui@0.3.7 after public npm verification.
  • Remote protocol stays v2; saved pairings/profile/history are preserved. Immutable 0.3.6 assets are not replaced.

Acceptance and publication status

  • Pending: native four-platform candidates, GitHub v0.3.7 publication and anonymous asset verification, then the matching npm package.

sPi v0.3.6 (Linux + macOS)

Choose a tag to compare

@github-actions github-actions released this 21 Nov 07:18

sPi 0.3.6 — directory tree refresh, multi-select session deletion

Changes / 更新

  • Directory tree refreshes on re-expand. Collapsing and re-expanding a directory re-scans that level instead of reusing the cached child list, so directories and files created while the folder was collapsed (or while the app was running) appear immediately — no restart or manual refresh needed. First expansion and the initial tree load are unchanged.
  • Ctrl/Cmd+click multi-select session deletion. Both the current-directory session list and the recent sessions list support multi-select: Ctrl+click (Cmd+click on macOS) toggles rows into a highlighted selection; a plain click still opens the session and clears the selection. With more than one row selected, the right-click menu offers only “Delete N sessions” — rename, AI naming, connection check and recovery do not apply to multiple targets. The confirmation dialog lists the selected sessions (first five, then a total) and deletes them one by one: a single failure does not stop the rest, successful deletions stay applied, and failures are reported in the dialog. Stale selections are pruned automatically when rows disappear (e.g. after a successful delete) and cleared when switching directory.

重新展开目录会重新扫描该层内容,折叠期间新建的目录/文件立即出现,无需重启。目录会话列表与最近会话列表支持 Ctrl/Cmd+click 多选;多选时右键只提供「删除 N 个会话」,确认对话框列出所选会话并逐个删除,单个失败不阻断其余并在对话框中报告。

Platforms and upgrade / 平台与升级

  • Linux x64/arm64 and macOS Apple Silicon/Intel. Mac is ad-hoc signed, not Developer ID signed or notarized; no OS protection bypass is provided.
  • Existing 0.3.5 installations can use the in-app path: Settings → Check for updates, download 0.3.6, save unsent drafts/queue contents, then explicitly confirm Restart to apply. spi update is the CLI alternative. This publication will not restart the current window for you; installation alone does not hot-update a running app.
  • GitHub is the primary desktop update channel; no npm action is needed for that in-app update. The matching lightweight npm package remains the first-install path: pi install npm:spi-agent-gui@0.3.6 after public npm verification.
  • Remote protocol stays v2; saved pairings/profile/history are preserved. Immutable 0.3.5 assets are not replaced.

Acceptance and publication status

  • Pending: native four-platform candidates, GitHub v0.3.6 publication and anonymous asset verification, then the matching npm package.

sPi v0.3.5 (Linux + macOS)

Choose a tag to compare

@github-actions github-actions released this 21 Nov 05:10

sPi 0.3.5 — steer cuts in line, command completion fixed

Changes / 更新

  • Steer now cuts in line through Pi's native steering queue. While a run is live, a steer injects the message into that run — delivered after the current turn's tool calls and before the next model call — instead of waiting in the editable outbox for the session to become idle. When idle, a steer starts a run immediately. Normal and follow-up sends keep the editable outbox with its edit/cancel/hold behavior. While an outbox handoff is in flight or outbox work is held (editing/paused), a steer keeps the outbox order at the front instead of racing the in-flight handoff. Stopping the run returns undelivered steering text to the draft via the queue clear.
  • get_state now reports the native steering/follow-up queues, tracked from Pi queue_update events and cleared on exit/recovery/close, so injected steers are observable and the GUI smoke can assert they settled inside the live run.
  • Fix slash-command completion dropping the leading '/'. Command names from Pi get_commands are invocation names without the slash, and applying a selection replaced the trigger character with the bare name, so a selected command was sent as plain text. The draft now keeps the slash-prefixed command; file '@' completion keeps inserting the bare path as before.
  • Retire the 0.3.3/0.3.4 build-only audit exception. Upstream withdrew GHSA-fc5q-39xc-vjpf (updated 2026-11-19), and the full npm audit now reports 0 high / 0 critical, 8 moderate. Any high/critical finding blocks again for every version; there is no version allowlist. The build-only module absence checks (picomatch/fdir/tinyglobby/node-gyp/@electron/rebuild) for installer inputs and every final ASAR/unpacked/resources script/standalone helper remain mandatory under the no-build-dependencies inventory policy. These native-job inventories are not independent publisher signatures.

插队(steer)现在直接注入正在执行的任务,而不是在可编辑缓冲区里等空闲;普通发送和 follow up 的编辑/取消/暂停行为不变。/ 命令补全选中后保留前导斜杠,发送即执行 Pi 命令。构建期审计例外随上游撤回通告而移除,产物缺失清单门槛保持。

Platforms and upgrade / 平台与升级

  • Linux x64/arm64 and macOS Apple Silicon/Intel. Mac is ad-hoc signed, not Developer ID signed or notarized; no OS protection bypass is provided.
  • Existing 0.3.4 installations can use the in-app path: Settings → Check for updates, download 0.3.5, save unsent drafts/queue contents, then explicitly confirm Restart to apply. spi update is the CLI alternative. This publication will not restart the current window for you; installation alone does not hot-update a running app.
  • GitHub is the primary desktop update channel; no npm action is needed for that in-app update. The matching lightweight npm package remains the first-install path: pi install npm:spi-agent-gui@0.3.5 after public npm verification.
  • Remote protocol stays v2; saved pairings/profile/history are preserved. Immutable 0.3.4 assets are not replaced.

Acceptance and publication status

Preparation in progress: source/unit evidence is not yet a claim of four-platform native or public release acceptance. GitHub and npm publication will be recorded separately after verification. The current user window has not been restarted or changed. Detailed verification.

sPi v0.3.4 (Linux + macOS)

Choose a tag to compare

@github-actions github-actions released this 18 Nov 16:35

sPi 0.3.4 — reliable session recovery feedback

Changes / 更新

  • Fix stale “Pi has exited” banners after successful recovery. Recovery RPC replies now carry the same owner health/history snapshot as the event. The renderer reconciles the result if the success event was missed; Check connection also consumes its response instead of relying on one-way notification alone.
  • Order health snapshots with a monotonic owner revision. Duplicate/older recovery replies cannot rewind new output, stop a later task, or erase a newer exit state. A live, writable current owner replays its verified health on task start and already-requested state reads, even when its own status was already healthy. No additional polling, model requests, automatic queue resume or prompt replay is added. Retired/dead writers cannot revive sessions.
  • Replace native recovery window.confirm with a visible in-window modal, shared by the banner and session context menu. Cancel is focused by default; Cancel/Escape send no recovery request. Only explicit Confirm recovery restarts Pi. Busy status and retryable errors are visible rather than silently returning to the old banner.
  • Handle GitHub anonymous REST API 403/429 during update checks through the same repository's official releases/latest/download/release-manifest.json endpoint. The fallback accepts only a strictly validated stable version/manifest and still checks the exact-version descriptor and archive checksum. It adds no credentials, mirrors or trust bypass; other errors/invalid API metadata remain errors.
  • Keep the existing saved-history, draft/image/outbox preservation, paused queue, YOLO reset and host-enforced read-only protections. Missing session files remain an explicit error, never a silent new conversation.

恢复成功后应自动清除退出提示及恢复按钮。确认界面不再依赖可能阻塞/不可见的原生确认框;错误会留在窗口内,可查看并重试。测试覆盖真实点击、取消/Escape、失败重试、健康事件缺失及旧回复迟到,不通过强行隐藏横幅或再次重启用户会话解决状态同步问题。

Platforms and upgrade / 平台与升级

  • Linux x64/arm64 and macOS Apple Silicon/Intel. Mac is ad-hoc signed, not Developer ID signed or notarized; no OS protection bypass is provided.
  • Existing 0.3.3 installations can test the intended in-app path: Settings → Check for updates, download 0.3.4, save unsent drafts/queue contents, then explicitly confirm Restart to apply. spi update is the CLI alternative. This publication will not restart the current window for you. Installation alone does not hot-update a running app; drafts/outbox are memory-only until separately saved.
  • GitHub is the primary desktop update channel; no npm action is needed for that in-app update. The matching public lightweight npm package remains the first-install path: pi install npm:spi-agent-gui@0.3.4 (npm latest is 0.3.4).
  • Remote protocol stays v2; saved pairings/profile/history are preserved. Update host/client together to exercise all new recovery behavior. Immutable 0.3.3 assets are not replaced.

Scoped build security exception / 临时构建期例外

The user explicitly approved extending the exact GHSA-fc5q-39xc-vjpf / CVE-2026-112366 picomatch <=4.0.7 build-only exception to 0.3.4, pending an official fixed dependency. The upstream issue is not fixed. The current full audit reports 7 high / 7 moderate; inherited high findings are disclosed, not suppressed or relabeled. The code allowlist is limited to explicitly approved 0.3.3 and 0.3.4; no automatic future-version exception is introduced.

Only that exact advisory/range on lockfile-marked development nodes is allowed. Production paths, other high/critical findings and incomplete audit data still fail. Installer inputs and every final ASAR/unpacked/resources script/standalone helper must reject the affected build modules/code and provide content-hash/version-bound inventories. Upgrade/remove the exception when the official patch is available. These native-job inventories are not independent publisher signatures.

Acceptance and publication status

  • GitHub v0.3.4 is public from immutable source 98093478ac135bdda8c5d659ad9242c6c4628a2f. All four native targets, source Checks and publication/anonymous asset verification passed. Publication reused the verified exact-source artifacts and validated all four native jobs; redundant tag-triggered build 44348221591 was cancelled, not used as a gate. No immutable 0.3.3 asset/tag was replaced.
  • Source and extracted-runtime tests on all four targets passed actual recovery confirmation, Cancel/Escape, draft/history/paused-queue preservation, visible error/retry and cleared exit warning. Existing native PTY/GUI/Pi RPC/sandbox where supported, three-instance remote permissions, context/compaction, question navigation, pending panel, update metadata and real cross-runtime relaunch gates passed. Mac signatures remain ad-hoc/unnotarized.
  • A fresh private-profile public GitHub installer selected 0.3.4 and passed downloaded-runtime PTY/GUI/Pi RPC/single-instance and real recovery GUI tests. An unchanged public 0.3.3 helper reports 0.3.4 available/supported. A forced API 403 also resolved the actual anonymous official latest manifest. These are isolated local-profile/fixture tests, not a claim that the user's current window was upgraded; the agent did not restart or change that window. Manual in-app upgrade acceptance is recorded only after explicit user confirmation.
  • npm spi-agent-gui@0.3.4 is public, and latest is 0.3.4. The anonymously downloaded seven-file tarball is byte-identical to the reviewed 70,498-byte package, SHA-1 7ca1aee0a063822b99561055326926602b6763c2, with matching registry SHA-512 integrity. Its installer matches the public standalone helper and all four runtime-bound installer hashes.
  • Public pinned/latest Pi installs passed in two independent Linux x64 local profiles with private HOME/XDG/agent/bin/runtime and empty npm auth configs, using the existing Pi executable. Both selected CLI/runtime 0.3.4, detected the update from 0.3.3, and passed downloaded-runtime native PTY/GUI/Pi RPC/single-instance tests. The pinned npm-installed runtime also passed actual recovery confirmation, Cancel/Escape, visible error/retry and cleared health-banner tests. These are local profiles, not new containers or additional Mac runs. Detailed verification.

sPi v0.3.3 (Linux + macOS)

Choose a tag to compare

@github-actions github-actions released this 17 Nov 23:03

sPi 0.3.3 — minimizable pending messages

Changes / 更新

  • Minimize the pending-message panel with its − button into a compact counter at the lower-left of the chat viewport, above Delivery mode / Open terminal. Click or keyboard-activate it to reopen editing.
  • Preserve unsaved row text, attachment changes and the editing lease through minimize/restore. Minimizing never pauses delivery or changes the queue revision. The preference is independent per session in the current window; the entry disappears when the queue empties.
  • Keep user-question Up/Down and Return to latest clickable with the panel expanded or minimized. Narrow columns and short chat viewports beside an open terminal reserve separate navigation space. Read-only remote windows never expose queue editing controls.
  • GitHub remains the primary update channel. This release also targets a matching lightweight npm installer for first installation through pi install npm:spi-agent-gui; it downloads the appropriate desktop runtime from GitHub rather than bundling all four platforms in npm.

Build security note / 构建安全说明

The user explicitly authorized a temporary 0.3.3-only build dependency exception for GHSA-fc5q-39xc-vjpf / CVE-2026-112366 in picomatch <=4.0.7. The upstream issue is not fixed by this release. Full audit still reports its inherited high-severity findings; they are not hidden or relabeled.

The policy allows only that exact high advisory/range on lockfile-marked development nodes for version 0.3.3. Other high/critical findings, production paths, incomplete audit data and later versions still fail. Installer bundler inputs reject the build-only dependencies. Each native archive must scan the final ASAR, unpacked/resources scripts and standalone installer for the forbidden modules and picomatch implementation/references, then include a version/content-hash inventory validated again before publication. Inventories are produced by the verified native jobs; they are not an independent publisher-signature guarantee. The exception does not automatically carry forward to later releases and should be removed when an official patched dependency is available.

Platforms and upgrade / 平台与升级

Supported packages: Linux x64/arm64, macOS Apple Silicon/Intel. Windows remains deferred. Mac packages are ad-hoc signed, not Developer ID signed or notarized; no Gatekeeper bypass is supplied.

Existing 0.3.2 desktops can use the GUI update notice or spi update. Save unsent drafts before confirming Restart to apply. First-time Pi users can use pi install npm:spi-agent-gui or pin pi install npm:spi-agent-gui@0.3.3; npm latest is verified as 0.3.3; GitHub and npm publication/availability are recorded separately in verification.

Acceptance status

GitHub 0.3.3 is public from immutable source 3ae9d415cdb5ee37bf41df159859c4a7fe4063c1. All four native targets, source Checks and publication/anonymous hash verification passed. All four inventories reject shipped build-only dependencies; the public standalone installer is byte-identical to the reviewed npm installer. A fresh isolated public GitHub bootstrap and the actual downloaded pending-panel GUI also passed.

npm spi-agent-gui@0.3.3 is public, and latest is 0.3.3. After maintainer interactive verification, anonymous registry metadata and the public seven-file tarball were checked. The 69,607-byte tarball is byte-identical to the reviewed package, SHA-1 626952838744815719be0a4e78d9c83d4556ae5b, with matching registry SHA-512 integrity. Pinned/latest public Pi installs passed in two independent Linux x64 local profiles, including runtime/CLI 0.3.3, GitHub update checks, PTY/GUI/Pi RPC and single-instance behavior. The pinned public installation also passed the pending-panel minimization/edit-retention/navigation GUI suite. These are isolated local-profile tests, not new containers or additional Mac acceptance. Detailed channel status.

sPi v0.3.2 (Linux + macOS)

Choose a tag to compare

@github-actions github-actions released this 17 Nov 07:56

sPi 0.3.2 — GitHub desktop updates

New / 新增

  • A background stable-release check on packaged startup and every six hours. A clickable ! appears next to Settings when a newer version exists; Settings also offers manual checking. No modal interrupts work just because an update exists.
  • Download, verify and install the package matching the running OS and architecture directly from GitHub Releases, without npm. Version, architecture, download size, progress, failures/retry, installation directory and launch command are visible in English/Chinese and all three themes.
  • Installation is side-by-side and preserves the old runtime. Continue working while downloading; after installation, Restart to apply asks for explicit confirmation before closing local windows, agents and terminals. Save unsent drafts first. Saved histories, settings, window placement and remote pairings retain the same user profile.
  • General Settings and update checks no longer mount remote credential probes. Open Manage remote access explicitly before checking the system credential store; unrelated Mac Keychain approval cannot block checking updates. Enabled-host recovery and remote operations keep mandatory credential protection.
  • Update operations require an owning local main-frame window. Remote viewers/controllers and subframes cannot update or restart a paired computer.
  • One canonical release manifest contains Linux x64, Linux ARM64, macOS Apple Silicon and macOS Intel. All four are built/tested natively before publication. Windows remains deferred. npm publication is not part of this release pipeline.

Fix / 修复

spi update previously sent Accept: application/octet-stream to GitHub's JSON latest-release API, which returns HTTP 415. JSON metadata now uses application/vnd.github+json; archives retain the binary representation. Stable SemVer comparison, exact version/target archive layout, size, SHA-256, extraction containment and Mac signature verification are validated before activation.

Upgrade from 0.3.1 / 从旧版升级

The old launcher cannot fix itself through its broken unversioned spi update, and the 0.3.1 GUI has no update controls. Bootstrap once using the new version-bound GitHub installer (requires Node.js 22.19+; no npm):

curl -fL https://github.com/DiamondGo/spi/releases/download/v0.3.2/install.sh -o /tmp/spi-install-0.3.2.sh
# Inspect the downloaded script before running it.
bash /tmp/spi-install-0.3.2.sh --version 0.3.2

Save drafts, fully quit the old app, then use the command printed by the installer (normally spi). After this bootstrap, both the GUI updater and the managed spi update use the corrected GitHub-only path. Existing immutable npm versions remain unchanged; reinstalling spi-agent-gui@0.3.1 still installs its old desktop version, not 0.3.2.

Alternatively download and verify the ZIP/tar.gz matching your architecture from this Release. Manual/extracted copies are not overwritten by in-app updates: they install a managed runtime and restart into it. Use the exact launch command shown in Settings afterward, not an old application copy or unrelated PATH command. If an unrelated ~/.local/bin/spi exists, it is preserved and a private command is installed under the managed root.

Safety and limitations / 边界

  • macOS packages are ad-hoc signed, not Developer ID signed or notarized. Native signature integrity is checked, but Internet-download Gatekeeper trust is not claimed. Never disable protections or remove quarantine attributes.
  • There is no automatic crash-health rollback. Previous complete managed runtimes are retained; spi rollback is available when the previous version is usable. Manually extracted old copies remain intact.
  • Background checks contact the public GitHub release API without account credentials; network/rate-limit failures are shown in Settings and can be retried. They do not interrupt sessions or prove that an offline machine is up to date.
  • The GUI preserves custom managed roots and protects a directly relaunched managed runtime from uninstall. No process-name-based killing, sudo, Pi configuration changes or npm authentication is needed.
  • Source/installer/GUI tests run in isolated profiles. All four native targets, source Checks and public asset/hash verification passed for immutable source fc9f24a1844fdc56223ec1f55e73ddd5acb08869. All 11 Release assets were verified anonymously. A fresh isolated public GitHub bootstrap installed 0.3.2 and its real GUI; checking from 0.3.1 reports an available 0.3.2 while checking from 0.3.2 reports no update. Detailed acceptance.

sPi v0.3.1 (Linux & macOS)

Choose a tag to compare

@github-actions github-actions released this 17 Nov 04:54

sPi 0.3.1

Context 用量与压缩 / Context usage and compaction

  • Thinking 右侧新增 context 圆环与百分比。 悬停显示完整 context used / context max tokens,读取 Pi 的当前 contextUsage,不使用会话累计 token 或费用统计。数值属于 Pi 的估算。
  • 左键点击直接压缩,使用 Pi 原生 compact RPC,等价于 /compact,不会作为普通聊天消息发送。
  • 右键 → 输入压缩指令…:输入可选 instruction,确认后等价于 /compact [instruction];留空使用默认压缩,取消不发起请求。多行内容按数据字段传递,不作为其他命令执行。
  • 压缩后刷新历史与摘要,保留草稿、附件及 outbox。 相同请求 single-flight;不同 instruction 的并发请求明确拒绝,不默默丢弃指令。错误可见且不自动重试模型请求。
  • Pi 在压缩后可能暂时报用量未知,直到下一次有效模型回复;此时显示 —%,不伪造为 0%。旧 Pi 无用量字段时也显示未知。
  • 会话运行中、存在待执行消息、等待审批或健康状态异常时禁用压缩快捷按钮,避免原生手动 compact 先中断当前任务。压缩期间新的明确发送可以排队,结束后正常处理;已有暂停队列不会被擅自恢复。
  • 只读远程端可以查看用量,但不能压缩;host 的 RPC 白名单强制执行,不依赖禁用界面按钮。

A context ring/percentage now sits to the right of Thinking. Hover for current used/max tokens. Click runs native Pi compaction; right-click opens an optional instruction dialog. The UI preserves drafts/attachments/outbox, refreshes the compacted projection and shows its summary, handles busy/error/unknown usage explicitly, and never sends compaction as an ordinary user prompt. Reading usage does not make model requests; compaction may incur model costs.

详见 context 用量与压缩。

更新与平台 / Update and platforms

  • Remote protocol remains v2, retaining 0.3.0's single-controller/read-only behavior and saved pairings. Update host and client for the complete new context UI/API; 0.2.x/v1 remains incompatible.
  • Linux x64/arm64 are canonical automatic installer targets. Mac Apple Silicon/Intel ZIPs remain supplemental manual downloads, ad-hoc signed, not Developer ID signed or notarized. Do not disable OS protections.
  • Release downloads. Existing immutable versions are not replaced.
  • Save important drafts, completely quit the old sPi windows and reopen after updating; running windows are not hot-updated. Pi authentication, saved sessions and pairings are preserved.

Install the public npm package:

pi install npm:spi-agent-gui@0.3.1
# Existing Linux desktop installation:
spi update

验收与发布状态 / Acceptance and publication status

  • Linux and Mac desktop Release v0.3.1 is public. Immutable source commit: 26215425c17f78243b7ee38c96501469a342bfc6.
  • Linux x64/arm64 release: existing unit/GUI/native suites, new context/compaction tests, extracted-runtime context GUI, Linux x64 isolated installer tests and public asset checksum verification passed.
  • Native Mac Apple Silicon/Intel build: both native targets passed context graph/tooltip, default/custom compaction, preserved draft and unknown post-compaction usage tests, alongside question navigation and three-instance remote permissions. Both extracted ZIPs passed PTY/GUI/Pi RPC, signature/ASAR/icon/single-instance, question navigation and context/compaction GUI acceptance.
  • Additive Mac publication: exact-tag provenance, archive hashes and anonymous downloads verified; original Linux assets and canonical installer manifest unchanged. Apple Silicon ZIP · Intel ZIP · Mac SHA-256.
  • npm spi-agent-gui@0.3.1 is public; latest is 0.3.1. The public seven-file tarball is byte-for-byte identical to the reviewed 64,187-byte payload, SHA-1 9cb7f2c3bb7bf74ae613e7eaa40413fe9d802674.
  • Public pinned (npm:spi-agent-gui@0.3.1) and latest (npm:spi-agent-gui) Pi installs passed in two independent temporary HOME/agent/config/cache/bin/runtime profiles on the existing Linux x64 host, using an empty npm auth config and the existing Pi executable. Both selected 0.3.1 and passed downloaded-runtime PTY/GUI/Pi RPC/second-instance checks. These are isolated local-profile tests, not new fresh-container or automatic Mac-install acceptance.
  • Compaction GUI tests use real Electron/Pi RPC with a deterministic local provider/compaction extension, not paid cloud model calls. No new live Dev Tunnels test, Developer ID signing or Apple notarization is claimed.

sPi v0.3.0 (Linux & macOS)

Choose a tag to compare

@github-actions github-actions released this 12 Nov 21:14

sPi 0.3.0

新功能 / What's new

设备列表 / Device list

  • 设置 → 远程访问显示“待配对”“已配对,未连接”“已连接”,以及在线设备的“控制端 / 只读端”。
  • 生成配对码后可以关闭设置,稍后回来点“查看配对码”继续复制同一个码;无需确认或保存。配对成功后设备自动保存。
  • 当前同时支持一个待配对项,可取消。配对码仍只在本次 sPi 运行中有效:默认 1 小时,最长 60 天;取消、关闭远程访问或退出/重启后失效。
  • Remote settings retain a pending invitation across Settings close/reopen, with View pairing code and Cancel actions. Paired devices are saved automatically and listed as connected or disconnected. One in-memory pending invitation at a time; restarting invalidates it.

单远程控制端 / One remote controller

  • 同一时间只有一个远程连接可以控制 host,其余为只读;同一设备的多个连接也不能同时拥有控制权。本机窗口不受限制。
  • 先连接者获得控制权;它断开或被撤销后,最早仍在线的只读端自动接替。重连不会抢占已有控制端。
  • 只读端可以浏览 host 已打开会话的历史和实时聊天/工具输出,不能新建会话、发送消息、操作终端、修改模型/YOLO、回应审批或删除历史。当前不镜像其他设备的 PTY 画面。
  • host 逐次校验权限,写入类 RPC/单向消息被阻止,不只是禁用界面按钮。已开始的操作不因控制权交接而回滚。
  • Exactly one remote connection controls the host. Other connections use a passive read-only session viewer. FIFO takeover on controller disconnect/revocation; reconnects never steal control. Read-only access is enforced by a fail-closed host RPC allowlist. Local windows are unaffected.

兼容性:远程协议升级到 v2,host 和 client 必须一起升级到 0.3.0。不与 0.2.x/v1 静默兼容。 已保存的配对仍保留;升级本身不要求重新配对。

Compatibility: remote protocol v2 requires both host and client to update to 0.3.0. Published 0.2.x/v1 peers are refused rather than silently bypassing role enforcement. Existing saved pairings are retained.

用户提问跳转 / Navigate your questions

  • 消息区右下角、滚动条内侧新增浮动上/下箭头,仅在对应方向存在视野外用户提问时显示。上按钮固定在下按钮上方。
  • 点击定位到该方向最近的用户提问,只滚动消息区,不移动输入框。浏览历史时新输出不会把页面拉回底部;“回到最新”恢复跟随。
  • 支持流式输出、展开/折叠工具输出、窗口缩放、切换会话、三种主题和远程只读窗口。
  • Floating Previous/Next question arrows jump to the nearest offscreen user input, retain fixed upper/lower slots and update after layout changes. Browsing history pauses auto-follow; Return to latest restores it.

启动与钥匙串 / Startup and Keychain

  • 未启用远程访问时,本地启动和被动状态徽标不再读取系统钥匙串,避免 Mac 后台等待授权造成界面启动阻塞。进入远程设置或恢复已启用的远程 host 时才检查密钥保护;远程身份仍必须由系统凭据存储加密,不提供明文回退。
  • Local startup and passive status badges do not probe the OS keyring when remote hosting is disabled. Credential protection is checked explicitly in Remote settings or when resuming enabled hosting. Remote identity encryption remains mandatory; this is not a plaintext fallback.

平台与安装 / Platforms and installation

  • Linux x64 / arm64: canonical Pi/npm installer targets.
  • macOS Apple Silicon / Intel: public supplemental manual ZIPs — Apple Silicon · Intel · Mac checksums. Both native builds and installed-ZIP acceptance passed. Ad-hoc signed; NOT Developer ID signed or notarized. Do not disable OS protections. The Linux installer manifest is not rewritten to promote automatic Mac installation.
  • Release downloads. Existing releases and npm versions remain unchanged.

Install the public npm package:

pi install npm:spi-agent-gui@0.3.0

Existing desktop installations can use spi update. Save important drafts and fully quit old windows before reopening; binaries do not hot-update running windows. Pi authentication, saved pairings and sessions are preserved.

验收与发布状态 / Acceptance and publication status

  • Linux and Mac desktop Release v0.3.0 is public. Exact immutable source: 26121e2ea67dca7f78ed4250dc1fff6b88d75d04.
  • Linux x64/arm64 release: all unit tests, three-instance single-controller/read-only GUI, question navigation GUI, installed-runtime PTY/GUI/Pi RPC/single-instance and existing recovery/workspace/terminal suites passed. Extracted runtime question navigation passed. Linux x64 isolated installer tests and anonymous public asset checksum verification passed.
  • Native Mac arm64/x64 build: both native targets passed the same new three-instance remote and question-navigation GUI tests, archive privacy/signature/ASAR checks, extracted-ZIP PTY/GUI/Pi RPC/single-instance tests and installed-runtime question navigation. Local startup was tested without probing Keychain while remote hosting is off; OS Keychain identity encryption is not presented as a live-service test.
  • Additive Mac publication: both ZIPs and native reports were provenance/hash-verified, uploaded without replacing Linux assets, and anonymously downloaded for verification. Mac signing remains ad-hoc, not notarized.
  • npm spi-agent-gui@0.3.0 is public; latest is 0.3.0. The public seven-file tarball is byte-for-byte identical to the reviewed candidate, SHA-1 e0b832e7f39fb002345dbd6d14b9672674f05729.
  • Public pinned (npm:spi-agent-gui@0.3.0) and latest (npm:spi-agent-gui) Pi installs passed in two independent temporary HOME/agent/config/cache/bin/runtime profiles on the existing Linux x64 host, using the existing Pi executable and an empty npm auth config. Both selected 0.3.0 and passed the public downloaded runtime's real PTY/GUI/Pi RPC/second-instance checks. These are isolated local-profile checks, not new fresh-container or Mac npm-installer acceptance.
  • No new live Dev Tunnels verification is claimed for this release; the new remote tests use a loopback relay. Both ends must update to protocol v2.

sPi v0.2.1 (Linux)

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:22

sPi 0.2.1

配对码有效期 / Pairing code lifetime

  • 设置 → 远程访问中,生成配对码前可选择有效期:默认 1 小时,按整数小时配置,最长 60 天(1440 小时)。主进程独立校验期限,不信任界面输入。
  • Settings → Remote access lets you choose a pairing code lifetime before generation: 1 hour by default, configurable in whole hours up to 60 days (1440 hours). The host validates the requested lifetime independently.
  • 配对码仍然只能使用一次,连续 3 次握手失败作废,并可手动取消。关闭远程访问、退出/重启 sPi 或生成新码会使旧码失效。此期限不限制已经配对的设备。
  • Codes remain single-use, are invalidated after three failed handshakes, and can be cancelled. Disabling remote access, quitting/restarting sPi or generating another code invalidates the old code. Paired devices do not expire with the code.
  • 两台电脑仍须在 GitHub CLI 登录同一账号;长有效期意味着更长的泄露风险窗口。

macOS

  • 修复 0.2.0 Mac 打包失败:对 Dev Tunnels 引入的 bufferutil / utf-8-validate 原生模块,在签名前清理未使用的预编译包及本地调试路径,保留运行时 JS 入口。
  • Fix Mac packaging of the Dev Tunnels native dependencies: remove unused prebuilds and strip local debug paths before signing, preserving runtime JavaScript entry points.
  • Public manual ZIP downloads for Apple Silicon and Intel, with both native builds and installed-ZIP tests passed. Ad-hoc signed, NOT Developer ID signed or notarized. Do not disable OS protections.
  • Mac downloads remain supplemental; the canonical automatic installer targets Linux x64/arm64. Existing 0.2.0 assets and npm versions remain unchanged.

发布验收 / Publication and acceptance

  • Desktop Release v0.2.1 is public. Linux native release and public asset verification passed for x64 and arm64.
  • Mac native build passed on macos-26 arm64 and macos-15-intel x64 at the exact v0.2.1 source commit a7ddf900dd296bd9bf761ecb531616ec3edc00ab. Both passed two-instance loopback remote GUI tests (including configurable 60-day pairing, prompts, terminals, reconnection and revocation), signature integrity and installed-ZIP PTY/GUI/Pi RPC/single-instance checks. Packaged runtime checks load the real Dev Tunnels relay; the live Dev Tunnels service was not tested on Mac.
  • Additive Mac publication passed, including anonymous public downloads and checks that pre-existing assets remain unchanged. Mac checksums.
  • npm spi-agent-gui@0.2.1 is public; npm latest is 0.2.1. The public seven-file tarball is byte-for-byte identical to the reviewed payload (SHA-1 554849ae3d77c203dfda806fac4a1bbbb7a900ed). This is publication/payload verification, not an additional clean-install acceptance run. The desktop release does not hot-update running windows. Mac ZIPs remain manual downloads, not automatic Pi/npm targets.