@intentic/sandbox-contract 1.332.0 → 1.333.0
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 +8 -1
- package/dist/contracts/agent.contract.d.ts +1 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/automations.contract.d.ts +1 -0
- package/dist/contracts/automations.contract.d.ts.map +1 -1
- package/dist/contracts/needs.contract.d.ts +29 -1
- package/dist/contracts/needs.contract.d.ts.map +1 -1
- package/dist/contracts/needs.contract.js +2 -2
- package/dist/contracts/needs.contract.js.map +1 -1
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.js +2 -2
- package/dist/contracts/runner.contract.js.map +1 -1
- package/dist/contracts/settings.contract.d.ts +34 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/index.d.ts +114 -43
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/models/model-roles.d.ts +8 -0
- package/dist/models/model-roles.d.ts.map +1 -1
- package/dist/models/model-roles.js +8 -0
- package/dist/models/model-roles.js.map +1 -1
- package/dist/policy/control-scopes.d.ts +47 -0
- package/dist/policy/control-scopes.d.ts.map +1 -1
- package/dist/policy/control-scopes.js +16 -0
- package/dist/policy/control-scopes.js.map +1 -1
- package/dist/policy/device-programs.d.ts +28 -0
- package/dist/policy/device-programs.d.ts.map +1 -0
- package/dist/policy/device-programs.js +79 -0
- package/dist/policy/device-programs.js.map +1 -0
- package/dist/policy/identity-assertion.d.ts +27 -0
- package/dist/policy/identity-assertion.d.ts.map +1 -0
- package/dist/policy/identity-assertion.js +77 -0
- package/dist/policy/identity-assertion.js.map +1 -0
- package/dist/policy/sandbox-power.d.ts +34 -0
- package/dist/policy/sandbox-power.d.ts.map +1 -0
- package/dist/policy/sandbox-power.js +146 -0
- package/dist/policy/sandbox-power.js.map +1 -0
- package/dist/protocol/doors/runner-protocol.d.ts +36 -0
- package/dist/protocol/doors/runner-protocol.d.ts.map +1 -1
- package/dist/protocol/doors/runner-protocol.js +2 -0
- package/dist/protocol/doors/runner-protocol.js.map +1 -1
- package/dist/protocol/raw/raw-json-routes.d.ts +839 -1
- package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -1
- package/dist/protocol/raw/raw-json-routes.js +60 -2
- package/dist/protocol/raw/raw-json-routes.js.map +1 -1
- package/dist/protocol/raw/raw-routes.d.ts +9 -0
- package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
- package/dist/protocol/raw/raw-routes.js +3 -0
- package/dist/protocol/raw/raw-routes.js.map +1 -1
- package/dist/schemas/agent.d.ts +3 -0
- package/dist/schemas/agent.d.ts.map +1 -1
- package/dist/schemas/automations.d.ts +1 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/automations.js +8 -2
- package/dist/schemas/automations.js.map +1 -1
- package/dist/schemas/device-swaps.d.ts +19 -0
- package/dist/schemas/device-swaps.d.ts.map +1 -0
- package/dist/schemas/device-swaps.js +11 -0
- package/dist/schemas/device-swaps.js.map +1 -0
- package/dist/schemas/environment.d.ts +7 -0
- package/dist/schemas/environment.d.ts.map +1 -1
- package/dist/schemas/environment.js +2 -0
- package/dist/schemas/environment.js.map +1 -1
- package/dist/schemas/members.d.ts +4 -0
- package/dist/schemas/members.d.ts.map +1 -1
- package/dist/schemas/members.js +5 -0
- package/dist/schemas/members.js.map +1 -1
- package/dist/schemas/needs.d.ts +78 -1
- package/dist/schemas/needs.d.ts.map +1 -1
- package/dist/schemas/needs.js +36 -1
- package/dist/schemas/needs.js.map +1 -1
- package/dist/schemas/restart-intent.d.ts +47 -0
- package/dist/schemas/restart-intent.d.ts.map +1 -0
- package/dist/schemas/restart-intent.js +19 -0
- package/dist/schemas/restart-intent.js.map +1 -0
- package/dist/schemas/settings.d.ts +34 -0
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +2 -0
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/short-codes.d.ts +16 -0
- package/dist/schemas/short-codes.d.ts.map +1 -1
- package/dist/schemas/short-codes.js +2 -0
- package/dist/schemas/short-codes.js.map +1 -1
- package/dist/schemas/speech.d.ts +4 -0
- package/dist/schemas/speech.d.ts.map +1 -1
- package/dist/schemas/speech.js +1 -0
- package/dist/schemas/speech.js.map +1 -1
- package/dist/schemas/system.d.ts +46 -0
- package/dist/schemas/system.d.ts.map +1 -1
- package/dist/schemas/system.js +18 -1
- package/dist/schemas/system.js.map +1 -1
- package/dist/schemas/voice.d.ts +171 -0
- package/dist/schemas/voice.d.ts.map +1 -0
- package/dist/schemas/voice.js +99 -0
- package/dist/schemas/voice.js.map +1 -0
- package/dist/schemas/workspace/workspace-upload.d.ts +14 -0
- package/dist/schemas/workspace/workspace-upload.d.ts.map +1 -0
- package/dist/schemas/workspace/workspace-upload.js +6 -0
- package/dist/schemas/workspace/workspace-upload.js.map +1 -0
- package/dist/state/arrival.d.ts +3 -0
- package/dist/state/arrival.d.ts.map +1 -1
- package/dist/state/arrival.js +1 -0
- package/dist/state/arrival.js.map +1 -1
- package/dist/state/definition.d.ts +52 -4
- package/dist/state/definition.d.ts.map +1 -1
- package/dist/state/history-state.d.ts.map +1 -1
- package/dist/state/history-state.js +2 -0
- package/dist/state/history-state.js.map +1 -1
- package/dist/state/runtime-state.d.ts +2 -2
- package/dist/state/runtime-state.d.ts.map +1 -1
- package/dist/state/runtime-state.js +2 -2
- package/dist/state/runtime-state.js.map +1 -1
- package/dist/state/update-probation.d.ts +50 -0
- package/dist/state/update-probation.d.ts.map +1 -0
- package/dist/state/update-probation.js +81 -0
- package/dist/state/update-probation.js.map +1 -0
- package/dist/state/workspace-state.d.ts +1 -1
- package/dist/state/workspace-state.d.ts.map +1 -1
- package/dist/state/workspace-state.js +1 -1
- package/dist/state/workspace-state.js.map +1 -1
- package/package.json +16 -5
- package/src/contracts/needs.contract.ts +2 -2
- package/src/contracts/runner.contract.ts +10 -2
- package/src/ids/tunnel-ids.test.ts +30 -0
- package/src/index.ts +7 -0
- package/src/models/model-roles.ts +10 -0
- package/src/policy/control-scopes.ts +27 -0
- package/src/policy/device-programs.ts +137 -0
- package/src/policy/identity-assertion.ts +130 -0
- package/src/policy/sandbox-power.ts +247 -0
- package/src/policy/tests/device-programs.test.ts +107 -0
- package/src/policy/tests/identity-assertion.test.ts +79 -0
- package/src/policy/tests/sandbox-power.test.ts +181 -0
- package/src/protocol/doors/runner-protocol.ts +7 -0
- package/src/protocol/raw/raw-json-routes.test.ts +87 -0
- package/src/protocol/raw/raw-json-routes.ts +125 -6
- package/src/protocol/raw/raw-routes.ts +6 -0
- package/src/schemas/automations.ts +10 -3
- package/src/schemas/device-swaps.test.ts +39 -0
- package/src/schemas/device-swaps.ts +26 -0
- package/src/schemas/environment.ts +4 -0
- package/src/schemas/members.ts +8 -0
- package/src/schemas/needs.ts +51 -1
- package/src/schemas/restart-intent.test.ts +45 -0
- package/src/schemas/restart-intent.ts +47 -0
- package/src/schemas/settings.ts +6 -0
- package/src/schemas/short-codes.ts +11 -0
- package/src/schemas/speech.ts +4 -0
- package/src/schemas/system.ts +43 -4
- package/src/schemas/voice.ts +161 -0
- package/src/schemas/workspace/workspace-upload.ts +11 -0
- package/src/state/arrival.ts +3 -0
- package/src/state/history-state.ts +5 -0
- package/src/state/runtime-state.test.ts +9 -0
- package/src/state/runtime-state.ts +7 -5
- package/src/state/update-probation.test.ts +45 -0
- package/src/state/update-probation.ts +169 -0
- package/src/state/workspace-state.ts +4 -1
package/README.md
CHANGED
|
@@ -20,7 +20,8 @@ flowchart LR
|
|
|
20
20
|
`RAW_ROUTES`. One that answers plain JSON (`/members`, `/environment`, `/engines`, `/definition`) has its input and
|
|
21
21
|
answer schemas in `RAW_JSON_ROUTES` under the same key, which the editor's `sandboxRaw` fetches by and parses with;
|
|
22
22
|
any other caller builds the path with `rawRouteUrl` (or `procedurePath` for a procedure it calls without oRPC's
|
|
23
|
-
client), so no route is spelled a second time.
|
|
23
|
+
client), so no route is spelled a second time. A route whose body is bytes (a file, a WAV, a tar) is marked `bytes`,
|
|
24
|
+
and its caller passes a Blob, an ArrayBuffer or a string.
|
|
24
25
|
- Four contracts run the other way. `deviceContract`, `webextContract`, `phoneContract` and `runnerContract` are served
|
|
25
26
|
by a user's machine, the browser extension, the phone app and a runner over the socket each one opens, with the
|
|
26
27
|
daemon as the client. The phone's is carried as plain JSON-RPC (`src/protocol/doors/phone-protocol.ts`), since its far end is
|
|
@@ -41,6 +42,12 @@ flowchart LR
|
|
|
41
42
|
`blocked` with its `fix` · `unknown`), and `SPENT_UTILIZATION` is the only spent line. The daemon runs it for every
|
|
42
43
|
picker and publishes it as `state` on each account row. The editor reads that field and never judges a row itself: a
|
|
43
44
|
row without it (a daemon from before v1.313) reads as `unknown`, and the editor says the sandbox needs an update.
|
|
45
|
+
- So are the rules the daemon and a device must agree on about the owner's machine. `DEVICE_PROGRAM_TOOLS` in
|
|
46
|
+
`src/policy/device-programs.ts` says which device tools carry a program and how to read it, and
|
|
47
|
+
`sandboxPowerCommands` in `src/policy/sandbox-power.ts` recognises a command that starts, stops or replaces a
|
|
48
|
+
sandbox. The rules `ic`'s Rust must agree with are here too, each pinned to it by a golden file under `golden/`:
|
|
49
|
+
the update probation policy (`src/state/update-probation.ts`), the one shape of `restart-intent.json`
|
|
50
|
+
(`src/schemas/restart-intent.ts`), and the answer of `ic sandbox swaps --json` (`src/schemas/device-swaps.ts`).
|
|
44
51
|
- What a credential looks like is decided here too: `CREDENTIAL_ISSUERS` in `src/policy/credential-material.ts` (each
|
|
45
52
|
issuer's prefix and token body, as data) and `SECRET_REFERENCE` in `src/schemas/needs.ts` (the `{{secret:name}}`
|
|
46
53
|
pattern, non-global, so each site that scans derives its own `/g` copy). The terminal output filter
|
|
@@ -55,6 +55,7 @@ export declare const agentContract: {
|
|
|
55
55
|
"refactor-run": "refactor-run";
|
|
56
56
|
"safety-judge": "safety-judge";
|
|
57
57
|
"session-title": "session-title";
|
|
58
|
+
"spoken-reply": "spoken-reply";
|
|
58
59
|
}>>;
|
|
59
60
|
origin: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
60
61
|
automationId: import("zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,aAAa;IACtB,GAAG
|
|
1
|
+
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,aAAa;IACtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;IAWX,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYX,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYb,MAAM;;;;;;;;;;;;;;;;;;;;IAaN,aAAa;;;;;;;;;;;;;IAYb,aAAa;;;;;;;;;;IAab,MAAM;;;;;;;;IAWN,QAAQ;;;;;;;;;IAaR,SAAS;;;;;;;;;;;;;;;;;;;;;;;;IAYT,QAAQ;;;;;;;;;;;;;;CAUX,CAAC"}
|
|
@@ -485,6 +485,7 @@ export declare const automationsContract: {
|
|
|
485
485
|
createdAt: import("zod").ZodNumber;
|
|
486
486
|
autoRunAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
487
487
|
}, import("zod/v4/core").$strip>>;
|
|
488
|
+
unreadable: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
488
489
|
}, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
489
490
|
approve: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
490
491
|
id: import("zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/automations.contract.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,mBAAmB;IAG5B,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWJ,KAAK;;;;;;;;;;;;;;;;;;;IAWL,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASP,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASN,UAAU;;;;;;IASV,MAAM;;;;;IASN,WAAW;;;;;IAWX,GAAG;;;;;IAUH,OAAO;;;;;;;;;;;;IAUP,WAAW
|
|
1
|
+
{"version":3,"file":"automations.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/automations.contract.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,mBAAmB;IAG5B,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWJ,KAAK;;;;;;;;;;;;;;;;;;;IAWL,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASP,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASN,UAAU;;;;;;IASV,MAAM;;;;;IASN,WAAW;;;;;IAWX,GAAG;;;;;IAUH,OAAO;;;;;;;;;;;;IAUP,WAAW;;;;;;;;;;;;;;;;;;;;;;IAQX,OAAO;;;;;IASP,MAAM;;;;;CAST,CAAC"}
|
|
@@ -1532,8 +1532,29 @@ export declare const needsContract: {
|
|
|
1532
1532
|
at: import("zod").ZodNumber;
|
|
1533
1533
|
}, import("zod/v4/core").$strip>>;
|
|
1534
1534
|
}, import("zod/v4/core").$strip>>;
|
|
1535
|
+
ownerWide: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1536
|
+
kind: import("zod").ZodLiteral<"command-policy">;
|
|
1537
|
+
line: import("zod").ZodString;
|
|
1538
|
+
at: import("zod").ZodNumber;
|
|
1539
|
+
by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1540
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1541
|
+
kind: import("zod").ZodLiteral<"hook-set">;
|
|
1542
|
+
digest: import("zod").ZodString;
|
|
1543
|
+
hooks: import("zod").ZodArray<import("zod").ZodString>;
|
|
1544
|
+
at: import("zod").ZodNumber;
|
|
1545
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1546
|
+
kind: import("zod").ZodLiteral<"extension">;
|
|
1547
|
+
id: import("zod").ZodString;
|
|
1548
|
+
powers: import("zod").ZodArray<import("zod").ZodString>;
|
|
1549
|
+
at: import("zod").ZodNumber;
|
|
1550
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
1551
|
+
unreadable: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1552
|
+
"command-policy": "command-policy";
|
|
1553
|
+
extension: "extension";
|
|
1554
|
+
"hook-set": "hook-set";
|
|
1555
|
+
}>>>;
|
|
1535
1556
|
}, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
1536
|
-
revokeGrant: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1557
|
+
revokeGrant: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1537
1558
|
conversationId: import("zod").ZodString;
|
|
1538
1559
|
kind: import("zod").ZodEnum<{
|
|
1539
1560
|
capability: "capability";
|
|
@@ -1548,6 +1569,13 @@ export declare const needsContract: {
|
|
|
1548
1569
|
what: import("zod").ZodString;
|
|
1549
1570
|
capability: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1550
1571
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1572
|
+
kind: import("zod").ZodEnum<{
|
|
1573
|
+
"command-policy": "command-policy";
|
|
1574
|
+
extension: "extension";
|
|
1575
|
+
"hook-set": "hook-set";
|
|
1576
|
+
}>;
|
|
1577
|
+
what: import("zod").ZodString;
|
|
1578
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodObject<{
|
|
1551
1579
|
ok: import("zod").ZodLiteral<true>;
|
|
1552
1580
|
}, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
1553
1581
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"needs.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/needs.contract.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,aAAa;IACtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYH,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASJ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUN,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYb,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASN,WAAW;;;;;;;;;;;;;;;;;;;;;;;;CAUd,CAAC"}
|
|
@@ -64,7 +64,7 @@ export const needsContract = {
|
|
|
64
64
|
method: "GET",
|
|
65
65
|
path: "/needs/grants",
|
|
66
66
|
summary: "The yeses still standing",
|
|
67
|
-
description: "What people allowed conversations beyond their persona or area, and the gated credentials released to them, by conversation. Names only, never a value.",
|
|
67
|
+
description: "What people allowed conversations beyond their persona or area, and the gated credentials released to them, by conversation; and, apart from them, the yeses that name no conversation: command policy lines allowed with Always, approved hook sets, approved workspace extensions. Names only, never a value.",
|
|
68
68
|
})
|
|
69
69
|
.output(StandingGrantsSchema),
|
|
70
70
|
revokeGrant: answerRoute
|
|
@@ -72,7 +72,7 @@ export const needsContract = {
|
|
|
72
72
|
method: "POST",
|
|
73
73
|
path: "/needs/grants/revoke",
|
|
74
74
|
summary: "Take a yes back",
|
|
75
|
-
description: "Takes back one grant or one release.
|
|
75
|
+
description: "Takes back one grant or one release of a conversation, or one owner-wide yes (a policy line, a hook set, an extension). A conversation's next turn runs without it; a turn already running keeps what it mounted.",
|
|
76
76
|
})
|
|
77
77
|
.input(GrantRevokeSchema)
|
|
78
78
|
.output(OkSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"needs.contract.js","sourceRoot":"","sources":["../../src/contracts/needs.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACH,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,oBAAoB,GACvB,MAAM,qBAAqB,CAAC;AAM7B,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;AACpE,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,GAAG,EAAE,SAAS;SACT,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,2CAA2C;QACpD,WAAW,EACP,oUAAoU;KAC3U,CAAC;SAED,IAAI,CAAC,E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KAAK,CAAC;QACH,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,0BAA0B;QACnC,WAAW,EACP,
|
|
1
|
+
{"version":3,"file":"needs.contract.js","sourceRoot":"","sources":["../../src/contracts/needs.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACH,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,oBAAoB,GACvB,MAAM,qBAAqB,CAAC;AAM7B,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;AACpE,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,GAAG,EAAE,SAAS;SACT,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,2CAA2C;QACpD,WAAW,EACP,oUAAoU;KAC3U,CAAC;SAED,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;SACtB,KAAK,CAAC,eAAe,CAAC;SACtB,MAAM,CAAC,gBAAgB,CAAC;IAC7B,IAAI,EAAE,SAAS;SACV,KAAK,CAAC;QACH,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,2BAA2B;QACpC,WAAW,EAAE,qFAAqF;KACrG,CAAC;SACD,MAAM,CAAC,eAAe,CAAC;IAC5B,QAAQ,EAAE,SAAS;SACd,KAAK,CAAC;QACH,MAAM,EA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CAAC;SACxB,MAAM,CAAC,QAAQ,CAAC;CACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/runner.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"runner.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/runner.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB,eAAO,MAAM,cAAc;IAEvB,QAAQ;;;;;;;;;;IAER,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEb,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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|
import { AgentEventSchema } from "../events/agent-events.js";
|
|
5
|
-
import { RunnerCommandFrameSchema, RunnerCommandSchema, RunnerFactsSchema, RunnerSyncLineSchema, RunnerSyncSchema, RunnerTurnSchema } from "../protocol/doors/runner-protocol.js";
|
|
5
|
+
import { RunnerCommandFrameSchema, RunnerCommandSchema, RunnerDefinitionAppliedSchema, RunnerFactsSchema, RunnerSyncLineSchema, RunnerSyncSchema, RunnerTurnSchema, } from "../protocol/doors/runner-protocol.js";
|
|
6
6
|
import { EditorContextSchema } from "../schemas/agent.js";
|
|
7
7
|
import { AgentReplySchema } from "../schemas/providers/plan-limits.js";
|
|
8
8
|
import { OkSchema } from "../schemas/shared.js";
|
|
@@ -20,7 +20,7 @@ export const runnerContract = {
|
|
|
20
20
|
editorContext: EditorContextSchema.optional(),
|
|
21
21
|
}))
|
|
22
22
|
.output(z.object({ applied: z.boolean(), invalid: z.string().optional() })),
|
|
23
|
-
applyDefinition: oc.input(z.object({ toml: z.string() })).output(
|
|
23
|
+
applyDefinition: oc.input(z.object({ toml: z.string() })).output(RunnerDefinitionAppliedSchema),
|
|
24
24
|
interrupt: oc.input(RunnerTurnSchema.pick({ conversationId: true })).output(OkSchema),
|
|
25
25
|
runCommand: oc.input(RunnerCommandSchema).output(streamOf(RunnerCommandFrameSchema)),
|
|
26
26
|
cancelCommand: oc.input(RunnerCommandSchema.pick({ runId: true })).output(OkSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner.contract.js","sourceRoot":"","sources":["../../src/contracts/runner.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"runner.contract.js","source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AC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC3C,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACxC,aAAa,EAAE,mBAAmB,CAAC,QAAQ,EAAE;KAChD,CAAC,CACL;SACA,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAE/E,eAAe,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,6BAA6B,CAAC;IAE/F,SAAS,EAAE,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;IAIrF,UAAU,EAAE,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;IAEpF,aAAa,EAAE,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;IAEnF,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;CAC5B,CAAC"}
|
|
@@ -66,6 +66,7 @@ export declare const settingsContract: {
|
|
|
66
66
|
"refactor-run": "refactor-run";
|
|
67
67
|
"safety-judge": "safety-judge";
|
|
68
68
|
"session-title": "session-title";
|
|
69
|
+
"spoken-reply": "spoken-reply";
|
|
69
70
|
}> & import("zod/v4/core").$partial, import("zod").ZodString>>;
|
|
70
71
|
autoModelGuidance: import("zod").ZodDefault<import("zod").ZodString>;
|
|
71
72
|
changelogRepos: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -154,6 +155,22 @@ export declare const settingsContract: {
|
|
|
154
155
|
enabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
155
156
|
}, import("zod/v4/core").$strip>>>;
|
|
156
157
|
automationFailureLimit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
158
|
+
voice: import("zod").ZodPrefault<import("zod").ZodObject<{
|
|
159
|
+
replies: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
160
|
+
interrupt: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
161
|
+
speed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
162
|
+
voices: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
163
|
+
cloud: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
164
|
+
provider: import("zod").ZodEnum<{
|
|
165
|
+
cartesia: "cartesia";
|
|
166
|
+
deepgram: "deepgram";
|
|
167
|
+
elevenlabs: "elevenlabs";
|
|
168
|
+
}>;
|
|
169
|
+
secret: import("zod").ZodString;
|
|
170
|
+
model: import("zod").ZodDefault<import("zod").ZodString>;
|
|
171
|
+
voice: import("zod").ZodDefault<import("zod").ZodString>;
|
|
172
|
+
}, import("zod/v4/core").$strip>>;
|
|
173
|
+
}, import("zod/v4/core").$strip>>;
|
|
157
174
|
admission: import("zod").ZodPrefault<import("zod").ZodObject<{
|
|
158
175
|
schedule: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
159
176
|
allow: "allow";
|
|
@@ -262,6 +279,7 @@ export declare const settingsContract: {
|
|
|
262
279
|
"refactor-run": "refactor-run";
|
|
263
280
|
"safety-judge": "safety-judge";
|
|
264
281
|
"session-title": "session-title";
|
|
282
|
+
"spoken-reply": "spoken-reply";
|
|
265
283
|
}> & import("zod/v4/core").$partial, import("zod").ZodString>>;
|
|
266
284
|
autoModelGuidance: import("zod").ZodDefault<import("zod").ZodString>;
|
|
267
285
|
changelogRepos: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -350,6 +368,22 @@ export declare const settingsContract: {
|
|
|
350
368
|
enabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
351
369
|
}, import("zod/v4/core").$strip>>>;
|
|
352
370
|
automationFailureLimit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
371
|
+
voice: import("zod").ZodPrefault<import("zod").ZodObject<{
|
|
372
|
+
replies: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
373
|
+
interrupt: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
374
|
+
speed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
375
|
+
voices: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
376
|
+
cloud: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
377
|
+
provider: import("zod").ZodEnum<{
|
|
378
|
+
cartesia: "cartesia";
|
|
379
|
+
deepgram: "deepgram";
|
|
380
|
+
elevenlabs: "elevenlabs";
|
|
381
|
+
}>;
|
|
382
|
+
secret: import("zod").ZodString;
|
|
383
|
+
model: import("zod").ZodDefault<import("zod").ZodString>;
|
|
384
|
+
voice: import("zod").ZodDefault<import("zod").ZodString>;
|
|
385
|
+
}, import("zod/v4/core").$strip>>;
|
|
386
|
+
}, import("zod/v4/core").$strip>>;
|
|
353
387
|
admission: import("zod").ZodPrefault<import("zod").ZodObject<{
|
|
354
388
|
schedule: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
355
389
|
allow: "allow";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.contract.ts"],"names":[],"mappings":"AA2BA,eAAO,MAAM,gBAAgB;IACzB,WAAW;;;;;;IAIX,cAAc;;;;;;;;IAKd,GAAG
|
|
1
|
+
{"version":3,"file":"settings.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.contract.ts"],"names":[],"mappings":"AA2BA,eAAO,MAAM,gBAAgB;IACzB,WAAW;;;;;;IAIX,cAAc;;;;;;;;IAKd,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUP,aAAa;;;;;;;;;IAWb,OAAO;IAWP,UAAU;;;;;;;;;;;;;;;;;;;;;;IAUV,UAAU;;;;;;;;;;;;;;IAYV,aAAa;;;;;;IAab,QAAQ;;;;;;IAYR,WAAW;;;;;;;;;;;;;IAaX,cAAc;;;;IASd,iBAAiB;;;;;;;IAWjB,eAAe;;;;;;CAUlB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -95,6 +95,8 @@ export * from "./models/agent-catalog.js";
|
|
|
95
95
|
export * from "./policy/capability-env.js";
|
|
96
96
|
export * from "./policy/command-classes.js";
|
|
97
97
|
export * from "./policy/command-run.js";
|
|
98
|
+
export * from "./policy/device-programs.js";
|
|
99
|
+
export * from "./policy/sandbox-power.js";
|
|
98
100
|
export * from "./policy/safety-policy.js";
|
|
99
101
|
export * from "./policy/reserved-servers.js";
|
|
100
102
|
export * from "./policy/credential-material.js";
|
|
@@ -134,6 +136,7 @@ export * from "./policy/persona-home.js";
|
|
|
134
136
|
export * from "./schemas/agents.js";
|
|
135
137
|
export * from "./schemas/speaker.js";
|
|
136
138
|
export * from "./schemas/speech.js";
|
|
139
|
+
export * from "./schemas/voice.js";
|
|
137
140
|
export * from "./schemas/approvals.js";
|
|
138
141
|
export * from "./schemas/automations.js";
|
|
139
142
|
export * from "./schemas/agents-list.js";
|
|
@@ -144,6 +147,7 @@ export * from "./schemas/providers/claude-gate.js";
|
|
|
144
147
|
export * from "./schemas/codebase-health.js";
|
|
145
148
|
export * from "./schemas/context-trim.js";
|
|
146
149
|
export * from "./schemas/devices.js";
|
|
150
|
+
export * from "./schemas/device-swaps.js";
|
|
147
151
|
export * from "./schemas/project-delivery.js";
|
|
148
152
|
export * from "./schemas/device-artifacts.js";
|
|
149
153
|
export * from "./schemas/run-targets.js";
|
|
@@ -194,6 +198,7 @@ export * from "./schemas/short-codes.js";
|
|
|
194
198
|
export * from "./schemas/system-prompt.js";
|
|
195
199
|
export * from "./schemas/system.js";
|
|
196
200
|
export * from "./schemas/state-plan.js";
|
|
201
|
+
export * from "./schemas/restart-intent.js";
|
|
197
202
|
export * from "./schemas/updates.js";
|
|
198
203
|
export * from "./schemas/terminal.js";
|
|
199
204
|
export * from "./schemas/turn-break.js";
|
|
@@ -209,11 +214,13 @@ export * from "./schemas/workspace/workspace-repos.js";
|
|
|
209
214
|
export * from "./schemas/workspace/workspace-search.js";
|
|
210
215
|
export * from "./schemas/workspace/workspace-setup.js";
|
|
211
216
|
export * from "./schemas/workspace/workspace-tree.js";
|
|
217
|
+
export * from "./schemas/workspace/workspace-upload.js";
|
|
212
218
|
export * from "./state/arrival.js";
|
|
213
219
|
export * from "./state/definition.js";
|
|
214
220
|
export * from "./policy/search-globs.js";
|
|
215
221
|
export * from "./state/starter.js";
|
|
216
222
|
export * from "./text/title.js";
|
|
223
|
+
export * from "./state/update-probation.js";
|
|
217
224
|
export * from "./state/versions.js";
|
|
218
225
|
export * from "./text/model-answer.js";
|
|
219
226
|
export * from "./text/shell-regions.js";
|
|
@@ -676,6 +683,7 @@ export declare const sandboxContract: {
|
|
|
676
683
|
"refactor-run": "refactor-run";
|
|
677
684
|
"safety-judge": "safety-judge";
|
|
678
685
|
"session-title": "session-title";
|
|
686
|
+
"spoken-reply": "spoken-reply";
|
|
679
687
|
}>>;
|
|
680
688
|
origin: z.ZodOptional<z.ZodObject<{
|
|
681
689
|
automationId: z.ZodString;
|
|
@@ -925,6 +933,13 @@ export declare const sandboxContract: {
|
|
|
925
933
|
id: string;
|
|
926
934
|
conversationId: string;
|
|
927
935
|
subject: {
|
|
936
|
+
kind: "secret";
|
|
937
|
+
name: string;
|
|
938
|
+
where?: string | undefined;
|
|
939
|
+
link?: string | undefined;
|
|
940
|
+
hint?: string | undefined;
|
|
941
|
+
replace?: boolean | undefined;
|
|
942
|
+
} | {
|
|
928
943
|
kind: "capability";
|
|
929
944
|
entry: string;
|
|
930
945
|
name: string;
|
|
@@ -935,13 +950,6 @@ export declare const sandboxContract: {
|
|
|
935
950
|
changes?: Record<string, string> | undefined;
|
|
936
951
|
reason?: string | undefined;
|
|
937
952
|
reported?: boolean | undefined;
|
|
938
|
-
} | {
|
|
939
|
-
kind: "secret";
|
|
940
|
-
name: string;
|
|
941
|
-
where?: string | undefined;
|
|
942
|
-
link?: string | undefined;
|
|
943
|
-
hint?: string | undefined;
|
|
944
|
-
replace?: boolean | undefined;
|
|
945
953
|
} | {
|
|
946
954
|
kind: "grant";
|
|
947
955
|
subject: "capability" | "folder" | "shelf" | "site";
|
|
@@ -1353,6 +1361,13 @@ export declare const sandboxContract: {
|
|
|
1353
1361
|
id: string;
|
|
1354
1362
|
conversationId: string;
|
|
1355
1363
|
subject: {
|
|
1364
|
+
kind: "secret";
|
|
1365
|
+
name: string;
|
|
1366
|
+
where?: string | undefined;
|
|
1367
|
+
link?: string | undefined;
|
|
1368
|
+
hint?: string | undefined;
|
|
1369
|
+
replace?: boolean | undefined;
|
|
1370
|
+
} | {
|
|
1356
1371
|
kind: "capability";
|
|
1357
1372
|
entry: string;
|
|
1358
1373
|
name: string;
|
|
@@ -1363,13 +1378,6 @@ export declare const sandboxContract: {
|
|
|
1363
1378
|
changes?: Record<string, string> | undefined;
|
|
1364
1379
|
reason?: string | undefined;
|
|
1365
1380
|
reported?: boolean | undefined;
|
|
1366
|
-
} | {
|
|
1367
|
-
kind: "secret";
|
|
1368
|
-
name: string;
|
|
1369
|
-
where?: string | undefined;
|
|
1370
|
-
link?: string | undefined;
|
|
1371
|
-
hint?: string | undefined;
|
|
1372
|
-
replace?: boolean | undefined;
|
|
1373
1381
|
} | {
|
|
1374
1382
|
kind: "grant";
|
|
1375
1383
|
subject: "capability" | "folder" | "shelf" | "site";
|
|
@@ -1779,6 +1787,13 @@ export declare const sandboxContract: {
|
|
|
1779
1787
|
id: string;
|
|
1780
1788
|
conversationId: string;
|
|
1781
1789
|
subject: {
|
|
1790
|
+
kind: "secret";
|
|
1791
|
+
name: string;
|
|
1792
|
+
where?: string | undefined;
|
|
1793
|
+
link?: string | undefined;
|
|
1794
|
+
hint?: string | undefined;
|
|
1795
|
+
replace?: boolean | undefined;
|
|
1796
|
+
} | {
|
|
1782
1797
|
kind: "capability";
|
|
1783
1798
|
entry: string;
|
|
1784
1799
|
name: string;
|
|
@@ -1789,13 +1804,6 @@ export declare const sandboxContract: {
|
|
|
1789
1804
|
changes?: Record<string, string> | undefined;
|
|
1790
1805
|
reason?: string | undefined;
|
|
1791
1806
|
reported?: boolean | undefined;
|
|
1792
|
-
} | {
|
|
1793
|
-
kind: "secret";
|
|
1794
|
-
name: string;
|
|
1795
|
-
where?: string | undefined;
|
|
1796
|
-
link?: string | undefined;
|
|
1797
|
-
hint?: string | undefined;
|
|
1798
|
-
replace?: boolean | undefined;
|
|
1799
1807
|
} | {
|
|
1800
1808
|
kind: "grant";
|
|
1801
1809
|
subject: "capability" | "folder" | "shelf" | "site";
|
|
@@ -2235,6 +2243,13 @@ export declare const sandboxContract: {
|
|
|
2235
2243
|
id: string;
|
|
2236
2244
|
conversationId: string;
|
|
2237
2245
|
subject: {
|
|
2246
|
+
kind: "secret";
|
|
2247
|
+
name: string;
|
|
2248
|
+
where?: string | undefined;
|
|
2249
|
+
link?: string | undefined;
|
|
2250
|
+
hint?: string | undefined;
|
|
2251
|
+
replace?: boolean | undefined;
|
|
2252
|
+
} | {
|
|
2238
2253
|
kind: "capability";
|
|
2239
2254
|
entry: string;
|
|
2240
2255
|
name: string;
|
|
@@ -2245,13 +2260,6 @@ export declare const sandboxContract: {
|
|
|
2245
2260
|
changes?: Record<string, string> | undefined;
|
|
2246
2261
|
reason?: string | undefined;
|
|
2247
2262
|
reported?: boolean | undefined;
|
|
2248
|
-
} | {
|
|
2249
|
-
kind: "secret";
|
|
2250
|
-
name: string;
|
|
2251
|
-
where?: string | undefined;
|
|
2252
|
-
link?: string | undefined;
|
|
2253
|
-
hint?: string | undefined;
|
|
2254
|
-
replace?: boolean | undefined;
|
|
2255
2263
|
} | {
|
|
2256
2264
|
kind: "grant";
|
|
2257
2265
|
subject: "capability" | "folder" | "shelf" | "site";
|
|
@@ -2665,6 +2673,13 @@ export declare const sandboxContract: {
|
|
|
2665
2673
|
id: string;
|
|
2666
2674
|
conversationId: string;
|
|
2667
2675
|
subject: {
|
|
2676
|
+
kind: "secret";
|
|
2677
|
+
name: string;
|
|
2678
|
+
where?: string | undefined;
|
|
2679
|
+
link?: string | undefined;
|
|
2680
|
+
hint?: string | undefined;
|
|
2681
|
+
replace?: boolean | undefined;
|
|
2682
|
+
} | {
|
|
2668
2683
|
kind: "capability";
|
|
2669
2684
|
entry: string;
|
|
2670
2685
|
name: string;
|
|
@@ -2675,13 +2690,6 @@ export declare const sandboxContract: {
|
|
|
2675
2690
|
changes?: Record<string, string> | undefined;
|
|
2676
2691
|
reason?: string | undefined;
|
|
2677
2692
|
reported?: boolean | undefined;
|
|
2678
|
-
} | {
|
|
2679
|
-
kind: "secret";
|
|
2680
|
-
name: string;
|
|
2681
|
-
where?: string | undefined;
|
|
2682
|
-
link?: string | undefined;
|
|
2683
|
-
hint?: string | undefined;
|
|
2684
|
-
replace?: boolean | undefined;
|
|
2685
2693
|
} | {
|
|
2686
2694
|
kind: "grant";
|
|
2687
2695
|
subject: "capability" | "folder" | "shelf" | "site";
|
|
@@ -3093,6 +3101,13 @@ export declare const sandboxContract: {
|
|
|
3093
3101
|
id: string;
|
|
3094
3102
|
conversationId: string;
|
|
3095
3103
|
subject: {
|
|
3104
|
+
kind: "secret";
|
|
3105
|
+
name: string;
|
|
3106
|
+
where?: string | undefined;
|
|
3107
|
+
link?: string | undefined;
|
|
3108
|
+
hint?: string | undefined;
|
|
3109
|
+
replace?: boolean | undefined;
|
|
3110
|
+
} | {
|
|
3096
3111
|
kind: "capability";
|
|
3097
3112
|
entry: string;
|
|
3098
3113
|
name: string;
|
|
@@ -3103,13 +3118,6 @@ export declare const sandboxContract: {
|
|
|
3103
3118
|
changes?: Record<string, string> | undefined;
|
|
3104
3119
|
reason?: string | undefined;
|
|
3105
3120
|
reported?: boolean | undefined;
|
|
3106
|
-
} | {
|
|
3107
|
-
kind: "secret";
|
|
3108
|
-
name: string;
|
|
3109
|
-
where?: string | undefined;
|
|
3110
|
-
link?: string | undefined;
|
|
3111
|
-
hint?: string | undefined;
|
|
3112
|
-
replace?: boolean | undefined;
|
|
3113
3121
|
} | {
|
|
3114
3122
|
kind: "grant";
|
|
3115
3123
|
subject: "capability" | "folder" | "shelf" | "site";
|
|
@@ -14367,6 +14375,7 @@ export declare const sandboxContract: {
|
|
|
14367
14375
|
createdAt: z.ZodNumber;
|
|
14368
14376
|
autoRunAt: z.ZodOptional<z.ZodNumber>;
|
|
14369
14377
|
}, z.core.$strip>>;
|
|
14378
|
+
unreadable: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
14370
14379
|
}, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
14371
14380
|
approve: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
14372
14381
|
id: z.ZodString;
|
|
@@ -18152,6 +18161,7 @@ export declare const sandboxContract: {
|
|
|
18152
18161
|
"refactor-run": "refactor-run";
|
|
18153
18162
|
"safety-judge": "safety-judge";
|
|
18154
18163
|
"session-title": "session-title";
|
|
18164
|
+
"spoken-reply": "spoken-reply";
|
|
18155
18165
|
}> & z.core.$partial, z.ZodString>>;
|
|
18156
18166
|
autoModelGuidance: z.ZodDefault<z.ZodString>;
|
|
18157
18167
|
changelogRepos: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -18240,6 +18250,22 @@ export declare const sandboxContract: {
|
|
|
18240
18250
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
18241
18251
|
}, z.core.$strip>>>;
|
|
18242
18252
|
automationFailureLimit: z.ZodDefault<z.ZodNumber>;
|
|
18253
|
+
voice: z.ZodPrefault<z.ZodObject<{
|
|
18254
|
+
replies: z.ZodDefault<z.ZodBoolean>;
|
|
18255
|
+
interrupt: z.ZodDefault<z.ZodBoolean>;
|
|
18256
|
+
speed: z.ZodDefault<z.ZodNumber>;
|
|
18257
|
+
voices: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18258
|
+
cloud: z.ZodOptional<z.ZodObject<{
|
|
18259
|
+
provider: z.ZodEnum<{
|
|
18260
|
+
cartesia: "cartesia";
|
|
18261
|
+
deepgram: "deepgram";
|
|
18262
|
+
elevenlabs: "elevenlabs";
|
|
18263
|
+
}>;
|
|
18264
|
+
secret: z.ZodString;
|
|
18265
|
+
model: z.ZodDefault<z.ZodString>;
|
|
18266
|
+
voice: z.ZodDefault<z.ZodString>;
|
|
18267
|
+
}, z.core.$strip>>;
|
|
18268
|
+
}, z.core.$strip>>;
|
|
18243
18269
|
admission: z.ZodPrefault<z.ZodObject<{
|
|
18244
18270
|
schedule: z.ZodDefault<z.ZodEnum<{
|
|
18245
18271
|
allow: "allow";
|
|
@@ -18348,6 +18374,7 @@ export declare const sandboxContract: {
|
|
|
18348
18374
|
"refactor-run": "refactor-run";
|
|
18349
18375
|
"safety-judge": "safety-judge";
|
|
18350
18376
|
"session-title": "session-title";
|
|
18377
|
+
"spoken-reply": "spoken-reply";
|
|
18351
18378
|
}> & z.core.$partial, z.ZodString>>;
|
|
18352
18379
|
autoModelGuidance: z.ZodDefault<z.ZodString>;
|
|
18353
18380
|
changelogRepos: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -18436,6 +18463,22 @@ export declare const sandboxContract: {
|
|
|
18436
18463
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
18437
18464
|
}, z.core.$strip>>>;
|
|
18438
18465
|
automationFailureLimit: z.ZodDefault<z.ZodNumber>;
|
|
18466
|
+
voice: z.ZodPrefault<z.ZodObject<{
|
|
18467
|
+
replies: z.ZodDefault<z.ZodBoolean>;
|
|
18468
|
+
interrupt: z.ZodDefault<z.ZodBoolean>;
|
|
18469
|
+
speed: z.ZodDefault<z.ZodNumber>;
|
|
18470
|
+
voices: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18471
|
+
cloud: z.ZodOptional<z.ZodObject<{
|
|
18472
|
+
provider: z.ZodEnum<{
|
|
18473
|
+
cartesia: "cartesia";
|
|
18474
|
+
deepgram: "deepgram";
|
|
18475
|
+
elevenlabs: "elevenlabs";
|
|
18476
|
+
}>;
|
|
18477
|
+
secret: z.ZodString;
|
|
18478
|
+
model: z.ZodDefault<z.ZodString>;
|
|
18479
|
+
voice: z.ZodDefault<z.ZodString>;
|
|
18480
|
+
}, z.core.$strip>>;
|
|
18481
|
+
}, z.core.$strip>>;
|
|
18439
18482
|
admission: z.ZodPrefault<z.ZodObject<{
|
|
18440
18483
|
schedule: z.ZodDefault<z.ZodEnum<{
|
|
18441
18484
|
allow: "allow";
|
|
@@ -22472,8 +22515,29 @@ export declare const sandboxContract: {
|
|
|
22472
22515
|
at: z.ZodNumber;
|
|
22473
22516
|
}, z.core.$strip>>;
|
|
22474
22517
|
}, z.core.$strip>>;
|
|
22518
|
+
ownerWide: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22519
|
+
kind: z.ZodLiteral<"command-policy">;
|
|
22520
|
+
line: z.ZodString;
|
|
22521
|
+
at: z.ZodNumber;
|
|
22522
|
+
by: z.ZodOptional<z.ZodString>;
|
|
22523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22524
|
+
kind: z.ZodLiteral<"hook-set">;
|
|
22525
|
+
digest: z.ZodString;
|
|
22526
|
+
hooks: z.ZodArray<z.ZodString>;
|
|
22527
|
+
at: z.ZodNumber;
|
|
22528
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22529
|
+
kind: z.ZodLiteral<"extension">;
|
|
22530
|
+
id: z.ZodString;
|
|
22531
|
+
powers: z.ZodArray<z.ZodString>;
|
|
22532
|
+
at: z.ZodNumber;
|
|
22533
|
+
}, z.core.$strip>], "kind">>>;
|
|
22534
|
+
unreadable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
22535
|
+
"command-policy": "command-policy";
|
|
22536
|
+
extension: "extension";
|
|
22537
|
+
"hook-set": "hook-set";
|
|
22538
|
+
}>>>;
|
|
22475
22539
|
}, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
22476
|
-
revokeGrant: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
22540
|
+
revokeGrant: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodUnion<readonly [z.ZodObject<{
|
|
22477
22541
|
conversationId: z.ZodString;
|
|
22478
22542
|
kind: z.ZodEnum<{
|
|
22479
22543
|
capability: "capability";
|
|
@@ -22488,6 +22552,13 @@ export declare const sandboxContract: {
|
|
|
22488
22552
|
what: z.ZodString;
|
|
22489
22553
|
capability: z.ZodOptional<z.ZodString>;
|
|
22490
22554
|
}, z.core.$strip>, z.ZodObject<{
|
|
22555
|
+
kind: z.ZodEnum<{
|
|
22556
|
+
"command-policy": "command-policy";
|
|
22557
|
+
extension: "extension";
|
|
22558
|
+
"hook-set": "hook-set";
|
|
22559
|
+
}>;
|
|
22560
|
+
what: z.ZodString;
|
|
22561
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
22491
22562
|
ok: z.ZodLiteral<true>;
|
|
22492
22563
|
}, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
22493
22564
|
};
|