Repository navigation
"Console" — Rune Business gets a management console (rune console, rune serve --console, a public sample page), OpenCode 2 is compiled natively, builds are reproducible (manifests, config explain, golden tests), and rune serve is hardened (proxy rate limits, flaky-tunnel retries).
Added
- Native OpenCode 2 support.
--platform opencodenow compiles every surface OpenCode made native instead of skills alone:.opencode/agents/rune-*.md(66 subagents, withpermissionsderived from each agent's tool whitelist),.opencode/commands/rune.md(the/runerouter with$ARGUMENTS),.opencode/plugins/rune/index.ts(preflight/sentinel before a tool call, dependency-doctor/quarantine after, completion-gate onsession.idle),.opencode/opencode.json(a Rune-owned remote MCP entry forrune serveplusrune-*skill/subagent permission allows), and a managedAGENTS.mdblock. The project config andAGENTS.mdmerge in place, so existing keys (mcp.servers.companion-agent, permissions, instructions) survive install, rebuild and uninstall.opencode --version(orRUNE_OPENCODE_VERSION) selects the v2 shapes or the v1 singular paths/plugin API.rune hooks install --platform opencode,hooks statusandhooks uninstalluse the same generator, andrune serve connect opencodeprints the MCP snippet. SetRUNE_BIN(plus optionalRUNE_NODE) to test an unpublished checkout: the plugin calls that file with Node instead ofnpx @rune-kit/rune@<version>, because inside OpenCodeprocess.execPathis the OpenCode binary, not Node. If that path disappears, the hooks fall back to the published package with one warning, and mergingAGENTS.mdis byte-identical across rebuilds. - Build manifests + reproducibility checks. Every
rune buildnow writesrune-manifest.json: Rune version, Node/OS, platform, tier versions, the config snapshot and asha256:hash per emitted file. No timestamp, no absolute path, so it diffs cleanly in git.rune doctor --against <manifest>hashes the output on disk and reports drift (edited, missing, unexpected files; config or tier change) without rebuilding.rune build --reproduce <manifest>rebuilds into a temp dir and proves the compiler still emits the same bytes. Merged files such as CodexAGENTS.mdare tracked by their managed block only, so your own content around it never counts as drift. Setoutput.manifest: falseor pass--no-manifestto opt out. rune config explain | get | path | check | migrate. One resolver now merges defaults →rune.config.json→RUNE_*env vars → CLI flags and records the source of every key, so "why is it building for codex?" has an answer.config checkreports unknown keys with a "did you mean" suggestion (the compiler ignores them silently by default), andconfig migrateupgrades the file for future format versions. CI overrides:RUNE_PLATFORM,RUNE_DISABLE_SKILLS,RUNE_EXTENSIONS,RUNE_OUTPUT_INDEX.- Golden build tests. A frozen 2-skill + split-pack fixture is compiled through all 15 non-Claude adapters; committed SHA-256 fingerprints fail the suite when compiled output changes, and a second test asserts two builds are byte-identical. Refresh intentionally with
RUNE_UPDATE_GOLDEN=1and review the diff. rune consolelaunches the Rune Business Console when Rune Business is installed. It finds Business the same wayrune setupdoes:$RUNE_BUSINESS_ROOT, a sibling../Business, well-known paths, or--business-root <dir>. All other arguments pass through (build,json,--demo,--project,--port,--no-open,--public). The console shows deadlines, contracts and NDAs with risk scores, compliance gaps, payroll/tax and AR, and the rules and sources behind every number. A live local server can append done/snooze/owner lines and run a calculator what-if; static builds stay read-only. Without Business, the command explains what the console is and where to get it.- Public Business Console sample page at
docs/business-console.html(An Phat Software, labelled SAMPLE DATA).scripts/site-gen.mjsregenerates it when Rune Business is available (RUNE_BUSINESS_ROOTor a sibling checkout) so the page stays current. rune serve --consolemounts the Business Console at/consolebehind the existing serve key. A sign-in form sets an HttpOnly cookie; the key is never put in a URL or in logs.--console-project <dir>selects the project tree (default: the current directory).
Changed
- Business marketing counts on the README and landing page: 143 reference files and 16 calculators (was 124 / 12; counted from Business 1.8.0), and "jurisdiction-aware (VN · US · EU · SG)".
Fixed
rune servebehind--trust-proxyrate-limits byCF-Connecting-IPwhen Cloudflare sends it, otherwise by the lastX-Forwarded-Forhop (the address the proxy appended). A caller can no longer pick a different bucket by putting a fake address first. Without--trust-proxy, the socket address is used and a forwarded header is ignored.rune serve setupkeeps a saved--allow-query-keyon the next setup.--no-allow-query-keyturns?key=off and saves that.rune serve startstill restores the saved choice.rune serve connect opencodeprints the MCP config for the OpenCode major on that machine:mcp.servers.runeon 2, flatmcp.runeon 1 (the same generator asrune init).--opencode-version 1or2forces the shape.- Guides name OpenCode as a
rune serveclient.llms.txtpoints at serve, config, reproduce and the current compiler mapping.MULTI-PLATFORM.mdno longer describes Cursor.mdcrules, Claude-only hooks, or arune synccommand as what shipped. The npm package includesllms.txtanddocs/**/*.md. skill-index.jsonno longer embeds ageneratedtimestamp, so repeated builds are byte-identical and committed indexes stop churning. Provenance now lives inrune-manifest.json.output.index: falsenow actually skipsskill-index.json; it was documented but ignored.rune analyticsshowed the wrong Business price ($169). Both commands now read the price from one constant ($149 lifetime, as on the landing page).rune serve --tunnel: ifcloudflaredexits before the quick tunnel is up (Cloudflare rate limits and 1xxx errors are common), retry a few times with backoff and put the process's error lines inserve.logand the setup JSON, instead of a bare "exited (1)".rune servee2e no longer crashes when the public URL is missing. Cloudflare quick-tunnel outages are reported as such and the tunnel half is retried once; after stop/start or a systemd crash-restart the harness waits for the new process's URL and keeps polling through HTTP 530 / Error 1033 until the edge registers the tunnel. On the weekly scheduled run those provider outages are a warning when the local server is healthy (release, manual reruns, and PRs that touch serve still fail).npm run release:publishchecks thatgithasuser.nameanduser.emailbeforenpm publish, and if they are missing fills them forgit tag -afrom the signed-in GitHub user viagh(or fails with a clear error).- Split extension packs now ship their pack-level
scripts/folder (tests and caches stay behind), and{scripts_dir}in pack skill files, templates and single-file bundles resolves to it. Before this, a pack skill that told the agent to run one of its calculators pointed at a path that did not exist after install (Business and Pro packs). - A generated
rune servesystemd unit keeps absolute POSIX paths exactly as written (/srv/prono longer becomesD:\srv\prowhen generated on Windows for a Linux host); only relative paths are resolved. The serve and Grok hook tests no longer depend on the host OS or on a developer's~/.claude/settings.json. version-sync-checkcounts Business the way Business does (runnable calculators only, no tests or helpers; generated jurisdiction copies excluded) and compares against Business's generated README counts instead of hard-coded numbers.
Full notes: https://rune-kit.github.io/rune/changelog.html#v2-36-0
Full Changelog: v2.35.0...v2.36.0