@powerhousedao/host-core 6.2.3-dev.81 → 6.2.3-dev.83
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-C7GuPnTP.mjs → compound-GhJAA2dK.mjs} +26 -2
- package/dist/compound-GhJAA2dK.mjs.map +1 -0
- package/dist/{compound-fPleFc-P.d.mts → compound-NxCal3db.d.mts} +8 -2
- package/dist/compound-NxCal3db.d.mts.map +1 -0
- package/dist/{env-substitution-CzlXbvQJ.mjs → env-substitution-CN_oSVVY.mjs} +26 -2
- package/dist/env-substitution-CN_oSVVY.mjs.map +1 -0
- package/dist/{host-schemas-ByrS_x_Z.d.mts → host-schemas-DtKFmLd0.d.mts} +8 -2
- package/dist/host-schemas-DtKFmLd0.d.mts.map +1 -0
- package/dist/index.d.mts +19 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +123 -65
- package/dist/index.mjs.map +1 -1
- package/dist/{plugins-CUY86XvH.d.mts → plugins-C1Rjl-zt.d.mts} +2 -2
- package/dist/{plugins-CUY86XvH.d.mts.map → plugins-C1Rjl-zt.d.mts.map} +1 -1
- package/dist/plugins.d.mts +1 -1
- package/dist/projection.d.mts +6 -2
- package/dist/projection.d.mts.map +1 -1
- package/dist/projection.mjs +80 -63
- package/dist/projection.mjs.map +1 -1
- package/dist/runners/compound.d.mts +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-C7GuPnTP.mjs.map +0 -1
- package/dist/compound-fPleFc-P.d.mts.map +0 -1
- package/dist/env-substitution-CzlXbvQJ.mjs.map +0 -1
- package/dist/host-schemas-ByrS_x_Z.d.mts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as resolveHostOutputs, $t as
|
|
1
|
+
import { $ as resolveHostOutputs, $t as concatTokenSchema, A as findNonStaticValue, An as runTransformHook, At as defineHostSchemas, B as ONE_SHOT_VERBS, Bt as reactorBackendSchema, C as writeRunRecord, Cn as pluginEntryObjectSchema, Ct as HOST_NAME_PATTERN, D as OUTPUTS_FILE, Dn as runObserveHook, Dt as compoundWiringSchema, E as HostLoadError, En as resolveOrder, Et as compoundHostSchema, F as probeHostsFolder, Ft as makeHostSchemas, G as kindShapeIssues, Gt as runnerBaseSchema, H as getVerb, Ht as reactorProtocolSchema, I as readOutputsFileHash, It as originOrUrlSchema, J as resolveRunnerModule, Jt as driveDeclarationSchema, K as knownVerbIssues, Kt as runnerKindSchema, L as scanHostImports, Lt as placementKeyIssues, M as lintHostImports, Mt as emittedHostSchemas, N as lintOutputsFile, Nt as genericCompoundHostSchema, O as computeOutputsHash, On as runObserveHookSequential, Ot as declaredGenericCompoundHostSchema, P as loadHost, Pt as hostNameSchema, Q as describeMapElements, Qt as TOKEN_KEYS, R as stripComments, Rt as profileSchema, S as readRunRecord, Sn as normalizePluginEntry, St as HOST_NAME_MESSAGE, T as runRecordSchema, Tn as registerHostType, Tt as childrenSchema, U as hostSchemaIssues, Ut as reactorSchema, V as RunnerError, Vt as reactorHostSchema, W as isSchemaLike, Wt as refineStartOrder, X as validateHost, Xt as projectDriveIdWith, Y as validateDeclaredHost, Yt as drivesSchema, Z as TokenResolutionError, Zt as TOKEN_ESCAPE_KEY, _ as clearRunRecord, _n as PluginError, _t as formatPath, a as takesCspRegistrySync, an as itemTokenSchema, at as isBuiltinEnvName, b as probeRun, bn as mergeContributions, bt as unwrapEscapes, c as compoundOutputSource, cn as outputTokenSchema, ct as checkOutputPaths, d as producerOutputsSchemas, dn as tokenSchema, dt as outputRefsOf, en as envTokenSchema, et as unsetEnvMessage, f as runRecordOutputSource, fn as tokenable, ft as outputSitesOf, g as applyChildWrapper, gn as resolvePluginContributions, gt as describeToken, h as resolveUserDataPlaceholders, hn as resolveHostPlugins, ht as collectTokenSites, i as runCompound, in as isToken, it as BUILTIN_ENV_NAMES, j as lintHostImportGraph, jt as emitHostJsonSchema, k as describeHostOutputs, kn as runProvideHook, kt as declaredHostSchemas, l as loadProducers, ln as ref, lt as checkTokenSites, m as defaultUserDataDir, mn as findDeadConnectConfig, mt as schemaAtPath, n as memberVerbOf, nn as findToken, nt as memberForRef, o as runnerHandleSchema, on as keyTokenSchema, ot as substituteBuiltinEnv, p as runnerOutputsSchema, pn as CONNECT_PLUGIN_OWNED_SLICES, pt as refKey, q as listVerbs, qt as buildDriveDeclarationSchema, r as prepareMember, rn as forbidRef, rt as planCompound, s as toStartedHandle, sn as mapTokenSchema, st as findRemovedForms, t as compoundStartVerb, tn as envTokenable, tt as PlanError, u as processResolveEnv, un as tokenKeyOf, ut as envSitesOf, v as isPidAlive, vn as entryActiveForVerb, vt as isPlainObject, w as runRecordMemberSchema, wn as pluginEntrySchema, wt as childWrapperSchema, x as readProjectName, xn as normalizePluginEntries, xt as HOST_NAME_MAX_LENGTH, y as listRunRecords, yn as hostTypeSatisfies, yt as renderTokens, z as CONNECT_RUNNER, zt as reactorBackendKindSchema } from "./compound-GhJAA2dK.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|
|
7
7
|
import { z } from "zod";
|
|
8
|
-
import { driveAddressMessage, switchboardOfDrive } from "@powerhousedao/shared/host-tokens";
|
|
8
|
+
import { driveAddressMessage, switchboardOfDrive, switchboardOfDrive as switchboardOfDrive$1 } from "@powerhousedao/shared/host-tokens";
|
|
9
9
|
import { ORIGIN_PLACEHOLDER, SWITCHBOARD_PROXY_PATHS, isHtmlNavigation, isOriginPlaceholderUrl, isSwitchboardProxyPath, resolveOriginPlaceholders, toOriginPlaceholder, withOriginPlaceholders } from "@powerhousedao/shared/connect/origin-placeholder";
|
|
10
10
|
import { spawn } from "node:child_process";
|
|
11
11
|
import { DRIVE_ICON_MAX_BYTES, resolveImageRef } from "@powerhousedao/shared/connect/image-ref";
|
|
@@ -640,7 +640,82 @@ function explainDrivePlan(plan) {
|
|
|
640
640
|
})].join("\n");
|
|
641
641
|
}
|
|
642
642
|
//#endregion
|
|
643
|
+
//#region src/backend-projection.ts
|
|
644
|
+
function projectStorage(name, storage) {
|
|
645
|
+
switch (storage.kind) {
|
|
646
|
+
case "idb": return { kind: "idb" };
|
|
647
|
+
case "memory": return { kind: "memory" };
|
|
648
|
+
case "path":
|
|
649
|
+
if (!storage.dataDir) throw new Error(`Backend "${name}": storage kind "path" requires dataDir.`);
|
|
650
|
+
return {
|
|
651
|
+
kind: "path",
|
|
652
|
+
dataDir: storage.dataDir
|
|
653
|
+
};
|
|
654
|
+
case "postgres": throw new Error(`Backend "${name}": storage kind "postgres" is server-side only — a provisioned (in-process/worker) reactor cannot use it. Point a "remote" backend at the switchboard that owns that database instead.`);
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
/** One backend → one descriptor. The protocol's featureFlags ride every
|
|
658
|
+
* descriptor (they are fleet consensus, not per-backend). A remote backend
|
|
659
|
+
* must carry remote.url — provision() requires it. */
|
|
660
|
+
function backendToDescriptor(name, backend, protocol) {
|
|
661
|
+
const descriptor = {
|
|
662
|
+
kind: backend.kind,
|
|
663
|
+
name
|
|
664
|
+
};
|
|
665
|
+
if (descriptor.kind === "remote") {
|
|
666
|
+
const url = backend.remote?.url;
|
|
667
|
+
if (!url) throw new Error(`Backend "${name}" is kind "remote" but has no remote.url — a remote descriptor attaches to an already-running reactor by URL.`);
|
|
668
|
+
descriptor.remote = { url };
|
|
669
|
+
return descriptor;
|
|
670
|
+
}
|
|
671
|
+
if (backend.storage) descriptor.storage = projectStorage(name, backend.storage);
|
|
672
|
+
if (backend.packages) descriptor.packages = backend.packages;
|
|
673
|
+
if (protocol?.featureFlags) descriptor.featureFlags = protocol.featureFlags;
|
|
674
|
+
return descriptor;
|
|
675
|
+
}
|
|
676
|
+
/** All named backends, in placement-primary-first order (the order a
|
|
677
|
+
* createReactorClients step would provision them). */
|
|
678
|
+
function backendsToDescriptors(reactor) {
|
|
679
|
+
const backends = reactor?.backends;
|
|
680
|
+
if (!backends) return [];
|
|
681
|
+
const names = Object.keys(backends);
|
|
682
|
+
const primary = reactor.placement?.primary;
|
|
683
|
+
return (primary && names.includes(primary) ? [primary, ...names.filter((n) => n !== primary)] : names).map((name) => backendToDescriptor(name, backends[name], reactor.protocol));
|
|
684
|
+
}
|
|
685
|
+
const LOCAL_KINDS = /* @__PURE__ */ new Set(["in-process", "worker"]);
|
|
686
|
+
/**
|
|
687
|
+
* Structural multi-reactor (phase 4): true when the block names BOTH a local
|
|
688
|
+
* backend (in-process/worker — the tab's own reactor) and a remote one. This
|
|
689
|
+
* is the shape Connect's routing client serves; a lone remote backend is an
|
|
690
|
+
* attach-only host (assistant/agent shape), not a routed tab.
|
|
691
|
+
*/
|
|
692
|
+
function isStructuralMultiReactor(reactor) {
|
|
693
|
+
const backends = reactor?.backends;
|
|
694
|
+
if (!backends) return false;
|
|
695
|
+
const kinds = Object.values(backends).map((b) => b.kind);
|
|
696
|
+
return kinds.some((k) => LOCAL_KINDS.has(k)) && kinds.some((k) => k === "remote");
|
|
697
|
+
}
|
|
698
|
+
/** The remote backends' drive addresses, placement order. */
|
|
699
|
+
function remoteBackendUrls(reactor) {
|
|
700
|
+
return backendsToDescriptors(reactor).filter((d) => d.kind === "remote").map((d) => d.remote?.url).filter((u) => typeof u === "string");
|
|
701
|
+
}
|
|
702
|
+
/** The remote backends by host key, placement order. */
|
|
703
|
+
function remoteBackends(reactor) {
|
|
704
|
+
return backendsToDescriptors(reactor).flatMap((d) => d.kind === "remote" && d.remote ? [{
|
|
705
|
+
name: d.name,
|
|
706
|
+
url: d.remote.url
|
|
707
|
+
}] : []);
|
|
708
|
+
}
|
|
709
|
+
//#endregion
|
|
643
710
|
//#region src/reactor-config.ts
|
|
711
|
+
/**
|
|
712
|
+
* The shared `reactor` host-config block and its projections onto the
|
|
713
|
+
* Switchboard config / Connect runtime config. Phase 2 of uniform-runners: makes
|
|
714
|
+
* the reactor block live through the bridge runners, BEFORE track R replaces
|
|
715
|
+
* the projection with reactor-monitor's provision(). The headline is
|
|
716
|
+
* single-sourced `reactor.protocol` — both projections read the same block, so
|
|
717
|
+
* client and server cannot diverge, and a contradicting pre-set env fails boot.
|
|
718
|
+
*/
|
|
644
719
|
/** The single primary backend for phase-2 projection (multi-backend routing is
|
|
645
720
|
* track R). Prefers placement.primary, else "main"/"local", else the first. */
|
|
646
721
|
function primaryBackend(reactor) {
|
|
@@ -709,7 +784,7 @@ function reactorClientMode(reactor) {
|
|
|
709
784
|
}
|
|
710
785
|
/** Project the reactor block onto the Connect runtime config: protocol →
|
|
711
786
|
* connect.reactor (same shape), backend topology → instance.reactorWorker
|
|
712
|
-
* (legacy)
|
|
787
|
+
* (legacy), instance.reactorClient and instance.remoteBackends,
|
|
713
788
|
* workflows → app.workflowsEnabled. */
|
|
714
789
|
function projectReactorToConnect(reactor) {
|
|
715
790
|
const connect = {};
|
|
@@ -718,7 +793,8 @@ function projectReactorToConnect(reactor) {
|
|
|
718
793
|
const mode = reactorClientMode(reactor);
|
|
719
794
|
if (backend?.kind !== void 0 || mode !== void 0) connect.instance = {
|
|
720
795
|
...backend?.kind !== void 0 ? { reactorWorker: backend.kind === "worker" } : {},
|
|
721
|
-
...mode !== void 0 ? { reactorClient: mode } : {}
|
|
796
|
+
...mode !== void 0 ? { reactorClient: mode } : {},
|
|
797
|
+
...mode === "router" || mode === "remote" ? { remoteBackends: remoteBackends(reactor) } : {}
|
|
722
798
|
};
|
|
723
799
|
if (reactor?.workflows !== void 0) connect.app = { workflowsEnabled: reactor.workflows };
|
|
724
800
|
return { connect };
|
|
@@ -746,66 +822,6 @@ function assertProtocolConsistency(protocol, env, hostFile = "the host file") {
|
|
|
746
822
|
if (conflict) throw new Error(conflict);
|
|
747
823
|
}
|
|
748
824
|
//#endregion
|
|
749
|
-
//#region src/backend-projection.ts
|
|
750
|
-
function projectStorage(name, storage) {
|
|
751
|
-
switch (storage.kind) {
|
|
752
|
-
case "idb": return { kind: "idb" };
|
|
753
|
-
case "memory": return { kind: "memory" };
|
|
754
|
-
case "path":
|
|
755
|
-
if (!storage.dataDir) throw new Error(`Backend "${name}": storage kind "path" requires dataDir.`);
|
|
756
|
-
return {
|
|
757
|
-
kind: "path",
|
|
758
|
-
dataDir: storage.dataDir
|
|
759
|
-
};
|
|
760
|
-
case "postgres": throw new Error(`Backend "${name}": storage kind "postgres" is server-side only — a provisioned (in-process/worker) reactor cannot use it. Point a "remote" backend at the switchboard that owns that database instead.`);
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
/** One backend → one descriptor. The protocol's featureFlags ride every
|
|
764
|
-
* descriptor (they are fleet consensus, not per-backend). A remote backend
|
|
765
|
-
* must carry remote.url — provision() requires it. */
|
|
766
|
-
function backendToDescriptor(name, backend, protocol) {
|
|
767
|
-
const descriptor = {
|
|
768
|
-
kind: backend.kind,
|
|
769
|
-
name
|
|
770
|
-
};
|
|
771
|
-
if (descriptor.kind === "remote") {
|
|
772
|
-
const url = backend.remote?.url;
|
|
773
|
-
if (!url) throw new Error(`Backend "${name}" is kind "remote" but has no remote.url — a remote descriptor attaches to an already-running reactor by URL.`);
|
|
774
|
-
descriptor.remote = { url };
|
|
775
|
-
return descriptor;
|
|
776
|
-
}
|
|
777
|
-
if (backend.storage) descriptor.storage = projectStorage(name, backend.storage);
|
|
778
|
-
if (backend.packages) descriptor.packages = backend.packages;
|
|
779
|
-
if (protocol?.featureFlags) descriptor.featureFlags = protocol.featureFlags;
|
|
780
|
-
return descriptor;
|
|
781
|
-
}
|
|
782
|
-
/** All named backends, in placement-primary-first order (the order a
|
|
783
|
-
* createReactorClients step would provision them). */
|
|
784
|
-
function backendsToDescriptors(reactor) {
|
|
785
|
-
const backends = reactor?.backends;
|
|
786
|
-
if (!backends) return [];
|
|
787
|
-
const names = Object.keys(backends);
|
|
788
|
-
const primary = reactor.placement?.primary;
|
|
789
|
-
return (primary && names.includes(primary) ? [primary, ...names.filter((n) => n !== primary)] : names).map((name) => backendToDescriptor(name, backends[name], reactor.protocol));
|
|
790
|
-
}
|
|
791
|
-
const LOCAL_KINDS = /* @__PURE__ */ new Set(["in-process", "worker"]);
|
|
792
|
-
/**
|
|
793
|
-
* Structural multi-reactor (phase 4): true when the block names BOTH a local
|
|
794
|
-
* backend (in-process/worker — the tab's own reactor) and a remote one. This
|
|
795
|
-
* is the shape Connect's routing client serves; a lone remote backend is an
|
|
796
|
-
* attach-only host (assistant/agent shape), not a routed tab.
|
|
797
|
-
*/
|
|
798
|
-
function isStructuralMultiReactor(reactor) {
|
|
799
|
-
const backends = reactor?.backends;
|
|
800
|
-
if (!backends) return false;
|
|
801
|
-
const kinds = Object.values(backends).map((b) => b.kind);
|
|
802
|
-
return kinds.some((k) => LOCAL_KINDS.has(k)) && kinds.some((k) => k === "remote");
|
|
803
|
-
}
|
|
804
|
-
/** The remote backends' drive addresses, placement order. */
|
|
805
|
-
function remoteBackendUrls(reactor) {
|
|
806
|
-
return backendsToDescriptors(reactor).filter((d) => d.kind === "remote").map((d) => d.remote?.url).filter((u) => typeof u === "string");
|
|
807
|
-
}
|
|
808
|
-
//#endregion
|
|
809
825
|
//#region src/connect-projection.ts
|
|
810
826
|
/**
|
|
811
827
|
* Instance-fact projection for compound hosts: the drives a compound's
|
|
@@ -872,6 +888,48 @@ function projectDrivesIntoConnect(input) {
|
|
|
872
888
|
preserveStrategy: "preserve-all"
|
|
873
889
|
} };
|
|
874
890
|
}
|
|
891
|
+
/** A served slug names a declared one as is, or hashed (`<slug>-<8 hex>`). */
|
|
892
|
+
function servesSlug(declared, served) {
|
|
893
|
+
return served === declared || served.startsWith(`${declared}-`) && /^[0-9a-f]{8}$/.test(served.slice(declared.length + 1));
|
|
894
|
+
}
|
|
895
|
+
/** Annotates remote default drives with their backend (`sync: false` when placed on it); other remote placements become collections. */
|
|
896
|
+
function placeConnectDrives(reactor, defaultDrives) {
|
|
897
|
+
const remotes = remoteBackends(reactor).flatMap(({ name, url }) => {
|
|
898
|
+
const at = switchboardOfDrive$1(url);
|
|
899
|
+
return at ? [{
|
|
900
|
+
name,
|
|
901
|
+
base: at.base
|
|
902
|
+
}] : [];
|
|
903
|
+
});
|
|
904
|
+
if (remotes.length === 0) return { defaultDrives: [...defaultDrives] };
|
|
905
|
+
const placement = Object.entries(reactor?.placement?.drives ?? {});
|
|
906
|
+
const matched = /* @__PURE__ */ new Set();
|
|
907
|
+
const placed = defaultDrives.map((drive) => {
|
|
908
|
+
if (!("url" in drive)) return drive;
|
|
909
|
+
const at = switchboardOfDrive$1(drive.url);
|
|
910
|
+
const backend = remotes.find((remote) => remote.base === at?.base)?.name;
|
|
911
|
+
if (!at || !backend) return drive;
|
|
912
|
+
const entry = placement.find(([slug]) => servesSlug(slug, at.slug));
|
|
913
|
+
if (entry) matched.add(entry[0]);
|
|
914
|
+
return entry?.[1] === backend ? {
|
|
915
|
+
...drive,
|
|
916
|
+
backend,
|
|
917
|
+
sync: false
|
|
918
|
+
} : {
|
|
919
|
+
...drive,
|
|
920
|
+
backend
|
|
921
|
+
};
|
|
922
|
+
});
|
|
923
|
+
const names = new Set(remotes.map((remote) => remote.name));
|
|
924
|
+
const collections = Object.fromEntries(placement.filter(([slug, backend]) => !matched.has(slug) && names.has(backend)).map(([slug, backend]) => [slug, {
|
|
925
|
+
backend,
|
|
926
|
+
sync: false
|
|
927
|
+
}]));
|
|
928
|
+
return Object.keys(collections).length > 0 ? {
|
|
929
|
+
defaultDrives: placed,
|
|
930
|
+
collections
|
|
931
|
+
} : { defaultDrives: placed };
|
|
932
|
+
}
|
|
875
933
|
//#endregion
|
|
876
934
|
//#region src/expect-host.ts
|
|
877
935
|
function isRecord(value) {
|
|
@@ -1008,6 +1066,6 @@ function expectHost(input) {
|
|
|
1008
1066
|
return expectation;
|
|
1009
1067
|
}
|
|
1010
1068
|
//#endregion
|
|
1011
|
-
export { BUILTIN_ENV_NAMES, CONNECT_PLUGIN_OWNED_SLICES, CONNECT_RUNNER, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, HostLoadError, ONE_SHOT_VERBS, ORIGIN_PLACEHOLDER, OUTPUTS_FILE, PlanError, PluginError, RunnerError, SWITCHBOARD_PROXY_PATHS, SpawnHostError, TOKEN_ESCAPE_KEY, TOKEN_KEYS, TokenResolutionError, applyChildWrapper, assertProtocolConsistency, backendToDescriptor, backendsToDescriptors, buildDriveDeclarationSchema, checkHost, checkOutputPaths, checkTokenSites, childWrapperSchema, childrenSchema, clearRunRecord, collectTokenSites, compoundHostSchema, compoundOutputSource, compoundWiringSchema, computeOutputsHash, concatTokenSchema, 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, planCompound, pluginEntryObjectSchema, pluginEntrySchema, primaryBackend, probeHostsFolder, probeRun, processResolveEnv, producerOutputsSchemas, profileSchema, projectDriveId, projectDriveIdWith, projectDrivesIntoConnect, projectReactorToConnect, protocolConflicts, protocolEnv, reactorBackendKindSchema, reactorBackendSchema, reactorBlockToSwitchboardConfig, reactorClientMode, reactorHostSchema, reactorProtocolSchema, reactorSchema, readOutputsFileHash, readProjectName, readRunRecord, rebaseDriveUrl, ref, refKey, refineStartOrder, registerHostType, remoteBackendUrls, 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, unwrapEscapes, validateDeclaredHost, validateHost, withOriginPlaceholders, writeRunRecord };
|
|
1069
|
+
export { BUILTIN_ENV_NAMES, CONNECT_PLUGIN_OWNED_SLICES, CONNECT_RUNNER, HOST_NAME_MAX_LENGTH, HOST_NAME_MESSAGE, HOST_NAME_PATTERN, HostLoadError, ONE_SHOT_VERBS, ORIGIN_PLACEHOLDER, OUTPUTS_FILE, PlanError, PluginError, RunnerError, SWITCHBOARD_PROXY_PATHS, SpawnHostError, TOKEN_ESCAPE_KEY, TOKEN_KEYS, TokenResolutionError, applyChildWrapper, assertProtocolConsistency, backendToDescriptor, backendsToDescriptors, buildDriveDeclarationSchema, checkHost, checkOutputPaths, checkTokenSites, childWrapperSchema, childrenSchema, clearRunRecord, collectTokenSites, compoundHostSchema, compoundOutputSource, compoundWiringSchema, computeOutputsHash, concatTokenSchema, 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, reactorBackendKindSchema, reactorBackendSchema, reactorBlockToSwitchboardConfig, reactorClientMode, reactorHostSchema, reactorProtocolSchema, reactorSchema, readOutputsFileHash, readProjectName, readRunRecord, rebaseDriveUrl, ref, refKey, 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, unwrapEscapes, validateDeclaredHost, validateHost, withOriginPlaceholders, writeRunRecord };
|
|
1012
1070
|
|
|
1013
1071
|
//# sourceMappingURL=index.mjs.map
|