@intentic/sandbox-contract 1.314.0 → 1.316.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 +5 -5
- package/dist/contracts/accounts.contract.d.ts +6 -0
- package/dist/contracts/accounts.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.d.ts +2 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.js +1 -1
- package/dist/contracts/agent.contract.js.map +1 -1
- package/dist/contracts/agents.contract.d.ts +293 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js +14 -4
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/ci.contract.d.ts +22 -0
- package/dist/contracts/ci.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +0 -3
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +6 -0
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +1 -1
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/contracts/translator.contract.d.ts +12 -0
- package/dist/contracts/translator.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +15 -137
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.js +25 -15
- package/dist/contracts/workspace.contract.js.map +1 -1
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/agent-words.d.ts.map +1 -1
- package/dist/events/agent-words.js +5 -4
- package/dist/events/agent-words.js.map +1 -1
- package/dist/events/land-breakage.d.ts +0 -2
- package/dist/events/land-breakage.d.ts.map +1 -1
- package/dist/events/land-breakage.js +0 -2
- package/dist/events/land-breakage.js.map +1 -1
- package/dist/events/requests.js +1 -1
- package/dist/events/requests.js.map +1 -1
- package/dist/events/system-events.d.ts +4 -0
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/transcript.d.ts +1 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +5 -1
- package/dist/events/transcript.js.map +1 -1
- package/dist/index.d.ts +358 -142
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/models/agent-runtimes.d.ts.map +1 -1
- package/dist/models/agent-runtimes.js +1 -1
- package/dist/models/agent-runtimes.js.map +1 -1
- package/dist/models/plan-pools.d.ts +3 -1
- package/dist/models/plan-pools.d.ts.map +1 -1
- package/dist/models/plan-pools.js +11 -4
- package/dist/models/plan-pools.js.map +1 -1
- package/dist/protocol/raw-routes.d.ts +9 -0
- package/dist/protocol/raw-routes.d.ts.map +1 -1
- package/dist/protocol/raw-routes.js +2 -0
- package/dist/protocol/raw-routes.js.map +1 -1
- package/dist/protocol/request-id.d.ts +0 -1
- package/dist/protocol/request-id.d.ts.map +1 -1
- package/dist/protocol/request-id.js +0 -1
- package/dist/protocol/request-id.js.map +1 -1
- package/dist/schemas/agent.js +1 -1
- package/dist/schemas/agent.js.map +1 -1
- package/dist/schemas/agents.d.ts +7 -1
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +14 -3
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/automations.d.ts +1 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/ci.d.ts +45 -0
- package/dist/schemas/ci.d.ts.map +1 -1
- package/dist/schemas/ci.js +18 -0
- package/dist/schemas/ci.js.map +1 -1
- package/dist/schemas/devices.d.ts +0 -1
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js +3 -4
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/personas.js +3 -3
- package/dist/schemas/personas.js.map +1 -1
- package/dist/schemas/providers/plan-limits.d.ts +21 -0
- package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
- package/dist/schemas/providers/plan-limits.js +13 -3
- package/dist/schemas/providers/plan-limits.js.map +1 -1
- package/dist/schemas/providers/provider-oauth.d.ts +6 -0
- package/dist/schemas/providers/provider-oauth.d.ts.map +1 -1
- package/dist/schemas/settings-history.d.ts +1 -1
- package/dist/schemas/settings-history.d.ts.map +1 -1
- package/dist/schemas/settings-history.js +2 -1
- package/dist/schemas/settings-history.js.map +1 -1
- package/dist/schemas/settings.d.ts +0 -4
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +6 -13
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/terminal.d.ts.map +1 -1
- package/dist/schemas/terminal.js +3 -3
- package/dist/schemas/terminal.js.map +1 -1
- package/dist/schemas/workspace/push-checks.d.ts +222 -0
- package/dist/schemas/workspace/push-checks.d.ts.map +1 -0
- package/dist/schemas/workspace/push-checks.js +97 -0
- package/dist/schemas/workspace/push-checks.js.map +1 -0
- package/dist/schemas/workspace/workspace-tree.d.ts +9 -0
- package/dist/schemas/workspace/workspace-tree.d.ts.map +1 -1
- package/dist/schemas/workspace/workspace-tree.js +12 -0
- package/dist/schemas/workspace/workspace-tree.js.map +1 -1
- package/dist/state/definition.d.ts +0 -4
- package/dist/state/definition.d.ts.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 +1 -1
- package/dist/state/runtime-state.js.map +1 -1
- package/dist/state/workspace-state.d.ts +1 -11
- package/dist/state/workspace-state.d.ts.map +1 -1
- package/dist/state/workspace-state.js +1 -13
- package/dist/state/workspace-state.js.map +1 -1
- package/dist/text/transcript-fold.d.ts +8 -0
- package/dist/text/transcript-fold.d.ts.map +1 -1
- package/dist/text/transcript-fold.js +67 -14
- package/dist/text/transcript-fold.js.map +1 -1
- package/package.json +5 -5
- package/src/contracts/agent.contract.ts +1 -1
- package/src/contracts/agents.contract.ts +15 -3
- package/src/contracts/system.contract.ts +1 -1
- package/src/contracts/workspace.contract.ts +35 -21
- package/src/events/agent-events.ts +4 -2
- package/src/events/agent-words.test.ts +8 -1
- package/src/events/agent-words.ts +8 -5
- package/src/events/errands.test.ts +4 -4
- package/src/events/land-breakage.ts +5 -9
- package/src/events/requests.ts +1 -1
- package/src/events/transcript.ts +9 -3
- package/src/events/verify-nudge.ts +3 -3
- package/src/index.ts +2 -2
- package/src/models/agent-runtimes.ts +5 -4
- package/src/models/plan-pools.test.ts +22 -0
- package/src/models/plan-pools.ts +26 -5
- package/src/protocol/ingress-contract.fixture.json +2 -0
- package/src/protocol/raw-routes.ts +4 -1
- package/src/protocol/request-id.ts +0 -3
- package/src/schemas/agent.ts +1 -1
- package/src/schemas/agents.ts +21 -8
- package/src/schemas/automations.ts +2 -2
- package/src/schemas/ci.ts +25 -0
- package/src/schemas/devices.ts +8 -12
- package/src/schemas/personas.ts +3 -3
- package/src/schemas/providers/plan-limits.ts +21 -3
- package/src/schemas/settings-history.ts +3 -1
- package/src/schemas/settings.test.ts +4 -3
- package/src/schemas/settings.ts +17 -31
- package/src/schemas/speaker.ts +4 -4
- package/src/schemas/terminal.ts +12 -10
- package/src/schemas/workspace/{mainline.test.ts → push-checks.test.ts} +5 -5
- package/src/schemas/workspace/push-checks.ts +155 -0
- package/src/schemas/workspace/workspace-tree.ts +15 -0
- package/src/state/fix-stance.test.ts +2 -1
- package/src/state/landed-commit.ts +1 -1
- package/src/state/red-streak.ts +4 -4
- package/src/state/runtime-state.ts +2 -3
- package/src/state/workspace-state.ts +1 -13
- package/src/text/transcript-fold.test.ts +107 -0
- package/src/text/transcript-fold.ts +95 -16
- package/dist/schemas/workspace/mainline.d.ts +0 -513
- package/dist/schemas/workspace/mainline.d.ts.map +0 -1
- package/dist/schemas/workspace/mainline.js +0 -182
- package/dist/schemas/workspace/mainline.js.map +0 -1
- package/src/schemas/workspace/mainline.ts +0 -268
package/README.md
CHANGED
|
@@ -26,8 +26,8 @@ flowchart LR
|
|
|
26
26
|
whether an account can serve a turn: `serviceState` in `src/models/plan-pools.ts` turns a revoked sign-in, a lost
|
|
27
27
|
seat, a translator bench, a standing refusal and the plan limits into one `AccountState` (`ready` · `spent` ·
|
|
28
28
|
`blocked` with its `fix` · `unknown`), and `SPENT_UTILIZATION` is the only spent line. The daemon runs it for every
|
|
29
|
-
picker and publishes it as `state` on each account row. The editor reads that field
|
|
30
|
-
|
|
29
|
+
picker and publishes it as `state` on each account row. The editor reads that field and never judges a row itself: a
|
|
30
|
+
row without it (a daemon from before v1.313) reads as `unknown`, and the editor says the sandbox needs an update.
|
|
31
31
|
- `./documents` is the vocabulary stored files evolve by, shared by the daemon's stores and an extension's own files
|
|
32
32
|
(`sandboxDocument`): guarded, pure conversions of raw JSON that settle on their own output, the passthrough that
|
|
33
33
|
keeps what a build does not know on its writes, and `readDocument`, the one read every store makes of a file (JSON,
|
|
@@ -48,9 +48,9 @@ flowchart LR
|
|
|
48
48
|
under `access:METHOD /path`: every reach field of its `RouteMeta` with the default filled in (`routeAccess`). A
|
|
49
49
|
field is recorded even when a route leaves it out, so a lowered floor or a new `guest`, `agent` or `panel` grant is a
|
|
50
50
|
changed value, which counts as a shrink, never as growth that passes. The lock test names the route and the field
|
|
51
|
-
that moved. Rewrite it by hand with
|
|
52
|
-
|
|
53
|
-
`
|
|
51
|
+
that moved. Rewrite it by hand with `pnpm --filter @intentic/sandbox-contract lock`. A conversation that changed the
|
|
52
|
+
contract has it rewritten in its own worktree before it lands (the repository's fixers,
|
|
53
|
+
`_tools/scripts/verify/fixers.mjs`), so the lock rides the land that moved it. `src/state/contract-lock.test.ts`
|
|
54
54
|
fails while the lock and the schemas disagree. `_tools/checks/contract-shrink.mjs` reports a push that shrinks it
|
|
55
55
|
with no commit declaring the break (`type!:` or `Breaking-Note:`), and the push goes on.
|
|
56
56
|
|
|
@@ -78,10 +78,12 @@ export declare const accountsContract: {
|
|
|
78
78
|
fix: import("zod").ZodEnum<{
|
|
79
79
|
admin: "admin";
|
|
80
80
|
reconnect: "reconnect";
|
|
81
|
+
verify: "verify";
|
|
81
82
|
wait: "wait";
|
|
82
83
|
}>;
|
|
83
84
|
reason: import("zod").ZodString;
|
|
84
85
|
until: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
86
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
85
87
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
86
88
|
kind: import("zod").ZodLiteral<"unknown">;
|
|
87
89
|
}, import("zod/v4/core").$strip>], "kind">>;
|
|
@@ -153,10 +155,12 @@ export declare const accountsContract: {
|
|
|
153
155
|
fix: import("zod").ZodEnum<{
|
|
154
156
|
admin: "admin";
|
|
155
157
|
reconnect: "reconnect";
|
|
158
|
+
verify: "verify";
|
|
156
159
|
wait: "wait";
|
|
157
160
|
}>;
|
|
158
161
|
reason: import("zod").ZodString;
|
|
159
162
|
until: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
163
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
160
164
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
161
165
|
kind: import("zod").ZodLiteral<"unknown">;
|
|
162
166
|
}, import("zod/v4/core").$strip>], "kind">>;
|
|
@@ -213,10 +217,12 @@ export declare const accountsContract: {
|
|
|
213
217
|
fix: import("zod").ZodEnum<{
|
|
214
218
|
admin: "admin";
|
|
215
219
|
reconnect: "reconnect";
|
|
220
|
+
verify: "verify";
|
|
216
221
|
wait: "wait";
|
|
217
222
|
}>;
|
|
218
223
|
reason: import("zod").ZodString;
|
|
219
224
|
until: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
225
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
220
226
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
221
227
|
kind: import("zod").ZodLiteral<"unknown">;
|
|
222
228
|
}, import("zod/v4/core").$strip>], "kind">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/accounts.contract.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,gBAAgB;IACzB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;IAUL,QAAQ
|
|
1
|
+
{"version":3,"file":"accounts.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/accounts.contract.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,gBAAgB;IACzB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;IAUL,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUR,MAAM;;;;;;;;;;;;;;;IAUN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUR,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASN,UAAU;;;;;;;;;;;;;;;CASb,CAAC"}
|
|
@@ -2623,6 +2623,7 @@ export declare const agentContract: {
|
|
|
2623
2623
|
conversationId: import("zod").ZodString;
|
|
2624
2624
|
account: import("zod").ZodString;
|
|
2625
2625
|
carry: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2626
|
+
run: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2626
2627
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2627
2628
|
run: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2628
2629
|
}, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
@@ -2678,6 +2679,7 @@ export declare const agentContract: {
|
|
|
2678
2679
|
message: import("zod").ZodString;
|
|
2679
2680
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2680
2681
|
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2682
|
+
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2681
2683
|
}, import("zod/v4/core").$strip>>;
|
|
2682
2684
|
}, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
2683
2685
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,aAAa;IACtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWL,KAAK;;;;;;;;;;;;;;;;;;;;;IAWL,IAAI;;;;;;;;;;;;;IAYJ,SAAS;;;;;;;;;;;;;;;;;;;;;;;;IAYT,WAAW;;;;;;;;;;;;;;;;;;;;;;;IAWX,WAAW;;;;;;;;;;;;;;;IAYX,MAAM;;;;;;;;;;;;;;;IAaN,aAAa;;;;;;;;IAab,MAAM;;;;;;;;IAWN,QAAQ;;;;;;;;;IAaR,SAAS;;;;;;;;;;;;;;;;;;;;;;;;IAYT,QAAQ;;;;;;;;;;;;;;CAUX,CAAC"}
|
|
@@ -103,7 +103,7 @@ export const agentContract = {
|
|
|
103
103
|
method: "POST",
|
|
104
104
|
path: "/agent/account",
|
|
105
105
|
summary: "Move a conversation to another account",
|
|
106
|
-
description: "Points the conversation at another connected account of the provider it runs on, for every turn from now on.
|
|
106
|
+
description: "Points the conversation at another connected account of the provider it runs on, for every turn from now on. It starts nothing by itself: with `run`, a turn held by a spent allowance or a stop runs again at once on that account, which is how a refused turn continues elsewhere. Without `carry` the next turn opens a fresh session seeded from the record.",
|
|
107
107
|
})
|
|
108
108
|
.meta({ floor: "collaborator", guest: true })
|
|
109
109
|
.input(SwitchAccountSchema)
|
|
@@ -1 +1 @@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ACvB,OAAO,EAAE,qCAAqC;QAC9C,WAAW,EACP,6MAA6M;KACpN,CAAC;SACD,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;SACrB,MAAM,CAAC,sBAAsB,CAAC;CACtC,CAAC"}
|
|
@@ -179,6 +179,7 @@ export declare const agentsContract: {
|
|
|
179
179
|
}, import("zod/v4/core").$strip>>;
|
|
180
180
|
updatedAt: import("zod").ZodNumber;
|
|
181
181
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
182
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
182
183
|
attention: import("zod").ZodObject<{
|
|
183
184
|
plan: import("zod").ZodBoolean;
|
|
184
185
|
question: import("zod").ZodBoolean;
|
|
@@ -473,6 +474,7 @@ export declare const agentsContract: {
|
|
|
473
474
|
}, import("zod/v4/core").$strip>>;
|
|
474
475
|
updatedAt: import("zod").ZodNumber;
|
|
475
476
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
477
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
476
478
|
attention: import("zod").ZodObject<{
|
|
477
479
|
plan: import("zod").ZodBoolean;
|
|
478
480
|
question: import("zod").ZodBoolean;
|
|
@@ -785,6 +787,7 @@ export declare const agentsContract: {
|
|
|
785
787
|
}, import("zod/v4/core").$strip>>;
|
|
786
788
|
updatedAt: import("zod").ZodNumber;
|
|
787
789
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
790
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
788
791
|
attention: import("zod").ZodObject<{
|
|
789
792
|
plan: import("zod").ZodBoolean;
|
|
790
793
|
question: import("zod").ZodBoolean;
|
|
@@ -1464,6 +1467,7 @@ export declare const agentsContract: {
|
|
|
1464
1467
|
}, import("zod/v4/core").$strip>>;
|
|
1465
1468
|
updatedAt: import("zod").ZodNumber;
|
|
1466
1469
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1470
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1467
1471
|
attention: import("zod").ZodObject<{
|
|
1468
1472
|
plan: import("zod").ZodBoolean;
|
|
1469
1473
|
question: import("zod").ZodBoolean;
|
|
@@ -1740,6 +1744,7 @@ export declare const agentsContract: {
|
|
|
1740
1744
|
}, import("zod/v4/core").$strip>>;
|
|
1741
1745
|
updatedAt: import("zod").ZodNumber;
|
|
1742
1746
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1747
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1743
1748
|
attention: import("zod").ZodObject<{
|
|
1744
1749
|
plan: import("zod").ZodBoolean;
|
|
1745
1750
|
question: import("zod").ZodBoolean;
|
|
@@ -2026,6 +2031,7 @@ export declare const agentsContract: {
|
|
|
2026
2031
|
}, import("zod/v4/core").$strip>>;
|
|
2027
2032
|
updatedAt: import("zod").ZodNumber;
|
|
2028
2033
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2034
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2029
2035
|
attention: import("zod").ZodObject<{
|
|
2030
2036
|
plan: import("zod").ZodBoolean;
|
|
2031
2037
|
question: import("zod").ZodBoolean;
|
|
@@ -2302,6 +2308,7 @@ export declare const agentsContract: {
|
|
|
2302
2308
|
}, import("zod/v4/core").$strip>>;
|
|
2303
2309
|
updatedAt: import("zod").ZodNumber;
|
|
2304
2310
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2311
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2305
2312
|
attention: import("zod").ZodObject<{
|
|
2306
2313
|
plan: import("zod").ZodBoolean;
|
|
2307
2314
|
question: import("zod").ZodBoolean;
|
|
@@ -2577,6 +2584,284 @@ export declare const agentsContract: {
|
|
|
2577
2584
|
}, import("zod/v4/core").$strip>>;
|
|
2578
2585
|
updatedAt: import("zod").ZodNumber;
|
|
2579
2586
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2587
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2588
|
+
attention: import("zod").ZodObject<{
|
|
2589
|
+
plan: import("zod").ZodBoolean;
|
|
2590
|
+
question: import("zod").ZodBoolean;
|
|
2591
|
+
permission: import("zod").ZodBoolean;
|
|
2592
|
+
capability: import("zod").ZodBoolean;
|
|
2593
|
+
credential: import("zod").ZodBoolean;
|
|
2594
|
+
conflict: import("zod").ZodBoolean;
|
|
2595
|
+
}, import("zod/v4/core").$strip>;
|
|
2596
|
+
conflictCauses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2597
|
+
binary: "binary";
|
|
2598
|
+
diverged: "diverged";
|
|
2599
|
+
workspace: "workspace";
|
|
2600
|
+
}>>>;
|
|
2601
|
+
unfinished: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2602
|
+
at: import("zod").ZodNumber;
|
|
2603
|
+
steps: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2604
|
+
open: import("zod").ZodNumber;
|
|
2605
|
+
total: import("zod").ZodNumber;
|
|
2606
|
+
next: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2607
|
+
}, import("zod/v4/core").$strip>>;
|
|
2608
|
+
check: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2609
|
+
}, import("zod/v4/core").$strip>>;
|
|
2610
|
+
proof: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2611
|
+
at: import("zod").ZodNumber;
|
|
2612
|
+
verification: import("zod").ZodEnum<{
|
|
2613
|
+
failing: "failing";
|
|
2614
|
+
"no-code": "no-code";
|
|
2615
|
+
unproven: "unproven";
|
|
2616
|
+
verified: "verified";
|
|
2617
|
+
}>;
|
|
2618
|
+
check: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2619
|
+
unviewed: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2620
|
+
}, import("zod/v4/core").$strip>>;
|
|
2621
|
+
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2622
|
+
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2623
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2624
|
+
running: import("zod").ZodNumber;
|
|
2625
|
+
total: import("zod").ZodNumber;
|
|
2626
|
+
}, import("zod/v4/core").$strip>>;
|
|
2627
|
+
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2628
|
+
files: import("zod").ZodNumber;
|
|
2629
|
+
insertions: import("zod").ZodNumber;
|
|
2630
|
+
deletions: import("zod").ZodNumber;
|
|
2631
|
+
}, import("zod/v4/core").$strip>>;
|
|
2632
|
+
landedPresence: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2633
|
+
landed: import("zod").ZodNumber;
|
|
2634
|
+
present: import("zod").ZodNumber;
|
|
2635
|
+
}, import("zod/v4/core").$strip>>;
|
|
2636
|
+
loop: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2637
|
+
state: import("zod").ZodEnum<{
|
|
2638
|
+
done: "done";
|
|
2639
|
+
error: "error";
|
|
2640
|
+
exhausted: "exhausted";
|
|
2641
|
+
overspent: "overspent";
|
|
2642
|
+
running: "running";
|
|
2643
|
+
stalled: "stalled";
|
|
2644
|
+
stopped: "stopped";
|
|
2645
|
+
}>;
|
|
2646
|
+
iteration: import("zod").ZodNumber;
|
|
2647
|
+
maxIterations: import("zod").ZodNumber;
|
|
2648
|
+
goal: import("zod").ZodString;
|
|
2649
|
+
}, import("zod/v4/core").$strip>>;
|
|
2650
|
+
workflow: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2651
|
+
runId: import("zod").ZodString;
|
|
2652
|
+
name: import("zod").ZodString;
|
|
2653
|
+
step: import("zod").ZodString;
|
|
2654
|
+
index: import("zod").ZodNumber;
|
|
2655
|
+
total: import("zod").ZodNumber;
|
|
2656
|
+
}, import("zod/v4/core").$strip>>;
|
|
2657
|
+
awaitingWake: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2658
|
+
watches: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2659
|
+
id: import("zod").ZodString;
|
|
2660
|
+
note: import("zod").ZodString;
|
|
2661
|
+
intervalSeconds: import("zod").ZodNumber;
|
|
2662
|
+
deadlineAt: import("zod").ZodNumber;
|
|
2663
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2664
|
+
jobs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2665
|
+
id: import("zod").ZodString;
|
|
2666
|
+
label: import("zod").ZodString;
|
|
2667
|
+
session: import("zod").ZodString;
|
|
2668
|
+
startedAt: import("zod").ZodNumber;
|
|
2669
|
+
endedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2670
|
+
exitCode: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2671
|
+
watch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2672
|
+
handed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2673
|
+
ports: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
2674
|
+
stoppedBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2675
|
+
agent: "agent";
|
|
2676
|
+
person: "person";
|
|
2677
|
+
turn: "turn";
|
|
2678
|
+
}>>;
|
|
2679
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2680
|
+
archivedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2681
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
2682
|
+
unsent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2683
|
+
id: import("zod").ZodString;
|
|
2684
|
+
at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2685
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2686
|
+
id: import("zod").ZodString;
|
|
2687
|
+
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2688
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2689
|
+
titleAction: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2690
|
+
status: import("zod").ZodEnum<{
|
|
2691
|
+
awaiting: "awaiting";
|
|
2692
|
+
conflict: "conflict";
|
|
2693
|
+
dismissing: "dismissing";
|
|
2694
|
+
error: "error";
|
|
2695
|
+
idle: "idle";
|
|
2696
|
+
interrupted: "interrupted";
|
|
2697
|
+
landed: "landed";
|
|
2698
|
+
landing: "landing";
|
|
2699
|
+
ready: "ready";
|
|
2700
|
+
resuming: "resuming";
|
|
2701
|
+
running: "running";
|
|
2702
|
+
stopped: "stopped";
|
|
2703
|
+
stopping: "stopping";
|
|
2704
|
+
}>;
|
|
2705
|
+
failure: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2706
|
+
failureCode: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2707
|
+
limitResetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2708
|
+
limitHeld: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2709
|
+
limitScheduled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2710
|
+
limitMoving: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2711
|
+
provider: import("zod").ZodString;
|
|
2712
|
+
harness: import("zod").ZodEnum<{
|
|
2713
|
+
"claude-code": "claude-code";
|
|
2714
|
+
native: "native";
|
|
2715
|
+
}>;
|
|
2716
|
+
runner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2717
|
+
startIn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2718
|
+
actsAs: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2719
|
+
lastActsAs: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2720
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2721
|
+
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2722
|
+
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2723
|
+
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2724
|
+
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2725
|
+
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2726
|
+
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2727
|
+
limitPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2728
|
+
move: "move";
|
|
2729
|
+
resend: "resend";
|
|
2730
|
+
wait: "wait";
|
|
2731
|
+
}>>;
|
|
2732
|
+
outagePolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2733
|
+
retry: "retry";
|
|
2734
|
+
wait: "wait";
|
|
2735
|
+
}>>;
|
|
2736
|
+
stopPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2737
|
+
retry: "retry";
|
|
2738
|
+
wait: "wait";
|
|
2739
|
+
}>>;
|
|
2740
|
+
landRequested: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2741
|
+
email: import("zod").ZodString;
|
|
2742
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2743
|
+
at: import("zod").ZodNumber;
|
|
2744
|
+
}, import("zod/v4/core").$strip>>;
|
|
2745
|
+
reactions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2746
|
+
emoji: import("zod").ZodString;
|
|
2747
|
+
by: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2748
|
+
email: import("zod").ZodString;
|
|
2749
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2750
|
+
at: import("zod").ZodNumber;
|
|
2751
|
+
}, import("zod/v4/core").$strip>>;
|
|
2752
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2753
|
+
origin: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2754
|
+
automationId: import("zod").ZodString;
|
|
2755
|
+
provider: import("zod").ZodString;
|
|
2756
|
+
channelId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2757
|
+
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2758
|
+
}, import("zod/v4/core").$strip>>;
|
|
2759
|
+
startedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2760
|
+
areas: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2761
|
+
owner: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2762
|
+
email: import("zod").ZodString;
|
|
2763
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2764
|
+
since: import("zod").ZodNumber;
|
|
2765
|
+
}, import("zod/v4/core").$strip>>;
|
|
2766
|
+
forkedFrom: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2767
|
+
conversationId: import("zod").ZodString;
|
|
2768
|
+
index: import("zod").ZodNumber;
|
|
2769
|
+
files: import("zod").ZodEnum<{
|
|
2770
|
+
now: "now";
|
|
2771
|
+
then: "then";
|
|
2772
|
+
}>;
|
|
2773
|
+
}, import("zod/v4/core").$strip>>;
|
|
2774
|
+
base: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2775
|
+
costUsd: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2776
|
+
inputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2777
|
+
outputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2778
|
+
contextTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2779
|
+
contextWindow: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2780
|
+
promptCache: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2781
|
+
at: import("zod").ZodNumber;
|
|
2782
|
+
ttlMs: import("zod").ZodNumber;
|
|
2783
|
+
rollsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2784
|
+
keepableUntil: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2785
|
+
}, import("zod/v4/core").$strip>>;
|
|
2786
|
+
keepWarm: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2787
|
+
since: import("zod").ZodNumber;
|
|
2788
|
+
until: import("zod").ZodNumber;
|
|
2789
|
+
refreshes: import("zod").ZodNumber;
|
|
2790
|
+
readTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2791
|
+
ended: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2792
|
+
at: import("zod").ZodNumber;
|
|
2793
|
+
reason: import("zod").ZodEnum<{
|
|
2794
|
+
allowance: "allowance";
|
|
2795
|
+
changed: "changed";
|
|
2796
|
+
cold: "cold";
|
|
2797
|
+
elapsed: "elapsed";
|
|
2798
|
+
failed: "failed";
|
|
2799
|
+
}>;
|
|
2800
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2801
|
+
}, import("zod/v4/core").$strip>>;
|
|
2802
|
+
}, import("zod/v4/core").$strip>>;
|
|
2803
|
+
activity: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2804
|
+
tool: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2805
|
+
target: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2806
|
+
todo: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2807
|
+
}, import("zod/v4/core").$strip>>;
|
|
2808
|
+
checklist: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2809
|
+
done: import("zod").ZodNumber;
|
|
2810
|
+
total: import("zod").ZodNumber;
|
|
2811
|
+
}, import("zod/v4/core").$strip>>;
|
|
2812
|
+
landedMessageDraft: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2813
|
+
startedAt: import("zod").ZodNumber;
|
|
2814
|
+
steps: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2815
|
+
provider: import("zod").ZodString;
|
|
2816
|
+
model: import("zod").ZodString;
|
|
2817
|
+
status: import("zod").ZodEnum<{
|
|
2818
|
+
answered: "answered";
|
|
2819
|
+
asking: "asking";
|
|
2820
|
+
refused: "refused";
|
|
2821
|
+
skipped: "skipped";
|
|
2822
|
+
}>;
|
|
2823
|
+
at: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2824
|
+
ms: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2825
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2826
|
+
}, import("zod/v4/core").$strip>>;
|
|
2827
|
+
outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2828
|
+
failed: "failed";
|
|
2829
|
+
written: "written";
|
|
2830
|
+
}>>;
|
|
2831
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2832
|
+
finishedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2833
|
+
}, import("zod/v4/core").$strip>>;
|
|
2834
|
+
landedMessage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2835
|
+
subject: import("zod").ZodString;
|
|
2836
|
+
note: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2837
|
+
breaking: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2838
|
+
testNote: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2839
|
+
allows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2840
|
+
}, import("zod/v4/core").$strip>>;
|
|
2841
|
+
startedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2842
|
+
run: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2843
|
+
queue: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2844
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2845
|
+
id: import("zod").ZodString;
|
|
2846
|
+
text: import("zod").ZodString;
|
|
2847
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2848
|
+
voice: import("zod").ZodEnum<{
|
|
2849
|
+
agent: "agent";
|
|
2850
|
+
person: "person";
|
|
2851
|
+
sandbox: "sandbox";
|
|
2852
|
+
}>;
|
|
2853
|
+
queuedAt: import("zod").ZodNumber;
|
|
2854
|
+
revision: import("zod").ZodNumber;
|
|
2855
|
+
}, import("zod/v4/core").$strip>>;
|
|
2856
|
+
revision: import("zod").ZodNumber;
|
|
2857
|
+
paused: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2858
|
+
refused: "refused";
|
|
2859
|
+
stopped: "stopped";
|
|
2860
|
+
}>>;
|
|
2861
|
+
}, import("zod/v4/core").$strip>>;
|
|
2862
|
+
updatedAt: import("zod").ZodNumber;
|
|
2863
|
+
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2864
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2580
2865
|
attention: import("zod").ZodObject<{
|
|
2581
2866
|
plan: import("zod").ZodBoolean;
|
|
2582
2867
|
question: import("zod").ZodBoolean;
|
|
@@ -2853,6 +3138,7 @@ export declare const agentsContract: {
|
|
|
2853
3138
|
}, import("zod/v4/core").$strip>>;
|
|
2854
3139
|
updatedAt: import("zod").ZodNumber;
|
|
2855
3140
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3141
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2856
3142
|
attention: import("zod").ZodObject<{
|
|
2857
3143
|
plan: import("zod").ZodBoolean;
|
|
2858
3144
|
question: import("zod").ZodBoolean;
|
|
@@ -3129,6 +3415,7 @@ export declare const agentsContract: {
|
|
|
3129
3415
|
}, import("zod/v4/core").$strip>>;
|
|
3130
3416
|
updatedAt: import("zod").ZodNumber;
|
|
3131
3417
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3418
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3132
3419
|
attention: import("zod").ZodObject<{
|
|
3133
3420
|
plan: import("zod").ZodBoolean;
|
|
3134
3421
|
question: import("zod").ZodBoolean;
|
|
@@ -3403,6 +3690,7 @@ export declare const agentsContract: {
|
|
|
3403
3690
|
}, import("zod/v4/core").$strip>>;
|
|
3404
3691
|
updatedAt: import("zod").ZodNumber;
|
|
3405
3692
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3693
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3406
3694
|
attention: import("zod").ZodObject<{
|
|
3407
3695
|
plan: import("zod").ZodBoolean;
|
|
3408
3696
|
question: import("zod").ZodBoolean;
|
|
@@ -3900,6 +4188,7 @@ export declare const agentsContract: {
|
|
|
3900
4188
|
}, import("zod/v4/core").$strip>>;
|
|
3901
4189
|
updatedAt: import("zod").ZodNumber;
|
|
3902
4190
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4191
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3903
4192
|
attention: import("zod").ZodObject<{
|
|
3904
4193
|
plan: import("zod").ZodBoolean;
|
|
3905
4194
|
question: import("zod").ZodBoolean;
|
|
@@ -4176,6 +4465,7 @@ export declare const agentsContract: {
|
|
|
4176
4465
|
}, import("zod/v4/core").$strip>>;
|
|
4177
4466
|
updatedAt: import("zod").ZodNumber;
|
|
4178
4467
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4468
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4179
4469
|
attention: import("zod").ZodObject<{
|
|
4180
4470
|
plan: import("zod").ZodBoolean;
|
|
4181
4471
|
question: import("zod").ZodBoolean;
|
|
@@ -4453,6 +4743,7 @@ export declare const agentsContract: {
|
|
|
4453
4743
|
}, import("zod/v4/core").$strip>>;
|
|
4454
4744
|
updatedAt: import("zod").ZodNumber;
|
|
4455
4745
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4746
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4456
4747
|
attention: import("zod").ZodObject<{
|
|
4457
4748
|
plan: import("zod").ZodBoolean;
|
|
4458
4749
|
question: import("zod").ZodBoolean;
|
|
@@ -4734,6 +5025,7 @@ export declare const agentsContract: {
|
|
|
4734
5025
|
}, import("zod/v4/core").$strip>>;
|
|
4735
5026
|
updatedAt: import("zod").ZodNumber;
|
|
4736
5027
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5028
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4737
5029
|
attention: import("zod").ZodObject<{
|
|
4738
5030
|
plan: import("zod").ZodBoolean;
|
|
4739
5031
|
question: import("zod").ZodBoolean;
|
|
@@ -5016,6 +5308,7 @@ export declare const agentsContract: {
|
|
|
5016
5308
|
}, import("zod/v4/core").$strip>>;
|
|
5017
5309
|
updatedAt: import("zod").ZodNumber;
|
|
5018
5310
|
seenAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5311
|
+
unsentAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5019
5312
|
attention: import("zod").ZodObject<{
|
|
5020
5313
|
plan: import("zod").ZodBoolean;
|
|
5021
5314
|
question: import("zod").ZodBoolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agents.contract.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agents.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agents.contract.ts"],"names":[],"mappings":"AAqCA,eAAO,MAAM,cAAc;IACvB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWT,KAAK;;;CAUR,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { procedure } from "../protocol/route-meta.js";
|
|
2
2
|
import { AgentToolChildrenSchema, AgentTranscriptSchema } from "../events/transcript.js";
|
|
3
|
-
import { AgentAssignSchema, AgentAutoLandSchema, AgentBreakPolicySchema, AgentFileDiffQuerySchema, AgentIdSchema, AgentToolChildrenQuerySchema, AgentTranscriptQuerySchema, AgentIdsSchema, AgentLandSchema, AgentPlaceSchema, AgentReactSchema, AgentRenameSchema, AgentStopJobSchema, AgentStopWatchingSchema, AgentsArchivedSchema, AgentSearchQuerySchema, AgentSearchResultSchema, AgentsMovedSchema, AgentsRemovedSchema, AgentSummarySchema, LandResultSchema, } from "../schemas/agents.js";
|
|
3
|
+
import { AgentAssignSchema, AgentAutoLandSchema, AgentBreakPolicySchema, AgentFileDiffQuerySchema, AgentIdSchema, AgentToolChildrenQuerySchema, AgentTranscriptQuerySchema, AgentIdsSchema, AgentLandSchema, AgentPlaceSchema, AgentReactSchema, AgentRenameSchema, AgentStopJobSchema, AgentStopWatchingSchema, AgentsArchivedSchema, AgentSearchQuerySchema, AgentSearchResultSchema, AgentsMovedSchema, AgentsRemovedSchema, AgentSummarySchema, AgentUnsentSchema, LandResultSchema, } from "../schemas/agents.js";
|
|
4
4
|
import { AgentsListSchema } from "../schemas/automations.js";
|
|
5
|
-
import {
|
|
5
|
+
import { PushFixResultSchema, PushFixSchema } from "../schemas/workspace/push-checks.js";
|
|
6
6
|
import { AgentChangesSchema, AgentConflictsSchema, AgentScratchSchema, AgentHistorySchema } from "../schemas/git/git.js";
|
|
7
7
|
import { FileDiffSchema } from "../schemas/history.js";
|
|
8
8
|
import { OkSchema } from "../schemas/shared.js";
|
|
@@ -132,6 +132,16 @@ export const agentsContract = {
|
|
|
132
132
|
.meta({ floor: "collaborator", guest: true })
|
|
133
133
|
.input(AgentIdSchema)
|
|
134
134
|
.output(AgentSummarySchema),
|
|
135
|
+
unsent: procedure
|
|
136
|
+
.route({
|
|
137
|
+
method: "POST",
|
|
138
|
+
path: "/agents/{id}/unsent",
|
|
139
|
+
summary: "Report that a composer holds an unsent message for a conversation",
|
|
140
|
+
description: "The words stay in the browser; the sandbox only records since when some composer has held them, so a conversation waiting on a message nobody has sent yet is never archived for being idle. Null clears it once the message is sent or deleted. Does not count as activity.",
|
|
141
|
+
})
|
|
142
|
+
.meta({ floor: "collaborator" })
|
|
143
|
+
.input(AgentUnsentSchema)
|
|
144
|
+
.output(AgentSummarySchema),
|
|
135
145
|
stopWatching: procedure
|
|
136
146
|
.route({
|
|
137
147
|
method: "POST",
|
|
@@ -220,8 +230,8 @@ export const agentsContract = {
|
|
|
220
230
|
summary: "Put an agent on what a push left behind",
|
|
221
231
|
description: "Opens an isolated conversation holding every open finding the project's push checks let through: what each check printed, the command that shows it again, and the commits that brought it. Pressed again while they stand, it continues that conversation.",
|
|
222
232
|
})
|
|
223
|
-
.input(
|
|
224
|
-
.output(
|
|
233
|
+
.input(PushFixSchema)
|
|
234
|
+
.output(PushFixResultSchema),
|
|
225
235
|
land: procedure
|
|
226
236
|
.route({
|
|
227
237
|
method: "POST",
|