@powerhousedao/host-core 6.2.3-dev.86 → 6.2.3-dev.88
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.
- package/dist/{compound-NxCal3db.d.mts → compound-7I7qUIiG.d.mts} +220 -2
- package/dist/compound-7I7qUIiG.d.mts.map +1 -0
- package/dist/{compound-GhJAA2dK.mjs → compound-BZb3tR_c.mjs} +93 -7
- package/dist/compound-BZb3tR_c.mjs.map +1 -0
- package/dist/{env-substitution-CN_oSVVY.mjs → env-substitution-BbFg9lIW.mjs} +93 -7
- package/dist/env-substitution-BbFg9lIW.mjs.map +1 -0
- package/dist/{host-schemas-DtKFmLd0.d.mts → host-schemas-CwNCJflE.d.mts} +220 -2
- package/dist/host-schemas-CwNCJflE.d.mts.map +1 -0
- package/dist/index.d.mts +90 -75
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +91 -20
- package/dist/index.mjs.map +1 -1
- package/dist/{plugins-C1Rjl-zt.d.mts → plugins-DZPDoyBt.d.mts} +2 -2
- package/dist/{plugins-C1Rjl-zt.d.mts.map → plugins-DZPDoyBt.d.mts.map} +1 -1
- package/dist/plugins.d.mts +1 -1
- package/dist/projection.d.mts +82 -66
- package/dist/projection.d.mts.map +1 -1
- package/dist/projection.mjs +55 -20
- package/dist/projection.mjs.map +1 -1
- package/dist/runners/compound.d.mts +23 -1
- package/dist/runners/compound.d.mts.map +1 -1
- package/dist/runners/compound.mjs +1 -1
- package/dist/schema.d.mts +3 -3
- package/dist/schema.mjs +2 -2
- package/package.json +3 -3
- package/dist/compound-GhJAA2dK.mjs.map +0 -1
- package/dist/compound-NxCal3db.d.mts.map +0 -1
- package/dist/env-substitution-CN_oSVVY.mjs.map +0 -1
- package/dist/host-schemas-DtKFmLd0.d.mts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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 {
|
|
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
|
|
2
|
-
import { D as PHHostOutputs, E as PHHost, O as PluginEntry, c as PluginEntryData, v as pluginEntryObjectSchema, y as pluginEntrySchema } from "./plugins-
|
|
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
|
|
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.
|
|
3
|
+
"version": "6.2.3-dev.88",
|
|
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.
|
|
52
|
+
"@powerhousedao/shared": "6.2.3-dev.88",
|
|
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.
|
|
58
|
+
"@powerhousedao/reactor-monitor": "6.2.3-dev.88"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"tsc": "tsc",
|