@rudderhq/shared 0.3.6-canary.9 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/agent-run.d.ts +6 -0
  2. package/dist/agent-run.d.ts.map +1 -0
  3. package/dist/agent-run.js +96 -0
  4. package/dist/agent-run.js.map +1 -0
  5. package/dist/agent-run.test.d.ts +2 -0
  6. package/dist/agent-run.test.d.ts.map +1 -0
  7. package/dist/agent-run.test.js +196 -0
  8. package/dist/agent-run.test.js.map +1 -0
  9. package/dist/api.d.ts +1 -0
  10. package/dist/api.d.ts.map +1 -1
  11. package/dist/api.js +1 -0
  12. package/dist/api.js.map +1 -1
  13. package/dist/config-schema.d.ts +37 -37
  14. package/dist/constants.d.ts +17 -9
  15. package/dist/constants.d.ts.map +1 -1
  16. package/dist/constants.js +30 -10
  17. package/dist/constants.js.map +1 -1
  18. package/dist/index.d.ts +4 -3
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +3 -2
  21. package/dist/index.js.map +1 -1
  22. package/dist/project-mentions.d.ts.map +1 -1
  23. package/dist/project-mentions.js +11 -5
  24. package/dist/project-mentions.js.map +1 -1
  25. package/dist/project-mentions.test.js +12 -12
  26. package/dist/project-mentions.test.js.map +1 -1
  27. package/dist/types/agent-integration.d.ts +13 -0
  28. package/dist/types/agent-integration.d.ts.map +1 -1
  29. package/dist/types/chat.d.ts +59 -1
  30. package/dist/types/chat.d.ts.map +1 -1
  31. package/dist/types/heartbeat.d.ts +24 -1
  32. package/dist/types/heartbeat.d.ts.map +1 -1
  33. package/dist/types/index.d.ts +3 -3
  34. package/dist/types/index.d.ts.map +1 -1
  35. package/dist/types/messenger.d.ts +1 -0
  36. package/dist/types/messenger.d.ts.map +1 -1
  37. package/dist/types/plugin.d.ts +8 -8
  38. package/dist/types/workspace-backup.d.ts +6 -0
  39. package/dist/types/workspace-backup.d.ts.map +1 -1
  40. package/dist/validators/adapter-skills.d.ts +2 -2
  41. package/dist/validators/agent-integration.d.ts +2 -2
  42. package/dist/validators/agent.d.ts +12 -4
  43. package/dist/validators/agent.d.ts.map +1 -1
  44. package/dist/validators/agent.js +8 -0
  45. package/dist/validators/agent.js.map +1 -1
  46. package/dist/validators/automation.d.ts +17 -9
  47. package/dist/validators/automation.d.ts.map +1 -1
  48. package/dist/validators/automation.js +8 -0
  49. package/dist/validators/automation.js.map +1 -1
  50. package/dist/validators/calendar.d.ts +20 -20
  51. package/dist/validators/chat.d.ts +226 -46
  52. package/dist/validators/chat.d.ts.map +1 -1
  53. package/dist/validators/chat.js +32 -0
  54. package/dist/validators/chat.js.map +1 -1
  55. package/dist/validators/cost.d.ts +8 -8
  56. package/dist/validators/finance.d.ts +12 -12
  57. package/dist/validators/index.d.ts +1 -1
  58. package/dist/validators/index.d.ts.map +1 -1
  59. package/dist/validators/index.js +1 -1
  60. package/dist/validators/index.js.map +1 -1
  61. package/dist/validators/instance.d.ts +2 -2
  62. package/dist/validators/issue.d.ts +8 -0
  63. package/dist/validators/issue.d.ts.map +1 -1
  64. package/dist/validators/issue.js +8 -0
  65. package/dist/validators/issue.js.map +1 -1
  66. package/dist/validators/organization-portability.d.ts +76 -76
  67. package/dist/validators/organization-skill.d.ts +74 -74
  68. package/dist/validators/plugin.d.ts +67 -67
  69. package/dist/validators/plugin.js +12 -12
  70. package/dist/validators/plugin.js.map +1 -1
  71. package/dist/validators/secret.d.ts +14 -14
  72. package/dist/validators/work-product.d.ts +4 -4
  73. package/package.json +1 -1
@@ -64,16 +64,16 @@ export declare const portabilityOrganizationManifestEntrySchema: z.ZodObject<{
64
64
  logoPath: z.ZodNullable<z.ZodString>;
65
65
  requireBoardApprovalForNewAgents: z.ZodBoolean;
66
66
  }, "strip", z.ZodTypeAny, {
67
- path: string;
68
67
  name: string;
69
68
  description: string | null;
69
+ path: string;
70
70
  brandColor: string | null;
71
71
  logoPath: string | null;
72
72
  requireBoardApprovalForNewAgents: boolean;
73
73
  }, {
74
- path: string;
75
74
  name: string;
76
75
  description: string | null;
76
+ path: string;
77
77
  brandColor: string | null;
78
78
  logoPath: string | null;
79
79
  requireBoardApprovalForNewAgents: boolean;
@@ -105,9 +105,9 @@ export declare const portabilityAgentManifestEntrySchema: z.ZodObject<{
105
105
  budgetMonthlyCents: z.ZodNumber;
106
106
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
107
107
  }, "strip", z.ZodTypeAny, {
108
- path: string;
109
108
  name: string;
110
109
  title: string | null;
110
+ path: string;
111
111
  agentRuntimeType: string;
112
112
  skills: string[];
113
113
  metadata: Record<string, unknown> | null;
@@ -121,9 +121,9 @@ export declare const portabilityAgentManifestEntrySchema: z.ZodObject<{
121
121
  permissions: Record<string, unknown>;
122
122
  budgetMonthlyCents: number;
123
123
  }, {
124
- path: string;
125
124
  name: string;
126
125
  title: string | null;
126
+ path: string;
127
127
  agentRuntimeType: string;
128
128
  metadata: Record<string, unknown> | null;
129
129
  icon: string | null;
@@ -153,16 +153,16 @@ export declare const portabilitySkillManifestEntrySchema: z.ZodObject<{
153
153
  path: z.ZodString;
154
154
  kind: z.ZodString;
155
155
  }, "strip", z.ZodTypeAny, {
156
- path: string;
157
156
  kind: string;
158
- }, {
159
157
  path: string;
158
+ }, {
160
159
  kind: string;
160
+ path: string;
161
161
  }>, "many">>;
162
162
  }, "strip", z.ZodTypeAny, {
163
- path: string;
164
163
  name: string;
165
164
  description: string | null;
165
+ path: string;
166
166
  key: string;
167
167
  metadata: Record<string, unknown> | null;
168
168
  slug: string;
@@ -172,13 +172,13 @@ export declare const portabilitySkillManifestEntrySchema: z.ZodObject<{
172
172
  trustLevel: string | null;
173
173
  compatibility: string | null;
174
174
  fileInventory: {
175
- path: string;
176
175
  kind: string;
176
+ path: string;
177
177
  }[];
178
178
  }, {
179
- path: string;
180
179
  name: string;
181
180
  description: string | null;
181
+ path: string;
182
182
  key: string;
183
183
  metadata: Record<string, unknown> | null;
184
184
  slug: string;
@@ -188,8 +188,8 @@ export declare const portabilitySkillManifestEntrySchema: z.ZodObject<{
188
188
  trustLevel: string | null;
189
189
  compatibility: string | null;
190
190
  fileInventory?: {
191
- path: string;
192
191
  kind: string;
192
+ path: string;
193
193
  }[] | undefined;
194
194
  }>;
195
195
  export declare const portabilityProjectManifestEntrySchema: z.ZodObject<{
@@ -243,9 +243,9 @@ export declare const portabilityProjectManifestEntrySchema: z.ZodObject<{
243
243
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
244
244
  }, "strip", z.ZodTypeAny, {
245
245
  status: string | null;
246
- path: string;
247
246
  name: string;
248
247
  description: string | null;
248
+ path: string;
249
249
  metadata: Record<string, unknown> | null;
250
250
  slug: string;
251
251
  ownerAgentSlug: string | null;
@@ -268,9 +268,9 @@ export declare const portabilityProjectManifestEntrySchema: z.ZodObject<{
268
268
  }[];
269
269
  }, {
270
270
  status: string | null;
271
- path: string;
272
271
  name: string;
273
272
  description: string | null;
273
+ path: string;
274
274
  metadata: Record<string, unknown> | null;
275
275
  slug: string;
276
276
  ownerAgentSlug: string | null;
@@ -301,17 +301,17 @@ export declare const portabilityIssueAutomationTriggerManifestEntrySchema: z.Zod
301
301
  signingMode: z.ZodNullable<z.ZodString>;
302
302
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
303
303
  }, "strip", z.ZodTypeAny, {
304
- enabled: boolean;
305
304
  kind: string;
306
305
  label: string | null;
306
+ enabled: boolean;
307
307
  cronExpression: string | null;
308
308
  timezone: string | null;
309
309
  signingMode: string | null;
310
310
  replayWindowSec: number | null;
311
311
  }, {
312
- enabled: boolean;
313
312
  kind: string;
314
313
  label: string | null;
314
+ enabled: boolean;
315
315
  cronExpression: string | null;
316
316
  timezone: string | null;
317
317
  signingMode: string | null;
@@ -329,17 +329,17 @@ export declare const portabilityIssueAutomationManifestEntrySchema: z.ZodObject<
329
329
  signingMode: z.ZodNullable<z.ZodString>;
330
330
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
331
331
  }, "strip", z.ZodTypeAny, {
332
- enabled: boolean;
333
332
  kind: string;
334
333
  label: string | null;
334
+ enabled: boolean;
335
335
  cronExpression: string | null;
336
336
  timezone: string | null;
337
337
  signingMode: string | null;
338
338
  replayWindowSec: number | null;
339
339
  }, {
340
- enabled: boolean;
341
340
  kind: string;
342
341
  label: string | null;
342
+ enabled: boolean;
343
343
  cronExpression: string | null;
344
344
  timezone: string | null;
345
345
  signingMode: string | null;
@@ -349,9 +349,9 @@ export declare const portabilityIssueAutomationManifestEntrySchema: z.ZodObject<
349
349
  concurrencyPolicy: string | null;
350
350
  catchUpPolicy: string | null;
351
351
  triggers: {
352
- enabled: boolean;
353
352
  kind: string;
354
353
  label: string | null;
354
+ enabled: boolean;
355
355
  cronExpression: string | null;
356
356
  timezone: string | null;
357
357
  signingMode: string | null;
@@ -361,9 +361,9 @@ export declare const portabilityIssueAutomationManifestEntrySchema: z.ZodObject<
361
361
  concurrencyPolicy: string | null;
362
362
  catchUpPolicy: string | null;
363
363
  triggers?: {
364
- enabled: boolean;
365
364
  kind: string;
366
365
  label: string | null;
366
+ enabled: boolean;
367
367
  cronExpression: string | null;
368
368
  timezone: string | null;
369
369
  signingMode: string | null;
@@ -392,17 +392,17 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
392
392
  signingMode: z.ZodNullable<z.ZodString>;
393
393
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
394
394
  }, "strip", z.ZodTypeAny, {
395
- enabled: boolean;
396
395
  kind: string;
397
396
  label: string | null;
397
+ enabled: boolean;
398
398
  cronExpression: string | null;
399
399
  timezone: string | null;
400
400
  signingMode: string | null;
401
401
  replayWindowSec: number | null;
402
402
  }, {
403
- enabled: boolean;
404
403
  kind: string;
405
404
  label: string | null;
405
+ enabled: boolean;
406
406
  cronExpression: string | null;
407
407
  timezone: string | null;
408
408
  signingMode: string | null;
@@ -412,9 +412,9 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
412
412
  concurrencyPolicy: string | null;
413
413
  catchUpPolicy: string | null;
414
414
  triggers: {
415
- enabled: boolean;
416
415
  kind: string;
417
416
  label: string | null;
417
+ enabled: boolean;
418
418
  cronExpression: string | null;
419
419
  timezone: string | null;
420
420
  signingMode: string | null;
@@ -424,9 +424,9 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
424
424
  concurrencyPolicy: string | null;
425
425
  catchUpPolicy: string | null;
426
426
  triggers?: {
427
- enabled: boolean;
428
427
  kind: string;
429
428
  label: string | null;
429
+ enabled: boolean;
430
430
  cronExpression: string | null;
431
431
  timezone: string | null;
432
432
  signingMode: string | null;
@@ -446,9 +446,9 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
446
446
  concurrencyPolicy: string | null;
447
447
  catchUpPolicy: string | null;
448
448
  triggers: {
449
- enabled: boolean;
450
449
  kind: string;
451
450
  label: string | null;
451
+ enabled: boolean;
452
452
  cronExpression: string | null;
453
453
  timezone: string | null;
454
454
  signingMode: string | null;
@@ -456,7 +456,6 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
456
456
  }[];
457
457
  } | null;
458
458
  status: string | null;
459
- path: string;
460
459
  identifier: string | null;
461
460
  title: string;
462
461
  description: string | null;
@@ -465,6 +464,7 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
465
464
  assigneeAgentRuntimeOverrides: Record<string, unknown> | null;
466
465
  executionWorkspaceSettings: Record<string, unknown> | null;
467
466
  labelIds: string[];
467
+ path: string;
468
468
  metadata: Record<string, unknown> | null;
469
469
  slug: string;
470
470
  projectSlug: string | null;
@@ -477,9 +477,9 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
477
477
  concurrencyPolicy: string | null;
478
478
  catchUpPolicy: string | null;
479
479
  triggers?: {
480
- enabled: boolean;
481
480
  kind: string;
482
481
  label: string | null;
482
+ enabled: boolean;
483
483
  cronExpression: string | null;
484
484
  timezone: string | null;
485
485
  signingMode: string | null;
@@ -487,7 +487,6 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
487
487
  }[] | undefined;
488
488
  } | null;
489
489
  status: string | null;
490
- path: string;
491
490
  identifier: string | null;
492
491
  title: string;
493
492
  description: string | null;
@@ -495,6 +494,7 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
495
494
  billingCode: string | null;
496
495
  assigneeAgentRuntimeOverrides: Record<string, unknown> | null;
497
496
  executionWorkspaceSettings: Record<string, unknown> | null;
497
+ path: string;
498
498
  metadata: Record<string, unknown> | null;
499
499
  slug: string;
500
500
  projectSlug: string | null;
@@ -544,16 +544,16 @@ export declare const portabilityManifestSchema: z.ZodObject<{
544
544
  logoPath: z.ZodNullable<z.ZodString>;
545
545
  requireBoardApprovalForNewAgents: z.ZodBoolean;
546
546
  }, "strip", z.ZodTypeAny, {
547
- path: string;
548
547
  name: string;
549
548
  description: string | null;
549
+ path: string;
550
550
  brandColor: string | null;
551
551
  logoPath: string | null;
552
552
  requireBoardApprovalForNewAgents: boolean;
553
553
  }, {
554
- path: string;
555
554
  name: string;
556
555
  description: string | null;
556
+ path: string;
557
557
  brandColor: string | null;
558
558
  logoPath: string | null;
559
559
  requireBoardApprovalForNewAgents: boolean;
@@ -585,9 +585,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
585
585
  budgetMonthlyCents: z.ZodNumber;
586
586
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
587
587
  }, "strip", z.ZodTypeAny, {
588
- path: string;
589
588
  name: string;
590
589
  title: string | null;
590
+ path: string;
591
591
  agentRuntimeType: string;
592
592
  skills: string[];
593
593
  metadata: Record<string, unknown> | null;
@@ -601,9 +601,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
601
601
  permissions: Record<string, unknown>;
602
602
  budgetMonthlyCents: number;
603
603
  }, {
604
- path: string;
605
604
  name: string;
606
605
  title: string | null;
606
+ path: string;
607
607
  agentRuntimeType: string;
608
608
  metadata: Record<string, unknown> | null;
609
609
  icon: string | null;
@@ -633,16 +633,16 @@ export declare const portabilityManifestSchema: z.ZodObject<{
633
633
  path: z.ZodString;
634
634
  kind: z.ZodString;
635
635
  }, "strip", z.ZodTypeAny, {
636
- path: string;
637
636
  kind: string;
638
- }, {
639
637
  path: string;
638
+ }, {
640
639
  kind: string;
640
+ path: string;
641
641
  }>, "many">>;
642
642
  }, "strip", z.ZodTypeAny, {
643
- path: string;
644
643
  name: string;
645
644
  description: string | null;
645
+ path: string;
646
646
  key: string;
647
647
  metadata: Record<string, unknown> | null;
648
648
  slug: string;
@@ -652,13 +652,13 @@ export declare const portabilityManifestSchema: z.ZodObject<{
652
652
  trustLevel: string | null;
653
653
  compatibility: string | null;
654
654
  fileInventory: {
655
- path: string;
656
655
  kind: string;
656
+ path: string;
657
657
  }[];
658
658
  }, {
659
- path: string;
660
659
  name: string;
661
660
  description: string | null;
661
+ path: string;
662
662
  key: string;
663
663
  metadata: Record<string, unknown> | null;
664
664
  slug: string;
@@ -668,8 +668,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
668
668
  trustLevel: string | null;
669
669
  compatibility: string | null;
670
670
  fileInventory?: {
671
- path: string;
672
671
  kind: string;
672
+ path: string;
673
673
  }[] | undefined;
674
674
  }>, "many">>;
675
675
  projects: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -723,9 +723,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
723
723
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
724
724
  }, "strip", z.ZodTypeAny, {
725
725
  status: string | null;
726
- path: string;
727
726
  name: string;
728
727
  description: string | null;
728
+ path: string;
729
729
  metadata: Record<string, unknown> | null;
730
730
  slug: string;
731
731
  ownerAgentSlug: string | null;
@@ -748,9 +748,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
748
748
  }[];
749
749
  }, {
750
750
  status: string | null;
751
- path: string;
752
751
  name: string;
753
752
  description: string | null;
753
+ path: string;
754
754
  metadata: Record<string, unknown> | null;
755
755
  slug: string;
756
756
  ownerAgentSlug: string | null;
@@ -794,17 +794,17 @@ export declare const portabilityManifestSchema: z.ZodObject<{
794
794
  signingMode: z.ZodNullable<z.ZodString>;
795
795
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
796
796
  }, "strip", z.ZodTypeAny, {
797
- enabled: boolean;
798
797
  kind: string;
799
798
  label: string | null;
799
+ enabled: boolean;
800
800
  cronExpression: string | null;
801
801
  timezone: string | null;
802
802
  signingMode: string | null;
803
803
  replayWindowSec: number | null;
804
804
  }, {
805
- enabled: boolean;
806
805
  kind: string;
807
806
  label: string | null;
807
+ enabled: boolean;
808
808
  cronExpression: string | null;
809
809
  timezone: string | null;
810
810
  signingMode: string | null;
@@ -814,9 +814,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
814
814
  concurrencyPolicy: string | null;
815
815
  catchUpPolicy: string | null;
816
816
  triggers: {
817
- enabled: boolean;
818
817
  kind: string;
819
818
  label: string | null;
819
+ enabled: boolean;
820
820
  cronExpression: string | null;
821
821
  timezone: string | null;
822
822
  signingMode: string | null;
@@ -826,9 +826,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
826
826
  concurrencyPolicy: string | null;
827
827
  catchUpPolicy: string | null;
828
828
  triggers?: {
829
- enabled: boolean;
830
829
  kind: string;
831
830
  label: string | null;
831
+ enabled: boolean;
832
832
  cronExpression: string | null;
833
833
  timezone: string | null;
834
834
  signingMode: string | null;
@@ -848,9 +848,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
848
848
  concurrencyPolicy: string | null;
849
849
  catchUpPolicy: string | null;
850
850
  triggers: {
851
- enabled: boolean;
852
851
  kind: string;
853
852
  label: string | null;
853
+ enabled: boolean;
854
854
  cronExpression: string | null;
855
855
  timezone: string | null;
856
856
  signingMode: string | null;
@@ -858,7 +858,6 @@ export declare const portabilityManifestSchema: z.ZodObject<{
858
858
  }[];
859
859
  } | null;
860
860
  status: string | null;
861
- path: string;
862
861
  identifier: string | null;
863
862
  title: string;
864
863
  description: string | null;
@@ -867,6 +866,7 @@ export declare const portabilityManifestSchema: z.ZodObject<{
867
866
  assigneeAgentRuntimeOverrides: Record<string, unknown> | null;
868
867
  executionWorkspaceSettings: Record<string, unknown> | null;
869
868
  labelIds: string[];
869
+ path: string;
870
870
  metadata: Record<string, unknown> | null;
871
871
  slug: string;
872
872
  projectSlug: string | null;
@@ -879,9 +879,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
879
879
  concurrencyPolicy: string | null;
880
880
  catchUpPolicy: string | null;
881
881
  triggers?: {
882
- enabled: boolean;
883
882
  kind: string;
884
883
  label: string | null;
884
+ enabled: boolean;
885
885
  cronExpression: string | null;
886
886
  timezone: string | null;
887
887
  signingMode: string | null;
@@ -889,7 +889,6 @@ export declare const portabilityManifestSchema: z.ZodObject<{
889
889
  }[] | undefined;
890
890
  } | null;
891
891
  status: string | null;
892
- path: string;
893
892
  identifier: string | null;
894
893
  title: string;
895
894
  description: string | null;
@@ -897,6 +896,7 @@ export declare const portabilityManifestSchema: z.ZodObject<{
897
896
  billingCode: string | null;
898
897
  assigneeAgentRuntimeOverrides: Record<string, unknown> | null;
899
898
  executionWorkspaceSettings: Record<string, unknown> | null;
899
+ path: string;
900
900
  metadata: Record<string, unknown> | null;
901
901
  slug: string;
902
902
  projectSlug: string | null;
@@ -937,9 +937,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
937
937
  concurrencyPolicy: string | null;
938
938
  catchUpPolicy: string | null;
939
939
  triggers: {
940
- enabled: boolean;
941
940
  kind: string;
942
941
  label: string | null;
942
+ enabled: boolean;
943
943
  cronExpression: string | null;
944
944
  timezone: string | null;
945
945
  signingMode: string | null;
@@ -947,7 +947,6 @@ export declare const portabilityManifestSchema: z.ZodObject<{
947
947
  }[];
948
948
  } | null;
949
949
  status: string | null;
950
- path: string;
951
950
  identifier: string | null;
952
951
  title: string;
953
952
  description: string | null;
@@ -956,6 +955,7 @@ export declare const portabilityManifestSchema: z.ZodObject<{
956
955
  assigneeAgentRuntimeOverrides: Record<string, unknown> | null;
957
956
  executionWorkspaceSettings: Record<string, unknown> | null;
958
957
  labelIds: string[];
958
+ path: string;
959
959
  metadata: Record<string, unknown> | null;
960
960
  slug: string;
961
961
  projectSlug: string | null;
@@ -965,9 +965,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
965
965
  legacyRecurrence: Record<string, unknown> | null;
966
966
  }[];
967
967
  organization: {
968
- path: string;
969
968
  name: string;
970
969
  description: string | null;
970
+ path: string;
971
971
  brandColor: string | null;
972
972
  logoPath: string | null;
973
973
  requireBoardApprovalForNewAgents: boolean;
@@ -977,9 +977,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
977
977
  projects: string[];
978
978
  } | null;
979
979
  agents: {
980
- path: string;
981
980
  name: string;
982
981
  title: string | null;
982
+ path: string;
983
983
  agentRuntimeType: string;
984
984
  skills: string[];
985
985
  metadata: Record<string, unknown> | null;
@@ -995,9 +995,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
995
995
  }[];
996
996
  projects: {
997
997
  status: string | null;
998
- path: string;
999
998
  name: string;
1000
999
  description: string | null;
1000
+ path: string;
1001
1001
  metadata: Record<string, unknown> | null;
1002
1002
  slug: string;
1003
1003
  ownerAgentSlug: string | null;
@@ -1026,14 +1026,10 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1026
1026
  projects: boolean;
1027
1027
  skills: boolean;
1028
1028
  };
1029
- source: {
1030
- orgId: string;
1031
- organizationName: string;
1032
- } | null;
1033
1029
  skills: {
1034
- path: string;
1035
1030
  name: string;
1036
1031
  description: string | null;
1032
+ path: string;
1037
1033
  key: string;
1038
1034
  metadata: Record<string, unknown> | null;
1039
1035
  slug: string;
@@ -1043,12 +1039,16 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1043
1039
  trustLevel: string | null;
1044
1040
  compatibility: string | null;
1045
1041
  fileInventory: {
1046
- path: string;
1047
1042
  kind: string;
1043
+ path: string;
1048
1044
  }[];
1049
1045
  }[];
1050
1046
  schemaVersion: number;
1051
1047
  generatedAt: string;
1048
+ source: {
1049
+ orgId: string;
1050
+ organizationName: string;
1051
+ } | null;
1052
1052
  envInputs: {
1053
1053
  kind: "secret" | "plain";
1054
1054
  description: string | null;
@@ -1060,9 +1060,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1060
1060
  }[];
1061
1061
  }, {
1062
1062
  organization: {
1063
- path: string;
1064
1063
  name: string;
1065
1064
  description: string | null;
1065
+ path: string;
1066
1066
  brandColor: string | null;
1067
1067
  logoPath: string | null;
1068
1068
  requireBoardApprovalForNewAgents: boolean;
@@ -1072,9 +1072,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1072
1072
  projects?: string[] | undefined;
1073
1073
  } | null;
1074
1074
  agents: {
1075
- path: string;
1076
1075
  name: string;
1077
1076
  title: string | null;
1077
+ path: string;
1078
1078
  agentRuntimeType: string;
1079
1079
  metadata: Record<string, unknown> | null;
1080
1080
  icon: string | null;
@@ -1095,20 +1095,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1095
1095
  projects: boolean;
1096
1096
  skills: boolean;
1097
1097
  };
1098
+ schemaVersion: number;
1099
+ generatedAt: string;
1098
1100
  source: {
1099
1101
  orgId: string;
1100
1102
  organizationName: string;
1101
1103
  } | null;
1102
- schemaVersion: number;
1103
- generatedAt: string;
1104
1104
  issues?: {
1105
1105
  automation: {
1106
1106
  concurrencyPolicy: string | null;
1107
1107
  catchUpPolicy: string | null;
1108
1108
  triggers?: {
1109
- enabled: boolean;
1110
1109
  kind: string;
1111
1110
  label: string | null;
1111
+ enabled: boolean;
1112
1112
  cronExpression: string | null;
1113
1113
  timezone: string | null;
1114
1114
  signingMode: string | null;
@@ -1116,7 +1116,6 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1116
1116
  }[] | undefined;
1117
1117
  } | null;
1118
1118
  status: string | null;
1119
- path: string;
1120
1119
  identifier: string | null;
1121
1120
  title: string;
1122
1121
  description: string | null;
@@ -1124,6 +1123,7 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1124
1123
  billingCode: string | null;
1125
1124
  assigneeAgentRuntimeOverrides: Record<string, unknown> | null;
1126
1125
  executionWorkspaceSettings: Record<string, unknown> | null;
1126
+ path: string;
1127
1127
  metadata: Record<string, unknown> | null;
1128
1128
  slug: string;
1129
1129
  projectSlug: string | null;
@@ -1135,9 +1135,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1135
1135
  }[] | undefined;
1136
1136
  projects?: {
1137
1137
  status: string | null;
1138
- path: string;
1139
1138
  name: string;
1140
1139
  description: string | null;
1140
+ path: string;
1141
1141
  metadata: Record<string, unknown> | null;
1142
1142
  slug: string;
1143
1143
  ownerAgentSlug: string | null;
@@ -1160,9 +1160,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1160
1160
  }[] | undefined;
1161
1161
  }[] | undefined;
1162
1162
  skills?: {
1163
- path: string;
1164
1163
  name: string;
1165
1164
  description: string | null;
1165
+ path: string;
1166
1166
  key: string;
1167
1167
  metadata: Record<string, unknown> | null;
1168
1168
  slug: string;
@@ -1172,8 +1172,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1172
1172
  trustLevel: string | null;
1173
1173
  compatibility: string | null;
1174
1174
  fileInventory?: {
1175
- path: string;
1176
1175
  kind: string;
1176
+ path: string;
1177
1177
  }[] | undefined;
1178
1178
  }[] | undefined;
1179
1179
  envInputs?: {
@@ -1241,11 +1241,11 @@ export declare const portabilityTargetSchema: z.ZodDiscriminatedUnion<"mode", [z
1241
1241
  mode: z.ZodLiteral<"existing_organization">;
1242
1242
  orgId: z.ZodString;
1243
1243
  }, "strip", z.ZodTypeAny, {
1244
- mode: "existing_organization";
1245
1244
  orgId: string;
1246
- }, {
1247
1245
  mode: "existing_organization";
1246
+ }, {
1248
1247
  orgId: string;
1248
+ mode: "existing_organization";
1249
1249
  }>]>;
1250
1250
  export declare const portabilityAgentSelectionSchema: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>;
1251
1251
  export declare const portabilityCollisionStrategySchema: z.ZodEnum<["rename", "skip", "replace"]>;
@@ -1401,11 +1401,11 @@ export declare const organizationPortabilityPreviewSchema: z.ZodObject<{
1401
1401
  mode: z.ZodLiteral<"existing_organization">;
1402
1402
  orgId: z.ZodString;
1403
1403
  }, "strip", z.ZodTypeAny, {
1404
- mode: "existing_organization";
1405
1404
  orgId: string;
1406
- }, {
1407
1405
  mode: "existing_organization";
1406
+ }, {
1408
1407
  orgId: string;
1408
+ mode: "existing_organization";
1409
1409
  }>]>;
1410
1410
  agents: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>>;
1411
1411
  collisionStrategy: z.ZodOptional<z.ZodEnum<["rename", "skip", "replace"]>>;
@@ -1416,8 +1416,8 @@ export declare const organizationPortabilityPreviewSchema: z.ZodObject<{
1416
1416
  mode: "new_organization";
1417
1417
  newOrganizationName?: string | null | undefined;
1418
1418
  } | {
1419
- mode: "existing_organization";
1420
1419
  orgId: string;
1420
+ mode: "existing_organization";
1421
1421
  };
1422
1422
  source: {
1423
1423
  type: "inline";
@@ -1447,8 +1447,8 @@ export declare const organizationPortabilityPreviewSchema: z.ZodObject<{
1447
1447
  mode: "new_organization";
1448
1448
  newOrganizationName?: string | null | undefined;
1449
1449
  } | {
1450
- mode: "existing_organization";
1451
1450
  orgId: string;
1451
+ mode: "existing_organization";
1452
1452
  };
1453
1453
  source: {
1454
1454
  type: "inline";
@@ -1560,11 +1560,11 @@ export declare const organizationPortabilityImportSchema: z.ZodObject<{
1560
1560
  mode: z.ZodLiteral<"existing_organization">;
1561
1561
  orgId: z.ZodString;
1562
1562
  }, "strip", z.ZodTypeAny, {
1563
- mode: "existing_organization";
1564
1563
  orgId: string;
1565
- }, {
1566
1564
  mode: "existing_organization";
1565
+ }, {
1567
1566
  orgId: string;
1567
+ mode: "existing_organization";
1568
1568
  }>]>;
1569
1569
  agents: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>>;
1570
1570
  collisionStrategy: z.ZodOptional<z.ZodEnum<["rename", "skip", "replace"]>>;
@@ -1586,8 +1586,8 @@ export declare const organizationPortabilityImportSchema: z.ZodObject<{
1586
1586
  mode: "new_organization";
1587
1587
  newOrganizationName?: string | null | undefined;
1588
1588
  } | {
1589
- mode: "existing_organization";
1590
1589
  orgId: string;
1590
+ mode: "existing_organization";
1591
1591
  };
1592
1592
  source: {
1593
1593
  type: "inline";
@@ -1621,8 +1621,8 @@ export declare const organizationPortabilityImportSchema: z.ZodObject<{
1621
1621
  mode: "new_organization";
1622
1622
  newOrganizationName?: string | null | undefined;
1623
1623
  } | {
1624
- mode: "existing_organization";
1625
1624
  orgId: string;
1625
+ mode: "existing_organization";
1626
1626
  };
1627
1627
  source: {
1628
1628
  type: "inline";