@yugoo-design/dsh-design-studio-dsh 0.2.0 → 0.2.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 (33) hide show
  1. package/README.md +13 -2
  2. package/lib/authoring/studio-creators/material.json +1 -1
  3. package/lib/{authoring-agent-Ci08ifdJ.js → authoring-agent-vc786tS0.js} +16 -2
  4. package/lib/authoring-agent.d.ts +1 -1
  5. package/lib/authoring-agent.js +1 -1
  6. package/lib/{authoring-agent.types-QLa61eE6.d.ts → authoring-agent.types-0S0xnlDW.d.ts} +2 -3
  7. package/lib/authoring-entry.js +1 -1
  8. package/lib/{authoring-host-BlsA6wXz.js → authoring-host-m8-GmXIx.js} +1 -0
  9. package/lib/authoring-host.d.ts +1 -1
  10. package/lib/authoring-host.js +1 -1
  11. package/lib/{authoring-host.types-d5UT0WEk.d.ts → authoring-host.types-BZt9l0xK.d.ts} +2 -2
  12. package/lib/authoring-reference-store.d.ts +1 -1
  13. package/lib/{authoring-service-qGEk-IE_.js → authoring-service-WClXJGik.js} +11 -6
  14. package/lib/authoring-service.d.ts +15 -6
  15. package/lib/authoring-service.js +1 -1
  16. package/lib/authoring-session.d.ts +1 -1
  17. package/lib/authoring-session.js +2 -1
  18. package/lib/{authoring-session.types-MHEaEFkO.d.ts → authoring-session.types-C6HosIWU.d.ts} +2 -2
  19. package/lib/authoring-sources.js +16 -6
  20. package/lib/authoring-workbench.d.ts +2 -2
  21. package/lib/authoring-workbench.js +1 -1
  22. package/lib/{authoring.page-rpc-Bg6VAT0Z.d.ts → authoring.page-rpc-CYYWsmxc.d.ts} +4 -4
  23. package/lib/authoring.page-rpc.d.ts +1 -1
  24. package/lib/{client-adapter-BgD1mpCC.d.ts → client-adapter-BmIzQcMT.d.ts} +1 -1
  25. package/lib/client-adapter.d.ts +2 -2
  26. package/lib/page-client.js +2 -2
  27. package/lib/{page-path-Bj5jO20L.d.ts → page-path-BkPiqrUH.d.ts} +1 -1
  28. package/lib/page-path.d.ts +1 -1
  29. package/lib/{page-rpc-DiazVY00.d.ts → page-rpc-DXbf4seT.d.ts} +1 -1
  30. package/lib/page-rpc.d.ts +1 -1
  31. package/lib/page.d.ts +1 -1
  32. package/licenses/dsh-distribution.json +136 -136
  33. package/package.json +5 -5
package/README.md CHANGED
@@ -90,8 +90,14 @@ workspaceRoot, retainReference })`. It composes the same native adapter with
90
90
  `dsh-design-studio/node` read/prepare capabilities over the caller's existing
91
91
  instances. Start selects an exact working-copy revision and an initial source
92
92
  reading focus. Legal reads, full-file replacements and new files remain bound to
93
- that same Kit or Bundle; the initial paths are not an editing whitelist. Bundle
94
- source uses its exact pin; Kit-owned source can omit a preview Bundle, while a supplied preview pin must match an explicit mount. The
93
+ that same Kit or Bundle; the initial paths are not an editing whitelist. Source
94
+ reads also discover the bound source's file list and Kit mount bindings.
95
+ `studio_authoring_read({mount:{bindingKey}})` lists an existing mount's files;
96
+ `{mount:{bindingKey,paths:["SKILL.md"]}}` reads its current saved method. It uses
97
+ the existing local/retained-source resolver, independently of packaged authoring
98
+ examples and component references. Mounted sources remain read-only and
99
+ `studio_authoring_prepare` continues to write only the bound Kit or Bundle.
100
+ Bundle source uses its exact pin; Kit-owned source can omit a preview Bundle, while a supplied preview pin must match an explicit mount. The
95
101
  factory retains the native address before dispatch and returns a typed
96
102
  `{ request, candidate }` for the shared review UI. Saving remains an explicit
97
103
  call to the existing instance service, using its candidate digest and revision.
@@ -417,6 +423,11 @@ not prove a real desktop return trip or installed authoring service.
417
423
 
418
424
  The inspection Remote exposes exactly six read methods: `workspace`, `readKitWorkspace` (exact `name@version` pin required; a diverging response identity diagnoses), `readKitFiles` and `readKitFile` (the same exact Kit pin), `readBundleWorkspace`, and `readBundleFile`. Kit file inspection includes `kit.yaml`, `mindset.md` and other authored files beneath the selected Kit root, excluding `.git` and `node_modules`; the text viewer accepts regular UTF-8 files up to 1 MiB, with bounded tree traversal. Missing sources, forbidden paths, binary content and oversized files diagnose rather than falling back to another version. The catalog snapshot projects `ctx.design.listKits()`. Bundle source reads run through `ctx.fs`: the `kitSources` config lists installed content packages (`packageName`, resolved like the Design Core kit-loader) or absolute directories (`root`); every path resolves through the filesystem capability and must stay canonically contained in a configured root, so traversal and symlink escapes never read outside the authored trees and non-UTF-8 content diagnoses as binary. Invalid or ambiguous configuration — a missing root, a root without `mindset.md`, a relative path, a duplicate root, or one Kit/Bundle name declared by two roots — fails loud at startup. Without `kitSources` the catalog stays readable and Bundle reads diagnose `studio.source_not_configured`. Disposal rejects new work and drains admitted calls.
419
425
 
426
+ The native `studio_customize` tool's `catalog` result also includes `currentKits`,
427
+ using Core's current Kit choices from installed and saved local sources. Its
428
+ `kits`/`bundles` fields remain installed-source inspection; a local import need
429
+ not appear there. Discovery does not replace a selected project's own sources.
430
+
420
431
  Strict codecs follow the current Typert `create(): TypertSchema` factory contract.
421
432
  The existing Zod validators supply that parser capability; both Host registration
422
433
  and the same-origin page transport consume the same descriptor. Only the two