@melite/harness-provisioner 0.0.0-stage → 0.1.5-pre-alpha

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.
@@ -0,0 +1,139 @@
1
+ # @melite/harness-provisioner — the vanilla-DSH mount surface for the
2
+ # inference.cpp media stack.
3
+ #
4
+ # Installing this bundle into ANY profile (dsh plugin --profile <name>
5
+ # add <repo>/packages/harness/dsh/provisioner) mounts:
6
+ #
7
+ # infer-tools the tool registry, TWO interfaces (profile
8
+ # config / MELITE_HEADLESS selects): BASE = discovery
9
+ # (melite_discover, melite_load), the bench
10
+ # (melite_construct), management (comfy_manage),
11
+ # craft (skill_index, skill_read), audit
12
+ # (ledger_tail); HEADLESS adds the run doors
13
+ # melite_flow / run_status (queue-native).
14
+ # enhance_prompt is AD HOC (MELITE_ADHOC), never base.
15
+ # infer-card-view-* editable action cards rendered in the
16
+ # conversation (host row serves the editor bundle
17
+ # + hydrates drafts; client row renders tiles).
18
+ # infer-card-deck the sidebar card deck (lanes, drafts, past cards).
19
+ # infer-media DELETED (R3, the estate collapse) — DSH's own
20
+ # file/attachment/resource faces are the media
21
+ # system (the row below is the tombstone comment).
22
+ # infer-gallery-host the runs gallery (in-tree seats, or the pinned
23
+ # owning DSH cross-host).
24
+ #
25
+ # All rows resolve BY PACKAGE NAME through this bundle's own link:
26
+ # dependencies. THE RENDER PATH BAKES ABSOLUTE PATHS (the bin's
27
+ # renderProfile resolves every link: against the checkout at render
28
+
29
+ # renamed checkout needs a re-provision, and a stale profile
30
+ # carries dead links pnpm warns about. Rows THIS patch serves to an
31
+ # installed profile (via the bundle's own dependency table) stay
32
+ # name-resolved.
33
+ #
34
+
35
+ # is the ONLY app — there is no second process, no :33081, no
36
+ # MELITE_GATEWAY override. The tools answer in-process over the
37
+ # estate row's ctx seats; cross-host reads pin the ONE DSH that
38
+ # owns the estate state. The runs/drafts/bench faces ride Typert
39
+ # remotes where the estate bundle is mounted.
40
+ #
41
+ # PROFILE-SHAPE PIN (progressive disclosure — dev_docs/deployment/
42
+ # dsh-profiles.md): the HOST `skill-filesystem` row is pinned OFF for
43
+ # every profile this bundle mounts. That row auto-discovers workspace
44
+ # skills and ships their descriptions into the agent context unbidden —
45
+ # the pre-loaded-surface bug the disclosure ladder retires. Discovery
46
+ # here is the estate's own surface (melite_discover →
47
+ # melite_load → skill_read), never a pre-loaded catalog. The pin
48
+ # silences the HOST layer only: a preset that genuinely wants local
49
+ # skill discovery still mounts its OWN preset-layer row. Without this
50
+ # pin the headless profile auto-injects (only dsh-web-app disables the
51
+ # host row, and headless does not bundle it). The row below is an
52
+ # OVERRIDE (column-0 `- id:`, no `insert:`): it patches the dsh-base
53
+ # row and mounts nothing.
54
+
55
+ - id: skill-filesystem
56
+ disabled: true
57
+
58
+ # infer-estate: NO row here (channel law: every web plugin owns its
59
+ # existence row in ITS OWN package — the dsh-estate cordis.patch.yml
60
+ # inserts melite-estate, the runs plane as host services: card
61
+ # registry, runs registry, and the Typert adapters). A twin row here
62
+ # double-mounted the package and its registrations ("melite_discover
63
+ # already registered") killing every fresh boot.
64
+
65
+ - insert:
66
+ # infer-tools / infer-tools-doors: NO rows here (channel law,
67
+
68
+ # package — the melite-tools cordis.patch.yml inserts
69
+ # melite-tools + melite-tools-doors). Twin rows under different
70
+ # ids double-mounted the package and its tool registrations
71
+ # ("melite_discover already registered") killing every FRESH
72
+
73
+ # Profiles needing the tools WITHOUT bundling the package
74
+ # activate it with `dsh plugin --profile <name> add
75
+ # <path-to-melite-tools>`.
76
+
77
+
78
+ # web plugin owns its existence row in ITS OWN package — the
79
+ # dsh-card-view cordis.patch.yml inserts it; a row in BOTH files
80
+ # duplicated the loader entry id and killed every FRESH boot of
81
+
82
+
83
+
84
+ # each card package ships its OWN cards.stage.view registration —
85
+ # a new card never touches the bench host (the DSH plugin
86
+ # contract). The rows mount the packages' root faces (the browser
87
+ # graph's dsh.client scan needs bare-root entries); their tool
88
+ # registrations stay gated on the registrar-threaded EstateCall
89
+ # seam, so a row-mount registers nothing node-side. The studios
90
+ # ride the packages' dsh.client declarations (src/client ->
91
+ # lib/client.js).
92
+ #
93
+ # card-studio-anny: NO row here, and nothing to mount either —
94
+ # @melite/3d-anny's studio is RETIRED (stroke 89): the package
95
+ # ships no client face and no cordis.patch.yml, and its bundle
96
+ # left the web bases (bin/infer-provision.mjs, the stroke-89
97
+ # note). A row here would mount a package that composes
98
+ # nothing. Should a self-registering anny studio ever return, it
99
+ # comes back as a mounted bundle in the bases, never as a twin
100
+
101
+ # for studios not bundled by the profile (their self-patch never
102
+ # applies there).
103
+
104
+ # card-studio-h3-timeline: NO row here — @melite/video-h3-timeline
105
+ # self-registers (its own cordis.patch.yml); a twin row here
106
+ # double-mounted the package in every profile bundling both
107
+
108
+
109
+ # card-studio-ideogram4 RETIRED with its card (the form-seams
110
+
111
+ # the row at the next provision)
112
+
113
+ - id: card-studio-img-to-mesh
114
+ name: '@melite/3d-img-to-mesh'
115
+
116
+ # mask-studio RETIRED at parity (stroke 75, CONTRACT D): the
117
+ # loader entry and the row are gone — mask owns the mask
118
+ # surface; the package survives as the paint leaf-face carrier
119
+ # (ui/), unmounted.
120
+
121
+ # card-studio-motion: NO row here — @melite/motion-motion
122
+ # self-registers (its own cordis.patch.yml); a twin row here
123
+ # double-mounted the package in every profile bundling both
124
+
125
+
126
+
127
+
128
+ # dsh-card-deck package self-registers (ray-card-deck, its own
129
+ # cordis.patch.yml); twin rows double-mounted the package in
130
+
131
+
132
+ # THE ESTATE COLLAPSE (R3): @infer-media/dsh-media DELETED - DSH's
133
+ # own file/attachment/resource faces are the media system; the
134
+ # estate's runs/drafts ride Typert remotes (gateway-wire).
135
+
136
+
137
+ # dsh-gallery package self-registers (infer-gallery, its own
138
+ # cordis.patch.yml); twin rows double-mounted the package in
139
+
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export declare const PROVISIONER_NAME = "@melite/harness-provisioner";
2
+ //# sourceMappingURL=index.d.ts.map
package/lib/index.js ADDED
@@ -0,0 +1,10 @@
1
+ // index.ts — @melite/harness-provisioner's import-safe library door.
2
+ //
3
+ // The package's imperative surface is the bin (bin/infer-provision.mjs:
4
+ // renders ready-to-boot profiles into a DSH_HOME) and its Cordis rows
5
+ // (cordis.patch.yml, mounted by the host runtime). Neither is
6
+ // import-safe — the bin executes its argv switch at load — so the "."
7
+ // exports row lands here instead: the package identity, no imports, no
8
+ // side effects, importable under plain Node from a bare extract.
9
+ export const PROVISIONER_NAME = '@melite/harness-provisioner';
10
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,57 @@
1
1
  {
2
2
  "name": "@melite/harness-provisioner",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.5-pre-alpha",
4
+ "license": "SSPL-1.0",
5
+ "description": "Vanilla-DSH provisioner for the inference.cpp media stack: one bundle mounts the estate row (in-process seats, no second process), the tool surface, the card view/deck, media previews, and the runs gallery — and the infer-provision bin renders ready-to-boot profiles (inference / headless / estate / melite-test) into any DSH_HOME.",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./lib/index.d.ts",
10
+ "default": "./lib/index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ },
14
+ "files": [
15
+ "lib/index.js",
16
+ "lib/**/*.js",
17
+ "lib/**/*.d.ts",
18
+ "bin/infer-provision.mjs",
19
+ "cordis.patch.yml"
20
+ ],
21
+ "bin": {
22
+ "infer-provision": "./bin/infer-provision.mjs"
23
+ },
24
+ "devDependencies": {
25
+ "@types/node": "^22.20.0",
26
+ "typescript": "^5.9.3"
27
+ },
28
+ "dependencies": {
29
+ "@deepseek-ai/dsh-llm-pi-ai": "0.2.0-rc.2",
30
+ "@melite-plugin/dsh-card-deck": "0.1.5-pre-alpha",
31
+ "@melite-plugin/dsh-card-view": "0.1.5-pre-alpha",
32
+ "@melite-plugin/dsh-estate": "0.1.5-pre-alpha",
33
+ "@melite-plugin/dsh-gallery": "0.1.5-pre-alpha",
34
+ "@melite/harness-tools": "0.1.5-pre-alpha",
35
+ "@melite/motion-motion": "0.1.5-pre-alpha",
36
+ "@melite/3d-img-to-mesh": "0.1.5-pre-alpha",
37
+ "@melite/video-h3-timeline": "0.1.5-pre-alpha"
38
+ },
39
+ "dsh": {
40
+ "bundle": {
41
+ "patch": "./cordis.patch.yml"
42
+ }
43
+ },
44
+ "engines": {
45
+ "dsh": ">=0.1.1-rc.1"
46
+ },
47
+ "peerDependencies": {
48
+ "@deepseek-ai/dsh": ">=0.2.0-rc.1 <0.3.0"
49
+ },
50
+ "scripts": {
51
+ "build": "tsc -p tsconfig.build.json",
52
+ "typecheck": "tsc --noEmit"
53
+ },
54
+ "publishConfig": {
55
+ "access": "public"
56
+ }
57
+ }