dsh-mask 0.2.25 → 0.2.27

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 (60) hide show
  1. package/ARCHITECTURE.md +0 -0
  2. package/CHANGELOG.md +6 -0
  3. package/LICENSE +0 -0
  4. package/README.en.md +29 -19
  5. package/README.es.md +31 -21
  6. package/README.hi.md +31 -21
  7. package/README.md +29 -19
  8. package/README.pt.md +31 -21
  9. package/SECURITY.md +0 -0
  10. package/THIRD_PARTY_NOTICES.md +0 -0
  11. package/cordis.patch.yml +0 -0
  12. package/docs/assets/dsh-mask-demo.gif +0 -0
  13. package/docs/assets/dsh-mask-demo.png +0 -0
  14. package/docs/assets/dsh-mask-evidence-en-dark.webp +0 -0
  15. package/docs/assets/dsh-mask-evidence-en-light.webp +0 -0
  16. package/docs/assets/dsh-mask-evidence-v2-en-dark.webp +0 -0
  17. package/docs/assets/dsh-mask-evidence-v2-en-light.webp +0 -0
  18. package/docs/assets/dsh-mask-evidence-v2-zh-dark.webp +0 -0
  19. package/docs/assets/dsh-mask-evidence-v2-zh-light.webp +0 -0
  20. package/docs/assets/dsh-mask-evidence-v3-en-dark.webp +0 -0
  21. package/docs/assets/dsh-mask-evidence-v3-en-light.webp +0 -0
  22. package/docs/assets/dsh-mask-evidence-v3-zh-dark.webp +0 -0
  23. package/docs/assets/dsh-mask-evidence-v3-zh-light.webp +0 -0
  24. package/docs/assets/dsh-mask-evidence-zh-dark.webp +0 -0
  25. package/docs/assets/dsh-mask-evidence-zh-light.webp +0 -0
  26. package/docs/assets/dsh-mask-evidence.png +0 -0
  27. package/docs/assets/dsh-mask-flow-dark.svg +76 -0
  28. package/docs/assets/dsh-mask-flow-light.svg +76 -0
  29. package/docs/assets/dsh-mask-flow-v2-dark.svg +76 -0
  30. package/docs/assets/dsh-mask-flow-v2-light.svg +76 -0
  31. package/docs/assets/dsh-mask-flow-v3-dark.svg +76 -0
  32. package/docs/assets/dsh-mask-flow-v3-light.svg +76 -0
  33. package/docs/assets/dsh-mask-flow-v4-dark.svg +75 -0
  34. package/docs/assets/dsh-mask-flow-v4-light.svg +75 -0
  35. package/docs/assets/dsh-mask-flow.svg +19 -0
  36. package/docs/assets/dsh-mask-hero-en-dark-v3.webp +0 -0
  37. package/docs/assets/dsh-mask-hero-en-light-v3.webp +0 -0
  38. package/docs/assets/dsh-mask-hero-zh-dark-v3.webp +0 -0
  39. package/docs/assets/dsh-mask-hero-zh-light-v3.webp +0 -0
  40. package/docs/assets/dsh-mask-hero.png +0 -0
  41. package/docs/assets/hero-en-dark-v3.webp +0 -0
  42. package/docs/assets/hero-en-dark.webp +0 -0
  43. package/docs/assets/hero-en-light-v3.webp +0 -0
  44. package/docs/assets/hero-en-light.webp +0 -0
  45. package/docs/assets/hero-zh-dark-v3.webp +0 -0
  46. package/docs/assets/hero-zh-dark.webp +0 -0
  47. package/docs/assets/hero-zh-light-v3.webp +0 -0
  48. package/docs/assets/hero-zh-light.webp +0 -0
  49. package/index.mjs +0 -0
  50. package/lib/constants.mjs +0 -0
  51. package/lib/deliver.mjs +0 -0
  52. package/lib/domain.mjs +0 -0
  53. package/lib/errors.mjs +0 -0
  54. package/lib/gate.mjs +0 -0
  55. package/lib/mask.mjs +0 -0
  56. package/lib/sanitize.mjs +0 -0
  57. package/lib/store.mjs +0 -0
  58. package/lib/strip.mjs +0 -0
  59. package/package.json +19 -39
  60. package/types.d.ts +0 -0
@@ -0,0 +1,76 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1100" height="660" viewBox="0 0 1100 660" role="img" aria-label="dsh-mask data flow">
2
+ <defs>
3
+ <linearGradient id="lineGrad" x1="0" y1="0" x2="1" y2="0">
4
+ <stop offset="0" stop-color="#8496f5" stop-opacity=".15"/>
5
+ <stop offset=".5" stop-color="#8496f5" stop-opacity=".9"/>
6
+ <stop offset="1" stop-color="#8496f5" stop-opacity=".15"/>
7
+ </linearGradient>
8
+ <filter id="soft" x="-40%" y="-40%" width="180%" height="200%">
9
+ <feDropShadow dx="0" dy="9" stdDeviation="12" flood-color="#1b1735" flood-opacity="0.55"/>
10
+ </filter>
11
+ <pattern id="dots" width="28" height="28" patternUnits="userSpaceOnUse">
12
+ <circle cx="1.3" cy="1.3" r="1.3" fill="#182031"/>
13
+ </pattern>
14
+ </defs>
15
+ <rect width="1100" height="660" fill="#0d1117"/>
16
+ <rect width="1100" height="660" fill="url(#dots)" opacity=".5"/>
17
+ <text x="50" y="62" fill="#f0f3f9" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="32" font-weight="700">dsh-mask</text>
18
+ <text x="50" y="90" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="16">data flow · masking at the model boundary · restore table stays host-side</text>
19
+ <rect x="50" y="108" width="1000" height="1.6" rx="1" fill="#2a3142"/>
20
+ <g filter="url(#soft)">
21
+ <rect x="50" y="190" width="176" height="118" rx="17" fill="#161b26" stroke="#2a3142" stroke-width="1.3"/>
22
+ </g>
23
+ <circle cx="74" cy="214" r="12" fill="#242d42"/>
24
+ <text x="74" y="219" text-anchor="middle" fill="#8496f5" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">01</text>
25
+ <text x="138.0" y="256" text-anchor="middle" fill="#f0f3f9" font-family="ui-monospace, monospace" font-size="16" font-weight="700">user message</text>
26
+ <text x="138.0" y="282" text-anchor="middle" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">plaintext enters</text>
27
+ <path d="M231 249.0 C241.0 249.0, 241.0 249.0, 251 249.0" stroke="url(#lineGrad)" stroke-width="2.2" fill="none"/>
28
+ <path d="M241 244.0 l8 5 -8 5" fill="none" stroke="#8496f5" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
29
+ <g filter="url(#soft)">
30
+ <rect x="256" y="190" width="176" height="118" rx="17" fill="#161b26" stroke="#8496f5" stroke-width="2.6"/>
31
+ </g>
32
+ <circle cx="280" cy="214" r="12" fill="#242d42"/>
33
+ <text x="280" y="219" text-anchor="middle" fill="#8496f5" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">02</text>
34
+ <text x="344.0" y="256" text-anchor="middle" fill="#f0f3f9" font-family="ui-monospace, monospace" font-size="16" font-weight="700">agent/pre-step</text>
35
+ <text x="344.0" y="282" text-anchor="middle" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">-&gt; &lt;PHONE_1&gt;</text>
36
+ <path d="M437 249.0 C447.0 249.0, 447.0 249.0, 457 249.0" stroke="url(#lineGrad)" stroke-width="2.2" fill="none"/>
37
+ <path d="M447 244.0 l8 5 -8 5" fill="none" stroke="#8496f5" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
38
+ <g filter="url(#soft)">
39
+ <rect x="462" y="190" width="176" height="118" rx="17" fill="#161b26" stroke="#2a3142" stroke-width="1.3"/>
40
+ </g>
41
+ <circle cx="486" cy="214" r="12" fill="#242d42"/>
42
+ <text x="486" y="219" text-anchor="middle" fill="#8496f5" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">03</text>
43
+ <text x="550.0" y="256" text-anchor="middle" fill="#f0f3f9" font-family="ui-monospace, monospace" font-size="16" font-weight="700">model</text>
44
+ <text x="550.0" y="282" text-anchor="middle" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">placeholder-only</text>
45
+ <path d="M643 249.0 C653.0 249.0, 653.0 249.0, 663 249.0" stroke="url(#lineGrad)" stroke-width="2.2" fill="none"/>
46
+ <path d="M653 244.0 l8 5 -8 5" fill="none" stroke="#8496f5" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
47
+ <g filter="url(#soft)">
48
+ <rect x="668" y="190" width="176" height="118" rx="17" fill="#161b26" stroke="#2a3142" stroke-width="1.3"/>
49
+ </g>
50
+ <circle cx="692" cy="214" r="12" fill="#242d42"/>
51
+ <text x="692" y="219" text-anchor="middle" fill="#8496f5" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">04</text>
52
+ <text x="756.0" y="256" text-anchor="middle" fill="#f0f3f9" font-family="ui-monospace, monospace" font-size="16" font-weight="700">/mask restore</text>
53
+ <text x="756.0" y="282" text-anchor="middle" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">explicit reveal</text>
54
+ <path d="M849 249.0 C871.0 249.0, 871.0 249.0, 893 249.0" stroke="url(#lineGrad)" stroke-width="2.2" fill="none"/>
55
+ <path d="M883 244.0 l8 5 -8 5" fill="none" stroke="#8496f5" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
56
+ <g filter="url(#soft)">
57
+ <rect x="898" y="190" width="176" height="118" rx="17" fill="#161b26" stroke="#3fb950" stroke-width="2.6"/>
58
+ </g>
59
+ <circle cx="922" cy="214" r="12" fill="#242d42"/>
60
+ <text x="922" y="219" text-anchor="middle" fill="#8496f5" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">05</text>
61
+ <text x="986.0" y="256" text-anchor="middle" fill="#f0f3f9" font-family="ui-monospace, monospace" font-size="16" font-weight="700">controlled file</text>
62
+ <text x="986.0" y="282" text-anchor="middle" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">0600 per session</text>
63
+ <path d="M344 308 V378" stroke="#8496f5" stroke-width="1.7" stroke-dasharray="5 6" opacity=".75"/>
64
+ <path d="M756 308 V378" stroke="#8496f5" stroke-width="1.7" stroke-dasharray="5 6" opacity=".75"/>
65
+ <g filter="url(#soft)">
66
+ <rect x="256" y="378" width="588" height="58" rx="15" fill="#242d42" stroke="#8496f5" stroke-width="1.3"/>
67
+ </g>
68
+ <text x="280" y="403" fill="#8496f5" font-family="ui-monospace, monospace" font-size="13" font-weight="700">restore table</text>
69
+ <text x="280" y="422" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">memory + dsh_mask storage domain · never the session log</text>
70
+ <rect x="50" y="476" width="1000" height="58" rx="15" fill="#161b26" stroke="#2a3142"/>
71
+ <text x="74" y="502" fill="#8496f5" font-family="ui-monospace, monospace" font-size="13" font-weight="700">mask/applied</text>
72
+ <text x="74" y="522" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">session event = counts + type distribution only · the plaintext never enters the log</text>
73
+ <circle cx="994" cy="506" r="4.5" fill="#3fb950"/>
74
+ <text x="1006" y="511" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12">audit</text>
75
+ <text x="50" y="596" fill="#a8b1c4" font-family="ui-monospace, monospace" font-size="13">Apache-2.0 · PerryLink DSH plugin family</text>
76
+ </svg>
@@ -0,0 +1,76 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1100" height="660" viewBox="0 0 1100 660" role="img" aria-label="dsh-mask data flow">
2
+ <defs>
3
+ <linearGradient id="lineGrad" x1="0" y1="0" x2="1" y2="0">
4
+ <stop offset="0" stop-color="#4B67B4" stop-opacity=".15"/>
5
+ <stop offset=".5" stop-color="#4B67B4" stop-opacity=".9"/>
6
+ <stop offset="1" stop-color="#4B67B4" stop-opacity=".15"/>
7
+ </linearGradient>
8
+ <filter id="soft" x="-40%" y="-40%" width="180%" height="200%">
9
+ <feDropShadow dx="0" dy="9" stdDeviation="12" flood-color="#1b1735" flood-opacity="0.10"/>
10
+ </filter>
11
+ <pattern id="dots" width="28" height="28" patternUnits="userSpaceOnUse">
12
+ <circle cx="1.3" cy="1.3" r="1.3" fill="#f2f0f8"/>
13
+ </pattern>
14
+ </defs>
15
+ <rect width="1100" height="660" fill="#ffffff"/>
16
+ <rect width="1100" height="660" fill="url(#dots)" opacity=".5"/>
17
+ <text x="50" y="62" fill="#141419" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="32" font-weight="700">dsh-mask</text>
18
+ <text x="50" y="90" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="16">data flow · masking at the model boundary · restore table stays host-side</text>
19
+ <rect x="50" y="108" width="1000" height="1.6" rx="1" fill="#e6e3f0"/>
20
+ <g filter="url(#soft)">
21
+ <rect x="50" y="190" width="176" height="118" rx="17" fill="#fcfcfe" stroke="#e6e3f0" stroke-width="1.3"/>
22
+ </g>
23
+ <circle cx="74" cy="214" r="12" fill="#ece7f9"/>
24
+ <text x="74" y="219" text-anchor="middle" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">01</text>
25
+ <text x="138.0" y="256" text-anchor="middle" fill="#141419" font-family="ui-monospace, monospace" font-size="16" font-weight="700">user message</text>
26
+ <text x="138.0" y="282" text-anchor="middle" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">plaintext enters</text>
27
+ <path d="M231 249.0 C241.0 249.0, 241.0 249.0, 251 249.0" stroke="url(#lineGrad)" stroke-width="2.2" fill="none"/>
28
+ <path d="M241 244.0 l8 5 -8 5" fill="none" stroke="#4B67B4" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
29
+ <g filter="url(#soft)">
30
+ <rect x="256" y="190" width="176" height="118" rx="17" fill="#fcfcfe" stroke="#4B67B4" stroke-width="2.6"/>
31
+ </g>
32
+ <circle cx="280" cy="214" r="12" fill="#ece7f9"/>
33
+ <text x="280" y="219" text-anchor="middle" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">02</text>
34
+ <text x="344.0" y="256" text-anchor="middle" fill="#141419" font-family="ui-monospace, monospace" font-size="16" font-weight="700">agent/pre-step</text>
35
+ <text x="344.0" y="282" text-anchor="middle" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">-&gt; &lt;PHONE_1&gt;</text>
36
+ <path d="M437 249.0 C447.0 249.0, 447.0 249.0, 457 249.0" stroke="url(#lineGrad)" stroke-width="2.2" fill="none"/>
37
+ <path d="M447 244.0 l8 5 -8 5" fill="none" stroke="#4B67B4" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
38
+ <g filter="url(#soft)">
39
+ <rect x="462" y="190" width="176" height="118" rx="17" fill="#fcfcfe" stroke="#e6e3f0" stroke-width="1.3"/>
40
+ </g>
41
+ <circle cx="486" cy="214" r="12" fill="#ece7f9"/>
42
+ <text x="486" y="219" text-anchor="middle" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">03</text>
43
+ <text x="550.0" y="256" text-anchor="middle" fill="#141419" font-family="ui-monospace, monospace" font-size="16" font-weight="700">model</text>
44
+ <text x="550.0" y="282" text-anchor="middle" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">placeholder-only</text>
45
+ <path d="M643 249.0 C653.0 249.0, 653.0 249.0, 663 249.0" stroke="url(#lineGrad)" stroke-width="2.2" fill="none"/>
46
+ <path d="M653 244.0 l8 5 -8 5" fill="none" stroke="#4B67B4" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
47
+ <g filter="url(#soft)">
48
+ <rect x="668" y="190" width="176" height="118" rx="17" fill="#fcfcfe" stroke="#e6e3f0" stroke-width="1.3"/>
49
+ </g>
50
+ <circle cx="692" cy="214" r="12" fill="#ece7f9"/>
51
+ <text x="692" y="219" text-anchor="middle" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">04</text>
52
+ <text x="756.0" y="256" text-anchor="middle" fill="#141419" font-family="ui-monospace, monospace" font-size="16" font-weight="700">/mask restore</text>
53
+ <text x="756.0" y="282" text-anchor="middle" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">explicit reveal</text>
54
+ <path d="M849 249.0 C871.0 249.0, 871.0 249.0, 893 249.0" stroke="url(#lineGrad)" stroke-width="2.2" fill="none"/>
55
+ <path d="M883 244.0 l8 5 -8 5" fill="none" stroke="#4B67B4" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
56
+ <g filter="url(#soft)">
57
+ <rect x="898" y="190" width="176" height="118" rx="17" fill="#fcfcfe" stroke="#16a34a" stroke-width="2.6"/>
58
+ </g>
59
+ <circle cx="922" cy="214" r="12" fill="#ece7f9"/>
60
+ <text x="922" y="219" text-anchor="middle" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="11.5" font-weight="700">05</text>
61
+ <text x="986.0" y="256" text-anchor="middle" fill="#141419" font-family="ui-monospace, monospace" font-size="16" font-weight="700">controlled file</text>
62
+ <text x="986.0" y="282" text-anchor="middle" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">0600 per session</text>
63
+ <path d="M344 308 V378" stroke="#4B67B4" stroke-width="1.7" stroke-dasharray="5 6" opacity=".75"/>
64
+ <path d="M756 308 V378" stroke="#4B67B4" stroke-width="1.7" stroke-dasharray="5 6" opacity=".75"/>
65
+ <g filter="url(#soft)">
66
+ <rect x="256" y="378" width="588" height="58" rx="15" fill="#ece7f9" stroke="#4B67B4" stroke-width="1.3"/>
67
+ </g>
68
+ <text x="280" y="403" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="13" font-weight="700">restore table</text>
69
+ <text x="280" y="422" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">memory + dsh_mask storage domain · never the session log</text>
70
+ <rect x="50" y="476" width="1000" height="58" rx="15" fill="#fcfcfe" stroke="#e6e3f0"/>
71
+ <text x="74" y="502" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="13" font-weight="700">mask/applied</text>
72
+ <text x="74" y="522" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">session event = counts + type distribution only · the plaintext never enters the log</text>
73
+ <circle cx="994" cy="506" r="4.5" fill="#16a34a"/>
74
+ <text x="1006" y="511" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12">audit</text>
75
+ <text x="50" y="596" fill="#4d5261" font-family="ui-monospace, monospace" font-size="13">Apache-2.0 · PerryLink DSH plugin family</text>
76
+ </svg>
@@ -0,0 +1,75 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1100" height="660" viewBox="0 0 1100 660" role="img" aria-label="dsh-mask two-zone diagram: host side and model side split by the model boundary, with the restore loop">
2
+ <defs>
3
+ <filter id="soft" x="-40%" y="-40%" width="180%" height="200%">
4
+ <feDropShadow dx="0" dy="9" stdDeviation="12" flood-color="#1b1735" flood-opacity="0.55"/>
5
+ </filter>
6
+ <pattern id="dots" width="28" height="28" patternUnits="userSpaceOnUse">
7
+ <circle cx="1.3" cy="1.3" r="1.3" fill="#182031"/>
8
+ </pattern>
9
+ <marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
10
+ <path d="M0 0 L10 5 L0 10 z" fill="#8496f5"/>
11
+ </marker>
12
+ <marker id="arr2" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
13
+ <path d="M0 0 L10 5 L0 10 z" fill="#3fb950"/>
14
+ </marker>
15
+ </defs>
16
+ <rect width="1100" height="660" fill="#0d1117"/>
17
+ <rect width="1100" height="660" fill="url(#dots)" opacity=".5"/>
18
+ <text x="50" y="58" fill="#f0f3f9" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="32" font-weight="700">dsh-mask</text>
19
+ <text x="50" y="86" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="16">the model boundary is the whole design: mask on this side, placeholders on the other</text>
20
+
21
+ <!-- zone backgrounds -->
22
+ <rect x="42" y="112" width="520" height="470" rx="22" fill="#121824" stroke="#2a3142"/>
23
+ <rect x="600" y="112" width="458" height="470" rx="22" fill="#121824" stroke="#2a3142"/>
24
+ <text x="66" y="142" fill="#8496f5" font-family="ui-sans-serif, system-ui, sans-serif" font-size="15" font-weight="700">YOUR MACHINE</text>
25
+ <text x="624" y="142" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="15" font-weight="700">WHAT THE MODEL SEES</text>
26
+
27
+ <!-- boundary -->
28
+ <line x1="581" y1="112" x2="581" y2="582" stroke="#8496f5" stroke-width="2" stroke-dasharray="7 7" opacity=".75"/>
29
+ <g transform="translate(581 352) rotate(-90)">
30
+ <text x="0" y="0" text-anchor="middle" fill="#8496f5" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12.5" font-weight="700" letter-spacing="2">MODEL BOUNDARY</text>
31
+ </g>
32
+
33
+ <!-- host side cards -->
34
+ <g filter="url(#soft)">
35
+ <rect x="66" y="164" width="472" height="118" rx="16" fill="#161b26" stroke="#2a3142"/>
36
+ </g>
37
+ <text x="86" y="190" fill="#8496f5" font-family="ui-monospace, monospace" font-size="13" font-weight="700">user message</text>
38
+ <text x="86" y="220" fill="#f0f3f9" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">帮我核对下:电话 13812345678,</text>
39
+ <text x="86" y="246" fill="#f0f3f9" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">邮箱 zhang@example.com</text>
40
+ <text x="86" y="270" fill="#737b8d" font-family="ui-monospace, monospace" font-size="12">plaintext stays on this side</text>
41
+
42
+ <g filter="url(#soft)">
43
+ <rect x="66" y="304" width="472" height="112" rx="16" fill="#161b26" stroke="#8496f5" stroke-width="2.2"/>
44
+ </g>
45
+ <text x="86" y="330" fill="#8496f5" font-family="ui-monospace, monospace" font-size="13" font-weight="700">agent/pre-step · mask</text>
46
+ <text x="86" y="362" fill="#f0f3f9" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">电话 &lt;PHONE_1&gt;,邮箱 &lt;EMAIL_1&gt;</text>
47
+ <text x="86" y="392" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">rewrite happens here, before the log</text>
48
+
49
+ <g filter="url(#soft)">
50
+ <rect x="66" y="438" width="472" height="118" rx="16" fill="#161b26" stroke="#2a3142"/>
51
+ </g>
52
+ <text x="86" y="464" fill="#8496f5" font-family="ui-monospace, monospace" font-size="13" font-weight="700">restore table</text>
53
+ <text x="86" y="494" fill="#f0f3f9" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">memory + dsh_mask domain</text>
54
+ <text x="86" y="520" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">/mask restore → a 0600 file, one per session</text>
55
+ <text x="86" y="542" fill="#737b8d" font-family="ui-monospace, monospace" font-size="12">never the session log</text>
56
+
57
+ <!-- arrows: message -> mask -> (boundary) model -->
58
+ <line x1="302" y1="282" x2="302" y2="302" stroke="#8496f5" stroke-width="2.4" marker-end="url(#arr)"/>
59
+ <line x1="538" y1="360" x2="640" y2="360" stroke="#8496f5" stroke-width="2.4" marker-end="url(#arr)"/>
60
+
61
+ <!-- model side cards -->
62
+ <g filter="url(#soft)">
63
+ <rect x="618" y="196" width="422" height="160" rx="16" fill="#161b26" stroke="#3fb950" stroke-width="2.2"/>
64
+ </g>
65
+ <text x="638" y="226" fill="#3fb950" font-family="ui-monospace, monospace" font-size="13" font-weight="700">model</text>
66
+ <text x="638" y="260" fill="#f0f3f9" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">电话 &lt;PHONE_1&gt;,邮箱 &lt;EMAIL_1&gt;</text>
67
+ <text x="638" y="292" fill="#a8b1c4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">placeholder-only · reversible by the host</text>
68
+ <text x="638" y="322" fill="#737b8d" font-family="ui-monospace, monospace" font-size="12">mask/applied = counts + types, no plaintext</text>
69
+
70
+ <!-- restore loop back to host -->
71
+ <path d="M830 356 C830 470, 680 500, 552 492" stroke="#3fb950" stroke-width="2.2" fill="none" stroke-dasharray="6 6" marker-end="url(#arr2)"/>
72
+ <text x="620" y="452" fill="#3fb950" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12">explicit restore</text>
73
+
74
+ <text x="50" y="622" fill="#a8b1c4" font-family="ui-monospace, monospace" font-size="13">Apache-2.0 · PerryLink DSH plugin family</text>
75
+ </svg>
@@ -0,0 +1,75 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1100" height="660" viewBox="0 0 1100 660" role="img" aria-label="dsh-mask two-zone diagram: host side and model side split by the model boundary, with the restore loop">
2
+ <defs>
3
+ <filter id="soft" x="-40%" y="-40%" width="180%" height="200%">
4
+ <feDropShadow dx="0" dy="9" stdDeviation="12" flood-color="#1b1735" flood-opacity="0.10"/>
5
+ </filter>
6
+ <pattern id="dots" width="28" height="28" patternUnits="userSpaceOnUse">
7
+ <circle cx="1.3" cy="1.3" r="1.3" fill="#f2f0f8"/>
8
+ </pattern>
9
+ <marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
10
+ <path d="M0 0 L10 5 L0 10 z" fill="#4B67B4"/>
11
+ </marker>
12
+ <marker id="arr2" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
13
+ <path d="M0 0 L10 5 L0 10 z" fill="#16a34a"/>
14
+ </marker>
15
+ </defs>
16
+ <rect width="1100" height="660" fill="#ffffff"/>
17
+ <rect width="1100" height="660" fill="url(#dots)" opacity=".5"/>
18
+ <text x="50" y="58" fill="#141419" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="32" font-weight="700">dsh-mask</text>
19
+ <text x="50" y="86" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="16">the model boundary is the whole design: mask on this side, placeholders on the other</text>
20
+
21
+ <!-- zone backgrounds -->
22
+ <rect x="42" y="112" width="520" height="470" rx="22" fill="#f7f5fc" stroke="#e6e3f0"/>
23
+ <rect x="600" y="112" width="458" height="470" rx="22" fill="#f7f5fc" stroke="#e6e3f0"/>
24
+ <text x="66" y="142" fill="#4B67B4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="15" font-weight="700">YOUR MACHINE</text>
25
+ <text x="624" y="142" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="15" font-weight="700">WHAT THE MODEL SEES</text>
26
+
27
+ <!-- boundary -->
28
+ <line x1="581" y1="112" x2="581" y2="582" stroke="#4B67B4" stroke-width="2" stroke-dasharray="7 7" opacity=".75"/>
29
+ <g transform="translate(581 352) rotate(-90)">
30
+ <text x="0" y="0" text-anchor="middle" fill="#4B67B4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12.5" font-weight="700" letter-spacing="2">MODEL BOUNDARY</text>
31
+ </g>
32
+
33
+ <!-- host side cards -->
34
+ <g filter="url(#soft)">
35
+ <rect x="66" y="164" width="472" height="118" rx="16" fill="#ffffff" stroke="#e6e3f0"/>
36
+ </g>
37
+ <text x="86" y="190" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="13" font-weight="700">user message</text>
38
+ <text x="86" y="220" fill="#141419" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">帮我核对下:电话 13812345678,</text>
39
+ <text x="86" y="246" fill="#141419" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">邮箱 zhang@example.com</text>
40
+ <text x="86" y="270" fill="#8f94a4" font-family="ui-monospace, monospace" font-size="12">plaintext stays on this side</text>
41
+
42
+ <g filter="url(#soft)">
43
+ <rect x="66" y="304" width="472" height="112" rx="16" fill="#ffffff" stroke="#4B67B4" stroke-width="2.2"/>
44
+ </g>
45
+ <text x="86" y="330" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="13" font-weight="700">agent/pre-step · mask</text>
46
+ <text x="86" y="362" fill="#141419" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">电话 &lt;PHONE_1&gt;,邮箱 &lt;EMAIL_1&gt;</text>
47
+ <text x="86" y="392" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">rewrite happens here, before the log</text>
48
+
49
+ <g filter="url(#soft)">
50
+ <rect x="66" y="438" width="472" height="118" rx="16" fill="#ffffff" stroke="#e6e3f0"/>
51
+ </g>
52
+ <text x="86" y="464" fill="#4B67B4" font-family="ui-monospace, monospace" font-size="13" font-weight="700">restore table</text>
53
+ <text x="86" y="494" fill="#141419" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">memory + dsh_mask domain</text>
54
+ <text x="86" y="520" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">/mask restore → a 0600 file, one per session</text>
55
+ <text x="86" y="542" fill="#8f94a4" font-family="ui-monospace, monospace" font-size="12">never the session log</text>
56
+
57
+ <!-- arrows: message -> mask -> (boundary) model -->
58
+ <line x1="302" y1="282" x2="302" y2="302" stroke="#4B67B4" stroke-width="2.4" marker-end="url(#arr)"/>
59
+ <line x1="538" y1="360" x2="640" y2="360" stroke="#4B67B4" stroke-width="2.4" marker-end="url(#arr)"/>
60
+
61
+ <!-- model side cards -->
62
+ <g filter="url(#soft)">
63
+ <rect x="618" y="196" width="422" height="160" rx="16" fill="#ffffff" stroke="#16a34a" stroke-width="2.2"/>
64
+ </g>
65
+ <text x="638" y="226" fill="#16a34a" font-family="ui-monospace, monospace" font-size="13" font-weight="700">model</text>
66
+ <text x="638" y="260" fill="#141419" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17">电话 &lt;PHONE_1&gt;,邮箱 &lt;EMAIL_1&gt;</text>
67
+ <text x="638" y="292" fill="#4d5261" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">placeholder-only · reversible by the host</text>
68
+ <text x="638" y="322" fill="#8f94a4" font-family="ui-monospace, monospace" font-size="12">mask/applied = counts + types, no plaintext</text>
69
+
70
+ <!-- restore loop back to host -->
71
+ <path d="M830 356 C830 470, 680 500, 552 492" stroke="#16a34a" stroke-width="2.2" fill="none" stroke-dasharray="6 6" marker-end="url(#arr2)"/>
72
+ <text x="620" y="452" fill="#16a34a" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12">explicit restore</text>
73
+
74
+ <text x="50" y="622" fill="#4d5261" font-family="ui-monospace, monospace" font-size="13">Apache-2.0 · PerryLink DSH plugin family</text>
75
+ </svg>
@@ -0,0 +1,19 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="360" viewBox="0 0 1200 360" role="img" aria-label="dsh-mask workflow">
2
+ <title>dsh-mask workflow</title>
3
+ <rect width="1200" height="360" rx="18" fill="#0d1117"/>
4
+ <text x="60" y="58" fill="#f0f6fc" font-family="ui-sans-serif,system-ui,sans-serif" font-size="30" font-weight="700">dsh-mask</text>
5
+ <text x="60" y="92" fill="#8b949e" font-family="ui-monospace,monospace" font-size="16">DeepSeek Harness plugin</text>
6
+ <line x1="60" y1="118" x2="1140" y2="118" stroke="#30363d"/>
7
+ <rect x="120" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#16a34a" stroke-width="2"/>
8
+ <rect x="216" y="191" width="48" height="48" rx="7" fill="none" stroke="#16a34a" stroke-width="3"/><path d="M225 203l9 9-9 9m16 0h12" fill="none" stroke="#16a34a" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <circle cx="330" cy="270" r="13" fill="#16a34a"/><text x="330" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">1</text>
10
+ <path d="M368 220h64" stroke="#16a34a" stroke-width="3"/><path d="M422 213l10 7-10 7" fill="none" stroke="#16a34a" stroke-width="3" stroke-linecap="round"/>
11
+ <rect x="480" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#16a34a" stroke-width="2"/>
12
+ <path d="M580 192h14v9a7 7 0 1 0 0 14v9H580z" fill="none" stroke="#16a34a" stroke-width="3"/><path d="M601 192h14v9a7 7 0 1 1 0 14v9H601" fill="none" stroke="#16a34a" stroke-width="3"/>
13
+ <circle cx="690" cy="270" r="13" fill="#16a34a"/><text x="690" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">2</text>
14
+ <path d="M728 220h64" stroke="#16a34a" stroke-width="3"/><path d="M782 213l10 7-10 7" fill="none" stroke="#16a34a" stroke-width="3" stroke-linecap="round"/>
15
+ <rect x="840" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#16a34a" stroke-width="2"/>
16
+ <path d="M960 188l6 24 24 6-24 6-6 24-6-24-24-6 24-6z" fill="none" stroke="#16a34a" stroke-width="3" stroke-linejoin="round"/>
17
+ <circle cx="1050" cy="270" r="13" fill="#16a34a"/><text x="1050" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">3</text>
18
+ <text x="60" y="332" fill="#8b949e" font-family="ui-monospace,monospace" font-size="14">PerryLink DSH plugin family · Apache-2.0</text>
19
+ </svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/index.mjs CHANGED
File without changes
package/lib/constants.mjs CHANGED
File without changes
package/lib/deliver.mjs CHANGED
File without changes
package/lib/domain.mjs CHANGED
File without changes
package/lib/errors.mjs CHANGED
File without changes
package/lib/gate.mjs CHANGED
File without changes
package/lib/mask.mjs CHANGED
File without changes
package/lib/sanitize.mjs CHANGED
File without changes
package/lib/store.mjs CHANGED
File without changes
package/lib/strip.mjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-mask",
3
3
  "description": "PII masking middleware for DeepSeek Harness: regex-detect and replace phones, emails, ID cards, bank cards, keys, and (opt-in) IPs with placeholders before they reach the model, keep the restore table host-side (memory plus a controlled storage domain, never the session log) with the /mask restore command and the exported RestoreStore seam, and expose /mask status and the mask_test tool. Name and address recognition needs an external NER recognizer, which this pure-host form does not bundle: mode \"regex+ner\" and the person/address entities fail loudly at load. The phone and ID-card detectors match mainland-China formats only.",
4
- "version": "0.2.25",
4
+ "version": "0.2.27",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/PerryLink/dsh-mask.git"
@@ -36,33 +36,13 @@
36
36
  "CHANGELOG.md",
37
37
  "SECURITY.md",
38
38
  "LICENSE",
39
+ "docs/assets/*",
39
40
  "THIRD_PARTY_NOTICES.md"
40
41
  ],
41
42
  "dsh": {
42
43
  "manifestVersion": 1,
43
44
  "bundle": {
44
45
  "patch": "./cordis.patch.yml"
45
- },
46
- "capabilities": [
47
- "fs:write",
48
- "sessions:write",
49
- "tools:register"
50
- ],
51
- "labels": [],
52
- "standards": {
53
- "schema": "dsh-levels/1",
54
- "entry": {
55
- "status": "not-run",
56
- "evidence": null
57
- },
58
- "flow": {
59
- "status": "not-run",
60
- "evidence": null
61
- },
62
- "boost": {
63
- "status": "not-measured",
64
- "evidence": null
65
- }
66
46
  }
67
47
  },
68
48
  "dshWorkshop": {
@@ -117,35 +97,35 @@
117
97
  },
118
98
  "peerDependencies": {
119
99
  "@deepseek-ai/cordis": "^4.0.5",
120
- "@deepseek-ai/dsh-commands": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
121
- "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
122
- "@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
123
- "@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
124
- "@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
125
- "@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
100
+ "@deepseek-ai/dsh-commands": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
101
+ "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
102
+ "@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
103
+ "@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
104
+ "@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
105
+ "@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
126
106
  "@deepseek-ai/schemastery": "^3.18.5"
127
107
  },
128
108
  "dependencies": {
129
109
  "zod": "4.6.6"
130
110
  },
131
111
  "devDependencies": {
132
- "@deepseek-ai/dsh-attachment": "0.2.2-rc.3",
112
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.4",
133
113
  "@deepseek-ai/cordis": "^4.1.0",
134
114
  "@deepseek-ai/cordis-plugin-include": "^1.1.0",
135
115
  "@deepseek-ai/cordis-plugin-loader": "^1.1.0",
136
- "@deepseek-ai/dsh-agent": "0.2.2-rc.3",
137
- "@deepseek-ai/dsh-commands": "0.2.2-rc.3",
138
- "@deepseek-ai/dsh-session": "0.2.2-rc.3",
139
- "@deepseek-ai/dsh-storage": "0.2.2-rc.3",
140
- "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.3",
141
- "@deepseek-ai/dsh-storage-json": "0.2.2-rc.3",
142
- "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.3",
143
- "@deepseek-ai/dsh-tools": "0.2.2-rc.3",
116
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.4",
117
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.4",
118
+ "@deepseek-ai/dsh-session": "0.2.2-rc.4",
119
+ "@deepseek-ai/dsh-storage": "0.2.2-rc.4",
120
+ "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.4",
121
+ "@deepseek-ai/dsh-storage-json": "0.2.2-rc.4",
122
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.4",
123
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.4",
144
124
  "@deepseek-ai/schemastery": "~3.19.0",
145
125
  "@types/node": "^22.20.5",
146
126
  "oxlint": "0.18.1",
147
127
  "typescript": "^5.9.0",
148
- "@deepseek-ai/dsh-working-directory": "0.2.2-rc.3"
128
+ "@deepseek-ai/dsh-working-directory": "0.2.2-rc.4"
149
129
  },
150
130
  "scripts": {
151
131
  "typecheck": "tsc -p tsconfig.check.json",
@@ -172,7 +152,7 @@
172
152
  ],
173
153
  "engines": {
174
154
  "node": "^22.19.0 || >=24.9.0",
175
- "dsh": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0"
155
+ "dsh": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0"
176
156
  },
177
157
  "packageManager": "pnpm@11.7.0",
178
158
  "publishConfig": {
package/types.d.ts CHANGED
File without changes