@neta-art/cohub-cli 10.25.0 → 10.25.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.
package/dist/build.json CHANGED
@@ -1 +1 @@
1
- {"commit":"ed87432","rootCommands":[["auth","Authentication management"],["boards","Read, write, animate and export Boards (by id or .board path)"],["profile","Manage your profile"],["me","Account-level data across your spaces"],["prompt [options] [content...]","Send or schedule a prompt in a space"],["completion [options] [content...]","Raw LLM completion with full message control"],["decision [options] [state...]","Answer yes/no, choice and score questions about text or images"],["spaces","Space management"],["labels","Manage personal labels"],["runtime","Connect a local workspace"],["generate [options] [prompt]","Generate multimodal outputs"],["models","List available LLM and multimodal models"],["prompts","Prompt template management"],["public","Upload and manage public Space files"],["skills","Skill management"],["search [options] [query]","Search spaces, chats, and label items"],["references","Inspect resource references (forks, mentions, tool calls, mods, file access)"],["referrals [options]","View and manage your referral link"],["tasks","Task runs"],["cron-jobs","Scheduled jobs"],["apps|works","App management"],["rooms","Take part in App rooms: join, read and publish events, set presence"],["feedback [options] [message...]","Send feedback or a bug report to the Cohub team"],["desktop","Drive the Cohub desktop that started this chat"],["version [options]","This CLI, the cohub on PATH, and the versions running Runtimes serve"]]}
1
+ {"commit":"240a53c","rootCommands":[["auth","Authentication management"],["boards","Read, write, animate and export Boards (by id or .board path)"],["profile","Manage your profile"],["me","Account-level data across your spaces"],["prompt [options] [content...]","Send or schedule a prompt in a space"],["completion [options] [content...]","Raw LLM completion with full message control"],["decision [options] [state...]","Answer yes/no, choice and score questions about text or images"],["spaces","Space management"],["labels","Manage personal labels"],["runtime","Connect a local workspace"],["generate [options] [prompt]","Generate multimodal outputs"],["models","List available LLM and multimodal models"],["prompts","Prompt template management"],["public","Upload and manage public Space files"],["skills","Skill management"],["search [options] [query]","Search spaces, chats, and label items"],["references","Inspect resource references (forks, mentions, tool calls, mods, file access)"],["referrals [options]","View and manage your referral link"],["tasks","Task runs"],["cron-jobs","Scheduled jobs"],["apps|works","App management"],["rooms","Take part in App rooms: join, read and publish events, set presence"],["feedback [options] [message...]","Send feedback or a bug report to the Cohub team"],["desktop","Drive the Cohub desktop that started this chat"],["version [options]","This CLI, the cohub on PATH, and the versions running Runtimes serve"]]}
@@ -0,0 +1,5 @@
1
+ //#region src/binary-pins.ts
2
+ const SANDBOXD_VERSION = "v2.96.0";
3
+ const RTC_HELPER_VERSION = "v2.96.0";
4
+ //#endregion
5
+ export { SANDBOXD_VERSION as n, RTC_HELPER_VERSION as t };
@@ -1,5 +1,6 @@
1
1
  import { r as createRealtimeClient } from "./client.js";
2
2
  import { s as HttpError } from "./app-realtime.js";
3
+ import "./binary-pins.js";
3
4
  import { r as readRoomLines } from "./rooms-connect2.js";
4
5
  import { spawn } from "node:child_process";
5
6
  import { homedir } from "node:os";
@@ -10,6 +11,7 @@ import { Readable, Transform } from "node:stream";
10
11
  import { chmod, lstat, mkdir, mkdtemp, readFile, rename, rm, writeFile } from "node:fs/promises";
11
12
  import { pipeline } from "node:stream/promises";
12
13
  import { createGunzip } from "node:zlib";
14
+ //#region src/commands/rooms-rtc-binary.ts
13
15
  const MAX_BINARY_BYTES = 134217728;
14
16
  async function digest(path) {
15
17
  const hash = createHash("sha256");
@@ -49,7 +51,7 @@ async function ensureRtcBinary(local) {
49
51
  arm64: "arm64"
50
52
  }[process.arch];
51
53
  if (!platform || !arch) throw new Error("Unsupported RTC helper platform; use --helper with a local binary");
52
- const version = process.env.COHUB_RTC_VERSION?.trim() || "v2.68.0";
54
+ const version = process.env.COHUB_RTC_VERSION?.trim() || "v2.96.0";
53
55
  if (!version) throw new Error("No RTC helper release is pinned yet; use --helper or COHUB_RTC_VERSION with a published global release");
54
56
  if (!/^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$/.test(version)) throw new Error("Invalid RTC helper version");
55
57
  const directory = join(homedir(), ".cache", "cohub", "rtc", version, `${platform}-${arch}`);
@@ -4,6 +4,7 @@ import { a as runtimeCapabilitiesSchema, b as assertHarnessAccess, c as runtimeH
4
4
  import { F as AuthRequiredError, P as describeError, W as resolveAccessToken, Y as readRuntimeSpaceBindings, c as ownRuntimeInstance, h as currentIdentityKey, o as UNCONFIRMED_WORK, t as createClient, u as runtimeInstanceDirectory } from "./client.js";
5
5
  import { A as formatVersion, B as closeHost, E as CodexShared, F as piTranslator, G as RuntimeDiagnostics, H as ProcessCleanupUncertainError, I as ArchiveNotRestorableError, J as serializeDiagnosticError, L as PI_MIN_VERSION, M as SizeLimitError, N as LiveProgress, P as codexTranslator, R as PiLink, S as harnessAdapter, U as confirmQuiescentProcessGroup, V as record$1, Y as serializeProjectionRecords, a as NativeIngest, b as atomicRuntimeJson, c as runtimeStateRoot, d as createDiagnosticConsole, j as harnessVersion, k as atLeast, n as piExtensionSource, r as piExtensionState, s as readNativeConfig, v as readTranscript, w as refreshHarnesses, x as discoverHarnesses, y as RuntimeArchiveStore, z as controlSocketPath } from "./install.js";
6
6
  import { d as resolveWebsocketUrl } from "./environment.js";
7
+ import "./binary-pins.js";
7
8
  import { t as readRuntimePreferences } from "./preferences.js";
8
9
  import { spawn } from "node:child_process";
9
10
  import { homedir, tmpdir } from "node:os";
@@ -17,6 +18,7 @@ import { PassThrough, Readable } from "node:stream";
17
18
  import { chmod, copyFile, lstat, mkdir, mkdtemp, readFile, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
18
19
  import { pipeline } from "node:stream/promises";
19
20
  import { isDeepStrictEqual } from "node:util";
21
+ //#region src/commands/sandboxd-binary.ts
20
22
  const BINARY_NAME = "cohub-sandboxd";
21
23
  const binaryName = (goos) => goos === "windows" ? `${BINARY_NAME}.exe` : BINARY_NAME;
22
24
  const cdnBaseUrl = () => (process.env.COHUB_SANDBOXD_CDN_BASE_URL?.trim() || "https://public.cohub.live/sandboxd").replace(/\/+$/, "");
@@ -209,7 +211,7 @@ const ensureSandboxdBinary = async (options = {}) => {
209
211
  if (!await isExecutableFile(override)) throw new SandboxdDownloadError(`COHUB_SANDBOXD_BIN=${override} is not a file`);
210
212
  return override;
211
213
  }
212
- const version = options.version?.trim() || "v2.95.0";
214
+ const version = options.version?.trim() || "v2.96.0";
213
215
  const target = resolveTarget();
214
216
  const cached = cachedBinaryPath(version, target);
215
217
  if (await isExecutableFile(cached)) return cached;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neta-art/cohub-cli",
3
- "version": "10.25.0",
3
+ "version": "10.25.1",
4
4
  "description": "CLI for Cohub — spaces, sessions, and agent collaboration.",
5
5
  "type": "module",
6
6
  "engines": {