Skip to content

v2.0.0 (Beta)

Choose a tag to compare

@github-actions github-actions released this 21 Nov 20:35
· 138 commits to main since this release
568fef7

Nycode is in beta. The latest release is the current beta.

Breaking Changes

  • Removed every request to and mention of pi.dev (decision D-30). The install report is gone, and the enableInstallTelemetry setting and NYCODE_TELEMETRY now control only the provider attribution headers.
  • Changed the update check, the update banner and nycode update to read the latest release from GitHub Releases of marcioazam/nycode (the tag, without a leading v, is the version). The release note, the package-rename migration and the installer hints that came from pi.dev are gone; NYCODE_SKIP_VERSION_CHECK and NYCODE_OFFLINE still apply.
  • Changed managed-install self-update to need NYCODE_INSTALLER_API_BASE: there is no default installer server until the own installer exists (F11). The error points at https://github.com/marcioazam/nycode/releases.
  • Changed /share to have no default viewer: without NYCODE_SHARE_VIEWER_URL it prints only the gist link.
  • Changed MCP OAuth to always register a client dynamically: nycode publishes no Client ID Metadata Document, and oauth.clientRegistration: "cimd" is refused.
  • Changed the remote model catalog to be off by default: nycode uses the bundled model data, and requests a catalog only from the URL in the new NYCODE_MODEL_CATALOG_URL environment variable (or the catalogBaseUrl runtime option).
  • Changed Radius to have no default gateway: the built-in radius provider, /bug uploads, the Radius share and the Radius MCP server need NYCODE_RADIUS_GATEWAY; without it /bug offers only the zip export.
  • Changed the $schema and $id URLs of the JSON schemas and themes to raw files of marcioazam/nycode on GitHub.
  • Changed the defaults to the ny-pi ones: defaultProjectTrust is "never", quietStartup is "header", retry.maxRetries is 10, and shellCommandPrefix exports GIT_EDITOR=true, GIT_PAGER=cat and related variables so git and pagers never wait on a terminal. Set the old values in settings.json to keep them.
  • Removed the @mariozechner/pi-* module aliases from the extension loader: extensions resolve only @nycode/* (and typebox, @sinclair/typebox). An extension that still imports a pi name fails to load with a "Cannot find module" error; rename the imports (@mariozechner/pi-ai becomes @nycode/ai, and likewise for pi-coding-agent, pi-agent-core and pi-tui). nycode migrate from-pi lists such imports in the plan.
  • Removed the global theme slot shared with pi (Symbol.for("@mariozechner/pi-coding-agent:theme")); only the @nycode/coding-agent slot is set.

Added

  • Added the --bypass, --dangerously-skip-permissions, --safe and --no-bypass flags and the permissions.bypass setting; precedence is flag, then NYCODE_BYPASS_PERMISSIONS, then settings.json, then false.
  • Added the compaction.maxContextTokens, harness, subagent, tools.bash, todo, plan, notify, terminal.{uiState,reducedMotion,nerdFont,asciiIcons}, knowledge, codegraph, mcp, hooks, statusLine and env settings, each with its NYCODE_* variable as an override. See docs/settings.md and docs/environment-variables.md.
  • Added nycode migrate from-pi, a dry-run-by-default import of a pi agent directory (settings, local.env, MCP config, models, LSP, keybindings, sessions, project trust) into the nycode agent directory; --apply writes with backups
  • Added a warning to the nycode migrate from-pi plan for each pi extension or local package whose .ts, .js or .mjs files import @mariozechner/* or @earendil-works/pi-*, with the @nycode/* name to use. The scan is read only and never rewrites code
  • Added compat.supportsStrictMode for google-generative-ai and google-vertex models in models.json, so Gemini 3+ models served under IDs without the version can use strict tools (#12321)

Fixed

  • Fixed sessions with very many entries after the last compaction (about 120k or more) failing to load with RangeError: Maximum call stack size exceeded when building the context (#12154)
  • Fixed ctx.ui.pasteToEditor() and ctx.ui.setEditorText() not repainting the editor when called outside terminal input handling, such as after an await in a command handler (#12295)
  • Fixed the bash tool returning (no output) when the output ended with a line over 50KB followed by an empty line; it now shows the end of that line (#12350)
  • Fixed /tree navigation adding the branch's prompts to Up-arrow history again on every navigation; prompts already in history now move to the most recent position instead of repeating (#12279)
  • Fixed closing the console window or terminal tab on Windows skipping session_shutdown and leaving commands started by the bash tool running, for example sleep 300 from bash -c "sleep 300". pi now handles SIGHUP on Windows like on POSIX and waits for taskkill to finish before it exits. Quitting with Ctrl+D or /quit while a ! command runs, or ending RPC mode while a bash command runs, no longer leaves that command running on Windows either