@swmansion/argent 0.28.1-next.20 → 0.28.1-next.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agents/argent-environment-inspector.md +7 -7
- package/agents/references/quality-control-checklist.md +14 -14
- package/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-args.generated.d.ts +76 -76
- package/dist/tool-server.cjs +174 -174
- package/package.json +1 -1
- package/rules/argent.md +16 -16
- package/skills/argent-android-emulator-setup/SKILL.md +9 -9
- package/skills/argent-create-flow/references/flow-yaml.md +11 -11
- package/skills/argent-create-flow/references/live-authoring.md +9 -9
- package/skills/argent-create-flow/references/reliability-and-recovery.md +13 -13
- package/skills/argent-device-interact/SKILL.md +47 -47
- package/skills/argent-device-interact/references/chromium.md +1 -1
- package/skills/argent-device-interact/references/gesture-examples.md +7 -7
- package/skills/argent-device-interact/references/secrets.md +6 -6
- package/skills/argent-lens/SKILL.md +21 -21
- package/skills/argent-metro-debugger/SKILL.md +22 -22
- package/skills/argent-metro-debugger/references/failure-scenarios.md +11 -11
- package/skills/argent-metro-debugger/references/source-maps.md +4 -4
- package/skills/argent-native-profiler/SKILL.md +13 -13
- package/skills/argent-qa-flows/SKILL.md +3 -3
- package/skills/argent-react-native-app-workflow/SKILL.md +18 -18
- package/skills/argent-react-native-optimization/SKILL.md +12 -12
- package/skills/argent-react-native-optimization/references/fix-reference.md +10 -10
- package/skills/argent-react-native-optimization/references/lint-rules.md +1 -1
- package/skills/argent-react-native-profiler/SKILL.md +25 -25
- package/skills/argent-react-native-profiler/references/diagnostic-tools.md +19 -19
- package/skills/argent-screen-recording/SKILL.md +14 -14
- package/skills/argent-test-ui-flow/SKILL.md +9 -9
- package/skills/argent-tv-interact/SKILL.md +19 -19
|
@@ -4,7 +4,7 @@ description: >
|
|
|
4
4
|
Inspects a mobile app project's environment and returns structured JSON covering
|
|
5
5
|
project type, platform support, build and startup commands, bundler config, env
|
|
6
6
|
resolution, key packages, QA/feedback-loop tooling, and Argent-specific workflow
|
|
7
|
-
commands. Works on any project
|
|
7
|
+
commands. Works on any project: determines whether it is React Native, Expo,
|
|
8
8
|
Flutter, native iOS/Android, or another stack, and provides environment context
|
|
9
9
|
regardless. Has deeper React Native introspection via gather-workspace-data but
|
|
10
10
|
also reports useful information for non-RN projects.
|
|
@@ -15,7 +15,7 @@ description: >
|
|
|
15
15
|
|
|
16
16
|
You are the **environment-inspector** subagent. Your job is to inspect a mobile app
|
|
17
17
|
project and return a single JSON block describing the project's environment. You do
|
|
18
|
-
not write files
|
|
18
|
+
not write files; the main agent handles persistence.
|
|
19
19
|
|
|
20
20
|
**Your first task is to determine what kind of project this is.**. The project could be, for example:
|
|
21
21
|
|
|
@@ -52,7 +52,7 @@ but required by the main agent, fill it in by manual inspection of the project.
|
|
|
52
52
|
- Non-obvious `scripts/` directory contents and what each script does.
|
|
53
53
|
- CI workflow files (`.github/workflows/*.yml`) to understand what "passing" means.
|
|
54
54
|
- Custom Makefile or Fastfile targets.
|
|
55
|
-
- `package.json` scripts beyond `start`/`test
|
|
55
|
+
- `package.json` scripts beyond `start`/`test`: look for `check`, `verify`,
|
|
56
56
|
`ci`, `precommit`, `prepush`, flavors, and env-specific variants.
|
|
57
57
|
- `.husky/` hook contents to understand pre-commit/pre-push validation.
|
|
58
58
|
- `lint-staged` config to understand what runs on commit.
|
|
@@ -70,7 +70,7 @@ but required by the main agent, fill it in by manual inspection of the project.
|
|
|
70
70
|
Prefer concrete commands over generic ones (e.g. `yarn start:local` over
|
|
71
71
|
`npx react-native start` if the project defines a custom script).
|
|
72
72
|
|
|
73
|
-
5. **Return the JSON block
|
|
73
|
+
5. **Return the JSON block**: no prose, no markdown fences, no
|
|
74
74
|
explanation. The main agent parses your entire response as JSON.
|
|
75
75
|
|
|
76
76
|
## Output schema
|
|
@@ -85,9 +85,9 @@ Return a JSON object with these top-level fields:
|
|
|
85
85
|
| `is_ios` / `is_android` | bool | Platform directories exist |
|
|
86
86
|
| `is_expo` / `is_web` / `is_flutter` | bool | Framework detection flags |
|
|
87
87
|
| `is_native_ios` / `is_native_android` | bool | Native without cross-platform framework |
|
|
88
|
-
| `startup_commands` | array | `[{ command, context }]
|
|
89
|
-
| `build_commands` | array | `[{ command, platform, context }]
|
|
90
|
-
| `argent_workflow` | object | `{ start_dev_server, build_ios, build_android, notes }
|
|
88
|
+
| `startup_commands` | array | `[{ command, context }]`: concrete dev server start commands |
|
|
89
|
+
| `build_commands` | array | `[{ command, platform, context }]`: build commands per platform |
|
|
90
|
+
| `argent_workflow` | object | `{ start_dev_server, build_ios, build_android, notes }`: exact commands for Argent |
|
|
91
91
|
| `ios_has_podfile` | bool | True when `ios/Podfile` exists |
|
|
92
92
|
| `android_has_gradle` | bool | True when `android/gradlew` exists |
|
|
93
93
|
| `configs` | object | Paths to metro, babel, app, tsconfig, pubspec, xcode, gradle configs (`null` if absent) |
|
|
@@ -17,12 +17,12 @@ Look for these beyond the obvious lint/test configs, regardless of project type:
|
|
|
17
17
|
|
|
18
18
|
**Immediate feedback tools (agent can trigger during a task):**
|
|
19
19
|
|
|
20
|
-
- `tsc --noEmit
|
|
21
|
-
- `eslint --fix` / `swiftlint` / `ktlint
|
|
22
|
-
- `jest --testPathPattern <file
|
|
23
|
-
- `dart analyze
|
|
24
|
-
- `flutter test <file
|
|
25
|
-
- `yarn test --watch` / `flutter test --watch
|
|
20
|
+
- `tsc --noEmit`: instant type error feedback after edits (TypeScript projects)
|
|
21
|
+
- `eslint --fix` / `swiftlint` / `ktlint`: auto-fixable lint errors
|
|
22
|
+
- `jest --testPathPattern <file>`: single test file (JS/TS projects)
|
|
23
|
+
- `dart analyze`: static analysis (Flutter projects)
|
|
24
|
+
- `flutter test <file>`: single test file (Flutter projects)
|
|
25
|
+
- `yarn test --watch` / `flutter test --watch`: reactive test runner
|
|
26
26
|
- Metro hot reload (via `debugger-reload-metro` Argent tool, RN only)
|
|
27
27
|
- Flutter hot reload / hot restart
|
|
28
28
|
|
|
@@ -34,12 +34,12 @@ Look for these beyond the obvious lint/test configs, regardless of project type:
|
|
|
34
34
|
|
|
35
35
|
**Indicators to check (all project types):**
|
|
36
36
|
|
|
37
|
-
- `scripts/` directory at project root
|
|
38
|
-
- `Makefile` / `Fastfile` targets
|
|
37
|
+
- `scripts/` directory at project root: often contains custom validation scripts
|
|
38
|
+
- `Makefile` / `Fastfile` targets: look for `lint`, `test`, `typecheck`, `check`, `validate`
|
|
39
39
|
- `package.json` scripts named `check`, `verify`, `ci`, `precommit`, `prepush`
|
|
40
|
-
- `.husky/` directory
|
|
41
|
-
- `lint-staged` config
|
|
42
|
-
- CI config files
|
|
43
|
-
- `Podfile` / `Package.swift
|
|
44
|
-
- `build.gradle` / `build.gradle.kts` / `settings.gradle` / `settings.gradle.kts
|
|
45
|
-
- `pubspec.yaml` / `analysis_options.yaml
|
|
40
|
+
- `.husky/` directory: which hooks run and what they execute
|
|
41
|
+
- `lint-staged` config: what runs on commit
|
|
42
|
+
- CI config files: the CI steps are ground truth for what "passing" means
|
|
43
|
+
- `Podfile` / `Package.swift`: iOS dependency management
|
|
44
|
+
- `build.gradle` / `build.gradle.kts` / `settings.gradle` / `settings.gradle.kts`: Android build config and flavor definitions (Groovy or Kotlin DSL)
|
|
45
|
+
- `pubspec.yaml` / `analysis_options.yaml`: Flutter project config and lint rules
|
package/dist/cli-cmds.mjs
CHANGED
|
@@ -30092,7 +30092,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
30092
30092
|
var SESSION_ID2 = randomUUID5();
|
|
30093
30093
|
function readCliVersion() {
|
|
30094
30094
|
if (true) {
|
|
30095
|
-
return "0.28.1-next.
|
|
30095
|
+
return "0.28.1-next.22";
|
|
30096
30096
|
}
|
|
30097
30097
|
return "0.0.0";
|
|
30098
30098
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16736,7 +16736,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16736
16736
|
var SESSION_ID = randomUUID4();
|
|
16737
16737
|
function readCliVersion() {
|
|
16738
16738
|
if (true) {
|
|
16739
|
-
return "0.28.1-next.
|
|
16739
|
+
return "0.28.1-next.22";
|
|
16740
16740
|
}
|
|
16741
16741
|
return "0.0.0";
|
|
16742
16742
|
}
|