@neta-art/cohub-cli 10.6.0 → 10.8.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.
- package/README.md +8 -5
- package/dist/board-kernel.js +207 -119
- package/dist/commands/boards/examples.js +16 -16
- package/dist/commands/boards.js +1 -1
- package/dist/commands/generations.js +23 -2
- package/dist/commands/runtime.js +3 -14
- package/dist/runtime/harnesses/chained-transcript.d.ts +24 -0
- package/dist/runtime/harnesses/chained-transcript.js +62 -0
- package/dist/runtime/harnesses/claude-transcript.d.ts +8 -0
- package/dist/runtime/harnesses/claude-transcript.js +138 -0
- package/dist/runtime/harnesses/claude.js +79 -2
- package/dist/runtime/harnesses/codex.js +1 -1
- package/dist/runtime/harnesses/cursor-transcript.d.ts +37 -0
- package/dist/runtime/harnesses/cursor-transcript.js +183 -0
- package/dist/runtime/harnesses/cursor.d.ts +24 -0
- package/dist/runtime/harnesses/cursor.js +620 -0
- package/dist/runtime/harnesses/index.d.ts +1 -3
- package/dist/runtime/harnesses/index.js +4 -10
- package/dist/runtime/harnesses/pi.js +1 -1
- package/dist/runtime/harnesses/stream-json.d.ts +7 -1
- package/dist/runtime/harnesses/stream-json.js +35 -12
- package/dist/runtime/harnesses/types.d.ts +10 -5
- package/dist/runtime/harnesses/workbuddy-transcript.d.ts +8 -0
- package/dist/runtime/harnesses/workbuddy-transcript.js +127 -0
- package/dist/runtime/harnesses/workbuddy.d.ts +1 -1
- package/dist/runtime/harnesses/workbuddy.js +31 -7
- package/dist/runtime/json-rpc.d.ts +2 -0
- package/dist/runtime/json-rpc.js +9 -0
- package/dist/runtime/native/attach.d.ts +1 -1
- package/dist/runtime/native/attach.js +1 -4
- package/dist/runtime/native/execution.js +14 -3
- package/dist/runtime/native/ingest.d.ts +14 -0
- package/dist/runtime/native/ingest.js +51 -5
- package/dist/runtime/native/sessions.js +6 -1
- package/dist/runtime/native/transcript.d.ts +19 -0
- package/dist/runtime/native/transcript.js +33 -2
- 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
|
|
141
|
-
Claude Code (`claude`)
|
|
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,
|
|
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
|
|
@@ -404,6 +404,8 @@ cohub generate "Lip-sync to this spoken take" \
|
|
|
404
404
|
--image reference_image=https://example.com/portrait.png \
|
|
405
405
|
--audio reference_audio=https://example.com/speech.mp3
|
|
406
406
|
|
|
407
|
+
cohub generate -m song2 --text "prompt=upbeat synthwave" --text "lyrics=[Verse] Neon lights" --param seed=42
|
|
408
|
+
|
|
407
409
|
cohub generate "a calm lake" \
|
|
408
410
|
--model <model> \
|
|
409
411
|
--async
|
|
@@ -414,6 +416,7 @@ cohub tasks get <taskRunId> --json
|
|
|
414
416
|
Supported inputs:
|
|
415
417
|
|
|
416
418
|
```bash
|
|
419
|
+
--text <role>=<text>
|
|
417
420
|
--image <path-or-url>
|
|
418
421
|
--image first_frame=<path-or-url>
|
|
419
422
|
--image last_frame=<path-or-url>
|
|
@@ -424,7 +427,7 @@ Supported inputs:
|
|
|
424
427
|
--audio reference_audio=<path-or-url>
|
|
425
428
|
```
|
|
426
429
|
|
|
427
|
-
Role-qualified
|
|
430
|
+
Role-qualified values add `meta.role` to that content block. Text roles come from the model's text inputs (`cohub models show <model>`); repeat `--text <role>=<text>` for each text block. Repeat `--image reference_image=...` for multiple reference images. Seedance role-qualified media should use public URL inputs. Do not mix first/last frame roles with reference roles (`reference_image`, `reference_video`, `reference_audio`) in one request.
|
|
428
431
|
|
|
429
432
|
Pass generation parameters with `--param key=value` or `--parameters '<json>'`.
|
|
430
433
|
|