@neta-art/cohub-cli 10.7.0 → 10.8.1

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 (37) hide show
  1. package/README.md +4 -4
  2. package/dist/board-kernel.js +276 -214
  3. package/dist/commands/boards/examples.js +16 -16
  4. package/dist/commands/boards.js +1 -1
  5. package/dist/commands/runtime.js +3 -14
  6. package/dist/runtime/connection.js +161 -54
  7. package/dist/runtime/harnesses/chained-transcript.d.ts +24 -0
  8. package/dist/runtime/harnesses/chained-transcript.js +62 -0
  9. package/dist/runtime/harnesses/claude-transcript.d.ts +8 -0
  10. package/dist/runtime/harnesses/claude-transcript.js +138 -0
  11. package/dist/runtime/harnesses/claude.js +20 -2
  12. package/dist/runtime/harnesses/codex.js +1 -1
  13. package/dist/runtime/harnesses/cursor-transcript.d.ts +37 -0
  14. package/dist/runtime/harnesses/cursor-transcript.js +183 -0
  15. package/dist/runtime/harnesses/cursor.d.ts +24 -0
  16. package/dist/runtime/harnesses/cursor.js +620 -0
  17. package/dist/runtime/harnesses/index.d.ts +1 -3
  18. package/dist/runtime/harnesses/index.js +4 -10
  19. package/dist/runtime/harnesses/pi.js +1 -1
  20. package/dist/runtime/harnesses/stream-json.d.ts +5 -1
  21. package/dist/runtime/harnesses/stream-json.js +31 -9
  22. package/dist/runtime/harnesses/types.d.ts +10 -5
  23. package/dist/runtime/harnesses/workbuddy-transcript.d.ts +8 -0
  24. package/dist/runtime/harnesses/workbuddy-transcript.js +127 -0
  25. package/dist/runtime/harnesses/workbuddy.d.ts +1 -1
  26. package/dist/runtime/harnesses/workbuddy.js +31 -7
  27. package/dist/runtime/json-rpc.d.ts +2 -0
  28. package/dist/runtime/json-rpc.js +9 -0
  29. package/dist/runtime/native/attach.d.ts +1 -1
  30. package/dist/runtime/native/attach.js +1 -4
  31. package/dist/runtime/native/execution.js +14 -3
  32. package/dist/runtime/native/ingest.d.ts +24 -2
  33. package/dist/runtime/native/ingest.js +76 -10
  34. package/dist/runtime/native/sessions.js +6 -1
  35. package/dist/runtime/native/transcript.d.ts +23 -0
  36. package/dist/runtime/native/transcript.js +40 -5
  37. package/package.json +3 -3
package/README.md CHANGED
@@ -137,8 +137,8 @@ cohub -s home spaces files ls
137
137
 
138
138
  ## Local Runtime
139
139
 
140
- Connect one local workspace to a Space and select Pi, Codex, Claude Code or WorkBuddy per turn.
141
- Claude Code (`claude`) and WorkBuddy (`codebuddy`) run Cohub Turns only; terminal sync covers Pi and Codex.
140
+ Connect one local workspace to a Space and select Pi, Codex, Claude Code, WorkBuddy or Cursor per turn.
141
+ Terminal conversations of every harness sync to the Space; Claude Code (`claude`), WorkBuddy (`codebuddy`) and Cursor (`cursor-agent`) sync read-only.
142
142
  Without `--harness`, every installed harness is tried; one that cannot start is skipped with a warning.
143
143
 
144
144
  To keep using native terminals with ordinary Cohub Chats / Turns:
@@ -181,7 +181,7 @@ are never uploaded automatically. Use `runtime logs --json` to export a failure
181
181
  events carry the local `runtimeId` plus server `requestId` / `traceparent` when a turn has
182
182
  reached the Agent trace.
183
183
 
184
- The Runtime uses WebSockets, native Pi RPC / Codex app-server / Claude Code stream-json, and existing cloud
184
+ The Runtime uses WebSockets, native Pi RPC / Codex app-server / Claude Code and Cursor stream-json, and existing cloud
185
185
  streaming. Local executables and credentials are required. `sandbox up` has been
186
186
  removed. Reconnection and result reconciliation are automatic; no recovery command is needed.
187
187
  When a result genuinely cannot be determined, the affected Chat offers an explicit stop
@@ -319,7 +319,7 @@ Use the filters so a large Board is not read whole:
319
319
  ```bash
320
320
  cohub -s <spaceId> boards get <boardId> --items title,note
321
321
  cohub -s <spaceId> boards get <boardId> --within s1
322
- cohub -s <spaceId> boards get <boardId> --rect 0,0,1600,900
322
+ cohub -s <spaceId> boards get <boardId> --rect 0,0,960,540
323
323
  ```
324
324
 
325
325
  Start from an example and write it with `apply`, a JSON Merge Patch where fields