pi-nested-skills 0.3.0 → 0.4.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 +2 -2
- package/src/index.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-nested-skills",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Pi extension for recursive nested-skill discovery and aliases",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@earendil-works/pi-tui": ">=0.80.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"pi-extensions-i18n": "^0.
|
|
65
|
+
"pi-extensions-i18n": "^0.6.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@earendil-works/pi-coding-agent": "0.85.1",
|
package/src/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type { AutocompleteItem, AutocompleteProvider } from "@earendil-works/pi-
|
|
|
8
8
|
import {
|
|
9
9
|
createTranslator,
|
|
10
10
|
loadCatalog,
|
|
11
|
+
installNoticeRenderer,
|
|
11
12
|
notifyWithSource,
|
|
12
13
|
type NoticeColor,
|
|
13
14
|
type NoticeLevel,
|
|
@@ -303,6 +304,8 @@ function notifyDiagnostics(ctx: ExtensionContext, loaded: LoadedNestedSkillsConf
|
|
|
303
304
|
|
|
304
305
|
/** 注册递归技能别名,同时把实际技能正文交给 Pi 原生技能加载和展开流程。 */
|
|
305
306
|
export default function nestedSkillsExtension(pi: ExtensionAPI): void {
|
|
307
|
+
// 提示画成会话区里的带底色消息块;渲染器在本包这个模块实例里注册一次。
|
|
308
|
+
installNoticeRenderer(pi);
|
|
306
309
|
const loaded = loadConfig();
|
|
307
310
|
const scan = scanSkillRoots(loaded.config.skillRoots);
|
|
308
311
|
const index = buildSkillIndex(scan);
|