@agent-marshal/marshal-pi 0.60.1 → 0.60.2

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/generated/index.ts +106 -106
package/package.json CHANGED
@@ -51,5 +51,5 @@
51
51
  "gen": "cargo run -p marshal-entities --no-default-features --features codegen --bin typegen -- src/generated"
52
52
  },
53
53
  "type": "module",
54
- "version": "0.60.1"
54
+ "version": "0.60.2"
55
55
  }
@@ -243,45 +243,6 @@ import type { WakeWatcher } from "./WakeWatcher";
243
243
  import type { WakeWatcherCount } from "./WakeWatcherCount";
244
244
 
245
245
  // Query classes
246
- export class GetSandboxRunsByIds {
247
- static readonly queryId = "GetSandboxRunsByIds" as const;
248
- static readonly queryItemType = "SandboxRun" as const;
249
- readonly queryId = "GetSandboxRunsByIds" as const;
250
- readonly queryItemType = "SandboxRun" as const;
251
- readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
252
- declare readonly $res: () => SandboxRun[];
253
-
254
- constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
255
- this.query = args;
256
- }
257
- }
258
-
259
- export class GetAllSandboxRuns {
260
- static readonly queryId = "GetAllSandboxRuns" as const;
261
- static readonly queryItemType = "SandboxRun" as const;
262
- readonly queryId = "GetAllSandboxRuns" as const;
263
- readonly queryItemType = "SandboxRun" as const;
264
- readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
265
- declare readonly $res: () => SandboxRun[];
266
-
267
- constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
268
- this.query = args;
269
- }
270
- }
271
-
272
- export class GetSandboxRunsByQuery {
273
- static readonly queryId = "GetSandboxRunsByQuery" as const;
274
- static readonly queryItemType = "SandboxRun" as const;
275
- readonly queryId = "GetSandboxRunsByQuery" as const;
276
- readonly queryItemType = "SandboxRun" as const;
277
- readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
278
- declare readonly $res: () => SandboxRun[];
279
-
280
- constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
281
- this.query = args;
282
- }
283
- }
284
-
285
246
  export class GetMessagesByQuery {
286
247
  static readonly queryId = "GetMessagesByQuery" as const;
287
248
  static readonly queryItemType = "Message" as const;
@@ -555,42 +516,48 @@ export class GetAllWakeWatchers {
555
516
  }
556
517
  }
557
518
 
558
- // View classes
559
-
560
- // Report classes
561
- export class GetSandboxRunById {
562
- static readonly reportId = "GetSandboxRunById" as const;
563
- readonly reportId = "GetSandboxRunById" as const;
564
- readonly report: Omit<_GetSandboxRunById, "tx">;
565
- declare readonly $res: () => SandboxRun | null;
519
+ export class GetSandboxRunsByIds {
520
+ static readonly queryId = "GetSandboxRunsByIds" as const;
521
+ static readonly queryItemType = "SandboxRun" as const;
522
+ readonly queryId = "GetSandboxRunsByIds" as const;
523
+ readonly queryItemType = "SandboxRun" as const;
524
+ readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
525
+ declare readonly $res: () => SandboxRun[];
566
526
 
567
- constructor(args: Omit<_GetSandboxRunById, "tx">) {
568
- this.report = args;
527
+ constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
528
+ this.query = args;
569
529
  }
570
530
  }
571
531
 
572
- export class CountSandboxRuns {
573
- static readonly reportId = "CountSandboxRuns" as const;
574
- readonly reportId = "CountSandboxRuns" as const;
575
- readonly report: Omit<_CountSandboxRuns, "tx">;
576
- declare readonly $res: () => SandboxRunCount;
532
+ export class GetAllSandboxRuns {
533
+ static readonly queryId = "GetAllSandboxRuns" as const;
534
+ static readonly queryItemType = "SandboxRun" as const;
535
+ readonly queryId = "GetAllSandboxRuns" as const;
536
+ readonly queryItemType = "SandboxRun" as const;
537
+ readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
538
+ declare readonly $res: () => SandboxRun[];
577
539
 
578
- constructor(args: Omit<_CountSandboxRuns, "tx">) {
579
- this.report = args;
540
+ constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
541
+ this.query = args;
580
542
  }
581
543
  }
582
544
 
583
- export class CountAllSandboxRuns {
584
- static readonly reportId = "CountAllSandboxRuns" as const;
585
- readonly reportId = "CountAllSandboxRuns" as const;
586
- readonly report: Omit<_CountAllSandboxRuns, "tx">;
587
- declare readonly $res: () => SandboxRunCount;
545
+ export class GetSandboxRunsByQuery {
546
+ static readonly queryId = "GetSandboxRunsByQuery" as const;
547
+ static readonly queryItemType = "SandboxRun" as const;
548
+ readonly queryId = "GetSandboxRunsByQuery" as const;
549
+ readonly queryItemType = "SandboxRun" as const;
550
+ readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
551
+ declare readonly $res: () => SandboxRun[];
588
552
 
589
- constructor(args: Omit<_CountAllSandboxRuns, "tx">) {
590
- this.report = args;
553
+ constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
554
+ this.query = args;
591
555
  }
592
556
  }
593
557
 
558
+ // View classes
559
+
560
+ // Report classes
594
561
  export class GetMessageById {
595
562
  static readonly reportId = "GetMessageById" as const;
596
563
  readonly reportId = "GetMessageById" as const;
@@ -822,36 +789,58 @@ export class CountAllWakeWatchers {
822
789
  }
823
790
  }
824
791
 
825
- // Command classes
826
- export class ImportSandboxRun {
827
- static readonly commandId = "ImportSandboxRun" as const;
828
- readonly commandId = "ImportSandboxRun" as const;
829
- readonly command: Omit<_ImportSandboxRun, "tx" | "createdAt">;
830
- declare readonly $res: () => SandboxRunId;
792
+ export class GetSandboxRunById {
793
+ static readonly reportId = "GetSandboxRunById" as const;
794
+ readonly reportId = "GetSandboxRunById" as const;
795
+ readonly report: Omit<_GetSandboxRunById, "tx">;
796
+ declare readonly $res: () => SandboxRun | null;
831
797
 
832
- constructor(args: Omit<_ImportSandboxRun, "tx" | "createdAt">) {
833
- this.command = args;
798
+ constructor(args: Omit<_GetSandboxRunById, "tx">) {
799
+ this.report = args;
834
800
  }
835
801
  }
836
802
 
837
- export class DeleteSandboxRuns {
838
- static readonly commandId = "DeleteSandboxRuns" as const;
839
- readonly commandId = "DeleteSandboxRuns" as const;
840
- readonly command: Omit<_DeleteSandboxRuns, "tx" | "createdAt">;
841
- declare readonly $res: () => DeleteSandboxRunsResult;
803
+ export class CountSandboxRuns {
804
+ static readonly reportId = "CountSandboxRuns" as const;
805
+ readonly reportId = "CountSandboxRuns" as const;
806
+ readonly report: Omit<_CountSandboxRuns, "tx">;
807
+ declare readonly $res: () => SandboxRunCount;
842
808
 
843
- constructor(args: Omit<_DeleteSandboxRuns, "tx" | "createdAt">) {
809
+ constructor(args: Omit<_CountSandboxRuns, "tx">) {
810
+ this.report = args;
811
+ }
812
+ }
813
+
814
+ export class CountAllSandboxRuns {
815
+ static readonly reportId = "CountAllSandboxRuns" as const;
816
+ readonly reportId = "CountAllSandboxRuns" as const;
817
+ readonly report: Omit<_CountAllSandboxRuns, "tx">;
818
+ declare readonly $res: () => SandboxRunCount;
819
+
820
+ constructor(args: Omit<_CountAllSandboxRuns, "tx">) {
821
+ this.report = args;
822
+ }
823
+ }
824
+
825
+ // Command classes
826
+ export class LeaveRoom {
827
+ static readonly commandId = "LeaveRoom" as const;
828
+ readonly commandId = "LeaveRoom" as const;
829
+ readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
830
+ declare readonly $res: () => LeaveRoomResult;
831
+
832
+ constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
844
833
  this.command = args;
845
834
  }
846
835
  }
847
836
 
848
- export class DeleteSandboxRun {
849
- static readonly commandId = "DeleteSandboxRun" as const;
850
- readonly commandId = "DeleteSandboxRun" as const;
851
- readonly command: Omit<_DeleteSandboxRun, "tx" | "createdAt">;
852
- declare readonly $res: () => DeleteSandboxRunResult;
837
+ export class JoinRoom {
838
+ static readonly commandId = "JoinRoom" as const;
839
+ readonly commandId = "JoinRoom" as const;
840
+ readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
841
+ declare readonly $res: () => JoinRoomResult;
853
842
 
854
- constructor(args: Omit<_DeleteSandboxRun, "tx" | "createdAt">) {
843
+ constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
855
844
  this.command = args;
856
845
  }
857
846
  }
@@ -889,28 +878,6 @@ export class SendMessage {
889
878
  }
890
879
  }
891
880
 
892
- export class LeaveRoom {
893
- static readonly commandId = "LeaveRoom" as const;
894
- readonly commandId = "LeaveRoom" as const;
895
- readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
896
- declare readonly $res: () => LeaveRoomResult;
897
-
898
- constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
899
- this.command = args;
900
- }
901
- }
902
-
903
- export class JoinRoom {
904
- static readonly commandId = "JoinRoom" as const;
905
- readonly commandId = "JoinRoom" as const;
906
- readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
907
- declare readonly $res: () => JoinRoomResult;
908
-
909
- constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
910
- this.command = args;
911
- }
912
- }
913
-
914
881
  export class DeleteMessages {
915
882
  static readonly commandId = "DeleteMessages" as const;
916
883
  readonly commandId = "DeleteMessages" as const;
@@ -1219,9 +1186,41 @@ export class DeleteWakeWatchers {
1219
1186
  }
1220
1187
  }
1221
1188
 
1189
+ export class ImportSandboxRun {
1190
+ static readonly commandId = "ImportSandboxRun" as const;
1191
+ readonly commandId = "ImportSandboxRun" as const;
1192
+ readonly command: Omit<_ImportSandboxRun, "tx" | "createdAt">;
1193
+ declare readonly $res: () => SandboxRunId;
1194
+
1195
+ constructor(args: Omit<_ImportSandboxRun, "tx" | "createdAt">) {
1196
+ this.command = args;
1197
+ }
1198
+ }
1199
+
1200
+ export class DeleteSandboxRuns {
1201
+ static readonly commandId = "DeleteSandboxRuns" as const;
1202
+ readonly commandId = "DeleteSandboxRuns" as const;
1203
+ readonly command: Omit<_DeleteSandboxRuns, "tx" | "createdAt">;
1204
+ declare readonly $res: () => DeleteSandboxRunsResult;
1205
+
1206
+ constructor(args: Omit<_DeleteSandboxRuns, "tx" | "createdAt">) {
1207
+ this.command = args;
1208
+ }
1209
+ }
1210
+
1211
+ export class DeleteSandboxRun {
1212
+ static readonly commandId = "DeleteSandboxRun" as const;
1213
+ readonly commandId = "DeleteSandboxRun" as const;
1214
+ readonly command: Omit<_DeleteSandboxRun, "tx" | "createdAt">;
1215
+ declare readonly $res: () => DeleteSandboxRunResult;
1216
+
1217
+ constructor(args: Omit<_DeleteSandboxRun, "tx" | "createdAt">) {
1218
+ this.command = args;
1219
+ }
1220
+ }
1221
+
1222
1222
  // Item constructors
1223
1223
  export const items = {
1224
- SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
1225
1224
  Message: (args: Message) => ({ item: args, itemType: "Message" }),
1226
1225
  MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
1227
1226
  Session: (args: Session) => ({ item: args, itemType: "Session" }),
@@ -1229,6 +1228,7 @@ export const items = {
1229
1228
  RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
1230
1229
  Room: (args: Room) => ({ item: args, itemType: "Room" }),
1231
1230
  WakeWatcher: (args: WakeWatcher) => ({ item: args, itemType: "WakeWatcher" }),
1231
+ SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
1232
1232
  };
1233
1233
 
1234
1234
  // Message events