khala-cli 0.4.8 → 0.4.10

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 (53) hide show
  1. package/README.md +4 -4
  2. package/dist/THIRD_PARTY_NOTICES.txt +809 -0
  3. package/dist/chunk-2AMWQ7RB.mjs +1127 -0
  4. package/dist/chunk-3E5DH3Y6.mjs +9864 -0
  5. package/dist/{chunk-IQJQ4RF5.mjs → chunk-4BP7V3OP.mjs} +12 -1
  6. package/dist/{chunk-FV32AQTC.mjs → chunk-4BZQ4GVW.mjs} +10 -6
  7. package/dist/chunk-5JSGA6OB.mjs +1483 -0
  8. package/dist/chunk-6AQVW5W7.mjs +60 -0
  9. package/dist/{chunk-W6R4UJUQ.mjs → chunk-6J2PUM7L.mjs} +16 -9
  10. package/dist/chunk-6SUV3EW6.mjs +27 -0
  11. package/dist/{chunk-RNDUFTBF.mjs → chunk-ARIDZOTI.mjs} +499 -115
  12. package/dist/chunk-C2WEDMAF.mjs +15 -0
  13. package/dist/{chunk-Z4JF2M5C.mjs → chunk-CHC4VZF5.mjs} +9 -9
  14. package/dist/chunk-CKLCR5G4.mjs +1369 -0
  15. package/dist/chunk-EVT2DWNZ.mjs +58 -0
  16. package/dist/chunk-FJVVSKZ3.mjs +22 -0
  17. package/dist/{chunk-APMWDF6B.mjs → chunk-G3NMB4PY.mjs} +4 -2
  18. package/dist/chunk-HHEZVPRR.mjs +7 -0
  19. package/dist/{chunk-54XFVSEC.mjs → chunk-JKOJQTFT.mjs} +103 -5
  20. package/dist/{chunk-ZJ4W7P33.mjs → chunk-NDMFD5IM.mjs} +15 -10
  21. package/dist/{chunk-VKQ3KUYO.mjs → chunk-OEV5DFLW.mjs} +77 -7
  22. package/dist/chunk-OIZ4R5H7.mjs +173 -0
  23. package/dist/{chunk-CJTCU755.mjs → chunk-PJKI7SRI.mjs} +256 -26
  24. package/dist/chunk-PN25BUQ4.mjs +599 -0
  25. package/dist/chunk-QDPJ4VT2.mjs +432 -0
  26. package/dist/{chunk-2DHIAFEV.mjs → chunk-SRZTHCXP.mjs} +24 -10
  27. package/dist/chunk-TSK3HJEG.mjs +20 -0
  28. package/dist/chunk-UX34IVN5.mjs +33 -0
  29. package/dist/{chunk-BKLW2SPG.mjs → chunk-VAC3JTAV.mjs} +34 -17
  30. package/dist/{chunk-VAI7IUI4.mjs → chunk-VDZK4LW3.mjs} +30 -12
  31. package/dist/chunk-W6HM6F2U.mjs +901 -0
  32. package/dist/{chunk-H3K4GA2P.mjs → chunk-WPNMWNCL.mjs} +33 -21
  33. package/dist/chunk-WUDXHF2Q.mjs +14 -0
  34. package/dist/chunk-WZJ6DQJV.mjs +19 -0
  35. package/dist/{chunk-5LIE5GUU.mjs → chunk-XR625T3I.mjs} +5 -1
  36. package/dist/chunk-ZSKLNZWZ.mjs +224 -0
  37. package/dist/iterm2_send.py +56 -0
  38. package/dist/khala.mjs +20 -13
  39. package/dist/web/assets/local-CSPuGnH2.css +1 -0
  40. package/dist/web/assets/local-Dtyxaacx.js +9 -0
  41. package/dist/web/index.html +2 -2
  42. package/package.json +5 -3
  43. package/dist/chunk-2VCAW4GH.mjs +0 -34
  44. package/dist/chunk-5BQTYU66.mjs +0 -886
  45. package/dist/chunk-5GLTKWJ5.mjs +0 -1
  46. package/dist/chunk-5PUQT3YS.mjs +0 -569
  47. package/dist/chunk-7HBRFY3Z.mjs +0 -8
  48. package/dist/chunk-CBPLCCRZ.mjs +0 -191
  49. package/dist/chunk-FH34B3I3.mjs +0 -235
  50. package/dist/chunk-NKX3SLS7.mjs +0 -227
  51. package/dist/chunk-VUSV2ADL.mjs +0 -267
  52. package/dist/web/assets/local-BQl2KrE1.js +0 -9
  53. package/dist/web/assets/local-OwDq47O4.css +0 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  The `khala` command connects your existing Claude Code, Codex, Cursor or OpenCode session to a
4
4
  [Khala](https://khala.aiur.team) channel: an MCP server (`khala_join`, `khala_status`,
5
5
  `khala_read`, `khala_send`, `khala_event`), delivery hooks that bring channel messages into
6
- the session, and local channels on this computer. Requires Node 22 or newer.
6
+ the session, and local channels on this computer. Requires Node 22.18 or later in the 22.x series, or Node 24.11 or newer.
7
7
 
8
8
  ## Claude Code
9
9
 
@@ -35,7 +35,7 @@ npx -y khala-cli install cursor
35
35
  On Windows, run it in PowerShell or Command Prompt, not WSL. This installs the CLI under
36
36
  `~/.local/share/khala/npm` (`%LOCALAPPDATA%\khala\npm` on Windows), adds a `khala` server to
37
37
  `~/.cursor/mcp.json` and three delivery hooks to `~/.cursor/hooks.json`, keeping everything
38
- else and saving the originals as `*.khala-bak`. Restart Cursor (or toggle `khala` off and on
38
+ else; uninstall restores the original files byte for byte. Restart Cursor (or toggle `khala` off and on
39
39
  under Settings → MCP). Undo with `npx -y khala-cli install cursor --uninstall`. Cursor
40
40
  cannot wake an idle chat; new messages arrive when a chat finishes a turn (Sync) or after a
41
41
  tool call (Steer).
@@ -49,8 +49,8 @@ npx -y khala-cli install opencode
49
49
  This installs a stable CLI and, when published on npm, pins `khala-opencode` at the same version in the global
50
50
  `~/.config/opencode/opencode.json` (or under `XDG_CONFIG_HOME`). The plugin registers
51
51
  Khala's MCP server. If the version is unpublished or the registry check fails, it configures
52
- MCP-only mode (Async, no wake); re-run `khala install opencode` after updating. Existing
53
- `opencode.jsonc` files require a manual merge or conversion to JSON before retrying. Restart OpenCode after installation. Existing settings and sibling
52
+ MCP-only mode (Async, no wake); re-run `khala install opencode` after updating.
53
+ Plain-JSON `opencode.jsonc` files, including OpenCode’s auto-created schema-only config, are updated in place when `opencode.json` is absent. If both config files exist, install and uninstall refuse without changing files or installing the CLI; merge or remove Khala manually, or combine your settings into one config and remove the other before retrying. JSONC with comments or other non-JSON syntax requires a manual merge or conversion to JSON before retrying. Restart OpenCode after installation. Existing settings and sibling
54
54
  plugins are preserved. Undo with `npx -y khala-cli install opencode --uninstall`.
55
55
 
56
56
  For unpublished-build testing only, `KHALA_INSTALL_SPEC` selects a CLI tarball and