@maplezzk/pi-interactive-subagents 3.15.0 → 3.16.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maplezzk/pi-interactive-subagents",
3
- "version": "3.15.0",
3
+ "version": "3.16.0",
4
4
  "description": "Interactive async subagents for pi — spawn, orchestrate, and manage sub-agent sessions in multiplexer panes. Fork of HazAT/pi-interactive-subagents.",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -62,8 +62,8 @@
62
62
  ],
63
63
  "dependencies": {
64
64
  "ajv": "^8.20.0",
65
- "pi-extensions-i18n": "^0.5.0",
66
- "pi-terminal-mux": "^0.6.2"
65
+ "pi-extensions-i18n": "^0.6.0",
66
+ "pi-terminal-mux": "^0.6.3"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@earendil-works/pi-coding-agent": ">=0.80.0",
@@ -4,7 +4,7 @@ import { Type, type Static } from "@sinclair/typebox";
4
4
  import { Box, Text, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
5
5
  import { basename, dirname, isAbsolute, join, resolve } from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
- import { createTranslator, loadCatalog, notifyWithSource, type NoticeColor, type NoticeSource } from "pi-extensions-i18n";
7
+ import { createTranslator, installNoticeRenderer, loadCatalog, notifyWithSource, type NoticeColor, type NoticeSource } from "pi-extensions-i18n";
8
8
  import {
9
9
  readdirSync,
10
10
  readFileSync,
@@ -2021,6 +2021,8 @@ async function watchSubagent(
2021
2021
  }
2022
2022
 
2023
2023
  export default function subagentsExtension(pi: ExtensionAPI) {
2024
+ // 提示画成会话区里的带底色消息块;渲染器在本包这个模块实例里注册一次。
2025
+ installNoticeRenderer(pi);
2024
2026
  applyPersistedMuxPreference();
2025
2027
 
2026
2028
  // Expose launchSubagent / watchSubagent for programmatic use by other extensions