Skip to content

fix(opencode): bound skill discovery to releases with an activation barrier - #1171

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/opencode-workspace-skills
Nov 24, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/opencode-workspace-skills

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Otter (open-agent-runtime) opened via Stamp · View →


OpenCode 2.4.0 made provider catalog reads return while plugins are still loading. The previous one-shot skill reader could omit home and project skills and report a complete catalog before a configured plugin failed. The November 24 scheduled run reproduced both failures on Linux, macOS and Windows. Scheduled run

The v2 skill reader now starts a server only on 2.2.7 through 2.3.x. From 2.4.0, including unverified future majors, it returns version_unsupported with the supplied or detected installed version. It omits requiredVersion. The older v2 refusal still names 2.2.7 as its minimum. The v2 CI pin is 2.2.7.

Provider auth remains available. Its initial plugin and integration reads can precede package activation, so a late integration can be missing from the cached login menu. On both 2.4.0 and 2.4.1, releasing a synthetic package added the 335th integration to the running server. A newly opened facade listed it. The experiment also records release ancestry, directory selection, time-stamped catalog reads and the public event stream. It documents the native signal and controls required to reopen the skill gate. Upstream change · Existing CLI issue

Linux native validation covered 1.19.5, 2.2.7, 2.3.2, 2.4.0 and 2.4.1. Both supported v2 binaries discovered all six skill roots, reported the broken plugin as partial and released their listener and process. On 2.4.0 and 2.4.1, the four vendor cases observed zero process or listener starts.

The local CI=1 pnpm run check passed, including 5,650 unit tests and 19 mock sea-trial cases. The native vendor runs passed 22 applicable cases across the five versions. Three HTTP-only cases skip on v1.

@stamp-build
stamp-build Bot merged commit 8ec51b3 into main Nov 24, 2026
25 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/opencode-workspace-skills branch November 24, 2026 08:01
This was referenced Nov 25, 2026
stamp-build Bot added a commit that referenced this pull request Nov 25, 2026
## OAR 0.131.0

### Features

- **Per-session `SessionOptions.nativePermissions: "inherit"` on Codex** (#1176, #1178). Adds `SessionOptions.nativePermissions?: "inherit"` so hosts can leave a runtime's own permission, approval, and sandbox settings in charge per session instead of injecting OAR's default bypass flags. On Codex, `"inherit"` omits `-c sandbox_mode=...` (winning over `OAR_CODEX_SANDBOX` for that session) and omits `approvalPolicy` on `thread/start`, `thread/resume`, and `thread/fork`, while keeping OAR's noninteractive decline rule for any approval request that reaches the client. Any unexpected defined value is rejected before spawning with `UnsupportedOptionError("nativePermissions")`, and all other built-in and community runtimes declare `refusedSessionOptions.nativePermissions` until individually verified. Also aligns the Windows Codex native-permissions vendor check with Codex's `readOnly` fallback when Windows sandboxing is disabled.
- **DSH per-session stdio and HTTP MCP mounting over bridge stdin** (#1167). Mounts per-session stdio and streamable HTTP MCP servers (including `serveMcpTools`) in memory over DSH's bridge stdin instead of writing credentials to invocation files, removes `refusedSessionOptions.mcpServerCredentials` on DSH, and declares `mcpTransports: ["stdio", "http"]`.

### Fixes

- **Codex `thread/resume` and `thread/fork` sandbox override precedence** (#1181). Sends the active `sandbox` mode on Codex `thread/resume` and `thread/fork` when OAR overrides permissions (default bypass or `OAR_CODEX_SANDBOX`), preventing Codex's persisted rollout permission profiles (such as `readOnly`) from overriding CLI `-c sandbox_mode=...`, while omitting RPC `sandbox` under `nativePermissions: "inherit"`, `OAR_CODEX_SANDBOX=inherit`, and host `launchArgs` sandbox overrides.
- **Antigravity percent-encoded `session/list` working directory decoding on resume** (#1179, closes #1177). Decodes Antigravity's escaped `file://` URL pathname segments once before the ACP resume directory identity check so non-ASCII, space, punctuation, and literal percent-escaped workspace paths resume accurately while keeping sibling directories distinct, `ResumeCwdError.savedCwd` verbatim, and all other ACP runtimes strictly literal.
- **Grok ACP MCP tool output projection** (#1168). Projects non-empty `OkayOutput` (`completed`) and `Error` (`failed`) strings from Grok ACP's `rawOutput` (`type: "MCP"`) into `tool_call_ended.content` when `update.content` is absent, scoped to Grok via an optional `AcpSessionProfile.projectRawToolOutput` hook while keeping `native` verbatim and leaving other ACP runtimes unchanged.
- **OpenCode skill discovery bounded to releases with an activation barrier** (#1171). Limits OpenCode v2 one-shot skill discovery to `2.2.7` through `2.3.x` and returns `version_unsupported` (without starting a server) from `2.4.0` onward, where upstream catalog reads can return before plugins finish loading.

### Documentation, CI, and Tests

- **Antigravity 1.5.16 ACP baseline, Cursor SDK 1.5.0 skill observer, and daily runtime version checks** (#1169, #1170, #1174, #1175). Advances the Antigravity ACP CI baseline to `1.5.16`, resolves Cursor's test skill observer context factory dynamically for `@cursor/[email protected]+`, and records the 2026-11-23 and 2026-11-24 runtime version checks.

Full diff: v0.130.1...v0.131.0

Co-authored-by: Cindy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants