@trim21/personal-pi-extensions 0.1.497 → 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.
- package/package.json +1 -1
- package/src/aft/tools.ts +2 -1
- package/src/spawn-agent.ts +2 -0
package/package.json
CHANGED
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
|
-
|
|
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()),
|
package/src/spawn-agent.ts
CHANGED
|
@@ -563,6 +563,7 @@ export default function spawnAgent(pi: ExtensionAPI) {
|
|
|
563
563
|
details: {
|
|
564
564
|
...result,
|
|
565
565
|
pendant: {
|
|
566
|
+
subtitle: result.agent,
|
|
566
567
|
markdown: formatPendantMarkdown(params.task, message),
|
|
567
568
|
} satisfies ToolPendant,
|
|
568
569
|
},
|
|
@@ -580,6 +581,7 @@ export default function spawnAgent(pi: ExtensionAPI) {
|
|
|
580
581
|
details: {
|
|
581
582
|
...result,
|
|
582
583
|
pendant: {
|
|
584
|
+
subtitle: result.agent,
|
|
583
585
|
markdown: formatPendantMarkdown(params.task, text),
|
|
584
586
|
} satisfies ToolPendant,
|
|
585
587
|
},
|