@trim21/personal-pi-extensions 0.1.498 → 0.1.500

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/aft/tools.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trim21/personal-pi-extensions",
3
- "version": "0.1.498",
3
+ "version": "0.1.500",
4
4
  "type": "module",
5
5
  "description": "Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more",
6
6
  "keywords": [
package/src/aft/tools.ts CHANGED
@@ -407,7 +407,8 @@ function subscribeBridgeStatus(
407
407
  * Building 分支)。上游控制的 schema:只声明真正读取的字段,未声明键忽略。
408
408
  */
409
409
  const semanticIndexProgressSchema = Type.Object({
410
- status: Type.Literal("building"),
410
+ // Rust 侧两种状态值:health report 用 "building",subc 状态推送用 "loading"。
411
+ status: Type.Union([Type.Literal("building"), Type.Literal("loading")]),
411
412
  stage: Type.Optional(Type.String()),
412
413
  embedded_chunks: Type.Optional(Type.Integer()),
413
414
  total_chunks: Type.Optional(Type.Integer()),