@powerhousedao/host-core 6.2.3-dev.85 → 6.2.3-dev.87

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 { Q as HostDefinition, n as RunCompoundResult, y as RunnerContext } from "../compound-NxCal3db.mjs";
1
+ import { $ as HostDefinition, n as RunCompoundResult, y as RunnerContext } from "../compound-7I7qUIiG.mjs";
2
2
  //#region src/runners/compound.d.ts
3
3
  /**
4
4
  * The GENERIC compound runner module (phase 3): supervises the members a
@@ -69,11 +69,22 @@ export declare const hostSchema: import("zod").ZodObject<{
69
69
  }, import("zod/v4/core").$strict>>;
70
70
  remote: import("zod").ZodOptional<import("zod").ZodObject<{
71
71
  url: import("@powerhousedao/shared/host-tokens").TokenableSchema<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodString]>>;
72
+ requestTimeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
73
+ breaker: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<false>, import("zod").ZodObject<{
74
+ failures: import("zod").ZodOptional<import("zod").ZodNumber>;
75
+ openMs: import("zod").ZodOptional<import("zod").ZodNumber>;
76
+ }, import("zod/v4/core").$strict>]>>;
77
+ realtime: import("zod").ZodOptional<import("zod").ZodBoolean>;
72
78
  }, import("zod/v4/core").$strict>>;
73
79
  }, import("zod/v4/core").$strict>>>;
74
80
  placement: import("zod").ZodOptional<import("zod").ZodObject<{
75
81
  primary: import("zod").ZodOptional<import("zod").ZodString>;
76
82
  drives: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
83
+ newDrives: import("zod").ZodOptional<import("zod").ZodString>;
84
+ }, import("zod/v4/core").$strict>>;
85
+ router: import("zod").ZodOptional<import("zod").ZodObject<{
86
+ probeTimeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
87
+ provisionalRouteMs: import("zod").ZodOptional<import("zod").ZodNumber>;
77
88
  }, import("zod/v4/core").$strict>>;
78
89
  protocol: import("zod").ZodOptional<import("zod").ZodObject<{
79
90
  featureFlags: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -185,11 +196,22 @@ export declare const declaredHostSchema: import("zod").ZodObject<{
185
196
  }, import("zod/v4/core").$strict>>;
186
197
  remote: import("zod").ZodOptional<import("zod").ZodObject<{
187
198
  url: import("@powerhousedao/shared/host-tokens").TokenableSchema<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodString]>>;
199
+ requestTimeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
200
+ breaker: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<false>, import("zod").ZodObject<{
201
+ failures: import("zod").ZodOptional<import("zod").ZodNumber>;
202
+ openMs: import("zod").ZodOptional<import("zod").ZodNumber>;
203
+ }, import("zod/v4/core").$strict>]>>;
204
+ realtime: import("zod").ZodOptional<import("zod").ZodBoolean>;
188
205
  }, import("zod/v4/core").$strict>>;
189
206
  }, import("zod/v4/core").$strict>>>;
190
207
  placement: import("zod").ZodOptional<import("zod").ZodObject<{
191
208
  primary: import("zod").ZodOptional<import("zod").ZodString>;
192
209
  drives: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
210
+ newDrives: import("zod").ZodOptional<import("zod").ZodString>;
211
+ }, import("zod/v4/core").$strict>>;
212
+ router: import("zod").ZodOptional<import("zod").ZodObject<{
213
+ probeTimeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
214
+ provisionalRouteMs: import("zod").ZodOptional<import("zod").ZodNumber>;
193
215
  }, import("zod/v4/core").$strict>>;
194
216
  protocol: import("zod").ZodOptional<import("zod").ZodObject<{
195
217
  featureFlags: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -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":";;;;;;;;;;;;;;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,4 +1,4 @@
1
- import { Nt as genericCompoundHostSchema, Ot as declaredGenericCompoundHostSchema, i as runCompound, t as compoundStartVerb, x as readProjectName } from "../compound-GhJAA2dK.mjs";
1
+ import { At as declaredGenericCompoundHostSchema, Ft as genericCompoundHostSchema, i as runCompound, t as compoundStartVerb, x as readProjectName } from "../compound-BZb3tR_c.mjs";
2
2
  //#region src/runners/compound.ts
3
3
  /**
4
4
  * The GENERIC compound runner module (phase 3): supervises the members a
package/dist/schema.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as RecordMapToken, A as emitHostJsonSchema, B as reactorProtocolSchema, C as childWrapperSchema, D as declaredGenericCompoundHostSchema, E as compoundWiringSchema, F as placementKeyIssues, G as ArrayMapToken, H as refineStartOrder, I as profileSchema, J as ItemToken, K as ConcatToken, L as reactorBackendKindSchema, M as genericCompoundHostSchema, N as hostNameSchema, O as declaredHostSchemas, P as makeHostSchemas, Q as OutputToken, R as reactorBackendSchema, S as RunnerKind, St as tokenable, T as compoundHostSchema, U as runnerBaseSchema, V as reactorSchema, W as runnerKindSchema, X as MapToken, Y as KeyToken, Z as OutputPath, _ as ReactorPackageConfig, _t as mapTokenSchema, a as HOST_NAME_MAX_LENGTH, at as TokenFor, b as ReactorStorageConfig, bt as tokenKeyOf, c as HostDefinition, ct as TokenableSchema, d as Profile, dt as envTokenable, et as RefFn, f as ReactorBackend, ft as findToken, g as ReactorHostInput, gt as keyTokenSchema, h as ReactorHost, ht as itemTokenSchema, i as CompoundWiring, it as Token, j as emittedHostSchemas, k as defineHostSchemas, l as HostSchemas, lt as concatTokenSchema, m as ReactorConfig, mt as isToken, n as CompoundHost, nt as TOKEN_KEYS, o as HOST_NAME_MESSAGE, ot as TokenKey, p as ReactorBackendKind, pt as forbidRef, q as EnvToken, r as CompoundHostInput, rt as Template, s as HOST_NAME_PATTERN, st as TokenMode, t as ChildWrapper, tt as TOKEN_ESCAPE_KEY, u as PlacementKeyIssue, ut as envTokenSchema, v as ReactorProtocol, vt as outputTokenSchema, w as childrenSchema, x as RunnerBase, xt as tokenSchema, y as ReactorRemoteConfig, yt as ref, z as reactorHostSchema } from "./host-schemas-DtKFmLd0.mjs";
2
- import { D as PHHostOutputs, E as PHHost, O as PluginEntry, c as PluginEntryData, v as pluginEntryObjectSchema, y as pluginEntrySchema } from "./plugins-C1Rjl-zt.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-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";
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";
@@ -129,6 +129,6 @@ interface HostIssue {
129
129
  hint?: string;
130
130
  }
131
131
  //#endregion
132
- export { type ArrayMapToken, type BuiltinEnv, type CheckStage, type ChildWrapper, type CompoundHost, type CompoundHostInput, type CompoundWiring, type ConcatToken, type DriveDeclaration, type EnvToken, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, type HostDefinition, type HostExport, type HostIssue, type HostSchemas, type ItemToken, type KeyToken, type MapToken, type OutputPath, type OutputToken, type PHHost, type PHHostOutputs, type PlacementKeyIssue, type PluginEntry, type PluginEntryData, type Profile, type ReactorBackend, type ReactorBackendKind, type ReactorConfig, type ReactorHost, type ReactorHostInput, type ReactorPackageConfig, type ReactorProtocol, type ReactorRemoteConfig, type ReactorStorageConfig, type RecordMapToken, type RefFn, type RunnerBase, type RunnerHandle, type RunnerHandleData, type RunnerKind, type StartedHandle, type SwitchboardDrive, TOKEN_ESCAPE_KEY, TOKEN_KEYS, type Template, type Token, type TokenFor, type TokenKey, type TokenMode, type TokenableSchema, childWrapperSchema, childrenSchema, compoundHostSchema, compoundWiringSchema, concatTokenSchema, declaredGenericCompoundHostSchema, declaredHostSchemas, defineHostSchemas, driveAddressMessage, emitHostJsonSchema, emittedHostSchemas, envTokenSchema, envTokenable, findToken, forbidRef, genericCompoundHostSchema, hostNameSchema, isToken, itemTokenSchema, keyTokenSchema, makeHostSchemas, mapTokenSchema, outputTokenSchema, placementKeyIssues, pluginEntryObjectSchema, pluginEntrySchema, profileSchema, reactorBackendKindSchema, reactorBackendSchema, reactorHostSchema, reactorProtocolSchema, reactorSchema, ref, refineStartOrder, runnerBaseSchema, runnerKindSchema, substituteBuiltinEnv, switchboardOfDrive, tokenKeyOf, tokenSchema, tokenable };
132
+ export { type ArrayMapToken, type BuiltinEnv, CONNECT_PRIMARY_MESSAGE, type CheckStage, type ChildWrapper, type CompoundHost, type CompoundHostInput, type CompoundWiring, type ConcatToken, type DriveDeclaration, type EnvToken, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, type HostDefinition, type HostExport, type HostIssue, type HostSchemas, type ItemToken, type KeyToken, type MapToken, type OutputPath, type OutputToken, type PHHost, type PHHostOutputs, type PlacementKeyIssue, type PluginEntry, type PluginEntryData, type Profile, type ReactorBackend, type ReactorBackendKind, type ReactorConfig, type ReactorHost, type ReactorHostInput, type ReactorPackageConfig, type ReactorProtocol, type ReactorRemoteConfig, type ReactorStorageConfig, type RecordMapToken, type RefFn, type RunnerBase, type RunnerHandle, type RunnerHandleData, type RunnerKind, type StartedHandle, type SwitchboardDrive, TOKEN_ESCAPE_KEY, TOKEN_KEYS, type Template, type Token, type TokenFor, type TokenKey, type TokenMode, type TokenableSchema, childWrapperSchema, childrenSchema, compoundHostSchema, compoundWiringSchema, concatTokenSchema, connectReactorIssues, declaredGenericCompoundHostSchema, declaredHostSchemas, defineHostSchemas, driveAddressMessage, emitHostJsonSchema, emittedHostSchemas, envTokenSchema, envTokenable, findToken, forbidRef, genericCompoundHostSchema, hostNameSchema, isToken, itemTokenSchema, keyTokenSchema, makeHostSchemas, mapTokenSchema, outputTokenSchema, placementKeyIssues, pluginEntryObjectSchema, pluginEntrySchema, profileSchema, reactorBackendKindSchema, reactorBackendSchema, reactorHostSchema, reactorProtocolSchema, reactorSchema, ref, refineConnectReactor, refineStartOrder, runnerBaseSchema, runnerKindSchema, substituteBuiltinEnv, switchboardOfDrive, tokenKeyOf, tokenSchema, tokenable };
133
133
  export {};
134
134
  //# sourceMappingURL=schema.d.mts.map
package/dist/schema.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as drivesSchema, B as itemTokenSchema, C as reactorProtocolSchema, D as runnerKindSchema, E as runnerBaseSchema, F as envTokenSchema, G as tokenKeyOf, H as mapTokenSchema, I as envTokenable, K as tokenSchema, L as findToken, M as TOKEN_ESCAPE_KEY, N as TOKEN_KEYS, O as buildDriveDeclarationSchema, P as concatTokenSchema, R as forbidRef, S as reactorHostSchema, T as refineStartOrder, U as outputTokenSchema, V as keyTokenSchema, W as ref, _ as makeHostSchemas, a as HOST_NAME_PATTERN, b as reactorBackendKindSchema, c as compoundHostSchema, d as declaredHostSchemas, f as defineHostSchemas, g as hostNameSchema, h as genericCompoundHostSchema, i as HOST_NAME_MESSAGE, j as projectDriveIdWith, k as driveDeclarationSchema, l as compoundWiringSchema, m as emittedHostSchemas, n as substituteBuiltinEnv, o as childWrapperSchema, p as emitHostJsonSchema, q as tokenable, r as HOST_NAME_MAX_LENGTH, s as childrenSchema, u as declaredGenericCompoundHostSchema, v as placementKeyIssues, w as reactorSchema, x as reactorBackendSchema, y as profileSchema, z as isToken } from "./env-substitution-CN_oSVVY.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-BbFg9lIW.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";
@@ -93,6 +93,6 @@ function toStartedHandle(value, where) {
93
93
  };
94
94
  }
95
95
  //#endregion
96
- export { HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, TOKEN_ESCAPE_KEY, TOKEN_KEYS, buildDriveDeclarationSchema, childWrapperSchema, childrenSchema, compoundHostSchema, compoundWiringSchema, concatTokenSchema, declaredGenericCompoundHostSchema, declaredHostSchemas, defineHostSchemas, driveAddressMessage, driveDeclarationSchema, drivesSchema, emitHostJsonSchema, emittedHostSchemas, envTokenSchema, envTokenable, findToken, forbidRef, genericCompoundHostSchema, hostExportSchema, hostNameSchema, isToken, itemTokenSchema, keyTokenSchema, makeHostSchemas, mapTokenSchema, outputTokenSchema, placementKeyIssues, pluginEntryObjectSchema, pluginEntrySchema, profileSchema, projectDriveIdWith, reactorBackendKindSchema, reactorBackendSchema, reactorHostSchema, reactorProtocolSchema, reactorSchema, ref, refineStartOrder, runnerBaseSchema, runnerHandleSchema, runnerKindSchema, substituteBuiltinEnv, switchboardOfDrive, toStartedHandle, tokenKeyOf, tokenSchema, tokenable };
96
+ export { CONNECT_PRIMARY_MESSAGE, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, TOKEN_ESCAPE_KEY, TOKEN_KEYS, buildDriveDeclarationSchema, childWrapperSchema, childrenSchema, compoundHostSchema, compoundWiringSchema, concatTokenSchema, connectReactorIssues, declaredGenericCompoundHostSchema, declaredHostSchemas, defineHostSchemas, driveAddressMessage, driveDeclarationSchema, drivesSchema, emitHostJsonSchema, emittedHostSchemas, envTokenSchema, envTokenable, findToken, forbidRef, genericCompoundHostSchema, hostExportSchema, hostNameSchema, isToken, itemTokenSchema, keyTokenSchema, makeHostSchemas, mapTokenSchema, outputTokenSchema, placementKeyIssues, pluginEntryObjectSchema, pluginEntrySchema, profileSchema, projectDriveIdWith, reactorBackendKindSchema, reactorBackendSchema, reactorHostSchema, reactorProtocolSchema, reactorSchema, ref, refineConnectReactor, refineStartOrder, runnerBaseSchema, runnerHandleSchema, runnerKindSchema, substituteBuiltinEnv, switchboardOfDrive, toStartedHandle, tokenKeyOf, tokenSchema, tokenable };
97
97
 
98
98
  //# sourceMappingURL=schema.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/host-core",
3
- "version": "6.2.3-dev.85",
3
+ "version": "6.2.3-dev.87",
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.85",
52
+ "@powerhousedao/shared": "6.2.3-dev.87",
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.85"
58
+ "@powerhousedao/reactor-monitor": "6.2.3-dev.87"
59
59
  },
60
60
  "scripts": {
61
61
  "tsc": "tsc",