Skip to content

feat(installation): honor npm registry for agent-browser background update#198

Merged
duguwanglong merged 1 commit into
mainfrom
feat/agent-browser-npm-registry-update
Apr 28, 2026
Merged

feat(installation): honor npm registry for agent-browser background update#198
duguwanglong merged 1 commit into
mainfrom
feat/agent-browser-npm-registry-update

Conversation

@xiami762

Copy link
Copy Markdown
Contributor

Summary

  • Background npm update -g agent-browser now respects explicit registry configuration (FLOCKS_NPM_REGISTRY / npm_config_registry / NPM_CONFIG_REGISTRY) by passing npm_config_registry in the child process env.
  • Adds normalizeNpmRegistry and resolveAgentBrowserNpmRegistry helpers with unit tests.
  • Refreshes the bundled .flocks/plugins/skills/agent-browser core skill (including new trust-boundaries reference).

Testing

  • bun test tests/updater/installation-agent-browser-update.test.ts

Made with Cursor

…pdate

- Add normalizeNpmRegistry and resolveAgentBrowserNpmRegistry helpers
- Pass explicit registry via npm_config_registry when spawning npm update -g
- Refresh bundled agent-browser core skill content and add trust-boundaries ref
- Add unit tests for registry normalization and resolution precedence

Made-with: Cursor
@duguwanglong duguwanglong merged commit 52b014b into main Apr 28, 2026
2 checks passed
duguwanglong pushed a commit to DearEmma/flocks that referenced this pull request May 18, 2026
…pdate (AgentFlocks#198)

- Add normalizeNpmRegistry and resolveAgentBrowserNpmRegistry helpers
- Pass explicit registry via npm_config_registry when spawning npm update -g
- Refresh bundled agent-browser core skill content and add trust-boundaries ref
- Add unit tests for registry normalization and resolution precedence
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.

2 participants