axiom-unified 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (673) hide show
  1. package/.prettierignore +4 -0
  2. package/.prettierrc +9 -0
  3. package/CHANGELOG.md +85 -0
  4. package/CODE_OF_CONDUCT.md +118 -0
  5. package/CONTRIBUTING.md +163 -0
  6. package/LICENSE +21 -0
  7. package/README.md +142 -0
  8. package/SECURITY_REVIEW.md +231 -0
  9. package/TODO.md +16 -0
  10. package/axiom +7 -0
  11. package/dist/benchmarkSurvey.d.ts +2 -0
  12. package/dist/benchmarkSurvey.d.ts.map +1 -0
  13. package/dist/benchmarkSurvey.js +289 -0
  14. package/dist/benchmarkSurvey.js.map +1 -0
  15. package/dist/config.d.ts +6 -0
  16. package/dist/config.d.ts.map +1 -0
  17. package/dist/config.js +191 -0
  18. package/dist/config.js.map +1 -0
  19. package/dist/core/context.d.ts +30 -0
  20. package/dist/core/context.d.ts.map +1 -0
  21. package/dist/core/context.js +244 -0
  22. package/dist/core/context.js.map +1 -0
  23. package/dist/core/debugLog.d.ts +20 -0
  24. package/dist/core/debugLog.d.ts.map +1 -0
  25. package/dist/core/debugLog.js +121 -0
  26. package/dist/core/debugLog.js.map +1 -0
  27. package/dist/core/fileLock.d.ts +24 -0
  28. package/dist/core/fileLock.d.ts.map +1 -0
  29. package/dist/core/fileLock.js +45 -0
  30. package/dist/core/fileLock.js.map +1 -0
  31. package/dist/core/knowledgeGraph/entities.d.ts +88 -0
  32. package/dist/core/knowledgeGraph/entities.d.ts.map +1 -0
  33. package/dist/core/knowledgeGraph/entities.js +167 -0
  34. package/dist/core/knowledgeGraph/entities.js.map +1 -0
  35. package/dist/core/knowledgeGraph/graphQueries.d.ts +72 -0
  36. package/dist/core/knowledgeGraph/graphQueries.d.ts.map +1 -0
  37. package/dist/core/knowledgeGraph/graphQueries.js +289 -0
  38. package/dist/core/knowledgeGraph/graphQueries.js.map +1 -0
  39. package/dist/core/knowledgeGraph/graphStore.d.ts +93 -0
  40. package/dist/core/knowledgeGraph/graphStore.d.ts.map +1 -0
  41. package/dist/core/knowledgeGraph/graphStore.js +356 -0
  42. package/dist/core/knowledgeGraph/graphStore.js.map +1 -0
  43. package/dist/core/knowledgeGraph/integration.d.ts +61 -0
  44. package/dist/core/knowledgeGraph/integration.d.ts.map +1 -0
  45. package/dist/core/knowledgeGraph/integration.js +203 -0
  46. package/dist/core/knowledgeGraph/integration.js.map +1 -0
  47. package/dist/core/knowledgeGraph/relationships.d.ts +51 -0
  48. package/dist/core/knowledgeGraph/relationships.d.ts.map +1 -0
  49. package/dist/core/knowledgeGraph/relationships.js +172 -0
  50. package/dist/core/knowledgeGraph/relationships.js.map +1 -0
  51. package/dist/core/knowledgeGraph/visualization.d.ts +59 -0
  52. package/dist/core/knowledgeGraph/visualization.d.ts.map +1 -0
  53. package/dist/core/knowledgeGraph/visualization.js +273 -0
  54. package/dist/core/knowledgeGraph/visualization.js.map +1 -0
  55. package/dist/core/memory.d.ts +65 -0
  56. package/dist/core/memory.d.ts.map +1 -0
  57. package/dist/core/memory.js +976 -0
  58. package/dist/core/memory.js.map +1 -0
  59. package/dist/core/memoryVectors.d.ts +37 -0
  60. package/dist/core/memoryVectors.d.ts.map +1 -0
  61. package/dist/core/memoryVectors.js +223 -0
  62. package/dist/core/memoryVectors.js.map +1 -0
  63. package/dist/core/paths.d.ts +38 -0
  64. package/dist/core/paths.d.ts.map +1 -0
  65. package/dist/core/paths.js +67 -0
  66. package/dist/core/paths.js.map +1 -0
  67. package/dist/daemon/client.d.ts +12 -0
  68. package/dist/daemon/client.d.ts.map +1 -0
  69. package/dist/daemon/client.js +202 -0
  70. package/dist/daemon/client.js.map +1 -0
  71. package/dist/daemon/monitor.d.ts +28 -0
  72. package/dist/daemon/monitor.d.ts.map +1 -0
  73. package/dist/daemon/monitor.js +264 -0
  74. package/dist/daemon/monitor.js.map +1 -0
  75. package/dist/daemon/protocol.d.ts +50 -0
  76. package/dist/daemon/protocol.d.ts.map +1 -0
  77. package/dist/daemon/protocol.js +82 -0
  78. package/dist/daemon/protocol.js.map +1 -0
  79. package/dist/daemon/server.d.ts +2 -0
  80. package/dist/daemon/server.d.ts.map +1 -0
  81. package/dist/daemon/server.js +305 -0
  82. package/dist/daemon/server.js.map +1 -0
  83. package/dist/daemon/state.d.ts +7 -0
  84. package/dist/daemon/state.d.ts.map +1 -0
  85. package/dist/daemon/state.js +73 -0
  86. package/dist/daemon/state.js.map +1 -0
  87. package/dist/engineBenchmarkCli.d.ts +12 -0
  88. package/dist/engineBenchmarkCli.d.ts.map +1 -0
  89. package/dist/engineBenchmarkCli.js +48 -0
  90. package/dist/engineBenchmarkCli.js.map +1 -0
  91. package/dist/index.d.ts +16 -0
  92. package/dist/index.d.ts.map +1 -0
  93. package/dist/index.js +541 -0
  94. package/dist/index.js.map +1 -0
  95. package/dist/persistence/store.d.ts +8 -0
  96. package/dist/persistence/store.d.ts.map +1 -0
  97. package/dist/persistence/store.js +71 -0
  98. package/dist/persistence/store.js.map +1 -0
  99. package/dist/providers.d.ts +82 -0
  100. package/dist/providers.d.ts.map +1 -0
  101. package/dist/providers.js +546 -0
  102. package/dist/providers.js.map +1 -0
  103. package/dist/runtime/autonomous/autonomousOrchestrator.d.ts +97 -0
  104. package/dist/runtime/autonomous/autonomousOrchestrator.d.ts.map +1 -0
  105. package/dist/runtime/autonomous/autonomousOrchestrator.js +442 -0
  106. package/dist/runtime/autonomous/autonomousOrchestrator.js.map +1 -0
  107. package/dist/runtime/autonomous/experienceLearner.d.ts +131 -0
  108. package/dist/runtime/autonomous/experienceLearner.d.ts.map +1 -0
  109. package/dist/runtime/autonomous/experienceLearner.js +510 -0
  110. package/dist/runtime/autonomous/experienceLearner.js.map +1 -0
  111. package/dist/runtime/autonomous/failureHandler.d.ts +93 -0
  112. package/dist/runtime/autonomous/failureHandler.d.ts.map +1 -0
  113. package/dist/runtime/autonomous/failureHandler.js +462 -0
  114. package/dist/runtime/autonomous/failureHandler.js.map +1 -0
  115. package/dist/runtime/autonomous/iterativePlanner.d.ts +146 -0
  116. package/dist/runtime/autonomous/iterativePlanner.d.ts.map +1 -0
  117. package/dist/runtime/autonomous/iterativePlanner.js +1064 -0
  118. package/dist/runtime/autonomous/iterativePlanner.js.map +1 -0
  119. package/dist/runtime/autonomous/selfCorrectingExecutor.d.ts +104 -0
  120. package/dist/runtime/autonomous/selfCorrectingExecutor.d.ts.map +1 -0
  121. package/dist/runtime/autonomous/selfCorrectingExecutor.js +454 -0
  122. package/dist/runtime/autonomous/selfCorrectingExecutor.js.map +1 -0
  123. package/dist/runtime/autonomous/taskClassifier.d.ts +18 -0
  124. package/dist/runtime/autonomous/taskClassifier.d.ts.map +1 -0
  125. package/dist/runtime/autonomous/taskClassifier.js +149 -0
  126. package/dist/runtime/autonomous/taskClassifier.js.map +1 -0
  127. package/dist/runtime/commands/advanced.d.ts +7 -0
  128. package/dist/runtime/commands/advanced.d.ts.map +1 -0
  129. package/dist/runtime/commands/advanced.js +439 -0
  130. package/dist/runtime/commands/advanced.js.map +1 -0
  131. package/dist/runtime/commands/coding.d.ts +7 -0
  132. package/dist/runtime/commands/coding.d.ts.map +1 -0
  133. package/dist/runtime/commands/coding.js +213 -0
  134. package/dist/runtime/commands/coding.js.map +1 -0
  135. package/dist/runtime/commands/core.d.ts +50 -0
  136. package/dist/runtime/commands/core.d.ts.map +1 -0
  137. package/dist/runtime/commands/core.js +118 -0
  138. package/dist/runtime/commands/core.js.map +1 -0
  139. package/dist/runtime/commands/index.d.ts +10 -0
  140. package/dist/runtime/commands/index.d.ts.map +1 -0
  141. package/dist/runtime/commands/index.js +26 -0
  142. package/dist/runtime/commands/index.js.map +1 -0
  143. package/dist/runtime/commands/integration.d.ts +7 -0
  144. package/dist/runtime/commands/integration.d.ts.map +1 -0
  145. package/dist/runtime/commands/integration.js +658 -0
  146. package/dist/runtime/commands/integration.js.map +1 -0
  147. package/dist/runtime/commands/knowledge.d.ts +7 -0
  148. package/dist/runtime/commands/knowledge.d.ts.map +1 -0
  149. package/dist/runtime/commands/knowledge.js +72 -0
  150. package/dist/runtime/commands/knowledge.js.map +1 -0
  151. package/dist/runtime/commands/performance.d.ts +7 -0
  152. package/dist/runtime/commands/performance.d.ts.map +1 -0
  153. package/dist/runtime/commands/performance.js +460 -0
  154. package/dist/runtime/commands/performance.js.map +1 -0
  155. package/dist/runtime/commands/productivity.d.ts +7 -0
  156. package/dist/runtime/commands/productivity.d.ts.map +1 -0
  157. package/dist/runtime/commands/productivity.js +679 -0
  158. package/dist/runtime/commands/productivity.js.map +1 -0
  159. package/dist/runtime/commands/system.d.ts +8 -0
  160. package/dist/runtime/commands/system.d.ts.map +1 -0
  161. package/dist/runtime/commands/system.js +349 -0
  162. package/dist/runtime/commands/system.js.map +1 -0
  163. package/dist/runtime/commands.d.ts +9 -0
  164. package/dist/runtime/commands.d.ts.map +1 -0
  165. package/dist/runtime/commands.js +8 -0
  166. package/dist/runtime/commands.js.map +1 -0
  167. package/dist/runtime/consensusScorer.d.ts +44 -0
  168. package/dist/runtime/consensusScorer.d.ts.map +1 -0
  169. package/dist/runtime/consensusScorer.js +232 -0
  170. package/dist/runtime/consensusScorer.js.map +1 -0
  171. package/dist/runtime/debugReceipts.d.ts +9 -0
  172. package/dist/runtime/debugReceipts.d.ts.map +1 -0
  173. package/dist/runtime/debugReceipts.js +57 -0
  174. package/dist/runtime/debugReceipts.js.map +1 -0
  175. package/dist/runtime/dispatcher.d.ts +17 -0
  176. package/dist/runtime/dispatcher.d.ts.map +1 -0
  177. package/dist/runtime/dispatcher.js +135 -0
  178. package/dist/runtime/dispatcher.js.map +1 -0
  179. package/dist/runtime/doctor.d.ts +3 -0
  180. package/dist/runtime/doctor.d.ts.map +1 -0
  181. package/dist/runtime/doctor.js +107 -0
  182. package/dist/runtime/doctor.js.map +1 -0
  183. package/dist/runtime/engineBenchmark.d.ts +104 -0
  184. package/dist/runtime/engineBenchmark.d.ts.map +1 -0
  185. package/dist/runtime/engineBenchmark.js +329 -0
  186. package/dist/runtime/engineBenchmark.js.map +1 -0
  187. package/dist/runtime/executionContext.d.ts +10 -0
  188. package/dist/runtime/executionContext.d.ts.map +1 -0
  189. package/dist/runtime/executionContext.js +113 -0
  190. package/dist/runtime/executionContext.js.map +1 -0
  191. package/dist/runtime/goalManager.d.ts +44 -0
  192. package/dist/runtime/goalManager.d.ts.map +1 -0
  193. package/dist/runtime/goalManager.js +116 -0
  194. package/dist/runtime/goalManager.js.map +1 -0
  195. package/dist/runtime/goals.d.ts +21 -0
  196. package/dist/runtime/goals.d.ts.map +1 -0
  197. package/dist/runtime/goals.js +51 -0
  198. package/dist/runtime/goals.js.map +1 -0
  199. package/dist/runtime/loop/reflection.d.ts +6 -0
  200. package/dist/runtime/loop/reflection.d.ts.map +1 -0
  201. package/dist/runtime/loop/reflection.js +17 -0
  202. package/dist/runtime/loop/reflection.js.map +1 -0
  203. package/dist/runtime/loop/result.d.ts +10 -0
  204. package/dist/runtime/loop/result.d.ts.map +1 -0
  205. package/dist/runtime/loop/result.js +87 -0
  206. package/dist/runtime/loop/result.js.map +1 -0
  207. package/dist/runtime/loop/synthesis.d.ts +30 -0
  208. package/dist/runtime/loop/synthesis.d.ts.map +1 -0
  209. package/dist/runtime/loop/synthesis.js +153 -0
  210. package/dist/runtime/loop/synthesis.js.map +1 -0
  211. package/dist/runtime/loop/toolExecution.d.ts +31 -0
  212. package/dist/runtime/loop/toolExecution.d.ts.map +1 -0
  213. package/dist/runtime/loop/toolExecution.js +130 -0
  214. package/dist/runtime/loop/toolExecution.js.map +1 -0
  215. package/dist/runtime/loop/toolExtraction.d.ts +9 -0
  216. package/dist/runtime/loop/toolExtraction.d.ts.map +1 -0
  217. package/dist/runtime/loop/toolExtraction.js +111 -0
  218. package/dist/runtime/loop/toolExtraction.js.map +1 -0
  219. package/dist/runtime/loop.d.ts +37 -0
  220. package/dist/runtime/loop.d.ts.map +1 -0
  221. package/dist/runtime/loop.js +598 -0
  222. package/dist/runtime/loop.js.map +1 -0
  223. package/dist/runtime/modelTiers.d.ts +12 -0
  224. package/dist/runtime/modelTiers.d.ts.map +1 -0
  225. package/dist/runtime/modelTiers.js +25 -0
  226. package/dist/runtime/modelTiers.js.map +1 -0
  227. package/dist/runtime/notifier.d.ts +44 -0
  228. package/dist/runtime/notifier.d.ts.map +1 -0
  229. package/dist/runtime/notifier.js +117 -0
  230. package/dist/runtime/notifier.js.map +1 -0
  231. package/dist/runtime/operatorSafety.d.ts +20 -0
  232. package/dist/runtime/operatorSafety.d.ts.map +1 -0
  233. package/dist/runtime/operatorSafety.js +59 -0
  234. package/dist/runtime/operatorSafety.js.map +1 -0
  235. package/dist/runtime/planner.d.ts +7 -0
  236. package/dist/runtime/planner.d.ts.map +1 -0
  237. package/dist/runtime/planner.js +166 -0
  238. package/dist/runtime/planner.js.map +1 -0
  239. package/dist/runtime/promptAssembly.d.ts +48 -0
  240. package/dist/runtime/promptAssembly.d.ts.map +1 -0
  241. package/dist/runtime/promptAssembly.js +136 -0
  242. package/dist/runtime/promptAssembly.js.map +1 -0
  243. package/dist/runtime/promptDebug.d.ts +63 -0
  244. package/dist/runtime/promptDebug.d.ts.map +1 -0
  245. package/dist/runtime/promptDebug.js +129 -0
  246. package/dist/runtime/promptDebug.js.map +1 -0
  247. package/dist/runtime/providerCatalog.d.ts +40 -0
  248. package/dist/runtime/providerCatalog.d.ts.map +1 -0
  249. package/dist/runtime/providerCatalog.js +124 -0
  250. package/dist/runtime/providerCatalog.js.map +1 -0
  251. package/dist/runtime/providerRouter.d.ts +29 -0
  252. package/dist/runtime/providerRouter.d.ts.map +1 -0
  253. package/dist/runtime/providerRouter.js +105 -0
  254. package/dist/runtime/providerRouter.js.map +1 -0
  255. package/dist/runtime/receiptLedger.d.ts +45 -0
  256. package/dist/runtime/receiptLedger.d.ts.map +1 -0
  257. package/dist/runtime/receiptLedger.js +64 -0
  258. package/dist/runtime/receiptLedger.js.map +1 -0
  259. package/dist/runtime/reflection.d.ts +53 -0
  260. package/dist/runtime/reflection.d.ts.map +1 -0
  261. package/dist/runtime/reflection.js +329 -0
  262. package/dist/runtime/reflection.js.map +1 -0
  263. package/dist/runtime/sandbox.d.ts +7 -0
  264. package/dist/runtime/sandbox.d.ts.map +1 -0
  265. package/dist/runtime/sandbox.js +44 -0
  266. package/dist/runtime/sandbox.js.map +1 -0
  267. package/dist/runtime/session.d.ts +16 -0
  268. package/dist/runtime/session.d.ts.map +1 -0
  269. package/dist/runtime/session.js +63 -0
  270. package/dist/runtime/session.js.map +1 -0
  271. package/dist/runtime/sessionControls.d.ts +15 -0
  272. package/dist/runtime/sessionControls.d.ts.map +1 -0
  273. package/dist/runtime/sessionControls.js +35 -0
  274. package/dist/runtime/sessionControls.js.map +1 -0
  275. package/dist/runtime/sessionHealth.d.ts +23 -0
  276. package/dist/runtime/sessionHealth.d.ts.map +1 -0
  277. package/dist/runtime/sessionHealth.js +68 -0
  278. package/dist/runtime/sessionHealth.js.map +1 -0
  279. package/dist/runtime/signals.d.ts +4 -0
  280. package/dist/runtime/signals.d.ts.map +1 -0
  281. package/dist/runtime/signals.js +24 -0
  282. package/dist/runtime/signals.js.map +1 -0
  283. package/dist/runtime/terminal.d.ts +85 -0
  284. package/dist/runtime/terminal.d.ts.map +1 -0
  285. package/dist/runtime/terminal.js +597 -0
  286. package/dist/runtime/terminal.js.map +1 -0
  287. package/dist/runtime/turnClassifier.d.ts +16 -0
  288. package/dist/runtime/turnClassifier.d.ts.map +1 -0
  289. package/dist/runtime/turnClassifier.js +129 -0
  290. package/dist/runtime/turnClassifier.js.map +1 -0
  291. package/dist/runtime/turnReceipts.d.ts +40 -0
  292. package/dist/runtime/turnReceipts.d.ts.map +1 -0
  293. package/dist/runtime/turnReceipts.js +106 -0
  294. package/dist/runtime/turnReceipts.js.map +1 -0
  295. package/dist/runtime/workspaceCheck.d.ts +14 -0
  296. package/dist/runtime/workspaceCheck.d.ts.map +1 -0
  297. package/dist/runtime/workspaceCheck.js +196 -0
  298. package/dist/runtime/workspaceCheck.js.map +1 -0
  299. package/dist/runtime/worldModel.d.ts +88 -0
  300. package/dist/runtime/worldModel.d.ts.map +1 -0
  301. package/dist/runtime/worldModel.js +248 -0
  302. package/dist/runtime/worldModel.js.map +1 -0
  303. package/dist/telegram.d.ts +2 -0
  304. package/dist/telegram.d.ts.map +1 -0
  305. package/dist/telegram.js +543 -0
  306. package/dist/telegram.js.map +1 -0
  307. package/dist/test.d.ts +2 -0
  308. package/dist/test.d.ts.map +1 -0
  309. package/dist/test.js +358 -0
  310. package/dist/test.js.map +1 -0
  311. package/dist/testRunner.d.ts +12 -0
  312. package/dist/testRunner.d.ts.map +1 -0
  313. package/dist/testRunner.js +151 -0
  314. package/dist/testRunner.js.map +1 -0
  315. package/dist/tools/advanced.d.ts +198 -0
  316. package/dist/tools/advanced.d.ts.map +1 -0
  317. package/dist/tools/advanced.js +867 -0
  318. package/dist/tools/advanced.js.map +1 -0
  319. package/dist/tools/codeReview.d.ts +33 -0
  320. package/dist/tools/codeReview.d.ts.map +1 -0
  321. package/dist/tools/codeReview.js +326 -0
  322. package/dist/tools/codeReview.js.map +1 -0
  323. package/dist/tools/coding.d.ts +122 -0
  324. package/dist/tools/coding.d.ts.map +1 -0
  325. package/dist/tools/coding.js +837 -0
  326. package/dist/tools/coding.js.map +1 -0
  327. package/dist/tools/community.d.ts +2 -0
  328. package/dist/tools/community.d.ts.map +1 -0
  329. package/dist/tools/community.js +3 -0
  330. package/dist/tools/community.js.map +1 -0
  331. package/dist/tools/debugAssist.d.ts +29 -0
  332. package/dist/tools/debugAssist.d.ts.map +1 -0
  333. package/dist/tools/debugAssist.js +334 -0
  334. package/dist/tools/debugAssist.js.map +1 -0
  335. package/dist/tools/index.d.ts +41 -0
  336. package/dist/tools/index.d.ts.map +1 -0
  337. package/dist/tools/index.js +352 -0
  338. package/dist/tools/index.js.map +1 -0
  339. package/dist/tools/integration.d.ts +204 -0
  340. package/dist/tools/integration.d.ts.map +1 -0
  341. package/dist/tools/integration.js +905 -0
  342. package/dist/tools/integration.js.map +1 -0
  343. package/dist/tools/performance.d.ts +150 -0
  344. package/dist/tools/performance.d.ts.map +1 -0
  345. package/dist/tools/performance.js +1328 -0
  346. package/dist/tools/performance.js.map +1 -0
  347. package/dist/tools/provider.d.ts +71 -0
  348. package/dist/tools/provider.d.ts.map +1 -0
  349. package/dist/tools/provider.js +233 -0
  350. package/dist/tools/provider.js.map +1 -0
  351. package/dist/tools/registry/core.d.ts +38 -0
  352. package/dist/tools/registry/core.d.ts.map +1 -0
  353. package/dist/tools/registry/core.js +122 -0
  354. package/dist/tools/registry/core.js.map +1 -0
  355. package/dist/tools/registry/index.d.ts +10 -0
  356. package/dist/tools/registry/index.d.ts.map +1 -0
  357. package/dist/tools/registry/index.js +33 -0
  358. package/dist/tools/registry/index.js.map +1 -0
  359. package/dist/tools/registry/safety.d.ts +27 -0
  360. package/dist/tools/registry/safety.d.ts.map +1 -0
  361. package/dist/tools/registry/safety.js +204 -0
  362. package/dist/tools/registry/safety.js.map +1 -0
  363. package/dist/tools/registry/tools-advanced.d.ts +3 -0
  364. package/dist/tools/registry/tools-advanced.d.ts.map +1 -0
  365. package/dist/tools/registry/tools-advanced.js +308 -0
  366. package/dist/tools/registry/tools-advanced.js.map +1 -0
  367. package/dist/tools/registry/tools-coding.d.ts +3 -0
  368. package/dist/tools/registry/tools-coding.d.ts.map +1 -0
  369. package/dist/tools/registry/tools-coding.js +328 -0
  370. package/dist/tools/registry/tools-coding.js.map +1 -0
  371. package/dist/tools/registry/tools-codingspec.d.ts +3 -0
  372. package/dist/tools/registry/tools-codingspec.d.ts.map +1 -0
  373. package/dist/tools/registry/tools-codingspec.js +89 -0
  374. package/dist/tools/registry/tools-codingspec.js.map +1 -0
  375. package/dist/tools/registry/tools-core.d.ts +3 -0
  376. package/dist/tools/registry/tools-core.d.ts.map +1 -0
  377. package/dist/tools/registry/tools-core.js +98 -0
  378. package/dist/tools/registry/tools-core.js.map +1 -0
  379. package/dist/tools/registry/tools-integration.d.ts +3 -0
  380. package/dist/tools/registry/tools-integration.d.ts.map +1 -0
  381. package/dist/tools/registry/tools-integration.js +455 -0
  382. package/dist/tools/registry/tools-integration.js.map +1 -0
  383. package/dist/tools/registry/tools-performance.d.ts +3 -0
  384. package/dist/tools/registry/tools-performance.d.ts.map +1 -0
  385. package/dist/tools/registry/tools-performance.js +463 -0
  386. package/dist/tools/registry/tools-performance.js.map +1 -0
  387. package/dist/tools/registry/tools-provider.d.ts +3 -0
  388. package/dist/tools/registry/tools-provider.d.ts.map +1 -0
  389. package/dist/tools/registry/tools-provider.js +104 -0
  390. package/dist/tools/registry/tools-provider.js.map +1 -0
  391. package/dist/tools/registry/tools-selfreport.d.ts +3 -0
  392. package/dist/tools/registry/tools-selfreport.d.ts.map +1 -0
  393. package/dist/tools/registry/tools-selfreport.js +22 -0
  394. package/dist/tools/registry/tools-selfreport.js.map +1 -0
  395. package/dist/tools/registry/tools-usability.d.ts +3 -0
  396. package/dist/tools/registry/tools-usability.d.ts.map +1 -0
  397. package/dist/tools/registry/tools-usability.js +347 -0
  398. package/dist/tools/registry/tools-usability.js.map +1 -0
  399. package/dist/tools/registry/tools-world.d.ts +3 -0
  400. package/dist/tools/registry/tools-world.d.ts.map +1 -0
  401. package/dist/tools/registry/tools-world.js +163 -0
  402. package/dist/tools/registry/tools-world.js.map +1 -0
  403. package/dist/tools/registry.d.ts +9 -0
  404. package/dist/tools/registry.d.ts.map +1 -0
  405. package/dist/tools/registry.js +8 -0
  406. package/dist/tools/registry.js.map +1 -0
  407. package/dist/tools/social.d.ts +30 -0
  408. package/dist/tools/social.d.ts.map +1 -0
  409. package/dist/tools/social.js +239 -0
  410. package/dist/tools/social.js.map +1 -0
  411. package/dist/tools/usability.d.ts +141 -0
  412. package/dist/tools/usability.d.ts.map +1 -0
  413. package/dist/tools/usability.js +625 -0
  414. package/dist/tools/usability.js.map +1 -0
  415. package/dist/tools/video.d.ts +37 -0
  416. package/dist/tools/video.d.ts.map +1 -0
  417. package/dist/tools/video.js +408 -0
  418. package/dist/tools/video.js.map +1 -0
  419. package/dist/types.d.ts +197 -0
  420. package/dist/types.d.ts.map +1 -0
  421. package/dist/types.js +7 -0
  422. package/dist/types.js.map +1 -0
  423. package/docs/API.md +61 -0
  424. package/docs/API_REFERENCE.md +536 -0
  425. package/docs/ARCHITECTURE.md +662 -0
  426. package/docs/CONTRIBUTOR_GUIDE.md +596 -0
  427. package/docs/CURRENT_STATUS.md +109 -0
  428. package/docs/FAQ.md +253 -0
  429. package/docs/GETTING_STARTED.md +170 -0
  430. package/docs/LIVE_PROVIDER_GAUNTLET.md +48 -0
  431. package/docs/OPERATING_GUIDE.md +122 -0
  432. package/docs/PERFORMANCE.md +411 -0
  433. package/docs/PLUGIN_DEVELOPMENT.md +746 -0
  434. package/docs/PROVIDERS.md +19 -0
  435. package/docs/RELEASE_CHECKLIST.md +11 -0
  436. package/docs/RELEASE_READINESS_V0_1.md +151 -0
  437. package/docs/SAFE_CAPABILITIES.md +31 -0
  438. package/docs/TROUBLESHOOTING.md +334 -0
  439. package/docs/api/.nojekyll +1 -0
  440. package/docs/api/assets/hierarchy.js +1 -0
  441. package/docs/api/assets/highlight.css +22 -0
  442. package/docs/api/assets/icons.js +18 -0
  443. package/docs/api/assets/icons.svg +1 -0
  444. package/docs/api/assets/main.js +60 -0
  445. package/docs/api/assets/navigation.js +1 -0
  446. package/docs/api/assets/search.js +1 -0
  447. package/docs/api/assets/style.css +1633 -0
  448. package/docs/api/classes/core_memory.AxiomMemoryStore.html +8 -0
  449. package/docs/api/classes/runtime_autonomous_autonomousOrchestrator.AutonomousOrchestrator.html +12 -0
  450. package/docs/api/classes/runtime_autonomous_iterativePlanner.IterativePlanner.html +18 -0
  451. package/docs/api/classes/runtime_autonomous_selfCorrectingExecutor.SelfCorrectingExecutor.html +18 -0
  452. package/docs/api/classes/tools_registry.ToolRegistry.html +9 -0
  453. package/docs/api/functions/core_memory.ensureMemoryFile.html +1 -0
  454. package/docs/api/functions/core_memory.getMemoryPath.html +1 -0
  455. package/docs/api/functions/core_memory.isDiagnosticMemoryContext.html +1 -0
  456. package/docs/api/functions/core_memory.loadMemory.html +1 -0
  457. package/docs/api/functions/providers.callModel.html +1 -0
  458. package/docs/api/functions/providers.callModelWithFallback.html +1 -0
  459. package/docs/api/functions/providers.callMultipleProviders.html +3 -0
  460. package/docs/api/functions/providers.compactMessagesForFallback.html +1 -0
  461. package/docs/api/functions/providers.createProviderClient.html +1 -0
  462. package/docs/api/functions/providers.extractContentFromReasoning.html +1 -0
  463. package/docs/api/functions/providers.getFallbackChain.html +1 -0
  464. package/docs/api/functions/providers.getPrimaryProvider.html +1 -0
  465. package/docs/api/functions/providers.getProviderAttemptChain.html +1 -0
  466. package/docs/api/functions/providers.getProviderCoverage.html +1 -0
  467. package/docs/api/functions/providers.getProviderDefaultModel.html +1 -0
  468. package/docs/api/functions/providers.getProviderModels.html +1 -0
  469. package/docs/api/functions/providers.getReserveProviderPolicy.html +1 -0
  470. package/docs/api/functions/providers.getReserveProviders.html +1 -0
  471. package/docs/api/functions/providers.isProviderName.html +1 -0
  472. package/docs/api/functions/providers.isValidModel.html +1 -0
  473. package/docs/api/functions/providers.normalizeProviderName.html +1 -0
  474. package/docs/api/functions/providers.setAdaptiveChain.html +1 -0
  475. package/docs/api/functions/providers.shouldUseReserveProviders.html +1 -0
  476. package/docs/api/functions/providers.truncateMessages.html +1 -0
  477. package/docs/api/functions/runtime_autonomous_taskClassifier.areTaskTypesSimilar.html +2 -0
  478. package/docs/api/functions/runtime_autonomous_taskClassifier.classifyTaskType.html +4 -0
  479. package/docs/api/functions/runtime_loop.appendSessionHealthWarning.html +1 -0
  480. package/docs/api/functions/runtime_loop.buildBoundedToolFailureMessage.html +1 -0
  481. package/docs/api/functions/runtime_loop.buildToolLoopGuardMessage.html +1 -0
  482. package/docs/api/functions/runtime_loop.containsRawToolCallMarkup.html +1 -0
  483. package/docs/api/functions/runtime_loop.extractToolCall.html +1 -0
  484. package/docs/api/functions/runtime_loop.fireReflection.html +1 -0
  485. package/docs/api/functions/runtime_loop.looksLikeUnfinishedToolIntention.html +1 -0
  486. package/docs/api/functions/runtime_loop.makeResult.html +1 -0
  487. package/docs/api/functions/runtime_loop.normalizeWebSearchQuery.html +1 -0
  488. package/docs/api/functions/runtime_loop.quickQuery.html +1 -0
  489. package/docs/api/functions/runtime_loop.runLoop.html +1 -0
  490. package/docs/api/functions/runtime_loop.shouldSynthesizeAfterToolResult.html +1 -0
  491. package/docs/api/functions/runtime_loop.shouldUseAutonomousExecution.html +1 -0
  492. package/docs/api/functions/runtime_loop.stripToolCall.html +1 -0
  493. package/docs/api/functions/runtime_loop.synthesizeFinalAnswer.html +1 -0
  494. package/docs/api/functions/runtime_loop.withFallbackCaveat.html +1 -0
  495. package/docs/api/functions/tools_registry.registerDefaultTools.html +1 -0
  496. package/docs/api/functions/types.getMessageContent.html +2 -0
  497. package/docs/api/hierarchy.html +1 -0
  498. package/docs/api/index.html +1 -0
  499. package/docs/api/interfaces/core_memory.ExampleEntry.html +9 -0
  500. package/docs/api/interfaces/core_memory.MemoryStats.html +5 -0
  501. package/docs/api/interfaces/core_memory.RecallResult.html +3 -0
  502. package/docs/api/interfaces/core_memory.RecalledExample.html +4 -0
  503. package/docs/api/interfaces/providers.ProviderAttemptTarget.html +3 -0
  504. package/docs/api/interfaces/providers.ProviderCoverage.html +10 -0
  505. package/docs/api/interfaces/runtime_autonomous_autonomousOrchestrator.OrchestrationConfig.html +12 -0
  506. package/docs/api/interfaces/runtime_autonomous_autonomousOrchestrator.OrchestrationResult.html +10 -0
  507. package/docs/api/interfaces/runtime_autonomous_autonomousOrchestrator.OrchestrationStats.html +8 -0
  508. package/docs/api/interfaces/runtime_autonomous_iterativePlanner.PlanRefinement.html +7 -0
  509. package/docs/api/interfaces/runtime_autonomous_iterativePlanner.PlanningExperience.html +11 -0
  510. package/docs/api/interfaces/runtime_autonomous_iterativePlanner.PlanningHeuristics.html +5 -0
  511. package/docs/api/interfaces/runtime_autonomous_selfCorrectingExecutor.CorrectionStrategy.html +7 -0
  512. package/docs/api/interfaces/runtime_autonomous_selfCorrectingExecutor.ExecutionContext.html +6 -0
  513. package/docs/api/interfaces/runtime_autonomous_selfCorrectingExecutor.FailureAnalysis.html +6 -0
  514. package/docs/api/interfaces/runtime_loop.LoopOptions.html +19 -0
  515. package/docs/api/interfaces/tools_registry.GateInfo.html +5 -0
  516. package/docs/api/interfaces/tools_registry.RegisteredTool.html +6 -0
  517. package/docs/api/interfaces/types.AssistantMessage.html +4 -0
  518. package/docs/api/interfaces/types.AxiomConfig.html +5 -0
  519. package/docs/api/interfaces/types.BaseMessage.html +3 -0
  520. package/docs/api/interfaces/types.Correction.html +4 -0
  521. package/docs/api/interfaces/types.GoalSummary.html +7 -0
  522. package/docs/api/interfaces/types.LoopResult.html +5 -0
  523. package/docs/api/interfaces/types.ModelResponse.html +10 -0
  524. package/docs/api/interfaces/types.NativeToolCall.html +4 -0
  525. package/docs/api/interfaces/types.PlanTask.html +9 -0
  526. package/docs/api/interfaces/types.ProjectContext.html +8 -0
  527. package/docs/api/interfaces/types.ProviderUsage.html +8 -0
  528. package/docs/api/interfaces/types.Session.html +8 -0
  529. package/docs/api/interfaces/types.SessionBudget.html +5 -0
  530. package/docs/api/interfaces/types.TaskBudget.html +3 -0
  531. package/docs/api/interfaces/types.TaskGraph.html +9 -0
  532. package/docs/api/interfaces/types.TaskResult.html +10 -0
  533. package/docs/api/interfaces/types.ToolCall.html +3 -0
  534. package/docs/api/interfaces/types.ToolMessage.html +4 -0
  535. package/docs/api/interfaces/types.ToolResult.html +7 -0
  536. package/docs/api/interfaces/types.ToolSchema.html +3 -0
  537. package/docs/api/interfaces/types.WorldModelSnapshot.html +8 -0
  538. package/docs/api/modules/core_memory.html +1 -0
  539. package/docs/api/modules/providers.html +1 -0
  540. package/docs/api/modules/runtime_autonomous_autonomousOrchestrator.html +1 -0
  541. package/docs/api/modules/runtime_autonomous_iterativePlanner.html +1 -0
  542. package/docs/api/modules/runtime_autonomous_selfCorrectingExecutor.html +1 -0
  543. package/docs/api/modules/runtime_autonomous_taskClassifier.html +1 -0
  544. package/docs/api/modules/runtime_loop.html +1 -0
  545. package/docs/api/modules/tools_registry.html +1 -0
  546. package/docs/api/modules/types.html +1 -0
  547. package/docs/api/types/providers.ProviderAttemptLane.html +1 -0
  548. package/docs/api/types/providers.ProviderName.html +1 -0
  549. package/docs/api/types/providers.ProviderReadiness.html +1 -0
  550. package/docs/api/types/providers.ReserveProviderPolicy.html +1 -0
  551. package/docs/api/types/runtime_autonomous_taskClassifier.TaskType.html +4 -0
  552. package/docs/api/types/tools_registry.ConfirmHook.html +1 -0
  553. package/docs/api/types/tools_registry.ToolArgs.html +1 -0
  554. package/docs/api/types/tools_registry.ToolHandler.html +1 -0
  555. package/docs/api/types/types.Message.html +1 -0
  556. package/docs/api/types/types.MessageRole.html +1 -0
  557. package/docs/api/types/types.PlanMode.html +1 -0
  558. package/docs/api/types/types.PlanTaskStatus.html +1 -0
  559. package/docs/api/types/types.StopReason.html +1 -0
  560. package/docs/api/types/types.TaskGraphStatus.html +1 -0
  561. package/docs/api/types/types.TaskResultStatus.html +1 -0
  562. package/docs/api/variables/core_memory.memoryStore.html +1 -0
  563. package/docs/api/variables/providers.PROVIDERS.html +1 -0
  564. package/docs/api/variables/runtime_autonomous_autonomousOrchestrator.autonomousOrchestrator.html +1 -0
  565. package/docs/api/variables/runtime_autonomous_iterativePlanner.iterativePlanner.html +1 -0
  566. package/docs/api/variables/runtime_autonomous_selfCorrectingExecutor.selfCorrectingExecutor.html +1 -0
  567. package/docs/api/variables/runtime_loop.WEB_SEARCH_MAX_CALLS_PER_TURN.html +1 -0
  568. package/docs/api/variables/tools_registry.toolRegistry.html +1 -0
  569. package/package.json +96 -0
  570. package/scripts/live-provider-gauntlet.ts +98 -0
  571. package/src/benchmarkSurvey.ts +391 -0
  572. package/src/config.ts +216 -0
  573. package/src/core/context.ts +275 -0
  574. package/src/core/debugLog.ts +125 -0
  575. package/src/core/fileLock.ts +53 -0
  576. package/src/core/knowledgeGraph/entities.ts +282 -0
  577. package/src/core/knowledgeGraph/graphQueries.ts +426 -0
  578. package/src/core/knowledgeGraph/graphStore.ts +438 -0
  579. package/src/core/knowledgeGraph/integration.ts +317 -0
  580. package/src/core/knowledgeGraph/relationships.ts +301 -0
  581. package/src/core/knowledgeGraph/visualization.ts +375 -0
  582. package/src/core/memory.ts +1172 -0
  583. package/src/core/memoryVectors.ts +258 -0
  584. package/src/core/paths.ts +80 -0
  585. package/src/daemon/client.ts +233 -0
  586. package/src/daemon/monitor.ts +307 -0
  587. package/src/daemon/protocol.ts +116 -0
  588. package/src/daemon/server.ts +345 -0
  589. package/src/daemon/state.ts +68 -0
  590. package/src/engineBenchmarkCli.ts +56 -0
  591. package/src/index.ts +637 -0
  592. package/src/persistence/store.ts +72 -0
  593. package/src/providers.ts +728 -0
  594. package/src/runtime/autonomous/autonomousOrchestrator.ts +618 -0
  595. package/src/runtime/autonomous/experienceLearner.ts +676 -0
  596. package/src/runtime/autonomous/failureHandler.ts +591 -0
  597. package/src/runtime/autonomous/iterativePlanner.ts +1344 -0
  598. package/src/runtime/autonomous/selfCorrectingExecutor.ts +628 -0
  599. package/src/runtime/autonomous/taskClassifier.ts +171 -0
  600. package/src/runtime/commands/advanced.ts +503 -0
  601. package/src/runtime/commands/coding.ts +249 -0
  602. package/src/runtime/commands/core.ts +166 -0
  603. package/src/runtime/commands/index.ts +42 -0
  604. package/src/runtime/commands/integration.ts +736 -0
  605. package/src/runtime/commands/knowledge.ts +86 -0
  606. package/src/runtime/commands/performance.ts +531 -0
  607. package/src/runtime/commands/productivity.ts +825 -0
  608. package/src/runtime/commands/system.ts +404 -0
  609. package/src/runtime/commands.ts +18 -0
  610. package/src/runtime/consensusScorer.ts +310 -0
  611. package/src/runtime/debugReceipts.ts +71 -0
  612. package/src/runtime/dispatcher.ts +180 -0
  613. package/src/runtime/doctor.ts +121 -0
  614. package/src/runtime/engineBenchmark.ts +523 -0
  615. package/src/runtime/executionContext.ts +146 -0
  616. package/src/runtime/goalManager.ts +153 -0
  617. package/src/runtime/goals.ts +77 -0
  618. package/src/runtime/loop/reflection.ts +25 -0
  619. package/src/runtime/loop/result.ts +106 -0
  620. package/src/runtime/loop/synthesis.ts +203 -0
  621. package/src/runtime/loop/toolExecution.ts +171 -0
  622. package/src/runtime/loop/toolExtraction.ts +131 -0
  623. package/src/runtime/loop.ts +748 -0
  624. package/src/runtime/modelTiers.ts +40 -0
  625. package/src/runtime/notifier.ts +142 -0
  626. package/src/runtime/operatorSafety.ts +78 -0
  627. package/src/runtime/planner.ts +197 -0
  628. package/src/runtime/promptAssembly.ts +184 -0
  629. package/src/runtime/promptDebug.ts +222 -0
  630. package/src/runtime/providerCatalog.ts +188 -0
  631. package/src/runtime/providerRouter.ts +119 -0
  632. package/src/runtime/receiptLedger.ts +95 -0
  633. package/src/runtime/reflection.ts +411 -0
  634. package/src/runtime/sandbox.ts +50 -0
  635. package/src/runtime/session.ts +76 -0
  636. package/src/runtime/sessionControls.ts +55 -0
  637. package/src/runtime/sessionHealth.ts +93 -0
  638. package/src/runtime/signals.ts +28 -0
  639. package/src/runtime/terminal.ts +738 -0
  640. package/src/runtime/turnClassifier.ts +175 -0
  641. package/src/runtime/turnReceipts.ts +150 -0
  642. package/src/runtime/workspaceCheck.ts +207 -0
  643. package/src/runtime/worldModel.ts +339 -0
  644. package/src/telegram.ts +708 -0
  645. package/src/test.ts +466 -0
  646. package/src/testRunner.ts +178 -0
  647. package/src/tools/advanced.ts +1253 -0
  648. package/src/tools/codeReview.ts +421 -0
  649. package/src/tools/coding.ts +1057 -0
  650. package/src/tools/community.ts +1 -0
  651. package/src/tools/debugAssist.ts +518 -0
  652. package/src/tools/index.ts +482 -0
  653. package/src/tools/integration.ts +1205 -0
  654. package/src/tools/performance.ts +1779 -0
  655. package/src/tools/provider.ts +326 -0
  656. package/src/tools/registry/core.ts +162 -0
  657. package/src/tools/registry/index.ts +39 -0
  658. package/src/tools/registry/safety.ts +254 -0
  659. package/src/tools/registry/tools-advanced.ts +346 -0
  660. package/src/tools/registry/tools-coding.ts +375 -0
  661. package/src/tools/registry/tools-codingspec.ts +101 -0
  662. package/src/tools/registry/tools-core.ts +110 -0
  663. package/src/tools/registry/tools-integration.ts +502 -0
  664. package/src/tools/registry/tools-performance.ts +518 -0
  665. package/src/tools/registry/tools-provider.ts +115 -0
  666. package/src/tools/registry/tools-selfreport.ts +26 -0
  667. package/src/tools/registry/tools-usability.ts +382 -0
  668. package/src/tools/registry/tools-world.ts +174 -0
  669. package/src/tools/registry.ts +9 -0
  670. package/src/tools/social.ts +318 -0
  671. package/src/tools/usability.ts +799 -0
  672. package/src/tools/video.ts +534 -0
  673. package/src/types.ts +246 -0
@@ -0,0 +1,4 @@
1
+ dist/
2
+ node_modules/
3
+ scratch/
4
+ *.md
package/.prettierrc ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "semi": true,
3
+ "singleQuote": true,
4
+ "trailingComma": "all",
5
+ "printWidth": 100,
6
+ "tabWidth": 2,
7
+ "arrowParens": "always",
8
+ "endOfLine": "lf"
9
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,85 @@
1
+ # Changelog
2
+
3
+ All notable changes to Axiom Unified will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased] — v0.1.0 (planned)
9
+
10
+ ### Added
11
+ - AXIOM_HOME centralization for full test isolation
12
+ - Live provider gauntlet passed (Groq, Cerebras, NVIDIA, Mistral)
13
+
14
+ ### Fixed
15
+ - Telemetry receipts directory creation in fresh AXIOM_HOME
16
+ - Shell classification for simple del/rm commands without flags
17
+
18
+ ### Planned
19
+ - Dead code removal (unreachable isDangerousCommand fallback)
20
+ - npm publication decision and preparation
21
+
22
+ ## [0.1.0-pre] — 2026-05-10
23
+
24
+ ### Added
25
+ - Daemon mode with token-based authentication and request serialization
26
+ - Daemon retry safety: no duplicate execution for done-with-no-output responses
27
+ - Request-scoped terminal output capture via `terminal.setOutputStream()`
28
+ - Shell command classification: read_only, modify, destructive, publish, service
29
+ - Expanded dangerous pattern detection: Windows destructive commands, package managers, service ops, system file redirections
30
+ - `AXIOM_HOME` environment variable for daemon protocol test isolation
31
+ - CI workflow: check, lint, format:check, test, build on push/PR
32
+ - 16 test suites (0 failures) with test runner isolation
33
+
34
+ ### Changed
35
+ - Package version: `1.0.0` → `0.1.0` (truthful pre-release)
36
+ - `engines.node`: `>=18.0.0` (aligned with CI Node 22)
37
+ - README: clarified "local runtime, external-provider powered"
38
+ - Daemon stdout: replaced global `process.stdout.write` hijacking with request-scoped `Writable` stream
39
+ - `docs/CURRENT_STATUS.md`: updated test suite count and current readiness
40
+
41
+ ### Fixed
42
+ - Daemon client: no longer retries after receiving a `done` response
43
+ - Daemon protocol tests: isolated from real `~/.axiom` via `AXIOM_HOME`
44
+ - Shell classification: dangerous patterns checked before read-only patterns
45
+ - Shell classification: `mv` and `cp` correctly classified as modify, not destructive
46
+ - Unused `path` import removed from `src/daemon/server.ts`
47
+
48
+ ### Known Limitations
49
+ - `AXIOM_HOME` only isolates daemon protocol paths; runtime paths still hardcode `~/.axiom`
50
+ - No live provider gauntlet has been run
51
+ - Not published to npm
52
+ - `isDangerousCommand` fallback in `tools-core.ts` is unreachable (documented, kept as defensive code)
53
+
54
+ ## [0.1.0-dev] — 2026-05-07/08
55
+
56
+ ### Added
57
+ - Initial standalone repo setup (EchoEe247/axiom-unified)
58
+ - CLI daemon/client mode with `axiom`, `axiom serve`, `axiom stop`, `axiom status`
59
+ - Multi-provider fallback with Groq, Cerebras, NVIDIA, and Mistral
60
+ - Tool registry with JSON schemas and confirmation gates
61
+ - Session persistence and memory recall
62
+ - Knowledge graph for structured context
63
+ - Safety gates for destructive operations
64
+ - Provider catalog tests and benchmark dry-runs
65
+ - 30+ tools for coding and project work
66
+ - Autonomous agency components (planner, executor, learner)
67
+ - Telegram bot mode (optional)
68
+ - Social and video tools (optional, require external credentials)
69
+ - 6-phase remediation: security fixes, code hygiene, mega-file decomposition, test hardening, autonomous agency, documentation
70
+ - ESLint + Prettier configuration
71
+ - Test runner with try/catch isolation for all suites
72
+ - Runnable examples in `examples/`
73
+ - Architecture docs with Mermaid diagrams
74
+ - TypeDoc configuration
75
+ - Open source documentation (CONTRIBUTING.md, CODE_OF_CONDUCT.md)
76
+
77
+ ### Technical Details
78
+ - Built with TypeScript 5.7
79
+ - Uses OpenAI-compatible API endpoints
80
+ - Modular tool system with safety gates
81
+ - Persistent session storage
82
+ - Vector-based memory recall
83
+ - Entity-relationship knowledge graph
84
+ - Terminal-first local agent runtime
85
+ - Free tier focused (all providers use free tiers)
@@ -0,0 +1,118 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+ **Community Impact**: Use of inappropriate language or other behavior deemed
76
+ unprofessional or unwelcome in the community.
77
+
78
+ **Consequence**: A private, written warning from community leaders, providing
79
+ clarity around the nature of the violation and an explanation of why the
80
+ behavior was inappropriate. A public apology may be requested.
81
+
82
+ ### 2. Warning
83
+ **Community Impact**: A violation through a single incident or series
84
+ of actions.
85
+
86
+ **Consequence**: A warning with consequences for continued behavior. No
87
+ interaction with the people involved, including unsolicited interaction with
88
+ those enforcing the Code of Conduct, for a specified period of time. This
89
+ includes avoiding interactions in community spaces as well as external channels
90
+ like social media. Violating these terms may lead to a temporary or
91
+ permanent ban.
92
+
93
+ ### 3. Temporary Ban
94
+ **Community Impact**: A serious violation of community standards, including
95
+ sustained inappropriate behavior.
96
+
97
+ **Consequence**: A temporary ban from any sort of interaction or public
98
+ communication with the community for a specified period of time. No public or
99
+ private interaction with the people involved, including unsolicited interaction
100
+ with those enforcing the Code of Conduct, is allowed during this period.
101
+ Violating these terms may lead to a permanent ban.
102
+
103
+ ### 4. Permanent Ban
104
+ **Community Impact**: Demonstrating a pattern of violation of community
105
+ standards, including sustained inappropriate behavior, harassment of an
106
+ individual, or aggression toward or disparagement of classes of individuals.
107
+
108
+ **Consequence**: A permanent ban from any sort of public interaction within
109
+ the community.
110
+
111
+ ## Attribution
112
+
113
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
114
+ version 2.1, available at
115
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
116
+
117
+ [homepage]: https://www.contributor-covenant.org
118
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
@@ -0,0 +1,163 @@
1
+ # Contributing to Axiom Unified
2
+
3
+ Thank you for your interest in contributing to Axiom Unified! This document provides guidelines and instructions for contributing.
4
+
5
+ ## Code of Conduct
6
+
7
+ Please read our [Code of Conduct](CODE_OF_CONDUCT.md) before participating.
8
+
9
+ ## How Can I Contribute?
10
+
11
+ ### Reporting Bugs
12
+ - Check if the bug has already been reported in [Issues](../../issues)
13
+ - Use the bug report template
14
+ - Include steps to reproduce, expected behavior, and actual behavior
15
+ - Include relevant logs, screenshots, or error messages
16
+
17
+ ### Suggesting Enhancements
18
+ - Check if the enhancement has already been suggested
19
+ - Use the feature request template
20
+ - Clearly describe the enhancement and its benefits
21
+ - Consider if it aligns with Axiom's focus as a free daily coding agent
22
+
23
+ ### Pull Requests
24
+ 1. Fork the repository
25
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
26
+ 3. Make your changes
27
+ 4. Run tests (`npm test`)
28
+ 5. Ensure code passes TypeScript check (`npm run check`)
29
+ 6. Commit your changes (`git commit -m 'Add amazing feature'`)
30
+ 7. Push to your branch (`git push origin feature/amazing-feature`)
31
+ 8. Open a Pull Request
32
+
33
+ ## Development Setup
34
+
35
+ ### Prerequisites
36
+ - Node.js 18 or higher
37
+ - npm 8 or higher
38
+
39
+ ### Installation
40
+ ```bash
41
+ git clone https://github.com/your-username/axiom-unified.git
42
+ cd axiom-unified
43
+ npm install
44
+ npm run build
45
+ ```
46
+
47
+ ### Running Tests
48
+ ```bash
49
+ npm test # Run all 13 test suites via test runner
50
+ npm run check # TypeScript type checking
51
+ npm run build # Build the project
52
+ npm run lint # ESLint check
53
+ npm run format # Prettier auto-format
54
+ ```
55
+
56
+ Individual test suites:
57
+ ```bash
58
+ npm run test:autonomous-agency
59
+ npm run test:knowledge-graph
60
+ npm run test:fallback-simulation
61
+ npm run test:consensus-routing
62
+ npm run test:provider-catalog
63
+ npm run test:engine-benchmark
64
+ npm run test:examples
65
+ npm run test:reflection-injection
66
+ ```
67
+
68
+ ### Running Examples
69
+ ```bash
70
+ npm run example:hello
71
+ npm run example:file-ops
72
+ npm run example:code-review
73
+ npm run example:multi-step
74
+ npm run example:autonomous
75
+ ```
76
+
77
+ ### Generating Docs
78
+ ```bash
79
+ npm run docs # Generate TypeDoc API docs to docs/api/
80
+ ```
81
+
82
+ ### Development Workflow
83
+ 1. Make changes in the `src/` directory
84
+ 2. Run `npm run check` to verify TypeScript compilation
85
+ 3. Run `npm run lint` to check code style
86
+ 4. Run `npm test` to ensure nothing is broken
87
+ 5. Build to verify compilation (`npm run build`)
88
+ 6. Test your changes manually if needed
89
+
90
+ ## Coding Standards
91
+
92
+ ### TypeScript
93
+ - Use strict TypeScript configuration
94
+ - Add type annotations for function parameters and return types
95
+ - Use interfaces for complex data structures
96
+ - Avoid `any` type when possible
97
+
98
+ ### Code Style
99
+ - Use 2-space indentation
100
+ - Use meaningful variable and function names
101
+ - Add JSDoc comments for public APIs
102
+ - Keep functions focused and single-purpose
103
+
104
+ ### Tool Development
105
+ When adding new tools:
106
+ 1. Add tool implementation in `src/tools/`
107
+ 2. Register tool in `src/tools/registry.ts`
108
+ 3. Add appropriate safety gates if needed
109
+ 4. Add tests for the new tool
110
+ 5. Update documentation
111
+
112
+ ## Project Structure
113
+
114
+ ```
115
+ src/
116
+ ├── core/ # Core systems (memory, knowledge graph, context)
117
+ ├── runtime/ # Runtime systems (loop, dispatcher, planner)
118
+ │ ├── loop/ # Loop sub-modules (tool extraction, execution, synthesis)
119
+ │ ├── commands/ # Command registry sub-modules
120
+ │ └── autonomous/ # Autonomous agency (orchestrator, planner, learner)
121
+ ├── tools/ # Tool implementations
122
+ │ └── registry/ # Registry sub-modules (core, safety, tool categories)
123
+ ├── daemon/ # Daemon/client architecture
124
+ ├── persistence/ # Session storage
125
+ └── providers.ts # Multi-provider client
126
+
127
+ examples/ # Runnable example files
128
+ docs/ # Documentation
129
+ ├── ARCHITECTURE.md # System architecture with diagrams
130
+ ├── API.md # API reference
131
+ └── CURRENT_STATUS.md # Current project status
132
+ ```
133
+
134
+ ## Safety Guidelines
135
+
136
+ Axiom has a safety-first approach:
137
+
138
+ ### Tool Safety Gates
139
+ - Destructive operations require confirmation
140
+ - File writes require confirmation
141
+ - External side effects (publishing, social) are gated
142
+ - Provider usage respects free tier limits
143
+
144
+ ### Adding New Tools
145
+ - Consider safety implications
146
+ - Add appropriate confirmation gates
147
+ - Respect user privacy and data
148
+ - Follow the principle of least privilege
149
+
150
+ ## Documentation
151
+
152
+ - Update README.md if adding significant features
153
+ - Add JSDoc comments for new APIs
154
+ - Update relevant documentation in `docs/`
155
+ - Add examples if introducing new functionality
156
+
157
+ ## Questions?
158
+
159
+ - Check existing documentation in `docs/`
160
+ - Search existing issues and discussions
161
+ - Ask in GitHub Discussions (if enabled)
162
+
163
+ Thank you for contributing to Axiom Unified!
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Axiom Unified contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,142 @@
1
+ # Axiom Unified
2
+
3
+ <p align="center">
4
+ <strong>Free Daily Local Agent Specialized in Coding & Project Work</strong>
5
+ </p>
6
+
7
+ <p align="center">
8
+ <!-- Badges will be added when CI is set up -->
9
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>
10
+ <a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-5.7-blue" alt="TypeScript"></a>
11
+ <a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node.js-18+-green" alt="Node.js"></a>
12
+ </p>
13
+
14
+ Axiom Unified is a **free daily local agent** specialized in coding and project work. It runs locally on your machine and connects to external AI providers for inference. Designed to be your terminal-first coding companion with safety gates, provider fallback, and 30+ coding-specific tools.
15
+
16
+ **Why Axiom?**
17
+ - 🆓 **Free tier focused** - All providers use free tiers
18
+ - 🔒 **Safety first** - Confirmation gates for destructive operations
19
+ - 🛠️ **Coding specialized** - 30+ tools for project work
20
+ - 🧠 **Memory aware** - Remembers context across sessions
21
+ - ⚡ **Local runtime** - Terminal-first, external-provider powered
22
+
23
+ ## 🚀 Quick Start
24
+
25
+ ### Installation
26
+
27
+ ```bash
28
+ # Clone and install
29
+ git clone https://github.com/EchoEe247/axiom-unified.git
30
+ cd axiom-unified
31
+ npm install
32
+ npm run build
33
+
34
+ # Verify installation
35
+ node dist/index.js "what can you do?"
36
+ ```
37
+
38
+ ### Your First Command
39
+
40
+ ```bash
41
+ # Analyze your current project
42
+ node dist/index.js analyze-project
43
+
44
+ # Run autonomous agent with a complex goal
45
+ node dist/index.js "optimize build process" --auto
46
+
47
+ # Visualize the Project Knowledge Graph
48
+ node dist/index.js map
49
+ ```
50
+
51
+ ## ✨ Features
52
+
53
+ ### 🛠️ Coding Specialization
54
+ - **Autonomous Agency**: Run complex, multi-step goals with `--auto`
55
+ - **Project Analysis**: `analyze-project`, `detect-tech-stack`
56
+ - **Project Mapping**: `/map` to visualize Knowledge Graph
57
+ - **Code Quality**: `security-scan`, `complexity`, `test-coverage`
58
+ - **Refactoring**: `refactor-suggest`, `bug-predict`
59
+ - **Integration**: `ide-integration`, `ci-cd`, `cloud-integration`
60
+
61
+ ### 🔒 Safety First
62
+ - **Confirmation Gates**: File writes, shell commands, git operations
63
+ - **Provider Limits**: Free tier monitoring and fallback
64
+ - **Memory Controls**: Context-aware with privacy safeguards
65
+ - **Tool Permissions**: Granular control over tool access
66
+
67
+ ### 🧠 Intelligent Systems
68
+ - **Persistent Memory**: Remembers context across sessions
69
+ - **Knowledge Graph**: Entity-relationship understanding
70
+ - **Provider Fallback**: Groq → Cerebras → NVIDIA → Mistral
71
+ - **Autonomous Components**: Planner, executor, experience learner
72
+
73
+ ### ⚡ Performance
74
+ - **Terminal-First**: No GUI required, works in any terminal
75
+ - **Daemon Mode**: Persistent sessions with `axiom serve`
76
+ - **Fast Startup**: Quick response times
77
+ - **Minimal Dependencies**: Clean TypeScript codebase
78
+
79
+ ## 📖 Documentation
80
+
81
+ - [Getting Started](docs/GETTING_STARTED.md) - Quick start guide
82
+ - [Operating Guide](docs/OPERATING_GUIDE.md) - Comprehensive feature guide
83
+ - [Provider Setup](docs/PROVIDERS.md) - Free tier configuration
84
+ - [Safety Model](docs/SAFE_CAPABILITIES.md) - Safety features and gates
85
+ - [Examples](examples/) - Practical usage examples
86
+
87
+ ## 🏗️ Architecture
88
+
89
+ ```
90
+ src/
91
+ ├── core/ # Core systems (memory, knowledge graph, context)
92
+ ├── runtime/ # Runtime systems (loop, dispatcher, planner)
93
+ ├── tools/ # 30+ tool implementations
94
+ ├── daemon/ # Daemon/client architecture
95
+ ├── persistence/ # Session storage
96
+ └── providers.ts # Multi-provider client
97
+ ```
98
+
99
+ ## 🔧 Development
100
+
101
+ ### Prerequisites
102
+ - Node.js 18+
103
+ - npm 8+
104
+
105
+ ### Development Commands
106
+ ```bash
107
+ npm install # Install dependencies
108
+ npm run check # TypeScript compilation check
109
+ npm test # Run test suite
110
+ npm run build # Build project
111
+ npm run serve # Start daemon mode
112
+ ```
113
+
114
+ ### Adding New Tools
115
+ 1. Add tool implementation in `src/tools/`
116
+ 2. Register tool in `src/tools/registry.ts`
117
+ 3. Add appropriate safety gates
118
+ 4. Add tests
119
+ 5. Update documentation
120
+
121
+ ## 🤝 Contributing
122
+
123
+ We welcome contributions! Please see:
124
+ - [CONTRIBUTING.md](CONTRIBUTING.md) - Contribution guidelines
125
+ - [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) - Community standards
126
+ - [CHANGELOG.md](CHANGELOG.md) - Release history
127
+
128
+ ## 📄 License
129
+
130
+ MIT License - see [LICENSE](LICENSE) for details.
131
+
132
+ ## 🔗 Links
133
+
134
+ - **Examples**: [examples/](examples/) - Practical usage examples
135
+ - **Issues**: [GitHub Issues](../../issues) - Bug reports and feature requests
136
+ - **Discussions**: [GitHub Discussions](../../discussions) - Community discussions
137
+
138
+ ---
139
+
140
+ <p align="center">
141
+ <em>Built with ❤️ for developers who want a free, safe, and capable coding companion.</em>
142
+ </p>