filip131311 dee49473c8 refactor(tool-server): remove ARGENT_DISABLE_UPDATE_NOTIFICATIONS opt-out (#282)
## What

Removes the `ARGENT_DISABLE_UPDATE_NOTIFICATIONS` environment variable
and everything tied to it: the `DISABLE_ENV` constant, the exported
`areUpdateNotificationsDisabled()` predicate, the early-return gate in
`startUpdateChecker()`, the reminder-note bullet that advertised it, and
the corresponding test.

## Why

The env var made `startUpdateChecker()` a no-op, which left
`getUpdateState()` stuck at its defaults (`updateAvailable: false`,
`installableVersion: null`). Because the `update-argent` tool reads that
shared state, **silencing the periodic reminder also blinded the
explicit, user-consented update path** — `update-argent` would report
*"Argent is already up to date"* even when a newer version existed on
npm. A user who'd quietened the nags but then explicitly asked the agent
to update was wrongly told there was nothing to do (only the CLI `npx
@swmansion/argent update` still worked).

Postponing/suppressing reminders is already handled by the time-based
`dismiss-update` tool, whose suppression persists in
`~/.argent/update-suppression.json` and does **not** disable the
underlying check — so the update state stays accurate. That makes the
env var both redundant and a footgun, so it's removed rather than worked
around.

## Behavior after this change

- The 24h update checker always runs; `getUpdateState()` reflects real
registry state.
- Reminders are still gated by `dismiss-update` (and the 30-minute
auto-suppress after each surfaced note).
- `update-argent` now sees accurate state regardless of reminder
suppression.

## Tests

- Removed the now-obsolete "does not check or notify when notifications
are disabled" test.
- `vitest run` for `update-checker`, `http-update-note`, and
`update-argent-tool` passes (42 tests); `tsc --noEmit` clean for
`tool-server`.
2026-06-01 18:29:16 +02:00


argent-header


Argent is an agentic toolkit that gives your AI assistant direct access to iOS Simulators and Android Emulators. Ask it to tap a button, run a profiler or reproduce an issue manually - all from within your CLI, without switching context.

npx @swmansion/argent init

Capabilities

  • Autonomous iOS and Android development - Allow your agent to work with iOS and Android apps on its own - let it build, open, interact with the app and debug it. Ask for reproducing issues, testing features manually, profiling your app and much more, without ever interrupting your work.
  • UI interaction - Give your agent full control toolkit - tapping, swiping, pinching, typing, gestures, hardware buttons and all other gears included. Let it navigate your app exactly as a user would, without lifting a finger.
  • Profiling with batteries included - Argent can perform and analyze both React-Native and Xcode Instruments profiling sessions. Get comprehensive summaries and ask to optimise your app where you find fit.
  • Debugging and diagnostics - Let your agent inspect logs, capture crash reports, and reproduce failing states on the simulator, so you can jump straight to the fix.
  • React Native out of the box - Argent works with React Native apps natively, so your agent can build, launch, and iterate on your RN project the same way it would any native app - no extra setup required.

Tip: Once installed, ask your assistant "What can Argent do?" - it will walk you through all capabilities available.


argent showcase video gif


Installation

Prerequisites

  • Node.js 18 or later
  • For iOS: macOS with Xcode installed
  • For Android: Android SDK Platform Tools (adb) on PATH, and the Android Emulator package if you want to boot AVDs from Argent. Create AVDs via Android Studio or avdmanager.

Run init in your project

From your project root:

npx @swmansion/argent init

This command triggers an installation wizard which:

  • Installs @swmansion/argent globally
  • Detects your editor and registers the MCP server
  • Copies skills, rules, and agent definitions into your workspace

Prefer a manual install?

npm install -g @swmansion/argent
argent init

CLI Reference

Command Description
argent init Install globally and configure MCP in the current workspace
argent install Alias for init command
argent update Pull the latest version and refresh workspace configuration
argent remove Unregister the MCP server and uninstall the package
argent uninstall Alias for remove command
argent mcp Start MCP server instance, used internally by agent

Supported Editors

argent init auto-detects and configures MCP for:

Editor Config location
Claude Code .mcp.json (project) or ~/.claude.json (global)
Cursor .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
VS Code .vscode/mcp.json
Windsurf .windsurf/mcp.json
Zed .zed/settings.json
Gemini CLI .gemini/settings.json
Codex CLI .codex/config.yaml
opencode opencode.json (project) or ~/.config/opencode/opencode.json (global)

Privacy

Argent does not collect or transmit any user data. No telemetry, no analytics, no crash reporting.

  • Argent integrates with your agent locally over MCP stdio.
  • Its internal tools are not reachable from outside your machine.
  • The only outbound network call we make is the version check against our public npm package, which sends no user data and fails gracefully if blocked.

License

Argent uses a mixed licensing model.

Source code is released under the Apache License 2.0.

Proprietary binaries (the bin/simulator-server and bin/ax-service executables and the .dylib files in native-devtools-ios) are the intellectual property of Software Mansion S.A. and are licensed solely for use within this project. Decompiling, reverse-engineering, or redistributing them without explicit written permission is prohibited.

By using Argent, you acknowledge and agree to this structure. See LICENSE for full details.

Argent is created by Software Mansion

Since 2012 Software Mansion is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – Hire us.

swm

S
Description
argent-android-emulator-setup: Set up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an emulator, getting a device serial, or…; argent-react-native-optimization: Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when…; argent-react-native-app-workflow: Step-by-step workflows for developing or debugging React Native apps on iOS sim…
Readme 160 MiB
Languages
TypeScript 92.5%
JavaScript 2%
HTML 2%
Shell 1.3%
MDX 1.1%
Other 1.1%