@elyracode/coding-agent 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 (707) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +637 -0
  3. package/dist/bun/cli.d.ts +3 -0
  4. package/dist/bun/cli.d.ts.map +1 -0
  5. package/dist/bun/cli.js +9 -0
  6. package/dist/bun/cli.js.map +1 -0
  7. package/dist/bun/register-bedrock.d.ts +2 -0
  8. package/dist/bun/register-bedrock.d.ts.map +1 -0
  9. package/dist/bun/register-bedrock.js +4 -0
  10. package/dist/bun/register-bedrock.js.map +1 -0
  11. package/dist/bun/restore-sandbox-env.d.ts +13 -0
  12. package/dist/bun/restore-sandbox-env.d.ts.map +1 -0
  13. package/dist/bun/restore-sandbox-env.js +32 -0
  14. package/dist/bun/restore-sandbox-env.js.map +1 -0
  15. package/dist/cli/args.d.ts +53 -0
  16. package/dist/cli/args.d.ts.map +1 -0
  17. package/dist/cli/args.js +341 -0
  18. package/dist/cli/args.js.map +1 -0
  19. package/dist/cli/config-selector.d.ts +14 -0
  20. package/dist/cli/config-selector.d.ts.map +1 -0
  21. package/dist/cli/config-selector.js +31 -0
  22. package/dist/cli/config-selector.js.map +1 -0
  23. package/dist/cli/file-processor.d.ts +15 -0
  24. package/dist/cli/file-processor.d.ts.map +1 -0
  25. package/dist/cli/file-processor.js +83 -0
  26. package/dist/cli/file-processor.js.map +1 -0
  27. package/dist/cli/initial-message.d.ts +18 -0
  28. package/dist/cli/initial-message.d.ts.map +1 -0
  29. package/dist/cli/initial-message.js +22 -0
  30. package/dist/cli/initial-message.js.map +1 -0
  31. package/dist/cli/list-models.d.ts +9 -0
  32. package/dist/cli/list-models.d.ts.map +1 -0
  33. package/dist/cli/list-models.js +98 -0
  34. package/dist/cli/list-models.js.map +1 -0
  35. package/dist/cli/session-picker.d.ts +9 -0
  36. package/dist/cli/session-picker.d.ts.map +1 -0
  37. package/dist/cli/session-picker.js +35 -0
  38. package/dist/cli/session-picker.js.map +1 -0
  39. package/dist/cli.d.ts +3 -0
  40. package/dist/cli.d.ts.map +1 -0
  41. package/dist/cli.js +20 -0
  42. package/dist/cli.js.map +1 -0
  43. package/dist/config.d.ts +92 -0
  44. package/dist/config.d.ts.map +1 -0
  45. package/dist/config.js +399 -0
  46. package/dist/config.js.map +1 -0
  47. package/dist/core/agent-session-runtime.d.ts +117 -0
  48. package/dist/core/agent-session-runtime.d.ts.map +1 -0
  49. package/dist/core/agent-session-runtime.js +300 -0
  50. package/dist/core/agent-session-runtime.js.map +1 -0
  51. package/dist/core/agent-session-services.d.ts +86 -0
  52. package/dist/core/agent-session-services.d.ts.map +1 -0
  53. package/dist/core/agent-session-services.js +117 -0
  54. package/dist/core/agent-session-services.js.map +1 -0
  55. package/dist/core/agent-session.d.ts +595 -0
  56. package/dist/core/agent-session.d.ts.map +1 -0
  57. package/dist/core/agent-session.js +2521 -0
  58. package/dist/core/agent-session.js.map +1 -0
  59. package/dist/core/auth-guidance.d.ts +5 -0
  60. package/dist/core/auth-guidance.d.ts.map +1 -0
  61. package/dist/core/auth-guidance.js +21 -0
  62. package/dist/core/auth-guidance.js.map +1 -0
  63. package/dist/core/auth-storage.d.ts +141 -0
  64. package/dist/core/auth-storage.d.ts.map +1 -0
  65. package/dist/core/auth-storage.js +441 -0
  66. package/dist/core/auth-storage.js.map +1 -0
  67. package/dist/core/bash-executor.d.ts +32 -0
  68. package/dist/core/bash-executor.d.ts.map +1 -0
  69. package/dist/core/bash-executor.js +111 -0
  70. package/dist/core/bash-executor.js.map +1 -0
  71. package/dist/core/compaction/branch-summarization.d.ts +88 -0
  72. package/dist/core/compaction/branch-summarization.d.ts.map +1 -0
  73. package/dist/core/compaction/branch-summarization.js +243 -0
  74. package/dist/core/compaction/branch-summarization.js.map +1 -0
  75. package/dist/core/compaction/compaction.d.ts +121 -0
  76. package/dist/core/compaction/compaction.d.ts.map +1 -0
  77. package/dist/core/compaction/compaction.js +615 -0
  78. package/dist/core/compaction/compaction.js.map +1 -0
  79. package/dist/core/compaction/index.d.ts +7 -0
  80. package/dist/core/compaction/index.d.ts.map +1 -0
  81. package/dist/core/compaction/index.js +7 -0
  82. package/dist/core/compaction/index.js.map +1 -0
  83. package/dist/core/compaction/utils.d.ts +38 -0
  84. package/dist/core/compaction/utils.d.ts.map +1 -0
  85. package/dist/core/compaction/utils.js +153 -0
  86. package/dist/core/compaction/utils.js.map +1 -0
  87. package/dist/core/defaults.d.ts +3 -0
  88. package/dist/core/defaults.d.ts.map +1 -0
  89. package/dist/core/defaults.js +2 -0
  90. package/dist/core/defaults.js.map +1 -0
  91. package/dist/core/diagnostics.d.ts +15 -0
  92. package/dist/core/diagnostics.d.ts.map +1 -0
  93. package/dist/core/diagnostics.js +2 -0
  94. package/dist/core/diagnostics.js.map +1 -0
  95. package/dist/core/event-bus.d.ts +9 -0
  96. package/dist/core/event-bus.d.ts.map +1 -0
  97. package/dist/core/event-bus.js +25 -0
  98. package/dist/core/event-bus.js.map +1 -0
  99. package/dist/core/exec.d.ts +29 -0
  100. package/dist/core/exec.d.ts.map +1 -0
  101. package/dist/core/exec.js +75 -0
  102. package/dist/core/exec.js.map +1 -0
  103. package/dist/core/export-html/ansi-to-html.d.ts +22 -0
  104. package/dist/core/export-html/ansi-to-html.d.ts.map +1 -0
  105. package/dist/core/export-html/ansi-to-html.js +249 -0
  106. package/dist/core/export-html/ansi-to-html.js.map +1 -0
  107. package/dist/core/export-html/index.d.ts +37 -0
  108. package/dist/core/export-html/index.d.ts.map +1 -0
  109. package/dist/core/export-html/index.js +224 -0
  110. package/dist/core/export-html/index.js.map +1 -0
  111. package/dist/core/export-html/template.css +1066 -0
  112. package/dist/core/export-html/template.html +55 -0
  113. package/dist/core/export-html/template.js +1834 -0
  114. package/dist/core/export-html/tool-renderer.d.ts +34 -0
  115. package/dist/core/export-html/tool-renderer.d.ts.map +1 -0
  116. package/dist/core/export-html/tool-renderer.js +108 -0
  117. package/dist/core/export-html/tool-renderer.js.map +1 -0
  118. package/dist/core/export-html/vendor/highlight.min.js +1213 -0
  119. package/dist/core/export-html/vendor/marked.min.js +6 -0
  120. package/dist/core/extensions/index.d.ts +12 -0
  121. package/dist/core/extensions/index.d.ts.map +1 -0
  122. package/dist/core/extensions/index.js +9 -0
  123. package/dist/core/extensions/index.js.map +1 -0
  124. package/dist/core/extensions/loader.d.ts +24 -0
  125. package/dist/core/extensions/loader.d.ts.map +1 -0
  126. package/dist/core/extensions/loader.js +488 -0
  127. package/dist/core/extensions/loader.js.map +1 -0
  128. package/dist/core/extensions/runner.d.ts +159 -0
  129. package/dist/core/extensions/runner.d.ts.map +1 -0
  130. package/dist/core/extensions/runner.js +824 -0
  131. package/dist/core/extensions/runner.js.map +1 -0
  132. package/dist/core/extensions/types.d.ts +1173 -0
  133. package/dist/core/extensions/types.d.ts.map +1 -0
  134. package/dist/core/extensions/types.js +45 -0
  135. package/dist/core/extensions/types.js.map +1 -0
  136. package/dist/core/extensions/wrapper.d.ts +20 -0
  137. package/dist/core/extensions/wrapper.d.ts.map +1 -0
  138. package/dist/core/extensions/wrapper.js +22 -0
  139. package/dist/core/extensions/wrapper.js.map +1 -0
  140. package/dist/core/footer-data-provider.d.ts +52 -0
  141. package/dist/core/footer-data-provider.d.ts.map +1 -0
  142. package/dist/core/footer-data-provider.js +310 -0
  143. package/dist/core/footer-data-provider.js.map +1 -0
  144. package/dist/core/index.d.ts +12 -0
  145. package/dist/core/index.d.ts.map +1 -0
  146. package/dist/core/index.js +12 -0
  147. package/dist/core/index.js.map +1 -0
  148. package/dist/core/keybindings.d.ts +353 -0
  149. package/dist/core/keybindings.d.ts.map +1 -0
  150. package/dist/core/keybindings.js +295 -0
  151. package/dist/core/keybindings.js.map +1 -0
  152. package/dist/core/messages.d.ts +77 -0
  153. package/dist/core/messages.d.ts.map +1 -0
  154. package/dist/core/messages.js +123 -0
  155. package/dist/core/messages.js.map +1 -0
  156. package/dist/core/model-registry.d.ts +150 -0
  157. package/dist/core/model-registry.d.ts.map +1 -0
  158. package/dist/core/model-registry.js +728 -0
  159. package/dist/core/model-registry.js.map +1 -0
  160. package/dist/core/model-resolver.d.ts +110 -0
  161. package/dist/core/model-resolver.d.ts.map +1 -0
  162. package/dist/core/model-resolver.js +495 -0
  163. package/dist/core/model-resolver.js.map +1 -0
  164. package/dist/core/output-guard.d.ts +6 -0
  165. package/dist/core/output-guard.d.ts.map +1 -0
  166. package/dist/core/output-guard.js +59 -0
  167. package/dist/core/output-guard.js.map +1 -0
  168. package/dist/core/package-manager.d.ts +198 -0
  169. package/dist/core/package-manager.d.ts.map +1 -0
  170. package/dist/core/package-manager.js +1975 -0
  171. package/dist/core/package-manager.js.map +1 -0
  172. package/dist/core/prompt-templates.d.ts +52 -0
  173. package/dist/core/prompt-templates.d.ts.map +1 -0
  174. package/dist/core/prompt-templates.js +250 -0
  175. package/dist/core/prompt-templates.js.map +1 -0
  176. package/dist/core/provider-display-names.d.ts +2 -0
  177. package/dist/core/provider-display-names.d.ts.map +1 -0
  178. package/dist/core/provider-display-names.js +33 -0
  179. package/dist/core/provider-display-names.js.map +1 -0
  180. package/dist/core/resolve-config-value.d.ts +23 -0
  181. package/dist/core/resolve-config-value.d.ts.map +1 -0
  182. package/dist/core/resolve-config-value.js +126 -0
  183. package/dist/core/resolve-config-value.js.map +1 -0
  184. package/dist/core/resource-loader.d.ts +194 -0
  185. package/dist/core/resource-loader.d.ts.map +1 -0
  186. package/dist/core/resource-loader.js +727 -0
  187. package/dist/core/resource-loader.js.map +1 -0
  188. package/dist/core/sdk.d.ts +107 -0
  189. package/dist/core/sdk.d.ts.map +1 -0
  190. package/dist/core/sdk.js +278 -0
  191. package/dist/core/sdk.js.map +1 -0
  192. package/dist/core/session-cwd.d.ts +19 -0
  193. package/dist/core/session-cwd.d.ts.map +1 -0
  194. package/dist/core/session-cwd.js +38 -0
  195. package/dist/core/session-cwd.js.map +1 -0
  196. package/dist/core/session-manager.d.ts +333 -0
  197. package/dist/core/session-manager.d.ts.map +1 -0
  198. package/dist/core/session-manager.js +1109 -0
  199. package/dist/core/session-manager.js.map +1 -0
  200. package/dist/core/settings-manager.d.ts +258 -0
  201. package/dist/core/settings-manager.d.ts.map +1 -0
  202. package/dist/core/settings-manager.js +774 -0
  203. package/dist/core/settings-manager.js.map +1 -0
  204. package/dist/core/skills.d.ts +60 -0
  205. package/dist/core/skills.d.ts.map +1 -0
  206. package/dist/core/skills.js +404 -0
  207. package/dist/core/skills.js.map +1 -0
  208. package/dist/core/slash-commands.d.ts +14 -0
  209. package/dist/core/slash-commands.d.ts.map +1 -0
  210. package/dist/core/slash-commands.js +25 -0
  211. package/dist/core/slash-commands.js.map +1 -0
  212. package/dist/core/source-info.d.ts +18 -0
  213. package/dist/core/source-info.d.ts.map +1 -0
  214. package/dist/core/source-info.js +19 -0
  215. package/dist/core/source-info.js.map +1 -0
  216. package/dist/core/system-prompt.d.ts +28 -0
  217. package/dist/core/system-prompt.d.ts.map +1 -0
  218. package/dist/core/system-prompt.js +120 -0
  219. package/dist/core/system-prompt.js.map +1 -0
  220. package/dist/core/timings.d.ts +8 -0
  221. package/dist/core/timings.d.ts.map +1 -0
  222. package/dist/core/timings.js +31 -0
  223. package/dist/core/timings.js.map +1 -0
  224. package/dist/core/tools/bash.d.ts +68 -0
  225. package/dist/core/tools/bash.d.ts.map +1 -0
  226. package/dist/core/tools/bash.js +335 -0
  227. package/dist/core/tools/bash.js.map +1 -0
  228. package/dist/core/tools/edit-diff.d.ts +85 -0
  229. package/dist/core/tools/edit-diff.d.ts.map +1 -0
  230. package/dist/core/tools/edit-diff.js +338 -0
  231. package/dist/core/tools/edit-diff.js.map +1 -0
  232. package/dist/core/tools/edit.d.ts +49 -0
  233. package/dist/core/tools/edit.d.ts.map +1 -0
  234. package/dist/core/tools/edit.js +324 -0
  235. package/dist/core/tools/edit.js.map +1 -0
  236. package/dist/core/tools/file-mutation-queue.d.ts +6 -0
  237. package/dist/core/tools/file-mutation-queue.d.ts.map +1 -0
  238. package/dist/core/tools/file-mutation-queue.js +37 -0
  239. package/dist/core/tools/file-mutation-queue.js.map +1 -0
  240. package/dist/core/tools/find.d.ts +35 -0
  241. package/dist/core/tools/find.d.ts.map +1 -0
  242. package/dist/core/tools/find.js +298 -0
  243. package/dist/core/tools/find.js.map +1 -0
  244. package/dist/core/tools/grep.d.ts +37 -0
  245. package/dist/core/tools/grep.d.ts.map +1 -0
  246. package/dist/core/tools/grep.js +304 -0
  247. package/dist/core/tools/grep.js.map +1 -0
  248. package/dist/core/tools/index.d.ts +40 -0
  249. package/dist/core/tools/index.d.ts.map +1 -0
  250. package/dist/core/tools/index.js +112 -0
  251. package/dist/core/tools/index.js.map +1 -0
  252. package/dist/core/tools/ls.d.ts +37 -0
  253. package/dist/core/tools/ls.d.ts.map +1 -0
  254. package/dist/core/tools/ls.js +169 -0
  255. package/dist/core/tools/ls.js.map +1 -0
  256. package/dist/core/tools/output-accumulator.d.ts +50 -0
  257. package/dist/core/tools/output-accumulator.d.ts.map +1 -0
  258. package/dist/core/tools/output-accumulator.js +178 -0
  259. package/dist/core/tools/output-accumulator.js.map +1 -0
  260. package/dist/core/tools/path-utils.d.ts +8 -0
  261. package/dist/core/tools/path-utils.d.ts.map +1 -0
  262. package/dist/core/tools/path-utils.js +81 -0
  263. package/dist/core/tools/path-utils.js.map +1 -0
  264. package/dist/core/tools/read.d.ts +35 -0
  265. package/dist/core/tools/read.d.ts.map +1 -0
  266. package/dist/core/tools/read.js +289 -0
  267. package/dist/core/tools/read.js.map +1 -0
  268. package/dist/core/tools/render-utils.d.ts +21 -0
  269. package/dist/core/tools/render-utils.d.ts.map +1 -0
  270. package/dist/core/tools/render-utils.js +49 -0
  271. package/dist/core/tools/render-utils.js.map +1 -0
  272. package/dist/core/tools/tool-definition-wrapper.d.ts +14 -0
  273. package/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -0
  274. package/dist/core/tools/tool-definition-wrapper.js +34 -0
  275. package/dist/core/tools/tool-definition-wrapper.js.map +1 -0
  276. package/dist/core/tools/truncate.d.ts +70 -0
  277. package/dist/core/tools/truncate.d.ts.map +1 -0
  278. package/dist/core/tools/truncate.js +205 -0
  279. package/dist/core/tools/truncate.js.map +1 -0
  280. package/dist/core/tools/write.d.ts +26 -0
  281. package/dist/core/tools/write.d.ts.map +1 -0
  282. package/dist/core/tools/write.js +213 -0
  283. package/dist/core/tools/write.js.map +1 -0
  284. package/dist/index.d.ts +28 -0
  285. package/dist/index.d.ts.map +1 -0
  286. package/dist/index.js +41 -0
  287. package/dist/index.js.map +1 -0
  288. package/dist/main.d.ts +12 -0
  289. package/dist/main.d.ts.map +1 -0
  290. package/dist/main.js +583 -0
  291. package/dist/main.js.map +1 -0
  292. package/dist/migrations.d.ts +33 -0
  293. package/dist/migrations.d.ts.map +1 -0
  294. package/dist/migrations.js +281 -0
  295. package/dist/migrations.js.map +1 -0
  296. package/dist/modes/index.d.ts +9 -0
  297. package/dist/modes/index.d.ts.map +1 -0
  298. package/dist/modes/index.js +8 -0
  299. package/dist/modes/index.js.map +1 -0
  300. package/dist/modes/interactive/assets/clankolas.png +0 -0
  301. package/dist/modes/interactive/components/armin.d.ts +34 -0
  302. package/dist/modes/interactive/components/armin.d.ts.map +1 -0
  303. package/dist/modes/interactive/components/armin.js +333 -0
  304. package/dist/modes/interactive/components/armin.js.map +1 -0
  305. package/dist/modes/interactive/components/assistant-message.d.ts +20 -0
  306. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -0
  307. package/dist/modes/interactive/components/assistant-message.js +121 -0
  308. package/dist/modes/interactive/components/assistant-message.js.map +1 -0
  309. package/dist/modes/interactive/components/bash-execution.d.ts +34 -0
  310. package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -0
  311. package/dist/modes/interactive/components/bash-execution.js +175 -0
  312. package/dist/modes/interactive/components/bash-execution.js.map +1 -0
  313. package/dist/modes/interactive/components/bordered-loader.d.ts +16 -0
  314. package/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -0
  315. package/dist/modes/interactive/components/bordered-loader.js +54 -0
  316. package/dist/modes/interactive/components/bordered-loader.js.map +1 -0
  317. package/dist/modes/interactive/components/branch-summary-message.d.ts +16 -0
  318. package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -0
  319. package/dist/modes/interactive/components/branch-summary-message.js +44 -0
  320. package/dist/modes/interactive/components/branch-summary-message.js.map +1 -0
  321. package/dist/modes/interactive/components/compaction-summary-message.d.ts +16 -0
  322. package/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -0
  323. package/dist/modes/interactive/components/compaction-summary-message.js +45 -0
  324. package/dist/modes/interactive/components/compaction-summary-message.js.map +1 -0
  325. package/dist/modes/interactive/components/config-selector.d.ts +71 -0
  326. package/dist/modes/interactive/components/config-selector.d.ts.map +1 -0
  327. package/dist/modes/interactive/components/config-selector.js +503 -0
  328. package/dist/modes/interactive/components/config-selector.js.map +1 -0
  329. package/dist/modes/interactive/components/countdown-timer.d.ts +14 -0
  330. package/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -0
  331. package/dist/modes/interactive/components/countdown-timer.js +33 -0
  332. package/dist/modes/interactive/components/countdown-timer.js.map +1 -0
  333. package/dist/modes/interactive/components/custom-editor.d.ts +21 -0
  334. package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -0
  335. package/dist/modes/interactive/components/custom-editor.js +70 -0
  336. package/dist/modes/interactive/components/custom-editor.js.map +1 -0
  337. package/dist/modes/interactive/components/custom-message.d.ts +20 -0
  338. package/dist/modes/interactive/components/custom-message.d.ts.map +1 -0
  339. package/dist/modes/interactive/components/custom-message.js +79 -0
  340. package/dist/modes/interactive/components/custom-message.js.map +1 -0
  341. package/dist/modes/interactive/components/daxnuts.d.ts +23 -0
  342. package/dist/modes/interactive/components/daxnuts.d.ts.map +1 -0
  343. package/dist/modes/interactive/components/daxnuts.js +140 -0
  344. package/dist/modes/interactive/components/daxnuts.js.map +1 -0
  345. package/dist/modes/interactive/components/diff.d.ts +12 -0
  346. package/dist/modes/interactive/components/diff.d.ts.map +1 -0
  347. package/dist/modes/interactive/components/diff.js +133 -0
  348. package/dist/modes/interactive/components/diff.js.map +1 -0
  349. package/dist/modes/interactive/components/dynamic-border.d.ts +15 -0
  350. package/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -0
  351. package/dist/modes/interactive/components/dynamic-border.js +21 -0
  352. package/dist/modes/interactive/components/dynamic-border.js.map +1 -0
  353. package/dist/modes/interactive/components/earendil-announcement.d.ts +5 -0
  354. package/dist/modes/interactive/components/earendil-announcement.d.ts.map +1 -0
  355. package/dist/modes/interactive/components/earendil-announcement.js +40 -0
  356. package/dist/modes/interactive/components/earendil-announcement.js.map +1 -0
  357. package/dist/modes/interactive/components/extension-editor.d.ts +20 -0
  358. package/dist/modes/interactive/components/extension-editor.d.ts.map +1 -0
  359. package/dist/modes/interactive/components/extension-editor.js +111 -0
  360. package/dist/modes/interactive/components/extension-editor.js.map +1 -0
  361. package/dist/modes/interactive/components/extension-input.d.ts +23 -0
  362. package/dist/modes/interactive/components/extension-input.d.ts.map +1 -0
  363. package/dist/modes/interactive/components/extension-input.js +61 -0
  364. package/dist/modes/interactive/components/extension-input.js.map +1 -0
  365. package/dist/modes/interactive/components/extension-selector.d.ts +24 -0
  366. package/dist/modes/interactive/components/extension-selector.d.ts.map +1 -0
  367. package/dist/modes/interactive/components/extension-selector.js +78 -0
  368. package/dist/modes/interactive/components/extension-selector.js.map +1 -0
  369. package/dist/modes/interactive/components/footer.d.ts +27 -0
  370. package/dist/modes/interactive/components/footer.d.ts.map +1 -0
  371. package/dist/modes/interactive/components/footer.js +201 -0
  372. package/dist/modes/interactive/components/footer.js.map +1 -0
  373. package/dist/modes/interactive/components/index.d.ts +32 -0
  374. package/dist/modes/interactive/components/index.d.ts.map +1 -0
  375. package/dist/modes/interactive/components/index.js +33 -0
  376. package/dist/modes/interactive/components/index.js.map +1 -0
  377. package/dist/modes/interactive/components/keybinding-hints.d.ts +13 -0
  378. package/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -0
  379. package/dist/modes/interactive/components/keybinding-hints.js +36 -0
  380. package/dist/modes/interactive/components/keybinding-hints.js.map +1 -0
  381. package/dist/modes/interactive/components/login-dialog.d.ts +46 -0
  382. package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -0
  383. package/dist/modes/interactive/components/login-dialog.js +160 -0
  384. package/dist/modes/interactive/components/login-dialog.js.map +1 -0
  385. package/dist/modes/interactive/components/model-selector.d.ts +47 -0
  386. package/dist/modes/interactive/components/model-selector.d.ts.map +1 -0
  387. package/dist/modes/interactive/components/model-selector.js +278 -0
  388. package/dist/modes/interactive/components/model-selector.js.map +1 -0
  389. package/dist/modes/interactive/components/oauth-selector.d.ts +31 -0
  390. package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -0
  391. package/dist/modes/interactive/components/oauth-selector.js +165 -0
  392. package/dist/modes/interactive/components/oauth-selector.js.map +1 -0
  393. package/dist/modes/interactive/components/scoped-models-selector.d.ts +42 -0
  394. package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -0
  395. package/dist/modes/interactive/components/scoped-models-selector.js +290 -0
  396. package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -0
  397. package/dist/modes/interactive/components/session-selector-search.d.ts +23 -0
  398. package/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -0
  399. package/dist/modes/interactive/components/session-selector-search.js +155 -0
  400. package/dist/modes/interactive/components/session-selector-search.js.map +1 -0
  401. package/dist/modes/interactive/components/session-selector.d.ts +96 -0
  402. package/dist/modes/interactive/components/session-selector.d.ts.map +1 -0
  403. package/dist/modes/interactive/components/session-selector.js +861 -0
  404. package/dist/modes/interactive/components/session-selector.js.map +1 -0
  405. package/dist/modes/interactive/components/settings-selector.d.ts +65 -0
  406. package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -0
  407. package/dist/modes/interactive/components/settings-selector.js +365 -0
  408. package/dist/modes/interactive/components/settings-selector.js.map +1 -0
  409. package/dist/modes/interactive/components/show-images-selector.d.ts +10 -0
  410. package/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -0
  411. package/dist/modes/interactive/components/show-images-selector.js +39 -0
  412. package/dist/modes/interactive/components/show-images-selector.js.map +1 -0
  413. package/dist/modes/interactive/components/skill-invocation-message.d.ts +17 -0
  414. package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -0
  415. package/dist/modes/interactive/components/skill-invocation-message.js +47 -0
  416. package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -0
  417. package/dist/modes/interactive/components/theme-selector.d.ts +11 -0
  418. package/dist/modes/interactive/components/theme-selector.d.ts.map +1 -0
  419. package/dist/modes/interactive/components/theme-selector.js +50 -0
  420. package/dist/modes/interactive/components/theme-selector.js.map +1 -0
  421. package/dist/modes/interactive/components/thinking-selector.d.ts +11 -0
  422. package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -0
  423. package/dist/modes/interactive/components/thinking-selector.js +51 -0
  424. package/dist/modes/interactive/components/thinking-selector.js.map +1 -0
  425. package/dist/modes/interactive/components/tool-execution.d.ts +63 -0
  426. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -0
  427. package/dist/modes/interactive/components/tool-execution.js +295 -0
  428. package/dist/modes/interactive/components/tool-execution.js.map +1 -0
  429. package/dist/modes/interactive/components/tree-selector.d.ts +89 -0
  430. package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -0
  431. package/dist/modes/interactive/components/tree-selector.js +1093 -0
  432. package/dist/modes/interactive/components/tree-selector.js.map +1 -0
  433. package/dist/modes/interactive/components/user-message-selector.d.ts +30 -0
  434. package/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -0
  435. package/dist/modes/interactive/components/user-message-selector.js +114 -0
  436. package/dist/modes/interactive/components/user-message-selector.js.map +1 -0
  437. package/dist/modes/interactive/components/user-message.d.ts +10 -0
  438. package/dist/modes/interactive/components/user-message.d.ts.map +1 -0
  439. package/dist/modes/interactive/components/user-message.js +29 -0
  440. package/dist/modes/interactive/components/user-message.js.map +1 -0
  441. package/dist/modes/interactive/components/visual-truncate.d.ts +24 -0
  442. package/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -0
  443. package/dist/modes/interactive/components/visual-truncate.js +33 -0
  444. package/dist/modes/interactive/components/visual-truncate.js.map +1 -0
  445. package/dist/modes/interactive/interactive-mode.d.ts +355 -0
  446. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -0
  447. package/dist/modes/interactive/interactive-mode.js +4528 -0
  448. package/dist/modes/interactive/interactive-mode.js.map +1 -0
  449. package/dist/modes/interactive/theme/dark.json +85 -0
  450. package/dist/modes/interactive/theme/light.json +84 -0
  451. package/dist/modes/interactive/theme/theme-schema.json +335 -0
  452. package/dist/modes/interactive/theme/theme.d.ts +81 -0
  453. package/dist/modes/interactive/theme/theme.d.ts.map +1 -0
  454. package/dist/modes/interactive/theme/theme.js +971 -0
  455. package/dist/modes/interactive/theme/theme.js.map +1 -0
  456. package/dist/modes/print-mode.d.ts +28 -0
  457. package/dist/modes/print-mode.d.ts.map +1 -0
  458. package/dist/modes/print-mode.js +131 -0
  459. package/dist/modes/print-mode.js.map +1 -0
  460. package/dist/modes/rpc/jsonl.d.ts +17 -0
  461. package/dist/modes/rpc/jsonl.d.ts.map +1 -0
  462. package/dist/modes/rpc/jsonl.js +49 -0
  463. package/dist/modes/rpc/jsonl.js.map +1 -0
  464. package/dist/modes/rpc/rpc-client.d.ts +224 -0
  465. package/dist/modes/rpc/rpc-client.d.ts.map +1 -0
  466. package/dist/modes/rpc/rpc-client.js +410 -0
  467. package/dist/modes/rpc/rpc-client.js.map +1 -0
  468. package/dist/modes/rpc/rpc-mode.d.ts +20 -0
  469. package/dist/modes/rpc/rpc-mode.d.ts.map +1 -0
  470. package/dist/modes/rpc/rpc-mode.js +601 -0
  471. package/dist/modes/rpc/rpc-mode.js.map +1 -0
  472. package/dist/modes/rpc/rpc-types.d.ts +419 -0
  473. package/dist/modes/rpc/rpc-types.d.ts.map +1 -0
  474. package/dist/modes/rpc/rpc-types.js +8 -0
  475. package/dist/modes/rpc/rpc-types.js.map +1 -0
  476. package/dist/package-manager-cli.d.ts +4 -0
  477. package/dist/package-manager-cli.d.ts.map +1 -0
  478. package/dist/package-manager-cli.js +445 -0
  479. package/dist/package-manager-cli.js.map +1 -0
  480. package/dist/utils/changelog.d.ts +21 -0
  481. package/dist/utils/changelog.d.ts.map +1 -0
  482. package/dist/utils/changelog.js +87 -0
  483. package/dist/utils/changelog.js.map +1 -0
  484. package/dist/utils/child-process.d.ts +12 -0
  485. package/dist/utils/child-process.d.ts.map +1 -0
  486. package/dist/utils/child-process.js +86 -0
  487. package/dist/utils/child-process.js.map +1 -0
  488. package/dist/utils/clipboard-image.d.ts +11 -0
  489. package/dist/utils/clipboard-image.d.ts.map +1 -0
  490. package/dist/utils/clipboard-image.js +245 -0
  491. package/dist/utils/clipboard-image.js.map +1 -0
  492. package/dist/utils/clipboard-native.d.ts +8 -0
  493. package/dist/utils/clipboard-native.d.ts.map +1 -0
  494. package/dist/utils/clipboard-native.js +14 -0
  495. package/dist/utils/clipboard-native.js.map +1 -0
  496. package/dist/utils/clipboard.d.ts +2 -0
  497. package/dist/utils/clipboard.d.ts.map +1 -0
  498. package/dist/utils/clipboard.js +117 -0
  499. package/dist/utils/clipboard.js.map +1 -0
  500. package/dist/utils/elyra-user-agent.d.ts +2 -0
  501. package/dist/utils/elyra-user-agent.d.ts.map +1 -0
  502. package/dist/utils/elyra-user-agent.js +5 -0
  503. package/dist/utils/elyra-user-agent.js.map +1 -0
  504. package/dist/utils/exif-orientation.d.ts +5 -0
  505. package/dist/utils/exif-orientation.d.ts.map +1 -0
  506. package/dist/utils/exif-orientation.js +158 -0
  507. package/dist/utils/exif-orientation.js.map +1 -0
  508. package/dist/utils/frontmatter.d.ts +8 -0
  509. package/dist/utils/frontmatter.d.ts.map +1 -0
  510. package/dist/utils/frontmatter.js +26 -0
  511. package/dist/utils/frontmatter.js.map +1 -0
  512. package/dist/utils/fs-watch.d.ts +5 -0
  513. package/dist/utils/fs-watch.d.ts.map +1 -0
  514. package/dist/utils/fs-watch.js +25 -0
  515. package/dist/utils/fs-watch.js.map +1 -0
  516. package/dist/utils/git.d.ts +26 -0
  517. package/dist/utils/git.d.ts.map +1 -0
  518. package/dist/utils/git.js +163 -0
  519. package/dist/utils/git.js.map +1 -0
  520. package/dist/utils/image-convert.d.ts +9 -0
  521. package/dist/utils/image-convert.d.ts.map +1 -0
  522. package/dist/utils/image-convert.js +39 -0
  523. package/dist/utils/image-convert.js.map +1 -0
  524. package/dist/utils/image-resize.d.ts +36 -0
  525. package/dist/utils/image-resize.d.ts.map +1 -0
  526. package/dist/utils/image-resize.js +137 -0
  527. package/dist/utils/image-resize.js.map +1 -0
  528. package/dist/utils/mime.d.ts +2 -0
  529. package/dist/utils/mime.d.ts.map +1 -0
  530. package/dist/utils/mime.js +26 -0
  531. package/dist/utils/mime.js.map +1 -0
  532. package/dist/utils/paths.d.ts +16 -0
  533. package/dist/utils/paths.d.ts.map +1 -0
  534. package/dist/utils/paths.js +50 -0
  535. package/dist/utils/paths.js.map +1 -0
  536. package/dist/utils/photon.d.ts +21 -0
  537. package/dist/utils/photon.d.ts.map +1 -0
  538. package/dist/utils/photon.js +121 -0
  539. package/dist/utils/photon.js.map +1 -0
  540. package/dist/utils/shell.d.ts +30 -0
  541. package/dist/utils/shell.d.ts.map +1 -0
  542. package/dist/utils/shell.js +190 -0
  543. package/dist/utils/shell.js.map +1 -0
  544. package/dist/utils/sleep.d.ts +5 -0
  545. package/dist/utils/sleep.d.ts.map +1 -0
  546. package/dist/utils/sleep.js +17 -0
  547. package/dist/utils/sleep.js.map +1 -0
  548. package/dist/utils/tools-manager.d.ts +3 -0
  549. package/dist/utils/tools-manager.d.ts.map +1 -0
  550. package/dist/utils/tools-manager.js +256 -0
  551. package/dist/utils/tools-manager.js.map +1 -0
  552. package/dist/utils/version-check.d.ts +14 -0
  553. package/dist/utils/version-check.d.ts.map +1 -0
  554. package/dist/utils/version-check.js +77 -0
  555. package/dist/utils/version-check.js.map +1 -0
  556. package/docs/compaction.md +394 -0
  557. package/docs/custom-provider.md +646 -0
  558. package/docs/development.md +71 -0
  559. package/docs/docs.json +148 -0
  560. package/docs/extensions.md +2596 -0
  561. package/docs/images/doom-extension.png +0 -0
  562. package/docs/images/exy.png +0 -0
  563. package/docs/images/interactive-mode.png +0 -0
  564. package/docs/images/tree-view.png +0 -0
  565. package/docs/index.md +70 -0
  566. package/docs/json.md +82 -0
  567. package/docs/keybindings.md +197 -0
  568. package/docs/models.md +474 -0
  569. package/docs/packages.md +223 -0
  570. package/docs/prompt-templates.md +88 -0
  571. package/docs/providers.md +243 -0
  572. package/docs/quickstart.md +142 -0
  573. package/docs/rpc.md +1407 -0
  574. package/docs/sdk.md +1149 -0
  575. package/docs/session-format.md +412 -0
  576. package/docs/sessions.md +137 -0
  577. package/docs/settings.md +279 -0
  578. package/docs/shell-aliases.md +13 -0
  579. package/docs/skills.md +232 -0
  580. package/docs/terminal-setup.md +106 -0
  581. package/docs/termux.md +127 -0
  582. package/docs/themes.md +295 -0
  583. package/docs/tmux.md +61 -0
  584. package/docs/tui.md +918 -0
  585. package/docs/usage.md +277 -0
  586. package/docs/windows.md +17 -0
  587. package/examples/README.md +25 -0
  588. package/examples/extensions/README.md +208 -0
  589. package/examples/extensions/auto-commit-on-exit.ts +49 -0
  590. package/examples/extensions/bash-spawn-hook.ts +30 -0
  591. package/examples/extensions/bookmark.ts +50 -0
  592. package/examples/extensions/border-status-editor.ts +150 -0
  593. package/examples/extensions/built-in-tool-renderer.ts +249 -0
  594. package/examples/extensions/claude-rules.ts +86 -0
  595. package/examples/extensions/commands.ts +72 -0
  596. package/examples/extensions/confirm-destructive.ts +59 -0
  597. package/examples/extensions/custom-compaction.ts +127 -0
  598. package/examples/extensions/custom-footer.ts +64 -0
  599. package/examples/extensions/custom-header.ts +73 -0
  600. package/examples/extensions/custom-provider-anthropic/index.ts +604 -0
  601. package/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
  602. package/examples/extensions/custom-provider-anthropic/package.json +19 -0
  603. package/examples/extensions/custom-provider-gitlab-duo/index.ts +349 -0
  604. package/examples/extensions/custom-provider-gitlab-duo/package.json +16 -0
  605. package/examples/extensions/custom-provider-gitlab-duo/test.ts +82 -0
  606. package/examples/extensions/dirty-repo-guard.ts +56 -0
  607. package/examples/extensions/doom-overlay/README.md +46 -0
  608. package/examples/extensions/doom-overlay/doom/build/doom.js +21 -0
  609. package/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
  610. package/examples/extensions/doom-overlay/doom/build.sh +152 -0
  611. package/examples/extensions/doom-overlay/doom/doomgeneric_elyra.c +72 -0
  612. package/examples/extensions/doom-overlay/doom-component.ts +132 -0
  613. package/examples/extensions/doom-overlay/doom-engine.ts +173 -0
  614. package/examples/extensions/doom-overlay/doom-keys.ts +104 -0
  615. package/examples/extensions/doom-overlay/index.ts +74 -0
  616. package/examples/extensions/doom-overlay/wad-finder.ts +51 -0
  617. package/examples/extensions/dynamic-resources/SKILL.md +8 -0
  618. package/examples/extensions/dynamic-resources/dynamic.json +79 -0
  619. package/examples/extensions/dynamic-resources/dynamic.md +5 -0
  620. package/examples/extensions/dynamic-resources/index.ts +15 -0
  621. package/examples/extensions/dynamic-tools.ts +74 -0
  622. package/examples/extensions/event-bus.ts +43 -0
  623. package/examples/extensions/file-trigger.ts +41 -0
  624. package/examples/extensions/git-checkpoint.ts +53 -0
  625. package/examples/extensions/github-issue-autocomplete.ts +185 -0
  626. package/examples/extensions/handoff.ts +191 -0
  627. package/examples/extensions/hello.ts +26 -0
  628. package/examples/extensions/hidden-thinking-label.ts +53 -0
  629. package/examples/extensions/inline-bash.ts +94 -0
  630. package/examples/extensions/input-transform.ts +43 -0
  631. package/examples/extensions/interactive-shell.ts +196 -0
  632. package/examples/extensions/mac-system-theme.ts +47 -0
  633. package/examples/extensions/message-renderer.ts +59 -0
  634. package/examples/extensions/minimal-mode.ts +426 -0
  635. package/examples/extensions/modal-editor.ts +85 -0
  636. package/examples/extensions/model-status.ts +31 -0
  637. package/examples/extensions/notify.ts +55 -0
  638. package/examples/extensions/overlay-qa-tests.ts +1348 -0
  639. package/examples/extensions/overlay-test.ts +150 -0
  640. package/examples/extensions/permission-gate.ts +34 -0
  641. package/examples/extensions/pirate.ts +47 -0
  642. package/examples/extensions/plan-mode/README.md +65 -0
  643. package/examples/extensions/plan-mode/index.ts +340 -0
  644. package/examples/extensions/plan-mode/utils.ts +168 -0
  645. package/examples/extensions/preset.ts +436 -0
  646. package/examples/extensions/prompt-customizer.ts +97 -0
  647. package/examples/extensions/protected-paths.ts +30 -0
  648. package/examples/extensions/provider-payload.ts +18 -0
  649. package/examples/extensions/qna.ts +122 -0
  650. package/examples/extensions/question.ts +264 -0
  651. package/examples/extensions/questionnaire.ts +427 -0
  652. package/examples/extensions/rainbow-editor.ts +88 -0
  653. package/examples/extensions/reload-runtime.ts +37 -0
  654. package/examples/extensions/rpc-demo.ts +118 -0
  655. package/examples/extensions/sandbox/index.ts +321 -0
  656. package/examples/extensions/sandbox/package-lock.json +92 -0
  657. package/examples/extensions/sandbox/package.json +19 -0
  658. package/examples/extensions/send-user-message.ts +97 -0
  659. package/examples/extensions/session-name.ts +27 -0
  660. package/examples/extensions/shutdown-command.ts +63 -0
  661. package/examples/extensions/snake.ts +343 -0
  662. package/examples/extensions/space-invaders.ts +560 -0
  663. package/examples/extensions/ssh.ts +220 -0
  664. package/examples/extensions/status-line.ts +32 -0
  665. package/examples/extensions/structured-output.ts +65 -0
  666. package/examples/extensions/subagent/README.md +172 -0
  667. package/examples/extensions/subagent/agents/planner.md +37 -0
  668. package/examples/extensions/subagent/agents/reviewer.md +35 -0
  669. package/examples/extensions/subagent/agents/scout.md +50 -0
  670. package/examples/extensions/subagent/agents/worker.md +24 -0
  671. package/examples/extensions/subagent/agents.ts +126 -0
  672. package/examples/extensions/subagent/index.ts +987 -0
  673. package/examples/extensions/subagent/prompts/implement-and-review.md +10 -0
  674. package/examples/extensions/subagent/prompts/implement.md +10 -0
  675. package/examples/extensions/subagent/prompts/scout-and-plan.md +9 -0
  676. package/examples/extensions/summarize.ts +206 -0
  677. package/examples/extensions/system-prompt-header.ts +17 -0
  678. package/examples/extensions/tic-tac-toe.ts +1008 -0
  679. package/examples/extensions/timed-confirm.ts +70 -0
  680. package/examples/extensions/titlebar-spinner.ts +58 -0
  681. package/examples/extensions/todo.ts +297 -0
  682. package/examples/extensions/tool-override.ts +144 -0
  683. package/examples/extensions/tools.ts +141 -0
  684. package/examples/extensions/trigger-compact.ts +50 -0
  685. package/examples/extensions/truncated-tool.ts +195 -0
  686. package/examples/extensions/widget-placement.ts +9 -0
  687. package/examples/extensions/with-deps/index.ts +32 -0
  688. package/examples/extensions/with-deps/package-lock.json +31 -0
  689. package/examples/extensions/with-deps/package.json +22 -0
  690. package/examples/extensions/working-indicator.ts +123 -0
  691. package/examples/extensions/working-message-test.ts +25 -0
  692. package/examples/rpc-extension-ui.ts +632 -0
  693. package/examples/sdk/01-minimal.ts +22 -0
  694. package/examples/sdk/02-custom-model.ts +49 -0
  695. package/examples/sdk/03-custom-prompt.ts +62 -0
  696. package/examples/sdk/04-skills.ts +55 -0
  697. package/examples/sdk/05-tools.ts +44 -0
  698. package/examples/sdk/06-extensions.ts +90 -0
  699. package/examples/sdk/07-context-files.ts +42 -0
  700. package/examples/sdk/08-prompt-templates.ts +51 -0
  701. package/examples/sdk/09-api-keys-and-oauth.ts +48 -0
  702. package/examples/sdk/10-settings.ts +53 -0
  703. package/examples/sdk/11-sessions.ts +48 -0
  704. package/examples/sdk/12-full-control.ts +73 -0
  705. package/examples/sdk/13-session-runtime.ts +67 -0
  706. package/examples/sdk/README.md +147 -0
  707. package/package.json +100 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased]
package/README.md ADDED
@@ -0,0 +1,637 @@
1
+ <p align="center">
2
+ <a href="https://elyracode.app">
3
+ <img alt="Elyra logo" src="https://elyracode.app/logo-auto.svg" width="128">
4
+ </a>
5
+ </p>
6
+ <p align="center">
7
+ <a href="https://www.npmjs.com/package/@elyracode/coding-agent"><img alt="npm" src="https://img.shields.io/npm/v/@elyracode/coding-agent?style=flat-square" /></a>
8
+ </p>
9
+
10
+ > New issues and PRs from new contributors are auto-closed by default. Maintainers review auto-closed issues daily. See [CONTRIBUTING.md](../../CONTRIBUTING.md).
11
+
12
+ ---
13
+
14
+ Elyra is a minimal terminal coding harness. Adapt elyra to your workflows, not the other way around, without having to fork and modify elyra internals. Extend it with TypeScript [Extensions](#extensions), [Skills](#skills), [Prompt Templates](#prompt-templates), and [Themes](#themes). Put your extensions, skills, prompt templates, and themes in [Elyra Packages](#elyra-packages) and share them with others via npm or git.
15
+
16
+ Elyra ships with powerful defaults but skips features like sub agents and plan mode. Instead, you can ask elyra to build what you want or install a third party elyra package that matches your workflow.
17
+
18
+ Elyra runs in four modes: interactive, print or JSON, RPC for process integration, and an SDK for embedding in your own apps. See [openclaw/openclaw](https://github.com/openclaw/openclaw) for a real-world SDK integration.
19
+
20
+ ## Share your OSS coding agent sessions
21
+
22
+ If you use elyra for open source work, please share your coding agent sessions.
23
+
24
+ Public OSS session data helps improve models, prompts, tools, and evaluations using real development workflows.
25
+
26
+ ## Table of Contents
27
+
28
+ - [Quick Start](#quick-start)
29
+ - [Providers & Models](#providers--models)
30
+ - [Interactive Mode](#interactive-mode)
31
+ - [Editor](#editor)
32
+ - [Commands](#commands)
33
+ - [Keyboard Shortcuts](#keyboard-shortcuts)
34
+ - [Message Queue](#message-queue)
35
+ - [Sessions](#sessions)
36
+ - [Branching](#branching)
37
+ - [Compaction](#compaction)
38
+ - [Settings](#settings)
39
+ - [Context Files](#context-files)
40
+ - [Customization](#customization)
41
+ - [Prompt Templates](#prompt-templates)
42
+ - [Skills](#skills)
43
+ - [Extensions](#extensions)
44
+ - [Themes](#themes)
45
+ [Elyra Packages](#elyra-packages)
46
+ - [Programmatic Usage](#programmatic-usage)
47
+ - [Philosophy](#philosophy)
48
+ - [CLI Reference](#cli-reference)
49
+
50
+ ---
51
+
52
+ ## Quick Start
53
+
54
+ ```bash
55
+ curl -fsSL https://elyracode.app/install.sh | sh
56
+ ```
57
+
58
+ Or with npm:
59
+
60
+ ```bash
61
+ npm install -g @elyracode/coding-agent
62
+ ```
63
+
64
+ Authenticate with an API key:
65
+
66
+ ```bash
67
+ export ANTHROPIC_API_KEY=sk-ant-...
68
+ elyra
69
+ ```
70
+
71
+ Or use your existing subscription:
72
+
73
+ ```bash
74
+ elyra
75
+ /login # Then select provider
76
+ ```
77
+
78
+ Then just talk to elyra. By default, elyra gives the model four tools: `read`, `write`, `edit`, and `bash`. The model uses these to fulfill your requests. Add capabilities via [skills](#skills), [prompt templates](#prompt-templates), [extensions](#extensions), or [elyra packages](#elyra-packages).
79
+
80
+ **Platform notes:** [Windows](docs/windows.md) | [Termux (Android)](docs/termux.md) | [tmux](docs/tmux.md) | [Terminal setup](docs/terminal-setup.md) | [Shell aliases](docs/shell-aliases.md)
81
+
82
+ ---
83
+
84
+ ## Providers & Models
85
+
86
+ For each built-in provider, elyra maintains a list of tool-capable models, updated with every release. Authenticate via subscription (`/login`) or API key, then select any model from that provider via `/model` (or Ctrl+L).
87
+
88
+ **Subscriptions:**
89
+ - Anthropic Claude Pro/Max
90
+ - OpenAI ChatGPT Plus/Pro (Codex)
91
+ - GitHub Copilot
92
+
93
+ **API keys:**
94
+ - Anthropic
95
+ - OpenAI
96
+ - Azure OpenAI
97
+ - DeepSeek
98
+ - Google Gemini
99
+ - Google Vertex
100
+ - Amazon Bedrock
101
+ - Mistral
102
+ - Groq
103
+ - Cerebras
104
+ - Cloudflare AI Gateway
105
+ - Cloudflare Workers AI
106
+ - xAI
107
+ - OpenRouter
108
+ - Vercel AI Gateway
109
+ - ZAI
110
+ - OpenCode Zen
111
+ - OpenCode Go
112
+ - Hugging Face
113
+ - Fireworks
114
+ - Together AI
115
+ - Kimi For Coding
116
+ - MiniMax
117
+ - Xiaomi MiMo
118
+ - Xiaomi MiMo Token Plan (China)
119
+ - Xiaomi MiMo Token Plan (Amsterdam)
120
+ - Xiaomi MiMo Token Plan (Singapore)
121
+
122
+ See [docs/providers.md](docs/providers.md) for detailed setup instructions.
123
+
124
+ **Custom providers & models:** Add providers via `~/.elyra/agent/models.json` if they speak a supported API (OpenAI, Anthropic, Google). For custom APIs or OAuth, use extensions. See [docs/models.md](docs/models.md) and [docs/custom-provider.md](docs/custom-provider.md).
125
+
126
+ ---
127
+
128
+ ## Interactive Mode
129
+
130
+ <p align="center"><img src="docs/images/interactive-mode.png" alt="Interactive Mode" width="600"></p>
131
+
132
+ The interface from top to bottom:
133
+
134
+ - **Startup header** - Shows shortcuts (`/hotkeys` for all), loaded AGENTS.md files, prompt templates, skills, and extensions
135
+ - **Messages** - Your messages, assistant responses, tool calls and results, notifications, errors, and extension UI
136
+ - **Editor** - Where you type; border color indicates thinking level
137
+ - **Footer** - Working directory, session name, total token/cache usage, cost, context usage, current model
138
+
139
+ The editor can be temporarily replaced by other UI, like built-in `/settings` or custom UI from extensions (e.g., a Q&A tool that lets the user answer model questions in a structured format). [Extensions](#extensions) can also replace the editor, add widgets above/below it, a status line, custom footer, or overlays.
140
+
141
+ ### Editor
142
+
143
+ | Feature | How |
144
+ |---------|-----|
145
+ | File reference | Type `@` to fuzzy-search project files |
146
+ | Path completion | Tab to complete paths |
147
+ | Multi-line | Shift+Enter (or Ctrl+Enter on Windows Terminal) |
148
+ | Images | Ctrl+V to paste (Alt+V on Windows), or drag onto terminal |
149
+ | Bash commands | `!command` runs and sends output to LLM, `!!command` runs without sending |
150
+
151
+ Standard editing keybindings for delete word, undo, etc. See [docs/keybindings.md](docs/keybindings.md).
152
+
153
+ ### Commands
154
+
155
+ Type `/` in the editor to trigger commands. [Extensions](#extensions) can register custom commands, [skills](#skills) are available as `/skill:name`, and [prompt templates](#prompt-templates) expand via `/templatename`.
156
+
157
+ | Command | Description |
158
+ |---------|-------------|
159
+ | `/login`, `/logout` | OAuth authentication |
160
+ | `/model` | Switch models |
161
+ | `/scoped-models` | Enable/disable models for Ctrl+P cycling |
162
+ | `/settings` | Thinking level, theme, message delivery, transport |
163
+ | `/resume` | Pick from previous sessions |
164
+ | `/new` | Start a new session |
165
+ | `/name <name>` | Set session display name |
166
+ | `/session` | Show session info (file, ID, messages, tokens, cost) |
167
+ | `/tree` | Jump to any point in the session and continue from there |
168
+ | `/fork` | Create a new session from a previous user message |
169
+ | `/clone` | Duplicate the current active branch into a new session |
170
+ | `/compact [prompt]` | Manually compact context, optional custom instructions |
171
+ | `/copy` | Copy last assistant message to clipboard |
172
+ | `/export [file]` | Export session to HTML file |
173
+ | `/share` | Upload as private GitHub gist with shareable HTML link |
174
+ | `/reload` | Reload keybindings, extensions, skills, prompts, and context files (themes hot-reload automatically) |
175
+ | `/hotkeys` | Show all keyboard shortcuts |
176
+ | `/changelog` | Display version history |
177
+ | `/quit` | Quit elyra |
178
+
179
+ ### Keyboard Shortcuts
180
+
181
+ See `/hotkeys` for the full list. Customize via `~/.elyra/agent/keybindings.json`. See [docs/keybindings.md](docs/keybindings.md).
182
+
183
+ **Commonly used:**
184
+
185
+ | Key | Action |
186
+ |-----|--------|
187
+ | Ctrl+C | Clear editor |
188
+ | Ctrl+C twice | Quit |
189
+ | Escape | Cancel/abort |
190
+ | Escape twice | Open `/tree` |
191
+ | Ctrl+L | Open model selector |
192
+ | Ctrl+P / Shift+Ctrl+P | Cycle scoped models forward/backward |
193
+ | Shift+Tab | Cycle thinking level |
194
+ | Ctrl+O | Collapse/expand tool output |
195
+ | Ctrl+T | Collapse/expand thinking blocks |
196
+
197
+ ### Message Queue
198
+
199
+ Submit messages while the agent is working:
200
+
201
+ - **Enter** queues a *steering* message, delivered after the current assistant turn finishes executing its tool calls
202
+ - **Alt+Enter** queues a *follow-up* message, delivered only after the agent finishes all work
203
+ - **Escape** aborts and restores queued messages to editor
204
+ - **Alt+Up** retrieves queued messages back to editor
205
+
206
+ On Windows Terminal, `Alt+Enter` is fullscreen by default. Remap it in [docs/terminal-setup.md](docs/terminal-setup.md) so elyra can receive the follow-up shortcut.
207
+
208
+ Configure delivery in [settings](docs/settings.md): `steeringMode` and `followUpMode` can be `"one-at-a-time"` (default, waits for response) or `"all"` (delivers all queued at once). `transport` selects provider transport preference (`"sse"`, `"websocket"`, or `"auto"`) for providers that support multiple transports.
209
+
210
+ ---
211
+
212
+ ## Sessions
213
+
214
+ Sessions are stored as JSONL files with a tree structure. Each entry has an `id` and `parentId`, enabling in-place branching without creating new files. See [docs/session-format.md](docs/session-format.md) for file format.
215
+
216
+ ### Management
217
+
218
+ Sessions auto-save to `~/.elyra/agent/sessions/` organized by working directory.
219
+
220
+ ```bash
221
+ elyra -c # Continue most recent session
222
+ elyra -r # Browse and select from past sessions
223
+ elyra --no-session # Ephemeral mode (don't save)
224
+ elyra --session <path|id> # Use specific session file or ID
225
+ elyra --fork <path|id> # Fork specific session file or ID into a new session
226
+ ```
227
+
228
+ Use `/session` in interactive mode to see the current session ID before reusing it with `--session <id>` or `--fork <id>`.
229
+
230
+ ### Branching
231
+
232
+ **`/tree`** - Navigate the session tree in-place. Select any previous point, continue from there, and switch between branches. All history preserved in a single file.
233
+
234
+ <p align="center"><img src="docs/images/tree-view.png" alt="Tree View" width="600"></p>
235
+
236
+ - Search by typing, fold/unfold and jump between branches with Ctrl+←/Ctrl+→ or Alt+←/Alt+→, page with ←/→
237
+ - Filter modes (Ctrl+O): default → no-tools → user-only → labeled-only → all
238
+ - Press Shift+L to label entries as bookmarks and Shift+T to toggle label timestamps
239
+
240
+ **`/fork`** - Create a new session file from a previous user message on the active branch. Opens a selector, copies the active path up to that point, and places the selected prompt in the editor for modification.
241
+
242
+ **`/clone`** - Duplicate the current active branch into a new session file at the current position. The new session keeps the full active-path history and opens with an empty editor.
243
+
244
+ **`--fork <path|id>`** - Fork an existing session file or partial session UUID directly from the CLI. This copies the full source session into a new session file in the current project.
245
+
246
+ ### Compaction
247
+
248
+ Long sessions can exhaust context windows. Compaction summarizes older messages while keeping recent ones.
249
+
250
+ **Manual:** `/compact` or `/compact <custom instructions>`
251
+
252
+ **Automatic:** Enabled by default. Triggers on context overflow (recovers and retries) or when approaching the limit (proactive). Configure via `/settings` or `settings.json`.
253
+
254
+ Compaction is lossy. The full history remains in the JSONL file; use `/tree` to revisit. Customize compaction behavior via [extensions](#extensions). See [docs/compaction.md](docs/compaction.md) for internals.
255
+
256
+ ---
257
+
258
+ ## Settings
259
+
260
+ Use `/settings` to modify common options, or edit JSON files directly:
261
+
262
+ | Location | Scope |
263
+ |----------|-------|
264
+ | `~/.elyra/agent/settings.json` | Global (all projects) |
265
+ | `.elyra/settings.json` | Project (overrides global) |
266
+
267
+ See [docs/settings.md](docs/settings.md) for all options.
268
+
269
+ ### Telemetry and update checks
270
+
271
+ Elyra has two separate startup features:
272
+
273
+ - **Update check:** fetches `https://elyracode.app/api/latest-version` to check whether a newer Elyra version exists. Disable it with `ELYRA_SKIP_VERSION_CHECK=1`. Disabling update checks only turns off this check.
274
+ - **Install/update telemetry:** after first install or a changelog-detected update, sends an anonymous version ping to `https://elyracode.app/api/report-install`. Opt out by setting `enableInstallTelemetry` to `false` in `settings.json`, or by setting `ELYRA_TELEMETRY=0`. This does not disable update checks; Elyra may still contact `elyracode.app` for the latest version unless update checks are disabled or offline mode is enabled.
275
+
276
+ Use `--offline` or `ELYRA_OFFLINE=1` to disable all startup network operations described here, including update checks, package update checks, and install/update telemetry.
277
+
278
+ ---
279
+
280
+ ## Context Files
281
+
282
+ Elyra loads `AGENTS.md` (or `CLAUDE.md`) at startup from:
283
+ - `~/.elyra/agent/AGENTS.md` (global)
284
+ - Parent directories (walking up from cwd)
285
+ - Current directory
286
+
287
+ Use for project instructions, conventions, common commands. All matching files are concatenated.
288
+
289
+ Disable context file loading with `--no-context-files` (or `-nc`).
290
+
291
+ ### System Prompt
292
+
293
+ Replace the default system prompt with `.elyra/SYSTEM.md` (project) or `~/.elyra/agent/SYSTEM.md` (global). Append without replacing via `APPEND_SYSTEM.md`.
294
+
295
+ ---
296
+
297
+ ## Customization
298
+
299
+ ### Prompt Templates
300
+
301
+ Reusable prompts as Markdown files. Type `/name` to expand.
302
+
303
+ ```markdown
304
+ <!-- ~/.elyra/agent/prompts/review.md -->
305
+ Review this code for bugs, security issues, and performance problems.
306
+ Focus on: {{focus}}
307
+ ```
308
+
309
+ Place in `~/.elyra/agent/prompts/`, `.elyra/prompts/`, or a [elyra package](#elyra-packages) to share with others. See [docs/prompt-templates.md](docs/prompt-templates.md).
310
+
311
+ ### Skills
312
+
313
+ On-demand capability packages following the [Agent Skills standard](https://agentskills.io). Invoke via `/skill:name` or let the agent load them automatically.
314
+
315
+ ```markdown
316
+ <!-- ~/.elyra/agent/skills/my-skill/SKILL.md -->
317
+ # My Skill
318
+ Use this skill when the user asks about X.
319
+
320
+ ## Steps
321
+ 1. Do this
322
+ 2. Then that
323
+ ```
324
+
325
+ Place in `~/.elyra/agent/skills/`, `~/.agents/skills/`, `.elyra/skills/`, or `.agents/skills/` (from `cwd` up through parent directories) or a [elyra package](#elyra-packages) to share with others. See [docs/skills.md](docs/skills.md).
326
+
327
+ ### Extensions
328
+
329
+ <p align="center"><img src="docs/images/doom-extension.png" alt="Doom Extension" width="600"></p>
330
+
331
+ TypeScript modules that extend elyra with custom tools, commands, keyboard shortcuts, event handlers, and UI components.
332
+
333
+ ```typescript
334
+ export default function (elyra: ExtensionAPI) {
335
+ elyra.registerTool({ name: "deploy", ... });
336
+ elyra.registerCommand("stats", { ... });
337
+ elyra.on("tool_call", async (event, ctx) => { ... });
338
+ }
339
+ ```
340
+
341
+ The default export can also be `async`. elyra waits for async extension factories before startup continues, which is useful for one-time initialization such as fetching remote model lists before calling `elyra.registerProvider()`.
342
+
343
+ **What's possible:**
344
+ - Custom tools (or replace built-in tools entirely)
345
+ - Sub-agents and plan mode
346
+ - Custom compaction and summarization
347
+ - Permission gates and path protection
348
+ - Custom editors and UI components
349
+ - Status lines, headers, footers
350
+ - Git checkpointing and auto-commit
351
+ - SSH and sandbox execution
352
+ - MCP server integration
353
+ - Make elyra look like Claude Code
354
+ - Games while waiting (yes, Doom runs)
355
+ - ...anything you can dream up
356
+
357
+ Place in `~/.elyra/agent/extensions/`, `.elyra/extensions/`, or a [elyra package](#elyra-packages) to share with others. See [docs/extensions.md](docs/extensions.md) and [examples/extensions/](examples/extensions/).
358
+
359
+ ### Themes
360
+
361
+ Built-in: `dark`, `light`. Themes hot-reload: modify the active theme file and elyra immediately applies changes.
362
+
363
+ Place in `~/.elyra/agent/themes/`, `.elyra/themes/`, or a [elyra package](#elyra-packages) to share with others. See [docs/themes.md](docs/themes.md).
364
+
365
+ ### Elyra Packages
366
+
367
+ Bundle and share extensions, skills, prompts, and themes via npm or git. Find packages on [npmjs.com](https://www.npmjs.com/search?q=keywords%3Api-package) or [Discord](https://discord.com/channels/1456806362351669492/1457744485428629628).
368
+
369
+ > **Security:** Elyra packages run with full system access. Extensions execute arbitrary code, and skills can instruct the model to perform any action including running executables. Review source code before installing third-party packages.
370
+
371
+ ```bash
372
+ elyra install npm:@foo/elyra-tools
373
+ elyra install npm:@foo/elyra-tools@1.2.3 # pinned version
374
+ elyra install git:github.com/user/repo
375
+ elyra install git:github.com/user/repo@v1 # tag or commit
376
+ elyra install git:git@github.com:user/repo
377
+ elyra install git:git@github.com:user/repo@v1 # tag or commit
378
+ elyra install https://github.com/user/repo
379
+ elyra install https://github.com/user/repo@v1 # tag or commit
380
+ elyra install ssh://git@github.com/user/repo
381
+ elyra install ssh://git@github.com/user/repo@v1 # tag or commit
382
+ elyra remove npm:@foo/elyra-tools
383
+ elyra uninstall npm:@foo/elyra-tools # alias for remove
384
+ elyra list
385
+ elyra update # update elyra and packages (skips pinned packages)
386
+ elyra update --extensions # update packages only
387
+ elyra update --self # update elyra only
388
+ elyra update --self --force # reinstall elyra even if current
389
+ elyra update npm:@foo/elyra-tools # update one package
390
+ elyra config # enable/disable extensions, skills, prompts, themes
391
+ ```
392
+
393
+ Packages install to `~/.elyra/agent/git/` (git) or global npm. Use `-l` for project-local installs (`.elyra/git/`, `.elyra/npm/`). Git packages install dependencies with `npm install --omit=dev` by default, so runtime deps must be listed under `dependencies`; when `npmCommand` is configured, git packages use plain `install` for compatibility with wrappers. If you use a Node version manager and want package installs to reuse a stable npm context, set `npmCommand` in `settings.json`, for example `["mise", "exec", "node@20", "--", "npm"]`.
394
+
395
+ Create a package by adding a `elyra` key to `package.json`:
396
+
397
+ ```json
398
+ {
399
+ "name": "my-elyra-package",
400
+ "keywords": ["elyra-package"],
401
+ "elyra": {
402
+ "extensions": ["./extensions"],
403
+ "skills": ["./skills"],
404
+ "prompts": ["./prompts"],
405
+ "themes": ["./themes"]
406
+ }
407
+ }
408
+ ```
409
+
410
+ Without a `elyra` manifest, elyra auto-discovers from conventional directories (`extensions/`, `skills/`, `prompts/`, `themes/`).
411
+
412
+ See [docs/packages.md](docs/packages.md).
413
+
414
+ ---
415
+
416
+ ## Programmatic Usage
417
+
418
+ ### SDK
419
+
420
+ ```typescript
421
+ import { AuthStorage, createAgentSession, ModelRegistry, SessionManager } from "@elyracode/coding-agent";
422
+
423
+ const authStorage = AuthStorage.create();
424
+ const modelRegistry = ModelRegistry.create(authStorage);
425
+ const { session } = await createAgentSession({
426
+ sessionManager: SessionManager.inMemory(),
427
+ authStorage,
428
+ modelRegistry,
429
+ });
430
+
431
+ await session.prompt("What files are in the current directory?");
432
+ ```
433
+
434
+ For advanced multi-session runtime replacement, use `createAgentSessionRuntime()` and `AgentSessionRuntime`.
435
+
436
+ See [docs/sdk.md](docs/sdk.md) and [examples/sdk/](examples/sdk/).
437
+
438
+ ### RPC Mode
439
+
440
+ For non-Node.js integrations, use RPC mode over stdin/stdout:
441
+
442
+ ```bash
443
+ elyra --mode rpc
444
+ ```
445
+
446
+ RPC mode uses strict LF-delimited JSONL framing. Clients must split records on `\n` only. Do not use generic line readers like Node `readline`, which also split on Unicode separators inside JSON payloads.
447
+
448
+ See [docs/rpc.md](docs/rpc.md) for the protocol.
449
+
450
+ ---
451
+
452
+ ## Philosophy
453
+
454
+ Elyra is aggressively extensible so it doesn't have to dictate your workflow. Features that other tools bake in can be built with [extensions](#extensions), [skills](#skills), or installed from third-party [elyra packages](#elyra-packages). This keeps the core minimal while letting you shape elyra to fit how you work.
455
+
456
+ **No MCP.** Build CLI tools with READMEs (see [Skills](#skills)), or build an extension that adds MCP support. [Why?](https://mariozechner.at/posts/2025-11-02-what-if-you-dont-need-mcp/)
457
+
458
+ **No sub-agents.** There's many ways to do this. Spawn elyra instances via tmux, or build your own with [extensions](#extensions), or install a package that does it your way.
459
+
460
+ **No permission popups.** Run in a container, or build your own confirmation flow with [extensions](#extensions) inline with your environment and security requirements.
461
+
462
+ **No plan mode.** Write plans to files, or build it with [extensions](#extensions), or install a package.
463
+
464
+ **No built-in to-dos.** They confuse models. Use a TODO.md file, or build your own with [extensions](#extensions).
465
+
466
+ **No background bash.** Use tmux. Full observability, direct interaction.
467
+
468
+ Read the [blog post](https://mariozechner.at/posts/2025-11-30-elyra-coding-agent/) for the full rationale.
469
+
470
+ ---
471
+
472
+ ## CLI Reference
473
+
474
+ ```bash
475
+ elyra [options] [@files...] [messages...]
476
+ ```
477
+
478
+ ### Package Commands
479
+
480
+ ```bash
481
+ elyra install <source> [-l] # Install package, -l for project-local
482
+ elyra remove <source> [-l] # Remove package
483
+ elyra uninstall <source> [-l] # Alias for remove
484
+ elyra update [source|self|elyra] # Update elyra and packages (skips pinned packages)
485
+ elyra update --extensions # Update packages only
486
+ elyra update --self # Update elyra only
487
+ elyra update --self --force # Reinstall elyra even if current
488
+ elyra update --extension <src> # Update one package
489
+ elyra list # List installed packages
490
+ elyra config # Enable/disable package resources
491
+ ```
492
+
493
+ ### Modes
494
+
495
+ | Flag | Description |
496
+ |------|-------------|
497
+ | (default) | Interactive mode |
498
+ | `-p`, `--print` | Print response and exit |
499
+ | `--mode json` | Output all events as JSON lines (see [docs/json.md](docs/json.md)) |
500
+ | `--mode rpc` | RPC mode for process integration (see [docs/rpc.md](docs/rpc.md)) |
501
+ | `--export <in> [out]` | Export session to HTML |
502
+
503
+ In print mode, elyra also reads piped stdin and merges it into the initial prompt:
504
+
505
+ ```bash
506
+ cat README.md | elyra -p "Summarize this text"
507
+ ```
508
+
509
+ ### Model Options
510
+
511
+ | Option | Description |
512
+ |--------|-------------|
513
+ | `--provider <name>` | Provider (anthropic, openai, google, etc.) |
514
+ | `--model <pattern>` | Model pattern or ID (supports `provider/id` and optional `:<thinking>`) |
515
+ | `--api-key <key>` | API key (overrides env vars) |
516
+ | `--thinking <level>` | `off`, `minimal`, `low`, `medium`, `high`, `xhigh` |
517
+ | `--models <patterns>` | Comma-separated patterns for Ctrl+P cycling |
518
+ | `--list-models [search]` | List available models |
519
+
520
+ ### Session Options
521
+
522
+ | Option | Description |
523
+ |--------|-------------|
524
+ | `-c`, `--continue` | Continue most recent session |
525
+ | `-r`, `--resume` | Browse and select session |
526
+ | `--session <path\|id>` | Use specific session file or partial UUID |
527
+ | `--fork <path\|id>` | Fork specific session file or partial UUID into a new session |
528
+ | `--session-dir <dir>` | Custom session storage directory |
529
+ | `--no-session` | Ephemeral mode (don't save) |
530
+
531
+ ### Tool Options
532
+
533
+ | Option | Description |
534
+ |--------|-------------|
535
+ | `--tools <list>`, `-t <list>` | Allowlist specific tool names across built-in, extension, and custom tools |
536
+ | `--no-builtin-tools`, `-nbt` | Disable built-in tools by default but keep extension/custom tools enabled |
537
+ | `--no-tools`, `-nt` | Disable all tools by default |
538
+
539
+ Available built-in tools: `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`
540
+
541
+ ### Resource Options
542
+
543
+ | Option | Description |
544
+ |--------|-------------|
545
+ | `-e`, `--extension <source>` | Load extension from path, npm, or git (repeatable) |
546
+ | `--no-extensions` | Disable extension discovery |
547
+ | `--skill <path>` | Load skill (repeatable) |
548
+ | `--no-skills` | Disable skill discovery |
549
+ | `--prompt-template <path>` | Load prompt template (repeatable) |
550
+ | `--no-prompt-templates` | Disable prompt template discovery |
551
+ | `--theme <path>` | Load theme (repeatable) |
552
+ | `--no-themes` | Disable theme discovery |
553
+ | `--no-context-files`, `-nc` | Disable AGENTS.md and CLAUDE.md context file discovery |
554
+
555
+ Combine `--no-*` with explicit flags to load exactly what you need, ignoring settings.json (e.g., `--no-extensions -e ./my-ext.ts`).
556
+
557
+ ### Other Options
558
+
559
+ | Option | Description |
560
+ |--------|-------------|
561
+ | `--system-prompt <text>` | Replace default prompt (context files and skills still appended) |
562
+ | `--append-system-prompt <text>` | Append to system prompt |
563
+ | `--verbose` | Force verbose startup |
564
+ | `-h`, `--help` | Show help |
565
+ | `-v`, `--version` | Show version |
566
+
567
+ ### File Arguments
568
+
569
+ Prefix files with `@` to include in the message:
570
+
571
+ ```bash
572
+ elyra @prompt.md "Answer this"
573
+ elyra -p @screenshot.png "What's in this image?"
574
+ elyra @code.ts @test.ts "Review these files"
575
+ ```
576
+
577
+ ### Examples
578
+
579
+ ```bash
580
+ # Interactive with initial prompt
581
+ elyra "List all .ts files in src/"
582
+
583
+ # Non-interactive
584
+ elyra -p "Summarize this codebase"
585
+
586
+ # Non-interactive with piped stdin
587
+ cat README.md | elyra -p "Summarize this text"
588
+
589
+ # Different model
590
+ elyra --provider openai --model gpt-4o "Help me refactor"
591
+
592
+ # Model with provider prefix (no --provider needed)
593
+ elyra --model openai/gpt-4o "Help me refactor"
594
+
595
+ # Model with thinking level shorthand
596
+ elyra --model sonnet:high "Solve this complex problem"
597
+
598
+ # Limit model cycling
599
+ elyra --models "claude-*,gpt-4o"
600
+
601
+ # Read-only mode
602
+ elyra --tools read,grep,find,ls -p "Review the code"
603
+
604
+ # High thinking level
605
+ elyra --thinking high "Solve this complex problem"
606
+ ```
607
+
608
+ ### Environment Variables
609
+
610
+ | Variable | Description |
611
+ |----------|-------------|
612
+ | `ELYRA_CODING_AGENT_DIR` | Override config directory (default: `~/.elyra/agent`) |
613
+ | `ELYRA_CODING_AGENT_SESSION_DIR` | Override session storage directory (overridden by `--session-dir`) |
614
+ | `ELYRA_PACKAGE_DIR` | Override package directory (useful for Nix/Guix where store paths tokenize poorly) |
615
+ | `ELYRA_OFFLINE` | Disable startup network operations, including update checks, package update checks, and install/update telemetry |
616
+ | `ELYRA_SKIP_VERSION_CHECK` | Skip the Elyra version update check at startup. This prevents the `elyracode.app` latest-version request |
617
+ | `ELYRA_TELEMETRY` | Override install/update telemetry. Use `1`/`true`/`yes` to enable or `0`/`false`/`no` to disable. This does not disable update checks |
618
+ | `ELYRA_CACHE_RETENTION` | Set to `long` for extended prompt cache (Anthropic: 1h, OpenAI: 24h) |
619
+ | `VISUAL`, `EDITOR` | External editor for Ctrl+G |
620
+
621
+ ---
622
+
623
+ ## Contributing & Development
624
+
625
+ See [CONTRIBUTING.md](../../CONTRIBUTING.md) for guidelines and [docs/development.md](docs/development.md) for setup, forking, and debugging.
626
+
627
+ ---
628
+
629
+ ## License
630
+
631
+ MIT
632
+
633
+ ## See Also
634
+
635
+ - [@elyracode/ai](https://www.npmjs.com/package/@elyracode/ai): Core LLM toolkit
636
+ - [@elyracode/agent-core](https://www.npmjs.com/package/@elyracode/agent-core): Agent framework
637
+ - [@elyracode/tui](https://www.npmjs.com/package/@elyracode/tui): Terminal UI components
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/bun/cli.ts"],"names":[],"mappings":"","sourcesContent":["#!/usr/bin/env node\nimport { APP_NAME } from \"../config.js\";\n\nprocess.title = APP_NAME;\nprocess.emitWarning = (() => {}) as typeof process.emitWarning;\n\nimport { restoreSandboxEnv } from \"./restore-sandbox-env.js\";\n\nrestoreSandboxEnv();\n\nawait import(\"./register-bedrock.js\");\nawait import(\"../cli.js\");\n"]}
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ import { APP_NAME } from "../config.js";
3
+ process.title = APP_NAME;
4
+ process.emitWarning = (() => { });
5
+ import { restoreSandboxEnv } from "./restore-sandbox-env.js";
6
+ restoreSandboxEnv();
7
+ await import("./register-bedrock.js");
8
+ await import("../cli.js");
9
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/bun/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,CAAC,KAAK,GAAG,QAAQ,CAAC;AACzB,OAAO,CAAC,WAAW,GAAG,CAAC,GAAG,EAAE,CAAC,EAAC,CAAC,CAA+B,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,iBAAiB,EAAE,CAAC;AAEpB,MAAM,MAAM,CAAC,uBAAuB,CAAC,CAAC;AACtC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC","sourcesContent":["#!/usr/bin/env node\nimport { APP_NAME } from \"../config.js\";\n\nprocess.title = APP_NAME;\nprocess.emitWarning = (() => {}) as typeof process.emitWarning;\n\nimport { restoreSandboxEnv } from \"./restore-sandbox-env.js\";\n\nrestoreSandboxEnv();\n\nawait import(\"./register-bedrock.js\");\nawait import(\"../cli.js\");\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=register-bedrock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register-bedrock.d.ts","sourceRoot":"","sources":["../../src/bun/register-bedrock.ts"],"names":[],"mappings":"","sourcesContent":["import { setBedrockProviderModule } from \"@elyracode/ai\";\nimport { bedrockProviderModule } from \"@elyracode/ai/bedrock-provider\";\n\nsetBedrockProviderModule(bedrockProviderModule);\n"]}
@@ -0,0 +1,4 @@
1
+ import { setBedrockProviderModule } from "@elyracode/ai";
2
+ import { bedrockProviderModule } from "@elyracode/ai/bedrock-provider";
3
+ setBedrockProviderModule(bedrockProviderModule);
4
+ //# sourceMappingURL=register-bedrock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register-bedrock.js","sourceRoot":"","sources":["../../src/bun/register-bedrock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,wBAAwB,CAAC,qBAAqB,CAAC,CAAC","sourcesContent":["import { setBedrockProviderModule } from \"@elyracode/ai\";\nimport { bedrockProviderModule } from \"@elyracode/ai/bedrock-provider\";\n\nsetBedrockProviderModule(bedrockProviderModule);\n"]}