@neta-art/cohub-cli 10.1.0 → 10.3.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 +12 -4
- package/dist/board-kernel.js +2128 -1705
- package/dist/command-input.d.ts +4 -0
- package/dist/command-input.js +16 -0
- package/dist/commands/app-commerce.js +1 -3
- package/dist/commands/boards.js +17 -12
- package/dist/commands/decision.d.ts +4 -0
- package/dist/commands/decision.js +113 -0
- package/dist/commands/rooms-connect.d.ts +17 -0
- package/dist/commands/rooms-connect.js +140 -0
- package/dist/commands/rooms-rtc-binary.d.ts +2 -0
- package/dist/commands/rooms-rtc-binary.js +107 -0
- package/dist/commands/rooms-rtc.d.ts +21 -0
- package/dist/commands/rooms-rtc.js +171 -0
- package/dist/commands/rooms.js +45 -0
- package/dist/commands/sandboxd-binary.d.ts +1 -1
- package/dist/commands/sandboxd-binary.js +1 -1
- package/dist/commands/spaces.js +4 -15
- package/dist/index.js +2 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -96,8 +96,8 @@ cohub -s <spaceId> run -- git status
|
|
|
96
96
|
|
|
97
97
|
Space-scoped commands use `-s`, then `COHUB_SPACE_ID`, then the Space remembered for
|
|
98
98
|
the current directory. `<space>` is a Space ID, a slug you own such as `home`, or
|
|
99
|
-
`username/slug`. Only `prompt`, `completion`, `generate`, `apps`, and
|
|
100
|
-
back to your Home Space; other commands exit with an error when no target is given:
|
|
99
|
+
`username/slug`. Only `prompt`, `completion`, `decision`, `generate`, `apps`, and
|
|
100
|
+
`public` fall back to your Home Space; other commands exit with an error when no target is given:
|
|
101
101
|
|
|
102
102
|
```bash
|
|
103
103
|
cohub -s <spaceId> spaces prompt "message" --json
|
|
@@ -452,8 +452,16 @@ cohub apps resolve <appSlug> --owner <username> --space-slug <spaceSlug>
|
|
|
452
452
|
|
|
453
453
|
Use `--json` for machine-readable output. `apps get`, `apps stats`, and `apps download` also accept `app://<username>/<space>/<app>` mention URIs. `apps stats` reports total, 24-hour, 7-day, and 30-day views with a source breakdown. Download restores newly published file and directory artifacts directly from the CDN with checksum verification. HTML files with companion assets are restored as directory bundles; Board and port apps are not downloadable. The resolve command remains available for explicit slug-based lookup.
|
|
454
454
|
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
Agents can join hosted Rooms and attach realtime events or media:
|
|
456
|
+
|
|
457
|
+
```bash
|
|
458
|
+
cohub rooms join '<invite>'
|
|
459
|
+
cohub rooms connect <room-id> --json
|
|
460
|
+
cohub rooms rtc <room-id> --channel chat --data-input -
|
|
461
|
+
cohub rooms rtc <room-id> --audio speech.pcm --output ./received
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
RTC uses an on-demand Go/Pion helper, with external FFmpeg only when media conversion is needed. Encoded Ogg Opus and VP8 IVF inputs avoid re-encoding. Reception defaults to framed RTP archives; `--receive-format raw` decodes PCM/I420 for models. `--output -` writes binary frames to stdout and status to stderr. Recording is explicit, files are never overwritten, and the default receive quota is 1 GiB. Disconnecting keeps the hosted seat. See [Room RTC helper](../../apps/sandbox/cmd/cohub-rtc/README.md) for local builds, formats, migration details, and release prerequisites.
|
|
457
465
|
|
|
458
466
|
## Drive the Cohub UI
|
|
459
467
|
|