@zhushanwen/pi-msg-id-mapper 1.0.1 → 1.0.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.
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@zhushanwen/pi-msg-id-mapper",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Client UUID ↔ user entry ID mapping extension for Pi — enables metadata preservation across sessions",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
7
+ "xyz-agent": {
8
+ "role": "taiji"
9
+ },
7
10
  "pi": {
8
11
  "extensions": [
9
12
  "./index.ts"
@@ -22,10 +25,11 @@
22
25
  "index.ts"
23
26
  ],
24
27
  "peerDependencies": {
25
- "@earendil-works/pi-coding-agent": "*"
28
+ "@earendil-works/pi-coding-agent": "^0.84.1"
26
29
  },
27
30
  "devDependencies": {
28
31
  "@types/node": "^24.0.0",
32
+ "@vitest/coverage-v8": "^4.1.9",
29
33
  "vitest": "^4.1.8"
30
34
  },
31
35
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  * ExtensionAPI/ExtensionContext 用结构化桩(参照 subagent-workflow mocks/ 的最小桩模式,
12
12
  * 本包无 SDK 运行时依赖故不需要 alias 配置)。
13
13
  *
14
- * 运行:cd extensions/msg-id-mapper && npx vitest run
14
+ * 运行:cd extensions/taiji/msg-id-mapper && npx vitest run
15
15
  */
16
16
  import { describe, it, expect, vi, afterEach } from 'vitest'
17
17
  import createMapper from '../index'
package/src/index.ts CHANGED
@@ -23,7 +23,7 @@
23
23
  * mapping is missing, and xyz-agent degrades to textToSegments (split by plain text).
24
24
  * Missing mapping doesn't affect the agent main flow.
25
25
  *
26
- * Same package shape as @zhushanwen/pi-system-prompt (extensions/system-prompt/):
26
+ * Same package shape as @zhushanwen/pi-system-prompt (extensions/taiji/system-prompt/):
27
27
  * TypeScript source with no build step and no runtime deps (peer dep on pi only),
28
28
  * bundled as a builtin extension by scripts/bundle-extensions.mjs.
29
29
  */