Commit Graph

29 Commits

Author SHA1 Message Date
Filip131311 f7348886d2 fix: new describe crashes 2026-04-07 19:09:12 +02:00
Filip131311 4e514c1435 chore: rename package from @software-mansion/argent to @swmansion/argent 2026-04-03 17:16:39 +02:00
Filip131311 47b66b3eed feat: add native devtools iOS — view hierarchy, network inspection, passive simulator watcher
- Adds native-devtools-ios package with pre-built dylibs (libNativeDevtoolsIos, libKeyboardPatch, libInjectionBootstrap)
- Passive simulator watcher injects dylibs into all booted simulators on tool-server startup, eliminating manual restart requirement
- Lazy network activation: NSURLProtocol interception is opt-in per bundleId via Control socket command, re-activated on reconnect
- New tools: native-find-views, native-full-hierarchy, native-network-logs, native-devtools-status
- dev script: non-fatal argent-private submodule (uses pre-built dylibs when source unavailable)
- Adds Prettier config and format script
- Updates CONTRIBUTING.md with npm run dev workflow and project structure

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 14:53:45 +02:00
Ignacy Łątka 9049383848 feat: add Codex CLI adapter for MCP config management (#63)
* feat: add Codex CLI adapter for MCP config management

Add support for OpenAI's Codex CLI alongside existing editors. The adapter
reads/writes TOML config at ~/.codex/config.toml and <root>/.codex/config.toml,
using the smol-toml library. Includes full test coverage and docs update.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: remove incorrect Codex rules/agents copy targets

Codex's .codex/rules/ is for execpolicy (Starlark security rules), not
model instructions. Codex uses AGENTS.md and .agents/skills/ for context
injection, so directory-based rules/agents copying doesn't apply.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat: inject argent rules into Codex developer_instructions

Codex has no rules/ directory for model instructions — .codex/rules/ is
for execpolicy (Starlark security rules). Instead, inject rule content
into the developer_instructions field in config.toml, delimited by
markers for clean update/removal.

- Reads .md rule files, strips YAML frontmatter, concatenates content
- Injects into developer_instructions with argent section markers
- Preserves existing user developer_instructions
- Replaces argent section on re-inject (idempotent)
- Uninstall cleans up argent section from config.toml

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 20:16:42 +02:00
filip131311 aec65427ab chore: remove license validation (#58)
* init

* init

* Delete .vscode/mcp.json
2026-03-31 21:32:08 +02:00
Paweł Fornagiel 85ef733835 refactor: rename RADON references to ARGENT across the codebase (#56)
* refactor: rename RADON references to ARGENT across the codebase

* Merge main into branch and complete ARGENT rename in new files

Merges main's changes: modular CLI architecture, UI package deprecation,
db tool removal, skills/agents prefix rename, and MCP server consolidation.
Extends the RADON→ARGENT rename to cover new files introduced in main
(ARGENT_MCP_LOG, ARGENT_TOOLS_URL env vars, argent-skills bin).

Made-with: Cursor

* fix: rename RADON_MCP_LOG in observe.cjs, regenerate lockfile for argent-skills bin

Made-with: Cursor

* chore: remove accidental PUBLIC_RELEASE_AUDIT.md
2026-03-31 17:24:51 +02:00
Paweł Fornagiel da707875b1 feat: deprecate UI package (#45)
* feat: delete ui package

* feat: delete left tsconfig.buildinfo
2026-03-31 14:19:10 +02:00
pFornagiel 31d7e5b39d chore: bump to 0.3.2 2026-03-27 19:15:02 +01:00
Paweł Fornagiel d2d0da8bdd feat: improved npx CLI with modular architecture, ASCII banner, and docs (#42)
* feat: first improved CLI implementation

* feat: add ASCII banner to `argent init` and installation guide

Add a gradient ASCII art banner displayed at the start of `argent init`.
Add docs/install-guide.md with concise instructions for installing from
the GitHub Packages registry (including PAT generation) and from a local
tarball.

Made-with: Cursor

* refactor: update ASCII banner in `init.ts` for improved aesthetics
2026-03-27 19:12:05 +01:00
pFornagiel 83bd5315fe chore: update lockfile for 0.3.1 2026-03-25 16:17:20 +01:00
pFornagiel 7e0291bbf7 chore: bump version 2026-03-18 22:29:08 +01:00
Ignacy Łątka 54665e3047 use .yaml format 2026-03-13 09:46:27 +01:00
Paweł Fornagiel 4379d58d3c feat: add taking screenshots at tool usage (#13)
* feat: add metro-debugger skill and skill toolset for new commands

* feat: first auto-screenshot implementation

* fix: .gitignore fix tsconfig.tsbuildinfo

* fix: fix bundle-tools.cjs

* chore: update launch configuration and remove obsolete tsbuildinfo files; add metro-debugger documentation

* chore: restore previous file state

* chore: change the screenshot timeout parameters

* chore: remove unneeded files

* chore: remove metro debugger md
2026-03-10 18:57:56 +01:00
pFornagiel c86378e6c4 feat: change radon-lite references to argent 2026-03-10 17:25:57 +01:00
Filip131311 96d574e4cf lock 2026-03-09 15:48:33 +01:00
pFornagiel dc3d4ec000 feat: rename tools package to tool-server, minor functionalities renamings 2026-03-06 16:13:54 +01:00
pFornagiel d39a006203 add clack 2026-03-05 10:39:11 +01:00
pFornagiel 59665a49d4 Merge branch 'main' into @pFornagiel/metro-debugger-tools 2026-03-04 15:29:46 +01:00
pFornagiel 5820a9b898 feat: add metro tools 2026-03-04 15:22:08 +01:00
Filip131311 430c3dac71 License verification 2026-03-02 11:39:16 +01:00
pFornagiel 571d01d243 Merge branch 'main' into @pFornagiel/registry-integration 2026-02-27 11:03:02 +01:00
pFornagiel 4c42cf985a feat: intagrate tools from main 2026-02-27 10:56:44 +01:00
pFornagiel 0431af73bc refactor: refactor code structure for improved readability and maintainability 2026-02-25 17:02:07 +01:00
Filip131311 de89a88d90 Add AI agent integration — packages/mcp + packages/skills
- packages/mcp: thin MCP stdio bridge that discovers tools dynamically
  from GET /tools and proxies calls; screenshot outputHint fetches PNG
  and returns base64 image content to the MCP client
- packages/skills: 4 Claude Code skills for simulator setup, screenshot,
  interaction, and UI test flow automation
- packages/tools: 7 new interaction tools (screenshot, tap, swipe,
  gesture, button, paste, rotate) all using ensureServer() for
  transparent auto-spawn
- simulator-registry.ts: unified process + WebSocket registry shared
  across all tools
- Fix zodTypeToJsonSchema to preserve .describe() text and handle
  ZodEnum/ZodObject; add outputHint to Tool interface and registry.list()
- .claude/mcp.json: registers radon-lite MCP server for Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 16:49:27 +01:00
pFornagiel f4f882bad1 feat: registry integration 2026-02-25 16:35:06 +01:00
Filip131311 b862a93dcf Remove packages/server in favour of packages/tools
The tools server (port 3001) supersedes the original Express server.
packages/tools and packages/ui have no imports from packages/server,
and the vscode extension never used the dependency either.

- Delete packages/server/ (src, tests, openapi spec, duplicate binary)
- Remove build:server, start, dev scripts from root package.json
- Remove packages/server reference from root tsconfig.json
- Remove @radon-lite/server dependency from packages/vscode/package.json

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 11:57:32 +01:00
Filip131311 432a0b8d6d Fix screenshot 500 timeout with token guard + add server tests
- Track token validation state (no_token/validating/valid/invalid) in
  SimulatorServerProcess; parse token_valid/token_invalid stdout lines
- Guard screenshot, record/stop, and replay routes with a 403 response
  when no valid token is present, eliminating the 15s timeout hang
- Add vitest + supertest; 64 tests across SimulatorServerProcess,
  sessions router, and simulators router all passing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 20:33:55 +01:00
Filip131311 757ffb03bc Restructure into npm workspaces monorepo
Move server code to packages/server/, add placeholder packages for
packages/ui and packages/vscode. Add tsconfig.base.json with shared
compiler options and root tsconfig.json with project references.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 16:24:57 +01:00
Filip131311 e428281b06 Add iOS simulator control server (radon-lite)
Express/TypeScript HTTP server that wraps the simulator-server binary to
expose a clean REST API for controlling iOS simulators. Supports session
management, MJPEG screen streaming, screenshots, screen recording, replay
ring buffer, full input control (touch/key/button/rotate/paste/scroll),
JWT token management with Radon portal activation, and SSE event streams.
Configurable replay and showTouches features via CLI args or env vars.
2026-02-23 15:49:36 +01:00