@oneie/claude 0.5.0 → 0.7.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 (2118) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/LICENSE +18 -0
  3. package/README.md +3 -3
  4. package/agents/w1-recon.md +15 -8
  5. package/agents/w2-decide.md +128 -27
  6. package/agents/w3-edit.md +122 -28
  7. package/agents/w4-verify.md +224 -70
  8. package/commands/browser.md +98 -35
  9. package/commands/cc-connect.md +49 -33
  10. package/commands/chat.md +47 -0
  11. package/commands/close.md +58 -22
  12. package/commands/create.md +21 -10
  13. package/commands/db-sync.md +55 -0
  14. package/commands/deploy.md +215 -118
  15. package/commands/do-autonomous.md +33 -20
  16. package/commands/do-improve.md +4 -4
  17. package/commands/do-old.md +283 -0
  18. package/commands/do-show.md +7 -5
  19. package/commands/do.md +268 -45
  20. package/commands/go.md +75 -0
  21. package/commands/improve.md +4 -2
  22. package/commands/kill.md +44 -16
  23. package/commands/notify.md +37 -0
  24. package/commands/oo-push.md +52 -0
  25. package/commands/rag.md +150 -0
  26. package/commands/release.md +115 -94
  27. package/commands/restart.md +53 -0
  28. package/commands/see.md +46 -36
  29. package/commands/skill-create.md +38 -5
  30. package/commands/sync.md +64 -137
  31. package/hooks/hooks.json +104 -0
  32. package/hooks/lib/signal.sh +101 -18
  33. package/hooks/scripts/announce.ts +74 -0
  34. package/hooks/scripts/auto-continue.sh +70 -0
  35. package/hooks/scripts/branch-pin.sh +85 -0
  36. package/hooks/scripts/cleanup.ts +17 -0
  37. package/hooks/scripts/compact-hint.sh +1 -2
  38. package/hooks/scripts/config-protect.sh +1 -2
  39. package/hooks/scripts/design-check.sh +20 -0
  40. package/hooks/scripts/do-doc-check.sh +105 -0
  41. package/hooks/scripts/do-outcome-gate.sh +136 -0
  42. package/hooks/scripts/fable-fallback.sh +53 -0
  43. package/hooks/scripts/gate-guard.sh +1 -2
  44. package/hooks/scripts/git-add-guard.sh +91 -0
  45. package/hooks/scripts/inbox.ts +115 -0
  46. package/hooks/scripts/post-edit-check.sh +16 -0
  47. package/hooks/scripts/read-tracker.sh +1 -2
  48. package/hooks/scripts/session-start.sh +14 -8
  49. package/hooks/scripts/stop-reflect.sh +45 -12
  50. package/hooks/scripts/sync-priority-todo.sh +57 -0
  51. package/hooks/scripts/user-prompt-signal.sh +23 -0
  52. package/hooks/scripts/watcher.ts +193 -0
  53. package/package.json +7 -4
  54. package/rules/api.md +9 -0
  55. package/rules/astro.md +5 -5
  56. package/rules/design.md +27 -10
  57. package/rules/documentation.md +59 -85
  58. package/rules/engine.md +72 -4
  59. package/rules/react.md +3 -3
  60. package/rules/ui.md +5 -1
  61. package/scripts/__pycache__/do-rank.cpython-313.pyc +0 -0
  62. package/scripts/browser-check.mjs +63 -0
  63. package/scripts/bun.lock +27 -0
  64. package/scripts/cc-connect.sh +261 -33
  65. package/scripts/cc-events-proof.sh +149 -0
  66. package/scripts/chrome.mjs +381 -0
  67. package/scripts/do-accept.sh +38 -0
  68. package/scripts/do-analyze.sh +109 -4
  69. package/scripts/do-auto.sh +737 -21
  70. package/scripts/do-consumer-sweep.sh +72 -0
  71. package/scripts/do-derives-check.sh +88 -0
  72. package/scripts/do-fleet.sh +386 -0
  73. package/scripts/do-killswitch-audit.py +196 -0
  74. package/scripts/do-learn-loop.sh +51 -0
  75. package/scripts/do-orchestrate.sh +305 -0
  76. package/scripts/do-promise-lint.sh +367 -0
  77. package/scripts/do-promise-settle.sh +335 -0
  78. package/scripts/do-prove.sh +197 -17
  79. package/scripts/do-rank.py +1746 -0
  80. package/scripts/do-recon-cache.sh +58 -8
  81. package/scripts/do-reconcile.sh +49 -4
  82. package/scripts/do-rubric.py +476 -0
  83. package/scripts/do-signal.sh +252 -0
  84. package/scripts/do-smoke.sh +17 -0
  85. package/scripts/do-substrate-check.sh +49 -0
  86. package/scripts/do-tasks-bridge.py +366 -0
  87. package/scripts/do-tasks-wire-check.sh +81 -0
  88. package/scripts/do-tier.sh +105 -7
  89. package/scripts/do-ui-gate.sh +332 -0
  90. package/scripts/do-untracked-gate.sh +231 -0
  91. package/scripts/do-validate-armed.py +93 -0
  92. package/scripts/do-walk.sh +344 -0
  93. package/scripts/factory-check.sh +747 -0
  94. package/scripts/factory-repo.sh +1361 -0
  95. package/scripts/factory-tasks-check.sh +85 -0
  96. package/scripts/fade-toxic.sh +55 -0
  97. package/scripts/hourly-brief.sh +93 -0
  98. package/scripts/node_modules/@anthropic-ai/sdk/.github/logo.svg +3 -0
  99. package/scripts/node_modules/@anthropic-ai/sdk/CHANGELOG.md +2634 -0
  100. package/scripts/node_modules/@anthropic-ai/sdk/LICENSE +8 -0
  101. package/scripts/node_modules/@anthropic-ai/sdk/README.md +45 -0
  102. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +3 -0
  103. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +1 -0
  104. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +3 -0
  105. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +1 -0
  106. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +226 -0
  107. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +1 -0
  108. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +223 -0
  109. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +1 -0
  110. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.d.mts +3 -0
  111. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +1 -0
  112. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.d.ts +3 -0
  113. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +1 -0
  114. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.js +6 -0
  115. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.js.map +1 -0
  116. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.mjs +3 -0
  117. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +1 -0
  118. package/scripts/node_modules/@anthropic-ai/sdk/bin/cli +53 -0
  119. package/scripts/node_modules/@anthropic-ai/sdk/bin/migration-config.json +933 -0
  120. package/scripts/node_modules/@anthropic-ai/sdk/client.d.mts +323 -0
  121. package/scripts/node_modules/@anthropic-ai/sdk/client.d.mts.map +1 -0
  122. package/scripts/node_modules/@anthropic-ai/sdk/client.d.ts +323 -0
  123. package/scripts/node_modules/@anthropic-ai/sdk/client.d.ts.map +1 -0
  124. package/scripts/node_modules/@anthropic-ai/sdk/client.js +823 -0
  125. package/scripts/node_modules/@anthropic-ai/sdk/client.js.map +1 -0
  126. package/scripts/node_modules/@anthropic-ai/sdk/client.mjs +818 -0
  127. package/scripts/node_modules/@anthropic-ai/sdk/client.mjs.map +1 -0
  128. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +49 -0
  129. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +1 -0
  130. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +49 -0
  131. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +1 -0
  132. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.js +76 -0
  133. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +1 -0
  134. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +72 -0
  135. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +1 -0
  136. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.d.mts +131 -0
  137. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.d.mts.map +1 -0
  138. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.d.ts +131 -0
  139. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.d.ts.map +1 -0
  140. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.js +317 -0
  141. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.js.map +1 -0
  142. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.mjs +277 -0
  143. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.mjs.map +1 -0
  144. package/scripts/node_modules/@anthropic-ai/sdk/core/error.d.mts +50 -0
  145. package/scripts/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +1 -0
  146. package/scripts/node_modules/@anthropic-ai/sdk/core/error.d.ts +50 -0
  147. package/scripts/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +1 -0
  148. package/scripts/node_modules/@anthropic-ai/sdk/core/error.js +116 -0
  149. package/scripts/node_modules/@anthropic-ai/sdk/core/error.js.map +1 -0
  150. package/scripts/node_modules/@anthropic-ai/sdk/core/error.mjs +100 -0
  151. package/scripts/node_modules/@anthropic-ai/sdk/core/error.mjs.map +1 -0
  152. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +102 -0
  153. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +1 -0
  154. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +102 -0
  155. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +1 -0
  156. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.js +178 -0
  157. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.js.map +1 -0
  158. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.mjs +170 -0
  159. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +1 -0
  160. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.d.mts +6 -0
  161. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +1 -0
  162. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.d.ts +6 -0
  163. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +1 -0
  164. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.js +11 -0
  165. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.js.map +1 -0
  166. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.mjs +7 -0
  167. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +1 -0
  168. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +33 -0
  169. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +1 -0
  170. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +33 -0
  171. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +1 -0
  172. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.js +327 -0
  173. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.js.map +1 -0
  174. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.mjs +322 -0
  175. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +1 -0
  176. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +3 -0
  177. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +1 -0
  178. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +3 -0
  179. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +1 -0
  180. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.js +6 -0
  181. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.js.map +1 -0
  182. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.mjs +2 -0
  183. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +1 -0
  184. package/scripts/node_modules/@anthropic-ai/sdk/error.d.mts +3 -0
  185. package/scripts/node_modules/@anthropic-ai/sdk/error.d.mts.map +1 -0
  186. package/scripts/node_modules/@anthropic-ai/sdk/error.d.ts +3 -0
  187. package/scripts/node_modules/@anthropic-ai/sdk/error.d.ts.map +1 -0
  188. package/scripts/node_modules/@anthropic-ai/sdk/error.js +6 -0
  189. package/scripts/node_modules/@anthropic-ai/sdk/error.js.map +1 -0
  190. package/scripts/node_modules/@anthropic-ai/sdk/error.mjs +3 -0
  191. package/scripts/node_modules/@anthropic-ai/sdk/error.mjs.map +1 -0
  192. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.mts +22 -0
  193. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.mts.map +1 -0
  194. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.ts +22 -0
  195. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.ts.map +1 -0
  196. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.js +30 -0
  197. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.js.map +1 -0
  198. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.mjs +22 -0
  199. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.mjs.map +1 -0
  200. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.mts +37 -0
  201. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.mts.map +1 -0
  202. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.ts +37 -0
  203. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.ts.map +1 -0
  204. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.js +57 -0
  205. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.js.map +1 -0
  206. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs +53 -0
  207. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs.map +1 -0
  208. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.mts +303 -0
  209. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.mts.map +1 -0
  210. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.ts +303 -0
  211. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.ts.map +1 -0
  212. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js +419 -0
  213. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js.map +1 -0
  214. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs +406 -0
  215. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs.map +1 -0
  216. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.mts +11 -0
  217. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.mts.map +1 -0
  218. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.ts +11 -0
  219. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.ts.map +1 -0
  220. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.js +18 -0
  221. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.js.map +1 -0
  222. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.mjs +15 -0
  223. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.mjs.map +1 -0
  224. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.mts +33 -0
  225. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.mts.map +1 -0
  226. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.ts +33 -0
  227. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.ts.map +1 -0
  228. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.js +58 -0
  229. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.js.map +1 -0
  230. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.mjs +53 -0
  231. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.mjs.map +1 -0
  232. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.d.mts +3 -0
  233. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.d.mts.map +1 -0
  234. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.d.ts +3 -0
  235. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.d.ts.map +1 -0
  236. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.js +8 -0
  237. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.js.map +1 -0
  238. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.mjs +3 -0
  239. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.mjs.map +1 -0
  240. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.mts +18 -0
  241. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.mts.map +1 -0
  242. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.ts +18 -0
  243. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.ts.map +1 -0
  244. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.js +37 -0
  245. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.js.map +1 -0
  246. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.mjs +34 -0
  247. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.mjs.map +1 -0
  248. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.d.mts +13 -0
  249. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.d.mts.map +1 -0
  250. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.d.ts +13 -0
  251. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.d.ts.map +1 -0
  252. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.js +47 -0
  253. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.js.map +1 -0
  254. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.mjs +43 -0
  255. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.mjs.map +1 -0
  256. package/scripts/node_modules/@anthropic-ai/sdk/index.d.mts +8 -0
  257. package/scripts/node_modules/@anthropic-ai/sdk/index.d.mts.map +1 -0
  258. package/scripts/node_modules/@anthropic-ai/sdk/index.d.ts +8 -0
  259. package/scripts/node_modules/@anthropic-ai/sdk/index.d.ts.map +1 -0
  260. package/scripts/node_modules/@anthropic-ai/sdk/index.js +35 -0
  261. package/scripts/node_modules/@anthropic-ai/sdk/index.js.map +1 -0
  262. package/scripts/node_modules/@anthropic-ai/sdk/index.mjs +8 -0
  263. package/scripts/node_modules/@anthropic-ai/sdk/index.mjs.map +1 -0
  264. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +73 -0
  265. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +1 -0
  266. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +73 -0
  267. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +1 -0
  268. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +4 -0
  269. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +1 -0
  270. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +3 -0
  271. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +1 -0
  272. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +5 -0
  273. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +1 -0
  274. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +5 -0
  275. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +1 -0
  276. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.js +18 -0
  277. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.js.map +1 -0
  278. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.mjs +15 -0
  279. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +1 -0
  280. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +10 -0
  281. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +1 -0
  282. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +10 -0
  283. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +1 -0
  284. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +39 -0
  285. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +1 -0
  286. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +35 -0
  287. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +1 -0
  288. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +17 -0
  289. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +1 -0
  290. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +17 -0
  291. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +1 -0
  292. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +113 -0
  293. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +1 -0
  294. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +108 -0
  295. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +1 -0
  296. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +15 -0
  297. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +1 -0
  298. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +15 -0
  299. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +1 -0
  300. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +162 -0
  301. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +1 -0
  302. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +157 -0
  303. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +1 -0
  304. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +3 -0
  305. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +1 -0
  306. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +3 -0
  307. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +1 -0
  308. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.js +41 -0
  309. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.js.map +1 -0
  310. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.mjs +36 -0
  311. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +1 -0
  312. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +22 -0
  313. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +1 -0
  314. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +22 -0
  315. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +1 -0
  316. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.js +79 -0
  317. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.js.map +1 -0
  318. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.mjs +74 -0
  319. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +1 -0
  320. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +17 -0
  321. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +1 -0
  322. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +17 -0
  323. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +1 -0
  324. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.js +60 -0
  325. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.js.map +1 -0
  326. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.mjs +56 -0
  327. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +1 -0
  328. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.mts +7 -0
  329. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.mts.map +1 -0
  330. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.ts +7 -0
  331. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.ts.map +1 -0
  332. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.js +13 -0
  333. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.js.map +1 -0
  334. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs +9 -0
  335. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs.map +1 -0
  336. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.d.mts +10 -0
  337. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.d.mts.map +1 -0
  338. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.d.ts +10 -0
  339. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.d.ts.map +1 -0
  340. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.js +14 -0
  341. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.js.map +1 -0
  342. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.mjs +10 -0
  343. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.mjs.map +1 -0
  344. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.mts +3 -0
  345. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.mts.map +1 -0
  346. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.ts +3 -0
  347. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.ts.map +1 -0
  348. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.js +277 -0
  349. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.js.map +1 -0
  350. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs +274 -0
  351. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs.map +1 -0
  352. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.d.mts +57 -0
  353. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.d.mts.map +1 -0
  354. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.d.ts +57 -0
  355. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.d.ts.map +1 -0
  356. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.js +3 -0
  357. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.js.map +1 -0
  358. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.mjs +2 -0
  359. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.mjs.map +1 -0
  360. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.mts +15 -0
  361. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.mts.map +1 -0
  362. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.ts +15 -0
  363. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.ts.map +1 -0
  364. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.js +230 -0
  365. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.js.map +1 -0
  366. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs +217 -0
  367. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs.map +1 -0
  368. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +77 -0
  369. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +1 -0
  370. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +77 -0
  371. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +1 -0
  372. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.js +14 -0
  373. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +1 -0
  374. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +10 -0
  375. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +1 -0
  376. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +17 -0
  377. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts.map +1 -0
  378. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +17 -0
  379. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts.map +1 -0
  380. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.js +4 -0
  381. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.js.map +1 -0
  382. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs +3 -0
  383. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs.map +1 -0
  384. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +26 -0
  385. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +1 -0
  386. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +26 -0
  387. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +1 -0
  388. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.js +92 -0
  389. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.js.map +1 -0
  390. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.mjs +85 -0
  391. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +1 -0
  392. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +8 -0
  393. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +1 -0
  394. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +8 -0
  395. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +1 -0
  396. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +38 -0
  397. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +1 -0
  398. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +35 -0
  399. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +1 -0
  400. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +45 -0
  401. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +1 -0
  402. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +45 -0
  403. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +1 -0
  404. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.js +96 -0
  405. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +1 -0
  406. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +93 -0
  407. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +1 -0
  408. package/scripts/node_modules/@anthropic-ai/sdk/internal/tslib.js +81 -0
  409. package/scripts/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +17 -0
  410. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.d.mts +69 -0
  411. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +1 -0
  412. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.d.ts +69 -0
  413. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +1 -0
  414. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.js +4 -0
  415. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.js.map +1 -0
  416. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.mjs +3 -0
  417. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +1 -0
  418. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +42 -0
  419. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +1 -0
  420. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +42 -0
  421. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +1 -0
  422. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.js +145 -0
  423. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +1 -0
  424. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +135 -0
  425. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +1 -0
  426. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.mts +13 -0
  427. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.mts.map +1 -0
  428. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.ts +13 -0
  429. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.ts.map +1 -0
  430. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.js +26 -0
  431. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.js.map +1 -0
  432. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs +23 -0
  433. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs.map +1 -0
  434. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.mts +31 -0
  435. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.mts.map +1 -0
  436. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.ts +31 -0
  437. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.ts.map +1 -0
  438. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.js +75 -0
  439. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.js.map +1 -0
  440. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs +71 -0
  441. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs.map +1 -0
  442. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.mts +23 -0
  443. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.mts.map +1 -0
  444. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.ts +23 -0
  445. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.ts.map +1 -0
  446. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.js +44 -0
  447. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.js.map +1 -0
  448. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs +36 -0
  449. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs.map +1 -0
  450. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +3 -0
  451. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +1 -0
  452. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +3 -0
  453. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +1 -0
  454. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +38 -0
  455. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +1 -0
  456. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +33 -0
  457. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +1 -0
  458. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +4 -0
  459. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +1 -0
  460. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +4 -0
  461. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +1 -0
  462. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +31 -0
  463. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +1 -0
  464. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +26 -0
  465. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +1 -0
  466. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +9 -0
  467. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +1 -0
  468. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +9 -0
  469. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +1 -0
  470. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.js +22 -0
  471. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +1 -0
  472. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +18 -0
  473. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +1 -0
  474. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +37 -0
  475. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +1 -0
  476. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +37 -0
  477. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +1 -0
  478. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.js +87 -0
  479. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +1 -0
  480. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +81 -0
  481. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +1 -0
  482. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +15 -0
  483. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +1 -0
  484. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +15 -0
  485. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +1 -0
  486. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.js +79 -0
  487. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +1 -0
  488. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +74 -0
  489. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +1 -0
  490. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.mts +11 -0
  491. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.mts.map +1 -0
  492. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.ts +11 -0
  493. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.ts.map +1 -0
  494. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.js +18 -0
  495. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.js.map +1 -0
  496. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs +15 -0
  497. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs.map +1 -0
  498. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.d.mts +2 -0
  499. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.d.mts.map +1 -0
  500. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.d.ts +2 -0
  501. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.d.ts.map +1 -0
  502. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.js +10 -0
  503. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.js.map +1 -0
  504. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs +6 -0
  505. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs.map +1 -0
  506. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +10 -0
  507. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +1 -0
  508. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +10 -0
  509. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +1 -0
  510. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +28 -0
  511. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +1 -0
  512. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +24 -0
  513. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +1 -0
  514. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.d.mts +3 -0
  515. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.d.mts.map +1 -0
  516. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.d.ts +3 -0
  517. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.d.ts.map +1 -0
  518. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.js +8 -0
  519. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.js.map +1 -0
  520. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs +5 -0
  521. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs.map +1 -0
  522. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +5 -0
  523. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +1 -0
  524. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +5 -0
  525. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +1 -0
  526. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +19 -0
  527. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +1 -0
  528. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +15 -0
  529. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +1 -0
  530. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +19 -0
  531. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +1 -0
  532. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +19 -0
  533. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +1 -0
  534. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.js +119 -0
  535. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +1 -0
  536. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +100 -0
  537. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +1 -0
  538. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +8 -0
  539. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +1 -0
  540. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +8 -0
  541. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +1 -0
  542. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.js +12 -0
  543. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.js.map +1 -0
  544. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.mjs +9 -0
  545. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +1 -0
  546. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +122 -0
  547. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +1 -0
  548. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +122 -0
  549. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +1 -0
  550. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +621 -0
  551. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +1 -0
  552. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +617 -0
  553. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +1 -0
  554. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +121 -0
  555. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +1 -0
  556. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +121 -0
  557. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +1 -0
  558. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +598 -0
  559. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +1 -0
  560. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +594 -0
  561. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +1 -0
  562. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.mts +37 -0
  563. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.mts.map +1 -0
  564. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.ts +37 -0
  565. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.ts.map +1 -0
  566. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.js +79 -0
  567. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.js.map +1 -0
  568. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs +75 -0
  569. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs.map +1 -0
  570. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.mts +39 -0
  571. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.mts.map +1 -0
  572. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.ts +39 -0
  573. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.ts.map +1 -0
  574. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.js +245 -0
  575. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.js.map +1 -0
  576. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs +208 -0
  577. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs.map +1 -0
  578. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.mts +11 -0
  579. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.mts.map +1 -0
  580. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.ts +11 -0
  581. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.ts.map +1 -0
  582. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.js +72 -0
  583. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.js.map +1 -0
  584. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs +35 -0
  585. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs.map +1 -0
  586. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.mts +40 -0
  587. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.mts.map +1 -0
  588. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.ts +40 -0
  589. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.ts.map +1 -0
  590. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.js +82 -0
  591. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.js.map +1 -0
  592. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs +79 -0
  593. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs.map +1 -0
  594. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.mts +54 -0
  595. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.mts.map +1 -0
  596. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.ts +54 -0
  597. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.ts.map +1 -0
  598. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.js +112 -0
  599. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.js.map +1 -0
  600. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs +108 -0
  601. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs.map +1 -0
  602. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.mts +96 -0
  603. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.mts.map +1 -0
  604. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.ts +96 -0
  605. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.ts.map +1 -0
  606. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.js +266 -0
  607. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.js.map +1 -0
  608. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs +224 -0
  609. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs.map +1 -0
  610. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.mts +21 -0
  611. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.mts.map +1 -0
  612. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.ts +21 -0
  613. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.ts.map +1 -0
  614. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.js +130 -0
  615. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.js.map +1 -0
  616. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs +94 -0
  617. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs.map +1 -0
  618. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.d.mts +4 -0
  619. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.d.mts.map +1 -0
  620. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.d.ts +4 -0
  621. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.d.ts.map +1 -0
  622. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.js +8 -0
  623. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.js.map +1 -0
  624. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.mjs +3 -0
  625. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.mjs.map +1 -0
  626. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.d.mts +4 -0
  627. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.d.mts.map +1 -0
  628. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.d.ts +4 -0
  629. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.d.ts.map +1 -0
  630. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.js +18 -0
  631. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.js.map +1 -0
  632. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.mjs +4 -0
  633. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.mjs.map +1 -0
  634. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.mts +89 -0
  635. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.mts.map +1 -0
  636. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.ts +89 -0
  637. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.ts.map +1 -0
  638. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.js +181 -0
  639. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.js.map +1 -0
  640. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs +172 -0
  641. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs.map +1 -0
  642. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.mts +146 -0
  643. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.mts.map +1 -0
  644. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.ts +146 -0
  645. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.ts.map +1 -0
  646. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.js +267 -0
  647. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.js.map +1 -0
  648. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs +263 -0
  649. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs.map +1 -0
  650. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.d.mts +49 -0
  651. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.d.mts.map +1 -0
  652. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.d.ts +49 -0
  653. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.d.ts.map +1 -0
  654. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.js +57 -0
  655. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.js.map +1 -0
  656. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs +54 -0
  657. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs.map +1 -0
  658. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.d.mts +32 -0
  659. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.d.mts.map +1 -0
  660. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.d.ts +32 -0
  661. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.d.ts.map +1 -0
  662. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.js +66 -0
  663. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.js.map +1 -0
  664. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.mjs +62 -0
  665. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.mjs.map +1 -0
  666. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.mts +34 -0
  667. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.mts.map +1 -0
  668. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.ts +34 -0
  669. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.ts.map +1 -0
  670. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.js +70 -0
  671. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.js.map +1 -0
  672. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.mjs +63 -0
  673. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.mjs.map +1 -0
  674. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts +68 -0
  675. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts.map +1 -0
  676. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.ts +68 -0
  677. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.ts.map +1 -0
  678. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.js +40 -0
  679. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.js.map +1 -0
  680. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs +35 -0
  681. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs.map +1 -0
  682. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts +161 -0
  683. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts.map +1 -0
  684. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.ts +161 -0
  685. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.ts.map +1 -0
  686. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js +386 -0
  687. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js.map +1 -0
  688. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs +382 -0
  689. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs.map +1 -0
  690. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.mts +30 -0
  691. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.mts.map +1 -0
  692. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.ts +30 -0
  693. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.ts.map +1 -0
  694. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.js +28 -0
  695. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.js.map +1 -0
  696. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs +25 -0
  697. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs.map +1 -0
  698. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.mts +146 -0
  699. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.mts.map +1 -0
  700. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.ts +146 -0
  701. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.ts.map +1 -0
  702. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.js +471 -0
  703. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.js.map +1 -0
  704. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs +467 -0
  705. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs.map +1 -0
  706. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.mts +33 -0
  707. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.mts.map +1 -0
  708. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.ts +33 -0
  709. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.ts.map +1 -0
  710. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.js +42 -0
  711. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.js.map +1 -0
  712. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs +38 -0
  713. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs.map +1 -0
  714. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.mts +132 -0
  715. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.mts.map +1 -0
  716. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.ts +132 -0
  717. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.ts.map +1 -0
  718. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.js +294 -0
  719. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.js.map +1 -0
  720. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.mjs +290 -0
  721. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.mjs.map +1 -0
  722. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.mts +3 -0
  723. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.mts.map +1 -0
  724. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.ts +3 -0
  725. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.ts.map +1 -0
  726. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.js +114 -0
  727. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.js.map +1 -0
  728. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs +111 -0
  729. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs.map +1 -0
  730. package/scripts/node_modules/@anthropic-ai/sdk/package.json +233 -0
  731. package/scripts/node_modules/@anthropic-ai/sdk/pagination.d.mts +3 -0
  732. package/scripts/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +1 -0
  733. package/scripts/node_modules/@anthropic-ai/sdk/pagination.d.ts +3 -0
  734. package/scripts/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +1 -0
  735. package/scripts/node_modules/@anthropic-ai/sdk/pagination.js +6 -0
  736. package/scripts/node_modules/@anthropic-ai/sdk/pagination.js.map +1 -0
  737. package/scripts/node_modules/@anthropic-ai/sdk/pagination.mjs +3 -0
  738. package/scripts/node_modules/@anthropic-ai/sdk/pagination.mjs.map +1 -0
  739. package/scripts/node_modules/@anthropic-ai/sdk/resource.d.mts +3 -0
  740. package/scripts/node_modules/@anthropic-ai/sdk/resource.d.mts.map +1 -0
  741. package/scripts/node_modules/@anthropic-ai/sdk/resource.d.ts +3 -0
  742. package/scripts/node_modules/@anthropic-ai/sdk/resource.d.ts.map +1 -0
  743. package/scripts/node_modules/@anthropic-ai/sdk/resource.js +6 -0
  744. package/scripts/node_modules/@anthropic-ai/sdk/resource.js.map +1 -0
  745. package/scripts/node_modules/@anthropic-ai/sdk/resource.mjs +3 -0
  746. package/scripts/node_modules/@anthropic-ai/sdk/resource.mjs.map +1 -0
  747. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.mts +775 -0
  748. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.mts.map +1 -0
  749. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.ts +775 -0
  750. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.ts.map +1 -0
  751. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js +131 -0
  752. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js.map +1 -0
  753. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs +126 -0
  754. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs.map +1 -0
  755. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.mts +3 -0
  756. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.mts.map +1 -0
  757. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.ts +3 -0
  758. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.ts.map +1 -0
  759. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.js +9 -0
  760. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.js.map +1 -0
  761. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.mjs +4 -0
  762. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.mjs.map +1 -0
  763. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.mts +33 -0
  764. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.mts.map +1 -0
  765. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.ts +33 -0
  766. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.ts.map +1 -0
  767. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.js +36 -0
  768. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.js.map +1 -0
  769. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs +32 -0
  770. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs.map +1 -0
  771. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.mts +2 -0
  772. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.mts.map +1 -0
  773. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.ts +2 -0
  774. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.ts.map +1 -0
  775. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.js +6 -0
  776. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.js.map +1 -0
  777. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.mjs +3 -0
  778. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.mjs.map +1 -0
  779. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +94 -0
  780. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +1 -0
  781. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +94 -0
  782. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +1 -0
  783. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +57 -0
  784. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +1 -0
  785. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +52 -0
  786. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +1 -0
  787. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.mts +425 -0
  788. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.mts.map +1 -0
  789. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.ts +425 -0
  790. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.ts.map +1 -0
  791. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js +150 -0
  792. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js.map +1 -0
  793. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs +145 -0
  794. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs.map +1 -0
  795. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.mts +3 -0
  796. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.mts.map +1 -0
  797. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.ts +3 -0
  798. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.ts.map +1 -0
  799. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.js +9 -0
  800. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.js.map +1 -0
  801. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.mjs +4 -0
  802. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.mjs.map +1 -0
  803. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.mts +496 -0
  804. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.mts.map +1 -0
  805. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.ts +496 -0
  806. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.ts.map +1 -0
  807. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js +274 -0
  808. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js.map +1 -0
  809. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs +268 -0
  810. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs.map +1 -0
  811. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.mts +2 -0
  812. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.mts.map +1 -0
  813. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.ts +2 -0
  814. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.ts.map +1 -0
  815. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.js +6 -0
  816. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.js.map +1 -0
  817. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.mjs +3 -0
  818. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.mjs.map +1 -0
  819. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +171 -0
  820. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +1 -0
  821. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +171 -0
  822. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +1 -0
  823. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.js +124 -0
  824. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +1 -0
  825. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +120 -0
  826. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +1 -0
  827. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +13 -0
  828. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +1 -0
  829. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +13 -0
  830. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +1 -0
  831. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.js +29 -0
  832. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +1 -0
  833. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +14 -0
  834. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +1 -0
  835. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.mts +4 -0
  836. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.mts.map +1 -0
  837. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.ts +4 -0
  838. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.ts.map +1 -0
  839. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.js +11 -0
  840. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.js.map +1 -0
  841. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.mjs +5 -0
  842. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.mjs.map +1 -0
  843. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.mts +347 -0
  844. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.mts.map +1 -0
  845. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.ts +347 -0
  846. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.ts.map +1 -0
  847. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js +130 -0
  848. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js.map +1 -0
  849. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs +126 -0
  850. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs.map +1 -0
  851. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.mts +231 -0
  852. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.mts.map +1 -0
  853. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.ts +231 -0
  854. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.ts.map +1 -0
  855. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js +145 -0
  856. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js.map +1 -0
  857. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs +140 -0
  858. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs.map +1 -0
  859. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.mts +235 -0
  860. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.mts.map +1 -0
  861. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.ts +235 -0
  862. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.ts.map +1 -0
  863. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js +81 -0
  864. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js.map +1 -0
  865. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs +77 -0
  866. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs.map +1 -0
  867. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.mts +2 -0
  868. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.mts.map +1 -0
  869. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.ts +2 -0
  870. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.ts.map +1 -0
  871. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.js +6 -0
  872. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.js.map +1 -0
  873. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.mjs +3 -0
  874. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.mjs.map +1 -0
  875. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +645 -0
  876. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +1 -0
  877. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +645 -0
  878. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +1 -0
  879. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +204 -0
  880. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +1 -0
  881. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +200 -0
  882. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +1 -0
  883. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +4 -0
  884. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +1 -0
  885. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +4 -0
  886. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +1 -0
  887. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +12 -0
  888. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +1 -0
  889. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +5 -0
  890. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +1 -0
  891. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +3380 -0
  892. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +1 -0
  893. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +3380 -0
  894. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +1 -0
  895. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +163 -0
  896. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +1 -0
  897. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +156 -0
  898. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +1 -0
  899. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +2 -0
  900. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +1 -0
  901. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +2 -0
  902. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +1 -0
  903. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +6 -0
  904. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +1 -0
  905. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +3 -0
  906. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +1 -0
  907. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +212 -0
  908. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +1 -0
  909. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +212 -0
  910. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +1 -0
  911. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.js +60 -0
  912. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +1 -0
  913. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +56 -0
  914. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +1 -0
  915. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.mts +1409 -0
  916. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.mts.map +1 -0
  917. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.ts +1409 -0
  918. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.ts.map +1 -0
  919. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js +119 -0
  920. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js.map +1 -0
  921. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs +114 -0
  922. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs.map +1 -0
  923. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.mts +5 -0
  924. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.mts.map +1 -0
  925. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.ts +5 -0
  926. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.ts.map +1 -0
  927. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.js +13 -0
  928. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.js.map +1 -0
  929. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.mjs +6 -0
  930. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.mjs.map +1 -0
  931. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.mts +228 -0
  932. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.mts.map +1 -0
  933. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.ts +228 -0
  934. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.ts.map +1 -0
  935. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.js +132 -0
  936. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.js.map +1 -0
  937. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs +128 -0
  938. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs.map +1 -0
  939. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.mts +613 -0
  940. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.mts.map +1 -0
  941. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.ts +613 -0
  942. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.ts.map +1 -0
  943. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js +158 -0
  944. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js.map +1 -0
  945. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs +153 -0
  946. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs.map +1 -0
  947. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.mts +64 -0
  948. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.mts.map +1 -0
  949. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.ts +64 -0
  950. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.ts.map +1 -0
  951. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js +60 -0
  952. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js.map +1 -0
  953. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs +56 -0
  954. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs.map +1 -0
  955. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.mts +3 -0
  956. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.mts.map +1 -0
  957. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.ts +3 -0
  958. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.ts.map +1 -0
  959. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.js +9 -0
  960. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.js.map +1 -0
  961. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.mjs +4 -0
  962. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.mjs.map +1 -0
  963. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.mts +183 -0
  964. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.mts.map +1 -0
  965. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.ts +183 -0
  966. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.ts.map +1 -0
  967. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js +88 -0
  968. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js.map +1 -0
  969. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs +83 -0
  970. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs.map +1 -0
  971. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.mts +2 -0
  972. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.mts.map +1 -0
  973. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.ts +2 -0
  974. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.ts.map +1 -0
  975. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.js +6 -0
  976. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.js.map +1 -0
  977. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.mjs +3 -0
  978. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.mjs.map +1 -0
  979. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.mts +2 -0
  980. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.mts.map +1 -0
  981. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.ts +2 -0
  982. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.ts.map +1 -0
  983. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.js +6 -0
  984. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.js.map +1 -0
  985. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.mjs +3 -0
  986. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.mjs.map +1 -0
  987. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts +3 -0
  988. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts.map +1 -0
  989. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.ts +3 -0
  990. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.ts.map +1 -0
  991. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js +9 -0
  992. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js.map +1 -0
  993. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs +4 -0
  994. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs.map +1 -0
  995. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts +249 -0
  996. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts.map +1 -0
  997. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.ts +249 -0
  998. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.ts.map +1 -0
  999. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js +98 -0
  1000. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js.map +1 -0
  1001. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs +93 -0
  1002. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs.map +1 -0
  1003. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts +284 -0
  1004. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts.map +1 -0
  1005. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.ts +284 -0
  1006. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.ts.map +1 -0
  1007. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js +128 -0
  1008. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js.map +1 -0
  1009. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs +124 -0
  1010. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs.map +1 -0
  1011. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.mts +2 -0
  1012. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.mts.map +1 -0
  1013. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.ts +2 -0
  1014. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.ts.map +1 -0
  1015. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.js +6 -0
  1016. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.js.map +1 -0
  1017. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs +3 -0
  1018. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs.map +1 -0
  1019. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.mts +223 -0
  1020. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.mts.map +1 -0
  1021. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.ts +223 -0
  1022. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.ts.map +1 -0
  1023. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.js +118 -0
  1024. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.js.map +1 -0
  1025. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs +114 -0
  1026. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs.map +1 -0
  1027. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.mts +572 -0
  1028. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.mts.map +1 -0
  1029. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.ts +572 -0
  1030. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.ts.map +1 -0
  1031. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js +177 -0
  1032. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js.map +1 -0
  1033. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs +173 -0
  1034. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs.map +1 -0
  1035. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.mts +3 -0
  1036. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.mts.map +1 -0
  1037. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.ts +3 -0
  1038. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.ts.map +1 -0
  1039. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.js +9 -0
  1040. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.js.map +1 -0
  1041. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.mjs +4 -0
  1042. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.mjs.map +1 -0
  1043. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.mts +192 -0
  1044. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.mts.map +1 -0
  1045. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.ts +192 -0
  1046. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.ts.map +1 -0
  1047. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js +149 -0
  1048. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js.map +1 -0
  1049. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs +144 -0
  1050. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs.map +1 -0
  1051. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.mts +2 -0
  1052. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.mts.map +1 -0
  1053. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.ts +2 -0
  1054. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.ts.map +1 -0
  1055. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.js +6 -0
  1056. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.js.map +1 -0
  1057. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.mjs +3 -0
  1058. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.mjs.map +1 -0
  1059. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.mts +256 -0
  1060. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.mts.map +1 -0
  1061. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.ts +256 -0
  1062. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.ts.map +1 -0
  1063. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.js +20 -0
  1064. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.js.map +1 -0
  1065. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs +16 -0
  1066. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs.map +1 -0
  1067. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +2 -0
  1068. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +1 -0
  1069. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +2 -0
  1070. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +1 -0
  1071. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.js +6 -0
  1072. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.js.map +1 -0
  1073. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.mjs +3 -0
  1074. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +1 -0
  1075. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +168 -0
  1076. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +1 -0
  1077. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +168 -0
  1078. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +1 -0
  1079. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.js +23 -0
  1080. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.js.map +1 -0
  1081. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.mjs +19 -0
  1082. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +1 -0
  1083. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.d.mts +6 -0
  1084. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +1 -0
  1085. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.d.ts +6 -0
  1086. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +1 -0
  1087. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.js +15 -0
  1088. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.js.map +1 -0
  1089. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.mjs +7 -0
  1090. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +1 -0
  1091. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +304 -0
  1092. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +1 -0
  1093. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +304 -0
  1094. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +1 -0
  1095. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +153 -0
  1096. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +1 -0
  1097. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +149 -0
  1098. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +1 -0
  1099. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +3 -0
  1100. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +1 -0
  1101. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +3 -0
  1102. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +1 -0
  1103. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.js +9 -0
  1104. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +1 -0
  1105. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +4 -0
  1106. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +1 -0
  1107. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +2414 -0
  1108. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +1 -0
  1109. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +2414 -0
  1110. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +1 -0
  1111. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +132 -0
  1112. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +1 -0
  1113. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +127 -0
  1114. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +1 -0
  1115. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +2 -0
  1116. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +1 -0
  1117. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +2 -0
  1118. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +1 -0
  1119. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.js +6 -0
  1120. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.js.map +1 -0
  1121. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.mjs +3 -0
  1122. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +1 -0
  1123. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.d.mts +197 -0
  1124. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +1 -0
  1125. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.d.ts +197 -0
  1126. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +1 -0
  1127. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.js +45 -0
  1128. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.js.map +1 -0
  1129. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.mjs +41 -0
  1130. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +1 -0
  1131. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +44 -0
  1132. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +1 -0
  1133. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +44 -0
  1134. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +1 -0
  1135. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.js +4 -0
  1136. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.js.map +1 -0
  1137. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.mjs +3 -0
  1138. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +1 -0
  1139. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +2 -0
  1140. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +1 -0
  1141. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +2 -0
  1142. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +1 -0
  1143. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.js +4 -0
  1144. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +1 -0
  1145. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +3 -0
  1146. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +1 -0
  1147. package/scripts/node_modules/@anthropic-ai/sdk/resources.d.mts +2 -0
  1148. package/scripts/node_modules/@anthropic-ai/sdk/resources.d.mts.map +1 -0
  1149. package/scripts/node_modules/@anthropic-ai/sdk/resources.d.ts +2 -0
  1150. package/scripts/node_modules/@anthropic-ai/sdk/resources.d.ts.map +1 -0
  1151. package/scripts/node_modules/@anthropic-ai/sdk/resources.js +5 -0
  1152. package/scripts/node_modules/@anthropic-ai/sdk/resources.js.map +1 -0
  1153. package/scripts/node_modules/@anthropic-ai/sdk/resources.mjs +2 -0
  1154. package/scripts/node_modules/@anthropic-ai/sdk/resources.mjs.map +1 -0
  1155. package/scripts/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +3 -0
  1156. package/scripts/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +264 -0
  1157. package/scripts/node_modules/@anthropic-ai/sdk/src/api-promise.ts +2 -0
  1158. package/scripts/node_modules/@anthropic-ai/sdk/src/client.ts +1678 -0
  1159. package/scripts/node_modules/@anthropic-ai/sdk/src/core/README.md +3 -0
  1160. package/scripts/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +101 -0
  1161. package/scripts/node_modules/@anthropic-ai/sdk/src/core/credentials.ts +379 -0
  1162. package/scripts/node_modules/@anthropic-ai/sdk/src/core/error.ts +145 -0
  1163. package/scripts/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +318 -0
  1164. package/scripts/node_modules/@anthropic-ai/sdk/src/core/resource.ts +11 -0
  1165. package/scripts/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +385 -0
  1166. package/scripts/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +2 -0
  1167. package/scripts/node_modules/@anthropic-ai/sdk/src/error.ts +2 -0
  1168. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/environments.ts +33 -0
  1169. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/json-schema.ts +85 -0
  1170. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/mcp.ts +624 -0
  1171. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/memory.ts +28 -0
  1172. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/zod.ts +81 -0
  1173. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/index.ts +2 -0
  1174. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/json-schema.ts +48 -0
  1175. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/zod.ts +57 -0
  1176. package/scripts/node_modules/@anthropic-ai/sdk/src/index.ts +31 -0
  1177. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/README.md +3 -0
  1178. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +93 -0
  1179. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +15 -0
  1180. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +48 -0
  1181. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +135 -0
  1182. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +196 -0
  1183. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +33 -0
  1184. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +99 -0
  1185. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +90 -0
  1186. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/LICENSE.md +13 -0
  1187. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/README.md +3 -0
  1188. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/formats.ts +10 -0
  1189. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/index.ts +13 -0
  1190. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/stringify.ts +385 -0
  1191. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/types.ts +71 -0
  1192. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/utils.ts +265 -0
  1193. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +93 -0
  1194. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/shim-types.ts +26 -0
  1195. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +107 -0
  1196. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +32 -0
  1197. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +159 -0
  1198. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/types.ts +93 -0
  1199. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +204 -0
  1200. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/abort.ts +21 -0
  1201. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/async-queue.ts +66 -0
  1202. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/backoff.ts +41 -0
  1203. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +40 -0
  1204. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +32 -0
  1205. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +18 -0
  1206. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +128 -0
  1207. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +88 -0
  1208. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/promise.ts +18 -0
  1209. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/query.ts +7 -0
  1210. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +26 -0
  1211. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/time.ts +4 -0
  1212. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +17 -0
  1213. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +112 -0
  1214. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +9 -0
  1215. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/.keep +4 -0
  1216. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +765 -0
  1217. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +746 -0
  1218. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/beta-parser.ts +148 -0
  1219. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/credential-chain.ts +292 -0
  1220. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/identity-token.ts +37 -0
  1221. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/oidc-federation.ts +140 -0
  1222. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/token-cache.ts +130 -0
  1223. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/types.ts +295 -0
  1224. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/user-oauth.ts +144 -0
  1225. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials.ts +3 -0
  1226. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/environments/index.ts +23 -0
  1227. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/environments/poller.ts +253 -0
  1228. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/environments/worker.ts +400 -0
  1229. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/helper-client.ts +89 -0
  1230. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/parser.ts +125 -0
  1231. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/stainless-helper-header.ts +80 -0
  1232. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaRunnableTool.ts +130 -0
  1233. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaToolRunner.ts +524 -0
  1234. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/CompactionControl.ts +57 -0
  1235. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/SessionToolRunner.ts +610 -0
  1236. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/ToolError.ts +47 -0
  1237. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/ToolRunner.ts +381 -0
  1238. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/transform-json-schema.ts +124 -0
  1239. package/scripts/node_modules/@anthropic-ai/sdk/src/pagination.ts +2 -0
  1240. package/scripts/node_modules/@anthropic-ai/sdk/src/resource.ts +2 -0
  1241. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/agents.ts +1063 -0
  1242. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/index.ts +51 -0
  1243. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/versions.ts +58 -0
  1244. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/agents.ts +3 -0
  1245. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +1006 -0
  1246. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/environments.ts +625 -0
  1247. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/index.ts +42 -0
  1248. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/work.ts +697 -0
  1249. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/environments.ts +3 -0
  1250. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +286 -0
  1251. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +445 -0
  1252. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/index.ts +47 -0
  1253. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memories.ts +514 -0
  1254. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-stores.ts +418 -0
  1255. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-versions.ts +342 -0
  1256. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores.ts +3 -0
  1257. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +828 -0
  1258. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +251 -0
  1259. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +4881 -0
  1260. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +3 -0
  1261. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +289 -0
  1262. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/events.ts +1958 -0
  1263. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/index.ts +139 -0
  1264. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/resources.ts +370 -0
  1265. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/sessions.ts +1066 -0
  1266. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/events.ts +107 -0
  1267. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/index.ts +15 -0
  1268. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/threads.ts +311 -0
  1269. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads.ts +3 -0
  1270. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions.ts +3 -0
  1271. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/index.ts +27 -0
  1272. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/skills.ts +386 -0
  1273. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/versions.ts +419 -0
  1274. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/skills.ts +3 -0
  1275. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/user-profiles.ts +325 -0
  1276. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/credentials.ts +813 -0
  1277. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/index.ts +49 -0
  1278. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/vaults.ts +375 -0
  1279. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults.ts +3 -0
  1280. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/webhooks.ts +417 -0
  1281. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +3 -0
  1282. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +216 -0
  1283. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/index.ts +208 -0
  1284. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +396 -0
  1285. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +191 -0
  1286. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +3506 -0
  1287. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +3 -0
  1288. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/models.ts +274 -0
  1289. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +85 -0
  1290. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +3 -0
  1291. package/scripts/node_modules/@anthropic-ai/sdk/src/resources.ts +1 -0
  1292. package/scripts/node_modules/@anthropic-ai/sdk/src/streaming.ts +2 -0
  1293. package/scripts/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/fs-util.ts +154 -0
  1294. package/scripts/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/node.ts +800 -0
  1295. package/scripts/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/skills.ts +256 -0
  1296. package/scripts/node_modules/@anthropic-ai/sdk/src/tools/memory/node.ts +400 -0
  1297. package/scripts/node_modules/@anthropic-ai/sdk/src/tsconfig.json +11 -0
  1298. package/scripts/node_modules/@anthropic-ai/sdk/src/uploads.ts +2 -0
  1299. package/scripts/node_modules/@anthropic-ai/sdk/src/version.ts +1 -0
  1300. package/scripts/node_modules/@anthropic-ai/sdk/streaming.d.mts +3 -0
  1301. package/scripts/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +1 -0
  1302. package/scripts/node_modules/@anthropic-ai/sdk/streaming.d.ts +3 -0
  1303. package/scripts/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +1 -0
  1304. package/scripts/node_modules/@anthropic-ai/sdk/streaming.js +6 -0
  1305. package/scripts/node_modules/@anthropic-ai/sdk/streaming.js.map +1 -0
  1306. package/scripts/node_modules/@anthropic-ai/sdk/streaming.mjs +3 -0
  1307. package/scripts/node_modules/@anthropic-ai/sdk/streaming.mjs.map +1 -0
  1308. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.mts +49 -0
  1309. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.mts.map +1 -0
  1310. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.ts +49 -0
  1311. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.ts.map +1 -0
  1312. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js +159 -0
  1313. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js.map +1 -0
  1314. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs +151 -0
  1315. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs.map +1 -0
  1316. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.mts +148 -0
  1317. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.mts.map +1 -0
  1318. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.ts +148 -0
  1319. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.ts.map +1 -0
  1320. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.js +749 -0
  1321. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.js.map +1 -0
  1322. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs +734 -0
  1323. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs.map +1 -0
  1324. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.mts +50 -0
  1325. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.mts.map +1 -0
  1326. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.ts +50 -0
  1327. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.ts.map +1 -0
  1328. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.js +249 -0
  1329. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.js.map +1 -0
  1330. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.mjs +243 -0
  1331. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.mjs.map +1 -0
  1332. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.d.mts +18 -0
  1333. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.d.mts.map +1 -0
  1334. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.d.ts +18 -0
  1335. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.d.ts.map +1 -0
  1336. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.js +331 -0
  1337. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.js.map +1 -0
  1338. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.mjs +325 -0
  1339. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.mjs.map +1 -0
  1340. package/scripts/node_modules/@anthropic-ai/sdk/uploads.d.mts +3 -0
  1341. package/scripts/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +1 -0
  1342. package/scripts/node_modules/@anthropic-ai/sdk/uploads.d.ts +3 -0
  1343. package/scripts/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +1 -0
  1344. package/scripts/node_modules/@anthropic-ai/sdk/uploads.js +6 -0
  1345. package/scripts/node_modules/@anthropic-ai/sdk/uploads.js.map +1 -0
  1346. package/scripts/node_modules/@anthropic-ai/sdk/uploads.mjs +3 -0
  1347. package/scripts/node_modules/@anthropic-ai/sdk/uploads.mjs.map +1 -0
  1348. package/scripts/node_modules/@anthropic-ai/sdk/version.d.mts +2 -0
  1349. package/scripts/node_modules/@anthropic-ai/sdk/version.d.mts.map +1 -0
  1350. package/scripts/node_modules/@anthropic-ai/sdk/version.d.ts +2 -0
  1351. package/scripts/node_modules/@anthropic-ai/sdk/version.d.ts.map +1 -0
  1352. package/scripts/node_modules/@anthropic-ai/sdk/version.js +5 -0
  1353. package/scripts/node_modules/@anthropic-ai/sdk/version.js.map +1 -0
  1354. package/scripts/node_modules/@anthropic-ai/sdk/version.mjs +2 -0
  1355. package/scripts/node_modules/@anthropic-ai/sdk/version.mjs.map +1 -0
  1356. package/scripts/node_modules/@babel/runtime/LICENSE +22 -0
  1357. package/scripts/node_modules/@babel/runtime/README.md +19 -0
  1358. package/scripts/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
  1359. package/scripts/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
  1360. package/scripts/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
  1361. package/scripts/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
  1362. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
  1363. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
  1364. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
  1365. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
  1366. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
  1367. package/scripts/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
  1368. package/scripts/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
  1369. package/scripts/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
  1370. package/scripts/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
  1371. package/scripts/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
  1372. package/scripts/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
  1373. package/scripts/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
  1374. package/scripts/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
  1375. package/scripts/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
  1376. package/scripts/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
  1377. package/scripts/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
  1378. package/scripts/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
  1379. package/scripts/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
  1380. package/scripts/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
  1381. package/scripts/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
  1382. package/scripts/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
  1383. package/scripts/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
  1384. package/scripts/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  1385. package/scripts/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
  1386. package/scripts/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
  1387. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
  1388. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
  1389. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
  1390. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
  1391. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
  1392. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
  1393. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
  1394. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
  1395. package/scripts/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
  1396. package/scripts/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
  1397. package/scripts/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
  1398. package/scripts/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
  1399. package/scripts/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
  1400. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  1401. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  1402. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  1403. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
  1404. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
  1405. package/scripts/node_modules/@babel/runtime/helpers/construct.js +10 -0
  1406. package/scripts/node_modules/@babel/runtime/helpers/createClass.js +13 -0
  1407. package/scripts/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
  1408. package/scripts/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
  1409. package/scripts/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
  1410. package/scripts/node_modules/@babel/runtime/helpers/decorate.js +250 -0
  1411. package/scripts/node_modules/@babel/runtime/helpers/defaults.js +9 -0
  1412. package/scripts/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
  1413. package/scripts/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
  1414. package/scripts/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
  1415. package/scripts/node_modules/@babel/runtime/helpers/dispose.js +28 -0
  1416. package/scripts/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
  1417. package/scripts/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
  1418. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
  1419. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
  1420. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
  1421. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
  1422. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
  1423. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
  1424. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
  1425. package/scripts/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
  1426. package/scripts/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
  1427. package/scripts/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
  1428. package/scripts/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
  1429. package/scripts/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
  1430. package/scripts/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
  1431. package/scripts/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
  1432. package/scripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
  1433. package/scripts/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
  1434. package/scripts/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
  1435. package/scripts/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
  1436. package/scripts/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
  1437. package/scripts/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  1438. package/scripts/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
  1439. package/scripts/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
  1440. package/scripts/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
  1441. package/scripts/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  1442. package/scripts/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  1443. package/scripts/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
  1444. package/scripts/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
  1445. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  1446. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
  1447. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
  1448. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  1449. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  1450. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  1451. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  1452. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
  1453. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
  1454. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
  1455. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  1456. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
  1457. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
  1458. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  1459. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  1460. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  1461. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  1462. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  1463. package/scripts/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
  1464. package/scripts/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
  1465. package/scripts/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
  1466. package/scripts/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  1467. package/scripts/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
  1468. package/scripts/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
  1469. package/scripts/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
  1470. package/scripts/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
  1471. package/scripts/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
  1472. package/scripts/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
  1473. package/scripts/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
  1474. package/scripts/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
  1475. package/scripts/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
  1476. package/scripts/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  1477. package/scripts/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
  1478. package/scripts/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
  1479. package/scripts/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
  1480. package/scripts/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
  1481. package/scripts/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  1482. package/scripts/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
  1483. package/scripts/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
  1484. package/scripts/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
  1485. package/scripts/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
  1486. package/scripts/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
  1487. package/scripts/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
  1488. package/scripts/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
  1489. package/scripts/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
  1490. package/scripts/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
  1491. package/scripts/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  1492. package/scripts/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
  1493. package/scripts/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
  1494. package/scripts/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
  1495. package/scripts/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
  1496. package/scripts/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
  1497. package/scripts/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
  1498. package/scripts/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
  1499. package/scripts/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  1500. package/scripts/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  1501. package/scripts/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  1502. package/scripts/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
  1503. package/scripts/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
  1504. package/scripts/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
  1505. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
  1506. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
  1507. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
  1508. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
  1509. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
  1510. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
  1511. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
  1512. package/scripts/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
  1513. package/scripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
  1514. package/scripts/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
  1515. package/scripts/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  1516. package/scripts/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
  1517. package/scripts/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
  1518. package/scripts/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
  1519. package/scripts/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
  1520. package/scripts/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
  1521. package/scripts/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  1522. package/scripts/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
  1523. package/scripts/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
  1524. package/scripts/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
  1525. package/scripts/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
  1526. package/scripts/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
  1527. package/scripts/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
  1528. package/scripts/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
  1529. package/scripts/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
  1530. package/scripts/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  1531. package/scripts/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
  1532. package/scripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  1533. package/scripts/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
  1534. package/scripts/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
  1535. package/scripts/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +56 -0
  1536. package/scripts/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
  1537. package/scripts/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
  1538. package/scripts/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
  1539. package/scripts/node_modules/@babel/runtime/helpers/extends.js +10 -0
  1540. package/scripts/node_modules/@babel/runtime/helpers/get.js +11 -0
  1541. package/scripts/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
  1542. package/scripts/node_modules/@babel/runtime/helpers/identity.js +4 -0
  1543. package/scripts/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
  1544. package/scripts/node_modules/@babel/runtime/helpers/inherits.js +14 -0
  1545. package/scripts/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
  1546. package/scripts/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
  1547. package/scripts/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
  1548. package/scripts/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
  1549. package/scripts/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
  1550. package/scripts/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
  1551. package/scripts/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
  1552. package/scripts/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
  1553. package/scripts/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
  1554. package/scripts/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
  1555. package/scripts/node_modules/@babel/runtime/helpers/jsx.js +22 -0
  1556. package/scripts/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
  1557. package/scripts/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
  1558. package/scripts/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
  1559. package/scripts/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
  1560. package/scripts/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
  1561. package/scripts/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
  1562. package/scripts/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
  1563. package/scripts/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
  1564. package/scripts/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
  1565. package/scripts/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
  1566. package/scripts/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
  1567. package/scripts/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
  1568. package/scripts/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
  1569. package/scripts/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
  1570. package/scripts/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
  1571. package/scripts/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
  1572. package/scripts/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
  1573. package/scripts/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
  1574. package/scripts/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
  1575. package/scripts/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
  1576. package/scripts/node_modules/@babel/runtime/helpers/set.js +22 -0
  1577. package/scripts/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
  1578. package/scripts/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
  1579. package/scripts/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
  1580. package/scripts/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
  1581. package/scripts/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
  1582. package/scripts/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
  1583. package/scripts/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
  1584. package/scripts/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
  1585. package/scripts/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
  1586. package/scripts/node_modules/@babel/runtime/helpers/tdz.js +4 -0
  1587. package/scripts/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
  1588. package/scripts/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
  1589. package/scripts/node_modules/@babel/runtime/helpers/toArray.js +8 -0
  1590. package/scripts/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
  1591. package/scripts/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
  1592. package/scripts/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
  1593. package/scripts/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
  1594. package/scripts/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  1595. package/scripts/node_modules/@babel/runtime/helpers/typeof.js +10 -0
  1596. package/scripts/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
  1597. package/scripts/node_modules/@babel/runtime/helpers/using.js +12 -0
  1598. package/scripts/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
  1599. package/scripts/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +56 -0
  1600. package/scripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
  1601. package/scripts/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
  1602. package/scripts/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
  1603. package/scripts/node_modules/@babel/runtime/package.json +1107 -0
  1604. package/scripts/node_modules/@babel/runtime/regenerator/index.js +15 -0
  1605. package/scripts/node_modules/@stablelib/base64/LICENSE +21 -0
  1606. package/scripts/node_modules/@stablelib/base64/base64.bench.ts +25 -0
  1607. package/scripts/node_modules/@stablelib/base64/base64.test.ts +85 -0
  1608. package/scripts/node_modules/@stablelib/base64/base64.ts +283 -0
  1609. package/scripts/node_modules/@stablelib/base64/lib/base64.bench.d.ts +1 -0
  1610. package/scripts/node_modules/@stablelib/base64/lib/base64.bench.js +23 -0
  1611. package/scripts/node_modules/@stablelib/base64/lib/base64.bench.js.map +1 -0
  1612. package/scripts/node_modules/@stablelib/base64/lib/base64.d.ts +34 -0
  1613. package/scripts/node_modules/@stablelib/base64/lib/base64.js +282 -0
  1614. package/scripts/node_modules/@stablelib/base64/lib/base64.js.map +1 -0
  1615. package/scripts/node_modules/@stablelib/base64/lib/base64.test.d.ts +1 -0
  1616. package/scripts/node_modules/@stablelib/base64/lib/base64.test.js +82 -0
  1617. package/scripts/node_modules/@stablelib/base64/lib/base64.test.js.map +1 -0
  1618. package/scripts/node_modules/@stablelib/base64/package.json +25 -0
  1619. package/scripts/node_modules/@stablelib/base64/tsconfig.json +27 -0
  1620. package/scripts/node_modules/fast-sha256/LICENSE +24 -0
  1621. package/scripts/node_modules/fast-sha256/README.md +127 -0
  1622. package/scripts/node_modules/fast-sha256/package.json +42 -0
  1623. package/scripts/node_modules/fast-sha256/sha256.d.ts +39 -0
  1624. package/scripts/node_modules/fast-sha256/sha256.js +427 -0
  1625. package/scripts/node_modules/fast-sha256/sha256.min.js +1 -0
  1626. package/scripts/node_modules/json-schema-to-ts/LICENSE +21 -0
  1627. package/scripts/node_modules/json-schema-to-ts/README.md +1046 -0
  1628. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/deserializationPattern.js +6 -0
  1629. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/deserializationPattern.js.map +1 -0
  1630. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/extendedJsonSchema.js +6 -0
  1631. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/extendedJsonSchema.js.map +1 -0
  1632. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/fromSchemaOptions.js +6 -0
  1633. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/fromSchemaOptions.js.map +1 -0
  1634. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/index.js +6 -0
  1635. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/index.js.map +1 -0
  1636. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/jsonSchema.js +25 -0
  1637. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/jsonSchema.js.map +1 -0
  1638. package/scripts/node_modules/json-schema-to-ts/lib/cjs/index.js +26 -0
  1639. package/scripts/node_modules/json-schema-to-ts/lib/cjs/index.js.map +1 -0
  1640. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-options.js +6 -0
  1641. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-options.js.map +1 -0
  1642. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/allOf.js +6 -0
  1643. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/allOf.js.map +1 -0
  1644. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/anyOf.js +6 -0
  1645. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/anyOf.js.map +1 -0
  1646. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/array.js +6 -0
  1647. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/array.js.map +1 -0
  1648. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/const.js +6 -0
  1649. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/const.js.map +1 -0
  1650. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/deserialize.js +6 -0
  1651. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/deserialize.js.map +1 -0
  1652. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/enum.js +6 -0
  1653. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/enum.js.map +1 -0
  1654. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/ifThenElse.js +6 -0
  1655. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/ifThenElse.js.map +1 -0
  1656. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/index.js +6 -0
  1657. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/index.js.map +1 -0
  1658. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/multipleTypes.js +6 -0
  1659. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/multipleTypes.js.map +1 -0
  1660. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/not.js +6 -0
  1661. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/not.js.map +1 -0
  1662. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/nullable.js +6 -0
  1663. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/nullable.js.map +1 -0
  1664. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/object.js +6 -0
  1665. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/object.js.map +1 -0
  1666. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/oneOf.js +6 -0
  1667. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/oneOf.js.map +1 -0
  1668. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/external.js +6 -0
  1669. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/external.js.map +1 -0
  1670. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/index.js +6 -0
  1671. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/index.js.map +1 -0
  1672. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/internal.js +6 -0
  1673. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/internal.js.map +1 -0
  1674. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/utils.js +6 -0
  1675. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/utils.js.map +1 -0
  1676. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/singleType.js +6 -0
  1677. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/singleType.js.map +1 -0
  1678. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/utils.js +6 -0
  1679. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/utils.js.map +1 -0
  1680. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/and.js +6 -0
  1681. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/and.js.map +1 -0
  1682. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/extends.js +6 -0
  1683. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/extends.js.map +1 -0
  1684. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/get.js +6 -0
  1685. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/get.js.map +1 -0
  1686. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/if.js +6 -0
  1687. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/if.js.map +1 -0
  1688. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/index.js +6 -0
  1689. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/index.js.map +1 -0
  1690. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/join.js +6 -0
  1691. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/join.js.map +1 -0
  1692. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/key.js +6 -0
  1693. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/key.js.map +1 -0
  1694. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/narrow.js +6 -0
  1695. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/narrow.js.map +1 -0
  1696. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/not.js +6 -0
  1697. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/not.js.map +1 -0
  1698. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/pop.js +6 -0
  1699. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/pop.js.map +1 -0
  1700. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/split.js +6 -0
  1701. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/split.js.map +1 -0
  1702. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/tail.js +6 -0
  1703. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/tail.js.map +1 -0
  1704. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/writable.js +6 -0
  1705. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/writable.js.map +1 -0
  1706. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/asConst.js +26 -0
  1707. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/asConst.js.map +1 -0
  1708. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/index.js +28 -0
  1709. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/index.js.map +1 -0
  1710. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/compiler.js +52 -0
  1711. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/compiler.js.map +1 -0
  1712. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/index.js +22 -0
  1713. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/index.js.map +1 -0
  1714. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/validator.js +46 -0
  1715. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/validator.js.map +1 -0
  1716. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/deserializationPattern.js +2 -0
  1717. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/deserializationPattern.js.map +1 -0
  1718. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/extendedJsonSchema.js +2 -0
  1719. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/extendedJsonSchema.js.map +1 -0
  1720. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/fromSchemaOptions.js +2 -0
  1721. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/fromSchemaOptions.js.map +1 -0
  1722. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/index.js +2 -0
  1723. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/index.js.map +1 -0
  1724. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/jsonSchema.js +17 -0
  1725. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/jsonSchema.js.map +1 -0
  1726. package/scripts/node_modules/json-schema-to-ts/lib/esm/index.js +11 -0
  1727. package/scripts/node_modules/json-schema-to-ts/lib/esm/index.js.map +1 -0
  1728. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-options.js +2 -0
  1729. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-options.js.map +1 -0
  1730. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/allOf.js +2 -0
  1731. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/allOf.js.map +1 -0
  1732. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/anyOf.js +2 -0
  1733. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/anyOf.js.map +1 -0
  1734. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/array.js +2 -0
  1735. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/array.js.map +1 -0
  1736. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/const.js +2 -0
  1737. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/const.js.map +1 -0
  1738. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/deserialize.js +2 -0
  1739. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/deserialize.js.map +1 -0
  1740. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/enum.js +2 -0
  1741. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/enum.js.map +1 -0
  1742. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/ifThenElse.js +2 -0
  1743. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/ifThenElse.js.map +1 -0
  1744. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/index.js +2 -0
  1745. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/index.js.map +1 -0
  1746. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/multipleTypes.js +2 -0
  1747. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/multipleTypes.js.map +1 -0
  1748. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/not.js +2 -0
  1749. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/not.js.map +1 -0
  1750. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/nullable.js +2 -0
  1751. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/nullable.js.map +1 -0
  1752. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/object.js +2 -0
  1753. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/object.js.map +1 -0
  1754. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/oneOf.js +2 -0
  1755. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/oneOf.js.map +1 -0
  1756. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/external.js +2 -0
  1757. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/external.js.map +1 -0
  1758. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/index.js +2 -0
  1759. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/index.js.map +1 -0
  1760. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/internal.js +2 -0
  1761. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/internal.js.map +1 -0
  1762. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/utils.js +2 -0
  1763. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/utils.js.map +1 -0
  1764. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/singleType.js +2 -0
  1765. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/singleType.js.map +1 -0
  1766. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/utils.js +2 -0
  1767. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/utils.js.map +1 -0
  1768. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/and.js +2 -0
  1769. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/and.js.map +1 -0
  1770. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/extends.js +2 -0
  1771. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/extends.js.map +1 -0
  1772. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/get.js +2 -0
  1773. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/get.js.map +1 -0
  1774. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/if.js +2 -0
  1775. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/if.js.map +1 -0
  1776. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/index.js +2 -0
  1777. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/index.js.map +1 -0
  1778. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/join.js +2 -0
  1779. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/join.js.map +1 -0
  1780. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/key.js +2 -0
  1781. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/key.js.map +1 -0
  1782. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/narrow.js +2 -0
  1783. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/narrow.js.map +1 -0
  1784. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/not.js +2 -0
  1785. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/not.js.map +1 -0
  1786. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/pop.js +2 -0
  1787. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/pop.js.map +1 -0
  1788. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/split.js +2 -0
  1789. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/split.js.map +1 -0
  1790. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/tail.js +2 -0
  1791. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/tail.js.map +1 -0
  1792. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/writable.js +2 -0
  1793. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/writable.js.map +1 -0
  1794. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/asConst.js +17 -0
  1795. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/asConst.js.map +1 -0
  1796. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/index.js +3 -0
  1797. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/index.js.map +1 -0
  1798. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/compiler.js +43 -0
  1799. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/compiler.js.map +1 -0
  1800. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/index.js +3 -0
  1801. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/index.js.map +1 -0
  1802. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/validator.js +37 -0
  1803. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/validator.js.map +1 -0
  1804. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/deserializationPattern.d.ts +4 -0
  1805. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/deserializationPattern.js +1 -0
  1806. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/extendedJsonSchema.d.ts +75 -0
  1807. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/extendedJsonSchema.js +1 -0
  1808. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/fromSchemaOptions.d.ts +24 -0
  1809. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/fromSchemaOptions.js +1 -0
  1810. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/index.d.ts +4 -0
  1811. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/index.js +1 -0
  1812. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/jsonSchema.d.ts +57 -0
  1813. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/jsonSchema.js +1 -0
  1814. package/scripts/node_modules/json-schema-to-ts/lib/types/index.d.ts +9 -0
  1815. package/scripts/node_modules/json-schema-to-ts/lib/types/index.js +1 -0
  1816. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-options.d.ts +12 -0
  1817. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-options.js +1 -0
  1818. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/allOf.d.ts +13 -0
  1819. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/allOf.js +1 -0
  1820. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/anyOf.d.ts +13 -0
  1821. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/anyOf.js +1 -0
  1822. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/array.d.ts +57 -0
  1823. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/array.js +1 -0
  1824. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/const.d.ts +10 -0
  1825. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/const.js +1 -0
  1826. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/deserialize.d.ts +11 -0
  1827. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/deserialize.js +1 -0
  1828. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/enum.d.ts +10 -0
  1829. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/enum.js +1 -0
  1830. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/ifThenElse.d.ts +14 -0
  1831. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/ifThenElse.js +1 -0
  1832. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/index.d.ts +26 -0
  1833. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/index.js +1 -0
  1834. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/multipleTypes.d.ts +11 -0
  1835. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/multipleTypes.js +1 -0
  1836. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/not.d.ts +10 -0
  1837. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/not.js +1 -0
  1838. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/nullable.d.ts +9 -0
  1839. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/nullable.js +1 -0
  1840. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/object.d.ts +37 -0
  1841. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/object.js +1 -0
  1842. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/oneOf.d.ts +13 -0
  1843. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/oneOf.js +1 -0
  1844. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/external.d.ts +22 -0
  1845. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/external.js +1 -0
  1846. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/index.d.ts +9 -0
  1847. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/index.js +1 -0
  1848. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/internal.d.ts +4 -0
  1849. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/internal.js +1 -0
  1850. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/utils.d.ts +6 -0
  1851. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/utils.js +1 -0
  1852. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/singleType.d.ts +19 -0
  1853. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/singleType.js +1 -0
  1854. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/utils.d.ts +17 -0
  1855. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/utils.js +1 -0
  1856. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/and.d.ts +1 -0
  1857. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/and.js +1 -0
  1858. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/extends.d.ts +1 -0
  1859. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/extends.js +1 -0
  1860. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/get.d.ts +1 -0
  1861. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/get.js +1 -0
  1862. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/if.d.ts +1 -0
  1863. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/if.js +1 -0
  1864. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/index.d.ts +12 -0
  1865. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/index.js +1 -0
  1866. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/join.d.ts +1 -0
  1867. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/join.js +1 -0
  1868. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/key.d.ts +1 -0
  1869. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/key.js +1 -0
  1870. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/narrow.d.ts +3 -0
  1871. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/narrow.js +1 -0
  1872. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/not.d.ts +1 -0
  1873. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/not.js +1 -0
  1874. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/pop.d.ts +1 -0
  1875. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/pop.js +1 -0
  1876. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/split.d.ts +4 -0
  1877. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/split.js +1 -0
  1878. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/tail.d.ts +1 -0
  1879. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/tail.js +1 -0
  1880. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/writable.d.ts +5 -0
  1881. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/writable.js +1 -0
  1882. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/asConst.d.ts +2 -0
  1883. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/asConst.js +1 -0
  1884. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/index.d.ts +3 -0
  1885. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/index.js +2 -0
  1886. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/compiler.d.ts +6 -0
  1887. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/compiler.js +4 -0
  1888. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/index.d.ts +4 -0
  1889. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/index.js +2 -0
  1890. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/validator.d.ts +6 -0
  1891. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/validator.js +1 -0
  1892. package/scripts/node_modules/json-schema-to-ts/package.json +89 -0
  1893. package/scripts/node_modules/standardwebhooks/README.md +41 -0
  1894. package/scripts/node_modules/standardwebhooks/dist/index.d.ts +24 -0
  1895. package/scripts/node_modules/standardwebhooks/dist/index.js +106 -0
  1896. package/scripts/node_modules/standardwebhooks/dist/index.js.map +1 -0
  1897. package/scripts/node_modules/standardwebhooks/dist/timing_safe_equal.d.ts +1 -0
  1898. package/scripts/node_modules/standardwebhooks/dist/timing_safe_equal.js +30 -0
  1899. package/scripts/node_modules/standardwebhooks/dist/timing_safe_equal.js.map +1 -0
  1900. package/scripts/node_modules/standardwebhooks/package.json +45 -0
  1901. package/scripts/node_modules/ts-algebra/.eslintignore +3 -0
  1902. package/scripts/node_modules/ts-algebra/.eslintrc.js +153 -0
  1903. package/scripts/node_modules/ts-algebra/.nvmrc +1 -0
  1904. package/scripts/node_modules/ts-algebra/.prettierignore +4 -0
  1905. package/scripts/node_modules/ts-algebra/.prettierrc +9 -0
  1906. package/scripts/node_modules/ts-algebra/LICENSE +21 -0
  1907. package/scripts/node_modules/ts-algebra/README.md +737 -0
  1908. package/scripts/node_modules/ts-algebra/lib/index.d.ts +2 -0
  1909. package/scripts/node_modules/ts-algebra/lib/index.js +4 -0
  1910. package/scripts/node_modules/ts-algebra/lib/meta-types/any.d.ts +15 -0
  1911. package/scripts/node_modules/ts-algebra/lib/meta-types/any.js +1 -0
  1912. package/scripts/node_modules/ts-algebra/lib/meta-types/array.d.ts +22 -0
  1913. package/scripts/node_modules/ts-algebra/lib/meta-types/array.js +1 -0
  1914. package/scripts/node_modules/ts-algebra/lib/meta-types/const.d.ts +19 -0
  1915. package/scripts/node_modules/ts-algebra/lib/meta-types/const.js +1 -0
  1916. package/scripts/node_modules/ts-algebra/lib/meta-types/enum.d.ts +19 -0
  1917. package/scripts/node_modules/ts-algebra/lib/meta-types/enum.js +1 -0
  1918. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/any.d.ts +12 -0
  1919. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/any.js +1 -0
  1920. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/array.d.ts +16 -0
  1921. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/array.js +1 -0
  1922. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/const.d.ts +27 -0
  1923. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/const.js +1 -0
  1924. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/enum.d.ts +20 -0
  1925. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/enum.js +1 -0
  1926. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/index.d.ts +20 -0
  1927. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/index.js +1 -0
  1928. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/object.d.ts +51 -0
  1929. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/object.js +1 -0
  1930. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/primitive.d.ts +12 -0
  1931. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/primitive.js +1 -0
  1932. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/tuple.d.ts +87 -0
  1933. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/tuple.js +1 -0
  1934. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/union.d.ts +8 -0
  1935. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/union.js +1 -0
  1936. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/utils.d.ts +31 -0
  1937. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/utils.js +1 -0
  1938. package/scripts/node_modules/ts-algebra/lib/meta-types/index.d.ts +14 -0
  1939. package/scripts/node_modules/ts-algebra/lib/meta-types/index.js +1 -0
  1940. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/any.d.ts +19 -0
  1941. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/any.js +1 -0
  1942. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/array.d.ts +21 -0
  1943. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/array.js +1 -0
  1944. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/const.d.ts +33 -0
  1945. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/const.js +1 -0
  1946. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/enum.d.ts +23 -0
  1947. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/enum.js +1 -0
  1948. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/index.d.ts +20 -0
  1949. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/index.js +1 -0
  1950. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/object.d.ts +26 -0
  1951. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/object.js +1 -0
  1952. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/primitive.d.ts +17 -0
  1953. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/primitive.js +1 -0
  1954. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/tuple.d.ts +44 -0
  1955. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/tuple.js +1 -0
  1956. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/union.d.ts +13 -0
  1957. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/union.js +1 -0
  1958. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/utils.d.ts +5 -0
  1959. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/utils.js +1 -0
  1960. package/scripts/node_modules/ts-algebra/lib/meta-types/never.d.ts +6 -0
  1961. package/scripts/node_modules/ts-algebra/lib/meta-types/never.js +1 -0
  1962. package/scripts/node_modules/ts-algebra/lib/meta-types/object.d.ts +47 -0
  1963. package/scripts/node_modules/ts-algebra/lib/meta-types/object.js +1 -0
  1964. package/scripts/node_modules/ts-algebra/lib/meta-types/primitive.d.ts +20 -0
  1965. package/scripts/node_modules/ts-algebra/lib/meta-types/primitive.js +1 -0
  1966. package/scripts/node_modules/ts-algebra/lib/meta-types/resolve.d.ts +18 -0
  1967. package/scripts/node_modules/ts-algebra/lib/meta-types/resolve.js +1 -0
  1968. package/scripts/node_modules/ts-algebra/lib/meta-types/tuple.d.ts +39 -0
  1969. package/scripts/node_modules/ts-algebra/lib/meta-types/tuple.js +1 -0
  1970. package/scripts/node_modules/ts-algebra/lib/meta-types/type.d.ts +14 -0
  1971. package/scripts/node_modules/ts-algebra/lib/meta-types/type.js +1 -0
  1972. package/scripts/node_modules/ts-algebra/lib/meta-types/typeId.d.ts +10 -0
  1973. package/scripts/node_modules/ts-algebra/lib/meta-types/typeId.js +1 -0
  1974. package/scripts/node_modules/ts-algebra/lib/meta-types/union.d.ts +18 -0
  1975. package/scripts/node_modules/ts-algebra/lib/meta-types/union.js +1 -0
  1976. package/scripts/node_modules/ts-algebra/lib/meta-types/utils.d.ts +3 -0
  1977. package/scripts/node_modules/ts-algebra/lib/meta-types/utils.js +1 -0
  1978. package/scripts/node_modules/ts-algebra/lib/utils/and.d.ts +1 -0
  1979. package/scripts/node_modules/ts-algebra/lib/utils/and.js +1 -0
  1980. package/scripts/node_modules/ts-algebra/lib/utils/extends.d.ts +5 -0
  1981. package/scripts/node_modules/ts-algebra/lib/utils/extends.js +1 -0
  1982. package/scripts/node_modules/ts-algebra/lib/utils/if.d.ts +1 -0
  1983. package/scripts/node_modules/ts-algebra/lib/utils/if.js +1 -0
  1984. package/scripts/node_modules/ts-algebra/lib/utils/index.d.ts +12 -0
  1985. package/scripts/node_modules/ts-algebra/lib/utils/index.js +1 -0
  1986. package/scripts/node_modules/ts-algebra/lib/utils/intersectUnion.d.ts +1 -0
  1987. package/scripts/node_modules/ts-algebra/lib/utils/intersectUnion.js +1 -0
  1988. package/scripts/node_modules/ts-algebra/lib/utils/isNever.d.ts +1 -0
  1989. package/scripts/node_modules/ts-algebra/lib/utils/isNever.js +1 -0
  1990. package/scripts/node_modules/ts-algebra/lib/utils/merge.d.ts +7 -0
  1991. package/scripts/node_modules/ts-algebra/lib/utils/merge.js +1 -0
  1992. package/scripts/node_modules/ts-algebra/lib/utils/not.d.ts +1 -0
  1993. package/scripts/node_modules/ts-algebra/lib/utils/not.js +1 -0
  1994. package/scripts/node_modules/ts-algebra/lib/utils/or.d.ts +1 -0
  1995. package/scripts/node_modules/ts-algebra/lib/utils/or.js +1 -0
  1996. package/scripts/node_modules/ts-algebra/lib/utils/prettify.d.ts +4 -0
  1997. package/scripts/node_modules/ts-algebra/lib/utils/prettify.js +1 -0
  1998. package/scripts/node_modules/ts-algebra/lib/utils/tail.d.ts +1 -0
  1999. package/scripts/node_modules/ts-algebra/lib/utils/tail.js +1 -0
  2000. package/scripts/node_modules/ts-algebra/lib/utils/unionLast.d.ts +2 -0
  2001. package/scripts/node_modules/ts-algebra/lib/utils/unionLast.js +1 -0
  2002. package/scripts/node_modules/ts-algebra/lib/utils/unionPop.d.ts +2 -0
  2003. package/scripts/node_modules/ts-algebra/lib/utils/unionPop.js +1 -0
  2004. package/scripts/node_modules/ts-algebra/package.json +59 -0
  2005. package/scripts/notify.sh +75 -0
  2006. package/scripts/outcome-pull.ts +279 -0
  2007. package/scripts/package.json +8 -0
  2008. package/scripts/promise-manifest.mjs +167 -0
  2009. package/scripts/reconcile-allow.txt +30 -0
  2010. package/scripts/rubric-weights.json +64 -0
  2011. package/scripts/spine-canary.sh +20 -0
  2012. package/scripts/subdomains-proof.sh +92 -0
  2013. package/scripts/tg-listen.sh +134 -0
  2014. package/scripts/typedb-cluster-status.sh +128 -0
  2015. package/scripts/typedb-env.sh +182 -0
  2016. package/scripts/typedb-flap-recorder.sh +85 -0
  2017. package/scripts/typedb-probes/containment-probe.py +88 -0
  2018. package/scripts/typedb-probes/panic-probe-version.py +92 -0
  2019. package/scripts/typedb-probes/panic-probe.py +77 -0
  2020. package/scripts/typedb-scratch.sh +73 -0
  2021. package/scripts/urls-lint.sh +58 -0
  2022. package/scripts/w1-recon.ts +5 -138
  2023. package/scripts/w4-rubric.ts +131 -129
  2024. package/scripts/wf-check.mjs +75 -0
  2025. package/skills/ai-sdk/SKILL.md +78 -0
  2026. package/skills/ai-sdk/references/ai-gateway.md +66 -0
  2027. package/skills/ai-sdk/references/common-errors.md +443 -0
  2028. package/skills/ai-sdk/references/devtools.md +52 -0
  2029. package/skills/ai-sdk/references/type-safe-agents.md +204 -0
  2030. package/skills/ai-ui/SKILL.md +638 -0
  2031. package/skills/astro/SKILL.md +368 -0
  2032. package/skills/astro/add-content-collection.md +46 -0
  2033. package/skills/astro/check-build.md +35 -0
  2034. package/skills/astro/create-component.md +56 -0
  2035. package/skills/astro/create-page.md +59 -0
  2036. package/skills/astro/optimize-performance.md +49 -0
  2037. package/skills/cli/SKILL.md +352 -0
  2038. package/skills/cloudflare/SKILL.md +2 -4
  2039. package/skills/composio/SKILL.md +65 -0
  2040. package/skills/composio/rules/app-auth-configs.md +224 -0
  2041. package/skills/composio/rules/app-auth-popup-ui.md +144 -0
  2042. package/skills/composio/rules/app-connected-accounts.md +240 -0
  2043. package/skills/composio/rules/app-custom-tools.md +220 -0
  2044. package/skills/composio/rules/app-execute-tools.md +202 -0
  2045. package/skills/composio/rules/app-fetch-tools.md +292 -0
  2046. package/skills/composio/rules/app-modifiers.md +148 -0
  2047. package/skills/composio/rules/app-tool-versions.md +343 -0
  2048. package/skills/composio/rules/app-toolkits.md +184 -0
  2049. package/skills/composio/rules/app-user-context.md +222 -0
  2050. package/skills/composio/rules/building-with-composio.md +134 -0
  2051. package/skills/composio/rules/composio-cli.md +223 -0
  2052. package/skills/composio/rules/sequences/calendar.md +16 -0
  2053. package/skills/composio/rules/sequences/gmail.md +20 -0
  2054. package/skills/composio/rules/sequences/linkedin.md +17 -0
  2055. package/skills/composio/rules/sequences/quickbooks.md +16 -0
  2056. package/skills/composio/rules/sequences/stripe.md +22 -0
  2057. package/skills/composio/rules/setup-api-keys.md +230 -0
  2058. package/skills/composio/rules/tr-auth-auto.md +110 -0
  2059. package/skills/composio/rules/tr-auth-connections.md +167 -0
  2060. package/skills/composio/rules/tr-auth-manual.md +161 -0
  2061. package/skills/composio/rules/tr-building-chat-ui.md +348 -0
  2062. package/skills/composio/rules/tr-framework-ai-sdk.md +240 -0
  2063. package/skills/composio/rules/tr-framework-integration.md +818 -0
  2064. package/skills/composio/rules/tr-framework-mastra.md +185 -0
  2065. package/skills/composio/rules/tr-mcp-vs-native.md +248 -0
  2066. package/skills/composio/rules/tr-session-basic.md +82 -0
  2067. package/skills/composio/rules/tr-session-config.md +172 -0
  2068. package/skills/composio/rules/tr-session-lifecycle.md +385 -0
  2069. package/skills/composio/rules/tr-toolkit-query.md +135 -0
  2070. package/skills/composio/rules/tr-userid-best-practices.md +476 -0
  2071. package/skills/composio/rules/triggers-create.md +246 -0
  2072. package/skills/composio/rules/triggers-manage.md +275 -0
  2073. package/skills/composio/rules/triggers-subscribe.md +173 -0
  2074. package/skills/composio/rules/triggers-webhook.md +227 -0
  2075. package/skills/dev/SKILL.md +1 -1
  2076. package/skills/directory-autofill/SKILL.md +68 -0
  2077. package/skills/docs/SKILL.md +153 -0
  2078. package/skills/mcp/SKILL.md +272 -0
  2079. package/skills/oneie/SKILL.md +2 -2
  2080. package/skills/promise-make/SKILL.md +93 -0
  2081. package/skills/promise-settle/SKILL.md +101 -0
  2082. package/skills/puck/SKILL.md +783 -0
  2083. package/skills/rag-adversarial/SKILL.md +106 -0
  2084. package/skills/rag-canary/SKILL.md +113 -0
  2085. package/skills/rag-fanout/SKILL.md +240 -0
  2086. package/skills/rag-skill-discovery/SKILL.md +107 -0
  2087. package/skills/rag-synthesize/SKILL.md +113 -0
  2088. package/skills/rag-triangulate/SKILL.md +123 -0
  2089. package/skills/react19/SKILL.md +391 -0
  2090. package/skills/reactflow/SKILL.md +587 -0
  2091. package/skills/sdk/SKILL.md +258 -0
  2092. package/skills/shadcn/SKILL.md +516 -0
  2093. package/skills/signal/SKILL.md +15 -5
  2094. package/skills/sui/SKILL.md +7 -2
  2095. package/skills/tutorial/SKILL.md +15 -0
  2096. package/skills/typedb/SKILL.md +2578 -0
  2097. package/skills/typedb/examples/python-patterns.py +626 -0
  2098. package/skills/typedb/examples/query-patterns.tql +512 -0
  2099. package/skills/typedb/examples/schema-patterns.tql +541 -0
  2100. package/skills/typedb/reference/migration-2x-3x.md +461 -0
  2101. package/skills/typedb/reference/python-driver.md +744 -0
  2102. package/skills/typedb/reference/research-notes-2026-04.md +169 -0
  2103. package/skills/voice/SKILL.md +117 -0
  2104. package/skills/workflow/SKILL.md +51 -0
  2105. package/skills/writer/SKILL.md +360 -0
  2106. package/skills/writer/references/anti-patterns.md +163 -0
  2107. package/skills/writer/references/copy-frameworks.md +544 -0
  2108. package/skills/writer/references/structures.md +285 -0
  2109. package/skills/youtube-subs/SKILL.md +104 -0
  2110. package/skills/youtube-subs/scripts/fetch.sh +83 -0
  2111. package/skills/youtube-subs/scripts/vtt-to-text.py +130 -0
  2112. package/templates/template-agent.md +8 -0
  2113. package/templates/template-feature.md +184 -8
  2114. package/templates/template-plan.md +14 -2
  2115. package/templates/template-teach.md +3 -3
  2116. package/templates/template-tests.md +8 -2
  2117. package/templates/template-todo.md +200 -160
  2118. package/commands/claw.md +0 -135
@@ -0,0 +1,2578 @@
1
+ ---
2
+ name: typedb
3
+ description: Write, debug, and deploy TypeQL against the ONE substrate on TypeDB 3.12.1. Use when editing any `.tql` file under `schema/` (one.tql, roles.tql, do.tql, reason.tql, router.tql, factory.tql, work-contract.tql, migrations/), writing a `fun`, composing a match/insert/update/put pipeline, reading or writing through the `/v1/` HTTP API, or diagnosing a TypeDB error code (TQL0, REP1, REP4, REP44, FIN4, FUN5, SVL2, COW5, WCP4, INF11) or a query that hangs. Triggers — "write a TypeQL query", "add a fun", "change the schema", "deploy the schema", "this TypeDB query times out", "why is this .tql rejected", "match/fetch/reduce syntax", "TypeDB 2.x vs 3.x".
4
+ ---
5
+
6
+ # TypeDB 3.x Complete Reference Skill
7
+
8
+ > **Version**: TypeDB **3.12.1** — prod (TypeDB Cloud) AND the local OrbStack
9
+ > container both run 3.12.1 as of 2026-07-29. Profiles: `.claude/typedb/{dev,prod}.env`,
10
+ > switched by `.claude/scripts/typedb-env.sh`. Never assume 3.0 or 3.8.x behaviour.
11
+ > **Last Updated**: 2026-08-02 (syntax claims re-probed read-only against live 3.12.1)
12
+ > **Purpose**: Comprehensive TypeDB/TypeQL knowledge for Claude Code
13
+ > **Primary sources**: TypeQL paper (Dorn & Pribadi, PACMMOD 2024, *Best Newcomer Award* at SIGMOD/PODS 2024) · TypeDB lecture series (Vaticle YouTube, 2023–2024) · "Inside TypeDB: The Next Chapter" (Dec 2025) · TypeDB 3.0 roadmap ([GitHub #6764](https://github.com/typedb/typedb/issues/6764))
14
+ >
15
+ > **In-repo canon is `schema/`, not this file.** `schema/one.tql` (480 lines) is the
16
+ > locked ontology; `schema/CLAUDE.md` says which files load, in what order, and which
17
+ > must never co-load. When this skill and a `.tql` disagree, the `.tql` wins.
18
+ >
19
+ > **How this repo actually talks to TypeDB: the `/v1/` HTTP API.** No driver package
20
+ > is installed anywhere in the monorepo. TypeScript goes through
21
+ > `one.ie/web/src/lib/substrate.ts` → the gateway in `api/src/index.ts` → `POST
22
+ > {TYPEDB_URL}/v1/query`; the Python scripts in `backup/scripts/typedb/` use
23
+ > `urllib` against the same endpoint. The *Python Driver* section below is
24
+ > background for reading upstream docs — it is not the path any code here takes.
25
+ >
26
+ > **Do not mock TypeDB in tests.** Real TypeDB or skip (root `CLAUDE.md`).
27
+
28
+ ---
29
+
30
+ ## Table of Contents
31
+
32
+ 1. [Overview](#overview) — includes *Fourth Category of Database* and *Queries as Types* framing
33
+ 2. [Critical Syntax Rules](#critical-syntax-rules)
34
+ 3. [Schema Definition](#schema-definition)
35
+ 4. [Data Pipelines](#data-pipelines)
36
+ 5. [Query Operations](#query-operations)
37
+ 6. [Functions](#functions)
38
+ 7. [Patterns](#patterns)
39
+ 8. [Annotations](#annotations)
40
+ 9. [Value Types](#value-types)
41
+ 10. [Python Driver](#python-driver)
42
+ 11. [Transaction Management](#transaction-management)
43
+ 12. [Best Practices](#best-practices)
44
+ 13. [Query Optimization](#query-optimization)
45
+ 14. [Complete Keyword Reference](#complete-keyword-reference)
46
+ 15. [Mental Models (Type Theory, Polymorphism, Dependent Types)](#mental-models-type-theory-polymorphism-dependent-types)
47
+ 16. [Canonical Polymorphic Example: Filesystem + Ownership](#canonical-polymorphic-example-filesystem--ownership)
48
+ 17. [TypeDB 3.x Feature Deep Dive](#typedb-3x-feature-deep-dive) — cascade, structs, list attrs, `@index`, functions, MVCC
49
+ 18. [Production Deployment & Scaling](#production-deployment--scaling)
50
+ 19. [Development Tools & Ecosystem](#development-tools--ecosystem) — Studio, Vibe Querying, Cloud, LSP
51
+ 20. [SQL → TypeQL: Concrete Contrasts](#sql--typeql-concrete-contrasts)
52
+ 21. [Works With /sui](#works-with-sui--the-same-ontology-two-deterministic-fires)
53
+ 22. [Production Patterns: Classifier Functions, Thing Collapse, Symmetric Routing](#production-patterns-classifier-functions-thing-collapse-symmetric-routing) — from `schema/world.tql`
54
+ 23. [Project-Specific Patterns](#project-specific-patterns)
55
+
56
+ ---
57
+
58
+ ## Overview
59
+
60
+ TypeDB is a strongly-typed, polymorphic, transactional database using the **Polymorphic Entity-Relation-Attribute (PERA)** data model. TypeQL is its declarative query language. The **PERA model** and its **Queries as Types** principle were published at SIGMOD/PODS 2024 (Dorn & Pribadi, PACMMOD 2024, Article 110, *Best Newcomer Award*) — DOI [10.1145/3651611](https://dl.acm.org/doi/10.1145/3651611).
61
+
62
+ ### The Fourth Category of Database
63
+
64
+ TypeDB is positioned as a **fourth category of database**, generalizing the first three:
65
+
66
+ 1. **Relational** — tables, rows, foreign keys
67
+ 2. **Graph** — nodes, edges, labels
68
+ 3. **Document** — nested JSON-like trees, flexible schema
69
+ 4. **Polymorphic (TypeDB)** — entities, relations, attributes with type polymorphism, interface-based role playing, and type-theoretic query semantics
70
+
71
+ TypeDB 3.x is written in **Rust** (rewritten from Java in 2024–2025) and is "competitive and surpassing Neo4j" on their first Rust optimization pass (per "Inside TypeDB: The Next Chapter", Dec 2025). It's especially aimed at:
72
+ - **Knowledge graphs** and semantic-driven applications
73
+ - **Intelligent / agentic systems** that need polymorphic reasoning
74
+ - **Complex domain models** where inheritance, role-based access, and multi-value constraints matter
75
+
76
+ ### Queries as Types (the core mental model)
77
+
78
+ TypeQL's design inverts SQL's operational worldview. In SQL you write a *plan* (scan, filter, project). In TypeQL you describe a **type** — and that type *is* the query:
79
+
80
+ ```typeql
81
+ # This pattern describes a type: "(user, name) pairs where user owns name"
82
+ match
83
+ $u isa user, has name $n;
84
+ select $u, $n;
85
+ ```
86
+
87
+ This is a generalization of Wadler's *Propositions as Types* into **Queries as Types**. Consequences:
88
+ - **Composability** — types compose (dependent types), queries stay concise as schemas grow.
89
+ - **Polymorphism by default** — `$x isa vehicle` matches cars, bikes, drones without rewriting.
90
+ - **Planner freedom** — declarative intent lets the optimizer reorder, parallelize, index freely.
91
+
92
+ ### Core Concepts
93
+
94
+ - **Entity Types**: Independent objects that exist without dependencies
95
+ - **Relation Types**: **Dependent types** — their instances depend on instances of other types (role players). Explicit n-ary dependency makes integrity, cascade, and indexing explicit.
96
+ - **Attribute Types**: Store primitive values, identified by their value. Immutable by identity.
97
+ - **Roles**: **Interfaces** that types implement to participate in relations (think typeclasses / traits).
98
+ - **Ownership**: Types declare what attributes they own. `plays` declares roles they fulfill.
99
+ - **Type Hierarchies**: Single-inheritance subtyping with `sub`. Works on entities, relations, AND attributes.
100
+ - **Type Functions**: `fun` declarations replace 2.x `rule`; dependent-type subtyping generalizes Datalog-like reasoning.
101
+
102
+ ### Connection Details (this repo — the `/v1/` HTTP API)
103
+
104
+ Two endpoints, both 3.12.1, both database `one`, credentials in
105
+ `.claude/typedb/{dev,prod}.env`:
106
+
107
+ ```
108
+ prod https://flsiu1-0.cluster.typedb.com:1729 (TypeDB Cloud)
109
+ dev http://127.0.0.1:8000 (local OrbStack container)
110
+ ```
111
+
112
+ `bash .claude/scripts/typedb-env.sh {dev|prod|status|up|down}` rewrites the four
113
+ `TYPEDB_*` lines in `one.ie/web/.env`. Every call is two HTTP requests:
114
+
115
+ ```bash
116
+ TOKEN=$(curl -s -X POST "$TYPEDB_URL/v1/signin" \
117
+ -H 'content-type: application/json' \
118
+ -d "{\"username\":\"$TYPEDB_USERNAME\",\"password\":\"$TYPEDB_PASSWORD\"}" \
119
+ | jq -r .token)
120
+
121
+ curl -s -X POST "$TYPEDB_URL/v1/query" \
122
+ -H "Authorization: Bearer $TOKEN" -H 'content-type: application/json' \
123
+ -d '{"query":"match $g isa group; reduce $c = count($g);",
124
+ "databaseName":"one","transactionType":"read","commit":false}'
125
+ ```
126
+
127
+ `transactionType` is `read` | `write` | `schema`; `commit` must be `true` for
128
+ anything but `read`. `GET /v1/databases/one/schema` dumps the live schema —
129
+ the fastest way to answer "is this fun actually deployed?". `GET /v1/version`
130
+ returns the running build.
131
+
132
+ The Python driver (`TypeDB.driver(...)`, `driver.transaction(...)`) is covered in
133
+ the *Python Driver* section for reading upstream docs. **No code in this repo
134
+ uses it** — there is no `typedb-driver` dependency in any `package.json` or
135
+ `requirements.txt`.
136
+
137
+ ---
138
+
139
+ ## Critical Syntax Rules
140
+
141
+ ### MUST-KNOW RULES
142
+
143
+ | Feature | Correct TypeDB 3.x (verified on 3.12.1) |
144
+ |---------|-------------------|
145
+ | Sessions | **NO SESSIONS** - transactions directly on driver |
146
+ | Concept API | **DROPPED** — all operations go through TypeQL queries |
147
+ | Query syntax | `match ... select` |
148
+ | Delete syntax | `delete $attr;` (NOT `delete $e has attr $attr;`) |
149
+ | Value type: integer | `integer` (NOT `long`) |
150
+ | Value type: float | `double` |
151
+ | Type declaration | `entity person` (root types) or `entity employee sub person` (subtypes) |
152
+ | Variables | All use `$` |
153
+ | Functions | `fun name() -> type:` (replaces rules) |
154
+ | Attributes | **CANNOT** own attributes. **CANNOT** play roles. Model as entities if you need either. |
155
+ | Role aliasing | `relates group as owned` — a subtype relation can rename an inherited role |
156
+ | List attributes | `attribute emails, value string[];` — 3.x-only syntax for list-valued attributes |
157
+ | Struct values | `struct address { street: string, city: string };` — 3.x compound values |
158
+
159
+ ### VERIFIED against the live cluster (flsiu1-0.cluster.typedb.com)
160
+
161
+ These override anything else in this file — each was probed against the prod
162
+ TypeDB Cloud build (`commit:false` schema txs, or read txs with `with fun`).
163
+ Rows are dated: **2026-07-07** was probed on the pre-bump build; the syntax rows
164
+ marked **re-probed 2026-08-02** were re-run against live **3.12.1** and still
165
+ hold. `with fun … match …` in a `read` transaction is the cheap way to test
166
+ function syntax without touching the schema.
167
+
168
+ | Claim elsewhere in this file | What the live cluster ACTUALLY accepts |
169
+ |---|---|
170
+ | `return first if (...) then X else Y` conditional returns | **REJECTED — re-probed 2026-08-02 on 3.12.1, still rejected.** `match let $x = if (true) then 1 else 2;` → `[TQL0] [TQL03] syntax error: expected PLUS, MINUS, TIMES, DIVIDE, POWER, or MODULO`. There is no conditional *expression* in TypeQL. Encode classifiers as an exhaustive disjunction that binds a `let` per branch, then `return first $var`: `{ $st == "halted"; let $stage = "halted"; } or { … };` — this is exactly what the deployed `do_stage` and `path_status` do. **Beware:** `schema/world.tql`, `schema/sui.tql` and `schema/skins.tql` in this repo are written in the `if/then/else` form and are therefore NOT deployable to the main `one` database — see the note in *Production Patterns* below. `schema/reason.tql` carries the deployable rewrite of `path_status`. |
171
+ | `return $x;` for scalar functions | **REJECTED** — scalar returns require a selector: `return first $x;` (`expected return_single_selector or return_reduce_reduction`) |
172
+ | `fun f() -> { $to: city }` — naming the returned variable in the signature | **REJECTED** (re-probed 2026-08-02) — `[TQL0] syntax error: expected named_type_any`. A stream return type is types only: `-> { city }`, `-> { actor }`, `-> { thing, string }`. Tuple returns without braces (`-> string, integer`) are valid. |
173
+ | stream membership via `contains` — `my_stream_fun($x) contains $y;` | **REJECTED** (re-probed 2026-08-02) — `[REP44] The variable 'y' is required to be bound to a value before it's used`. `contains` is *substring* matching on strings. Iterate a stream with `let $y in my_stream_fun($x);` — the only form the deployed schema uses. |
174
+ | calling a `fun` and then reading attributes off the returned rows | **Works, but it is the wrong tool and it is slow.** Functions are for **COUNTS and scalars** — `return count($x)`, `return first $status`. When you need **rows plus their attributes**, do NOT call the fun and then `has` the results: **inline the fun's body** into your match and select the attributes there. This is the single most common cause of a query that "works locally, hangs in prod". |
175
+ | a `\uXXXX` escape inside a TypeQL string literal | **Killed the server process on 3.8.3** (a PANIC, not an error) — reproducer at `.claude/scripts/typedb-probes/panic-probe.py`, and the reason `backup/scripts/typedb/dump.py` renders every literal with `ensure_ascii=False`. Prod and local moved to **3.12.1 on 2026-07-29 and this has not been re-probed since.** Treat as unresolved: keep emitting raw UTF-8, never `\uXXXX`. The same build also panicked on the same variable used in two roles. |
176
+ | `fun f(threshold: double = 10.0)` default params | **REJECTED** — params need `$` and no defaults: `fun f($threshold: double)` |
177
+ | `define fun` re-applies like types | **REJECTED** (`FUN5 already exists`) — an existing function needs `redefine fun …` (one per tx); `define` is idempotent for types only |
178
+ | `redefine attribute x, value string @values(…)` | Syntax is `redefine x value string @values(…);` — no `attribute` keyword, no comma |
179
+ | value param binding an attribute: `has tag $axis` ($axis: string param) | **REJECTED** (`REP1`) — bind then compare: `has tag $t; $t == $axis;` |
180
+ | role named `as` (e.g. `relates as`) | **REJECTED** — `as` is reserved (role aliasing). A relation using it makes the whole file unparseable |
181
+ | labels are per-kind | Labels are **global across kinds** — `entity channel` cannot coexist with `attribute channel` (`SVL2`) |
182
+ | a fun calling a not-yet-defined fun validates | Cross-fun references only resolve against **committed** functions (`REP4` on commit:false) — commit dependencies first, or define both in one tx. This is why `schema/factory.tql` is one file: a partial multi-file deploy produced prod's `[REP4] Could not resolve function with name 'gaps'` on 2026-07-29. |
183
+ | a fun body that type-checks in isolation deploys | **`FIN4` / `QUA2`** — "The types inferred for the return statement of function 'f' did not match those declared in the signature. Mismatching index: 0". The return type is checked against what the body actually binds, so `-> string` with a body binding an attribute concept fails. Fix the signature or bind a value with `let`. |
184
+ | reading an attribute off a variable the planner infers as a *union* of owner types | **`INF11`** — the union has no member that can own the attribute, and the **whole schema transaction is rejected** at function type-check. This is why the three `*-schema.tql` domain files are absent from prod (`schema/CLAUDE.md`). Constrain the variable's type before reading the attribute. |
185
+ | `return first true` (boolean literal) | **REJECTED — re-probed 2026-08-02 on 3.12.1, still rejected** (`[TQL0] syntax error: expected var`) — bind first: `let $ok = true; return first $ok;`. The live schema contains **zero** `return first <literal>`; every one of its nine distinct return-first forms returns a bound variable (`$ok`, `$stage`, `$status`, `$toxic`, …). The deployed existence-check idiom is `match <the predicate>; let $ok = true; return first $ok;` — see `route_exists`. |
186
+ | `put` with non-key attributes is idempotent | **CRASHES on keyed entities** (`COW5` duplicate-key) when any non-key attribute differs from the existing row — the whole pattern fails to match, put inserts a duplicate @key. Put by key only, then put each invariant attribute as its own stage: `put $m isa actor, has aid "X"; put $m has actor-type "agent";` Never put attributes that vary (e.g. `name`) |
187
+ | `delete $attr of $e;` removes an ownership | **REJECTED** (`REP1 Object vs ThingType`) — and `delete has $attr of $e;` parses but can't feed a computed re-insert. There is NO in-database increment on this build |
188
+ | computed values in writes: `insert $e has strength ($s + 1)` or `has strength $ns` (value var) | **REJECTED** (`REP1 Attribute vs Value`) — writes take LITERALS only. The increment pattern is read-then-write: read current values, compute in the caller, write back with `update $e has strength 7.0;` (update = replace-or-add on card 0..1, no delete needed). See substrate.ts readPathWeights/updatePathWeights |
189
+ | relation insert/match+update: `insert $r (role: $x) isa rel-type, has attr val;` (role-list before `isa`) | **INSERT: REJECTED** (`WCP4 Could not determine the type of the insert variable '_anonymous'`). **MATCH-then-UPDATE: REJECTED** (`REP1 variable cannot be declared as both Object/Thing and ThingType`) the moment that same match feeds an `update`/`delete` stage — a plain match+select with this shape is fine. Verified 2026-07-12 while shipping `path-context` writes (`substrate.ts` `upsertPathContext`, `fade()`, `follow()`). Fix: declare `isa` first, `links` second — `insert $r isa rel-type, links (role: $x), has attr val;` and `match $r isa rel-type, links (role: $x), has attr val; update $r has attr val2;` both work for insert, match, AND update. Only pure match+select tolerates the role-first shorthand; treat isa-first as the universal safe form. |
190
+ | re-asserting `isa <type>` on a variable whose type is already implied by a role constraint elsewhere in the same match (e.g. `$e isa path, links(...)` after `$pc isa path-context, links(followed: $e)` already implies `$e` is a `path` via the schema's `path plays path-context:followed`) | **NOT rejected, but silently forces a full unbound scan** of the re-asserted type before the join — on a relation with real production volume (e.g. `path`, thousands of rows) this reliably **times out** (`"The operation was aborted due to timeout"`) even though the equivalent query with the redundant `isa` dropped returns instantly. Verified 2026-07-12: `match $e isa path, links(source:$a,target:$b); $pc isa path-context, links(followed:$e), has context-tag $ct, has context-strength $cs; ...` timed out; `match $pc isa path-context, has context-tag $ct, has context-strength $cs, links(followed:$e); $e links(source:$a,target:$b); ...` (path-context first, no re-`isa` on `$e`) returned instantly with identical results. Rule: **start the match from the smallest/most-selective relation, and never re-declare a type TypeDB can already infer from a role constraint.** |
191
+ | joining `has <attr> $x` on BOTH role players of the same two-role relation in one match (e.g. `(container: $p, contained: $c) isa containment; $c has tid $id; $p has tid $parent;`) | **NOT rejected, but reliably TIMES OUT** (10s, `"The operation was aborted due to timeout"`) — even on relation types with single-digit row counts platform-wide (`containment`: 9 rows, `blocks`: 2 rows). Reproduced consistently regardless of `limit`, statement order, or dropping a redundant `isa thing` on the role players — this is a distinct defect from the row above (that one is about a *redundant* `isa`; this one triggers even with the minimal, non-redundant `has` shape). Verified 2026-07-16 in `one.ie/web/src/pages/api/things/index.ts` (task board's subtask-parent + blocked-by lookups) — the query had been silently swallowing this 10s hang via `.catch(() => [])` on every single page load. **Each half in isolation is fast** (`$c has tid $id;` alone: ~0.7s; `$p has tid $parent;` alone: ~1s) — it's specifically resolving an attribute on **both** sides in the same query that's poisonous. Fix: split into two queries — (1) `match (container: $p, contained: $c) isa containment; limit N; select $p, $c;` with NO attribute join at all (returns raw entity `iid`s, sub-second), then (2) batch-resolve every involved `iid` to its attribute in ONE disjunction query: `match { $x iid 0x1e...; } or { $x iid 0x1e...; }; $x has tid $id; select $x, $id;` (also sub-second, confirmed via `flattenAnswers` — an entity concept with no `value`/`label` flattens to its bare `iid` string, so `row['p']`/`row['c']` from step 1 are directly usable as iid literals in step 2, no re-quoting). |
192
+
193
+ Deploy path: `POST {TYPEDB_URL}/v1/signin` → `POST /v1/query` with `transactionType:"schema"`, validate `commit:false` first. Working deployer pattern: `one.ie/web/scripts/deploy-chat-schema.ts`.
194
+
195
+ ### Transaction Pattern (No Sessions!)
196
+
197
+ ```python
198
+ # CORRECT - Direct transaction on driver
199
+ with driver.transaction("database", TransactionType.READ) as tx:
200
+ result = tx.query("match $p isa person; select $p;").resolve()
201
+ ```
202
+
203
+ ### Delete Syntax (CRITICAL!)
204
+
205
+ ```typeql
206
+ # CORRECT: Delete the attribute itself
207
+ match $p isa person, has name $n;
208
+ delete $n;
209
+
210
+ # CORRECT: Delete ownership (keep attribute, remove from owner)
211
+ delete has $n of $p;
212
+ ```
213
+
214
+ ### Schema Declaration
215
+
216
+ ```typeql
217
+ # Root type declaration
218
+ entity person;
219
+ relation friendship;
220
+ attribute name, value string;
221
+
222
+ # Subtype declaration (uses sub)
223
+ entity employee sub person;
224
+ ```
225
+
226
+ ---
227
+
228
+ ## Schema Definition
229
+
230
+ ### Entity Types
231
+
232
+ ```typeql
233
+ define
234
+
235
+ # Basic entity
236
+ entity person;
237
+
238
+ # Entity with ownership
239
+ entity user,
240
+ owns username @key,
241
+ owns email @unique,
242
+ owns age;
243
+
244
+ # Abstract entity (cannot be instantiated)
245
+ entity content @abstract;
246
+
247
+ # Entity with role playing
248
+ entity company,
249
+ plays employment:employer,
250
+ plays ownership:owner;
251
+
252
+ # Subtype inheritance
253
+ entity employee sub person,
254
+ owns employee-id @key,
255
+ plays employment:employee;
256
+ ```
257
+
258
+ ### Relation Types
259
+
260
+ ```typeql
261
+ define
262
+
263
+ # Basic relation with roles
264
+ relation friendship,
265
+ relates friend @card(2); # Exactly 2 friends
266
+
267
+ # Relation with different roles
268
+ relation employment,
269
+ relates employer @card(1), # One employer
270
+ relates employee @card(1..); # One or more employees
271
+
272
+ # Relation with attributes
273
+ relation transaction,
274
+ relates buyer,
275
+ relates seller,
276
+ owns amount,
277
+ owns timestamp;
278
+
279
+ # Abstract relation
280
+ relation interaction @abstract,
281
+ relates subject,
282
+ relates content;
283
+
284
+ # Relation with role specialization
285
+ relation content-engagement sub interaction,
286
+ relates author as subject; # 'author' specializes 'subject'
287
+ ```
288
+
289
+ ### Attribute Types
290
+
291
+ ```typeql
292
+ define
293
+
294
+ # Basic attributes with value types
295
+ attribute name, value string;
296
+ attribute age, value integer; # NOT 'long'
297
+ attribute score, value double; # NOT 'float'
298
+ attribute balance, value decimal;
299
+ attribute active, value boolean;
300
+ attribute birth-date, value date;
301
+ attribute created-at, value datetime;
302
+ attribute created-with-tz, value datetime-tz;
303
+ attribute duration, value duration;
304
+
305
+ # Attribute with regex constraint
306
+ attribute email, value string @regex("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$");
307
+
308
+ # Attribute with value constraint
309
+ attribute status, value string @values("pending", "active", "completed", "cancelled");
310
+
311
+ # Attribute with range constraint
312
+ attribute percentage, value double @range(0.0..100.0);
313
+
314
+ # Independent attribute (survives without owner)
315
+ attribute log-entry, value string @independent;
316
+
317
+ # Attribute subtype
318
+ attribute full-name sub name;
319
+ ```
320
+
321
+ ### Ownership Declarations
322
+
323
+ ```typeql
324
+ define
325
+
326
+ entity person,
327
+ owns name @card(1..3), # 1 to 3 names
328
+ owns email @key, # Unique identifier
329
+ owns phone @unique, # Unique but optional
330
+ owns nickname @card(0..); # Any number
331
+
332
+ # Ownership with ordering
333
+ entity playlist,
334
+ owns song @card(0..) @distinct; # Unique songs only
335
+ ```
336
+
337
+ ### Complete Schema Example
338
+
339
+ ```typeql
340
+ define
341
+
342
+ # Attributes
343
+ attribute id, value string;
344
+ attribute name, value string;
345
+ attribute email, value string @regex("^.*@.*\\..*$");
346
+ attribute age, value integer @range(0..150);
347
+ attribute balance, value decimal;
348
+ attribute timestamp, value datetime-tz;
349
+ attribute status, value string @values("active", "inactive", "pending");
350
+
351
+ # Entities
352
+ entity person @abstract,
353
+ owns id @key,
354
+ owns name @card(1),
355
+ owns email @unique,
356
+ owns age;
357
+
358
+ entity user sub person,
359
+ owns balance,
360
+ plays friendship:friend,
361
+ plays employment:employee;
362
+
363
+ entity company,
364
+ owns id @key,
365
+ owns name,
366
+ plays employment:employer;
367
+
368
+ # Relations
369
+ relation friendship,
370
+ relates friend @card(2);
371
+
372
+ relation employment,
373
+ relates employer @card(1),
374
+ relates employee @card(1..),
375
+ owns timestamp,
376
+ owns status;
377
+ ```
378
+
379
+ ### Undefine (Remove Schema Elements)
380
+
381
+ ```typeql
382
+ # Remove a type
383
+ undefine user;
384
+
385
+ # Remove ownership from a type
386
+ undefine owns email from user;
387
+
388
+ # Remove role playing from a type
389
+ undefine plays friendship:friend from user;
390
+
391
+ # Remove a role from a relation
392
+ undefine relates employee from employment;
393
+
394
+ # Remove an annotation
395
+ undefine @unique from user owns email;
396
+
397
+ # Remove a function
398
+ undefine fun calculate_score;
399
+ ```
400
+
401
+ ### Redefine (Modify Schema Elements)
402
+
403
+ ```typeql
404
+ # Redefine type hierarchy (one change per query)
405
+ redefine user sub page;
406
+
407
+ # Redefine attribute value type
408
+ redefine karma value integer;
409
+
410
+ # Redefine annotation
411
+ redefine email value string @regex("^.*@typedb\\.com$");
412
+
413
+ # Redefine role specialization
414
+ redefine fathership relates father as parent;
415
+ ```
416
+
417
+ ---
418
+
419
+ ## Data Pipelines
420
+
421
+ TypeQL queries are **pipelines** of stages. Each stage accepts a stream of answers and outputs a stream.
422
+
423
+ ### Pipeline Categories
424
+
425
+ - **Write Pipelines**: Contain insert, delete, update, or put stages
426
+ - **Read Pipelines**: Only retrieve data (match, fetch, select)
427
+
428
+ ### Pipeline Stages
429
+
430
+ | Stage | Purpose | Transaction Type |
431
+ |-------|---------|------------------|
432
+ | `match` | Find existing data | READ, WRITE, SCHEMA |
433
+ | `insert` | Create new data | WRITE |
434
+ | `delete` | Remove data | WRITE |
435
+ | `update` | Modify single-cardinality data | WRITE |
436
+ | `put` | Insert if not exists | WRITE |
437
+ | `fetch` | Format output as JSON | READ |
438
+ | `select` | Keep specified variables | READ |
439
+ | `reduce` | Aggregate results | READ |
440
+ | `sort` | Order results | READ |
441
+ | `limit` | Restrict result count | READ |
442
+ | `offset` | Skip initial results | READ |
443
+ | `distinct` | Remove duplicates | READ |
444
+ | `require` | Filter elements with variables | READ |
445
+ | `with` | Define ad-hoc functions | READ |
446
+
447
+ ---
448
+
449
+ ## Query Operations
450
+
451
+ ### Match (Read Data)
452
+
453
+ ```typeql
454
+ # Basic match
455
+ match $u isa user;
456
+ select $u;
457
+
458
+ # Match with attributes
459
+ match
460
+ $u isa user,
461
+ has name $n,
462
+ has age $a;
463
+ select $u, $n, $a;
464
+
465
+ # Match with conditions
466
+ match
467
+ $u isa user, has age $a;
468
+ $a >= 18;
469
+ select $u;
470
+
471
+ # Match relations
472
+ match
473
+ $f isa friendship,
474
+ links (friend: $u1, friend: $u2);
475
+ $u1 has name "Alice";
476
+ select $u2;
477
+
478
+ # Match with negation
479
+ match
480
+ $u isa user;
481
+ not { $u has status "inactive"; };
482
+ select $u;
483
+
484
+ # Match with disjunction (OR)
485
+ match
486
+ $u isa user;
487
+ { $u has status "active"; } or { $u has status "pending"; };
488
+ select $u;
489
+
490
+ # Match with optional
491
+ match
492
+ $u isa user, has name $n;
493
+ try { $u has email $e; }; # Optional email
494
+ select $n, $e;
495
+ ```
496
+
497
+ ### Insert (Create Data)
498
+
499
+ ```typeql
500
+ # Insert entity with attributes
501
+ insert $u isa user,
502
+ has id "user-001",
503
+ has name "Alice",
504
+ has age 30;
505
+
506
+ # Insert multiple entities
507
+ insert
508
+ $u1 isa user, has id "u1", has name "Alice";
509
+ $u2 isa user, has id "u2", has name "Bob";
510
+
511
+ # Match-Insert (create based on existing data)
512
+ match
513
+ $u1 isa user, has name "Alice";
514
+ $u2 isa user, has name "Bob";
515
+ insert
516
+ $f isa friendship, links (friend: $u1, friend: $u2);
517
+
518
+ # Insert relation with attributes
519
+ insert
520
+ $e isa employment,
521
+ links (employer: $company, employee: $person),
522
+ has timestamp 2025-01-15T10:00:00,
523
+ has status "active";
524
+ ```
525
+
526
+ ### Delete (Remove Data)
527
+
528
+ ```typeql
529
+ # Delete an entity (cascades to relations and owned attributes)
530
+ match $u isa user, has id "user-001";
531
+ delete $u;
532
+
533
+ # Delete an attribute (the attribute value itself)
534
+ match
535
+ $u isa user, has id "user-001";
536
+ $u has email $e;
537
+ delete $e;
538
+
539
+ # Delete ownership (keep attribute, remove from owner)
540
+ match
541
+ $u isa user, has id "user-001";
542
+ $u has nickname $n;
543
+ delete has $n of $u;
544
+
545
+ # Delete role player from relation
546
+ match
547
+ $f isa friendship, links (friend: $u);
548
+ $u has id "user-001";
549
+ delete links (friend: $u) of $f;
550
+
551
+ # Delete relation
552
+ match $f isa friendship;
553
+ delete $f;
554
+ ```
555
+
556
+ ### Update (Modify Single-Cardinality Data)
557
+
558
+ ```typeql
559
+ # Update works ONLY for @card(0..1) or @card(1)
560
+ match $u isa user, has id "user-001";
561
+ update $u has status "inactive";
562
+
563
+ # Update replaces the value or adds if none exists
564
+ match $u isa user, has name "Alice";
565
+ update $u has age 31;
566
+ ```
567
+
568
+ ### Put (Upsert - Insert if Not Exists)
569
+
570
+ ```typeql
571
+ # Put entire pattern
572
+ put $u isa user, has id "user-001", has name "Alice";
573
+
574
+ # Put is all-or-nothing
575
+ # If ANY part doesn't match, entire pattern is inserted
576
+ put
577
+ $u isa user, has id "user-001";
578
+ $u has status "active";
579
+ ```
580
+
581
+ ### Select (Project Variables)
582
+
583
+ ```typeql
584
+ # Select specific variables
585
+ match $u isa user, has name $n, has age $a;
586
+ select $n, $a;
587
+
588
+ # Select with expressions
589
+ match
590
+ $u isa user, has age $a;
591
+ let $next_year = $a + 1;
592
+ select $u, $next_year;
593
+ ```
594
+
595
+ ### Fetch (JSON Output)
596
+
597
+ ```typeql
598
+ # Basic fetch
599
+ match $u isa user;
600
+ fetch {
601
+ "name": $u.name,
602
+ "email": $u.email
603
+ };
604
+
605
+ # Fetch with subquery
606
+ match $u isa user;
607
+ fetch {
608
+ "user": $u.name,
609
+ "friends": [
610
+ match ($u, $friend) isa friendship;
611
+ fetch { "friend_name": $friend.name };
612
+ ]
613
+ };
614
+
615
+ # Fetch all attributes
616
+ match $u isa user;
617
+ fetch {
618
+ "user_data": { $u.* }
619
+ };
620
+ ```
621
+
622
+ ### Reduce (Aggregations)
623
+
624
+ ```typeql
625
+ # Count
626
+ match $u isa user;
627
+ reduce $count = count;
628
+
629
+ # Multiple aggregations
630
+ match $u isa user, has age $a;
631
+ reduce
632
+ $count = count,
633
+ $avg_age = mean($a),
634
+ $max_age = max($a),
635
+ $min_age = min($a),
636
+ $total_age = sum($a);
637
+
638
+ # Group by
639
+ match
640
+ $u isa user, has status $s, has age $a;
641
+ reduce $count = count, $avg = mean($a) groupby $s;
642
+
643
+ # Available aggregation functions:
644
+ # count, sum, mean, median, min, max, std, list
645
+ ```
646
+
647
+ ### Sort, Limit, Offset
648
+
649
+ ```typeql
650
+ # Sort ascending (default)
651
+ match $u isa user, has age $a;
652
+ select $u, $a;
653
+ sort $a;
654
+
655
+ # Sort descending
656
+ match $u isa user, has score $s;
657
+ select $u, $s;
658
+ sort $s desc;
659
+
660
+ # Multiple sort keys
661
+ match $u isa user, has name $n, has age $a;
662
+ select $n, $a;
663
+ sort $a desc, $n asc;
664
+
665
+ # Pagination
666
+ match $u isa user;
667
+ select $u;
668
+ sort $u;
669
+ offset 20;
670
+ limit 10;
671
+ ```
672
+
673
+ ### Distinct
674
+
675
+ ```typeql
676
+ # Remove duplicate results
677
+ match
678
+ $f isa friendship, links (friend: $u);
679
+ select $u;
680
+ distinct;
681
+ ```
682
+
683
+ ---
684
+
685
+ ## Functions
686
+
687
+ Functions replace rules from TypeDB 2.x. They are **read-only** query abstractions.
688
+
689
+ ### Function Syntax
690
+
691
+ ```typeql
692
+ define
693
+
694
+ # Scalar function (returns single value)
695
+ fun user_age($user: user) -> integer:
696
+ match $user has age $a;
697
+ return first $a;
698
+
699
+ # Stream function (returns multiple values)
700
+ fun user_friends($user: user) -> { user }:
701
+ match ($user, $friend) isa friendship;
702
+ return { $friend };
703
+
704
+ # Tuple function (returns multiple values per row)
705
+ fun user_info($user: user) -> string, integer:
706
+ match $user has name $n, has age $a;
707
+ return first $n, $a;
708
+
709
+ # Aggregation function
710
+ fun friend_count($user: user) -> integer:
711
+ match ($user, $friend) isa friendship;
712
+ return count($friend);
713
+
714
+ # Recursive function (transitive closure).
715
+ # `node` is a DEAD NAME in this repo — use the real domain type.
716
+ fun reachable($from: city) -> { city }:
717
+ match
718
+ { $_ isa flight, links (from: $from, to: $to); }
719
+ or {
720
+ let $mid in reachable($from);
721
+ $_ isa flight, links (from: $mid, to: $to);
722
+ };
723
+ return { $to };
724
+ ```
725
+
726
+ ### Using Functions in Queries
727
+
728
+ ```typeql
729
+ # Using scalar function
730
+ match
731
+ $u isa user;
732
+ let $age = user_age($u);
733
+ $age > 18;
734
+ select $u;
735
+
736
+ # Using stream function
737
+ match
738
+ $u isa user, has name "Alice";
739
+ let $friend in user_friends($u);
740
+ select $friend;
741
+
742
+ # Using tuple function
743
+ match
744
+ $u isa user;
745
+ let $name, $age = user_info($u);
746
+ select $name, $age;
747
+ ```
748
+
749
+ ### Ad-hoc Functions with `with`
750
+
751
+ ```typeql
752
+ with
753
+ fun is_adult($u: user) -> boolean:
754
+ match $u has age $a; $a >= 18;
755
+ let $ok = true; # bind — `return first true` is a TQL0 syntax error
756
+ return first $ok;
757
+ match
758
+ $u isa user;
759
+ let $adult = is_adult($u);
760
+ $adult == true;
761
+ select $u;
762
+ ```
763
+
764
+ A `with fun` block runs inside a plain **read** transaction, which makes it the
765
+ cheapest way to test function syntax against a live server without opening a
766
+ schema transaction. Every re-probe in the VERIFIED table above was done this way.
767
+
768
+ Each ad-hoc function needs **its own `with`** — `with fun a(…): …; fun b(…): …;`
769
+ is a parse error (`expected query_pipeline or WITH`). Write
770
+ `with fun a(…): …; with fun b(…): …; match …` and `b` may call `a`.
771
+
772
+ ---
773
+
774
+ ## Inference Rules (Emergence Patterns)
775
+
776
+ **There are no rules in TypeDB 3.x.** The `rule <name>: when { … } then { … };`
777
+ construct was removed with the 2.x line, and the live 3.12.1 schema dump contains
778
+ zero of them. Everything this section used to show as a rule is written as a
779
+ `fun` today. The translation is mechanical and lossy in exactly one place:
780
+
781
+ | 2.x rule | 3.x function |
782
+ |---|---|
783
+ | `when { … }` | the `match` body |
784
+ | `then { $e has tier "elite"; }` | a `let $tier = "elite";` binding + `return first $tier` |
785
+ | fires automatically, writes derived facts into the graph | evaluated **on call**; derives nothing until something calls it |
786
+ | chained rules (rule B reads rule A's output) | function composition — B calls A, or (faster) B inlines A's body |
787
+ | rule firing order / priority | the top-down order of the disjunction branches, visible in the source |
788
+ | `?val = $a / $b` value variables | `let $val = $a / $b;` — all variables use `$` |
789
+
790
+ The loss is the automatic part: a rule *materialised* derived facts, a function
791
+ *computes* them per query. Nothing in the graph changes until a caller asks.
792
+
793
+ ### Basic classification
794
+
795
+ The 2.x "elite pattern" rule becomes a classifier that returns the tier. Note the
796
+ shape: **an exhaustive disjunction, each branch binding the same `let`, closed by
797
+ `return first $var`.** There is no `if/then/else` expression in TypeQL — see the
798
+ VERIFIED table.
799
+
800
+ ```typeql
801
+ define
802
+
803
+ fun edge_tier($e: path) -> string:
804
+ match
805
+ $e has strength $s, has resistance $r, has traversals $t;
806
+ { $s >= 70.0; $t >= 50;
807
+ let $tier = "elite"; }
808
+ or { $r >= 25.0; not { $s >= 70.0; $t >= 50; };
809
+ let $tier = "danger"; }
810
+ or { not { $s >= 70.0; $t >= 50; };
811
+ not { $r >= 25.0; };
812
+ let $tier = "active"; };
813
+ return first $tier;
814
+ ```
815
+
816
+ Every branch after the first must **negate the earlier branches' conditions**.
817
+ A disjunction is not a cascade: without the `not { … }` guards, a path matching
818
+ two branches yields two rows and `return first` picks an arbitrary one. This is
819
+ the single most common bug when porting a chained rule set. `path_status` in
820
+ `schema/reason.tql:63` is the deployed five-branch example — read it before
821
+ writing your own.
822
+
823
+ ### Chained rules become composition
824
+
825
+ A rule that read another rule's derived fact becomes a function that calls it:
826
+
827
+ ```typeql
828
+ define
829
+
830
+ fun hardening_ready($e: path) -> boolean:
831
+ match
832
+ $e has traversals $t, has strength $s;
833
+ $t >= 100; $s >= 80.0;
834
+ let $tier = edge_tier($e);
835
+ $tier == "elite";
836
+ let $ok = true;
837
+ return first $ok;
838
+ ```
839
+
840
+ For anything hot, **inline the body instead of calling** — a call is an
841
+ optimisation barrier, and the deployed `preflight` inlines its three pre-checks
842
+ rather than calling `can_receive`/`is_safe`/`within_budget` for exactly this
843
+ reason.
844
+
845
+ ### Disjunction over a single value
846
+
847
+ ```typeql
848
+ define
849
+
850
+ fun path_pressure($p: path) -> string:
851
+ match
852
+ $p has resistance $r;
853
+ { $r > 25.0; let $sev = "high"; }
854
+ or { $r <= 25.0; let $sev = "normal"; };
855
+ return first $sev;
856
+ ```
857
+
858
+ ### Computed values
859
+
860
+ `?acc = $cp / $tp` becomes `let $acc = $cp / $tp;`. The result is returned, not
861
+ written back to the instance — **a function cannot write.**
862
+
863
+ ```typeql
864
+ define
865
+
866
+ fun delivery_rate($p: path) -> double:
867
+ match
868
+ $p has attempts $a, has deliveries $d;
869
+ $a >= 20;
870
+ let $rate = $d / $a;
871
+ return first $rate;
872
+ ```
873
+
874
+ ### Querying derived values
875
+
876
+ In 2.x you matched the materialised fact. In 3.x you call the function and
877
+ compare its result:
878
+
879
+ ```typeql
880
+ # 2.x: match $e isa signal-edge, has tier "elite"; <- the fact was written
881
+ # 3.x: the tier is computed at query time
882
+ match
883
+ $e isa path;
884
+ let $tier = edge_tier($e);
885
+ $tier == "elite";
886
+ select $e;
887
+ ```
888
+
889
+ **If you need the derived value to persist** — because you want to index it,
890
+ sort a large set by it, or hand it to a non-TypeQL consumer — compute it in the
891
+ caller and write it back with `update`. The substrate does this for path weights
892
+ (`readPathWeights` / `updatePathWeights` in `one.ie/web/src/lib/substrate.ts`),
893
+ because there is no in-database increment on this build (VERIFIED table).
894
+
895
+ ---
896
+
897
+ ## Patterns
898
+
899
+ ### Conjunctions (AND)
900
+
901
+ ```typeql
902
+ # Statements separated by semicolons form conjunctions
903
+ match
904
+ $u isa user;
905
+ $u has name "Alice";
906
+ $u has age $a;
907
+ $a > 18;
908
+ select $u;
909
+ ```
910
+
911
+ ### Disjunctions (OR)
912
+
913
+ ```typeql
914
+ match
915
+ $u isa user;
916
+ { $u has status "active"; } or { $u has status "pending"; };
917
+ select $u;
918
+
919
+ # Multiple branches
920
+ match
921
+ $u isa user;
922
+ { $u has role "admin"; }
923
+ or { $u has role "moderator"; }
924
+ or { $u has role "editor"; };
925
+ select $u;
926
+ ```
927
+
928
+ ### Negations (NOT)
929
+
930
+ ```typeql
931
+ match
932
+ $u isa user;
933
+ not { $u has status "deleted"; };
934
+ select $u;
935
+
936
+ # Negation with relations
937
+ match
938
+ $u isa user;
939
+ not { ($u) isa ban; };
940
+ select $u;
941
+ ```
942
+
943
+ ### Optionals (TRY)
944
+
945
+ ```typeql
946
+ # Optional attribute
947
+ match
948
+ $u isa user, has name $n;
949
+ try { $u has email $e; };
950
+ select $n, $e; # $e may be null
951
+
952
+ # Optional relation
953
+ match
954
+ $u isa user;
955
+ try { ($u, $manager) isa management; };
956
+ select $u, $manager;
957
+ ```
958
+
959
+ ### Variable Scope
960
+
961
+ - Variables have scope within their block `{ ... }` or the entire pattern
962
+ - Variables in ALL branches of a disjunction are in parent scope
963
+ - Variables in negations are scoped to the negation block
964
+
965
+ ---
966
+
967
+ ## Annotations
968
+
969
+ ### Cardinality Annotations
970
+
971
+ ```typeql
972
+ # Exact count
973
+ relates friend @card(2); # Exactly 2
974
+
975
+ # Range
976
+ owns email @card(0..1); # 0 or 1
977
+ owns phone @card(1..); # 1 or more
978
+ owns nickname @card(0..); # Any number (default for owns)
979
+
980
+ # Unlimited
981
+ plays role @card(0..); # Default for plays
982
+ ```
983
+
984
+ ### Uniqueness Annotations
985
+
986
+ ```typeql
987
+ # @key: Every owner has exactly one, unique across all owners
988
+ owns username @key;
989
+
990
+ # @unique: Unique across owners, but optional
991
+ owns email @unique;
992
+
993
+ # @subkey: Composite key from multiple attributes
994
+ owns first_name @subkey("full_name");
995
+ owns last_name @subkey("full_name");
996
+ ```
997
+
998
+ ### Value Constraint Annotations
999
+
1000
+ ```typeql
1001
+ # @values: Enumerated values
1002
+ attribute status, value string @values("active", "inactive", "pending");
1003
+
1004
+ # @range: Numeric/date range
1005
+ attribute age, value integer @range(0..150);
1006
+ attribute score, value double @range(0.0..100.0);
1007
+
1008
+ # @regex: String pattern
1009
+ attribute email, value string @regex("^[^@]+@[^@]+\\.[^@]+$");
1010
+
1011
+ # @distinct: Unique values in owned list
1012
+ owns tag @card(0..) @distinct;
1013
+ ```
1014
+
1015
+ ### Behavioral Annotations
1016
+
1017
+ ```typeql
1018
+ # @abstract: Cannot be instantiated
1019
+ entity content @abstract;
1020
+
1021
+ # @independent: Attribute survives without owners
1022
+ attribute log_entry, value string @independent;
1023
+
1024
+ # @cascade: Delete behavior for relations
1025
+ relation ownership,
1026
+ relates owner @cascade, # Delete relation when owner deleted
1027
+ relates owned;
1028
+ ```
1029
+
1030
+ ---
1031
+
1032
+ ## Value Types
1033
+
1034
+ | Type | Description | Example |
1035
+ |------|-------------|---------|
1036
+ | `boolean` | true/false | `true`, `false` |
1037
+ | `integer` | 64-bit signed | `42`, `-100` |
1038
+ | `double` | IEEE 754 double | `3.14`, `1e-10` |
1039
+ | `decimal` | Fixed-point | `123.456` |
1040
+ | `string` | UTF-8 text | `"Hello"` |
1041
+ | `date` | ISO 8601 date | `2025-01-15` |
1042
+ | `datetime` | Date + time | `2025-01-15T10:30:00` |
1043
+ | `datetime-tz` | With timezone | `2025-01-15T10:30:00+08:00` |
1044
+ | `duration` | ISO 8601 duration | `P1Y2M3DT4H5M6S` |
1045
+
1046
+ ### Value Literals in Queries
1047
+
1048
+ ```typeql
1049
+ insert $u isa user,
1050
+ has active true,
1051
+ has age 30,
1052
+ has score 95.5,
1053
+ has balance 1234.56,
1054
+ has name "Alice",
1055
+ has birth_date 1994-05-15,
1056
+ has created_at 2025-01-15T10:30:00,
1057
+ has created_with_tz 2025-01-15T10:30:00+08:00;
1058
+ ```
1059
+
1060
+ ---
1061
+
1062
+ ## Python Driver
1063
+
1064
+ ### Installation
1065
+
1066
+ ```bash
1067
+ pip install typedb-driver
1068
+ ```
1069
+
1070
+ ### Connection
1071
+
1072
+ ```python
1073
+ from typedb.driver import TypeDB, Credentials, DriverOptions, TransactionType
1074
+
1075
+ # Community Edition (no auth, no TLS)
1076
+ driver = TypeDB.driver("localhost:1729")
1077
+
1078
+ # TypeDB Cloud / Enterprise
1079
+ credentials = Credentials("username", "password")
1080
+ options = DriverOptions(
1081
+ is_tls_enabled=True,
1082
+ tls_root_ca_path="/path/to/ca.pem" # Optional for custom CA
1083
+ )
1084
+ driver = TypeDB.driver(
1085
+ "https://cluster.typedb.com:80",
1086
+ credentials,
1087
+ options
1088
+ )
1089
+
1090
+ # Context manager recommended
1091
+ with TypeDB.driver(address, credentials, options) as driver:
1092
+ # Operations here
1093
+ pass
1094
+ ```
1095
+
1096
+ ### Database Management
1097
+
1098
+ ```python
1099
+ # List databases
1100
+ databases = driver.databases.all()
1101
+
1102
+ # Check if exists
1103
+ exists = driver.databases.contains("my-database")
1104
+
1105
+ # Create database
1106
+ driver.databases.create("my-database")
1107
+
1108
+ # Get database
1109
+ db = driver.databases.get("my-database")
1110
+
1111
+ # Delete database
1112
+ db.delete()
1113
+
1114
+ # Get schema
1115
+ schema_str = db.schema()
1116
+ ```
1117
+
1118
+ ### Transaction Types
1119
+
1120
+ ```python
1121
+ from typedb.driver import TransactionType
1122
+
1123
+ # READ: Read-only queries, concurrent
1124
+ TransactionType.READ
1125
+
1126
+ # WRITE: Data modifications (insert, delete, update, put)
1127
+ TransactionType.WRITE
1128
+
1129
+ # SCHEMA: Schema modifications (define, undefine, redefine)
1130
+ TransactionType.SCHEMA
1131
+ ```
1132
+
1133
+ ### Query Execution
1134
+
1135
+ ```python
1136
+ # Read transaction
1137
+ with driver.transaction("my-database", TransactionType.READ) as tx:
1138
+ # Execute query
1139
+ promise = tx.query("match $u isa user; select $u; limit 10;")
1140
+ result = promise.resolve()
1141
+
1142
+ # Process results
1143
+ for row in result.as_concept_rows():
1144
+ user = row.get("u")
1145
+ print(f"User: {user.get_iid()}")
1146
+
1147
+ # Get attributes
1148
+ if user.is_entity():
1149
+ entity = user.as_entity()
1150
+ # Access via subsequent queries
1151
+
1152
+ # Write transaction
1153
+ with driver.transaction("my-database", TransactionType.WRITE) as tx:
1154
+ tx.query('insert $u isa user, has name "Alice";').resolve()
1155
+ tx.commit() # MUST commit!
1156
+
1157
+ # Schema transaction
1158
+ with driver.transaction("my-database", TransactionType.SCHEMA) as tx:
1159
+ tx.query("define entity new_type;").resolve()
1160
+ tx.commit()
1161
+ ```
1162
+
1163
+ ### Result Processing
1164
+
1165
+ ```python
1166
+ # Concept Rows (for select queries)
1167
+ result = tx.query("match $u isa user, has name $n; select $u, $n;").resolve()
1168
+ for row in result.as_concept_rows():
1169
+ user = row.get("u") # Get by variable name
1170
+ name = row.get("n")
1171
+
1172
+ # Type checking
1173
+ if user.is_entity():
1174
+ entity = user.as_entity()
1175
+ iid = entity.get_iid()
1176
+
1177
+ if name.is_attribute():
1178
+ attr = name.as_attribute()
1179
+ value = attr.get_string() # or get_integer(), get_double(), etc.
1180
+
1181
+ # Concept Documents (for fetch queries)
1182
+ result = tx.query("""
1183
+ match $u isa user;
1184
+ fetch { "name": $u.name, "age": $u.age };
1185
+ """).resolve()
1186
+ for doc in result.as_concept_documents():
1187
+ print(doc["name"])
1188
+ print(doc["age"])
1189
+
1190
+ # Schema queries (define/undefine/redefine)
1191
+ result = tx.query("define entity new_entity;").resolve()
1192
+ if result.is_ok():
1193
+ print("Schema updated successfully")
1194
+ ```
1195
+
1196
+ ### Type Checking and Casting
1197
+
1198
+ ```python
1199
+ # Type checks
1200
+ concept.is_entity()
1201
+ concept.is_relation()
1202
+ concept.is_attribute()
1203
+ concept.is_entity_type()
1204
+ concept.is_relation_type()
1205
+ concept.is_attribute_type()
1206
+ concept.is_type()
1207
+ concept.is_instance()
1208
+ concept.is_value()
1209
+
1210
+ # Type casting
1211
+ entity = concept.as_entity()
1212
+ relation = concept.as_relation()
1213
+ attribute = concept.as_attribute()
1214
+
1215
+ # Value extraction
1216
+ attr.get_string()
1217
+ attr.get_integer()
1218
+ attr.get_double()
1219
+ attr.get_decimal()
1220
+ attr.get_boolean()
1221
+ attr.get_date()
1222
+ attr.get_datetime()
1223
+ attr.get_datetime_tz()
1224
+ attr.get_duration()
1225
+
1226
+ # Safe extraction (returns None if wrong type)
1227
+ attr.try_get_string()
1228
+ attr.try_get_integer()
1229
+ ```
1230
+
1231
+ ### Transaction Options
1232
+
1233
+ ```python
1234
+ from typedb.driver import TransactionOptions
1235
+
1236
+ # Set transaction timeout (default 5 minutes)
1237
+ options = TransactionOptions(transaction_timeout_millis=120_000) # 2 minutes
1238
+
1239
+ # Set schema lock timeout (default 30 seconds)
1240
+ options = TransactionOptions(schema_lock_acquire_timeout_millis=60_000)
1241
+
1242
+ with driver.transaction("db", TransactionType.WRITE, options=options) as tx:
1243
+ # ...
1244
+ ```
1245
+
1246
+ ### Error Handling
1247
+
1248
+ ```python
1249
+ from typedb.driver import TypeDBDriverException
1250
+
1251
+ try:
1252
+ with driver.transaction("db", TransactionType.WRITE) as tx:
1253
+ tx.query("insert $u isa user, has name 'Alice';").resolve()
1254
+ tx.commit()
1255
+ except TypeDBDriverException as e:
1256
+ if "QEX" in str(e).upper():
1257
+ print("Query execution error")
1258
+ elif "TQL" in str(e).upper():
1259
+ print("TypeQL parsing error")
1260
+ else:
1261
+ print(f"Driver error: {e}")
1262
+ ```
1263
+
1264
+ ### Batch Operations
1265
+
1266
+ ```python
1267
+ # Batch insert with concurrent promises
1268
+ with driver.transaction("db", TransactionType.WRITE) as tx:
1269
+ promises = []
1270
+ for item in items:
1271
+ query = f"insert $x isa item, has name '{item}';"
1272
+ promises.append(tx.query(query))
1273
+
1274
+ # Resolve all
1275
+ for p in promises:
1276
+ p.resolve()
1277
+
1278
+ tx.commit()
1279
+
1280
+ # Chunked batch processing
1281
+ def insert_batch(driver, items, chunk_size=100):
1282
+ for i in range(0, len(items), chunk_size):
1283
+ chunk = items[i:i + chunk_size]
1284
+ with driver.transaction("db", TransactionType.WRITE) as tx:
1285
+ for item in chunk:
1286
+ tx.query(f"insert $x isa item, has name '{item}';").resolve()
1287
+ tx.commit()
1288
+ ```
1289
+
1290
+ ---
1291
+
1292
+ ## Transaction Management
1293
+
1294
+ ### Transaction Characteristics
1295
+
1296
+ | Type | Reads | Data Writes | Schema Writes | Concurrency |
1297
+ |------|-------|-------------|---------------|-------------|
1298
+ | READ | Yes | No | No | Fully concurrent |
1299
+ | WRITE | Yes | Yes | No | May conflict on commit |
1300
+ | SCHEMA | Yes | Yes | Yes | Exclusive (blocks writes) |
1301
+
1302
+ ### Snapshot Isolation
1303
+
1304
+ - Transactions operate on snapshots taken at open time
1305
+ - Changes visible within transaction, not to others until commit
1306
+ - ACID guarantees up to snapshot isolation
1307
+
1308
+ ### Commit Behavior
1309
+
1310
+ ```python
1311
+ # Write transactions MUST commit
1312
+ with driver.transaction("db", TransactionType.WRITE) as tx:
1313
+ tx.query("insert ...").resolve()
1314
+ tx.commit() # Required!
1315
+
1316
+ # Read transactions auto-close, no commit needed
1317
+ with driver.transaction("db", TransactionType.READ) as tx:
1318
+ result = tx.query("match ...").resolve()
1319
+ # Auto-closes when exiting context
1320
+
1321
+ # Explicit rollback
1322
+ with driver.transaction("db", TransactionType.WRITE) as tx:
1323
+ try:
1324
+ tx.query("insert ...").resolve()
1325
+ if something_wrong:
1326
+ tx.rollback() # Discard changes
1327
+ return
1328
+ tx.commit()
1329
+ except:
1330
+ # Transaction auto-rollbacks on exception
1331
+ raise
1332
+ ```
1333
+
1334
+ ### Conflict Handling
1335
+
1336
+ ```python
1337
+ import time
1338
+ import random
1339
+
1340
+ def write_with_retry(driver, query, max_retries=3):
1341
+ for attempt in range(max_retries):
1342
+ try:
1343
+ with driver.transaction("db", TransactionType.WRITE) as tx:
1344
+ tx.query(query).resolve()
1345
+ tx.commit()
1346
+ return True
1347
+ except TypeDBDriverException as e:
1348
+ if "conflict" in str(e).lower() and attempt < max_retries - 1:
1349
+ wait_time = 0.1 * (2 ** attempt) + random.uniform(0, 0.1)
1350
+ time.sleep(wait_time)
1351
+ continue
1352
+ raise
1353
+ return False
1354
+ ```
1355
+
1356
+ ---
1357
+
1358
+ ## Best Practices
1359
+
1360
+ ### Connection Management
1361
+
1362
+ ```python
1363
+ # DO: Use context managers
1364
+ with TypeDB.driver(address, credentials, options) as driver:
1365
+ with driver.transaction("db", TransactionType.READ) as tx:
1366
+ # ...
1367
+
1368
+ # DO: Reuse single driver instance
1369
+ class DatabaseClient:
1370
+ def __init__(self):
1371
+ self.driver = TypeDB.driver(address, credentials, options)
1372
+
1373
+ def close(self):
1374
+ self.driver.close()
1375
+
1376
+ # DON'T: Create new drivers per query
1377
+ def bad_query():
1378
+ driver = TypeDB.driver(...) # Expensive!
1379
+ # ...
1380
+ driver.close()
1381
+ ```
1382
+
1383
+ ### Query Patterns
1384
+
1385
+ ```python
1386
+ # DO: Batch operations
1387
+ with driver.transaction("db", TransactionType.WRITE) as tx:
1388
+ for item in items:
1389
+ tx.query(f"insert $x isa item, has name '{item}';")
1390
+ tx.commit()
1391
+
1392
+ # DON'T: One transaction per insert
1393
+ for item in items:
1394
+ with driver.transaction("db", TransactionType.WRITE) as tx:
1395
+ tx.query(f"insert $x isa item, has name '{item}';").resolve()
1396
+ tx.commit() # Too many commits!
1397
+ ```
1398
+
1399
+ ### Security
1400
+
1401
+ ```python
1402
+ # DO: Use environment variables for credentials
1403
+ import os
1404
+ credentials = Credentials("admin", os.environ["TYPEDB_PASSWORD"])
1405
+
1406
+ # DO: Enable TLS in production
1407
+ options = DriverOptions(is_tls_enabled=True)
1408
+
1409
+ # DON'T: Hardcode credentials
1410
+ credentials = Credentials("admin", "password123") # Bad!
1411
+ ```
1412
+
1413
+ ---
1414
+
1415
+ ## Query Optimization
1416
+
1417
+ ### Predicate Pushdown
1418
+
1419
+ ```typeql
1420
+ # FAST: Constraints in single match stage
1421
+ match
1422
+ $u isa user;
1423
+ $u has username "john_1";
1424
+ select $u;
1425
+
1426
+ # SLOW: Constraints across stages
1427
+ match $u isa user;
1428
+ match $u has username "john_1"; # Large intermediate result!
1429
+ select $u;
1430
+ ```
1431
+
1432
+ ### Type Specificity
1433
+
1434
+ ```typeql
1435
+ # FAST: Use specific type
1436
+ match $s isa scout, has fitness $f;
1437
+ select $s, $f;
1438
+
1439
+ # SLOW: Generic type with late filtering
1440
+ match
1441
+ $a isa ant, has fitness $f; # Scans all ants
1442
+ $a isa scout; # Late type restriction
1443
+ select $a, $f;
1444
+ ```
1445
+
1446
+ ### Avoid Cartesian Products
1447
+
1448
+ ```typeql
1449
+ # BAD: N x M combinations
1450
+ match
1451
+ $a isa agent;
1452
+ $b isa agent;
1453
+ select $a, $b;
1454
+
1455
+ # GOOD: Connected through relation
1456
+ match
1457
+ $a isa agent;
1458
+ $b isa agent;
1459
+ (parent: $a, child: $b) isa reproduction;
1460
+ select $a, $b;
1461
+ ```
1462
+
1463
+ ### Use Limits for Exploration
1464
+
1465
+ ```typeql
1466
+ # GOOD: Limit exploratory queries
1467
+ match $u isa user;
1468
+ select $u;
1469
+ limit 10;
1470
+
1471
+ # BAD: No limit on large datasets
1472
+ match $u isa user;
1473
+ select $u; # Could return millions
1474
+ ```
1475
+
1476
+ ### Batch Inserts
1477
+
1478
+ ```typeql
1479
+ # GOOD: Single transaction
1480
+ insert
1481
+ $a1 isa agent, has id "a1";
1482
+ $a2 isa agent, has id "a2";
1483
+ $a3 isa agent, has id "a3";
1484
+
1485
+ # BAD: Multiple transactions
1486
+ insert $a1 isa agent, has id "a1";
1487
+ -- commit --
1488
+ insert $a2 isa agent, has id "a2";
1489
+ -- commit --
1490
+ ```
1491
+
1492
+ ### Existence Checks
1493
+
1494
+ ```typeql
1495
+ # Efficient existence check
1496
+ match $x isa user, has email "test@example.com";
1497
+ reduce $exists = count;
1498
+ -- Check if $exists > 0
1499
+
1500
+ # Or with early exit
1501
+ match $x isa user, has email "test@example.com";
1502
+ limit 1;
1503
+ ```
1504
+
1505
+ ---
1506
+
1507
+ ## Complete Keyword Reference
1508
+
1509
+ ### Schema Keywords
1510
+
1511
+ | Keyword | Purpose | Example |
1512
+ |---------|---------|---------|
1513
+ | `define` | Begin schema definition | `define entity user;` |
1514
+ | `undefine` | Remove schema element | `undefine user;` |
1515
+ | `redefine` | Modify schema element | `redefine user sub page;` |
1516
+ | `entity` | Define entity type | `entity person;` |
1517
+ | `relation` | Define relation type | `relation friendship;` |
1518
+ | `attribute` | Define attribute type | `attribute name, value string;` |
1519
+ | `struct` | Define struct type | `struct address;` |
1520
+ | `sub` | Define subtype | `entity employee sub person;` |
1521
+ | `relates` | Define relation role | `relates friend;` |
1522
+ | `plays` | Type plays role | `plays friendship:friend;` |
1523
+ | `owns` | Type owns attribute | `owns name;` |
1524
+ | `value` | Attribute value type | `value string;` |
1525
+ | `as` | Role specialization | `relates author as subject;` |
1526
+ | `fun` | Define function | `fun name() -> type:` |
1527
+
1528
+ ### Data Pipeline Keywords
1529
+
1530
+ | Keyword | Purpose | Example |
1531
+ |---------|---------|---------|
1532
+ | `match` | Find existing data | `match $u isa user;` |
1533
+ | `insert` | Create data | `insert $u isa user;` |
1534
+ | `delete` | Remove data | `delete $u;` |
1535
+ | `update` | Modify data | `update $u has age 31;` |
1536
+ | `put` | Insert if not exists | `put $u isa user;` |
1537
+ | `fetch` | JSON output | `fetch { "name": $u.name };` |
1538
+ | `select` | Project variables | `select $u, $n;` |
1539
+ | `reduce` | Aggregate | `reduce $count = count;` |
1540
+ | `sort` | Order results | `sort $a desc;` |
1541
+ | `limit` | Restrict count | `limit 10;` |
1542
+ | `offset` | Skip results | `offset 20;` |
1543
+ | `distinct` | Remove duplicates | `distinct;` |
1544
+ | `require` | Filter nulls | `require $optional;` |
1545
+ | `with` | Ad-hoc functions | `with fun f() -> ...` |
1546
+
1547
+ ### Pattern Keywords
1548
+
1549
+ | Keyword | Purpose | Example |
1550
+ |---------|---------|---------|
1551
+ | `or` | Disjunction | `{ ... } or { ... };` |
1552
+ | `not` | Negation | `not { $u has status "deleted"; };` |
1553
+ | `try` | Optional | `try { $u has email $e; };` |
1554
+ | `isa` | Type constraint | `$u isa user;` |
1555
+ | `has` | Attribute ownership | `$u has name "Alice";` |
1556
+ | `links` | Relation role | `links (friend: $u);` |
1557
+ | `is` | Variable equality | `$a is $b;` |
1558
+ | `let` | Assign expression | `let $x = $a + $b;` |
1559
+ | `in` | Iterate stream | `let $x in function();` |
1560
+ | `contains` | Substring match | `$s contains "test";` |
1561
+ | `like` | Regex match | `$s like "^test.*";` |
1562
+
1563
+ ### Aggregation Functions
1564
+
1565
+ | Function | Purpose | Example |
1566
+ |----------|---------|---------|
1567
+ | `count` | Count items | `reduce $c = count;` |
1568
+ | `sum` | Sum values | `reduce $s = sum($val);` |
1569
+ | `mean` | Average | `reduce $avg = mean($val);` |
1570
+ | `median` | Median | `reduce $med = median($val);` |
1571
+ | `min` | Minimum | `reduce $min = min($val);` |
1572
+ | `max` | Maximum | `reduce $max = max($val);` |
1573
+ | `std` | Std deviation | `reduce $std = std($val);` |
1574
+ | `list` | Collect to list | `reduce $items = list($item);` |
1575
+
1576
+ ### Annotations
1577
+
1578
+ | Annotation | Purpose | Example |
1579
+ |------------|---------|---------|
1580
+ | `@abstract` | Cannot instantiate | `entity content @abstract;` |
1581
+ | `@key` | Unique identifier | `owns id @key;` |
1582
+ | `@unique` | Unique optional | `owns email @unique;` |
1583
+ | `@subkey` | Composite key | `owns part @subkey("composite");` |
1584
+ | `@card` | Cardinality | `owns name @card(1..3);` |
1585
+ | `@values` | Enum values | `@values("a", "b", "c");` |
1586
+ | `@range` | Value range | `@range(0..100);` |
1587
+ | `@regex` | String pattern | `@regex("^[a-z]+$");` |
1588
+ | `@distinct` | Unique in list | `owns tag @distinct;` |
1589
+ | `@independent` | Survives unowned | `@independent;` |
1590
+ | `@cascade` | Delete behavior | `relates owner @cascade;` |
1591
+
1592
+ ---
1593
+
1594
+ ## Mental Models (Type Theory, Polymorphism, Dependent Types)
1595
+
1596
+ These are the ideas that make TypeQL feel inevitable rather than arbitrary. They're the difference between writing valid TypeQL and writing *idiomatic* TypeQL. Sources: the 2024 PACMMOD paper and TypeDB's 2023–2024 lecture series (`MF2vaEo3o58`, `2S0zPXQCy0U`, `IJomvpKbevk`, `LMzZoq6fUqg` on the Vaticle YouTube channel).
1597
+
1598
+ ### Queries as Types
1599
+
1600
+ SQL view: a query is a *plan* — an operational recipe of joins, filters, projections that transforms tables into tables.
1601
+
1602
+ TypeQL view: a query is a *type* — a declarative description of the domain of data you want. The pattern **is** the type.
1603
+
1604
+ ```typeql
1605
+ # Reads as: "the type of (u, n) pairs where u is a user and u owns name n"
1606
+ match $u isa user, has name $n;
1607
+ ```
1608
+
1609
+ The planner is free to reorder, parallelize, index, push predicates — it just has to preserve the type. This is why TypeQL schemas stay small as systems grow: you don't need a new query for every shape of question, because polymorphism is baked into the type system.
1610
+
1611
+ ### Relations as Dependent Types
1612
+
1613
+ A relation in TypeDB is a **dependent type**: its instances depend on instances of its role players. Formally, `friendship` is parameterized by two `person`s; you cannot instantiate it without them.
1614
+
1615
+ ```typeql
1616
+ define
1617
+ relation friendship,
1618
+ relates friend @card(2);
1619
+ ```
1620
+
1621
+ Consequences:
1622
+ - **Integrity** — you can't create a relation pointing at nothing (contrast: SQL allows NULL foreign keys, graph DBs allow dangling edges).
1623
+ - **Cascade** — deleting a role player can trigger deletion of the relation (`@cascade`), because the relation *depends* on the player.
1624
+ - **n-ary** — relations aren't stuck at binary (unlike property graphs' edges). `relation meeting, relates organizer, relates attendee, relates venue;`
1625
+
1626
+ ### Interface Polymorphism (Role Playing)
1627
+
1628
+ Roles are **interfaces**. Multiple unrelated types can implement the same role, and relations referencing that role automatically work for all implementers.
1629
+
1630
+ ```typeql
1631
+ define
1632
+ entity person, plays adoption:parent, plays adoption:child;
1633
+ entity company, plays adoption:parent; # companies can adopt (projects, subsidiaries)
1634
+ entity organization, plays adoption:parent;
1635
+ relation adoption,
1636
+ relates parent,
1637
+ relates child;
1638
+ ```
1639
+
1640
+ A single query works for every combination — person→person, company→person, organization→person — with no rewriting. When a new type joins (`entity foundation, plays adoption:parent;`), existing queries automatically include it.
1641
+
1642
+ This is why Haskell calls them *typeclasses*, Rust calls them *traits*, and TypeDB calls them *roles*. Same idea, applied to a database.
1643
+
1644
+ ### Abstract Types and Subtyping
1645
+
1646
+ Entities, relations, AND attributes can be abstract and subtyped — this is richer than any of the three classical database paradigms.
1647
+
1648
+ ```typeql
1649
+ define
1650
+ entity resource @abstract, owns id, plays ownership:resource;
1651
+ entity file sub resource, owns path;
1652
+ entity directory sub resource, owns path;
1653
+
1654
+ attribute id @abstract, value string;
1655
+ attribute email sub id;
1656
+ attribute path sub id;
1657
+ ```
1658
+
1659
+ A query against `$r isa resource` returns files AND directories. A query against `$x has id` returns anything with *any* subtype of `id` — email, path, anything added later.
1660
+
1661
+ ---
1662
+
1663
+ ## Canonical Polymorphic Example: Filesystem + Ownership
1664
+
1665
+ This schema (from the TypeDB Fundamentals docs) is the canonical teaching example for polymorphism. It demonstrates abstract entities, role aliasing in subrelations, abstract attribute hierarchies, and polymorphic fetch.
1666
+
1667
+ ```typeql
1668
+ define
1669
+
1670
+ # Actors
1671
+ entity user,
1672
+ owns email,
1673
+ owns password-hash,
1674
+ owns created-timestamp,
1675
+ owns active,
1676
+ plays resource-ownership:resource-owner;
1677
+
1678
+ entity admin sub user,
1679
+ plays group-ownership:group-owner;
1680
+
1681
+ entity user-group,
1682
+ owns name,
1683
+ owns created-timestamp,
1684
+ plays group-ownership:group,
1685
+ plays resource-ownership:resource-owner;
1686
+
1687
+ # Abstract base + concrete resources
1688
+ entity resource @abstract,
1689
+ owns id,
1690
+ owns created-timestamp,
1691
+ owns modified-timestamp,
1692
+ plays resource-ownership:resource;
1693
+
1694
+ entity file sub resource,
1695
+ owns path;
1696
+
1697
+ entity directory sub resource,
1698
+ owns path;
1699
+
1700
+ # Abstract relation + role aliasing in subrelations
1701
+ relation ownership @abstract,
1702
+ relates owned,
1703
+ relates owner;
1704
+
1705
+ relation group-ownership sub ownership,
1706
+ relates group as owned, # subrelation renames the inherited role
1707
+ relates group-owner as owner;
1708
+
1709
+ relation resource-ownership sub ownership,
1710
+ relates resource as owned,
1711
+ relates resource-owner as owner;
1712
+
1713
+ # Abstract attribute hierarchy
1714
+ attribute id @abstract, value string;
1715
+ attribute email sub id;
1716
+ attribute name sub id;
1717
+ attribute path sub id;
1718
+ attribute password-hash, value string;
1719
+
1720
+ attribute event-timestamp @abstract, value datetime;
1721
+ attribute created-timestamp sub event-timestamp;
1722
+ attribute modified-timestamp sub event-timestamp;
1723
+ attribute active, value boolean;
1724
+ ```
1725
+
1726
+ ### Polymorphic fetch over this schema
1727
+
1728
+ ```typeql
1729
+ # Returns every resource of every subtype (files AND directories)
1730
+ # with all their timestamps (created AND modified, since both sub event-timestamp).
1731
+ match
1732
+ $resource isa resource;
1733
+ fetch {
1734
+ "resource": {
1735
+ "id": $resource.id,
1736
+ "event-timestamp": [ $resource.event-timestamp ],
1737
+ }
1738
+ };
1739
+ ```
1740
+
1741
+ The `[...]` brackets around `$resource.event-timestamp` tell `fetch` this is a multi-valued projection. Because the resource owns `created-timestamp` and `modified-timestamp` (both subtypes of `event-timestamp`), the polymorphic fetch returns both.
1742
+
1743
+ ---
1744
+
1745
+ ## TypeDB 3.x Feature Deep Dive
1746
+
1747
+ These are 3.0+ features that change how you model data. Previously unavailable in 2.x.
1748
+
1749
+ > **Three of these are UNVERIFIED here.** `struct`, list value types
1750
+ > (`value string[]`) and `@index` have **zero occurrences** in `schema/*.tql`
1751
+ > and **zero** in the live `GET /v1/databases/one/schema` dump, and confirming
1752
+ > them needs a schema transaction, which is a write. Treat the `struct`, *List
1753
+ > Attributes* and *Relation Indexing* subsections below as upstream-documentation
1754
+ > summaries, not as things known to work on 3.12.1. Probe with a `commit:false`
1755
+ > schema tx before relying on any of them. `@cascade` and `@subkey` are in the
1756
+ > same position.
1757
+
1758
+ ### Cascading Delete
1759
+
1760
+ Delete semantics are explicit via `@cascade` on relation roles. When the annotated role player is deleted, the relation itself is also deleted.
1761
+
1762
+ ```typeql
1763
+ define
1764
+ relation ownership,
1765
+ relates owner @cascade, # if owner deleted → delete relation
1766
+ relates owned;
1767
+
1768
+ # A single delete of $folder cascades to all ownership relations
1769
+ # where $folder plays owner.
1770
+ match $folder isa directory, has path "/tmp/old";
1771
+ delete $folder;
1772
+ ```
1773
+
1774
+ Use case: cleaning up role-based access control (RBAC) — delete a user, their ownership edges go too.
1775
+
1776
+ ### Struct Value Types
1777
+
1778
+ Compose multi-field values without reifying them as entities.
1779
+
1780
+ ```typeql
1781
+ define
1782
+
1783
+ struct address {
1784
+ street: string,
1785
+ city: string,
1786
+ postal-code: string,
1787
+ country: string,
1788
+ }
1789
+
1790
+ attribute home-address, value address;
1791
+
1792
+ entity person, owns home-address @card(0..1);
1793
+
1794
+ # Insert
1795
+ insert $p isa person,
1796
+ has home-address (
1797
+ street: "123 Main St",
1798
+ city: "Portland",
1799
+ postal-code: "97214",
1800
+ country: "USA"
1801
+ );
1802
+
1803
+ # Match by a struct field (project from the struct)
1804
+ match
1805
+ $p isa person, has home-address $addr;
1806
+ $addr.city == "Portland";
1807
+ select $p;
1808
+ ```
1809
+
1810
+ Use structs for values that are always copied together and have no identity of their own — otherwise, prefer an entity + relation.
1811
+
1812
+ ### List Attributes
1813
+
1814
+ 3.x native list-valued attributes are distinct from multi-cardinality ownership.
1815
+
1816
+ ```typeql
1817
+ define
1818
+ attribute tags, value string[]; # list value type
1819
+ entity article, owns tags;
1820
+
1821
+ insert $a isa article,
1822
+ has tags ["typedb", "polymorphism", "type-theory"];
1823
+
1824
+ match $a isa article, has tags $ts;
1825
+ select $ts; # returns the list as one value
1826
+ ```
1827
+
1828
+ Rule of thumb: use a **list attribute** when order matters or the collection is consumed atomically. Use `@card(0..)` multi-ownership when each element is independently queryable (e.g., multiple emails where you want to match on any one).
1829
+
1830
+ ### Relation Indexing
1831
+
1832
+ Mark high-cardinality lookup roles with `@index` for planner hints.
1833
+
1834
+ ```typeql
1835
+ define
1836
+ relation friendship,
1837
+ relates friend @card(2) @index;
1838
+
1839
+ # Planner prioritizes indexed-role lookup for:
1840
+ match $f isa friendship, links (friend: $alice, friend: $other);
1841
+ $alice has name "Alice";
1842
+ select $other;
1843
+ ```
1844
+
1845
+ ### Functions (replace 2.x `rule`)
1846
+
1847
+ Rules are gone. Functions are the only way to express derivation logic in 3.x.
1848
+ See *Inference Rules (Emergence Patterns)* above for the full rule→fun
1849
+ translation table.
1850
+
1851
+ ```typeql
1852
+ define
1853
+ # Return type names TYPES ONLY. `-> { $to: city }` is a TQL0 syntax error
1854
+ # ("expected named_type_any").
1855
+ fun reachable-cities($from: city) -> { city }:
1856
+ match ($from, $to) isa flight;
1857
+ return { $to };
1858
+
1859
+ # Transitively: fun with recursive call (bounded by the type system).
1860
+ # Iterate a stream with `let $x in f(...)` — NOT `f(...) contains $x`,
1861
+ # which is substring matching and fails with REP44.
1862
+ fun reachable-transitively($from: city) -> { city }:
1863
+ match
1864
+ { ($from, $direct) isa flight; }
1865
+ or
1866
+ { let $mid in reachable-cities($from);
1867
+ let $direct in reachable-transitively($mid); };
1868
+ return { $direct };
1869
+
1870
+ # Use in a query — `in`, not `=`, for a stream
1871
+ match
1872
+ $nyc isa city, has name "New York";
1873
+ let $dest in reachable-transitively($nyc);
1874
+ select $dest;
1875
+ ```
1876
+
1877
+ This is exactly the shape of the deployed `descendants-of` and `reachable`
1878
+ functions — see `schema/reason.tql` and `schema/roles.tql`:
1879
+
1880
+ ```typeql
1881
+ fun descendants-of($g: group) -> { group }:
1882
+ match
1883
+ { (parent: $g, child: $descendant) isa hierarchy; }
1884
+ or
1885
+ { (parent: $g, child: $mid) isa hierarchy;
1886
+ let $descendant in descendants-of($mid); };
1887
+ return { $descendant };
1888
+ ```
1889
+
1890
+ Functions can return streams (`{ ... }`), single values (`scalar`), or structs. They compose in pipelines and let the planner see through the abstraction.
1891
+
1892
+ ### MVCC + Temporal (under the hood)
1893
+
1894
+ TypeDB 3.x uses **MVCC** internally. Every transaction is tagged with a version; old versions are retained for a configurable TTL. The API to read-at-version is **not yet exposed** (per "Inside TypeDB: The Next Chapter", Dec 2025 — "probably not more than a day or two of work to expose"). Track:
1895
+
1896
+ ```
1897
+ # When exposed, expected surface:
1898
+ with driver.transaction(db, TransactionType.READ, at_version=42) as tx:
1899
+ ...
1900
+ ```
1901
+
1902
+ Design implication: you can already treat your data as time-travelable for audit/testing purposes; the exposure is a driver-level unlock, not a storage migration.
1903
+
1904
+ ---
1905
+
1906
+ ## Production Deployment & Scaling
1907
+
1908
+ ### Architecture (3.x)
1909
+
1910
+ - **Core**: Rewritten in Rust (2024–2025). Old Java codebase retired; Rust rewrite is GA as of TypeDB 3.0.
1911
+ - **Storage**: RocksDB as the key-value layer; TypeDB's type-level indexing built on top.
1912
+ - **Cluster**: Highly-available cluster mode (Raft-replicated) — single writer, multiple readers. Rust HA cluster was in final preview as of Dec 2025 (`LS6C4Gl9ldU`).
1913
+
1914
+ ### Scale markers (from Dec 2025 all-hands)
1915
+
1916
+ | Metric | Status |
1917
+ |--------|--------|
1918
+ | Single-node data size | Tested beyond 1 TB |
1919
+ | Benchmark comparison | Competitive with and surpassing Neo4j on first Rust-optimization pass |
1920
+ | Read scaling | Horizontal via Raft cluster replicas |
1921
+ | Write scaling | Single master; partitioned writes on roadmap |
1922
+ | Cloud free tier | Always available, no credit card |
1923
+
1924
+ ### Operational checklist
1925
+
1926
+ - Set **transaction timeout** explicitly if you query long ranges — default is 5 minutes, which bites large migrations.
1927
+ - Set **schema lock timeout** only in schema transactions — default 30 seconds is usually fine.
1928
+ - Prefer **TypeDB Cloud** or HA cluster for anything user-facing — single-node is for dev, demos, and embedded use.
1929
+ - **Snapshot isolation** is the model. Reads never block writes and vice versa; conflicts surface at commit time → catch `ConflictException` and retry (exponential backoff — see "Error Handling" section).
1930
+
1931
+ ---
1932
+
1933
+ ## Development Tools & Ecosystem
1934
+
1935
+ ### TypeDB Studio (web-based)
1936
+
1937
+ Web IDE for TypeDB, also downloadable as a local package. Connects to any local TypeDB server, TypeDB Cloud, or any HTTP-accessible endpoint. Schema visualization, query runner, result graph view.
1938
+
1939
+ - Hosted: https://studio.typedb.com
1940
+ - Local download: https://typedb.com/downloads
1941
+
1942
+ Migration note: older docs reference the **Kotlin desktop** Studio — that's retired. Current Studio is browser-native.
1943
+
1944
+ ### Vibe Querying (alpha — agentic TypeQL)
1945
+
1946
+ LLM-powered natural-language → TypeQL, currently running on GPT-5. Available in TypeDB Studio and the docs chatbot.
1947
+
1948
+ - Good for: exploration, scaffolding, "show me something like X".
1949
+ - Not good for: production queries without review. It still makes mistakes on domain-specific type names.
1950
+ - Recommended pattern: generate → paste into Studio → adjust → commit the TypeQL, not the prompt.
1951
+
1952
+ ### TypeDB Cloud
1953
+
1954
+ - **Free tier**: always available, 1 GB storage, no credit card.
1955
+ - **Security Center** + **MFA** + configurable **backups** since 2025.
1956
+ - Python connection (same code works for self-hosted, Cloud, or HA cluster):
1957
+
1958
+ ```python
1959
+ from typedb.driver import TypeDB, Credentials, DriverOptions, TransactionType
1960
+ import os
1961
+
1962
+ credentials = Credentials("admin", os.environ["TYPEDB_PASSWORD"])
1963
+ options = DriverOptions(is_tls_enabled=True)
1964
+ driver = TypeDB.driver(
1965
+ "https://my-cluster.typedb.cloud:1729", # Cloud
1966
+ credentials,
1967
+ options,
1968
+ )
1969
+ ```
1970
+
1971
+ **Port 1729** is canonical — not 80, not 443. The HTTP API prefix is `/v1/`.
1972
+
1973
+ ### Language Server Protocol (on roadmap)
1974
+
1975
+ TypeDB team announced (Dec 2025) an incoming **`analyze`** endpoint — returns type annotations for a query without executing it — plus LSP support for VS Code, JetBrains, Vim. Expected through 2025. Until then, the console and Studio's inline diagnostics are the fastest feedback loop.
1976
+
1977
+ ### Ecosystem libraries (community-maintained)
1978
+
1979
+ - **Pydantic** integration for model (de)serialization.
1980
+ - **CSV / JSON loaders** for bulk import.
1981
+ - **IDE syntax plugins** for VS Code, IntelliJ (before the LSP ships).
1982
+
1983
+ ---
1984
+
1985
+ ## SQL → TypeQL: Concrete Contrasts
1986
+
1987
+ ### Simple filter + projection
1988
+
1989
+ ```sql
1990
+ -- SQL
1991
+ SELECT p.product_name, p.unit_price
1992
+ FROM products p
1993
+ JOIN categories c ON p.category_id = c.category_id
1994
+ WHERE c.category_name = 'Beverages';
1995
+ ```
1996
+
1997
+ ```typeql
1998
+ # TypeQL — the relation (category-assignment) IS the join
1999
+ match
2000
+ $cat isa category, has name "Beverages";
2001
+ $prod isa product, has product-name $pname, has unit-price $price;
2002
+ (assigned: $prod, category: $cat) isa category-assignment;
2003
+ select $pname, $price;
2004
+ ```
2005
+
2006
+ Differences:
2007
+ - **Relation is first-class** — no foreign-key column, no `JOIN ON`. The relation `category-assignment` models the membership explicitly.
2008
+ - **Polymorphic by default** — if later you add `entity beverage sub product;`, this query returns beverages automatically.
2009
+ - **No nullable join columns** — a relation either exists between role players or it doesn't. No NULL tri-state.
2010
+
2011
+ ### Reachability (graph-style)
2012
+
2013
+ ```cypher
2014
+ // Neo4j
2015
+ MATCH path = (c1:City {name: "New York"})-[:FLIGHT*1..3]->(c2:City {name: "London"})
2016
+ RETURN path
2017
+ ```
2018
+
2019
+ ```typeql
2020
+ # TypeQL — reachability is a type function, not a path operator
2021
+ define
2022
+ fun flight-reachable($from: city, $hops: integer) -> { city }:
2023
+ match
2024
+ { $hops == 1; ($from, $to) isa flight; }
2025
+ or
2026
+ { $hops > 1;
2027
+ ($from, $mid) isa flight;
2028
+ let $next = $hops - 1;
2029
+ let $to in flight-reachable($mid, $next); };
2030
+ return { $to };
2031
+
2032
+ match
2033
+ $nyc isa city, has name "New York";
2034
+ let $city in flight-reachable($nyc, 3);
2035
+ $city has name "London";
2036
+ select $city;
2037
+ ```
2038
+
2039
+ In Neo4j, variable-length path is a query-language primitive. In TypeQL, it's a **user-definable function** — which means any reachability logic (weighted, filtered by attribute, cross-type) is equally expressible without new syntax.
2040
+
2041
+ ---
2042
+
2043
+ ## Works With /sui — The Same Ontology, Two Deterministic Fires
2044
+
2045
+ > **STALE — this section describes a layout the repo no longer has. Verify
2046
+ > before acting on any path or function name in it (checked 2026-08-02).**
2047
+ > `src/engine/bridge.ts`, `src/move/one/sources/one.move` and `src/lib/sui.ts`
2048
+ > **do not exist**, and no file in the monorepo defines `mirrorMark`,
2049
+ > `mirrorHarden` or `absorb`. The Move sources live under `pay/contracts/sui/`
2050
+ > and the Sui runtime under `pay/backend/src/chains/sui.ts` +
2051
+ > `one.ie/web/src/lib/resolvers/sui.ts`. `struct Colony` is **not** in the
2052
+ > current `one.move`. The *conceptual* crosswalk below (Move struct ⇌ TQL
2053
+ > attribute, shared `strength`/`resistance` names) still holds and is why the
2054
+ > section is kept; the file/function inventory does not.
2055
+
2056
+ **"The same ontology. Two deterministic fires."** TypeDB is the learning, classification fire (hypotheses, frontiers, tags — cheap to write, rich to query). Move is the permanent, economic fire (path revenue, escrow, treasury — expensive to write, cheap to trust). The runtime is the fast nervous system between them. Both skills speak the same vocabulary by design — `strength`, `resistance`, `revenue`, `path`, `actor` — so the bridge is a **1:1 rename, not a translation**.
2057
+
2058
+ ### Canonical crosswalk
2059
+
2060
+ `schema/sui.tql` (475 lines) is the Rosetta Stone — every Move struct has a matching TQL entity, every Move function has a matching TQL `fun`. Read it when names or shapes drift. **It is codegen input, not a loadable schema** — `schema/codegen/codegen.ts` parses it standalone to emit Move; it is never loaded into TypeDB, and it is written in the `if/then/else` form the server rejects. The canonical ontology (6 dimensions, stable) is `schema/one.tql` (480 lines).
2061
+
2062
+ ### Attribute mapping (Move struct ⇌ TypeDB attribute)
2063
+
2064
+ | Move field (`one.move`) | TQL attribute (`world.tql`) | Move type | TQL type | Direction |
2065
+ |---------------------------------|--------------------------------|-------------|----------|-------------------------------|
2066
+ | `Unit.id` (address) | `actor.sui-unit-id` | address | string | Sui → TQL on `mirrorActor()` |
2067
+ | *derived by* `addressFor(uid)` | `actor.wallet` | address | string | Runtime → TQL on agent sync |
2068
+ | `Unit.name` | `unit.name` | String | string | bidirectional |
2069
+ | `Unit.balance` | `actor.balance` | u64 | double | Sui → TQL via `absorb()` |
2070
+ | **`Path.strength`** | **`path.strength`** | u64 | double | bidirectional — load-bearing |
2071
+ | **`Path.resistance`** | **`path.resistance`** | u64 | double | bidirectional — load-bearing |
2072
+ | `Path.revenue` | `path.revenue` | u64 | double | Sui → TQL via `absorb()` |
2073
+ | `Path.id` (address) | `path.sui-path-id` | address | string | Sui → TQL on mirror |
2074
+ | `Highway.id` (address) | `path.sui-highway-id` | address | string | Sui → TQL on `mirrorHarden()` |
2075
+ | `Signal.payload` (vector<u8>) | `signal.data` | bytes | string | one-way, usually TQL-only |
2076
+
2077
+ **Name drift to know about:** older Move sources carried a `struct Colony`; TypeDB moved to `entity group` per `text/dictionary.md`. `colony` is a **dead name** (root `CLAUDE.md`) and is **no longer present** in `pay/contracts/sui/.../one.move` (checked 2026-08-02). If you meet it in an old artifact, read it as TQL `group`.
2078
+
2079
+ **Load-bearing invariant:** `strength` and `resistance` share the same name in both layers. If you rename one, rename both — `bridge.ts` is a pass-through, there's no translation logic. Type-width (`u64` ↔ `double`) is handled by JSON serialization at the bridge; don't write TQL queries that assume sub-integer precision on these columns.
2080
+
2081
+ ### Bridge contract (module no longer present — shape reference only)
2082
+
2083
+ | Function | Fires when | Maps |
2084
+ |-----------------------------------|-----------------------------|------------------------------------------------------------------------|
2085
+ | `mirrorMark(from, to, amount?)` | every `persist.mark()` | Runtime strength++ → Sui `mark_path()` |
2086
+ | `mirrorWarn(from, to, amount?)` | every `persist.warn()` | Runtime resistance++ → Sui `warn_path()` |
2087
+ | `mirrorPay(from, to, amount)` | L4 payment signal | Runtime payment → Sui `pay()` → `Path.revenue +=` |
2088
+ | `mirrorHarden(from, to)` | L6 highway promotion | TQL harden → Sui `harden_path()` → Highway object created |
2089
+ | `mirrorActor(uid, name)` | `/api/agents/register` | `addressFor(uid)` + `createUnit()` → writes `wallet` + `sui-unit-id` back |
2090
+ | `resolve(uid)` | before any outbound Sui call | TQL lookup → `{ wallet, unitId }` — no on-chain twin? dissolve |
2091
+ | `resolvePath(from, to)` | on-chain path ops | TQL `sui-path-id` lookup — memoized via edge cache |
2092
+ | `absorb(cursor?)` | `/api/absorb` cron (1 min) | Sui events → TQL writes: UnitCreated, Marked, Warned, Paid, Hardened |
2093
+ | `settleEscrow(...)` *(Phase 3)* | `releaseEscrow()` succeeds | on-chain settlement → TQL `path.revenue` + `path.strength` mark |
2094
+
2095
+ **Guarantee:** `mirror*` functions are fire-and-forget. They never block the TypeDB write or the runtime signal loop. If Sui is down, TypeDB still learns; pheromone re-converges when `absorb()` catches up. That's why it's safe to use `writeSilent()` / `writeTracked()` semantics at the TypeDB layer — the bridge can always replay.
2096
+
2097
+ ### TQL queries that read on-chain state
2098
+
2099
+ ```typeql
2100
+ # Find actors with an on-chain twin
2101
+ match $u isa actor, has wallet $w, has sui-unit-id $s;
2102
+ select $u, $w, $s;
2103
+
2104
+ # Paths that accumulated real revenue on-chain
2105
+ match $p isa path, has revenue $r, has sui-path-id $id;
2106
+ $r > 0.0;
2107
+ select $p, $r, $id;
2108
+ sort $r desc;
2109
+
2110
+ # Hardened highways (frozen on-chain)
2111
+ match $p isa path, has sui-highway-id $hw;
2112
+ select $p, $hw;
2113
+ ```
2114
+
2115
+ ### When to load /sui alongside this skill
2116
+
2117
+ - Adding a field to a Move struct that needs off-chain query — the TQL attribute must match
2118
+ - Touching Move path/signal logic under `pay/contracts/sui/` — `schema/one.tql` and `text/dictionary.md` are the source of truth for names
2119
+ - Debugging why an on-chain absorb isn't writing to TypeDB — check the loaded schema accepts the attribute type
2120
+ - Writing a TQL `fun` that needs an on-chain twin — see `schema/sui.tql` for parallel function signatures
2121
+ - Querying `actor.wallet` values — they're derived from the Sui resolvers (`one.ie/web/src/lib/resolvers/sui.ts`), not always stored
2122
+
2123
+ ---
2124
+
2125
+ ## Production Patterns: Classifier Functions, Thing Collapse, Symmetric Routing
2126
+
2127
+ These patterns come from **`schema/world.tql`** and are worth learning because they turn abstract ideas ("Queries as Types", polymorphism, role interfaces) into code that's actually short, composable, and fast to query.
2128
+
2129
+ > **Read the code below for the *shape*, and never paste it.** Two corrections
2130
+ > that this section got wrong for a long time:
2131
+ >
2132
+ > 1. **`world.tql` is not the live runtime schema of the main database.** Per
2133
+ > `schema/CLAUDE.md` it is the **brain schema for the standalone `api/`
2134
+ > BrainDO database only** — it declares `task-value`/`task-effort` as strings
2135
+ > where `one.tql` declares doubles, so co-loading the two fails on a
2136
+ > value-type conflict. The main `one` database's canon is
2137
+ > `one.tql` + `roles.tql` + `do.tql` + `reason.tql` + `router.tql` +
2138
+ > `factory.tql` + `work-contract.tql` + `chat.tql`.
2139
+ > 2. **`world.tql` is written in `return first if … then … else …`, which the
2140
+ > live 3.12.1 server rejects with `TQL0`** (VERIFIED table). It is therefore
2141
+ > not deployable as written. `schema/reason.tql` carries the rewrite that
2142
+ > *is* deployed. Below, every function is shown in the **deployable**
2143
+ > disjunction form, with the `world.tql` original noted where it differs.
2144
+ >
2145
+ > Attribute names differ across the two too: `success-rate`, `sample-count` and
2146
+ > `activity-score` exist in `world.tql` and **not** in the live `one` database.
2147
+ > Check `GET /v1/databases/one/schema` before assuming an attribute is there.
2148
+
2149
+ ### Pattern 1 — The Deterministic Sandwich as a Function Chain
2150
+
2151
+ A **deterministic sandwich** wraps a probabilistic operation (usually an LLM call) in a pre-check and a post-check, so the indeterminism is bounded on both sides. In TypeQL 3.x, every slice of the sandwich is a **typed function** returning either a bound boolean or a stream.
2152
+
2153
+ ```typeql
2154
+ # schema/world.tql:586–614 — shape only; signatures corrected to `actor`
2155
+ # (world.tql says `actor`, an older draft of this skill said `unit`, a dead name)
2156
+
2157
+ # PRE: Can this receiver handle this skill? (capability check)
2158
+ fun can_receive($u: actor, $sk: skill) -> boolean:
2159
+ match (provider: $u, offered: $sk) isa capability;
2160
+ let $ok = true;
2161
+ return first $ok;
2162
+
2163
+ # PRE: Is the path to this receiver safe? (not toxic)
2164
+ fun is_safe($from: actor, $to: actor) -> boolean:
2165
+ match
2166
+ (source: $from, target: $to) isa path,
2167
+ has strength $s, has resistance $r;
2168
+ { $r > $s; $r >= 10.0; let $ok = false; }
2169
+ or { not { $r > $s; $r >= 10.0; }; let $ok = true; };
2170
+ return first $ok;
2171
+
2172
+ # PRE: Is the signal within budget?
2173
+ fun within_budget($u: actor, $sk: skill, $amount: double) -> boolean:
2174
+ match
2175
+ (provider: $u, offered: $sk) isa capability, has price $p;
2176
+ { $amount >= $p; let $ok = true; }
2177
+ or { $amount < $p; let $ok = false; };
2178
+ return first $ok;
2179
+
2180
+ # POST: Does the referenced actor still exist?
2181
+ fun unit_exists($uid: string) -> boolean:
2182
+ match $u isa actor, has aid $uid;
2183
+ let $ok = true;
2184
+ return first $ok;
2185
+
2186
+ # COMPOSED: All the PRE checks as a single type assertion
2187
+ fun preflight($from: actor, $to: actor, $sk: skill) -> boolean:
2188
+ match
2189
+ (provider: $to, offered: $sk) isa capability;
2190
+ (source: $from, target: $to) isa path,
2191
+ has strength $s, has resistance $r;
2192
+ { $r > $s; $r >= 10.0; let $ok = false; }
2193
+ or { not { $r > $s; $r >= 10.0; }; let $ok = true; };
2194
+ return first $ok;
2195
+ ```
2196
+
2197
+ **Why this is elegant:**
2198
+
2199
+ 1. **Each check is a type, not a subroutine.** `is_safe($from, $to)` declares the type "this path is safe". The planner decides whether to evaluate it by scanning strength/resistance, by checking an index, or by proving it vacuously. You never write "first look up strength, then compare".
2200
+
2201
+ 2. **An exhaustive disjunction binding one `let` per branch, closed by `return first $var`,** is the TypeDB 3.x idiom for boolean and string classifiers — there is no conditional expression in the language. Each branch after the first must negate the earlier ones, or a row matching two branches makes `return first` arbitrary.
2202
+
2203
+ 3. **Composition is just another function.** `preflight()` inlines the match patterns of its children rather than calling them — this lets the planner see the whole constraint set and pick the cheapest plan. (Calling three separate functions would force three sequential lookups.) This is the same "inline the body" rule as *functions are for counts*.
2204
+
2205
+ 4. **Negative space stays declarative.** A trust check that passes when `success-rate >= 0.50 OR sample-count < 10` trusts new agents by default, because there is no evidence against them. That's a domain rule encoded as a type, not as a runtime `if`. (`is_trustworthy` reads `success-rate`/`sample-count` — BrainDO-only attributes, so it is a `world.tql` function and has no counterpart in the main database.)
2206
+
2207
+ ### Pattern 2 — The `thing` Collapse (Polymorphism as Entity-Level Union)
2208
+
2209
+ Instead of modeling plan, cycle, task, and skill as four separate entities, the canonical ontology (`schema/one.tql:96+`) **collapses them into one `thing` entity** discriminated by a `thing-type` attribute. Attributes specific to each kind (`task-status`, `cycles-planned`, `goal`) live on the shared entity, unused for non-matching kinds.
2210
+
2211
+ ```typeql
2212
+ # Abridged — schema/one.tql is the source, and it is much longer than this.
2213
+ entity thing,
2214
+ owns tid @key,
2215
+ owns name,
2216
+ owns thing-type, # skill|task|token|service|plan|step|corpus|
2217
+ # creative-asset|do-cycle|do-plan — see @values
2218
+ owns price,
2219
+ owns tag @card(0..),
2220
+ # Task-only (meaningful when thing-type='task')
2221
+ owns task-status, # open/blocked/picked/done/verified/failed/dissolved
2222
+ owns task-effort,
2223
+ owns task-value,
2224
+ owns exit-condition,
2225
+ # Workflow steps (meaningful when thing-type='step')
2226
+ owns step-kind, # trigger|tool|skill|agent|condition|human|delay|sell
2227
+ owns step-config,
2228
+ # Plan-only (meaningful when thing-type='plan')
2229
+ owns goal,
2230
+ owns cycles-planned,
2231
+ owns escape-condition,
2232
+ # Agent rubric (trade lifecycle VERIFY — LLM response quality)
2233
+ owns rubric-fit,
2234
+ owns rubric-form,
2235
+ owns rubric-truth,
2236
+ owns rubric-taste,
2237
+ # Code rubric (/do W4 — security/stability/simplicity/speed)
2238
+ owns rubric-security,
2239
+ owns rubric-stability,
2240
+ owns rubric-simplicity,
2241
+ owns rubric-speed,
2242
+ owns rubric-composite,
2243
+ plays capability:offered,
2244
+ plays blocks:blocker,
2245
+ plays blocks:blocked,
2246
+ plays containment:container,
2247
+ plays containment:contained,
2248
+ plays production:producer,
2249
+ plays production:produced;
2250
+ ```
2251
+
2252
+ **Vocabulary law:** every `@values` enum lives in `one.tql` AND must be mirrored
2253
+ by a migration before prod writes rely on a new value. Adding a convention value
2254
+ in a doc or a `.ts` without widening the deployed `@values` means the write is
2255
+ rejected at the constraint (`schema/CLAUDE.md`).
2256
+
2257
+ **When to use it:**
2258
+
2259
+ - The concepts share >50% of their attributes and all their relations.
2260
+ - You want polymorphic queries that span all kinds (`match $t isa thing, has tag "P0";` returns tasks AND plans AND skills tagged P0).
2261
+ - The kinds aren't large enough to warrant physical partitioning.
2262
+
2263
+ **When to avoid it:**
2264
+
2265
+ - A concept has strict invariants enforced by NOT NULL (TypeDB doesn't enforce attribute presence by `thing-type`; you'd need a function to validate).
2266
+ - You need compile-time guarantees that "only tasks have `task-status`". The collapse is dynamic typing inside a static system.
2267
+
2268
+ **Filter pattern (the "discriminated fetch"):**
2269
+
2270
+ ```typeql
2271
+ # Only things that are tasks AND open
2272
+ fun open_tasks() -> { thing } :
2273
+ match
2274
+ $t isa thing, has thing-type "task", has task-status "open";
2275
+ return { $t };
2276
+
2277
+ # Polymorphic priority: works across kinds because all own task-priority
2278
+ fun top_by_priority($kind: string) -> { thing } :
2279
+ match
2280
+ $t isa thing, has thing-type $kind, has task-priority $p;
2281
+ sort $p desc; limit 10;
2282
+ return { $t };
2283
+ ```
2284
+
2285
+ Compare this with the maximalist `schema/world.tql` (844 lines, separate `task` entity with its own `task-id`, `task-status`, priority formula, etc.). The **skinny ontology** (`one.tql`, 480 lines) uses the collapse for flexibility; the **BrainDO schema** (`world.tql`) uses separate entities for performance and strict typing. Both are valid — the choice depends on how much schema change you expect. They cannot be loaded into the same database.
2286
+
2287
+ ### Pattern 3 — Symmetric Routing via Shared-Variable Unification
2288
+
2289
+ When you have a relation "X matches Y on tag", you usually need both directions — "what Y's match this X" AND "what X's match this Y". In SQL this is two separate queries. In TypeQL, both queries share the same match pattern; only the return changes.
2290
+
2291
+ ```typeql
2292
+ # schema/world.tql:805–822 — verbatim symmetric pair.
2293
+ # Note every signature says `actor`, never `unit` (a dead name).
2294
+
2295
+ # "What tasks can this actor work on?" (actor → tasks)
2296
+ fun tasks_for_unit($u: actor) -> { task }:
2297
+ match $u has tag $tag;
2298
+ $t isa task, has tag $tag, has done false, has task-status "open";
2299
+ return { $t };
2300
+
2301
+ # "Which actors can do this task?" (task → actors)
2302
+ fun actors_for_task($t: task) -> { actor }:
2303
+ match $t has tag $tag;
2304
+ $u isa actor, has tag $tag, has status "active";
2305
+ return { $u };
2306
+
2307
+ # "Best actor for this task": tag overlap × path strength
2308
+ fun best_unit_for_task($t: task) -> actor:
2309
+ match $t has tag $tag;
2310
+ $u isa actor, has tag $tag, has status "active";
2311
+ (source: $any, target: $u) isa path, has strength $s;
2312
+ sort $s desc; limit 1;
2313
+ return $u;
2314
+ ```
2315
+
2316
+ **Why this is "Queries as Types" at its cleanest:**
2317
+
2318
+ - The `$tag` variable is shared between `$u has tag $tag` and `$t has tag $tag`. TypeQL **unifies** these — there must exist at least one tag value that both sides agree on. No `JOIN ON` clause, no foreign key; the type constraint IS the join.
2319
+
2320
+ - The pattern is symmetric because the *type* of "actor-task matches on tag" doesn't care about direction. Only the *projection* (`return { $t }` vs `return { $u }`) picks a side.
2321
+
2322
+ - `best_unit_for_task` composes the matching pattern with a *third* constraint (pheromone strength on an incoming path). Notice `(source: $any, target: $u)` — `$any` is bound but unconstrained; we don't care WHO marked the path, only that SOMEONE marked it. That's a free variable in the type.
2323
+
2324
+ ### Pattern 4 — Classification by Cascade (the `path_status` function)
2325
+
2326
+ One more worth lifting out. The substrate labels every path with one of five statuses using a single function whose body is a nested conditional:
2327
+
2328
+ `schema/world.tql:570–577` writes it as an `if/then/else` cascade. **That form does
2329
+ not parse on the live server** — this is the deployed rewrite, and it is the
2330
+ single best worked example of translating a cascade into TypeQL:
2331
+
2332
+ ```typeql
2333
+ # schema/reason.tql:63–79 — the DEPLOYED five-branch classifier
2334
+ fun path_status($p: path) -> string:
2335
+ match
2336
+ $p has strength $s, has resistance $r, has traversals $t;
2337
+ { $r > $s; $r >= 10.0;
2338
+ let $status = "toxic"; }
2339
+ or { $s >= 50.0; not { $r > $s; $r >= 10.0; };
2340
+ let $status = "highway"; }
2341
+ or { $s >= 10.0; $s < 50.0; $t < 10;
2342
+ not { $r > $s; $r >= 10.0; };
2343
+ let $status = "fresh"; }
2344
+ or { $s > 0.0; $s < 5.0; not { $r > $s; $r >= 10.0; };
2345
+ let $status = "fading"; }
2346
+ or { not { $r > $s; $r >= 10.0; };
2347
+ not { $s >= 50.0; };
2348
+ not { $s >= 10.0; $s < 50.0; $t < 10; };
2349
+ not { $s > 0.0; $s < 5.0; };
2350
+ let $status = "active"; };
2351
+ return first $status;
2352
+ ```
2353
+
2354
+ The precedence that `else if` gave you for free — `toxic` beats `highway`,
2355
+ `highway` beats `fresh` — **you now write by hand** as a `not { … }` guard in
2356
+ every later branch. That verbosity is the whole cost of the missing conditional
2357
+ expression, and skipping a guard is a silent bug: a path matching two branches
2358
+ produces two rows and `return first` picks one arbitrarily. In 2.x this was five
2359
+ chained `rule`s with priority annotations; the cascade order is at least still
2360
+ visible in the source.
2361
+
2362
+ **Adjacent pattern — reading the label:**
2363
+
2364
+ ```typeql
2365
+ match
2366
+ $p isa path, has strength $s;
2367
+ let $status = path_status($p);
2368
+ $status == "highway";
2369
+ select $p, $s;
2370
+ ```
2371
+
2372
+ The result reads like English: "paths whose status is highway". The function is a verb (`path_status(p)`) that returns a type-tagged string — classification without explicit rule firing.
2373
+
2374
+ This is also the boundary where **functions are for counts** bites. `path_status`
2375
+ returns a scalar, so calling it per row is what it is for. If instead you wanted
2376
+ *the paths and their strengths and their tags*, do not call a stream fun and then
2377
+ `has` the results — inline the fun's match body and select the attributes in one
2378
+ pipeline. The call form is what turns a sub-second query into a 10-second timeout.
2379
+
2380
+ ---
2381
+
2382
+ ## Project-Specific Patterns
2383
+
2384
+ > **These examples are from a trading prototype, not from this repo.**
2385
+ > `signal-edge`, `live-prediction`, `edge-trail-level`, `win-count`,
2386
+ > `from-state-id`, `prediction-id` and friends exist in **no** `.tql` file here
2387
+ > and in **no** live database. `trail` is also a dead name (root `CLAUDE.md`).
2388
+ > They are kept as generic modelling shapes; for a real query against the ONE
2389
+ > substrate use `path` / `strength` / `resistance` / `traversals` and the
2390
+ > functions listed in `schema/CLAUDE.md`.
2391
+ >
2392
+ > **The read-modify-write examples below are the rejected pattern.** Writes take
2393
+ > **literals only** — `insert $e has strength ($s + 1)` and `insert $e has
2394
+ > strength $ns` (a value variable) both fail with `REP1 Attribute vs Value`, and
2395
+ > there is no in-database increment on this build. The shape that works is:
2396
+ > read the current value, compute it in the caller, write it back with
2397
+ > `update $e has strength 7.0;` (`update` is replace-or-add on `@card(0..1)` —
2398
+ > no delete needed). See `readPathWeights` / `updatePathWeights` in
2399
+ > `one.ie/web/src/lib/substrate.ts`.
2400
+
2401
+ ### Signal-Edge Operations (Trading)
2402
+
2403
+ ```typeql
2404
+ # Define signal-edge
2405
+ define
2406
+ attribute edge-id, value string;
2407
+ attribute from-state-id, value string;
2408
+ attribute to-signal-direction, value string;
2409
+ attribute win-count, value integer;
2410
+ attribute loss-count, value integer;
2411
+ attribute total-pnl, value double;
2412
+ attribute edge-trail-level, value double;
2413
+
2414
+ entity signal-edge,
2415
+ owns edge-id @key,
2416
+ owns from-state-id,
2417
+ owns to-signal-direction,
2418
+ owns win-count,
2419
+ owns loss-count,
2420
+ owns total-pnl,
2421
+ owns edge-trail-level;
2422
+
2423
+ # Query high-performing edges
2424
+ match
2425
+ $e isa signal-edge,
2426
+ has edge-id $id,
2427
+ has edge-trail-level $level,
2428
+ has total-pnl $pnl;
2429
+ $level >= 20.0;
2430
+ $pnl > 0;
2431
+ select $id, $level, $pnl;
2432
+ sort $pnl desc;
2433
+ limit 20;
2434
+
2435
+ # Update edge statistics — literal only, and `update` needs no delete
2436
+ match $e isa signal-edge, has edge-id "edge-001";
2437
+ update $e has win-count 15;
2438
+ ```
2439
+
2440
+ ### Pheromone Trail Patterns
2441
+
2442
+ ```typeql
2443
+ # Deposit pheromone
2444
+ match $e isa signal-edge, has edge-id "edge-001";
2445
+ update $e has edge-trail-level 25.5;
2446
+
2447
+ # Find superhighways (high-pheromone trails)
2448
+ match
2449
+ $e isa signal-edge,
2450
+ has edge-id $id,
2451
+ has edge-trail-level $level;
2452
+ $level >= 20.0;
2453
+ select $id, $level;
2454
+ sort $level desc;
2455
+ limit 10;
2456
+
2457
+ # Decay by 10% — THERE IS NO IN-DATABASE FORM OF THIS.
2458
+ # `let $new = $old * 0.9; delete $old; insert $e has edge-trail-level $new;`
2459
+ # is REJECTED (REP1 Attribute vs Value): writes take literals only.
2460
+ # Step 1 — read the current values:
2461
+ match $e isa signal-edge, has edge-id $id, has edge-trail-level $old;
2462
+ select $id, $old;
2463
+
2464
+ # Step 2 — multiply in the caller, then write one literal per row:
2465
+ # update $e has edge-trail-level 22.95;
2466
+ ```
2467
+
2468
+ ### Live Prediction Tracking
2469
+
2470
+ ```typeql
2471
+ define
2472
+ attribute prediction-id, value string;
2473
+ attribute pattern-name, value string;
2474
+ attribute predicted-direction, value string;
2475
+ attribute verified-1m, value boolean;
2476
+ attribute verified-5m, value boolean;
2477
+ attribute verified-1h, value boolean;
2478
+
2479
+ entity live-prediction,
2480
+ owns prediction-id @key,
2481
+ owns pattern-name,
2482
+ owns predicted-direction,
2483
+ owns verified-1m,
2484
+ owns verified-5m,
2485
+ owns verified-1h;
2486
+
2487
+ # Insert prediction
2488
+ insert $p isa live-prediction,
2489
+ has prediction-id "pred-001",
2490
+ has pattern-name "volume_breakout",
2491
+ has predicted-direction "long";
2492
+
2493
+ # Update verification
2494
+ match $p isa live-prediction, has prediction-id "pred-001";
2495
+ update $p has verified-1m true;
2496
+
2497
+ # Query pattern accuracy
2498
+ match
2499
+ $p isa live-prediction,
2500
+ has pattern-name $name,
2501
+ has verified-1h $correct;
2502
+ $correct == true;
2503
+ reduce $wins = count groupby $name;
2504
+ ```
2505
+
2506
+ ---
2507
+
2508
+ ## Quick Reference Card
2509
+
2510
+ ```
2511
+ ┌─────────────────────────────────────────────────────────────┐
2512
+ │ TypeDB 3.12.1 Quick Reference │
2513
+ ├─────────────────────────────────────────────────────────────┤
2514
+ │ CONNECT (this repo: HTTP, no driver) │
2515
+ │ POST /v1/signin -> token │
2516
+ │ POST /v1/query {query, databaseName, │
2517
+ │ transactionType, commit} │
2518
+ │ GET /v1/version · GET /v1/databases/one/schema │
2519
+ │ │
2520
+ │ TRANSACTION TYPES │
2521
+ │ READ - read only, concurrent │
2522
+ │ WRITE - data modifications │
2523
+ │ SCHEMA - schema changes │
2524
+ │ │
2525
+ │ SCHEMA: define / undefine / redefine │
2526
+ │ DATA: match / insert / delete / update / put │
2527
+ │ OUTPUT: select / fetch / reduce │
2528
+ │ STREAM: sort / limit / offset / distinct │
2529
+ │ │
2530
+ │ VALUE TYPES │
2531
+ │ integer (not long!), double, decimal, boolean │
2532
+ │ string, date, datetime, datetime-tz, duration │
2533
+ │ │
2534
+ │ DELETE SYNTAX (3.x) │
2535
+ │ delete $attr; # delete attribute │
2536
+ │ delete has $attr of $e; # delete ownership │
2537
+ │ delete $e; # delete entity/relation │
2538
+ │ │
2539
+ │ ANNOTATIONS │
2540
+ │ @key, @unique, @card(n..m), @abstract │
2541
+ │ @values(), @range(), @regex(), @independent │
2542
+ └─────────────────────────────────────────────────────────────┘
2543
+ ```
2544
+
2545
+ ---
2546
+
2547
+ ## References
2548
+
2549
+ ### External
2550
+
2551
+ - [TypeDB Documentation](https://typedb.com/docs)
2552
+ - [TypeQL Reference](https://typedb.com/docs/typeql-reference/)
2553
+ - [Python Driver Reference](https://typedb.com/docs/reference/typedb-grpc-drivers/python/)
2554
+ - [TypeDB 2.x to 3.x Migration](https://typedb.com/docs/reference/typedb-2-vs-3/)
2555
+ - [Query Optimization Guide](https://typedb.com/docs/maintenance-operation/troubleshooting/optimizing-queries/)
2556
+ - [TypeQL Paper · Dorn & Pribadi · PACMMOD 2024](https://dl.acm.org/doi/10.1145/3651611) — Best Newcomer Award, SIGMOD/PODS 2024
2557
+ - [Vaticle YouTube Channel](https://www.youtube.com/c/vaticle) — lecture series on type theory and polymorphic modeling
2558
+
2559
+ ### In-repo
2560
+
2561
+ - **`schema/CLAUDE.md` — read this first.** It is the authority on which `.tql` files load, in what order, which must never co-load, the `@values` vocabulary law, and the codegen pipeline. It outranks this skill on all of that.
2562
+ - `schema/one.tql` (480 lines) — canonical 6-dimension ontology, locked. See *Pattern 2 — The `thing` Collapse*.
2563
+ - `schema/roles.tql` (184) — the authority walk: `self-or-ancestors-of` · `open-ancestors-of` · `controls` · `can` · `funding-of` · `brand-of`. All six are live in prod.
2564
+ - `schema/reason.tql` — inference layer, functions only. **The deployable `path_status`** and the recursive-closure examples (`reachable`, `strong-reach`, `route_exists`).
2565
+ - `schema/do.tql` — build-engine layer, functions only. `do_stage` is the reference disjunction classifier.
2566
+ - `schema/router.tql` (206) — universal signal router; `receivers-reachable-by` is live in prod.
2567
+ - `schema/factory.tql` (993) — the factory ladder. **One file is one schema transaction on purpose:** a fun may only reference *committed* funs (`REP4`), so a partial deploy breaks it. Prod carried 39 of 43 funs as of 2026-07-30; `next` + the cost trio ship in `migrations/0045_factory_next.tql` and are **not yet live** (confirmed absent 2026-08-02).
2568
+ - `schema/world.tql` (844 lines) — **standalone BrainDO schema, not the main database, and not deployable as written** (`if/then/else`). Source for *Production Patterns* above; read for shape only.
2569
+ - `schema/sui.tql` (475 lines) — Move mirror. Codegen input, never loaded.
2570
+ - `schema/migrations/` — 24 entries. Migration numbering is live through `0045`.
2571
+ - `one.ie/web/src/lib/substrate.ts` — how TypeScript actually queries: gateway → `POST /v1/query`. `readPathWeights` / `updatePathWeights` are the read-compute-write increment pattern.
2572
+ - `backup/scripts/typedb/dump.py` · `replay.py` — Python against `/v1/` via `urllib`, no driver. Also the source of the `(?![\w-])` role-matching fix and the `ensure_ascii=False` rule.
2573
+ - `.claude/scripts/typedb-env.sh` · `.claude/typedb/{dev,prod}.env` — the dev/prod switch and the version pin.
2574
+ - `.claude/scripts/typedb-probes/` — the 3.8.3 server-panic reproducers.
2575
+ - `.claude/skills/typedb/reference/research-notes-2026-04.md` — source notes behind this skill's 2026-04 refinement: PACMMOD paper, 3.0 roadmap, Vaticle lectures, "Inside TypeDB: The Next Chapter".
2576
+ - `.claude/skills/typedb/reference/migration-2x-3x.md` — mechanical 2.x→3.x translations (sessions, Concept API, rule→fun, long→integer, delete syntax).
2577
+ - `.claude/skills/typedb/reference/python-driver.md` — deeper Python-driver reference than the summary in this file.
2578
+ - `.claude/skills/typedb/examples/` — working TQL files: schema-patterns, query-patterns, python-patterns.