@maiaos/protocol 0.1.0-canary.1 → 0.1.0-canary.3
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/README.md +25 -135
- package/dist/agent/definition.d.ts +2 -2
- package/dist/agent/worker-operation.d.ts +1 -0
- package/dist/agent/worker-operation.d.ts.map +1 -1
- package/dist/agents/contract.d.ts +341 -0
- package/dist/agents/contract.d.ts.map +1 -0
- package/dist/agents/contract.js +18 -0
- package/dist/agents/contract.js.map +1 -0
- package/dist/agents/effect-schema.d.ts +604 -0
- package/dist/agents/effect-schema.d.ts.map +1 -0
- package/dist/agents/effect-schema.js +164 -0
- package/dist/agents/effect-schema.js.map +1 -0
- package/dist/agents/feature.d.ts +113 -0
- package/dist/agents/feature.d.ts.map +1 -0
- package/dist/agents/feature.js +111 -0
- package/dist/agents/feature.js.map +1 -0
- package/dist/agents/index.d.ts +3 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +3 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/connection/contract.d.ts +130 -1
- package/dist/connection/contract.d.ts.map +1 -1
- package/dist/connection/contract.js +7 -1
- package/dist/connection/contract.js.map +1 -1
- package/dist/connection/effect-schema.d.ts +110 -0
- package/dist/connection/effect-schema.d.ts.map +1 -1
- package/dist/connection/feature.d.ts +75 -0
- package/dist/connection/feature.d.ts.map +1 -1
- package/dist/connection/feature.js +69 -0
- package/dist/connection/feature.js.map +1 -1
- package/dist/connection/index.d.ts +1 -1
- package/dist/connection/index.d.ts.map +1 -1
- package/dist/connection/index.js +1 -1
- package/dist/connection/index.js.map +1 -1
- package/dist/connection/system-effect-schema.d.ts +261 -1
- package/dist/connection/system-effect-schema.d.ts.map +1 -1
- package/dist/connection/system-effect-schema.js +101 -1
- package/dist/connection/system-effect-schema.js.map +1 -1
- package/dist/coordinator-tool/registry.d.ts +3 -1
- package/dist/coordinator-tool/registry.d.ts.map +1 -1
- package/dist/coordinator-tool/registry.js +66 -10
- package/dist/coordinator-tool/registry.js.map +1 -1
- package/dist/discovery/contract.d.ts +1 -0
- package/dist/discovery/contract.d.ts.map +1 -1
- package/dist/discovery/effect-schema.d.ts +2 -0
- package/dist/discovery/effect-schema.d.ts.map +1 -1
- package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
- package/dist/execution/worktree/effect-schema.js +10 -2
- package/dist/execution/worktree/effect-schema.js.map +1 -1
- package/dist/feature/registry.d.ts +7 -1
- package/dist/feature/registry.d.ts.map +1 -1
- package/dist/feature/registry.js +6 -0
- package/dist/feature/registry.js.map +1 -1
- package/dist/index.d.ts +11 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/dist/invocation-context/contract.d.ts +11 -1
- package/dist/invocation-context/contract.d.ts.map +1 -1
- package/dist/invocation-context/effect-schema.d.ts +24 -2
- package/dist/invocation-context/effect-schema.d.ts.map +1 -1
- package/dist/invocation-context/effect-schema.js +19 -1
- package/dist/invocation-context/effect-schema.js.map +1 -1
- package/dist/local-node/contract.d.ts +16 -8
- package/dist/local-node/contract.d.ts.map +1 -1
- package/dist/local-node/contract.js.map +1 -1
- package/dist/local-node/effect-schema.d.ts +570 -9
- package/dist/local-node/effect-schema.d.ts.map +1 -1
- package/dist/local-node/effect-schema.js +33 -0
- package/dist/local-node/effect-schema.js.map +1 -1
- package/dist/local-node/node-api/methods.d.ts +26 -3
- package/dist/local-node/node-api/methods.d.ts.map +1 -1
- package/dist/local-node/node-api/methods.js +46 -0
- package/dist/local-node/node-api/methods.js.map +1 -1
- package/dist/local-node/receipt-list.d.ts +1 -1
- package/dist/local-node/receipt-list.d.ts.map +1 -1
- package/dist/local-node/receipt-list.js +10 -0
- package/dist/local-node/receipt-list.js.map +1 -1
- package/dist/machine-lease/contract.d.ts +90 -0
- package/dist/machine-lease/contract.d.ts.map +1 -0
- package/dist/machine-lease/contract.js +8 -0
- package/dist/machine-lease/contract.js.map +1 -0
- package/dist/machine-lease/effect-schema.d.ts +85 -0
- package/dist/machine-lease/effect-schema.d.ts.map +1 -0
- package/dist/machine-lease/effect-schema.js +78 -0
- package/dist/machine-lease/effect-schema.js.map +1 -0
- package/dist/machine-lease/index.d.ts +3 -0
- package/dist/machine-lease/index.d.ts.map +1 -0
- package/dist/machine-lease/index.js +3 -0
- package/dist/machine-lease/index.js.map +1 -0
- package/dist/machine-lease/policy.d.ts +12 -0
- package/dist/machine-lease/policy.d.ts.map +1 -0
- package/dist/machine-lease/policy.js +12 -0
- package/dist/machine-lease/policy.js.map +1 -0
- package/dist/machine-principal/contract.d.ts +14 -0
- package/dist/machine-principal/contract.d.ts.map +1 -0
- package/dist/machine-principal/contract.js +5 -0
- package/dist/machine-principal/contract.js.map +1 -0
- package/dist/machine-principal/effect-schema.d.ts +12 -0
- package/dist/machine-principal/effect-schema.d.ts.map +1 -0
- package/dist/machine-principal/effect-schema.js +25 -0
- package/dist/machine-principal/effect-schema.js.map +1 -0
- package/dist/machine-principal/index.d.ts +2 -0
- package/dist/machine-principal/index.d.ts.map +1 -0
- package/dist/machine-principal/index.js +2 -0
- package/dist/machine-principal/index.js.map +1 -0
- package/dist/machine-principal/policy.d.ts +5 -0
- package/dist/machine-principal/policy.d.ts.map +1 -0
- package/dist/machine-principal/policy.js +5 -0
- package/dist/machine-principal/policy.js.map +1 -0
- package/dist/presentation/contract.d.ts +1 -0
- package/dist/presentation/contract.d.ts.map +1 -1
- package/dist/presentation/effect-schema.d.ts +1 -0
- package/dist/presentation/effect-schema.d.ts.map +1 -1
- package/dist/presentation/session-list-effect-schema.d.ts +1 -0
- package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
- package/dist/release/contract.d.ts +2 -0
- package/dist/release/contract.d.ts.map +1 -0
- package/dist/release/contract.js +4 -0
- package/dist/release/contract.js.map +1 -0
- package/dist/release/effect-schema.d.ts +3 -0
- package/dist/release/effect-schema.d.ts.map +1 -0
- package/dist/release/effect-schema.js +4 -0
- package/dist/release/effect-schema.js.map +1 -0
- package/dist/release/index.d.ts +3 -0
- package/dist/release/index.d.ts.map +1 -0
- package/dist/release/index.js +3 -0
- package/dist/release/index.js.map +1 -0
- package/dist/release/version.d.ts +29 -0
- package/dist/release/version.d.ts.map +1 -0
- package/dist/release/version.js +77 -0
- package/dist/release/version.js.map +1 -0
- package/dist/remote-node/bridge-effect-schema.d.ts +72 -2
- package/dist/remote-node/bridge-effect-schema.d.ts.map +1 -1
- package/dist/remote-node/bridge-effect-schema.js +64 -3
- package/dist/remote-node/bridge-effect-schema.js.map +1 -1
- package/dist/remote-node/contract.d.ts +163 -10
- package/dist/remote-node/contract.d.ts.map +1 -1
- package/dist/remote-node/contract.js +22 -3
- package/dist/remote-node/contract.js.map +1 -1
- package/dist/remote-node/index.d.ts +1 -1
- package/dist/remote-node/index.d.ts.map +1 -1
- package/dist/remote-node/index.js +1 -1
- package/dist/remote-node/index.js.map +1 -1
- package/dist/remote-node/request-effect-schema.d.ts +42 -0
- package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
- package/dist/remote-node/request-effect-schema.js +25 -0
- package/dist/remote-node/request-effect-schema.js.map +1 -1
- package/dist/remote-node/result-effect-schema.d.ts +196 -21
- package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
- package/dist/remote-node/result-effect-schema.js +42 -8
- package/dist/remote-node/result-effect-schema.js.map +1 -1
- package/dist/routine/contract.d.ts +470 -0
- package/dist/routine/contract.d.ts.map +1 -0
- package/dist/routine/contract.js +27 -0
- package/dist/routine/contract.js.map +1 -0
- package/dist/routine/effect-schema.d.ts +923 -0
- package/dist/routine/effect-schema.d.ts.map +1 -0
- package/dist/routine/effect-schema.js +268 -0
- package/dist/routine/effect-schema.js.map +1 -0
- package/dist/routine/feature.d.ts +263 -0
- package/dist/routine/feature.d.ts.map +1 -0
- package/dist/routine/feature.js +249 -0
- package/dist/routine/feature.js.map +1 -0
- package/dist/routine/index.d.ts +3 -0
- package/dist/routine/index.d.ts.map +1 -0
- package/dist/routine/index.js +3 -0
- package/dist/routine/index.js.map +1 -0
- package/dist/routine/policy.d.ts +15 -0
- package/dist/routine/policy.d.ts.map +1 -0
- package/dist/routine/policy.js +31 -0
- package/dist/routine/policy.js.map +1 -0
- package/dist/session/agent-permission-contract.d.ts +5 -5
- package/dist/session/agent-permission-effect-schema.d.ts +9 -9
- package/dist/session/contract.d.ts +13 -0
- package/dist/session/contract.d.ts.map +1 -1
- package/dist/session/effect-schema.d.ts +40 -5
- package/dist/session/effect-schema.d.ts.map +1 -1
- package/dist/session/effect-schema.js +33 -12
- package/dist/session/effect-schema.js.map +1 -1
- package/dist/session/feature.d.ts +58 -0
- package/dist/session/feature.d.ts.map +1 -1
- package/dist/session/feature.js +54 -0
- package/dist/session/feature.js.map +1 -1
- package/dist/session/index.d.ts +1 -1
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +1 -1
- package/dist/session/index.js.map +1 -1
- package/dist/session/policy.d.ts +23 -0
- package/dist/session/policy.d.ts.map +1 -1
- package/dist/session/policy.js +23 -0
- package/dist/session/policy.js.map +1 -1
- package/dist/session/stop-resume-contract.d.ts +2 -0
- package/dist/session/stop-resume-contract.d.ts.map +1 -1
- package/dist/session-guard/contract.d.ts +5 -2
- package/dist/session-guard/contract.d.ts.map +1 -1
- package/dist/session-guard/contract.js +13 -2
- package/dist/session-guard/contract.js.map +1 -1
- package/dist/team-workspace/contract.d.ts +77 -0
- package/dist/team-workspace/contract.d.ts.map +1 -0
- package/dist/team-workspace/contract.js +8 -0
- package/dist/team-workspace/contract.js.map +1 -0
- package/dist/team-workspace/effect-schema.d.ts +142 -0
- package/dist/team-workspace/effect-schema.d.ts.map +1 -0
- package/dist/team-workspace/effect-schema.js +102 -0
- package/dist/team-workspace/effect-schema.js.map +1 -0
- package/dist/team-workspace/feature.d.ts +54 -0
- package/dist/team-workspace/feature.d.ts.map +1 -0
- package/dist/team-workspace/feature.js +59 -0
- package/dist/team-workspace/feature.js.map +1 -0
- package/dist/team-workspace/index.d.ts +3 -0
- package/dist/team-workspace/index.d.ts.map +1 -0
- package/dist/team-workspace/index.js +3 -0
- package/dist/team-workspace/index.js.map +1 -0
- package/dist/team-workspace/policy.d.ts +9 -0
- package/dist/team-workspace/policy.d.ts.map +1 -0
- package/dist/team-workspace/policy.js +19 -0
- package/dist/team-workspace/policy.js.map +1 -0
- package/dist/terminal/contract.d.ts +65 -56
- package/dist/terminal/contract.d.ts.map +1 -1
- package/dist/terminal/effect-schema.d.ts +400 -382
- package/dist/terminal/effect-schema.d.ts.map +1 -1
- package/dist/terminal/effect-schema.js +12 -0
- package/dist/terminal/effect-schema.js.map +1 -1
- package/dist/terminal/index.d.ts +1 -1
- package/dist/terminal/index.d.ts.map +1 -1
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/index.js.map +1 -1
- package/dist/terminal/live-effect-schema.d.ts +630 -621
- package/dist/terminal/live-effect-schema.d.ts.map +1 -1
- package/dist/terminal/live-effect-schema.js +15 -2
- package/dist/terminal/live-effect-schema.js.map +1 -1
- package/dist/terminal/live-policy.d.ts +9 -0
- package/dist/terminal/live-policy.d.ts.map +1 -1
- package/dist/terminal/live-policy.js +9 -0
- package/dist/terminal/live-policy.js.map +1 -1
- package/dist/terminal/live-types.d.ts +7 -1
- package/dist/terminal/live-types.d.ts.map +1 -1
- package/dist/turn/contract.d.ts +166 -1
- package/dist/turn/contract.d.ts.map +1 -1
- package/dist/turn/contract.js +10 -1
- package/dist/turn/contract.js.map +1 -1
- package/dist/turn/effect-schema.d.ts +325 -0
- package/dist/turn/effect-schema.d.ts.map +1 -1
- package/dist/turn/effect-schema.js +50 -2
- package/dist/turn/effect-schema.js.map +1 -1
- package/dist/turn/index.d.ts +2 -2
- package/dist/turn/index.d.ts.map +1 -1
- package/dist/turn/index.js +2 -2
- package/dist/turn/index.js.map +1 -1
- package/dist/turn/policy.d.ts +7 -0
- package/dist/turn/policy.d.ts.map +1 -1
- package/dist/turn/policy.js +7 -0
- package/dist/turn/policy.js.map +1 -1
- package/dist/voice/contract.d.ts +4 -4
- package/dist/voice/effect-schema.d.ts +6 -6
- package/dist/voice/effect-schema.d.ts.map +1 -1
- package/dist/voice/effect-schema.js +2 -0
- package/dist/voice/effect-schema.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeEffectRuntimeSchema } from "../runtime-schema/effect-schema.js";
|
|
2
|
-
import { BRIDGE_PROTOCOL as bridgeProtocol, bridgeRequestFrameEffectSchema, bridgeServerFrameEffectSchema, MAX_BRIDGE_FRAME_BYTES as maximumBridgeFrameBytes, MAX_BRIDGE_IN_FLIGHT as maximumBridgeInFlight, } from "./bridge-effect-schema.js";
|
|
3
|
-
import { MAX_REMOTE_NODE_KEEP_RELEASES as maximumKeep, MAX_REMOTE_NODE_WAIT_MS as maximumWaitMs, MAX_REMOTE_NODES as maximumNodes, MIN_REMOTE_NODE_KEEP_RELEASES as minimumKeep, REMOTE_NODE_NAME_PATTERN as namePattern, REMOTE_NODE_PATH_PATTERN as pathPattern, REMOTE_NODE_REAL_PATH_PATTERN as realPathPattern, REMOTE_NODE_SCHEMA_VERSION as schemaVersion, REMOTE_NODE_SSH_HOST_PATTERN as sshHostPattern, remoteNodeInstallConfirmParametersEffectSchema, remoteNodeInstallPreviewParametersEffectSchema, remoteNodeListParametersEffectSchema, remoteNodeRemoveConfirmParametersEffectSchema, remoteNodeRemovePreviewParametersEffectSchema, } from "./request-effect-schema.js";
|
|
4
|
-
import { REMOTE_NODE_AGGREGATE_TYPE as aggregateType, remoteNodeBlockerEffectSchema, remoteNodeExecutorEffectSchema, remoteNodeHostFactsEffectSchema, remoteNodeInstallConfirmResultEffectSchema, remoteNodeInstallPlanEffectSchema, remoteNodeInstallPreviewResultEffectSchema, remoteNodeListResultEffectSchema, remoteNodeRecordEffectSchema, remoteNodeRemoveConfirmResultEffectSchema, remoteNodeRemovePreviewResultEffectSchema, } from "./result-effect-schema.js";
|
|
2
|
+
import { BRIDGE_PROTOCOL as bridgeProtocol, bridgeClientFrameEffectSchema, bridgeRequestFrameEffectSchema, bridgeServerFrameEffectSchema, MAX_BRIDGE_FRAME_BYTES as maximumBridgeFrameBytes, MAX_BRIDGE_IN_FLIGHT as maximumBridgeInFlight, MAX_BRIDGE_STREAMS as maximumBridgeStreams, } from "./bridge-effect-schema.js";
|
|
3
|
+
import { MAX_REMOTE_NODE_KEEP_RELEASES as maximumKeep, MAX_REMOTE_NODE_WAIT_MS as maximumWaitMs, MAX_REMOTE_NODES as maximumNodes, MIN_REMOTE_NODE_KEEP_RELEASES as minimumKeep, REMOTE_NODE_NAME_PATTERN as namePattern, REMOTE_NODE_PATH_PATTERN as pathPattern, REMOTE_NODE_REAL_PATH_PATTERN as realPathPattern, REMOTE_NODE_SCHEMA_VERSION as schemaVersion, REMOTE_NODE_SSH_HOST_PATTERN as sshHostPattern, remoteNodeInstallConfirmParametersEffectSchema, remoteNodeInstallPreviewParametersEffectSchema, remoteNodeListParametersEffectSchema, remoteNodeRegisterConfirmParametersEffectSchema, remoteNodeRegisterPreviewParametersEffectSchema, remoteNodeRemoveConfirmParametersEffectSchema, remoteNodeRemovePreviewParametersEffectSchema, } from "./request-effect-schema.js";
|
|
4
|
+
import { REMOTE_NODE_AGGREGATE_TYPE as aggregateType, remoteNodeBlockerEffectSchema, remoteNodeExecutorEffectSchema, remoteNodeHostFactsEffectSchema, remoteNodeInstallConfirmResultEffectSchema, remoteNodeInstallPlanEffectSchema, remoteNodeInstallPreviewResultEffectSchema, remoteNodeListResultEffectSchema, remoteNodeRecordEffectSchema, remoteNodeRegisterConfirmResultEffectSchema, remoteNodeRegisterPlanEffectSchema, remoteNodeRegisterPreviewResultEffectSchema, remoteNodeRemoveConfirmResultEffectSchema, remoteNodeRemovePreviewResultEffectSchema, } from "./result-effect-schema.js";
|
|
5
5
|
const make = makeEffectRuntimeSchema;
|
|
6
6
|
export const remoteNodeExecutorSchema = make(remoteNodeExecutorEffectSchema);
|
|
7
7
|
export const remoteNodeBlockerSchema = make(remoteNodeBlockerEffectSchema);
|
|
@@ -12,6 +12,11 @@ export const remoteNodeInstallPreviewParametersSchema = make(remoteNodeInstallPr
|
|
|
12
12
|
export const remoteNodeInstallPreviewResultSchema = make(remoteNodeInstallPreviewResultEffectSchema);
|
|
13
13
|
export const remoteNodeInstallConfirmParametersSchema = make(remoteNodeInstallConfirmParametersEffectSchema);
|
|
14
14
|
export const remoteNodeInstallConfirmResultSchema = make(remoteNodeInstallConfirmResultEffectSchema);
|
|
15
|
+
export const remoteNodeRegisterPlanSchema = make(remoteNodeRegisterPlanEffectSchema);
|
|
16
|
+
export const remoteNodeRegisterPreviewParametersSchema = make(remoteNodeRegisterPreviewParametersEffectSchema);
|
|
17
|
+
export const remoteNodeRegisterPreviewResultSchema = make(remoteNodeRegisterPreviewResultEffectSchema);
|
|
18
|
+
export const remoteNodeRegisterConfirmParametersSchema = make(remoteNodeRegisterConfirmParametersEffectSchema);
|
|
19
|
+
export const remoteNodeRegisterConfirmResultSchema = make(remoteNodeRegisterConfirmResultEffectSchema);
|
|
15
20
|
export const remoteNodeListParametersSchema = make(remoteNodeListParametersEffectSchema);
|
|
16
21
|
export const remoteNodeListResultSchema = make(remoteNodeListResultEffectSchema);
|
|
17
22
|
export const remoteNodeRemovePreviewParametersSchema = make(remoteNodeRemovePreviewParametersEffectSchema);
|
|
@@ -19,11 +24,25 @@ export const remoteNodeRemovePreviewResultSchema = make(remoteNodeRemovePreviewR
|
|
|
19
24
|
export const remoteNodeRemoveConfirmParametersSchema = make(remoteNodeRemoveConfirmParametersEffectSchema);
|
|
20
25
|
export const remoteNodeRemoveConfirmResultSchema = make(remoteNodeRemoveConfirmResultEffectSchema);
|
|
21
26
|
export const bridgeRequestFrameSchema = make(bridgeRequestFrameEffectSchema);
|
|
27
|
+
export const bridgeClientFrameSchema = make(bridgeClientFrameEffectSchema);
|
|
22
28
|
export const bridgeServerFrameSchema = make(bridgeServerFrameEffectSchema);
|
|
29
|
+
/**
|
|
30
|
+
* Why the registry refuses a register beyond install's own refusals (a
|
|
31
|
+
* taken name is `storage_conflict`, ssh or a bridge that never greets is
|
|
32
|
+
* `transport_failed`): the Node greets as another profile than the one
|
|
33
|
+
* asked, another name already holds the same Node, or another Node greets
|
|
34
|
+
* at confirmation than at preview.
|
|
35
|
+
*/
|
|
36
|
+
export const REMOTE_NODE_ERROR_CODES = [
|
|
37
|
+
"node_already_registered",
|
|
38
|
+
"node_changed",
|
|
39
|
+
"profile_mismatch",
|
|
40
|
+
];
|
|
23
41
|
// Keep public declarations independent of the private Effect schema modules.
|
|
24
42
|
export const BRIDGE_PROTOCOL = bridgeProtocol;
|
|
25
43
|
export const MAX_BRIDGE_FRAME_BYTES = maximumBridgeFrameBytes;
|
|
26
44
|
export const MAX_BRIDGE_IN_FLIGHT = maximumBridgeInFlight;
|
|
45
|
+
export const MAX_BRIDGE_STREAMS = maximumBridgeStreams;
|
|
27
46
|
export const MAX_REMOTE_NODES = maximumNodes;
|
|
28
47
|
export const MAX_REMOTE_NODE_WAIT_MS = maximumWaitMs;
|
|
29
48
|
export const MAX_REMOTE_NODE_KEEP_RELEASES = maximumKeep;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../src/remote-node/contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAG7E,OAAO,EACL,eAAe,IAAI,cAAc,EACjC,8BAA8B,EAC9B,6BAA6B,EAC7B,sBAAsB,IAAI,uBAAuB,EACjD,oBAAoB,IAAI,qBAAqB,
|
|
1
|
+
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../src/remote-node/contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAG7E,OAAO,EACL,eAAe,IAAI,cAAc,EACjC,6BAA6B,EAC7B,8BAA8B,EAC9B,6BAA6B,EAC7B,sBAAsB,IAAI,uBAAuB,EACjD,o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AC,MAAM,uBAAuB,GAAG;IACrC,yBAAyB;IACzB,cAAc;IACd,kBAAkB;CACV,CAAC;AAGX,6EAA6E;AAC7E,MAAM,CAAC,MAAM,eAAe,GAAyB,cAAc,CAAC;AACpE,MAAM,CAAC,MAAM,sBAAsB,GAAW,uBAAuB,CAAC;AACtE,MAAM,CAAC,MAAM,oBAAoB,GAAW,qBAAqB,CAAC;AAClE,MAAM,CAAC,MAAM,kBAAkB,GAAW,oBAAoB,CAAC;AAC/D,MAAM,CAAC,MAAM,gBAAgB,GAAW,YAAY,CAAC;AACrD,MAAM,CAAC,MAAM,uBAAuB,GAAW,aAAa,CAAC;AAC7D,MAAM,CAAC,MAAM,6BAA6B,GAAW,WAAW,CAAC;AACjE,MAAM,CAAC,MAAM,6BAA6B,GAAW,WAAW,CAAC;AACjE,MAAM,CAAC,MAAM,0BAA0B,GAAkB,aAAa,CAAC;AACvE,MAAM,CAAC,MAAM,wBAAwB,GAAW,WAAW,CAAC;AAC5D,MAAM,CAAC,MAAM,wBAAwB,GAAW,WAAW,CAAC;AAC5D,MAAM,CAAC,MAAM,6BAA6B,GAAW,eAAe,CAAC;AACrE,MAAM,CAAC,MAAM,0BAA0B,GAA0B,aAAa,CAAC;AAC/E,MAAM,CAAC,MAAM,4BAA4B,GAAW,cAAc,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BRIDGE_PROTOCOL, type BridgeRequestFrame, bridgeRequestFrameSchema, type BridgeServerFrame, bridgeServerFrameSchema, MAX_BRIDGE_FRAME_BYTES, MAX_BRIDGE_IN_FLIGHT, MAX_REMOTE_NODE_KEEP_RELEASES, MAX_REMOTE_NODE_WAIT_MS, MAX_REMOTE_NODES, MIN_REMOTE_NODE_KEEP_RELEASES, REMOTE_NODE_AGGREGATE_TYPE, REMOTE_NODE_NAME_PATTERN, REMOTE_NODE_PATH_PATTERN, REMOTE_NODE_REAL_PATH_PATTERN, REMOTE_NODE_SCHEMA_VERSION, REMOTE_NODE_SSH_HOST_PATTERN, type RemoteNodeBlocker, remoteNodeBlockerSchema, type RemoteNodeExecutor, remoteNodeExecutorSchema, type RemoteNodeHostFacts, remoteNodeHostFactsSchema, type RemoteNodeInstallConfirmParameters, remoteNodeInstallConfirmParametersSchema, type RemoteNodeInstallConfirmResult, remoteNodeInstallConfirmResultSchema, type RemoteNodeInstallPlan, remoteNodeInstallPlanSchema, type RemoteNodeInstallPreviewParameters, remoteNodeInstallPreviewParametersSchema, type RemoteNodeInstallPreviewResult, remoteNodeInstallPreviewResultSchema, type RemoteNodeListParameters, remoteNodeListParametersSchema, type RemoteNodeListResult, remoteNodeListResultSchema, type RemoteNodeRecord, remoteNodeRecordSchema, type RemoteNodeRemoveConfirmParameters, remoteNodeRemoveConfirmParametersSchema, type RemoteNodeRemoveConfirmResult, remoteNodeRemoveConfirmResultSchema, type RemoteNodeRemovePreviewParameters, remoteNodeRemovePreviewParametersSchema, type RemoteNodeRemovePreviewResult, remoteNodeRemovePreviewResultSchema, } from "./contract.js";
|
|
1
|
+
export { BRIDGE_PROTOCOL, type BridgeClientFrame, bridgeClientFrameSchema, type BridgeRequestFrame, bridgeRequestFrameSchema, type BridgeServerFrame, bridgeServerFrameSchema, MAX_BRIDGE_FRAME_BYTES, MAX_BRIDGE_IN_FLIGHT, MAX_BRIDGE_STREAMS, MAX_REMOTE_NODE_KEEP_RELEASES, MAX_REMOTE_NODE_WAIT_MS, MAX_REMOTE_NODES, MIN_REMOTE_NODE_KEEP_RELEASES, REMOTE_NODE_AGGREGATE_TYPE, REMOTE_NODE_ERROR_CODES, REMOTE_NODE_NAME_PATTERN, REMOTE_NODE_PATH_PATTERN, REMOTE_NODE_REAL_PATH_PATTERN, REMOTE_NODE_SCHEMA_VERSION, REMOTE_NODE_SSH_HOST_PATTERN, type RemoteNodeBlocker, remoteNodeBlockerSchema, type RemoteNodeErrorCode, type RemoteNodeExecutor, remoteNodeExecutorSchema, type RemoteNodeHostFacts, remoteNodeHostFactsSchema, type RemoteNodeInstallConfirmParameters, remoteNodeInstallConfirmParametersSchema, type RemoteNodeInstallConfirmResult, remoteNodeInstallConfirmResultSchema, type RemoteNodeInstallPlan, remoteNodeInstallPlanSchema, type RemoteNodeInstallPreviewParameters, remoteNodeInstallPreviewParametersSchema, type RemoteNodeInstallPreviewResult, remoteNodeInstallPreviewResultSchema, type RemoteNodeListParameters, remoteNodeListParametersSchema, type RemoteNodeListResult, remoteNodeListResultSchema, type RemoteNodeRecord, remoteNodeRecordSchema, type RemoteNodeRegisterConfirmParameters, remoteNodeRegisterConfirmParametersSchema, type RemoteNodeRegisterConfirmResult, remoteNodeRegisterConfirmResultSchema, type RemoteNodeRegisterPlan, remoteNodeRegisterPlanSchema, type RemoteNodeRegisterPreviewParameters, remoteNodeRegisterPreviewParametersSchema, type RemoteNodeRegisterPreviewResult, remoteNodeRegisterPreviewResultSchema, type RemoteNodeRemoveConfirmParameters, remoteNodeRemoveConfirmParametersSchema, type RemoteNodeRemoveConfirmResult, remoteNodeRemoveConfirmResultSchema, type RemoteNodeRemovePreviewParameters, remoteNodeRemovePreviewParametersSchema, type RemoteNodeRemovePreviewResult, remoteNodeRemovePreviewResultSchema, } from "./contract.js";
|
|
2
2
|
export { REMOTE_NODE_FEATURE } from "./feature.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/remote-node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,6BAA6B,EAC7B,uBAAuB,EACvB,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACxB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,8BAA8B,EACnC,oCAAoC,EACpC,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,8BAA8B,EACnC,oCAAoC,EACpC,KAAK,wBAAwB,EAC7B,8BAA8B,EAC9B,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,iCAAiC,EACtC,uCAAuC,EACvC,KAAK,6BAA6B,EAClC,mCAAmC,EACnC,KAAK,iCAAiC,EACtC,uCAAuC,EACvC,KAAK,6BAA6B,EAClC,mCAAmC,GACpC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/remote-node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,6BAA6B,EAC7B,uBAAuB,EACvB,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,8BAA8B,EACnC,oCAAoC,EACpC,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,8BAA8B,EACnC,oCAAoC,EACpC,KAAK,wBAAwB,EAC7B,8BAA8B,EAC9B,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,mCAAmC,EACxC,yCAAyC,EACzC,KAAK,+BAA+B,EACpC,qCAAqC,EACrC,KAAK,sBAAsB,EAC3B,4BAA4B,EAC5B,KAAK,mCAAmC,EACxC,yCAAyC,EACzC,KAAK,+BAA+B,EACpC,qCAAqC,EACrC,KAAK,iCAAiC,EACtC,uCAAuC,EACvC,KAAK,6BAA6B,EAClC,mCAAmC,EACnC,KAAK,iCAAiC,EACtC,uCAAuC,EACvC,KAAK,6BAA6B,EAClC,mCAAmC,GACpC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BRIDGE_PROTOCOL, bridgeRequestFrameSchema, bridgeServerFrameSchema, MAX_BRIDGE_FRAME_BYTES, MAX_BRIDGE_IN_FLIGHT, MAX_REMOTE_NODE_KEEP_RELEASES, MAX_REMOTE_NODE_WAIT_MS, MAX_REMOTE_NODES, MIN_REMOTE_NODE_KEEP_RELEASES, REMOTE_NODE_AGGREGATE_TYPE, REMOTE_NODE_NAME_PATTERN, REMOTE_NODE_PATH_PATTERN, REMOTE_NODE_REAL_PATH_PATTERN, REMOTE_NODE_SCHEMA_VERSION, REMOTE_NODE_SSH_HOST_PATTERN, remoteNodeBlockerSchema, remoteNodeExecutorSchema, remoteNodeHostFactsSchema, remoteNodeInstallConfirmParametersSchema, remoteNodeInstallConfirmResultSchema, remoteNodeInstallPlanSchema, remoteNodeInstallPreviewParametersSchema, remoteNodeInstallPreviewResultSchema, remoteNodeListParametersSchema, remoteNodeListResultSchema, remoteNodeRecordSchema, remoteNodeRemoveConfirmParametersSchema, remoteNodeRemoveConfirmResultSchema, remoteNodeRemovePreviewParametersSchema, remoteNodeRemovePreviewResultSchema, } from "./contract.js";
|
|
1
|
+
export { BRIDGE_PROTOCOL, bridgeClientFrameSchema, bridgeRequestFrameSchema, bridgeServerFrameSchema, MAX_BRIDGE_FRAME_BYTES, MAX_BRIDGE_IN_FLIGHT, MAX_BRIDGE_STREAMS, MAX_REMOTE_NODE_KEEP_RELEASES, MAX_REMOTE_NODE_WAIT_MS, MAX_REMOTE_NODES, MIN_REMOTE_NODE_KEEP_RELEASES, REMOTE_NODE_AGGREGATE_TYPE, REMOTE_NODE_ERROR_CODES, REMOTE_NODE_NAME_PATTERN, REMOTE_NODE_PATH_PATTERN, REMOTE_NODE_REAL_PATH_PATTERN, REMOTE_NODE_SCHEMA_VERSION, REMOTE_NODE_SSH_HOST_PATTERN, remoteNodeBlockerSchema, remoteNodeExecutorSchema, remoteNodeHostFactsSchema, remoteNodeInstallConfirmParametersSchema, remoteNodeInstallConfirmResultSchema, remoteNodeInstallPlanSchema, remoteNodeInstallPreviewParametersSchema, remoteNodeInstallPreviewResultSchema, remoteNodeListParametersSchema, remoteNodeListResultSchema, remoteNodeRecordSchema, remoteNodeRegisterConfirmParametersSchema, remoteNodeRegisterConfirmResultSchema, remoteNodeRegisterPlanSchema, remoteNodeRegisterPreviewParametersSchema, remoteNodeRegisterPreviewResultSchema, remoteNodeRemoveConfirmParametersSchema, remoteNodeRemoveConfirmResultSchema, remoteNodeRemovePreviewParametersSchema, remoteNodeRemovePreviewResultSchema, } from "./contract.js";
|
|
2
2
|
export { REMOTE_NODE_FEATURE } from "./feature.js";
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/remote-node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,wBAAwB,EAExB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,6BAA6B,EAC7B,uBAAuB,EACvB,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACxB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAE5B,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/remote-node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,uBAAuB,EAEvB,wBAAwB,EAExB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,6BAA6B,EAC7B,uBAAuB,EACvB,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAE5B,uBAAuB,EAGvB,wBAAwB,EAExB,yBAAyB,EAEzB,wCAAwC,EAExC,oCAAoC,EAEpC,2BAA2B,EAE3B,wCAAwC,EAExC,oCAAoC,EAEpC,8BAA8B,EAE9B,0BAA0B,EAE1B,sBAAsB,EAEtB,yCAAyC,EAEzC,qCAAqC,EAErC,4BAA4B,EAE5B,yCAAyC,EAEzC,qCAAqC,EAErC,uCAAuC,EAEvC,mCAAmC,EAEnC,uCAAuC,EAEvC,mCAAmC,GACpC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -54,6 +54,25 @@ export declare const remoteNodeInstallConfirmParametersEffectSchema: Schema.Stru
|
|
|
54
54
|
export declare const remoteNodeListParametersEffectSchema: Schema.Struct<{
|
|
55
55
|
readonly includeRemoved: Schema.optional<Schema.Boolean>;
|
|
56
56
|
}>;
|
|
57
|
+
export declare const remoteNodeRegisterPreviewParametersEffectSchema: Schema.Struct<{
|
|
58
|
+
commandId: Schema.String;
|
|
59
|
+
host: Schema.String;
|
|
60
|
+
/** The bridge launcher; absent, install's layout under the remote HOME. */
|
|
61
|
+
launcherPath: Schema.optional<Schema.String>;
|
|
62
|
+
name: Schema.String;
|
|
63
|
+
/** The profile the Node must greet as; absent, any (`default` for the layout). */
|
|
64
|
+
profile: Schema.optional<Schema.String>;
|
|
65
|
+
}>;
|
|
66
|
+
export declare const remoteNodeRegisterConfirmParametersEffectSchema: Schema.Struct<{
|
|
67
|
+
readonly commandId: Schema.String;
|
|
68
|
+
readonly host: Schema.String;
|
|
69
|
+
readonly launcherPath: Schema.optional<Schema.String>;
|
|
70
|
+
readonly name: Schema.String;
|
|
71
|
+
readonly profile: Schema.optional<Schema.String>;
|
|
72
|
+
readonly inputDigest: Schema.String;
|
|
73
|
+
readonly planDigest: Schema.String;
|
|
74
|
+
readonly proof: Schema.String;
|
|
75
|
+
}>;
|
|
57
76
|
export declare const remoteNodeRemovePreviewParametersEffectSchema: Schema.Struct<{
|
|
58
77
|
commandId: Schema.String;
|
|
59
78
|
expectedRevision: Schema.String;
|
|
@@ -107,6 +126,29 @@ export declare const remoteNodeRequestEffectSchema: Schema.Union<readonly [Schem
|
|
|
107
126
|
readonly parameters: Schema.Struct<{
|
|
108
127
|
readonly includeRemoved: Schema.optional<Schema.Boolean>;
|
|
109
128
|
}>;
|
|
129
|
+
}>, Schema.Struct<{
|
|
130
|
+
readonly method: Schema.Literal<"node.remote.register.preview">;
|
|
131
|
+
readonly parameters: Schema.Struct<{
|
|
132
|
+
commandId: Schema.String;
|
|
133
|
+
host: Schema.String;
|
|
134
|
+
/** The bridge launcher; absent, install's layout under the remote HOME. */
|
|
135
|
+
launcherPath: Schema.optional<Schema.String>;
|
|
136
|
+
name: Schema.String;
|
|
137
|
+
/** The profile the Node must greet as; absent, any (`default` for the layout). */
|
|
138
|
+
profile: Schema.optional<Schema.String>;
|
|
139
|
+
}>;
|
|
140
|
+
}>, Schema.Struct<{
|
|
141
|
+
readonly method: Schema.Literal<"node.remote.register.confirm">;
|
|
142
|
+
readonly parameters: Schema.Struct<{
|
|
143
|
+
readonly commandId: Schema.String;
|
|
144
|
+
readonly host: Schema.String;
|
|
145
|
+
readonly launcherPath: Schema.optional<Schema.String>;
|
|
146
|
+
readonly name: Schema.String;
|
|
147
|
+
readonly profile: Schema.optional<Schema.String>;
|
|
148
|
+
readonly inputDigest: Schema.String;
|
|
149
|
+
readonly planDigest: Schema.String;
|
|
150
|
+
readonly proof: Schema.String;
|
|
151
|
+
}>;
|
|
110
152
|
}>, Schema.Struct<{
|
|
111
153
|
readonly method: Schema.Literal<"node.remote.remove.preview">;
|
|
112
154
|
readonly parameters: Schema.Struct<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-effect-schema.d.ts","sourceRoot":"","sources":["../../src/remote-node/request-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,yEAAyE;AACzE,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,0EAA0E;AAC1E,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAC5C,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAC/C,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAE/C,gEAAgE;AAChE,eAAO,MAAM,wBAAwB,QAA+B,CAAC;AACrE,gFAAgF;AAChF,eAAO,MAAM,4BAA4B,QAAmC,CAAC;AAQ7E,0DAA0D;AAC1D,eAAO,MAAM,wBAAwB,QAGpC,CAAC;AAGF,eAAO,MAAM,6BAA6B,QAGzC,CAAC;AAMF,eAAO,MAAM,0BAA0B,eAEtC,CAAC;AACF,eAAO,MAAM,6BAA6B,eAEzC,CAAC;AACF,eAAO,MAAM,6BAA6B,eAEzC,CAAC;AACF,eAAO,MAAM,0BAA0B,eAGtC,CAAC;AACF,eAAO,MAAM,0BAA0B,eAGtC,CAAC;AACF,eAAO,MAAM,8BAA8B,eAG1C,CAAC;AACF,eAAO,MAAM,+BAA+B,eAE3C,CAAC;AACF,eAAO,MAAM,4BAA4B,eAExC,CAAC;AACF,eAAO,MAAM,+BAA+B,eAE3C,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;;;;;EACnC,CAAC;AAExB,eAAO,MAAM,6CAA6C;;;;;;;;EAKxD,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAnDxC,2EAA2E;;;QAG3E,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6ElF,CAAC"}
|
|
@@ -58,6 +58,16 @@ const install = {
|
|
|
58
58
|
nodeRuntime: remoteNodeLocalPathEffectSchema,
|
|
59
59
|
release: remoteNodeLocalPathEffectSchema,
|
|
60
60
|
};
|
|
61
|
+
/** A running Node to register: its host, its name and where its bridge is. */
|
|
62
|
+
const register = {
|
|
63
|
+
commandId: protocolIdentifierEffectSchema,
|
|
64
|
+
host: remoteNodeSshHostEffectSchema,
|
|
65
|
+
/** The bridge launcher; absent, install's layout under the remote HOME. */
|
|
66
|
+
launcherPath: Schema.optional(remoteNodePathEffectSchema),
|
|
67
|
+
name: remoteNodeNameEffectSchema,
|
|
68
|
+
/** The profile the Node must greet as; absent, any (`default` for the layout). */
|
|
69
|
+
profile: Schema.optional(remoteNodeProfileEffectSchema),
|
|
70
|
+
};
|
|
61
71
|
const remove = {
|
|
62
72
|
commandId: protocolIdentifierEffectSchema,
|
|
63
73
|
expectedRevision: revision,
|
|
@@ -78,6 +88,13 @@ export const remoteNodeInstallConfirmParametersEffectSchema = Schema.Struct({
|
|
|
78
88
|
export const remoteNodeListParametersEffectSchema = Schema.Struct({
|
|
79
89
|
includeRemoved: Schema.optional(Schema.Boolean),
|
|
80
90
|
});
|
|
91
|
+
export const remoteNodeRegisterPreviewParametersEffectSchema = Schema.Struct(register);
|
|
92
|
+
export const remoteNodeRegisterConfirmParametersEffectSchema = Schema.Struct({
|
|
93
|
+
...register,
|
|
94
|
+
inputDigest: digest,
|
|
95
|
+
planDigest: digest,
|
|
96
|
+
proof,
|
|
97
|
+
});
|
|
81
98
|
export const remoteNodeRemovePreviewParametersEffectSchema = Schema.Struct(remove);
|
|
82
99
|
export const remoteNodeRemoveConfirmParametersEffectSchema = Schema.Struct({
|
|
83
100
|
...remove,
|
|
@@ -98,6 +115,14 @@ export const remoteNodeRequestEffectSchema = Schema.Union([
|
|
|
98
115
|
method: Schema.Literal("node.remote.list"),
|
|
99
116
|
parameters: remoteNodeListParametersEffectSchema,
|
|
100
117
|
}),
|
|
118
|
+
Schema.Struct({
|
|
119
|
+
method: Schema.Literal("node.remote.register.preview"),
|
|
120
|
+
parameters: remoteNodeRegisterPreviewParametersEffectSchema,
|
|
121
|
+
}),
|
|
122
|
+
Schema.Struct({
|
|
123
|
+
method: Schema.Literal("node.remote.register.confirm"),
|
|
124
|
+
parameters: remoteNodeRegisterConfirmParametersEffectSchema,
|
|
125
|
+
}),
|
|
101
126
|
Schema.Struct({
|
|
102
127
|
method: Schema.Literal("node.remote.remove.preview"),
|
|
103
128
|
parameters: remoteNodeRemovePreviewParametersEffectSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-effect-schema.js","sourceRoot":"","sources":["../../src/remote-node/request-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,8BAA8B,CAAC;AAEtC,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAChE,yEAAyE;AACzE,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AACnC,0EAA0E;AAC1E,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAC5C,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC;AAC/C,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC;AAE/C,gEAAgE;AAChE,MAAM,CAAC,MAAM,wBAAwB,GAAG,4BAA4B,CAAC;AACrE,gFAAgF;AAChF,MAAM,CAAC,MAAM,4BAA4B,GAAG,gCAAgC,CAAC;AAC7E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M,6BAA6B,GAAG,MAAM,CAAC,KAAK,CAAC;IACxD,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,6BAA6B,CAAC;QACrD,UAAU,EAAE,8CAA8C;KAC3D,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,6BAA6B,CAAC;QACrD,UAAU,EAAE,8CAA8C;KAC3D,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC;QAC1C,UAAU,EAAE,oCAAoC;KACjD,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,8BAA8B,CAAC;QACtD,UAAU,EAAE,+CAA+C;KAC5D,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,8BAA8B,CAAC;QACtD,UAAU,EAAE,+CAA+C;KAC5D,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,4BAA4B,CAAC;QACpD,UAAU,EAAE,6CAA6C;KAC1D,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,4BAA4B,CAAC;QACpD,UAAU,EAAE,6CAA6C;KAC1D,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -89,9 +89,11 @@ export declare const remoteNodeInstallPlanEffectSchema: Schema.Struct<{
|
|
|
89
89
|
readonly uploadBytes: Schema.Int;
|
|
90
90
|
}>;
|
|
91
91
|
/**
|
|
92
|
-
* A
|
|
93
|
-
* Node now; `install_failed` and `remove_failed` carry the error;
|
|
94
|
-
* keeps the record, so the name and its receipts stay readable.
|
|
92
|
+
* A remote Node in the registry. `installing` and `removing` are running on
|
|
93
|
+
* this Node now; `install_failed` and `remove_failed` carry the error;
|
|
94
|
+
* `removed` keeps the record, so the name and its receipts stay readable.
|
|
95
|
+
* Origin `registered` is a running Node registered without an install;
|
|
96
|
+
* without an origin, this Node installed it.
|
|
95
97
|
*/
|
|
96
98
|
export declare const remoteNodeRecordEffectSchema: Schema.Struct<{
|
|
97
99
|
readonly createdAt: Schema.String;
|
|
@@ -117,17 +119,30 @@ export declare const remoteNodeRecordEffectSchema: Schema.Struct<{
|
|
|
117
119
|
readonly launcherPath: Schema.String;
|
|
118
120
|
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
119
121
|
readonly name: Schema.String;
|
|
122
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
120
123
|
readonly profile: Schema.String;
|
|
121
124
|
readonly releaseId: Schema.optional<Schema.String>;
|
|
122
125
|
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
123
126
|
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
124
127
|
readonly revision: Schema.String;
|
|
125
|
-
readonly root: Schema.String
|
|
128
|
+
readonly root: Schema.optional<Schema.String>;
|
|
126
129
|
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
127
130
|
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
128
|
-
readonly unitName: Schema.String
|
|
131
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
129
132
|
readonly updatedAt: Schema.String;
|
|
130
133
|
}>;
|
|
134
|
+
/**
|
|
135
|
+
* What a register records from the Node's greeting. `planDigest` covers it,
|
|
136
|
+
* so a Node that restarted or changed since the preview refuses the
|
|
137
|
+
* confirmation.
|
|
138
|
+
*/
|
|
139
|
+
export declare const remoteNodeRegisterPlanEffectSchema: Schema.Struct<{
|
|
140
|
+
readonly host: Schema.String;
|
|
141
|
+
readonly instanceId: Schema.String;
|
|
142
|
+
readonly launcherPath: Schema.String;
|
|
143
|
+
readonly maiaVersion: Schema.String;
|
|
144
|
+
readonly profile: Schema.String;
|
|
145
|
+
}>;
|
|
131
146
|
export declare const remoteNodeInstallPreviewResultEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
132
147
|
readonly commandId: Schema.String;
|
|
133
148
|
readonly method: Schema.Literal<"node.remote.install.preview">;
|
|
@@ -215,6 +230,83 @@ export declare const remoteNodeInstallPreviewResultEffectSchema: Schema.Union<re
|
|
|
215
230
|
readonly planDigest: Schema.String;
|
|
216
231
|
readonly state: Schema.Literal<"ready">;
|
|
217
232
|
}>]>;
|
|
233
|
+
export declare const remoteNodeRegisterPreviewResultEffectSchema: Schema.Struct<{
|
|
234
|
+
readonly actorId: Schema.String;
|
|
235
|
+
readonly expiresAt: Schema.String;
|
|
236
|
+
readonly inputDigest: Schema.String;
|
|
237
|
+
readonly issuedAt: Schema.String;
|
|
238
|
+
readonly proof: Schema.String;
|
|
239
|
+
readonly commandId: Schema.String;
|
|
240
|
+
readonly method: Schema.Literal<"node.remote.register.preview">;
|
|
241
|
+
readonly name: Schema.String;
|
|
242
|
+
readonly plan: Schema.Struct<{
|
|
243
|
+
readonly host: Schema.String;
|
|
244
|
+
readonly instanceId: Schema.String;
|
|
245
|
+
readonly launcherPath: Schema.String;
|
|
246
|
+
readonly maiaVersion: Schema.String;
|
|
247
|
+
readonly profile: Schema.String;
|
|
248
|
+
}>;
|
|
249
|
+
readonly planDigest: Schema.String;
|
|
250
|
+
}>;
|
|
251
|
+
export declare const remoteNodeRegisterConfirmResultEffectSchema: Schema.Struct<{
|
|
252
|
+
readonly actorId: Schema.String;
|
|
253
|
+
readonly commandId: Schema.String;
|
|
254
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
255
|
+
readonly inputDigest: Schema.String;
|
|
256
|
+
readonly node: Schema.Struct<{
|
|
257
|
+
readonly createdAt: Schema.String;
|
|
258
|
+
readonly error: Schema.optional<Schema.Struct<{
|
|
259
|
+
readonly code: Schema.String;
|
|
260
|
+
readonly message: Schema.String;
|
|
261
|
+
}>>;
|
|
262
|
+
readonly executors: Schema.$Array<Schema.Struct<{
|
|
263
|
+
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
264
|
+
readonly interpreter: Schema.optional<Schema.Struct<{
|
|
265
|
+
readonly path: Schema.String;
|
|
266
|
+
readonly sha256: Schema.String;
|
|
267
|
+
}>>;
|
|
268
|
+
readonly path: Schema.optional<Schema.String>;
|
|
269
|
+
readonly realPath: Schema.optional<Schema.String>;
|
|
270
|
+
readonly reason: Schema.optional<Schema.String>;
|
|
271
|
+
readonly sha256: Schema.optional<Schema.String>;
|
|
272
|
+
readonly source: Schema.Literals<readonly ["discovered", "override"]>;
|
|
273
|
+
readonly state: Schema.Literals<readonly ["available", "unavailable"]>;
|
|
274
|
+
}>>;
|
|
275
|
+
readonly host: Schema.String;
|
|
276
|
+
readonly installedAt: Schema.optional<Schema.String>;
|
|
277
|
+
readonly launcherPath: Schema.String;
|
|
278
|
+
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
279
|
+
readonly name: Schema.String;
|
|
280
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
281
|
+
readonly profile: Schema.String;
|
|
282
|
+
readonly releaseId: Schema.optional<Schema.String>;
|
|
283
|
+
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
284
|
+
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
285
|
+
readonly revision: Schema.String;
|
|
286
|
+
readonly root: Schema.optional<Schema.String>;
|
|
287
|
+
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
288
|
+
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
289
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
290
|
+
readonly updatedAt: Schema.String;
|
|
291
|
+
}>;
|
|
292
|
+
readonly receipt: Schema.Struct<{
|
|
293
|
+
readonly actorId: Schema.String;
|
|
294
|
+
readonly aggregateRevision: Schema.String;
|
|
295
|
+
readonly commandId: Schema.String;
|
|
296
|
+
readonly createdAt: Schema.String;
|
|
297
|
+
readonly eventCursor: Schema.String;
|
|
298
|
+
readonly method: Schema.String;
|
|
299
|
+
readonly receiptId: Schema.String;
|
|
300
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
301
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
302
|
+
readonly target: Schema.Struct<{
|
|
303
|
+
readonly id: Schema.String;
|
|
304
|
+
readonly type: Schema.String;
|
|
305
|
+
}>;
|
|
306
|
+
readonly updatedAt: Schema.String;
|
|
307
|
+
}>;
|
|
308
|
+
readonly method: Schema.Literal<"node.remote.register.confirm">;
|
|
309
|
+
}>;
|
|
218
310
|
export declare const remoteNodeInstallConfirmResultEffectSchema: Schema.Struct<{
|
|
219
311
|
readonly actorId: Schema.String;
|
|
220
312
|
readonly commandId: Schema.String;
|
|
@@ -244,15 +336,16 @@ export declare const remoteNodeInstallConfirmResultEffectSchema: Schema.Struct<{
|
|
|
244
336
|
readonly launcherPath: Schema.String;
|
|
245
337
|
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
246
338
|
readonly name: Schema.String;
|
|
339
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
247
340
|
readonly profile: Schema.String;
|
|
248
341
|
readonly releaseId: Schema.optional<Schema.String>;
|
|
249
342
|
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
250
343
|
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
251
344
|
readonly revision: Schema.String;
|
|
252
|
-
readonly root: Schema.String
|
|
345
|
+
readonly root: Schema.optional<Schema.String>;
|
|
253
346
|
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
254
347
|
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
255
|
-
readonly unitName: Schema.String
|
|
348
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
256
349
|
readonly updatedAt: Schema.String;
|
|
257
350
|
}>;
|
|
258
351
|
readonly receipt: Schema.Struct<{
|
|
@@ -299,15 +392,16 @@ export declare const remoteNodeListResultEffectSchema: Schema.Struct<{
|
|
|
299
392
|
readonly launcherPath: Schema.String;
|
|
300
393
|
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
301
394
|
readonly name: Schema.String;
|
|
395
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
302
396
|
readonly profile: Schema.String;
|
|
303
397
|
readonly releaseId: Schema.optional<Schema.String>;
|
|
304
398
|
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
305
399
|
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
306
400
|
readonly revision: Schema.String;
|
|
307
|
-
readonly root: Schema.String
|
|
401
|
+
readonly root: Schema.optional<Schema.String>;
|
|
308
402
|
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
309
403
|
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
310
|
-
readonly unitName: Schema.String
|
|
404
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
311
405
|
readonly updatedAt: Schema.String;
|
|
312
406
|
}>>;
|
|
313
407
|
}>;
|
|
@@ -323,9 +417,10 @@ export declare const remoteNodeRemovePreviewResultEffectSchema: Schema.Struct<{
|
|
|
323
417
|
readonly expectedRevision: Schema.String;
|
|
324
418
|
readonly method: Schema.Literal<"node.remote.remove.preview">;
|
|
325
419
|
readonly name: Schema.String;
|
|
420
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
326
421
|
readonly purge: Schema.Boolean;
|
|
327
|
-
readonly root: Schema.String
|
|
328
|
-
readonly unitName: Schema.String
|
|
422
|
+
readonly root: Schema.optional<Schema.String>;
|
|
423
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
329
424
|
}>;
|
|
330
425
|
export declare const remoteNodeRemoveConfirmResultEffectSchema: Schema.Struct<{
|
|
331
426
|
readonly actorId: Schema.String;
|
|
@@ -356,15 +451,16 @@ export declare const remoteNodeRemoveConfirmResultEffectSchema: Schema.Struct<{
|
|
|
356
451
|
readonly launcherPath: Schema.String;
|
|
357
452
|
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
358
453
|
readonly name: Schema.String;
|
|
454
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
359
455
|
readonly profile: Schema.String;
|
|
360
456
|
readonly releaseId: Schema.optional<Schema.String>;
|
|
361
457
|
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
362
458
|
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
363
459
|
readonly revision: Schema.String;
|
|
364
|
-
readonly root: Schema.String
|
|
460
|
+
readonly root: Schema.optional<Schema.String>;
|
|
365
461
|
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
366
462
|
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
367
|
-
readonly unitName: Schema.String
|
|
463
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
368
464
|
readonly updatedAt: Schema.String;
|
|
369
465
|
}>;
|
|
370
466
|
readonly receipt: Schema.Struct<{
|
|
@@ -500,15 +596,16 @@ export declare const remoteNodeResultEffectSchema: Schema.Union<readonly [Schema
|
|
|
500
596
|
readonly launcherPath: Schema.String;
|
|
501
597
|
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
502
598
|
readonly name: Schema.String;
|
|
599
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
503
600
|
readonly profile: Schema.String;
|
|
504
601
|
readonly releaseId: Schema.optional<Schema.String>;
|
|
505
602
|
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
506
603
|
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
507
604
|
readonly revision: Schema.String;
|
|
508
|
-
readonly root: Schema.String
|
|
605
|
+
readonly root: Schema.optional<Schema.String>;
|
|
509
606
|
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
510
607
|
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
511
|
-
readonly unitName: Schema.String
|
|
608
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
512
609
|
readonly updatedAt: Schema.String;
|
|
513
610
|
}>;
|
|
514
611
|
readonly receipt: Schema.Struct<{
|
|
@@ -554,17 +651,93 @@ export declare const remoteNodeResultEffectSchema: Schema.Union<readonly [Schema
|
|
|
554
651
|
readonly launcherPath: Schema.String;
|
|
555
652
|
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
556
653
|
readonly name: Schema.String;
|
|
654
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
557
655
|
readonly profile: Schema.String;
|
|
558
656
|
readonly releaseId: Schema.optional<Schema.String>;
|
|
559
657
|
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
560
658
|
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
561
659
|
readonly revision: Schema.String;
|
|
562
|
-
readonly root: Schema.String
|
|
660
|
+
readonly root: Schema.optional<Schema.String>;
|
|
563
661
|
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
564
662
|
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
565
|
-
readonly unitName: Schema.String
|
|
663
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
566
664
|
readonly updatedAt: Schema.String;
|
|
567
665
|
}>>;
|
|
666
|
+
}>, Schema.Struct<{
|
|
667
|
+
readonly actorId: Schema.String;
|
|
668
|
+
readonly expiresAt: Schema.String;
|
|
669
|
+
readonly inputDigest: Schema.String;
|
|
670
|
+
readonly issuedAt: Schema.String;
|
|
671
|
+
readonly proof: Schema.String;
|
|
672
|
+
readonly commandId: Schema.String;
|
|
673
|
+
readonly method: Schema.Literal<"node.remote.register.preview">;
|
|
674
|
+
readonly name: Schema.String;
|
|
675
|
+
readonly plan: Schema.Struct<{
|
|
676
|
+
readonly host: Schema.String;
|
|
677
|
+
readonly instanceId: Schema.String;
|
|
678
|
+
readonly launcherPath: Schema.String;
|
|
679
|
+
readonly maiaVersion: Schema.String;
|
|
680
|
+
readonly profile: Schema.String;
|
|
681
|
+
}>;
|
|
682
|
+
readonly planDigest: Schema.String;
|
|
683
|
+
}>, Schema.Struct<{
|
|
684
|
+
readonly actorId: Schema.String;
|
|
685
|
+
readonly commandId: Schema.String;
|
|
686
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
687
|
+
readonly inputDigest: Schema.String;
|
|
688
|
+
readonly node: Schema.Struct<{
|
|
689
|
+
readonly createdAt: Schema.String;
|
|
690
|
+
readonly error: Schema.optional<Schema.Struct<{
|
|
691
|
+
readonly code: Schema.String;
|
|
692
|
+
readonly message: Schema.String;
|
|
693
|
+
}>>;
|
|
694
|
+
readonly executors: Schema.$Array<Schema.Struct<{
|
|
695
|
+
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
696
|
+
readonly interpreter: Schema.optional<Schema.Struct<{
|
|
697
|
+
readonly path: Schema.String;
|
|
698
|
+
readonly sha256: Schema.String;
|
|
699
|
+
}>>;
|
|
700
|
+
readonly path: Schema.optional<Schema.String>;
|
|
701
|
+
readonly realPath: Schema.optional<Schema.String>;
|
|
702
|
+
readonly reason: Schema.optional<Schema.String>;
|
|
703
|
+
readonly sha256: Schema.optional<Schema.String>;
|
|
704
|
+
readonly source: Schema.Literals<readonly ["discovered", "override"]>;
|
|
705
|
+
readonly state: Schema.Literals<readonly ["available", "unavailable"]>;
|
|
706
|
+
}>>;
|
|
707
|
+
readonly host: Schema.String;
|
|
708
|
+
readonly installedAt: Schema.optional<Schema.String>;
|
|
709
|
+
readonly launcherPath: Schema.String;
|
|
710
|
+
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
711
|
+
readonly name: Schema.String;
|
|
712
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
713
|
+
readonly profile: Schema.String;
|
|
714
|
+
readonly releaseId: Schema.optional<Schema.String>;
|
|
715
|
+
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
716
|
+
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
717
|
+
readonly revision: Schema.String;
|
|
718
|
+
readonly root: Schema.optional<Schema.String>;
|
|
719
|
+
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
720
|
+
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
721
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
722
|
+
readonly updatedAt: Schema.String;
|
|
723
|
+
}>;
|
|
724
|
+
readonly receipt: Schema.Struct<{
|
|
725
|
+
readonly actorId: Schema.String;
|
|
726
|
+
readonly aggregateRevision: Schema.String;
|
|
727
|
+
readonly commandId: Schema.String;
|
|
728
|
+
readonly createdAt: Schema.String;
|
|
729
|
+
readonly eventCursor: Schema.String;
|
|
730
|
+
readonly method: Schema.String;
|
|
731
|
+
readonly receiptId: Schema.String;
|
|
732
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
733
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
734
|
+
readonly target: Schema.Struct<{
|
|
735
|
+
readonly id: Schema.String;
|
|
736
|
+
readonly type: Schema.String;
|
|
737
|
+
}>;
|
|
738
|
+
readonly updatedAt: Schema.String;
|
|
739
|
+
}>;
|
|
740
|
+
readonly method: Schema.Literal<"node.remote.register.confirm">;
|
|
568
741
|
}>, Schema.Struct<{
|
|
569
742
|
readonly host: Schema.String;
|
|
570
743
|
readonly profile: Schema.String;
|
|
@@ -577,9 +750,10 @@ export declare const remoteNodeResultEffectSchema: Schema.Union<readonly [Schema
|
|
|
577
750
|
readonly expectedRevision: Schema.String;
|
|
578
751
|
readonly method: Schema.Literal<"node.remote.remove.preview">;
|
|
579
752
|
readonly name: Schema.String;
|
|
753
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
580
754
|
readonly purge: Schema.Boolean;
|
|
581
|
-
readonly root: Schema.String
|
|
582
|
-
readonly unitName: Schema.String
|
|
755
|
+
readonly root: Schema.optional<Schema.String>;
|
|
756
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
583
757
|
}>, Schema.Struct<{
|
|
584
758
|
readonly actorId: Schema.String;
|
|
585
759
|
readonly commandId: Schema.String;
|
|
@@ -609,15 +783,16 @@ export declare const remoteNodeResultEffectSchema: Schema.Union<readonly [Schema
|
|
|
609
783
|
readonly launcherPath: Schema.String;
|
|
610
784
|
readonly maiaVersion: Schema.optional<Schema.String>;
|
|
611
785
|
readonly name: Schema.String;
|
|
786
|
+
readonly origin: Schema.optional<Schema.Literal<"registered">>;
|
|
612
787
|
readonly profile: Schema.String;
|
|
613
788
|
readonly releaseId: Schema.optional<Schema.String>;
|
|
614
789
|
/** What an uninstall left on the host: sign-ins and, without purge, state. */
|
|
615
790
|
readonly remaining: Schema.optional<Schema.$Array<Schema.String>>;
|
|
616
791
|
readonly revision: Schema.String;
|
|
617
|
-
readonly root: Schema.String
|
|
792
|
+
readonly root: Schema.optional<Schema.String>;
|
|
618
793
|
readonly schemaVersion: Schema.Literal<"maia.remote-node/v1">;
|
|
619
794
|
readonly state: Schema.Literals<readonly ["installing", "ready", "install_failed", "removing", "removed", "remove_failed"]>;
|
|
620
|
-
readonly unitName: Schema.String
|
|
795
|
+
readonly unitName: Schema.optional<Schema.String>;
|
|
621
796
|
readonly updatedAt: Schema.String;
|
|
622
797
|
}>;
|
|
623
798
|
readonly receipt: Schema.Struct<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result-effect-schema.d.ts","sourceRoot":"","sources":["../../src/remote-node/result-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAuBxC,2DAA2D;AAC3D,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AAyBxD;;;;GAIG;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