@powerhousedao/host-core 6.2.3-dev.72 → 6.2.3-dev.74
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-PhoVeqe1.d.mts → compound-DlaK_sWa.d.mts} +46 -2
- package/dist/{compound-PhoVeqe1.d.mts.map → compound-DlaK_sWa.d.mts.map} +1 -1
- package/dist/{compound-B6RZMA0Y.mjs → compound-Gjt5rBfF.mjs} +134 -52
- package/dist/compound-Gjt5rBfF.mjs.map +1 -0
- package/dist/{env-substitution-Dj3pdsut.mjs → env-substitution-BjpuE5fm.mjs} +8 -3
- package/dist/{env-substitution-Dj3pdsut.mjs.map → env-substitution-BjpuE5fm.mjs.map} +1 -1
- package/dist/env-substitution-C_fVirPh.d.mts.map +1 -1
- package/dist/index.d.mts +227 -123
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +469 -11
- package/dist/index.mjs.map +1 -1
- package/dist/projection.d.mts +19 -6
- package/dist/projection.d.mts.map +1 -1
- package/dist/projection.mjs +47 -17
- package/dist/projection.mjs.map +1 -1
- package/dist/runners/compound.d.mts +1 -1
- package/dist/runners/compound.d.mts.map +1 -1
- package/dist/runners/compound.mjs +2 -2
- package/dist/runners/compound.mjs.map +1 -1
- package/dist/schema.d.mts +14 -1
- package/dist/schema.d.mts.map +1 -1
- package/dist/schema.mjs +1 -1
- package/package.json +3 -3
- package/dist/compound-B6RZMA0Y.mjs.map +0 -1
|
@@ -2276,8 +2276,25 @@ interface RunnerModule<O = unknown> {
|
|
|
2276
2276
|
/** The verb names, when the module exports functions that are not verbs
|
|
2277
2277
|
* (helpers). Absent: every exported function is a verb. */
|
|
2278
2278
|
verbs?: readonly string[];
|
|
2279
|
+
/** What the verb would refuse at boot, given the parsed host and an
|
|
2280
|
+
* environment (`ph host check`). Starts nothing. */
|
|
2281
|
+
checkBoot?: (host: O, ctx: BootCheckContext) => readonly BootIssue[] | Promise<readonly BootIssue[]>;
|
|
2279
2282
|
[key: string]: unknown;
|
|
2280
2283
|
}
|
|
2284
|
+
interface BootCheckContext {
|
|
2285
|
+
projectRoot: string;
|
|
2286
|
+
/** The verb the host would run at (a compound member's own verb). */
|
|
2287
|
+
verb: string;
|
|
2288
|
+
/** The environment the verb would see; never `process.env` implicitly. */
|
|
2289
|
+
env: Readonly<Record<string, string | undefined>>;
|
|
2290
|
+
/** The host file, for messages (`hosts/switchboard/host.js`). */
|
|
2291
|
+
file: string;
|
|
2292
|
+
}
|
|
2293
|
+
interface BootIssue {
|
|
2294
|
+
path?: string;
|
|
2295
|
+
message: string;
|
|
2296
|
+
hint?: string;
|
|
2297
|
+
}
|
|
2281
2298
|
declare function resolveRunnerModule(projectRoot: string, specifier: string): Promise<RunnerModule>;
|
|
2282
2299
|
/** Verbs that produce something and start nothing (`build`): no outputs, no
|
|
2283
2300
|
* record, no lock — and no token resolution, since what they read (output
|
|
@@ -2286,6 +2303,18 @@ declare function resolveRunnerModule(projectRoot: string, specifier: string): Pr
|
|
|
2286
2303
|
declare const ONE_SHOT_VERBS: ReadonlySet<string>;
|
|
2287
2304
|
declare function listVerbs<O>(runner: RunnerModule<O>): string[];
|
|
2288
2305
|
declare function getVerb<O>(runner: RunnerModule<O>, specifier: string, verb: string): RunnerVerb<O>;
|
|
2306
|
+
/** A contract violation found while validating a host, without the file
|
|
2307
|
+
* prefix the throwing validators add. */
|
|
2308
|
+
interface RunnerIssue {
|
|
2309
|
+
path: string;
|
|
2310
|
+
message: string;
|
|
2311
|
+
hint?: string;
|
|
2312
|
+
}
|
|
2313
|
+
/** reactor XOR children, decided by the runner's declared `kind`. */
|
|
2314
|
+
declare function kindShapeIssues(kind: RunnerKind, specifier: string, host: Record<string, unknown>): RunnerIssue[];
|
|
2315
|
+
/** `runner.defaultVerb` and every plugin entry's `verbs` must name verbs
|
|
2316
|
+
* this runner exports. */
|
|
2317
|
+
declare function knownVerbIssues<O>(runner: RunnerModule<O>, specifier: string, host: Record<string, unknown>): RunnerIssue[];
|
|
2289
2318
|
interface ValidateHostOptions {
|
|
2290
2319
|
/** "forbid" (default): the resolved form, checked with `hostSchema`; no
|
|
2291
2320
|
* token may remain. "allow": the declared form, checked with
|
|
@@ -2300,6 +2329,21 @@ interface ValidateHostOptions {
|
|
|
2300
2329
|
* with its path.
|
|
2301
2330
|
*/
|
|
2302
2331
|
declare function validateHost<O>(runner: RunnerModule<O>, specifier: string, host: unknown, file: string, options?: ValidateHostOptions): O;
|
|
2332
|
+
interface SchemaIssue extends RunnerIssue {
|
|
2333
|
+
/** The line `validateHost` prints: zod's dotted path (other runners' tests
|
|
2334
|
+
* match on it), then the message. */
|
|
2335
|
+
printed: string;
|
|
2336
|
+
}
|
|
2337
|
+
interface HostSchemaIssues<O> {
|
|
2338
|
+
/** Kind shape, an unresolved token (forbid mode) and unknown verbs, in
|
|
2339
|
+
* the order the throwing validator checks them. */
|
|
2340
|
+
issues: RunnerIssue[];
|
|
2341
|
+
/** The schema's own issues; absent when the host parsed. */
|
|
2342
|
+
schemaIssues?: SchemaIssue[];
|
|
2343
|
+
data?: O;
|
|
2344
|
+
}
|
|
2345
|
+
/** What `validateHost` checks, as data: nothing throws. */
|
|
2346
|
+
declare function hostSchemaIssues<O>(runner: RunnerModule<O>, schema: HostSchemaLike<O>, specifier: string, host: unknown, options?: ValidateHostOptions): HostSchemaIssues<O>;
|
|
2303
2347
|
interface DeclaredHostOptions {
|
|
2304
2348
|
/** Producer lookup for `$output` path checks. Absent: paths are not
|
|
2305
2349
|
* checked here (a compound checks its members' tokens per member). */
|
|
@@ -2396,6 +2440,6 @@ interface RunCompoundResult {
|
|
|
2396
2440
|
}
|
|
2397
2441
|
declare function runCompound(hostInput: HostDefinition, ctx: RunnerContext, options: RunCompoundOptions): Promise<RunCompoundResult>;
|
|
2398
2442
|
//#endregion
|
|
2399
|
-
export {
|
|
2443
|
+
export { ReactorHost as $, mapTokenSchema as $t, resolveRunnerModule as A, ItemToken as At, outputSitesOf as B, Token as Bt, ValidateHostOptions as C, reactorSchema as Ct, kindShapeIssues as D, ArrayMapToken as Dt, isSchemaLike as E, runnerKindSchema as Et, OutputsSchemaLookup as F, RecordMapToken as Ft, CompoundHostInput as G, concatTokenSchema as Gt, schemaAtPath as H, TokenKey as Ht, checkOutputPaths as I, RefFn as It, HostSchemas as J, findToken as Jt, CompoundWiring as K, envTokenSchema as Kt, checkTokenSites as L, TOKEN_ESCAPE_KEY as Lt, validateHost as M, MapToken as Mt, DeclaredIssue as N, OutputPath as Nt, knownVerbIssues as O, ConcatToken as Ot, OutputRef as P, OutputToken as Pt, ReactorConfig as Q, keyTokenSchema as Qt, envSitesOf as R, TOKEN_KEYS as Rt, SchemaIssue as S, reactorProtocolSchema as St, hostSchemaIssues as T, runnerBaseSchema as Tt, ChildWrapper as U, TokenMode as Ut, refKey as V, TokenFor as Vt, CompoundHost as W, TokenableSchema as Wt, ReactorBackend as X, isToken as Xt, Profile as Y, forbidRef as Yt, ReactorBackendKind as Z, itemTokenSchema as Zt, RunnerContext as _, makeHostSchemas as _t, RunnerHandleData as a, RunnerBase as at, RunnerModule as b, reactorBackendSchema as bt, toStartedHandle as c, childrenSchema as ct, CONNECT_RUNNER as d, declaredGenericCompoundHostSchema as dt, outputTokenSchema as en, ReactorHostInput as et, DeclaredHostOptions as f, declaredHostSchemas as ft, ONE_SHOT_VERBS as g, genericCompoundHostSchema as gt, HostSchemaLike as h, emittedHostSchemas as ht, RunnerHandle as i, tokenable as in, ReactorStorageConfig as it, validateDeclaredHost as j, KeyToken as jt, listVerbs as k, EnvToken as kt, BootCheckContext as l, compoundHostSchema as lt, HostSchemaIssues as m, emitHostJsonSchema as mt, RunCompoundResult as n, tokenKeyOf as nn, ReactorProtocol as nt, StartedHandle as o, RunnerKind as ot, HostSchemaIssue as p, defineHostSchemas as pt, HostDefinition as q, envTokenable as qt, runCompound as r, tokenSchema as rn, ReactorRemoteConfig as rt, runnerHandleSchema as s, childWrapperSchema as st, RunCompoundOptions as t, ref as tn, ReactorPackageConfig as tt, BootIssue as u, compoundWiringSchema as ut, RunnerError as v, profileSchema as vt, getVerb as w, refineStartOrder as wt, RunnerVerb as x, reactorHostSchema as xt, RunnerIssue as y, reactorBackendKindSchema as yt, outputRefsOf as z, Template as zt };
|
|
2400
2444
|
export {};
|
|
2401
|
-
//# sourceMappingURL=compound-
|
|
2445
|
+
//# sourceMappingURL=compound-DlaK_sWa.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compound-
|
|
1
|
+
{"version":3,"file":"compound-DlaK_sWa.d.mts","names":[],"sources":["../src/host-schemas.ts","../src/resolve/declared.ts","../src/runner-resolver.ts","../src/runner-handle.ts","../src/compound.ts"],"mappings":";;;;;;;;;;;;;;cAuBa,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;;;;;;iBAerD,iBAAiB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA;KAEU,mBAAmB,EAAE,aAAa;;;UAI7B,sBAAsB;EACrC,SAAS;EACT,QAAQ;EACR;;;;iBAiBc,gBAAgB,gBAAgB,gBAAgB;;;;;;;;;;;;;;;;;;UCUtD;EACR;EACA,QAAQ;EACR;EACA,MAAM;EACN;EACA,QAAQ;;;EAGR,SAAS;;UAiDM;;EAEf;;EAEA,cAAc;;;EAGd;;EAEA,QAAQ;;UAGO;EACf,SAAS;;;EAGT,gBAAgB;;;;EAIhB,eAAe,iCAAiC;;iBAsB5B,YACpB,WAAW,gBACX,KAAK,eACL,SAAS,qBACR,QAAQ"}
|
|
@@ -1353,7 +1353,12 @@ function findRemovedForms(host) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
//#endregion
|
|
1355
1355
|
//#region src/env-substitution.ts
|
|
1356
|
-
|
|
1356
|
+
/** The always-resolvable `$env` names (also the `"${name}"` sugar). */
|
|
1357
|
+
const BUILTIN_ENV_NAMES = ["userData", "projectRoot"];
|
|
1358
|
+
function isBuiltinEnvName(name) {
|
|
1359
|
+
return BUILTIN_ENV_NAMES.includes(name);
|
|
1360
|
+
}
|
|
1361
|
+
const BUILTIN = new RegExp(`\\$\\{(${BUILTIN_ENV_NAMES.join("|")})\\}`, "g");
|
|
1357
1362
|
function substitute(text, env) {
|
|
1358
1363
|
return text.replace(BUILTIN, (match, name) => env[name] ?? match);
|
|
1359
1364
|
}
|
|
@@ -1468,11 +1473,18 @@ function planCompound(members, startOrder) {
|
|
|
1468
1473
|
//#endregion
|
|
1469
1474
|
//#region src/resolve/resolve.ts
|
|
1470
1475
|
var TokenResolutionError = class extends Error {
|
|
1471
|
-
|
|
1476
|
+
/** The host path that failed and the reason, without the file prefix. */
|
|
1477
|
+
detail;
|
|
1478
|
+
constructor(message, detail) {
|
|
1472
1479
|
super(message);
|
|
1473
1480
|
this.name = "TokenResolutionError";
|
|
1481
|
+
if (detail) this.detail = detail;
|
|
1474
1482
|
}
|
|
1475
1483
|
};
|
|
1484
|
+
/** Why a required `$env` cannot resolve. */
|
|
1485
|
+
function unsetEnvMessage(name) {
|
|
1486
|
+
return `reads $env ${name}, which is not set. Set ${name} in the environment of the process that resolves this host (or declare { $env: { name: "${name}", optional: true } } to omit the property when unset).`;
|
|
1487
|
+
}
|
|
1476
1488
|
/** A resolved `{ $env: { name, optional: true } }` whose variable is unset,
|
|
1477
1489
|
* or an `$output`/`$item` reading an absent optional field: its enclosing
|
|
1478
1490
|
* property is omitted. */
|
|
@@ -1572,6 +1584,10 @@ var Resolver = class {
|
|
|
1572
1584
|
host: operand.host,
|
|
1573
1585
|
member: operand.member
|
|
1574
1586
|
} : { host: operand.host };
|
|
1587
|
+
if (this.self === "outputs") {
|
|
1588
|
+
keys.add(refKey(ref));
|
|
1589
|
+
continue;
|
|
1590
|
+
}
|
|
1575
1591
|
if (!this.self.members.some((m) => m.host === ref.host)) continue;
|
|
1576
1592
|
const target = memberForRef(ref, this.self.members);
|
|
1577
1593
|
if ("error" in target) this.fail([...trail, ...site.path], `in a compound ${target.error}`);
|
|
@@ -1582,7 +1598,11 @@ var Resolver = class {
|
|
|
1582
1598
|
fail(trail, message, scope = []) {
|
|
1583
1599
|
const where = this.sources.where ? `${this.sources.where}: ` : "";
|
|
1584
1600
|
const inside = scope.length ? ` (rendering $map element ${scope.map(elementText).join(" › ")})` : "";
|
|
1585
|
-
|
|
1601
|
+
const path = formatPath(trail);
|
|
1602
|
+
throw new TokenResolutionError(`${where}\`${path}\` ${message}${inside}`, {
|
|
1603
|
+
path,
|
|
1604
|
+
reason: `${message}${inside}`
|
|
1605
|
+
});
|
|
1586
1606
|
}
|
|
1587
1607
|
value(value, trail, scope = []) {
|
|
1588
1608
|
if (typeof value === "string") return this.sources.builtins ? substituteBuiltinEnv(value, this.sources.builtins) : value;
|
|
@@ -1607,7 +1627,7 @@ var Resolver = class {
|
|
|
1607
1627
|
}
|
|
1608
1628
|
const out = {};
|
|
1609
1629
|
for (const [key, child] of Object.entries(value)) {
|
|
1610
|
-
if (this.self && trail.length === 0 && key === "children") {
|
|
1630
|
+
if (typeof this.self === "object" && trail.length === 0 && key === "children") {
|
|
1611
1631
|
out[key] = child;
|
|
1612
1632
|
continue;
|
|
1613
1633
|
}
|
|
@@ -1733,7 +1753,15 @@ var Resolver = class {
|
|
|
1733
1753
|
const path = pathSegments(Array.isArray(operand.path) ? operand.path : []);
|
|
1734
1754
|
if (!this.sources.outputs) return this.fail(trail, `reads ${describeToken(token)}, but no outputs are available here.`, scope);
|
|
1735
1755
|
const lookup = this.sources.outputs.lookup(ref);
|
|
1736
|
-
if (lookup.status === "unavailable")
|
|
1756
|
+
if (lookup.status === "unavailable") {
|
|
1757
|
+
const where = this.sources.where ? `${this.sources.where}: ` : "";
|
|
1758
|
+
const path = formatPath(trail);
|
|
1759
|
+
const reason = `${lookup.message}\n (needed by \`${path}\`: ${describeToken(token)})`;
|
|
1760
|
+
throw new TokenResolutionError(`${where}${reason}`, {
|
|
1761
|
+
path,
|
|
1762
|
+
reason
|
|
1763
|
+
});
|
|
1764
|
+
}
|
|
1737
1765
|
const hit = walkPath(lookup.outputs, path);
|
|
1738
1766
|
if (!hit.ok) {
|
|
1739
1767
|
if (lookup.schema !== void 0 && isOptionalField(lookup.schema, path, hit.at)) return this.omit("an absent optional output");
|
|
@@ -1752,11 +1780,11 @@ var Resolver = class {
|
|
|
1752
1780
|
const name = optional ? operand.name : operand;
|
|
1753
1781
|
if (typeof name !== "string") return this.fail(trail, "is a malformed $env token.", scope);
|
|
1754
1782
|
const builtins = this.sources.builtins;
|
|
1755
|
-
if ((name
|
|
1783
|
+
if (isBuiltinEnvName(name) && builtins?.[name]) return builtins[name];
|
|
1756
1784
|
const value = this.sources.env?.[name];
|
|
1757
1785
|
if (value !== void 0) return value;
|
|
1758
1786
|
if (optional) return this.omit("an optional $env").value;
|
|
1759
|
-
return this.fail(trail,
|
|
1787
|
+
return this.fail(trail, unsetEnvMessage(name), scope);
|
|
1760
1788
|
}
|
|
1761
1789
|
concat(parts, trail, scope = []) {
|
|
1762
1790
|
if (!Array.isArray(parts)) return this.fail(trail, "is a malformed $concat token.", scope);
|
|
@@ -1843,6 +1871,7 @@ const NON_VERB_EXPORTS = /* @__PURE__ */ new Set([
|
|
|
1843
1871
|
"outputsSchema",
|
|
1844
1872
|
"verbs",
|
|
1845
1873
|
"kind",
|
|
1874
|
+
"checkBoot",
|
|
1846
1875
|
"default"
|
|
1847
1876
|
]);
|
|
1848
1877
|
async function resolveRunnerModule(projectRoot, specifier) {
|
|
@@ -1859,6 +1888,7 @@ async function resolveRunnerModule(projectRoot, specifier) {
|
|
|
1859
1888
|
if (!hostSchema || typeof hostSchema.safeParse !== "function") throw new RunnerError(`Runner "${specifier}" does not export a \`hostSchema\` — runners validate their own host shape.`);
|
|
1860
1889
|
const declared = module.declaredHostSchema;
|
|
1861
1890
|
if (declared !== void 0 && typeof declared.safeParse !== "function") throw new RunnerError(`Runner "${specifier}" exports a \`declaredHostSchema\` without safeParse.`);
|
|
1891
|
+
if (module.checkBoot !== void 0 && typeof module.checkBoot !== "function") throw new RunnerError(`Runner "${specifier}" exports a \`checkBoot\` that is not a function.`);
|
|
1862
1892
|
const verbs = module.verbs;
|
|
1863
1893
|
if (verbs !== void 0 && (!Array.isArray(verbs) || !verbs.every((verb) => typeof verb === "string" && typeof module[verb] === "function"))) throw new RunnerError(`Runner "${specifier}" exports \`verbs\` ${JSON.stringify(verbs)}, which must list names of exported functions.`);
|
|
1864
1894
|
if (!runnerKindSchema.safeParse(module.kind).success) throw new RunnerError(`Runner "${specifier}" does not export a valid \`kind\` (got ${JSON.stringify(module.kind)}; expected "reactor" | "compound").`);
|
|
@@ -1882,24 +1912,44 @@ function isRecord$2(value) {
|
|
|
1882
1912
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1883
1913
|
}
|
|
1884
1914
|
/** reactor XOR children, decided by the runner's declared `kind`. */
|
|
1915
|
+
function kindShapeIssues(kind, specifier, host) {
|
|
1916
|
+
if (kind === "reactor" && host.children !== void 0) return [{
|
|
1917
|
+
path: "children",
|
|
1918
|
+
message: `"${specifier}" is a reactor runner, so the host must not declare \`children\`.`,
|
|
1919
|
+
hint: "`children` belongs to compound hosts; a reactor host configures its own `reactor` block."
|
|
1920
|
+
}];
|
|
1921
|
+
if (kind === "compound" && host.reactor !== void 0) return [{
|
|
1922
|
+
path: "reactor",
|
|
1923
|
+
message: `"${specifier}" is a compound runner, so the host must not declare \`reactor\`.`,
|
|
1924
|
+
hint: "A compound's reactors are its members': configure them in the member host or a wrapper's `reactor` override."
|
|
1925
|
+
}];
|
|
1926
|
+
return [];
|
|
1927
|
+
}
|
|
1885
1928
|
function assertKindShape(kind, specifier, host, file) {
|
|
1886
|
-
|
|
1887
|
-
if (
|
|
1929
|
+
const issue = kindShapeIssues(kind, specifier, host).at(0);
|
|
1930
|
+
if (issue) throw new RunnerError(`${file}: ${issue.message}`, issue.hint);
|
|
1888
1931
|
}
|
|
1889
1932
|
/** `runner.defaultVerb` and every plugin entry's `verbs` must name verbs
|
|
1890
1933
|
* this runner exports. */
|
|
1891
|
-
function
|
|
1934
|
+
function knownVerbIssues(runner, specifier, host) {
|
|
1892
1935
|
const options = host.runner;
|
|
1893
|
-
if (!isRecord$2(options)) return;
|
|
1936
|
+
if (!isRecord$2(options)) return [];
|
|
1894
1937
|
const verbs = listVerbs(runner);
|
|
1895
1938
|
const unknownVerb = (verb) => typeof verb === "string" && !verbs.includes(verb);
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1939
|
+
const issues = [];
|
|
1940
|
+
if (unknownVerb(options.defaultVerb)) issues.push({
|
|
1941
|
+
path: "runner.defaultVerb",
|
|
1942
|
+
message: `runner.defaultVerb "${options.defaultVerb}" is not a verb of "${specifier}". Supported verbs: ${verbs.join(", ")}.`
|
|
1943
|
+
});
|
|
1944
|
+
(Array.isArray(options.plugins) ? options.plugins : []).forEach((entry, index) => {
|
|
1945
|
+
if (!isRecord$2(entry) || !Array.isArray(entry.verbs)) return;
|
|
1946
|
+
const scoped = entry.verbs;
|
|
1947
|
+
for (const bad of scoped.filter(unknownVerb)) issues.push({
|
|
1948
|
+
path: `runner.plugins[${index}].verbs`,
|
|
1949
|
+
message: `plugin "${String(entry.module)}" is scoped to verb "${bad}", which "${specifier}" does not export. Supported verbs: ${verbs.join(", ")}.`
|
|
1950
|
+
});
|
|
1951
|
+
});
|
|
1952
|
+
return issues;
|
|
1903
1953
|
}
|
|
1904
1954
|
function formatIssues(issues) {
|
|
1905
1955
|
return issues.map((i) => ` - ${i.path}: ${i.message}`).join("\n");
|
|
@@ -1920,21 +1970,46 @@ function valueAt(host, path) {
|
|
|
1920
1970
|
function validateHost(runner, specifier, host, file, options = {}) {
|
|
1921
1971
|
return parseHost(runner, options.tokens === "allow" ? runner.declaredHostSchema ?? runner.hostSchema : runner.hostSchema, specifier, host, file, options);
|
|
1922
1972
|
}
|
|
1923
|
-
|
|
1973
|
+
/** What `validateHost` checks, as data: nothing throws. */
|
|
1974
|
+
function hostSchemaIssues(runner, schema, specifier, host, options = {}) {
|
|
1975
|
+
const issues = [];
|
|
1924
1976
|
if (isRecord$2(host)) {
|
|
1925
|
-
|
|
1977
|
+
issues.push(...kindShapeIssues(runner.kind, specifier, host));
|
|
1926
1978
|
if (options.tokens !== "allow") {
|
|
1927
1979
|
const token = findToken(host);
|
|
1928
|
-
if (token)
|
|
1980
|
+
if (token) issues.push({
|
|
1981
|
+
path: token.path,
|
|
1982
|
+
message: `\`${token.path}\` is an unresolved output token (${token.key}).`,
|
|
1983
|
+
hint: "Resolve the host (resolveHostOutputs) before validating it for a verb; `ph run` does this."
|
|
1984
|
+
});
|
|
1929
1985
|
}
|
|
1930
|
-
|
|
1986
|
+
issues.push(...knownVerbIssues(runner, specifier, host));
|
|
1931
1987
|
}
|
|
1932
1988
|
const result = schema.safeParse(unwrapEscapes(host));
|
|
1933
|
-
if (
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
}
|
|
1937
|
-
return
|
|
1989
|
+
if (result.success) return {
|
|
1990
|
+
issues,
|
|
1991
|
+
data: result.data
|
|
1992
|
+
};
|
|
1993
|
+
return {
|
|
1994
|
+
issues,
|
|
1995
|
+
schemaIssues: result.error.issues.map((issue) => {
|
|
1996
|
+
const element = describeMapElements(host, issue.path);
|
|
1997
|
+
const dotted = (issue.path.map(String).join(".") || "<root>") + (element ? ` (${element})` : "");
|
|
1998
|
+
const message = tokenKeyOf(valueAt(host, issue.path)) ? "this field does not take an output token (it is not token-able); spell the value literally." : issue.message;
|
|
1999
|
+
return {
|
|
2000
|
+
path: formatPath(issue.path.filter((key) => typeof key === "string" || typeof key === "number")),
|
|
2001
|
+
message: element ? `${message} (${element})` : message,
|
|
2002
|
+
printed: `${dotted}: ${message}`
|
|
2003
|
+
};
|
|
2004
|
+
})
|
|
2005
|
+
};
|
|
2006
|
+
}
|
|
2007
|
+
function parseHost(runner, schema, specifier, host, file, options) {
|
|
2008
|
+
const checked = hostSchemaIssues(runner, schema, specifier, host, options);
|
|
2009
|
+
const first = checked.issues.at(0);
|
|
2010
|
+
if (first) throw new RunnerError(`${file}: ${first.message}`, first.hint);
|
|
2011
|
+
if (checked.schemaIssues) throw new RunnerError(`${file} failed validation against the hostSchema of "${specifier}":\n${checked.schemaIssues.map((issue) => ` - ${issue.printed}`).join("\n") || " (no details reported)"}`);
|
|
2012
|
+
return checked.data;
|
|
1938
2013
|
}
|
|
1939
2014
|
/**
|
|
1940
2015
|
* Declared validation (pipeline step 3): the removed cross-host forms
|
|
@@ -2358,12 +2433,12 @@ const runRecordSchema = z.strictObject({
|
|
|
2358
2433
|
});
|
|
2359
2434
|
//#endregion
|
|
2360
2435
|
//#region src/run-record.ts
|
|
2361
|
-
const runDir = (projectDir) => path.join(resolvePhDir(projectDir), "run");
|
|
2362
|
-
const recordPath = (projectDir, hostName) => path.join(runDir(projectDir), `${hostName}.json`);
|
|
2363
|
-
function readRunRecord(projectDir, hostName) {
|
|
2436
|
+
const runDir = (projectDir, env = process.env) => path.join(resolvePhDir(projectDir, env), "run");
|
|
2437
|
+
const recordPath = (projectDir, hostName, env) => path.join(runDir(projectDir, env), `${hostName}.json`);
|
|
2438
|
+
function readRunRecord(projectDir, hostName, env = process.env) {
|
|
2364
2439
|
let raw;
|
|
2365
2440
|
try {
|
|
2366
|
-
raw = JSON.parse(fs.readFileSync(recordPath(projectDir, hostName), "utf8"));
|
|
2441
|
+
raw = JSON.parse(fs.readFileSync(recordPath(projectDir, hostName, env), "utf8"));
|
|
2367
2442
|
} catch {
|
|
2368
2443
|
return;
|
|
2369
2444
|
}
|
|
@@ -2371,15 +2446,15 @@ function readRunRecord(projectDir, hostName) {
|
|
|
2371
2446
|
return parsed.success ? parsed.data : void 0;
|
|
2372
2447
|
}
|
|
2373
2448
|
/** Every valid v2 record under `.ph/run/` (invalid and v1 files skipped). */
|
|
2374
|
-
function listRunRecords(projectDir) {
|
|
2449
|
+
function listRunRecords(projectDir, env = process.env) {
|
|
2375
2450
|
let files;
|
|
2376
2451
|
try {
|
|
2377
|
-
files = fs.readdirSync(runDir(projectDir));
|
|
2452
|
+
files = fs.readdirSync(runDir(projectDir, env));
|
|
2378
2453
|
} catch {
|
|
2379
2454
|
return [];
|
|
2380
2455
|
}
|
|
2381
2456
|
return files.filter((file) => file.endsWith(".json")).flatMap((file) => {
|
|
2382
|
-
const record = readRunRecord(projectDir, file.slice(0, -5));
|
|
2457
|
+
const record = readRunRecord(projectDir, file.slice(0, -5), env);
|
|
2383
2458
|
return record ? [record] : [];
|
|
2384
2459
|
});
|
|
2385
2460
|
}
|
|
@@ -2398,9 +2473,9 @@ function writeRunRecord(projectDir, record) {
|
|
|
2398
2473
|
fs.mkdirSync(path.dirname(target), { recursive: true });
|
|
2399
2474
|
fs.writeFileSync(target, `${JSON.stringify(valid, null, 2)}\n`);
|
|
2400
2475
|
}
|
|
2401
|
-
function clearRunRecord(projectDir, hostName) {
|
|
2476
|
+
function clearRunRecord(projectDir, hostName, env = process.env) {
|
|
2402
2477
|
try {
|
|
2403
|
-
fs.rmSync(recordPath(projectDir, hostName));
|
|
2478
|
+
fs.rmSync(recordPath(projectDir, hostName, env));
|
|
2404
2479
|
} catch {}
|
|
2405
2480
|
}
|
|
2406
2481
|
function isPidAlive(pid) {
|
|
@@ -2420,8 +2495,8 @@ function isPidAlive(pid) {
|
|
|
2420
2495
|
* prevent. A stale record (dead pid) is reported so the caller can clear it; a
|
|
2421
2496
|
* foreign one (live pid, different project) is left alone.
|
|
2422
2497
|
*/
|
|
2423
|
-
function probeRun(projectDir, hostName, projectName) {
|
|
2424
|
-
const record = readRunRecord(projectDir, hostName);
|
|
2498
|
+
function probeRun(projectDir, hostName, projectName, env = process.env) {
|
|
2499
|
+
const record = readRunRecord(projectDir, hostName, env);
|
|
2425
2500
|
if (!record) return { status: "none" };
|
|
2426
2501
|
if (!isPidAlive(record.pid)) return {
|
|
2427
2502
|
status: "stale",
|
|
@@ -2635,6 +2710,11 @@ async function memberDraft(projectRoot, member) {
|
|
|
2635
2710
|
function takesCspRegistrySync(m) {
|
|
2636
2711
|
return m.specifier === "@powerhousedao/ph-cli/runners/connect" || declaresKey(m.runner.hostSchema, ["runner"], "cspRegistrySync");
|
|
2637
2712
|
}
|
|
2713
|
+
/** The verb the generic compound starts its members at for its own `verb`:
|
|
2714
|
+
* `run` follows the compound's defaultVerb. */
|
|
2715
|
+
function compoundStartVerb(verb, runner) {
|
|
2716
|
+
return verb === "run" ? runner.defaultVerb ?? "run" : verb;
|
|
2717
|
+
}
|
|
2638
2718
|
/** At compound verb "run" each member runs its own (merged) defaultVerb —
|
|
2639
2719
|
* what lets a desktop compound pair a switchboard at `run` with a connect at
|
|
2640
2720
|
* `serve`. An explicit forwarded verb stays uniform across members. */
|
|
@@ -2784,21 +2864,23 @@ async function runCompound(hostInput, ctx, options) {
|
|
|
2784
2864
|
/** Load every member's draft and runner, in declaration order. */
|
|
2785
2865
|
async function prepareMembers(projectRoot, children) {
|
|
2786
2866
|
const out = [];
|
|
2787
|
-
for (const [key, member] of Object.entries(children))
|
|
2788
|
-
const draft = await memberDraft(projectRoot, member);
|
|
2789
|
-
const specifier = draft.runner.module;
|
|
2790
|
-
out.push({
|
|
2791
|
-
key,
|
|
2792
|
-
member,
|
|
2793
|
-
draft,
|
|
2794
|
-
specifier,
|
|
2795
|
-
runner: await resolveRunnerModule(projectRoot, specifier),
|
|
2796
|
-
file: `hosts/${member.host}/host.js`
|
|
2797
|
-
});
|
|
2798
|
-
}
|
|
2867
|
+
for (const [key, member] of Object.entries(children)) out.push(await prepareMember(projectRoot, key, member));
|
|
2799
2868
|
return out;
|
|
2800
2869
|
}
|
|
2870
|
+
/** One member's draft and runner. */
|
|
2871
|
+
async function prepareMember(projectRoot, key, member) {
|
|
2872
|
+
const draft = await memberDraft(projectRoot, member);
|
|
2873
|
+
const specifier = draft.runner.module;
|
|
2874
|
+
return {
|
|
2875
|
+
key,
|
|
2876
|
+
member,
|
|
2877
|
+
draft,
|
|
2878
|
+
specifier,
|
|
2879
|
+
runner: await resolveRunnerModule(projectRoot, specifier),
|
|
2880
|
+
file: `hosts/${member.host}/host.js`
|
|
2881
|
+
};
|
|
2882
|
+
}
|
|
2801
2883
|
//#endregion
|
|
2802
|
-
export {
|
|
2884
|
+
export { unsetEnvMessage as $, keyTokenSchema as $t, lintHostImportGraph as A, makeHostSchemas as At, RunnerError as B, buildDriveDeclarationSchema as Bt, runRecordMemberSchema as C, runTransformHook as Cn, compoundWiringSchema as Ct, computeOutputsHash as D, emitHostJsonSchema as Dt, OUTPUTS_FILE as E, defineHostSchemas as Et, readOutputsFileHash as F, reactorProtocolSchema as Ft, knownVerbIssues as G, TOKEN_KEYS as Gt, hostSchemaIssues as H, drivesSchema as Ht, scanHostImports as I, reactorSchema as It, validateDeclaredHost as J, envTokenable as Jt, listVerbs as K, concatTokenSchema as Kt, stripComments as L, refineStartOrder as Lt, lintOutputsFile as M, reactorBackendKindSchema as Mt, loadHost as N, reactorBackendSchema as Nt, describeHostOutputs as O, emittedHostSchemas as Ot, probeHostsFolder as P, reactorHostSchema as Pt, resolveHostOutputs as Q, itemTokenSchema as Qt, CONNECT_RUNNER as R, runnerBaseSchema as Rt, writeRunRecord as S, runProvideHook as Sn, compoundHostSchema as St, HostLoadError as T, declaredHostSchemas as Tt, isSchemaLike as U, projectDriveIdWith as Ut, getVerb as V, driveDeclarationSchema as Vt, kindShapeIssues as W, TOKEN_ESCAPE_KEY as Wt, TokenResolutionError as X, forbidRef as Xt, validateHost as Y, findToken as Yt, describeMapElements as Z, isToken as Zt, isPidAlive as _, pluginEntrySchema as _n, isPlainObject as _t, takesCspRegistrySync as a, tokenable as an, substituteBuiltinEnv as at, readProjectName as b, runObserveHook as bn, childWrapperSchema as bt, compoundOutputSource as c, resolveHostPlugins as cn, checkTokenSites as ct, producerOutputsSchemas as d, entryActiveForVerb as dn, outputSitesOf as dt, mapTokenSchema as en, PlanError as et, runRecordOutputSource as f, hostTypeSatisfies as fn, refKey as ft, clearRunRecord as g, pluginEntryObjectSchema as gn, formatPath as gt, resolveUserDataPlaceholders as h, normalizePluginEntry as hn, describeToken as ht, runCompound as i, tokenSchema as in, isBuiltinEnvName as it, lintHostImports as j, profileSchema as jt, findNonStaticValue as k, genericCompoundHostSchema as kt, loadProducers as l, resolvePluginContributions as ln, envSitesOf as lt, defaultUserDataDir as m, normalizePluginEntries as mn, collectTokenSites as mt, memberVerbOf as n, ref as nn, planCompound as nt, runnerHandleSchema as o, CONNECT_PLUGIN_OWNED_SLICES as on, findRemovedForms as ot, runnerOutputsSchema as p, mergeContributions as pn, schemaAtPath as pt, resolveRunnerModule as q, envTokenSchema as qt, prepareMember as r, tokenKeyOf as rn, BUILTIN_ENV_NAMES as rt, toStartedHandle as s, findDeadConnectConfig as sn, checkOutputPaths as st, compoundStartVerb as t, outputTokenSchema as tn, memberForRef as tt, processResolveEnv as u, PluginError as un, outputRefsOf as ut, listRunRecords as v, registerHostType as vn, renderTokens as vt, runRecordSchema as w, declaredGenericCompoundHostSchema as wt, readRunRecord as x, runObserveHookSequential as xn, childrenSchema as xt, probeRun as y, resolveOrder as yn, unwrapEscapes as yt, ONE_SHOT_VERBS as z, runnerKindSchema as zt };
|
|
2803
2885
|
|
|
2804
|
-
//# sourceMappingURL=compound-
|
|
2886
|
+
//# sourceMappingURL=compound-Gjt5rBfF.mjs.map
|