@sixb/server 0.1.25 → 0.1.26

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.
Files changed (67) hide show
  1. package/dist/auth/public-routes.d.ts.map +1 -1
  2. package/dist/auth/run-token.d.ts +28 -0
  3. package/dist/auth/run-token.d.ts.map +1 -0
  4. package/dist/auth/scope.d.ts +11 -13
  5. package/dist/auth/scope.d.ts.map +1 -1
  6. package/dist/index.js +3240 -3042
  7. package/dist/index.js.map +29 -27
  8. package/dist/registerRoutes.d.ts.map +1 -1
  9. package/dist/routes/agent-approval-gate.d.ts +7 -4
  10. package/dist/routes/agent-approval-gate.d.ts.map +1 -1
  11. package/dist/routes/agent-approvals.d.ts +4 -1
  12. package/dist/routes/agent-approvals.d.ts.map +1 -1
  13. package/dist/routes/agent-computers.d.ts +134 -0
  14. package/dist/routes/agent-computers.d.ts.map +1 -0
  15. package/dist/routes/agent-runners.d.ts +74 -0
  16. package/dist/routes/agent-runners.d.ts.map +1 -0
  17. package/dist/routes/agents.d.ts +28 -0
  18. package/dist/routes/agents.d.ts.map +1 -1
  19. package/dist/routes/artifacts.d.ts +5 -28
  20. package/dist/routes/artifacts.d.ts.map +1 -1
  21. package/dist/routes/auth.d.ts +1 -1
  22. package/dist/routes/datasets.d.ts.map +1 -1
  23. package/dist/routes/observed-agent-threads.d.ts +3 -0
  24. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  25. package/dist/routes/pipelines.d.ts.map +1 -1
  26. package/dist/routes/projections.d.ts +2 -0
  27. package/dist/routes/projections.d.ts.map +1 -1
  28. package/dist/routes/shared-access.d.ts +2 -2
  29. package/dist/routes/syncs.d.ts +34 -34
  30. package/dist/routes/syncs.d.ts.map +1 -1
  31. package/dist/routes/users.d.ts +1 -0
  32. package/dist/routes/users.d.ts.map +1 -1
  33. package/dist/routes/workflows.d.ts +4 -4
  34. package/dist/schemas/agents.d.ts +79 -1
  35. package/dist/schemas/agents.d.ts.map +1 -1
  36. package/dist/schemas/auth.d.ts +2 -2
  37. package/dist/schemas/projections.d.ts +14 -0
  38. package/dist/schemas/projections.d.ts.map +1 -1
  39. package/dist/schemas/shared-access.d.ts +2 -2
  40. package/dist/schemas/syncs.d.ts +24 -24
  41. package/dist/schemas/users.d.ts +8 -0
  42. package/dist/schemas/users.d.ts.map +1 -1
  43. package/dist/server.d.ts +1 -0
  44. package/dist/server.d.ts.map +1 -1
  45. package/package.json +5 -5
  46. package/src/auth/public-routes.ts +0 -6
  47. package/src/auth/run-token.ts +327 -0
  48. package/src/auth/scope.ts +16 -37
  49. package/src/registerRoutes.ts +4 -2
  50. package/src/routes/agent-approval-gate.ts +40 -14
  51. package/src/routes/agent-approvals.ts +1 -1
  52. package/src/routes/agent-computers.ts +126 -0
  53. package/src/routes/agent-runners.ts +181 -0
  54. package/src/routes/agents.ts +7 -2
  55. package/src/routes/artifacts.ts +55 -11
  56. package/src/routes/datasets.ts +5 -0
  57. package/src/routes/pipelines.ts +5 -0
  58. package/src/routes/syncs.ts +4 -0
  59. package/src/routes/users.ts +15 -2
  60. package/src/schemas/agents.ts +16 -1
  61. package/src/schemas/artifacts.ts +1 -1
  62. package/src/schemas/projections.ts +2 -0
  63. package/src/schemas/users.ts +6 -0
  64. package/src/server.ts +35 -13
  65. package/dist/routes/agent-api-gateway.d.ts +0 -4
  66. package/dist/routes/agent-api-gateway.d.ts.map +0 -1
  67. package/src/routes/agent-api-gateway.ts +0 -404
@@ -1 +1 @@
1
- {"version":3,"file":"registerRoutes.d.ts","sourceRoot":"","sources":["../src/registerRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAYhE,OAAO,EACL,KAAK,+BAA+B,EAErC,MAAM,oCAAoC,CAAA;AA4B3C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,oBAAoB,EAAE,+BAA+B,CAAA;IAC9D,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAA;IAC3C,wEAAwE;IACxE,QAAQ,CAAC,aAAa,EAAE,4BAA4B,CAAA;CACrD;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyC5F"}
1
+ {"version":3,"file":"registerRoutes.d.ts","sourceRoot":"","sources":["../src/registerRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAahE,OAAO,EACL,KAAK,+BAA+B,EAErC,MAAM,oCAAoC,CAAA;AA4B3C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,oBAAoB,EAAE,+BAA+B,CAAA;IAC9D,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAA;IAC3C,wEAAwE;IACxE,QAAQ,CAAC,aAAa,EAAE,4BAA4B,CAAA;CACrD;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0C5F"}
@@ -1,7 +1,7 @@
1
1
  import type { SixbHostView } from "@sixb/core";
2
2
  import { type AgentRunRecord, type WorkflowAgentNodeRunRecord } from "@sixb/core/storage";
3
- import type { AgentGatewayRunExecution, RequestAuthState } from "../auth/scope";
4
- /** What the gateway does with an Agent's call: forward it, or answer it itself. */
3
+ import type { AgentRunRequestExecution, RequestAuthState } from "../auth/scope";
4
+ /** What happens to an Agent's call: it goes on to its route, or is answered here. */
5
5
  export type AgentApiGate = {
6
6
  readonly kind: "pass";
7
7
  } | {
@@ -12,10 +12,13 @@ export interface AgentApiGateInput {
12
12
  readonly host: SixbHostView;
13
13
  readonly method: string;
14
14
  readonly upstreamPath: string;
15
- readonly body: Uint8Array | undefined;
15
+ /** Read only for a call the gate may hold, so other calls' bodies stay unread. */
16
+ readBody(): Promise<Uint8Array | undefined>;
17
+ /** The request's Content-Type: the route parses the body by it, so the gate must agree. */
18
+ readonly contentType: string | null;
16
19
  readonly run: AgentRunRecord | WorkflowAgentNodeRunRecord;
17
20
  readonly agentExecution: NonNullable<RequestAuthState["agentExecution"]>;
18
- readonly runExecution: AgentGatewayRunExecution;
21
+ readonly runExecution: AgentRunRequestExecution;
19
22
  readonly signal: AbortSignal;
20
23
  }
21
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"agent-approval-gate.d.ts","sourceRoot":"","sources":["../../src/routes/agent-approval-gate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAc9C,OAAO,EAGL,KAAK,cAAc,EAEnB,KAAK,0BAA0B,EAChC,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAK/E,mFAAmF;AACnF,MAAM,MAAM,YAAY,GACpB;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACzB;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAA;AAE5D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CA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G,IAAI,CAAA;IACnC,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,0BAA0B,CAAA;IACzD,QAAQ,CAAC,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACxE,QAAQ,CAAC,YAAY,EAAE,wBAAwB,CAAA;IAC/C,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAA;CAC7B;AAED;;;;GAIG;AACH,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC,CAetF"}
@@ -1,6 +1,6 @@
1
1
  import type { SixbHostView } from "@sixb/core";
2
2
  import type { Elysia } from "elysia";
3
- /** Approval modes and held calls. Session routes only, and never on the agent API gateway. */
3
+ /** Approval modes and held calls. Session routes only, and never open to run tokens. */
4
4
  export declare function registerAgentApprovalRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
5
5
  decorator: {};
6
6
  store: {};
@@ -140,6 +140,7 @@ export declare function registerAgentApprovalRoutes(app: Elysia, host: SixbHostV
140
140
  title?: string | undefined;
141
141
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
142
142
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
143
+ runsOn?: "computer" | undefined;
143
144
  sandboxState?: {
144
145
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
145
146
  name: string;
@@ -151,6 +152,7 @@ export declare function registerAgentApprovalRoutes(app: Elysia, host: SixbHostV
151
152
  spawnedBy: string;
152
153
  } | undefined;
153
154
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
155
+ computerId?: string | undefined;
154
156
  lastMessageAt?: string | undefined;
155
157
  };
156
158
  404: {
@@ -433,6 +435,7 @@ export declare function registerAgentApprovalRoutes(app: Elysia, host: SixbHostV
433
435
  } | undefined;
434
436
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
435
437
  parentRunId?: string | undefined;
438
+ runsOn?: "computer" | undefined;
436
439
  diagnostics?: {
437
440
  code: "step_limit_reached" | "output_limit_reached";
438
441
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"agent-approvals.d.ts","sourceRoot":"","sources":["../../src/routes/agent-approvals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,YAAY,EAAE,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA+DpC,8FAA8F;AAC9F,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuO1E"}
1
+ {"version":3,"file":"agent-approvals.d.ts","sourceRoot":"","sources":["../../src/routes/agent-approvals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,YAAY,EAAE,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA+DpC,wFAAwF;AACxF,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuO1E"}
@@ -0,0 +1,134 @@
1
+ import { type SixbHostView } from "@sixb/core";
2
+ import type { AgentRunSessionHost } from "@sixb/core/internal/agents";
3
+ import type { ConversationAgentRunRecord } from "@sixb/core/storage";
4
+ import type { Elysia } from "elysia";
5
+ /**
6
+ * Why a computer's turn is not this computer's to claim, or null when it is. A thread no computer
7
+ * runs yet is assigned the one claiming its first turn.
8
+ */
9
+ export declare function refuseOtherComputer(sessions: AgentRunSessionHost, run: ConversationAgentRunRecord, body: unknown): Promise<{
10
+ readonly status: 400 | 403;
11
+ readonly error: Record<string, string>;
12
+ } | null>;
13
+ export declare function registerAgentComputerRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
14
+ decorator: {};
15
+ store: {};
16
+ derive: {};
17
+ resolve: {};
18
+ }, {
19
+ typebox: {};
20
+ error: {};
21
+ }, {
22
+ schema: {};
23
+ standaloneSchema: {};
24
+ macro: {};
25
+ macroFn: {};
26
+ parser: {};
27
+ response: {};
28
+ }, {
29
+ api: {
30
+ "agent-threads": {
31
+ ":threadId": {
32
+ computer: {
33
+ post: {
34
+ body: {
35
+ computerId: string;
36
+ };
37
+ params: {
38
+ threadId: string;
39
+ };
40
+ query: unknown;
41
+ headers: unknown;
42
+ response: {
43
+ 200: {
44
+ status: "active" | "archived";
45
+ projectId: string;
46
+ id: string;
47
+ kind: "conversation" | "subagent";
48
+ createdAt: string;
49
+ ownerPrincipal: {
50
+ id: string;
51
+ type: "user" | "serviceAccount" | "system";
52
+ };
53
+ owner: {
54
+ id: string;
55
+ type: "user" | "serviceAccount" | "system";
56
+ displayName?: string | undefined;
57
+ };
58
+ participants: {
59
+ principal: {
60
+ id: string;
61
+ type: "user";
62
+ displayName?: string | undefined;
63
+ };
64
+ addedAt: string;
65
+ addedBy: {
66
+ id: string;
67
+ type: "user" | "serviceAccount" | "system";
68
+ };
69
+ }[];
70
+ activeRunId: string | null;
71
+ messageCount: number;
72
+ updatedAt: string;
73
+ title?: string | undefined;
74
+ approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
75
+ approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
76
+ runsOn?: "computer" | undefined;
77
+ sandboxState?: {
78
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
79
+ name: string;
80
+ initialized: boolean;
81
+ } | undefined;
82
+ parent?: {
83
+ threadId: string;
84
+ key: string;
85
+ spawnedBy: string;
86
+ } | undefined;
87
+ sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
88
+ computerId?: string | undefined;
89
+ lastMessageAt?: string | undefined;
90
+ };
91
+ 404: {
92
+ error: string;
93
+ code?: string | undefined;
94
+ };
95
+ 403: {
96
+ error: string;
97
+ code?: string | undefined;
98
+ };
99
+ 400: {
100
+ error: string;
101
+ code?: string | undefined;
102
+ };
103
+ 501: {
104
+ error: string;
105
+ };
106
+ 422: {
107
+ type: "validation";
108
+ on: string;
109
+ summary?: string;
110
+ message?: string;
111
+ found?: unknown;
112
+ property?: string;
113
+ expected?: string;
114
+ };
115
+ };
116
+ };
117
+ };
118
+ };
119
+ };
120
+ };
121
+ }, {
122
+ derive: {};
123
+ resolve: {};
124
+ schema: {};
125
+ standaloneSchema: {};
126
+ response: {};
127
+ }, {
128
+ derive: {};
129
+ resolve: {};
130
+ schema: {};
131
+ standaloneSchema: {};
132
+ response: {};
133
+ }>;
134
+ //# sourceMappingURL=agent-computers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-computers.d.ts","sourceRoot":"","sources":["../../src/routes/agent-computers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,YAAY,EAAE,MAAM,YAAY,CAAA;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAA;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAkBpC;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,mBAAmB,EAC7B,GAAG,EAAE,0BAA0B,EAC/B,IAAI,EAAE,OAAO,GACZ,OAAO,CAAC;IAAE,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,IAAI,CAAC,CAiCxF;AAED,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6D1E"}
@@ -0,0 +1,74 @@
1
+ import { type SixbHostView } from "@sixb/core";
2
+ import { type AgentRunSessionHost } from "@sixb/core/internal/agents";
3
+ import type { Elysia } from "elysia";
4
+ /** The session host the API opens a run's session against: the worker's, without the worker. */
5
+ export declare function agentRunSessionHost(host: SixbHostView): AgentRunSessionHost | null;
6
+ /**
7
+ * End the runs whose runner stopped renewing them, as the worker's repair pass does: a runner on
8
+ * a computer has no worker behind it. Several API servers may sweep at once: each run is ended
9
+ * once, by whichever takes it over. Returns the stop.
10
+ */
11
+ export declare function startLapsedRunSweeper(host: SixbHostView): () => void;
12
+ /**
13
+ * Answer a runner's session request before the API parses it: its runner token speaks only for its
14
+ * run's session, and any other route refuses it. Null for any other request.
15
+ */
16
+ export declare function agentRunSessionHandler(host: SixbHostView): (request: Request) => Promise<Response | null>;
17
+ export declare function registerAgentRunnerRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
18
+ decorator: {};
19
+ store: {};
20
+ derive: {};
21
+ resolve: {};
22
+ }, {
23
+ typebox: {};
24
+ error: {};
25
+ }, {
26
+ schema: {};
27
+ standaloneSchema: {};
28
+ macro: {};
29
+ macroFn: {};
30
+ parser: {};
31
+ response: {};
32
+ }, {
33
+ api: {
34
+ "agent-runs": {
35
+ ":runId": {
36
+ claim: {
37
+ post: {
38
+ body: unknown;
39
+ params: {
40
+ runId: string;
41
+ } & {};
42
+ query: unknown;
43
+ headers: unknown;
44
+ response: {
45
+ 200: Response;
46
+ 422: {
47
+ type: "validation";
48
+ on: string;
49
+ summary?: string;
50
+ message?: string;
51
+ found?: unknown;
52
+ property?: string;
53
+ expected?: string;
54
+ };
55
+ };
56
+ };
57
+ };
58
+ };
59
+ };
60
+ };
61
+ }, {
62
+ derive: {};
63
+ resolve: {};
64
+ schema: {};
65
+ standaloneSchema: {};
66
+ response: {};
67
+ }, {
68
+ derive: {};
69
+ resolve: {};
70
+ schema: {};
71
+ standaloneSchema: {};
72
+ response: {};
73
+ }>;
74
+ //# sourceMappingURL=agent-runners.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-runners.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runners.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,YAAY,EAAoB,MAAM,YAAY,CAAA;AACjF,OAAO,EAEL,KAAK,mBAAmB,EAWzB,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AASpC,gGAAgG;AAChG,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,YAAY,GAAG,mBAAmB,GAAG,IAAI,CAsBlF;AAOD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,IAAI,CAWpE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,YAAY,GACjB,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAkBhD;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmExE"}
@@ -283,6 +283,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
283
283
  title?: string | undefined;
284
284
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
285
285
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
286
+ runsOn?: "computer" | undefined;
286
287
  sandboxState?: {
287
288
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
288
289
  name: string;
@@ -294,6 +295,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
294
295
  spawnedBy: string;
295
296
  } | undefined;
296
297
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
298
+ computerId?: string | undefined;
297
299
  lastMessageAt?: string | undefined;
298
300
  }[];
299
301
  };
@@ -324,6 +326,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
324
326
  title?: string | undefined;
325
327
  threadId?: string | undefined;
326
328
  sandbox?: Record<string, import("../schemas/common").JsonValue> | undefined;
329
+ runsOn?: "computer" | undefined;
327
330
  };
328
331
  params: {};
329
332
  query: unknown;
@@ -363,6 +366,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
363
366
  title?: string | undefined;
364
367
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
365
368
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
369
+ runsOn?: "computer" | undefined;
366
370
  sandboxState?: {
367
371
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
368
372
  name: string;
@@ -374,6 +378,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
374
378
  spawnedBy: string;
375
379
  } | undefined;
376
380
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
381
+ computerId?: string | undefined;
377
382
  lastMessageAt?: string | undefined;
378
383
  };
379
384
  } | {
@@ -428,6 +433,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
428
433
  title?: string | undefined;
429
434
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
430
435
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
436
+ runsOn?: "computer" | undefined;
431
437
  sandboxState?: {
432
438
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
433
439
  name: string;
@@ -439,6 +445,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
439
445
  spawnedBy: string;
440
446
  } | undefined;
441
447
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
448
+ computerId?: string | undefined;
442
449
  lastMessageAt?: string | undefined;
443
450
  };
444
451
  };
@@ -500,6 +507,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
500
507
  title?: string | undefined;
501
508
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
502
509
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
510
+ runsOn?: "computer" | undefined;
503
511
  sandboxState?: {
504
512
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
505
513
  name: string;
@@ -511,6 +519,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
511
519
  spawnedBy: string;
512
520
  } | undefined;
513
521
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
522
+ computerId?: string | undefined;
514
523
  lastMessageAt?: string | undefined;
515
524
  };
516
525
  404: {
@@ -589,6 +598,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
589
598
  title?: string | undefined;
590
599
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
591
600
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
601
+ runsOn?: "computer" | undefined;
592
602
  sandboxState?: {
593
603
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
594
604
  name: string;
@@ -600,6 +610,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
600
610
  spawnedBy: string;
601
611
  } | undefined;
602
612
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
613
+ computerId?: string | undefined;
603
614
  lastMessageAt?: string | undefined;
604
615
  };
605
616
  404: {
@@ -732,6 +743,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
732
743
  title?: string | undefined;
733
744
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
734
745
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
746
+ runsOn?: "computer" | undefined;
735
747
  sandboxState?: {
736
748
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
737
749
  name: string;
@@ -743,6 +755,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
743
755
  spawnedBy: string;
744
756
  } | undefined;
745
757
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
758
+ computerId?: string | undefined;
746
759
  lastMessageAt?: string | undefined;
747
760
  };
748
761
  } | {
@@ -799,6 +812,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
799
812
  title?: string | undefined;
800
813
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
801
814
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
815
+ runsOn?: "computer" | undefined;
802
816
  sandboxState?: {
803
817
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
804
818
  name: string;
@@ -810,6 +824,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
810
824
  spawnedBy: string;
811
825
  } | undefined;
812
826
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
827
+ computerId?: string | undefined;
813
828
  lastMessageAt?: string | undefined;
814
829
  };
815
830
  };
@@ -877,6 +892,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
877
892
  title?: string | undefined;
878
893
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
879
894
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
895
+ runsOn?: "computer" | undefined;
880
896
  sandboxState?: {
881
897
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
882
898
  name: string;
@@ -888,6 +904,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
888
904
  spawnedBy: string;
889
905
  } | undefined;
890
906
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
907
+ computerId?: string | undefined;
891
908
  lastMessageAt?: string | undefined;
892
909
  };
893
910
  404: {
@@ -1307,6 +1324,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1307
1324
  } | undefined;
1308
1325
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
1309
1326
  parentRunId?: string | undefined;
1327
+ runsOn?: "computer" | undefined;
1310
1328
  diagnostics?: {
1311
1329
  code: "step_limit_reached" | "output_limit_reached";
1312
1330
  message: string;
@@ -1325,6 +1343,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1325
1343
  };
1326
1344
  403: {
1327
1345
  error: string;
1346
+ code?: string | undefined;
1328
1347
  };
1329
1348
  409: {
1330
1349
  error: string;
@@ -1397,6 +1416,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1397
1416
  } | undefined;
1398
1417
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
1399
1418
  parentRunId?: string | undefined;
1419
+ runsOn?: "computer" | undefined;
1400
1420
  diagnostics?: {
1401
1421
  code: "step_limit_reached" | "output_limit_reached";
1402
1422
  message: string;
@@ -1490,6 +1510,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1490
1510
  } | undefined;
1491
1511
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
1492
1512
  parentRunId?: string | undefined;
1513
+ runsOn?: "computer" | undefined;
1493
1514
  diagnostics?: {
1494
1515
  code: "step_limit_reached" | "output_limit_reached";
1495
1516
  message: string;
@@ -1576,6 +1597,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1576
1597
  } | undefined;
1577
1598
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
1578
1599
  parentRunId?: string | undefined;
1600
+ runsOn?: "computer" | undefined;
1579
1601
  diagnostics?: {
1580
1602
  code: "step_limit_reached" | "output_limit_reached";
1581
1603
  message: string;
@@ -1670,6 +1692,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1670
1692
  } | undefined;
1671
1693
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
1672
1694
  parentRunId?: string | undefined;
1695
+ runsOn?: "computer" | undefined;
1673
1696
  diagnostics?: {
1674
1697
  code: "step_limit_reached" | "output_limit_reached";
1675
1698
  message: string;
@@ -1761,6 +1784,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1761
1784
  } | undefined;
1762
1785
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
1763
1786
  parentRunId?: string | undefined;
1787
+ runsOn?: "computer" | undefined;
1764
1788
  diagnostics?: {
1765
1789
  code: "step_limit_reached" | "output_limit_reached";
1766
1790
  message: string;
@@ -1859,6 +1883,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1859
1883
  } | undefined;
1860
1884
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
1861
1885
  parentRunId?: string | undefined;
1886
+ runsOn?: "computer" | undefined;
1862
1887
  diagnostics?: {
1863
1888
  code: "step_limit_reached" | "output_limit_reached";
1864
1889
  message: string;
@@ -1959,6 +1984,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1959
1984
  } | undefined;
1960
1985
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
1961
1986
  parentRunId?: string | undefined;
1987
+ runsOn?: "computer" | undefined;
1962
1988
  diagnostics?: {
1963
1989
  code: "step_limit_reached" | "output_limit_reached";
1964
1990
  message: string;
@@ -2057,6 +2083,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
2057
2083
  } | undefined;
2058
2084
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
2059
2085
  parentRunId?: string | undefined;
2086
+ runsOn?: "computer" | undefined;
2060
2087
  diagnostics?: {
2061
2088
  code: "step_limit_reached" | "output_limit_reached";
2062
2089
  message: string;
@@ -2143,6 +2170,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
2143
2170
  } | undefined;
2144
2171
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
2145
2172
  parentRunId?: string | undefined;
2173
+ runsOn?: "computer" | undefined;
2146
2174
  diagnostics?: {
2147
2175
  code: "step_limit_reached" | "output_limit_reached";
2148
2176
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,eAAe,EAEpB,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAInB,OAAO,EAIL,KAAK,YAAY,EAEjB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAY,CAAC,EAAE,MAAM,KAAK,CAAA;AAUjC,OAAO,EAML,wBAAwB,EAKxB,cAAc,EAKd,iBAAiB,EAQlB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EACL,gBAAgB,EAIjB,MAAM,eAAe,CAAA;AAYtB,6FAA6F;AAC7F,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,SAAS,eAAe,EAAE,GAClC,OAAO,CAAC,UAAU,CAAC,OAAO,iBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDA7DlE,MAAM;uDAAiB,qBAAqB;;+CA6DgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDA7DlE,MAAM;+CAAiB,qBAAqB;;uCA6DgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAu0BvF"}
@@ -202,9 +202,8 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
202
202
  latestVersion: number;
203
203
  };
204
204
  } | {
205
- latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
206
205
  error: string;
207
- code: import("@sixb/core").ArtifactRequestErrorCode;
206
+ code: string;
208
207
  };
209
208
  404: {
210
209
  error: string;
@@ -947,9 +946,8 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
947
946
  latestVersion: number;
948
947
  };
949
948
  } | {
950
- latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
951
949
  error: string;
952
- code: import("@sixb/core").ArtifactRequestErrorCode;
950
+ code: string;
953
951
  };
954
952
  404: {
955
953
  error: string;
@@ -1361,14 +1359,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
1361
1359
  issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
1362
1360
  } | {
1363
1361
  error: string;
1364
- code: "artifact_not_found";
1365
- } | {
1366
- error: string;
1367
- code: "not_shared";
1368
- } | {
1369
- latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
1370
- error: string;
1371
- code: import("@sixb/core").ArtifactRequestErrorCode;
1362
+ code: string;
1372
1363
  } | import("@sixb/core/internal/artifacts/frames").SerializedArtifactQueryResult;
1373
1364
  422: {
1374
1365
  type: "validation";
@@ -1414,14 +1405,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
1414
1405
  details?: import("@sixb/core").ReadonlyJsonValue;
1415
1406
  } | {
1416
1407
  error: string;
1417
- code: "artifact_not_found";
1418
- } | {
1419
- error: string;
1420
- code: "not_shared";
1421
- } | {
1422
- latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
1423
- error: string;
1424
- code: import("@sixb/core").ArtifactRequestErrorCode;
1408
+ code: string;
1425
1409
  };
1426
1410
  422: {
1427
1411
  type: "validation";
@@ -1466,14 +1450,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
1466
1450
  details?: import("@sixb/core").ReadonlyJsonValue;
1467
1451
  } | {
1468
1452
  error: string;
1469
- code: "artifact_not_found";
1470
- } | {
1471
- error: string;
1472
- code: "not_shared";
1473
- } | {
1474
- latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
1475
- error: string;
1476
- code: import("@sixb/core").ArtifactRequestErrorCode;
1453
+ code: string;
1477
1454
  };
1478
1455
  422: {
1479
1456
  type: "validation";
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../src/routes/artifacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAKnB,OAAO,KAAK,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkerE"}
@@ -208,8 +208,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
208
208
  device: {
209
209
  post: {
210
210
  body: {
211
- csrfToken: string;
212
211
  decision: "deny" | "approve";
212
+ csrfToken: string;
213
213
  userCode: string;
214
214
  };
215
215
  params: {};