dsh-prompt-customizer 0.5.0 → 0.9.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 (51) hide show
  1. package/README.en.md +26 -2
  2. package/README.md +129 -15
  3. package/build.mjs +219 -0
  4. package/client/client.js +8160 -3465
  5. package/client/client.js.map +7 -1
  6. package/cordis.patch.yml +6 -3
  7. package/lib/index.js +16360 -905
  8. package/lib/index.js.map +7 -0
  9. package/package.json +50 -38
  10. package/scripts/fixtures/rc2-mode.mjs +12 -0
  11. package/scripts/fixtures/rc2-preview.snapshot.json +35 -0
  12. package/scripts/fixtures/rc2-runtime.mjs +85 -0
  13. package/scripts/fixtures/rc2.cordis.yml +31 -0
  14. package/scripts/fixtures/rc2.overlay.yml +9 -0
  15. package/scripts/smoke-client.mjs +382 -0
  16. package/scripts/smoke-host.mjs +130 -0
  17. package/scripts/test-mcp-layering.mjs +441 -0
  18. package/scripts/test-mcp-tool-disable.mjs +420 -0
  19. package/scripts/test-rc2-runtime.mjs +42 -0
  20. package/scripts/test-skill-manager.mjs +170 -0
  21. package/scripts/test-skill-toggles.mjs +100 -0
  22. package/lib/catalog.js +0 -131
  23. package/lib/effective.js +0 -161
  24. package/lib/promotion.js +0 -80
  25. package/lib/schema.js +0 -125
  26. package/lib/sectionOps.d.mts +0 -67
  27. package/lib/sectionOps.mjs +0 -269
  28. package/lib/store.js +0 -124
  29. package/lib/vars.js +0 -147
  30. package/lib/zh/cordis.mjs +0 -110
  31. package/lib/zh/core.mjs +0 -47
  32. package/lib/zh/index.d.mts +0 -8
  33. package/lib/zh/index.mjs +0 -23
  34. package/lib/zh/sdk.mjs +0 -22
  35. package/lib/zh/teams.mjs +0 -19
  36. package/lib/zh/undo.mjs +0 -18
  37. package/src/client/Panel.tsx +0 -532
  38. package/src/client/PresetsPane.tsx +0 -298
  39. package/src/client/PreviewPane.tsx +0 -73
  40. package/src/client/PreviewTools.tsx +0 -33
  41. package/src/client/SectionsPane.tsx +0 -331
  42. package/src/client/ToolsPane.tsx +0 -230
  43. package/src/client/error-boundary.tsx +0 -48
  44. package/src/client/index.ts +0 -97
  45. package/src/client/locales.ts +0 -301
  46. package/src/client/nav.tsx +0 -284
  47. package/src/client/preset-io.ts +0 -226
  48. package/src/client/presets.ts +0 -413
  49. package/src/client/shell.tsx +0 -179
  50. package/src/client/styles.ts +0 -59
  51. package/src/client/types.ts +0 -125
package/cordis.patch.yml CHANGED
@@ -1,9 +1,12 @@
1
1
  # dsh-prompt-customizer bundle patch: inserts the dual-face plugin row into
2
2
  # the web profile roster. Applied as a profile bundle layer (the
3
3
  # `dsh.bundle.patch` manifest field). The node half (exports ".") runs in the
4
- # host process (settings namespace, prompt/tool filtering, inventory route);
5
- # the `dsh.client` declaration in package.json loads the browser half
6
- # (exports "./client", served at /plugins/prompt-customizer/client.js).
4
+ # host process: prompt filtering (block / replace / inject / ordering, inventory
5
+ # & preview routes), skill bundle management + toggles + health, and MCP status /
6
+ # presets / masking / tool-level enable-disable. The `dsh.client` declaration in
7
+ # package.json loads the browser half (exports "./client", served at
8
+ # /plugins/prompt-customizer/client.js): the capability panel (SKILL / MCP /
9
+ # 提示词 tabs) plus the `/` skill source.
7
10
  - insert:
8
11
  - id: prompt-customizer
9
12
  name: 'dsh-prompt-customizer'