@oxagen/cli 0.6.1 → 0.6.3

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 (1234) hide show
  1. package/oxagen.mjs +100056 -0
  2. package/package.json +12 -33
  3. package/dist/agent/__tests__/code-graph.test.d.ts +0 -2
  4. package/dist/agent/__tests__/code-graph.test.d.ts.map +0 -1
  5. package/dist/agent/__tests__/code-graph.test.js +0 -83
  6. package/dist/agent/__tests__/code-graph.test.js.map +0 -1
  7. package/dist/agent/__tests__/evaluator.test.d.ts +0 -2
  8. package/dist/agent/__tests__/evaluator.test.d.ts.map +0 -1
  9. package/dist/agent/__tests__/evaluator.test.js +0 -96
  10. package/dist/agent/__tests__/evaluator.test.js.map +0 -1
  11. package/dist/agent/__tests__/fleet-memory.test.d.ts +0 -2
  12. package/dist/agent/__tests__/fleet-memory.test.d.ts.map +0 -1
  13. package/dist/agent/__tests__/fleet-memory.test.js +0 -107
  14. package/dist/agent/__tests__/fleet-memory.test.js.map +0 -1
  15. package/dist/agent/__tests__/fleet-store.test.d.ts +0 -2
  16. package/dist/agent/__tests__/fleet-store.test.d.ts.map +0 -1
  17. package/dist/agent/__tests__/fleet-store.test.js +0 -93
  18. package/dist/agent/__tests__/fleet-store.test.js.map +0 -1
  19. package/dist/agent/__tests__/git-isolation.test.d.ts +0 -2
  20. package/dist/agent/__tests__/git-isolation.test.d.ts.map +0 -1
  21. package/dist/agent/__tests__/git-isolation.test.js +0 -119
  22. package/dist/agent/__tests__/git-isolation.test.js.map +0 -1
  23. package/dist/agent/__tests__/judge.test.d.ts +0 -2
  24. package/dist/agent/__tests__/judge.test.d.ts.map +0 -1
  25. package/dist/agent/__tests__/judge.test.js +0 -140
  26. package/dist/agent/__tests__/judge.test.js.map +0 -1
  27. package/dist/agent/__tests__/loop-errors.test.d.ts +0 -2
  28. package/dist/agent/__tests__/loop-errors.test.d.ts.map +0 -1
  29. package/dist/agent/__tests__/loop-errors.test.js +0 -75
  30. package/dist/agent/__tests__/loop-errors.test.js.map +0 -1
  31. package/dist/agent/__tests__/loop-gating.test.d.ts +0 -2
  32. package/dist/agent/__tests__/loop-gating.test.d.ts.map +0 -1
  33. package/dist/agent/__tests__/loop-gating.test.js +0 -94
  34. package/dist/agent/__tests__/loop-gating.test.js.map +0 -1
  35. package/dist/agent/__tests__/model-router.test.d.ts +0 -2
  36. package/dist/agent/__tests__/model-router.test.d.ts.map +0 -1
  37. package/dist/agent/__tests__/model-router.test.js +0 -138
  38. package/dist/agent/__tests__/model-router.test.js.map +0 -1
  39. package/dist/agent/__tests__/orchestrator-isolation.test.d.ts +0 -2
  40. package/dist/agent/__tests__/orchestrator-isolation.test.d.ts.map +0 -1
  41. package/dist/agent/__tests__/orchestrator-isolation.test.js +0 -134
  42. package/dist/agent/__tests__/orchestrator-isolation.test.js.map +0 -1
  43. package/dist/agent/__tests__/orchestrator.test.d.ts +0 -2
  44. package/dist/agent/__tests__/orchestrator.test.d.ts.map +0 -1
  45. package/dist/agent/__tests__/orchestrator.test.js +0 -201
  46. package/dist/agent/__tests__/orchestrator.test.js.map +0 -1
  47. package/dist/agent/__tests__/permissions.test.d.ts +0 -2
  48. package/dist/agent/__tests__/permissions.test.d.ts.map +0 -1
  49. package/dist/agent/__tests__/permissions.test.js +0 -206
  50. package/dist/agent/__tests__/permissions.test.js.map +0 -1
  51. package/dist/agent/__tests__/pipeline-telemetry.test.d.ts +0 -2
  52. package/dist/agent/__tests__/pipeline-telemetry.test.d.ts.map +0 -1
  53. package/dist/agent/__tests__/pipeline-telemetry.test.js +0 -158
  54. package/dist/agent/__tests__/pipeline-telemetry.test.js.map +0 -1
  55. package/dist/agent/__tests__/pipeline.test.d.ts +0 -2
  56. package/dist/agent/__tests__/pipeline.test.d.ts.map +0 -1
  57. package/dist/agent/__tests__/pipeline.test.js +0 -235
  58. package/dist/agent/__tests__/pipeline.test.js.map +0 -1
  59. package/dist/agent/__tests__/planner.test.d.ts +0 -2
  60. package/dist/agent/__tests__/planner.test.d.ts.map +0 -1
  61. package/dist/agent/__tests__/planner.test.js +0 -98
  62. package/dist/agent/__tests__/planner.test.js.map +0 -1
  63. package/dist/agent/__tests__/prompt-enhancer.test.d.ts +0 -2
  64. package/dist/agent/__tests__/prompt-enhancer.test.d.ts.map +0 -1
  65. package/dist/agent/__tests__/prompt-enhancer.test.js +0 -107
  66. package/dist/agent/__tests__/prompt-enhancer.test.js.map +0 -1
  67. package/dist/agent/__tests__/rate-card.test.d.ts +0 -2
  68. package/dist/agent/__tests__/rate-card.test.d.ts.map +0 -1
  69. package/dist/agent/__tests__/rate-card.test.js +0 -69
  70. package/dist/agent/__tests__/rate-card.test.js.map +0 -1
  71. package/dist/agent/__tests__/system-prompt.test.d.ts +0 -2
  72. package/dist/agent/__tests__/system-prompt.test.d.ts.map +0 -1
  73. package/dist/agent/__tests__/system-prompt.test.js +0 -29
  74. package/dist/agent/__tests__/system-prompt.test.js.map +0 -1
  75. package/dist/agent/__tests__/trace-format-verbose.test.d.ts +0 -2
  76. package/dist/agent/__tests__/trace-format-verbose.test.d.ts.map +0 -1
  77. package/dist/agent/__tests__/trace-format-verbose.test.js +0 -93
  78. package/dist/agent/__tests__/trace-format-verbose.test.js.map +0 -1
  79. package/dist/agent/__tests__/trace-format.test.d.ts +0 -2
  80. package/dist/agent/__tests__/trace-format.test.d.ts.map +0 -1
  81. package/dist/agent/__tests__/trace-format.test.js +0 -104
  82. package/dist/agent/__tests__/trace-format.test.js.map +0 -1
  83. package/dist/agent/__tests__/trace-store.test.d.ts +0 -2
  84. package/dist/agent/__tests__/trace-store.test.d.ts.map +0 -1
  85. package/dist/agent/__tests__/trace-store.test.js +0 -113
  86. package/dist/agent/__tests__/trace-store.test.js.map +0 -1
  87. package/dist/agent/__tests__/verbose-log.test.d.ts +0 -2
  88. package/dist/agent/__tests__/verbose-log.test.d.ts.map +0 -1
  89. package/dist/agent/__tests__/verbose-log.test.js +0 -69
  90. package/dist/agent/__tests__/verbose-log.test.js.map +0 -1
  91. package/dist/agent/code-graph.d.ts +0 -18
  92. package/dist/agent/code-graph.d.ts.map +0 -1
  93. package/dist/agent/code-graph.js +0 -119
  94. package/dist/agent/code-graph.js.map +0 -1
  95. package/dist/agent/env.d.ts +0 -11
  96. package/dist/agent/env.d.ts.map +0 -1
  97. package/dist/agent/env.js +0 -82
  98. package/dist/agent/env.js.map +0 -1
  99. package/dist/agent/evaluator.d.ts +0 -13
  100. package/dist/agent/evaluator.d.ts.map +0 -1
  101. package/dist/agent/evaluator.js +0 -150
  102. package/dist/agent/evaluator.js.map +0 -1
  103. package/dist/agent/fleet/git-isolation.d.ts +0 -142
  104. package/dist/agent/fleet/git-isolation.d.ts.map +0 -1
  105. package/dist/agent/fleet/git-isolation.js +0 -290
  106. package/dist/agent/fleet/git-isolation.js.map +0 -1
  107. package/dist/agent/fleet/memory.d.ts +0 -21
  108. package/dist/agent/fleet/memory.d.ts.map +0 -1
  109. package/dist/agent/fleet/memory.js +0 -129
  110. package/dist/agent/fleet/memory.js.map +0 -1
  111. package/dist/agent/fleet/orchestrator.d.ts +0 -108
  112. package/dist/agent/fleet/orchestrator.d.ts.map +0 -1
  113. package/dist/agent/fleet/orchestrator.js +0 -358
  114. package/dist/agent/fleet/orchestrator.js.map +0 -1
  115. package/dist/agent/fleet/store.d.ts +0 -13
  116. package/dist/agent/fleet/store.d.ts.map +0 -1
  117. package/dist/agent/fleet/store.js +0 -79
  118. package/dist/agent/fleet/store.js.map +0 -1
  119. package/dist/agent/fleet/types.d.ts +0 -107
  120. package/dist/agent/fleet/types.d.ts.map +0 -1
  121. package/dist/agent/fleet/types.js +0 -17
  122. package/dist/agent/fleet/types.js.map +0 -1
  123. package/dist/agent/judge.d.ts +0 -46
  124. package/dist/agent/judge.d.ts.map +0 -1
  125. package/dist/agent/judge.js +0 -182
  126. package/dist/agent/judge.js.map +0 -1
  127. package/dist/agent/loop.d.ts +0 -96
  128. package/dist/agent/loop.d.ts.map +0 -1
  129. package/dist/agent/loop.js +0 -233
  130. package/dist/agent/loop.js.map +0 -1
  131. package/dist/agent/memory.d.ts +0 -14
  132. package/dist/agent/memory.d.ts.map +0 -1
  133. package/dist/agent/memory.js +0 -118
  134. package/dist/agent/memory.js.map +0 -1
  135. package/dist/agent/model-router.d.ts +0 -65
  136. package/dist/agent/model-router.d.ts.map +0 -1
  137. package/dist/agent/model-router.js +0 -118
  138. package/dist/agent/model-router.js.map +0 -1
  139. package/dist/agent/model.d.ts +0 -9
  140. package/dist/agent/model.d.ts.map +0 -1
  141. package/dist/agent/model.js +0 -24
  142. package/dist/agent/model.js.map +0 -1
  143. package/dist/agent/permissions.d.ts +0 -103
  144. package/dist/agent/permissions.d.ts.map +0 -1
  145. package/dist/agent/permissions.js +0 -245
  146. package/dist/agent/permissions.js.map +0 -1
  147. package/dist/agent/pipeline.d.ts +0 -92
  148. package/dist/agent/pipeline.d.ts.map +0 -1
  149. package/dist/agent/pipeline.js +0 -371
  150. package/dist/agent/pipeline.js.map +0 -1
  151. package/dist/agent/planner.d.ts +0 -19
  152. package/dist/agent/planner.d.ts.map +0 -1
  153. package/dist/agent/planner.js +0 -139
  154. package/dist/agent/planner.js.map +0 -1
  155. package/dist/agent/project-context.d.ts +0 -13
  156. package/dist/agent/project-context.d.ts.map +0 -1
  157. package/dist/agent/project-context.js +0 -66
  158. package/dist/agent/project-context.js.map +0 -1
  159. package/dist/agent/prompt-enhancer.d.ts +0 -46
  160. package/dist/agent/prompt-enhancer.d.ts.map +0 -1
  161. package/dist/agent/prompt-enhancer.js +0 -137
  162. package/dist/agent/prompt-enhancer.js.map +0 -1
  163. package/dist/agent/rate-card.d.ts +0 -77
  164. package/dist/agent/rate-card.d.ts.map +0 -1
  165. package/dist/agent/rate-card.js +0 -99
  166. package/dist/agent/rate-card.js.map +0 -1
  167. package/dist/agent/system-prompt.d.ts +0 -14
  168. package/dist/agent/system-prompt.d.ts.map +0 -1
  169. package/dist/agent/system-prompt.js +0 -47
  170. package/dist/agent/system-prompt.js.map +0 -1
  171. package/dist/agent/tools.d.ts +0 -23
  172. package/dist/agent/tools.d.ts.map +0 -1
  173. package/dist/agent/tools.js +0 -354
  174. package/dist/agent/tools.js.map +0 -1
  175. package/dist/agent/trace-format.d.ts +0 -13
  176. package/dist/agent/trace-format.d.ts.map +0 -1
  177. package/dist/agent/trace-format.js +0 -188
  178. package/dist/agent/trace-format.js.map +0 -1
  179. package/dist/agent/trace-store.d.ts +0 -19
  180. package/dist/agent/trace-store.d.ts.map +0 -1
  181. package/dist/agent/trace-store.js +0 -82
  182. package/dist/agent/trace-store.js.map +0 -1
  183. package/dist/agent/trace.d.ts +0 -180
  184. package/dist/agent/trace.d.ts.map +0 -1
  185. package/dist/agent/trace.js +0 -2
  186. package/dist/agent/trace.js.map +0 -1
  187. package/dist/agent/verbose-log.d.ts +0 -8
  188. package/dist/agent/verbose-log.d.ts.map +0 -1
  189. package/dist/agent/verbose-log.js +0 -53
  190. package/dist/agent/verbose-log.js.map +0 -1
  191. package/dist/agents/__tests__/loader.test.d.ts +0 -2
  192. package/dist/agents/__tests__/loader.test.d.ts.map +0 -1
  193. package/dist/agents/__tests__/loader.test.js +0 -88
  194. package/dist/agents/__tests__/loader.test.js.map +0 -1
  195. package/dist/agents/__tests__/tools.test.d.ts +0 -2
  196. package/dist/agents/__tests__/tools.test.d.ts.map +0 -1
  197. package/dist/agents/__tests__/tools.test.js +0 -40
  198. package/dist/agents/__tests__/tools.test.js.map +0 -1
  199. package/dist/agents/index.d.ts +0 -12
  200. package/dist/agents/index.d.ts.map +0 -1
  201. package/dist/agents/index.js +0 -4
  202. package/dist/agents/index.js.map +0 -1
  203. package/dist/agents/loader.d.ts +0 -25
  204. package/dist/agents/loader.d.ts.map +0 -1
  205. package/dist/agents/loader.js +0 -133
  206. package/dist/agents/loader.js.map +0 -1
  207. package/dist/agents/tools.d.ts +0 -14
  208. package/dist/agents/tools.d.ts.map +0 -1
  209. package/dist/agents/tools.js +0 -21
  210. package/dist/agents/tools.js.map +0 -1
  211. package/dist/agents/types.d.ts +0 -27
  212. package/dist/agents/types.d.ts.map +0 -1
  213. package/dist/agents/types.js +0 -11
  214. package/dist/agents/types.js.map +0 -1
  215. package/dist/agents/write.d.ts +0 -10
  216. package/dist/agents/write.d.ts.map +0 -1
  217. package/dist/agents/write.js +0 -28
  218. package/dist/agents/write.js.map +0 -1
  219. package/dist/commands/__tests__/agent.test.d.ts +0 -2
  220. package/dist/commands/__tests__/agent.test.d.ts.map +0 -1
  221. package/dist/commands/__tests__/agent.test.js +0 -82
  222. package/dist/commands/__tests__/agent.test.js.map +0 -1
  223. package/dist/commands/__tests__/cli-parity.test.d.ts +0 -2
  224. package/dist/commands/__tests__/cli-parity.test.d.ts.map +0 -1
  225. package/dist/commands/__tests__/cli-parity.test.js +0 -110
  226. package/dist/commands/__tests__/cli-parity.test.js.map +0 -1
  227. package/dist/commands/__tests__/command.test.d.ts +0 -2
  228. package/dist/commands/__tests__/command.test.d.ts.map +0 -1
  229. package/dist/commands/__tests__/command.test.js +0 -73
  230. package/dist/commands/__tests__/command.test.js.map +0 -1
  231. package/dist/commands/__tests__/cost.test.d.ts +0 -2
  232. package/dist/commands/__tests__/cost.test.d.ts.map +0 -1
  233. package/dist/commands/__tests__/cost.test.js +0 -139
  234. package/dist/commands/__tests__/cost.test.js.map +0 -1
  235. package/dist/commands/__tests__/graph.pull.test.d.ts +0 -2
  236. package/dist/commands/__tests__/graph.pull.test.d.ts.map +0 -1
  237. package/dist/commands/__tests__/graph.pull.test.js +0 -259
  238. package/dist/commands/__tests__/graph.pull.test.js.map +0 -1
  239. package/dist/commands/__tests__/mcp.test.d.ts +0 -2
  240. package/dist/commands/__tests__/mcp.test.d.ts.map +0 -1
  241. package/dist/commands/__tests__/mcp.test.js +0 -88
  242. package/dist/commands/__tests__/mcp.test.js.map +0 -1
  243. package/dist/commands/__tests__/replay.test.d.ts +0 -2
  244. package/dist/commands/__tests__/replay.test.d.ts.map +0 -1
  245. package/dist/commands/__tests__/replay.test.js +0 -76
  246. package/dist/commands/__tests__/replay.test.js.map +0 -1
  247. package/dist/commands/__tests__/rules.test.d.ts +0 -2
  248. package/dist/commands/__tests__/rules.test.d.ts.map +0 -1
  249. package/dist/commands/__tests__/rules.test.js +0 -95
  250. package/dist/commands/__tests__/rules.test.js.map +0 -1
  251. package/dist/commands/__tests__/settings.test.d.ts +0 -2
  252. package/dist/commands/__tests__/settings.test.d.ts.map +0 -1
  253. package/dist/commands/__tests__/settings.test.js +0 -83
  254. package/dist/commands/__tests__/settings.test.js.map +0 -1
  255. package/dist/commands/agent.approval.resolve.d.ts +0 -3
  256. package/dist/commands/agent.approval.resolve.d.ts.map +0 -1
  257. package/dist/commands/agent.approval.resolve.js +0 -30
  258. package/dist/commands/agent.approval.resolve.js.map +0 -1
  259. package/dist/commands/agent.d.ts +0 -15
  260. package/dist/commands/agent.d.ts.map +0 -1
  261. package/dist/commands/agent.js +0 -58
  262. package/dist/commands/agent.js.map +0 -1
  263. package/dist/commands/agent.mcp.consent.list.d.ts +0 -3
  264. package/dist/commands/agent.mcp.consent.list.d.ts.map +0 -1
  265. package/dist/commands/agent.mcp.consent.list.js +0 -30
  266. package/dist/commands/agent.mcp.consent.list.js.map +0 -1
  267. package/dist/commands/agent.mcp.consent.resolve.d.ts +0 -3
  268. package/dist/commands/agent.mcp.consent.resolve.d.ts.map +0 -1
  269. package/dist/commands/agent.mcp.consent.resolve.js +0 -34
  270. package/dist/commands/agent.mcp.consent.resolve.js.map +0 -1
  271. package/dist/commands/agent.mcp.delete.d.ts +0 -3
  272. package/dist/commands/agent.mcp.delete.d.ts.map +0 -1
  273. package/dist/commands/agent.mcp.delete.js +0 -27
  274. package/dist/commands/agent.mcp.delete.js.map +0 -1
  275. package/dist/commands/agent.mcp.list.d.ts +0 -3
  276. package/dist/commands/agent.mcp.list.d.ts.map +0 -1
  277. package/dist/commands/agent.mcp.list.js +0 -25
  278. package/dist/commands/agent.mcp.list.js.map +0 -1
  279. package/dist/commands/agent.mcp.register.d.ts +0 -3
  280. package/dist/commands/agent.mcp.register.d.ts.map +0 -1
  281. package/dist/commands/agent.mcp.register.js +0 -41
  282. package/dist/commands/agent.mcp.register.js.map +0 -1
  283. package/dist/commands/agent.mcp.set_enabled.d.ts +0 -3
  284. package/dist/commands/agent.mcp.set_enabled.d.ts.map +0 -1
  285. package/dist/commands/agent.mcp.set_enabled.js +0 -33
  286. package/dist/commands/agent.mcp.set_enabled.js.map +0 -1
  287. package/dist/commands/agent.memory.recall.d.ts +0 -3
  288. package/dist/commands/agent.memory.recall.d.ts.map +0 -1
  289. package/dist/commands/agent.memory.recall.js +0 -25
  290. package/dist/commands/agent.memory.recall.js.map +0 -1
  291. package/dist/commands/agent.memory.write.d.ts +0 -3
  292. package/dist/commands/agent.memory.write.d.ts.map +0 -1
  293. package/dist/commands/agent.memory.write.js +0 -25
  294. package/dist/commands/agent.memory.write.js.map +0 -1
  295. package/dist/commands/agent.plan.approve.d.ts +0 -3
  296. package/dist/commands/agent.plan.approve.d.ts.map +0 -1
  297. package/dist/commands/agent.plan.approve.js +0 -35
  298. package/dist/commands/agent.plan.approve.js.map +0 -1
  299. package/dist/commands/agent.plan.create.d.ts +0 -3
  300. package/dist/commands/agent.plan.create.d.ts.map +0 -1
  301. package/dist/commands/agent.plan.create.js +0 -42
  302. package/dist/commands/agent.plan.create.js.map +0 -1
  303. package/dist/commands/agent.skill.list.d.ts +0 -3
  304. package/dist/commands/agent.skill.list.d.ts.map +0 -1
  305. package/dist/commands/agent.skill.list.js +0 -27
  306. package/dist/commands/agent.skill.list.js.map +0 -1
  307. package/dist/commands/agent.skill.load.d.ts +0 -3
  308. package/dist/commands/agent.skill.load.d.ts.map +0 -1
  309. package/dist/commands/agent.skill.load.js +0 -57
  310. package/dist/commands/agent.skill.load.js.map +0 -1
  311. package/dist/commands/agent.task.background.cancel.d.ts +0 -3
  312. package/dist/commands/agent.task.background.cancel.d.ts.map +0 -1
  313. package/dist/commands/agent.task.background.cancel.js +0 -30
  314. package/dist/commands/agent.task.background.cancel.js.map +0 -1
  315. package/dist/commands/agent.task.background.read.d.ts +0 -3
  316. package/dist/commands/agent.task.background.read.d.ts.map +0 -1
  317. package/dist/commands/agent.task.background.read.js +0 -28
  318. package/dist/commands/agent.task.background.read.js.map +0 -1
  319. package/dist/commands/agent.task.background.start.d.ts +0 -3
  320. package/dist/commands/agent.task.background.start.d.ts.map +0 -1
  321. package/dist/commands/agent.task.background.start.js +0 -32
  322. package/dist/commands/agent.task.background.start.js.map +0 -1
  323. package/dist/commands/agent.tool.list.d.ts +0 -3
  324. package/dist/commands/agent.tool.list.d.ts.map +0 -1
  325. package/dist/commands/agent.tool.list.js +0 -27
  326. package/dist/commands/agent.tool.list.js.map +0 -1
  327. package/dist/commands/api-key.create.d.ts +0 -3
  328. package/dist/commands/api-key.create.d.ts.map +0 -1
  329. package/dist/commands/api-key.create.js +0 -32
  330. package/dist/commands/api-key.create.js.map +0 -1
  331. package/dist/commands/api-key.revoke.d.ts +0 -3
  332. package/dist/commands/api-key.revoke.d.ts.map +0 -1
  333. package/dist/commands/api-key.revoke.js +0 -18
  334. package/dist/commands/api-key.revoke.js.map +0 -1
  335. package/dist/commands/archive.create.d.ts +0 -3
  336. package/dist/commands/archive.create.d.ts.map +0 -1
  337. package/dist/commands/archive.create.js +0 -30
  338. package/dist/commands/archive.create.js.map +0 -1
  339. package/dist/commands/asset.upload.d.ts +0 -3
  340. package/dist/commands/asset.upload.d.ts.map +0 -1
  341. package/dist/commands/asset.upload.js +0 -32
  342. package/dist/commands/asset.upload.js.map +0 -1
  343. package/dist/commands/audit.log.query.d.ts +0 -3
  344. package/dist/commands/audit.log.query.d.ts.map +0 -1
  345. package/dist/commands/audit.log.query.js +0 -42
  346. package/dist/commands/audit.log.query.js.map +0 -1
  347. package/dist/commands/auth.login.d.ts +0 -3
  348. package/dist/commands/auth.login.d.ts.map +0 -1
  349. package/dist/commands/auth.login.js +0 -32
  350. package/dist/commands/auth.login.js.map +0 -1
  351. package/dist/commands/auth.logout.d.ts +0 -3
  352. package/dist/commands/auth.logout.d.ts.map +0 -1
  353. package/dist/commands/auth.logout.js +0 -20
  354. package/dist/commands/auth.logout.js.map +0 -1
  355. package/dist/commands/auth.whoami.d.ts +0 -3
  356. package/dist/commands/auth.whoami.d.ts.map +0 -1
  357. package/dist/commands/auth.whoami.js +0 -21
  358. package/dist/commands/auth.whoami.js.map +0 -1
  359. package/dist/commands/automation.create.d.ts +0 -3
  360. package/dist/commands/automation.create.d.ts.map +0 -1
  361. package/dist/commands/automation.create.js +0 -69
  362. package/dist/commands/automation.create.js.map +0 -1
  363. package/dist/commands/automation.disable.d.ts +0 -3
  364. package/dist/commands/automation.disable.d.ts.map +0 -1
  365. package/dist/commands/automation.disable.js +0 -24
  366. package/dist/commands/automation.disable.js.map +0 -1
  367. package/dist/commands/automation.enable.d.ts +0 -3
  368. package/dist/commands/automation.enable.d.ts.map +0 -1
  369. package/dist/commands/automation.enable.js +0 -24
  370. package/dist/commands/automation.enable.js.map +0 -1
  371. package/dist/commands/automation.list.d.ts +0 -3
  372. package/dist/commands/automation.list.d.ts.map +0 -1
  373. package/dist/commands/automation.list.js +0 -28
  374. package/dist/commands/automation.list.js.map +0 -1
  375. package/dist/commands/automation.trigger.d.ts +0 -3
  376. package/dist/commands/automation.trigger.d.ts.map +0 -1
  377. package/dist/commands/automation.trigger.js +0 -33
  378. package/dist/commands/automation.trigger.js.map +0 -1
  379. package/dist/commands/automation.update.d.ts +0 -3
  380. package/dist/commands/automation.update.d.ts.map +0 -1
  381. package/dist/commands/automation.update.js +0 -42
  382. package/dist/commands/automation.update.js.map +0 -1
  383. package/dist/commands/billing.credits.purchase.d.ts +0 -3
  384. package/dist/commands/billing.credits.purchase.d.ts.map +0 -1
  385. package/dist/commands/billing.credits.purchase.js +0 -32
  386. package/dist/commands/billing.credits.purchase.js.map +0 -1
  387. package/dist/commands/billing.status.d.ts +0 -3
  388. package/dist/commands/billing.status.d.ts.map +0 -1
  389. package/dist/commands/billing.status.js +0 -32
  390. package/dist/commands/billing.status.js.map +0 -1
  391. package/dist/commands/billing.subscription.read.d.ts +0 -3
  392. package/dist/commands/billing.subscription.read.d.ts.map +0 -1
  393. package/dist/commands/billing.subscription.read.js +0 -28
  394. package/dist/commands/billing.subscription.read.js.map +0 -1
  395. package/dist/commands/billing.subscription.upgrade.start.d.ts +0 -3
  396. package/dist/commands/billing.subscription.upgrade.start.d.ts.map +0 -1
  397. package/dist/commands/billing.subscription.upgrade.start.js +0 -33
  398. package/dist/commands/billing.subscription.upgrade.start.js.map +0 -1
  399. package/dist/commands/brandkit.apply.d.ts +0 -3
  400. package/dist/commands/brandkit.apply.d.ts.map +0 -1
  401. package/dist/commands/brandkit.apply.js +0 -32
  402. package/dist/commands/brandkit.apply.js.map +0 -1
  403. package/dist/commands/chat.send.d.ts +0 -3
  404. package/dist/commands/chat.send.d.ts.map +0 -1
  405. package/dist/commands/chat.send.js +0 -136
  406. package/dist/commands/chat.send.js.map +0 -1
  407. package/dist/commands/code.d.ts +0 -14
  408. package/dist/commands/code.d.ts.map +0 -1
  409. package/dist/commands/code.js +0 -100
  410. package/dist/commands/code.js.map +0 -1
  411. package/dist/commands/command.d.ts +0 -17
  412. package/dist/commands/command.d.ts.map +0 -1
  413. package/dist/commands/command.js +0 -74
  414. package/dist/commands/command.js.map +0 -1
  415. package/dist/commands/config.d.ts +0 -2
  416. package/dist/commands/config.d.ts.map +0 -1
  417. package/dist/commands/config.js +0 -66
  418. package/dist/commands/config.js.map +0 -1
  419. package/dist/commands/conversation.archive.d.ts +0 -3
  420. package/dist/commands/conversation.archive.d.ts.map +0 -1
  421. package/dist/commands/conversation.archive.js +0 -23
  422. package/dist/commands/conversation.archive.js.map +0 -1
  423. package/dist/commands/conversation.chat.d.ts +0 -3
  424. package/dist/commands/conversation.chat.d.ts.map +0 -1
  425. package/dist/commands/conversation.chat.js +0 -28
  426. package/dist/commands/conversation.chat.js.map +0 -1
  427. package/dist/commands/conversation.delete.d.ts +0 -3
  428. package/dist/commands/conversation.delete.d.ts.map +0 -1
  429. package/dist/commands/conversation.delete.js +0 -18
  430. package/dist/commands/conversation.delete.js.map +0 -1
  431. package/dist/commands/conversation.files.list.d.ts +0 -3
  432. package/dist/commands/conversation.files.list.d.ts.map +0 -1
  433. package/dist/commands/conversation.files.list.js +0 -39
  434. package/dist/commands/conversation.files.list.js.map +0 -1
  435. package/dist/commands/conversation.list.d.ts +0 -3
  436. package/dist/commands/conversation.list.d.ts.map +0 -1
  437. package/dist/commands/conversation.list.js +0 -32
  438. package/dist/commands/conversation.list.js.map +0 -1
  439. package/dist/commands/conversation.purge.d.ts +0 -3
  440. package/dist/commands/conversation.purge.d.ts.map +0 -1
  441. package/dist/commands/conversation.purge.js +0 -30
  442. package/dist/commands/conversation.purge.js.map +0 -1
  443. package/dist/commands/conversation.rename.d.ts +0 -3
  444. package/dist/commands/conversation.rename.d.ts.map +0 -1
  445. package/dist/commands/conversation.rename.js +0 -22
  446. package/dist/commands/conversation.rename.js.map +0 -1
  447. package/dist/commands/cost.d.ts +0 -10
  448. package/dist/commands/cost.d.ts.map +0 -1
  449. package/dist/commands/cost.js +0 -140
  450. package/dist/commands/cost.js.map +0 -1
  451. package/dist/commands/document.create.d.ts +0 -3
  452. package/dist/commands/document.create.d.ts.map +0 -1
  453. package/dist/commands/document.create.js +0 -29
  454. package/dist/commands/document.create.js.map +0 -1
  455. package/dist/commands/document.list.d.ts +0 -3
  456. package/dist/commands/document.list.d.ts.map +0 -1
  457. package/dist/commands/document.list.js +0 -31
  458. package/dist/commands/document.list.js.map +0 -1
  459. package/dist/commands/document.read.d.ts +0 -3
  460. package/dist/commands/document.read.d.ts.map +0 -1
  461. package/dist/commands/document.read.js +0 -23
  462. package/dist/commands/document.read.js.map +0 -1
  463. package/dist/commands/documents.generate.d.ts +0 -3
  464. package/dist/commands/documents.generate.d.ts.map +0 -1
  465. package/dist/commands/documents.generate.js +0 -34
  466. package/dist/commands/documents.generate.js.map +0 -1
  467. package/dist/commands/documents.pdf.create.d.ts +0 -3
  468. package/dist/commands/documents.pdf.create.d.ts.map +0 -1
  469. package/dist/commands/documents.pdf.create.js +0 -40
  470. package/dist/commands/documents.pdf.create.js.map +0 -1
  471. package/dist/commands/env.d.ts +0 -19
  472. package/dist/commands/env.d.ts.map +0 -1
  473. package/dist/commands/env.js +0 -64
  474. package/dist/commands/env.js.map +0 -1
  475. package/dist/commands/form.create.d.ts +0 -3
  476. package/dist/commands/form.create.d.ts.map +0 -1
  477. package/dist/commands/form.create.js +0 -34
  478. package/dist/commands/form.create.js.map +0 -1
  479. package/dist/commands/form.fill.d.ts +0 -3
  480. package/dist/commands/form.fill.d.ts.map +0 -1
  481. package/dist/commands/form.fill.js +0 -37
  482. package/dist/commands/form.fill.js.map +0 -1
  483. package/dist/commands/form.submit.d.ts +0 -3
  484. package/dist/commands/form.submit.d.ts.map +0 -1
  485. package/dist/commands/form.submit.js +0 -34
  486. package/dist/commands/form.submit.js.map +0 -1
  487. package/dist/commands/graph.cypher.d.ts +0 -3
  488. package/dist/commands/graph.cypher.d.ts.map +0 -1
  489. package/dist/commands/graph.cypher.js +0 -37
  490. package/dist/commands/graph.cypher.js.map +0 -1
  491. package/dist/commands/graph.edge.delete.d.ts +0 -3
  492. package/dist/commands/graph.edge.delete.d.ts.map +0 -1
  493. package/dist/commands/graph.edge.delete.js +0 -53
  494. package/dist/commands/graph.edge.delete.js.map +0 -1
  495. package/dist/commands/graph.edge.upsert.d.ts +0 -3
  496. package/dist/commands/graph.edge.upsert.d.ts.map +0 -1
  497. package/dist/commands/graph.edge.upsert.js +0 -47
  498. package/dist/commands/graph.edge.upsert.js.map +0 -1
  499. package/dist/commands/graph.node.delete.d.ts +0 -3
  500. package/dist/commands/graph.node.delete.d.ts.map +0 -1
  501. package/dist/commands/graph.node.delete.js +0 -34
  502. package/dist/commands/graph.node.delete.js.map +0 -1
  503. package/dist/commands/graph.node.get.d.ts +0 -3
  504. package/dist/commands/graph.node.get.d.ts.map +0 -1
  505. package/dist/commands/graph.node.get.js +0 -16
  506. package/dist/commands/graph.node.get.js.map +0 -1
  507. package/dist/commands/graph.node.search.d.ts +0 -3
  508. package/dist/commands/graph.node.search.d.ts.map +0 -1
  509. package/dist/commands/graph.node.search.js +0 -31
  510. package/dist/commands/graph.node.search.js.map +0 -1
  511. package/dist/commands/graph.node.upsert.d.ts +0 -3
  512. package/dist/commands/graph.node.upsert.d.ts.map +0 -1
  513. package/dist/commands/graph.node.upsert.js +0 -39
  514. package/dist/commands/graph.node.upsert.js.map +0 -1
  515. package/dist/commands/graph.pull.d.ts +0 -15
  516. package/dist/commands/graph.pull.d.ts.map +0 -1
  517. package/dist/commands/graph.pull.js +0 -137
  518. package/dist/commands/graph.pull.js.map +0 -1
  519. package/dist/commands/graph.search.d.ts +0 -10
  520. package/dist/commands/graph.search.d.ts.map +0 -1
  521. package/dist/commands/graph.search.js +0 -25
  522. package/dist/commands/graph.search.js.map +0 -1
  523. package/dist/commands/graph.status.d.ts +0 -10
  524. package/dist/commands/graph.status.d.ts.map +0 -1
  525. package/dist/commands/graph.status.js +0 -75
  526. package/dist/commands/graph.status.js.map +0 -1
  527. package/dist/commands/image.analyze.d.ts +0 -3
  528. package/dist/commands/image.analyze.d.ts.map +0 -1
  529. package/dist/commands/image.analyze.js +0 -24
  530. package/dist/commands/image.analyze.js.map +0 -1
  531. package/dist/commands/image.create.d.ts +0 -3
  532. package/dist/commands/image.create.d.ts.map +0 -1
  533. package/dist/commands/image.create.js +0 -33
  534. package/dist/commands/image.create.js.map +0 -1
  535. package/dist/commands/image.generate.d.ts +0 -3
  536. package/dist/commands/image.generate.d.ts.map +0 -1
  537. package/dist/commands/image.generate.js +0 -35
  538. package/dist/commands/image.generate.js.map +0 -1
  539. package/dist/commands/image.list.d.ts +0 -3
  540. package/dist/commands/image.list.d.ts.map +0 -1
  541. package/dist/commands/image.list.js +0 -31
  542. package/dist/commands/image.list.js.map +0 -1
  543. package/dist/commands/markdown.generate.d.ts +0 -3
  544. package/dist/commands/markdown.generate.d.ts.map +0 -1
  545. package/dist/commands/markdown.generate.js +0 -37
  546. package/dist/commands/markdown.generate.js.map +0 -1
  547. package/dist/commands/mcp.add.d.ts +0 -13
  548. package/dist/commands/mcp.add.d.ts.map +0 -1
  549. package/dist/commands/mcp.add.js +0 -110
  550. package/dist/commands/mcp.add.js.map +0 -1
  551. package/dist/commands/mcp.auth.d.ts +0 -10
  552. package/dist/commands/mcp.auth.d.ts.map +0 -1
  553. package/dist/commands/mcp.auth.js +0 -132
  554. package/dist/commands/mcp.auth.js.map +0 -1
  555. package/dist/commands/mcp.check.d.ts +0 -10
  556. package/dist/commands/mcp.check.d.ts.map +0 -1
  557. package/dist/commands/mcp.check.js +0 -114
  558. package/dist/commands/mcp.check.js.map +0 -1
  559. package/dist/commands/mcp.d.ts +0 -18
  560. package/dist/commands/mcp.d.ts.map +0 -1
  561. package/dist/commands/mcp.js +0 -183
  562. package/dist/commands/mcp.js.map +0 -1
  563. package/dist/commands/mcp.list.d.ts +0 -9
  564. package/dist/commands/mcp.list.d.ts.map +0 -1
  565. package/dist/commands/mcp.list.js +0 -93
  566. package/dist/commands/mcp.list.js.map +0 -1
  567. package/dist/commands/mcp.permit.d.ts +0 -12
  568. package/dist/commands/mcp.permit.d.ts.map +0 -1
  569. package/dist/commands/mcp.permit.js +0 -117
  570. package/dist/commands/mcp.permit.js.map +0 -1
  571. package/dist/commands/mcp.remove.d.ts +0 -9
  572. package/dist/commands/mcp.remove.d.ts.map +0 -1
  573. package/dist/commands/mcp.remove.js +0 -65
  574. package/dist/commands/mcp.remove.js.map +0 -1
  575. package/dist/commands/mermaid.generate.d.ts +0 -3
  576. package/dist/commands/mermaid.generate.d.ts.map +0 -1
  577. package/dist/commands/mermaid.generate.js +0 -33
  578. package/dist/commands/mermaid.generate.js.map +0 -1
  579. package/dist/commands/notifications.list.d.ts +0 -3
  580. package/dist/commands/notifications.list.d.ts.map +0 -1
  581. package/dist/commands/notifications.list.js +0 -33
  582. package/dist/commands/notifications.list.js.map +0 -1
  583. package/dist/commands/notifications.mark.d.ts +0 -3
  584. package/dist/commands/notifications.mark.d.ts.map +0 -1
  585. package/dist/commands/notifications.mark.js +0 -23
  586. package/dist/commands/notifications.mark.js.map +0 -1
  587. package/dist/commands/ontology.neighbors.d.ts +0 -3
  588. package/dist/commands/ontology.neighbors.d.ts.map +0 -1
  589. package/dist/commands/ontology.neighbors.js +0 -34
  590. package/dist/commands/ontology.neighbors.js.map +0 -1
  591. package/dist/commands/ontology.query.d.ts +0 -3
  592. package/dist/commands/ontology.query.d.ts.map +0 -1
  593. package/dist/commands/ontology.query.js +0 -36
  594. package/dist/commands/ontology.query.js.map +0 -1
  595. package/dist/commands/org.create.d.ts +0 -3
  596. package/dist/commands/org.create.d.ts.map +0 -1
  597. package/dist/commands/org.create.js +0 -23
  598. package/dist/commands/org.create.js.map +0 -1
  599. package/dist/commands/org.list.d.ts +0 -3
  600. package/dist/commands/org.list.d.ts.map +0 -1
  601. package/dist/commands/org.list.js +0 -25
  602. package/dist/commands/org.list.js.map +0 -1
  603. package/dist/commands/org.member.add.d.ts +0 -3
  604. package/dist/commands/org.member.add.d.ts.map +0 -1
  605. package/dist/commands/org.member.add.js +0 -24
  606. package/dist/commands/org.member.add.js.map +0 -1
  607. package/dist/commands/org.member.invite.accept.d.ts +0 -3
  608. package/dist/commands/org.member.invite.accept.d.ts.map +0 -1
  609. package/dist/commands/org.member.invite.accept.js +0 -23
  610. package/dist/commands/org.member.invite.accept.js.map +0 -1
  611. package/dist/commands/org.member.invite.decline.d.ts +0 -3
  612. package/dist/commands/org.member.invite.decline.d.ts.map +0 -1
  613. package/dist/commands/org.member.invite.decline.js +0 -25
  614. package/dist/commands/org.member.invite.decline.js.map +0 -1
  615. package/dist/commands/org.member.remove.d.ts +0 -3
  616. package/dist/commands/org.member.remove.d.ts.map +0 -1
  617. package/dist/commands/org.member.remove.js +0 -23
  618. package/dist/commands/org.member.remove.js.map +0 -1
  619. package/dist/commands/org.member.role.change.d.ts +0 -3
  620. package/dist/commands/org.member.role.change.d.ts.map +0 -1
  621. package/dist/commands/org.member.role.change.js +0 -27
  622. package/dist/commands/org.member.role.change.js.map +0 -1
  623. package/dist/commands/organization.create.d.ts +0 -3
  624. package/dist/commands/organization.create.d.ts.map +0 -1
  625. package/dist/commands/organization.create.js +0 -36
  626. package/dist/commands/organization.create.js.map +0 -1
  627. package/dist/commands/plugin.catalog.browse.d.ts +0 -3
  628. package/dist/commands/plugin.catalog.browse.d.ts.map +0 -1
  629. package/dist/commands/plugin.catalog.browse.js +0 -21
  630. package/dist/commands/plugin.catalog.browse.js.map +0 -1
  631. package/dist/commands/plugin.catalog.get.d.ts +0 -3
  632. package/dist/commands/plugin.catalog.get.d.ts.map +0 -1
  633. package/dist/commands/plugin.catalog.get.js +0 -25
  634. package/dist/commands/plugin.catalog.get.js.map +0 -1
  635. package/dist/commands/plugin.credential.reauth.d.ts +0 -3
  636. package/dist/commands/plugin.credential.reauth.d.ts.map +0 -1
  637. package/dist/commands/plugin.credential.reauth.js +0 -23
  638. package/dist/commands/plugin.credential.reauth.js.map +0 -1
  639. package/dist/commands/plugin.credential.set_secret.d.ts +0 -3
  640. package/dist/commands/plugin.credential.set_secret.d.ts.map +0 -1
  641. package/dist/commands/plugin.credential.set_secret.js +0 -33
  642. package/dist/commands/plugin.credential.set_secret.js.map +0 -1
  643. package/dist/commands/plugin.denylist.add.d.ts +0 -3
  644. package/dist/commands/plugin.denylist.add.d.ts.map +0 -1
  645. package/dist/commands/plugin.denylist.add.js +0 -29
  646. package/dist/commands/plugin.denylist.add.js.map +0 -1
  647. package/dist/commands/plugin.denylist.remove.d.ts +0 -3
  648. package/dist/commands/plugin.denylist.remove.d.ts.map +0 -1
  649. package/dist/commands/plugin.denylist.remove.js +0 -27
  650. package/dist/commands/plugin.denylist.remove.js.map +0 -1
  651. package/dist/commands/plugin.install.d.ts +0 -3
  652. package/dist/commands/plugin.install.d.ts.map +0 -1
  653. package/dist/commands/plugin.install.js +0 -23
  654. package/dist/commands/plugin.install.js.map +0 -1
  655. package/dist/commands/plugin.list.d.ts +0 -3
  656. package/dist/commands/plugin.list.d.ts.map +0 -1
  657. package/dist/commands/plugin.list.js +0 -29
  658. package/dist/commands/plugin.list.js.map +0 -1
  659. package/dist/commands/plugin.org.install.d.ts +0 -3
  660. package/dist/commands/plugin.org.install.d.ts.map +0 -1
  661. package/dist/commands/plugin.org.install.js +0 -25
  662. package/dist/commands/plugin.org.install.js.map +0 -1
  663. package/dist/commands/plugin.org.install_bulk.d.ts +0 -3
  664. package/dist/commands/plugin.org.install_bulk.d.ts.map +0 -1
  665. package/dist/commands/plugin.org.install_bulk.js +0 -36
  666. package/dist/commands/plugin.org.install_bulk.js.map +0 -1
  667. package/dist/commands/plugin.org.list.d.ts +0 -3
  668. package/dist/commands/plugin.org.list.d.ts.map +0 -1
  669. package/dist/commands/plugin.org.list.js +0 -37
  670. package/dist/commands/plugin.org.list.js.map +0 -1
  671. package/dist/commands/plugin.org.set_enabled.d.ts +0 -3
  672. package/dist/commands/plugin.org.set_enabled.d.ts.map +0 -1
  673. package/dist/commands/plugin.org.set_enabled.js +0 -28
  674. package/dist/commands/plugin.org.set_enabled.js.map +0 -1
  675. package/dist/commands/plugin.org.uninstall.d.ts +0 -3
  676. package/dist/commands/plugin.org.uninstall.d.ts.map +0 -1
  677. package/dist/commands/plugin.org.uninstall.js +0 -23
  678. package/dist/commands/plugin.org.uninstall.js.map +0 -1
  679. package/dist/commands/plugin.registry.add.d.ts +0 -3
  680. package/dist/commands/plugin.registry.add.d.ts.map +0 -1
  681. package/dist/commands/plugin.registry.add.js +0 -25
  682. package/dist/commands/plugin.registry.add.js.map +0 -1
  683. package/dist/commands/plugin.registry.list.d.ts +0 -3
  684. package/dist/commands/plugin.registry.list.d.ts.map +0 -1
  685. package/dist/commands/plugin.registry.list.js +0 -18
  686. package/dist/commands/plugin.registry.list.js.map +0 -1
  687. package/dist/commands/plugin.registry.remove.d.ts +0 -3
  688. package/dist/commands/plugin.registry.remove.d.ts.map +0 -1
  689. package/dist/commands/plugin.registry.remove.js +0 -25
  690. package/dist/commands/plugin.registry.remove.js.map +0 -1
  691. package/dist/commands/plugin.registry.sync.d.ts +0 -3
  692. package/dist/commands/plugin.registry.sync.d.ts.map +0 -1
  693. package/dist/commands/plugin.registry.sync.js +0 -27
  694. package/dist/commands/plugin.registry.sync.js.map +0 -1
  695. package/dist/commands/plugin.settings.set_auth_alerts.d.ts +0 -3
  696. package/dist/commands/plugin.settings.set_auth_alerts.d.ts.map +0 -1
  697. package/dist/commands/plugin.settings.set_auth_alerts.js +0 -31
  698. package/dist/commands/plugin.settings.set_auth_alerts.js.map +0 -1
  699. package/dist/commands/plugin.uninstall.d.ts +0 -3
  700. package/dist/commands/plugin.uninstall.d.ts.map +0 -1
  701. package/dist/commands/plugin.uninstall.js +0 -23
  702. package/dist/commands/plugin.uninstall.js.map +0 -1
  703. package/dist/commands/plugin.workspace.set_enabled.d.ts +0 -3
  704. package/dist/commands/plugin.workspace.set_enabled.d.ts.map +0 -1
  705. package/dist/commands/plugin.workspace.set_enabled.js +0 -36
  706. package/dist/commands/plugin.workspace.set_enabled.js.map +0 -1
  707. package/dist/commands/privacy.erase.d.ts +0 -3
  708. package/dist/commands/privacy.erase.d.ts.map +0 -1
  709. package/dist/commands/privacy.erase.js +0 -61
  710. package/dist/commands/privacy.erase.js.map +0 -1
  711. package/dist/commands/privacy.erase.test.d.ts +0 -2
  712. package/dist/commands/privacy.erase.test.d.ts.map +0 -1
  713. package/dist/commands/privacy.erase.test.js +0 -132
  714. package/dist/commands/privacy.erase.test.js.map +0 -1
  715. package/dist/commands/privacy.export.d.ts +0 -3
  716. package/dist/commands/privacy.export.d.ts.map +0 -1
  717. package/dist/commands/privacy.export.js +0 -36
  718. package/dist/commands/privacy.export.js.map +0 -1
  719. package/dist/commands/replay.d.ts +0 -5
  720. package/dist/commands/replay.d.ts.map +0 -1
  721. package/dist/commands/replay.js +0 -28
  722. package/dist/commands/replay.js.map +0 -1
  723. package/dist/commands/research.swarm.start.d.ts +0 -3
  724. package/dist/commands/research.swarm.start.d.ts.map +0 -1
  725. package/dist/commands/research.swarm.start.js +0 -35
  726. package/dist/commands/research.swarm.start.js.map +0 -1
  727. package/dist/commands/research.swarm.status.d.ts +0 -3
  728. package/dist/commands/research.swarm.status.d.ts.map +0 -1
  729. package/dist/commands/research.swarm.status.js +0 -26
  730. package/dist/commands/research.swarm.status.js.map +0 -1
  731. package/dist/commands/rules.d.ts +0 -19
  732. package/dist/commands/rules.d.ts.map +0 -1
  733. package/dist/commands/rules.js +0 -96
  734. package/dist/commands/rules.js.map +0 -1
  735. package/dist/commands/schema/schema.config.d.ts +0 -3
  736. package/dist/commands/schema/schema.config.d.ts.map +0 -1
  737. package/dist/commands/schema/schema.config.js +0 -34
  738. package/dist/commands/schema/schema.config.js.map +0 -1
  739. package/dist/commands/schema/schema.disable.d.ts +0 -3
  740. package/dist/commands/schema/schema.disable.d.ts.map +0 -1
  741. package/dist/commands/schema/schema.disable.js +0 -22
  742. package/dist/commands/schema/schema.disable.js.map +0 -1
  743. package/dist/commands/schema/schema.enable.d.ts +0 -3
  744. package/dist/commands/schema/schema.enable.d.ts.map +0 -1
  745. package/dist/commands/schema/schema.enable.js +0 -22
  746. package/dist/commands/schema/schema.enable.js.map +0 -1
  747. package/dist/commands/schema/schema.export.d.ts +0 -3
  748. package/dist/commands/schema/schema.export.d.ts.map +0 -1
  749. package/dist/commands/schema/schema.export.js +0 -31
  750. package/dist/commands/schema/schema.export.js.map +0 -1
  751. package/dist/commands/schema/schema.get.d.ts +0 -3
  752. package/dist/commands/schema/schema.get.d.ts.map +0 -1
  753. package/dist/commands/schema/schema.get.js +0 -23
  754. package/dist/commands/schema/schema.get.js.map +0 -1
  755. package/dist/commands/schema/schema.label.d.ts +0 -5
  756. package/dist/commands/schema/schema.label.d.ts.map +0 -1
  757. package/dist/commands/schema/schema.label.js +0 -60
  758. package/dist/commands/schema/schema.label.js.map +0 -1
  759. package/dist/commands/schema/schema.list.d.ts +0 -3
  760. package/dist/commands/schema/schema.list.d.ts.map +0 -1
  761. package/dist/commands/schema/schema.list.js +0 -30
  762. package/dist/commands/schema/schema.list.js.map +0 -1
  763. package/dist/commands/schema/schema.prop.d.ts +0 -5
  764. package/dist/commands/schema/schema.prop.d.ts.map +0 -1
  765. package/dist/commands/schema/schema.prop.js +0 -72
  766. package/dist/commands/schema/schema.prop.js.map +0 -1
  767. package/dist/commands/schema/schema.reconcile.d.ts +0 -10
  768. package/dist/commands/schema/schema.reconcile.d.ts.map +0 -1
  769. package/dist/commands/schema/schema.reconcile.js +0 -65
  770. package/dist/commands/schema/schema.reconcile.js.map +0 -1
  771. package/dist/commands/schema/schema.rel.d.ts +0 -5
  772. package/dist/commands/schema/schema.rel.d.ts.map +0 -1
  773. package/dist/commands/schema/schema.rel.js +0 -65
  774. package/dist/commands/schema/schema.rel.js.map +0 -1
  775. package/dist/commands/schema/schema.version.d.ts +0 -7
  776. package/dist/commands/schema/schema.version.d.ts.map +0 -1
  777. package/dist/commands/schema/schema.version.js +0 -96
  778. package/dist/commands/schema/schema.version.js.map +0 -1
  779. package/dist/commands/secret.d.ts +0 -23
  780. package/dist/commands/secret.d.ts.map +0 -1
  781. package/dist/commands/secret.js +0 -90
  782. package/dist/commands/secret.js.map +0 -1
  783. package/dist/commands/settings.d.ts +0 -10
  784. package/dist/commands/settings.d.ts.map +0 -1
  785. package/dist/commands/settings.js +0 -117
  786. package/dist/commands/settings.js.map +0 -1
  787. package/dist/commands/skill.create.d.ts +0 -3
  788. package/dist/commands/skill.create.d.ts.map +0 -1
  789. package/dist/commands/skill.create.js +0 -52
  790. package/dist/commands/skill.create.js.map +0 -1
  791. package/dist/commands/skill.edit.d.ts +0 -3
  792. package/dist/commands/skill.edit.d.ts.map +0 -1
  793. package/dist/commands/skill.edit.js +0 -28
  794. package/dist/commands/skill.edit.js.map +0 -1
  795. package/dist/commands/skill.enable.d.ts +0 -3
  796. package/dist/commands/skill.enable.d.ts.map +0 -1
  797. package/dist/commands/skill.enable.js +0 -31
  798. package/dist/commands/skill.enable.js.map +0 -1
  799. package/dist/commands/skill.export.d.ts +0 -3
  800. package/dist/commands/skill.export.d.ts.map +0 -1
  801. package/dist/commands/skill.export.js +0 -25
  802. package/dist/commands/skill.export.js.map +0 -1
  803. package/dist/commands/skill.metrics.read.d.ts +0 -3
  804. package/dist/commands/skill.metrics.read.d.ts.map +0 -1
  805. package/dist/commands/skill.metrics.read.js +0 -56
  806. package/dist/commands/skill.metrics.read.js.map +0 -1
  807. package/dist/commands/skill.version.activate.d.ts +0 -3
  808. package/dist/commands/skill.version.activate.d.ts.map +0 -1
  809. package/dist/commands/skill.version.activate.js +0 -24
  810. package/dist/commands/skill.version.activate.js.map +0 -1
  811. package/dist/commands/skill.version.get.d.ts +0 -3
  812. package/dist/commands/skill.version.get.d.ts.map +0 -1
  813. package/dist/commands/skill.version.get.js +0 -43
  814. package/dist/commands/skill.version.get.js.map +0 -1
  815. package/dist/commands/skill.version.list.d.ts +0 -3
  816. package/dist/commands/skill.version.list.d.ts.map +0 -1
  817. package/dist/commands/skill.version.list.js +0 -38
  818. package/dist/commands/skill.version.list.js.map +0 -1
  819. package/dist/commands/skill.version.upload.d.ts +0 -3
  820. package/dist/commands/skill.version.upload.d.ts.map +0 -1
  821. package/dist/commands/skill.version.upload.js +0 -28
  822. package/dist/commands/skill.version.upload.js.map +0 -1
  823. package/dist/commands/skill.workspace.install.d.ts +0 -3
  824. package/dist/commands/skill.workspace.install.d.ts.map +0 -1
  825. package/dist/commands/skill.workspace.install.js +0 -52
  826. package/dist/commands/skill.workspace.install.js.map +0 -1
  827. package/dist/commands/skill.workspace.list.d.ts +0 -3
  828. package/dist/commands/skill.workspace.list.d.ts.map +0 -1
  829. package/dist/commands/skill.workspace.list.js +0 -34
  830. package/dist/commands/skill.workspace.list.js.map +0 -1
  831. package/dist/commands/svg.generate.d.ts +0 -3
  832. package/dist/commands/svg.generate.d.ts.map +0 -1
  833. package/dist/commands/svg.generate.js +0 -29
  834. package/dist/commands/svg.generate.js.map +0 -1
  835. package/dist/commands/system.install.instructions.d.ts +0 -3
  836. package/dist/commands/system.install.instructions.d.ts.map +0 -1
  837. package/dist/commands/system.install.instructions.js +0 -34
  838. package/dist/commands/system.install.instructions.js.map +0 -1
  839. package/dist/commands/user.preferences.get.d.ts +0 -3
  840. package/dist/commands/user.preferences.get.d.ts.map +0 -1
  841. package/dist/commands/user.preferences.get.js +0 -20
  842. package/dist/commands/user.preferences.get.js.map +0 -1
  843. package/dist/commands/user.preferences.read.d.ts +0 -3
  844. package/dist/commands/user.preferences.read.d.ts.map +0 -1
  845. package/dist/commands/user.preferences.read.js +0 -30
  846. package/dist/commands/user.preferences.read.js.map +0 -1
  847. package/dist/commands/user.preferences.update.d.ts +0 -3
  848. package/dist/commands/user.preferences.update.d.ts.map +0 -1
  849. package/dist/commands/user.preferences.update.js +0 -36
  850. package/dist/commands/user.preferences.update.js.map +0 -1
  851. package/dist/commands/user.preferences.write.d.ts +0 -3
  852. package/dist/commands/user.preferences.write.d.ts.map +0 -1
  853. package/dist/commands/user.preferences.write.js +0 -47
  854. package/dist/commands/user.preferences.write.js.map +0 -1
  855. package/dist/commands/video.generate.d.ts +0 -3
  856. package/dist/commands/video.generate.d.ts.map +0 -1
  857. package/dist/commands/video.generate.js +0 -27
  858. package/dist/commands/video.generate.js.map +0 -1
  859. package/dist/commands/web.fetch.d.ts +0 -3
  860. package/dist/commands/web.fetch.d.ts.map +0 -1
  861. package/dist/commands/web.fetch.js +0 -39
  862. package/dist/commands/web.fetch.js.map +0 -1
  863. package/dist/commands/web.search.d.ts +0 -3
  864. package/dist/commands/web.search.d.ts.map +0 -1
  865. package/dist/commands/web.search.js +0 -50
  866. package/dist/commands/web.search.js.map +0 -1
  867. package/dist/commands/workflow.cancel.d.ts +0 -3
  868. package/dist/commands/workflow.cancel.d.ts.map +0 -1
  869. package/dist/commands/workflow.cancel.js +0 -25
  870. package/dist/commands/workflow.cancel.js.map +0 -1
  871. package/dist/commands/workflow.run.d.ts +0 -3
  872. package/dist/commands/workflow.run.d.ts.map +0 -1
  873. package/dist/commands/workflow.run.js +0 -41
  874. package/dist/commands/workflow.run.js.map +0 -1
  875. package/dist/commands/workflow.status.d.ts +0 -3
  876. package/dist/commands/workflow.status.d.ts.map +0 -1
  877. package/dist/commands/workflow.status.js +0 -34
  878. package/dist/commands/workflow.status.js.map +0 -1
  879. package/dist/commands/workspace.create.d.ts +0 -3
  880. package/dist/commands/workspace.create.d.ts.map +0 -1
  881. package/dist/commands/workspace.create.js +0 -25
  882. package/dist/commands/workspace.create.js.map +0 -1
  883. package/dist/commands/workspace.invite.send.d.ts +0 -3
  884. package/dist/commands/workspace.invite.send.d.ts.map +0 -1
  885. package/dist/commands/workspace.invite.send.js +0 -33
  886. package/dist/commands/workspace.invite.send.js.map +0 -1
  887. package/dist/commands/workspace.list.d.ts +0 -3
  888. package/dist/commands/workspace.list.d.ts.map +0 -1
  889. package/dist/commands/workspace.list.js +0 -28
  890. package/dist/commands/workspace.list.js.map +0 -1
  891. package/dist/commands/workspace.member.list.d.ts +0 -3
  892. package/dist/commands/workspace.member.list.d.ts.map +0 -1
  893. package/dist/commands/workspace.member.list.js +0 -28
  894. package/dist/commands/workspace.member.list.js.map +0 -1
  895. package/dist/commands/workspace.model.settings.read.d.ts +0 -3
  896. package/dist/commands/workspace.model.settings.read.d.ts.map +0 -1
  897. package/dist/commands/workspace.model.settings.read.js +0 -22
  898. package/dist/commands/workspace.model.settings.read.js.map +0 -1
  899. package/dist/commands/workspace.model.settings.write.d.ts +0 -3
  900. package/dist/commands/workspace.model.settings.write.d.ts.map +0 -1
  901. package/dist/commands/workspace.model.settings.write.js +0 -26
  902. package/dist/commands/workspace.model.settings.write.js.map +0 -1
  903. package/dist/commands.test.d.ts +0 -2
  904. package/dist/commands.test.d.ts.map +0 -1
  905. package/dist/commands.test.js +0 -3454
  906. package/dist/commands.test.js.map +0 -1
  907. package/dist/components/DevStatus.d.ts +0 -2
  908. package/dist/components/DevStatus.d.ts.map +0 -1
  909. package/dist/components/DevStatus.js +0 -62
  910. package/dist/components/DevStatus.js.map +0 -1
  911. package/dist/components/DevStatus.test.d.ts +0 -2
  912. package/dist/components/DevStatus.test.d.ts.map +0 -1
  913. package/dist/components/DevStatus.test.js +0 -108
  914. package/dist/components/DevStatus.test.js.map +0 -1
  915. package/dist/daemon/client.d.ts +0 -30
  916. package/dist/daemon/client.d.ts.map +0 -1
  917. package/dist/daemon/client.js +0 -97
  918. package/dist/daemon/client.js.map +0 -1
  919. package/dist/daemon/code-graph/builder.d.ts +0 -6
  920. package/dist/daemon/code-graph/builder.d.ts.map +0 -1
  921. package/dist/daemon/code-graph/builder.js +0 -215
  922. package/dist/daemon/code-graph/builder.js.map +0 -1
  923. package/dist/daemon/code-graph/query.d.ts +0 -29
  924. package/dist/daemon/code-graph/query.d.ts.map +0 -1
  925. package/dist/daemon/code-graph/query.js +0 -98
  926. package/dist/daemon/code-graph/query.js.map +0 -1
  927. package/dist/daemon/code-graph/types.d.ts +0 -37
  928. package/dist/daemon/code-graph/types.d.ts.map +0 -1
  929. package/dist/daemon/code-graph/types.js +0 -5
  930. package/dist/daemon/code-graph/types.js.map +0 -1
  931. package/dist/daemon/code-graph/watcher.d.ts +0 -37
  932. package/dist/daemon/code-graph/watcher.d.ts.map +0 -1
  933. package/dist/daemon/code-graph/watcher.js +0 -79
  934. package/dist/daemon/code-graph/watcher.js.map +0 -1
  935. package/dist/daemon/lifecycle.d.ts +0 -6
  936. package/dist/daemon/lifecycle.d.ts.map +0 -1
  937. package/dist/daemon/lifecycle.js +0 -132
  938. package/dist/daemon/lifecycle.js.map +0 -1
  939. package/dist/daemon/protocol.d.ts +0 -113
  940. package/dist/daemon/protocol.d.ts.map +0 -1
  941. package/dist/daemon/protocol.js +0 -16
  942. package/dist/daemon/protocol.js.map +0 -1
  943. package/dist/daemon/server.d.ts +0 -26
  944. package/dist/daemon/server.d.ts.map +0 -1
  945. package/dist/daemon/server.js +0 -168
  946. package/dist/daemon/server.js.map +0 -1
  947. package/dist/index.d.ts +0 -3
  948. package/dist/index.d.ts.map +0 -1
  949. package/dist/index.js +0 -566
  950. package/dist/index.js.map +0 -1
  951. package/dist/lib/api-client.d.ts +0 -7
  952. package/dist/lib/api-client.d.ts.map +0 -1
  953. package/dist/lib/api-client.js +0 -40
  954. package/dist/lib/api-client.js.map +0 -1
  955. package/dist/lib/api-client.test.d.ts +0 -2
  956. package/dist/lib/api-client.test.d.ts.map +0 -1
  957. package/dist/lib/api-client.test.js +0 -89
  958. package/dist/lib/api-client.test.js.map +0 -1
  959. package/dist/lib/api.d.ts +0 -5
  960. package/dist/lib/api.d.ts.map +0 -1
  961. package/dist/lib/api.js +0 -52
  962. package/dist/lib/api.js.map +0 -1
  963. package/dist/lib/config.d.ts +0 -19
  964. package/dist/lib/config.d.ts.map +0 -1
  965. package/dist/lib/config.js +0 -51
  966. package/dist/lib/config.js.map +0 -1
  967. package/dist/lib/config.test.d.ts +0 -2
  968. package/dist/lib/config.test.d.ts.map +0 -1
  969. package/dist/lib/config.test.js +0 -121
  970. package/dist/lib/config.test.js.map +0 -1
  971. package/dist/lib/differential-context.d.ts +0 -46
  972. package/dist/lib/differential-context.d.ts.map +0 -1
  973. package/dist/lib/differential-context.js +0 -89
  974. package/dist/lib/differential-context.js.map +0 -1
  975. package/dist/lib/resolve.d.ts +0 -3
  976. package/dist/lib/resolve.d.ts.map +0 -1
  977. package/dist/lib/resolve.js +0 -29
  978. package/dist/lib/resolve.js.map +0 -1
  979. package/dist/lib/structured-tool-io.d.ts +0 -31
  980. package/dist/lib/structured-tool-io.d.ts.map +0 -1
  981. package/dist/lib/structured-tool-io.js +0 -56
  982. package/dist/lib/structured-tool-io.js.map +0 -1
  983. package/dist/mcp/__tests__/client.test.d.ts +0 -2
  984. package/dist/mcp/__tests__/client.test.d.ts.map +0 -1
  985. package/dist/mcp/__tests__/client.test.js +0 -101
  986. package/dist/mcp/__tests__/client.test.js.map +0 -1
  987. package/dist/mcp/client.d.ts +0 -89
  988. package/dist/mcp/client.d.ts.map +0 -1
  989. package/dist/mcp/client.js +0 -201
  990. package/dist/mcp/client.js.map +0 -1
  991. package/dist/repl/__tests__/_queue_demo.test.d.ts +0 -2
  992. package/dist/repl/__tests__/_queue_demo.test.d.ts.map +0 -1
  993. package/dist/repl/__tests__/_queue_demo.test.js +0 -40
  994. package/dist/repl/__tests__/_queue_demo.test.js.map +0 -1
  995. package/dist/repl/__tests__/components.test.d.ts +0 -2
  996. package/dist/repl/__tests__/components.test.d.ts.map +0 -1
  997. package/dist/repl/__tests__/components.test.js +0 -87
  998. package/dist/repl/__tests__/components.test.js.map +0 -1
  999. package/dist/repl/__tests__/interactive.queue.test.d.ts +0 -2
  1000. package/dist/repl/__tests__/interactive.queue.test.d.ts.map +0 -1
  1001. package/dist/repl/__tests__/interactive.queue.test.js +0 -124
  1002. package/dist/repl/__tests__/interactive.queue.test.js.map +0 -1
  1003. package/dist/repl/components.d.ts +0 -76
  1004. package/dist/repl/components.d.ts.map +0 -1
  1005. package/dist/repl/components.js +0 -182
  1006. package/dist/repl/components.js.map +0 -1
  1007. package/dist/repl/interactive.d.ts +0 -17
  1008. package/dist/repl/interactive.d.ts.map +0 -1
  1009. package/dist/repl/interactive.js +0 -439
  1010. package/dist/repl/interactive.js.map +0 -1
  1011. package/dist/repl/one-shot.d.ts +0 -25
  1012. package/dist/repl/one-shot.d.ts.map +0 -1
  1013. package/dist/repl/one-shot.js +0 -153
  1014. package/dist/repl/one-shot.js.map +0 -1
  1015. package/dist/rules/__tests__/enforce.test.d.ts +0 -2
  1016. package/dist/rules/__tests__/enforce.test.d.ts.map +0 -1
  1017. package/dist/rules/__tests__/enforce.test.js +0 -58
  1018. package/dist/rules/__tests__/enforce.test.js.map +0 -1
  1019. package/dist/rules/__tests__/loader.test.d.ts +0 -2
  1020. package/dist/rules/__tests__/loader.test.d.ts.map +0 -1
  1021. package/dist/rules/__tests__/loader.test.js +0 -54
  1022. package/dist/rules/__tests__/loader.test.js.map +0 -1
  1023. package/dist/rules/enforce.d.ts +0 -23
  1024. package/dist/rules/enforce.d.ts.map +0 -1
  1025. package/dist/rules/enforce.js +0 -36
  1026. package/dist/rules/enforce.js.map +0 -1
  1027. package/dist/rules/index.d.ts +0 -10
  1028. package/dist/rules/index.d.ts.map +0 -1
  1029. package/dist/rules/index.js +0 -4
  1030. package/dist/rules/index.js.map +0 -1
  1031. package/dist/rules/loader.d.ts +0 -10
  1032. package/dist/rules/loader.d.ts.map +0 -1
  1033. package/dist/rules/loader.js +0 -77
  1034. package/dist/rules/loader.js.map +0 -1
  1035. package/dist/rules/types.d.ts +0 -39
  1036. package/dist/rules/types.d.ts.map +0 -1
  1037. package/dist/rules/types.js +0 -16
  1038. package/dist/rules/types.js.map +0 -1
  1039. package/dist/rules/write.d.ts +0 -10
  1040. package/dist/rules/write.d.ts.map +0 -1
  1041. package/dist/rules/write.js +0 -28
  1042. package/dist/rules/write.js.map +0 -1
  1043. package/dist/settings/__tests__/gate.test.d.ts +0 -2
  1044. package/dist/settings/__tests__/gate.test.d.ts.map +0 -1
  1045. package/dist/settings/__tests__/gate.test.js +0 -137
  1046. package/dist/settings/__tests__/gate.test.js.map +0 -1
  1047. package/dist/settings/__tests__/hooks.test.d.ts +0 -2
  1048. package/dist/settings/__tests__/hooks.test.d.ts.map +0 -1
  1049. package/dist/settings/__tests__/hooks.test.js +0 -103
  1050. package/dist/settings/__tests__/hooks.test.js.map +0 -1
  1051. package/dist/settings/__tests__/mcp-write.test.d.ts +0 -2
  1052. package/dist/settings/__tests__/mcp-write.test.d.ts.map +0 -1
  1053. package/dist/settings/__tests__/mcp-write.test.js +0 -77
  1054. package/dist/settings/__tests__/mcp-write.test.js.map +0 -1
  1055. package/dist/settings/__tests__/permissions-gate.test.d.ts +0 -2
  1056. package/dist/settings/__tests__/permissions-gate.test.d.ts.map +0 -1
  1057. package/dist/settings/__tests__/permissions-gate.test.js +0 -75
  1058. package/dist/settings/__tests__/permissions-gate.test.js.map +0 -1
  1059. package/dist/settings/__tests__/resolve.test.d.ts +0 -2
  1060. package/dist/settings/__tests__/resolve.test.d.ts.map +0 -1
  1061. package/dist/settings/__tests__/resolve.test.js +0 -109
  1062. package/dist/settings/__tests__/resolve.test.js.map +0 -1
  1063. package/dist/settings/__tests__/runtime.test.d.ts +0 -2
  1064. package/dist/settings/__tests__/runtime.test.d.ts.map +0 -1
  1065. package/dist/settings/__tests__/runtime.test.js +0 -72
  1066. package/dist/settings/__tests__/runtime.test.js.map +0 -1
  1067. package/dist/settings/__tests__/schema.test.d.ts +0 -2
  1068. package/dist/settings/__tests__/schema.test.d.ts.map +0 -1
  1069. package/dist/settings/__tests__/schema.test.js +0 -55
  1070. package/dist/settings/__tests__/schema.test.js.map +0 -1
  1071. package/dist/settings/__tests__/write.test.d.ts +0 -2
  1072. package/dist/settings/__tests__/write.test.d.ts.map +0 -1
  1073. package/dist/settings/__tests__/write.test.js +0 -61
  1074. package/dist/settings/__tests__/write.test.js.map +0 -1
  1075. package/dist/settings/gate.d.ts +0 -34
  1076. package/dist/settings/gate.d.ts.map +0 -1
  1077. package/dist/settings/gate.js +0 -50
  1078. package/dist/settings/gate.js.map +0 -1
  1079. package/dist/settings/hooks.d.ts +0 -26
  1080. package/dist/settings/hooks.d.ts.map +0 -1
  1081. package/dist/settings/hooks.js +0 -115
  1082. package/dist/settings/hooks.js.map +0 -1
  1083. package/dist/settings/index.d.ts +0 -23
  1084. package/dist/settings/index.d.ts.map +0 -1
  1085. package/dist/settings/index.js +0 -23
  1086. package/dist/settings/index.js.map +0 -1
  1087. package/dist/settings/mcp-write.d.ts +0 -41
  1088. package/dist/settings/mcp-write.d.ts.map +0 -1
  1089. package/dist/settings/mcp-write.js +0 -61
  1090. package/dist/settings/mcp-write.js.map +0 -1
  1091. package/dist/settings/permissions-gate.d.ts +0 -19
  1092. package/dist/settings/permissions-gate.d.ts.map +0 -1
  1093. package/dist/settings/permissions-gate.js +0 -103
  1094. package/dist/settings/permissions-gate.js.map +0 -1
  1095. package/dist/settings/resolve.d.ts +0 -37
  1096. package/dist/settings/resolve.d.ts.map +0 -1
  1097. package/dist/settings/resolve.js +0 -169
  1098. package/dist/settings/resolve.js.map +0 -1
  1099. package/dist/settings/runtime.d.ts +0 -28
  1100. package/dist/settings/runtime.d.ts.map +0 -1
  1101. package/dist/settings/runtime.js +0 -45
  1102. package/dist/settings/runtime.js.map +0 -1
  1103. package/dist/settings/schema.d.ts +0 -1387
  1104. package/dist/settings/schema.d.ts.map +0 -1
  1105. package/dist/settings/schema.js +0 -146
  1106. package/dist/settings/schema.js.map +0 -1
  1107. package/dist/settings/write.d.ts +0 -37
  1108. package/dist/settings/write.d.ts.map +0 -1
  1109. package/dist/settings/write.js +0 -85
  1110. package/dist/settings/write.js.map +0 -1
  1111. package/dist/slash/__tests__/expand.test.d.ts +0 -2
  1112. package/dist/slash/__tests__/expand.test.d.ts.map +0 -1
  1113. package/dist/slash/__tests__/expand.test.js +0 -44
  1114. package/dist/slash/__tests__/expand.test.js.map +0 -1
  1115. package/dist/slash/__tests__/loader.test.d.ts +0 -2
  1116. package/dist/slash/__tests__/loader.test.d.ts.map +0 -1
  1117. package/dist/slash/__tests__/loader.test.js +0 -48
  1118. package/dist/slash/__tests__/loader.test.js.map +0 -1
  1119. package/dist/slash/expand.d.ts +0 -32
  1120. package/dist/slash/expand.d.ts.map +0 -1
  1121. package/dist/slash/expand.js +0 -48
  1122. package/dist/slash/expand.js.map +0 -1
  1123. package/dist/slash/index.d.ts +0 -11
  1124. package/dist/slash/index.d.ts.map +0 -1
  1125. package/dist/slash/index.js +0 -4
  1126. package/dist/slash/index.js.map +0 -1
  1127. package/dist/slash/loader.d.ts +0 -10
  1128. package/dist/slash/loader.d.ts.map +0 -1
  1129. package/dist/slash/loader.js +0 -64
  1130. package/dist/slash/loader.js.map +0 -1
  1131. package/dist/slash/types.d.ts +0 -24
  1132. package/dist/slash/types.d.ts.map +0 -1
  1133. package/dist/slash/types.js +0 -11
  1134. package/dist/slash/types.js.map +0 -1
  1135. package/dist/slash/write.d.ts +0 -10
  1136. package/dist/slash/write.d.ts.map +0 -1
  1137. package/dist/slash/write.js +0 -26
  1138. package/dist/slash/write.js.map +0 -1
  1139. package/dist/tui/__tests__/app.test.d.ts +0 -2
  1140. package/dist/tui/__tests__/app.test.d.ts.map +0 -1
  1141. package/dist/tui/__tests__/app.test.js +0 -136
  1142. package/dist/tui/__tests__/app.test.js.map +0 -1
  1143. package/dist/tui/__tests__/banner.test.d.ts +0 -2
  1144. package/dist/tui/__tests__/banner.test.d.ts.map +0 -1
  1145. package/dist/tui/__tests__/banner.test.js +0 -15
  1146. package/dist/tui/__tests__/banner.test.js.map +0 -1
  1147. package/dist/tui/__tests__/command-form.test.d.ts +0 -2
  1148. package/dist/tui/__tests__/command-form.test.d.ts.map +0 -1
  1149. package/dist/tui/__tests__/command-form.test.js +0 -96
  1150. package/dist/tui/__tests__/command-form.test.js.map +0 -1
  1151. package/dist/tui/__tests__/command-tree.test.d.ts +0 -2
  1152. package/dist/tui/__tests__/command-tree.test.d.ts.map +0 -1
  1153. package/dist/tui/__tests__/command-tree.test.js +0 -55
  1154. package/dist/tui/__tests__/command-tree.test.js.map +0 -1
  1155. package/dist/tui/__tests__/runner.test.d.ts +0 -2
  1156. package/dist/tui/__tests__/runner.test.d.ts.map +0 -1
  1157. package/dist/tui/__tests__/runner.test.js +0 -38
  1158. package/dist/tui/__tests__/runner.test.js.map +0 -1
  1159. package/dist/tui/__tests__/theme.test.d.ts +0 -2
  1160. package/dist/tui/__tests__/theme.test.d.ts.map +0 -1
  1161. package/dist/tui/__tests__/theme.test.js +0 -11
  1162. package/dist/tui/__tests__/theme.test.js.map +0 -1
  1163. package/dist/tui/agent-view/activity-feed.d.ts +0 -3
  1164. package/dist/tui/agent-view/activity-feed.d.ts.map +0 -1
  1165. package/dist/tui/agent-view/activity-feed.js +0 -34
  1166. package/dist/tui/agent-view/activity-feed.js.map +0 -1
  1167. package/dist/tui/agent-view/budget-bar.d.ts +0 -3
  1168. package/dist/tui/agent-view/budget-bar.d.ts.map +0 -1
  1169. package/dist/tui/agent-view/budget-bar.js +0 -53
  1170. package/dist/tui/agent-view/budget-bar.js.map +0 -1
  1171. package/dist/tui/agent-view/compile-panel.d.ts +0 -3
  1172. package/dist/tui/agent-view/compile-panel.d.ts.map +0 -1
  1173. package/dist/tui/agent-view/compile-panel.js +0 -34
  1174. package/dist/tui/agent-view/compile-panel.js.map +0 -1
  1175. package/dist/tui/agent-view/index.d.ts +0 -4
  1176. package/dist/tui/agent-view/index.d.ts.map +0 -1
  1177. package/dist/tui/agent-view/index.js +0 -31
  1178. package/dist/tui/agent-view/index.js.map +0 -1
  1179. package/dist/tui/agent-view/memory-panel.d.ts +0 -3
  1180. package/dist/tui/agent-view/memory-panel.d.ts.map +0 -1
  1181. package/dist/tui/agent-view/memory-panel.js +0 -80
  1182. package/dist/tui/agent-view/memory-panel.js.map +0 -1
  1183. package/dist/tui/agent-view/session-panel.d.ts +0 -3
  1184. package/dist/tui/agent-view/session-panel.d.ts.map +0 -1
  1185. package/dist/tui/agent-view/session-panel.js +0 -44
  1186. package/dist/tui/agent-view/session-panel.js.map +0 -1
  1187. package/dist/tui/agent-view/status-bar.d.ts +0 -7
  1188. package/dist/tui/agent-view/status-bar.d.ts.map +0 -1
  1189. package/dist/tui/agent-view/status-bar.js +0 -22
  1190. package/dist/tui/agent-view/status-bar.js.map +0 -1
  1191. package/dist/tui/app.d.ts +0 -9
  1192. package/dist/tui/app.d.ts.map +0 -1
  1193. package/dist/tui/app.js +0 -115
  1194. package/dist/tui/app.js.map +0 -1
  1195. package/dist/tui/banner.d.ts +0 -5
  1196. package/dist/tui/banner.d.ts.map +0 -1
  1197. package/dist/tui/banner.js +0 -17
  1198. package/dist/tui/banner.js.map +0 -1
  1199. package/dist/tui/command-form.d.ts +0 -9
  1200. package/dist/tui/command-form.d.ts.map +0 -1
  1201. package/dist/tui/command-form.js +0 -76
  1202. package/dist/tui/command-form.js.map +0 -1
  1203. package/dist/tui/command-tree.d.ts +0 -30
  1204. package/dist/tui/command-tree.d.ts.map +0 -1
  1205. package/dist/tui/command-tree.js +0 -43
  1206. package/dist/tui/command-tree.js.map +0 -1
  1207. package/dist/tui/fleet-view/agent-row.d.ts +0 -10
  1208. package/dist/tui/fleet-view/agent-row.d.ts.map +0 -1
  1209. package/dist/tui/fleet-view/agent-row.js +0 -80
  1210. package/dist/tui/fleet-view/agent-row.js.map +0 -1
  1211. package/dist/tui/fleet-view/dispatch-input.d.ts +0 -5
  1212. package/dist/tui/fleet-view/dispatch-input.d.ts.map +0 -1
  1213. package/dist/tui/fleet-view/dispatch-input.js +0 -36
  1214. package/dist/tui/fleet-view/dispatch-input.js.map +0 -1
  1215. package/dist/tui/fleet-view/fleet-app.d.ts +0 -11
  1216. package/dist/tui/fleet-view/fleet-app.d.ts.map +0 -1
  1217. package/dist/tui/fleet-view/fleet-app.js +0 -95
  1218. package/dist/tui/fleet-view/fleet-app.js.map +0 -1
  1219. package/dist/tui/fleet-view/fleet-summary.d.ts +0 -6
  1220. package/dist/tui/fleet-view/fleet-summary.d.ts.map +0 -1
  1221. package/dist/tui/fleet-view/fleet-summary.js +0 -19
  1222. package/dist/tui/fleet-view/fleet-summary.js.map +0 -1
  1223. package/dist/tui/fleet-view/index.d.ts +0 -16
  1224. package/dist/tui/fleet-view/index.d.ts.map +0 -1
  1225. package/dist/tui/fleet-view/index.js +0 -65
  1226. package/dist/tui/fleet-view/index.js.map +0 -1
  1227. package/dist/tui/runner.d.ts +0 -7
  1228. package/dist/tui/runner.d.ts.map +0 -1
  1229. package/dist/tui/runner.js +0 -36
  1230. package/dist/tui/runner.js.map +0 -1
  1231. package/dist/tui/theme.d.ts +0 -8
  1232. package/dist/tui/theme.d.ts.map +0 -1
  1233. package/dist/tui/theme.js +0 -10
  1234. package/dist/tui/theme.js.map +0 -1
@@ -1,1387 +0,0 @@
1
- /**
2
- * schema.ts — The unified `settings.json` schema that drives the Oxagen CLI.
3
- *
4
- * This is the CLI harness spine: a single file format, resolved across three
5
- * scopes (see resolve.ts), that configures the CLI's behavior the way Claude
6
- * Code's `settings.json` does. Sections:
7
- *
8
- * - model default gateway model slug for the agent loop
9
- * - apiUrl Oxagen platform API base URL
10
- * - env environment variables made available to the session
11
- * - permissions allow/deny rules + default mode for the agent's local tools
12
- * - hooks shell commands fired on lifecycle events (SessionStart /
13
- * PreToolUse / PostToolUse) — PreToolUse can block a tool
14
- * - mcpServers external MCP server definitions (reused from @oxagen/mcp-config)
15
- * - toolVisibility per-MCP-server tool include/exclude (reused from @oxagen/mcp-config)
16
- *
17
- * Credentials (token / org / workspace / gatewayKey) intentionally do NOT live
18
- * here — they stay in the user-only `config.json` credential store so a project
19
- * `settings.json` is safe to commit. This mirrors Claude Code, which keeps
20
- * `.credentials.json` separate from `settings.json`.
21
- *
22
- * The MCP sections deliberately reuse the schemas from `@oxagen/mcp-config` so a
23
- * single `settings.json` validates identically here and in the platform agent
24
- * runtime that already reads MCP servers from the same file — no second source
25
- * of truth, no drift.
26
- */
27
- import { z } from "zod";
28
- /**
29
- * Permission mode when no explicit allow/deny rule matches a tool call.
30
- *
31
- * - "default" / "acceptEdits" → allow unless a deny rule matches
32
- * - "deny" → block unless an allow rule matches (deny-by-default)
33
- * - "bypassPermissions" → allow everything (deny rules still take priority)
34
- *
35
- * Enforced for the agent's local tools in gate.ts. (Interactive "ask"/"plan"
36
- * prompting lands with the MCP-client PR; only the modes enforced today are
37
- * accepted here so the schema never advertises behavior that does not exist.)
38
- */
39
- export declare const permissionModeSchema: z.ZodEnum<["default", "acceptEdits", "deny", "bypassPermissions"]>;
40
- export type PermissionMode = z.infer<typeof permissionModeSchema>;
41
- /**
42
- * Permission rules for the agent's local tools, in Claude Code's rule syntax:
43
- *
44
- * "Bash" → the whole bash tool
45
- * "Bash(git*)" → bash commands matching the glob `git*`
46
- * "Write" → any file write
47
- * "Write(src/**)" → writes whose path matches `src/**`
48
- * "Read(.env*)" → reads whose path matches `.env*`
49
- * "mcp__github__*" → (reserved for the MCP gate) any tool on the `github` server
50
- *
51
- * `deny` always wins over `allow` at the same scope. The MCP-specific
52
- * `defaultMcpPolicy` / `mcpServers` fields are carried through unchanged so the
53
- * same `permissions` object also feeds @oxagen/mcp-config's per-server gate when
54
- * the MCP client lands.
55
- */
56
- export declare const permissionsSchema: z.ZodObject<{
57
- /** Mode applied when no allow/deny rule matches. Default: "default". */
58
- defaultMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "deny", "bypassPermissions"]>>;
59
- /** Rules that explicitly permit a tool call (escape hatch from deny mode). */
60
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61
- /** Rules that explicitly block a tool call. Highest priority. */
62
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63
- /** Global default policy for MCP tool invocations. */
64
- defaultMcpPolicy: z.ZodOptional<z.ZodEnum<["allow", "deny", "ask"]>>;
65
- /** Per-MCP-server permission overrides, keyed by server name. */
66
- mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
67
- defaultPolicy: z.ZodOptional<z.ZodEnum<["allow", "deny", "ask"]>>;
68
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
69
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
- }, "strip", z.ZodTypeAny, {
71
- allow?: string[] | undefined;
72
- deny?: string[] | undefined;
73
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
74
- }, {
75
- allow?: string[] | undefined;
76
- deny?: string[] | undefined;
77
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
78
- }>>>;
79
- }, "strip", z.ZodTypeAny, {
80
- allow?: string[] | undefined;
81
- deny?: string[] | undefined;
82
- defaultMcpPolicy?: "ask" | "allow" | "deny" | undefined;
83
- mcpServers?: Record<string, {
84
- allow?: string[] | undefined;
85
- deny?: string[] | undefined;
86
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
87
- }> | undefined;
88
- defaultMode?: "default" | "acceptEdits" | "deny" | "bypassPermissions" | undefined;
89
- }, {
90
- allow?: string[] | undefined;
91
- deny?: string[] | undefined;
92
- defaultMcpPolicy?: "ask" | "allow" | "deny" | undefined;
93
- mcpServers?: Record<string, {
94
- allow?: string[] | undefined;
95
- deny?: string[] | undefined;
96
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
97
- }> | undefined;
98
- defaultMode?: "default" | "acceptEdits" | "deny" | "bypassPermissions" | undefined;
99
- }>;
100
- export type Permissions = z.infer<typeof permissionsSchema>;
101
- /** Lifecycle events a hook can fire on. */
102
- export declare const HOOK_EVENTS: readonly ["SessionStart", "PreToolUse", "PostToolUse"];
103
- export type HookEvent = (typeof HOOK_EVENTS)[number];
104
- /** A single shell command a hook runs. */
105
- export declare const hookActionSchema: z.ZodObject<{
106
- /** Only "command" hooks are supported. */
107
- type: z.ZodDefault<z.ZodLiteral<"command">>;
108
- /** Shell command. Receives the event payload as JSON on stdin. */
109
- command: z.ZodString;
110
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
111
- timeoutMs: z.ZodOptional<z.ZodNumber>;
112
- }, "strip", z.ZodTypeAny, {
113
- type: "command";
114
- command: string;
115
- timeoutMs?: number | undefined;
116
- }, {
117
- command: string;
118
- type?: "command" | undefined;
119
- timeoutMs?: number | undefined;
120
- }>;
121
- export type HookAction = z.infer<typeof hookActionSchema>;
122
- /**
123
- * A matcher groups hook actions under a tool-name pattern. For PreToolUse /
124
- * PostToolUse, `matcher` is a glob over the tool name (e.g. "bash",
125
- * "write_file", "*"). For SessionStart it is ignored (all actions run).
126
- */
127
- export declare const hookMatcherSchema: z.ZodObject<{
128
- /** Glob over the tool name. Omit (or "*") to match every tool. */
129
- matcher: z.ZodOptional<z.ZodString>;
130
- /** Actions to run when this matcher matches. */
131
- hooks: z.ZodArray<z.ZodObject<{
132
- /** Only "command" hooks are supported. */
133
- type: z.ZodDefault<z.ZodLiteral<"command">>;
134
- /** Shell command. Receives the event payload as JSON on stdin. */
135
- command: z.ZodString;
136
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
137
- timeoutMs: z.ZodOptional<z.ZodNumber>;
138
- }, "strip", z.ZodTypeAny, {
139
- type: "command";
140
- command: string;
141
- timeoutMs?: number | undefined;
142
- }, {
143
- command: string;
144
- type?: "command" | undefined;
145
- timeoutMs?: number | undefined;
146
- }>, "many">;
147
- }, "strip", z.ZodTypeAny, {
148
- hooks: {
149
- type: "command";
150
- command: string;
151
- timeoutMs?: number | undefined;
152
- }[];
153
- matcher?: string | undefined;
154
- }, {
155
- hooks: {
156
- command: string;
157
- type?: "command" | undefined;
158
- timeoutMs?: number | undefined;
159
- }[];
160
- matcher?: string | undefined;
161
- }>;
162
- export type HookMatcher = z.infer<typeof hookMatcherSchema>;
163
- /** Hooks keyed by lifecycle event. */
164
- export declare const hooksSchema: z.ZodObject<{
165
- SessionStart: z.ZodOptional<z.ZodArray<z.ZodObject<{
166
- /** Glob over the tool name. Omit (or "*") to match every tool. */
167
- matcher: z.ZodOptional<z.ZodString>;
168
- /** Actions to run when this matcher matches. */
169
- hooks: z.ZodArray<z.ZodObject<{
170
- /** Only "command" hooks are supported. */
171
- type: z.ZodDefault<z.ZodLiteral<"command">>;
172
- /** Shell command. Receives the event payload as JSON on stdin. */
173
- command: z.ZodString;
174
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
175
- timeoutMs: z.ZodOptional<z.ZodNumber>;
176
- }, "strip", z.ZodTypeAny, {
177
- type: "command";
178
- command: string;
179
- timeoutMs?: number | undefined;
180
- }, {
181
- command: string;
182
- type?: "command" | undefined;
183
- timeoutMs?: number | undefined;
184
- }>, "many">;
185
- }, "strip", z.ZodTypeAny, {
186
- hooks: {
187
- type: "command";
188
- command: string;
189
- timeoutMs?: number | undefined;
190
- }[];
191
- matcher?: string | undefined;
192
- }, {
193
- hooks: {
194
- command: string;
195
- type?: "command" | undefined;
196
- timeoutMs?: number | undefined;
197
- }[];
198
- matcher?: string | undefined;
199
- }>, "many">>;
200
- PreToolUse: z.ZodOptional<z.ZodArray<z.ZodObject<{
201
- /** Glob over the tool name. Omit (or "*") to match every tool. */
202
- matcher: z.ZodOptional<z.ZodString>;
203
- /** Actions to run when this matcher matches. */
204
- hooks: z.ZodArray<z.ZodObject<{
205
- /** Only "command" hooks are supported. */
206
- type: z.ZodDefault<z.ZodLiteral<"command">>;
207
- /** Shell command. Receives the event payload as JSON on stdin. */
208
- command: z.ZodString;
209
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
210
- timeoutMs: z.ZodOptional<z.ZodNumber>;
211
- }, "strip", z.ZodTypeAny, {
212
- type: "command";
213
- command: string;
214
- timeoutMs?: number | undefined;
215
- }, {
216
- command: string;
217
- type?: "command" | undefined;
218
- timeoutMs?: number | undefined;
219
- }>, "many">;
220
- }, "strip", z.ZodTypeAny, {
221
- hooks: {
222
- type: "command";
223
- command: string;
224
- timeoutMs?: number | undefined;
225
- }[];
226
- matcher?: string | undefined;
227
- }, {
228
- hooks: {
229
- command: string;
230
- type?: "command" | undefined;
231
- timeoutMs?: number | undefined;
232
- }[];
233
- matcher?: string | undefined;
234
- }>, "many">>;
235
- PostToolUse: z.ZodOptional<z.ZodArray<z.ZodObject<{
236
- /** Glob over the tool name. Omit (or "*") to match every tool. */
237
- matcher: z.ZodOptional<z.ZodString>;
238
- /** Actions to run when this matcher matches. */
239
- hooks: z.ZodArray<z.ZodObject<{
240
- /** Only "command" hooks are supported. */
241
- type: z.ZodDefault<z.ZodLiteral<"command">>;
242
- /** Shell command. Receives the event payload as JSON on stdin. */
243
- command: z.ZodString;
244
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
245
- timeoutMs: z.ZodOptional<z.ZodNumber>;
246
- }, "strip", z.ZodTypeAny, {
247
- type: "command";
248
- command: string;
249
- timeoutMs?: number | undefined;
250
- }, {
251
- command: string;
252
- type?: "command" | undefined;
253
- timeoutMs?: number | undefined;
254
- }>, "many">;
255
- }, "strip", z.ZodTypeAny, {
256
- hooks: {
257
- type: "command";
258
- command: string;
259
- timeoutMs?: number | undefined;
260
- }[];
261
- matcher?: string | undefined;
262
- }, {
263
- hooks: {
264
- command: string;
265
- type?: "command" | undefined;
266
- timeoutMs?: number | undefined;
267
- }[];
268
- matcher?: string | undefined;
269
- }>, "many">>;
270
- }, "strip", z.ZodTypeAny, {
271
- SessionStart?: {
272
- hooks: {
273
- type: "command";
274
- command: string;
275
- timeoutMs?: number | undefined;
276
- }[];
277
- matcher?: string | undefined;
278
- }[] | undefined;
279
- PreToolUse?: {
280
- hooks: {
281
- type: "command";
282
- command: string;
283
- timeoutMs?: number | undefined;
284
- }[];
285
- matcher?: string | undefined;
286
- }[] | undefined;
287
- PostToolUse?: {
288
- hooks: {
289
- type: "command";
290
- command: string;
291
- timeoutMs?: number | undefined;
292
- }[];
293
- matcher?: string | undefined;
294
- }[] | undefined;
295
- }, {
296
- SessionStart?: {
297
- hooks: {
298
- command: string;
299
- type?: "command" | undefined;
300
- timeoutMs?: number | undefined;
301
- }[];
302
- matcher?: string | undefined;
303
- }[] | undefined;
304
- PreToolUse?: {
305
- hooks: {
306
- command: string;
307
- type?: "command" | undefined;
308
- timeoutMs?: number | undefined;
309
- }[];
310
- matcher?: string | undefined;
311
- }[] | undefined;
312
- PostToolUse?: {
313
- hooks: {
314
- command: string;
315
- type?: "command" | undefined;
316
- timeoutMs?: number | undefined;
317
- }[];
318
- matcher?: string | undefined;
319
- }[] | undefined;
320
- }>;
321
- export type Hooks = z.infer<typeof hooksSchema>;
322
- /**
323
- * A named agent declared inline in settings.json (an alternative to a markdown
324
- * file under `.oxagen/agents/`). `prompt` is the system prompt; `tools` is the
325
- * permission-syntax allowlist (omit to inherit every tool).
326
- */
327
- export declare const inlineAgentSchema: z.ZodObject<{
328
- description: z.ZodOptional<z.ZodString>;
329
- prompt: z.ZodString;
330
- tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
331
- model: z.ZodOptional<z.ZodString>;
332
- }, "strip", z.ZodTypeAny, {
333
- prompt: string;
334
- model?: string | undefined;
335
- description?: string | undefined;
336
- tools?: string[] | undefined;
337
- }, {
338
- prompt: string;
339
- model?: string | undefined;
340
- description?: string | undefined;
341
- tools?: string[] | undefined;
342
- }>;
343
- export type InlineAgent = z.infer<typeof inlineAgentSchema>;
344
- export declare const oxagenSettingsSchema: z.ZodObject<{
345
- /** Optional JSON-Schema reference for editor autocompletion. */
346
- $schema: z.ZodOptional<z.ZodString>;
347
- /** Default gateway model slug for the agent loop (e.g. "anthropic/claude-sonnet-4.6"). */
348
- model: z.ZodOptional<z.ZodString>;
349
- /** Oxagen platform API base URL (overrides config.json; env still wins). */
350
- apiUrl: z.ZodOptional<z.ZodString>;
351
- /** Environment variables exported into the session (fills only unset vars; shell wins). */
352
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
353
- /** Allow/deny rules + default mode for the agent's local tools. */
354
- permissions: z.ZodOptional<z.ZodObject<{
355
- /** Mode applied when no allow/deny rule matches. Default: "default". */
356
- defaultMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "deny", "bypassPermissions"]>>;
357
- /** Rules that explicitly permit a tool call (escape hatch from deny mode). */
358
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
359
- /** Rules that explicitly block a tool call. Highest priority. */
360
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
361
- /** Global default policy for MCP tool invocations. */
362
- defaultMcpPolicy: z.ZodOptional<z.ZodEnum<["allow", "deny", "ask"]>>;
363
- /** Per-MCP-server permission overrides, keyed by server name. */
364
- mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
365
- defaultPolicy: z.ZodOptional<z.ZodEnum<["allow", "deny", "ask"]>>;
366
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
367
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
368
- }, "strip", z.ZodTypeAny, {
369
- allow?: string[] | undefined;
370
- deny?: string[] | undefined;
371
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
372
- }, {
373
- allow?: string[] | undefined;
374
- deny?: string[] | undefined;
375
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
376
- }>>>;
377
- }, "strip", z.ZodTypeAny, {
378
- allow?: string[] | undefined;
379
- deny?: string[] | undefined;
380
- defaultMcpPolicy?: "ask" | "allow" | "deny" | undefined;
381
- mcpServers?: Record<string, {
382
- allow?: string[] | undefined;
383
- deny?: string[] | undefined;
384
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
385
- }> | undefined;
386
- defaultMode?: "default" | "acceptEdits" | "deny" | "bypassPermissions" | undefined;
387
- }, {
388
- allow?: string[] | undefined;
389
- deny?: string[] | undefined;
390
- defaultMcpPolicy?: "ask" | "allow" | "deny" | undefined;
391
- mcpServers?: Record<string, {
392
- allow?: string[] | undefined;
393
- deny?: string[] | undefined;
394
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
395
- }> | undefined;
396
- defaultMode?: "default" | "acceptEdits" | "deny" | "bypassPermissions" | undefined;
397
- }>>;
398
- /** Shell commands fired on lifecycle events. */
399
- hooks: z.ZodOptional<z.ZodObject<{
400
- SessionStart: z.ZodOptional<z.ZodArray<z.ZodObject<{
401
- /** Glob over the tool name. Omit (or "*") to match every tool. */
402
- matcher: z.ZodOptional<z.ZodString>;
403
- /** Actions to run when this matcher matches. */
404
- hooks: z.ZodArray<z.ZodObject<{
405
- /** Only "command" hooks are supported. */
406
- type: z.ZodDefault<z.ZodLiteral<"command">>;
407
- /** Shell command. Receives the event payload as JSON on stdin. */
408
- command: z.ZodString;
409
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
410
- timeoutMs: z.ZodOptional<z.ZodNumber>;
411
- }, "strip", z.ZodTypeAny, {
412
- type: "command";
413
- command: string;
414
- timeoutMs?: number | undefined;
415
- }, {
416
- command: string;
417
- type?: "command" | undefined;
418
- timeoutMs?: number | undefined;
419
- }>, "many">;
420
- }, "strip", z.ZodTypeAny, {
421
- hooks: {
422
- type: "command";
423
- command: string;
424
- timeoutMs?: number | undefined;
425
- }[];
426
- matcher?: string | undefined;
427
- }, {
428
- hooks: {
429
- command: string;
430
- type?: "command" | undefined;
431
- timeoutMs?: number | undefined;
432
- }[];
433
- matcher?: string | undefined;
434
- }>, "many">>;
435
- PreToolUse: z.ZodOptional<z.ZodArray<z.ZodObject<{
436
- /** Glob over the tool name. Omit (or "*") to match every tool. */
437
- matcher: z.ZodOptional<z.ZodString>;
438
- /** Actions to run when this matcher matches. */
439
- hooks: z.ZodArray<z.ZodObject<{
440
- /** Only "command" hooks are supported. */
441
- type: z.ZodDefault<z.ZodLiteral<"command">>;
442
- /** Shell command. Receives the event payload as JSON on stdin. */
443
- command: z.ZodString;
444
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
445
- timeoutMs: z.ZodOptional<z.ZodNumber>;
446
- }, "strip", z.ZodTypeAny, {
447
- type: "command";
448
- command: string;
449
- timeoutMs?: number | undefined;
450
- }, {
451
- command: string;
452
- type?: "command" | undefined;
453
- timeoutMs?: number | undefined;
454
- }>, "many">;
455
- }, "strip", z.ZodTypeAny, {
456
- hooks: {
457
- type: "command";
458
- command: string;
459
- timeoutMs?: number | undefined;
460
- }[];
461
- matcher?: string | undefined;
462
- }, {
463
- hooks: {
464
- command: string;
465
- type?: "command" | undefined;
466
- timeoutMs?: number | undefined;
467
- }[];
468
- matcher?: string | undefined;
469
- }>, "many">>;
470
- PostToolUse: z.ZodOptional<z.ZodArray<z.ZodObject<{
471
- /** Glob over the tool name. Omit (or "*") to match every tool. */
472
- matcher: z.ZodOptional<z.ZodString>;
473
- /** Actions to run when this matcher matches. */
474
- hooks: z.ZodArray<z.ZodObject<{
475
- /** Only "command" hooks are supported. */
476
- type: z.ZodDefault<z.ZodLiteral<"command">>;
477
- /** Shell command. Receives the event payload as JSON on stdin. */
478
- command: z.ZodString;
479
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
480
- timeoutMs: z.ZodOptional<z.ZodNumber>;
481
- }, "strip", z.ZodTypeAny, {
482
- type: "command";
483
- command: string;
484
- timeoutMs?: number | undefined;
485
- }, {
486
- command: string;
487
- type?: "command" | undefined;
488
- timeoutMs?: number | undefined;
489
- }>, "many">;
490
- }, "strip", z.ZodTypeAny, {
491
- hooks: {
492
- type: "command";
493
- command: string;
494
- timeoutMs?: number | undefined;
495
- }[];
496
- matcher?: string | undefined;
497
- }, {
498
- hooks: {
499
- command: string;
500
- type?: "command" | undefined;
501
- timeoutMs?: number | undefined;
502
- }[];
503
- matcher?: string | undefined;
504
- }>, "many">>;
505
- }, "strip", z.ZodTypeAny, {
506
- SessionStart?: {
507
- hooks: {
508
- type: "command";
509
- command: string;
510
- timeoutMs?: number | undefined;
511
- }[];
512
- matcher?: string | undefined;
513
- }[] | undefined;
514
- PreToolUse?: {
515
- hooks: {
516
- type: "command";
517
- command: string;
518
- timeoutMs?: number | undefined;
519
- }[];
520
- matcher?: string | undefined;
521
- }[] | undefined;
522
- PostToolUse?: {
523
- hooks: {
524
- type: "command";
525
- command: string;
526
- timeoutMs?: number | undefined;
527
- }[];
528
- matcher?: string | undefined;
529
- }[] | undefined;
530
- }, {
531
- SessionStart?: {
532
- hooks: {
533
- command: string;
534
- type?: "command" | undefined;
535
- timeoutMs?: number | undefined;
536
- }[];
537
- matcher?: string | undefined;
538
- }[] | undefined;
539
- PreToolUse?: {
540
- hooks: {
541
- command: string;
542
- type?: "command" | undefined;
543
- timeoutMs?: number | undefined;
544
- }[];
545
- matcher?: string | undefined;
546
- }[] | undefined;
547
- PostToolUse?: {
548
- hooks: {
549
- command: string;
550
- type?: "command" | undefined;
551
- timeoutMs?: number | undefined;
552
- }[];
553
- matcher?: string | undefined;
554
- }[] | undefined;
555
- }>>;
556
- /** External MCP server definitions, keyed by name. */
557
- mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
558
- transport: z.ZodLiteral<"streamable-http">;
559
- url: z.ZodString;
560
- auth: z.ZodDefault<z.ZodEnum<["oauth", "bearer", "header", "none"]>>;
561
- oauthServerUrl: z.ZodOptional<z.ZodString>;
562
- scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
563
- envToken: z.ZodOptional<z.ZodString>;
564
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
565
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
566
- disabled: z.ZodOptional<z.ZodBoolean>;
567
- }, "strip", z.ZodTypeAny, {
568
- transport: "streamable-http";
569
- url: string;
570
- auth: "none" | "oauth" | "bearer" | "header";
571
- headers?: Record<string, string> | undefined;
572
- oauthServerUrl?: string | undefined;
573
- scopes?: string[] | undefined;
574
- envToken?: string | undefined;
575
- env?: Record<string, string> | undefined;
576
- disabled?: boolean | undefined;
577
- }, {
578
- transport: "streamable-http";
579
- url: string;
580
- headers?: Record<string, string> | undefined;
581
- auth?: "none" | "oauth" | "bearer" | "header" | undefined;
582
- oauthServerUrl?: string | undefined;
583
- scopes?: string[] | undefined;
584
- envToken?: string | undefined;
585
- env?: Record<string, string> | undefined;
586
- disabled?: boolean | undefined;
587
- }>, z.ZodObject<{
588
- transport: z.ZodLiteral<"sse">;
589
- url: z.ZodString;
590
- auth: z.ZodDefault<z.ZodEnum<["oauth", "bearer", "header", "none"]>>;
591
- oauthServerUrl: z.ZodOptional<z.ZodString>;
592
- scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
593
- envToken: z.ZodOptional<z.ZodString>;
594
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
595
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
596
- disabled: z.ZodOptional<z.ZodBoolean>;
597
- }, "strip", z.ZodTypeAny, {
598
- transport: "sse";
599
- url: string;
600
- auth: "none" | "oauth" | "bearer" | "header";
601
- headers?: Record<string, string> | undefined;
602
- oauthServerUrl?: string | undefined;
603
- scopes?: string[] | undefined;
604
- envToken?: string | undefined;
605
- env?: Record<string, string> | undefined;
606
- disabled?: boolean | undefined;
607
- }, {
608
- transport: "sse";
609
- url: string;
610
- headers?: Record<string, string> | undefined;
611
- auth?: "none" | "oauth" | "bearer" | "header" | undefined;
612
- oauthServerUrl?: string | undefined;
613
- scopes?: string[] | undefined;
614
- envToken?: string | undefined;
615
- env?: Record<string, string> | undefined;
616
- disabled?: boolean | undefined;
617
- }>, z.ZodObject<{
618
- transport: z.ZodLiteral<"stdio">;
619
- command: z.ZodString;
620
- args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
621
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
622
- cwd: z.ZodOptional<z.ZodString>;
623
- disabled: z.ZodOptional<z.ZodBoolean>;
624
- }, "strip", z.ZodTypeAny, {
625
- args: string[];
626
- command: string;
627
- transport: "stdio";
628
- cwd?: string | undefined;
629
- env?: Record<string, string> | undefined;
630
- disabled?: boolean | undefined;
631
- }, {
632
- command: string;
633
- transport: "stdio";
634
- cwd?: string | undefined;
635
- args?: string[] | undefined;
636
- env?: Record<string, string> | undefined;
637
- disabled?: boolean | undefined;
638
- }>, z.ZodObject<{
639
- transport: z.ZodLiteral<"websocket">;
640
- url: z.ZodString;
641
- auth: z.ZodDefault<z.ZodEnum<["bearer", "header", "none"]>>;
642
- envToken: z.ZodOptional<z.ZodString>;
643
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
644
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
645
- disabled: z.ZodOptional<z.ZodBoolean>;
646
- }, "strip", z.ZodTypeAny, {
647
- transport: "websocket";
648
- url: string;
649
- auth: "none" | "bearer" | "header";
650
- headers?: Record<string, string> | undefined;
651
- envToken?: string | undefined;
652
- env?: Record<string, string> | undefined;
653
- disabled?: boolean | undefined;
654
- }, {
655
- transport: "websocket";
656
- url: string;
657
- headers?: Record<string, string> | undefined;
658
- auth?: "none" | "bearer" | "header" | undefined;
659
- envToken?: string | undefined;
660
- env?: Record<string, string> | undefined;
661
- disabled?: boolean | undefined;
662
- }>]>>>;
663
- /** Per-MCP-server tool visibility, keyed by server name. */
664
- toolVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
665
- include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
666
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
667
- }, "strip", z.ZodTypeAny, {
668
- include?: string[] | undefined;
669
- exclude?: string[] | undefined;
670
- }, {
671
- include?: string[] | undefined;
672
- exclude?: string[] | undefined;
673
- }>>>;
674
- /** Inline named agent definitions, keyed by agent name. */
675
- agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
676
- description: z.ZodOptional<z.ZodString>;
677
- prompt: z.ZodString;
678
- tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
679
- model: z.ZodOptional<z.ZodString>;
680
- }, "strip", z.ZodTypeAny, {
681
- prompt: string;
682
- model?: string | undefined;
683
- description?: string | undefined;
684
- tools?: string[] | undefined;
685
- }, {
686
- prompt: string;
687
- model?: string | undefined;
688
- description?: string | undefined;
689
- tools?: string[] | undefined;
690
- }>>>;
691
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
692
- /** Optional JSON-Schema reference for editor autocompletion. */
693
- $schema: z.ZodOptional<z.ZodString>;
694
- /** Default gateway model slug for the agent loop (e.g. "anthropic/claude-sonnet-4.6"). */
695
- model: z.ZodOptional<z.ZodString>;
696
- /** Oxagen platform API base URL (overrides config.json; env still wins). */
697
- apiUrl: z.ZodOptional<z.ZodString>;
698
- /** Environment variables exported into the session (fills only unset vars; shell wins). */
699
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
700
- /** Allow/deny rules + default mode for the agent's local tools. */
701
- permissions: z.ZodOptional<z.ZodObject<{
702
- /** Mode applied when no allow/deny rule matches. Default: "default". */
703
- defaultMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "deny", "bypassPermissions"]>>;
704
- /** Rules that explicitly permit a tool call (escape hatch from deny mode). */
705
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
706
- /** Rules that explicitly block a tool call. Highest priority. */
707
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
708
- /** Global default policy for MCP tool invocations. */
709
- defaultMcpPolicy: z.ZodOptional<z.ZodEnum<["allow", "deny", "ask"]>>;
710
- /** Per-MCP-server permission overrides, keyed by server name. */
711
- mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
712
- defaultPolicy: z.ZodOptional<z.ZodEnum<["allow", "deny", "ask"]>>;
713
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
714
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
715
- }, "strip", z.ZodTypeAny, {
716
- allow?: string[] | undefined;
717
- deny?: string[] | undefined;
718
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
719
- }, {
720
- allow?: string[] | undefined;
721
- deny?: string[] | undefined;
722
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
723
- }>>>;
724
- }, "strip", z.ZodTypeAny, {
725
- allow?: string[] | undefined;
726
- deny?: string[] | undefined;
727
- defaultMcpPolicy?: "ask" | "allow" | "deny" | undefined;
728
- mcpServers?: Record<string, {
729
- allow?: string[] | undefined;
730
- deny?: string[] | undefined;
731
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
732
- }> | undefined;
733
- defaultMode?: "default" | "acceptEdits" | "deny" | "bypassPermissions" | undefined;
734
- }, {
735
- allow?: string[] | undefined;
736
- deny?: string[] | undefined;
737
- defaultMcpPolicy?: "ask" | "allow" | "deny" | undefined;
738
- mcpServers?: Record<string, {
739
- allow?: string[] | undefined;
740
- deny?: string[] | undefined;
741
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
742
- }> | undefined;
743
- defaultMode?: "default" | "acceptEdits" | "deny" | "bypassPermissions" | undefined;
744
- }>>;
745
- /** Shell commands fired on lifecycle events. */
746
- hooks: z.ZodOptional<z.ZodObject<{
747
- SessionStart: z.ZodOptional<z.ZodArray<z.ZodObject<{
748
- /** Glob over the tool name. Omit (or "*") to match every tool. */
749
- matcher: z.ZodOptional<z.ZodString>;
750
- /** Actions to run when this matcher matches. */
751
- hooks: z.ZodArray<z.ZodObject<{
752
- /** Only "command" hooks are supported. */
753
- type: z.ZodDefault<z.ZodLiteral<"command">>;
754
- /** Shell command. Receives the event payload as JSON on stdin. */
755
- command: z.ZodString;
756
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
757
- timeoutMs: z.ZodOptional<z.ZodNumber>;
758
- }, "strip", z.ZodTypeAny, {
759
- type: "command";
760
- command: string;
761
- timeoutMs?: number | undefined;
762
- }, {
763
- command: string;
764
- type?: "command" | undefined;
765
- timeoutMs?: number | undefined;
766
- }>, "many">;
767
- }, "strip", z.ZodTypeAny, {
768
- hooks: {
769
- type: "command";
770
- command: string;
771
- timeoutMs?: number | undefined;
772
- }[];
773
- matcher?: string | undefined;
774
- }, {
775
- hooks: {
776
- command: string;
777
- type?: "command" | undefined;
778
- timeoutMs?: number | undefined;
779
- }[];
780
- matcher?: string | undefined;
781
- }>, "many">>;
782
- PreToolUse: z.ZodOptional<z.ZodArray<z.ZodObject<{
783
- /** Glob over the tool name. Omit (or "*") to match every tool. */
784
- matcher: z.ZodOptional<z.ZodString>;
785
- /** Actions to run when this matcher matches. */
786
- hooks: z.ZodArray<z.ZodObject<{
787
- /** Only "command" hooks are supported. */
788
- type: z.ZodDefault<z.ZodLiteral<"command">>;
789
- /** Shell command. Receives the event payload as JSON on stdin. */
790
- command: z.ZodString;
791
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
792
- timeoutMs: z.ZodOptional<z.ZodNumber>;
793
- }, "strip", z.ZodTypeAny, {
794
- type: "command";
795
- command: string;
796
- timeoutMs?: number | undefined;
797
- }, {
798
- command: string;
799
- type?: "command" | undefined;
800
- timeoutMs?: number | undefined;
801
- }>, "many">;
802
- }, "strip", z.ZodTypeAny, {
803
- hooks: {
804
- type: "command";
805
- command: string;
806
- timeoutMs?: number | undefined;
807
- }[];
808
- matcher?: string | undefined;
809
- }, {
810
- hooks: {
811
- command: string;
812
- type?: "command" | undefined;
813
- timeoutMs?: number | undefined;
814
- }[];
815
- matcher?: string | undefined;
816
- }>, "many">>;
817
- PostToolUse: z.ZodOptional<z.ZodArray<z.ZodObject<{
818
- /** Glob over the tool name. Omit (or "*") to match every tool. */
819
- matcher: z.ZodOptional<z.ZodString>;
820
- /** Actions to run when this matcher matches. */
821
- hooks: z.ZodArray<z.ZodObject<{
822
- /** Only "command" hooks are supported. */
823
- type: z.ZodDefault<z.ZodLiteral<"command">>;
824
- /** Shell command. Receives the event payload as JSON on stdin. */
825
- command: z.ZodString;
826
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
827
- timeoutMs: z.ZodOptional<z.ZodNumber>;
828
- }, "strip", z.ZodTypeAny, {
829
- type: "command";
830
- command: string;
831
- timeoutMs?: number | undefined;
832
- }, {
833
- command: string;
834
- type?: "command" | undefined;
835
- timeoutMs?: number | undefined;
836
- }>, "many">;
837
- }, "strip", z.ZodTypeAny, {
838
- hooks: {
839
- type: "command";
840
- command: string;
841
- timeoutMs?: number | undefined;
842
- }[];
843
- matcher?: string | undefined;
844
- }, {
845
- hooks: {
846
- command: string;
847
- type?: "command" | undefined;
848
- timeoutMs?: number | undefined;
849
- }[];
850
- matcher?: string | undefined;
851
- }>, "many">>;
852
- }, "strip", z.ZodTypeAny, {
853
- SessionStart?: {
854
- hooks: {
855
- type: "command";
856
- command: string;
857
- timeoutMs?: number | undefined;
858
- }[];
859
- matcher?: string | undefined;
860
- }[] | undefined;
861
- PreToolUse?: {
862
- hooks: {
863
- type: "command";
864
- command: string;
865
- timeoutMs?: number | undefined;
866
- }[];
867
- matcher?: string | undefined;
868
- }[] | undefined;
869
- PostToolUse?: {
870
- hooks: {
871
- type: "command";
872
- command: string;
873
- timeoutMs?: number | undefined;
874
- }[];
875
- matcher?: string | undefined;
876
- }[] | undefined;
877
- }, {
878
- SessionStart?: {
879
- hooks: {
880
- command: string;
881
- type?: "command" | undefined;
882
- timeoutMs?: number | undefined;
883
- }[];
884
- matcher?: string | undefined;
885
- }[] | undefined;
886
- PreToolUse?: {
887
- hooks: {
888
- command: string;
889
- type?: "command" | undefined;
890
- timeoutMs?: number | undefined;
891
- }[];
892
- matcher?: string | undefined;
893
- }[] | undefined;
894
- PostToolUse?: {
895
- hooks: {
896
- command: string;
897
- type?: "command" | undefined;
898
- timeoutMs?: number | undefined;
899
- }[];
900
- matcher?: string | undefined;
901
- }[] | undefined;
902
- }>>;
903
- /** External MCP server definitions, keyed by name. */
904
- mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
905
- transport: z.ZodLiteral<"streamable-http">;
906
- url: z.ZodString;
907
- auth: z.ZodDefault<z.ZodEnum<["oauth", "bearer", "header", "none"]>>;
908
- oauthServerUrl: z.ZodOptional<z.ZodString>;
909
- scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
910
- envToken: z.ZodOptional<z.ZodString>;
911
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
912
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
913
- disabled: z.ZodOptional<z.ZodBoolean>;
914
- }, "strip", z.ZodTypeAny, {
915
- transport: "streamable-http";
916
- url: string;
917
- auth: "none" | "oauth" | "bearer" | "header";
918
- headers?: Record<string, string> | undefined;
919
- oauthServerUrl?: string | undefined;
920
- scopes?: string[] | undefined;
921
- envToken?: string | undefined;
922
- env?: Record<string, string> | undefined;
923
- disabled?: boolean | undefined;
924
- }, {
925
- transport: "streamable-http";
926
- url: string;
927
- headers?: Record<string, string> | undefined;
928
- auth?: "none" | "oauth" | "bearer" | "header" | undefined;
929
- oauthServerUrl?: string | undefined;
930
- scopes?: string[] | undefined;
931
- envToken?: string | undefined;
932
- env?: Record<string, string> | undefined;
933
- disabled?: boolean | undefined;
934
- }>, z.ZodObject<{
935
- transport: z.ZodLiteral<"sse">;
936
- url: z.ZodString;
937
- auth: z.ZodDefault<z.ZodEnum<["oauth", "bearer", "header", "none"]>>;
938
- oauthServerUrl: z.ZodOptional<z.ZodString>;
939
- scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
940
- envToken: z.ZodOptional<z.ZodString>;
941
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
942
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
943
- disabled: z.ZodOptional<z.ZodBoolean>;
944
- }, "strip", z.ZodTypeAny, {
945
- transport: "sse";
946
- url: string;
947
- auth: "none" | "oauth" | "bearer" | "header";
948
- headers?: Record<string, string> | undefined;
949
- oauthServerUrl?: string | undefined;
950
- scopes?: string[] | undefined;
951
- envToken?: string | undefined;
952
- env?: Record<string, string> | undefined;
953
- disabled?: boolean | undefined;
954
- }, {
955
- transport: "sse";
956
- url: string;
957
- headers?: Record<string, string> | undefined;
958
- auth?: "none" | "oauth" | "bearer" | "header" | undefined;
959
- oauthServerUrl?: string | undefined;
960
- scopes?: string[] | undefined;
961
- envToken?: string | undefined;
962
- env?: Record<string, string> | undefined;
963
- disabled?: boolean | undefined;
964
- }>, z.ZodObject<{
965
- transport: z.ZodLiteral<"stdio">;
966
- command: z.ZodString;
967
- args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
968
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
969
- cwd: z.ZodOptional<z.ZodString>;
970
- disabled: z.ZodOptional<z.ZodBoolean>;
971
- }, "strip", z.ZodTypeAny, {
972
- args: string[];
973
- command: string;
974
- transport: "stdio";
975
- cwd?: string | undefined;
976
- env?: Record<string, string> | undefined;
977
- disabled?: boolean | undefined;
978
- }, {
979
- command: string;
980
- transport: "stdio";
981
- cwd?: string | undefined;
982
- args?: string[] | undefined;
983
- env?: Record<string, string> | undefined;
984
- disabled?: boolean | undefined;
985
- }>, z.ZodObject<{
986
- transport: z.ZodLiteral<"websocket">;
987
- url: z.ZodString;
988
- auth: z.ZodDefault<z.ZodEnum<["bearer", "header", "none"]>>;
989
- envToken: z.ZodOptional<z.ZodString>;
990
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
991
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
992
- disabled: z.ZodOptional<z.ZodBoolean>;
993
- }, "strip", z.ZodTypeAny, {
994
- transport: "websocket";
995
- url: string;
996
- auth: "none" | "bearer" | "header";
997
- headers?: Record<string, string> | undefined;
998
- envToken?: string | undefined;
999
- env?: Record<string, string> | undefined;
1000
- disabled?: boolean | undefined;
1001
- }, {
1002
- transport: "websocket";
1003
- url: string;
1004
- headers?: Record<string, string> | undefined;
1005
- auth?: "none" | "bearer" | "header" | undefined;
1006
- envToken?: string | undefined;
1007
- env?: Record<string, string> | undefined;
1008
- disabled?: boolean | undefined;
1009
- }>]>>>;
1010
- /** Per-MCP-server tool visibility, keyed by server name. */
1011
- toolVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1012
- include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1013
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1014
- }, "strip", z.ZodTypeAny, {
1015
- include?: string[] | undefined;
1016
- exclude?: string[] | undefined;
1017
- }, {
1018
- include?: string[] | undefined;
1019
- exclude?: string[] | undefined;
1020
- }>>>;
1021
- /** Inline named agent definitions, keyed by agent name. */
1022
- agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1023
- description: z.ZodOptional<z.ZodString>;
1024
- prompt: z.ZodString;
1025
- tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1026
- model: z.ZodOptional<z.ZodString>;
1027
- }, "strip", z.ZodTypeAny, {
1028
- prompt: string;
1029
- model?: string | undefined;
1030
- description?: string | undefined;
1031
- tools?: string[] | undefined;
1032
- }, {
1033
- prompt: string;
1034
- model?: string | undefined;
1035
- description?: string | undefined;
1036
- tools?: string[] | undefined;
1037
- }>>>;
1038
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1039
- /** Optional JSON-Schema reference for editor autocompletion. */
1040
- $schema: z.ZodOptional<z.ZodString>;
1041
- /** Default gateway model slug for the agent loop (e.g. "anthropic/claude-sonnet-4.6"). */
1042
- model: z.ZodOptional<z.ZodString>;
1043
- /** Oxagen platform API base URL (overrides config.json; env still wins). */
1044
- apiUrl: z.ZodOptional<z.ZodString>;
1045
- /** Environment variables exported into the session (fills only unset vars; shell wins). */
1046
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1047
- /** Allow/deny rules + default mode for the agent's local tools. */
1048
- permissions: z.ZodOptional<z.ZodObject<{
1049
- /** Mode applied when no allow/deny rule matches. Default: "default". */
1050
- defaultMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "deny", "bypassPermissions"]>>;
1051
- /** Rules that explicitly permit a tool call (escape hatch from deny mode). */
1052
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1053
- /** Rules that explicitly block a tool call. Highest priority. */
1054
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1055
- /** Global default policy for MCP tool invocations. */
1056
- defaultMcpPolicy: z.ZodOptional<z.ZodEnum<["allow", "deny", "ask"]>>;
1057
- /** Per-MCP-server permission overrides, keyed by server name. */
1058
- mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1059
- defaultPolicy: z.ZodOptional<z.ZodEnum<["allow", "deny", "ask"]>>;
1060
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1061
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1062
- }, "strip", z.ZodTypeAny, {
1063
- allow?: string[] | undefined;
1064
- deny?: string[] | undefined;
1065
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
1066
- }, {
1067
- allow?: string[] | undefined;
1068
- deny?: string[] | undefined;
1069
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
1070
- }>>>;
1071
- }, "strip", z.ZodTypeAny, {
1072
- allow?: string[] | undefined;
1073
- deny?: string[] | undefined;
1074
- defaultMcpPolicy?: "ask" | "allow" | "deny" | undefined;
1075
- mcpServers?: Record<string, {
1076
- allow?: string[] | undefined;
1077
- deny?: string[] | undefined;
1078
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
1079
- }> | undefined;
1080
- defaultMode?: "default" | "acceptEdits" | "deny" | "bypassPermissions" | undefined;
1081
- }, {
1082
- allow?: string[] | undefined;
1083
- deny?: string[] | undefined;
1084
- defaultMcpPolicy?: "ask" | "allow" | "deny" | undefined;
1085
- mcpServers?: Record<string, {
1086
- allow?: string[] | undefined;
1087
- deny?: string[] | undefined;
1088
- defaultPolicy?: "ask" | "allow" | "deny" | undefined;
1089
- }> | undefined;
1090
- defaultMode?: "default" | "acceptEdits" | "deny" | "bypassPermissions" | undefined;
1091
- }>>;
1092
- /** Shell commands fired on lifecycle events. */
1093
- hooks: z.ZodOptional<z.ZodObject<{
1094
- SessionStart: z.ZodOptional<z.ZodArray<z.ZodObject<{
1095
- /** Glob over the tool name. Omit (or "*") to match every tool. */
1096
- matcher: z.ZodOptional<z.ZodString>;
1097
- /** Actions to run when this matcher matches. */
1098
- hooks: z.ZodArray<z.ZodObject<{
1099
- /** Only "command" hooks are supported. */
1100
- type: z.ZodDefault<z.ZodLiteral<"command">>;
1101
- /** Shell command. Receives the event payload as JSON on stdin. */
1102
- command: z.ZodString;
1103
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
1104
- timeoutMs: z.ZodOptional<z.ZodNumber>;
1105
- }, "strip", z.ZodTypeAny, {
1106
- type: "command";
1107
- command: string;
1108
- timeoutMs?: number | undefined;
1109
- }, {
1110
- command: string;
1111
- type?: "command" | undefined;
1112
- timeoutMs?: number | undefined;
1113
- }>, "many">;
1114
- }, "strip", z.ZodTypeAny, {
1115
- hooks: {
1116
- type: "command";
1117
- command: string;
1118
- timeoutMs?: number | undefined;
1119
- }[];
1120
- matcher?: string | undefined;
1121
- }, {
1122
- hooks: {
1123
- command: string;
1124
- type?: "command" | undefined;
1125
- timeoutMs?: number | undefined;
1126
- }[];
1127
- matcher?: string | undefined;
1128
- }>, "many">>;
1129
- PreToolUse: z.ZodOptional<z.ZodArray<z.ZodObject<{
1130
- /** Glob over the tool name. Omit (or "*") to match every tool. */
1131
- matcher: z.ZodOptional<z.ZodString>;
1132
- /** Actions to run when this matcher matches. */
1133
- hooks: z.ZodArray<z.ZodObject<{
1134
- /** Only "command" hooks are supported. */
1135
- type: z.ZodDefault<z.ZodLiteral<"command">>;
1136
- /** Shell command. Receives the event payload as JSON on stdin. */
1137
- command: z.ZodString;
1138
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
1139
- timeoutMs: z.ZodOptional<z.ZodNumber>;
1140
- }, "strip", z.ZodTypeAny, {
1141
- type: "command";
1142
- command: string;
1143
- timeoutMs?: number | undefined;
1144
- }, {
1145
- command: string;
1146
- type?: "command" | undefined;
1147
- timeoutMs?: number | undefined;
1148
- }>, "many">;
1149
- }, "strip", z.ZodTypeAny, {
1150
- hooks: {
1151
- type: "command";
1152
- command: string;
1153
- timeoutMs?: number | undefined;
1154
- }[];
1155
- matcher?: string | undefined;
1156
- }, {
1157
- hooks: {
1158
- command: string;
1159
- type?: "command" | undefined;
1160
- timeoutMs?: number | undefined;
1161
- }[];
1162
- matcher?: string | undefined;
1163
- }>, "many">>;
1164
- PostToolUse: z.ZodOptional<z.ZodArray<z.ZodObject<{
1165
- /** Glob over the tool name. Omit (or "*") to match every tool. */
1166
- matcher: z.ZodOptional<z.ZodString>;
1167
- /** Actions to run when this matcher matches. */
1168
- hooks: z.ZodArray<z.ZodObject<{
1169
- /** Only "command" hooks are supported. */
1170
- type: z.ZodDefault<z.ZodLiteral<"command">>;
1171
- /** Shell command. Receives the event payload as JSON on stdin. */
1172
- command: z.ZodString;
1173
- /** Per-hook timeout in milliseconds (default 60000, max 600000). */
1174
- timeoutMs: z.ZodOptional<z.ZodNumber>;
1175
- }, "strip", z.ZodTypeAny, {
1176
- type: "command";
1177
- command: string;
1178
- timeoutMs?: number | undefined;
1179
- }, {
1180
- command: string;
1181
- type?: "command" | undefined;
1182
- timeoutMs?: number | undefined;
1183
- }>, "many">;
1184
- }, "strip", z.ZodTypeAny, {
1185
- hooks: {
1186
- type: "command";
1187
- command: string;
1188
- timeoutMs?: number | undefined;
1189
- }[];
1190
- matcher?: string | undefined;
1191
- }, {
1192
- hooks: {
1193
- command: string;
1194
- type?: "command" | undefined;
1195
- timeoutMs?: number | undefined;
1196
- }[];
1197
- matcher?: string | undefined;
1198
- }>, "many">>;
1199
- }, "strip", z.ZodTypeAny, {
1200
- SessionStart?: {
1201
- hooks: {
1202
- type: "command";
1203
- command: string;
1204
- timeoutMs?: number | undefined;
1205
- }[];
1206
- matcher?: string | undefined;
1207
- }[] | undefined;
1208
- PreToolUse?: {
1209
- hooks: {
1210
- type: "command";
1211
- command: string;
1212
- timeoutMs?: number | undefined;
1213
- }[];
1214
- matcher?: string | undefined;
1215
- }[] | undefined;
1216
- PostToolUse?: {
1217
- hooks: {
1218
- type: "command";
1219
- command: string;
1220
- timeoutMs?: number | undefined;
1221
- }[];
1222
- matcher?: string | undefined;
1223
- }[] | undefined;
1224
- }, {
1225
- SessionStart?: {
1226
- hooks: {
1227
- command: string;
1228
- type?: "command" | undefined;
1229
- timeoutMs?: number | undefined;
1230
- }[];
1231
- matcher?: string | undefined;
1232
- }[] | undefined;
1233
- PreToolUse?: {
1234
- hooks: {
1235
- command: string;
1236
- type?: "command" | undefined;
1237
- timeoutMs?: number | undefined;
1238
- }[];
1239
- matcher?: string | undefined;
1240
- }[] | undefined;
1241
- PostToolUse?: {
1242
- hooks: {
1243
- command: string;
1244
- type?: "command" | undefined;
1245
- timeoutMs?: number | undefined;
1246
- }[];
1247
- matcher?: string | undefined;
1248
- }[] | undefined;
1249
- }>>;
1250
- /** External MCP server definitions, keyed by name. */
1251
- mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
1252
- transport: z.ZodLiteral<"streamable-http">;
1253
- url: z.ZodString;
1254
- auth: z.ZodDefault<z.ZodEnum<["oauth", "bearer", "header", "none"]>>;
1255
- oauthServerUrl: z.ZodOptional<z.ZodString>;
1256
- scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1257
- envToken: z.ZodOptional<z.ZodString>;
1258
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1259
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1260
- disabled: z.ZodOptional<z.ZodBoolean>;
1261
- }, "strip", z.ZodTypeAny, {
1262
- transport: "streamable-http";
1263
- url: string;
1264
- auth: "none" | "oauth" | "bearer" | "header";
1265
- headers?: Record<string, string> | undefined;
1266
- oauthServerUrl?: string | undefined;
1267
- scopes?: string[] | undefined;
1268
- envToken?: string | undefined;
1269
- env?: Record<string, string> | undefined;
1270
- disabled?: boolean | undefined;
1271
- }, {
1272
- transport: "streamable-http";
1273
- url: string;
1274
- headers?: Record<string, string> | undefined;
1275
- auth?: "none" | "oauth" | "bearer" | "header" | undefined;
1276
- oauthServerUrl?: string | undefined;
1277
- scopes?: string[] | undefined;
1278
- envToken?: string | undefined;
1279
- env?: Record<string, string> | undefined;
1280
- disabled?: boolean | undefined;
1281
- }>, z.ZodObject<{
1282
- transport: z.ZodLiteral<"sse">;
1283
- url: z.ZodString;
1284
- auth: z.ZodDefault<z.ZodEnum<["oauth", "bearer", "header", "none"]>>;
1285
- oauthServerUrl: z.ZodOptional<z.ZodString>;
1286
- scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1287
- envToken: z.ZodOptional<z.ZodString>;
1288
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1289
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1290
- disabled: z.ZodOptional<z.ZodBoolean>;
1291
- }, "strip", z.ZodTypeAny, {
1292
- transport: "sse";
1293
- url: string;
1294
- auth: "none" | "oauth" | "bearer" | "header";
1295
- headers?: Record<string, string> | undefined;
1296
- oauthServerUrl?: string | undefined;
1297
- scopes?: string[] | undefined;
1298
- envToken?: string | undefined;
1299
- env?: Record<string, string> | undefined;
1300
- disabled?: boolean | undefined;
1301
- }, {
1302
- transport: "sse";
1303
- url: string;
1304
- headers?: Record<string, string> | undefined;
1305
- auth?: "none" | "oauth" | "bearer" | "header" | undefined;
1306
- oauthServerUrl?: string | undefined;
1307
- scopes?: string[] | undefined;
1308
- envToken?: string | undefined;
1309
- env?: Record<string, string> | undefined;
1310
- disabled?: boolean | undefined;
1311
- }>, z.ZodObject<{
1312
- transport: z.ZodLiteral<"stdio">;
1313
- command: z.ZodString;
1314
- args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1315
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1316
- cwd: z.ZodOptional<z.ZodString>;
1317
- disabled: z.ZodOptional<z.ZodBoolean>;
1318
- }, "strip", z.ZodTypeAny, {
1319
- args: string[];
1320
- command: string;
1321
- transport: "stdio";
1322
- cwd?: string | undefined;
1323
- env?: Record<string, string> | undefined;
1324
- disabled?: boolean | undefined;
1325
- }, {
1326
- command: string;
1327
- transport: "stdio";
1328
- cwd?: string | undefined;
1329
- args?: string[] | undefined;
1330
- env?: Record<string, string> | undefined;
1331
- disabled?: boolean | undefined;
1332
- }>, z.ZodObject<{
1333
- transport: z.ZodLiteral<"websocket">;
1334
- url: z.ZodString;
1335
- auth: z.ZodDefault<z.ZodEnum<["bearer", "header", "none"]>>;
1336
- envToken: z.ZodOptional<z.ZodString>;
1337
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1338
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1339
- disabled: z.ZodOptional<z.ZodBoolean>;
1340
- }, "strip", z.ZodTypeAny, {
1341
- transport: "websocket";
1342
- url: string;
1343
- auth: "none" | "bearer" | "header";
1344
- headers?: Record<string, string> | undefined;
1345
- envToken?: string | undefined;
1346
- env?: Record<string, string> | undefined;
1347
- disabled?: boolean | undefined;
1348
- }, {
1349
- transport: "websocket";
1350
- url: string;
1351
- headers?: Record<string, string> | undefined;
1352
- auth?: "none" | "bearer" | "header" | undefined;
1353
- envToken?: string | undefined;
1354
- env?: Record<string, string> | undefined;
1355
- disabled?: boolean | undefined;
1356
- }>]>>>;
1357
- /** Per-MCP-server tool visibility, keyed by server name. */
1358
- toolVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1359
- include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1360
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1361
- }, "strip", z.ZodTypeAny, {
1362
- include?: string[] | undefined;
1363
- exclude?: string[] | undefined;
1364
- }, {
1365
- include?: string[] | undefined;
1366
- exclude?: string[] | undefined;
1367
- }>>>;
1368
- /** Inline named agent definitions, keyed by agent name. */
1369
- agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1370
- description: z.ZodOptional<z.ZodString>;
1371
- prompt: z.ZodString;
1372
- tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1373
- model: z.ZodOptional<z.ZodString>;
1374
- }, "strip", z.ZodTypeAny, {
1375
- prompt: string;
1376
- model?: string | undefined;
1377
- description?: string | undefined;
1378
- tools?: string[] | undefined;
1379
- }, {
1380
- prompt: string;
1381
- model?: string | undefined;
1382
- description?: string | undefined;
1383
- tools?: string[] | undefined;
1384
- }>>>;
1385
- }, z.ZodTypeAny, "passthrough">>;
1386
- export type OxagenSettings = z.infer<typeof oxagenSettingsSchema>;
1387
- //# sourceMappingURL=schema.d.ts.map