diff --git a/CHANGELOG.md b/CHANGELOG.md index 8acf1843..32c4977d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ All notable changes to Cyber Code are recorded here. The format follows [Keep a ## [Unreleased] +## [0.1.0] - 2026-11-22 + +The first stable release, for macOS and Linux. Since 0.1.0-beta.2 it adds: + ### Added - An isolated subagent's worktree now starts from the parent checkout's uncommitted work: staged, unstaged and untracked non-ignored files, deletions and renames are committed in the child's checkout as its base, so its result still shows only its own changes (and now reports `base`). Files the Session may not read (`.env` by default) and ignored files stay behind, `.worktreeinclude` is unchanged, and `worktrees.carry_limit_mb` (default 100, `0` off) caps the total. @@ -15,20 +19,37 @@ All notable changes to Cyber Code are recorded here. The format follows [Keep a - Computer use reports a platform-neutral capability report (schema version 2): a derived mode (`unsupported`, `capture_only`, `input_enabled`), stable reason codes, authority kind, honored selectors and the support evidence level, alongside the existing macOS fields. Receipts add platform, grant, target and frame references, a reason, cleanup state and timestamps; HTTP errors add a `reason` code. `cyber computer allow --preview --yes` confirms a printed review by its identifier. - `cyber exec --format stream-json --include-hook-events` adds a `hook_event` line for each hook that ran for the run's Session (hook ID, event, scope, outcome, decision, duration, and the tool call it guarded), before the line of what it gated. Hook input, output, reasons and environment are never included. The instance event stream carries the underlying `session.hook.receipt` summaries when asked with `include=hook_receipts`, and so does a Session's event stream (`/sessions/{id}/events`) for that Session's own receipts, which `--input-format stream-json` runs follow. - The `auto` reviewer can check context before deciding with read-only tools: `transcript_search` over the Session's history, and `read_file`/`grep_files` over the Location under the Session's own read rules (`.env`, `deny_read` globs, secret files and paths outside the Location stay unreadable). Results arrive as framed untrusted data; budgets are 8 calls, 16 KiB per result, 64 KiB per review and 5 s per call. A bare "yes"/"go ahead" reaches the reviewer together with the assistant question it answers. `permission.auto_decided.1` records `reviewer_tools` and `confirmation`; `cyber permissions auto show` adds `reviewer tool calls`. +- Repository map: a ranked, token-budgeted map of the repository's files and definitions built with tree-sitter (Rust, Python, JavaScript, TypeScript, Go, C, C++, Java, Solidity and Bash) and cached per repository. The read-only `repo_map` tool is offered in plan mode and untrusted checkouts too, and hides read-denied files; in trusted checkouts the map is pinned into the baseline context as the `core/repo-map` source (marked `pinned` in `/context`). `repo_map` in config and profiles sets the token budgets; `cyber lsp map`, `GET /api/v1/lsp/map`, `POST /api/v1/lsp/map/rebuild` and TUI `/map` inspect it. The index is never included in backups or exports. +- Native Gemini API adapter behind the experimental `features.gemini` (off by default): `google/*` models stream from `streamGenerateContent` with the key in `x-goog-api-key` (`GEMINI_API_KEY`, then `GOOGLE_GENERATIVE_AI_API_KEY`, then `GOOGLE_API_KEY`), thought signatures are replayed byte-exact, `thinkingLevel`/`thinkingBudget` follow the model, and safety blocks and `google.rpc` quota details map to content-filter, rate-limit and quota errors. Custom providers can use it with `api.type: "gemini"`. `/login google` points to an API key; subscription login is not supported. +- Planner and executor models: `model_roles.plan` names a planner that runs a top-level Session's Turns while it is in plan mode; once the plan is approved (or the Mode changes) the next Turn runs on the Session's own model with the approved plan text, never the planner's reasoning. `/model` while planning overrides the planner for that phase. The TUI footer shows `planner: `, and steps record `model_role: "plan"`. Unset, nothing changes. +- VS Code extension (`clients/vscode`): a panel bound to a Session per workspace folder with streaming, prompt, interrupt, Mode and model; the active file or selection sent as a ranged `file` part; approvals answered from a read-only diff review in the editor; and terminal handoff. It connects only to the local server over its Unix socket or loopback and authenticates with an IDE token only. Each release attaches an unsigned `cyber-.vsix` and its `.sha256`; the extension is not on the Marketplace yet. +- Local IDE tokens: `cyber ide token create --client vscode [--name] [--expires ]`, `list` and `revoke`, and `POST|GET|DELETE /api/v1/ide/tokens`. A token (`cyi_…`, 30-day default expiry, one per client, stored hashed) is accepted only from loopback or the Unix socket and only on an allowlist of operations; it cannot create a `bypass` or `dont-ask` Session, mint tokens or reach schedules. `cyber service password` revokes every token. +- Ranged `file` prompt parts: `file { path, range: { start_line, end_line } }` admits only those lines after the usual read checks, and UTF-8 text files are now admitted as `` blocks (before, a text `file` part was refused as unsupported media). The TUI sends `@path#Lx-y` mentions as ranged parts to a local server. +- In-session cron tasks: the model's `cron_create` (a 5-field cron expression in local time, or a one-shot `at`), `cron_list` and `cron_delete`, offered only to root Sessions outside Workflow Runs. Tasks are Session-scoped `cron` loops that share `loops.max_per_session` and the loop budgets, follow `missed: skip|run-once` on resume, and never create a persistent schedule. +- Loop additions: `/loop --until-goal` stops the loop once the Session's current Goal ends, `--notify always|on_change|never` (default `on_change`) sends Session notifications for changed or failed iterations, the observational `LoopIteration` hook fires after each iteration, and `/loop list` shows the pace, next run and stop conditions. +- Persistent schedules: `cyber loops add --cron "" ""` with `list`, `show`, `pause`, `resume`, `run` and `rm`, run by `cyber service` with no client open, in a new or given Session. Runs default to `dont-ask` (an ask the run cannot answer is denied and the run continues), `bypass` needs `loops.allow_bypass` from user or managed config, directories must exist and be trusted (checked again before every run), and the model cannot create schedules. Each schedule gets a deterministic jitter (`loops.jitter_seconds`, default 60), budgets across runs, `--missed skip|run-once`, desktop notifications (macOS and Linux), a `schedule.run.1` record and the `ScheduleRun` hook. +- Path-scoped project rules: `.cyber/rules` and `.claude/rules` definitions (held until the checkout is trusted) are delivered once per Context Epoch after a matching read, edit or patch, and withdrawn when their approval is revoked or the file changes. `/context` and `GET /sessions/{id}/context` inspect every context source with token estimates, pending hook context and compaction, delivered and withheld rules and a next-request estimate; instruction files refused as `outside_project` or `read_denied` are listed there and in `cyber doctor`. ### Changed - A key chord that computer use refuses (for example Command+C under an application grant) is now refused with `key_chord_refused` before anything is recorded or sent, and the grant stays armed. Before, it was recorded, failed in the native adapter, settled as an unknown operation and stopped the grant. The set of allowed and refused chords on macOS is unchanged. - In `auto`, a plain read under the enforced OS sandbox (`ls`, `pwd`, `echo`, `cat`, `head`, `tail` or `wc` (never `git`), no shell expansion, only operands the Session may read without asking, untainted run, not escalated or excluded) is a recorded policy allow instead of a reviewer call. Every other command is still reviewed; `classify_read_only: true` reviews these too. +- The longest server-advised retry delay is now set per provider (`providers..retry.max_wait_ms`, 60 s, 240 s for `gemini`). A longer delay fails at once in an attended Session and is waited out in unattended runs within `usage_limit.max_wait`; before, it was shortened to the cap, so the retry came before the window opened. +- `cyber exec --input-format stream-json` drives a foreground subagent's permission and question requests over stdin like the parent's, bounds owned requests to 64 (a further one gets a `capacity` error line), and adds `input_message_ids` to step lines. ### Fixed - Model-run commands no longer wait for an editor, pager or Git credential prompt: `git commit` without `-m` aborted only at the command timeout, and `git log` in a PTY waited in the pager. Shell tools, `monitor`, PTYs, background commands, worktree setup and solve checks now get `GIT_EDITOR`/`JJ_EDITOR`/`HGEDITOR`/`EDITOR`/`VISUAL=true`, `PAGER`/`GIT_PAGER`/`JJ_PAGER`/`MANPAGER=cat` and `GIT_TERMINAL_PROMPT=0`; a value set in `sandbox.env.set` is kept. +- Tool loops on Gemini 4 models through an OpenAI-compatible endpoint failed after the first call because thought signatures were not replayed; Gemini 4 now uses the `gemini_signature` carrier like Gemini 3. +- A per-minute Gemini rate limit through the OpenAI-compatible endpoint was treated as an exhausted quota and ended the Turn unretried; `google.rpc` error bodies now go through the Gemini rules. +- Interrupting a `cyber exec --input-format stream-json` run while a subagent waited for permission ended with "Input interruption could not be reconciled"; the held call is now refused without running and the interruption is acknowledged. +- `releases/latest/download/install.sh` redirected to the rolling `channel-beta` release, which has no install script. Channel releases are now prereleases, so only a stable `v` release can be GitHub's latest. ### Security - Any reviewer tool failure (unknown tool, invalid arguments, a refused read, a timeout or an exhausted budget) ends the `auto` review as a fallback, never an allow. - A hook's block reason (stderr of an exit-2 command), JSON `reason`/`stop_reason` and failure stderr are redacted like tool output and cut to 4 KiB before they reach live hook notices and hook receipts; the tool result was already redacted but was unbounded. +- `cyber exec` error lines, the `--format json` `error` and stream-json errors now apply the configured `tool_output.redact` patterns and the exact values of known secrets (secret-named environment variables, secret config entries and `--password`), not only the built-in detectors. ## [0.1.0-beta.2] - 2026-11-12 diff --git a/Cargo.lock b/Cargo.lock index 08ff10b2..6762d71c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -954,7 +954,7 @@ dependencies = [ [[package]] name = "cyber-account" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "aws-lc-rs", "axum", @@ -981,7 +981,7 @@ dependencies = [ [[package]] name = "cyber-app" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "aws-lc-rs", "axum", @@ -1028,7 +1028,7 @@ dependencies = [ [[package]] name = "cyber-cli" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "aws-lc-rs", "axum", @@ -1081,7 +1081,7 @@ dependencies = [ [[package]] name = "cyber-client" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "axum", "chrono", @@ -1100,7 +1100,7 @@ dependencies = [ [[package]] name = "cyber-collab" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "aws-lc-rs", "axum", @@ -1136,7 +1136,7 @@ dependencies = [ [[package]] name = "cyber-computer" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "cc", "schemars", @@ -1149,7 +1149,7 @@ dependencies = [ [[package]] name = "cyber-core" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "aho-corasick", "blake3", @@ -1185,7 +1185,7 @@ dependencies = [ [[package]] name = "cyber-install" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "base64 0.22.1", "cyber-core", @@ -1207,7 +1207,7 @@ dependencies = [ [[package]] name = "cyber-llm" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "base64 0.22.1", "bytes", @@ -1228,7 +1228,7 @@ dependencies = [ [[package]] name = "cyber-sandbox" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "base64 0.22.1", "cap-fs-ext", @@ -1250,7 +1250,7 @@ dependencies = [ [[package]] name = "cyber-server" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "axum", "base64 0.22.1", @@ -1298,7 +1298,7 @@ dependencies = [ [[package]] name = "cyber-snapshot" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "blake3", "cap-fs-ext", @@ -1322,7 +1322,7 @@ dependencies = [ [[package]] name = "cyber-store" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "crossbeam-channel", "cyber-core", @@ -1336,7 +1336,7 @@ dependencies = [ [[package]] name = "cyber-telemetry" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "chrono", "cyber-core", @@ -1355,7 +1355,7 @@ dependencies = [ [[package]] name = "cyber-tools" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "axum", "base64 0.22.1", @@ -1414,7 +1414,7 @@ dependencies = [ [[package]] name = "cyber-tui" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "aws-lc-rs", "axum", @@ -1449,7 +1449,7 @@ dependencies = [ [[package]] name = "cyber-workflow" -version = "0.1.0-beta.2" +version = "0.1.0" dependencies = [ "futures", "jsonschema", diff --git a/Cargo.toml b/Cargo.toml index 10485ac8..c21afaca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ members = [ ] [workspace.package] -version = "0.1.0-beta.2" +version = "0.1.0" edition = "2024" license = "Apache-2.0" repository = "https://github.com/CyberdyneCorp/cybercode-cli" diff --git a/README.md b/README.md index 7cd4a45a..11170f3d 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,10 @@ Examples below use the built binary. If you installed it on your PATH, use `cybe ## Install a release -Pre-releases are published on the beta channel: the newest is [`v0.1.0-beta.2`](https://github.com/CyberdyneCorp/cybercode-cli/releases/tag/v0.1.0-beta.2). There is no stable release yet, so `releases/latest/download/install.sh` does not resolve (GitHub never treats a prerelease, including the rolling `channel-beta` manifest release, as latest); install from the beta channel below. Releases publish signed archives for macOS and Linux (glibc and musl) to [GitHub Releases](https://github.com/CyberdyneCorp/cybercode-cli/releases). The install script checks each archive's SHA-256 (and its Sigstore signature when `cosign` is installed); `cyber upgrade` always verifies both before replacing the binary. Windows builds are not released yet (the Windows sandbox is still partial); build from source on Windows. +The latest release is [`v0.1.0`](https://github.com/CyberdyneCorp/cybercode-cli/releases/tag/v0.1.0), on the stable channel. Releases publish signed archives for macOS and Linux (glibc and musl) to [GitHub Releases](https://github.com/CyberdyneCorp/cybercode-cli/releases). The install script checks each archive's SHA-256 (and its Sigstore signature when `cosign` is installed); `cyber upgrade` always verifies both before replacing the binary. Pre-releases are published on the beta channel; add `--channel beta` to the install script or to `cyber upgrade` to follow it. Windows builds are not released yet (the Windows sandbox is still partial); build from source on Windows. ```bash -curl -fsSL https://github.com/CyberdyneCorp/cybercode-cli/releases/download/v0.1.0-beta.2/install.sh | sh -s -- --channel beta +curl -fsSL https://github.com/CyberdyneCorp/cybercode-cli/releases/latest/download/install.sh | sh cyber upgrade # verified in-place upgrade cyber uninstall --dry-run # what uninstall would remove ``` diff --git a/clients/vscode/package-lock.json b/clients/vscode/package-lock.json index 83c9ca7d..0193a28d 100644 --- a/clients/vscode/package-lock.json +++ b/clients/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "cyber", - "version": "0.1.0-beta.2", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cyber", - "version": "0.1.0-beta.2", + "version": "0.1.0", "license": "Apache-2.0", "dependencies": { "@cyber-code/sdk": "file:../../sdk/typescript", diff --git a/clients/vscode/package.json b/clients/vscode/package.json index 8c7443b4..1be40f78 100644 --- a/clients/vscode/package.json +++ b/clients/vscode/package.json @@ -2,7 +2,7 @@ "name": "cyber", "displayName": "Cyber Code", "description": "Chat with Cyber Code Sessions, review proposed edits in the diff editor and answer approvals without leaving VS Code.", - "version": "0.1.0-beta.2", + "version": "0.1.0", "publisher": "cyber-code", "private": true, "license": "Apache-2.0", diff --git a/docs/features.md b/docs/features.md index abce8bb3..905fbea8 100644 --- a/docs/features.md +++ b/docs/features.md @@ -28,7 +28,7 @@ Implemented behavior and remaining scope, reviewed on **2026-10-16** (Cross-sess | Structured results | `cyber exec --output-schema ` and the prompt `format: {type: json_schema, schema}`: a `structured_output` finalizer with the schema as input, one submission plus two corrections (including answers without the call), `StructuredOutputError` and exit 1 after the third; the object is `result` (pretty JSON in text mode); schemas bounded to 64 KiB / 64 levels / local refs and checked before any work; per-prompt outcome in `session.structured_output.settled.1` and the inbox row ([guide](local-core-guide.md#structured-results)) | Available (P1, `complete-daily-coding-surfaces` §5); compaction and budget-exit acceptance remain | | Driven exec | `cyber exec --input-format stream-json --format stream-json`: JSON-line prompts (`queue`/`steer`, correlation `id`), `interrupt`, owned `permission_reply`/`question_reply` through an interactive lease, `end`/EOF draining with waiting requests declined; per-prompt `input`/`result` lines and a final `end` line (`schema_version` 2); 1 MiB lines and 32 waiting prompts, fatal protocol errors exit 2; `--include-partial-messages`, atomic `--output-last-message`, per-prompt `--output-schema`; background and foreground subagent and `PreToolUse` hook asks owned through the root input cohort (at most 64 waiting, extras declined with a `capacity` error), step lines tagged with the `input_message_ids` they answer, scoped `interrupt` that also stops an owned subagent subtree (acknowledged when a subagent call was still waiting for permission), and error, result and end lines redacted with the built-in detectors, configured `tool_output.redact` patterns and known secret values ([guide](local-core-guide.md#driving-exec-over-stdin)); `--include-hook-events` `hook_event` lines without hook IO, here and in single-prompt `stream-json` runs ([guide](local-core-guide.md#hook-events-in-exec)) | Available (P1, `complete-daily-coding-surfaces` §6); Unix SIGINT, lost admission acknowledgements and server loss (a structured `server_lost` error with a resume hint, exit 2, no reconnect) are covered locally. Remaining: budgets and timeouts with stdin input, redaction of the raw provider message the server records in `session.step.failed`, and native platform acceptance; the driver does not reconnect across a server restart (owner decision 2026-11-15) | | Clients | TUI, noninteractive `exec`, background service, HTTP/SSE/WebSocket/stdio API and generated TypeScript SDK | Available; complete P1 client surfaces remain | -| Installation and upgrade | Signed releases from `.github/workflows/release.yml` on a `v*` tag: 6 macOS and Linux targets (Windows is built in CI but not released yet), `SHA256SUMS`, cosign keyless bundles and a rolling `channel-` manifest on GitHub Releases; `install.sh` (POSIX `sh`, SHA-256 and optional cosign checks, atomic install, marked PATH line, `CYBER_INSTALL_BASE_URL` mirrors); `cyber upgrade` (verified, atomic self-replace or the package manager's command), `cyber uninstall` (sizes, confirmation, no symlink following, keyring cleanup), background update notices and the `min_supported` warning; a `Dockerfile` running as uid 10001 with `CI=true` ([guide](local-core-guide.md#install-upgrade-and-uninstall)) | P0 done locally; Homebrew, npm, Scoop, WinGet, AUR, Nix and container-registry publishing are partial (manifests rendered, not published); pre-releases `v0.1.0-beta.1` and `v0.1.0-beta.2` are published on the beta channel, no stable release yet | +| Installation and upgrade | Signed releases from `.github/workflows/release.yml` on a `v*` tag: 6 macOS and Linux targets (Windows is built in CI but not released yet), `SHA256SUMS`, cosign keyless bundles and a rolling `channel-` manifest on GitHub Releases; `install.sh` (POSIX `sh`, SHA-256 and optional cosign checks, atomic install, marked PATH line, `CYBER_INSTALL_BASE_URL` mirrors); `cyber upgrade` (verified, atomic self-replace or the package manager's command), `cyber uninstall` (sizes, confirmation, no symlink following, keyring cleanup), background update notices and the `min_supported` warning; a `Dockerfile` running as uid 10001 with `CI=true` ([guide](local-core-guide.md#install-upgrade-and-uninstall)) | P0 done locally; Homebrew, npm, Scoop, WinGet, AUR, Nix and container-registry publishing are partial (manifests rendered, not published); `v0.1.0` is the first stable release; pre-releases `v0.1.0-beta.1` and `v0.1.0-beta.2` are on the beta channel | | TUI | 18 built-in themes plus custom `themes/*.json` resolved to semantic tokens, truecolor/256/16-color depths, `tui.color` and `NO_COLOR` (no colors, reverse-video selection); CommonMark rendering with syntect-highlighted code blocks and `Ctrl+X y` copy (OSC 52 fallback); the composer, a status footer (cwd, context meter, cost, key hint) and a `▣ Agent · model · duration` marker after each run; the `Ctrl+P` command palette; a responsive sidebar (Context, MCP, LSP, Machine stats with CPU/memory/disk bars from `GET /system`, Modified files, branch, connection) docked from 120 columns and a drawer below; the theme switcher; the welcome screen; the `/files` explorer with permission-checked previews; the Settings panel (Status, Config with persisted preferences, Usage, Stats heatmap and book comparison line); the `/workflows` monitor (runs with live counts and per-row nyan bars, agents by phase, child transcripts, pause/resume/stop/revision/log/script keys, and a Library tab that starts library Workflows from an args form), with a sidebar Workflows section, a `⚙ 2 workflows` footer field, aggregate run progress on the progress line and run-end notices (`tui.workflow_notifications`); the Nyan progress indicator above the composer (`tui.spinner`, at most 12 frames a second, with 16-color, `NO_COLOR`, reduced-motion and screen-reader fallbacks); Session recaps after 30 minutes away (`tui.recap`); rebindable keys in `tui.keybinds`; mouse capture (`tui.mouse`) with a wheel that acts on the pane under the pointer and left clicks that do only what a key does: list rows select on the first click and activate on the second, controls (tabs, key chips, sidebar headers, explorer rows, collapsed transcript rows) act at once, a single click never answers a permission or question prompt, and clicks outside a modal panel do nothing. Model, tool and title text is drawn without control characters, and OSC 8 links are written only for safe URLs on known terminals; the sidebar has a bounded named local/team/remote Session overview sharing `/agents` data, with status/provenance and explicit directory navigation | Partial P1; the split-diff reader of `diff_style` and the `#` memory composer mode do not exist yet, and `tui.statusline.command` is not implemented | | Sound alerts | Six distinct TUI alert sounds (`input`, `error`, `workflow_failed`, `done`, `workflow`, `message`) while the terminal is unfocused (`tui.sounds.when`), throttled to one per 1.5 s by priority; four packs synthesized in code (`cyber`, `soft`, `retro`, `bell`) rendered to cached WAVs; played by `afplay`, `pw-play`/`paplay`/`aplay` or PowerShell with no shell, with a terminal-bell fallback over SSH or without a player; per-event toggles and custom files (global `tui.jsonc` only; a project can only turn sounds down); `/sounds` to pick the pack, volume and events and preview each; a new permission or question request now raises the attention notification once ([guide](local-core-guide.md#tui-sound-alerts)) | Implemented (P1, `add-sound-alerts`); the check on real hardware (macOS, Linux PipeWire) remains; no sounds in the web dashboard | | Images and paste | Pasted text over 1,000 characters or 25 lines becomes a `[Pasted text #N +L lines]` chip (`tui.paste_summary`); PNG, JPEG, GIF, WebP and PDF from the clipboard (`composer.paste_image`, Ctrl+V or Alt+V on Windows, through `osascript`, `wl-paste`/`xclip` or PowerShell with no shell), dropped paths and `@` mentions become `[Image #N]`/`[PDF #N]` chips that delete as a unit and survive in drafts; `cyber exec --file` sends images and PDFs by path to a local server and inline with `--attach`; prompt parts `text`, `image`, `document`, `file` and `attachment` (64 MiB bodies, at most 20 media parts), `file` read under the `read` permission and checkout trust; the type sniffed from the bytes, `attachments.max_bytes` (20 MiB), downscaling and PDF page notes; `AttachmentTooLargeError` 413, `UnsupportedAttachmentError` 415 and `UnsupportedModalityError` 422 before admission; content-addressed blobs in `/attachments//` linked into forks and child tasks, embedded in JSON exports and restored by `cyber sessions import` ([guide](local-core-guide.md#large-paste-and-image-input)) | Available (P0, `add-image-input`); no terminal image rendering, the `read` tool still refuses media, other binary files are refused | diff --git a/docs/local-core-guide.md b/docs/local-core-guide.md index 3dc0bda8..9f01bc3e 100644 --- a/docs/local-core-guide.md +++ b/docs/local-core-guide.md @@ -448,7 +448,7 @@ For crash-recovery tests only, a debug-build server started with `CYBER_TEST_PRO ### Install script -Each GitHub Release carries `install.sh`, a POSIX `sh` script (the latest stable one is `https://github.com/CyberdyneCorp/cybercode-cli/releases/latest/download/install.sh`). Only a `v` release can be GitHub's latest: the rolling `channel-` releases hold just the channel manifest and are published as prereleases, never latest. Prereleases are never latest either, so until the first stable release that URL does not resolve; use a tagged release's script with `--channel beta`, for example `curl -fsSL https://github.com/CyberdyneCorp/cybercode-cli/releases/download/v0.1.0-beta.2/install.sh | sh -s -- --channel beta`: +Each GitHub Release carries `install.sh`, a POSIX `sh` script (the latest stable one is `https://github.com/CyberdyneCorp/cybercode-cli/releases/latest/download/install.sh`). Only a `v` release can be GitHub's latest: the rolling `channel-` releases hold just the channel manifest and are published as prereleases, never latest. Prereleases are never latest either, so that URL always serves the newest stable release's script; pass `--channel beta` to install the newest pre-release instead: ```bash curl -fsSL https://github.com/CyberdyneCorp/cybercode-cli/releases/latest/download/install.sh | sh