- Strip probe-overridden credential keys (including symmetric GEMINI_API_KEY / GOOGLE_GENERATIVE_AI_API_KEY aliases) from adapterConfig and environment envVars before secret persistence and runtime resolution in test-environment. - Prefer an explicit pasted API key over auto-selected organization secrets in NewAgentSetup, and clear stale provider refs when switching credentials. - Alias GEMINI_API_KEY to GOOGLE_GENERATIVE_AI_API_KEY and pass direct provider API keys across legacy opencode_local, native paperclip-runner (TS and Rust), and Plugin Runner environments, while redacting provider keys in output custody. - Enable API-key AI connections (including the Google / Antigravity connector) for opencode_local with provider-to-model compatibility checks and isolated runtime environment preparation. Fixes #23359 Refs #23370 Co-Authored-By: Paperclip <noreply@paperclip.ing>
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Storybook
Storybook config, stories, and fixtures live under ui/storybook/.
pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.
Editor dependency identity
Keep the root and workspace overrides for @codemirror/state,
@codemirror/view, and @lezer/common aligned. CodeMirror requires shared
extension identity, while Lezer parsers and syntax highlighters require shared
NodeProp IDs. Multiple Lezer copies can crash code-block highlighting with
tags is not iterable. src/lib/codemirror-single-instance.test.ts checks the
installed dependency graph and highlights sample code through the editor's real
language dependencies. GitHub Actions owns regeneration of pnpm-lock.yaml.