pi-nested-skills 0.4.0 → 0.4.2

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 +2 -2
  2. package/src/index.ts +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-nested-skills",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
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.6.0"
65
+ "pi-extensions-i18n": "^0.8.0"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@earendil-works/pi-coding-agent": "0.85.1",
package/src/index.ts CHANGED
@@ -6,6 +6,7 @@ import type {
6
6
  import { fuzzyFilter } from "@earendil-works/pi-tui";
7
7
  import type { AutocompleteItem, AutocompleteProvider } from "@earendil-works/pi-tui";
8
8
  import {
9
+ NOTICE_TAG_COLOR,
9
10
  createTranslator,
10
11
  loadCatalog,
11
12
  installNoticeRenderer,
@@ -22,8 +23,8 @@ const i18n = createTranslator(messages);
22
23
 
23
24
  /** 本扩展的提示标签;短且唯一,便于在会话里定位来源。 */
24
25
  const NOTICE_TAG = "skills";
25
- /** 提示标签颜色;与其它扩展错开,避免看起来像同一条消息。 */
26
- const NOTICE_COLOR: NoticeColor = "success";
26
+ /** 提示标签颜色:所有扩展统一用弱化色,来源靠 tag 文本区分,不靠颜色。 */
27
+ const NOTICE_COLOR: NoticeColor = NOTICE_TAG_COLOR;
27
28
  /** 本扩展的提示来源。 */
28
29
  const NOTICE_SOURCE: NoticeSource = { tag: NOTICE_TAG, color: NOTICE_COLOR };
29
30