@intentic/sandbox-contract 1.308.0 → 1.309.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/dist/contracts/agent.contract.d.ts +98 -4
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.js +40 -10
- package/dist/contracts/agent.contract.js.map +1 -1
- package/dist/contracts/agents.contract.d.ts +285 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/approvals.contract.d.ts +34 -0
- package/dist/contracts/approvals.contract.d.ts.map +1 -1
- package/dist/contracts/approvals.contract.js +30 -1
- package/dist/contracts/approvals.contract.js.map +1 -1
- package/dist/contracts/device.contract.d.ts +1 -0
- package/dist/contracts/device.contract.d.ts.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +390 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/extensions.contract.js +11 -1
- package/dist/contracts/extensions.contract.js.map +1 -1
- package/dist/contracts/runner.contract.d.ts +117 -107
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +1 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +54 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +210 -0
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +35 -1
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/events/agent-events.d.ts +9 -2
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js +5 -1
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/resume.d.ts +1 -0
- package/dist/events/resume.d.ts.map +1 -1
- package/dist/events/resume.js +2 -0
- package/dist/events/resume.js.map +1 -1
- package/dist/events/system-events.d.ts +40 -0
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/transcript.d.ts +14 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +7 -1
- package/dist/events/transcript.js.map +1 -1
- package/dist/index.d.ts +1141 -71
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/models/model-label.d.ts +2 -0
- package/dist/models/model-label.d.ts.map +1 -0
- package/dist/models/model-label.js +20 -0
- package/dist/models/model-label.js.map +1 -0
- package/dist/models/model-pins.d.ts +0 -1
- package/dist/models/model-pins.d.ts.map +1 -1
- package/dist/models/model-pins.js +0 -2
- package/dist/models/model-pins.js.map +1 -1
- package/dist/policy/command-classes.d.ts.map +1 -1
- package/dist/policy/command-classes.js +88 -7
- package/dist/policy/command-classes.js.map +1 -1
- package/dist/policy/reserved-servers.d.ts +7 -0
- package/dist/policy/reserved-servers.d.ts.map +1 -0
- package/dist/policy/reserved-servers.js +21 -0
- package/dist/policy/reserved-servers.js.map +1 -0
- package/dist/policy/turned-away.d.ts.map +1 -1
- package/dist/policy/turned-away.js.map +1 -1
- package/dist/protocol/ingress-protocol.d.ts +2 -0
- package/dist/protocol/ingress-protocol.d.ts.map +1 -1
- package/dist/protocol/ingress-protocol.js +4 -1
- package/dist/protocol/ingress-protocol.js.map +1 -1
- package/dist/protocol/peer-mcp-server.d.ts +7 -0
- package/dist/protocol/peer-mcp-server.d.ts.map +1 -1
- package/dist/protocol/peer-mcp-server.js +6 -1
- package/dist/protocol/peer-mcp-server.js.map +1 -1
- package/dist/protocol/tunnel-heartbeat.d.ts +19 -0
- package/dist/protocol/tunnel-heartbeat.d.ts.map +1 -0
- package/dist/protocol/tunnel-heartbeat.js +41 -0
- package/dist/protocol/tunnel-heartbeat.js.map +1 -0
- package/dist/schemas/agent.d.ts +59 -0
- package/dist/schemas/agent.d.ts.map +1 -1
- package/dist/schemas/agent.js +45 -2
- package/dist/schemas/agent.js.map +1 -1
- package/dist/schemas/agents.d.ts +60 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +6 -1
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/approvals.d.ts +67 -0
- package/dist/schemas/approvals.d.ts.map +1 -1
- package/dist/schemas/approvals.js +43 -0
- package/dist/schemas/approvals.js.map +1 -1
- package/dist/schemas/automations.d.ts +20 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/devices.d.ts +2 -0
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js +3 -2
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/extension-updates.d.ts +850 -77
- package/dist/schemas/extension-updates.d.ts.map +1 -1
- package/dist/schemas/extension-updates.js +23 -0
- package/dist/schemas/extension-updates.js.map +1 -1
- package/dist/schemas/history.d.ts +1 -0
- package/dist/schemas/history.d.ts.map +1 -1
- package/dist/schemas/history.js +4 -0
- package/dist/schemas/history.js.map +1 -1
- package/dist/schemas/hosts.d.ts +1 -0
- package/dist/schemas/hosts.d.ts.map +1 -1
- package/dist/schemas/hosts.js +1 -0
- package/dist/schemas/hosts.js.map +1 -1
- package/dist/schemas/metrics.d.ts +258 -0
- package/dist/schemas/metrics.d.ts.map +1 -1
- package/dist/schemas/metrics.js +95 -0
- package/dist/schemas/metrics.js.map +1 -1
- package/dist/schemas/providers/plan-limits.d.ts +42 -1
- package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
- package/dist/schemas/providers/plan-limits.js +48 -1
- package/dist/schemas/providers/plan-limits.js.map +1 -1
- package/dist/schemas/providers/usage.d.ts +2 -0
- package/dist/schemas/providers/usage.d.ts.map +1 -1
- package/dist/schemas/providers/usage.js +2 -0
- package/dist/schemas/providers/usage.js.map +1 -1
- package/dist/schemas/settings.d.ts +52 -0
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +11 -0
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/turn-break.d.ts +5 -0
- package/dist/schemas/turn-break.d.ts.map +1 -1
- package/dist/schemas/turn-break.js +4 -0
- package/dist/schemas/turn-break.js.map +1 -1
- package/dist/state/definition.d.ts +8 -0
- 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 +3 -0
- package/dist/state/history-state.js.map +1 -1
- package/dist/text/transcript-fold.d.ts +1 -1
- package/dist/text/transcript-fold.d.ts.map +1 -1
- package/dist/text/transcript-fold.js +19 -9
- package/dist/text/transcript-fold.js.map +1 -1
- package/package.json +16 -5
- package/src/contracts/agent.contract.ts +62 -15
- package/src/contracts/approvals.contract.ts +35 -1
- package/src/contracts/extensions.contract.ts +14 -0
- package/src/contracts/system.contract.ts +42 -1
- package/src/events/agent-events.ts +10 -2
- package/src/events/resume.test.ts +8 -0
- package/src/events/resume.ts +4 -0
- package/src/events/transcript.ts +13 -2
- package/src/index.ts +2 -0
- package/src/models/model-label.test.ts +24 -0
- package/src/models/model-label.ts +29 -0
- package/src/models/model-pins.ts +0 -6
- package/src/policy/command-classes.test.ts +99 -1
- package/src/policy/command-classes.ts +143 -11
- package/src/policy/reserved-servers.test.ts +51 -0
- package/src/policy/reserved-servers.ts +48 -0
- package/src/policy/turned-away.ts +2 -1
- package/src/protocol/ingress-protocol.test.ts +78 -1
- package/src/protocol/ingress-protocol.ts +8 -1
- package/src/protocol/peer-mcp-server.test.ts +10 -3
- package/src/protocol/peer-mcp-server.ts +14 -1
- package/src/protocol/tunnel-heartbeat.test.ts +76 -0
- package/src/protocol/tunnel-heartbeat.ts +67 -0
- package/src/schemas/agent.ts +77 -5
- package/src/schemas/agents.ts +11 -1
- package/src/schemas/approvals.ts +67 -0
- package/src/schemas/context-trim.test.ts +2 -2
- package/src/schemas/devices.ts +4 -2
- package/src/schemas/extension-updates.ts +30 -0
- package/src/schemas/history.ts +8 -1
- package/src/schemas/hosts.ts +4 -0
- package/src/schemas/metrics.ts +148 -0
- package/src/schemas/providers/plan-limits.ts +67 -2
- package/src/schemas/providers/usage.ts +3 -0
- package/src/schemas/settings.ts +16 -0
- package/src/schemas/turn-break.ts +8 -0
- package/src/state/history-state.ts +6 -0
- package/src/state/workspace-state.test.ts +2 -2
- package/src/text/transcript-fold.test.ts +25 -7
- package/src/text/transcript-fold.ts +32 -19
|
@@ -59,37 +59,6 @@ export declare const runnerContract: {
|
|
|
59
59
|
bytesBase64: z.ZodString;
|
|
60
60
|
}, z.core.$strip>>>;
|
|
61
61
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
62
|
-
requestId: string;
|
|
63
|
-
text: string;
|
|
64
|
-
document?: {
|
|
65
|
-
path: string;
|
|
66
|
-
title: string;
|
|
67
|
-
markdown: string;
|
|
68
|
-
truncated?: boolean | undefined;
|
|
69
|
-
plan?: boolean | undefined;
|
|
70
|
-
} | undefined;
|
|
71
|
-
kind: "plan";
|
|
72
|
-
} | {
|
|
73
|
-
requestId: string;
|
|
74
|
-
questions: {
|
|
75
|
-
question: string;
|
|
76
|
-
header: string;
|
|
77
|
-
multiSelect: boolean;
|
|
78
|
-
options: {
|
|
79
|
-
label: string;
|
|
80
|
-
description: string;
|
|
81
|
-
preview?: string | undefined;
|
|
82
|
-
}[];
|
|
83
|
-
}[];
|
|
84
|
-
document?: {
|
|
85
|
-
path: string;
|
|
86
|
-
title: string;
|
|
87
|
-
markdown: string;
|
|
88
|
-
truncated?: boolean | undefined;
|
|
89
|
-
plan?: boolean | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
kind: "question";
|
|
92
|
-
} | {
|
|
93
62
|
kind: "session";
|
|
94
63
|
sessionId: string;
|
|
95
64
|
account?: string | undefined;
|
|
@@ -140,6 +109,7 @@ export declare const runnerContract: {
|
|
|
140
109
|
sentAt: number;
|
|
141
110
|
attachments?: string[] | undefined;
|
|
142
111
|
voice?: "agent" | "sandbox" | undefined;
|
|
112
|
+
messageId?: string | undefined;
|
|
143
113
|
} | {
|
|
144
114
|
kind: "delta";
|
|
145
115
|
text: string;
|
|
@@ -277,6 +247,37 @@ export declare const runnerContract: {
|
|
|
277
247
|
trigger: string;
|
|
278
248
|
preTokens?: number | undefined;
|
|
279
249
|
postTokens?: number | undefined;
|
|
250
|
+
} | {
|
|
251
|
+
requestId: string;
|
|
252
|
+
text: string;
|
|
253
|
+
document?: {
|
|
254
|
+
path: string;
|
|
255
|
+
title: string;
|
|
256
|
+
markdown: string;
|
|
257
|
+
truncated?: boolean | undefined;
|
|
258
|
+
plan?: boolean | undefined;
|
|
259
|
+
} | undefined;
|
|
260
|
+
kind: "plan";
|
|
261
|
+
} | {
|
|
262
|
+
requestId: string;
|
|
263
|
+
questions: {
|
|
264
|
+
question: string;
|
|
265
|
+
header: string;
|
|
266
|
+
multiSelect: boolean;
|
|
267
|
+
options: {
|
|
268
|
+
label: string;
|
|
269
|
+
description: string;
|
|
270
|
+
preview?: string | undefined;
|
|
271
|
+
}[];
|
|
272
|
+
}[];
|
|
273
|
+
document?: {
|
|
274
|
+
path: string;
|
|
275
|
+
title: string;
|
|
276
|
+
markdown: string;
|
|
277
|
+
truncated?: boolean | undefined;
|
|
278
|
+
plan?: boolean | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
kind: "question";
|
|
280
281
|
} | {
|
|
281
282
|
requestId: string;
|
|
282
283
|
session: string;
|
|
@@ -370,7 +371,7 @@ export declare const runnerContract: {
|
|
|
370
371
|
} | {
|
|
371
372
|
kind: "error";
|
|
372
373
|
message: string;
|
|
373
|
-
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-unavailable" | "provider-outage" | "rate_limit" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | undefined;
|
|
374
|
+
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-unavailable" | "provider-outage" | "rate_limit" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | undefined;
|
|
374
375
|
engine?: {
|
|
375
376
|
id: string;
|
|
376
377
|
running?: string | undefined;
|
|
@@ -387,8 +388,10 @@ export declare const runnerContract: {
|
|
|
387
388
|
} | undefined;
|
|
388
389
|
outage?: {
|
|
389
390
|
retryAt: number;
|
|
390
|
-
|
|
391
|
-
|
|
391
|
+
} | undefined;
|
|
392
|
+
retries?: {
|
|
393
|
+
made: number;
|
|
394
|
+
max: number;
|
|
392
395
|
} | undefined;
|
|
393
396
|
memory?: {
|
|
394
397
|
limitBytes: number;
|
|
@@ -398,26 +401,6 @@ export declare const runnerContract: {
|
|
|
398
401
|
unattended?: boolean | undefined;
|
|
399
402
|
} | {
|
|
400
403
|
kind: "done";
|
|
401
|
-
} | {
|
|
402
|
-
toolName: string;
|
|
403
|
-
title?: string | undefined;
|
|
404
|
-
displayName?: string | undefined;
|
|
405
|
-
description?: string | undefined;
|
|
406
|
-
reason?: string | undefined;
|
|
407
|
-
path?: string | undefined;
|
|
408
|
-
alwaysLabel?: string | undefined;
|
|
409
|
-
program?: {
|
|
410
|
-
text: string;
|
|
411
|
-
language: "bash" | "javascript";
|
|
412
|
-
truncated: boolean;
|
|
413
|
-
spans: {
|
|
414
|
-
start: number;
|
|
415
|
-
end: number;
|
|
416
|
-
}[];
|
|
417
|
-
} | undefined;
|
|
418
|
-
explain?: string | undefined;
|
|
419
|
-
requestId: string;
|
|
420
|
-
kind: "permission";
|
|
421
404
|
} | {
|
|
422
405
|
window: number;
|
|
423
406
|
omitted: string[];
|
|
@@ -436,54 +419,6 @@ export declare const runnerContract: {
|
|
|
436
419
|
cachedAt?: number | undefined;
|
|
437
420
|
cacheTtlMs?: number | undefined;
|
|
438
421
|
kind: "context_usage";
|
|
439
|
-
} | {
|
|
440
|
-
outcome: "connected" | "unfinished";
|
|
441
|
-
id?: string | undefined;
|
|
442
|
-
kind: "capability_outcome";
|
|
443
|
-
requestId: string;
|
|
444
|
-
} | {
|
|
445
|
-
outcome: "failed" | "paid";
|
|
446
|
-
amountUsd: string;
|
|
447
|
-
transaction?: string | undefined;
|
|
448
|
-
network?: string | undefined;
|
|
449
|
-
kind: "payment_receipt";
|
|
450
|
-
requestId: string;
|
|
451
|
-
} | {
|
|
452
|
-
outcome: "refused" | "released";
|
|
453
|
-
approvedBy?: string | undefined;
|
|
454
|
-
kind: "credential_receipt";
|
|
455
|
-
requestId: string;
|
|
456
|
-
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
457
|
-
requestId: string;
|
|
458
|
-
text: string;
|
|
459
|
-
document?: {
|
|
460
|
-
path: string;
|
|
461
|
-
title: string;
|
|
462
|
-
markdown: string;
|
|
463
|
-
truncated?: boolean | undefined;
|
|
464
|
-
plan?: boolean | undefined;
|
|
465
|
-
} | undefined;
|
|
466
|
-
kind: "plan";
|
|
467
|
-
} | {
|
|
468
|
-
requestId: string;
|
|
469
|
-
questions: {
|
|
470
|
-
question: string;
|
|
471
|
-
header: string;
|
|
472
|
-
multiSelect: boolean;
|
|
473
|
-
options: {
|
|
474
|
-
label: string;
|
|
475
|
-
description: string;
|
|
476
|
-
preview?: string | undefined;
|
|
477
|
-
}[];
|
|
478
|
-
}[];
|
|
479
|
-
document?: {
|
|
480
|
-
path: string;
|
|
481
|
-
title: string;
|
|
482
|
-
markdown: string;
|
|
483
|
-
truncated?: boolean | undefined;
|
|
484
|
-
plan?: boolean | undefined;
|
|
485
|
-
} | undefined;
|
|
486
|
-
kind: "question";
|
|
487
422
|
} | {
|
|
488
423
|
toolName: string;
|
|
489
424
|
title?: string | undefined;
|
|
@@ -505,6 +440,23 @@ export declare const runnerContract: {
|
|
|
505
440
|
requestId: string;
|
|
506
441
|
kind: "permission";
|
|
507
442
|
} | {
|
|
443
|
+
outcome: "connected" | "unfinished";
|
|
444
|
+
id?: string | undefined;
|
|
445
|
+
kind: "capability_outcome";
|
|
446
|
+
requestId: string;
|
|
447
|
+
} | {
|
|
448
|
+
outcome: "failed" | "paid";
|
|
449
|
+
amountUsd: string;
|
|
450
|
+
transaction?: string | undefined;
|
|
451
|
+
network?: string | undefined;
|
|
452
|
+
kind: "payment_receipt";
|
|
453
|
+
requestId: string;
|
|
454
|
+
} | {
|
|
455
|
+
outcome: "refused" | "released";
|
|
456
|
+
approvedBy?: string | undefined;
|
|
457
|
+
kind: "credential_receipt";
|
|
458
|
+
requestId: string;
|
|
459
|
+
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
508
460
|
kind: "session";
|
|
509
461
|
sessionId: string;
|
|
510
462
|
account?: string | undefined;
|
|
@@ -555,6 +507,7 @@ export declare const runnerContract: {
|
|
|
555
507
|
sentAt: number;
|
|
556
508
|
attachments?: string[] | undefined;
|
|
557
509
|
voice?: "agent" | "sandbox" | undefined;
|
|
510
|
+
messageId?: string | undefined;
|
|
558
511
|
} | {
|
|
559
512
|
kind: "delta";
|
|
560
513
|
text: string;
|
|
@@ -692,6 +645,37 @@ export declare const runnerContract: {
|
|
|
692
645
|
trigger: string;
|
|
693
646
|
preTokens?: number | undefined;
|
|
694
647
|
postTokens?: number | undefined;
|
|
648
|
+
} | {
|
|
649
|
+
requestId: string;
|
|
650
|
+
text: string;
|
|
651
|
+
document?: {
|
|
652
|
+
path: string;
|
|
653
|
+
title: string;
|
|
654
|
+
markdown: string;
|
|
655
|
+
truncated?: boolean | undefined;
|
|
656
|
+
plan?: boolean | undefined;
|
|
657
|
+
} | undefined;
|
|
658
|
+
kind: "plan";
|
|
659
|
+
} | {
|
|
660
|
+
requestId: string;
|
|
661
|
+
questions: {
|
|
662
|
+
question: string;
|
|
663
|
+
header: string;
|
|
664
|
+
multiSelect: boolean;
|
|
665
|
+
options: {
|
|
666
|
+
label: string;
|
|
667
|
+
description: string;
|
|
668
|
+
preview?: string | undefined;
|
|
669
|
+
}[];
|
|
670
|
+
}[];
|
|
671
|
+
document?: {
|
|
672
|
+
path: string;
|
|
673
|
+
title: string;
|
|
674
|
+
markdown: string;
|
|
675
|
+
truncated?: boolean | undefined;
|
|
676
|
+
plan?: boolean | undefined;
|
|
677
|
+
} | undefined;
|
|
678
|
+
kind: "question";
|
|
695
679
|
} | {
|
|
696
680
|
requestId: string;
|
|
697
681
|
session: string;
|
|
@@ -785,7 +769,7 @@ export declare const runnerContract: {
|
|
|
785
769
|
} | {
|
|
786
770
|
kind: "error";
|
|
787
771
|
message: string;
|
|
788
|
-
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-unavailable" | "provider-outage" | "rate_limit" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | undefined;
|
|
772
|
+
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-unavailable" | "provider-outage" | "rate_limit" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | undefined;
|
|
789
773
|
engine?: {
|
|
790
774
|
id: string;
|
|
791
775
|
running?: string | undefined;
|
|
@@ -802,8 +786,10 @@ export declare const runnerContract: {
|
|
|
802
786
|
} | undefined;
|
|
803
787
|
outage?: {
|
|
804
788
|
retryAt: number;
|
|
805
|
-
|
|
806
|
-
|
|
789
|
+
} | undefined;
|
|
790
|
+
retries?: {
|
|
791
|
+
made: number;
|
|
792
|
+
max: number;
|
|
807
793
|
} | undefined;
|
|
808
794
|
memory?: {
|
|
809
795
|
limitBytes: number;
|
|
@@ -831,6 +817,26 @@ export declare const runnerContract: {
|
|
|
831
817
|
cachedAt?: number | undefined;
|
|
832
818
|
cacheTtlMs?: number | undefined;
|
|
833
819
|
kind: "context_usage";
|
|
820
|
+
} | {
|
|
821
|
+
toolName: string;
|
|
822
|
+
title?: string | undefined;
|
|
823
|
+
displayName?: string | undefined;
|
|
824
|
+
description?: string | undefined;
|
|
825
|
+
reason?: string | undefined;
|
|
826
|
+
path?: string | undefined;
|
|
827
|
+
alwaysLabel?: string | undefined;
|
|
828
|
+
program?: {
|
|
829
|
+
text: string;
|
|
830
|
+
language: "bash" | "javascript";
|
|
831
|
+
truncated: boolean;
|
|
832
|
+
spans: {
|
|
833
|
+
start: number;
|
|
834
|
+
end: number;
|
|
835
|
+
}[];
|
|
836
|
+
} | undefined;
|
|
837
|
+
explain?: string | undefined;
|
|
838
|
+
requestId: string;
|
|
839
|
+
kind: "permission";
|
|
834
840
|
} | {
|
|
835
841
|
outcome: "connected" | "unfinished";
|
|
836
842
|
id?: string | undefined;
|
|
@@ -912,6 +918,7 @@ export declare const runnerContract: {
|
|
|
912
918
|
agent: "agent";
|
|
913
919
|
sandbox: "sandbox";
|
|
914
920
|
}>>;
|
|
921
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
915
922
|
}, z.core.$strip>, z.ZodObject<{
|
|
916
923
|
kind: z.ZodLiteral<"delta">;
|
|
917
924
|
text: z.ZodString;
|
|
@@ -1311,6 +1318,7 @@ export declare const runnerContract: {
|
|
|
1311
1318
|
"codex-advisory": "codex-advisory";
|
|
1312
1319
|
"codex-model-invalid": "codex-model-invalid";
|
|
1313
1320
|
"codex-reauth": "codex-reauth";
|
|
1321
|
+
"context-overflow": "context-overflow";
|
|
1314
1322
|
"context-window-too-small": "context-window-too-small";
|
|
1315
1323
|
"engine-version-floor": "engine-version-floor";
|
|
1316
1324
|
"grok-model-invalid": "grok-model-invalid";
|
|
@@ -1346,8 +1354,10 @@ export declare const runnerContract: {
|
|
|
1346
1354
|
}, z.core.$strip>>;
|
|
1347
1355
|
outage: z.ZodOptional<z.ZodObject<{
|
|
1348
1356
|
retryAt: z.ZodNumber;
|
|
1349
|
-
|
|
1350
|
-
|
|
1357
|
+
}, z.core.$strip>>;
|
|
1358
|
+
retries: z.ZodOptional<z.ZodObject<{
|
|
1359
|
+
made: z.ZodNumber;
|
|
1360
|
+
max: z.ZodNumber;
|
|
1351
1361
|
}, z.core.$strip>>;
|
|
1352
1362
|
memory: z.ZodOptional<z.ZodObject<{
|
|
1353
1363
|
limitBytes: z.ZodNumber;
|
|
@@ -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;AAUxB,eAAO,MAAM,cAAc;IAEvB,QAAQ;;;;;;IAER,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEb,OAAO
|
|
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;AAUxB,eAAO,MAAM,cAAc;IAEvB,QAAQ;;;;;;IAER,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEb,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEP,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEL,KAAK;;;;;;;;;;;;;;;IAYL,eAAe;;;;;IAEf,SAAS;;;;;IAET,IAAI;;;CACP,CAAC"}
|
|
@@ -29,6 +29,7 @@ export declare const sessionsContract: {
|
|
|
29
29
|
text: z.ZodString;
|
|
30
30
|
run: z.ZodOptional<z.ZodString>;
|
|
31
31
|
sentAt: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
32
33
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
34
|
checkpointId: z.ZodOptional<z.ZodString>;
|
|
34
35
|
rewindIndex: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/sessions.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;IACzB,IAAI;;;;;;;;;;;;;;;;;IAYJ,GAAG
|
|
1
|
+
{"version":3,"file":"sessions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/sessions.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;IACzB,IAAI;;;;;;;;;;;;;;;;;IAYJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUN,CAAC"}
|
|
@@ -11,6 +11,8 @@ export declare const settingsContract: {
|
|
|
11
11
|
intentic: "intentic";
|
|
12
12
|
}>>;
|
|
13
13
|
systemPrompt: import("zod").ZodDefault<import("zod").ZodString>;
|
|
14
|
+
leanGuidance: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
15
|
+
leanGuidanceHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
14
16
|
iqSearch: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
15
17
|
iqSearchHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
16
18
|
workspaceMap: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
@@ -176,6 +178,8 @@ export declare const settingsContract: {
|
|
|
176
178
|
intentic: "intentic";
|
|
177
179
|
}>>;
|
|
178
180
|
systemPrompt: import("zod").ZodDefault<import("zod").ZodString>;
|
|
181
|
+
leanGuidance: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
182
|
+
leanGuidanceHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
179
183
|
iqSearch: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
180
184
|
iqSearchHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
181
185
|
workspaceMap: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
@@ -507,6 +511,56 @@ export declare const settingsContract: {
|
|
|
507
511
|
}>>;
|
|
508
512
|
cohort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
509
513
|
}, import("zod/v4/core").$strip>>;
|
|
514
|
+
guidance: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
515
|
+
metrics: import("zod").ZodTuple<[import("zod").ZodObject<{
|
|
516
|
+
metric: import("zod").ZodEnum<{
|
|
517
|
+
callsBeforeTarget: "callsBeforeTarget";
|
|
518
|
+
failedCalls: "failedCalls";
|
|
519
|
+
openingListings: "openingListings";
|
|
520
|
+
openingSearches: "openingSearches";
|
|
521
|
+
searchCalls: "searchCalls";
|
|
522
|
+
}>;
|
|
523
|
+
on: import("zod").ZodObject<{
|
|
524
|
+
turns: import("zod").ZodNumber;
|
|
525
|
+
mean: import("zod").ZodNumber;
|
|
526
|
+
}, import("zod/v4/core").$strip>;
|
|
527
|
+
off: import("zod").ZodObject<{
|
|
528
|
+
turns: import("zod").ZodNumber;
|
|
529
|
+
mean: import("zod").ZodNumber;
|
|
530
|
+
}, import("zod/v4/core").$strip>;
|
|
531
|
+
controlTurnsNeeded: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
532
|
+
marginPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
533
|
+
deltaPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
534
|
+
saved: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
535
|
+
}, import("zod/v4/core").$strip>], import("zod").ZodObject<{
|
|
536
|
+
metric: import("zod").ZodEnum<{
|
|
537
|
+
callsBeforeTarget: "callsBeforeTarget";
|
|
538
|
+
failedCalls: "failedCalls";
|
|
539
|
+
openingListings: "openingListings";
|
|
540
|
+
openingSearches: "openingSearches";
|
|
541
|
+
searchCalls: "searchCalls";
|
|
542
|
+
}>;
|
|
543
|
+
on: import("zod").ZodObject<{
|
|
544
|
+
turns: import("zod").ZodNumber;
|
|
545
|
+
mean: import("zod").ZodNumber;
|
|
546
|
+
}, import("zod/v4/core").$strip>;
|
|
547
|
+
off: import("zod").ZodObject<{
|
|
548
|
+
turns: import("zod").ZodNumber;
|
|
549
|
+
mean: import("zod").ZodNumber;
|
|
550
|
+
}, import("zod/v4/core").$strip>;
|
|
551
|
+
controlTurnsNeeded: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
552
|
+
marginPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
553
|
+
deltaPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
554
|
+
saved: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
555
|
+
}, import("zod/v4/core").$strip>>;
|
|
556
|
+
minTurns: import("zod").ZodNumber;
|
|
557
|
+
sampleUnit: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
558
|
+
conversations: "conversations";
|
|
559
|
+
"opening turns": "opening turns";
|
|
560
|
+
turns: "turns";
|
|
561
|
+
}>>;
|
|
562
|
+
cohort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
563
|
+
}, import("zod/v4/core").$strip>>;
|
|
510
564
|
}, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
511
565
|
builtinPrompt: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
512
566
|
base: import("zod").ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.contract.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,gBAAgB;IACzB,GAAG
|
|
1
|
+
{"version":3,"file":"settings.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.contract.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,gBAAgB;IACzB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUP,aAAa;;;;;;;;;IAWb,OAAO;IAWP,UAAU;;;;;;;;;;;;;;;;;;;;IAUV,UAAU;;;;;;;;;;;;;;IAYV,aAAa;;;;;;IAUb,eAAe;;;;;;CAUlB,CAAC"}
|