Commit Graph

29 Commits

Author SHA1 Message Date
Filip131311 f7348886d2 fix: new describe crashes 2026-04-07 19:09:12 +02:00
Ignacy Łątka 445bc044c1 feat: Add update system to Argent (#78)
* feat: add update notification and update-argent tool

Injects an update note into HTTP responses when a newer version of Argent
is available, forwards the note through the MCP server so agents see it
prepended to tool results, and adds an update-argent tool that agents can
call (with explicit user consent) to apply the pending update.

* test: add edge-case tests for update note injection and update-argent tool

* fix: guard update-argent against double-spawn and no-op calls, use argent binary

* feat: auto-suppress update note for 30min after delivery, add dismiss-update tool

* fix: correct npm package name to @software-mansion/argent

* fix: use semver ordering for version comparison, guard double-start, handle response stream errors

* feat: add update notification and update-argent tool

Injects an update note into HTTP responses when a newer version of Argent
is available, forwards the note through the MCP server so agents see it
prepended to tool results, and adds an update-argent tool that agents can
call (with explicit user consent) to apply the pending update.

* test: add edge-case tests for update note injection and update-argent tool

* fix: guard update-argent against double-spawn and no-op calls, use argent binary

* feat: auto-suppress update note for 30min after delivery, add dismiss-update tool

* fix: correct npm package name to @software-mansion/argent

* fix: use semver ordering for version comparison, guard double-start, handle response stream errors

* fix unresolved conflicts

* add yarn to gitignore

* cleanup typecasting

* isolate update note builder

* remove unused import

* fix package name

* change update rate to once per day

* add note against using permanent storage mediums

* update tool descriptions

* fix tests
2026-04-07 17:42:59 +02:00
filip131311 d9dc17d0d5 fix: move describe to native devtools (#83)
* fix: move describe to native devtools

Replace the AX describe path with an app-scoped native hierarchy adapter so coordinate discovery stays on the supported injection flow.
Also add safer targeting and restart guidance to reduce ambiguous Home and cold-start recovery paths.

Made-with: Cursor

* init

* update sim server

* Delete NATIVE_DEVTOOLS_DESCRIBE_MIGRATION_NOTE.md
2026-04-07 17:36:56 +02:00
Filip131311 c8e8669c56 Revert "feat: add update-argent tool and per-response update notification (#74)"
This reverts commit c9a673e97a.
2026-04-07 10:00:10 +02:00
Ignacy Łątka c9a673e97a feat: add update-argent tool and per-response update notification (#74)
* feat: add update notification and update-argent tool

Injects an update note into HTTP responses when a newer version of Argent
is available, forwards the note through the MCP server so agents see it
prepended to tool results, and adds an update-argent tool that agents can
call (with explicit user consent) to apply the pending update.

* test: add edge-case tests for update note injection and update-argent tool

* fix: guard update-argent against double-spawn and no-op calls, use argent binary

* feat: auto-suppress update note for 30min after delivery, add dismiss-update tool

* fix: correct npm package name to @software-mansion/argent

* fix: use semver ordering for version comparison, guard double-start, handle response stream errors
2026-04-06 20:49:06 +02:00
Filip131311 8c2a313c76 chore: format codebase with Prettier
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 14:53:58 +02:00
Ignacy Łątka cd41fa4d3b fix: write profiler output to /tmp instead of project root (#73)
* fix: write profiler output to /tmp instead of project root

The profiler was creating an argent-profiler-cwd/ directory inside the
user's project root. Output is now written to /tmp/argent-profiler-cwd/
using os.tmpdir() so no artifacts are left in the project tree.

* fix: remove project_root from profiler tools, drop getDebugDir param

No backwards compatibility needed — project_root is stripped from
ios-profiler-start and profiler-load schemas entirely, and getDebugDir
takes no arguments now that the path is always /tmp/argent-profiler-cwd/.

* fix: remove stale project_root from skill docs, add dump.test.ts

- SKILL.md and diagnostic-tools.md still referenced project_root for
  profiler-load after it was removed from the schema — now corrected
- Add 17 tests covering getDebugDir, writeDump, writeDumpCompact,
  readCpuProfile, and readCommitTree (all passing)
2026-04-03 14:23:38 +02:00
Ignacy Łątka 095d8af71e feat(tool-server): add npm update checker on startup and periodic interval (#69)
Check for newer @argent/tool-server versions on npm at startup and every
hour. The result is stored in a runtime flag (updateAvailable) — no user
notification or auto-install behavior is wired up yet.

ARG-79
2026-04-03 13:43:37 +02:00
Paweł Fornagiel 330a13a2f2 chore: remove deprecated debugger tools and update documentation (#66) 2026-04-01 18:50:34 +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
Ignacy Łątka 167b604bb8 chore: fix typos throughout entire repo (#46)
* fix: fix typos in comments, docs, and string literals

- succesful → successful, preffered → preferred (argent.md)
- instructs to starts → instructs to start (ios-profiler/SKILL.md)
- possibilites → possibilities (react-native-profiler/SKILL.md)
- refering → referring (react-native-profiler/SKILL.md)

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

* fix: fix remaining typos across docs, skills, and source files

- Add missing space in argent.md: \`describe\`and → \`describe\` and
- American English: Analyse → Analyze, recognise → recognize,
  unrecognised → unrecognized, initialised → initialized, behaviour → behavior
- Fix broken step reference in SKILL.md: step &4 → step 4
- Fix gender-specific pronoun: he does not → they do not

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

* fix(typo): add missing article 'a' in react-native-profiler SKILL.md

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

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 15:24:21 +02:00
Paweł Fornagiel 0f903c312b chore: remove committed artifacts, binaries, and dev-only scripts (#47)
* chore: update .gitignore and remove deprecated scripts, remove artifacts from MCP

* chore: remove unused files and scripts, including .DS_Store and benchmark scripts
2026-03-31 14:18:54 +02:00
Paweł Fornagiel 3d1a5dbe08 feat: Enhance component tree filtering in debugger (#35) 2026-03-23 10:56:11 +01:00
Stanislaw Bialecki 7cb6e7b457 Ios instruments profiler (#21)
* feat:  rename previous profiler tools to react-profiler

* feat: add ios-instruments profiler with default tracetemplate

* fix: copying Argent.tracetemplate on install

* feat: enhance CPU profiling capabilities in react-profiler and ios-instruments + initial enable re-querying (investigating) the profiler output

* feat: enable analyzing old profiling sessions, enhance profiling tools interoperability

* refactor: stream react profiler data to files instead of runtime aggregate var

* chore: add xml-parser test

* chore: rm clg

* feat: ad ios-instruments timeout

* chore: cleanup reactProfilerAnalyze warning cond

* refactor: ensure not dividing by 0 in profilerCombinedReportTool

* fix: inject react commit-capture hook before startProfiling

* fix: rm main signature from rn framework trace analysis

* chore: writeReport fail

* fix: potential sampleIdx in parseCpuXml

* fix: timeDeltas[i] potentially undefined

* fix: decodeXml amp resolution sequence

* fix: rm rn-profiler skill from local repo

* feat: rename instruments to ios-profiler + improve react session stability
2026-03-19 11:16:22 +01:00
Paweł Fornagiel 0071a09d99 feat: add log registry for debugger console logs (#30)
* feat: first log registry implementation

* feat: refactor skills to mention how to use new log registry

* docs: update SKILL.md to include guidance for handling large log files

* refactor: update log file handling, change to .log instead of JSONL
2026-03-18 18:48:49 +01:00
Ignacy Łątka 2c9e7788c3 Merge pull request #25 from software-mansion-labs/@latekvo/fix-network-inspector
feat: Network inspector tool
2026-03-18 17:54:25 +01:00
Ignacy Łątka 5ce4ace181 Merge branch 'main' into @latekvo/automation-scripting 2026-03-18 15:40:47 +01:00
Paweł Fornagiel 2fa515d628 feat: component tree & element inspector improvements (#26)
* feat: include skiplists

* feat: allow for verbose logging in component tree and element-inspect

* feat: trim the skills related to PR from unneeded information
2026-03-17 16:56:14 +01:00
Ignacy Łątka 629007ba54 rename 2026-03-17 16:20:57 +01:00
Ignacy Łątka 853b5f3dea add tests 2026-03-17 16:16:16 +01:00
Ignacy Łątka f8ff5492dc add tests for edge cases 2026-03-17 15:49:18 +01:00
Ignacy Łątka d871b67a75 add tests 2026-03-17 13:14:05 +01:00
Paweł Fornagiel 56a238e9ce feat: add environment inspector (#24)
* feat: add first implememntation of environment subagent

* chore: remove the irrelavnt skill from main project config

* feat: add rules support and enhance postinstall script for Argent tools (#23)

* feat: add first implememntation of environment subagent

* feat: enhance argent.md with environment inspection subagent details and workspace information retrieval guidelines

* feat: introduce argent.md with comprehensive guidelines for iOS simulator interactions and React Native workflows

* fix: fix postinstall script

* fix: fix Install Argent launch.json job

* feat: add environment inspector design document and research notes on MCP error signaling

* chore: update .gitignore to include MCP agents and rules directories

* fix: update `argent.md` rule with alwaysApply: true for cursor compatibility

* chore: remove mcp/rules from index
2026-03-16 21:47:48 +01:00
Ignacy Łątka c4658ac8fa fix: invalid imports in test files 2026-03-13 18:28:18 +01:00
Ignacy Łątka 66dc7546f3 rewrite tests to work with yaml 2026-03-13 09:46:43 +01:00
Ignacy Łątka f3a2a952ee add tests 2026-03-13 08:33:39 +01:00
Paweł Fornagiel badf203d57 feat: add timeout system and process killing capabilities (#14)
* feat: add termination

* refactor: refactor how idletimer is used within index and http server

* feat: enhance confirmation message for stopping Metro bundler process
2026-03-11 15:23:38 +01:00
pFornagiel c86378e6c4 feat: change radon-lite references to argent 2026-03-10 17:25:57 +01:00
pFornagiel dc3d4ec000 feat: rename tools package to tool-server, minor functionalities renamings 2026-03-06 16:13:54 +01:00