@anchrd/intel 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/README.md +496 -0
  2. package/bin/intel.mjs +134 -0
  3. package/dist/adapters/cloudflare/cloudflare-flow-workflow.d.ts +42 -0
  4. package/dist/adapters/cloudflare/cloudflare-flow-workflow.js +89 -0
  5. package/dist/adapters/cloudflare/cloudflare.d.ts +29 -0
  6. package/dist/adapters/cloudflare/cloudflare.js +416 -0
  7. package/dist/adapters/cloudflare/cloudflare.types.d.ts +31 -0
  8. package/dist/adapters/cloudflare/cloudflare.types.js +1 -0
  9. package/dist/adapters/content/content.d.ts +3 -0
  10. package/dist/adapters/content/content.js +128 -0
  11. package/dist/adapters/content/content.types.d.ts +38 -0
  12. package/dist/adapters/content/content.types.js +1 -0
  13. package/dist/adapters/db/db-audit.d.ts +62 -0
  14. package/dist/adapters/db/db-audit.js +150 -0
  15. package/dist/adapters/db/db-boards.d.ts +6 -0
  16. package/dist/adapters/db/db-boards.js +324 -0
  17. package/dist/adapters/db/db-feed.d.ts +30 -0
  18. package/dist/adapters/db/db-feed.js +276 -0
  19. package/dist/adapters/db/db-flows.d.ts +42 -0
  20. package/dist/adapters/db/db-flows.js +1311 -0
  21. package/dist/adapters/db/db-grants.d.ts +133 -0
  22. package/dist/adapters/db/db-grants.js +269 -0
  23. package/dist/adapters/db/db-indexing.d.ts +3 -0
  24. package/dist/adapters/db/db-indexing.js +200 -0
  25. package/dist/adapters/db/db-oauth.d.ts +3 -0
  26. package/dist/adapters/db/db-oauth.js +26 -0
  27. package/dist/adapters/db/db-prompts.d.ts +46 -0
  28. package/dist/adapters/db/db-prompts.js +144 -0
  29. package/dist/adapters/db/db.d.ts +6 -0
  30. package/dist/adapters/db/db.js +1687 -0
  31. package/dist/adapters/db/db.types.d.ts +16 -0
  32. package/dist/adapters/db/db.types.js +1 -0
  33. package/dist/adapters/document-converter/document-converter.d.ts +2 -0
  34. package/dist/adapters/document-converter/document-converter.js +26 -0
  35. package/dist/adapters/document-converter/document-converter.types.d.ts +17 -0
  36. package/dist/adapters/document-converter/document-converter.types.js +1 -0
  37. package/dist/adapters/flow-runtime/flow-runtime.d.ts +3 -0
  38. package/dist/adapters/flow-runtime/flow-runtime.js +22 -0
  39. package/dist/adapters/flow-runtime/flow-runtime.types.d.ts +19 -0
  40. package/dist/adapters/flow-runtime/flow-runtime.types.js +1 -0
  41. package/dist/adapters/index-queue/index-queue.d.ts +10 -0
  42. package/dist/adapters/index-queue/index-queue.js +12 -0
  43. package/dist/adapters/index-queue/index-queue.types.d.ts +11 -0
  44. package/dist/adapters/index-queue/index-queue.types.js +1 -0
  45. package/dist/adapters/json-schema/json-schema.d.ts +2 -0
  46. package/dist/adapters/json-schema/json-schema.js +77 -0
  47. package/dist/adapters/openid/openid.d.ts +5 -0
  48. package/dist/adapters/openid/openid.js +301 -0
  49. package/dist/adapters/portal-tokens/portal-tokens.d.ts +8 -0
  50. package/dist/adapters/portal-tokens/portal-tokens.js +79 -0
  51. package/dist/adapters/remote-tools/remote-tools.d.ts +5 -0
  52. package/dist/adapters/remote-tools/remote-tools.js +129 -0
  53. package/dist/adapters/semantic-index/semantic-index.d.ts +2 -0
  54. package/dist/adapters/semantic-index/semantic-index.js +139 -0
  55. package/dist/adapters/semantic-index/semantic-index.types.d.ts +56 -0
  56. package/dist/adapters/semantic-index/semantic-index.types.js +1 -0
  57. package/dist/adapters/session-cookie/session-cookie.d.ts +5 -0
  58. package/dist/adapters/session-cookie/session-cookie.js +87 -0
  59. package/dist/adapters/tool-source-policy/tool-source-policy.d.ts +1 -0
  60. package/dist/adapters/tool-source-policy/tool-source-policy.js +22 -0
  61. package/dist/audit/audit.d.ts +2 -0
  62. package/dist/audit/audit.js +87 -0
  63. package/dist/audit/audit.types.d.ts +23 -0
  64. package/dist/audit/audit.types.js +1 -0
  65. package/dist/auth/auth.d.ts +2 -0
  66. package/dist/auth/auth.js +284 -0
  67. package/dist/auth/auth.types.d.ts +108 -0
  68. package/dist/auth/auth.types.js +1 -0
  69. package/dist/boards/boards.d.ts +44 -0
  70. package/dist/boards/boards.js +447 -0
  71. package/dist/boards/boards.types.d.ts +117 -0
  72. package/dist/boards/boards.types.js +1 -0
  73. package/dist/build/build.d.ts +2 -0
  74. package/dist/build/build.js +192 -0
  75. package/dist/build/build.types.d.ts +17 -0
  76. package/dist/build/build.types.js +1 -0
  77. package/dist/bundle/bundle.d.ts +4 -0
  78. package/dist/bundle/bundle.js +1194 -0
  79. package/dist/bundle/bundle.types.d.ts +33 -0
  80. package/dist/bundle/bundle.types.js +1 -0
  81. package/dist/cli/cli.d.ts +4 -0
  82. package/dist/cli/cli.js +262 -0
  83. package/dist/cli/cli.types.d.ts +14 -0
  84. package/dist/cli/cli.types.js +1 -0
  85. package/dist/contract/audit.d.ts +50 -0
  86. package/dist/contract/audit.js +72 -0
  87. package/dist/contract/board.d.ts +150 -0
  88. package/dist/contract/board.js +262 -0
  89. package/dist/contract/bundle.d.ts +147 -0
  90. package/dist/contract/bundle.js +139 -0
  91. package/dist/contract/contract.d.ts +112 -0
  92. package/dist/contract/contract.js +143 -0
  93. package/dist/contract/feed.d.ts +126 -0
  94. package/dist/contract/feed.js +149 -0
  95. package/dist/contract/flow-run.d.ts +346 -0
  96. package/dist/contract/flow-run.js +194 -0
  97. package/dist/contract/flow.d.ts +1057 -0
  98. package/dist/contract/flow.js +552 -0
  99. package/dist/contract/node.d.ts +551 -0
  100. package/dist/contract/node.js +456 -0
  101. package/dist/contract/share.d.ts +216 -0
  102. package/dist/contract/share.js +134 -0
  103. package/dist/contract/table.d.ts +171 -0
  104. package/dist/contract/table.js +117 -0
  105. package/dist/contract/tool.d.ts +122 -0
  106. package/dist/contract/tool.js +172 -0
  107. package/dist/feed/feed.d.ts +2 -0
  108. package/dist/feed/feed.js +77 -0
  109. package/dist/feed/feed.types.d.ts +23 -0
  110. package/dist/feed/feed.types.js +1 -0
  111. package/dist/flows/flows.d.ts +41 -0
  112. package/dist/flows/flows.js +2216 -0
  113. package/dist/flows/flows.types.d.ts +339 -0
  114. package/dist/flows/flows.types.js +1 -0
  115. package/dist/http/http.d.ts +9 -0
  116. package/dist/http/http.js +874 -0
  117. package/dist/http/http.types.d.ts +22 -0
  118. package/dist/http/http.types.js +1 -0
  119. package/dist/indexing/indexing.d.ts +6 -0
  120. package/dist/indexing/indexing.js +239 -0
  121. package/dist/indexing/indexing.types.d.ts +11 -0
  122. package/dist/indexing/indexing.types.js +1 -0
  123. package/dist/intel/intel.d.ts +3 -0
  124. package/dist/intel/intel.js +194 -0
  125. package/dist/intel/intel.types.d.ts +24 -0
  126. package/dist/intel/intel.types.js +1 -0
  127. package/dist/mcp/mcp.d.ts +2 -0
  128. package/dist/mcp/mcp.js +1292 -0
  129. package/dist/mcp/mcp.types.d.ts +25 -0
  130. package/dist/mcp/mcp.types.js +1 -0
  131. package/dist/nodes/document-links/document-links.d.ts +20 -0
  132. package/dist/nodes/document-links/document-links.js +57 -0
  133. package/dist/nodes/nodes.d.ts +2 -0
  134. package/dist/nodes/nodes.js +1667 -0
  135. package/dist/nodes/nodes.types.d.ts +511 -0
  136. package/dist/nodes/nodes.types.js +1 -0
  137. package/dist/prepare/prepare.d.ts +4 -0
  138. package/dist/prepare/prepare.js +16 -0
  139. package/dist/prepare/prepare.types.d.ts +9 -0
  140. package/dist/prepare/prepare.types.js +1 -0
  141. package/dist/prompts/prompts.d.ts +2 -0
  142. package/dist/prompts/prompts.js +65 -0
  143. package/dist/prompts/prompts.types.d.ts +71 -0
  144. package/dist/prompts/prompts.types.js +1 -0
  145. package/dist/shared/callers/callers.d.ts +28 -0
  146. package/dist/shared/callers/callers.js +30 -0
  147. package/dist/shared/csv/csv.d.ts +13 -0
  148. package/dist/shared/csv/csv.js +85 -0
  149. package/dist/shared/document-text/document-text.d.ts +21 -0
  150. package/dist/shared/document-text/document-text.js +31 -0
  151. package/dist/shared/gate-authorization/gate-authorization.d.ts +5 -0
  152. package/dist/shared/gate-authorization/gate-authorization.js +26 -0
  153. package/dist/shared/grant-expiry/grant-expiry.d.ts +19 -0
  154. package/dist/shared/grant-expiry/grant-expiry.js +26 -0
  155. package/dist/shared/intel-error/intel-error.d.ts +22 -0
  156. package/dist/shared/intel-error/intel-error.js +27 -0
  157. package/dist/shared/plain-title/plain-title.d.ts +16 -0
  158. package/dist/shared/plain-title/plain-title.js +45 -0
  159. package/dist/shared/problem-details/problem-details.d.ts +30 -0
  160. package/dist/shared/problem-details/problem-details.js +18 -0
  161. package/dist/shared/report-unexpected-error/report-unexpected-error.d.ts +1 -0
  162. package/dist/shared/report-unexpected-error/report-unexpected-error.js +37 -0
  163. package/dist/shared/safe-return-path/safe-return-path.d.ts +2 -0
  164. package/dist/shared/safe-return-path/safe-return-path.js +11 -0
  165. package/dist/shared/sha256/sha256.d.ts +2 -0
  166. package/dist/shared/sha256/sha256.js +14 -0
  167. package/dist/tools/tool-servers/tool-servers.d.ts +46 -0
  168. package/dist/tools/tool-servers/tool-servers.js +177 -0
  169. package/dist/tools/tools.d.ts +2 -0
  170. package/dist/tools/tools.js +207 -0
  171. package/dist/tools/tools.types.d.ts +56 -0
  172. package/dist/tools/tools.types.js +1 -0
  173. package/examples/branding/favicon.svg +5 -0
  174. package/examples/branding/logo.svg +5 -0
  175. package/examples/branding/theme.css +16 -0
  176. package/examples/dev.vars.example +7 -0
  177. package/examples/intel.json +9 -0
  178. package/migrations/0000_intel_foundation.sql +203 -0
  179. package/migrations/0001_portal_native_tools.sql +21 -0
  180. package/migrations/0002_flows_in_the_knowledge_tree.sql +34 -0
  181. package/migrations/0003_folder_permissions.sql +211 -0
  182. package/migrations/0004_subflow_runs.sql +14 -0
  183. package/migrations/0005_flow_node_cleanup.sql +28 -0
  184. package/migrations/0005_tables_in_the_knowledge_tree.sql +68 -0
  185. package/migrations/0006_links_are_written_in_the_text.sql +20 -0
  186. package/migrations/0007_no_node_waits.sql +69 -0
  187. package/migrations/0008_three_layers.sql +130 -0
  188. package/migrations/0009_no_context_policy.sql +48 -0
  189. package/migrations/0010_no_run_waits_a_year.sql +27 -0
  190. package/migrations/0011_one_name_for_the_tree.sql +53 -0
  191. package/migrations/0012_table_snapshots.sql +29 -0
  192. package/migrations/0017_a_vector_per_card.sql +38 -0
  193. package/migrations/0018_no_context_policy_at_last.sql +97 -0
  194. package/migrations/0019_one_name_for_the_grants.sql +52 -0
  195. package/migrations/0020_cascade_purge_replay.sql +11 -0
  196. package/migrations/0021_a_flow_carries_its_own_grant.sql +44 -0
  197. package/migrations/0022_a_cursor_over_the_journal.sql +14 -0
  198. package/migrations/0023_a_board_and_its_tasks.sql +116 -0
  199. package/migrations/0024_the_archive_is_a_column.sql +33 -0
  200. package/migrations/0025_archiving_takes_the_subtree.sql +29 -0
  201. package/migrations/0026_one_feed_over_two_kinds.sql +23 -0
  202. package/migrations/0027_the_runs_of_every_flow.sql +27 -0
  203. package/migrations/0028_a_prompt_name_over_two_kinds.sql +70 -0
  204. package/package.json +118 -0
  205. package/src/contract/CLAUDE.md +152 -0
  206. package/src/contract/README.md +102 -0
  207. package/src/contract/audit.ts +85 -0
  208. package/src/contract/board.ts +306 -0
  209. package/src/contract/bundle.ts +157 -0
  210. package/src/contract/contract.ts +161 -0
  211. package/src/contract/feed.ts +165 -0
  212. package/src/contract/flow-run.ts +241 -0
  213. package/src/contract/flow.ts +675 -0
  214. package/src/contract/node.ts +583 -0
  215. package/src/contract/share.ts +196 -0
  216. package/src/contract/table.ts +178 -0
  217. package/src/contract/tool.ts +202 -0
  218. package/ui/README.md +110 -0
  219. package/ui/components.json +21 -0
  220. package/ui/index.html +13 -0
  221. package/ui/package.json +11 -0
  222. package/ui/scripts/lint-tokens.mjs +187 -0
  223. package/ui/src/access-summary/access-summary.tsx +385 -0
  224. package/ui/src/app/action-slot/action-slot.tsx +27 -0
  225. package/ui/src/app/app-sidebar/app-sidebar.tsx +71 -0
  226. package/ui/src/app/app-tree/app-tree.tsx +1175 -0
  227. package/ui/src/app/app.tsx +87 -0
  228. package/ui/src/app/header-search/header-search.tsx +294 -0
  229. package/ui/src/app/reindex-dialog/reindex-dialog.tsx +79 -0
  230. package/ui/src/app/settings-dialog/settings-dialog.tsx +135 -0
  231. package/ui/src/app/sidebar-preferences/sidebar-preferences.ts +68 -0
  232. package/ui/src/app/sidebar-preferences/sidebar-preferences.types.ts +15 -0
  233. package/ui/src/app/sidebar-resize-handle/sidebar-resize-handle.tsx +86 -0
  234. package/ui/src/app/tree-expansion/tree-expansion.ts +107 -0
  235. package/ui/src/app/tree-expansion/tree-expansion.types.ts +31 -0
  236. package/ui/src/app/tree-move/tree-move.tsx +427 -0
  237. package/ui/src/app/tree-reveal/tree-reveal.ts +64 -0
  238. package/ui/src/app/tree-reveal/tree-reveal.types.ts +16 -0
  239. package/ui/src/app/user-footer/user-footer.tsx +188 -0
  240. package/ui/src/app/view-menu/view-menu.tsx +115 -0
  241. package/ui/src/app-root/app-root.tsx +109 -0
  242. package/ui/src/app-root/app-root.types.ts +27 -0
  243. package/ui/src/archive/archive.tsx +417 -0
  244. package/ui/src/attachment-detail/attachment-detail.ts +52 -0
  245. package/ui/src/attachment-viewer/attachment-viewer.tsx +166 -0
  246. package/ui/src/blocknote-view/blocknote-view.tsx +30 -0
  247. package/ui/src/board/board-assignee/board-assignee-picker.tsx +132 -0
  248. package/ui/src/board/board-assignee/board-assignee.ts +48 -0
  249. package/ui/src/board/board-assignee/board-assignee.tsx +75 -0
  250. package/ui/src/board/board-chip/board-chip.tsx +46 -0
  251. package/ui/src/board/board-crumbs/board-crumbs.ts +56 -0
  252. package/ui/src/board/board-crumbs/board-crumbs.tsx +111 -0
  253. package/ui/src/board/board-data/board-data.ts +195 -0
  254. package/ui/src/board/board-data/board-data.types.ts +38 -0
  255. package/ui/src/board/board-dates/board-dates.ts +40 -0
  256. package/ui/src/board/board-dates/board-dates.tsx +105 -0
  257. package/ui/src/board/board-kanban/board-kanban.ts +162 -0
  258. package/ui/src/board/board-kanban/board-kanban.tsx +680 -0
  259. package/ui/src/board/board-open-task/board-open-task.ts +32 -0
  260. package/ui/src/board/board-panel/board-panel.tsx +259 -0
  261. package/ui/src/board/board-settings/board-settings.tsx +226 -0
  262. package/ui/src/board/board-status/board-status.tsx +60 -0
  263. package/ui/src/board/board-stripes/board-stripes.ts +128 -0
  264. package/ui/src/board/board-table/board-table.ts +53 -0
  265. package/ui/src/board/board-table/board-table.tsx +610 -0
  266. package/ui/src/board/board-task/board-task.ts +108 -0
  267. package/ui/src/board/board-task/board-task.tsx +335 -0
  268. package/ui/src/board/board-title-row/board-title-row.tsx +66 -0
  269. package/ui/src/branding/branding.tsx +17 -0
  270. package/ui/src/branding/custom-logo.ts +1 -0
  271. package/ui/src/branding/favicon.default.svg +5 -0
  272. package/ui/src/branding/favicon.svg +5 -0
  273. package/ui/src/components/ui/avatar.tsx +39 -0
  274. package/ui/src/components/ui/button.tsx +64 -0
  275. package/ui/src/components/ui/collapsible.tsx +20 -0
  276. package/ui/src/components/ui/command.tsx +160 -0
  277. package/ui/src/components/ui/dialog.tsx +143 -0
  278. package/ui/src/components/ui/dropdown-menu.tsx +187 -0
  279. package/ui/src/components/ui/input.tsx +21 -0
  280. package/ui/src/components/ui/popover.tsx +41 -0
  281. package/ui/src/components/ui/select.tsx +163 -0
  282. package/ui/src/components/ui/separator.tsx +26 -0
  283. package/ui/src/components/ui/sheet.tsx +136 -0
  284. package/ui/src/components/ui/sidebar.tsx +693 -0
  285. package/ui/src/components/ui/skeleton.tsx +13 -0
  286. package/ui/src/components/ui/switch.tsx +25 -0
  287. package/ui/src/components/ui/table.tsx +82 -0
  288. package/ui/src/components/ui/tabs.tsx +52 -0
  289. package/ui/src/components/ui/tooltip.tsx +51 -0
  290. package/ui/src/data/intel-data-provider/intel-data-provider.ts +685 -0
  291. package/ui/src/data/intel-data-provider/intel-data-provider.types.ts +266 -0
  292. package/ui/src/data/query-client.ts +18 -0
  293. package/ui/src/data/request-refusal/refusal-notice.tsx +36 -0
  294. package/ui/src/data/request-refusal/request-refusal.ts +51 -0
  295. package/ui/src/data/sign-in/sign-in.ts +97 -0
  296. package/ui/src/data/sign-in/sign-in.types.ts +15 -0
  297. package/ui/src/document-link/document-link.tsx +114 -0
  298. package/ui/src/document-markdown/document-markdown.ts +195 -0
  299. package/ui/src/editor-schema/editor-schema.ts +23 -0
  300. package/ui/src/entry-picker/entry-picker.tsx +238 -0
  301. package/ui/src/feed/feed.tsx +344 -0
  302. package/ui/src/file-preview/file-preview-view.tsx +496 -0
  303. package/ui/src/file-preview/file-preview.tsx +28 -0
  304. package/ui/src/file-preview/pdf-file-preview.tsx +5 -0
  305. package/ui/src/file-preview/presentation-file-preview.tsx +21 -0
  306. package/ui/src/file-preview/spreadsheet-file-preview.tsx +5 -0
  307. package/ui/src/file-preview/word-file-preview.tsx +5 -0
  308. package/ui/src/flow-runs/flow-runs.tsx +238 -0
  309. package/ui/src/flows/flows.tsx +1646 -0
  310. package/ui/src/flows/node-icon/node-icon.ts +34 -0
  311. package/ui/src/flows/node-palette/node-palette.tsx +214 -0
  312. package/ui/src/flows/node-palette/node-palette.types.ts +15 -0
  313. package/ui/src/folder-contents/folder-contents.tsx +321 -0
  314. package/ui/src/folder-index/folder-index.ts +55 -0
  315. package/ui/src/frontmatter/frontmatter.tsx +193 -0
  316. package/ui/src/graph-pane/graph-pane.tsx +53 -0
  317. package/ui/src/hooks/use-mobile.ts +19 -0
  318. package/ui/src/i18n/custom.json +4 -0
  319. package/ui/src/i18n/de.json +609 -0
  320. package/ui/src/i18n/en.json +609 -0
  321. package/ui/src/i18n/es.json +609 -0
  322. package/ui/src/i18n/i18n-context.tsx +65 -0
  323. package/ui/src/i18n/i18n-languages/i18n-languages.ts +83 -0
  324. package/ui/src/i18n/i18n.ts +32 -0
  325. package/ui/src/i18n/i18n.types.ts +49 -0
  326. package/ui/src/kind-icon.ts +97 -0
  327. package/ui/src/lib/utils.ts +6 -0
  328. package/ui/src/main.tsx +68 -0
  329. package/ui/src/modal/modal.tsx +53 -0
  330. package/ui/src/node-details/node-details.tsx +545 -0
  331. package/ui/src/node-editor/node-editor.tsx +304 -0
  332. package/ui/src/node-graph/graph-notice.tsx +21 -0
  333. package/ui/src/node-graph/node-graph.ts +214 -0
  334. package/ui/src/node-graph/node-graph.tsx +295 -0
  335. package/ui/src/node-import/node-import.tsx +418 -0
  336. package/ui/src/node-save-error.ts +46 -0
  337. package/ui/src/node-source/node-source.tsx +128 -0
  338. package/ui/src/node-table/node-table.tsx +107 -0
  339. package/ui/src/nodes/nodes.tsx +240 -0
  340. package/ui/src/rename-resource/rename-resource.ts +80 -0
  341. package/ui/src/resolved-names/resolved-names.tsx +67 -0
  342. package/ui/src/resource-error.ts +33 -0
  343. package/ui/src/resource-menu/resource-menu.tsx +1156 -0
  344. package/ui/src/router/router-context.ts +6 -0
  345. package/ui/src/router/router.tsx +67 -0
  346. package/ui/src/router/router.types.ts +8 -0
  347. package/ui/src/router/selection-search.ts +88 -0
  348. package/ui/src/save-button/save-button.tsx +94 -0
  349. package/ui/src/section-hint/section-hint.tsx +40 -0
  350. package/ui/src/sign-in-refused/sign-in-refused.tsx +35 -0
  351. package/ui/src/styles.css +189 -0
  352. package/ui/src/table-columns/table-columns.tsx +379 -0
  353. package/ui/src/theme/custom.css +1 -0
  354. package/ui/src/theme/theme-context.tsx +89 -0
  355. package/ui/src/theme/theme.ts +70 -0
  356. package/ui/src/time/relative-time.tsx +41 -0
  357. package/ui/src/time/time-context.tsx +78 -0
  358. package/ui/src/time/time.ts +165 -0
  359. package/ui/src/title-row/title-row.tsx +185 -0
  360. package/ui/src/tools/tools.tsx +546 -0
  361. package/ui/src/user-name/user-name.ts +61 -0
  362. package/ui/src/verbatim/verbatim.tsx +68 -0
  363. package/ui/tsconfig.json +17 -0
  364. package/ui/vite.config.ts +129 -0
@@ -0,0 +1,1057 @@
1
+ import { z } from "zod";
2
+ export declare const FlowNodeId: z.ZodString;
3
+ export declare const FlowPosition: z.ZodObject<{
4
+ x: z.ZodNumber;
5
+ y: z.ZodNumber;
6
+ }, z.core.$strict>;
7
+ export declare const SubflowVersionMode: z.ZodEnum<{
8
+ latest: "latest";
9
+ follows: "follows";
10
+ pinned: "pinned";
11
+ }>;
12
+ export type SubflowVersionMode = z.infer<typeof SubflowVersionMode>;
13
+ export declare const SubflowVersion: z.ZodDiscriminatedUnion<[z.ZodObject<{
14
+ mode: z.ZodLiteral<"latest">;
15
+ }, z.core.$strict>, z.ZodObject<{
16
+ mode: z.ZodLiteral<"follows">;
17
+ }, z.core.$strict>, z.ZodObject<{
18
+ mode: z.ZodLiteral<"pinned">;
19
+ versionId: z.ZodString;
20
+ }, z.core.$strict>], "mode">;
21
+ export type SubflowVersion = z.infer<typeof SubflowVersion>;
22
+ export declare const FlowNodeLayer: z.ZodEnum<{
23
+ marker: "marker";
24
+ step: "step";
25
+ link: "link";
26
+ }>;
27
+ export type FlowNodeLayer = z.infer<typeof FlowNodeLayer>;
28
+ export declare const flowNodeLayer: {
29
+ readonly trigger: "marker";
30
+ readonly output: "marker";
31
+ readonly instruction: "step";
32
+ readonly condition: "step";
33
+ readonly subflow: "step";
34
+ readonly folder: "link";
35
+ readonly document: "link";
36
+ readonly upload: "link";
37
+ readonly table: "link";
38
+ readonly tool: "link";
39
+ };
40
+ export declare const FlowNode: z.ZodDiscriminatedUnion<[z.ZodObject<{
41
+ kind: z.ZodLiteral<"trigger">;
42
+ configuration: z.ZodObject<{
43
+ mode: z.ZodLiteral<"manual">;
44
+ }, z.core.$strict>;
45
+ id: z.ZodString;
46
+ position: z.ZodObject<{
47
+ x: z.ZodNumber;
48
+ y: z.ZodNumber;
49
+ }, z.core.$strict>;
50
+ label: z.ZodString;
51
+ }, z.core.$strict>, z.ZodObject<{
52
+ kind: z.ZodLiteral<"instruction">;
53
+ configuration: z.ZodObject<{
54
+ prompt: z.ZodString;
55
+ }, z.core.$strict>;
56
+ id: z.ZodString;
57
+ position: z.ZodObject<{
58
+ x: z.ZodNumber;
59
+ y: z.ZodNumber;
60
+ }, z.core.$strict>;
61
+ label: z.ZodString;
62
+ }, z.core.$strict>, z.ZodObject<{
63
+ kind: z.ZodLiteral<"folder">;
64
+ configuration: z.ZodObject<{
65
+ resourceId: z.ZodString;
66
+ }, z.core.$strict>;
67
+ id: z.ZodString;
68
+ position: z.ZodObject<{
69
+ x: z.ZodNumber;
70
+ y: z.ZodNumber;
71
+ }, z.core.$strict>;
72
+ label: z.ZodString;
73
+ }, z.core.$strict>, z.ZodObject<{
74
+ kind: z.ZodLiteral<"document">;
75
+ configuration: z.ZodObject<{
76
+ resourceId: z.ZodString;
77
+ }, z.core.$strict>;
78
+ id: z.ZodString;
79
+ position: z.ZodObject<{
80
+ x: z.ZodNumber;
81
+ y: z.ZodNumber;
82
+ }, z.core.$strict>;
83
+ label: z.ZodString;
84
+ }, z.core.$strict>, z.ZodObject<{
85
+ kind: z.ZodLiteral<"upload">;
86
+ configuration: z.ZodObject<{
87
+ resourceId: z.ZodString;
88
+ }, z.core.$strict>;
89
+ id: z.ZodString;
90
+ position: z.ZodObject<{
91
+ x: z.ZodNumber;
92
+ y: z.ZodNumber;
93
+ }, z.core.$strict>;
94
+ label: z.ZodString;
95
+ }, z.core.$strict>, z.ZodObject<{
96
+ kind: z.ZodLiteral<"table">;
97
+ configuration: z.ZodObject<{
98
+ resourceId: z.ZodString;
99
+ }, z.core.$strict>;
100
+ id: z.ZodString;
101
+ position: z.ZodObject<{
102
+ x: z.ZodNumber;
103
+ y: z.ZodNumber;
104
+ }, z.core.$strict>;
105
+ label: z.ZodString;
106
+ }, z.core.$strict>, z.ZodObject<{
107
+ kind: z.ZodLiteral<"tool">;
108
+ configuration: z.ZodObject<{
109
+ server: z.ZodString;
110
+ allow: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
111
+ fingerprint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
112
+ }, z.core.$strict>;
113
+ id: z.ZodString;
114
+ position: z.ZodObject<{
115
+ x: z.ZodNumber;
116
+ y: z.ZodNumber;
117
+ }, z.core.$strict>;
118
+ label: z.ZodString;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ kind: z.ZodLiteral<"condition">;
121
+ configuration: z.ZodObject<{
122
+ mode: z.ZodLiteral<"semantic">;
123
+ instruction: z.ZodString;
124
+ }, z.core.$strict>;
125
+ id: z.ZodString;
126
+ position: z.ZodObject<{
127
+ x: z.ZodNumber;
128
+ y: z.ZodNumber;
129
+ }, z.core.$strict>;
130
+ label: z.ZodString;
131
+ }, z.core.$strict>, z.ZodObject<{
132
+ kind: z.ZodLiteral<"subflow">;
133
+ configuration: z.ZodObject<{
134
+ flowId: z.ZodString;
135
+ version: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
136
+ mode: z.ZodLiteral<"latest">;
137
+ }, z.core.$strict>, z.ZodObject<{
138
+ mode: z.ZodLiteral<"follows">;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ mode: z.ZodLiteral<"pinned">;
141
+ versionId: z.ZodString;
142
+ }, z.core.$strict>], "mode">>;
143
+ }, z.core.$strict>;
144
+ id: z.ZodString;
145
+ position: z.ZodObject<{
146
+ x: z.ZodNumber;
147
+ y: z.ZodNumber;
148
+ }, z.core.$strict>;
149
+ label: z.ZodString;
150
+ }, z.core.$strict>, z.ZodObject<{
151
+ kind: z.ZodLiteral<"output">;
152
+ configuration: z.ZodObject<{}, z.core.$strict>;
153
+ id: z.ZodString;
154
+ position: z.ZodObject<{
155
+ x: z.ZodNumber;
156
+ y: z.ZodNumber;
157
+ }, z.core.$strict>;
158
+ label: z.ZodString;
159
+ }, z.core.$strict>], "kind">;
160
+ export type FlowNode = z.infer<typeof FlowNode>;
161
+ export declare const FlowEdgeKind: z.ZodEnum<{
162
+ flow: "flow";
163
+ context: "context";
164
+ }>;
165
+ export type FlowEdgeKind = z.infer<typeof FlowEdgeKind>;
166
+ export declare const FlowEdge: z.ZodObject<{
167
+ id: z.ZodString;
168
+ source: z.ZodString;
169
+ target: z.ZodString;
170
+ kind: z.ZodDefault<z.ZodEnum<{
171
+ flow: "flow";
172
+ context: "context";
173
+ }>>;
174
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
175
+ sourceHandle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
176
+ }, z.core.$strict>;
177
+ export type FlowEdge = z.infer<typeof FlowEdge>;
178
+ export declare const FlowGraph: z.ZodObject<{
179
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
180
+ kind: z.ZodLiteral<"trigger">;
181
+ configuration: z.ZodObject<{
182
+ mode: z.ZodLiteral<"manual">;
183
+ }, z.core.$strict>;
184
+ id: z.ZodString;
185
+ position: z.ZodObject<{
186
+ x: z.ZodNumber;
187
+ y: z.ZodNumber;
188
+ }, z.core.$strict>;
189
+ label: z.ZodString;
190
+ }, z.core.$strict>, z.ZodObject<{
191
+ kind: z.ZodLiteral<"instruction">;
192
+ configuration: z.ZodObject<{
193
+ prompt: z.ZodString;
194
+ }, z.core.$strict>;
195
+ id: z.ZodString;
196
+ position: z.ZodObject<{
197
+ x: z.ZodNumber;
198
+ y: z.ZodNumber;
199
+ }, z.core.$strict>;
200
+ label: z.ZodString;
201
+ }, z.core.$strict>, z.ZodObject<{
202
+ kind: z.ZodLiteral<"folder">;
203
+ configuration: z.ZodObject<{
204
+ resourceId: z.ZodString;
205
+ }, z.core.$strict>;
206
+ id: z.ZodString;
207
+ position: z.ZodObject<{
208
+ x: z.ZodNumber;
209
+ y: z.ZodNumber;
210
+ }, z.core.$strict>;
211
+ label: z.ZodString;
212
+ }, z.core.$strict>, z.ZodObject<{
213
+ kind: z.ZodLiteral<"document">;
214
+ configuration: z.ZodObject<{
215
+ resourceId: z.ZodString;
216
+ }, z.core.$strict>;
217
+ id: z.ZodString;
218
+ position: z.ZodObject<{
219
+ x: z.ZodNumber;
220
+ y: z.ZodNumber;
221
+ }, z.core.$strict>;
222
+ label: z.ZodString;
223
+ }, z.core.$strict>, z.ZodObject<{
224
+ kind: z.ZodLiteral<"upload">;
225
+ configuration: z.ZodObject<{
226
+ resourceId: z.ZodString;
227
+ }, z.core.$strict>;
228
+ id: z.ZodString;
229
+ position: z.ZodObject<{
230
+ x: z.ZodNumber;
231
+ y: z.ZodNumber;
232
+ }, z.core.$strict>;
233
+ label: z.ZodString;
234
+ }, z.core.$strict>, z.ZodObject<{
235
+ kind: z.ZodLiteral<"table">;
236
+ configuration: z.ZodObject<{
237
+ resourceId: z.ZodString;
238
+ }, z.core.$strict>;
239
+ id: z.ZodString;
240
+ position: z.ZodObject<{
241
+ x: z.ZodNumber;
242
+ y: z.ZodNumber;
243
+ }, z.core.$strict>;
244
+ label: z.ZodString;
245
+ }, z.core.$strict>, z.ZodObject<{
246
+ kind: z.ZodLiteral<"tool">;
247
+ configuration: z.ZodObject<{
248
+ server: z.ZodString;
249
+ allow: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
250
+ fingerprint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
251
+ }, z.core.$strict>;
252
+ id: z.ZodString;
253
+ position: z.ZodObject<{
254
+ x: z.ZodNumber;
255
+ y: z.ZodNumber;
256
+ }, z.core.$strict>;
257
+ label: z.ZodString;
258
+ }, z.core.$strict>, z.ZodObject<{
259
+ kind: z.ZodLiteral<"condition">;
260
+ configuration: z.ZodObject<{
261
+ mode: z.ZodLiteral<"semantic">;
262
+ instruction: z.ZodString;
263
+ }, z.core.$strict>;
264
+ id: z.ZodString;
265
+ position: z.ZodObject<{
266
+ x: z.ZodNumber;
267
+ y: z.ZodNumber;
268
+ }, z.core.$strict>;
269
+ label: z.ZodString;
270
+ }, z.core.$strict>, z.ZodObject<{
271
+ kind: z.ZodLiteral<"subflow">;
272
+ configuration: z.ZodObject<{
273
+ flowId: z.ZodString;
274
+ version: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
275
+ mode: z.ZodLiteral<"latest">;
276
+ }, z.core.$strict>, z.ZodObject<{
277
+ mode: z.ZodLiteral<"follows">;
278
+ }, z.core.$strict>, z.ZodObject<{
279
+ mode: z.ZodLiteral<"pinned">;
280
+ versionId: z.ZodString;
281
+ }, z.core.$strict>], "mode">>;
282
+ }, z.core.$strict>;
283
+ id: z.ZodString;
284
+ position: z.ZodObject<{
285
+ x: z.ZodNumber;
286
+ y: z.ZodNumber;
287
+ }, z.core.$strict>;
288
+ label: z.ZodString;
289
+ }, z.core.$strict>, z.ZodObject<{
290
+ kind: z.ZodLiteral<"output">;
291
+ configuration: z.ZodObject<{}, z.core.$strict>;
292
+ id: z.ZodString;
293
+ position: z.ZodObject<{
294
+ x: z.ZodNumber;
295
+ y: z.ZodNumber;
296
+ }, z.core.$strict>;
297
+ label: z.ZodString;
298
+ }, z.core.$strict>], "kind">>;
299
+ edges: z.ZodArray<z.ZodObject<{
300
+ id: z.ZodString;
301
+ source: z.ZodString;
302
+ target: z.ZodString;
303
+ kind: z.ZodDefault<z.ZodEnum<{
304
+ flow: "flow";
305
+ context: "context";
306
+ }>>;
307
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
308
+ sourceHandle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
309
+ }, z.core.$strict>>;
310
+ }, z.core.$strict>;
311
+ export type FlowGraph = z.infer<typeof FlowGraph>;
312
+ export declare const Flow: z.ZodObject<{
313
+ id: z.ZodString;
314
+ parentId: z.ZodNullable<z.ZodString>;
315
+ title: z.ZodString;
316
+ description: z.ZodNullable<z.ZodString>;
317
+ ownerId: z.ZodString;
318
+ currentVersionId: z.ZodNullable<z.ZodString>;
319
+ publishedVersionId: z.ZodNullable<z.ZodString>;
320
+ createdAt: z.ZodISODateTime;
321
+ updatedAt: z.ZodISODateTime;
322
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
323
+ promptName: z.ZodNullable<z.ZodString>;
324
+ }, z.core.$strict>;
325
+ export type Flow = z.infer<typeof Flow>;
326
+ export declare const FlowVersion: z.ZodObject<{
327
+ id: z.ZodString;
328
+ flowId: z.ZodString;
329
+ sequence: z.ZodNumber;
330
+ graph: z.ZodObject<{
331
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
332
+ kind: z.ZodLiteral<"trigger">;
333
+ configuration: z.ZodObject<{
334
+ mode: z.ZodLiteral<"manual">;
335
+ }, z.core.$strict>;
336
+ id: z.ZodString;
337
+ position: z.ZodObject<{
338
+ x: z.ZodNumber;
339
+ y: z.ZodNumber;
340
+ }, z.core.$strict>;
341
+ label: z.ZodString;
342
+ }, z.core.$strict>, z.ZodObject<{
343
+ kind: z.ZodLiteral<"instruction">;
344
+ configuration: z.ZodObject<{
345
+ prompt: z.ZodString;
346
+ }, z.core.$strict>;
347
+ id: z.ZodString;
348
+ position: z.ZodObject<{
349
+ x: z.ZodNumber;
350
+ y: z.ZodNumber;
351
+ }, z.core.$strict>;
352
+ label: z.ZodString;
353
+ }, z.core.$strict>, z.ZodObject<{
354
+ kind: z.ZodLiteral<"folder">;
355
+ configuration: z.ZodObject<{
356
+ resourceId: z.ZodString;
357
+ }, z.core.$strict>;
358
+ id: z.ZodString;
359
+ position: z.ZodObject<{
360
+ x: z.ZodNumber;
361
+ y: z.ZodNumber;
362
+ }, z.core.$strict>;
363
+ label: z.ZodString;
364
+ }, z.core.$strict>, z.ZodObject<{
365
+ kind: z.ZodLiteral<"document">;
366
+ configuration: z.ZodObject<{
367
+ resourceId: z.ZodString;
368
+ }, z.core.$strict>;
369
+ id: z.ZodString;
370
+ position: z.ZodObject<{
371
+ x: z.ZodNumber;
372
+ y: z.ZodNumber;
373
+ }, z.core.$strict>;
374
+ label: z.ZodString;
375
+ }, z.core.$strict>, z.ZodObject<{
376
+ kind: z.ZodLiteral<"upload">;
377
+ configuration: z.ZodObject<{
378
+ resourceId: z.ZodString;
379
+ }, z.core.$strict>;
380
+ id: z.ZodString;
381
+ position: z.ZodObject<{
382
+ x: z.ZodNumber;
383
+ y: z.ZodNumber;
384
+ }, z.core.$strict>;
385
+ label: z.ZodString;
386
+ }, z.core.$strict>, z.ZodObject<{
387
+ kind: z.ZodLiteral<"table">;
388
+ configuration: z.ZodObject<{
389
+ resourceId: z.ZodString;
390
+ }, z.core.$strict>;
391
+ id: z.ZodString;
392
+ position: z.ZodObject<{
393
+ x: z.ZodNumber;
394
+ y: z.ZodNumber;
395
+ }, z.core.$strict>;
396
+ label: z.ZodString;
397
+ }, z.core.$strict>, z.ZodObject<{
398
+ kind: z.ZodLiteral<"tool">;
399
+ configuration: z.ZodObject<{
400
+ server: z.ZodString;
401
+ allow: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
402
+ fingerprint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
403
+ }, z.core.$strict>;
404
+ id: z.ZodString;
405
+ position: z.ZodObject<{
406
+ x: z.ZodNumber;
407
+ y: z.ZodNumber;
408
+ }, z.core.$strict>;
409
+ label: z.ZodString;
410
+ }, z.core.$strict>, z.ZodObject<{
411
+ kind: z.ZodLiteral<"condition">;
412
+ configuration: z.ZodObject<{
413
+ mode: z.ZodLiteral<"semantic">;
414
+ instruction: z.ZodString;
415
+ }, z.core.$strict>;
416
+ id: z.ZodString;
417
+ position: z.ZodObject<{
418
+ x: z.ZodNumber;
419
+ y: z.ZodNumber;
420
+ }, z.core.$strict>;
421
+ label: z.ZodString;
422
+ }, z.core.$strict>, z.ZodObject<{
423
+ kind: z.ZodLiteral<"subflow">;
424
+ configuration: z.ZodObject<{
425
+ flowId: z.ZodString;
426
+ version: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
427
+ mode: z.ZodLiteral<"latest">;
428
+ }, z.core.$strict>, z.ZodObject<{
429
+ mode: z.ZodLiteral<"follows">;
430
+ }, z.core.$strict>, z.ZodObject<{
431
+ mode: z.ZodLiteral<"pinned">;
432
+ versionId: z.ZodString;
433
+ }, z.core.$strict>], "mode">>;
434
+ }, z.core.$strict>;
435
+ id: z.ZodString;
436
+ position: z.ZodObject<{
437
+ x: z.ZodNumber;
438
+ y: z.ZodNumber;
439
+ }, z.core.$strict>;
440
+ label: z.ZodString;
441
+ }, z.core.$strict>, z.ZodObject<{
442
+ kind: z.ZodLiteral<"output">;
443
+ configuration: z.ZodObject<{}, z.core.$strict>;
444
+ id: z.ZodString;
445
+ position: z.ZodObject<{
446
+ x: z.ZodNumber;
447
+ y: z.ZodNumber;
448
+ }, z.core.$strict>;
449
+ label: z.ZodString;
450
+ }, z.core.$strict>], "kind">>;
451
+ edges: z.ZodArray<z.ZodObject<{
452
+ id: z.ZodString;
453
+ source: z.ZodString;
454
+ target: z.ZodString;
455
+ kind: z.ZodDefault<z.ZodEnum<{
456
+ flow: "flow";
457
+ context: "context";
458
+ }>>;
459
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
460
+ sourceHandle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
461
+ }, z.core.$strict>>;
462
+ }, z.core.$strict>;
463
+ createdBy: z.ZodString;
464
+ createdAt: z.ZodISODateTime;
465
+ }, z.core.$strict>;
466
+ export type FlowVersion = z.infer<typeof FlowVersion>;
467
+ export declare const FlowDocument: z.ZodObject<{
468
+ flow: z.ZodObject<{
469
+ id: z.ZodString;
470
+ parentId: z.ZodNullable<z.ZodString>;
471
+ title: z.ZodString;
472
+ description: z.ZodNullable<z.ZodString>;
473
+ ownerId: z.ZodString;
474
+ currentVersionId: z.ZodNullable<z.ZodString>;
475
+ publishedVersionId: z.ZodNullable<z.ZodString>;
476
+ createdAt: z.ZodISODateTime;
477
+ updatedAt: z.ZodISODateTime;
478
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
479
+ promptName: z.ZodNullable<z.ZodString>;
480
+ }, z.core.$strict>;
481
+ version: z.ZodNullable<z.ZodObject<{
482
+ id: z.ZodString;
483
+ flowId: z.ZodString;
484
+ sequence: z.ZodNumber;
485
+ graph: z.ZodObject<{
486
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
487
+ kind: z.ZodLiteral<"trigger">;
488
+ configuration: z.ZodObject<{
489
+ mode: z.ZodLiteral<"manual">;
490
+ }, z.core.$strict>;
491
+ id: z.ZodString;
492
+ position: z.ZodObject<{
493
+ x: z.ZodNumber;
494
+ y: z.ZodNumber;
495
+ }, z.core.$strict>;
496
+ label: z.ZodString;
497
+ }, z.core.$strict>, z.ZodObject<{
498
+ kind: z.ZodLiteral<"instruction">;
499
+ configuration: z.ZodObject<{
500
+ prompt: z.ZodString;
501
+ }, z.core.$strict>;
502
+ id: z.ZodString;
503
+ position: z.ZodObject<{
504
+ x: z.ZodNumber;
505
+ y: z.ZodNumber;
506
+ }, z.core.$strict>;
507
+ label: z.ZodString;
508
+ }, z.core.$strict>, z.ZodObject<{
509
+ kind: z.ZodLiteral<"folder">;
510
+ configuration: z.ZodObject<{
511
+ resourceId: z.ZodString;
512
+ }, z.core.$strict>;
513
+ id: z.ZodString;
514
+ position: z.ZodObject<{
515
+ x: z.ZodNumber;
516
+ y: z.ZodNumber;
517
+ }, z.core.$strict>;
518
+ label: z.ZodString;
519
+ }, z.core.$strict>, z.ZodObject<{
520
+ kind: z.ZodLiteral<"document">;
521
+ configuration: z.ZodObject<{
522
+ resourceId: z.ZodString;
523
+ }, z.core.$strict>;
524
+ id: z.ZodString;
525
+ position: z.ZodObject<{
526
+ x: z.ZodNumber;
527
+ y: z.ZodNumber;
528
+ }, z.core.$strict>;
529
+ label: z.ZodString;
530
+ }, z.core.$strict>, z.ZodObject<{
531
+ kind: z.ZodLiteral<"upload">;
532
+ configuration: z.ZodObject<{
533
+ resourceId: z.ZodString;
534
+ }, z.core.$strict>;
535
+ id: z.ZodString;
536
+ position: z.ZodObject<{
537
+ x: z.ZodNumber;
538
+ y: z.ZodNumber;
539
+ }, z.core.$strict>;
540
+ label: z.ZodString;
541
+ }, z.core.$strict>, z.ZodObject<{
542
+ kind: z.ZodLiteral<"table">;
543
+ configuration: z.ZodObject<{
544
+ resourceId: z.ZodString;
545
+ }, z.core.$strict>;
546
+ id: z.ZodString;
547
+ position: z.ZodObject<{
548
+ x: z.ZodNumber;
549
+ y: z.ZodNumber;
550
+ }, z.core.$strict>;
551
+ label: z.ZodString;
552
+ }, z.core.$strict>, z.ZodObject<{
553
+ kind: z.ZodLiteral<"tool">;
554
+ configuration: z.ZodObject<{
555
+ server: z.ZodString;
556
+ allow: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
557
+ fingerprint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
558
+ }, z.core.$strict>;
559
+ id: z.ZodString;
560
+ position: z.ZodObject<{
561
+ x: z.ZodNumber;
562
+ y: z.ZodNumber;
563
+ }, z.core.$strict>;
564
+ label: z.ZodString;
565
+ }, z.core.$strict>, z.ZodObject<{
566
+ kind: z.ZodLiteral<"condition">;
567
+ configuration: z.ZodObject<{
568
+ mode: z.ZodLiteral<"semantic">;
569
+ instruction: z.ZodString;
570
+ }, z.core.$strict>;
571
+ id: z.ZodString;
572
+ position: z.ZodObject<{
573
+ x: z.ZodNumber;
574
+ y: z.ZodNumber;
575
+ }, z.core.$strict>;
576
+ label: z.ZodString;
577
+ }, z.core.$strict>, z.ZodObject<{
578
+ kind: z.ZodLiteral<"subflow">;
579
+ configuration: z.ZodObject<{
580
+ flowId: z.ZodString;
581
+ version: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
582
+ mode: z.ZodLiteral<"latest">;
583
+ }, z.core.$strict>, z.ZodObject<{
584
+ mode: z.ZodLiteral<"follows">;
585
+ }, z.core.$strict>, z.ZodObject<{
586
+ mode: z.ZodLiteral<"pinned">;
587
+ versionId: z.ZodString;
588
+ }, z.core.$strict>], "mode">>;
589
+ }, z.core.$strict>;
590
+ id: z.ZodString;
591
+ position: z.ZodObject<{
592
+ x: z.ZodNumber;
593
+ y: z.ZodNumber;
594
+ }, z.core.$strict>;
595
+ label: z.ZodString;
596
+ }, z.core.$strict>, z.ZodObject<{
597
+ kind: z.ZodLiteral<"output">;
598
+ configuration: z.ZodObject<{}, z.core.$strict>;
599
+ id: z.ZodString;
600
+ position: z.ZodObject<{
601
+ x: z.ZodNumber;
602
+ y: z.ZodNumber;
603
+ }, z.core.$strict>;
604
+ label: z.ZodString;
605
+ }, z.core.$strict>], "kind">>;
606
+ edges: z.ZodArray<z.ZodObject<{
607
+ id: z.ZodString;
608
+ source: z.ZodString;
609
+ target: z.ZodString;
610
+ kind: z.ZodDefault<z.ZodEnum<{
611
+ flow: "flow";
612
+ context: "context";
613
+ }>>;
614
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
615
+ sourceHandle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
616
+ }, z.core.$strict>>;
617
+ }, z.core.$strict>;
618
+ createdBy: z.ZodString;
619
+ createdAt: z.ZodISODateTime;
620
+ }, z.core.$strict>>;
621
+ }, z.core.$strict>;
622
+ export type FlowDocument = z.infer<typeof FlowDocument>;
623
+ export declare const FlowVersionSummary: z.ZodObject<{
624
+ id: z.ZodString;
625
+ flowId: z.ZodString;
626
+ sequence: z.ZodNumber;
627
+ createdBy: z.ZodString;
628
+ createdAt: z.ZodISODateTime;
629
+ published: z.ZodBoolean;
630
+ }, z.core.$strict>;
631
+ export type FlowVersionSummary = z.infer<typeof FlowVersionSummary>;
632
+ export declare const FlowVersionList: z.ZodObject<{
633
+ flowId: z.ZodString;
634
+ items: z.ZodArray<z.ZodObject<{
635
+ id: z.ZodString;
636
+ flowId: z.ZodString;
637
+ sequence: z.ZodNumber;
638
+ createdBy: z.ZodString;
639
+ createdAt: z.ZodISODateTime;
640
+ published: z.ZodBoolean;
641
+ }, z.core.$strict>>;
642
+ }, z.core.$strict>;
643
+ export type FlowVersionList = z.infer<typeof FlowVersionList>;
644
+ export declare const GetFlowVersionInput: z.ZodObject<{
645
+ flowId: z.ZodString;
646
+ versionId: z.ZodString;
647
+ }, z.core.$strict>;
648
+ export type GetFlowVersionInput = z.infer<typeof GetFlowVersionInput>;
649
+ export declare const FlowList: z.ZodObject<{
650
+ items: z.ZodArray<z.ZodObject<{
651
+ id: z.ZodString;
652
+ parentId: z.ZodNullable<z.ZodString>;
653
+ title: z.ZodString;
654
+ description: z.ZodNullable<z.ZodString>;
655
+ ownerId: z.ZodString;
656
+ currentVersionId: z.ZodNullable<z.ZodString>;
657
+ publishedVersionId: z.ZodNullable<z.ZodString>;
658
+ createdAt: z.ZodISODateTime;
659
+ updatedAt: z.ZodISODateTime;
660
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
661
+ promptName: z.ZodNullable<z.ZodString>;
662
+ }, z.core.$strict>>;
663
+ withCalls: z.ZodDefault<z.ZodArray<z.ZodString>>;
664
+ }, z.core.$strict>;
665
+ export type FlowList = z.infer<typeof FlowList>;
666
+ export declare const ReferencedNode: z.ZodObject<{
667
+ id: z.ZodString;
668
+ title: z.ZodString;
669
+ }, z.core.$strict>;
670
+ export type ReferencedNode = z.infer<typeof ReferencedNode>;
671
+ export declare const FlowRequirements: z.ZodObject<{
672
+ flowId: z.ZodString;
673
+ versionId: z.ZodNullable<z.ZodString>;
674
+ nodes: z.ZodArray<z.ZodObject<{
675
+ id: z.ZodString;
676
+ title: z.ZodString;
677
+ }, z.core.$strict>>;
678
+ invalidNodes: z.ZodArray<z.ZodString>;
679
+ hiddenNodes: z.ZodNumber;
680
+ servers: z.ZodArray<z.ZodString>;
681
+ }, z.core.$strict>;
682
+ export type FlowRequirements = z.infer<typeof FlowRequirements>;
683
+ export declare const FlowValidation: z.ZodObject<{
684
+ flowId: z.ZodString;
685
+ versionId: z.ZodNullable<z.ZodString>;
686
+ problems: z.ZodArray<z.ZodObject<{
687
+ code: z.ZodString;
688
+ detail: z.ZodString;
689
+ }, z.core.$strict>>;
690
+ checkedAt: z.ZodISODateTime;
691
+ }, z.core.$strict>;
692
+ export type FlowValidation = z.infer<typeof FlowValidation>;
693
+ export declare const CreateFlowInput: z.ZodObject<{
694
+ parentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
695
+ title: z.ZodString;
696
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
697
+ idempotencyKey: z.ZodString;
698
+ }, z.core.$strict>;
699
+ export type CreateFlowInput = z.infer<typeof CreateFlowInput>;
700
+ export declare const UpdateFlowInput: z.ZodObject<{
701
+ flowId: z.ZodString;
702
+ baseUpdatedAt: z.ZodISODateTime;
703
+ title: z.ZodOptional<z.ZodString>;
704
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
705
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
706
+ idempotencyKey: z.ZodString;
707
+ }, z.core.$strict>;
708
+ export type UpdateFlowInput = z.infer<typeof UpdateFlowInput>;
709
+ export declare const ArchiveFlowInput: z.ZodObject<{
710
+ flowId: z.ZodString;
711
+ baseUpdatedAt: z.ZodISODateTime;
712
+ archived: z.ZodBoolean;
713
+ idempotencyKey: z.ZodString;
714
+ }, z.core.$strict>;
715
+ export type ArchiveFlowInput = z.infer<typeof ArchiveFlowInput>;
716
+ export declare const PurgeFlowInput: z.ZodObject<{
717
+ flowId: z.ZodString;
718
+ }, z.core.$strict>;
719
+ export type PurgeFlowInput = z.infer<typeof PurgeFlowInput>;
720
+ export declare const PurgeFlowResult: z.ZodObject<{
721
+ purged: z.ZodLiteral<true>;
722
+ title: z.ZodString;
723
+ }, z.core.$strict>;
724
+ export type PurgeFlowResult = z.infer<typeof PurgeFlowResult>;
725
+ export declare const ListFlowsInput: z.ZodObject<{
726
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
727
+ includeArchived: z.ZodOptional<z.ZodBoolean>;
728
+ archivedOnly: z.ZodOptional<z.ZodBoolean>;
729
+ }, z.core.$strict>;
730
+ export type ListFlowsInput = z.infer<typeof ListFlowsInput>;
731
+ export declare const GetFlowInput: z.ZodObject<{
732
+ flowId: z.ZodString;
733
+ }, z.core.$strict>;
734
+ export type GetFlowInput = z.infer<typeof GetFlowInput>;
735
+ export declare const SaveFlowVersionInput: z.ZodObject<{
736
+ flowId: z.ZodString;
737
+ baseVersionId: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
738
+ graph: z.ZodObject<{
739
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
740
+ kind: z.ZodLiteral<"trigger">;
741
+ configuration: z.ZodObject<{
742
+ mode: z.ZodLiteral<"manual">;
743
+ }, z.core.$strict>;
744
+ id: z.ZodString;
745
+ position: z.ZodObject<{
746
+ x: z.ZodNumber;
747
+ y: z.ZodNumber;
748
+ }, z.core.$strict>;
749
+ label: z.ZodString;
750
+ }, z.core.$strict>, z.ZodObject<{
751
+ kind: z.ZodLiteral<"instruction">;
752
+ configuration: z.ZodObject<{
753
+ prompt: z.ZodString;
754
+ }, z.core.$strict>;
755
+ id: z.ZodString;
756
+ position: z.ZodObject<{
757
+ x: z.ZodNumber;
758
+ y: z.ZodNumber;
759
+ }, z.core.$strict>;
760
+ label: z.ZodString;
761
+ }, z.core.$strict>, z.ZodObject<{
762
+ kind: z.ZodLiteral<"folder">;
763
+ configuration: z.ZodObject<{
764
+ resourceId: z.ZodString;
765
+ }, z.core.$strict>;
766
+ id: z.ZodString;
767
+ position: z.ZodObject<{
768
+ x: z.ZodNumber;
769
+ y: z.ZodNumber;
770
+ }, z.core.$strict>;
771
+ label: z.ZodString;
772
+ }, z.core.$strict>, z.ZodObject<{
773
+ kind: z.ZodLiteral<"document">;
774
+ configuration: z.ZodObject<{
775
+ resourceId: z.ZodString;
776
+ }, z.core.$strict>;
777
+ id: z.ZodString;
778
+ position: z.ZodObject<{
779
+ x: z.ZodNumber;
780
+ y: z.ZodNumber;
781
+ }, z.core.$strict>;
782
+ label: z.ZodString;
783
+ }, z.core.$strict>, z.ZodObject<{
784
+ kind: z.ZodLiteral<"upload">;
785
+ configuration: z.ZodObject<{
786
+ resourceId: z.ZodString;
787
+ }, z.core.$strict>;
788
+ id: z.ZodString;
789
+ position: z.ZodObject<{
790
+ x: z.ZodNumber;
791
+ y: z.ZodNumber;
792
+ }, z.core.$strict>;
793
+ label: z.ZodString;
794
+ }, z.core.$strict>, z.ZodObject<{
795
+ kind: z.ZodLiteral<"table">;
796
+ configuration: z.ZodObject<{
797
+ resourceId: z.ZodString;
798
+ }, z.core.$strict>;
799
+ id: z.ZodString;
800
+ position: z.ZodObject<{
801
+ x: z.ZodNumber;
802
+ y: z.ZodNumber;
803
+ }, z.core.$strict>;
804
+ label: z.ZodString;
805
+ }, z.core.$strict>, z.ZodObject<{
806
+ kind: z.ZodLiteral<"tool">;
807
+ configuration: z.ZodObject<{
808
+ server: z.ZodString;
809
+ allow: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
810
+ fingerprint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
811
+ }, z.core.$strict>;
812
+ id: z.ZodString;
813
+ position: z.ZodObject<{
814
+ x: z.ZodNumber;
815
+ y: z.ZodNumber;
816
+ }, z.core.$strict>;
817
+ label: z.ZodString;
818
+ }, z.core.$strict>, z.ZodObject<{
819
+ kind: z.ZodLiteral<"condition">;
820
+ configuration: z.ZodObject<{
821
+ mode: z.ZodLiteral<"semantic">;
822
+ instruction: z.ZodString;
823
+ }, z.core.$strict>;
824
+ id: z.ZodString;
825
+ position: z.ZodObject<{
826
+ x: z.ZodNumber;
827
+ y: z.ZodNumber;
828
+ }, z.core.$strict>;
829
+ label: z.ZodString;
830
+ }, z.core.$strict>, z.ZodObject<{
831
+ kind: z.ZodLiteral<"subflow">;
832
+ configuration: z.ZodObject<{
833
+ flowId: z.ZodString;
834
+ version: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
835
+ mode: z.ZodLiteral<"latest">;
836
+ }, z.core.$strict>, z.ZodObject<{
837
+ mode: z.ZodLiteral<"follows">;
838
+ }, z.core.$strict>, z.ZodObject<{
839
+ mode: z.ZodLiteral<"pinned">;
840
+ versionId: z.ZodString;
841
+ }, z.core.$strict>], "mode">>;
842
+ }, z.core.$strict>;
843
+ id: z.ZodString;
844
+ position: z.ZodObject<{
845
+ x: z.ZodNumber;
846
+ y: z.ZodNumber;
847
+ }, z.core.$strict>;
848
+ label: z.ZodString;
849
+ }, z.core.$strict>, z.ZodObject<{
850
+ kind: z.ZodLiteral<"output">;
851
+ configuration: z.ZodObject<{}, z.core.$strict>;
852
+ id: z.ZodString;
853
+ position: z.ZodObject<{
854
+ x: z.ZodNumber;
855
+ y: z.ZodNumber;
856
+ }, z.core.$strict>;
857
+ label: z.ZodString;
858
+ }, z.core.$strict>], "kind">>;
859
+ edges: z.ZodArray<z.ZodObject<{
860
+ id: z.ZodString;
861
+ source: z.ZodString;
862
+ target: z.ZodString;
863
+ kind: z.ZodDefault<z.ZodEnum<{
864
+ flow: "flow";
865
+ context: "context";
866
+ }>>;
867
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
868
+ sourceHandle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
869
+ }, z.core.$strict>>;
870
+ }, z.core.$strict>;
871
+ idempotencyKey: z.ZodString;
872
+ }, z.core.$strict>;
873
+ export type SaveFlowVersionInput = z.infer<typeof SaveFlowVersionInput>;
874
+ export declare const PublishFlowInput: z.ZodObject<{
875
+ flowId: z.ZodString;
876
+ versionId: z.ZodString;
877
+ promptName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
+ idempotencyKey: z.ZodString;
879
+ }, z.core.$strict>;
880
+ export type PublishFlowInput = z.infer<typeof PublishFlowInput>;
881
+ export declare const UnpublishFlowInput: z.ZodObject<{
882
+ flowId: z.ZodString;
883
+ idempotencyKey: z.ZodString;
884
+ }, z.core.$strict>;
885
+ export type UnpublishFlowInput = z.infer<typeof UnpublishFlowInput>;
886
+ export declare const PreviewFlowPublishInput: z.ZodObject<{
887
+ flowId: z.ZodString;
888
+ versionId: z.ZodString;
889
+ }, z.core.$strict>;
890
+ export type PreviewFlowPublishInput = z.infer<typeof PreviewFlowPublishInput>;
891
+ export declare const FlowPublishCall: z.ZodObject<{
892
+ nodeId: z.ZodString;
893
+ nodeLabel: z.ZodString;
894
+ calleeId: z.ZodString;
895
+ calleeTitle: z.ZodString;
896
+ mode: z.ZodEnum<{
897
+ latest: "latest";
898
+ follows: "follows";
899
+ pinned: "pinned";
900
+ }>;
901
+ versionId: z.ZodNullable<z.ZodString>;
902
+ versionSequence: z.ZodNullable<z.ZodNumber>;
903
+ freezes: z.ZodBoolean;
904
+ available: z.ZodBoolean;
905
+ }, z.core.$strict>;
906
+ export type FlowPublishCall = z.infer<typeof FlowPublishCall>;
907
+ /**
908
+ * What a tool step will be allowed to reach once this version is published (#517).
909
+ *
910
+ * ⚠️ It is in the preview because publishing FREEZES it: from that moment the step's surface is
911
+ * pinned, and a function the provider adds later is not inherited. An author who cannot see the
912
+ * surface before confirming is asked to freeze something they were never shown.
913
+ */
914
+ export declare const FlowPublishTool: z.ZodObject<{
915
+ nodeId: z.ZodString;
916
+ nodeLabel: z.ZodString;
917
+ server: z.ZodString;
918
+ allow: z.ZodNullable<z.ZodArray<z.ZodString>>;
919
+ available: z.ZodBoolean;
920
+ }, z.core.$strict>;
921
+ export type FlowPublishTool = z.infer<typeof FlowPublishTool>;
922
+ export declare const FlowPublishPreview: z.ZodObject<{
923
+ flowId: z.ZodString;
924
+ versionId: z.ZodString;
925
+ calls: z.ZodArray<z.ZodObject<{
926
+ nodeId: z.ZodString;
927
+ nodeLabel: z.ZodString;
928
+ calleeId: z.ZodString;
929
+ calleeTitle: z.ZodString;
930
+ mode: z.ZodEnum<{
931
+ latest: "latest";
932
+ follows: "follows";
933
+ pinned: "pinned";
934
+ }>;
935
+ versionId: z.ZodNullable<z.ZodString>;
936
+ versionSequence: z.ZodNullable<z.ZodNumber>;
937
+ freezes: z.ZodBoolean;
938
+ available: z.ZodBoolean;
939
+ }, z.core.$strict>>;
940
+ tools: z.ZodArray<z.ZodObject<{
941
+ nodeId: z.ZodString;
942
+ nodeLabel: z.ZodString;
943
+ server: z.ZodString;
944
+ allow: z.ZodNullable<z.ZodArray<z.ZodString>>;
945
+ available: z.ZodBoolean;
946
+ }, z.core.$strict>>;
947
+ }, z.core.$strict>;
948
+ export type FlowPublishPreview = z.infer<typeof FlowPublishPreview>;
949
+ export declare const RelationNodeKind: z.ZodEnum<{
950
+ folder: "folder";
951
+ document: "document";
952
+ attachment: "attachment";
953
+ table: "table";
954
+ board: "board";
955
+ task: "task";
956
+ flow: "flow";
957
+ }>;
958
+ export type RelationNodeKind = z.infer<typeof RelationNodeKind>;
959
+ export declare const RelationNode: z.ZodObject<{
960
+ id: z.ZodString;
961
+ kind: z.ZodEnum<{
962
+ folder: "folder";
963
+ document: "document";
964
+ attachment: "attachment";
965
+ table: "table";
966
+ board: "board";
967
+ task: "task";
968
+ flow: "flow";
969
+ }>;
970
+ title: z.ZodString;
971
+ inScope: z.ZodBoolean;
972
+ parentId: z.ZodNullable<z.ZodString>;
973
+ depth: z.ZodNumber;
974
+ }, z.core.$strict>;
975
+ export type RelationNode = z.infer<typeof RelationNode>;
976
+ export declare const RelationEdge: z.ZodObject<{
977
+ id: z.ZodString;
978
+ source: z.ZodString;
979
+ target: z.ZodString;
980
+ relation: z.ZodEnum<{
981
+ calls: "calls";
982
+ reads: "reads";
983
+ }>;
984
+ }, z.core.$strict>;
985
+ export type RelationEdge = z.infer<typeof RelationEdge>;
986
+ export declare const RelationUser: z.ZodObject<{
987
+ id: z.ZodString;
988
+ }, z.core.$strict>;
989
+ export type RelationUser = z.infer<typeof RelationUser>;
990
+ export declare const RelationAccessEdge: z.ZodObject<{
991
+ userId: z.ZodString;
992
+ nodeId: z.ZodString;
993
+ }, z.core.$strict>;
994
+ export type RelationAccessEdge = z.infer<typeof RelationAccessEdge>;
995
+ export declare const RelationGraphScope: z.ZodDiscriminatedUnion<[z.ZodObject<{
996
+ of: z.ZodLiteral<"folder">;
997
+ folderId: z.ZodNullable<z.ZodString>;
998
+ }, z.core.$strict>, z.ZodObject<{
999
+ of: z.ZodLiteral<"flow">;
1000
+ flowId: z.ZodString;
1001
+ }, z.core.$strict>], "of">;
1002
+ export type RelationGraphScope = z.infer<typeof RelationGraphScope>;
1003
+ export declare const RelationGraphInput: z.ZodObject<{
1004
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
1005
+ of: z.ZodLiteral<"folder">;
1006
+ folderId: z.ZodNullable<z.ZodString>;
1007
+ }, z.core.$strict>, z.ZodObject<{
1008
+ of: z.ZodLiteral<"flow">;
1009
+ flowId: z.ZodString;
1010
+ }, z.core.$strict>], "of">;
1011
+ limit: z.ZodDefault<z.ZodNumber>;
1012
+ }, z.core.$strict>;
1013
+ export type RelationGraphInput = z.infer<typeof RelationGraphInput>;
1014
+ export declare const RelationGraph: z.ZodObject<{
1015
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
1016
+ of: z.ZodLiteral<"folder">;
1017
+ folderId: z.ZodNullable<z.ZodString>;
1018
+ }, z.core.$strict>, z.ZodObject<{
1019
+ of: z.ZodLiteral<"flow">;
1020
+ flowId: z.ZodString;
1021
+ }, z.core.$strict>], "of">;
1022
+ nodes: z.ZodArray<z.ZodObject<{
1023
+ id: z.ZodString;
1024
+ kind: z.ZodEnum<{
1025
+ folder: "folder";
1026
+ document: "document";
1027
+ attachment: "attachment";
1028
+ table: "table";
1029
+ board: "board";
1030
+ task: "task";
1031
+ flow: "flow";
1032
+ }>;
1033
+ title: z.ZodString;
1034
+ inScope: z.ZodBoolean;
1035
+ parentId: z.ZodNullable<z.ZodString>;
1036
+ depth: z.ZodNumber;
1037
+ }, z.core.$strict>>;
1038
+ edges: z.ZodArray<z.ZodObject<{
1039
+ id: z.ZodString;
1040
+ source: z.ZodString;
1041
+ target: z.ZodString;
1042
+ relation: z.ZodEnum<{
1043
+ calls: "calls";
1044
+ reads: "reads";
1045
+ }>;
1046
+ }, z.core.$strict>>;
1047
+ users: z.ZodArray<z.ZodObject<{
1048
+ id: z.ZodString;
1049
+ }, z.core.$strict>>;
1050
+ access: z.ZodArray<z.ZodObject<{
1051
+ userId: z.ZodString;
1052
+ nodeId: z.ZodString;
1053
+ }, z.core.$strict>>;
1054
+ omitted: z.ZodNumber;
1055
+ limit: z.ZodNumber;
1056
+ }, z.core.$strict>;
1057
+ export type RelationGraph = z.infer<typeof RelationGraph>;