@adverant-nexus/cli 2.0.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 (541) hide show
  1. package/ARCHITECTURE.md +1366 -0
  2. package/LICENSE +21 -0
  3. package/README.md +593 -0
  4. package/completions/_nexus +452 -0
  5. package/completions/nexus.bash +329 -0
  6. package/completions/nexus.fish +187 -0
  7. package/dist/cli.d.ts +35 -0
  8. package/dist/cli.d.ts.map +1 -0
  9. package/dist/cli.js +135 -0
  10. package/dist/cli.js.map +1 -0
  11. package/dist/commands/agent/index.d.ts +9 -0
  12. package/dist/commands/agent/index.d.ts.map +1 -0
  13. package/dist/commands/agent/index.js +20 -0
  14. package/dist/commands/agent/index.js.map +1 -0
  15. package/dist/commands/agent/list.d.ts +9 -0
  16. package/dist/commands/agent/list.d.ts.map +1 -0
  17. package/dist/commands/agent/list.js +122 -0
  18. package/dist/commands/agent/list.js.map +1 -0
  19. package/dist/commands/agent/run.d.ts +10 -0
  20. package/dist/commands/agent/run.d.ts.map +1 -0
  21. package/dist/commands/agent/run.js +167 -0
  22. package/dist/commands/agent/run.js.map +1 -0
  23. package/dist/commands/agent/status.d.ts +9 -0
  24. package/dist/commands/agent/status.d.ts.map +1 -0
  25. package/dist/commands/agent/status.js +157 -0
  26. package/dist/commands/agent/status.js.map +1 -0
  27. package/dist/commands/compute/agent.d.ts +21 -0
  28. package/dist/commands/compute/agent.d.ts.map +1 -0
  29. package/dist/commands/compute/agent.js +158 -0
  30. package/dist/commands/compute/agent.js.map +1 -0
  31. package/dist/commands/compute/index.d.ts +10 -0
  32. package/dist/commands/compute/index.d.ts.map +1 -0
  33. package/dist/commands/compute/index.js +27 -0
  34. package/dist/commands/compute/index.js.map +1 -0
  35. package/dist/commands/compute/lib/hardware-detection.d.ts +52 -0
  36. package/dist/commands/compute/lib/hardware-detection.d.ts.map +1 -0
  37. package/dist/commands/compute/lib/hardware-detection.js +432 -0
  38. package/dist/commands/compute/lib/hardware-detection.js.map +1 -0
  39. package/dist/commands/compute/lib/local-compute-agent.d.ts +143 -0
  40. package/dist/commands/compute/lib/local-compute-agent.d.ts.map +1 -0
  41. package/dist/commands/compute/lib/local-compute-agent.js +1162 -0
  42. package/dist/commands/compute/lib/local-compute-agent.js.map +1 -0
  43. package/dist/commands/compute/lib/local-compute-client.d.ts +89 -0
  44. package/dist/commands/compute/lib/local-compute-client.d.ts.map +1 -0
  45. package/dist/commands/compute/lib/local-compute-client.js +388 -0
  46. package/dist/commands/compute/lib/local-compute-client.js.map +1 -0
  47. package/dist/commands/compute/list.d.ts +14 -0
  48. package/dist/commands/compute/list.d.ts.map +1 -0
  49. package/dist/commands/compute/list.js +164 -0
  50. package/dist/commands/compute/list.js.map +1 -0
  51. package/dist/commands/compute/logs.d.ts +14 -0
  52. package/dist/commands/compute/logs.d.ts.map +1 -0
  53. package/dist/commands/compute/logs.js +105 -0
  54. package/dist/commands/compute/logs.js.map +1 -0
  55. package/dist/commands/compute/resources.d.ts +14 -0
  56. package/dist/commands/compute/resources.d.ts.map +1 -0
  57. package/dist/commands/compute/resources.js +163 -0
  58. package/dist/commands/compute/resources.js.map +1 -0
  59. package/dist/commands/compute/status.d.ts +13 -0
  60. package/dist/commands/compute/status.d.ts.map +1 -0
  61. package/dist/commands/compute/status.js +223 -0
  62. package/dist/commands/compute/status.js.map +1 -0
  63. package/dist/commands/compute/submit.d.ts +19 -0
  64. package/dist/commands/compute/submit.d.ts.map +1 -0
  65. package/dist/commands/compute/submit.js +99 -0
  66. package/dist/commands/compute/submit.js.map +1 -0
  67. package/dist/commands/deploy.d.ts +11 -0
  68. package/dist/commands/deploy.d.ts.map +1 -0
  69. package/dist/commands/deploy.js +117 -0
  70. package/dist/commands/deploy.js.map +1 -0
  71. package/dist/commands/dynamic/graphrag-commands.d.ts +16 -0
  72. package/dist/commands/dynamic/graphrag-commands.d.ts.map +1 -0
  73. package/dist/commands/dynamic/graphrag-commands.js +562 -0
  74. package/dist/commands/dynamic/graphrag-commands.js.map +1 -0
  75. package/dist/commands/dynamic/index.d.ts +10 -0
  76. package/dist/commands/dynamic/index.d.ts.map +1 -0
  77. package/dist/commands/dynamic/index.js +17 -0
  78. package/dist/commands/dynamic/index.js.map +1 -0
  79. package/dist/commands/dynamic/mageagent-commands.d.ts +8 -0
  80. package/dist/commands/dynamic/mageagent-commands.d.ts.map +1 -0
  81. package/dist/commands/dynamic/mageagent-commands.js +86 -0
  82. package/dist/commands/dynamic/mageagent-commands.js.map +1 -0
  83. package/dist/commands/dynamic/mcp-tool-mapper.d.ts +97 -0
  84. package/dist/commands/dynamic/mcp-tool-mapper.d.ts.map +1 -0
  85. package/dist/commands/dynamic/mcp-tool-mapper.js +328 -0
  86. package/dist/commands/dynamic/mcp-tool-mapper.js.map +1 -0
  87. package/dist/commands/dynamic/nexus-commands.d.ts +78 -0
  88. package/dist/commands/dynamic/nexus-commands.d.ts.map +1 -0
  89. package/dist/commands/dynamic/nexus-commands.js +426 -0
  90. package/dist/commands/dynamic/nexus-commands.js.map +1 -0
  91. package/dist/commands/dynamic/sandbox-commands.d.ts +8 -0
  92. package/dist/commands/dynamic/sandbox-commands.d.ts.map +1 -0
  93. package/dist/commands/dynamic/sandbox-commands.js +80 -0
  94. package/dist/commands/dynamic/sandbox-commands.js.map +1 -0
  95. package/dist/commands/init.d.ts +11 -0
  96. package/dist/commands/init.d.ts.map +1 -0
  97. package/dist/commands/init.js +128 -0
  98. package/dist/commands/init.js.map +1 -0
  99. package/dist/commands/list.d.ts +10 -0
  100. package/dist/commands/list.d.ts.map +1 -0
  101. package/dist/commands/list.js +81 -0
  102. package/dist/commands/list.js.map +1 -0
  103. package/dist/commands/login.d.ts +10 -0
  104. package/dist/commands/login.d.ts.map +1 -0
  105. package/dist/commands/login.js +83 -0
  106. package/dist/commands/login.js.map +1 -0
  107. package/dist/commands/logs.d.ts +11 -0
  108. package/dist/commands/logs.d.ts.map +1 -0
  109. package/dist/commands/logs.js +79 -0
  110. package/dist/commands/logs.js.map +1 -0
  111. package/dist/commands/nexus/index.d.ts +69 -0
  112. package/dist/commands/nexus/index.d.ts.map +1 -0
  113. package/dist/commands/nexus/index.js +336 -0
  114. package/dist/commands/nexus/index.js.map +1 -0
  115. package/dist/commands/plugin/disable.d.ts +8 -0
  116. package/dist/commands/plugin/disable.d.ts.map +1 -0
  117. package/dist/commands/plugin/disable.js +31 -0
  118. package/dist/commands/plugin/disable.js.map +1 -0
  119. package/dist/commands/plugin/enable.d.ts +8 -0
  120. package/dist/commands/plugin/enable.d.ts.map +1 -0
  121. package/dist/commands/plugin/enable.js +37 -0
  122. package/dist/commands/plugin/enable.js.map +1 -0
  123. package/dist/commands/plugin/index.d.ts +8 -0
  124. package/dist/commands/plugin/index.d.ts.map +1 -0
  125. package/dist/commands/plugin/index.js +23 -0
  126. package/dist/commands/plugin/index.js.map +1 -0
  127. package/dist/commands/plugin/info.d.ts +8 -0
  128. package/dist/commands/plugin/info.d.ts.map +1 -0
  129. package/dist/commands/plugin/info.js +129 -0
  130. package/dist/commands/plugin/info.js.map +1 -0
  131. package/dist/commands/plugin/init.d.ts +8 -0
  132. package/dist/commands/plugin/init.d.ts.map +1 -0
  133. package/dist/commands/plugin/init.js +83 -0
  134. package/dist/commands/plugin/init.js.map +1 -0
  135. package/dist/commands/plugin/install.d.ts +8 -0
  136. package/dist/commands/plugin/install.d.ts.map +1 -0
  137. package/dist/commands/plugin/install.js +56 -0
  138. package/dist/commands/plugin/install.js.map +1 -0
  139. package/dist/commands/plugin/list.d.ts +8 -0
  140. package/dist/commands/plugin/list.d.ts.map +1 -0
  141. package/dist/commands/plugin/list.js +72 -0
  142. package/dist/commands/plugin/list.js.map +1 -0
  143. package/dist/commands/plugin/uninstall.d.ts +8 -0
  144. package/dist/commands/plugin/uninstall.d.ts.map +1 -0
  145. package/dist/commands/plugin/uninstall.js +49 -0
  146. package/dist/commands/plugin/uninstall.js.map +1 -0
  147. package/dist/commands/register.d.ts +10 -0
  148. package/dist/commands/register.d.ts.map +1 -0
  149. package/dist/commands/register.js +85 -0
  150. package/dist/commands/register.js.map +1 -0
  151. package/dist/commands/services/health.d.ts +7 -0
  152. package/dist/commands/services/health.d.ts.map +1 -0
  153. package/dist/commands/services/health.js +73 -0
  154. package/dist/commands/services/health.js.map +1 -0
  155. package/dist/commands/services/index.d.ts +16 -0
  156. package/dist/commands/services/index.d.ts.map +1 -0
  157. package/dist/commands/services/index.js +26 -0
  158. package/dist/commands/services/index.js.map +1 -0
  159. package/dist/commands/services/info.d.ts +7 -0
  160. package/dist/commands/services/info.d.ts.map +1 -0
  161. package/dist/commands/services/info.js +68 -0
  162. package/dist/commands/services/info.js.map +1 -0
  163. package/dist/commands/services/list.d.ts +9 -0
  164. package/dist/commands/services/list.d.ts.map +1 -0
  165. package/dist/commands/services/list.js +43 -0
  166. package/dist/commands/services/list.js.map +1 -0
  167. package/dist/commands/services/logs.d.ts +7 -0
  168. package/dist/commands/services/logs.d.ts.map +1 -0
  169. package/dist/commands/services/logs.js +107 -0
  170. package/dist/commands/services/logs.js.map +1 -0
  171. package/dist/commands/services/ports.d.ts +7 -0
  172. package/dist/commands/services/ports.d.ts.map +1 -0
  173. package/dist/commands/services/ports.js +65 -0
  174. package/dist/commands/services/ports.js.map +1 -0
  175. package/dist/commands/services/restart.d.ts +7 -0
  176. package/dist/commands/services/restart.d.ts.map +1 -0
  177. package/dist/commands/services/restart.js +67 -0
  178. package/dist/commands/services/restart.js.map +1 -0
  179. package/dist/commands/services/start.d.ts +7 -0
  180. package/dist/commands/services/start.d.ts.map +1 -0
  181. package/dist/commands/services/start.js +67 -0
  182. package/dist/commands/services/start.js.map +1 -0
  183. package/dist/commands/services/status.d.ts +9 -0
  184. package/dist/commands/services/status.d.ts.map +1 -0
  185. package/dist/commands/services/status.js +119 -0
  186. package/dist/commands/services/status.js.map +1 -0
  187. package/dist/commands/services/stop.d.ts +7 -0
  188. package/dist/commands/services/stop.d.ts.map +1 -0
  189. package/dist/commands/services/stop.js +67 -0
  190. package/dist/commands/services/stop.js.map +1 -0
  191. package/dist/commands/session/delete.d.ts +9 -0
  192. package/dist/commands/session/delete.d.ts.map +1 -0
  193. package/dist/commands/session/delete.js +51 -0
  194. package/dist/commands/session/delete.js.map +1 -0
  195. package/dist/commands/session/export.d.ts +9 -0
  196. package/dist/commands/session/export.d.ts.map +1 -0
  197. package/dist/commands/session/export.js +36 -0
  198. package/dist/commands/session/export.js.map +1 -0
  199. package/dist/commands/session/import.d.ts +9 -0
  200. package/dist/commands/session/import.d.ts.map +1 -0
  201. package/dist/commands/session/import.js +54 -0
  202. package/dist/commands/session/import.js.map +1 -0
  203. package/dist/commands/session/index.d.ts +9 -0
  204. package/dist/commands/session/index.d.ts.map +1 -0
  205. package/dist/commands/session/index.js +28 -0
  206. package/dist/commands/session/index.js.map +1 -0
  207. package/dist/commands/session/list.d.ts +9 -0
  208. package/dist/commands/session/list.d.ts.map +1 -0
  209. package/dist/commands/session/list.js +88 -0
  210. package/dist/commands/session/list.js.map +1 -0
  211. package/dist/commands/session/load.d.ts +9 -0
  212. package/dist/commands/session/load.d.ts.map +1 -0
  213. package/dist/commands/session/load.js +71 -0
  214. package/dist/commands/session/load.js.map +1 -0
  215. package/dist/commands/session/resume.d.ts +9 -0
  216. package/dist/commands/session/resume.d.ts.map +1 -0
  217. package/dist/commands/session/resume.js +49 -0
  218. package/dist/commands/session/resume.js.map +1 -0
  219. package/dist/commands/session/save.d.ts +9 -0
  220. package/dist/commands/session/save.d.ts.map +1 -0
  221. package/dist/commands/session/save.js +69 -0
  222. package/dist/commands/session/save.js.map +1 -0
  223. package/dist/commands/workspace/git-commit.d.ts +9 -0
  224. package/dist/commands/workspace/git-commit.d.ts.map +1 -0
  225. package/dist/commands/workspace/git-commit.js +156 -0
  226. package/dist/commands/workspace/git-commit.js.map +1 -0
  227. package/dist/commands/workspace/git-status.d.ts +9 -0
  228. package/dist/commands/workspace/git-status.d.ts.map +1 -0
  229. package/dist/commands/workspace/git-status.js +192 -0
  230. package/dist/commands/workspace/git-status.js.map +1 -0
  231. package/dist/commands/workspace/index.d.ts +9 -0
  232. package/dist/commands/workspace/index.d.ts.map +1 -0
  233. package/dist/commands/workspace/index.js +24 -0
  234. package/dist/commands/workspace/index.js.map +1 -0
  235. package/dist/commands/workspace/info.d.ts +10 -0
  236. package/dist/commands/workspace/info.d.ts.map +1 -0
  237. package/dist/commands/workspace/info.js +191 -0
  238. package/dist/commands/workspace/info.js.map +1 -0
  239. package/dist/commands/workspace/init.d.ts +9 -0
  240. package/dist/commands/workspace/init.d.ts.map +1 -0
  241. package/dist/commands/workspace/init.js +193 -0
  242. package/dist/commands/workspace/init.js.map +1 -0
  243. package/dist/commands/workspace/validate.d.ts +9 -0
  244. package/dist/commands/workspace/validate.d.ts.map +1 -0
  245. package/dist/commands/workspace/validate.js +140 -0
  246. package/dist/commands/workspace/validate.js.map +1 -0
  247. package/dist/core/agent-client.d.ts +49 -0
  248. package/dist/core/agent-client.d.ts.map +1 -0
  249. package/dist/core/agent-client.js +289 -0
  250. package/dist/core/agent-client.js.map +1 -0
  251. package/dist/core/config/config-manager.d.ts +75 -0
  252. package/dist/core/config/config-manager.d.ts.map +1 -0
  253. package/dist/core/config/config-manager.js +379 -0
  254. package/dist/core/config/config-manager.js.map +1 -0
  255. package/dist/core/config/profile-manager.d.ts +76 -0
  256. package/dist/core/config/profile-manager.d.ts.map +1 -0
  257. package/dist/core/config/profile-manager.js +250 -0
  258. package/dist/core/config/profile-manager.js.map +1 -0
  259. package/dist/core/config/workspace-detector.d.ts +66 -0
  260. package/dist/core/config/workspace-detector.d.ts.map +1 -0
  261. package/dist/core/config/workspace-detector.js +291 -0
  262. package/dist/core/config/workspace-detector.js.map +1 -0
  263. package/dist/core/discovery/docker-parser.d.ts +27 -0
  264. package/dist/core/discovery/docker-parser.d.ts.map +1 -0
  265. package/dist/core/discovery/docker-parser.js +361 -0
  266. package/dist/core/discovery/docker-parser.js.map +1 -0
  267. package/dist/core/discovery/index.d.ts +11 -0
  268. package/dist/core/discovery/index.d.ts.map +1 -0
  269. package/dist/core/discovery/index.js +16 -0
  270. package/dist/core/discovery/index.js.map +1 -0
  271. package/dist/core/discovery/mcp-discovery.d.ts +41 -0
  272. package/dist/core/discovery/mcp-discovery.d.ts.map +1 -0
  273. package/dist/core/discovery/mcp-discovery.js +439 -0
  274. package/dist/core/discovery/mcp-discovery.js.map +1 -0
  275. package/dist/core/discovery/openapi-parser.d.ts +95 -0
  276. package/dist/core/discovery/openapi-parser.d.ts.map +1 -0
  277. package/dist/core/discovery/openapi-parser.js +353 -0
  278. package/dist/core/discovery/openapi-parser.js.map +1 -0
  279. package/dist/core/discovery/plugin-discovery.d.ts +63 -0
  280. package/dist/core/discovery/plugin-discovery.d.ts.map +1 -0
  281. package/dist/core/discovery/plugin-discovery.js +333 -0
  282. package/dist/core/discovery/plugin-discovery.js.map +1 -0
  283. package/dist/core/discovery/service-discovery.d.ts +107 -0
  284. package/dist/core/discovery/service-discovery.d.ts.map +1 -0
  285. package/dist/core/discovery/service-discovery.js +349 -0
  286. package/dist/core/discovery/service-discovery.js.map +1 -0
  287. package/dist/core/nexus-client.d.ts +119 -0
  288. package/dist/core/nexus-client.d.ts.map +1 -0
  289. package/dist/core/nexus-client.js +292 -0
  290. package/dist/core/nexus-client.js.map +1 -0
  291. package/dist/core/nexus-tool-executor.d.ts +102 -0
  292. package/dist/core/nexus-tool-executor.d.ts.map +1 -0
  293. package/dist/core/nexus-tool-executor.js +386 -0
  294. package/dist/core/nexus-tool-executor.js.map +1 -0
  295. package/dist/core/react-handler.d.ts +17 -0
  296. package/dist/core/react-handler.d.ts.map +1 -0
  297. package/dist/core/react-handler.js +296 -0
  298. package/dist/core/react-handler.js.map +1 -0
  299. package/dist/core/router/command-registry.d.ts +61 -0
  300. package/dist/core/router/command-registry.d.ts.map +1 -0
  301. package/dist/core/router/command-registry.js +138 -0
  302. package/dist/core/router/command-registry.js.map +1 -0
  303. package/dist/core/router/command-router.d.ts +33 -0
  304. package/dist/core/router/command-router.d.ts.map +1 -0
  305. package/dist/core/router/command-router.js +111 -0
  306. package/dist/core/router/command-router.js.map +1 -0
  307. package/dist/core/router/index.d.ts +9 -0
  308. package/dist/core/router/index.d.ts.map +1 -0
  309. package/dist/core/router/index.js +8 -0
  310. package/dist/core/router/index.js.map +1 -0
  311. package/dist/core/session/context-manager.d.ts +69 -0
  312. package/dist/core/session/context-manager.d.ts.map +1 -0
  313. package/dist/core/session/context-manager.js +109 -0
  314. package/dist/core/session/context-manager.js.map +1 -0
  315. package/dist/core/session/history-manager.d.ts +72 -0
  316. package/dist/core/session/history-manager.d.ts.map +1 -0
  317. package/dist/core/session/history-manager.js +175 -0
  318. package/dist/core/session/history-manager.js.map +1 -0
  319. package/dist/core/session/index.d.ts +9 -0
  320. package/dist/core/session/index.d.ts.map +1 -0
  321. package/dist/core/session/index.js +9 -0
  322. package/dist/core/session/index.js.map +1 -0
  323. package/dist/core/session/session-manager.d.ts +50 -0
  324. package/dist/core/session/session-manager.d.ts.map +1 -0
  325. package/dist/core/session/session-manager.js +200 -0
  326. package/dist/core/session/session-manager.js.map +1 -0
  327. package/dist/core/session/session-storage.d.ts +59 -0
  328. package/dist/core/session/session-storage.d.ts.map +1 -0
  329. package/dist/core/session/session-storage.js +226 -0
  330. package/dist/core/session/session-storage.js.map +1 -0
  331. package/dist/core/transport/http-client.d.ts +27 -0
  332. package/dist/core/transport/http-client.d.ts.map +1 -0
  333. package/dist/core/transport/http-client.js +182 -0
  334. package/dist/core/transport/http-client.js.map +1 -0
  335. package/dist/core/transport/index.d.ts +11 -0
  336. package/dist/core/transport/index.d.ts.map +1 -0
  337. package/dist/core/transport/index.js +10 -0
  338. package/dist/core/transport/index.js.map +1 -0
  339. package/dist/core/transport/mcp-client.d.ts +69 -0
  340. package/dist/core/transport/mcp-client.d.ts.map +1 -0
  341. package/dist/core/transport/mcp-client.js +252 -0
  342. package/dist/core/transport/mcp-client.js.map +1 -0
  343. package/dist/core/transport/stream-handler.d.ts +51 -0
  344. package/dist/core/transport/stream-handler.d.ts.map +1 -0
  345. package/dist/core/transport/stream-handler.js +264 -0
  346. package/dist/core/transport/stream-handler.js.map +1 -0
  347. package/dist/core/transport/websocket-client.d.ts +66 -0
  348. package/dist/core/transport/websocket-client.d.ts.map +1 -0
  349. package/dist/core/transport/websocket-client.js +232 -0
  350. package/dist/core/transport/websocket-client.js.map +1 -0
  351. package/dist/index.d.ts +9 -0
  352. package/dist/index.d.ts.map +1 -0
  353. package/dist/index.js +106 -0
  354. package/dist/index.js.map +1 -0
  355. package/dist/output/formatters/index.d.ts +9 -0
  356. package/dist/output/formatters/index.d.ts.map +1 -0
  357. package/dist/output/formatters/index.js +9 -0
  358. package/dist/output/formatters/index.js.map +1 -0
  359. package/dist/output/formatters/json-formatter.d.ts +71 -0
  360. package/dist/output/formatters/json-formatter.d.ts.map +1 -0
  361. package/dist/output/formatters/json-formatter.js +236 -0
  362. package/dist/output/formatters/json-formatter.js.map +1 -0
  363. package/dist/output/formatters/stream-formatter.d.ts +107 -0
  364. package/dist/output/formatters/stream-formatter.d.ts.map +1 -0
  365. package/dist/output/formatters/stream-formatter.js +247 -0
  366. package/dist/output/formatters/stream-formatter.js.map +1 -0
  367. package/dist/output/formatters/table-formatter.d.ts +63 -0
  368. package/dist/output/formatters/table-formatter.d.ts.map +1 -0
  369. package/dist/output/formatters/table-formatter.js +294 -0
  370. package/dist/output/formatters/table-formatter.js.map +1 -0
  371. package/dist/output/formatters/text-formatter.d.ts +63 -0
  372. package/dist/output/formatters/text-formatter.d.ts.map +1 -0
  373. package/dist/output/formatters/text-formatter.js +202 -0
  374. package/dist/output/formatters/text-formatter.js.map +1 -0
  375. package/dist/output/formatters/yaml-formatter.d.ts +71 -0
  376. package/dist/output/formatters/yaml-formatter.d.ts.map +1 -0
  377. package/dist/output/formatters/yaml-formatter.js +239 -0
  378. package/dist/output/formatters/yaml-formatter.js.map +1 -0
  379. package/dist/output/index.d.ts +7 -0
  380. package/dist/output/index.d.ts.map +1 -0
  381. package/dist/output/index.js +7 -0
  382. package/dist/output/index.js.map +1 -0
  383. package/dist/output/output-manager.d.ts +156 -0
  384. package/dist/output/output-manager.d.ts.map +1 -0
  385. package/dist/output/output-manager.js +339 -0
  386. package/dist/output/output-manager.js.map +1 -0
  387. package/dist/output/renderers/index.d.ts +6 -0
  388. package/dist/output/renderers/index.d.ts.map +1 -0
  389. package/dist/output/renderers/index.js +6 -0
  390. package/dist/output/renderers/index.js.map +1 -0
  391. package/dist/output/renderers/progress-renderer.d.ts +56 -0
  392. package/dist/output/renderers/progress-renderer.d.ts.map +1 -0
  393. package/dist/output/renderers/progress-renderer.js +306 -0
  394. package/dist/output/renderers/progress-renderer.js.map +1 -0
  395. package/dist/output/renderers/terminal-renderer.d.ts +117 -0
  396. package/dist/output/renderers/terminal-renderer.d.ts.map +1 -0
  397. package/dist/output/renderers/terminal-renderer.js +294 -0
  398. package/dist/output/renderers/terminal-renderer.js.map +1 -0
  399. package/dist/plugins/index.d.ts +12 -0
  400. package/dist/plugins/index.d.ts.map +1 -0
  401. package/dist/plugins/index.js +18 -0
  402. package/dist/plugins/index.js.map +1 -0
  403. package/dist/plugins/plugin-loader.d.ts +37 -0
  404. package/dist/plugins/plugin-loader.d.ts.map +1 -0
  405. package/dist/plugins/plugin-loader.js +155 -0
  406. package/dist/plugins/plugin-loader.js.map +1 -0
  407. package/dist/plugins/plugin-manager.d.ts +78 -0
  408. package/dist/plugins/plugin-manager.d.ts.map +1 -0
  409. package/dist/plugins/plugin-manager.js +310 -0
  410. package/dist/plugins/plugin-manager.js.map +1 -0
  411. package/dist/plugins/plugin-sdk.d.ts +136 -0
  412. package/dist/plugins/plugin-sdk.d.ts.map +1 -0
  413. package/dist/plugins/plugin-sdk.js +260 -0
  414. package/dist/plugins/plugin-sdk.js.map +1 -0
  415. package/dist/plugins/plugin-storage.d.ts +109 -0
  416. package/dist/plugins/plugin-storage.d.ts.map +1 -0
  417. package/dist/plugins/plugin-storage.js +207 -0
  418. package/dist/plugins/plugin-storage.js.map +1 -0
  419. package/dist/plugins/plugin-validator.d.ts +44 -0
  420. package/dist/plugins/plugin-validator.d.ts.map +1 -0
  421. package/dist/plugins/plugin-validator.js +272 -0
  422. package/dist/plugins/plugin-validator.js.map +1 -0
  423. package/dist/plugins/template-generator.d.ts +35 -0
  424. package/dist/plugins/template-generator.d.ts.map +1 -0
  425. package/dist/plugins/template-generator.js +438 -0
  426. package/dist/plugins/template-generator.js.map +1 -0
  427. package/dist/repl/completer.d.ts +58 -0
  428. package/dist/repl/completer.d.ts.map +1 -0
  429. package/dist/repl/completer.js +198 -0
  430. package/dist/repl/completer.js.map +1 -0
  431. package/dist/repl/evaluator.d.ts +55 -0
  432. package/dist/repl/evaluator.d.ts.map +1 -0
  433. package/dist/repl/evaluator.js +299 -0
  434. package/dist/repl/evaluator.js.map +1 -0
  435. package/dist/repl/index.d.ts +10 -0
  436. package/dist/repl/index.d.ts.map +1 -0
  437. package/dist/repl/index.js +10 -0
  438. package/dist/repl/index.js.map +1 -0
  439. package/dist/repl/renderer.d.ts +77 -0
  440. package/dist/repl/renderer.d.ts.map +1 -0
  441. package/dist/repl/renderer.js +291 -0
  442. package/dist/repl/renderer.js.map +1 -0
  443. package/dist/repl/repl.d.ts +89 -0
  444. package/dist/repl/repl.d.ts.map +1 -0
  445. package/dist/repl/repl.js +339 -0
  446. package/dist/repl/repl.js.map +1 -0
  447. package/dist/templates/python.d.ts +15 -0
  448. package/dist/templates/python.d.ts.map +1 -0
  449. package/dist/templates/python.js +375 -0
  450. package/dist/templates/python.js.map +1 -0
  451. package/dist/templates/typescript.d.ts +15 -0
  452. package/dist/templates/typescript.d.ts.map +1 -0
  453. package/dist/templates/typescript.js +274 -0
  454. package/dist/templates/typescript.js.map +1 -0
  455. package/dist/types/agent.d.ts +109 -0
  456. package/dist/types/agent.d.ts.map +1 -0
  457. package/dist/types/agent.js +7 -0
  458. package/dist/types/agent.js.map +1 -0
  459. package/dist/types/api.d.ts +125 -0
  460. package/dist/types/api.d.ts.map +1 -0
  461. package/dist/types/api.js +53 -0
  462. package/dist/types/api.js.map +1 -0
  463. package/dist/types/command.d.ts +101 -0
  464. package/dist/types/command.d.ts.map +1 -0
  465. package/dist/types/command.js +7 -0
  466. package/dist/types/command.js.map +1 -0
  467. package/dist/types/compute.d.ts +317 -0
  468. package/dist/types/compute.d.ts.map +1 -0
  469. package/dist/types/compute.js +19 -0
  470. package/dist/types/compute.js.map +1 -0
  471. package/dist/types/config.d.ts +71 -0
  472. package/dist/types/config.d.ts.map +1 -0
  473. package/dist/types/config.js +7 -0
  474. package/dist/types/config.js.map +1 -0
  475. package/dist/types/errors.d.ts +56 -0
  476. package/dist/types/errors.d.ts.map +1 -0
  477. package/dist/types/errors.js +64 -0
  478. package/dist/types/errors.js.map +1 -0
  479. package/dist/types/index.d.ts +16 -0
  480. package/dist/types/index.d.ts.map +1 -0
  481. package/dist/types/index.js +16 -0
  482. package/dist/types/index.js.map +1 -0
  483. package/dist/types/nexus.d.ts +254 -0
  484. package/dist/types/nexus.d.ts.map +1 -0
  485. package/dist/types/nexus.js +7 -0
  486. package/dist/types/nexus.js.map +1 -0
  487. package/dist/types/output.d.ts +107 -0
  488. package/dist/types/output.d.ts.map +1 -0
  489. package/dist/types/output.js +7 -0
  490. package/dist/types/output.js.map +1 -0
  491. package/dist/types/plugin.d.ts +118 -0
  492. package/dist/types/plugin.d.ts.map +1 -0
  493. package/dist/types/plugin.js +7 -0
  494. package/dist/types/plugin.js.map +1 -0
  495. package/dist/types/service.d.ts +94 -0
  496. package/dist/types/service.d.ts.map +1 -0
  497. package/dist/types/service.js +15 -0
  498. package/dist/types/service.js.map +1 -0
  499. package/dist/types/session.d.ts +80 -0
  500. package/dist/types/session.d.ts.map +1 -0
  501. package/dist/types/session.js +7 -0
  502. package/dist/types/session.js.map +1 -0
  503. package/dist/types/transport.d.ts +96 -0
  504. package/dist/types/transport.d.ts.map +1 -0
  505. package/dist/types/transport.js +7 -0
  506. package/dist/types/transport.js.map +1 -0
  507. package/dist/utils/config.d.ts +47 -0
  508. package/dist/utils/config.d.ts.map +1 -0
  509. package/dist/utils/config.js +166 -0
  510. package/dist/utils/config.js.map +1 -0
  511. package/dist/utils/error-handler.d.ts +82 -0
  512. package/dist/utils/error-handler.d.ts.map +1 -0
  513. package/dist/utils/error-handler.js +238 -0
  514. package/dist/utils/error-handler.js.map +1 -0
  515. package/dist/utils/index.d.ts +9 -0
  516. package/dist/utils/index.d.ts.map +1 -0
  517. package/dist/utils/index.js +9 -0
  518. package/dist/utils/index.js.map +1 -0
  519. package/dist/utils/logger.d.ts +61 -0
  520. package/dist/utils/logger.d.ts.map +1 -0
  521. package/dist/utils/logger.js +200 -0
  522. package/dist/utils/logger.js.map +1 -0
  523. package/dist/utils/prompt.d.ts +57 -0
  524. package/dist/utils/prompt.d.ts.map +1 -0
  525. package/dist/utils/prompt.js +141 -0
  526. package/dist/utils/prompt.js.map +1 -0
  527. package/dist/utils/spinner.d.ts +47 -0
  528. package/dist/utils/spinner.d.ts.map +1 -0
  529. package/dist/utils/spinner.js +123 -0
  530. package/dist/utils/spinner.js.map +1 -0
  531. package/dist/utils/validation.d.ts +97 -0
  532. package/dist/utils/validation.d.ts.map +1 -0
  533. package/dist/utils/validation.js +289 -0
  534. package/dist/utils/validation.js.map +1 -0
  535. package/docs/COMPLETIONS.md +528 -0
  536. package/docs/REPL.md +466 -0
  537. package/docs/graphrag-commands.md +387 -0
  538. package/package.json +154 -0
  539. package/scripts/install-completions.sh +356 -0
  540. package/scripts/prepublish.js +522 -0
  541. package/scripts/verify-package.js +505 -0
@@ -0,0 +1,528 @@
1
+ # Shell Completions for Nexus CLI
2
+
3
+ This guide explains how to install and use shell completions for the Nexus CLI across Bash, Zsh, and Fish shells.
4
+
5
+ ## Table of Contents
6
+
7
+ - [Overview](#overview)
8
+ - [Quick Installation](#quick-installation)
9
+ - [Manual Installation](#manual-installation)
10
+ - [Bash](#bash)
11
+ - [Zsh](#zsh)
12
+ - [Fish](#fish)
13
+ - [Completion Features](#completion-features)
14
+ - [Usage Examples](#usage-examples)
15
+ - [Troubleshooting](#troubleshooting)
16
+ - [Updating Completions](#updating-completions)
17
+
18
+ ## Overview
19
+
20
+ The Nexus CLI provides intelligent shell completions for all major shells:
21
+
22
+ - **Bash** - Bourne Again Shell (most common on Linux)
23
+ - **Zsh** - Z Shell (default on macOS)
24
+ - **Fish** - Friendly Interactive Shell
25
+
26
+ Completions provide:
27
+ - Command and subcommand suggestions
28
+ - Option flag completion with descriptions
29
+ - Dynamic completion of service names, sessions, plugins
30
+ - File path completion where appropriate
31
+ - Context-aware suggestions
32
+
33
+ ## Quick Installation
34
+
35
+ ### Automatic Installation (Recommended)
36
+
37
+ After installing the Nexus CLI, run:
38
+
39
+ ```bash
40
+ npm run completions:install
41
+ ```
42
+
43
+ This will auto-detect your shell and install the appropriate completions.
44
+
45
+ ### Shell-Specific Installation
46
+
47
+ Install for a specific shell:
48
+
49
+ ```bash
50
+ # Bash
51
+ npm run completions:install:bash
52
+
53
+ # Zsh
54
+ npm run completions:install:zsh
55
+
56
+ # Fish
57
+ npm run completions:install:fish
58
+ ```
59
+
60
+ ### Using the Installation Script Directly
61
+
62
+ ```bash
63
+ # Auto-detect shell
64
+ ./scripts/install-completions.sh
65
+
66
+ # Install for specific shell
67
+ ./scripts/install-completions.sh --shell bash
68
+ ./scripts/install-completions.sh --shell zsh
69
+ ./scripts/install-completions.sh --shell fish
70
+
71
+ # List available completion files
72
+ ./scripts/install-completions.sh --list
73
+ ```
74
+
75
+ ## Manual Installation
76
+
77
+ If automatic installation doesn't work, follow these manual steps:
78
+
79
+ ### Bash
80
+
81
+ #### Option 1: System-wide (requires sudo)
82
+
83
+ ```bash
84
+ sudo cp completions/nexus.bash /etc/bash_completion.d/nexus
85
+ ```
86
+
87
+ #### Option 2: User-local (recommended)
88
+
89
+ ```bash
90
+ # Create completions directory
91
+ mkdir -p ~/.local/share/bash-completion/completions
92
+
93
+ # Copy completion file
94
+ cp completions/nexus.bash ~/.local/share/bash-completion/completions/nexus
95
+
96
+ # Add to ~/.bashrc
97
+ echo '[ -f ~/.local/share/bash-completion/completions/nexus ] && source ~/.local/share/bash-completion/completions/nexus' >> ~/.bashrc
98
+
99
+ # Reload shell
100
+ source ~/.bashrc
101
+ ```
102
+
103
+ #### macOS (Homebrew)
104
+
105
+ If you have bash-completion installed via Homebrew:
106
+
107
+ ```bash
108
+ cp completions/nexus.bash $(brew --prefix)/etc/bash_completion.d/nexus
109
+ ```
110
+
111
+ ### Zsh
112
+
113
+ #### Option 1: Standard location
114
+
115
+ ```bash
116
+ # Create completions directory
117
+ mkdir -p ~/.zsh/completions
118
+
119
+ # Copy completion file
120
+ cp completions/_nexus ~/.zsh/completions/_nexus
121
+
122
+ # Add to ~/.zshrc (if not already present)
123
+ cat >> ~/.zshrc << 'EOF'
124
+
125
+ # Nexus CLI completions
126
+ fpath=(~/.zsh/completions $fpath)
127
+ autoload -Uz compinit && compinit
128
+ EOF
129
+
130
+ # Reload shell
131
+ exec zsh
132
+
133
+ # Rebuild completion cache
134
+ rm -f ~/.zcompdump
135
+ compinit
136
+ ```
137
+
138
+ #### Option 2: System-wide (requires sudo)
139
+
140
+ ```bash
141
+ sudo cp completions/_nexus /usr/local/share/zsh/site-functions/_nexus
142
+ ```
143
+
144
+ #### macOS (Homebrew)
145
+
146
+ ```bash
147
+ # If using Homebrew's zsh
148
+ cp completions/_nexus $(brew --prefix)/share/zsh/site-functions/_nexus
149
+ ```
150
+
151
+ ### Fish
152
+
153
+ Fish completions are the easiest to install:
154
+
155
+ ```bash
156
+ # Create Fish completions directory
157
+ mkdir -p ~/.config/fish/completions
158
+
159
+ # Copy completion file
160
+ cp completions/nexus.fish ~/.config/fish/completions/nexus.fish
161
+ ```
162
+
163
+ Completions are active immediately in new Fish sessions!
164
+
165
+ ## Completion Features
166
+
167
+ ### Command Completion
168
+
169
+ All main commands are completed with descriptions:
170
+
171
+ ```bash
172
+ nexus <TAB>
173
+ # Shows: version, config, workspace, services, nexus, agent, session, plugin, etc.
174
+ ```
175
+
176
+ ### Subcommand Completion
177
+
178
+ Each command group has intelligent subcommand completion:
179
+
180
+ ```bash
181
+ nexus services <TAB>
182
+ # Shows: list, status, health, info, logs, start, stop, restart, ports
183
+
184
+ nexus nexus <TAB>
185
+ # Shows: list, categories, health, store-memory, recall-memory, etc.
186
+
187
+ nexus agent <TAB>
188
+ # Shows: run, list, status
189
+ ```
190
+
191
+ ### Option Completion
192
+
193
+ All options are completed with descriptions:
194
+
195
+ ```bash
196
+ nexus --<TAB>
197
+ # Shows: --config, --profile, --output-format, --verbose, --quiet, etc.
198
+
199
+ nexus services list --output-format <TAB>
200
+ # Shows: text, json, yaml, table, stream-json
201
+ ```
202
+
203
+ ### Dynamic Completion
204
+
205
+ Completions intelligently fetch available resources:
206
+
207
+ ```bash
208
+ # Service names (from running services)
209
+ nexus services start <TAB>
210
+ # Shows: graphrag, mageagent, api-gateway, etc.
211
+
212
+ # Session names (from saved sessions)
213
+ nexus session load <TAB>
214
+ # Shows: my-session-1, debug-session, etc.
215
+
216
+ # Plugin names (from installed plugins)
217
+ nexus plugin disable <TAB>
218
+ # Shows: my-plugin, test-plugin, etc.
219
+ ```
220
+
221
+ ### File Path Completion
222
+
223
+ File paths are completed where appropriate:
224
+
225
+ ```bash
226
+ nexus nexus store-document <TAB>
227
+ # Shows: available files in current directory
228
+
229
+ nexus workspace init --path <TAB>
230
+ # Shows: available directories
231
+ ```
232
+
233
+ ## Usage Examples
234
+
235
+ ### Example 1: Starting a Service
236
+
237
+ ```bash
238
+ # Type the command
239
+ nexus services start <TAB>
240
+
241
+ # Completion shows available services:
242
+ # graphrag mageagent api-gateway postgres redis neo4j
243
+
244
+ # Select one
245
+ nexus services start graphrag
246
+
247
+ # Continue with options
248
+ nexus services start graphrag --output-format <TAB>
249
+ # Shows: text json yaml table stream-json
250
+ ```
251
+
252
+ ### Example 2: Storing a Memory in Nexus
253
+
254
+ ```bash
255
+ # Type the command
256
+ nexus nexus store-memory --<TAB>
257
+
258
+ # Completion shows options:
259
+ # --content --tags --importance --verbose --output-format
260
+
261
+ # Build the command
262
+ nexus nexus store-memory \
263
+ --content "User prefers TypeScript strict mode" \
264
+ --tags typescript,preferences \
265
+ --importance 0.8
266
+ ```
267
+
268
+ ### Example 3: Loading a Session
269
+
270
+ ```bash
271
+ # Type the command
272
+ nexus session load <TAB>
273
+
274
+ # Completion shows available sessions:
275
+ # refactoring-2024 debugging-session feature-xyz
276
+
277
+ # Select one
278
+ nexus session load refactoring-2024
279
+ ```
280
+
281
+ ### Example 4: Using Nexus Tools
282
+
283
+ ```bash
284
+ # List available Nexus tools
285
+ nexus nexus list --<TAB>
286
+ # Shows: --category, --verbose, --output-format
287
+
288
+ # Validate code with completion
289
+ nexus nexus validate-code \
290
+ --language <TAB> # Shows: typescript javascript python go rust java
291
+ --risk-level <TAB> # Shows: low medium high critical
292
+ ```
293
+
294
+ ## Troubleshooting
295
+
296
+ ### Completions Not Working (Bash)
297
+
298
+ **Problem**: Tab completion doesn't work after installation.
299
+
300
+ **Solutions**:
301
+
302
+ 1. Ensure bash-completion is installed:
303
+ ```bash
304
+ # Ubuntu/Debian
305
+ sudo apt-get install bash-completion
306
+
307
+ # macOS (Homebrew)
308
+ brew install bash-completion@2
309
+ ```
310
+
311
+ 2. Verify the completion file is sourced:
312
+ ```bash
313
+ grep -r "nexus.bash" ~/.bashrc ~/.bash_profile
314
+ ```
315
+
316
+ 3. Reload your shell:
317
+ ```bash
318
+ source ~/.bashrc
319
+ ```
320
+
321
+ ### Completions Not Working (Zsh)
322
+
323
+ **Problem**: Tab completion doesn't work or shows "command not found: compdef".
324
+
325
+ **Solutions**:
326
+
327
+ 1. Ensure compinit is called in ~/.zshrc:
328
+ ```bash
329
+ grep "compinit" ~/.zshrc
330
+ ```
331
+
332
+ If not found, add:
333
+ ```bash
334
+ autoload -Uz compinit && compinit
335
+ ```
336
+
337
+ 2. Rebuild the completion cache:
338
+ ```bash
339
+ rm -f ~/.zcompdump*
340
+ exec zsh
341
+ ```
342
+
343
+ 3. Check fpath includes your completions directory:
344
+ ```bash
345
+ echo $fpath
346
+ ```
347
+
348
+ ### Completions Not Working (Fish)
349
+
350
+ **Problem**: Completions don't appear.
351
+
352
+ **Solutions**:
353
+
354
+ 1. Verify the file is in the correct location:
355
+ ```bash
356
+ ls -la ~/.config/fish/completions/nexus.fish
357
+ ```
358
+
359
+ 2. Restart Fish:
360
+ ```bash
361
+ exec fish
362
+ ```
363
+
364
+ 3. Test completion directly:
365
+ ```bash
366
+ complete -C "nexus "
367
+ ```
368
+
369
+ ### Dynamic Completions Fail
370
+
371
+ **Problem**: Service names, session names, or plugin names don't complete.
372
+
373
+ **Cause**: The CLI command to fetch dynamic data failed (e.g., `nexus services list`).
374
+
375
+ **Solutions**:
376
+
377
+ 1. Ensure Nexus CLI is installed and in PATH:
378
+ ```bash
379
+ which nexus
380
+ nexus --version
381
+ ```
382
+
383
+ 2. Test the underlying command:
384
+ ```bash
385
+ nexus services list --output-format text
386
+ ```
387
+
388
+ 3. Check for errors:
389
+ ```bash
390
+ nexus services list 2>&1 | grep -i error
391
+ ```
392
+
393
+ ### Completions Show Old Commands
394
+
395
+ **Problem**: Completions show outdated or removed commands.
396
+
397
+ **Solution**: Reinstall completions (see [Updating Completions](#updating-completions)).
398
+
399
+ ## Updating Completions
400
+
401
+ When you update the Nexus CLI, you may need to update completions:
402
+
403
+ ### Automatic Update
404
+
405
+ ```bash
406
+ npm run completions:install
407
+ ```
408
+
409
+ ### Manual Update
410
+
411
+ #### Bash
412
+ ```bash
413
+ cp completions/nexus.bash ~/.local/share/bash-completion/completions/nexus
414
+ source ~/.bashrc
415
+ ```
416
+
417
+ #### Zsh
418
+ ```bash
419
+ cp completions/_nexus ~/.zsh/completions/_nexus
420
+ rm -f ~/.zcompdump
421
+ exec zsh
422
+ ```
423
+
424
+ #### Fish
425
+ ```bash
426
+ cp completions/nexus.fish ~/.config/fish/completions/nexus.fish
427
+ # Completions update automatically
428
+ ```
429
+
430
+ ## Advanced Usage
431
+
432
+ ### Completion Cache (Zsh)
433
+
434
+ Zsh caches completions for performance. To force a refresh:
435
+
436
+ ```bash
437
+ # Clear cache
438
+ rm -f ~/.zcompdump*
439
+
440
+ # Reload completions
441
+ compinit
442
+ ```
443
+
444
+ ### Debugging Completions (Zsh)
445
+
446
+ Enable verbose completion debugging:
447
+
448
+ ```bash
449
+ # Add to ~/.zshrc temporarily
450
+ zstyle ':completion:*' verbose yes
451
+ zstyle ':completion:*:descriptions' format '%B%d%b'
452
+ ```
453
+
454
+ ### Custom Completion Paths
455
+
456
+ To install completions to a custom location:
457
+
458
+ #### Bash
459
+ ```bash
460
+ # Copy to custom directory
461
+ cp completions/nexus.bash /path/to/custom/dir/nexus
462
+
463
+ # Source in ~/.bashrc
464
+ echo 'source /path/to/custom/dir/nexus' >> ~/.bashrc
465
+ ```
466
+
467
+ #### Zsh
468
+ ```bash
469
+ # Copy to custom directory
470
+ cp completions/_nexus /path/to/custom/dir/_nexus
471
+
472
+ # Add to fpath in ~/.zshrc
473
+ echo 'fpath=(/path/to/custom/dir $fpath)' >> ~/.zshrc
474
+ echo 'autoload -Uz compinit && compinit' >> ~/.zshrc
475
+ ```
476
+
477
+ ## Shell-Specific Features
478
+
479
+ ### Bash Features
480
+
481
+ - Context-aware completion based on previous arguments
482
+ - Dynamic service/session/plugin name fetching
483
+ - File path completion with `_filedir`
484
+ - Option value suggestions
485
+
486
+ ### Zsh Features
487
+
488
+ - Rich descriptions for all commands and options
489
+ - Advanced argument handling with `_arguments`
490
+ - Multiple completion strategies
491
+ - Cached completion for performance
492
+ - Color-coded suggestions
493
+
494
+ ### Fish Features
495
+
496
+ - Inline descriptions as you type
497
+ - Real-time completion updates
498
+ - Fuzzy matching support
499
+ - Zero configuration needed
500
+
501
+ ## Contributing
502
+
503
+ Found a bug or want to add completions for a new command?
504
+
505
+ 1. Edit the appropriate completion file:
506
+ - Bash: `completions/nexus.bash`
507
+ - Zsh: `completions/_nexus`
508
+ - Fish: `completions/nexus.fish`
509
+
510
+ 2. Test your changes locally
511
+
512
+ 3. Submit a pull request
513
+
514
+ ## Support
515
+
516
+ If you encounter issues with completions:
517
+
518
+ 1. Check this troubleshooting guide
519
+ 2. Verify your shell version: `bash --version`, `zsh --version`, or `fish --version`
520
+ 3. Open an issue on GitHub with:
521
+ - Your shell and version
522
+ - Installation method used
523
+ - Error messages or unexpected behavior
524
+ - Output of `echo $SHELL`
525
+
526
+ ## License
527
+
528
+ Completions are part of the Nexus CLI and released under the MIT License.