@maiaos/protocol 0.1.0-canary.5 → 0.1.0-canary.51
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/agent/definition.d.ts +2 -2
- package/dist/agent/worker-operation.d.ts +8 -0
- package/dist/agent/worker-operation.d.ts.map +1 -1
- package/dist/agents/contract.d.ts +25 -0
- package/dist/agents/contract.d.ts.map +1 -1
- package/dist/agents/contract.js +3 -1
- package/dist/agents/contract.js.map +1 -1
- package/dist/agents/effect-schema.d.ts +45 -0
- package/dist/agents/effect-schema.d.ts.map +1 -1
- package/dist/agents/effect-schema.js +38 -0
- package/dist/agents/effect-schema.js.map +1 -1
- package/dist/agents/feature.d.ts +25 -0
- package/dist/agents/feature.d.ts.map +1 -1
- package/dist/agents/feature.js +23 -0
- package/dist/agents/feature.js.map +1 -1
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/agents/index.js.map +1 -1
- package/dist/approval/contract.d.ts +4 -0
- package/dist/approval/contract.d.ts.map +1 -1
- package/dist/approval/feature.d.ts +6 -2
- package/dist/approval/feature.d.ts.map +1 -1
- package/dist/approval/feature.js +6 -2
- package/dist/approval/feature.js.map +1 -1
- package/dist/approval/request-effect-schema.d.ts +2 -0
- package/dist/approval/request-effect-schema.d.ts.map +1 -1
- package/dist/approval/request-effect-schema.js +2 -0
- package/dist/approval/request-effect-schema.js.map +1 -1
- package/dist/approval/result-effect-schema.d.ts +6 -0
- package/dist/approval/result-effect-schema.d.ts.map +1 -1
- package/dist/command-receipt/contract.d.ts +1 -0
- package/dist/command-receipt/contract.d.ts.map +1 -1
- package/dist/command-receipt/effect-schema.d.ts +2 -0
- package/dist/command-receipt/effect-schema.d.ts.map +1 -1
- package/dist/command-receipt/effect-schema.js +2 -0
- package/dist/command-receipt/effect-schema.js.map +1 -1
- package/dist/connection/request-effect-schema.d.ts +1 -1
- package/dist/connection/request-effect-schema.js +1 -1
- package/dist/coordinator-tool/registry.d.ts.map +1 -1
- package/dist/coordinator-tool/registry.js +14 -1
- package/dist/coordinator-tool/registry.js.map +1 -1
- package/dist/discovery/contract.d.ts +12 -0
- package/dist/discovery/contract.d.ts.map +1 -1
- package/dist/discovery/effect-schema.d.ts +20 -0
- package/dist/discovery/effect-schema.d.ts.map +1 -1
- package/dist/discovery/effect-schema.js +19 -2
- package/dist/discovery/effect-schema.js.map +1 -1
- package/dist/event/contract.d.ts +47 -0
- package/dist/event/contract.d.ts.map +1 -1
- package/dist/event/contract.js +3 -0
- package/dist/event/contract.js.map +1 -1
- package/dist/event/effect-schema.d.ts +3 -1
- package/dist/event/effect-schema.d.ts.map +1 -1
- package/dist/event/effect-schema.js +3 -1
- package/dist/event/effect-schema.js.map +1 -1
- package/dist/event/envelope-effect-schema.d.ts +2 -0
- package/dist/event/envelope-effect-schema.d.ts.map +1 -1
- package/dist/event/envelope-effect-schema.js +2 -0
- package/dist/event/envelope-effect-schema.js.map +1 -1
- package/dist/event/feature.d.ts +30 -0
- package/dist/event/feature.d.ts.map +1 -0
- package/dist/event/feature.js +34 -0
- package/dist/event/feature.js.map +1 -0
- package/dist/event/format.d.ts +6 -0
- package/dist/event/format.d.ts.map +1 -1
- package/dist/event/format.js +6 -0
- package/dist/event/format.js.map +1 -1
- package/dist/event/index.d.ts +4 -1
- package/dist/event/index.d.ts.map +1 -1
- package/dist/event/index.js +4 -1
- package/dist/event/index.js.map +1 -1
- package/dist/event/read-effect-schema.d.ts +105 -0
- package/dist/event/read-effect-schema.d.ts.map +1 -0
- package/dist/event/read-effect-schema.js +64 -0
- package/dist/event/read-effect-schema.js.map +1 -0
- package/dist/event/registry.d.ts +5 -0
- package/dist/event/registry.d.ts.map +1 -1
- package/dist/event/registry.js +48 -6
- package/dist/event/registry.js.map +1 -1
- package/dist/event/session-activity-effect-schema.d.ts +14 -0
- package/dist/event/session-activity-effect-schema.d.ts.map +1 -0
- package/dist/event/session-activity-effect-schema.js +21 -0
- package/dist/event/session-activity-effect-schema.js.map +1 -0
- package/dist/event/session-activity.d.ts +16 -0
- package/dist/event/session-activity.d.ts.map +1 -0
- package/dist/event/session-activity.js +11 -0
- package/dist/event/session-activity.js.map +1 -0
- package/dist/event/update-effect-schema.d.ts +20 -0
- package/dist/event/update-effect-schema.d.ts.map +1 -0
- package/dist/event/update-effect-schema.js +29 -0
- package/dist/event/update-effect-schema.js.map +1 -0
- package/dist/event/update.d.ts +16 -0
- package/dist/event/update.d.ts.map +1 -0
- package/dist/event/update.js +6 -0
- package/dist/event/update.js.map +1 -0
- package/dist/event-stream/contract.d.ts +120 -0
- package/dist/event-stream/contract.d.ts.map +1 -0
- package/dist/event-stream/contract.js +5 -0
- package/dist/event-stream/contract.js.map +1 -0
- package/dist/event-stream/effect-schema.d.ts +117 -0
- package/dist/event-stream/effect-schema.d.ts.map +1 -0
- package/dist/event-stream/effect-schema.js +90 -0
- package/dist/event-stream/effect-schema.js.map +1 -0
- package/dist/event-stream/index.d.ts +2 -0
- package/dist/event-stream/index.d.ts.map +1 -0
- package/dist/event-stream/index.js +2 -0
- package/dist/event-stream/index.js.map +1 -0
- package/dist/feature/registry.d.ts +2 -0
- package/dist/feature/registry.d.ts.map +1 -1
- package/dist/feature/registry.js +2 -0
- package/dist/feature/registry.js.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/local-node/contract.d.ts +19 -7
- 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 +93 -7
- package/dist/local-node/effect-schema.d.ts.map +1 -1
- package/dist/local-node/effect-schema.js +32 -6
- package/dist/local-node/effect-schema.js.map +1 -1
- package/dist/local-node/node-api/methods.d.ts +7 -4
- package/dist/local-node/node-api/methods.d.ts.map +1 -1
- package/dist/local-node/node-api/methods.js +7 -0
- package/dist/local-node/node-api/methods.js.map +1 -1
- package/dist/presentation/contract.d.ts +8 -0
- package/dist/presentation/contract.d.ts.map +1 -1
- package/dist/presentation/effect-schema.d.ts +6 -0
- package/dist/presentation/effect-schema.d.ts.map +1 -1
- package/dist/presentation/session-list-effect-schema.d.ts +6 -0
- package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
- package/dist/run-ledger/contract.d.ts +2 -0
- package/dist/run-ledger/contract.d.ts.map +1 -1
- package/dist/run-ledger/result-effect-schema.d.ts +4 -0
- package/dist/run-ledger/result-effect-schema.d.ts.map +1 -1
- 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 +138 -1
- package/dist/session/contract.d.ts.map +1 -1
- package/dist/session/contract.js +3 -1
- package/dist/session/contract.js.map +1 -1
- package/dist/session/effect-schema.d.ts +500 -4
- package/dist/session/effect-schema.d.ts.map +1 -1
- package/dist/session/effect-schema.js +95 -7
- package/dist/session/effect-schema.js.map +1 -1
- package/dist/session/feature.d.ts +25 -0
- package/dist/session/feature.d.ts.map +1 -1
- package/dist/session/feature.js +23 -0
- package/dist/session/feature.js.map +1 -1
- package/dist/session/index.d.ts +2 -2
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +2 -2
- package/dist/session/index.js.map +1 -1
- package/dist/session/policy.d.ts +32 -0
- package/dist/session/policy.d.ts.map +1 -1
- package/dist/session/policy.js +38 -0
- package/dist/session/policy.js.map +1 -1
- package/dist/session/stop-resume-contract.d.ts +16 -0
- package/dist/session/stop-resume-contract.d.ts.map +1 -1
- package/dist/session/worktree-effect-schema.d.ts +7 -0
- package/dist/session/worktree-effect-schema.d.ts.map +1 -1
- package/dist/session/worktree-effect-schema.js +14 -1
- package/dist/session/worktree-effect-schema.js.map +1 -1
- package/dist/session-guard/contract.d.ts +30 -1
- package/dist/session-guard/contract.d.ts.map +1 -1
- package/dist/session-guard/contract.js +10 -2
- package/dist/session-guard/contract.js.map +1 -1
- package/dist/session-guard/index.d.ts +1 -1
- package/dist/session-guard/index.d.ts.map +1 -1
- package/dist/session-guard/index.js +1 -1
- package/dist/session-guard/index.js.map +1 -1
- package/dist/session-guard/request-effect-schema.d.ts +33 -0
- package/dist/session-guard/request-effect-schema.d.ts.map +1 -1
- package/dist/session-guard/request-effect-schema.js +22 -0
- package/dist/session-guard/request-effect-schema.js.map +1 -1
- package/dist/session-guard/result-effect-schema.d.ts +26 -0
- package/dist/session-guard/result-effect-schema.d.ts.map +1 -1
- package/dist/session-guard/result-effect-schema.js +3 -1
- package/dist/session-guard/result-effect-schema.js.map +1 -1
- package/dist/terminal/contract.d.ts +1 -0
- package/dist/terminal/contract.d.ts.map +1 -1
- package/dist/terminal/effect-schema.d.ts +4 -0
- package/dist/terminal/effect-schema.d.ts.map +1 -1
- package/dist/terminal/effect-schema.js +2 -0
- package/dist/terminal/effect-schema.js.map +1 -1
- package/dist/turn/contract.d.ts +12 -0
- package/dist/turn/contract.d.ts.map +1 -1
- package/dist/turn/effect-schema.d.ts +43 -0
- package/dist/turn/effect-schema.d.ts.map +1 -1
- package/dist/turn/effect-schema.js +16 -9
- package/dist/turn/effect-schema.js.map +1 -1
- package/dist/voice/contract.d.ts +6 -6
- package/dist/voice/effect-schema.d.ts +9 -9
- package/dist/voice/effect-schema.d.ts.map +1 -1
- package/dist/voice/effect-schema.js +3 -1
- package/dist/voice/effect-schema.js.map +1 -1
- package/dist/voice/feature.d.ts +2 -2
- package/dist/voice/orchestrator-system-prompt.d.ts +2 -2
- package/dist/voice/orchestrator-system-prompt.js +2 -2
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { receiptGetResultEffectSchema, receiptListResultEffectSchema } from "../
|
|
|
5
5
|
import { connectionResultEffectSchema } from "../connection/effect-schema.js";
|
|
6
6
|
import { containerResultEffectSchema } from "../container/effect-schema.js";
|
|
7
7
|
import { discoveryResultEffectSchema } from "../discovery/effect-schema.js";
|
|
8
|
+
import { eventsReadResultEffectSchema } from "../event/effect-schema.js";
|
|
8
9
|
import { executionRelocationSuccessResultEffectSchema, executionSuccessResultEffectSchema, executionWorktreeSuccessResultEffectSchema } from "../execution/effect-schema.js";
|
|
9
10
|
import { installedHarnessListResultEffectSchema } from "../harness/installed/effect-schema.js";
|
|
10
11
|
import { holdResultEffectSchema } from "../hold/effect-schema.js";
|
|
@@ -593,6 +594,17 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
593
594
|
readonly leaseId: Schema.String;
|
|
594
595
|
}>;
|
|
595
596
|
}>]>, Schema.Struct<{
|
|
597
|
+
readonly method: Schema.Literal<"events.read">;
|
|
598
|
+
readonly parameters: Schema.Struct<{
|
|
599
|
+
readonly kinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
600
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
601
|
+
readonly since: Schema.optional<Schema.Union<readonly [Schema.String, Schema.String, Schema.String]>>;
|
|
602
|
+
readonly subject: Schema.optional<Schema.Struct<{
|
|
603
|
+
readonly id: Schema.String;
|
|
604
|
+
readonly type: Schema.String;
|
|
605
|
+
}>>;
|
|
606
|
+
}>;
|
|
607
|
+
}>, Schema.Struct<{
|
|
596
608
|
readonly method: Schema.Literal<"reference.resolve">;
|
|
597
609
|
readonly parameters: Schema.Struct<{
|
|
598
610
|
readonly kind: Schema.Literals<readonly ["connection", "container", "project", "session", "workspace"]>;
|
|
@@ -835,6 +847,9 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
835
847
|
}>, Schema.Struct<{
|
|
836
848
|
readonly method: Schema.Literal<"project.guard.preview">;
|
|
837
849
|
readonly parameters: Schema.Struct<{
|
|
850
|
+
approvalGrants: Schema.optional<Schema.Struct<{
|
|
851
|
+
readonly coordinator: Schema.optional<Schema.Literals<readonly ["none", "answer", "decide"]>>;
|
|
852
|
+
}>>;
|
|
838
853
|
commandId: Schema.String;
|
|
839
854
|
expectedRevision: Schema.String;
|
|
840
855
|
limits: Schema.Struct<{
|
|
@@ -848,6 +863,9 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
848
863
|
}>, Schema.Struct<{
|
|
849
864
|
readonly method: Schema.Literal<"project.guard.confirm">;
|
|
850
865
|
readonly parameters: Schema.Struct<{
|
|
866
|
+
readonly approvalGrants: Schema.optional<Schema.Struct<{
|
|
867
|
+
readonly coordinator: Schema.optional<Schema.Literals<readonly ["none", "answer", "decide"]>>;
|
|
868
|
+
}>>;
|
|
851
869
|
readonly commandId: Schema.String;
|
|
852
870
|
readonly expectedRevision: Schema.String;
|
|
853
871
|
readonly limits: Schema.Struct<{
|
|
@@ -1001,6 +1019,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1001
1019
|
readonly workspaceId: Schema.String;
|
|
1002
1020
|
readonly agentId: Schema.optional<Schema.String>;
|
|
1003
1021
|
readonly connectionId: Schema.optional<Schema.String>;
|
|
1022
|
+
readonly cwd: Schema.optional<Schema.String>;
|
|
1004
1023
|
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
1005
1024
|
readonly contentDigest: Schema.String;
|
|
1006
1025
|
readonly key: Schema.String;
|
|
@@ -1008,7 +1027,10 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1008
1027
|
}>>;
|
|
1009
1028
|
readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
|
|
1010
1029
|
readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
|
|
1030
|
+
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
1031
|
+
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1011
1032
|
readonly model: Schema.optional<Schema.String>;
|
|
1033
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1012
1034
|
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
1013
1035
|
readonly title: Schema.optional<Schema.String>;
|
|
1014
1036
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -1029,6 +1051,14 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1029
1051
|
readonly parameters: Schema.Struct<{
|
|
1030
1052
|
readonly sessionId: Schema.String;
|
|
1031
1053
|
}>;
|
|
1054
|
+
}>, Schema.Struct<{
|
|
1055
|
+
readonly method: Schema.Literal<"session.wait">;
|
|
1056
|
+
readonly parameters: Schema.Struct<{
|
|
1057
|
+
readonly activities: Schema.optional<Schema.$Array<Schema.Literals<readonly ["stopped", "waiting_approval", "working", "idle"]>>>;
|
|
1058
|
+
readonly sessionId: Schema.String;
|
|
1059
|
+
readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
|
|
1060
|
+
readonly waitMilliseconds: Schema.Int;
|
|
1061
|
+
}>;
|
|
1032
1062
|
}>, Schema.Struct<{
|
|
1033
1063
|
readonly method: Schema.Literal<"session.spawn">;
|
|
1034
1064
|
readonly parameters: Schema.Struct<{
|
|
@@ -1128,7 +1158,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1128
1158
|
}>;
|
|
1129
1159
|
readonly expectedSessionRevision: Schema.String;
|
|
1130
1160
|
readonly expectedWorkspaceRevision: Schema.String;
|
|
1131
|
-
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
1161
|
+
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.detect", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "events.read", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "session.wait", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
1132
1162
|
readonly sessionId: Schema.String;
|
|
1133
1163
|
readonly workspaceId: Schema.String;
|
|
1134
1164
|
readonly commandId: Schema.String;
|
|
@@ -1143,7 +1173,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1143
1173
|
}>;
|
|
1144
1174
|
readonly expectedSessionRevision: Schema.String;
|
|
1145
1175
|
readonly expectedWorkspaceRevision: Schema.String;
|
|
1146
|
-
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
1176
|
+
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.detect", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "events.read", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "session.wait", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
1147
1177
|
readonly sessionId: Schema.String;
|
|
1148
1178
|
readonly workspaceId: Schema.String;
|
|
1149
1179
|
readonly commandId: Schema.String;
|
|
@@ -1423,6 +1453,9 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1423
1453
|
readonly proof: Schema.String;
|
|
1424
1454
|
}>;
|
|
1425
1455
|
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1456
|
+
readonly method: Schema.Literal<"agents.detect">;
|
|
1457
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1458
|
+
}>, Schema.Struct<{
|
|
1426
1459
|
readonly method: Schema.Literal<"agents.list">;
|
|
1427
1460
|
readonly parameters: Schema.Struct<{
|
|
1428
1461
|
readonly afterCursor: Schema.optional<Schema.String>;
|
|
@@ -1547,6 +1580,8 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1547
1580
|
}>, Schema.Struct<{
|
|
1548
1581
|
readonly method: Schema.Literal<"session.adopt.preview">;
|
|
1549
1582
|
readonly parameters: Schema.Struct<{
|
|
1583
|
+
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
1584
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1550
1585
|
readonly attestEnded: Schema.optional<Schema.Literal<true>>;
|
|
1551
1586
|
readonly commandId: Schema.String;
|
|
1552
1587
|
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
@@ -2476,6 +2511,17 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
2476
2511
|
readonly leaseId: Schema.String;
|
|
2477
2512
|
}>;
|
|
2478
2513
|
}>]>, Schema.Struct<{
|
|
2514
|
+
readonly method: Schema.Literal<"events.read">;
|
|
2515
|
+
readonly parameters: Schema.Struct<{
|
|
2516
|
+
readonly kinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
2517
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
2518
|
+
readonly since: Schema.optional<Schema.Union<readonly [Schema.String, Schema.String, Schema.String]>>;
|
|
2519
|
+
readonly subject: Schema.optional<Schema.Struct<{
|
|
2520
|
+
readonly id: Schema.String;
|
|
2521
|
+
readonly type: Schema.String;
|
|
2522
|
+
}>>;
|
|
2523
|
+
}>;
|
|
2524
|
+
}>, Schema.Struct<{
|
|
2479
2525
|
readonly method: Schema.Literal<"reference.resolve">;
|
|
2480
2526
|
readonly parameters: Schema.Struct<{
|
|
2481
2527
|
readonly kind: Schema.Literals<readonly ["connection", "container", "project", "session", "workspace"]>;
|
|
@@ -2718,6 +2764,9 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
2718
2764
|
}>, Schema.Struct<{
|
|
2719
2765
|
readonly method: Schema.Literal<"project.guard.preview">;
|
|
2720
2766
|
readonly parameters: Schema.Struct<{
|
|
2767
|
+
approvalGrants: Schema.optional<Schema.Struct<{
|
|
2768
|
+
readonly coordinator: Schema.optional<Schema.Literals<readonly ["none", "answer", "decide"]>>;
|
|
2769
|
+
}>>;
|
|
2721
2770
|
commandId: Schema.String;
|
|
2722
2771
|
expectedRevision: Schema.String;
|
|
2723
2772
|
limits: Schema.Struct<{
|
|
@@ -2731,6 +2780,9 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
2731
2780
|
}>, Schema.Struct<{
|
|
2732
2781
|
readonly method: Schema.Literal<"project.guard.confirm">;
|
|
2733
2782
|
readonly parameters: Schema.Struct<{
|
|
2783
|
+
readonly approvalGrants: Schema.optional<Schema.Struct<{
|
|
2784
|
+
readonly coordinator: Schema.optional<Schema.Literals<readonly ["none", "answer", "decide"]>>;
|
|
2785
|
+
}>>;
|
|
2734
2786
|
readonly commandId: Schema.String;
|
|
2735
2787
|
readonly expectedRevision: Schema.String;
|
|
2736
2788
|
readonly limits: Schema.Struct<{
|
|
@@ -2884,6 +2936,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
2884
2936
|
readonly workspaceId: Schema.String;
|
|
2885
2937
|
readonly agentId: Schema.optional<Schema.String>;
|
|
2886
2938
|
readonly connectionId: Schema.optional<Schema.String>;
|
|
2939
|
+
readonly cwd: Schema.optional<Schema.String>;
|
|
2887
2940
|
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
2888
2941
|
readonly contentDigest: Schema.String;
|
|
2889
2942
|
readonly key: Schema.String;
|
|
@@ -2891,7 +2944,10 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
2891
2944
|
}>>;
|
|
2892
2945
|
readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
|
|
2893
2946
|
readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
|
|
2947
|
+
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
2948
|
+
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
2894
2949
|
readonly model: Schema.optional<Schema.String>;
|
|
2950
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2895
2951
|
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
2896
2952
|
readonly title: Schema.optional<Schema.String>;
|
|
2897
2953
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -2912,6 +2968,14 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
2912
2968
|
readonly parameters: Schema.Struct<{
|
|
2913
2969
|
readonly sessionId: Schema.String;
|
|
2914
2970
|
}>;
|
|
2971
|
+
}>, Schema.Struct<{
|
|
2972
|
+
readonly method: Schema.Literal<"session.wait">;
|
|
2973
|
+
readonly parameters: Schema.Struct<{
|
|
2974
|
+
readonly activities: Schema.optional<Schema.$Array<Schema.Literals<readonly ["stopped", "waiting_approval", "working", "idle"]>>>;
|
|
2975
|
+
readonly sessionId: Schema.String;
|
|
2976
|
+
readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
|
|
2977
|
+
readonly waitMilliseconds: Schema.Int;
|
|
2978
|
+
}>;
|
|
2915
2979
|
}>, Schema.Struct<{
|
|
2916
2980
|
readonly method: Schema.Literal<"session.spawn">;
|
|
2917
2981
|
readonly parameters: Schema.Struct<{
|
|
@@ -3011,7 +3075,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
3011
3075
|
}>;
|
|
3012
3076
|
readonly expectedSessionRevision: Schema.String;
|
|
3013
3077
|
readonly expectedWorkspaceRevision: Schema.String;
|
|
3014
|
-
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
3078
|
+
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.detect", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "events.read", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "session.wait", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
3015
3079
|
readonly sessionId: Schema.String;
|
|
3016
3080
|
readonly workspaceId: Schema.String;
|
|
3017
3081
|
readonly commandId: Schema.String;
|
|
@@ -3026,7 +3090,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
3026
3090
|
}>;
|
|
3027
3091
|
readonly expectedSessionRevision: Schema.String;
|
|
3028
3092
|
readonly expectedWorkspaceRevision: Schema.String;
|
|
3029
|
-
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
3093
|
+
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.detect", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "events.read", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "session.wait", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
3030
3094
|
readonly sessionId: Schema.String;
|
|
3031
3095
|
readonly workspaceId: Schema.String;
|
|
3032
3096
|
readonly commandId: Schema.String;
|
|
@@ -3306,6 +3370,9 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
3306
3370
|
readonly proof: Schema.String;
|
|
3307
3371
|
}>;
|
|
3308
3372
|
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
3373
|
+
readonly method: Schema.Literal<"agents.detect">;
|
|
3374
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
3375
|
+
}>, Schema.Struct<{
|
|
3309
3376
|
readonly method: Schema.Literal<"agents.list">;
|
|
3310
3377
|
readonly parameters: Schema.Struct<{
|
|
3311
3378
|
readonly afterCursor: Schema.optional<Schema.String>;
|
|
@@ -3430,6 +3497,8 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
3430
3497
|
}>, Schema.Struct<{
|
|
3431
3498
|
readonly method: Schema.Literal<"session.adopt.preview">;
|
|
3432
3499
|
readonly parameters: Schema.Struct<{
|
|
3500
|
+
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
3501
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
3433
3502
|
readonly attestEnded: Schema.optional<Schema.Literal<true>>;
|
|
3434
3503
|
readonly commandId: Schema.String;
|
|
3435
3504
|
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
@@ -3813,11 +3882,19 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
|
|
|
3813
3882
|
readonly pid: Schema.Int;
|
|
3814
3883
|
readonly profile: Schema.String;
|
|
3815
3884
|
readonly startedAt: Schema.String;
|
|
3885
|
+
readonly admissionCaps: Schema.optional<Schema.Struct<{
|
|
3886
|
+
readonly defaultAccountSessions: Schema.Int;
|
|
3887
|
+
readonly maximumActiveSessions: Schema.Int;
|
|
3888
|
+
}>>;
|
|
3816
3889
|
readonly executorHost: Schema.optional<Schema.Struct<{
|
|
3817
3890
|
readonly bubblewrap: Schema.Literals<readonly ["found", "missing"]>;
|
|
3818
3891
|
readonly socat: Schema.Literals<readonly ["found", "missing"]>;
|
|
3819
3892
|
readonly userNamespaces: Schema.Literals<readonly ["allowed", "no_nesting", "restricted"]>;
|
|
3820
3893
|
}>>;
|
|
3894
|
+
/** Whether approval grants take effect: `off` is the Node's kill switch (D-199). */
|
|
3895
|
+
readonly headlessApprovals: Schema.optional<Schema.Literals<readonly ["off", "on"]>>;
|
|
3896
|
+
/** Whether the Node's owner allows host-authority Sessions (D-198); a Node without the mode sends none. */
|
|
3897
|
+
readonly hostAuthority: Schema.optional<Schema.Literals<readonly ["disabled", "enabled"]>>;
|
|
3821
3898
|
readonly method: Schema.Literal<"node.status">;
|
|
3822
3899
|
readonly processResources: Schema.Struct<{
|
|
3823
3900
|
readonly activeTrees: Schema.Int;
|
|
@@ -3852,7 +3929,7 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
|
|
|
3852
3929
|
}>]>;
|
|
3853
3930
|
readonly cleanupUnknownTrees: Schema.Int;
|
|
3854
3931
|
readonly fencedTrees: Schema.Int;
|
|
3855
|
-
readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "run_node_in_delegated_cgroup", "verify_native_host"]>;
|
|
3932
|
+
readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "run_node_in_delegated_cgroup", "upgrade_kernel", "verify_native_host"]>;
|
|
3856
3933
|
readonly observations: Schema.Struct<{
|
|
3857
3934
|
readonly cpuTimeMilliseconds: Schema.Struct<{
|
|
3858
3935
|
readonly availableTrees: Schema.Int;
|
|
@@ -3912,14 +3989,22 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
|
|
|
3912
3989
|
}>;
|
|
3913
3990
|
readonly treeCount: Schema.Int;
|
|
3914
3991
|
}>;
|
|
3915
|
-
readonly pressure: Schema.Literals<readonly ["admission_degraded", "cgroup_delegation_unavailable", "cleanup_unknown", "healthy", "observed_pressure", "warning"]>;
|
|
3992
|
+
readonly pressure: Schema.Literals<readonly ["admission_degraded", "cgroup_delegation_unavailable", "cleanup_unknown", "healthy", "landlock_scoped_unavailable", "observed_pressure", "warning"]>;
|
|
3916
3993
|
readonly supervision: Schema.Struct<{
|
|
3917
3994
|
readonly trackedTrees: Schema.Int;
|
|
3918
3995
|
readonly watcherFibers: Schema.Int;
|
|
3919
3996
|
}>;
|
|
3920
3997
|
}>;
|
|
3921
3998
|
readonly storage: Schema.Struct<{
|
|
3922
|
-
readonly
|
|
3999
|
+
readonly events: Schema.optional<Schema.Struct<{
|
|
4000
|
+
/** Present once an end-of-run checkpoint ran: true when a reader still held the log. */
|
|
4001
|
+
readonly checkpointBlocked: Schema.optional<Schema.Boolean>;
|
|
4002
|
+
/** Logical bytes above the size limit; zero when within it. */
|
|
4003
|
+
readonly excessBytes: Schema.Int;
|
|
4004
|
+
/** Milliseconds since the lowest retained row's time; absent for an empty journal. */
|
|
4005
|
+
readonly oldestAgeMs: Schema.optional<Schema.Int>;
|
|
4006
|
+
}>>;
|
|
4007
|
+
readonly integrity: Schema.Literals<readonly ["ok", "unavailable"]>;
|
|
3923
4008
|
readonly journalMode: Schema.Literal<"wal">;
|
|
3924
4009
|
readonly schemaTag: Schema.String;
|
|
3925
4010
|
readonly schemaVersion: Schema.Int;
|
|
@@ -3953,6 +4038,7 @@ type LocalNodeSuccessResultMembers = readonly [
|
|
|
3953
4038
|
typeof receiptListResultEffectSchema,
|
|
3954
4039
|
typeof orchestrationSuccessResultEffectSchema,
|
|
3955
4040
|
typeof portLeaseResultEffectSchema,
|
|
4041
|
+
typeof eventsReadResultEffectSchema,
|
|
3956
4042
|
typeof referenceResultEffectSchema,
|
|
3957
4043
|
typeof remoteNodeResultEffectSchema,
|
|
3958
4044
|
typeof routineResultEffectSchema,
|
|
@@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H,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;IAGhD,CAAC;AA0BH,eAAO,MAAM,iCAAiC;;;EAG5C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;EAKtC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;EAOzC,CAAC;AAEH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;EAUlD,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;IAU9C,CAAC;AAcH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;EAelD,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;EAI/C,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;EAQ/C,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;;;EAQnD,CAAC;AAiGH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQ9C,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { connectionRequestEffectSchema, connectionResultEffectSchema, } from "..
|
|
|
6
6
|
import { containerRequestEffectSchema, containerResultEffectSchema, } from "../container/effect-schema.js";
|
|
7
7
|
import { discoveryRequestEffectSchema, discoveryResultEffectSchema, } from "../discovery/effect-schema.js";
|
|
8
8
|
import { aggregateRevisionEffectSchema, protocolErrorEffectSchema, protocolErrorEnvelopeEffectSchema, protocolIdentifierEffectSchema, protocolVersionEffectSchema, } from "../envelope/effect-schema.js";
|
|
9
|
+
import { eventsReadResultEffectSchema, eventsRequestEffectSchema, } from "../event/effect-schema.js";
|
|
9
10
|
import { executionRelocationRequestPayloadEffectSchema, executionRelocationSuccessResultEffectSchema, executionRequestPayloadEffectSchema, executionSuccessResultEffectSchema, executionWorktreeRequestPayloadEffectSchema, executionWorktreeSuccessResultEffectSchema, } from "../execution/effect-schema.js";
|
|
10
11
|
import { installedHarnessListResultEffectSchema, installedHarnessRequestPayloadEffectSchema, } from "../harness/installed/effect-schema.js";
|
|
11
12
|
import { holdRequestEffectSchema, holdResultEffectSchema, } from "../hold/effect-schema.js";
|
|
@@ -77,6 +78,7 @@ export const localNodeRequestPayloadEffectSchema = Schema.Union([
|
|
|
77
78
|
}),
|
|
78
79
|
orchestrationRequestPayloadEffectSchema,
|
|
79
80
|
portLeaseRequestEffectSchema,
|
|
81
|
+
eventsRequestEffectSchema,
|
|
80
82
|
referenceRequestEffectSchema,
|
|
81
83
|
remoteNodeRequestEffectSchema,
|
|
82
84
|
routineRequestEffectSchema,
|
|
@@ -191,6 +193,7 @@ const localNodeProcessResourcesStructEffectSchema = Schema.Struct({
|
|
|
191
193
|
"inspect_observed_pressure",
|
|
192
194
|
"none",
|
|
193
195
|
"run_node_in_delegated_cgroup",
|
|
196
|
+
"upgrade_kernel",
|
|
194
197
|
"verify_native_host",
|
|
195
198
|
]),
|
|
196
199
|
observations: processResourceObservationsEffectSchema,
|
|
@@ -199,6 +202,7 @@ const localNodeProcessResourcesStructEffectSchema = Schema.Struct({
|
|
|
199
202
|
"cgroup_delegation_unavailable",
|
|
200
203
|
"cleanup_unknown",
|
|
201
204
|
"healthy",
|
|
205
|
+
"landlock_scoped_unavailable",
|
|
202
206
|
"observed_pressure",
|
|
203
207
|
"warning",
|
|
204
208
|
]),
|
|
@@ -219,12 +223,15 @@ const processResourceMetricIsConsistent = (metric, treeCount) => {
|
|
|
219
223
|
metric.state === expectedState);
|
|
220
224
|
};
|
|
221
225
|
/**
|
|
222
|
-
* Without a delegated cgroup the Linux helper refuses
|
|
223
|
-
* projection claims no containment and admits nothing.
|
|
226
|
+
* Without a delegated cgroup or the Landlock scopes the Linux helper refuses
|
|
227
|
+
* every launch, so the projection claims no containment and admits nothing.
|
|
224
228
|
*/
|
|
225
|
-
const
|
|
229
|
+
const launchBlockerIsConsistent = (value) => (value.pressure === "cgroup_delegation_unavailable") ===
|
|
226
230
|
(value.nextStep === "run_node_in_delegated_cgroup") &&
|
|
227
|
-
(value.pressure
|
|
231
|
+
(value.pressure === "landlock_scoped_unavailable") ===
|
|
232
|
+
(value.nextStep === "upgrade_kernel") &&
|
|
233
|
+
((value.pressure !== "cgroup_delegation_unavailable" &&
|
|
234
|
+
value.pressure !== "landlock_scoped_unavailable") ||
|
|
228
235
|
(value.capability.mode === "unavailable" &&
|
|
229
236
|
value.admission.state === "unavailable"));
|
|
230
237
|
const processResourceProjectionIsConsistent = (value) => {
|
|
@@ -245,7 +252,7 @@ const processResourceProjectionIsConsistent = (value) => {
|
|
|
245
252
|
value.fencedTrees <= value.cleanupUnknownTrees &&
|
|
246
253
|
value.supervision.watcherFibers <= value.supervision.trackedTrees &&
|
|
247
254
|
value.observations.treeCount === value.supervision.trackedTrees &&
|
|
248
|
-
|
|
255
|
+
launchBlockerIsConsistent(value) &&
|
|
249
256
|
observedMetrics.every((metric) => processResourceMetricIsConsistent(metric, value.observations.treeCount)));
|
|
250
257
|
};
|
|
251
258
|
const localNodeProcessResourcesEffectSchema = localNodeProcessResourcesStructEffectSchema.check(Schema.makeFilter(processResourceProjectionIsConsistent, {
|
|
@@ -262,13 +269,31 @@ const localNodeExecutorHostEffectSchema = Schema.Struct({
|
|
|
262
269
|
socat: Schema.Literals(["found", "missing"]),
|
|
263
270
|
userNamespaces: Schema.Literals(["allowed", "no_nesting", "restricted"]),
|
|
264
271
|
});
|
|
272
|
+
/** Event journal retention: absent when the storage is unavailable, so it never reports invented zeros. */
|
|
273
|
+
const localNodeEventRetentionEffectSchema = Schema.Struct({
|
|
274
|
+
/** Present once an end-of-run checkpoint ran: true when a reader still held the log. */
|
|
275
|
+
checkpointBlocked: Schema.optional(Schema.Boolean),
|
|
276
|
+
/** Logical bytes above the size limit; zero when within it. */
|
|
277
|
+
excessBytes: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
278
|
+
/** Milliseconds since the lowest retained row's time; absent for an empty journal. */
|
|
279
|
+
oldestAgeMs: Schema.optional(Schema.Int.check(Schema.isGreaterThanOrEqualTo(0))),
|
|
280
|
+
});
|
|
265
281
|
export const localNodeStatusResultEffectSchema = Schema.Struct({
|
|
266
282
|
...localNodeInstanceEffectSchema.fields,
|
|
283
|
+
admissionCaps: Schema.optional(Schema.Struct({
|
|
284
|
+
defaultAccountSessions: Schema.Int.check(Schema.isBetween({ maximum: 64, minimum: 1 })),
|
|
285
|
+
maximumActiveSessions: Schema.Int.check(Schema.isBetween({ maximum: 64, minimum: 1 })),
|
|
286
|
+
})),
|
|
267
287
|
executorHost: Schema.optional(localNodeExecutorHostEffectSchema),
|
|
288
|
+
/** Whether approval grants take effect: `off` is the Node's kill switch (D-199). */
|
|
289
|
+
headlessApprovals: Schema.optional(Schema.Literals(["off", "on"])),
|
|
290
|
+
/** Whether the Node's owner allows host-authority Sessions (D-198); a Node without the mode sends none. */
|
|
291
|
+
hostAuthority: Schema.optional(Schema.Literals(["disabled", "enabled"])),
|
|
268
292
|
method: Schema.Literal("node.status"),
|
|
269
293
|
processResources: localNodeProcessResourcesEffectSchema,
|
|
270
294
|
storage: Schema.Struct({
|
|
271
|
-
|
|
295
|
+
events: Schema.optional(localNodeEventRetentionEffectSchema),
|
|
296
|
+
integrity: Schema.Literals(["ok", "unavailable"]),
|
|
272
297
|
journalMode: Schema.Literal("wal"),
|
|
273
298
|
schemaTag: Schema.String.check(Schema.isBetweenLength(20, 64), Schema.isPattern(/^maia\.node-storage\/v[1-9]\d*$/u)),
|
|
274
299
|
schemaVersion: Schema.Int.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(65_535)),
|
|
@@ -301,6 +326,7 @@ export const localNodeSuccessResultEffectSchema = Schema.Union([
|
|
|
301
326
|
receiptListResultEffectSchema,
|
|
302
327
|
orchestrationSuccessResultEffectSchema,
|
|
303
328
|
portLeaseResultEffectSchema,
|
|
329
|
+
eventsReadResultEffectSchema,
|
|
304
330
|
referenceResultEffectSchema,
|
|
305
331
|
remoteNodeResultEffectSchema,
|
|
306
332
|
routineResultEffectSchema,
|