@sixb/server 0.1.17 → 0.1.18

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 (69) hide show
  1. package/dist/auth/experience.d.ts +5 -1
  2. package/dist/auth/experience.d.ts.map +1 -1
  3. package/dist/files/content.d.ts +0 -1
  4. package/dist/files/content.d.ts.map +1 -1
  5. package/dist/index.js +204 -136
  6. package/dist/index.js.map +24 -24
  7. package/dist/routes/agents.d.ts +48 -28
  8. package/dist/routes/agents.d.ts.map +1 -1
  9. package/dist/routes/auth.d.ts +3 -2
  10. package/dist/routes/auth.d.ts.map +1 -1
  11. package/dist/routes/datasets.d.ts +4 -1
  12. package/dist/routes/datasets.d.ts.map +1 -1
  13. package/dist/routes/files.d.ts.map +1 -1
  14. package/dist/routes/models.d.ts +1 -0
  15. package/dist/routes/models.d.ts.map +1 -1
  16. package/dist/routes/objects.d.ts +21 -4
  17. package/dist/routes/objects.d.ts.map +1 -1
  18. package/dist/routes/project.d.ts +2 -0
  19. package/dist/routes/project.d.ts.map +1 -1
  20. package/dist/routes/workflows.d.ts +3 -0
  21. package/dist/routes/workflows.d.ts.map +1 -1
  22. package/dist/routes/ws/events.d.ts.map +1 -1
  23. package/dist/routes/ws/subscription-hub.d.ts +5 -0
  24. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  25. package/dist/schemas/agents.d.ts +222 -123
  26. package/dist/schemas/agents.d.ts.map +1 -1
  27. package/dist/schemas/ai-accounting.d.ts +10 -10
  28. package/dist/schemas/auth.d.ts +7 -0
  29. package/dist/schemas/auth.d.ts.map +1 -1
  30. package/dist/schemas/common.d.ts +8 -0
  31. package/dist/schemas/common.d.ts.map +1 -1
  32. package/dist/schemas/datasets.d.ts +18 -3
  33. package/dist/schemas/datasets.d.ts.map +1 -1
  34. package/dist/schemas/event-payloads.d.ts +39 -0
  35. package/dist/schemas/event-payloads.d.ts.map +1 -1
  36. package/dist/schemas/files.d.ts +1 -1
  37. package/dist/schemas/files.d.ts.map +1 -1
  38. package/dist/schemas/models.d.ts +10 -0
  39. package/dist/schemas/models.d.ts.map +1 -1
  40. package/dist/schemas/objects.d.ts +32 -0
  41. package/dist/schemas/objects.d.ts.map +1 -1
  42. package/dist/schemas/project.d.ts +8 -0
  43. package/dist/schemas/project.d.ts.map +1 -1
  44. package/dist/schemas/workflows.d.ts +17 -0
  45. package/dist/schemas/workflows.d.ts.map +1 -1
  46. package/dist/server.d.ts.map +1 -1
  47. package/package.json +6 -5
  48. package/src/auth/experience.ts +20 -2
  49. package/src/files/content.ts +43 -88
  50. package/src/routes/agents.ts +29 -9
  51. package/src/routes/auth.ts +84 -19
  52. package/src/routes/datasets.ts +12 -43
  53. package/src/routes/files.ts +3 -1
  54. package/src/routes/models.ts +3 -0
  55. package/src/routes/objects.ts +12 -2
  56. package/src/routes/project.ts +2 -1
  57. package/src/routes/workflows.ts +5 -0
  58. package/src/routes/ws/events.ts +5 -3
  59. package/src/routes/ws/subscription-hub.ts +20 -5
  60. package/src/schemas/agents.ts +28 -3
  61. package/src/schemas/auth.ts +5 -0
  62. package/src/schemas/common.ts +3 -0
  63. package/src/schemas/datasets.ts +23 -1
  64. package/src/schemas/event-payloads.ts +3 -1
  65. package/src/schemas/files.ts +7 -1
  66. package/src/schemas/models.ts +2 -0
  67. package/src/schemas/objects.ts +13 -0
  68. package/src/schemas/project.ts +4 -0
  69. package/src/server.ts +2 -1
@@ -1,4 +1,4 @@
1
- import { type AgentRunView, type SixbHostView } from "@sixb/core";
1
+ import { type AgentRequestErrorCode, type AgentRunView, type SixbHostView } from "@sixb/core";
2
2
  import type { Elysia } from "elysia";
3
3
  import { AgentRunSchema } from "../schemas/agents";
4
4
  export declare function serializeAgentRun(run: AgentRunView): ReturnType<typeof AgentRunSchema.parse>;
@@ -142,6 +142,9 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
142
142
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
143
143
  lastMessageAt?: string | undefined;
144
144
  };
145
+ } | {
146
+ readonly error: string;
147
+ readonly code: AgentRequestErrorCode;
145
148
  } | {
146
149
  error: string;
147
150
  };
@@ -344,6 +347,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
344
347
  objectTypeId: string;
345
348
  primaryId: string;
346
349
  };
350
+ label?: string | undefined;
347
351
  } | {
348
352
  id: string;
349
353
  kind: "app-state";
@@ -397,16 +401,18 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
397
401
  providerMetadata?: import("../schemas/common").JsonValue | undefined;
398
402
  dynamic?: boolean | undefined;
399
403
  providerExecuted?: boolean | undefined;
404
+ } | {
405
+ type: "continuation";
400
406
  })[];
401
407
  threadId: string;
402
408
  createdAt: string;
403
409
  role: "user" | "system" | "assistant";
404
410
  seq: number;
405
411
  annotations: {
406
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
412
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
407
413
  message: string;
408
414
  severity: "error" | "warning";
409
- scope: "output";
415
+ scope: "output" | "run";
410
416
  path?: string | undefined;
411
417
  }[];
412
418
  contentVersion: number;
@@ -540,7 +546,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
540
546
  messages: {
541
547
  post: {
542
548
  body: {
543
- text: string;
549
+ locale?: string | undefined;
550
+ timeZone?: string | undefined;
544
551
  context?: {
545
552
  origin: "ambient" | "explicit";
546
553
  context: {
@@ -549,6 +556,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
549
556
  objectTypeId: string;
550
557
  primaryId: string;
551
558
  };
559
+ label?: string | undefined;
552
560
  } | {
553
561
  id: string;
554
562
  kind: "app-state";
@@ -557,6 +565,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
557
565
  label: string;
558
566
  };
559
567
  }[] | undefined;
568
+ text?: string | undefined;
560
569
  model?: {
561
570
  modelId: string;
562
571
  provider: string;
@@ -573,6 +582,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
573
582
  budgetTokens: number;
574
583
  } | undefined;
575
584
  messageId?: string | undefined;
585
+ continue?: true | undefined;
576
586
  };
577
587
  params: {
578
588
  threadId: string;
@@ -626,15 +636,18 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
626
636
  id: string;
627
637
  type: "user" | "serviceAccount";
628
638
  } | undefined;
629
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
639
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
630
640
  diagnostics?: {
631
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
641
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
632
642
  message: string;
633
643
  severity: "error" | "warning";
634
- scope: "output";
644
+ scope: "output" | "run";
635
645
  path?: string | undefined;
636
646
  }[] | undefined;
637
647
  };
648
+ } | {
649
+ readonly error: string;
650
+ readonly code: AgentRequestErrorCode;
638
651
  } | {
639
652
  error: string;
640
653
  };
@@ -646,6 +659,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
646
659
  };
647
660
  400: {
648
661
  error: string;
662
+ code?: string | undefined;
649
663
  };
650
664
  409: {
651
665
  error: string;
@@ -704,12 +718,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
704
718
  id: string;
705
719
  type: "user" | "serviceAccount";
706
720
  } | undefined;
707
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
721
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
708
722
  diagnostics?: {
709
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
723
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
710
724
  message: string;
711
725
  severity: "error" | "warning";
712
- scope: "output";
726
+ scope: "output" | "run";
713
727
  path?: string | undefined;
714
728
  }[] | undefined;
715
729
  };
@@ -790,15 +804,18 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
790
804
  id: string;
791
805
  type: "user" | "serviceAccount";
792
806
  } | undefined;
793
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
807
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
794
808
  diagnostics?: {
795
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
809
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
796
810
  message: string;
797
811
  severity: "error" | "warning";
798
- scope: "output";
812
+ scope: "output" | "run";
799
813
  path?: string | undefined;
800
814
  }[] | undefined;
801
815
  };
816
+ } | {
817
+ readonly error: string;
818
+ readonly code: AgentRequestErrorCode;
802
819
  } | {
803
820
  error: string;
804
821
  };
@@ -860,12 +877,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
860
877
  id: string;
861
878
  type: "user" | "serviceAccount";
862
879
  } | undefined;
863
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
880
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
864
881
  diagnostics?: {
865
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
882
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
866
883
  message: string;
867
884
  severity: "error" | "warning";
868
- scope: "output";
885
+ scope: "output" | "run";
869
886
  path?: string | undefined;
870
887
  }[] | undefined;
871
888
  };
@@ -947,15 +964,18 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
947
964
  id: string;
948
965
  type: "user" | "serviceAccount";
949
966
  } | undefined;
950
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
967
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
951
968
  diagnostics?: {
952
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
969
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
953
970
  message: string;
954
971
  severity: "error" | "warning";
955
- scope: "output";
972
+ scope: "output" | "run";
956
973
  path?: string | undefined;
957
974
  }[] | undefined;
958
975
  };
976
+ } | {
977
+ readonly error: string;
978
+ readonly code: AgentRequestErrorCode;
959
979
  } | {
960
980
  error: string;
961
981
  };
@@ -1022,12 +1042,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1022
1042
  id: string;
1023
1043
  type: "user" | "serviceAccount";
1024
1044
  } | undefined;
1025
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
1045
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
1026
1046
  diagnostics?: {
1027
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
1047
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
1028
1048
  message: string;
1029
1049
  severity: "error" | "warning";
1030
- scope: "output";
1050
+ scope: "output" | "run";
1031
1051
  path?: string | undefined;
1032
1052
  }[] | undefined;
1033
1053
  };
@@ -1113,12 +1133,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1113
1133
  id: string;
1114
1134
  type: "user" | "serviceAccount";
1115
1135
  } | undefined;
1116
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
1136
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
1117
1137
  diagnostics?: {
1118
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
1138
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
1119
1139
  message: string;
1120
1140
  severity: "error" | "warning";
1121
- scope: "output";
1141
+ scope: "output" | "run";
1122
1142
  path?: string | undefined;
1123
1143
  }[] | undefined;
1124
1144
  }[];
@@ -1206,12 +1226,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1206
1226
  id: string;
1207
1227
  type: "user" | "serviceAccount";
1208
1228
  } | undefined;
1209
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
1229
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
1210
1230
  diagnostics?: {
1211
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
1231
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
1212
1232
  message: string;
1213
1233
  severity: "error" | "warning";
1214
- scope: "output";
1234
+ scope: "output" | "run";
1215
1235
  path?: string | undefined;
1216
1236
  }[] | undefined;
1217
1237
  };
@@ -1 +1 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,YAAY,EAAgB,KAAK,YAAY,EAAE,MAAM,YAAY,CAAA;AAalG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAYpC,OAAO,EASL,cAAc,EAYf,MAAM,mBAAmB,CAAA;AAmE1B,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,YAAY,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,CAsB5F;AAyJD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAxEe,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAhDlE,MAAM;+CAAiB,qBAAqB;;uCAgDgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAhDlE,MAAM;uDAAiB,qBAAqB;;+CAgDgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8oBvF"}
@@ -1,14 +1,14 @@
1
1
  import { type SixbHostView } from "@sixb/core";
2
2
  import { type Elysia } from "elysia";
3
3
  import { type AuthInvitationDestinationOptions, type AuthInvitationRedirectContext, type AuthInvitationRedirectInput, type ResolveAuthRedirectContext, type ResolveRequestAuthContext } from "../auth/browser-origin";
4
- import { type SixbAuthExperienceOptions } from "../auth/experience";
4
+ import { type ProjectAuthExperience } from "../auth/experience";
5
5
  export interface AuthRoutesOptions {
6
6
  readonly resolveAuthContext: ResolveRequestAuthContext;
7
7
  readonly resolveAuthRedirectContext: ResolveAuthRedirectContext;
8
8
  readonly getInvitationDestinationOptions: (request: Request) => AuthInvitationDestinationOptions;
9
9
  readonly resolveAuthRequestOrigin: (request: Request) => string;
10
10
  readonly resolveInvitationRedirectContext: (request: Request, input: AuthInvitationRedirectInput) => AuthInvitationRedirectContext;
11
- readonly authExperience?: SixbAuthExperienceOptions;
11
+ readonly authExperience?: ProjectAuthExperience;
12
12
  }
13
13
  export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, options: AuthRoutesOptions): Elysia<"", {
14
14
  decorator: {};
@@ -244,6 +244,7 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
244
244
  response: {
245
245
  200: {
246
246
  authenticated: false;
247
+ authEnabled: boolean;
247
248
  } | {
248
249
  session: {
249
250
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routes/auth.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AA+BnB,OAAO,EAAE,KAAK,MAAM,EAAK,MAAM,QAAQ,CAAA;AAGvC,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAGhC,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAA;AAiF3B,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,kBAAkB,EAAE,yBAAyB,CAAA;IACtD,QAAQ,CAAC,0BAA0B,EAAE,0BAA0B,CAAA;IAC/D,QAAQ,CAAC,+BAA+B,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,gCAAgC,CAAA;IAChG,QAAQ,CAAC,wBAAwB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA;IAC/D,QAAQ,CAAC,gCAAgC,EAAE,CACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,2BAA2B,KAC/B,6BAA6B,CAAA;IAClC,QAAQ,CAAC,cAAc,CAAC,EAAE,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: SixbHostView):
269
269
  limit?: string | undefined;
270
270
  offset?: string | undefined;
271
271
  versionId?: string | undefined;
272
- columns?: string | undefined;
272
+ columns?: string[] | undefined;
273
273
  };
274
274
  headers: unknown;
275
275
  response: {
@@ -308,6 +308,9 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
308
308
  columns: string[];
309
309
  rows: Record<string, unknown>[];
310
310
  total?: number | undefined;
311
+ redactions?: Record<string, {
312
+ reason: "missing_clearance";
313
+ }> | undefined;
311
314
  };
312
315
  404: {
313
316
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,YAAY,CAAA;AAOjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqNpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsLpE"}
1
+ {"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,YAAY,CAAA;AAOjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2LpC,w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+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;AAKnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAEnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAibjE"}
@@ -46,6 +46,7 @@ export declare function registerModelRoutes(app: Elysia, host: SixbHostView): El
46
46
  reasoningLevels: ("none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[];
47
47
  description?: string | undefined;
48
48
  via?: string | undefined;
49
+ defaultReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
49
50
  }[];
50
51
  };
51
52
  422: {
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/routes/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,YAAY,EAAE,MAAM,YAAY,CAAA;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAcpC,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuBlE"}
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/routes/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,YAAY,EAAE,MAAM,YAAY,CAAA;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiBpC,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuBlE"}
@@ -1,18 +1,23 @@
1
1
  import { type SixbHostView } from "@sixb/core";
2
+ import type { Redactions } from "@sixb/core/storage";
2
3
  import type { Elysia } from "elysia";
3
4
  declare function serializeObject(row: {
4
5
  score?: number;
5
6
  primaryId: string;
6
7
  objectTypeId: string;
7
8
  properties: Record<string, unknown>;
9
+ redactions?: Redactions;
8
10
  createdAt: Date;
9
11
  updatedAt: Date;
10
12
  }): {
13
+ createdAt: string;
14
+ updatedAt: string;
15
+ redactions?: Readonly<Record<string, {
16
+ readonly reason: import("@sixb/core").RedactionReason;
17
+ }>> | undefined;
11
18
  primaryId: string;
12
19
  objectTypeId: string;
13
20
  properties: Record<string, unknown>;
14
- createdAt: string;
15
- updatedAt: string;
16
21
  score?: number | undefined;
17
22
  };
18
23
  type SerializedObject = ReturnType<typeof serializeObject>;
@@ -106,6 +111,9 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
106
111
  primaryId: string;
107
112
  createdAt: string;
108
113
  updatedAt: string;
114
+ redactions?: Record<string, {
115
+ reason: "missing_clearance";
116
+ }> | undefined;
109
117
  score?: number | undefined;
110
118
  }[];
111
119
  hasMore: boolean;
@@ -189,11 +197,14 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
189
197
  } | {
190
198
  nextPageToken?: string | undefined;
191
199
  objects: {
200
+ createdAt: string;
201
+ updatedAt: string;
202
+ redactions?: Readonly<Record<string, {
203
+ readonly reason: import("@sixb/core").RedactionReason;
204
+ }>> | undefined;
192
205
  primaryId: string;
193
206
  objectTypeId: string;
194
207
  properties: Record<string, unknown>;
195
- createdAt: string;
196
- updatedAt: string;
197
208
  score?: number | undefined;
198
209
  }[];
199
210
  links: {
@@ -434,6 +445,9 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
434
445
  primaryId: string;
435
446
  createdAt: string;
436
447
  updatedAt: string;
448
+ redactions?: Record<string, {
449
+ reason: "missing_clearance";
450
+ }> | undefined;
437
451
  score?: number | undefined;
438
452
  };
439
453
  404: {
@@ -476,6 +490,9 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
476
490
  primaryId: string;
477
491
  createdAt: string;
478
492
  updatedAt: string;
493
+ redactions?: Record<string, {
494
+ reason: "missing_clearance";
495
+ }> | undefined;
479
496
  score?: number | undefined;
480
497
  };
481
498
  404: {
@@ -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;AAOnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA4CpC,iBAAS,eAAe,CAAC,GAAG,EAAE;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,SAAS,EAAE,IAAI,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;CAChB;;;;;;;EASA;AA4BD,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAC1D,KAAK,mBAAmB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2xBxF"}
@@ -25,6 +25,8 @@ export declare function registerProjectRoutes(app: Elysia, host: SixbHostView):
25
25
  headers: unknown;
26
26
  response: {
27
27
  200: {
28
+ locale: string;
29
+ timeZone: string;
28
30
  id: string;
29
31
  };
30
32
  422: {
@@ -1 +1 @@
1
- {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/routes/project.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAIpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUpE"}
1
+ {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/routes/project.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAIpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAWpE"}
@@ -677,6 +677,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
677
677
  objectTypeId: string;
678
678
  primaryId: string;
679
679
  };
680
+ label?: string | undefined;
680
681
  } | {
681
682
  id: string;
682
683
  kind: "app-state";
@@ -730,6 +731,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
730
731
  providerMetadata?: import("../schemas/common").JsonValue | undefined;
731
732
  dynamic?: boolean | undefined;
732
733
  providerExecuted?: boolean | undefined;
734
+ } | {
735
+ type: "continuation";
733
736
  })[] | undefined;
734
737
  failurePhase?: "agent-loop" | "structured-finalizer" | undefined;
735
738
  };
@@ -1 +1 @@
1
- {"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/routes/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EAKlB,MAAM,YAAY,CAAA;AAcnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2hBpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;IAAgD,CAAA;AAE/E,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GACrD;IACE,EAAE,EAAE,IAAI,CAAA;IACR,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;CAChD,GACD;IACE,EAAE,EAAE,KAAK,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;CACd,CAcJ;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2IxE"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/events.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AA6B9C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAgD,CAAA;AAE/E,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GACrD;IACE,EAAE,EAAE,IAAI,CAAA;IACR,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;CAChD,GACD;IACE,EAAE,EAAE,KAAK,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;CACd,CAcJ;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6IxE"}
@@ -18,6 +18,11 @@ export interface HubSource<T extends HubRecord> {
18
18
  /** One socket's view of the stream. */
19
19
  export interface HubSubscription<T extends HubRecord> {
20
20
  matches(record: T): boolean;
21
+ /**
22
+ * The matching record as this socket may read it, or `undefined` to withhold it. It keeps the
23
+ * record's cursor. Omit to deliver matching records unchanged.
24
+ */
25
+ view?(record: T): T | undefined;
21
26
  /** Replays retained records after `afterCursor` (or from the oldest) before live ones. */
22
27
  readonly replay?: {
23
28
  readonly afterCursor: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-hub.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/subscription-hub.ts"],"names":[],"mappings":"AAQA,UAAU,SAAS;IACjB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9C,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,UAAU,SAAS;IACjB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED,qEAAqE;AACrE,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,SAAS;IAC5C,gDAAgD;IAChD,SAAS,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,CAAA;IACxE,qDAAqD;IACrD,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,OAAO,EAAE,CAAA;IACjD,+FAA+F;IAC/F,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,CAAA;CAC5B;AAED,uCAAuC;AACvC,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,SAAS;IAClD,OAAO,CAAC,MAAM,EAAE,CAAC,GAAG,OAAO,CAAA;IAC3B,0FAA0F;IAC1F,QAAQ,CAAC,MAAM,CAAC,EAAE;QAChB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;QACxC,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;YAC7C,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE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