@rudderhq/shared 0.3.6-canary.8 → 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
@@ -7,11 +7,11 @@ export declare const organizationSkillFileInventoryEntrySchema: z.ZodObject<{
7
7
  path: z.ZodString;
8
8
  kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- path: string;
11
10
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
12
- }, {
13
11
  path: string;
12
+ }, {
14
13
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
14
+ path: string;
15
15
  }>;
16
16
  export declare const organizationSkillSchema: z.ZodObject<{
17
17
  id: z.ZodString;
@@ -30,20 +30,20 @@ export declare const organizationSkillSchema: z.ZodObject<{
30
30
  path: z.ZodString;
31
31
  kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- path: string;
34
33
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
35
- }, {
36
34
  path: string;
35
+ }, {
37
36
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
37
+ path: string;
38
38
  }>, "many">>;
39
39
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40
40
  createdAt: z.ZodDate;
41
41
  updatedAt: z.ZodDate;
42
42
  }, "strip", z.ZodTypeAny, {
43
- updatedAt: Date;
44
43
  id: string;
45
44
  orgId: string;
46
45
  createdAt: Date;
46
+ updatedAt: Date;
47
47
  name: string;
48
48
  description: string | null;
49
49
  markdown: string;
@@ -56,14 +56,14 @@ export declare const organizationSkillSchema: z.ZodObject<{
56
56
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
57
57
  compatibility: "invalid" | "unknown" | "compatible";
58
58
  fileInventory: {
59
- path: string;
60
59
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
60
+ path: string;
61
61
  }[];
62
62
  }, {
63
- updatedAt: Date;
64
63
  id: string;
65
64
  orgId: string;
66
65
  createdAt: Date;
66
+ updatedAt: Date;
67
67
  name: string;
68
68
  description: string | null;
69
69
  markdown: string;
@@ -76,8 +76,8 @@ export declare const organizationSkillSchema: z.ZodObject<{
76
76
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
77
77
  compatibility: "invalid" | "unknown" | "compatible";
78
78
  fileInventory?: {
79
- path: string;
80
79
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
80
+ path: string;
81
81
  }[] | undefined;
82
82
  }>;
83
83
  export declare const organizationSkillListItemSchema: z.ZodObject<{
@@ -97,11 +97,11 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
97
97
  path: z.ZodString;
98
98
  kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
99
99
  }, "strip", z.ZodTypeAny, {
100
- path: string;
101
100
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
102
- }, {
103
101
  path: string;
102
+ }, {
104
103
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
104
+ path: string;
105
105
  }>, "many">>;
106
106
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
107
107
  createdAt: z.ZodDate;
@@ -115,10 +115,10 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
115
115
  sourcePath: z.ZodNullable<z.ZodString>;
116
116
  workspaceEditPath: z.ZodNullable<z.ZodString>;
117
117
  }, "strip", z.ZodTypeAny, {
118
- updatedAt: Date;
119
118
  id: string;
120
119
  orgId: string;
121
120
  createdAt: Date;
121
+ updatedAt: Date;
122
122
  name: string;
123
123
  description: string | null;
124
124
  markdown: string;
@@ -133,8 +133,8 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
133
133
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
134
134
  compatibility: "invalid" | "unknown" | "compatible";
135
135
  fileInventory: {
136
- path: string;
137
136
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
137
+ path: string;
138
138
  }[];
139
139
  attachedAgentCount: number;
140
140
  editable: boolean;
@@ -142,10 +142,10 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
142
142
  sourceLabel: string | null;
143
143
  sourceBadge: "url" | "rudder" | "github" | "catalog" | "skills_sh" | "community" | "local";
144
144
  }, {
145
- updatedAt: Date;
146
145
  id: string;
147
146
  orgId: string;
148
147
  createdAt: Date;
148
+ updatedAt: Date;
149
149
  name: string;
150
150
  description: string | null;
151
151
  markdown: string;
@@ -165,8 +165,8 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
165
165
  sourceLabel: string | null;
166
166
  sourceBadge: "url" | "rudder" | "github" | "catalog" | "skills_sh" | "community" | "local";
167
167
  fileInventory?: {
168
- path: string;
169
168
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
169
+ path: string;
170
170
  }[] | undefined;
171
171
  }>;
172
172
  export declare const organizationSkillUsageAgentSchema: z.ZodObject<{
@@ -208,11 +208,11 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
208
208
  path: z.ZodString;
209
209
  kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
210
210
  }, "strip", z.ZodTypeAny, {
211
- path: string;
212
211
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
213
- }, {
214
212
  path: string;
213
+ }, {
215
214
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
215
+ path: string;
216
216
  }>, "many">>;
217
217
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
218
218
  createdAt: z.ZodDate;
@@ -248,10 +248,10 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
248
248
  sourcePath: z.ZodNullable<z.ZodString>;
249
249
  workspaceEditPath: z.ZodNullable<z.ZodString>;
250
250
  }, "strip", z.ZodTypeAny, {
251
- updatedAt: Date;
252
251
  id: string;
253
252
  orgId: string;
254
253
  createdAt: Date;
254
+ updatedAt: Date;
255
255
  name: string;
256
256
  description: string | null;
257
257
  markdown: string;
@@ -266,8 +266,8 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
266
266
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
267
267
  compatibility: "invalid" | "unknown" | "compatible";
268
268
  fileInventory: {
269
- path: string;
270
269
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
270
+ path: string;
271
271
  }[];
272
272
  attachedAgentCount: number;
273
273
  editable: boolean;
@@ -283,10 +283,10 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
283
283
  actualState: string | null;
284
284
  }[];
285
285
  }, {
286
- updatedAt: Date;
287
286
  id: string;
288
287
  orgId: string;
289
288
  createdAt: Date;
289
+ updatedAt: Date;
290
290
  name: string;
291
291
  description: string | null;
292
292
  markdown: string;
@@ -306,8 +306,8 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
306
306
  sourceLabel: string | null;
307
307
  sourceBadge: "url" | "rudder" | "github" | "catalog" | "skills_sh" | "community" | "local";
308
308
  fileInventory?: {
309
- path: string;
310
309
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
310
+ path: string;
311
311
  }[] | undefined;
312
312
  usedByAgents?: {
313
313
  id: string;
@@ -365,15 +365,15 @@ export declare const organizationSkillProjectScanSkippedSchema: z.ZodObject<{
365
365
  path: z.ZodNullable<z.ZodString>;
366
366
  reason: z.ZodString;
367
367
  }, "strip", z.ZodTypeAny, {
368
- path: string | null;
369
368
  projectId: string;
369
+ path: string | null;
370
370
  reason: string;
371
371
  projectName: string;
372
372
  workspaceId: string | null;
373
373
  workspaceName: string | null;
374
374
  }, {
375
- path: string | null;
376
375
  projectId: string;
376
+ path: string | null;
377
377
  reason: string;
378
378
  projectName: string;
379
379
  workspaceId: string | null;
@@ -392,8 +392,8 @@ export declare const organizationSkillProjectScanConflictSchema: z.ZodObject<{
392
392
  existingSourceLocator: z.ZodNullable<z.ZodString>;
393
393
  reason: z.ZodString;
394
394
  }, "strip", z.ZodTypeAny, {
395
- path: string;
396
395
  projectId: string;
396
+ path: string;
397
397
  key: string;
398
398
  slug: string;
399
399
  reason: string;
@@ -404,8 +404,8 @@ export declare const organizationSkillProjectScanConflictSchema: z.ZodObject<{
404
404
  existingSkillKey: string;
405
405
  existingSourceLocator: string | null;
406
406
  }, {
407
- path: string;
408
407
  projectId: string;
408
+ path: string;
409
409
  key: string;
410
410
  slug: string;
411
411
  reason: string;
@@ -437,20 +437,20 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
437
437
  path: z.ZodString;
438
438
  kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
439
439
  }, "strip", z.ZodTypeAny, {
440
- path: string;
441
440
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
442
- }, {
443
441
  path: string;
442
+ }, {
444
443
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
444
+ path: string;
445
445
  }>, "many">>;
446
446
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
447
447
  createdAt: z.ZodDate;
448
448
  updatedAt: z.ZodDate;
449
449
  }, "strip", z.ZodTypeAny, {
450
- updatedAt: Date;
451
450
  id: string;
452
451
  orgId: string;
453
452
  createdAt: Date;
453
+ updatedAt: Date;
454
454
  name: string;
455
455
  description: string | null;
456
456
  markdown: string;
@@ -463,14 +463,14 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
463
463
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
464
464
  compatibility: "invalid" | "unknown" | "compatible";
465
465
  fileInventory: {
466
- path: string;
467
466
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
467
+ path: string;
468
468
  }[];
469
469
  }, {
470
- updatedAt: Date;
471
470
  id: string;
472
471
  orgId: string;
473
472
  createdAt: Date;
473
+ updatedAt: Date;
474
474
  name: string;
475
475
  description: string | null;
476
476
  markdown: string;
@@ -483,8 +483,8 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
483
483
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
484
484
  compatibility: "invalid" | "unknown" | "compatible";
485
485
  fileInventory?: {
486
- path: string;
487
486
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
487
+ path: string;
488
488
  }[] | undefined;
489
489
  }>, "many">;
490
490
  updated: z.ZodArray<z.ZodObject<{
@@ -504,20 +504,20 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
504
504
  path: z.ZodString;
505
505
  kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
506
506
  }, "strip", z.ZodTypeAny, {
507
- path: string;
508
507
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
509
- }, {
510
508
  path: string;
509
+ }, {
511
510
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
511
+ path: string;
512
512
  }>, "many">>;
513
513
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
514
514
  createdAt: z.ZodDate;
515
515
  updatedAt: z.ZodDate;
516
516
  }, "strip", z.ZodTypeAny, {
517
- updatedAt: Date;
518
517
  id: string;
519
518
  orgId: string;
520
519
  createdAt: Date;
520
+ updatedAt: Date;
521
521
  name: string;
522
522
  description: string | null;
523
523
  markdown: string;
@@ -530,14 +530,14 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
530
530
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
531
531
  compatibility: "invalid" | "unknown" | "compatible";
532
532
  fileInventory: {
533
- path: string;
534
533
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
534
+ path: string;
535
535
  }[];
536
536
  }, {
537
- updatedAt: Date;
538
537
  id: string;
539
538
  orgId: string;
540
539
  createdAt: Date;
540
+ updatedAt: Date;
541
541
  name: string;
542
542
  description: string | null;
543
543
  markdown: string;
@@ -550,8 +550,8 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
550
550
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
551
551
  compatibility: "invalid" | "unknown" | "compatible";
552
552
  fileInventory?: {
553
- path: string;
554
553
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
554
+ path: string;
555
555
  }[] | undefined;
556
556
  }>, "many">;
557
557
  skipped: z.ZodArray<z.ZodObject<{
@@ -562,15 +562,15 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
562
562
  path: z.ZodNullable<z.ZodString>;
563
563
  reason: z.ZodString;
564
564
  }, "strip", z.ZodTypeAny, {
565
- path: string | null;
566
565
  projectId: string;
566
+ path: string | null;
567
567
  reason: string;
568
568
  projectName: string;
569
569
  workspaceId: string | null;
570
570
  workspaceName: string | null;
571
571
  }, {
572
- path: string | null;
573
572
  projectId: string;
573
+ path: string | null;
574
574
  reason: string;
575
575
  projectName: string;
576
576
  workspaceId: string | null;
@@ -589,8 +589,8 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
589
589
  existingSourceLocator: z.ZodNullable<z.ZodString>;
590
590
  reason: z.ZodString;
591
591
  }, "strip", z.ZodTypeAny, {
592
- path: string;
593
592
  projectId: string;
593
+ path: string;
594
594
  key: string;
595
595
  slug: string;
596
596
  reason: string;
@@ -601,8 +601,8 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
601
601
  existingSkillKey: string;
602
602
  existingSourceLocator: string | null;
603
603
  }, {
604
- path: string;
605
604
  projectId: string;
605
+ path: string;
606
606
  key: string;
607
607
  slug: string;
608
608
  reason: string;
@@ -616,10 +616,10 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
616
616
  warnings: z.ZodArray<z.ZodString, "many">;
617
617
  }, "strip", z.ZodTypeAny, {
618
618
  imported: {
619
- updatedAt: Date;
620
619
  id: string;
621
620
  orgId: string;
622
621
  createdAt: Date;
622
+ updatedAt: Date;
623
623
  name: string;
624
624
  description: string | null;
625
625
  markdown: string;
@@ -632,23 +632,23 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
632
632
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
633
633
  compatibility: "invalid" | "unknown" | "compatible";
634
634
  fileInventory: {
635
- path: string;
636
635
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
636
+ path: string;
637
637
  }[];
638
638
  }[];
639
639
  skipped: {
640
- path: string | null;
641
640
  projectId: string;
641
+ path: string | null;
642
642
  reason: string;
643
643
  projectName: string;
644
644
  workspaceId: string | null;
645
645
  workspaceName: string | null;
646
646
  }[];
647
647
  updated: {
648
- updatedAt: Date;
649
648
  id: string;
650
649
  orgId: string;
651
650
  createdAt: Date;
651
+ updatedAt: Date;
652
652
  name: string;
653
653
  description: string | null;
654
654
  markdown: string;
@@ -661,8 +661,8 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
661
661
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
662
662
  compatibility: "invalid" | "unknown" | "compatible";
663
663
  fileInventory: {
664
- path: string;
665
664
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
665
+ path: string;
666
666
  }[];
667
667
  }[];
668
668
  warnings: string[];
@@ -670,8 +670,8 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
670
670
  scannedWorkspaces: number;
671
671
  discovered: number;
672
672
  conflicts: {
673
- path: string;
674
673
  projectId: string;
674
+ path: string;
675
675
  key: string;
676
676
  slug: string;
677
677
  reason: string;
@@ -684,10 +684,10 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
684
684
  }[];
685
685
  }, {
686
686
  imported: {
687
- updatedAt: Date;
688
687
  id: string;
689
688
  orgId: string;
690
689
  createdAt: Date;
690
+ updatedAt: Date;
691
691
  name: string;
692
692
  description: string | null;
693
693
  markdown: string;
@@ -700,23 +700,23 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
700
700
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
701
701
  compatibility: "invalid" | "unknown" | "compatible";
702
702
  fileInventory?: {
703
- path: string;
704
703
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
704
+ path: string;
705
705
  }[] | undefined;
706
706
  }[];
707
707
  skipped: {
708
- path: string | null;
709
708
  projectId: string;
709
+ path: string | null;
710
710
  reason: string;
711
711
  projectName: string;
712
712
  workspaceId: string | null;
713
713
  workspaceName: string | null;
714
714
  }[];
715
715
  updated: {
716
- updatedAt: Date;
717
716
  id: string;
718
717
  orgId: string;
719
718
  createdAt: Date;
719
+ updatedAt: Date;
720
720
  name: string;
721
721
  description: string | null;
722
722
  markdown: string;
@@ -729,8 +729,8 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
729
729
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
730
730
  compatibility: "invalid" | "unknown" | "compatible";
731
731
  fileInventory?: {
732
- path: string;
733
732
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
733
+ path: string;
734
734
  }[] | undefined;
735
735
  }[];
736
736
  warnings: string[];
@@ -738,8 +738,8 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
738
738
  scannedWorkspaces: number;
739
739
  discovered: number;
740
740
  conflicts: {
741
- path: string;
742
741
  projectId: string;
742
+ path: string;
743
743
  key: string;
744
744
  slug: string;
745
745
  reason: string;
@@ -819,20 +819,20 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
819
819
  path: z.ZodString;
820
820
  kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
821
821
  }, "strip", z.ZodTypeAny, {
822
- path: string;
823
822
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
824
- }, {
825
823
  path: string;
824
+ }, {
826
825
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
826
+ path: string;
827
827
  }>, "many">>;
828
828
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
829
829
  createdAt: z.ZodDate;
830
830
  updatedAt: z.ZodDate;
831
831
  }, "strip", z.ZodTypeAny, {
832
- updatedAt: Date;
833
832
  id: string;
834
833
  orgId: string;
835
834
  createdAt: Date;
835
+ updatedAt: Date;
836
836
  name: string;
837
837
  description: string | null;
838
838
  markdown: string;
@@ -845,14 +845,14 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
845
845
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
846
846
  compatibility: "invalid" | "unknown" | "compatible";
847
847
  fileInventory: {
848
- path: string;
849
848
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
849
+ path: string;
850
850
  }[];
851
851
  }, {
852
- updatedAt: Date;
853
852
  id: string;
854
853
  orgId: string;
855
854
  createdAt: Date;
855
+ updatedAt: Date;
856
856
  name: string;
857
857
  description: string | null;
858
858
  markdown: string;
@@ -865,8 +865,8 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
865
865
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
866
866
  compatibility: "invalid" | "unknown" | "compatible";
867
867
  fileInventory?: {
868
- path: string;
869
868
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
869
+ path: string;
870
870
  }[] | undefined;
871
871
  }>, "many">;
872
872
  updated: z.ZodArray<z.ZodObject<{
@@ -886,20 +886,20 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
886
886
  path: z.ZodString;
887
887
  kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
888
888
  }, "strip", z.ZodTypeAny, {
889
- path: string;
890
889
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
891
- }, {
892
890
  path: string;
891
+ }, {
893
892
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
893
+ path: string;
894
894
  }>, "many">>;
895
895
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
896
896
  createdAt: z.ZodDate;
897
897
  updatedAt: z.ZodDate;
898
898
  }, "strip", z.ZodTypeAny, {
899
- updatedAt: Date;
900
899
  id: string;
901
900
  orgId: string;
902
901
  createdAt: Date;
902
+ updatedAt: Date;
903
903
  name: string;
904
904
  description: string | null;
905
905
  markdown: string;
@@ -912,14 +912,14 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
912
912
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
913
913
  compatibility: "invalid" | "unknown" | "compatible";
914
914
  fileInventory: {
915
- path: string;
916
915
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
916
+ path: string;
917
917
  }[];
918
918
  }, {
919
- updatedAt: Date;
920
919
  id: string;
921
920
  orgId: string;
922
921
  createdAt: Date;
922
+ updatedAt: Date;
923
923
  name: string;
924
924
  description: string | null;
925
925
  markdown: string;
@@ -932,8 +932,8 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
932
932
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
933
933
  compatibility: "invalid" | "unknown" | "compatible";
934
934
  fileInventory?: {
935
- path: string;
936
935
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
936
+ path: string;
937
937
  }[] | undefined;
938
938
  }>, "many">;
939
939
  skipped: z.ZodArray<z.ZodObject<{
@@ -980,10 +980,10 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
980
980
  warnings: z.ZodArray<z.ZodString, "many">;
981
981
  }, "strip", z.ZodTypeAny, {
982
982
  imported: {
983
- updatedAt: Date;
984
983
  id: string;
985
984
  orgId: string;
986
985
  createdAt: Date;
986
+ updatedAt: Date;
987
987
  name: string;
988
988
  description: string | null;
989
989
  markdown: string;
@@ -996,8 +996,8 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
996
996
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
997
997
  compatibility: "invalid" | "unknown" | "compatible";
998
998
  fileInventory: {
999
- path: string;
1000
999
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
1000
+ path: string;
1001
1001
  }[];
1002
1002
  }[];
1003
1003
  skipped: {
@@ -1006,10 +1006,10 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1006
1006
  root: string;
1007
1007
  }[];
1008
1008
  updated: {
1009
- updatedAt: Date;
1010
1009
  id: string;
1011
1010
  orgId: string;
1012
1011
  createdAt: Date;
1012
+ updatedAt: Date;
1013
1013
  name: string;
1014
1014
  description: string | null;
1015
1015
  markdown: string;
@@ -1022,8 +1022,8 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1022
1022
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
1023
1023
  compatibility: "invalid" | "unknown" | "compatible";
1024
1024
  fileInventory: {
1025
- path: string;
1026
1025
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
1026
+ path: string;
1027
1027
  }[];
1028
1028
  }[];
1029
1029
  warnings: string[];
@@ -1041,10 +1041,10 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1041
1041
  scannedRoots: number;
1042
1042
  }, {
1043
1043
  imported: {
1044
- updatedAt: Date;
1045
1044
  id: string;
1046
1045
  orgId: string;
1047
1046
  createdAt: Date;
1047
+ updatedAt: Date;
1048
1048
  name: string;
1049
1049
  description: string | null;
1050
1050
  markdown: string;
@@ -1057,8 +1057,8 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1057
1057
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
1058
1058
  compatibility: "invalid" | "unknown" | "compatible";
1059
1059
  fileInventory?: {
1060
- path: string;
1061
1060
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
1061
+ path: string;
1062
1062
  }[] | undefined;
1063
1063
  }[];
1064
1064
  skipped: {
@@ -1067,10 +1067,10 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1067
1067
  root: string;
1068
1068
  }[];
1069
1069
  updated: {
1070
- updatedAt: Date;
1071
1070
  id: string;
1072
1071
  orgId: string;
1073
1072
  createdAt: Date;
1073
+ updatedAt: Date;
1074
1074
  name: string;
1075
1075
  description: string | null;
1076
1076
  markdown: string;
@@ -1083,8 +1083,8 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1083
1083
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
1084
1084
  compatibility: "invalid" | "unknown" | "compatible";
1085
1085
  fileInventory?: {
1086
- path: string;
1087
1086
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
1087
+ path: string;
1088
1088
  }[] | undefined;
1089
1089
  }[];
1090
1090
  warnings: string[];
@@ -1126,17 +1126,17 @@ export declare const organizationSkillFileDetailSchema: z.ZodObject<{
1126
1126
  markdown: z.ZodBoolean;
1127
1127
  editable: z.ZodBoolean;
1128
1128
  }, "strip", z.ZodTypeAny, {
1129
- path: string;
1130
1129
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
1131
1130
  markdown: boolean;
1131
+ path: string;
1132
1132
  editable: boolean;
1133
1133
  skillId: string;
1134
1134
  content: string;
1135
1135
  language: string | null;
1136
1136
  }, {
1137
- path: string;
1138
1137
  kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
1139
1138
  markdown: boolean;
1139
+ path: string;
1140
1140
  editable: boolean;
1141
1141
  skillId: string;
1142
1142
  content: string;