@intentic/sandbox-contract 1.318.0 → 1.319.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 +4 -2
- package/dist/contracts/agent.contract.d.ts +7 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +34 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +0 -2
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +6 -29
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +0 -53
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.js +1 -10
- package/dist/contracts/workspace.contract.js.map +1 -1
- package/dist/events/system-events.d.ts +4 -18
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/system-events.js +2 -2
- package/dist/events/system-events.js.map +1 -1
- package/dist/front/generated/browser-wire.d.ts +13 -0
- package/dist/front/generated/browser-wire.d.ts.map +1 -1
- package/dist/front/generated/wire.d.ts +4 -0
- package/dist/front/generated/wire.d.ts.map +1 -1
- package/dist/index.d.ts +78 -114
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/protocol/raw-routes.d.ts +5 -0
- package/dist/protocol/raw-routes.d.ts.map +1 -1
- package/dist/protocol/raw-routes.js +1 -0
- package/dist/protocol/raw-routes.js.map +1 -1
- package/dist/protocol/vitals.d.ts +8 -0
- package/dist/protocol/vitals.d.ts.map +1 -0
- package/dist/protocol/vitals.js +16 -0
- package/dist/protocol/vitals.js.map +1 -0
- package/dist/schemas/agent.d.ts +6 -0
- package/dist/schemas/agent.d.ts.map +1 -1
- package/dist/schemas/agent.js +12 -2
- package/dist/schemas/agent.js.map +1 -1
- package/dist/schemas/agents.d.ts +6 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/automations.d.ts +2 -0
- package/dist/schemas/automations.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 +1 -0
- package/dist/schemas/settings-history.js.map +1 -1
- package/dist/schemas/settings.d.ts +0 -2
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +0 -4
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/workspace/workspace-tree.d.ts +0 -56
- package/dist/schemas/workspace/workspace-tree.d.ts.map +1 -1
- package/dist/schemas/workspace/workspace-tree.js +3 -15
- 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/package.json +5 -5
- package/src/contracts/workspace.contract.ts +0 -12
- package/src/events/system-events.ts +5 -5
- package/src/front/generated/browser-wire.json +95 -0
- package/src/front/generated/browser-wire.ts +36 -0
- package/src/front/generated/front-wire.json +25 -0
- package/src/front/generated/wire.ts +2 -2
- package/src/front/wire-manifests.test.ts +7 -0
- package/src/index.ts +1 -0
- package/src/protocol/raw-routes.ts +3 -0
- package/src/protocol/vitals.test.ts +46 -0
- package/src/protocol/vitals.ts +38 -0
- package/src/schemas/agent.ts +16 -2
- package/src/schemas/settings-history.ts +1 -0
- package/src/schemas/settings.ts +1 -7
- package/src/schemas/workspace/workspace-tree.ts +5 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-events.d.ts","sourceRoot":"","sources":["../../src/events/system-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,kBAAkB;;iBAAsC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAI9D,eAAO,MAAM,eAAe;;;iBAA8D,CAAC;AAC3F,MAAM,MAAM,SAAS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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAc5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import { AgentSummarySchema } from "../schemas/agents.js";
|
|
3
3
|
import { AccountUsageSchema, ProviderRefusalSchema } from "../schemas/providers/plan-limits.js";
|
|
4
4
|
import { MemberRoleSchema } from "../schemas/shared.js";
|
|
5
|
-
import {
|
|
5
|
+
import { WorkspaceTreeDeltaSchema } from "../schemas/workspace/workspace-tree.js";
|
|
6
6
|
export const IntenticLineSchema = z.looseObject({ kind: z.string() });
|
|
7
7
|
export const HeartbeatSchema = z.object({ kind: z.literal("heartbeat"), rev: z.number() });
|
|
8
8
|
export const BootStepSchema = z.object({
|
|
@@ -29,7 +29,7 @@ export const HelloSchema = z.object({
|
|
|
29
29
|
});
|
|
30
30
|
export const ReposChangedSchema = z.object({ kind: z.literal("reposChanged"), repos: z.array(z.string()) });
|
|
31
31
|
export const WorkspaceChangedSchema = z.object({ kind: z.literal("workspaceChanged"), paths: z.array(z.string()) });
|
|
32
|
-
export const DerivedChangedSchema = z.object({ kind: z.literal("derivedChanged"), paths: z.array(z.string())
|
|
32
|
+
export const DerivedChangedSchema = z.object({ kind: z.literal("derivedChanged"), paths: z.array(z.string()) });
|
|
33
33
|
export const RefsChangedSchema = z.object({ kind: z.literal("refsChanged"), repos: z.array(z.string()) });
|
|
34
34
|
export const RuntimeChangedSchema = z.object({ kind: z.literal("runtimeChanged"), domains: z.array(z.string()) });
|
|
35
35
|
export const PresenceUserSchema = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-events.js","sourceRoot":"","sources":["../../src/events/system-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"system-events.js","sourceRoot":"","sources":["../../src/events/system-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAOlF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAKtE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,MAA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MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,qBAAqB,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;AAK9J,MAAM,CAAC,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;AAKrG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC1D,WAAW;IACX,eAAe;IACf,UAAU;IACV,sBAAsB;IACtB,iBAAiB;IACjB,oBAAoB;IACpB,kBAAkB;IAClB,iBAAiB;IACjB,oBAAoB;IACpB,cAAc;IACd,YAAY;IACZ,yBAAyB;IACzB,4BAA4B;CAC/B,CAAC,CAAC"}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export type EdgeVerdict = "no-tunnel" | "unknown-sandbox" | "dropped";
|
|
2
|
+
export type NodeLink = "starting" | "up" | "restarting";
|
|
3
|
+
export type Pressure = {
|
|
4
|
+
cpu: number;
|
|
5
|
+
memory: number;
|
|
6
|
+
io: number;
|
|
7
|
+
};
|
|
8
|
+
export type SandboxVitals = {
|
|
9
|
+
node: NodeLink;
|
|
10
|
+
lagMs: number | null;
|
|
11
|
+
restarts: number;
|
|
12
|
+
uptimeS: number;
|
|
13
|
+
pressure: Pressure | null;
|
|
14
|
+
};
|
|
2
15
|
export type TerminalClientMessage = {
|
|
3
16
|
"type": "input";
|
|
4
17
|
data: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser-wire.d.ts","sourceRoot":"","sources":["../../../src/front/generated/browser-wire.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,iBAA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AE,MAAM,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAKhJ,MAAM,MAAM,qBAAqB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -5,6 +5,8 @@ export type Answer = {
|
|
|
5
5
|
"answer": "terminal";
|
|
6
6
|
plan: TerminalPlan;
|
|
7
7
|
member?: string;
|
|
8
|
+
} | {
|
|
9
|
+
"answer": "pong";
|
|
8
10
|
};
|
|
9
11
|
export type Certificate = {
|
|
10
12
|
certificate: string;
|
|
@@ -89,6 +91,8 @@ export type Question = {
|
|
|
89
91
|
} | {
|
|
90
92
|
"question": "terminal";
|
|
91
93
|
query: string;
|
|
94
|
+
} | {
|
|
95
|
+
"question": "ping";
|
|
92
96
|
};
|
|
93
97
|
export type Scheme = "http" | "https";
|
|
94
98
|
export type TerminalPlan = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../../../src/front/generated/wire.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,MAAM,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,YAAY,CAAC;CAAE,GAAG;IAAE,QAAQ,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,YAAY,CAAC;IAIhH,MAAM,CAAC,EAAE,MAAM,CAAC;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../../../src/front/generated/wire.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,MAAM,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,YAAY,CAAC;CAAE,GAAG;IAAE,QAAQ,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,YAAY,CAAC;I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AE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;CAAE,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export { issuesContract } from "./contracts/issues.contract.js";
|
|
|
26
26
|
export { logsContract } from "./contracts/logs.contract.js";
|
|
27
27
|
export { REQUEST_ID_HEADER } from "./protocol/request-id.js";
|
|
28
28
|
export * from "./protocol/edge-verdict.js";
|
|
29
|
+
export * from "./protocol/vitals.js";
|
|
29
30
|
export { loopsContract } from "./contracts/loops.contract.js";
|
|
30
31
|
export { panelsContract } from "./contracts/panels.contract.js";
|
|
31
32
|
export { portsContract } from "./contracts/ports.contract.js";
|
|
@@ -664,6 +665,7 @@ export declare const sandboxContract: {
|
|
|
664
665
|
endLine: z.ZodOptional<z.ZodNumber>;
|
|
665
666
|
selection: z.ZodOptional<z.ZodString>;
|
|
666
667
|
}, z.core.$strip>>;
|
|
668
|
+
sendAt: z.ZodOptional<z.ZodNumber>;
|
|
667
669
|
}, z.core.$strip>, z.ZodObject<{
|
|
668
670
|
delivered: z.ZodEnum<{
|
|
669
671
|
queued: "queued";
|
|
@@ -3736,8 +3738,10 @@ export declare const sandboxContract: {
|
|
|
3736
3738
|
revision: z.ZodNumber;
|
|
3737
3739
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
3738
3740
|
refused: "refused";
|
|
3741
|
+
scheduled: "scheduled";
|
|
3739
3742
|
stopped: "stopped";
|
|
3740
3743
|
}>>;
|
|
3744
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
3741
3745
|
}, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
3742
3746
|
queueRemove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3743
3747
|
conversationId: z.ZodString;
|
|
@@ -3759,8 +3763,10 @@ export declare const sandboxContract: {
|
|
|
3759
3763
|
revision: z.ZodNumber;
|
|
3760
3764
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
3761
3765
|
refused: "refused";
|
|
3766
|
+
scheduled: "scheduled";
|
|
3762
3767
|
stopped: "stopped";
|
|
3763
3768
|
}>>;
|
|
3769
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
3764
3770
|
}, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
3765
3771
|
queueResume: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3766
3772
|
conversationId: z.ZodString;
|
|
@@ -3792,8 +3798,10 @@ export declare const sandboxContract: {
|
|
|
3792
3798
|
revision: z.ZodNumber;
|
|
3793
3799
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
3794
3800
|
refused: "refused";
|
|
3801
|
+
scheduled: "scheduled";
|
|
3795
3802
|
stopped: "stopped";
|
|
3796
3803
|
}>>;
|
|
3804
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
3797
3805
|
}, z.core.$strip>>;
|
|
3798
3806
|
}, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
3799
3807
|
resume: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -4051,8 +4059,10 @@ export declare const sandboxContract: {
|
|
|
4051
4059
|
revision: z.ZodNumber;
|
|
4052
4060
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
4053
4061
|
refused: "refused";
|
|
4062
|
+
scheduled: "scheduled";
|
|
4054
4063
|
stopped: "stopped";
|
|
4055
4064
|
}>>;
|
|
4065
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
4056
4066
|
}, z.core.$strip>>;
|
|
4057
4067
|
updatedAt: z.ZodNumber;
|
|
4058
4068
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4383,8 +4393,10 @@ export declare const sandboxContract: {
|
|
|
4383
4393
|
revision: z.ZodNumber;
|
|
4384
4394
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
4385
4395
|
refused: "refused";
|
|
4396
|
+
scheduled: "scheduled";
|
|
4386
4397
|
stopped: "stopped";
|
|
4387
4398
|
}>>;
|
|
4399
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
4388
4400
|
}, z.core.$strip>>;
|
|
4389
4401
|
updatedAt: z.ZodNumber;
|
|
4390
4402
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4733,8 +4745,10 @@ export declare const sandboxContract: {
|
|
|
4733
4745
|
revision: z.ZodNumber;
|
|
4734
4746
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
4735
4747
|
refused: "refused";
|
|
4748
|
+
scheduled: "scheduled";
|
|
4736
4749
|
stopped: "stopped";
|
|
4737
4750
|
}>>;
|
|
4751
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
4738
4752
|
}, z.core.$strip>>;
|
|
4739
4753
|
updatedAt: z.ZodNumber;
|
|
4740
4754
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5943,8 +5957,10 @@ export declare const sandboxContract: {
|
|
|
5943
5957
|
revision: z.ZodNumber;
|
|
5944
5958
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
5945
5959
|
refused: "refused";
|
|
5960
|
+
scheduled: "scheduled";
|
|
5946
5961
|
stopped: "stopped";
|
|
5947
5962
|
}>>;
|
|
5963
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
5948
5964
|
}, z.core.$strip>>;
|
|
5949
5965
|
updatedAt: z.ZodNumber;
|
|
5950
5966
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6257,8 +6273,10 @@ export declare const sandboxContract: {
|
|
|
6257
6273
|
revision: z.ZodNumber;
|
|
6258
6274
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
6259
6275
|
refused: "refused";
|
|
6276
|
+
scheduled: "scheduled";
|
|
6260
6277
|
stopped: "stopped";
|
|
6261
6278
|
}>>;
|
|
6279
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
6262
6280
|
}, z.core.$strip>>;
|
|
6263
6281
|
updatedAt: z.ZodNumber;
|
|
6264
6282
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6581,8 +6599,10 @@ export declare const sandboxContract: {
|
|
|
6581
6599
|
revision: z.ZodNumber;
|
|
6582
6600
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
6583
6601
|
refused: "refused";
|
|
6602
|
+
scheduled: "scheduled";
|
|
6584
6603
|
stopped: "stopped";
|
|
6585
6604
|
}>>;
|
|
6605
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
6586
6606
|
}, z.core.$strip>>;
|
|
6587
6607
|
updatedAt: z.ZodNumber;
|
|
6588
6608
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6895,8 +6915,10 @@ export declare const sandboxContract: {
|
|
|
6895
6915
|
revision: z.ZodNumber;
|
|
6896
6916
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
6897
6917
|
refused: "refused";
|
|
6918
|
+
scheduled: "scheduled";
|
|
6898
6919
|
stopped: "stopped";
|
|
6899
6920
|
}>>;
|
|
6921
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
6900
6922
|
}, z.core.$strip>>;
|
|
6901
6923
|
updatedAt: z.ZodNumber;
|
|
6902
6924
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7208,8 +7230,10 @@ export declare const sandboxContract: {
|
|
|
7208
7230
|
revision: z.ZodNumber;
|
|
7209
7231
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
7210
7232
|
refused: "refused";
|
|
7233
|
+
scheduled: "scheduled";
|
|
7211
7234
|
stopped: "stopped";
|
|
7212
7235
|
}>>;
|
|
7236
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
7213
7237
|
}, z.core.$strip>>;
|
|
7214
7238
|
updatedAt: z.ZodNumber;
|
|
7215
7239
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7522,8 +7546,10 @@ export declare const sandboxContract: {
|
|
|
7522
7546
|
revision: z.ZodNumber;
|
|
7523
7547
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
7524
7548
|
refused: "refused";
|
|
7549
|
+
scheduled: "scheduled";
|
|
7525
7550
|
stopped: "stopped";
|
|
7526
7551
|
}>>;
|
|
7552
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
7527
7553
|
}, z.core.$strip>>;
|
|
7528
7554
|
updatedAt: z.ZodNumber;
|
|
7529
7555
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7836,8 +7862,10 @@ export declare const sandboxContract: {
|
|
|
7836
7862
|
revision: z.ZodNumber;
|
|
7837
7863
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
7838
7864
|
refused: "refused";
|
|
7865
|
+
scheduled: "scheduled";
|
|
7839
7866
|
stopped: "stopped";
|
|
7840
7867
|
}>>;
|
|
7868
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
7841
7869
|
}, z.core.$strip>>;
|
|
7842
7870
|
updatedAt: z.ZodNumber;
|
|
7843
7871
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8150,8 +8178,10 @@ export declare const sandboxContract: {
|
|
|
8150
8178
|
revision: z.ZodNumber;
|
|
8151
8179
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
8152
8180
|
refused: "refused";
|
|
8181
|
+
scheduled: "scheduled";
|
|
8153
8182
|
stopped: "stopped";
|
|
8154
8183
|
}>>;
|
|
8184
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
8155
8185
|
}, z.core.$strip>>;
|
|
8156
8186
|
updatedAt: z.ZodNumber;
|
|
8157
8187
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8462,8 +8492,10 @@ export declare const sandboxContract: {
|
|
|
8462
8492
|
revision: z.ZodNumber;
|
|
8463
8493
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
8464
8494
|
refused: "refused";
|
|
8495
|
+
scheduled: "scheduled";
|
|
8465
8496
|
stopped: "stopped";
|
|
8466
8497
|
}>>;
|
|
8498
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
8467
8499
|
}, z.core.$strip>>;
|
|
8468
8500
|
updatedAt: z.ZodNumber;
|
|
8469
8501
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8980,8 +9012,10 @@ export declare const sandboxContract: {
|
|
|
8980
9012
|
revision: z.ZodNumber;
|
|
8981
9013
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
8982
9014
|
refused: "refused";
|
|
9015
|
+
scheduled: "scheduled";
|
|
8983
9016
|
stopped: "stopped";
|
|
8984
9017
|
}>>;
|
|
9018
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
8985
9019
|
}, z.core.$strip>>;
|
|
8986
9020
|
updatedAt: z.ZodNumber;
|
|
8987
9021
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9294,8 +9328,10 @@ export declare const sandboxContract: {
|
|
|
9294
9328
|
revision: z.ZodNumber;
|
|
9295
9329
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
9296
9330
|
refused: "refused";
|
|
9331
|
+
scheduled: "scheduled";
|
|
9297
9332
|
stopped: "stopped";
|
|
9298
9333
|
}>>;
|
|
9334
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
9299
9335
|
}, z.core.$strip>>;
|
|
9300
9336
|
updatedAt: z.ZodNumber;
|
|
9301
9337
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9609,8 +9645,10 @@ export declare const sandboxContract: {
|
|
|
9609
9645
|
revision: z.ZodNumber;
|
|
9610
9646
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
9611
9647
|
refused: "refused";
|
|
9648
|
+
scheduled: "scheduled";
|
|
9612
9649
|
stopped: "stopped";
|
|
9613
9650
|
}>>;
|
|
9651
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
9614
9652
|
}, z.core.$strip>>;
|
|
9615
9653
|
updatedAt: z.ZodNumber;
|
|
9616
9654
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9928,8 +9966,10 @@ export declare const sandboxContract: {
|
|
|
9928
9966
|
revision: z.ZodNumber;
|
|
9929
9967
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
9930
9968
|
refused: "refused";
|
|
9969
|
+
scheduled: "scheduled";
|
|
9931
9970
|
stopped: "stopped";
|
|
9932
9971
|
}>>;
|
|
9972
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
9933
9973
|
}, z.core.$strip>>;
|
|
9934
9974
|
updatedAt: z.ZodNumber;
|
|
9935
9975
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10248,8 +10288,10 @@ export declare const sandboxContract: {
|
|
|
10248
10288
|
revision: z.ZodNumber;
|
|
10249
10289
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
10250
10290
|
refused: "refused";
|
|
10291
|
+
scheduled: "scheduled";
|
|
10251
10292
|
stopped: "stopped";
|
|
10252
10293
|
}>>;
|
|
10294
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
10253
10295
|
}, z.core.$strip>>;
|
|
10254
10296
|
updatedAt: z.ZodNumber;
|
|
10255
10297
|
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13956,7 +13998,6 @@ export declare const sandboxContract: {
|
|
|
13956
13998
|
fieldNotes: z.ZodDefault<z.ZodBoolean>;
|
|
13957
13999
|
fieldNotesBudget: z.ZodDefault<z.ZodNumber>;
|
|
13958
14000
|
fieldNotesHoldout: z.ZodDefault<z.ZodNumber>;
|
|
13959
|
-
sidecars: z.ZodDefault<z.ZodBoolean>;
|
|
13960
14001
|
outputCleaners: z.ZodDefault<z.ZodString>;
|
|
13961
14002
|
outputHoldout: z.ZodDefault<z.ZodNumber>;
|
|
13962
14003
|
modelRoles: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
@@ -14131,7 +14172,6 @@ export declare const sandboxContract: {
|
|
|
14131
14172
|
fieldNotes: z.ZodDefault<z.ZodBoolean>;
|
|
14132
14173
|
fieldNotesBudget: z.ZodDefault<z.ZodNumber>;
|
|
14133
14174
|
fieldNotesHoldout: z.ZodDefault<z.ZodNumber>;
|
|
14134
|
-
sidecars: z.ZodDefault<z.ZodBoolean>;
|
|
14135
14175
|
outputCleaners: z.ZodDefault<z.ZodString>;
|
|
14136
14176
|
outputHoldout: z.ZodDefault<z.ZodNumber>;
|
|
14137
14177
|
modelRoles: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
@@ -15487,19 +15527,8 @@ export declare const sandboxContract: {
|
|
|
15487
15527
|
broken: "broken";
|
|
15488
15528
|
deriving: "deriving";
|
|
15489
15529
|
idle: "idle";
|
|
15490
|
-
off: "off";
|
|
15491
|
-
queued: "queued";
|
|
15492
15530
|
undeliverable: "undeliverable";
|
|
15493
15531
|
}>;
|
|
15494
|
-
queue: z.ZodObject<{
|
|
15495
|
-
enabled: z.ZodBoolean;
|
|
15496
|
-
queued: z.ZodNumber;
|
|
15497
|
-
deriving: z.ZodArray<z.ZodString>;
|
|
15498
|
-
sweeping: z.ZodBoolean;
|
|
15499
|
-
broken: z.ZodBoolean;
|
|
15500
|
-
shadows: z.ZodOptional<z.ZodNumber>;
|
|
15501
|
-
sweptAt: z.ZodOptional<z.ZodString>;
|
|
15502
|
-
}, z.core.$strip>;
|
|
15503
15532
|
present: z.ZodLiteral<true>;
|
|
15504
15533
|
path: z.ZodString;
|
|
15505
15534
|
content: z.ZodString;
|
|
@@ -15515,19 +15544,8 @@ export declare const sandboxContract: {
|
|
|
15515
15544
|
broken: "broken";
|
|
15516
15545
|
deriving: "deriving";
|
|
15517
15546
|
idle: "idle";
|
|
15518
|
-
off: "off";
|
|
15519
|
-
queued: "queued";
|
|
15520
15547
|
undeliverable: "undeliverable";
|
|
15521
15548
|
}>;
|
|
15522
|
-
queue: z.ZodObject<{
|
|
15523
|
-
enabled: z.ZodBoolean;
|
|
15524
|
-
queued: z.ZodNumber;
|
|
15525
|
-
deriving: z.ZodArray<z.ZodString>;
|
|
15526
|
-
sweeping: z.ZodBoolean;
|
|
15527
|
-
broken: z.ZodBoolean;
|
|
15528
|
-
shadows: z.ZodOptional<z.ZodNumber>;
|
|
15529
|
-
sweptAt: z.ZodOptional<z.ZodString>;
|
|
15530
|
-
}, z.core.$strip>;
|
|
15531
15549
|
present: z.ZodLiteral<false>;
|
|
15532
15550
|
path: z.ZodString;
|
|
15533
15551
|
derivable: z.ZodBoolean;
|
|
@@ -15540,19 +15558,8 @@ export declare const sandboxContract: {
|
|
|
15540
15558
|
broken: "broken";
|
|
15541
15559
|
deriving: "deriving";
|
|
15542
15560
|
idle: "idle";
|
|
15543
|
-
off: "off";
|
|
15544
|
-
queued: "queued";
|
|
15545
15561
|
undeliverable: "undeliverable";
|
|
15546
15562
|
}>;
|
|
15547
|
-
queue: z.ZodObject<{
|
|
15548
|
-
enabled: z.ZodBoolean;
|
|
15549
|
-
queued: z.ZodNumber;
|
|
15550
|
-
deriving: z.ZodArray<z.ZodString>;
|
|
15551
|
-
sweeping: z.ZodBoolean;
|
|
15552
|
-
broken: z.ZodBoolean;
|
|
15553
|
-
shadows: z.ZodOptional<z.ZodNumber>;
|
|
15554
|
-
sweptAt: z.ZodOptional<z.ZodString>;
|
|
15555
|
-
}, z.core.$strip>;
|
|
15556
15563
|
present: z.ZodLiteral<true>;
|
|
15557
15564
|
path: z.ZodString;
|
|
15558
15565
|
content: z.ZodString;
|
|
@@ -15568,33 +15575,13 @@ export declare const sandboxContract: {
|
|
|
15568
15575
|
broken: "broken";
|
|
15569
15576
|
deriving: "deriving";
|
|
15570
15577
|
idle: "idle";
|
|
15571
|
-
off: "off";
|
|
15572
|
-
queued: "queued";
|
|
15573
15578
|
undeliverable: "undeliverable";
|
|
15574
15579
|
}>;
|
|
15575
|
-
queue: z.ZodObject<{
|
|
15576
|
-
enabled: z.ZodBoolean;
|
|
15577
|
-
queued: z.ZodNumber;
|
|
15578
|
-
deriving: z.ZodArray<z.ZodString>;
|
|
15579
|
-
sweeping: z.ZodBoolean;
|
|
15580
|
-
broken: z.ZodBoolean;
|
|
15581
|
-
shadows: z.ZodOptional<z.ZodNumber>;
|
|
15582
|
-
sweptAt: z.ZodOptional<z.ZodString>;
|
|
15583
|
-
}, z.core.$strip>;
|
|
15584
15580
|
present: z.ZodLiteral<false>;
|
|
15585
15581
|
path: z.ZodString;
|
|
15586
15582
|
derivable: z.ZodBoolean;
|
|
15587
15583
|
reason: z.ZodOptional<z.ZodString>;
|
|
15588
15584
|
}, z.core.$strip>], "present">, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
15589
|
-
derivedStatus: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
15590
|
-
enabled: z.ZodBoolean;
|
|
15591
|
-
queued: z.ZodNumber;
|
|
15592
|
-
deriving: z.ZodArray<z.ZodString>;
|
|
15593
|
-
sweeping: z.ZodBoolean;
|
|
15594
|
-
broken: z.ZodBoolean;
|
|
15595
|
-
shadows: z.ZodOptional<z.ZodNumber>;
|
|
15596
|
-
sweptAt: z.ZodOptional<z.ZodString>;
|
|
15597
|
-
}, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
15598
15585
|
mediaTicket: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
15599
15586
|
agent: z.ZodOptional<z.ZodString>;
|
|
15600
15587
|
path: z.ZodString;
|
|
@@ -17522,19 +17509,6 @@ export declare const sandboxContract: {
|
|
|
17522
17509
|
events: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
17523
17510
|
clientId: z.ZodOptional<z.ZodString>;
|
|
17524
17511
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
17525
|
-
kind: "heartbeat";
|
|
17526
|
-
rev: number;
|
|
17527
|
-
} | {
|
|
17528
|
-
ready: boolean;
|
|
17529
|
-
startedAt: number;
|
|
17530
|
-
steps: {
|
|
17531
|
-
key: string;
|
|
17532
|
-
label: string;
|
|
17533
|
-
state: "done" | "failed" | "pending" | "running";
|
|
17534
|
-
ms?: number | undefined;
|
|
17535
|
-
}[];
|
|
17536
|
-
kind: "boot";
|
|
17537
|
-
} | {
|
|
17538
17512
|
kind: "hello";
|
|
17539
17513
|
workspaceId: string;
|
|
17540
17514
|
routes?: string[] | undefined;
|
|
@@ -17553,23 +17527,27 @@ export declare const sandboxContract: {
|
|
|
17553
17527
|
projectDir?: string | undefined;
|
|
17554
17528
|
surface?: "folder" | "sandbox" | undefined;
|
|
17555
17529
|
} | {
|
|
17556
|
-
kind: "
|
|
17557
|
-
|
|
17530
|
+
kind: "heartbeat";
|
|
17531
|
+
rev: number;
|
|
17532
|
+
} | {
|
|
17533
|
+
ready: boolean;
|
|
17534
|
+
startedAt: number;
|
|
17535
|
+
steps: {
|
|
17536
|
+
key: string;
|
|
17537
|
+
label: string;
|
|
17538
|
+
state: "done" | "failed" | "pending" | "running";
|
|
17539
|
+
ms?: number | undefined;
|
|
17540
|
+
}[];
|
|
17541
|
+
kind: "boot";
|
|
17558
17542
|
} | {
|
|
17559
17543
|
kind: "workspaceChanged";
|
|
17560
17544
|
paths: string[];
|
|
17561
17545
|
} | {
|
|
17562
17546
|
kind: "derivedChanged";
|
|
17563
17547
|
paths: string[];
|
|
17564
|
-
|
|
17565
|
-
|
|
17566
|
-
|
|
17567
|
-
deriving: string[];
|
|
17568
|
-
sweeping: boolean;
|
|
17569
|
-
broken: boolean;
|
|
17570
|
-
shadows?: number | undefined;
|
|
17571
|
-
sweptAt?: string | undefined;
|
|
17572
|
-
};
|
|
17548
|
+
} | {
|
|
17549
|
+
kind: "reposChanged";
|
|
17550
|
+
repos: string[];
|
|
17573
17551
|
} | {
|
|
17574
17552
|
kind: "refsChanged";
|
|
17575
17553
|
repos: string[];
|
|
@@ -17715,7 +17693,8 @@ export declare const sandboxContract: {
|
|
|
17715
17693
|
revision: number;
|
|
17716
17694
|
}[];
|
|
17717
17695
|
revision: number;
|
|
17718
|
-
paused?: "refused" | "stopped" | undefined;
|
|
17696
|
+
paused?: "refused" | "scheduled" | "stopped" | undefined;
|
|
17697
|
+
until?: number | undefined;
|
|
17719
17698
|
} | undefined;
|
|
17720
17699
|
updatedAt: number;
|
|
17721
17700
|
seenAt?: number | undefined;
|
|
@@ -17860,19 +17839,6 @@ export declare const sandboxContract: {
|
|
|
17860
17839
|
barren?: string[] | undefined;
|
|
17861
17840
|
kind: "treeChanged";
|
|
17862
17841
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
17863
|
-
kind: "heartbeat";
|
|
17864
|
-
rev: number;
|
|
17865
|
-
} | {
|
|
17866
|
-
ready: boolean;
|
|
17867
|
-
startedAt: number;
|
|
17868
|
-
steps: {
|
|
17869
|
-
key: string;
|
|
17870
|
-
label: string;
|
|
17871
|
-
state: "done" | "failed" | "pending" | "running";
|
|
17872
|
-
ms?: number | undefined;
|
|
17873
|
-
}[];
|
|
17874
|
-
kind: "boot";
|
|
17875
|
-
} | {
|
|
17876
17842
|
kind: "hello";
|
|
17877
17843
|
workspaceId: string;
|
|
17878
17844
|
routes?: string[] | undefined;
|
|
@@ -17891,23 +17857,27 @@ export declare const sandboxContract: {
|
|
|
17891
17857
|
projectDir?: string | undefined;
|
|
17892
17858
|
surface?: "folder" | "sandbox" | undefined;
|
|
17893
17859
|
} | {
|
|
17894
|
-
kind: "
|
|
17895
|
-
|
|
17860
|
+
kind: "heartbeat";
|
|
17861
|
+
rev: number;
|
|
17862
|
+
} | {
|
|
17863
|
+
ready: boolean;
|
|
17864
|
+
startedAt: number;
|
|
17865
|
+
steps: {
|
|
17866
|
+
key: string;
|
|
17867
|
+
label: string;
|
|
17868
|
+
state: "done" | "failed" | "pending" | "running";
|
|
17869
|
+
ms?: number | undefined;
|
|
17870
|
+
}[];
|
|
17871
|
+
kind: "boot";
|
|
17896
17872
|
} | {
|
|
17897
17873
|
kind: "workspaceChanged";
|
|
17898
17874
|
paths: string[];
|
|
17899
17875
|
} | {
|
|
17900
17876
|
kind: "derivedChanged";
|
|
17901
17877
|
paths: string[];
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17905
|
-
deriving: string[];
|
|
17906
|
-
sweeping: boolean;
|
|
17907
|
-
broken: boolean;
|
|
17908
|
-
shadows?: number | undefined;
|
|
17909
|
-
sweptAt?: string | undefined;
|
|
17910
|
-
};
|
|
17878
|
+
} | {
|
|
17879
|
+
kind: "reposChanged";
|
|
17880
|
+
repos: string[];
|
|
17911
17881
|
} | {
|
|
17912
17882
|
kind: "refsChanged";
|
|
17913
17883
|
repos: string[];
|
|
@@ -18053,7 +18023,8 @@ export declare const sandboxContract: {
|
|
|
18053
18023
|
revision: number;
|
|
18054
18024
|
}[];
|
|
18055
18025
|
revision: number;
|
|
18056
|
-
paused?: "refused" | "stopped" | undefined;
|
|
18026
|
+
paused?: "refused" | "scheduled" | "stopped" | undefined;
|
|
18027
|
+
until?: number | undefined;
|
|
18057
18028
|
} | undefined;
|
|
18058
18029
|
updatedAt: number;
|
|
18059
18030
|
seenAt?: number | undefined;
|
|
@@ -18257,15 +18228,6 @@ export declare const sandboxContract: {
|
|
|
18257
18228
|
}, z.core.$strip>, z.ZodObject<{
|
|
18258
18229
|
kind: z.ZodLiteral<"derivedChanged">;
|
|
18259
18230
|
paths: z.ZodArray<z.ZodString>;
|
|
18260
|
-
queue: z.ZodObject<{
|
|
18261
|
-
enabled: z.ZodBoolean;
|
|
18262
|
-
queued: z.ZodNumber;
|
|
18263
|
-
deriving: z.ZodArray<z.ZodString>;
|
|
18264
|
-
sweeping: z.ZodBoolean;
|
|
18265
|
-
broken: z.ZodBoolean;
|
|
18266
|
-
shadows: z.ZodOptional<z.ZodNumber>;
|
|
18267
|
-
sweptAt: z.ZodOptional<z.ZodString>;
|
|
18268
|
-
}, z.core.$strip>;
|
|
18269
18231
|
}, z.core.$strip>, z.ZodObject<{
|
|
18270
18232
|
kind: z.ZodLiteral<"reposChanged">;
|
|
18271
18233
|
repos: z.ZodArray<z.ZodString>;
|
|
@@ -18471,8 +18433,10 @@ export declare const sandboxContract: {
|
|
|
18471
18433
|
revision: z.ZodNumber;
|
|
18472
18434
|
paused: z.ZodOptional<z.ZodEnum<{
|
|
18473
18435
|
refused: "refused";
|
|
18436
|
+
scheduled: "scheduled";
|
|
18474
18437
|
stopped: "stopped";
|
|
18475
18438
|
}>>;
|
|
18439
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
18476
18440
|
}, z.core.$strip>>;
|
|
18477
18441
|
updatedAt: z.ZodNumber;
|
|
18478
18442
|
seenAt: z.ZodOptional<z.ZodNumber>;
|