Repository navigation
v2.0.0 (Beta)
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 theenableInstallTelemetrysetting andNYCODE_TELEMETRYnow control only the provider attribution headers. - Changed the update check, the update banner and
nycode updateto read the latest release from GitHub Releases ofmarcioazam/nycode(the tag, without a leadingv, is the version). The release note, the package-rename migration and the installer hints that came frompi.devare gone;NYCODE_SKIP_VERSION_CHECKandNYCODE_OFFLINEstill 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
/shareto have no default viewer: withoutNYCODE_SHARE_VIEWER_URLit 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_URLenvironment variable (or thecatalogBaseUrlruntime option). - Changed Radius to have no default gateway: the built-in
radiusprovider,/buguploads, the Radius share and the Radius MCP server needNYCODE_RADIUS_GATEWAY; without it/bugoffers only the zip export. - Changed the
$schemaand$idURLs of the JSON schemas and themes to raw files ofmarcioazam/nycodeon GitHub. - Changed the defaults to the ny-pi ones:
defaultProjectTrustis"never",quietStartupis"header",retry.maxRetriesis10, andshellCommandPrefixexportsGIT_EDITOR=true,GIT_PAGER=catand related variables so git and pagers never wait on a terminal. Set the old values insettings.jsonto keep them. - Removed the
@mariozechner/pi-*module aliases from the extension loader: extensions resolve only@nycode/*(andtypebox,@sinclair/typebox). An extension that still imports a pi name fails to load with a "Cannot find module" error; rename the imports (@mariozechner/pi-aibecomes@nycode/ai, and likewise forpi-coding-agent,pi-agent-coreandpi-tui).nycode migrate from-pilists such imports in the plan. - Removed the global theme slot shared with pi (
Symbol.for("@mariozechner/pi-coding-agent:theme")); only the@nycode/coding-agentslot is set.
Added
- Added the
--bypass,--dangerously-skip-permissions,--safeand--no-bypassflags and thepermissions.bypasssetting; precedence is flag, thenNYCODE_BYPASS_PERMISSIONS, thensettings.json, thenfalse. - Added the
compaction.maxContextTokens,harness,subagent,tools.bash,todo,plan,notify,terminal.{uiState,reducedMotion,nerdFont,asciiIcons},knowledge,codegraph,mcp,hooks,statusLineandenvsettings, each with itsNYCODE_*variable as an override. Seedocs/settings.mdanddocs/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;--applywrites with backups - Added a warning to the
nycode migrate from-piplan for each pi extension or local package whose.ts,.jsor.mjsfiles import@mariozechner/*or@earendil-works/pi-*, with the@nycode/*name to use. The scan is read only and never rewrites code - Added
compat.supportsStrictModeforgoogle-generative-aiandgoogle-vertexmodels inmodels.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 exceededwhen building the context (#12154) - Fixed
ctx.ui.pasteToEditor()andctx.ui.setEditorText()not repainting the editor when called outside terminal input handling, such as after anawaitin 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
/treenavigation 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_shutdownand leaving commands started by the bash tool running, for examplesleep 300frombash -c "sleep 300". pi now handles SIGHUP on Windows like on POSIX and waits fortaskkillto finish before it exits. Quitting with Ctrl+D or/quitwhile a!command runs, or ending RPC mode while abashcommand runs, no longer leaves that command running on Windows either