@powerhousedao/host-core 6.2.3-dev.89 → 6.2.3-dev.91

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.
@@ -1,4 +1,4 @@
1
- import { $ as HostDefinition, n as RunCompoundResult, y as RunnerContext } from "../compound-7I7qUIiG.mjs";
1
+ import { $ as HostDefinition, n as RunCompoundResult, y as RunnerContext } from "../compound-eW-6nGxK.mjs";
2
2
  //#region src/runners/compound.d.ts
3
3
  /**
4
4
  * The GENERIC compound runner module (phase 3): supervises the members a
@@ -92,6 +92,7 @@ export declare const hostSchema: import("zod").ZodObject<{
92
92
  authEnforcement: import("zod").ZodOptional<import("zod").ZodBoolean>;
93
93
  authGroups: import("zod").ZodOptional<import("zod").ZodBoolean>;
94
94
  authConditions: import("zod").ZodOptional<import("zod").ZodBoolean>;
95
+ undoV3: import("zod").ZodOptional<import("zod").ZodBoolean>;
95
96
  }, import("zod/v4/core").$strict>>;
96
97
  createSignaturePolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
97
98
  legacy: "legacy";
@@ -113,6 +114,10 @@ export declare const hostSchema: import("zod").ZodObject<{
113
114
  slug: import("zod").ZodString;
114
115
  id: import("zod").ZodOptional<import("zod").ZodString>;
115
116
  projectHash: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodLiteral<"id">]>>;
117
+ documentType: import("zod").ZodOptional<import("zod").ZodEnum<{
118
+ "powerhouse/document-drive": "powerhouse/document-drive";
119
+ "powerhouse/reactor-drive": "powerhouse/reactor-drive";
120
+ }>>;
116
121
  name: import("zod").ZodOptional<import("zod").ZodString>;
117
122
  icon: import("zod").ZodOptional<import("zod").ZodString>;
118
123
  preferredEditor: import("zod").ZodOptional<import("zod").ZodString>;
@@ -219,6 +224,7 @@ export declare const declaredHostSchema: import("zod").ZodObject<{
219
224
  authEnforcement: import("zod").ZodOptional<import("zod").ZodBoolean>;
220
225
  authGroups: import("zod").ZodOptional<import("zod").ZodBoolean>;
221
226
  authConditions: import("zod").ZodOptional<import("zod").ZodBoolean>;
227
+ undoV3: import("zod").ZodOptional<import("zod").ZodBoolean>;
222
228
  }, import("zod/v4/core").$strict>>;
223
229
  createSignaturePolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
224
230
  legacy: "legacy";
@@ -240,6 +246,10 @@ export declare const declaredHostSchema: import("zod").ZodObject<{
240
246
  slug: import("zod").ZodString;
241
247
  id: import("zod").ZodOptional<import("zod").ZodString>;
242
248
  projectHash: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodLiteral<"id">]>>;
249
+ documentType: import("zod").ZodOptional<import("zod").ZodEnum<{
250
+ "powerhouse/document-drive": "powerhouse/document-drive";
251
+ "powerhouse/reactor-drive": "powerhouse/reactor-drive";
252
+ }>>;
243
253
  name: import("zod").ZodOptional<import("zod").ZodString>;
244
254
  icon: import("zod").ZodOptional<import("zod").ZodString>;
245
255
  preferredEditor: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"compound.d.mts","names":[],"sources":["../../src/runners/compound.ts"],"mappings":";;;;;;;;;;;;;;qBA0Ba;qBAEA,0BAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAA4B;qBACtC,kCAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAoC;wBAc7C,IACpB,MAAM,gBACN,KAAK,gBACJ,QAAQ;wBAIW,IACpB,MAAM,gBACN,KAAK,gBACJ,QAAQ;wBAIW,MACpB,MAAM,gBACN,KAAK,gBACJ,QAAQ;wBAIW,MACpB,MAAM,gBACN,KAAK,gBACJ,QAAQ"}
1
+ {"version":3,"file":"compound.d.mts","names":[],"sources":["../../src/runners/compound.ts"],"mappings":";;;;;;;;;;;;;;qBA2Ba;qBAEA,0BAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAA4B;qBACtC,kCAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAoC;wBAiB7C,IACpB,MAAM,gBACN,KAAK,gBACJ,QAAQ;wBAIW,IACpB,MAAM,gBACN,KAAK,gBACJ,QAAQ;wBAIW,MACpB,MAAM,gBACN,KAAK,gBACJ,QAAQ;wBAIW,MACpB,MAAM,gBACN,KAAK,gBACJ,QAAQ"}
@@ -1,4 +1,4 @@
1
- import { At as declaredGenericCompoundHostSchema, Ft as genericCompoundHostSchema, i as runCompound, t as compoundStartVerb, x as readProjectName } from "../compound-BZb3tR_c.mjs";
1
+ import { It as genericCompoundHostSchema, S as readProjectName, a as stopStreamOf, i as runCompound, jt as declaredGenericCompoundHostSchema, t as compoundStartVerb } from "../compound-Cv5yxdLC.mjs";
2
2
  //#region src/runners/compound.ts
3
3
  /**
4
4
  * The GENERIC compound runner module (phase 3): supervises the members a
@@ -19,7 +19,10 @@ async function startAt(host, ctx, memberVerb) {
19
19
  return runCompound(host, {
20
20
  ...ctx,
21
21
  verb: memberVerb
22
- }, { projectName: readProjectName(ctx.projectRoot) });
22
+ }, {
23
+ projectName: readProjectName(ctx.projectRoot),
24
+ stopStream: stopStreamOf(process.env, () => process.stdin)
25
+ });
23
26
  }
24
27
  async function run(host, ctx) {
25
28
  return startAt(host, ctx, compoundStartVerb("run", host.runner));
@@ -1 +1 @@
1
- {"version":3,"file":"compound.mjs","names":[],"sources":["../../src/runners/compound.ts"],"sourcesContent":["import {\n declaredGenericCompoundHostSchema,\n genericCompoundHostSchema,\n type HostDefinition,\n} from \"../host-schemas.js\";\nimport {\n compoundStartVerb,\n runCompound,\n type RunCompoundResult,\n} from \"../compound.js\";\nimport { readProjectName } from \"../run-record.js\";\nimport type { RunnerContext } from \"../runner-resolver.js\";\n\n/**\n * The GENERIC compound runner module (phase 3): supervises the members a\n * compound host declares via the runCompound engine. Verb semantics: `run`\n * starts members at `runner.defaultVerb ?? \"run\"`; `dev`/`build`/`serve`\n * start members at that same verb — an explicit `ph run <host> <verb>` beats\n * defaultVerb structurally. A member whose runner lacks the forwarded verb\n * fails the compound loudly with that member's verb list (never skipped).\n *\n * Vetra does NOT run through this yet (phase-1 scope decision: its drive\n * provisioning arrives as plugin contributions); the first real consumer is\n * the desktop-shaped host (switchboard `run` + connect `serve`).\n */\n\nexport const kind = \"compound\";\n\nexport const hostSchema = genericCompoundHostSchema;\nexport const declaredHostSchema = declaredGenericCompoundHostSchema;\n\nasync function startAt(\n host: HostDefinition,\n ctx: RunnerContext,\n memberVerb: string,\n): Promise<RunCompoundResult> {\n return runCompound(\n host,\n { ...ctx, verb: memberVerb },\n { projectName: readProjectName(ctx.projectRoot) },\n );\n}\n\nexport async function run(\n host: HostDefinition,\n ctx: RunnerContext,\n): Promise<RunCompoundResult> {\n return startAt(host, ctx, compoundStartVerb(\"run\", host.runner));\n}\n\nexport async function dev(\n host: HostDefinition,\n ctx: RunnerContext,\n): Promise<RunCompoundResult> {\n return startAt(host, ctx, \"dev\");\n}\n\nexport async function build(\n host: HostDefinition,\n ctx: RunnerContext,\n): Promise<RunCompoundResult> {\n return startAt(host, ctx, \"build\");\n}\n\nexport async function serve(\n host: HostDefinition,\n ctx: RunnerContext,\n): Promise<RunCompoundResult> {\n return startAt(host, ctx, \"serve\");\n}\n"],"mappings":";;;;;;;;;;;;;;AA0BA,MAAa,OAAO;AAEpB,MAAa,aAAa;AAC1B,MAAa,qBAAqB;AAElC,eAAe,QACb,MACA,KACA,YAC4B;CAC5B,OAAO,YACL,MACA;EAAE,GAAG;EAAK,MAAM;CAAW,GAC3B,EAAE,aAAa,gBAAgB,IAAI,WAAW,EAAE,CAClD;AACF;AAEA,eAAsB,IACpB,MACA,KAC4B;CAC5B,OAAO,QAAQ,MAAM,KAAK,kBAAkB,OAAO,KAAK,MAAM,CAAC;AACjE;AAEA,eAAsB,IACpB,MACA,KAC4B;CAC5B,OAAO,QAAQ,MAAM,KAAK,KAAK;AACjC;AAEA,eAAsB,MACpB,MACA,KAC4B;CAC5B,OAAO,QAAQ,MAAM,KAAK,OAAO;AACnC;AAEA,eAAsB,MACpB,MACA,KAC4B;CAC5B,OAAO,QAAQ,MAAM,KAAK,OAAO;AACnC"}
1
+ {"version":3,"file":"compound.mjs","names":[],"sources":["../../src/runners/compound.ts"],"sourcesContent":["import {\n declaredGenericCompoundHostSchema,\n genericCompoundHostSchema,\n type HostDefinition,\n} from \"../host-schemas.js\";\nimport {\n compoundStartVerb,\n runCompound,\n stopStreamOf,\n type RunCompoundResult,\n} from \"../compound.js\";\nimport { readProjectName } from \"../run-record.js\";\nimport type { RunnerContext } from \"../runner-resolver.js\";\n\n/**\n * The GENERIC compound runner module (phase 3): supervises the members a\n * compound host declares via the runCompound engine. Verb semantics: `run`\n * starts members at `runner.defaultVerb ?? \"run\"`; `dev`/`build`/`serve`\n * start members at that same verb — an explicit `ph run <host> <verb>` beats\n * defaultVerb structurally. A member whose runner lacks the forwarded verb\n * fails the compound loudly with that member's verb list (never skipped).\n *\n * Vetra does NOT run through this yet (phase-1 scope decision: its drive\n * provisioning arrives as plugin contributions); the first real consumer is\n * the desktop-shaped host (switchboard `run` + connect `serve`).\n */\n\nexport const kind = \"compound\";\n\nexport const hostSchema = genericCompoundHostSchema;\nexport const declaredHostSchema = declaredGenericCompoundHostSchema;\n\nasync function startAt(\n host: HostDefinition,\n ctx: RunnerContext,\n memberVerb: string,\n): Promise<RunCompoundResult> {\n return runCompound(\n host,\n { ...ctx, verb: memberVerb },\n {\n projectName: readProjectName(ctx.projectRoot),\n stopStream: stopStreamOf(process.env, () => process.stdin),\n },\n );\n}\n\nexport async function run(\n host: HostDefinition,\n ctx: RunnerContext,\n): Promise<RunCompoundResult> {\n return startAt(host, ctx, compoundStartVerb(\"run\", host.runner));\n}\n\nexport async function dev(\n host: HostDefinition,\n ctx: RunnerContext,\n): Promise<RunCompoundResult> {\n return startAt(host, ctx, \"dev\");\n}\n\nexport async function build(\n host: HostDefinition,\n ctx: RunnerContext,\n): Promise<RunCompoundResult> {\n return startAt(host, ctx, \"build\");\n}\n\nexport async function serve(\n host: HostDefinition,\n ctx: RunnerContext,\n): Promise<RunCompoundResult> {\n return startAt(host, ctx, \"serve\");\n}\n"],"mappings":";;;;;;;;;;;;;;AA2BA,MAAa,OAAO;AAEpB,MAAa,aAAa;AAC1B,MAAa,qBAAqB;AAElC,eAAe,QACb,MACA,KACA,YAC4B;CAC5B,OAAO,YACL,MACA;EAAE,GAAG;EAAK,MAAM;CAAW,GAC3B;EACE,aAAa,gBAAgB,IAAI,WAAW;EAC5C,YAAY,aAAa,QAAQ,WAAW,QAAQ,KAAK;CAC3D,CACF;AACF;AAEA,eAAsB,IACpB,MACA,KAC4B;CAC5B,OAAO,QAAQ,MAAM,KAAK,kBAAkB,OAAO,KAAK,MAAM,CAAC;AACjE;AAEA,eAAsB,IACpB,MACA,KAC4B;CAC5B,OAAO,QAAQ,MAAM,KAAK,KAAK;AACjC;AAEA,eAAsB,MACpB,MACA,KAC4B;CAC5B,OAAO,QAAQ,MAAM,KAAK,OAAO;AACnC;AAEA,eAAsB,MACpB,MACA,KAC4B;CAC5B,OAAO,QAAQ,MAAM,KAAK,OAAO;AACnC"}
package/dist/schema.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as MapToken, A as declaredHostSchemas, B as reactorBackendSchema, C as RunnerKind, Ct as tokenKeyOf, D as compoundWiringSchema, E as compoundHostSchema, F as hostNameSchema, G as refineStartOrder, H as reactorProtocolSchema, I as makeHostSchemas, J as ArrayMapToken, K as runnerBaseSchema, L as placementKeyIssues, M as emitHostJsonSchema, N as emittedHostSchemas, O as connectReactorIssues, P as genericCompoundHostSchema, Q as KeyToken, R as profileSchema, S as RunnerBase, St as ref, T as childrenSchema, Tt as tokenable, U as reactorSchema, V as reactorHostSchema, W as refineConnectReactor, X as EnvToken, Y as ConcatToken, Z as ItemToken, _ as ReactorHostInput, _t as isToken, a as CompoundWiring, at as TOKEN_KEYS, b as ReactorRemoteConfig, bt as mapTokenSchema, c as HOST_NAME_PATTERN, ct as TokenFor, d as PlacementKeyIssue, dt as TokenableSchema, et as OutputPath, f as Profile, ft as concatTokenSchema, g as ReactorHost, gt as forbidRef, h as ReactorConfig, ht as findToken, i as CompoundHostInput, it as TOKEN_ESCAPE_KEY, j as defineHostSchemas, k as declaredGenericCompoundHostSchema, l as HostDefinition, lt as TokenKey, m as ReactorBackendKind, mt as envTokenable, n as ChildWrapper, nt as RecordMapToken, o as HOST_NAME_MAX_LENGTH, ot as Template, p as ReactorBackend, pt as envTokenSchema, q as runnerKindSchema, r as CompoundHost, rt as RefFn, s as HOST_NAME_MESSAGE, st as Token, t as CONNECT_PRIMARY_MESSAGE, tt as OutputToken, u as HostSchemas, ut as TokenMode, v as ReactorPackageConfig, vt as itemTokenSchema, w as childWrapperSchema, wt as tokenSchema, x as ReactorStorageConfig, xt as outputTokenSchema, y as ReactorProtocol, yt as keyTokenSchema, z as reactorBackendKindSchema } from "./host-schemas-CwNCJflE.mjs";
2
- import { D as PHHostOutputs, E as PHHost, O as PluginEntry, c as PluginEntryData, v as pluginEntryObjectSchema, y as pluginEntrySchema } from "./plugins-DZPDoyBt.mjs";
1
+ import { $ as MapToken, A as declaredHostSchemas, B as reactorBackendSchema, C as RunnerKind, Ct as tokenKeyOf, D as compoundWiringSchema, E as compoundHostSchema, F as hostNameSchema, G as refineStartOrder, H as reactorProtocolSchema, I as makeHostSchemas, J as ArrayMapToken, K as runnerBaseSchema, L as placementKeyIssues, M as emitHostJsonSchema, N as emittedHostSchemas, O as connectReactorIssues, P as genericCompoundHostSchema, Q as KeyToken, R as profileSchema, S as RunnerBase, St as ref, T as childrenSchema, Tt as tokenable, U as reactorSchema, V as reactorHostSchema, W as refineConnectReactor, X as EnvToken, Y as ConcatToken, Z as ItemToken, _ as ReactorHostInput, _t as isToken, a as CompoundWiring, at as TOKEN_KEYS, b as ReactorRemoteConfig, bt as mapTokenSchema, c as HOST_NAME_PATTERN, ct as TokenFor, d as PlacementKeyIssue, dt as TokenableSchema, et as OutputPath, f as Profile, ft as concatTokenSchema, g as ReactorHost, gt as forbidRef, h as ReactorConfig, ht as findToken, i as CompoundHostInput, it as TOKEN_ESCAPE_KEY, j as defineHostSchemas, k as declaredGenericCompoundHostSchema, l as HostDefinition, lt as TokenKey, m as ReactorBackendKind, mt as envTokenable, n as ChildWrapper, nt as RecordMapToken, o as HOST_NAME_MAX_LENGTH, ot as Template, p as ReactorBackend, pt as envTokenSchema, q as runnerKindSchema, r as CompoundHost, rt as RefFn, s as HOST_NAME_MESSAGE, st as Token, t as CONNECT_PRIMARY_MESSAGE, tt as OutputToken, u as HostSchemas, ut as TokenMode, v as ReactorPackageConfig, vt as itemTokenSchema, w as childWrapperSchema, wt as tokenSchema, x as ReactorStorageConfig, xt as outputTokenSchema, y as ReactorProtocol, yt as keyTokenSchema, z as reactorBackendKindSchema } from "./host-schemas-BM7F21lf.mjs";
2
+ import { D as PHHostOutputs, E as PHHost, O as PluginEntry, c as PluginEntryData, v as pluginEntryObjectSchema, y as pluginEntrySchema } from "./plugins-Uk84BRay.mjs";
3
3
  import { n as substituteBuiltinEnv, t as BuiltinEnv } from "./env-substitution-C_fVirPh.mjs";
4
4
  import { SwitchboardDrive, driveAddressMessage, switchboardOfDrive } from "@powerhousedao/shared/host-tokens";
5
5
  import { z } from "zod";
@@ -31,6 +31,10 @@ export declare function buildDriveDeclarationSchema(urlField: (schema: z.ZodStri
31
31
  slug: z.ZodString;
32
32
  id: z.ZodOptional<z.ZodString>;
33
33
  projectHash: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"id">]>>;
34
+ documentType: z.ZodOptional<z.ZodEnum<{
35
+ "powerhouse/document-drive": "powerhouse/document-drive";
36
+ "powerhouse/reactor-drive": "powerhouse/reactor-drive";
37
+ }>>;
34
38
  name: z.ZodOptional<z.ZodString>;
35
39
  icon: z.ZodOptional<z.ZodString>;
36
40
  preferredEditor: z.ZodOptional<z.ZodString>;
@@ -48,6 +52,10 @@ export declare const driveDeclarationSchema: z.ZodObject<{
48
52
  slug: z.ZodString;
49
53
  id: z.ZodOptional<z.ZodString>;
50
54
  projectHash: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"id">]>>;
55
+ documentType: z.ZodOptional<z.ZodEnum<{
56
+ "powerhouse/document-drive": "powerhouse/document-drive";
57
+ "powerhouse/reactor-drive": "powerhouse/reactor-drive";
58
+ }>>;
51
59
  name: z.ZodOptional<z.ZodString>;
52
60
  icon: z.ZodOptional<z.ZodString>;
53
61
  preferredEditor: z.ZodOptional<z.ZodString>;
@@ -66,6 +74,10 @@ export declare const drivesSchema: z.ZodArray<z.ZodObject<{
66
74
  slug: z.ZodString;
67
75
  id: z.ZodOptional<z.ZodString>;
68
76
  projectHash: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"id">]>>;
77
+ documentType: z.ZodOptional<z.ZodEnum<{
78
+ "powerhouse/document-drive": "powerhouse/document-drive";
79
+ "powerhouse/reactor-drive": "powerhouse/reactor-drive";
80
+ }>>;
69
81
  name: z.ZodOptional<z.ZodString>;
70
82
  icon: z.ZodOptional<z.ZodString>;
71
83
  preferredEditor: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.mts","names":[],"sources":["../src/host-export-schema.ts","../src/drive-schema.ts","../src/runner-handle.ts","../src/host-issues.ts"],"mappings":";;;;;;;qBAoCa,kBAAgB,EAAA;;;;;;;;;;GAuCzB,EAAA,KAAA;KAEQ,aAAa,EAAE,aAAa;;;;;;;;;;;wBClExB,4BACd,WAAW,QAAQ,EAAE,cAAc,gBAAgB,EAAE,aAAU,EAAA;;;;;;;;;;;;;;;;GAkBhE,EAAA,KAAA;qBAEY,wBAAsB,EAAA;;;;;;;;;;;;;;;;GAAyC,EAAA,KAAA;KAEhE,mBAAmB,EAAE,aAAa;qBAEjC,cAAY,EAAA,SAAA,EAAA;;;;;;;;;;;;;;;;GAAkC,EAAA,KAAA;;;;;wBAM3C,mBACd,YAAY,0BACZ,qBACA;;;;;;;;;UCrCe,aAAa,IAAI;EAChC,SAAS;;EAET,OAAO;;EAEP,YAAY;;;;qBAKD,oBAAkB,EAAA;;GAE7B,EAAA,KAAA;KAEU,mBAAmB,EAAE,aAAa;;;UAI7B,sBAAsB;EACrC,SAAS;EACT,QAAQ;EACR;;;;wBAiBc,gBAAgB,gBAAgB,gBAAgB;;;;KC7CpD;UAEK;EACf,OAAO;;EAEP;;EAEA;EACA;EACA"}
1
+ {"version":3,"file":"schema.d.mts","names":[],"sources":["../src/host-export-schema.ts","../src/drive-schema.ts","../src/runner-handle.ts","../src/host-issues.ts"],"mappings":";;;;;;;qBAoCa,kBAAgB,EAAA;;;;;;;;;;GAuCzB,EAAA,KAAA;KAEQ,aAAa,EAAE,aAAa;;;;;;;;;;;wBClExB,4BACd,WAAW,QAAQ,EAAE,cAAc,gBAAgB,EAAE,aAAU,EAAA;;;;;;;;;;;;;;;;;;;;GAsBhE,EAAA,KAAA;qBAEY,wBAAsB,EAAA;;;;;;;;;;;;;;;;;;;;GAAyC,EAAA,KAAA;KAEhE,mBAAmB,EAAE,aAAa;qBAEjC,cAAY,EAAA,SAAA,EAAA;;;;;;;;;;;;;;;;;;;;GAAkC,EAAA,KAAA;;;;;wBAM3C,mBACd,YAAY,0BACZ,qBACA;;;;;;;;;UCzCe,aAAa,IAAI;EAChC,SAAS;;EAET,OAAO;;EAEP,YAAY;;;;qBAKD,oBAAkB,EAAA;;GAE7B,EAAA,KAAA;KAEU,mBAAmB,EAAE,aAAa;;;UAI7B,sBAAsB;EACrC,SAAS;EACT,QAAQ;EACR;;;;wBAiBc,gBAAgB,gBAAgB,gBAAgB;;;;KC7CpD;UAEK;EACf,OAAO;;EAEP;;EAEA;EACA;EACA"}
package/dist/schema.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as runnerKindSchema, B as findToken, C as reactorBackendSchema, D as refineConnectReactor, E as reactorSchema, F as TOKEN_ESCAPE_KEY, G as mapTokenSchema, H as isToken, I as TOKEN_KEYS, J as tokenKeyOf, K as outputTokenSchema, L as concatTokenSchema, M as driveDeclarationSchema, N as drivesSchema, O as refineStartOrder, P as projectDriveIdWith, R as envTokenSchema, S as reactorBackendKindSchema, T as reactorProtocolSchema, U as itemTokenSchema, V as forbidRef, W as keyTokenSchema, X as tokenable, Y as tokenSchema, _ as genericCompoundHostSchema, a as HOST_NAME_MESSAGE, b as placementKeyIssues, c as childrenSchema, d as connectReactorIssues, f as declaredGenericCompoundHostSchema, g as emittedHostSchemas, h as emitHostJsonSchema, i as HOST_NAME_MAX_LENGTH, j as buildDriveDeclarationSchema, k as runnerBaseSchema, l as compoundHostSchema, m as defineHostSchemas, n as substituteBuiltinEnv, o as HOST_NAME_PATTERN, p as declaredHostSchemas, q as ref, r as CONNECT_PRIMARY_MESSAGE, s as childWrapperSchema, u as compoundWiringSchema, v as hostNameSchema, w as reactorHostSchema, x as profileSchema, y as makeHostSchemas, z as envTokenable } from "./env-substitution-BbFg9lIW.mjs";
1
+ import { A as runnerKindSchema, B as findToken, C as reactorBackendSchema, D as refineConnectReactor, E as reactorSchema, F as TOKEN_ESCAPE_KEY, G as mapTokenSchema, H as isToken, I as TOKEN_KEYS, J as tokenKeyOf, K as outputTokenSchema, L as concatTokenSchema, M as driveDeclarationSchema, N as drivesSchema, O as refineStartOrder, P as projectDriveIdWith, R as envTokenSchema, S as reactorBackendKindSchema, T as reactorProtocolSchema, U as itemTokenSchema, V as forbidRef, W as keyTokenSchema, X as tokenable, Y as tokenSchema, _ as genericCompoundHostSchema, a as HOST_NAME_MESSAGE, b as placementKeyIssues, c as childrenSchema, d as connectReactorIssues, f as declaredGenericCompoundHostSchema, g as emittedHostSchemas, h as emitHostJsonSchema, i as HOST_NAME_MAX_LENGTH, j as buildDriveDeclarationSchema, k as runnerBaseSchema, l as compoundHostSchema, m as defineHostSchemas, n as substituteBuiltinEnv, o as HOST_NAME_PATTERN, p as declaredHostSchemas, q as ref, r as CONNECT_PRIMARY_MESSAGE, s as childWrapperSchema, u as compoundWiringSchema, v as hostNameSchema, w as reactorHostSchema, x as profileSchema, y as makeHostSchemas, z as envTokenable } from "./env-substitution-BXGohOGN.mjs";
2
2
  import { pluginEntryObjectSchema, pluginEntrySchema } from "./plugins.mjs";
3
3
  import { driveAddressMessage, switchboardOfDrive } from "@powerhousedao/shared/host-tokens";
4
4
  import { z } from "zod";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/host-core",
3
- "version": "6.2.3-dev.89",
3
+ "version": "6.2.3-dev.91",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -49,13 +49,13 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@powerhousedao/shared": "6.2.3-dev.89",
52
+ "@powerhousedao/shared": "6.2.3-dev.91",
53
53
  "zod": "^4.5.4"
54
54
  },
55
55
  "devDependencies": {
56
56
  "tsdown": "0.23.0",
57
57
  "vitest": "5.0.3",
58
- "@powerhousedao/reactor-monitor": "6.2.3-dev.89"
58
+ "@powerhousedao/reactor-monitor": "6.2.3-dev.91"
59
59
  },
60
60
  "scripts": {
61
61
  "tsc": "tsc",
@@ -1 +0,0 @@
1
- {"version":3,"file":"compound-7I7qUIiG.d.mts","names":[],"sources":["../src/host-schemas.ts","../src/resolve/declared.ts","../src/runner-resolver.ts","../src/child-wrapper.ts","../src/runner-handle.ts","../src/compound.ts"],"mappings":";;;;;;;;;;;;;;;;cA2Ba,mBAAiB;cACjB;cACA;cAEA,gBAAc,EAAA;;;;;;cAWd,mBAAiB,EAAA,mBAAA,EAAA,QAAA,EAAA;cAOjB,eAAa,EAAA;;;;;GAKxB,EAAA,KAAA;cAEW,uBAAqB,EAAA;;;;;;;;;;;;;;;GAWhC,EAAA,KAAA;cAEW,kBAAgB,EAAA;;;;KACjB,aAAa,EAAE,aAAa;cAE3B,0BAAwB,EAAA;;;;;;;;cAiBxB,sBAAoB,EAAA;;;;GAY/B,EAAA,KAAA;;;;iBAKc,iBACd;EAAQ,UAAU;EAAyB,SAAS;GACpD,KAAK,EAAE;;;UAyBC;EACR,MAAM,UAAU,EAAE,SAAS,QAAQ,MAAM,gBAAgB;EACzD,MAAM,UAAU,EAAE,SAAS,QAAQ,MAAM,gBAAgB,GAAG;;;;;;iBAqQrD,iBAAiB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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