@powerhousedao/host-core 6.2.3-dev.98 → 6.3.0-dev.1
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-eW-6nGxK.d.mts → compound-CBqPgk38.d.mts} +16 -3
- package/dist/{compound-eW-6nGxK.d.mts.map → compound-CBqPgk38.d.mts.map} +1 -1
- package/dist/{compound-DO_mvh0O.mjs → compound-CDrU3CLt.mjs} +292 -11
- package/dist/compound-CDrU3CLt.mjs.map +1 -0
- package/dist/index.d.mts +98 -5
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/dist/projection.d.mts +7 -0
- package/dist/projection.d.mts.map +1 -1
- package/dist/projection.mjs +17 -1
- package/dist/projection.mjs.map +1 -1
- package/dist/runners/compound.d.mts +1 -1
- package/dist/runners/compound.mjs +1 -1
- package/package.json +3 -3
- package/dist/compound-DO_mvh0O.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as HOST_NAME_PATTERN, $t as Token, A as kindShapeIssues, At as profileSchema, B as checkTokenSites, Bt as ArrayMapToken, C as RunnerVerb, Ct as emitHostJsonSchema, D as getVerb, Dt as makeHostSchemas, E as ValidateHostOptions, Et as hostNameSchema, F as validateHost, Ft as reactorSchema, G as schemaAtPath, Gt as MapToken, H as outputRefsOf, Ht as EnvToken, I as DeclaredIssue, It as refineConnectReactor, J as CompoundHost, Jt as RecordMapToken, K as CONNECT_PRIMARY_MESSAGE, Kt as OutputPath, L as OutputRef, Lt as refineStartOrder, M as listVerbs, Mt as reactorBackendSchema, N as resolveRunnerModule, Nt as reactorHostSchema, O as hostSchemaIssues, Ot as originOrUrlSchema, P as validateDeclaredHost, Pt as reactorProtocolSchema, Q as HOST_NAME_MESSAGE, Qt as Template, R as OutputsSchemaLookup, Rt as runnerBaseSchema, S as RunnerModule, St as defineHostSchemas, T as SchemaIssue, Tt as genericCompoundHostSchema, U as outputSitesOf, Ut as ItemToken, V as envSitesOf, Vt as ConcatToken, W as refKey, Wt as KeyToken, X as CompoundWiring, Xt as TOKEN_ESCAPE_KEY, Y as CompoundHostInput, Yt as RefFn, Z as HOST_NAME_MAX_LENGTH, Zt as TOKEN_KEYS, _ as HostSchemaLike, _n as tokenable, _t as compoundHostSchema, a as RunnerHandleData, an as envTokenSchema, at as ReactorBackendKind, b as RunnerError, bt as declaredGenericCompoundHostSchema, c as toStartedHandle, cn as forbidRef, ct as ReactorHostInput, d as BootCheckContext, dn as keyTokenSchema, dt as ReactorRemoteConfig, en as TokenFor, et as HostDefinition, f as BootIssue, fn as mapTokenSchema, ft as ReactorStorageConfig, g as HostSchemaIssues, gn as tokenSchema, gt as childrenSchema, h as HostSchemaIssue, hn as tokenKeyOf, ht as childWrapperSchema, i as RunnerHandle, in as concatTokenSchema, it as ReactorBackend, j as knownVerbIssues, jt as reactorBackendKindSchema, k as isSchemaLike, kt as placementKeyIssues, l as MemberDraft, ln as isToken, lt as ReactorPackageConfig, m as DeclaredHostOptions, mn as ref, mt as RunnerKind, n as RunCompoundResult, nn as TokenMode, nt as PlacementKeyIssue, o as StartedHandle, on as envTokenable, ot as ReactorConfig, p as CONNECT_RUNNER, pn as outputTokenSchema, pt as RunnerBase, q as ChildWrapper, qt as OutputToken, r as runCompound, rn as TokenableSchema, rt as Profile, s as runnerHandleSchema, sn as findToken, st as ReactorHost, t as RunCompoundOptions, tn as TokenKey, tt as HostSchemas, u as applyChildWrapper, un as itemTokenSchema, ut as ReactorProtocol, v as ONE_SHOT_VERBS, vt as compoundWiringSchema, w as STORE_VERBS, wt as emittedHostSchemas, x as RunnerIssue, xt as declaredHostSchemas, y as RunnerContext, yt as connectReactorIssues, z as checkOutputPaths, zt as runnerKindSchema } from "./compound-CBqPgk38.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { SwitchboardDrive, driveAddressMessage, switchboardOfDrive } from "@powerhousedao/shared/host-tokens";
|
|
4
4
|
import { ORIGIN_PLACEHOLDER, SWITCHBOARD_PROXY_PATHS, isHtmlNavigation, isOriginPlaceholderUrl, isSwitchboardProxyPath, resolveOriginPlaceholders, toOriginPlaceholder, withOriginPlaceholders } from "@powerhousedao/shared/connect/origin-placeholder";
|
|
@@ -102,6 +102,76 @@ export declare function computeOutputsHash(input: {
|
|
|
102
102
|
*/
|
|
103
103
|
export declare function describeHostOutputs(projectRoot: string, hostName: string): Promise<HostOutputsDescription | undefined>;
|
|
104
104
|
//#endregion
|
|
105
|
+
//#region src/runner-args.d.ts
|
|
106
|
+
/**
|
|
107
|
+
* The arguments of one invocation: what follows `ph run <host> [verb]` and
|
|
108
|
+
* `ph run` does not read itself. A runner declares the ones it accepts as its
|
|
109
|
+
* `argsSchema` export; anything else fails before the runner starts.
|
|
110
|
+
*/
|
|
111
|
+
/** The arguments a runner accepts, as typed (`--port`, `-w`). Structural: a
|
|
112
|
+
* runner builds it from its own argument definitions, and this package needs
|
|
113
|
+
* no argument parser. */
|
|
114
|
+
interface RunnerArgsSchema {
|
|
115
|
+
/** Take a value: `--port 4001` or `--port=4001`. */
|
|
116
|
+
options: readonly string[];
|
|
117
|
+
/** Switches: `--strictPort`. */
|
|
118
|
+
flags: readonly string[];
|
|
119
|
+
/** The name a compound's member takes an option under, e.g.
|
|
120
|
+
* `{ "--switchboard-port": "--port" }`. In a compound the plain name is
|
|
121
|
+
* refused: it would reach every member that has it. */
|
|
122
|
+
memberOptions?: Readonly<Record<string, string>>;
|
|
123
|
+
/** Retired switches and what to do instead: accepted, one warning, no
|
|
124
|
+
* effect. */
|
|
125
|
+
retired?: Readonly<Record<string, string>>;
|
|
126
|
+
}
|
|
127
|
+
export declare function isRunnerArgsSchema(value: unknown): value is RunnerArgsSchema;
|
|
128
|
+
interface SplitRunArgv {
|
|
129
|
+
host?: string;
|
|
130
|
+
verb?: string;
|
|
131
|
+
/** `ph run`'s own arguments (`--debug`, `--explain <topic>`, help). */
|
|
132
|
+
own: string[];
|
|
133
|
+
/** Everything else, in order: the runner's. */
|
|
134
|
+
argv: string[];
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Splits what follows `ph run`. The host and the verb come before the
|
|
138
|
+
* runner's arguments: `ph run` does not know which of those take a value, so
|
|
139
|
+
* a bare word after the first of them belongs to the runner. A literal `--`
|
|
140
|
+
* hands over everything after it.
|
|
141
|
+
*/
|
|
142
|
+
export declare function splitRunArgv(args: readonly string[]): SplitRunArgv;
|
|
143
|
+
interface RunnerArgvTarget {
|
|
144
|
+
/** The host's folder name under hosts/. */
|
|
145
|
+
host: string;
|
|
146
|
+
/** The runner's specifier. */
|
|
147
|
+
runner: string;
|
|
148
|
+
/** The runner module's `argsSchema` export. */
|
|
149
|
+
schema: unknown;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* The arguments a standalone runner receives as `ctx.argv`: `argv` checked
|
|
153
|
+
* against the runner's schema, retired switches warned about and dropped.
|
|
154
|
+
* Nothing is dropped silently: an argument the runner does not accept, or any
|
|
155
|
+
* argument for a runner without a schema, fails.
|
|
156
|
+
*/
|
|
157
|
+
export declare function checkRunnerArgv(argv: readonly string[], target: RunnerArgvTarget): string[];
|
|
158
|
+
interface CompoundArgvMember {
|
|
159
|
+
/** The member's key in the compound's `children`. */
|
|
160
|
+
key: string;
|
|
161
|
+
/** The member runner's specifier. */
|
|
162
|
+
runner: string;
|
|
163
|
+
/** The member runner module's `argsSchema` export. */
|
|
164
|
+
schema: unknown;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* A compound's arguments, per member key: each member gets the ones its
|
|
168
|
+
* runner accepts. A member option arrives under its member name
|
|
169
|
+
* (`--switchboard-port 4001` reaches that member as `--port 4001`). An
|
|
170
|
+
* argument no member accepts fails, as does one that would set the same
|
|
171
|
+
* option on several members.
|
|
172
|
+
*/
|
|
173
|
+
export declare function splitCompoundArgv(argv: readonly string[], host: string, members: readonly CompoundArgvMember[]): Map<string, string[]>;
|
|
174
|
+
//#endregion
|
|
105
175
|
//#region src/run-record-schema.d.ts
|
|
106
176
|
export declare const runRecordMemberSchema: z.ZodObject<{
|
|
107
177
|
host: z.ZodString;
|
|
@@ -170,11 +240,12 @@ export declare function isPidAlive(pid: number): boolean;
|
|
|
170
240
|
/**
|
|
171
241
|
* Decide whether the recorded instance is this project's live host.
|
|
172
242
|
*
|
|
173
|
-
* pid liveness alone proves nothing (pids are reused)
|
|
243
|
+
* pid liveness alone proves nothing (pids are reused): a live pid counts
|
|
244
|
+
* only when its process started before the record was written. The recorded
|
|
174
245
|
* projectName is what separates "my instance" from "a different project that
|
|
175
246
|
* happens to hold this storage root" — the confusion the vetra lock exists to
|
|
176
|
-
* prevent. A stale record (dead pid) is reported so the caller can
|
|
177
|
-
* foreign one (live pid, different project) is left alone.
|
|
247
|
+
* prevent. A stale record (dead or reused pid) is reported so the caller can
|
|
248
|
+
* clear it; a foreign one (live pid, different project) is left alone.
|
|
178
249
|
*/
|
|
179
250
|
export declare function probeRun(projectDir: string, hostName: string, projectName: string, env?: Env$1): RunProbe;
|
|
180
251
|
//#endregion
|
|
@@ -371,6 +442,13 @@ interface ResolveOptions {
|
|
|
371
442
|
*/
|
|
372
443
|
export declare function resolveHostOutputs<T>(host: T, sources: ResolveSources): T;
|
|
373
444
|
export declare function resolveHostOutputs<T>(host: T, sources: ResolveSources, options: ResolveOptions): DeferredResolution<T>;
|
|
445
|
+
/**
|
|
446
|
+
* What a one-shot verb (build) gets for a `$map`: no outputs exist there, so
|
|
447
|
+
* every map in `declared` renders no elements (`[]`, or `{}` with into:
|
|
448
|
+
* "record") at its path in `host`, the declared-form parse of `declared`.
|
|
449
|
+
* Other tokens stay, as they do in token-able fields.
|
|
450
|
+
*/
|
|
451
|
+
export declare function emptyMaps<T>(host: T, declared: unknown): T;
|
|
374
452
|
//#endregion
|
|
375
453
|
//#region src/check-host.d.ts
|
|
376
454
|
interface CheckHostOptions {
|
|
@@ -674,6 +752,21 @@ interface DeadConfigWarning {
|
|
|
674
752
|
owner: string;
|
|
675
753
|
message: string;
|
|
676
754
|
}
|
|
755
|
+
/**
|
|
756
|
+
* The composition that serves `config` as Connect serves it with none, for a
|
|
757
|
+
* host that declares no `runner.plugins`. `config` is the connect block
|
|
758
|
+
* Connect would be served without a composition.
|
|
759
|
+
*
|
|
760
|
+
* A built-in configured through its entry is always in it, its entry holding
|
|
761
|
+
* the values `config` has at the slices it owns: composed in, the plugin
|
|
762
|
+
* serves those values again (an unset one falls back to the same default).
|
|
763
|
+
* A built-in whose presence is its switch is in it only where `config`
|
|
764
|
+
* already has that switch on, since composing it in would turn it on.
|
|
765
|
+
*/
|
|
766
|
+
export declare function defaultConnectComposition(config: Record<string, unknown> | undefined): {
|
|
767
|
+
module: string;
|
|
768
|
+
config: Record<string, unknown>;
|
|
769
|
+
}[];
|
|
677
770
|
/**
|
|
678
771
|
* Dead-config warnings for a Connect host (typed-host-configs 1.6): an
|
|
679
772
|
* authored connect config value whose owning plugin is not in the
|
|
@@ -1299,6 +1392,6 @@ interface MemberInput extends Omit<ExpectHostInput, "members" | "plan"> {
|
|
|
1299
1392
|
*/
|
|
1300
1393
|
export declare function expectHost(input: ExpectHostInput): HostExpectation;
|
|
1301
1394
|
//#endregion
|
|
1302
|
-
export { type ArrayMapToken, type BootCheckContext, type BootIssue, type BuiltinEnv, CONNECT_PRIMARY_MESSAGE, CONNECT_RUNNER, type CheckDeferred, type CheckHostOptions, type CheckHostResult, type CheckStage, type ChildWrapper, type CompoundHost, type CompoundHostInput, type CompoundPlan, type CompoundWiring, type ConcatToken, type ConnectPluginSlices, type ConnectReactorProjection, type ConnectRouterSettings, type ConnectStorageKind, type ConsumedOutput, type ContributedDrive, type ContributedDriveInput, type ContributionSource, type Contributions, type DeadConfigWarning, type DeclaredHostOptions, type DeclaredIssue, type DeferredResolution, type DeferredToken, type DriveDeclaration, type DrivePlanEntry, type DriveProjectionInput, type DriveSeederClient, type EnvToken, type ExpectHostInput, type ExpectedBackend, type ExpectedDrive, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, type HostDefinition, type HostExit, type HostExpectation, type HostExport, type HostImports, type HostIssue, type HostOutputsDescription, type HostPlugin, type HostPluginModule, type HostSchemaIssue, type HostSchemaIssues, type HostSchemaLike, type HostSchemas, type HostsFolderStatus, type ItemToken, type KeyToken, type LoadedHost, type MapToken, type MemberDraft, type MemberExpectation, type MemberInput, type MergedContribution, type NormalizedPluginEntry, ONE_SHOT_VERBS, ORIGIN_PLACEHOLDER, type Observe, type OutputLookup, type OutputPath, type OutputRef, type OutputSource, type OutputToken, type OutputsSchemaLookup, type OwnedConfigSlice, type PHHost, type PHHostOutputs, type PlacedConnectDrives, type PlacementKeyIssue, type PlanEdge, type PlanMember, type PluginContributionsPlan, type PluginEntry, type PluginEntryData, type ProducerInfo, type ProducerMap, type Profile, type ProjectedDescriptor, type ProjectedStorage, type Provide, type ReactorBackend, type ReactorBackendKind, type ReactorClientMode, type ReactorConfig, type ReactorHost, type ReactorHostInput, type ReactorPackageConfig, type ReactorProtocol, type ReactorRemoteConfig, type ReactorStorageConfig, type RecordMapToken, type RefFn, type RemovedForm, type ResolveOptions, type ResolveSources, type ResolvedDrive, type ResolvedPlugin, type RunCompoundOptions, type RunCompoundResult, type RunProbe, type RunRecord, type RunRecordMember, type RunnerBase, type RunnerContext, RunnerError, type RunnerHandle, type RunnerHandleData, type RunnerIssue, type RunnerKind, type RunnerModule, type RunnerVerb, SWITCHBOARD_PROXY_PATHS, type SchemaIssue, type SeedResult, type SelfMembers, type ServedRemoteBackend, type SpawnHostOptions, type SpawnHostPhase, type SpawnedHost, type StartedHandle, type SwitchboardDrive, type SwitchboardReactorLayer, TOKEN_ESCAPE_KEY, TOKEN_KEYS, type Template, type Token, type TokenFor, type TokenKey, type TokenMode, type TokenPosition, type TokenSite, type TokenableSchema, type Transform, type ValidateHostOptions, applyChildWrapper, checkOutputPaths, checkTokenSites, childWrapperSchema, childrenSchema, compoundHostSchema, compoundWiringSchema, concatTokenSchema, connectReactorIssues, declaredGenericCompoundHostSchema, declaredHostSchemas, defineHostSchemas, driveAddressMessage, emitHostJsonSchema, emittedHostSchemas, envSitesOf, envTokenSchema, envTokenable, findToken, forbidRef, genericCompoundHostSchema, getVerb, hostNameSchema, hostSchemaIssues, isHtmlNavigation, isOriginPlaceholderUrl, isSchemaLike, isSwitchboardProxyPath, isToken, itemTokenSchema, keyTokenSchema, kindShapeIssues, knownVerbIssues, listVerbs, makeHostSchemas, mapTokenSchema, originOrUrlSchema, outputRefsOf, outputSitesOf, outputTokenSchema, placementKeyIssues, profileSchema, reactorBackendKindSchema, reactorBackendSchema, reactorHostSchema, reactorProtocolSchema, reactorSchema, ref, refKey, refineConnectReactor, refineStartOrder, resolveOriginPlaceholders, resolveRunnerModule, runCompound, runnerBaseSchema, runnerHandleSchema, runnerKindSchema, schemaAtPath, switchboardOfDrive, toOriginPlaceholder, toStartedHandle, tokenKeyOf, tokenSchema, tokenable, validateDeclaredHost, validateHost, withOriginPlaceholders };
|
|
1395
|
+
export { type ArrayMapToken, type BootCheckContext, type BootIssue, type BuiltinEnv, CONNECT_PRIMARY_MESSAGE, CONNECT_RUNNER, type CheckDeferred, type CheckHostOptions, type CheckHostResult, type CheckStage, type ChildWrapper, type CompoundArgvMember, type CompoundHost, type CompoundHostInput, type CompoundPlan, type CompoundWiring, type ConcatToken, type ConnectPluginSlices, type ConnectReactorProjection, type ConnectRouterSettings, type ConnectStorageKind, type ConsumedOutput, type ContributedDrive, type ContributedDriveInput, type ContributionSource, type Contributions, type DeadConfigWarning, type DeclaredHostOptions, type DeclaredIssue, type DeferredResolution, type DeferredToken, type DriveDeclaration, type DrivePlanEntry, type DriveProjectionInput, type DriveSeederClient, type EnvToken, type ExpectHostInput, type ExpectedBackend, type ExpectedDrive, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, type HostDefinition, type HostExit, type HostExpectation, type HostExport, type HostImports, type HostIssue, type HostOutputsDescription, type HostPlugin, type HostPluginModule, type HostSchemaIssue, type HostSchemaIssues, type HostSchemaLike, type HostSchemas, type HostsFolderStatus, type ItemToken, type KeyToken, type LoadedHost, type MapToken, type MemberDraft, type MemberExpectation, type MemberInput, type MergedContribution, type NormalizedPluginEntry, ONE_SHOT_VERBS, ORIGIN_PLACEHOLDER, type Observe, type OutputLookup, type OutputPath, type OutputRef, type OutputSource, type OutputToken, type OutputsSchemaLookup, type OwnedConfigSlice, type PHHost, type PHHostOutputs, type PlacedConnectDrives, type PlacementKeyIssue, type PlanEdge, type PlanMember, type PluginContributionsPlan, type PluginEntry, type PluginEntryData, type ProducerInfo, type ProducerMap, type Profile, type ProjectedDescriptor, type ProjectedStorage, type Provide, type ReactorBackend, type ReactorBackendKind, type ReactorClientMode, type ReactorConfig, type ReactorHost, type ReactorHostInput, type ReactorPackageConfig, type ReactorProtocol, type ReactorRemoteConfig, type ReactorStorageConfig, type RecordMapToken, type RefFn, type RemovedForm, type ResolveOptions, type ResolveSources, type ResolvedDrive, type ResolvedPlugin, type RunCompoundOptions, type RunCompoundResult, type RunProbe, type RunRecord, type RunRecordMember, type RunnerArgsSchema, type RunnerArgvTarget, type RunnerBase, type RunnerContext, RunnerError, type RunnerHandle, type RunnerHandleData, type RunnerIssue, type RunnerKind, type RunnerModule, type RunnerVerb, STORE_VERBS, SWITCHBOARD_PROXY_PATHS, type SchemaIssue, type SeedResult, type SelfMembers, type ServedRemoteBackend, type SpawnHostOptions, type SpawnHostPhase, type SpawnedHost, type SplitRunArgv, type StartedHandle, type SwitchboardDrive, type SwitchboardReactorLayer, TOKEN_ESCAPE_KEY, TOKEN_KEYS, type Template, type Token, type TokenFor, type TokenKey, type TokenMode, type TokenPosition, type TokenSite, type TokenableSchema, type Transform, type ValidateHostOptions, applyChildWrapper, checkOutputPaths, checkTokenSites, childWrapperSchema, childrenSchema, compoundHostSchema, compoundWiringSchema, concatTokenSchema, connectReactorIssues, declaredGenericCompoundHostSchema, declaredHostSchemas, defineHostSchemas, driveAddressMessage, emitHostJsonSchema, emittedHostSchemas, envSitesOf, envTokenSchema, envTokenable, findToken, forbidRef, genericCompoundHostSchema, getVerb, hostNameSchema, hostSchemaIssues, isHtmlNavigation, isOriginPlaceholderUrl, isSchemaLike, isSwitchboardProxyPath, isToken, itemTokenSchema, keyTokenSchema, kindShapeIssues, knownVerbIssues, listVerbs, makeHostSchemas, mapTokenSchema, originOrUrlSchema, outputRefsOf, outputSitesOf, outputTokenSchema, placementKeyIssues, profileSchema, reactorBackendKindSchema, reactorBackendSchema, reactorHostSchema, reactorProtocolSchema, reactorSchema, ref, refKey, refineConnectReactor, refineStartOrder, resolveOriginPlaceholders, resolveRunnerModule, runCompound, runnerBaseSchema, runnerHandleSchema, runnerKindSchema, schemaAtPath, switchboardOfDrive, toOriginPlaceholder, toStartedHandle, tokenKeyOf, tokenSchema, tokenable, validateDeclaredHost, validateHost, withOriginPlaceholders };
|
|
1303
1396
|
export {};
|
|
1304
1397
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/host-loader.ts","../src/run-record-schema.ts","../src/run-record.ts","../src/spawn-host.ts","../src/host-issues.ts","../src/env-substitution.ts","../src/resolve/resolve.ts","../src/check-host.ts","../src/host-export-schema.ts","../src/host-export.ts","../src/placeholders.ts","../src/host-types.ts","../src/plugins.ts","../src/plugins-resolve.ts","../src/drive-schema.ts","../src/drives.ts","../src/backend-projection.ts","../src/reactor-config.ts","../src/connect-projection.ts","../src/resolve/plan.ts","../src/resolve/removed-forms.ts","../src/resolve/sources.ts","../src/resolve/walk.ts","../src/resolve/node.ts","../src/expect-host.ts"],"mappings":";;;;;;qBAiCa,sBAAsB;EACjC,YAAY,iBAAiB;;KAMnB;EACN;;EACA;EAAe;;EACf;EAAiB;EAAa;;;;;wBAKpB,iBAAiB,sBAAsB;;qBAwB1C;;;;wBAsGG,cAAc;;UA8Bb;;EAEf;;EAEA;;;;;;;;wBASc,gBAAgB,mBAAmB,eAAe;;;wBAoClD,gBAAgB,mBAAmB;;;wBAMnC,gBAAgB,mBAAmB;;;;;wBAoBnC,oBACd,kBACA;;;wBA0Cc,mBACd,gBACA;UA8Be;EACf;EACA;EACA;EACA,MAAM;;wBA2Bc,SACpB,qBACA,mBACC,QAAQ;;;UAqEM;;EAEf;EACA;;EAEA,eAAe;;;;EAIf;EACA;;;wBAMc,oBAAoB;;;;wBAoBpB,mBAAmB;EACjC;EACA;EACA,eAAe;EACf;;;;;;;;;;;;;;;wBAiDoB,oBACpB,qBACA,mBACC,QAAQ;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/host-loader.ts","../src/runner-args.ts","../src/run-record-schema.ts","../src/run-record.ts","../src/spawn-host.ts","../src/host-issues.ts","../src/env-substitution.ts","../src/resolve/resolve.ts","../src/check-host.ts","../src/host-export-schema.ts","../src/host-export.ts","../src/placeholders.ts","../src/host-types.ts","../src/plugins.ts","../src/plugins-resolve.ts","../src/drive-schema.ts","../src/drives.ts","../src/backend-projection.ts","../src/reactor-config.ts","../src/connect-projection.ts","../src/resolve/plan.ts","../src/resolve/removed-forms.ts","../src/resolve/sources.ts","../src/resolve/walk.ts","../src/resolve/node.ts","../src/expect-host.ts"],"mappings":";;;;;;qBAiCa,sBAAsB;EACjC,YAAY,iBAAiB;;KAMnB;EACN;;EACA;EAAe;;EACf;EAAiB;EAAa;;;;;wBAKpB,iBAAiB,sBAAsB;;qBAwB1C;;;;wBAsGG,cAAc;;UA8Bb;;EAEf;;EAEA;;;;;;;;wBASc,gBAAgB,mBAAmB,eAAe;;;wBAoClD,gBAAgB,mBAAmB;;;wBAMnC,gBAAgB,mBAAmB;;;;;wBAoBnC,oBACd,kBACA;;;wBA0Cc,mBACd,gBACA;UA8Be;EACf;EACA;EACA;EACA,MAAM;;wBA2Bc,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AAK,cAAc;;;;qBAiBV;KAER,MAAM,SAAS;;;;;;;;;;;wBA0BJ,sBACd,qBACA;EACE;EACA,WAAW;EACX;EACA,MAAM;IAEP;;;wBA4Ea,kBACd,qBACA,MAAK,SAAS,sCACb,KAAK;;;;;;;;;;;;;;UC/KS;EACf;EACA,MAAM;EACN,UAAU;;EAEV;;;;;EAKA;;;;;;UAOe;EACf;EACA;;EAEA;;EAEA;EACA;EACA;;;UAIe;;EAEf;EACA;EACA;EACA,MAAM;;UAGS;EACf;EACA,MAAM;;;EAGN;;EAEA,aAAa;;EAEb;EACA,WAAW;;EAEX;EACA,SAAS;;EAET;EACA,UAAU;;EAEV;;EAEA;;EAEA,UAAU,eAAe;;UAGV,0BAA0B,KACzC;;EAIA;;EAEA;;;;UAKe;EACf,aAAa;EACb;;UAGe;EACf,MAAM;;;EAGN,UAAU;;EAEV,WAAW;;EAEX,uBAAuB;;EAEvB,mBAAmB;;EAEnB,OAAO;;UAGQ,oBAAoB,KAAK;EACxC;EACA;;;;;;;;wBAgKc,WAAW,OAAO,kBAAkB"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as knownVerbIssues, $t as reactorSchema, A as splitCompoundArgv, An as entryActiveForVerb, At as HOST_NAME_MAX_LENGTH, B as loadHost, Bn as runObserveHookSequential, Bt as defineHostSchemas, C as readProjectName, Cn as tokenable, Ct as collectTokenSites, D as runRecordSchema, Dn as resolveHostPlugins, Dt as renderTokens, E as runRecordMemberSchema, En as findDeadConnectConfig, Et as isPlainObject, F as describeHostOutputs, Fn as pluginEntryObjectSchema, Ft as compoundHostSchema, G as CONNECT_RUNNER, Gt as makeHostSchemas, H as readOutputsFileHash, Hn as runTransformHook, Ht as emittedHostSchemas, I as findNonStaticValue, In as pluginEntrySchema, It as compoundWiringSchema, J as STORE_VERBS, Jt as profileSchema, K as ONE_SHOT_VERBS, Kt as originOrUrlSchema, L as lintHostImportGraph, Ln as registerHostType, Lt as connectReactorIssues, M as HostLoadError, Mn as mergeContributions, Mt as HOST_NAME_PATTERN, N as OUTPUTS_FILE, Nn as normalizePluginEntries, Nt as childWrapperSchema, O as checkRunnerArgv, On as resolvePluginContributions, Ot as unwrapEscapes, P as computeOutputsHash, Pn as normalizePluginEntry, Pt as childrenSchema, Q as kindShapeIssues, Qt as reactorProtocolSchema, R as lintHostImports, Rn as resolveOrder, Rt as declaredGenericCompoundHostSchema, S as probeRun, Sn as tokenSchema, St as schemaAtPath, T as writeRunRecord, Tn as defaultConnectComposition, Tt as formatPath, U as scanHostImports, Ut as genericCompoundHostSchema, V as probeHostsFolder, Vn as runProvideHook, Vt as emitHostJsonSchema, W as stripComments, Wt as hostNameSchema, X as hostSchemaIssues, Xt as reactorBackendSchema, Y as getVerb, Yt as reactorBackendKindSchema, Z as isSchemaLike, Zt as reactorHostSchema, _ as resolveUserDataPlaceholders, _n as keyTokenSchema, _t as checkTokenSites, an as driveDeclarationSchema, at as describeMapElements, b as isPidAlive, bn as ref, bt as outputSitesOf, c as toStartedHandle, cn as TOKEN_ESCAPE_KEY, ct as unsetEnvMessage, d as loadProducers, dn as envTokenSchema, dt as planCompound, en as refineConnectReactor, et as listVerbs, f as processResolveEnv, fn as envTokenable, ft as BUILTIN_ENV_NAMES, g as defaultUserDataDir, gn as itemTokenSchema, gt as checkOutputPaths, h as runnerOutputsSchema, hn as isToken, ht as findRemovedForms, i as runCompound, in as buildDriveDeclarationSchema, it as TokenResolutionError, j as splitRunArgv, jn as hostTypeSatisfies, jt as HOST_NAME_MESSAGE, k as isRunnerArgsSchema, kn as PluginError, kt as CONNECT_PRIMARY_MESSAGE, l as compoundOutputSource, ln as TOKEN_KEYS, lt as PlanError, m as runRecordOutputSource, mn as forbidRef, mt as substituteBuiltinEnv, n as memberVerbOf, nn as runnerBaseSchema, nt as validateDeclaredHost, o as takesCspRegistrySync, on as drivesSchema, ot as emptyMaps, p as producerOutputsSchemas, pn as findToken, pt as isBuiltinEnvName, q as RunnerError, qt as placementKeyIssues, r as prepareMember, rn as runnerKindSchema, rt as validateHost, s as runnerHandleSchema, sn as projectDriveIdWith, st as resolveHostOutputs, t as compoundStartVerb, tn as refineStartOrder, tt as resolveRunnerModule, u as OUTPUT_DATA_DIRS_ENV, un as concatTokenSchema, ut as memberForRef, v as applyChildWrapper, vn as mapTokenSchema, vt as envSitesOf, w as readRunRecord, wn as CONNECT_PLUGIN_OWNED_SLICES, wt as describeToken, x as listRunRecords, xn as tokenKeyOf, xt as refKey, y as clearRunRecord, yn as outputTokenSchema, yt as outputRefsOf, z as lintOutputsFile, zn as runObserveHook, zt as declaredHostSchemas } from "./compound-CDrU3CLt.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -55,7 +55,6 @@ function childEnv(dataDir, env = {}) {
|
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
57
|
...base,
|
|
58
|
-
FEATURE_UNIFORM_RUNNERS_ENABLED: "1",
|
|
59
58
|
PH_USER_DATA_DIR: dataDir,
|
|
60
59
|
PH_NO_TELEMETRY: "1",
|
|
61
60
|
PH_NO_DOTENV: "1",
|
|
@@ -68,7 +67,7 @@ function resolvePhCliEntry(projectRoot) {
|
|
|
68
67
|
}
|
|
69
68
|
/** Readiness waits for a record; refuse a host/verb that writes none. */
|
|
70
69
|
async function assertWritesRecord(projectRoot, host, verb) {
|
|
71
|
-
if (verb !== void 0 && ONE_SHOT_VERBS.has(verb)) throw new Error(`spawnHost: "${verb}" is a one-shot verb; it writes no run record to wait for.`);
|
|
70
|
+
if (verb !== void 0 && (ONE_SHOT_VERBS.has(verb) || STORE_VERBS.has(verb))) throw new Error(`spawnHost: "${verb}" is a one-shot verb; it writes no run record to wait for.`);
|
|
72
71
|
const loaded = await loadHost(projectRoot, host);
|
|
73
72
|
const specifier = loaded.host.runner.module;
|
|
74
73
|
const runner = await resolveRunnerModule(projectRoot, specifier);
|
|
@@ -1176,6 +1175,6 @@ function expectHost(input) {
|
|
|
1176
1175
|
return expectation;
|
|
1177
1176
|
}
|
|
1178
1177
|
//#endregion
|
|
1179
|
-
export { BUILTIN_ENV_NAMES, CONNECT_PLUGIN_OWNED_SLICES, CONNECT_PRIMARY_MESSAGE, CONNECT_RUNNER, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, HostLoadError, ONE_SHOT_VERBS, ORIGIN_PLACEHOLDER, OUTPUTS_FILE, OUTPUT_DATA_DIRS_ENV, PlanError, PluginError, RunnerError, SPAWN_STOPPING_NOTE, SWITCHBOARD_PROXY_PATHS, SpawnHostError, TOKEN_ESCAPE_KEY, TOKEN_KEYS, TokenResolutionError, applyChildWrapper, assertProtocolConsistency, backendToDescriptor, backendsToDescriptors, browserBackend, buildDriveDeclarationSchema, checkHost, checkOutputPaths, checkTokenSites, childWrapperSchema, childrenSchema, clearRunRecord, collectTokenSites, compoundHostSchema, compoundOutputSource, compoundWiringSchema, computeOutputsHash, concatTokenSchema, connectReactorIssues, declaredGenericCompoundHostSchema, declaredHostSchemas, defaultUserDataDir, defineHostSchemas, describeHostOutputs, describeMapElements, describeToken, driveAddressMessage, driveDeclarationSchema, drivesSchema, emitHostJsonSchema, emittedHostSchemas, entryActiveForVerb, envSitesOf, envTokenSchema, envTokenable, expectHost, explainDrivePlan, exportHost, findDeadConnectConfig, findNonStaticValue, findRemovedForms, findToken, forbidRef, formatPath, genericCompoundHostSchema, getVerb, hostExportSchema, hostNameSchema, hostSchemaIssues, hostTypeSatisfies, isBuiltinEnvName, isHtmlNavigation, isOriginPlaceholderUrl, isPidAlive, isSchemaLike, isStructuralMultiReactor, isSwitchboardProxyPath, isToken, itemTokenSchema, keyTokenSchema, kindShapeIssues, knownVerbIssues, lintHostImportGraph, lintHostImports, lintOutputsFile, listRunRecords, listVerbs, loadHost, loadProducers, makeHostSchemas, mapTokenSchema, memberForRef, mergeContributions, mergeDefaultDrives, mergeDrivePlan, normalizePluginEntries, normalizePluginEntry, originOrUrlSchema, outputRefsOf, outputSitesOf, outputTokenSchema, placeConnectDrives, placementKeyIssues, planCompound, pluginEntryObjectSchema, pluginEntrySchema, primaryBackend, probeHostsFolder, probeRun, processResolveEnv, producerOutputsSchemas, profileSchema, projectDriveId, projectDriveIdWith, projectDrivesIntoConnect, projectReactorToConnect, protocolConflicts, protocolEnv, protocolEnvAgrees, reactorBackendKindSchema, reactorBackendSchema, reactorBlockToSwitchboardConfig, reactorClientMode, reactorHostSchema, reactorProtocolSchema, reactorSchema, readOutputsFileHash, readProjectName, readRunRecord, rebaseDriveUrl, ref, refKey, refineConnectReactor, refineStartOrder, registerHostType, remoteBackendUrls, remoteBackends, renderTokens, resolveDriveDeclaration, resolveHostOutputs, resolveHostPlugins, resolveOrder, resolveOriginPlaceholders, resolvePluginContributions, resolveRunnerModule, resolveUserDataPlaceholders, runCompound, runObserveHook, runObserveHookSequential, runProvideHook, runRecordMemberSchema, runRecordOutputSource, runRecordSchema, runTransformHook, runnerBaseSchema, runnerHandleSchema, runnerKindSchema, runnerOutputsSchema, scanHostImports, schemaAtPath, seedDrives, spawnHost, stripComments, substituteBuiltinEnv, switchboardOfDrive, toOriginPlaceholder, toStartedHandle, tokenKeyOf, tokenSchema, tokenable, unservedConnectStorage, unwrapEscapes, validateDeclaredHost, validateHost, withOriginPlaceholders, writeRunRecord };
|
|
1178
|
+
export { BUILTIN_ENV_NAMES, CONNECT_PLUGIN_OWNED_SLICES, CONNECT_PRIMARY_MESSAGE, CONNECT_RUNNER, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, HostLoadError, ONE_SHOT_VERBS, ORIGIN_PLACEHOLDER, OUTPUTS_FILE, OUTPUT_DATA_DIRS_ENV, PlanError, PluginError, RunnerError, SPAWN_STOPPING_NOTE, STORE_VERBS, SWITCHBOARD_PROXY_PATHS, SpawnHostError, TOKEN_ESCAPE_KEY, TOKEN_KEYS, TokenResolutionError, applyChildWrapper, assertProtocolConsistency, backendToDescriptor, backendsToDescriptors, browserBackend, buildDriveDeclarationSchema, checkHost, checkOutputPaths, checkRunnerArgv, checkTokenSites, childWrapperSchema, childrenSchema, clearRunRecord, collectTokenSites, compoundHostSchema, compoundOutputSource, compoundWiringSchema, computeOutputsHash, concatTokenSchema, connectReactorIssues, declaredGenericCompoundHostSchema, declaredHostSchemas, defaultConnectComposition, defaultUserDataDir, defineHostSchemas, describeHostOutputs, describeMapElements, describeToken, driveAddressMessage, driveDeclarationSchema, drivesSchema, emitHostJsonSchema, emittedHostSchemas, emptyMaps, entryActiveForVerb, envSitesOf, envTokenSchema, envTokenable, expectHost, explainDrivePlan, exportHost, findDeadConnectConfig, findNonStaticValue, findRemovedForms, findToken, forbidRef, formatPath, genericCompoundHostSchema, getVerb, hostExportSchema, hostNameSchema, hostSchemaIssues, hostTypeSatisfies, isBuiltinEnvName, isHtmlNavigation, isOriginPlaceholderUrl, isPidAlive, isRunnerArgsSchema, isSchemaLike, isStructuralMultiReactor, isSwitchboardProxyPath, isToken, itemTokenSchema, keyTokenSchema, kindShapeIssues, knownVerbIssues, lintHostImportGraph, lintHostImports, lintOutputsFile, listRunRecords, listVerbs, loadHost, loadProducers, makeHostSchemas, mapTokenSchema, memberForRef, mergeContributions, mergeDefaultDrives, mergeDrivePlan, normalizePluginEntries, normalizePluginEntry, originOrUrlSchema, outputRefsOf, outputSitesOf, outputTokenSchema, placeConnectDrives, placementKeyIssues, planCompound, pluginEntryObjectSchema, pluginEntrySchema, primaryBackend, probeHostsFolder, probeRun, processResolveEnv, producerOutputsSchemas, profileSchema, projectDriveId, projectDriveIdWith, projectDrivesIntoConnect, projectReactorToConnect, protocolConflicts, protocolEnv, protocolEnvAgrees, reactorBackendKindSchema, reactorBackendSchema, reactorBlockToSwitchboardConfig, reactorClientMode, reactorHostSchema, reactorProtocolSchema, reactorSchema, readOutputsFileHash, readProjectName, readRunRecord, rebaseDriveUrl, ref, refKey, refineConnectReactor, refineStartOrder, registerHostType, remoteBackendUrls, remoteBackends, renderTokens, resolveDriveDeclaration, resolveHostOutputs, resolveHostPlugins, resolveOrder, resolveOriginPlaceholders, resolvePluginContributions, resolveRunnerModule, resolveUserDataPlaceholders, runCompound, runObserveHook, runObserveHookSequential, runProvideHook, runRecordMemberSchema, runRecordOutputSource, runRecordSchema, runTransformHook, runnerBaseSchema, runnerHandleSchema, runnerKindSchema, runnerOutputsSchema, scanHostImports, schemaAtPath, seedDrives, spawnHost, splitCompoundArgv, splitRunArgv, stripComments, substituteBuiltinEnv, switchboardOfDrive, toOriginPlaceholder, toStartedHandle, tokenKeyOf, tokenSchema, tokenable, unservedConnectStorage, unwrapEscapes, validateDeclaredHost, validateHost, withOriginPlaceholders, writeRunRecord };
|
|
1180
1179
|
|
|
1181
1180
|
//# sourceMappingURL=index.mjs.map
|