v1.0.3
中文
基于 v1.0.2..v1.0.3 的提交整理。
新增
-
Electron 43 + macOS ad-hoc 签名链路
- Electron
37.10.3→43.2.0 - 打包默认
mac.identity: "-"(真实 ad-hoc,非 linker-signed) macos-adhoc-sign/ensure-electron-adhoc-sign开发态签名脚本smoke:electron/smoke:electron-notify冒烟测试- 未签名构建的通知失败处理
- Electron
-
TokenRhythm Provider
- 完整认证、模型列表、凭据管理
createConfiguredModelRuntime()统一模型运行时初始化- 支持 OAuth + API Key 双鉴权
- ModelsConfig 集成与 i18n
/api/models-config/provider-models拉取 provider 模型
-
后台记忆审查 + 双作用域记忆
- 每 10 次用户回合后台 memory review(utility 模型)
- project / user 双作用域事实库,独立字符预算
- 原子
operations[]批处理(add/replace/remove) - 每轮 prompt 注入 recall 上下文(去重)
/api/memory-review与设置页 Memory 联动
-
Hermes 风格 Process Rail
- 多步助手回合过程轨(工具/思考步骤)
- 展开/收起时固定切换按钮,避免 stick-to-bottom 把按钮顶飞
- 工具运行动画、live tail 虚拟化改进
-
滚动跟随重做
- 自定义 scroll-follow 替换为
use-stick-to-bottom - 与 process rail / 输入区高度变化协同更好
- 自定义 scroll-follow 替换为
-
运行中会话轮询
- 移除 long-lived running SSE
- 改为
/api/agent/running轮询,降低多窗口连接成本
重构 / 改进
- 抽取
agent-live-state统一 agent 状态读取 - 抽取
api-cwd/api-response:cwd 校验与错误响应复用 - 抽取 provider listing + credential store 独立模块
- UI 模式提取:
ComposerPalette、useFileWatch、TopBarChromeWidgets(auto-name) TodoAtoms与todo-from-transcript支持从 transcript 解析 todomodel-scope模型可见/作用域逻辑- 删除废弃
/api/sessions/[id]/export与相关死代码 - 去掉
tailwind.config.ts等无用配置 - 模态 flex 布局,溢出内容更稳
依赖 / 内部
- Pi SDK 相关路径随 Electron 43 与 runtime 初始化一并更新
- 新增模块:
tokenrhythm-provider、memory-review、memory-context、provider-listing、provider-credential-store、agent-live-state、model-scope、todo-from-transcript、atomic-file等 - 版本:
@ct-jyjntc/pi-web@1.0.3
安装说明(本 Release 附件)
macOS
- 附件:
Pi-Web-1.0.3-arm64.dmg(Apple Silicon) - 签名:electron-builder 真实 ad-hoc(
identity: "-",未 Apple 公证) - 若 Gatekeeper 拦截:
# 方式 1:右键 App → 打开 → 打开
# 方式 2:
xattr -cr "/Applications/Pi Web.app"
open "/Applications/Pi Web.app"Windows
- 附件:
Pi-Web-1.0.3-x64.exe(Windows x64 NSIS 安装包) - 双击安装,可自定义安装目录;安装后会创建桌面与开始菜单快捷方式。
- 如 SmartScreen 提示「Windows 已保护你的电脑」:点击「更多信息」→「仍要运行」。
English
Prepared from commits in v1.0.2..v1.0.3.
Added
-
Electron 43 + macOS ad-hoc signing pipeline
- Electron
37.10.3→43.2.0 - Packaged builds use
mac.identity: "-"(real ad-hoc, not linker-signed) - Dev helpers:
macos-adhoc-sign,ensure-electron-adhoc-sign - Smoke scripts:
smoke:electron,smoke:electron-notify - Notification failure handling for unsigned macOS builds
- Electron
-
TokenRhythm provider
- Full auth, model listing, credential management
createConfiguredModelRuntime()for consistent runtime init- Dual OAuth + API-key auth support
- ModelsConfig integration + i18n
/api/models-config/provider-models
-
Background memory review + dual-scope memory
- Every-10th-turn background review via utility model
- Project + user fact stores with separate char budgets
- Atomic
operations[]batch (add/replace/remove) - Per-prompt recall injection with dedupe
/api/memory-review+ Settings Memory wiring
-
Hermes-style process rail
- Multi-step assistant turn process track
- Pin expand/collapse control so stick-to-bottom does not fling it
- Tool-run animations + live-tail virtualization polish
-
Scroll-follow rewrite
- Replace custom follow logic with
use-stick-to-bottom - Better cooperation with process rail / composer height changes
- Replace custom follow logic with
-
Running-session polling
- Drop long-lived running SSE
- Poll
/api/agent/runninginstead (cheaper multi-window)
Refactors / Improvements
- Shared
agent-live-statefor agent state reads - Shared
api-cwd/api-responsevalidation + errors - Dedicated provider listing + credential store modules
- UI extractions:
ComposerPalette,useFileWatch,TopBarChromeWidgets(auto-name) TodoAtoms+todo-from-transcriptmodel-scopevisibility helpers- Remove dead
/api/sessions/[id]/exportand unused config - Flex-based modal layouts for overflow stability
Internal
- New modules:
tokenrhythm-provider,memory-review,memory-context,provider-listing,provider-credential-store,agent-live-state,model-scope,todo-from-transcript,atomic-file, etc. - Version:
@ct-jyjntc/pi-web@1.0.3
Install Notes
macOS
- Asset:
Pi-Web-1.0.3-arm64.dmg(Apple Silicon) - Signing: electron-builder real ad-hoc (
identity: "-", not Apple notarized) - If Gatekeeper blocks:
xattr -cr "/Applications/Pi Web.app"
open "/Applications/Pi Web.app"Windows
- Asset:
Pi-Web-1.0.3-x64.exe(Windows x64 NSIS installer) - Run the installer; you can choose the install directory. Desktop and Start Menu shortcuts are created.
- If SmartScreen says "Windows protected your PC": click "More info" → "Run anyway".