![Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>](/assets/img/avatar_default.png) 云服务部-叶林立andDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
360d8cffc8
|
feat(pi-subagents): 重新启用子 Agent 并使用独立的子 Agent 提示词
- 根包恢复 file:./pi-subagents 依赖与 extensions/subagents.ts 加载
(排在 permission-system 之后、Tool Search 之前),并刷新根锁文件;
Agent / get_subagent_result / steer_subagent 权限设为 allow,
子 Agent 内的实际操作仍逐个经权限系统并转发主会话。
- 新增 config/prompt/subagent/:执行者角色 preamble 与组合包自带的
general-purpose / Explore / Plan 定义(替换上游内置,去掉 bash find
冲突规则与写死的 Haiku 模型)。
- pi-subagents 新增 basePrompt / bundledAgentsDir / excludedExtensionPaths
选项:子 Agent 不再嵌入父会话提示词,身份标记置于开头;子会话排除
pi-ask-user。未传选项时保持上游行为。
- system-prompt.ts:customPrompt 自带开场白时不再覆盖(修复子 Agent 角色
与 <active_agent> 身份被抹掉);仅凭 customPrompt 上的 <active_agent>
识别子会话,routing 规则支持 scope,sections 支持 subagentExclude
(子会话去掉 memory_policy 与 chrome_profile_bridge)。
- pi-hermes-memory:子会话只读,记忆/skill 写入工具返回错误,后台整理、
纠错检测、会话 flush 与索引写入全部跳过。
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
2026-10-20 19:43:22 -07:00 |
|
![Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>](/assets/img/avatar_default.png) 云服务部-叶林立andDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
ee1e6999d7
|
feat(pi-web-search): 统一 web_search/web_fetch 并由主模型路由搜索厂商
7 个按厂商命名的搜索工具收敛为 2 个统一工具,schema 与提示词不再暴露
provider 概念:web_search 由当前主模型按内置规则在 Tavily/Exa/Keenable
间路由(会话内 LRU 缓存,失败按可用性降级),web_fetch 固定走 Exa 并
静默降级。三家均改为纯 fetch 直连——Exa 直接对 mcp.exa.ai 发 JSON-RPC
并缓存会话,彻底移除 pi-mcp-adapter、@tavily/pi-extension 与
@keenable/pi-search 依赖。
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
2026-10-19 20:13:37 -07:00 |
|
![Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>](/assets/img/avatar_default.png) 云服务部-叶林立andDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
97c2e75dfe
|
feat(pi-worktree): 新增斜杠命令 git worktree 管理扩展
提供 /wt(别名 /worktree)一键拆分/合并:
- /wt new 建 worktree 后经 SessionManager.forkFrom + switchSession
迁移会话 cwd,历史上下文保留;合并/切换同理
- /wt merge 先确认再 rebase 到来源分支、默认 --ff-only(可选
--squash),来源改动用 stash 兜底,冲突可中止或保留后用
/wt merge --continue / --abort 处理,永不 push
- 来源 checkout 的 .pi/worktree.json 声明环境复刻(copy/link/env/
postCreate),确认框先展示计划再执行;postCreate 仅在项目已信任
时以 argv 形式 execFile,失败可 /wt reopen 增量重跑
- 登记文件 <agentDir>/pi-worktree/state.json 原子写入并加锁
串行化;会话切换后向模型注入 cwd 变更提示;未被 .gitignore
覆盖的软链/环境文件写入 .git/info/exclude 防止误提交
- 仅注册用户显式触发的斜杠命令,不暴露模型可调用工具
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
2026-10-19 17:45:41 -07:00 |
|
云服务部-叶林立
|
cdd91b3f8b
|
feat: 移除 Codex Fast mode 与 AutoReview 后台分析,模型改为配置驱动
移除 pi-extension-codex-fast-mode:
- 删除整个扩展目录;同步清理根 package.json 的 files / pi.extensions /
dependencies 条目、package-lock.json、tests/extension-load.test.ts 断言
与文档章节。
- pi-minimal-footer 的 Fast on 渲染是该扩展的唯一消费者。扩展移除后 accent
分支不再有生产者,collectFooterStatusItems 简化为直接返回非空状态字符串,
去掉 FooterStatusItem 与 accent 标志,避免留下死代码。
移除 500 次裁决后的后台分析体系:
- 删除 analysis-agent.ts(192 行)与 ledger.ts(296 行),以及对应的
auto-review-runtime / auto-review-ledger 测试。
- runtime.ts 由 177 行收敛到 85 行:安装选项缩为 { service, config };删除
handleAgentSettled 与 agent_settled 注册;保留 session_start / turn_start
(denial circuit breaker 属安全语义)/ session_shutdown。
- 删除 analysis 配置键:config、extension-config、config-schema、生成的
permissions.schema.json 与种子配置。
- 删除 reviewer 的 onDecision 回调(唯一消费者是 ledger)。
- 删除迁移机制 scripts/migrate-permission-policy.mjs、其测试与 update.sh 中
46 行 migrate_permission_policy 接线。种子部署保持“目标缺失才写入”,已存在
的 policy.jsonc 永不被覆盖。
AutoReview 模型改为纯配置驱动:
- 删除 DEFAULT_PROVIDER / DEFAULT_MODEL 常量与 findCodexTemplate 合成逻辑;
model.ts 由 65 行收敛到 48 行。
- provider / model 任一缺失时返回新增失败类别 model-unconfigured 并 defer 到
人工审批;provider 未注册或模型未发布同样 defer。
- reasoning 不再有默认常量,完全由配置决定。
- session_start 在 auto-review 已列入 authorizerChain 且 provider/model 未配齐
时 ui.notify 提示一次,避免不使用 AutoReview 的用户被打扰。
- 种子 autoReview 只保留 enabled,provider/model/reasoning 由用户按本机实际
可用的模型填写。
破坏性变更:analysis 键已从 strictObject schema 删除,任何仍带该键的
policy.jsonc 会使整份配置被拒(fail-closed 到全 ask)。这是刻意的变更,已由
config-loader 测试固定,防止将来无声放宽。
测试:
- 新增 auto-review-model.test.ts(7 例),覆盖此前完全缺失的模型解析:真实
命中、未配置、provider 未知、模型未发布,以及不再合成替代模型。
- 重写 auto-review-runtime.test.ts(6 例):authorizer 注册、未配置时提示
一次、已配置 / disabled / 无 UI / 不在 chain 时静默。
- config-loader.test.ts 新增 2 例:带 analysis 的旧配置被拒且 fail-closed、
autoReview 逐字段合并。
- composition-root.test.ts 的 EXPECTED_HANDLERS 移除 agent_settled。
文档:AGENTS.md、README.md、pi-permission-system 的 README / CHANGELOG /
configuration.md / architecture.md / auto-review UPSTREAM.md。
验证:pi-permission-system 的 typecheck、2577 个测试与 build 全部通过;根 50
个测试通过;schema 重新生成无漂移;新种子通过 schema 校验;5 个脚本 sh -n
通过;git diff --check 无空白问题。未安装 shellcheck;未执行真实 pi install /
update(属外部写操作)。
|
2026-10-14 08:15:13 -07:00 |
|
云服务部-叶林立
|
73f3117a7e
|
feat(pi-hermes-memory): 接入持久记忆扩展并移除 Hippo
用仓库内 pi-hermes-memory 替换 hippo-memory-pi,清理 Hippo 在组合包中的
全部注入点。
移除 Hippo:
- 删除 hippo-memory-pi/ 与 config/hippo-memory-version。
- extensions/plugin-init.ts 只保留 CodeGraph 初始化目标与预检。
- install.sh / update.sh / uninstall.sh 移除 Hippo CLI 的安装、升级、卸载
与版本校验逻辑;uninstall.sh 同时删除仅服务于该提示的死代码 ask_yes_no。
- 删除 tests/hippo-extension.test.ts 与 tests/hippo-scripts.test.ts。
- tests/extension-load.test.ts 反转“不得加载 Hermes”的断言为必须加载,
并断言其排在 pi-compaction 之前。
接入 pi-hermes-memory:
- package.json 增加 file:./pi-hermes-memory 依赖、files 条目与加载入口;
加载顺序位于 pi-compaction 之前,否则 flushOnCompact 会被 pi-compaction
的 { cancel: true } 静默跳过。
- 六个记忆工具在 Tool Search 中常驻:memory_search 与 session_search 连同
context_tree_query 归入 memory-recall,memory_add / memory_replace /
memory_remove / skill_manage 归入 memory-management。常驻是必需的——注入
的 memory policy 会在普通工作中指示模型调用它们,schema 不可见会让模型
静默放弃而不是去 tool_search,同时常驻也保持请求前缀缓存稳定。
- bundleDefaultsVersion 由 2 升到 3;migrate-tool-search-settings.mjs 新增
上一版快照到当前版本的迁移路径,仍只迁移完整匹配的默认快照并保留自定义
配置。
- config/pi-permission-policy.jsonc 为六个工具设置 allow:它们只写扩展自己的
agent 目录数据、不触碰工作区,且 memory_search 每轮都可能被调用,落入
默认 ask 会产生每轮 AutoReview 往返。
依赖:
- pi-hermes-memory 的 devDependencies 由上游 ^0.80.2 等范围改为与根包一致的
精确版本。上游范围与根包 0.84.2 不兼容,会让 npm 在本目录嵌套安装第二套
Pi runtime(实测 229 MB),违反“不得在组合包内再安装一套 Pi runtime”的
纪律。
- 根 allowScripts 保持只有 better-sqlite3@12.11.1。hermes 的
better-sqlite3@13 运行时 dlopen 的是包内 N-API 预编译二进制
prebuilds/<platform>.node,npm 因 binding.gyp 推断出的 node-gyp rebuild
无需执行;实测删除 build/ 目录后仍正常工作。
文档:AGENTS.md 与 README.md 改写记忆章节,新增 pi-hermes-memory 开发约定,
替换文末的 Hippo 项目记忆块。
验证:根 12 个测试文件、pi-tool-search 的 typecheck/test/build、
pi-permission-system 的 typecheck/2569 测试、pi-hermes-memory 自带的 59 个
测试文件全部通过;隔离 Pi 环境联合加载无错误并生成 bundleDefaultsVersion 3;
npm install 幂等;迁移 helper 对 v2 快照迁移、对自定义配置保留。
|
2026-10-14 00:56:41 -07:00 |
|
云服务部-叶林立
|
180da95ab7
|
feat(permission): integrate auto-review and hard guards
|
2026-09-02 15:34:29 +08:00 |
|
云服务部-叶林立
|
a4807dde67
|
feat: unify context compaction
|
2026-09-01 14:52:43 +08:00 |
|
云服务部-叶林立
|
e80959cc3f
|
feat(pi-condense): vendor source and add summarizer retries
|
2026-08-31 15:13:41 +08:00 |
|
云服务部-叶林立
|
b83413d670
|
Merge branch 'my-pi-worktree1'
# Conflicts:
# AGENTS.md
|
2026-08-28 15:22:42 +08:00 |
|
云服务部-叶林立
|
f3a2abe1e4
|
feat(chrome): hand snapshots to context mode
|
2026-08-28 14:45:37 +08:00 |
|
云服务部-叶林立
|
5dd333882a
|
Disable bundled subagents extension
|
2026-08-28 14:42:24 +08:00 |
|
云服务部-叶林立
|
b7758b239e
|
Merge remote-tracking branch 'origin/my-pi-worktree1'
# Conflicts:
# AGENTS.md
|
2026-08-26 11:04:54 +08:00 |
|
叶林立
|
ca0a7c0bfd
|
Merge branch 'main' of bitbucket.org:siakitem/my-pi
# Conflicts:
# AGENTS.md
# README.md
# package-lock.json
# package.json
# pi-tool-search/CHANGELOG.md
# pi-tool-search/README.md
# pi-tool-search/docs/dynamic-tool-loading.md
# pi-tool-search/extensions/bundle-groups.ts
# pi-tool-search/test/bundle-groups.test.ts
|
2026-08-26 10:59:34 +08:00 |
|
叶林立
|
7571ba6dd9
|
feat: enable permission-aware subagents
|
2026-08-26 10:49:26 +08:00 |
|
云服务部-叶林立
|
b658e52367
|
feat: integrate pi-chrome with tool search
|
2026-08-26 10:46:47 +08:00 |
|
云服务部-叶林立
|
dc925e1eeb
|
Merge branch 'my-pi-worktree1'
# Conflicts:
# AGENTS.md
# pi-tool-search/CHANGELOG.md
# pi-tool-search/docs/dynamic-tool-loading.md
|
2026-08-25 15:18:58 +08:00 |
|
云服务部-叶林立
|
939139b5f3
|
feat: add interactive ask-user extension
|
2026-08-24 20:23:54 +08:00 |
|
叶林立
|
ea6c69bddf
|
Merge origin/main into worktree-1
|
2026-08-24 20:17:49 +08:00 |
|
叶林立
|
d65ce3800c
|
feat: add Kitty-aware completion notifications
|
2026-08-24 20:13:12 +08:00 |
|
云服务部-叶林立
|
a7891f18bf
|
feat(pi-ssh): add reviewed agent connection flow
|
2026-08-21 20:52:50 +08:00 |
|
云服务部-叶林立
|
0ac50eb581
|
feat: add pure ssh2 remote operations
|
2026-08-21 19:51:43 +08:00 |
|
叶林立
|
d3bf562189
|
feat: vendor and persist Codex fast mode
|
2026-08-20 00:06:39 +08:00 |
|
叶林立
|
5c4d6c6a87
|
feat: show fast mode in minimal footer
|
2026-08-19 22:24:37 +08:00 |
|
云服务部-叶林立
|
3cdcc3510b
|
feat: vendor official hippo memory extension
|
2026-08-19 21:07:23 +08:00 |
|
云服务部-叶林立
|
3507f85363
|
feat: vendor grouped tool search
|
2026-08-19 16:43:36 +08:00 |
|
云服务部-叶林立
|
779a845e18
|
feat: add minimal footer extension
|
2026-08-19 15:13:27 +08:00 |
|
云服务部-叶林立
|
6ce932df60
|
feat: add pi-condense with default enablement
|
2026-08-19 15:06:40 +08:00 |
|
云服务部-叶林立
|
410c50a3e5
|
feat: vendor permission system source
|
2026-08-19 14:35:19 +08:00 |
|
云服务部-叶林立
|
5a85660b5d
|
feat: add routed online search providers
|
2026-08-19 11:04:03 +08:00 |
|
云服务部-叶林立
|
bf8bb42a09
|
feat: add hashline editing and TypeScript LSP
|
2026-08-19 10:24:03 +08:00 |
|
叶林立
|
cf4fef10b8
|
feat: vendor permission auto-review source
|
2026-08-19 07:19:50 +08:00 |
|
云服务部-叶林立
|
78ce5bfb0c
|
feat: add lsp and auto-permissions stack
|
2026-08-18 17:12:10 +08:00 |
|
云服务部-叶林立
|
3984e37aa3
|
feat: add context-mode CodeGraph MCP integration
|
2026-08-18 15:33:11 +08:00 |
|
云服务部-叶林立
|
0637139a16
|
chore: initialize my-pi extension bundle
|
2026-08-18 12:30:48 +08:00 |
|