@paperclipai/shared 2026.824.1 → 2026.825.0-beta.1

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 (276) hide show
  1. package/dist/adapter-auth-check-code.d.ts +13 -0
  2. package/dist/adapter-auth-check-code.d.ts.map +1 -0
  3. package/dist/adapter-auth-check-code.js +13 -0
  4. package/dist/adapter-auth-check-code.js.map +1 -0
  5. package/dist/adapter-auth-check-code.test.d.ts +2 -0
  6. package/dist/adapter-auth-check-code.test.d.ts.map +1 -0
  7. package/dist/adapter-auth-check-code.test.js +8 -0
  8. package/dist/adapter-auth-check-code.test.js.map +1 -0
  9. package/dist/company-import-transfer.d.ts +3 -37
  10. package/dist/company-import-transfer.d.ts.map +1 -1
  11. package/dist/config-schema.d.ts +130 -1570
  12. package/dist/config-schema.d.ts.map +1 -1
  13. package/dist/config-schema.js +3 -7
  14. package/dist/config-schema.js.map +1 -1
  15. package/dist/constants.d.ts +3 -2
  16. package/dist/constants.d.ts.map +1 -1
  17. package/dist/constants.js +3 -0
  18. package/dist/constants.js.map +1 -1
  19. package/dist/environment-support.d.ts +1 -1
  20. package/dist/environment-support.d.ts.map +1 -1
  21. package/dist/environment-support.js +3 -2
  22. package/dist/environment-support.js.map +1 -1
  23. package/dist/environment-support.test.js +19 -0
  24. package/dist/environment-support.test.js.map +1 -1
  25. package/dist/feature-catalog.d.ts +7 -17
  26. package/dist/feature-catalog.d.ts.map +1 -1
  27. package/dist/feature-catalog.js +9 -2
  28. package/dist/feature-catalog.js.map +1 -1
  29. package/dist/frontmatter.d.ts +3 -13
  30. package/dist/frontmatter.d.ts.map +1 -1
  31. package/dist/frontmatter.js +2 -2
  32. package/dist/frontmatter.js.map +1 -1
  33. package/dist/index.d.ts +7 -3
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +6 -2
  36. package/dist/index.js.map +1 -1
  37. package/dist/markdown-work-products.d.ts +26 -0
  38. package/dist/markdown-work-products.d.ts.map +1 -0
  39. package/dist/markdown-work-products.js +70 -0
  40. package/dist/markdown-work-products.js.map +1 -0
  41. package/dist/markdown-work-products.test.d.ts +2 -0
  42. package/dist/markdown-work-products.test.d.ts.map +1 -0
  43. package/dist/markdown-work-products.test.js +122 -0
  44. package/dist/markdown-work-products.test.js.map +1 -0
  45. package/dist/node-version.d.ts +6 -0
  46. package/dist/node-version.d.ts.map +1 -0
  47. package/dist/node-version.js +46 -0
  48. package/dist/node-version.js.map +1 -0
  49. package/dist/runtime-exposure/loopback-bind.d.ts +2 -2
  50. package/dist/runtime-exposure/loopback-bind.d.ts.map +1 -1
  51. package/dist/runtime-exposure/loopback-bind.js +3 -3
  52. package/dist/runtime-exposure/loopback-bind.js.map +1 -1
  53. package/dist/runtime-exposure/loopback-bind.test.js +11 -10
  54. package/dist/runtime-exposure/loopback-bind.test.js.map +1 -1
  55. package/dist/settings-visibility.d.ts +62 -0
  56. package/dist/settings-visibility.d.ts.map +1 -0
  57. package/dist/settings-visibility.js +102 -0
  58. package/dist/settings-visibility.js.map +1 -0
  59. package/dist/settings-visibility.test.d.ts +2 -0
  60. package/dist/settings-visibility.test.d.ts.map +1 -0
  61. package/dist/settings-visibility.test.js +51 -0
  62. package/dist/settings-visibility.test.js.map +1 -0
  63. package/dist/telemetry/generated/paperclip-telemetry.d.ts +4 -2
  64. package/dist/telemetry/generated/paperclip-telemetry.d.ts.map +1 -1
  65. package/dist/telemetry/generated/paperclip-telemetry.js +2 -0
  66. package/dist/telemetry/generated/paperclip-telemetry.js.map +1 -1
  67. package/dist/types/environment.d.ts +20 -0
  68. package/dist/types/environment.d.ts.map +1 -1
  69. package/dist/types/index.d.ts +5 -3
  70. package/dist/types/index.d.ts.map +1 -1
  71. package/dist/types/index.js +1 -0
  72. package/dist/types/index.js.map +1 -1
  73. package/dist/types/instance.d.ts +7 -0
  74. package/dist/types/instance.d.ts.map +1 -1
  75. package/dist/types/instance.js.map +1 -1
  76. package/dist/types/issue.d.ts +19 -0
  77. package/dist/types/issue.d.ts.map +1 -1
  78. package/dist/types/plugin.d.ts +36 -4
  79. package/dist/types/plugin.d.ts.map +1 -1
  80. package/dist/types/workspace-operation.d.ts +1 -1
  81. package/dist/types/workspace-operation.d.ts.map +1 -1
  82. package/dist/types/workspace-readiness.d.ts +62 -0
  83. package/dist/types/workspace-readiness.d.ts.map +1 -0
  84. package/dist/types/workspace-readiness.js +28 -0
  85. package/dist/types/workspace-readiness.js.map +1 -0
  86. package/dist/types/workspace-runtime.d.ts +6 -8
  87. package/dist/types/workspace-runtime.d.ts.map +1 -1
  88. package/dist/validators/access.d.ts +143 -277
  89. package/dist/validators/access.d.ts.map +1 -1
  90. package/dist/validators/access.js +5 -5
  91. package/dist/validators/adapter-auth-session.d.ts +50 -97
  92. package/dist/validators/adapter-auth-session.d.ts.map +1 -1
  93. package/dist/validators/adapter-auth-session.js +3 -3
  94. package/dist/validators/adapter-registry.d.ts +8 -40
  95. package/dist/validators/adapter-registry.d.ts.map +1 -1
  96. package/dist/validators/adapter-registry.js +1 -1
  97. package/dist/validators/adapter-registry.js.map +1 -1
  98. package/dist/validators/adapter-skills.d.ts +71 -170
  99. package/dist/validators/adapter-skills.d.ts.map +1 -1
  100. package/dist/validators/adapter-skills.js +3 -3
  101. package/dist/validators/agent.d.ts +412 -4798
  102. package/dist/validators/agent.d.ts.map +1 -1
  103. package/dist/validators/agent.js +13 -13
  104. package/dist/validators/agent.js.map +1 -1
  105. package/dist/validators/app-definition.d.ts +270 -2315
  106. package/dist/validators/app-definition.d.ts.map +1 -1
  107. package/dist/validators/approval.d.ts +15 -36
  108. package/dist/validators/approval.d.ts.map +1 -1
  109. package/dist/validators/approval.js +2 -2
  110. package/dist/validators/artifact.d.ts +162 -893
  111. package/dist/validators/artifact.d.ts.map +1 -1
  112. package/dist/validators/artifact.js +6 -6
  113. package/dist/validators/asset.d.ts +1 -5
  114. package/dist/validators/asset.d.ts.map +1 -1
  115. package/dist/validators/budget.d.ts +19 -43
  116. package/dist/validators/budget.d.ts.map +1 -1
  117. package/dist/validators/budget.js +1 -1
  118. package/dist/validators/claude-setup-token-session.d.ts +61 -181
  119. package/dist/validators/claude-setup-token-session.d.ts.map +1 -1
  120. package/dist/validators/claude-setup-token-session.js +4 -4
  121. package/dist/validators/company-portability.d.ts +318 -3616
  122. package/dist/validators/company-portability.d.ts.map +1 -1
  123. package/dist/validators/company-portability.js +2 -2
  124. package/dist/validators/company-skill.d.ts +722 -2934
  125. package/dist/validators/company-skill.d.ts.map +1 -1
  126. package/dist/validators/company-skill.js +63 -63
  127. package/dist/validators/company.d.ts +162 -289
  128. package/dist/validators/company.d.ts.map +1 -1
  129. package/dist/validators/company.js +4 -3
  130. package/dist/validators/company.js.map +1 -1
  131. package/dist/validators/cost.d.ts +29 -57
  132. package/dist/validators/cost.d.ts.map +1 -1
  133. package/dist/validators/cost.js +5 -5
  134. package/dist/validators/decision-queue.d.ts +60 -108
  135. package/dist/validators/decision-queue.d.ts.map +1 -1
  136. package/dist/validators/decision.d.ts +230 -1884
  137. package/dist/validators/decision.d.ts.map +1 -1
  138. package/dist/validators/decision.js +9 -9
  139. package/dist/validators/document-annotation.d.ts +37 -203
  140. package/dist/validators/document-annotation.d.ts.map +1 -1
  141. package/dist/validators/document-annotation.js +3 -3
  142. package/dist/validators/environment-custom-images.d.ts +79 -173
  143. package/dist/validators/environment-custom-images.d.ts.map +1 -1
  144. package/dist/validators/environment-custom-images.js +14 -11
  145. package/dist/validators/environment-custom-images.js.map +1 -1
  146. package/dist/validators/environment.d.ts +82 -259
  147. package/dist/validators/environment.d.ts.map +1 -1
  148. package/dist/validators/execution-workspace.d.ts +173 -513
  149. package/dist/validators/execution-workspace.d.ts.map +1 -1
  150. package/dist/validators/execution-workspace.js +13 -13
  151. package/dist/validators/execution-workspace.js.map +1 -1
  152. package/dist/validators/external-object.d.ts +55 -27
  153. package/dist/validators/external-object.d.ts.map +1 -1
  154. package/dist/validators/external-object.js +1 -1
  155. package/dist/validators/external-object.js.map +1 -1
  156. package/dist/validators/feedback.d.ts +28 -19
  157. package/dist/validators/feedback.d.ts.map +1 -1
  158. package/dist/validators/feedback.js +1 -1
  159. package/dist/validators/finance.d.ts +69 -74
  160. package/dist/validators/finance.d.ts.map +1 -1
  161. package/dist/validators/finance.js +6 -6
  162. package/dist/validators/folder.d.ts +44 -205
  163. package/dist/validators/folder.d.ts.map +1 -1
  164. package/dist/validators/folder.js +7 -7
  165. package/dist/validators/goal.d.ts +26 -34
  166. package/dist/validators/goal.d.ts.map +1 -1
  167. package/dist/validators/goal.js +4 -3
  168. package/dist/validators/goal.js.map +1 -1
  169. package/dist/validators/inbox-agent-policy.d.ts +12 -16
  170. package/dist/validators/inbox-agent-policy.d.ts.map +1 -1
  171. package/dist/validators/inbox-agent-policy.js +1 -1
  172. package/dist/validators/index.d.ts +2 -2
  173. package/dist/validators/index.d.ts.map +1 -1
  174. package/dist/validators/index.js +2 -2
  175. package/dist/validators/index.js.map +1 -1
  176. package/dist/validators/instance.d.ts +50 -563
  177. package/dist/validators/instance.d.ts.map +1 -1
  178. package/dist/validators/instance.js +16 -6
  179. package/dist/validators/instance.js.map +1 -1
  180. package/dist/validators/instance.test.js +13 -0
  181. package/dist/validators/instance.test.js.map +1 -1
  182. package/dist/validators/issue-tree-control.d.ts +41 -80
  183. package/dist/validators/issue-tree-control.d.ts.map +1 -1
  184. package/dist/validators/issue.d.ts +1772 -12251
  185. package/dist/validators/issue.d.ts.map +1 -1
  186. package/dist/validators/issue.js +150 -84
  187. package/dist/validators/issue.js.map +1 -1
  188. package/dist/validators/onboarding-seed.d.ts +3 -37
  189. package/dist/validators/onboarding-seed.d.ts.map +1 -1
  190. package/dist/validators/partial.d.ts +4 -0
  191. package/dist/validators/partial.d.ts.map +1 -0
  192. package/dist/validators/partial.js +35 -0
  193. package/dist/validators/partial.js.map +1 -0
  194. package/dist/validators/pipeline.d.ts +218 -3882
  195. package/dist/validators/pipeline.d.ts.map +1 -1
  196. package/dist/validators/pipeline.js +11 -11
  197. package/dist/validators/plugin.d.ts +725 -2597
  198. package/dist/validators/plugin.d.ts.map +1 -1
  199. package/dist/validators/plugin.js +38 -6
  200. package/dist/validators/plugin.js.map +1 -1
  201. package/dist/validators/plugin.test.js +54 -10
  202. package/dist/validators/plugin.test.js.map +1 -1
  203. package/dist/validators/project.d.ts +345 -2406
  204. package/dist/validators/project.d.ts.map +1 -1
  205. package/dist/validators/project.js +8 -7
  206. package/dist/validators/project.js.map +1 -1
  207. package/dist/validators/resource-memberships.d.ts +11 -27
  208. package/dist/validators/resource-memberships.d.ts.map +1 -1
  209. package/dist/validators/routine.d.ts +362 -1297
  210. package/dist/validators/routine.d.ts.map +1 -1
  211. package/dist/validators/routine.js +21 -20
  212. package/dist/validators/routine.js.map +1 -1
  213. package/dist/validators/runtime-exposure.d.ts +31 -80
  214. package/dist/validators/runtime-exposure.d.ts.map +1 -1
  215. package/dist/validators/search.d.ts +25 -93
  216. package/dist/validators/search.d.ts.map +1 -1
  217. package/dist/validators/secret.d.ts +174 -655
  218. package/dist/validators/secret.d.ts.map +1 -1
  219. package/dist/validators/secret.js +14 -14
  220. package/dist/validators/secret.js.map +1 -1
  221. package/dist/validators/sidebar-preferences.d.ts +5 -15
  222. package/dist/validators/sidebar-preferences.d.ts.map +1 -1
  223. package/dist/validators/sidebar-preferences.js +1 -1
  224. package/dist/validators/skill-policy.d.ts +184 -561
  225. package/dist/validators/skill-policy.d.ts.map +1 -1
  226. package/dist/validators/skill-policy.js +4 -4
  227. package/dist/validators/smoke-lab.d.ts +53 -37
  228. package/dist/validators/smoke-lab.d.ts.map +1 -1
  229. package/dist/validators/status-card.d.ts +139 -994
  230. package/dist/validators/status-card.d.ts.map +1 -1
  231. package/dist/validators/status-card.js +21 -21
  232. package/dist/validators/status-card.js.map +1 -1
  233. package/dist/validators/summary-slot.d.ts +28 -50
  234. package/dist/validators/summary-slot.d.ts.map +1 -1
  235. package/dist/validators/summary-slot.js +3 -3
  236. package/dist/validators/teams-catalog.d.ts +209 -472
  237. package/dist/validators/teams-catalog.d.ts.map +1 -1
  238. package/dist/validators/text.d.ts +1 -1
  239. package/dist/validators/text.d.ts.map +1 -1
  240. package/dist/validators/tool-access.d.ts +1088 -4670
  241. package/dist/validators/tool-access.d.ts.map +1 -1
  242. package/dist/validators/tool-access.js +96 -95
  243. package/dist/validators/tool-access.js.map +1 -1
  244. package/dist/validators/trust-policy.d.ts +62 -358
  245. package/dist/validators/trust-policy.d.ts.map +1 -1
  246. package/dist/validators/trust-policy.js +12 -12
  247. package/dist/validators/work-product.d.ts +110 -536
  248. package/dist/validators/work-product.d.ts.map +1 -1
  249. package/dist/validators/work-product.js +7 -6
  250. package/dist/validators/work-product.js.map +1 -1
  251. package/dist/validators/workspace-file-resource.d.ts +163 -618
  252. package/dist/validators/workspace-file-resource.d.ts.map +1 -1
  253. package/dist/validators/workspace-file-resource.js +11 -11
  254. package/dist/workspace-commands.d.ts +4 -2
  255. package/dist/workspace-commands.d.ts.map +1 -1
  256. package/dist/workspace-commands.js +9 -1
  257. package/dist/workspace-commands.js.map +1 -1
  258. package/dist/workspace-commands.test.js +45 -0
  259. package/dist/workspace-commands.test.js.map +1 -1
  260. package/dist/worktree-port-registry.d.ts +5 -0
  261. package/dist/worktree-port-registry.d.ts.map +1 -0
  262. package/dist/worktree-port-registry.js +382 -0
  263. package/dist/worktree-port-registry.js.map +1 -0
  264. package/dist/worktree-port-registry.test.d.ts +2 -0
  265. package/dist/worktree-port-registry.test.d.ts.map +1 -0
  266. package/dist/worktree-port-registry.test.js +118 -0
  267. package/dist/worktree-port-registry.test.js.map +1 -0
  268. package/dist/worktree-seed-source.d.ts +43 -0
  269. package/dist/worktree-seed-source.d.ts.map +1 -0
  270. package/dist/worktree-seed-source.js +180 -0
  271. package/dist/worktree-seed-source.js.map +1 -0
  272. package/dist/worktree-seed-source.test.d.ts +2 -0
  273. package/dist/worktree-seed-source.test.d.ts.map +1 -0
  274. package/dist/worktree-seed-source.test.js +166 -0
  275. package/dist/worktree-seed-source.test.js.map +1 -0
  276. package/package.json +6 -3
@@ -1,35 +1,68 @@
1
1
  import { z } from "zod";
2
- export declare const companySkillSourceTypeSchema: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
3
- export declare const companySkillTrustLevelSchema: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
4
- export declare const companySkillCompatibilitySchema: z.ZodEnum<["compatible", "unknown", "invalid"]>;
5
- export declare const companySkillSourceBadgeSchema: z.ZodEnum<["paperclip", "github", "local", "url", "catalog", "skills_sh"]>;
6
- export declare const companySkillSharingScopeSchema: z.ZodEnum<["private", "company", "public_link"]>;
7
- export declare const companySkillListSortSchema: z.ZodEnum<["alphabetical", "recent", "installs", "stars", "agents", "forks"]>;
8
- export declare const companySkillListIncludeSchema: z.ZodEnum<["lastEditor"]>;
2
+ export declare const companySkillSourceTypeSchema: z.ZodEnum<{
3
+ url: "url";
4
+ local_path: "local_path";
5
+ github: "github";
6
+ catalog: "catalog";
7
+ skills_sh: "skills_sh";
8
+ }>;
9
+ export declare const companySkillTrustLevelSchema: z.ZodEnum<{
10
+ markdown_only: "markdown_only";
11
+ assets: "assets";
12
+ scripts_executables: "scripts_executables";
13
+ }>;
14
+ export declare const companySkillCompatibilitySchema: z.ZodEnum<{
15
+ unknown: "unknown";
16
+ compatible: "compatible";
17
+ invalid: "invalid";
18
+ }>;
19
+ export declare const companySkillSourceBadgeSchema: z.ZodEnum<{
20
+ local: "local";
21
+ url: "url";
22
+ paperclip: "paperclip";
23
+ github: "github";
24
+ catalog: "catalog";
25
+ skills_sh: "skills_sh";
26
+ }>;
27
+ export declare const companySkillSharingScopeSchema: z.ZodEnum<{
28
+ private: "private";
29
+ company: "company";
30
+ public_link: "public_link";
31
+ }>;
32
+ export declare const companySkillListSortSchema: z.ZodEnum<{
33
+ agents: "agents";
34
+ recent: "recent";
35
+ installs: "installs";
36
+ alphabetical: "alphabetical";
37
+ stars: "stars";
38
+ forks: "forks";
39
+ }>;
40
+ export declare const companySkillListIncludeSchema: z.ZodEnum<{
41
+ lastEditor: "lastEditor";
42
+ }>;
9
43
  export declare const companySkillFileInventoryEntrySchema: z.ZodObject<{
10
44
  path: z.ZodString;
11
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
12
- }, "strip", z.ZodTypeAny, {
13
- path: string;
14
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
15
- }, {
16
- path: string;
17
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
18
- }>;
45
+ kind: z.ZodEnum<{
46
+ skill: "skill";
47
+ markdown: "markdown";
48
+ other: "other";
49
+ reference: "reference";
50
+ script: "script";
51
+ asset: "asset";
52
+ }>;
53
+ }, z.core.$strip>;
19
54
  export declare const companySkillVersionFileInventoryEntrySchema: z.ZodObject<{
20
55
  path: z.ZodString;
21
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
22
- } & {
56
+ kind: z.ZodEnum<{
57
+ skill: "skill";
58
+ markdown: "markdown";
59
+ other: "other";
60
+ reference: "reference";
61
+ script: "script";
62
+ asset: "asset";
63
+ }>;
23
64
  content: z.ZodString;
24
- }, "strip", z.ZodTypeAny, {
25
- path: string;
26
- content: string;
27
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
28
- }, {
29
- path: string;
30
- content: string;
31
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
32
- }>;
65
+ }, z.core.$strip>;
33
66
  export declare const companySkillSchema: z.ZodObject<{
34
67
  id: z.ZodString;
35
68
  companyId: z.ZodString;
@@ -40,28 +73,47 @@ export declare const companySkillSchema: z.ZodObject<{
40
73
  name: z.ZodString;
41
74
  description: z.ZodNullable<z.ZodString>;
42
75
  markdown: z.ZodString;
43
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
76
+ sourceType: z.ZodEnum<{
77
+ url: "url";
78
+ local_path: "local_path";
79
+ github: "github";
80
+ catalog: "catalog";
81
+ skills_sh: "skills_sh";
82
+ }>;
44
83
  sourceLocator: z.ZodNullable<z.ZodString>;
45
84
  sourceRef: z.ZodNullable<z.ZodString>;
46
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
47
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
85
+ trustLevel: z.ZodEnum<{
86
+ markdown_only: "markdown_only";
87
+ assets: "assets";
88
+ scripts_executables: "scripts_executables";
89
+ }>;
90
+ compatibility: z.ZodEnum<{
91
+ unknown: "unknown";
92
+ compatible: "compatible";
93
+ invalid: "invalid";
94
+ }>;
48
95
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
49
96
  path: z.ZodString;
50
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
51
- }, "strip", z.ZodTypeAny, {
52
- path: string;
53
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
54
- }, {
55
- path: string;
56
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
57
- }>, "many">>;
97
+ kind: z.ZodEnum<{
98
+ skill: "skill";
99
+ markdown: "markdown";
100
+ other: "other";
101
+ reference: "reference";
102
+ script: "script";
103
+ asset: "asset";
104
+ }>;
105
+ }, z.core.$strip>>>;
58
106
  iconUrl: z.ZodNullable<z.ZodString>;
59
107
  color: z.ZodNullable<z.ZodString>;
60
108
  tagline: z.ZodNullable<z.ZodString>;
61
109
  authorName: z.ZodNullable<z.ZodString>;
62
110
  homepageUrl: z.ZodNullable<z.ZodString>;
63
- categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
64
- sharingScope: z.ZodEnum<["private", "company", "public_link"]>;
111
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
112
+ sharingScope: z.ZodEnum<{
113
+ private: "private";
114
+ company: "company";
115
+ public_link: "public_link";
116
+ }>;
65
117
  publicShareToken: z.ZodNullable<z.ZodString>;
66
118
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
67
119
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
@@ -70,81 +122,9 @@ export declare const companySkillSchema: z.ZodObject<{
70
122
  forkCount: z.ZodNumber;
71
123
  currentVersionId: z.ZodNullable<z.ZodString>;
72
124
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
73
- createdAt: z.ZodDate;
74
- updatedAt: z.ZodDate;
75
- }, "strip", z.ZodTypeAny, {
76
- description: string | null;
77
- key: string;
78
- companyId: string;
79
- name: string;
80
- id: string;
81
- currentVersionId: string | null;
82
- metadata: Record<string, unknown> | null;
83
- color: string | null;
84
- slug: string;
85
- markdown: string;
86
- createdAt: Date;
87
- updatedAt: Date;
88
- categories: string[];
89
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
90
- sourceLocator: string | null;
91
- sourceRef: string | null;
92
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
93
- compatibility: "unknown" | "compatible" | "invalid";
94
- fileInventory: {
95
- path: string;
96
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
97
- }[];
98
- iconUrl: string | null;
99
- tagline: string | null;
100
- authorName: string | null;
101
- homepageUrl: string | null;
102
- sharingScope: "private" | "company" | "public_link";
103
- publicShareToken: string | null;
104
- forkedFromSkillId: string | null;
105
- forkedFromCompanyId: string | null;
106
- starCount: number;
107
- installCount: number;
108
- forkCount: number;
109
- folderId?: string | null | undefined;
110
- folderPath?: string | null | undefined;
111
- }, {
112
- description: string | null;
113
- key: string;
114
- companyId: string;
115
- name: string;
116
- id: string;
117
- currentVersionId: string | null;
118
- metadata: Record<string, unknown> | null;
119
- color: string | null;
120
- slug: string;
121
- markdown: string;
122
- createdAt: Date;
123
- updatedAt: Date;
124
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
125
- sourceLocator: string | null;
126
- sourceRef: string | null;
127
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
128
- compatibility: "unknown" | "compatible" | "invalid";
129
- iconUrl: string | null;
130
- tagline: string | null;
131
- authorName: string | null;
132
- homepageUrl: string | null;
133
- sharingScope: "private" | "company" | "public_link";
134
- publicShareToken: string | null;
135
- forkedFromSkillId: string | null;
136
- forkedFromCompanyId: string | null;
137
- starCount: number;
138
- installCount: number;
139
- forkCount: number;
140
- folderId?: string | null | undefined;
141
- categories?: string[] | undefined;
142
- folderPath?: string | null | undefined;
143
- fileInventory?: {
144
- path: string;
145
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
146
- }[] | undefined;
147
- }>;
125
+ createdAt: z.ZodCoercedDate<unknown>;
126
+ updatedAt: z.ZodCoercedDate<unknown>;
127
+ }, z.core.$strip>;
148
128
  export declare const companySkillListItemSchema: z.ZodObject<{
149
129
  id: z.ZodString;
150
130
  companyId: z.ZodString;
@@ -155,28 +135,47 @@ export declare const companySkillListItemSchema: z.ZodObject<{
155
135
  name: z.ZodString;
156
136
  description: z.ZodNullable<z.ZodString>;
157
137
  markdown: z.ZodString;
158
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
138
+ sourceType: z.ZodEnum<{
139
+ url: "url";
140
+ local_path: "local_path";
141
+ github: "github";
142
+ catalog: "catalog";
143
+ skills_sh: "skills_sh";
144
+ }>;
159
145
  sourceLocator: z.ZodNullable<z.ZodString>;
160
146
  sourceRef: z.ZodNullable<z.ZodString>;
161
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
162
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
147
+ trustLevel: z.ZodEnum<{
148
+ markdown_only: "markdown_only";
149
+ assets: "assets";
150
+ scripts_executables: "scripts_executables";
151
+ }>;
152
+ compatibility: z.ZodEnum<{
153
+ unknown: "unknown";
154
+ compatible: "compatible";
155
+ invalid: "invalid";
156
+ }>;
163
157
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
164
158
  path: z.ZodString;
165
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
166
- }, "strip", z.ZodTypeAny, {
167
- path: string;
168
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
169
- }, {
170
- path: string;
171
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
172
- }>, "many">>;
159
+ kind: z.ZodEnum<{
160
+ skill: "skill";
161
+ markdown: "markdown";
162
+ other: "other";
163
+ reference: "reference";
164
+ script: "script";
165
+ asset: "asset";
166
+ }>;
167
+ }, z.core.$strip>>>;
173
168
  iconUrl: z.ZodNullable<z.ZodString>;
174
169
  color: z.ZodNullable<z.ZodString>;
175
170
  tagline: z.ZodNullable<z.ZodString>;
176
171
  authorName: z.ZodNullable<z.ZodString>;
177
172
  homepageUrl: z.ZodNullable<z.ZodString>;
178
- categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
179
- sharingScope: z.ZodEnum<["private", "company", "public_link"]>;
173
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
174
+ sharingScope: z.ZodEnum<{
175
+ private: "private";
176
+ company: "company";
177
+ public_link: "public_link";
178
+ }>;
180
179
  publicShareToken: z.ZodNullable<z.ZodString>;
181
180
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
182
181
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
@@ -185,137 +184,37 @@ export declare const companySkillListItemSchema: z.ZodObject<{
185
184
  forkCount: z.ZodNumber;
186
185
  currentVersionId: z.ZodNullable<z.ZodString>;
187
186
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
188
- createdAt: z.ZodDate;
189
- updatedAt: z.ZodDate;
190
- } & {
187
+ createdAt: z.ZodCoercedDate<unknown>;
188
+ updatedAt: z.ZodCoercedDate<unknown>;
191
189
  attachedAgentCount: z.ZodNumber;
192
190
  editable: z.ZodBoolean;
193
191
  editableReason: z.ZodNullable<z.ZodString>;
194
192
  sourceLabel: z.ZodNullable<z.ZodString>;
195
- sourceBadge: z.ZodEnum<["paperclip", "github", "local", "url", "catalog", "skills_sh"]>;
196
- catalogKind: z.ZodNullable<z.ZodEnum<["bundled", "optional"]>>;
193
+ sourceBadge: z.ZodEnum<{
194
+ local: "local";
195
+ url: "url";
196
+ paperclip: "paperclip";
197
+ github: "github";
198
+ catalog: "catalog";
199
+ skills_sh: "skills_sh";
200
+ }>;
201
+ catalogKind: z.ZodNullable<z.ZodEnum<{
202
+ optional: "optional";
203
+ bundled: "bundled";
204
+ }>>;
197
205
  originHash: z.ZodNullable<z.ZodString>;
198
206
  packageName: z.ZodNullable<z.ZodString>;
199
207
  packageVersion: z.ZodNullable<z.ZodString>;
200
208
  lastEditor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
201
- kind: z.ZodEnum<["user", "agent"]>;
209
+ kind: z.ZodEnum<{
210
+ user: "user";
211
+ agent: "agent";
212
+ }>;
202
213
  id: z.ZodString;
203
214
  name: z.ZodNullable<z.ZodString>;
204
215
  imageUrl: z.ZodNullable<z.ZodString>;
205
- }, "strip", z.ZodTypeAny, {
206
- name: string | null;
207
- id: string;
208
- kind: "user" | "agent";
209
- imageUrl: string | null;
210
- }, {
211
- name: string | null;
212
- id: string;
213
- kind: "user" | "agent";
214
- imageUrl: string | null;
215
- }>>>;
216
- }, "strip", z.ZodTypeAny, {
217
- description: string | null;
218
- key: string;
219
- companyId: string;
220
- name: string;
221
- id: string;
222
- currentVersionId: string | null;
223
- metadata: Record<string, unknown> | null;
224
- color: string | null;
225
- slug: string;
226
- markdown: string;
227
- createdAt: Date;
228
- updatedAt: Date;
229
- categories: string[];
230
- packageName: string | null;
231
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
232
- sourceLocator: string | null;
233
- sourceRef: string | null;
234
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
235
- compatibility: "unknown" | "compatible" | "invalid";
236
- fileInventory: {
237
- path: string;
238
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
239
- }[];
240
- iconUrl: string | null;
241
- tagline: string | null;
242
- authorName: string | null;
243
- homepageUrl: string | null;
244
- sharingScope: "private" | "company" | "public_link";
245
- publicShareToken: string | null;
246
- forkedFromSkillId: string | null;
247
- forkedFromCompanyId: string | null;
248
- starCount: number;
249
- installCount: number;
250
- forkCount: number;
251
- attachedAgentCount: number;
252
- editable: boolean;
253
- editableReason: string | null;
254
- sourceLabel: string | null;
255
- sourceBadge: "local" | "url" | "paperclip" | "github" | "catalog" | "skills_sh";
256
- catalogKind: "bundled" | "optional" | null;
257
- originHash: string | null;
258
- packageVersion: string | null;
259
- folderId?: string | null | undefined;
260
- lastEditor?: {
261
- name: string | null;
262
- id: string;
263
- kind: "user" | "agent";
264
- imageUrl: string | null;
265
- } | null | undefined;
266
- folderPath?: string | null | undefined;
267
- }, {
268
- description: string | null;
269
- key: string;
270
- companyId: string;
271
- name: string;
272
- id: string;
273
- currentVersionId: string | null;
274
- metadata: Record<string, unknown> | null;
275
- color: string | null;
276
- slug: string;
277
- markdown: string;
278
- createdAt: Date;
279
- updatedAt: Date;
280
- packageName: string | null;
281
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
282
- sourceLocator: string | null;
283
- sourceRef: string | null;
284
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
285
- compatibility: "unknown" | "compatible" | "invalid";
286
- iconUrl: string | null;
287
- tagline: string | null;
288
- authorName: string | null;
289
- homepageUrl: string | null;
290
- sharingScope: "private" | "company" | "public_link";
291
- publicShareToken: string | null;
292
- forkedFromSkillId: string | null;
293
- forkedFromCompanyId: string | null;
294
- starCount: number;
295
- installCount: number;
296
- forkCount: number;
297
- attachedAgentCount: number;
298
- editable: boolean;
299
- editableReason: string | null;
300
- sourceLabel: string | null;
301
- sourceBadge: "local" | "url" | "paperclip" | "github" | "catalog" | "skills_sh";
302
- catalogKind: "bundled" | "optional" | null;
303
- originHash: string | null;
304
- packageVersion: string | null;
305
- folderId?: string | null | undefined;
306
- categories?: string[] | undefined;
307
- lastEditor?: {
308
- name: string | null;
309
- id: string;
310
- kind: "user" | "agent";
311
- imageUrl: string | null;
312
- } | null | undefined;
313
- folderPath?: string | null | undefined;
314
- fileInventory?: {
315
- path: string;
316
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
317
- }[] | undefined;
318
- }>;
216
+ }, z.core.$strip>>>;
217
+ }, z.core.$strip>;
319
218
  export declare const companySkillUsageAgentSchema: z.ZodObject<{
320
219
  id: z.ZodString;
321
220
  name: z.ZodString;
@@ -324,127 +223,69 @@ export declare const companySkillUsageAgentSchema: z.ZodObject<{
324
223
  desired: z.ZodBoolean;
325
224
  actualState: z.ZodNullable<z.ZodString>;
326
225
  versionId: z.ZodNullable<z.ZodString>;
327
- }, "strip", z.ZodTypeAny, {
328
- name: string;
329
- id: string;
330
- versionId: string | null;
331
- desired: boolean;
332
- adapterType: string;
333
- urlKey: string;
334
- actualState: string | null;
335
- }, {
336
- name: string;
337
- id: string;
338
- versionId: string | null;
339
- desired: boolean;
340
- adapterType: string;
341
- urlKey: string;
342
- actualState: string | null;
343
- }>;
226
+ }, z.core.$strip>;
344
227
  export declare const companySkillOriginalSummarySchema: z.ZodObject<{
345
228
  id: z.ZodString;
346
229
  name: z.ZodString;
347
230
  slug: z.ZodString;
348
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
231
+ sourceType: z.ZodEnum<{
232
+ url: "url";
233
+ local_path: "local_path";
234
+ github: "github";
235
+ catalog: "catalog";
236
+ skills_sh: "skills_sh";
237
+ }>;
349
238
  sourceLocator: z.ZodNullable<z.ZodString>;
350
239
  sourceRef: z.ZodNullable<z.ZodString>;
351
- }, "strip", z.ZodTypeAny, {
352
- name: string;
353
- id: string;
354
- slug: string;
355
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
356
- sourceLocator: string | null;
357
- sourceRef: string | null;
358
- }, {
359
- name: string;
360
- id: string;
361
- slug: string;
362
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
363
- sourceLocator: string | null;
364
- sourceRef: string | null;
365
- }>;
240
+ }, z.core.$strip>;
366
241
  export declare const companySkillForkSummarySchema: z.ZodObject<{
367
242
  id: z.ZodString;
368
243
  name: z.ZodString;
369
244
  slug: z.ZodString;
370
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
245
+ sourceType: z.ZodEnum<{
246
+ url: "url";
247
+ local_path: "local_path";
248
+ github: "github";
249
+ catalog: "catalog";
250
+ skills_sh: "skills_sh";
251
+ }>;
371
252
  sourceLocator: z.ZodNullable<z.ZodString>;
372
253
  sourceRef: z.ZodNullable<z.ZodString>;
373
- } & {
374
254
  key: z.ZodString;
375
255
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
376
256
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
377
257
  currentVersionId: z.ZodNullable<z.ZodString>;
378
258
  createdByCurrentActor: z.ZodBoolean;
379
259
  diverged: z.ZodBoolean;
380
- createdAt: z.ZodDate;
381
- updatedAt: z.ZodDate;
382
- }, "strip", z.ZodTypeAny, {
383
- key: string;
384
- name: string;
385
- id: string;
386
- currentVersionId: string | null;
387
- slug: string;
388
- createdAt: Date;
389
- updatedAt: Date;
390
- diverged: boolean;
391
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
392
- sourceLocator: string | null;
393
- sourceRef: string | null;
394
- forkedFromSkillId: string | null;
395
- forkedFromCompanyId: string | null;
396
- createdByCurrentActor: boolean;
397
- }, {
398
- key: string;
399
- name: string;
400
- id: string;
401
- currentVersionId: string | null;
402
- slug: string;
403
- createdAt: Date;
404
- updatedAt: Date;
405
- diverged: boolean;
406
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
407
- sourceLocator: string | null;
408
- sourceRef: string | null;
409
- forkedFromSkillId: string | null;
410
- forkedFromCompanyId: string | null;
411
- createdByCurrentActor: boolean;
412
- }>;
260
+ createdAt: z.ZodCoercedDate<unknown>;
261
+ updatedAt: z.ZodCoercedDate<unknown>;
262
+ }, z.core.$strip>;
413
263
  export declare const companySkillListQuerySchema: z.ZodObject<{
414
264
  q: z.ZodOptional<z.ZodString>;
415
- sort: z.ZodOptional<z.ZodEnum<["alphabetical", "recent", "installs", "stars", "agents", "forks"]>>;
416
- categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
417
- scope: z.ZodOptional<z.ZodEnum<["private", "company", "public_link"]>>;
418
- include: z.ZodOptional<z.ZodArray<z.ZodEnum<["lastEditor"]>, "many">>;
265
+ sort: z.ZodOptional<z.ZodEnum<{
266
+ agents: "agents";
267
+ recent: "recent";
268
+ installs: "installs";
269
+ alphabetical: "alphabetical";
270
+ stars: "stars";
271
+ forks: "forks";
272
+ }>>;
273
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
274
+ scope: z.ZodOptional<z.ZodEnum<{
275
+ private: "private";
276
+ company: "company";
277
+ public_link: "public_link";
278
+ }>>;
279
+ include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
280
+ lastEditor: "lastEditor";
281
+ }>>>;
419
282
  folderId: z.ZodOptional<z.ZodString>;
420
283
  includeSubtree: z.ZodOptional<z.ZodBoolean>;
421
- }, "strip", z.ZodTypeAny, {
422
- include?: "lastEditor"[] | undefined;
423
- sort?: "agents" | "installs" | "alphabetical" | "recent" | "stars" | "forks" | undefined;
424
- scope?: "private" | "company" | "public_link" | undefined;
425
- q?: string | undefined;
426
- folderId?: string | undefined;
427
- categories?: string[] | undefined;
428
- includeSubtree?: boolean | undefined;
429
- }, {
430
- include?: "lastEditor"[] | undefined;
431
- sort?: "agents" | "installs" | "alphabetical" | "recent" | "stars" | "forks" | undefined;
432
- scope?: "private" | "company" | "public_link" | undefined;
433
- q?: string | undefined;
434
- folderId?: string | undefined;
435
- categories?: string[] | undefined;
436
- includeSubtree?: boolean | undefined;
437
- }>;
284
+ }, z.core.$strip>;
438
285
  export declare const companySkillCategoryCountSchema: z.ZodObject<{
439
286
  slug: z.ZodString;
440
287
  count: z.ZodNumber;
441
- }, "strip", z.ZodTypeAny, {
442
- slug: string;
443
- count: number;
444
- }, {
445
- slug: string;
446
- count: number;
447
- }>;
288
+ }, z.core.$strip>;
448
289
  export declare const companySkillVersionSchema: z.ZodObject<{
449
290
  id: z.ZodString;
450
291
  companyId: z.ZodString;
@@ -453,50 +294,20 @@ export declare const companySkillVersionSchema: z.ZodObject<{
453
294
  label: z.ZodNullable<z.ZodString>;
454
295
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
455
296
  path: z.ZodString;
456
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
457
- } & {
297
+ kind: z.ZodEnum<{
298
+ skill: "skill";
299
+ markdown: "markdown";
300
+ other: "other";
301
+ reference: "reference";
302
+ script: "script";
303
+ asset: "asset";
304
+ }>;
458
305
  content: z.ZodString;
459
- }, "strip", z.ZodTypeAny, {
460
- path: string;
461
- content: string;
462
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
463
- }, {
464
- path: string;
465
- content: string;
466
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
467
- }>, "many">>;
306
+ }, z.core.$strip>>>;
468
307
  authorAgentId: z.ZodNullable<z.ZodString>;
469
308
  authorUserId: z.ZodNullable<z.ZodString>;
470
- createdAt: z.ZodDate;
471
- }, "strip", z.ZodTypeAny, {
472
- companyId: string;
473
- label: string | null;
474
- id: string;
475
- createdAt: Date;
476
- revisionNumber: number;
477
- fileInventory: {
478
- path: string;
479
- content: string;
480
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
481
- }[];
482
- companySkillId: string;
483
- authorAgentId: string | null;
484
- authorUserId: string | null;
485
- }, {
486
- companyId: string;
487
- label: string | null;
488
- id: string;
489
- createdAt: Date;
490
- revisionNumber: number;
491
- companySkillId: string;
492
- authorAgentId: string | null;
493
- authorUserId: string | null;
494
- fileInventory?: {
495
- path: string;
496
- content: string;
497
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
498
- }[] | undefined;
499
- }>;
309
+ createdAt: z.ZodCoercedDate<unknown>;
310
+ }, z.core.$strip>;
500
311
  export declare const companySkillDetailSchema: z.ZodObject<{
501
312
  id: z.ZodString;
502
313
  companyId: z.ZodString;
@@ -507,28 +318,47 @@ export declare const companySkillDetailSchema: z.ZodObject<{
507
318
  name: z.ZodString;
508
319
  description: z.ZodNullable<z.ZodString>;
509
320
  markdown: z.ZodString;
510
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
321
+ sourceType: z.ZodEnum<{
322
+ url: "url";
323
+ local_path: "local_path";
324
+ github: "github";
325
+ catalog: "catalog";
326
+ skills_sh: "skills_sh";
327
+ }>;
511
328
  sourceLocator: z.ZodNullable<z.ZodString>;
512
329
  sourceRef: z.ZodNullable<z.ZodString>;
513
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
514
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
330
+ trustLevel: z.ZodEnum<{
331
+ markdown_only: "markdown_only";
332
+ assets: "assets";
333
+ scripts_executables: "scripts_executables";
334
+ }>;
335
+ compatibility: z.ZodEnum<{
336
+ unknown: "unknown";
337
+ compatible: "compatible";
338
+ invalid: "invalid";
339
+ }>;
515
340
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
516
341
  path: z.ZodString;
517
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
518
- }, "strip", z.ZodTypeAny, {
519
- path: string;
520
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
521
- }, {
522
- path: string;
523
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
524
- }>, "many">>;
342
+ kind: z.ZodEnum<{
343
+ skill: "skill";
344
+ markdown: "markdown";
345
+ other: "other";
346
+ reference: "reference";
347
+ script: "script";
348
+ asset: "asset";
349
+ }>;
350
+ }, z.core.$strip>>>;
525
351
  iconUrl: z.ZodNullable<z.ZodString>;
526
352
  color: z.ZodNullable<z.ZodString>;
527
353
  tagline: z.ZodNullable<z.ZodString>;
528
354
  authorName: z.ZodNullable<z.ZodString>;
529
355
  homepageUrl: z.ZodNullable<z.ZodString>;
530
- categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
531
- sharingScope: z.ZodEnum<["private", "company", "public_link"]>;
356
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
357
+ sharingScope: z.ZodEnum<{
358
+ private: "private";
359
+ company: "company";
360
+ public_link: "public_link";
361
+ }>;
532
362
  publicShareToken: z.ZodNullable<z.ZodString>;
533
363
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
534
364
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
@@ -537,9 +367,8 @@ export declare const companySkillDetailSchema: z.ZodObject<{
537
367
  forkCount: z.ZodNumber;
538
368
  currentVersionId: z.ZodNullable<z.ZodString>;
539
369
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
540
- createdAt: z.ZodDate;
541
- updatedAt: z.ZodDate;
542
- } & {
370
+ createdAt: z.ZodCoercedDate<unknown>;
371
+ updatedAt: z.ZodCoercedDate<unknown>;
543
372
  attachedAgentCount: z.ZodNumber;
544
373
  usedByAgents: z.ZodDefault<z.ZodArray<z.ZodObject<{
545
374
  id: z.ZodString;
@@ -549,74 +378,40 @@ export declare const companySkillDetailSchema: z.ZodObject<{
549
378
  desired: z.ZodBoolean;
550
379
  actualState: z.ZodNullable<z.ZodString>;
551
380
  versionId: z.ZodNullable<z.ZodString>;
552
- }, "strip", z.ZodTypeAny, {
553
- name: string;
554
- id: string;
555
- versionId: string | null;
556
- desired: boolean;
557
- adapterType: string;
558
- urlKey: string;
559
- actualState: string | null;
560
- }, {
561
- name: string;
562
- id: string;
563
- versionId: string | null;
564
- desired: boolean;
565
- adapterType: string;
566
- urlKey: string;
567
- actualState: string | null;
568
- }>, "many">>;
381
+ }, z.core.$strip>>>;
569
382
  existingForks: z.ZodDefault<z.ZodArray<z.ZodObject<{
570
383
  id: z.ZodString;
571
384
  name: z.ZodString;
572
385
  slug: z.ZodString;
573
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
386
+ sourceType: z.ZodEnum<{
387
+ url: "url";
388
+ local_path: "local_path";
389
+ github: "github";
390
+ catalog: "catalog";
391
+ skills_sh: "skills_sh";
392
+ }>;
574
393
  sourceLocator: z.ZodNullable<z.ZodString>;
575
394
  sourceRef: z.ZodNullable<z.ZodString>;
576
- } & {
577
395
  key: z.ZodString;
578
396
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
579
397
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
580
398
  currentVersionId: z.ZodNullable<z.ZodString>;
581
399
  createdByCurrentActor: z.ZodBoolean;
582
400
  diverged: z.ZodBoolean;
583
- createdAt: z.ZodDate;
584
- updatedAt: z.ZodDate;
585
- }, "strip", z.ZodTypeAny, {
586
- key: string;
587
- name: string;
588
- id: string;
589
- currentVersionId: string | null;
590
- slug: string;
591
- createdAt: Date;
592
- updatedAt: Date;
593
- diverged: boolean;
594
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
595
- sourceLocator: string | null;
596
- sourceRef: string | null;
597
- forkedFromSkillId: string | null;
598
- forkedFromCompanyId: string | null;
599
- createdByCurrentActor: boolean;
600
- }, {
601
- key: string;
602
- name: string;
603
- id: string;
604
- currentVersionId: string | null;
605
- slug: string;
606
- createdAt: Date;
607
- updatedAt: Date;
608
- diverged: boolean;
609
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
610
- sourceLocator: string | null;
611
- sourceRef: string | null;
612
- forkedFromSkillId: string | null;
613
- forkedFromCompanyId: string | null;
614
- createdByCurrentActor: boolean;
615
- }>, "many">>;
401
+ createdAt: z.ZodCoercedDate<unknown>;
402
+ updatedAt: z.ZodCoercedDate<unknown>;
403
+ }, z.core.$strip>>>;
616
404
  editable: z.ZodBoolean;
617
405
  editableReason: z.ZodNullable<z.ZodString>;
618
406
  sourceLabel: z.ZodNullable<z.ZodString>;
619
- sourceBadge: z.ZodEnum<["paperclip", "github", "local", "url", "catalog", "skills_sh"]>;
407
+ sourceBadge: z.ZodEnum<{
408
+ local: "local";
409
+ url: "url";
410
+ paperclip: "paperclip";
411
+ github: "github";
412
+ catalog: "catalog";
413
+ skills_sh: "skills_sh";
414
+ }>;
620
415
  currentVersion: z.ZodNullable<z.ZodObject<{
621
416
  id: z.ZodString;
622
417
  companyId: z.ZodString;
@@ -625,236 +420,30 @@ export declare const companySkillDetailSchema: z.ZodObject<{
625
420
  label: z.ZodNullable<z.ZodString>;
626
421
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
627
422
  path: z.ZodString;
628
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
629
- } & {
423
+ kind: z.ZodEnum<{
424
+ skill: "skill";
425
+ markdown: "markdown";
426
+ other: "other";
427
+ reference: "reference";
428
+ script: "script";
429
+ asset: "asset";
430
+ }>;
630
431
  content: z.ZodString;
631
- }, "strip", z.ZodTypeAny, {
632
- path: string;
633
- content: string;
634
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
635
- }, {
636
- path: string;
637
- content: string;
638
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
639
- }>, "many">>;
432
+ }, z.core.$strip>>>;
640
433
  authorAgentId: z.ZodNullable<z.ZodString>;
641
434
  authorUserId: z.ZodNullable<z.ZodString>;
642
- createdAt: z.ZodDate;
643
- }, "strip", z.ZodTypeAny, {
644
- companyId: string;
645
- label: string | null;
646
- id: string;
647
- createdAt: Date;
648
- revisionNumber: number;
649
- fileInventory: {
650
- path: string;
651
- content: string;
652
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
653
- }[];
654
- companySkillId: string;
655
- authorAgentId: string | null;
656
- authorUserId: string | null;
657
- }, {
658
- companyId: string;
659
- label: string | null;
660
- id: string;
661
- createdAt: Date;
662
- revisionNumber: number;
663
- companySkillId: string;
664
- authorAgentId: string | null;
665
- authorUserId: string | null;
666
- fileInventory?: {
667
- path: string;
668
- content: string;
669
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
670
- }[] | undefined;
671
- }>>;
435
+ createdAt: z.ZodCoercedDate<unknown>;
436
+ }, z.core.$strip>>;
672
437
  starredByCurrentActor: z.ZodBoolean;
673
- }, "strip", z.ZodTypeAny, {
674
- description: string | null;
675
- key: string;
676
- companyId: string;
677
- name: string;
678
- id: string;
679
- currentVersionId: string | null;
680
- metadata: Record<string, unknown> | null;
681
- color: string | null;
682
- slug: string;
683
- markdown: string;
684
- createdAt: Date;
685
- updatedAt: Date;
686
- categories: string[];
687
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
688
- sourceLocator: string | null;
689
- sourceRef: string | null;
690
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
691
- compatibility: "unknown" | "compatible" | "invalid";
692
- fileInventory: {
693
- path: string;
694
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
695
- }[];
696
- iconUrl: string | null;
697
- tagline: string | null;
698
- authorName: string | null;
699
- homepageUrl: string | null;
700
- sharingScope: "private" | "company" | "public_link";
701
- publicShareToken: string | null;
702
- forkedFromSkillId: string | null;
703
- forkedFromCompanyId: string | null;
704
- starCount: number;
705
- installCount: number;
706
- forkCount: number;
707
- attachedAgentCount: number;
708
- editable: boolean;
709
- editableReason: string | null;
710
- sourceLabel: string | null;
711
- sourceBadge: "local" | "url" | "paperclip" | "github" | "catalog" | "skills_sh";
712
- usedByAgents: {
713
- name: string;
714
- id: string;
715
- versionId: string | null;
716
- desired: boolean;
717
- adapterType: string;
718
- urlKey: string;
719
- actualState: string | null;
720
- }[];
721
- existingForks: {
722
- key: string;
723
- name: string;
724
- id: string;
725
- currentVersionId: string | null;
726
- slug: string;
727
- createdAt: Date;
728
- updatedAt: Date;
729
- diverged: boolean;
730
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
731
- sourceLocator: string | null;
732
- sourceRef: string | null;
733
- forkedFromSkillId: string | null;
734
- forkedFromCompanyId: string | null;
735
- createdByCurrentActor: boolean;
736
- }[];
737
- currentVersion: {
738
- companyId: string;
739
- label: string | null;
740
- id: string;
741
- createdAt: Date;
742
- revisionNumber: number;
743
- fileInventory: {
744
- path: string;
745
- content: string;
746
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
747
- }[];
748
- companySkillId: string;
749
- authorAgentId: string | null;
750
- authorUserId: string | null;
751
- } | null;
752
- starredByCurrentActor: boolean;
753
- folderId?: string | null | undefined;
754
- folderPath?: string | null | undefined;
755
- }, {
756
- description: string | null;
757
- key: string;
758
- companyId: string;
759
- name: string;
760
- id: string;
761
- currentVersionId: string | null;
762
- metadata: Record<string, unknown> | null;
763
- color: string | null;
764
- slug: string;
765
- markdown: string;
766
- createdAt: Date;
767
- updatedAt: Date;
768
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
769
- sourceLocator: string | null;
770
- sourceRef: string | null;
771
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
772
- compatibility: "unknown" | "compatible" | "invalid";
773
- iconUrl: string | null;
774
- tagline: string | null;
775
- authorName: string | null;
776
- homepageUrl: string | null;
777
- sharingScope: "private" | "company" | "public_link";
778
- publicShareToken: string | null;
779
- forkedFromSkillId: string | null;
780
- forkedFromCompanyId: string | null;
781
- starCount: number;
782
- installCount: number;
783
- forkCount: number;
784
- attachedAgentCount: number;
785
- editable: boolean;
786
- editableReason: string | null;
787
- sourceLabel: string | null;
788
- sourceBadge: "local" | "url" | "paperclip" | "github" | "catalog" | "skills_sh";
789
- currentVersion: {
790
- companyId: string;
791
- label: string | null;
792
- id: string;
793
- createdAt: Date;
794
- revisionNumber: number;
795
- companySkillId: string;
796
- authorAgentId: string | null;
797
- authorUserId: string | null;
798
- fileInventory?: {
799
- path: string;
800
- content: string;
801
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
802
- }[] | undefined;
803
- } | null;
804
- starredByCurrentActor: boolean;
805
- folderId?: string | null | undefined;
806
- categories?: string[] | undefined;
807
- folderPath?: string | null | undefined;
808
- fileInventory?: {
809
- path: string;
810
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
811
- }[] | undefined;
812
- usedByAgents?: {
813
- name: string;
814
- id: string;
815
- versionId: string | null;
816
- desired: boolean;
817
- adapterType: string;
818
- urlKey: string;
819
- actualState: string | null;
820
- }[] | undefined;
821
- existingForks?: {
822
- key: string;
823
- name: string;
824
- id: string;
825
- currentVersionId: string | null;
826
- slug: string;
827
- createdAt: Date;
828
- updatedAt: Date;
829
- diverged: boolean;
830
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
831
- sourceLocator: string | null;
832
- sourceRef: string | null;
833
- forkedFromSkillId: string | null;
834
- forkedFromCompanyId: string | null;
835
- createdByCurrentActor: boolean;
836
- }[] | undefined;
837
- }>;
438
+ }, z.core.$strip>;
838
439
  export declare const companySkillVersionCreateSchema: z.ZodDefault<z.ZodObject<{
839
440
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
840
- }, "strip", z.ZodTypeAny, {
841
- label?: string | null | undefined;
842
- }, {
843
- label?: string | null | undefined;
844
- }>>;
441
+ }, z.core.$strip>>;
845
442
  export declare const companySkillStarResultSchema: z.ZodObject<{
846
443
  skillId: z.ZodString;
847
444
  starred: z.ZodBoolean;
848
445
  starCount: z.ZodNumber;
849
- }, "strip", z.ZodTypeAny, {
850
- skillId: string;
851
- starred: boolean;
852
- starCount: number;
853
- }, {
854
- skillId: string;
855
- starred: boolean;
856
- starCount: number;
857
- }>;
446
+ }, z.core.$strip>;
858
447
  export declare const companySkillCommentSchema: z.ZodObject<{
859
448
  id: z.ZodString;
860
449
  companyId: z.ZodString;
@@ -863,78 +452,32 @@ export declare const companySkillCommentSchema: z.ZodObject<{
863
452
  authorAgentId: z.ZodNullable<z.ZodString>;
864
453
  authorUserId: z.ZodNullable<z.ZodString>;
865
454
  body: z.ZodString;
866
- deletedAt: z.ZodNullable<z.ZodDate>;
867
- createdAt: z.ZodDate;
868
- updatedAt: z.ZodDate;
869
- }, "strip", z.ZodTypeAny, {
870
- companyId: string;
871
- id: string;
872
- createdAt: Date;
873
- updatedAt: Date;
874
- body: string;
875
- companySkillId: string;
876
- authorAgentId: string | null;
877
- authorUserId: string | null;
878
- parentCommentId: string | null;
879
- deletedAt: Date | null;
880
- }, {
881
- companyId: string;
882
- id: string;
883
- createdAt: Date;
884
- updatedAt: Date;
885
- body: string;
886
- companySkillId: string;
887
- authorAgentId: string | null;
888
- authorUserId: string | null;
889
- parentCommentId: string | null;
890
- deletedAt: Date | null;
891
- }>;
455
+ deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
456
+ createdAt: z.ZodCoercedDate<unknown>;
457
+ updatedAt: z.ZodCoercedDate<unknown>;
458
+ }, z.core.$strip>;
892
459
  export declare const companySkillCommentCreateSchema: z.ZodObject<{
893
460
  body: z.ZodString;
894
461
  parentCommentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
895
- }, "strip", z.ZodTypeAny, {
896
- body: string;
897
- parentCommentId?: string | null | undefined;
898
- }, {
899
- body: string;
900
- parentCommentId?: string | null | undefined;
901
- }>;
462
+ }, z.core.$strip>;
902
463
  export declare const companySkillCommentUpdateSchema: z.ZodObject<{
903
464
  body: z.ZodString;
904
- }, "strip", z.ZodTypeAny, {
905
- body: string;
906
- }, {
907
- body: string;
908
- }>;
465
+ }, z.core.$strip>;
909
466
  export declare const companySkillForkSchema: z.ZodDefault<z.ZodObject<{
910
467
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
911
468
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
912
- sharingScope: z.ZodOptional<z.ZodEnum<["private", "company", "public_link"]>>;
913
- reassignAgentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
914
- }, "strip", z.ZodTypeAny, {
915
- name?: string | null | undefined;
916
- slug?: string | null | undefined;
917
- sharingScope?: "private" | "company" | "public_link" | undefined;
918
- reassignAgentIds?: string[] | undefined;
919
- }, {
920
- name?: string | null | undefined;
921
- slug?: string | null | undefined;
922
- sharingScope?: "private" | "company" | "public_link" | undefined;
923
- reassignAgentIds?: string[] | undefined;
924
- }>>;
469
+ sharingScope: z.ZodOptional<z.ZodEnum<{
470
+ private: "private";
471
+ company: "company";
472
+ public_link: "public_link";
473
+ }>>;
474
+ reassignAgentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
475
+ }, z.core.$strip>>;
925
476
  export declare const companySkillForkReassignmentSchema: z.ZodObject<{
926
477
  agentId: z.ZodString;
927
478
  previousSkillKey: z.ZodString;
928
479
  nextSkillKey: z.ZodString;
929
- }, "strip", z.ZodTypeAny, {
930
- agentId: string;
931
- previousSkillKey: string;
932
- nextSkillKey: string;
933
- }, {
934
- agentId: string;
935
- previousSkillKey: string;
936
- nextSkillKey: string;
937
- }>;
480
+ }, z.core.$strip>;
938
481
  export declare const companySkillForkResultSchema: z.ZodObject<{
939
482
  skill: z.ZodObject<{
940
483
  id: z.ZodString;
@@ -946,28 +489,47 @@ export declare const companySkillForkResultSchema: z.ZodObject<{
946
489
  name: z.ZodString;
947
490
  description: z.ZodNullable<z.ZodString>;
948
491
  markdown: z.ZodString;
949
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
492
+ sourceType: z.ZodEnum<{
493
+ url: "url";
494
+ local_path: "local_path";
495
+ github: "github";
496
+ catalog: "catalog";
497
+ skills_sh: "skills_sh";
498
+ }>;
950
499
  sourceLocator: z.ZodNullable<z.ZodString>;
951
500
  sourceRef: z.ZodNullable<z.ZodString>;
952
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
953
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
501
+ trustLevel: z.ZodEnum<{
502
+ markdown_only: "markdown_only";
503
+ assets: "assets";
504
+ scripts_executables: "scripts_executables";
505
+ }>;
506
+ compatibility: z.ZodEnum<{
507
+ unknown: "unknown";
508
+ compatible: "compatible";
509
+ invalid: "invalid";
510
+ }>;
954
511
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
955
512
  path: z.ZodString;
956
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
957
- }, "strip", z.ZodTypeAny, {
958
- path: string;
959
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
960
- }, {
961
- path: string;
962
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
963
- }>, "many">>;
513
+ kind: z.ZodEnum<{
514
+ skill: "skill";
515
+ markdown: "markdown";
516
+ other: "other";
517
+ reference: "reference";
518
+ script: "script";
519
+ asset: "asset";
520
+ }>;
521
+ }, z.core.$strip>>>;
964
522
  iconUrl: z.ZodNullable<z.ZodString>;
965
523
  color: z.ZodNullable<z.ZodString>;
966
524
  tagline: z.ZodNullable<z.ZodString>;
967
525
  authorName: z.ZodNullable<z.ZodString>;
968
526
  homepageUrl: z.ZodNullable<z.ZodString>;
969
- categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
970
- sharingScope: z.ZodEnum<["private", "company", "public_link"]>;
527
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
528
+ sharingScope: z.ZodEnum<{
529
+ private: "private";
530
+ company: "company";
531
+ public_link: "public_link";
532
+ }>;
971
533
  publicShareToken: z.ZodNullable<z.ZodString>;
972
534
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
973
535
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
@@ -976,243 +538,45 @@ export declare const companySkillForkResultSchema: z.ZodObject<{
976
538
  forkCount: z.ZodNumber;
977
539
  currentVersionId: z.ZodNullable<z.ZodString>;
978
540
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
979
- createdAt: z.ZodDate;
980
- updatedAt: z.ZodDate;
981
- }, "strip", z.ZodTypeAny, {
982
- description: string | null;
983
- key: string;
984
- companyId: string;
985
- name: string;
986
- id: string;
987
- currentVersionId: string | null;
988
- metadata: Record<string, unknown> | null;
989
- color: string | null;
990
- slug: string;
991
- markdown: string;
992
- createdAt: Date;
993
- updatedAt: Date;
994
- categories: string[];
995
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
996
- sourceLocator: string | null;
997
- sourceRef: string | null;
998
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
999
- compatibility: "unknown" | "compatible" | "invalid";
1000
- fileInventory: {
1001
- path: string;
1002
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1003
- }[];
1004
- iconUrl: string | null;
1005
- tagline: string | null;
1006
- authorName: string | null;
1007
- homepageUrl: string | null;
1008
- sharingScope: "private" | "company" | "public_link";
1009
- publicShareToken: string | null;
1010
- forkedFromSkillId: string | null;
1011
- forkedFromCompanyId: string | null;
1012
- starCount: number;
1013
- installCount: number;
1014
- forkCount: number;
1015
- folderId?: string | null | undefined;
1016
- folderPath?: string | null | undefined;
1017
- }, {
1018
- description: string | null;
1019
- key: string;
1020
- companyId: string;
1021
- name: string;
1022
- id: string;
1023
- currentVersionId: string | null;
1024
- metadata: Record<string, unknown> | null;
1025
- color: string | null;
1026
- slug: string;
1027
- markdown: string;
1028
- createdAt: Date;
1029
- updatedAt: Date;
1030
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1031
- sourceLocator: string | null;
1032
- sourceRef: string | null;
1033
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
1034
- compatibility: "unknown" | "compatible" | "invalid";
1035
- iconUrl: string | null;
1036
- tagline: string | null;
1037
- authorName: string | null;
1038
- homepageUrl: string | null;
1039
- sharingScope: "private" | "company" | "public_link";
1040
- publicShareToken: string | null;
1041
- forkedFromSkillId: string | null;
1042
- forkedFromCompanyId: string | null;
1043
- starCount: number;
1044
- installCount: number;
1045
- forkCount: number;
1046
- folderId?: string | null | undefined;
1047
- categories?: string[] | undefined;
1048
- folderPath?: string | null | undefined;
1049
- fileInventory?: {
1050
- path: string;
1051
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1052
- }[] | undefined;
1053
- }>;
541
+ createdAt: z.ZodCoercedDate<unknown>;
542
+ updatedAt: z.ZodCoercedDate<unknown>;
543
+ }, z.core.$strip>;
1054
544
  original: z.ZodObject<{
1055
545
  id: z.ZodString;
1056
546
  name: z.ZodString;
1057
547
  slug: z.ZodString;
1058
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
548
+ sourceType: z.ZodEnum<{
549
+ url: "url";
550
+ local_path: "local_path";
551
+ github: "github";
552
+ catalog: "catalog";
553
+ skills_sh: "skills_sh";
554
+ }>;
1059
555
  sourceLocator: z.ZodNullable<z.ZodString>;
1060
556
  sourceRef: z.ZodNullable<z.ZodString>;
1061
- }, "strip", z.ZodTypeAny, {
1062
- name: string;
1063
- id: string;
1064
- slug: string;
1065
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1066
- sourceLocator: string | null;
1067
- sourceRef: string | null;
1068
- }, {
1069
- name: string;
1070
- id: string;
1071
- slug: string;
1072
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1073
- sourceLocator: string | null;
1074
- sourceRef: string | null;
1075
- }>;
557
+ }, z.core.$strip>;
1076
558
  reassignments: z.ZodArray<z.ZodObject<{
1077
559
  agentId: z.ZodString;
1078
560
  previousSkillKey: z.ZodString;
1079
561
  nextSkillKey: z.ZodString;
1080
- }, "strip", z.ZodTypeAny, {
1081
- agentId: string;
1082
- previousSkillKey: string;
1083
- nextSkillKey: string;
1084
- }, {
1085
- agentId: string;
1086
- previousSkillKey: string;
1087
- nextSkillKey: string;
1088
- }>, "many">;
1089
- }, "strip", z.ZodTypeAny, {
1090
- skill: {
1091
- description: string | null;
1092
- key: string;
1093
- companyId: string;
1094
- name: string;
1095
- id: string;
1096
- currentVersionId: string | null;
1097
- metadata: Record<string, unknown> | null;
1098
- color: string | null;
1099
- slug: string;
1100
- markdown: string;
1101
- createdAt: Date;
1102
- updatedAt: Date;
1103
- categories: string[];
1104
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1105
- sourceLocator: string | null;
1106
- sourceRef: string | null;
1107
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
1108
- compatibility: "unknown" | "compatible" | "invalid";
1109
- fileInventory: {
1110
- path: string;
1111
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1112
- }[];
1113
- iconUrl: string | null;
1114
- tagline: string | null;
1115
- authorName: string | null;
1116
- homepageUrl: string | null;
1117
- sharingScope: "private" | "company" | "public_link";
1118
- publicShareToken: string | null;
1119
- forkedFromSkillId: string | null;
1120
- forkedFromCompanyId: string | null;
1121
- starCount: number;
1122
- installCount: number;
1123
- forkCount: number;
1124
- folderId?: string | null | undefined;
1125
- folderPath?: string | null | undefined;
1126
- };
1127
- original: {
1128
- name: string;
1129
- id: string;
1130
- slug: string;
1131
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1132
- sourceLocator: string | null;
1133
- sourceRef: string | null;
1134
- };
1135
- reassignments: {
1136
- agentId: string;
1137
- previousSkillKey: string;
1138
- nextSkillKey: string;
1139
- }[];
1140
- }, {
1141
- skill: {
1142
- description: string | null;
1143
- key: string;
1144
- companyId: string;
1145
- name: string;
1146
- id: string;
1147
- currentVersionId: string | null;
1148
- metadata: Record<string, unknown> | null;
1149
- color: string | null;
1150
- slug: string;
1151
- markdown: string;
1152
- createdAt: Date;
1153
- updatedAt: Date;
1154
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1155
- sourceLocator: string | null;
1156
- sourceRef: string | null;
1157
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
1158
- compatibility: "unknown" | "compatible" | "invalid";
1159
- iconUrl: string | null;
1160
- tagline: string | null;
1161
- authorName: string | null;
1162
- homepageUrl: string | null;
1163
- sharingScope: "private" | "company" | "public_link";
1164
- publicShareToken: string | null;
1165
- forkedFromSkillId: string | null;
1166
- forkedFromCompanyId: string | null;
1167
- starCount: number;
1168
- installCount: number;
1169
- forkCount: number;
1170
- folderId?: string | null | undefined;
1171
- categories?: string[] | undefined;
1172
- folderPath?: string | null | undefined;
1173
- fileInventory?: {
1174
- path: string;
1175
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1176
- }[] | undefined;
1177
- };
1178
- original: {
1179
- name: string;
1180
- id: string;
1181
- slug: string;
1182
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1183
- sourceLocator: string | null;
1184
- sourceRef: string | null;
1185
- };
1186
- reassignments: {
1187
- agentId: string;
1188
- previousSkillKey: string;
1189
- nextSkillKey: string;
1190
- }[];
1191
- }>;
562
+ }, z.core.$strip>>;
563
+ }, z.core.$strip>;
1192
564
  export declare const companySkillForkPrecheckResultSchema: z.ZodObject<{
1193
565
  skillId: z.ZodString;
1194
566
  original: z.ZodObject<{
1195
567
  id: z.ZodString;
1196
568
  name: z.ZodString;
1197
569
  slug: z.ZodString;
1198
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
570
+ sourceType: z.ZodEnum<{
571
+ url: "url";
572
+ local_path: "local_path";
573
+ github: "github";
574
+ catalog: "catalog";
575
+ skills_sh: "skills_sh";
576
+ }>;
1199
577
  sourceLocator: z.ZodNullable<z.ZodString>;
1200
578
  sourceRef: z.ZodNullable<z.ZodString>;
1201
- }, "strip", z.ZodTypeAny, {
1202
- name: string;
1203
- id: string;
1204
- slug: string;
1205
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1206
- sourceLocator: string | null;
1207
- sourceRef: string | null;
1208
- }, {
1209
- name: string;
1210
- id: string;
1211
- slug: string;
1212
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1213
- sourceLocator: string | null;
1214
- sourceRef: string | null;
1215
- }>;
579
+ }, z.core.$strip>;
1216
580
  agentUsageCount: z.ZodNumber;
1217
581
  usedByAgents: z.ZodArray<z.ZodObject<{
1218
582
  id: z.ZodString;
@@ -1222,153 +586,34 @@ export declare const companySkillForkPrecheckResultSchema: z.ZodObject<{
1222
586
  desired: z.ZodBoolean;
1223
587
  actualState: z.ZodNullable<z.ZodString>;
1224
588
  versionId: z.ZodNullable<z.ZodString>;
1225
- }, "strip", z.ZodTypeAny, {
1226
- name: string;
1227
- id: string;
1228
- versionId: string | null;
1229
- desired: boolean;
1230
- adapterType: string;
1231
- urlKey: string;
1232
- actualState: string | null;
1233
- }, {
1234
- name: string;
1235
- id: string;
1236
- versionId: string | null;
1237
- desired: boolean;
1238
- adapterType: string;
1239
- urlKey: string;
1240
- actualState: string | null;
1241
- }>, "many">;
589
+ }, z.core.$strip>>;
1242
590
  existingForks: z.ZodArray<z.ZodObject<{
1243
591
  id: z.ZodString;
1244
592
  name: z.ZodString;
1245
593
  slug: z.ZodString;
1246
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
594
+ sourceType: z.ZodEnum<{
595
+ url: "url";
596
+ local_path: "local_path";
597
+ github: "github";
598
+ catalog: "catalog";
599
+ skills_sh: "skills_sh";
600
+ }>;
1247
601
  sourceLocator: z.ZodNullable<z.ZodString>;
1248
602
  sourceRef: z.ZodNullable<z.ZodString>;
1249
- } & {
1250
603
  key: z.ZodString;
1251
604
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
1252
605
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
1253
606
  currentVersionId: z.ZodNullable<z.ZodString>;
1254
607
  createdByCurrentActor: z.ZodBoolean;
1255
608
  diverged: z.ZodBoolean;
1256
- createdAt: z.ZodDate;
1257
- updatedAt: z.ZodDate;
1258
- }, "strip", z.ZodTypeAny, {
1259
- key: string;
1260
- name: string;
1261
- id: string;
1262
- currentVersionId: string | null;
1263
- slug: string;
1264
- createdAt: Date;
1265
- updatedAt: Date;
1266
- diverged: boolean;
1267
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1268
- sourceLocator: string | null;
1269
- sourceRef: string | null;
1270
- forkedFromSkillId: string | null;
1271
- forkedFromCompanyId: string | null;
1272
- createdByCurrentActor: boolean;
1273
- }, {
1274
- key: string;
1275
- name: string;
1276
- id: string;
1277
- currentVersionId: string | null;
1278
- slug: string;
1279
- createdAt: Date;
1280
- updatedAt: Date;
1281
- diverged: boolean;
1282
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1283
- sourceLocator: string | null;
1284
- sourceRef: string | null;
1285
- forkedFromSkillId: string | null;
1286
- forkedFromCompanyId: string | null;
1287
- createdByCurrentActor: boolean;
1288
- }>, "many">;
1289
- }, "strip", z.ZodTypeAny, {
1290
- skillId: string;
1291
- usedByAgents: {
1292
- name: string;
1293
- id: string;
1294
- versionId: string | null;
1295
- desired: boolean;
1296
- adapterType: string;
1297
- urlKey: string;
1298
- actualState: string | null;
1299
- }[];
1300
- existingForks: {
1301
- key: string;
1302
- name: string;
1303
- id: string;
1304
- currentVersionId: string | null;
1305
- slug: string;
1306
- createdAt: Date;
1307
- updatedAt: Date;
1308
- diverged: boolean;
1309
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1310
- sourceLocator: string | null;
1311
- sourceRef: string | null;
1312
- forkedFromSkillId: string | null;
1313
- forkedFromCompanyId: string | null;
1314
- createdByCurrentActor: boolean;
1315
- }[];
1316
- original: {
1317
- name: string;
1318
- id: string;
1319
- slug: string;
1320
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1321
- sourceLocator: string | null;
1322
- sourceRef: string | null;
1323
- };
1324
- agentUsageCount: number;
1325
- }, {
1326
- skillId: string;
1327
- usedByAgents: {
1328
- name: string;
1329
- id: string;
1330
- versionId: string | null;
1331
- desired: boolean;
1332
- adapterType: string;
1333
- urlKey: string;
1334
- actualState: string | null;
1335
- }[];
1336
- existingForks: {
1337
- key: string;
1338
- name: string;
1339
- id: string;
1340
- currentVersionId: string | null;
1341
- slug: string;
1342
- createdAt: Date;
1343
- updatedAt: Date;
1344
- diverged: boolean;
1345
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1346
- sourceLocator: string | null;
1347
- sourceRef: string | null;
1348
- forkedFromSkillId: string | null;
1349
- forkedFromCompanyId: string | null;
1350
- createdByCurrentActor: boolean;
1351
- }[];
1352
- original: {
1353
- name: string;
1354
- id: string;
1355
- slug: string;
1356
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1357
- sourceLocator: string | null;
1358
- sourceRef: string | null;
1359
- };
1360
- agentUsageCount: number;
1361
- }>;
609
+ createdAt: z.ZodCoercedDate<unknown>;
610
+ updatedAt: z.ZodCoercedDate<unknown>;
611
+ }, z.core.$strip>>;
612
+ }, z.core.$strip>;
1362
613
  export declare const companySkillRenameSchema: z.ZodObject<{
1363
614
  name: z.ZodString;
1364
615
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1365
- }, "strip", z.ZodTypeAny, {
1366
- name: string;
1367
- slug?: string | null | undefined;
1368
- }, {
1369
- name: string;
1370
- slug?: string | null | undefined;
1371
- }>;
616
+ }, z.core.$strip>;
1372
617
  export declare const companySkillRenameResultSchema: z.ZodObject<{
1373
618
  skill: z.ZodObject<{
1374
619
  id: z.ZodString;
@@ -1380,28 +625,47 @@ export declare const companySkillRenameResultSchema: z.ZodObject<{
1380
625
  name: z.ZodString;
1381
626
  description: z.ZodNullable<z.ZodString>;
1382
627
  markdown: z.ZodString;
1383
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
628
+ sourceType: z.ZodEnum<{
629
+ url: "url";
630
+ local_path: "local_path";
631
+ github: "github";
632
+ catalog: "catalog";
633
+ skills_sh: "skills_sh";
634
+ }>;
1384
635
  sourceLocator: z.ZodNullable<z.ZodString>;
1385
636
  sourceRef: z.ZodNullable<z.ZodString>;
1386
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
1387
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
637
+ trustLevel: z.ZodEnum<{
638
+ markdown_only: "markdown_only";
639
+ assets: "assets";
640
+ scripts_executables: "scripts_executables";
641
+ }>;
642
+ compatibility: z.ZodEnum<{
643
+ unknown: "unknown";
644
+ compatible: "compatible";
645
+ invalid: "invalid";
646
+ }>;
1388
647
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
1389
648
  path: z.ZodString;
1390
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
1391
- }, "strip", z.ZodTypeAny, {
1392
- path: string;
1393
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1394
- }, {
1395
- path: string;
1396
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1397
- }>, "many">>;
649
+ kind: z.ZodEnum<{
650
+ skill: "skill";
651
+ markdown: "markdown";
652
+ other: "other";
653
+ reference: "reference";
654
+ script: "script";
655
+ asset: "asset";
656
+ }>;
657
+ }, z.core.$strip>>>;
1398
658
  iconUrl: z.ZodNullable<z.ZodString>;
1399
659
  color: z.ZodNullable<z.ZodString>;
1400
660
  tagline: z.ZodNullable<z.ZodString>;
1401
661
  authorName: z.ZodNullable<z.ZodString>;
1402
662
  homepageUrl: z.ZodNullable<z.ZodString>;
1403
- categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1404
- sharingScope: z.ZodEnum<["private", "company", "public_link"]>;
663
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
664
+ sharingScope: z.ZodEnum<{
665
+ private: "private";
666
+ company: "company";
667
+ public_link: "public_link";
668
+ }>;
1405
669
  publicShareToken: z.ZodNullable<z.ZodString>;
1406
670
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
1407
671
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
@@ -1410,81 +674,9 @@ export declare const companySkillRenameResultSchema: z.ZodObject<{
1410
674
  forkCount: z.ZodNumber;
1411
675
  currentVersionId: z.ZodNullable<z.ZodString>;
1412
676
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1413
- createdAt: z.ZodDate;
1414
- updatedAt: z.ZodDate;
1415
- }, "strip", z.ZodTypeAny, {
1416
- description: string | null;
1417
- key: string;
1418
- companyId: string;
1419
- name: string;
1420
- id: string;
1421
- currentVersionId: string | null;
1422
- metadata: Record<string, unknown> | null;
1423
- color: string | null;
1424
- slug: string;
1425
- markdown: string;
1426
- createdAt: Date;
1427
- updatedAt: Date;
1428
- categories: string[];
1429
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1430
- sourceLocator: string | null;
1431
- sourceRef: string | null;
1432
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
1433
- compatibility: "unknown" | "compatible" | "invalid";
1434
- fileInventory: {
1435
- path: string;
1436
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1437
- }[];
1438
- iconUrl: string | null;
1439
- tagline: string | null;
1440
- authorName: string | null;
1441
- homepageUrl: string | null;
1442
- sharingScope: "private" | "company" | "public_link";
1443
- publicShareToken: string | null;
1444
- forkedFromSkillId: string | null;
1445
- forkedFromCompanyId: string | null;
1446
- starCount: number;
1447
- installCount: number;
1448
- forkCount: number;
1449
- folderId?: string | null | undefined;
1450
- folderPath?: string | null | undefined;
1451
- }, {
1452
- description: string | null;
1453
- key: string;
1454
- companyId: string;
1455
- name: string;
1456
- id: string;
1457
- currentVersionId: string | null;
1458
- metadata: Record<string, unknown> | null;
1459
- color: string | null;
1460
- slug: string;
1461
- markdown: string;
1462
- createdAt: Date;
1463
- updatedAt: Date;
1464
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1465
- sourceLocator: string | null;
1466
- sourceRef: string | null;
1467
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
1468
- compatibility: "unknown" | "compatible" | "invalid";
1469
- iconUrl: string | null;
1470
- tagline: string | null;
1471
- authorName: string | null;
1472
- homepageUrl: string | null;
1473
- sharingScope: "private" | "company" | "public_link";
1474
- publicShareToken: string | null;
1475
- forkedFromSkillId: string | null;
1476
- forkedFromCompanyId: string | null;
1477
- starCount: number;
1478
- installCount: number;
1479
- forkCount: number;
1480
- folderId?: string | null | undefined;
1481
- categories?: string[] | undefined;
1482
- folderPath?: string | null | undefined;
1483
- fileInventory?: {
1484
- path: string;
1485
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1486
- }[] | undefined;
1487
- }>;
677
+ createdAt: z.ZodCoercedDate<unknown>;
678
+ updatedAt: z.ZodCoercedDate<unknown>;
679
+ }, z.core.$strip>;
1488
680
  previousName: z.ZodString;
1489
681
  previousSlug: z.ZodString;
1490
682
  previousKey: z.ZodString;
@@ -1492,108 +684,8 @@ export declare const companySkillRenameResultSchema: z.ZodObject<{
1492
684
  agentId: z.ZodString;
1493
685
  previousSkillKey: z.ZodString;
1494
686
  nextSkillKey: z.ZodString;
1495
- }, "strip", z.ZodTypeAny, {
1496
- agentId: string;
1497
- previousSkillKey: string;
1498
- nextSkillKey: string;
1499
- }, {
1500
- agentId: string;
1501
- previousSkillKey: string;
1502
- nextSkillKey: string;
1503
- }>, "many">;
1504
- }, "strip", z.ZodTypeAny, {
1505
- skill: {
1506
- description: string | null;
1507
- key: string;
1508
- companyId: string;
1509
- name: string;
1510
- id: string;
1511
- currentVersionId: string | null;
1512
- metadata: Record<string, unknown> | null;
1513
- color: string | null;
1514
- slug: string;
1515
- markdown: string;
1516
- createdAt: Date;
1517
- updatedAt: Date;
1518
- categories: string[];
1519
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1520
- sourceLocator: string | null;
1521
- sourceRef: string | null;
1522
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
1523
- compatibility: "unknown" | "compatible" | "invalid";
1524
- fileInventory: {
1525
- path: string;
1526
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1527
- }[];
1528
- iconUrl: string | null;
1529
- tagline: string | null;
1530
- authorName: string | null;
1531
- homepageUrl: string | null;
1532
- sharingScope: "private" | "company" | "public_link";
1533
- publicShareToken: string | null;
1534
- forkedFromSkillId: string | null;
1535
- forkedFromCompanyId: string | null;
1536
- starCount: number;
1537
- installCount: number;
1538
- forkCount: number;
1539
- folderId?: string | null | undefined;
1540
- folderPath?: string | null | undefined;
1541
- };
1542
- reassignments: {
1543
- agentId: string;
1544
- previousSkillKey: string;
1545
- nextSkillKey: string;
1546
- }[];
1547
- previousName: string;
1548
- previousSlug: string;
1549
- previousKey: string;
1550
- }, {
1551
- skill: {
1552
- description: string | null;
1553
- key: string;
1554
- companyId: string;
1555
- name: string;
1556
- id: string;
1557
- currentVersionId: string | null;
1558
- metadata: Record<string, unknown> | null;
1559
- color: string | null;
1560
- slug: string;
1561
- markdown: string;
1562
- createdAt: Date;
1563
- updatedAt: Date;
1564
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
1565
- sourceLocator: string | null;
1566
- sourceRef: string | null;
1567
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
1568
- compatibility: "unknown" | "compatible" | "invalid";
1569
- iconUrl: string | null;
1570
- tagline: string | null;
1571
- authorName: string | null;
1572
- homepageUrl: string | null;
1573
- sharingScope: "private" | "company" | "public_link";
1574
- publicShareToken: string | null;
1575
- forkedFromSkillId: string | null;
1576
- forkedFromCompanyId: string | null;
1577
- starCount: number;
1578
- installCount: number;
1579
- forkCount: number;
1580
- folderId?: string | null | undefined;
1581
- categories?: string[] | undefined;
1582
- folderPath?: string | null | undefined;
1583
- fileInventory?: {
1584
- path: string;
1585
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1586
- }[] | undefined;
1587
- };
1588
- reassignments: {
1589
- agentId: string;
1590
- previousSkillKey: string;
1591
- nextSkillKey: string;
1592
- }[];
1593
- previousName: string;
1594
- previousSlug: string;
1595
- previousKey: string;
1596
- }>;
687
+ }, z.core.$strip>>;
688
+ }, z.core.$strip>;
1597
689
  export declare const companySkillUpdateSchema: z.ZodDefault<z.ZodObject<{
1598
690
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1599
691
  iconUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1601,27 +693,13 @@ export declare const companySkillUpdateSchema: z.ZodDefault<z.ZodObject<{
1601
693
  tagline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1602
694
  authorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1603
695
  homepageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1604
- categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1605
- sharingScope: z.ZodOptional<z.ZodEnum<["private", "company", "public_link"]>>;
1606
- }, "strip", z.ZodTypeAny, {
1607
- description?: string | null | undefined;
1608
- color?: string | null | undefined;
1609
- categories?: string[] | undefined;
1610
- iconUrl?: string | null | undefined;
1611
- tagline?: string | null | undefined;
1612
- authorName?: string | null | undefined;
1613
- homepageUrl?: string | null | undefined;
1614
- sharingScope?: "private" | "company" | "public_link" | undefined;
1615
- }, {
1616
- description?: string | null | undefined;
1617
- color?: string | null | undefined;
1618
- categories?: string[] | undefined;
1619
- iconUrl?: string | null | undefined;
1620
- tagline?: string | null | undefined;
1621
- authorName?: string | null | undefined;
1622
- homepageUrl?: string | null | undefined;
1623
- sharingScope?: "private" | "company" | "public_link" | undefined;
1624
- }>>;
696
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
697
+ sharingScope: z.ZodOptional<z.ZodEnum<{
698
+ private: "private";
699
+ company: "company";
700
+ public_link: "public_link";
701
+ }>>;
702
+ }, z.core.$strip>>;
1625
703
  export declare const companySkillUpdateStatusSchema: z.ZodObject<{
1626
704
  supported: z.ZodBoolean;
1627
705
  reason: z.ZodNullable<z.ZodString>;
@@ -1632,191 +710,87 @@ export declare const companySkillUpdateStatusSchema: z.ZodObject<{
1632
710
  installedHash: z.ZodNullable<z.ZodString>;
1633
711
  originHash: z.ZodNullable<z.ZodString>;
1634
712
  userModifiedAt: z.ZodNullable<z.ZodString>;
1635
- updateHoldReason: z.ZodNullable<z.ZodEnum<["local_modifications", "audit_hard_stop", "origin_unavailable", "compatibility_invalid", "operator_hold"]>>;
1636
- auditVerdict: z.ZodNullable<z.ZodEnum<["pass", "warning", "fail"]>>;
1637
- auditCodes: z.ZodArray<z.ZodString, "many">;
1638
- }, "strip", z.ZodTypeAny, {
1639
- supported: boolean;
1640
- reason: string | null;
1641
- originHash: string | null;
1642
- trackingRef: string | null;
1643
- currentRef: string | null;
1644
- latestRef: string | null;
1645
- hasUpdate: boolean;
1646
- installedHash: string | null;
1647
- userModifiedAt: string | null;
1648
- updateHoldReason: "local_modifications" | "audit_hard_stop" | "origin_unavailable" | "compatibility_invalid" | "operator_hold" | null;
1649
- auditVerdict: "warning" | "pass" | "fail" | null;
1650
- auditCodes: string[];
1651
- }, {
1652
- supported: boolean;
1653
- reason: string | null;
1654
- originHash: string | null;
1655
- trackingRef: string | null;
1656
- currentRef: string | null;
1657
- latestRef: string | null;
1658
- hasUpdate: boolean;
1659
- installedHash: string | null;
1660
- userModifiedAt: string | null;
1661
- updateHoldReason: "local_modifications" | "audit_hard_stop" | "origin_unavailable" | "compatibility_invalid" | "operator_hold" | null;
1662
- auditVerdict: "warning" | "pass" | "fail" | null;
1663
- auditCodes: string[];
1664
- }>;
713
+ updateHoldReason: z.ZodNullable<z.ZodEnum<{
714
+ local_modifications: "local_modifications";
715
+ audit_hard_stop: "audit_hard_stop";
716
+ origin_unavailable: "origin_unavailable";
717
+ compatibility_invalid: "compatibility_invalid";
718
+ operator_hold: "operator_hold";
719
+ }>>;
720
+ auditVerdict: z.ZodNullable<z.ZodEnum<{
721
+ warning: "warning";
722
+ pass: "pass";
723
+ fail: "fail";
724
+ }>>;
725
+ auditCodes: z.ZodArray<z.ZodString>;
726
+ }, z.core.$strip>;
1665
727
  export declare const companySkillAuditFindingSchema: z.ZodObject<{
1666
728
  code: z.ZodString;
1667
- severity: z.ZodEnum<["warning", "error"]>;
729
+ severity: z.ZodEnum<{
730
+ error: "error";
731
+ warning: "warning";
732
+ }>;
1668
733
  message: z.ZodString;
1669
734
  path: z.ZodNullable<z.ZodString>;
1670
- }, "strip", z.ZodTypeAny, {
1671
- code: string;
1672
- message: string;
1673
- path: string | null;
1674
- severity: "error" | "warning";
1675
- }, {
1676
- code: string;
1677
- message: string;
1678
- path: string | null;
1679
- severity: "error" | "warning";
1680
- }>;
735
+ }, z.core.$strip>;
1681
736
  export declare const companySkillAuditResultSchema: z.ZodObject<{
1682
737
  skillId: z.ZodString;
1683
738
  installedHash: z.ZodNullable<z.ZodString>;
1684
739
  originHash: z.ZodNullable<z.ZodString>;
1685
- verdict: z.ZodEnum<["pass", "warning", "fail"]>;
1686
- codes: z.ZodArray<z.ZodString, "many">;
740
+ verdict: z.ZodEnum<{
741
+ warning: "warning";
742
+ pass: "pass";
743
+ fail: "fail";
744
+ }>;
745
+ codes: z.ZodArray<z.ZodString>;
1687
746
  findings: z.ZodArray<z.ZodObject<{
1688
747
  code: z.ZodString;
1689
- severity: z.ZodEnum<["warning", "error"]>;
748
+ severity: z.ZodEnum<{
749
+ error: "error";
750
+ warning: "warning";
751
+ }>;
1690
752
  message: z.ZodString;
1691
753
  path: z.ZodNullable<z.ZodString>;
1692
- }, "strip", z.ZodTypeAny, {
1693
- code: string;
1694
- message: string;
1695
- path: string | null;
1696
- severity: "error" | "warning";
1697
- }, {
1698
- code: string;
1699
- message: string;
1700
- path: string | null;
1701
- severity: "error" | "warning";
1702
- }>, "many">;
754
+ }, z.core.$strip>>;
1703
755
  scannedAt: z.ZodString;
1704
756
  scanVersion: z.ZodString;
1705
- }, "strip", z.ZodTypeAny, {
1706
- skillId: string;
1707
- verdict: "warning" | "pass" | "fail";
1708
- originHash: string | null;
1709
- installedHash: string | null;
1710
- codes: string[];
1711
- findings: {
1712
- code: string;
1713
- message: string;
1714
- path: string | null;
1715
- severity: "error" | "warning";
1716
- }[];
1717
- scannedAt: string;
1718
- scanVersion: string;
1719
- }, {
1720
- skillId: string;
1721
- verdict: "warning" | "pass" | "fail";
1722
- originHash: string | null;
1723
- installedHash: string | null;
1724
- codes: string[];
1725
- findings: {
1726
- code: string;
1727
- message: string;
1728
- path: string | null;
1729
- severity: "error" | "warning";
1730
- }[];
1731
- scannedAt: string;
1732
- scanVersion: string;
1733
- }>;
757
+ }, z.core.$strip>;
1734
758
  export declare const companySkillInstallUpdateSchema: z.ZodDefault<z.ZodObject<{
1735
759
  force: z.ZodOptional<z.ZodBoolean>;
1736
- }, "strip", z.ZodTypeAny, {
1737
- force?: boolean | undefined;
1738
- }, {
1739
- force?: boolean | undefined;
1740
- }>>;
760
+ }, z.core.$strip>>;
1741
761
  export declare const companySkillResetSchema: z.ZodDefault<z.ZodObject<{
1742
762
  force: z.ZodOptional<z.ZodBoolean>;
1743
- }, "strip", z.ZodTypeAny, {
1744
- force?: boolean | undefined;
1745
- }, {
1746
- force?: boolean | undefined;
1747
- }>>;
763
+ }, z.core.$strip>>;
1748
764
  export declare const companySkillImportSchema: z.ZodObject<{
1749
765
  source: z.ZodString;
1750
- }, "strip", z.ZodTypeAny, {
1751
- source: string;
1752
- }, {
1753
- source: string;
1754
- }>;
766
+ }, z.core.$strip>;
1755
767
  export declare const companySkillProjectScanRequestSchema: z.ZodObject<{
1756
- projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1757
- workspaceIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1758
- mode: z.ZodOptional<z.ZodEnum<["import", "preview"]>>;
768
+ projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
769
+ workspaceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
770
+ mode: z.ZodOptional<z.ZodEnum<{
771
+ preview: "preview";
772
+ import: "import";
773
+ }>>;
1759
774
  selection: z.ZodOptional<z.ZodArray<z.ZodObject<{
1760
775
  workspaceId: z.ZodString;
1761
776
  path: z.ZodString;
1762
777
  slug: z.ZodOptional<z.ZodString>;
1763
- }, "strip", z.ZodTypeAny, {
1764
- path: string;
1765
- workspaceId: string;
1766
- slug?: string | undefined;
1767
- }, {
1768
- path: string;
1769
- workspaceId: string;
1770
- slug?: string | undefined;
1771
- }>, "many">>;
1772
- }, "strip", z.ZodTypeAny, {
1773
- mode?: "import" | "preview" | undefined;
1774
- projectIds?: string[] | undefined;
1775
- workspaceIds?: string[] | undefined;
1776
- selection?: {
1777
- path: string;
1778
- workspaceId: string;
1779
- slug?: string | undefined;
1780
- }[] | undefined;
1781
- }, {
1782
- mode?: "import" | "preview" | undefined;
1783
- projectIds?: string[] | undefined;
1784
- workspaceIds?: string[] | undefined;
1785
- selection?: {
1786
- path: string;
1787
- workspaceId: string;
1788
- slug?: string | undefined;
1789
- }[] | undefined;
1790
- }>;
778
+ }, z.core.$strip>>>;
779
+ }, z.core.$strip>;
1791
780
  export declare const companySkillProjectBrowseRequestSchema: z.ZodObject<{
1792
781
  projectId: z.ZodString;
1793
782
  workspaceId: z.ZodString;
1794
783
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1795
- }, "strip", z.ZodTypeAny, {
1796
- projectId: string;
1797
- workspaceId: string;
1798
- path?: string | null | undefined;
1799
- }, {
1800
- projectId: string;
1801
- workspaceId: string;
1802
- path?: string | null | undefined;
1803
- }>;
784
+ }, z.core.$strip>;
1804
785
  export declare const companySkillProjectBrowseEntrySchema: z.ZodObject<{
1805
786
  name: z.ZodString;
1806
787
  path: z.ZodString;
1807
- kind: z.ZodEnum<["directory", "file"]>;
788
+ kind: z.ZodEnum<{
789
+ file: "file";
790
+ directory: "directory";
791
+ }>;
1808
792
  isSkill: z.ZodBoolean;
1809
- }, "strip", z.ZodTypeAny, {
1810
- path: string;
1811
- name: string;
1812
- kind: "file" | "directory";
1813
- isSkill: boolean;
1814
- }, {
1815
- path: string;
1816
- name: string;
1817
- kind: "file" | "directory";
1818
- isSkill: boolean;
1819
- }>;
793
+ }, z.core.$strip>;
1820
794
  export declare const companySkillProjectBrowseResultSchema: z.ZodObject<{
1821
795
  projectId: z.ZodString;
1822
796
  workspaceId: z.ZodString;
@@ -1826,47 +800,14 @@ export declare const companySkillProjectBrowseResultSchema: z.ZodObject<{
1826
800
  entries: z.ZodArray<z.ZodObject<{
1827
801
  name: z.ZodString;
1828
802
  path: z.ZodString;
1829
- kind: z.ZodEnum<["directory", "file"]>;
803
+ kind: z.ZodEnum<{
804
+ file: "file";
805
+ directory: "directory";
806
+ }>;
1830
807
  isSkill: z.ZodBoolean;
1831
- }, "strip", z.ZodTypeAny, {
1832
- path: string;
1833
- name: string;
1834
- kind: "file" | "directory";
1835
- isSkill: boolean;
1836
- }, {
1837
- path: string;
1838
- name: string;
1839
- kind: "file" | "directory";
1840
- isSkill: boolean;
1841
- }>, "many">;
808
+ }, z.core.$strip>>;
1842
809
  truncated: z.ZodBoolean;
1843
- }, "strip", z.ZodTypeAny, {
1844
- entries: {
1845
- path: string;
1846
- name: string;
1847
- kind: "file" | "directory";
1848
- isSkill: boolean;
1849
- }[];
1850
- path: string;
1851
- projectId: string;
1852
- workspaceId: string;
1853
- workspaceName: string;
1854
- parentPath: string | null;
1855
- truncated: boolean;
1856
- }, {
1857
- entries: {
1858
- path: string;
1859
- name: string;
1860
- kind: "file" | "directory";
1861
- isSkill: boolean;
1862
- }[];
1863
- path: string;
1864
- projectId: string;
1865
- workspaceId: string;
1866
- workspaceName: string;
1867
- parentPath: string | null;
1868
- truncated: boolean;
1869
- }>;
810
+ }, z.core.$strip>;
1870
811
  export declare const companySkillProjectScanCandidateSchema: z.ZodObject<{
1871
812
  slug: z.ZodString;
1872
813
  name: z.ZodString;
@@ -1877,36 +818,15 @@ export declare const companySkillProjectScanCandidateSchema: z.ZodObject<{
1877
818
  projectName: z.ZodString;
1878
819
  directoryRoot: z.ZodString;
1879
820
  relativePath: z.ZodString;
1880
- status: z.ZodEnum<["new", "already_imported", "conflict", "skipped"]>;
821
+ status: z.ZodEnum<{
822
+ skipped: "skipped";
823
+ conflict: "conflict";
824
+ new: "new";
825
+ already_imported: "already_imported";
826
+ }>;
1881
827
  existingSkillId: z.ZodOptional<z.ZodString>;
1882
828
  reason: z.ZodOptional<z.ZodString>;
1883
- }, "strip", z.ZodTypeAny, {
1884
- description: string | null;
1885
- status: "skipped" | "conflict" | "new" | "already_imported";
1886
- name: string;
1887
- projectId: string;
1888
- slug: string;
1889
- workspaceId: string;
1890
- workspaceName: string;
1891
- projectName: string;
1892
- directoryRoot: string;
1893
- relativePath: string;
1894
- reason?: string | undefined;
1895
- existingSkillId?: string | undefined;
1896
- }, {
1897
- description: string | null;
1898
- status: "skipped" | "conflict" | "new" | "already_imported";
1899
- name: string;
1900
- projectId: string;
1901
- slug: string;
1902
- workspaceId: string;
1903
- workspaceName: string;
1904
- projectName: string;
1905
- directoryRoot: string;
1906
- relativePath: string;
1907
- reason?: string | undefined;
1908
- existingSkillId?: string | undefined;
1909
- }>;
829
+ }, z.core.$strip>;
1910
830
  export declare const companySkillProjectScanSkippedSchema: z.ZodObject<{
1911
831
  projectId: z.ZodNullable<z.ZodString>;
1912
832
  projectName: z.ZodNullable<z.ZodString>;
@@ -1914,21 +834,7 @@ export declare const companySkillProjectScanSkippedSchema: z.ZodObject<{
1914
834
  workspaceName: z.ZodNullable<z.ZodString>;
1915
835
  path: z.ZodNullable<z.ZodString>;
1916
836
  reason: z.ZodString;
1917
- }, "strip", z.ZodTypeAny, {
1918
- path: string | null;
1919
- projectId: string | null;
1920
- reason: string;
1921
- workspaceId: string | null;
1922
- workspaceName: string | null;
1923
- projectName: string | null;
1924
- }, {
1925
- path: string | null;
1926
- projectId: string | null;
1927
- reason: string;
1928
- workspaceId: string | null;
1929
- workspaceName: string | null;
1930
- projectName: string | null;
1931
- }>;
837
+ }, z.core.$strip>;
1932
838
  export declare const companySkillProjectScanConflictSchema: z.ZodObject<{
1933
839
  slug: z.ZodString;
1934
840
  key: z.ZodString;
@@ -1941,31 +847,7 @@ export declare const companySkillProjectScanConflictSchema: z.ZodObject<{
1941
847
  existingSkillKey: z.ZodString;
1942
848
  existingSourceLocator: z.ZodNullable<z.ZodString>;
1943
849
  reason: z.ZodString;
1944
- }, "strip", z.ZodTypeAny, {
1945
- key: string;
1946
- path: string;
1947
- projectId: string;
1948
- reason: string;
1949
- slug: string;
1950
- workspaceId: string;
1951
- workspaceName: string;
1952
- projectName: string;
1953
- existingSkillId: string;
1954
- existingSkillKey: string;
1955
- existingSourceLocator: string | null;
1956
- }, {
1957
- key: string;
1958
- path: string;
1959
- projectId: string;
1960
- reason: string;
1961
- slug: string;
1962
- workspaceId: string;
1963
- workspaceName: string;
1964
- projectName: string;
1965
- existingSkillId: string;
1966
- existingSkillKey: string;
1967
- existingSourceLocator: string | null;
1968
- }>;
850
+ }, z.core.$strip>;
1969
851
  export declare const companySkillProjectScanResultSchema: z.ZodObject<{
1970
852
  scannedProjects: z.ZodNumber;
1971
853
  scannedWorkspaces: z.ZodNumber;
@@ -1980,28 +862,47 @@ export declare const companySkillProjectScanResultSchema: z.ZodObject<{
1980
862
  name: z.ZodString;
1981
863
  description: z.ZodNullable<z.ZodString>;
1982
864
  markdown: z.ZodString;
1983
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
865
+ sourceType: z.ZodEnum<{
866
+ url: "url";
867
+ local_path: "local_path";
868
+ github: "github";
869
+ catalog: "catalog";
870
+ skills_sh: "skills_sh";
871
+ }>;
1984
872
  sourceLocator: z.ZodNullable<z.ZodString>;
1985
873
  sourceRef: z.ZodNullable<z.ZodString>;
1986
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
1987
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
874
+ trustLevel: z.ZodEnum<{
875
+ markdown_only: "markdown_only";
876
+ assets: "assets";
877
+ scripts_executables: "scripts_executables";
878
+ }>;
879
+ compatibility: z.ZodEnum<{
880
+ unknown: "unknown";
881
+ compatible: "compatible";
882
+ invalid: "invalid";
883
+ }>;
1988
884
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
1989
885
  path: z.ZodString;
1990
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
1991
- }, "strip", z.ZodTypeAny, {
1992
- path: string;
1993
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1994
- }, {
1995
- path: string;
1996
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
1997
- }>, "many">>;
886
+ kind: z.ZodEnum<{
887
+ skill: "skill";
888
+ markdown: "markdown";
889
+ other: "other";
890
+ reference: "reference";
891
+ script: "script";
892
+ asset: "asset";
893
+ }>;
894
+ }, z.core.$strip>>>;
1998
895
  iconUrl: z.ZodNullable<z.ZodString>;
1999
896
  color: z.ZodNullable<z.ZodString>;
2000
897
  tagline: z.ZodNullable<z.ZodString>;
2001
898
  authorName: z.ZodNullable<z.ZodString>;
2002
899
  homepageUrl: z.ZodNullable<z.ZodString>;
2003
- categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2004
- sharingScope: z.ZodEnum<["private", "company", "public_link"]>;
900
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
901
+ sharingScope: z.ZodEnum<{
902
+ private: "private";
903
+ company: "company";
904
+ public_link: "public_link";
905
+ }>;
2005
906
  publicShareToken: z.ZodNullable<z.ZodString>;
2006
907
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
2007
908
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
@@ -2010,81 +911,9 @@ export declare const companySkillProjectScanResultSchema: z.ZodObject<{
2010
911
  forkCount: z.ZodNumber;
2011
912
  currentVersionId: z.ZodNullable<z.ZodString>;
2012
913
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2013
- createdAt: z.ZodDate;
2014
- updatedAt: z.ZodDate;
2015
- }, "strip", z.ZodTypeAny, {
2016
- description: string | null;
2017
- key: string;
2018
- companyId: string;
2019
- name: string;
2020
- id: string;
2021
- currentVersionId: string | null;
2022
- metadata: Record<string, unknown> | null;
2023
- color: string | null;
2024
- slug: string;
2025
- markdown: string;
2026
- createdAt: Date;
2027
- updatedAt: Date;
2028
- categories: string[];
2029
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
2030
- sourceLocator: string | null;
2031
- sourceRef: string | null;
2032
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
2033
- compatibility: "unknown" | "compatible" | "invalid";
2034
- fileInventory: {
2035
- path: string;
2036
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2037
- }[];
2038
- iconUrl: string | null;
2039
- tagline: string | null;
2040
- authorName: string | null;
2041
- homepageUrl: string | null;
2042
- sharingScope: "private" | "company" | "public_link";
2043
- publicShareToken: string | null;
2044
- forkedFromSkillId: string | null;
2045
- forkedFromCompanyId: string | null;
2046
- starCount: number;
2047
- installCount: number;
2048
- forkCount: number;
2049
- folderId?: string | null | undefined;
2050
- folderPath?: string | null | undefined;
2051
- }, {
2052
- description: string | null;
2053
- key: string;
2054
- companyId: string;
2055
- name: string;
2056
- id: string;
2057
- currentVersionId: string | null;
2058
- metadata: Record<string, unknown> | null;
2059
- color: string | null;
2060
- slug: string;
2061
- markdown: string;
2062
- createdAt: Date;
2063
- updatedAt: Date;
2064
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
2065
- sourceLocator: string | null;
2066
- sourceRef: string | null;
2067
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
2068
- compatibility: "unknown" | "compatible" | "invalid";
2069
- iconUrl: string | null;
2070
- tagline: string | null;
2071
- authorName: string | null;
2072
- homepageUrl: string | null;
2073
- sharingScope: "private" | "company" | "public_link";
2074
- publicShareToken: string | null;
2075
- forkedFromSkillId: string | null;
2076
- forkedFromCompanyId: string | null;
2077
- starCount: number;
2078
- installCount: number;
2079
- forkCount: number;
2080
- folderId?: string | null | undefined;
2081
- categories?: string[] | undefined;
2082
- folderPath?: string | null | undefined;
2083
- fileInventory?: {
2084
- path: string;
2085
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2086
- }[] | undefined;
2087
- }>, "many">;
914
+ createdAt: z.ZodCoercedDate<unknown>;
915
+ updatedAt: z.ZodCoercedDate<unknown>;
916
+ }, z.core.$strip>>;
2088
917
  updated: z.ZodArray<z.ZodObject<{
2089
918
  id: z.ZodString;
2090
919
  companyId: z.ZodString;
@@ -2095,28 +924,47 @@ export declare const companySkillProjectScanResultSchema: z.ZodObject<{
2095
924
  name: z.ZodString;
2096
925
  description: z.ZodNullable<z.ZodString>;
2097
926
  markdown: z.ZodString;
2098
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
927
+ sourceType: z.ZodEnum<{
928
+ url: "url";
929
+ local_path: "local_path";
930
+ github: "github";
931
+ catalog: "catalog";
932
+ skills_sh: "skills_sh";
933
+ }>;
2099
934
  sourceLocator: z.ZodNullable<z.ZodString>;
2100
935
  sourceRef: z.ZodNullable<z.ZodString>;
2101
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
2102
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
936
+ trustLevel: z.ZodEnum<{
937
+ markdown_only: "markdown_only";
938
+ assets: "assets";
939
+ scripts_executables: "scripts_executables";
940
+ }>;
941
+ compatibility: z.ZodEnum<{
942
+ unknown: "unknown";
943
+ compatible: "compatible";
944
+ invalid: "invalid";
945
+ }>;
2103
946
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
2104
947
  path: z.ZodString;
2105
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
2106
- }, "strip", z.ZodTypeAny, {
2107
- path: string;
2108
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2109
- }, {
2110
- path: string;
2111
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2112
- }>, "many">>;
948
+ kind: z.ZodEnum<{
949
+ skill: "skill";
950
+ markdown: "markdown";
951
+ other: "other";
952
+ reference: "reference";
953
+ script: "script";
954
+ asset: "asset";
955
+ }>;
956
+ }, z.core.$strip>>>;
2113
957
  iconUrl: z.ZodNullable<z.ZodString>;
2114
958
  color: z.ZodNullable<z.ZodString>;
2115
959
  tagline: z.ZodNullable<z.ZodString>;
2116
960
  authorName: z.ZodNullable<z.ZodString>;
2117
961
  homepageUrl: z.ZodNullable<z.ZodString>;
2118
- categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2119
- sharingScope: z.ZodEnum<["private", "company", "public_link"]>;
962
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
963
+ sharingScope: z.ZodEnum<{
964
+ private: "private";
965
+ company: "company";
966
+ public_link: "public_link";
967
+ }>;
2120
968
  publicShareToken: z.ZodNullable<z.ZodString>;
2121
969
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
2122
970
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
@@ -2125,81 +973,9 @@ export declare const companySkillProjectScanResultSchema: z.ZodObject<{
2125
973
  forkCount: z.ZodNumber;
2126
974
  currentVersionId: z.ZodNullable<z.ZodString>;
2127
975
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2128
- createdAt: z.ZodDate;
2129
- updatedAt: z.ZodDate;
2130
- }, "strip", z.ZodTypeAny, {
2131
- description: string | null;
2132
- key: string;
2133
- companyId: string;
2134
- name: string;
2135
- id: string;
2136
- currentVersionId: string | null;
2137
- metadata: Record<string, unknown> | null;
2138
- color: string | null;
2139
- slug: string;
2140
- markdown: string;
2141
- createdAt: Date;
2142
- updatedAt: Date;
2143
- categories: string[];
2144
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
2145
- sourceLocator: string | null;
2146
- sourceRef: string | null;
2147
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
2148
- compatibility: "unknown" | "compatible" | "invalid";
2149
- fileInventory: {
2150
- path: string;
2151
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2152
- }[];
2153
- iconUrl: string | null;
2154
- tagline: string | null;
2155
- authorName: string | null;
2156
- homepageUrl: string | null;
2157
- sharingScope: "private" | "company" | "public_link";
2158
- publicShareToken: string | null;
2159
- forkedFromSkillId: string | null;
2160
- forkedFromCompanyId: string | null;
2161
- starCount: number;
2162
- installCount: number;
2163
- forkCount: number;
2164
- folderId?: string | null | undefined;
2165
- folderPath?: string | null | undefined;
2166
- }, {
2167
- description: string | null;
2168
- key: string;
2169
- companyId: string;
2170
- name: string;
2171
- id: string;
2172
- currentVersionId: string | null;
2173
- metadata: Record<string, unknown> | null;
2174
- color: string | null;
2175
- slug: string;
2176
- markdown: string;
2177
- createdAt: Date;
2178
- updatedAt: Date;
2179
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
2180
- sourceLocator: string | null;
2181
- sourceRef: string | null;
2182
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
2183
- compatibility: "unknown" | "compatible" | "invalid";
2184
- iconUrl: string | null;
2185
- tagline: string | null;
2186
- authorName: string | null;
2187
- homepageUrl: string | null;
2188
- sharingScope: "private" | "company" | "public_link";
2189
- publicShareToken: string | null;
2190
- forkedFromSkillId: string | null;
2191
- forkedFromCompanyId: string | null;
2192
- starCount: number;
2193
- installCount: number;
2194
- forkCount: number;
2195
- folderId?: string | null | undefined;
2196
- categories?: string[] | undefined;
2197
- folderPath?: string | null | undefined;
2198
- fileInventory?: {
2199
- path: string;
2200
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2201
- }[] | undefined;
2202
- }>, "many">;
976
+ createdAt: z.ZodCoercedDate<unknown>;
977
+ updatedAt: z.ZodCoercedDate<unknown>;
978
+ }, z.core.$strip>>;
2203
979
  skipped: z.ZodArray<z.ZodObject<{
2204
980
  projectId: z.ZodNullable<z.ZodString>;
2205
981
  projectName: z.ZodNullable<z.ZodString>;
@@ -2207,21 +983,7 @@ export declare const companySkillProjectScanResultSchema: z.ZodObject<{
2207
983
  workspaceName: z.ZodNullable<z.ZodString>;
2208
984
  path: z.ZodNullable<z.ZodString>;
2209
985
  reason: z.ZodString;
2210
- }, "strip", z.ZodTypeAny, {
2211
- path: string | null;
2212
- projectId: string | null;
2213
- reason: string;
2214
- workspaceId: string | null;
2215
- workspaceName: string | null;
2216
- projectName: string | null;
2217
- }, {
2218
- path: string | null;
2219
- projectId: string | null;
2220
- reason: string;
2221
- workspaceId: string | null;
2222
- workspaceName: string | null;
2223
- projectName: string | null;
2224
- }>, "many">;
986
+ }, z.core.$strip>>;
2225
987
  conflicts: z.ZodArray<z.ZodObject<{
2226
988
  slug: z.ZodString;
2227
989
  key: z.ZodString;
@@ -2234,31 +996,7 @@ export declare const companySkillProjectScanResultSchema: z.ZodObject<{
2234
996
  existingSkillKey: z.ZodString;
2235
997
  existingSourceLocator: z.ZodNullable<z.ZodString>;
2236
998
  reason: z.ZodString;
2237
- }, "strip", z.ZodTypeAny, {
2238
- key: string;
2239
- path: string;
2240
- projectId: string;
2241
- reason: string;
2242
- slug: string;
2243
- workspaceId: string;
2244
- workspaceName: string;
2245
- projectName: string;
2246
- existingSkillId: string;
2247
- existingSkillKey: string;
2248
- existingSourceLocator: string | null;
2249
- }, {
2250
- key: string;
2251
- path: string;
2252
- projectId: string;
2253
- reason: string;
2254
- slug: string;
2255
- workspaceId: string;
2256
- workspaceName: string;
2257
- projectName: string;
2258
- existingSkillId: string;
2259
- existingSkillKey: string;
2260
- existingSourceLocator: string | null;
2261
- }>, "many">;
999
+ }, z.core.$strip>>;
2262
1000
  candidates: z.ZodArray<z.ZodObject<{
2263
1001
  slug: z.ZodString;
2264
1002
  name: z.ZodString;
@@ -2269,266 +1007,17 @@ export declare const companySkillProjectScanResultSchema: z.ZodObject<{
2269
1007
  projectName: z.ZodString;
2270
1008
  directoryRoot: z.ZodString;
2271
1009
  relativePath: z.ZodString;
2272
- status: z.ZodEnum<["new", "already_imported", "conflict", "skipped"]>;
1010
+ status: z.ZodEnum<{
1011
+ skipped: "skipped";
1012
+ conflict: "conflict";
1013
+ new: "new";
1014
+ already_imported: "already_imported";
1015
+ }>;
2273
1016
  existingSkillId: z.ZodOptional<z.ZodString>;
2274
1017
  reason: z.ZodOptional<z.ZodString>;
2275
- }, "strip", z.ZodTypeAny, {
2276
- description: string | null;
2277
- status: "skipped" | "conflict" | "new" | "already_imported";
2278
- name: string;
2279
- projectId: string;
2280
- slug: string;
2281
- workspaceId: string;
2282
- workspaceName: string;
2283
- projectName: string;
2284
- directoryRoot: string;
2285
- relativePath: string;
2286
- reason?: string | undefined;
2287
- existingSkillId?: string | undefined;
2288
- }, {
2289
- description: string | null;
2290
- status: "skipped" | "conflict" | "new" | "already_imported";
2291
- name: string;
2292
- projectId: string;
2293
- slug: string;
2294
- workspaceId: string;
2295
- workspaceName: string;
2296
- projectName: string;
2297
- directoryRoot: string;
2298
- relativePath: string;
2299
- reason?: string | undefined;
2300
- existingSkillId?: string | undefined;
2301
- }>, "many">;
2302
- warnings: z.ZodArray<z.ZodString, "many">;
2303
- }, "strip", z.ZodTypeAny, {
2304
- skipped: {
2305
- path: string | null;
2306
- projectId: string | null;
2307
- reason: string;
2308
- workspaceId: string | null;
2309
- workspaceName: string | null;
2310
- projectName: string | null;
2311
- }[];
2312
- warnings: string[];
2313
- imported: {
2314
- description: string | null;
2315
- key: string;
2316
- companyId: string;
2317
- name: string;
2318
- id: string;
2319
- currentVersionId: string | null;
2320
- metadata: Record<string, unknown> | null;
2321
- color: string | null;
2322
- slug: string;
2323
- markdown: string;
2324
- createdAt: Date;
2325
- updatedAt: Date;
2326
- categories: string[];
2327
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
2328
- sourceLocator: string | null;
2329
- sourceRef: string | null;
2330
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
2331
- compatibility: "unknown" | "compatible" | "invalid";
2332
- fileInventory: {
2333
- path: string;
2334
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2335
- }[];
2336
- iconUrl: string | null;
2337
- tagline: string | null;
2338
- authorName: string | null;
2339
- homepageUrl: string | null;
2340
- sharingScope: "private" | "company" | "public_link";
2341
- publicShareToken: string | null;
2342
- forkedFromSkillId: string | null;
2343
- forkedFromCompanyId: string | null;
2344
- starCount: number;
2345
- installCount: number;
2346
- forkCount: number;
2347
- folderId?: string | null | undefined;
2348
- folderPath?: string | null | undefined;
2349
- }[];
2350
- updated: {
2351
- description: string | null;
2352
- key: string;
2353
- companyId: string;
2354
- name: string;
2355
- id: string;
2356
- currentVersionId: string | null;
2357
- metadata: Record<string, unknown> | null;
2358
- color: string | null;
2359
- slug: string;
2360
- markdown: string;
2361
- createdAt: Date;
2362
- updatedAt: Date;
2363
- categories: string[];
2364
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
2365
- sourceLocator: string | null;
2366
- sourceRef: string | null;
2367
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
2368
- compatibility: "unknown" | "compatible" | "invalid";
2369
- fileInventory: {
2370
- path: string;
2371
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2372
- }[];
2373
- iconUrl: string | null;
2374
- tagline: string | null;
2375
- authorName: string | null;
2376
- homepageUrl: string | null;
2377
- sharingScope: "private" | "company" | "public_link";
2378
- publicShareToken: string | null;
2379
- forkedFromSkillId: string | null;
2380
- forkedFromCompanyId: string | null;
2381
- starCount: number;
2382
- installCount: number;
2383
- forkCount: number;
2384
- folderId?: string | null | undefined;
2385
- folderPath?: string | null | undefined;
2386
- }[];
2387
- scannedProjects: number;
2388
- scannedWorkspaces: number;
2389
- discovered: number;
2390
- conflicts: {
2391
- key: string;
2392
- path: string;
2393
- projectId: string;
2394
- reason: string;
2395
- slug: string;
2396
- workspaceId: string;
2397
- workspaceName: string;
2398
- projectName: string;
2399
- existingSkillId: string;
2400
- existingSkillKey: string;
2401
- existingSourceLocator: string | null;
2402
- }[];
2403
- candidates: {
2404
- description: string | null;
2405
- status: "skipped" | "conflict" | "new" | "already_imported";
2406
- name: string;
2407
- projectId: string;
2408
- slug: string;
2409
- workspaceId: string;
2410
- workspaceName: string;
2411
- projectName: string;
2412
- directoryRoot: string;
2413
- relativePath: string;
2414
- reason?: string | undefined;
2415
- existingSkillId?: string | undefined;
2416
- }[];
2417
- }, {
2418
- skipped: {
2419
- path: string | null;
2420
- projectId: string | null;
2421
- reason: string;
2422
- workspaceId: string | null;
2423
- workspaceName: string | null;
2424
- projectName: string | null;
2425
- }[];
2426
- warnings: string[];
2427
- imported: {
2428
- description: string | null;
2429
- key: string;
2430
- companyId: string;
2431
- name: string;
2432
- id: string;
2433
- currentVersionId: string | null;
2434
- metadata: Record<string, unknown> | null;
2435
- color: string | null;
2436
- slug: string;
2437
- markdown: string;
2438
- createdAt: Date;
2439
- updatedAt: Date;
2440
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
2441
- sourceLocator: string | null;
2442
- sourceRef: string | null;
2443
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
2444
- compatibility: "unknown" | "compatible" | "invalid";
2445
- iconUrl: string | null;
2446
- tagline: string | null;
2447
- authorName: string | null;
2448
- homepageUrl: string | null;
2449
- sharingScope: "private" | "company" | "public_link";
2450
- publicShareToken: string | null;
2451
- forkedFromSkillId: string | null;
2452
- forkedFromCompanyId: string | null;
2453
- starCount: number;
2454
- installCount: number;
2455
- forkCount: number;
2456
- folderId?: string | null | undefined;
2457
- categories?: string[] | undefined;
2458
- folderPath?: string | null | undefined;
2459
- fileInventory?: {
2460
- path: string;
2461
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2462
- }[] | undefined;
2463
- }[];
2464
- updated: {
2465
- description: string | null;
2466
- key: string;
2467
- companyId: string;
2468
- name: string;
2469
- id: string;
2470
- currentVersionId: string | null;
2471
- metadata: Record<string, unknown> | null;
2472
- color: string | null;
2473
- slug: string;
2474
- markdown: string;
2475
- createdAt: Date;
2476
- updatedAt: Date;
2477
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
2478
- sourceLocator: string | null;
2479
- sourceRef: string | null;
2480
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
2481
- compatibility: "unknown" | "compatible" | "invalid";
2482
- iconUrl: string | null;
2483
- tagline: string | null;
2484
- authorName: string | null;
2485
- homepageUrl: string | null;
2486
- sharingScope: "private" | "company" | "public_link";
2487
- publicShareToken: string | null;
2488
- forkedFromSkillId: string | null;
2489
- forkedFromCompanyId: string | null;
2490
- starCount: number;
2491
- installCount: number;
2492
- forkCount: number;
2493
- folderId?: string | null | undefined;
2494
- categories?: string[] | undefined;
2495
- folderPath?: string | null | undefined;
2496
- fileInventory?: {
2497
- path: string;
2498
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2499
- }[] | undefined;
2500
- }[];
2501
- scannedProjects: number;
2502
- scannedWorkspaces: number;
2503
- discovered: number;
2504
- conflicts: {
2505
- key: string;
2506
- path: string;
2507
- projectId: string;
2508
- reason: string;
2509
- slug: string;
2510
- workspaceId: string;
2511
- workspaceName: string;
2512
- projectName: string;
2513
- existingSkillId: string;
2514
- existingSkillKey: string;
2515
- existingSourceLocator: string | null;
2516
- }[];
2517
- candidates: {
2518
- description: string | null;
2519
- status: "skipped" | "conflict" | "new" | "already_imported";
2520
- name: string;
2521
- projectId: string;
2522
- slug: string;
2523
- workspaceId: string;
2524
- workspaceName: string;
2525
- projectName: string;
2526
- directoryRoot: string;
2527
- relativePath: string;
2528
- reason?: string | undefined;
2529
- existingSkillId?: string | undefined;
2530
- }[];
2531
- }>;
1018
+ }, z.core.$strip>>;
1019
+ warnings: z.ZodArray<z.ZodString>;
1020
+ }, z.core.$strip>;
2532
1021
  export declare const companySkillCreateSchema: z.ZodObject<{
2533
1022
  folderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2534
1023
  name: z.ZodString;
@@ -2540,84 +1029,48 @@ export declare const companySkillCreateSchema: z.ZodObject<{
2540
1029
  tagline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2541
1030
  authorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2542
1031
  homepageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2543
- categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2544
- sharingScope: z.ZodOptional<z.ZodEnum<["private", "company", "public_link"]>>;
1032
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
1033
+ sharingScope: z.ZodOptional<z.ZodEnum<{
1034
+ private: "private";
1035
+ company: "company";
1036
+ public_link: "public_link";
1037
+ }>>;
2545
1038
  forkedFromSkillId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2546
- }, "strip", z.ZodTypeAny, {
2547
- name: string;
2548
- description?: string | null | undefined;
2549
- color?: string | null | undefined;
2550
- slug?: string | null | undefined;
2551
- markdown?: string | null | undefined;
2552
- folderId?: string | null | undefined;
2553
- categories?: string[] | undefined;
2554
- iconUrl?: string | null | undefined;
2555
- tagline?: string | null | undefined;
2556
- authorName?: string | null | undefined;
2557
- homepageUrl?: string | null | undefined;
2558
- sharingScope?: "private" | "company" | "public_link" | undefined;
2559
- forkedFromSkillId?: string | null | undefined;
2560
- }, {
2561
- name: string;
2562
- description?: string | null | undefined;
2563
- color?: string | null | undefined;
2564
- slug?: string | null | undefined;
2565
- markdown?: string | null | undefined;
2566
- folderId?: string | null | undefined;
2567
- categories?: string[] | undefined;
2568
- iconUrl?: string | null | undefined;
2569
- tagline?: string | null | undefined;
2570
- authorName?: string | null | undefined;
2571
- homepageUrl?: string | null | undefined;
2572
- sharingScope?: "private" | "company" | "public_link" | undefined;
2573
- forkedFromSkillId?: string | null | undefined;
2574
- }>;
1039
+ }, z.core.$strip>;
2575
1040
  export declare const companySkillFileDetailSchema: z.ZodObject<{
2576
1041
  skillId: z.ZodString;
2577
1042
  path: z.ZodString;
2578
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
1043
+ kind: z.ZodEnum<{
1044
+ skill: "skill";
1045
+ markdown: "markdown";
1046
+ other: "other";
1047
+ reference: "reference";
1048
+ script: "script";
1049
+ asset: "asset";
1050
+ }>;
2579
1051
  content: z.ZodString;
2580
1052
  language: z.ZodNullable<z.ZodString>;
2581
1053
  markdown: z.ZodBoolean;
2582
1054
  editable: z.ZodBoolean;
2583
- }, "strip", z.ZodTypeAny, {
2584
- path: string;
2585
- content: string;
2586
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2587
- skillId: string;
2588
- markdown: boolean;
2589
- language: string | null;
2590
- editable: boolean;
2591
- }, {
2592
- path: string;
2593
- content: string;
2594
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2595
- skillId: string;
2596
- markdown: boolean;
2597
- language: string | null;
2598
- editable: boolean;
2599
- }>;
1055
+ }, z.core.$strip>;
2600
1056
  export declare const companySkillFileUpdateSchema: z.ZodObject<{
2601
1057
  path: z.ZodString;
2602
1058
  content: z.ZodString;
2603
- }, "strip", z.ZodTypeAny, {
2604
- path: string;
2605
- content: string;
2606
- }, {
2607
- path: string;
2608
- content: string;
2609
- }>;
1059
+ }, z.core.$strip>;
2610
1060
  export declare const companySkillFileDeleteSchema: z.ZodObject<{
2611
1061
  path: z.ZodString;
2612
- target: z.ZodEnum<["file", "folder"]>;
2613
- }, "strip", z.ZodTypeAny, {
2614
- target: "folder" | "file";
2615
- path: string;
2616
- }, {
2617
- target: "folder" | "file";
2618
- path: string;
1062
+ target: z.ZodEnum<{
1063
+ folder: "folder";
1064
+ file: "file";
1065
+ }>;
1066
+ }, z.core.$strip>;
1067
+ export declare const companySkillTestRunStatusSchema: z.ZodEnum<{
1068
+ running: "running";
1069
+ cancelled: "cancelled";
1070
+ failed: "failed";
1071
+ succeeded: "succeeded";
1072
+ queued: "queued";
2619
1073
  }>;
2620
- export declare const companySkillTestRunStatusSchema: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2621
1074
  export declare const companySkillTestInputSchema: z.ZodObject<{
2622
1075
  id: z.ZodString;
2623
1076
  companyId: z.ZodString;
@@ -2625,56 +1078,18 @@ export declare const companySkillTestInputSchema: z.ZodObject<{
2625
1078
  name: z.ZodString;
2626
1079
  content: z.ZodString;
2627
1080
  createdBy: z.ZodNullable<z.ZodString>;
2628
- deletedAt: z.ZodNullable<z.ZodDate>;
2629
- createdAt: z.ZodDate;
2630
- updatedAt: z.ZodDate;
2631
- }, "strip", z.ZodTypeAny, {
2632
- companyId: string;
2633
- name: string;
2634
- id: string;
2635
- content: string;
2636
- skillId: string;
2637
- createdAt: Date;
2638
- updatedAt: Date;
2639
- deletedAt: Date | null;
2640
- createdBy: string | null;
2641
- }, {
2642
- companyId: string;
2643
- name: string;
2644
- id: string;
2645
- content: string;
2646
- skillId: string;
2647
- createdAt: Date;
2648
- updatedAt: Date;
2649
- deletedAt: Date | null;
2650
- createdBy: string | null;
2651
- }>;
1081
+ deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1082
+ createdAt: z.ZodCoercedDate<unknown>;
1083
+ updatedAt: z.ZodCoercedDate<unknown>;
1084
+ }, z.core.$strip>;
2652
1085
  export declare const companySkillTestInputCreateSchema: z.ZodObject<{
2653
1086
  name: z.ZodString;
2654
1087
  content: z.ZodString;
2655
- }, "strip", z.ZodTypeAny, {
2656
- name: string;
2657
- content: string;
2658
- }, {
2659
- name: string;
2660
- content: string;
2661
- }>;
2662
- export declare const companySkillTestInputUpdateSchema: z.ZodEffects<z.ZodObject<{
1088
+ }, z.core.$strip>;
1089
+ export declare const companySkillTestInputUpdateSchema: z.ZodObject<{
2663
1090
  name: z.ZodOptional<z.ZodString>;
2664
1091
  content: z.ZodOptional<z.ZodString>;
2665
- }, "strip", z.ZodTypeAny, {
2666
- name?: string | undefined;
2667
- content?: string | undefined;
2668
- }, {
2669
- name?: string | undefined;
2670
- content?: string | undefined;
2671
- }>, {
2672
- name?: string | undefined;
2673
- content?: string | undefined;
2674
- }, {
2675
- name?: string | undefined;
2676
- content?: string | undefined;
2677
- }>;
1092
+ }, z.core.$strip>;
2678
1093
  export declare const companySkillTestRunTemplateSchema: z.ZodObject<{
2679
1094
  id: z.ZodString;
2680
1095
  companyId: z.ZodString;
@@ -2686,109 +1101,31 @@ export declare const companySkillTestRunTemplateSchema: z.ZodObject<{
2686
1101
  createdByUserId: z.ZodNullable<z.ZodString>;
2687
1102
  updatedByAgentId: z.ZodNullable<z.ZodString>;
2688
1103
  updatedByUserId: z.ZodNullable<z.ZodString>;
2689
- deletedAt: z.ZodNullable<z.ZodDate>;
2690
- createdAt: z.ZodDate;
2691
- updatedAt: z.ZodDate;
2692
- }, "strip", z.ZodTypeAny, {
2693
- description: string | null;
2694
- companyId: string;
2695
- name: string;
2696
- id: string;
2697
- createdByAgentId: string | null;
2698
- createdByUserId: string | null;
2699
- createdAt: Date;
2700
- updatedAt: Date;
2701
- updatedByAgentId: string | null;
2702
- updatedByUserId: string | null;
2703
- body: string;
2704
- deletedAt: Date | null;
2705
- builtIn: boolean;
2706
- }, {
2707
- description: string | null;
2708
- companyId: string;
2709
- name: string;
2710
- id: string;
2711
- createdByAgentId: string | null;
2712
- createdByUserId: string | null;
2713
- createdAt: Date;
2714
- updatedAt: Date;
2715
- updatedByAgentId: string | null;
2716
- updatedByUserId: string | null;
2717
- body: string;
2718
- deletedAt: Date | null;
2719
- builtIn: boolean;
2720
- }>;
1104
+ deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1105
+ createdAt: z.ZodCoercedDate<unknown>;
1106
+ updatedAt: z.ZodCoercedDate<unknown>;
1107
+ }, z.core.$strip>;
2721
1108
  export declare const companySkillTestRunTemplateCreateSchema: z.ZodObject<{
2722
1109
  name: z.ZodString;
2723
1110
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2724
1111
  body: z.ZodString;
2725
- }, "strip", z.ZodTypeAny, {
2726
- name: string;
2727
- body: string;
2728
- description?: string | null | undefined;
2729
- }, {
2730
- name: string;
2731
- body: string;
2732
- description?: string | null | undefined;
2733
- }>;
2734
- export declare const companySkillTestRunTemplateUpdateSchema: z.ZodEffects<z.ZodObject<{
1112
+ }, z.core.$strip>;
1113
+ export declare const companySkillTestRunTemplateUpdateSchema: z.ZodObject<{
2735
1114
  name: z.ZodOptional<z.ZodString>;
2736
1115
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2737
1116
  body: z.ZodOptional<z.ZodString>;
2738
- }, "strip", z.ZodTypeAny, {
2739
- description?: string | null | undefined;
2740
- name?: string | undefined;
2741
- body?: string | undefined;
2742
- }, {
2743
- description?: string | null | undefined;
2744
- name?: string | undefined;
2745
- body?: string | undefined;
2746
- }>, {
2747
- description?: string | null | undefined;
2748
- name?: string | undefined;
2749
- body?: string | undefined;
2750
- }, {
2751
- description?: string | null | undefined;
2752
- name?: string | undefined;
2753
- body?: string | undefined;
2754
- }>;
2755
- export declare const companySkillTestRunTemplateSnapshotSchema: z.ZodEffects<z.ZodObject<{
1117
+ }, z.core.$strip>;
1118
+ export declare const companySkillTestRunTemplateSnapshotSchema: z.ZodObject<{
2756
1119
  templateId: z.ZodNullable<z.ZodString>;
2757
1120
  templateName: z.ZodNullable<z.ZodString>;
2758
1121
  templateBody: z.ZodNullable<z.ZodString>;
2759
- }, "strip", z.ZodTypeAny, {
2760
- templateId: string | null;
2761
- templateName: string | null;
2762
- templateBody: string | null;
2763
- }, {
2764
- templateId: string | null;
2765
- templateName: string | null;
2766
- templateBody: string | null;
2767
- }>, {
2768
- templateId: string | null;
2769
- templateName: string | null;
2770
- templateBody: string | null;
2771
- }, {
2772
- templateId: string | null;
2773
- templateName: string | null;
2774
- templateBody: string | null;
2775
- }>;
1122
+ }, z.core.$strip>;
2776
1123
  export declare const companySkillTestRunCostSummarySchema: z.ZodObject<{
2777
1124
  costCents: z.ZodNumber;
2778
1125
  inputTokens: z.ZodNumber;
2779
1126
  cachedInputTokens: z.ZodNumber;
2780
1127
  outputTokens: z.ZodNumber;
2781
- }, "strip", z.ZodTypeAny, {
2782
- inputTokens: number;
2783
- outputTokens: number;
2784
- costCents: number;
2785
- cachedInputTokens: number;
2786
- }, {
2787
- inputTokens: number;
2788
- outputTokens: number;
2789
- costCents: number;
2790
- cachedInputTokens: number;
2791
- }>;
1128
+ }, z.core.$strip>;
2792
1129
  export declare const companySkillTestRunSchema: z.ZodObject<{
2793
1130
  id: z.ZodString;
2794
1131
  companyId: z.ZodString;
@@ -2804,194 +1141,62 @@ export declare const companySkillTestRunSchema: z.ZodObject<{
2804
1141
  templateBody: z.ZodNullable<z.ZodString>;
2805
1142
  renderedTemplateBody: z.ZodNullable<z.ZodString>;
2806
1143
  harnessIssueDescription: z.ZodString;
2807
- status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1144
+ status: z.ZodEnum<{
1145
+ running: "running";
1146
+ cancelled: "cancelled";
1147
+ failed: "failed";
1148
+ succeeded: "succeeded";
1149
+ queued: "queued";
1150
+ }>;
2808
1151
  outputDocumentKey: z.ZodString;
2809
1152
  outputSnapshot: z.ZodString;
2810
1153
  error: z.ZodNullable<z.ZodString>;
2811
- deletedAt: z.ZodNullable<z.ZodDate>;
2812
- supersededAt: z.ZodNullable<z.ZodDate>;
2813
- harnessIssueExpiresAt: z.ZodNullable<z.ZodDate>;
2814
- harnessIssueDeletedAt: z.ZodNullable<z.ZodDate>;
2815
- createdAt: z.ZodDate;
2816
- updatedAt: z.ZodDate;
1154
+ deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1155
+ supersededAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1156
+ harnessIssueExpiresAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1157
+ harnessIssueDeletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1158
+ createdAt: z.ZodCoercedDate<unknown>;
1159
+ updatedAt: z.ZodCoercedDate<unknown>;
2817
1160
  cost: z.ZodObject<{
2818
1161
  costCents: z.ZodNumber;
2819
1162
  inputTokens: z.ZodNumber;
2820
1163
  cachedInputTokens: z.ZodNumber;
2821
1164
  outputTokens: z.ZodNumber;
2822
- }, "strip", z.ZodTypeAny, {
2823
- inputTokens: number;
2824
- outputTokens: number;
2825
- costCents: number;
2826
- cachedInputTokens: number;
2827
- }, {
2828
- inputTokens: number;
2829
- outputTokens: number;
2830
- costCents: number;
2831
- cachedInputTokens: number;
2832
- }>;
1165
+ }, z.core.$strip>;
2833
1166
  taskExpired: z.ZodBoolean;
2834
- }, "strip", z.ZodTypeAny, {
2835
- error: string | null;
2836
- companyId: string;
2837
- status: "running" | "cancelled" | "failed" | "succeeded" | "queued";
2838
- issueId: string;
2839
- id: string;
2840
- agentId: string;
2841
- skillId: string;
2842
- createdAt: Date;
2843
- updatedAt: Date;
2844
- templateId: string | null;
2845
- deletedAt: Date | null;
2846
- templateName: string | null;
2847
- templateBody: string | null;
2848
- inputId: string | null;
2849
- inputSnapshot: string;
2850
- skillVersionId: string;
2851
- agentConfigSnapshot: Record<string, unknown>;
2852
- renderedTemplateBody: string | null;
2853
- harnessIssueDescription: string;
2854
- outputDocumentKey: string;
2855
- outputSnapshot: string;
2856
- supersededAt: Date | null;
2857
- harnessIssueExpiresAt: Date | null;
2858
- harnessIssueDeletedAt: Date | null;
2859
- cost: {
2860
- inputTokens: number;
2861
- outputTokens: number;
2862
- costCents: number;
2863
- cachedInputTokens: number;
2864
- };
2865
- taskExpired: boolean;
2866
- }, {
2867
- error: string | null;
2868
- companyId: string;
2869
- status: "running" | "cancelled" | "failed" | "succeeded" | "queued";
2870
- issueId: string;
2871
- id: string;
2872
- agentId: string;
2873
- skillId: string;
2874
- createdAt: Date;
2875
- updatedAt: Date;
2876
- templateId: string | null;
2877
- deletedAt: Date | null;
2878
- templateName: string | null;
2879
- templateBody: string | null;
2880
- inputId: string | null;
2881
- inputSnapshot: string;
2882
- skillVersionId: string;
2883
- agentConfigSnapshot: Record<string, unknown>;
2884
- renderedTemplateBody: string | null;
2885
- harnessIssueDescription: string;
2886
- outputDocumentKey: string;
2887
- outputSnapshot: string;
2888
- supersededAt: Date | null;
2889
- harnessIssueExpiresAt: Date | null;
2890
- harnessIssueDeletedAt: Date | null;
2891
- cost: {
2892
- inputTokens: number;
2893
- outputTokens: number;
2894
- costCents: number;
2895
- cachedInputTokens: number;
2896
- };
2897
- taskExpired: boolean;
2898
- }>;
2899
- export declare const companySkillTestRunCreateSchema: z.ZodEffects<z.ZodObject<{
1167
+ }, z.core.$strip>;
1168
+ export declare const companySkillTestRunCreateSchema: z.ZodObject<{
2900
1169
  inputId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2901
1170
  content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2902
1171
  agentId: z.ZodString;
2903
1172
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2904
- templateSnapshot: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1173
+ templateSnapshot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2905
1174
  templateId: z.ZodNullable<z.ZodString>;
2906
1175
  templateName: z.ZodNullable<z.ZodString>;
2907
1176
  templateBody: z.ZodNullable<z.ZodString>;
2908
- }, "strip", z.ZodTypeAny, {
2909
- templateId: string | null;
2910
- templateName: string | null;
2911
- templateBody: string | null;
2912
- }, {
2913
- templateId: string | null;
2914
- templateName: string | null;
2915
- templateBody: string | null;
2916
- }>, {
2917
- templateId: string | null;
2918
- templateName: string | null;
2919
- templateBody: string | null;
2920
- }, {
2921
- templateId: string | null;
2922
- templateName: string | null;
2923
- templateBody: string | null;
2924
- }>>>;
1177
+ }, z.core.$strip>>>;
2925
1178
  skillVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2926
- }, "strip", z.ZodTypeAny, {
2927
- agentId: string;
2928
- content?: string | null | undefined;
2929
- templateId?: string | null | undefined;
2930
- inputId?: string | null | undefined;
2931
- skillVersionId?: string | null | undefined;
2932
- templateSnapshot?: {
2933
- templateId: string | null;
2934
- templateName: string | null;
2935
- templateBody: string | null;
2936
- } | null | undefined;
2937
- }, {
2938
- agentId: string;
2939
- content?: string | null | undefined;
2940
- templateId?: string | null | undefined;
2941
- inputId?: string | null | undefined;
2942
- skillVersionId?: string | null | undefined;
2943
- templateSnapshot?: {
2944
- templateId: string | null;
2945
- templateName: string | null;
2946
- templateBody: string | null;
2947
- } | null | undefined;
2948
- }>, {
2949
- agentId: string;
2950
- content?: string | null | undefined;
2951
- templateId?: string | null | undefined;
2952
- inputId?: string | null | undefined;
2953
- skillVersionId?: string | null | undefined;
2954
- templateSnapshot?: {
2955
- templateId: string | null;
2956
- templateName: string | null;
2957
- templateBody: string | null;
2958
- } | null | undefined;
2959
- }, {
2960
- agentId: string;
2961
- content?: string | null | undefined;
2962
- templateId?: string | null | undefined;
2963
- inputId?: string | null | undefined;
2964
- skillVersionId?: string | null | undefined;
2965
- templateSnapshot?: {
2966
- templateId: string | null;
2967
- templateName: string | null;
2968
- templateBody: string | null;
2969
- } | null | undefined;
2970
- }>;
1179
+ }, z.core.$strip>;
2971
1180
  export declare const companySkillTestRunListQuerySchema: z.ZodObject<{
2972
1181
  inputId: z.ZodOptional<z.ZodString>;
2973
- }, "strip", z.ZodTypeAny, {
2974
- inputId?: string | undefined;
2975
- }, {
2976
- inputId?: string | undefined;
1182
+ }, z.core.$strip>;
1183
+ export declare const catalogSkillKindSchema: z.ZodEnum<{
1184
+ optional: "optional";
1185
+ bundled: "bundled";
2977
1186
  }>;
2978
- export declare const catalogSkillKindSchema: z.ZodEnum<["bundled", "optional"]>;
2979
1187
  export declare const catalogSkillFileSchema: z.ZodObject<{
2980
1188
  path: z.ZodString;
2981
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
1189
+ kind: z.ZodEnum<{
1190
+ skill: "skill";
1191
+ markdown: "markdown";
1192
+ other: "other";
1193
+ reference: "reference";
1194
+ script: "script";
1195
+ asset: "asset";
1196
+ }>;
2982
1197
  sizeBytes: z.ZodNumber;
2983
1198
  sha256: z.ZodString;
2984
- }, "strip", z.ZodTypeAny, {
2985
- path: string;
2986
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2987
- sizeBytes: number;
2988
- sha256: string;
2989
- }, {
2990
- path: string;
2991
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
2992
- sizeBytes: number;
2993
- sha256: string;
2994
- }>;
1199
+ }, z.core.$strip>;
2995
1200
  export declare const catalogSkillGitHubSourceSchema: z.ZodObject<{
2996
1201
  type: z.ZodLiteral<"github">;
2997
1202
  hostname: z.ZodString;
@@ -3001,25 +1206,7 @@ export declare const catalogSkillGitHubSourceSchema: z.ZodObject<{
3001
1206
  commit: z.ZodString;
3002
1207
  path: z.ZodString;
3003
1208
  url: z.ZodString;
3004
- }, "strip", z.ZodTypeAny, {
3005
- owner: string;
3006
- path: string;
3007
- type: "github";
3008
- url: string;
3009
- commit: string;
3010
- hostname: string;
3011
- repo: string;
3012
- ref: string;
3013
- }, {
3014
- owner: string;
3015
- path: string;
3016
- type: "github";
3017
- url: string;
3018
- commit: string;
3019
- hostname: string;
3020
- repo: string;
3021
- ref: string;
3022
- }>;
1209
+ }, z.core.$strip>;
3023
1210
  export declare const catalogSkillSourceSchema: z.ZodObject<{
3024
1211
  type: z.ZodLiteral<"github">;
3025
1212
  hostname: z.ZodString;
@@ -3029,57 +1216,47 @@ export declare const catalogSkillSourceSchema: z.ZodObject<{
3029
1216
  commit: z.ZodString;
3030
1217
  path: z.ZodString;
3031
1218
  url: z.ZodString;
3032
- }, "strip", z.ZodTypeAny, {
3033
- owner: string;
3034
- path: string;
3035
- type: "github";
3036
- url: string;
3037
- commit: string;
3038
- hostname: string;
3039
- repo: string;
3040
- ref: string;
3041
- }, {
3042
- owner: string;
3043
- path: string;
3044
- type: "github";
3045
- url: string;
3046
- commit: string;
3047
- hostname: string;
3048
- repo: string;
3049
- ref: string;
3050
- }>;
1219
+ }, z.core.$strip>;
3051
1220
  export declare const catalogSkillSchema: z.ZodObject<{
3052
1221
  id: z.ZodString;
3053
1222
  key: z.ZodString;
3054
- kind: z.ZodEnum<["bundled", "optional"]>;
1223
+ kind: z.ZodEnum<{
1224
+ optional: "optional";
1225
+ bundled: "bundled";
1226
+ }>;
3055
1227
  category: z.ZodString;
3056
1228
  slug: z.ZodString;
3057
1229
  name: z.ZodString;
3058
1230
  description: z.ZodString;
3059
1231
  path: z.ZodString;
3060
1232
  entrypoint: z.ZodLiteral<"SKILL.md">;
3061
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
3062
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
1233
+ trustLevel: z.ZodEnum<{
1234
+ markdown_only: "markdown_only";
1235
+ assets: "assets";
1236
+ scripts_executables: "scripts_executables";
1237
+ }>;
1238
+ compatibility: z.ZodEnum<{
1239
+ unknown: "unknown";
1240
+ compatible: "compatible";
1241
+ invalid: "invalid";
1242
+ }>;
3063
1243
  defaultInstall: z.ZodBoolean;
3064
- recommendedForRoles: z.ZodArray<z.ZodString, "many">;
3065
- requires: z.ZodArray<z.ZodString, "many">;
3066
- tags: z.ZodArray<z.ZodString, "many">;
1244
+ recommendedForRoles: z.ZodArray<z.ZodString>;
1245
+ requires: z.ZodArray<z.ZodString>;
1246
+ tags: z.ZodArray<z.ZodString>;
3067
1247
  files: z.ZodArray<z.ZodObject<{
3068
1248
  path: z.ZodString;
3069
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
1249
+ kind: z.ZodEnum<{
1250
+ skill: "skill";
1251
+ markdown: "markdown";
1252
+ other: "other";
1253
+ reference: "reference";
1254
+ script: "script";
1255
+ asset: "asset";
1256
+ }>;
3070
1257
  sizeBytes: z.ZodNumber;
3071
1258
  sha256: z.ZodString;
3072
- }, "strip", z.ZodTypeAny, {
3073
- path: string;
3074
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3075
- sizeBytes: number;
3076
- sha256: string;
3077
- }, {
3078
- path: string;
3079
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3080
- sizeBytes: number;
3081
- sha256: string;
3082
- }>, "many">;
1259
+ }, z.core.$strip>>;
3083
1260
  contentHash: z.ZodString;
3084
1261
  source: z.ZodOptional<z.ZodObject<{
3085
1262
  type: z.ZodLiteral<"github">;
@@ -3090,148 +1267,44 @@ export declare const catalogSkillSchema: z.ZodObject<{
3090
1267
  commit: z.ZodString;
3091
1268
  path: z.ZodString;
3092
1269
  url: z.ZodString;
3093
- }, "strip", z.ZodTypeAny, {
3094
- owner: string;
3095
- path: string;
3096
- type: "github";
3097
- url: string;
3098
- commit: string;
3099
- hostname: string;
3100
- repo: string;
3101
- ref: string;
3102
- }, {
3103
- owner: string;
3104
- path: string;
3105
- type: "github";
3106
- url: string;
3107
- commit: string;
3108
- hostname: string;
3109
- repo: string;
3110
- ref: string;
3111
- }>>;
1270
+ }, z.core.$strip>>;
3112
1271
  packageName: z.ZodOptional<z.ZodString>;
3113
1272
  packageVersion: z.ZodOptional<z.ZodString>;
3114
- }, "strip", z.ZodTypeAny, {
3115
- description: string;
3116
- key: string;
3117
- tags: string[];
3118
- path: string;
3119
- name: string;
3120
- id: string;
3121
- files: {
3122
- path: string;
3123
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3124
- sizeBytes: number;
3125
- sha256: string;
3126
- }[];
3127
- kind: "bundled" | "optional";
3128
- slug: string;
3129
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3130
- compatibility: "unknown" | "compatible" | "invalid";
3131
- category: string;
3132
- entrypoint: "SKILL.md";
3133
- defaultInstall: boolean;
3134
- recommendedForRoles: string[];
3135
- requires: string[];
3136
- contentHash: string;
3137
- source?: {
3138
- owner: string;
3139
- path: string;
3140
- type: "github";
3141
- url: string;
3142
- commit: string;
3143
- hostname: string;
3144
- repo: string;
3145
- ref: string;
3146
- } | undefined;
3147
- packageName?: string | undefined;
3148
- packageVersion?: string | undefined;
3149
- }, {
3150
- description: string;
3151
- key: string;
3152
- tags: string[];
3153
- path: string;
3154
- name: string;
3155
- id: string;
3156
- files: {
3157
- path: string;
3158
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3159
- sizeBytes: number;
3160
- sha256: string;
3161
- }[];
3162
- kind: "bundled" | "optional";
3163
- slug: string;
3164
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3165
- compatibility: "unknown" | "compatible" | "invalid";
3166
- category: string;
3167
- entrypoint: "SKILL.md";
3168
- defaultInstall: boolean;
3169
- recommendedForRoles: string[];
3170
- requires: string[];
3171
- contentHash: string;
3172
- source?: {
3173
- owner: string;
3174
- path: string;
3175
- type: "github";
3176
- url: string;
3177
- commit: string;
3178
- hostname: string;
3179
- repo: string;
3180
- ref: string;
3181
- } | undefined;
3182
- packageName?: string | undefined;
3183
- packageVersion?: string | undefined;
3184
- }>;
1273
+ }, z.core.$strip>;
3185
1274
  export declare const catalogSkillListQuerySchema: z.ZodObject<{
3186
- kind: z.ZodOptional<z.ZodEnum<["bundled", "optional"]>>;
1275
+ kind: z.ZodOptional<z.ZodEnum<{
1276
+ optional: "optional";
1277
+ bundled: "bundled";
1278
+ }>>;
3187
1279
  category: z.ZodOptional<z.ZodString>;
3188
1280
  q: z.ZodOptional<z.ZodString>;
3189
- }, "strip", z.ZodTypeAny, {
3190
- kind?: "bundled" | "optional" | undefined;
3191
- q?: string | undefined;
3192
- category?: string | undefined;
3193
- }, {
3194
- kind?: "bundled" | "optional" | undefined;
3195
- q?: string | undefined;
3196
- category?: string | undefined;
3197
- }>;
1281
+ }, z.core.$strip>;
3198
1282
  export declare const catalogSkillFileDetailSchema: z.ZodObject<{
3199
1283
  catalogSkillId: z.ZodString;
3200
1284
  path: z.ZodString;
3201
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
1285
+ kind: z.ZodEnum<{
1286
+ skill: "skill";
1287
+ markdown: "markdown";
1288
+ other: "other";
1289
+ reference: "reference";
1290
+ script: "script";
1291
+ asset: "asset";
1292
+ }>;
3202
1293
  content: z.ZodString;
3203
1294
  language: z.ZodNullable<z.ZodString>;
3204
1295
  markdown: z.ZodBoolean;
3205
- }, "strip", z.ZodTypeAny, {
3206
- path: string;
3207
- content: string;
3208
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3209
- markdown: boolean;
3210
- language: string | null;
3211
- catalogSkillId: string;
3212
- }, {
3213
- path: string;
3214
- content: string;
3215
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3216
- markdown: boolean;
3217
- language: string | null;
3218
- catalogSkillId: string;
3219
- }>;
1296
+ }, z.core.$strip>;
3220
1297
  export declare const companySkillInstallCatalogSchema: z.ZodObject<{
3221
1298
  catalogSkillId: z.ZodString;
3222
1299
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3223
1300
  force: z.ZodOptional<z.ZodBoolean>;
3224
- }, "strip", z.ZodTypeAny, {
3225
- catalogSkillId: string;
3226
- slug?: string | null | undefined;
3227
- force?: boolean | undefined;
3228
- }, {
3229
- catalogSkillId: string;
3230
- slug?: string | null | undefined;
3231
- force?: boolean | undefined;
3232
- }>;
1301
+ }, z.core.$strip>;
3233
1302
  export declare const companySkillInstallCatalogResultSchema: z.ZodObject<{
3234
- action: z.ZodEnum<["created", "updated", "unchanged"]>;
1303
+ action: z.ZodEnum<{
1304
+ updated: "updated";
1305
+ created: "created";
1306
+ unchanged: "unchanged";
1307
+ }>;
3235
1308
  skill: z.ZodObject<{
3236
1309
  id: z.ZodString;
3237
1310
  companyId: z.ZodString;
@@ -3242,28 +1315,47 @@ export declare const companySkillInstallCatalogResultSchema: z.ZodObject<{
3242
1315
  name: z.ZodString;
3243
1316
  description: z.ZodNullable<z.ZodString>;
3244
1317
  markdown: z.ZodString;
3245
- sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
1318
+ sourceType: z.ZodEnum<{
1319
+ url: "url";
1320
+ local_path: "local_path";
1321
+ github: "github";
1322
+ catalog: "catalog";
1323
+ skills_sh: "skills_sh";
1324
+ }>;
3246
1325
  sourceLocator: z.ZodNullable<z.ZodString>;
3247
1326
  sourceRef: z.ZodNullable<z.ZodString>;
3248
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
3249
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
1327
+ trustLevel: z.ZodEnum<{
1328
+ markdown_only: "markdown_only";
1329
+ assets: "assets";
1330
+ scripts_executables: "scripts_executables";
1331
+ }>;
1332
+ compatibility: z.ZodEnum<{
1333
+ unknown: "unknown";
1334
+ compatible: "compatible";
1335
+ invalid: "invalid";
1336
+ }>;
3250
1337
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
3251
1338
  path: z.ZodString;
3252
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
3253
- }, "strip", z.ZodTypeAny, {
3254
- path: string;
3255
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3256
- }, {
3257
- path: string;
3258
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3259
- }>, "many">>;
1339
+ kind: z.ZodEnum<{
1340
+ skill: "skill";
1341
+ markdown: "markdown";
1342
+ other: "other";
1343
+ reference: "reference";
1344
+ script: "script";
1345
+ asset: "asset";
1346
+ }>;
1347
+ }, z.core.$strip>>>;
3260
1348
  iconUrl: z.ZodNullable<z.ZodString>;
3261
1349
  color: z.ZodNullable<z.ZodString>;
3262
1350
  tagline: z.ZodNullable<z.ZodString>;
3263
1351
  authorName: z.ZodNullable<z.ZodString>;
3264
1352
  homepageUrl: z.ZodNullable<z.ZodString>;
3265
- categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
3266
- sharingScope: z.ZodEnum<["private", "company", "public_link"]>;
1353
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
1354
+ sharingScope: z.ZodEnum<{
1355
+ private: "private";
1356
+ company: "company";
1357
+ public_link: "public_link";
1358
+ }>;
3267
1359
  publicShareToken: z.ZodNullable<z.ZodString>;
3268
1360
  forkedFromSkillId: z.ZodNullable<z.ZodString>;
3269
1361
  forkedFromCompanyId: z.ZodNullable<z.ZodString>;
@@ -3272,113 +1364,49 @@ export declare const companySkillInstallCatalogResultSchema: z.ZodObject<{
3272
1364
  forkCount: z.ZodNumber;
3273
1365
  currentVersionId: z.ZodNullable<z.ZodString>;
3274
1366
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3275
- createdAt: z.ZodDate;
3276
- updatedAt: z.ZodDate;
3277
- }, "strip", z.ZodTypeAny, {
3278
- description: string | null;
3279
- key: string;
3280
- companyId: string;
3281
- name: string;
3282
- id: string;
3283
- currentVersionId: string | null;
3284
- metadata: Record<string, unknown> | null;
3285
- color: string | null;
3286
- slug: string;
3287
- markdown: string;
3288
- createdAt: Date;
3289
- updatedAt: Date;
3290
- categories: string[];
3291
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
3292
- sourceLocator: string | null;
3293
- sourceRef: string | null;
3294
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3295
- compatibility: "unknown" | "compatible" | "invalid";
3296
- fileInventory: {
3297
- path: string;
3298
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3299
- }[];
3300
- iconUrl: string | null;
3301
- tagline: string | null;
3302
- authorName: string | null;
3303
- homepageUrl: string | null;
3304
- sharingScope: "private" | "company" | "public_link";
3305
- publicShareToken: string | null;
3306
- forkedFromSkillId: string | null;
3307
- forkedFromCompanyId: string | null;
3308
- starCount: number;
3309
- installCount: number;
3310
- forkCount: number;
3311
- folderId?: string | null | undefined;
3312
- folderPath?: string | null | undefined;
3313
- }, {
3314
- description: string | null;
3315
- key: string;
3316
- companyId: string;
3317
- name: string;
3318
- id: string;
3319
- currentVersionId: string | null;
3320
- metadata: Record<string, unknown> | null;
3321
- color: string | null;
3322
- slug: string;
3323
- markdown: string;
3324
- createdAt: Date;
3325
- updatedAt: Date;
3326
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
3327
- sourceLocator: string | null;
3328
- sourceRef: string | null;
3329
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3330
- compatibility: "unknown" | "compatible" | "invalid";
3331
- iconUrl: string | null;
3332
- tagline: string | null;
3333
- authorName: string | null;
3334
- homepageUrl: string | null;
3335
- sharingScope: "private" | "company" | "public_link";
3336
- publicShareToken: string | null;
3337
- forkedFromSkillId: string | null;
3338
- forkedFromCompanyId: string | null;
3339
- starCount: number;
3340
- installCount: number;
3341
- forkCount: number;
3342
- folderId?: string | null | undefined;
3343
- categories?: string[] | undefined;
3344
- folderPath?: string | null | undefined;
3345
- fileInventory?: {
3346
- path: string;
3347
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3348
- }[] | undefined;
3349
- }>;
1367
+ createdAt: z.ZodCoercedDate<unknown>;
1368
+ updatedAt: z.ZodCoercedDate<unknown>;
1369
+ }, z.core.$strip>;
3350
1370
  catalogSkill: z.ZodObject<{
3351
1371
  id: z.ZodString;
3352
1372
  key: z.ZodString;
3353
- kind: z.ZodEnum<["bundled", "optional"]>;
1373
+ kind: z.ZodEnum<{
1374
+ optional: "optional";
1375
+ bundled: "bundled";
1376
+ }>;
3354
1377
  category: z.ZodString;
3355
1378
  slug: z.ZodString;
3356
1379
  name: z.ZodString;
3357
1380
  description: z.ZodString;
3358
1381
  path: z.ZodString;
3359
1382
  entrypoint: z.ZodLiteral<"SKILL.md">;
3360
- trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
3361
- compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
1383
+ trustLevel: z.ZodEnum<{
1384
+ markdown_only: "markdown_only";
1385
+ assets: "assets";
1386
+ scripts_executables: "scripts_executables";
1387
+ }>;
1388
+ compatibility: z.ZodEnum<{
1389
+ unknown: "unknown";
1390
+ compatible: "compatible";
1391
+ invalid: "invalid";
1392
+ }>;
3362
1393
  defaultInstall: z.ZodBoolean;
3363
- recommendedForRoles: z.ZodArray<z.ZodString, "many">;
3364
- requires: z.ZodArray<z.ZodString, "many">;
3365
- tags: z.ZodArray<z.ZodString, "many">;
1394
+ recommendedForRoles: z.ZodArray<z.ZodString>;
1395
+ requires: z.ZodArray<z.ZodString>;
1396
+ tags: z.ZodArray<z.ZodString>;
3366
1397
  files: z.ZodArray<z.ZodObject<{
3367
1398
  path: z.ZodString;
3368
- kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
1399
+ kind: z.ZodEnum<{
1400
+ skill: "skill";
1401
+ markdown: "markdown";
1402
+ other: "other";
1403
+ reference: "reference";
1404
+ script: "script";
1405
+ asset: "asset";
1406
+ }>;
3369
1407
  sizeBytes: z.ZodNumber;
3370
1408
  sha256: z.ZodString;
3371
- }, "strip", z.ZodTypeAny, {
3372
- path: string;
3373
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3374
- sizeBytes: number;
3375
- sha256: string;
3376
- }, {
3377
- path: string;
3378
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3379
- sizeBytes: number;
3380
- sha256: string;
3381
- }>, "many">;
1409
+ }, z.core.$strip>>;
3382
1410
  contentHash: z.ZodString;
3383
1411
  source: z.ZodOptional<z.ZodObject<{
3384
1412
  type: z.ZodLiteral<"github">;
@@ -3389,252 +1417,12 @@ export declare const companySkillInstallCatalogResultSchema: z.ZodObject<{
3389
1417
  commit: z.ZodString;
3390
1418
  path: z.ZodString;
3391
1419
  url: z.ZodString;
3392
- }, "strip", z.ZodTypeAny, {
3393
- owner: string;
3394
- path: string;
3395
- type: "github";
3396
- url: string;
3397
- commit: string;
3398
- hostname: string;
3399
- repo: string;
3400
- ref: string;
3401
- }, {
3402
- owner: string;
3403
- path: string;
3404
- type: "github";
3405
- url: string;
3406
- commit: string;
3407
- hostname: string;
3408
- repo: string;
3409
- ref: string;
3410
- }>>;
1420
+ }, z.core.$strip>>;
3411
1421
  packageName: z.ZodOptional<z.ZodString>;
3412
1422
  packageVersion: z.ZodOptional<z.ZodString>;
3413
- }, "strip", z.ZodTypeAny, {
3414
- description: string;
3415
- key: string;
3416
- tags: string[];
3417
- path: string;
3418
- name: string;
3419
- id: string;
3420
- files: {
3421
- path: string;
3422
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3423
- sizeBytes: number;
3424
- sha256: string;
3425
- }[];
3426
- kind: "bundled" | "optional";
3427
- slug: string;
3428
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3429
- compatibility: "unknown" | "compatible" | "invalid";
3430
- category: string;
3431
- entrypoint: "SKILL.md";
3432
- defaultInstall: boolean;
3433
- recommendedForRoles: string[];
3434
- requires: string[];
3435
- contentHash: string;
3436
- source?: {
3437
- owner: string;
3438
- path: string;
3439
- type: "github";
3440
- url: string;
3441
- commit: string;
3442
- hostname: string;
3443
- repo: string;
3444
- ref: string;
3445
- } | undefined;
3446
- packageName?: string | undefined;
3447
- packageVersion?: string | undefined;
3448
- }, {
3449
- description: string;
3450
- key: string;
3451
- tags: string[];
3452
- path: string;
3453
- name: string;
3454
- id: string;
3455
- files: {
3456
- path: string;
3457
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3458
- sizeBytes: number;
3459
- sha256: string;
3460
- }[];
3461
- kind: "bundled" | "optional";
3462
- slug: string;
3463
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3464
- compatibility: "unknown" | "compatible" | "invalid";
3465
- category: string;
3466
- entrypoint: "SKILL.md";
3467
- defaultInstall: boolean;
3468
- recommendedForRoles: string[];
3469
- requires: string[];
3470
- contentHash: string;
3471
- source?: {
3472
- owner: string;
3473
- path: string;
3474
- type: "github";
3475
- url: string;
3476
- commit: string;
3477
- hostname: string;
3478
- repo: string;
3479
- ref: string;
3480
- } | undefined;
3481
- packageName?: string | undefined;
3482
- packageVersion?: string | undefined;
3483
- }>;
3484
- warnings: z.ZodArray<z.ZodString, "many">;
3485
- }, "strip", z.ZodTypeAny, {
3486
- warnings: string[];
3487
- skill: {
3488
- description: string | null;
3489
- key: string;
3490
- companyId: string;
3491
- name: string;
3492
- id: string;
3493
- currentVersionId: string | null;
3494
- metadata: Record<string, unknown> | null;
3495
- color: string | null;
3496
- slug: string;
3497
- markdown: string;
3498
- createdAt: Date;
3499
- updatedAt: Date;
3500
- categories: string[];
3501
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
3502
- sourceLocator: string | null;
3503
- sourceRef: string | null;
3504
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3505
- compatibility: "unknown" | "compatible" | "invalid";
3506
- fileInventory: {
3507
- path: string;
3508
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3509
- }[];
3510
- iconUrl: string | null;
3511
- tagline: string | null;
3512
- authorName: string | null;
3513
- homepageUrl: string | null;
3514
- sharingScope: "private" | "company" | "public_link";
3515
- publicShareToken: string | null;
3516
- forkedFromSkillId: string | null;
3517
- forkedFromCompanyId: string | null;
3518
- starCount: number;
3519
- installCount: number;
3520
- forkCount: number;
3521
- folderId?: string | null | undefined;
3522
- folderPath?: string | null | undefined;
3523
- };
3524
- action: "updated" | "created" | "unchanged";
3525
- catalogSkill: {
3526
- description: string;
3527
- key: string;
3528
- tags: string[];
3529
- path: string;
3530
- name: string;
3531
- id: string;
3532
- files: {
3533
- path: string;
3534
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3535
- sizeBytes: number;
3536
- sha256: string;
3537
- }[];
3538
- kind: "bundled" | "optional";
3539
- slug: string;
3540
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3541
- compatibility: "unknown" | "compatible" | "invalid";
3542
- category: string;
3543
- entrypoint: "SKILL.md";
3544
- defaultInstall: boolean;
3545
- recommendedForRoles: string[];
3546
- requires: string[];
3547
- contentHash: string;
3548
- source?: {
3549
- owner: string;
3550
- path: string;
3551
- type: "github";
3552
- url: string;
3553
- commit: string;
3554
- hostname: string;
3555
- repo: string;
3556
- ref: string;
3557
- } | undefined;
3558
- packageName?: string | undefined;
3559
- packageVersion?: string | undefined;
3560
- };
3561
- }, {
3562
- warnings: string[];
3563
- skill: {
3564
- description: string | null;
3565
- key: string;
3566
- companyId: string;
3567
- name: string;
3568
- id: string;
3569
- currentVersionId: string | null;
3570
- metadata: Record<string, unknown> | null;
3571
- color: string | null;
3572
- slug: string;
3573
- markdown: string;
3574
- createdAt: Date;
3575
- updatedAt: Date;
3576
- sourceType: "url" | "local_path" | "github" | "catalog" | "skills_sh";
3577
- sourceLocator: string | null;
3578
- sourceRef: string | null;
3579
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3580
- compatibility: "unknown" | "compatible" | "invalid";
3581
- iconUrl: string | null;
3582
- tagline: string | null;
3583
- authorName: string | null;
3584
- homepageUrl: string | null;
3585
- sharingScope: "private" | "company" | "public_link";
3586
- publicShareToken: string | null;
3587
- forkedFromSkillId: string | null;
3588
- forkedFromCompanyId: string | null;
3589
- starCount: number;
3590
- installCount: number;
3591
- forkCount: number;
3592
- folderId?: string | null | undefined;
3593
- categories?: string[] | undefined;
3594
- folderPath?: string | null | undefined;
3595
- fileInventory?: {
3596
- path: string;
3597
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3598
- }[] | undefined;
3599
- };
3600
- action: "updated" | "created" | "unchanged";
3601
- catalogSkill: {
3602
- description: string;
3603
- key: string;
3604
- tags: string[];
3605
- path: string;
3606
- name: string;
3607
- id: string;
3608
- files: {
3609
- path: string;
3610
- kind: "skill" | "markdown" | "other" | "reference" | "script" | "asset";
3611
- sizeBytes: number;
3612
- sha256: string;
3613
- }[];
3614
- kind: "bundled" | "optional";
3615
- slug: string;
3616
- trustLevel: "markdown_only" | "assets" | "scripts_executables";
3617
- compatibility: "unknown" | "compatible" | "invalid";
3618
- category: string;
3619
- entrypoint: "SKILL.md";
3620
- defaultInstall: boolean;
3621
- recommendedForRoles: string[];
3622
- requires: string[];
3623
- contentHash: string;
3624
- source?: {
3625
- owner: string;
3626
- path: string;
3627
- type: "github";
3628
- url: string;
3629
- commit: string;
3630
- hostname: string;
3631
- repo: string;
3632
- ref: string;
3633
- } | undefined;
3634
- packageName?: string | undefined;
3635
- packageVersion?: string | undefined;
3636
- };
3637
- }>;
1423
+ }, z.core.$strip>;
1424
+ warnings: z.ZodArray<z.ZodString>;
1425
+ }, z.core.$strip>;
3638
1426
  export type CompanySkillImport = z.infer<typeof companySkillImportSchema>;
3639
1427
  export type CompanySkillListQuery = z.infer<typeof companySkillListQuerySchema>;
3640
1428
  export type CompanySkillProjectScan = z.infer<typeof companySkillProjectScanRequestSchema>;