@sixb/server 0.2.1 → 0.2.3

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 (153) hide show
  1. package/README.md +3 -3
  2. package/dist/artifacts/frame.d.ts.map +1 -1
  3. package/dist/auth/scope.d.ts +3 -0
  4. package/dist/auth/scope.d.ts.map +1 -1
  5. package/dist/auth/shared-access.d.ts +23 -0
  6. package/dist/auth/shared-access.d.ts.map +1 -1
  7. package/dist/connectors/http.d.ts +6 -1
  8. package/dist/connectors/http.d.ts.map +1 -1
  9. package/dist/index.js +2876 -667
  10. package/dist/index.js.map +43 -36
  11. package/dist/live/awareness.d.ts +48 -0
  12. package/dist/live/awareness.d.ts.map +1 -0
  13. package/dist/live/room.d.ts +198 -0
  14. package/dist/live/room.d.ts.map +1 -0
  15. package/dist/live/rooms.d.ts +67 -0
  16. package/dist/live/rooms.d.ts.map +1 -0
  17. package/dist/registerRoutes.d.ts.map +1 -1
  18. package/dist/routes/actions.d.ts +3 -3
  19. package/dist/routes/agent-approvals.d.ts +21 -11
  20. package/dist/routes/agent-approvals.d.ts.map +1 -1
  21. package/dist/routes/agent-children.d.ts +4 -4
  22. package/dist/routes/agent-computers.d.ts +146 -1
  23. package/dist/routes/agent-computers.d.ts.map +1 -1
  24. package/dist/routes/agent-runners.d.ts.map +1 -1
  25. package/dist/routes/agents.d.ts +152 -60
  26. package/dist/routes/agents.d.ts.map +1 -1
  27. package/dist/routes/artifact-frames.d.ts +2 -1
  28. package/dist/routes/artifact-frames.d.ts.map +1 -1
  29. package/dist/routes/artifacts.d.ts +1713 -178
  30. package/dist/routes/artifacts.d.ts.map +1 -1
  31. package/dist/routes/auth.d.ts +21 -21
  32. package/dist/routes/connector-connection-runs.d.ts +124 -5
  33. package/dist/routes/connector-connection-runs.d.ts.map +1 -1
  34. package/dist/routes/connector-connections.d.ts +9 -1
  35. package/dist/routes/connector-connections.d.ts.map +1 -1
  36. package/dist/routes/datasets.d.ts +5 -5
  37. package/dist/routes/events.d.ts +4 -4
  38. package/dist/routes/lake.d.ts +91 -0
  39. package/dist/routes/lake.d.ts.map +1 -0
  40. package/dist/routes/links.d.ts +6 -6
  41. package/dist/routes/logs.d.ts +2 -2
  42. package/dist/routes/model-generations.d.ts +2 -2
  43. package/dist/routes/objects.d.ts +6 -6
  44. package/dist/routes/objects.d.ts.map +1 -1
  45. package/dist/routes/observed-agent-threads.d.ts +21 -11
  46. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  47. package/dist/routes/ontology.d.ts +6 -6
  48. package/dist/routes/pipelines.d.ts +13 -9
  49. package/dist/routes/pipelines.d.ts.map +1 -1
  50. package/dist/routes/projections.d.ts +27 -27
  51. package/dist/routes/share-grants.d.ts +9 -9
  52. package/dist/routes/shared-access.d.ts +57 -2
  53. package/dist/routes/shared-access.d.ts.map +1 -1
  54. package/dist/routes/status.d.ts +11 -15
  55. package/dist/routes/status.d.ts.map +1 -1
  56. package/dist/routes/syncs.d.ts +9 -6
  57. package/dist/routes/syncs.d.ts.map +1 -1
  58. package/dist/routes/telemetry.d.ts +7 -7
  59. package/dist/routes/webhooks.d.ts.map +1 -1
  60. package/dist/routes/workflows.d.ts +14 -14
  61. package/dist/routes/ws/artifacts.d.ts +57 -0
  62. package/dist/routes/ws/artifacts.d.ts.map +1 -0
  63. package/dist/routes/ws/events.d.ts +8 -7
  64. package/dist/routes/ws/events.d.ts.map +1 -1
  65. package/dist/routes/ws/index.d.ts +2 -1
  66. package/dist/routes/ws/index.d.ts.map +1 -1
  67. package/dist/routes/ws/logs.d.ts +10 -10
  68. package/dist/routes/ws/shared-sockets.d.ts +52 -0
  69. package/dist/routes/ws/shared-sockets.d.ts.map +1 -0
  70. package/dist/schemas/actions.d.ts +7 -7
  71. package/dist/schemas/activity.d.ts +16 -16
  72. package/dist/schemas/agent-approvals.d.ts +27 -27
  73. package/dist/schemas/agents.d.ts +642 -196
  74. package/dist/schemas/agents.d.ts.map +1 -1
  75. package/dist/schemas/ai-accounting.d.ts +41 -41
  76. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  77. package/dist/schemas/artifacts.d.ts +2106 -127
  78. package/dist/schemas/artifacts.d.ts.map +1 -1
  79. package/dist/schemas/auth.d.ts +63 -63
  80. package/dist/schemas/connectors.d.ts +180 -20
  81. package/dist/schemas/connectors.d.ts.map +1 -1
  82. package/dist/schemas/datasets.d.ts +44 -44
  83. package/dist/schemas/event-payloads.d.ts +2 -2
  84. package/dist/schemas/events.d.ts +26 -26
  85. package/dist/schemas/events.d.ts.map +1 -1
  86. package/dist/schemas/files.d.ts +12 -0
  87. package/dist/schemas/files.d.ts.map +1 -1
  88. package/dist/schemas/lake.d.ts +251 -0
  89. package/dist/schemas/lake.d.ts.map +1 -0
  90. package/dist/schemas/lineage.d.ts +56 -56
  91. package/dist/schemas/logs.d.ts +18 -18
  92. package/dist/schemas/models.d.ts +4 -4
  93. package/dist/schemas/objects.d.ts.map +1 -1
  94. package/dist/schemas/ontology.d.ts +14 -14
  95. package/dist/schemas/pipelines.d.ts +86 -64
  96. package/dist/schemas/pipelines.d.ts.map +1 -1
  97. package/dist/schemas/projections.d.ts +160 -160
  98. package/dist/schemas/projections.d.ts.map +1 -1
  99. package/dist/schemas/share-grants.d.ts +30 -30
  100. package/dist/schemas/shared-access.d.ts +17 -4
  101. package/dist/schemas/shared-access.d.ts.map +1 -1
  102. package/dist/schemas/status.d.ts +59 -79
  103. package/dist/schemas/status.d.ts.map +1 -1
  104. package/dist/schemas/syncs.d.ts +38 -22
  105. package/dist/schemas/syncs.d.ts.map +1 -1
  106. package/dist/schemas/telemetry.d.ts +26 -26
  107. package/dist/schemas/workflows.d.ts +71 -71
  108. package/dist/server.d.ts +13 -0
  109. package/dist/server.d.ts.map +1 -1
  110. package/dist/utils/ws.d.ts +3 -0
  111. package/dist/utils/ws.d.ts.map +1 -1
  112. package/package.json +11 -7
  113. package/src/artifacts/frame.ts +4 -13
  114. package/src/auth/scope.ts +10 -1
  115. package/src/auth/shared-access.ts +108 -12
  116. package/src/connectors/http.ts +35 -1
  117. package/src/live/README.md +136 -0
  118. package/src/live/awareness.ts +141 -0
  119. package/src/live/room.ts +933 -0
  120. package/src/live/rooms.ts +288 -0
  121. package/src/registerRoutes.ts +2 -0
  122. package/src/routes/agent-computers.ts +208 -14
  123. package/src/routes/agent-runners.ts +1 -0
  124. package/src/routes/agents.ts +52 -7
  125. package/src/routes/artifact-frames.ts +40 -12
  126. package/src/routes/artifacts.ts +713 -28
  127. package/src/routes/connector-connection-runs.ts +7 -12
  128. package/src/routes/connector-connections.ts +10 -7
  129. package/src/routes/lake.ts +73 -0
  130. package/src/routes/objects.ts +3 -9
  131. package/src/routes/pipelines.ts +1 -0
  132. package/src/routes/shared-access.ts +53 -1
  133. package/src/routes/status.ts +9 -4
  134. package/src/routes/syncs.ts +1 -0
  135. package/src/routes/webhooks.ts +44 -3
  136. package/src/routes/ws/artifacts.ts +138 -0
  137. package/src/routes/ws/events.ts +7 -2
  138. package/src/routes/ws/index.ts +13 -2
  139. package/src/routes/ws/shared-sockets.ts +152 -0
  140. package/src/schemas/agents.ts +71 -1
  141. package/src/schemas/ai-accounting.ts +1 -0
  142. package/src/schemas/artifacts.ts +255 -18
  143. package/src/schemas/connectors.ts +17 -2
  144. package/src/schemas/files.ts +12 -0
  145. package/src/schemas/lake.ts +53 -0
  146. package/src/schemas/objects.ts +1 -0
  147. package/src/schemas/pipelines.ts +2 -0
  148. package/src/schemas/projections.ts +2 -2
  149. package/src/schemas/shared-access.ts +16 -0
  150. package/src/schemas/status.ts +16 -22
  151. package/src/schemas/syncs.ts +2 -0
  152. package/src/server.ts +35 -4
  153. package/src/utils/ws.ts +7 -0
@@ -1 +1 @@
1
- {"version":3,"file":"connector-connections.d.ts","sourceRoot":"","sources":["../../src/routes/connector-connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAuBpC,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8GhF"}
1
+ {"version":3,"file":"connector-connections.d.ts","sourceRoot":"","sources":["../../src/routes/connector-connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyBpC,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+GhF"}
@@ -29,8 +29,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
29
29
  kind: "dataset";
30
30
  schema: {
31
31
  columns: {
32
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
33
32
  name: string;
33
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
34
34
  nullable?: boolean | undefined;
35
35
  }[];
36
36
  };
@@ -84,8 +84,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
84
84
  kind: "dataset";
85
85
  schema: {
86
86
  columns: {
87
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
88
87
  name: string;
88
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
89
89
  nullable?: boolean | undefined;
90
90
  }[];
91
91
  };
@@ -148,8 +148,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
148
148
  mode: "append" | "schema" | "merge" | "snapshot";
149
149
  schema: {
150
150
  columns: {
151
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
152
151
  name: string;
152
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
153
153
  nullable?: boolean | undefined;
154
154
  }[];
155
155
  };
@@ -212,8 +212,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
212
212
  mode: "append" | "schema" | "merge" | "snapshot";
213
213
  schema: {
214
214
  columns: {
215
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
216
215
  name: string;
216
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
217
217
  nullable?: boolean | undefined;
218
218
  }[];
219
219
  };
@@ -354,8 +354,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
354
354
  mode: "append" | "schema" | "merge" | "snapshot";
355
355
  schema: {
356
356
  columns: {
357
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
358
357
  name: string;
358
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
359
359
  nullable?: boolean | undefined;
360
360
  }[];
361
361
  };
@@ -22,9 +22,9 @@ export declare function registerEventRoutes(app: Elysia, _host: SixbHostView): E
22
22
  body: unknown;
23
23
  params: {};
24
24
  query: {
25
- type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | undefined;
25
+ type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented" | undefined;
26
26
  limit?: string | undefined;
27
- topic?: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links" | undefined;
27
+ topic?: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "artifacts" | "schedules" | "users" | "telemetry" | "links" | undefined;
28
28
  afterCursor?: string | undefined;
29
29
  };
30
30
  headers: unknown;
@@ -36,12 +36,12 @@ export declare function registerEventRoutes(app: Elysia, _host: SixbHostView): E
36
36
  } | {
37
37
  projectId: string;
38
38
  id: string;
39
- type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated";
39
+ type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented";
40
40
  occurredAt: string;
41
41
  cursor: string;
42
42
  schemaVersion: 1;
43
43
  payload: Record<string, unknown>;
44
- topic: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links";
44
+ topic: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "artifacts" | "schedules" | "users" | "telemetry" | "links";
45
45
  partitionKey: string;
46
46
  origin?: {
47
47
  kind: "projection";
@@ -0,0 +1,91 @@
1
+ import type { SixbHostView } from "@sixb/core";
2
+ import type { Elysia } from "elysia";
3
+ export declare function registerLakeRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
4
+ decorator: {};
5
+ store: {};
6
+ derive: {};
7
+ resolve: {};
8
+ }, {
9
+ typebox: {};
10
+ error: {};
11
+ }, {
12
+ schema: {};
13
+ standaloneSchema: {};
14
+ macro: {};
15
+ macroFn: {};
16
+ parser: {};
17
+ response: {};
18
+ }, {
19
+ api: {
20
+ lake: {
21
+ health: {
22
+ get: {
23
+ body: unknown;
24
+ params: {};
25
+ query: unknown;
26
+ headers: unknown;
27
+ response: {
28
+ 200: {
29
+ datasets: {
30
+ warnings: {
31
+ code: "partitioned-small-dataset";
32
+ message: string;
33
+ }[];
34
+ datasetId: string;
35
+ partitionBy: string[];
36
+ ingest: {
37
+ pendingDeliveries: number;
38
+ pendingChanges: number;
39
+ oldestReceivedAt: string | null;
40
+ rejectedDeliveries: number;
41
+ } | null;
42
+ rowCount: number;
43
+ materialized: boolean;
44
+ dataFiles: number;
45
+ smallDataFiles: number;
46
+ dataBytes: number;
47
+ deleteFiles: number;
48
+ inlinedRows: number;
49
+ retainedSnapshots: number;
50
+ }[];
51
+ available: boolean;
52
+ cleanup: {
53
+ state: "ok" | "off" | "idle" | "not-requested" | "no-worker" | "failing" | "cleaning";
54
+ lastRequestedAt: string | null;
55
+ lastRunAt: string | null;
56
+ keepVersionsFor: string;
57
+ deleteFilesAfter: string;
58
+ cleanupEvery: string;
59
+ };
60
+ };
61
+ 400: {
62
+ error: string;
63
+ };
64
+ 422: {
65
+ type: "validation";
66
+ on: string;
67
+ summary?: string;
68
+ message?: string;
69
+ found?: unknown;
70
+ property?: string;
71
+ expected?: string;
72
+ };
73
+ };
74
+ };
75
+ };
76
+ };
77
+ };
78
+ }, {
79
+ derive: {};
80
+ resolve: {};
81
+ schema: {};
82
+ standaloneSchema: {};
83
+ response: {};
84
+ }, {
85
+ derive: {};
86
+ resolve: {};
87
+ schema: {};
88
+ standaloneSchema: {};
89
+ response: {};
90
+ }>;
91
+ //# sourceMappingURL=lake.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lake.d.ts","sourceRoot":"","sources":["../../src/routes/lake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAG9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAQpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDjE"}
@@ -67,12 +67,16 @@ export declare function registerLinkRoutes(app: Elysia, _host: SixbHostView): El
67
67
  kind: "edit";
68
68
  commitId: string | null;
69
69
  committedAt: string;
70
+ action?: {
71
+ actionId: string;
72
+ runId: string;
73
+ } | undefined;
70
74
  executor?: {
71
75
  type: "request";
72
76
  requestId: string;
73
77
  } | {
74
78
  id: string;
75
- kind: "workflow" | "action" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
79
+ kind: "action" | "workflow" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
76
80
  type: "primitive";
77
81
  runId: string;
78
82
  } | {
@@ -92,10 +96,6 @@ export declare function registerLinkRoutes(app: Elysia, _host: SixbHostView): El
92
96
  id: string;
93
97
  type: "user" | "serviceAccount";
94
98
  } | undefined;
95
- action?: {
96
- actionId: string;
97
- runId: string;
98
- } | undefined;
99
99
  } | {
100
100
  kind: "telemetry";
101
101
  commitId: string;
@@ -105,7 +105,7 @@ export declare function registerLinkRoutes(app: Elysia, _host: SixbHostView): El
105
105
  requestId: string;
106
106
  } | {
107
107
  id: string;
108
- kind: "workflow" | "action" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
108
+ kind: "action" | "workflow" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
109
109
  type: "primitive";
110
110
  runId: string;
111
111
  } | {
@@ -22,7 +22,7 @@ export declare function registerLogRoutes(app: Elysia, _host: SixbHostView): Ely
22
22
  body: unknown;
23
23
  params: {};
24
24
  query: {
25
- kind?: "workflow" | "agent" | "action" | "sync" | "pipeline" | "projection" | "webhook" | undefined;
25
+ kind?: "action" | "workflow" | "agent" | "sync" | "pipeline" | "projection" | "webhook" | undefined;
26
26
  runId?: string | undefined;
27
27
  limit?: number | undefined;
28
28
  afterCursor?: string | undefined;
@@ -40,7 +40,7 @@ export declare function registerLogRoutes(app: Elysia, _host: SixbHostView): Ely
40
40
  context: {
41
41
  run: {
42
42
  id: string;
43
- kind: "workflow" | "agent" | "action" | "sync" | "pipeline" | "projection" | "webhook";
43
+ kind: "action" | "workflow" | "agent" | "sync" | "pipeline" | "projection" | "webhook";
44
44
  };
45
45
  phase?: string | undefined;
46
46
  attempt?: number | undefined;
@@ -43,11 +43,11 @@ export declare function registerModelGenerationRoutes(app: Elysia, host: SixbHos
43
43
  headers: unknown;
44
44
  response: {
45
45
  200: {
46
- text: string;
47
46
  model: {
48
47
  modelId: string;
49
48
  provider: string;
50
49
  };
50
+ text: string;
51
51
  callId: string;
52
52
  usage: {
53
53
  inputTokens?: number | undefined;
@@ -310,11 +310,11 @@ export declare function registerModelGenerationRoutes(app: Elysia, host: SixbHos
310
310
  headers: unknown;
311
311
  response: {
312
312
  200: {
313
- text: string;
314
313
  model: {
315
314
  modelId: string;
316
315
  provider: string;
317
316
  };
317
+ text: string;
318
318
  callId: string;
319
319
  usage: {
320
320
  inputTokens?: number | undefined;
@@ -504,12 +504,16 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
504
504
  kind: "edit";
505
505
  commitId: string | null;
506
506
  committedAt: string;
507
+ action?: {
508
+ actionId: string;
509
+ runId: string;
510
+ } | undefined;
507
511
  executor?: {
508
512
  type: "request";
509
513
  requestId: string;
510
514
  } | {
511
515
  id: string;
512
- kind: "workflow" | "action" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
516
+ kind: "action" | "workflow" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
513
517
  type: "primitive";
514
518
  runId: string;
515
519
  } | {
@@ -529,10 +533,6 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
529
533
  id: string;
530
534
  type: "user" | "serviceAccount";
531
535
  } | undefined;
532
- action?: {
533
- actionId: string;
534
- runId: string;
535
- } | undefined;
536
536
  } | {
537
537
  kind: "telemetry";
538
538
  commitId: string;
@@ -542,7 +542,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
542
542
  requestId: string;
543
543
  } | {
544
544
  id: string;
545
- kind: "workflow" | "action" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
545
+ kind: "action" | "workflow" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
546
546
  type: "primitive";
547
547
  runId: string;
548
548
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyGpC,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE;;;;;;;EAyCvF;AAgID,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDArL1B,MAAM;oEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAq0BxF"}
1
+ {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmGpC,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE;;;;;;;EAyCvF;AAgID,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDArL1B,MAAM;oEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAq0BxF"}
@@ -83,6 +83,16 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
83
83
  spawnedBy: string;
84
84
  } | undefined;
85
85
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
86
+ backgroundCommands?: {
87
+ status: "running" | "exited" | "stopped";
88
+ id: string;
89
+ startedAt: string;
90
+ threadId: string;
91
+ command: string;
92
+ exitCode?: number | undefined;
93
+ endedAt?: string | undefined;
94
+ stopping?: boolean | undefined;
95
+ }[] | undefined;
86
96
  movedAt?: string | undefined;
87
97
  lastMessageAt?: string | undefined;
88
98
  };
@@ -249,7 +259,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
249
259
  } | {
250
260
  error: {
251
261
  at: string;
252
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
262
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
253
263
  message: string;
254
264
  retryable: boolean;
255
265
  details?: import("../schemas/common").JsonValue | undefined;
@@ -379,7 +389,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
379
389
  threadId: string;
380
390
  };
381
391
  query: {
382
- status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
392
+ status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
383
393
  limit?: string | undefined;
384
394
  offset?: string | undefined;
385
395
  order?: "asc" | "desc" | undefined;
@@ -388,7 +398,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
388
398
  response: {
389
399
  200: {
390
400
  runs: {
391
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
401
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
392
402
  projectId: string;
393
403
  id: string;
394
404
  kind: "conversation" | "subagent";
@@ -398,14 +408,14 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
398
408
  triggerMessageId: string;
399
409
  streamId: string;
400
410
  error?: import("@sixb/core").SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
401
- requestedBy?: {
402
- id: string;
403
- type: "user" | "serviceAccount";
404
- } | undefined;
405
411
  model?: {
406
412
  modelId: string;
407
413
  provider: string;
408
414
  } | undefined;
415
+ requestedBy?: {
416
+ id: string;
417
+ type: "user" | "serviceAccount";
418
+ } | undefined;
409
419
  modelId?: string | undefined;
410
420
  startedAt?: string | undefined;
411
421
  completedAt?: string | undefined;
@@ -496,15 +506,15 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
496
506
  response: {
497
507
  200: {
498
508
  children: {
499
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
500
- projectId: string;
501
- id: string;
509
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
502
510
  model: {
503
511
  modelId: string;
504
512
  provider: string;
505
513
  };
514
+ projectId: string;
515
+ id: string;
506
516
  runs: {
507
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
517
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
508
518
  id: string;
509
519
  createdAt: string;
510
520
  attempt: number;
@@ -1 +1 @@
1
- {"version":3,"file":"observed-agent-threads.d.ts","sourceRoot":"","sources":["../../src/routes/observed-agent-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyCpC;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiMhF"}
1
+ {"version":3,"file":"observed-agent-threads.d.ts","sourceRoot":"","sources":["../../src/routes/observed-agent-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyCpC;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiMhF"}
@@ -26,8 +26,10 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
26
26
  response: {
27
27
  200: {
28
28
  id: string;
29
+ name: string;
29
30
  actions: {
30
31
  id: string;
32
+ name: string;
31
33
  params: {
32
34
  id: string;
33
35
  name: string;
@@ -37,7 +39,6 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
37
39
  semanticType?: string | undefined;
38
40
  schema?: unknown;
39
41
  }[];
40
- name: string;
41
42
  description?: string | undefined;
42
43
  }[];
43
44
  properties: {
@@ -67,7 +68,6 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
67
68
  semanticType?: string | undefined;
68
69
  schema?: unknown;
69
70
  }[];
70
- name: string;
71
71
  links: {
72
72
  id: string;
73
73
  name: string;
@@ -104,7 +104,6 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
104
104
  title?: string | undefined;
105
105
  defaultText?: string[] | undefined;
106
106
  vectors?: Record<string, {
107
- source: string[];
108
107
  model: {
109
108
  providerId: string;
110
109
  modelId: string;
@@ -115,6 +114,7 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
115
114
  version?: string | undefined;
116
115
  } | undefined;
117
116
  };
117
+ source: string[];
118
118
  }> | undefined;
119
119
  } | undefined;
120
120
  }[];
@@ -145,8 +145,10 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
145
145
  response: {
146
146
  200: {
147
147
  id: string;
148
+ name: string;
148
149
  actions: {
149
150
  id: string;
151
+ name: string;
150
152
  params: {
151
153
  id: string;
152
154
  name: string;
@@ -156,7 +158,6 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
156
158
  semanticType?: string | undefined;
157
159
  schema?: unknown;
158
160
  }[];
159
- name: string;
160
161
  description?: string | undefined;
161
162
  }[];
162
163
  properties: {
@@ -186,7 +187,6 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
186
187
  semanticType?: string | undefined;
187
188
  schema?: unknown;
188
189
  }[];
189
- name: string;
190
190
  links: {
191
191
  id: string;
192
192
  name: string;
@@ -223,7 +223,6 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
223
223
  title?: string | undefined;
224
224
  defaultText?: string[] | undefined;
225
225
  vectors?: Record<string, {
226
- source: string[];
227
226
  model: {
228
227
  providerId: string;
229
228
  modelId: string;
@@ -234,6 +233,7 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
234
233
  version?: string | undefined;
235
234
  } | undefined;
236
235
  };
236
+ source: string[];
237
237
  }> | undefined;
238
238
  } | undefined;
239
239
  };
@@ -31,10 +31,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
31
31
  scheduleId: string;
32
32
  }[];
33
33
  latestRun: {
34
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
34
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
35
35
  projectId: string;
36
36
  id: string;
37
37
  queuedAt: string;
38
+ attempt: number;
38
39
  pipelineId: string;
39
40
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
40
41
  startedAt?: string | undefined;
@@ -61,8 +62,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
61
62
  id: string;
62
63
  schema: {
63
64
  columns: {
64
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
65
65
  name: string;
66
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
66
67
  nullable?: boolean | undefined;
67
68
  }[];
68
69
  };
@@ -77,8 +78,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
77
78
  id: string;
78
79
  schema: {
79
80
  columns: {
80
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
81
81
  name: string;
82
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
82
83
  nullable?: boolean | undefined;
83
84
  }[];
84
85
  };
@@ -124,10 +125,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
124
125
  scheduleId: string;
125
126
  }[];
126
127
  latestRun: {
127
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
128
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
128
129
  projectId: string;
129
130
  id: string;
130
131
  queuedAt: string;
132
+ attempt: number;
131
133
  pipelineId: string;
132
134
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
133
135
  startedAt?: string | undefined;
@@ -154,8 +156,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
154
156
  id: string;
155
157
  schema: {
156
158
  columns: {
157
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
158
159
  name: string;
160
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
159
161
  nullable?: boolean | undefined;
160
162
  }[];
161
163
  };
@@ -170,8 +172,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
170
172
  id: string;
171
173
  schema: {
172
174
  columns: {
173
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
174
175
  name: string;
176
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
175
177
  nullable?: boolean | undefined;
176
178
  }[];
177
179
  };
@@ -209,7 +211,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
209
211
  body: unknown;
210
212
  params: {};
211
213
  query: {
212
- status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
214
+ status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
213
215
  startedAfter?: string | undefined;
214
216
  startedBefore?: string | undefined;
215
217
  limit?: string | undefined;
@@ -221,10 +223,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
221
223
  response: {
222
224
  200: {
223
225
  runs: {
224
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
226
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
225
227
  projectId: string;
226
228
  id: string;
227
229
  queuedAt: string;
230
+ attempt: number;
228
231
  pipelineId: string;
229
232
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
230
233
  startedAt?: string | undefined;
@@ -270,10 +273,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
270
273
  response: {
271
274
  200: {
272
275
  run: {
273
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
276
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
274
277
  projectId: string;
275
278
  id: string;
276
279
  queuedAt: string;
280
+ attempt: number;
277
281
  pipelineId: string;
278
282
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
279
283
  startedAt?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA0HpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkLrE"}
1
+ {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2HpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkLrE"}