@swmansion/argent 0.32.1-next.0 → 0.32.1-next.1
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/dist/installer.mjs +6 -6
- package/dist/mcp-server.mjs +1 -1
- package/dist/tool-args.generated.d.ts +178 -178
- package/dist/tool-server.cjs +1261 -1455
- package/package.json +1 -1
- package/rules/argent.md +19 -183
- package/skills/argent-android-emulator-setup/SKILL.md +5 -13
- package/skills/argent-create-e2e/SKILL.md +1 -1
- package/skills/argent-create-e2e/references/e2e-yaml.md +12 -17
- package/skills/argent-create-e2e/references/live-authoring.md +25 -65
- package/skills/argent-create-e2e/references/reliability-and-recovery.md +8 -8
- package/skills/argent-device-interact/SKILL.md +65 -367
- package/skills/argent-device-interact/references/chromium.md +4 -19
- package/skills/argent-device-interact/references/foldables.md +8 -0
- package/skills/argent-device-interact/references/harmonyos.md +13 -50
- package/skills/argent-ios-device-interact/SKILL.md +0 -1
- package/skills/argent-ios-device-setup/SKILL.md +1 -1
- package/skills/argent-ios-simulator-setup/SKILL.md +3 -9
- package/skills/argent-lens/SKILL.md +20 -75
- package/skills/argent-metro-debugger/SKILL.md +35 -101
- package/skills/argent-native-profiler/SKILL.md +23 -92
- package/skills/argent-qa-e2e/SKILL.md +5 -5
- package/skills/argent-react-native-app-workflow/SKILL.md +34 -203
- package/skills/argent-react-native-optimization/SKILL.md +10 -26
- package/skills/argent-react-native-optimization/references/fix-reference.md +11 -11
- package/skills/argent-react-native-optimization/references/lint-rules.md +4 -5
- package/skills/argent-react-native-optimization/references/semantic-checklist.md +2 -2
- package/skills/argent-react-native-profiler/SKILL.md +46 -110
- package/skills/argent-screen-recording/SKILL.md +18 -37
- package/skills/argent-screenshot-diff/SKILL.md +8 -52
- package/skills/argent-settings-permissions/SKILL.md +15 -117
- package/skills/argent-test-ui-flow/SKILL.md +20 -90
- package/skills/argent-tv-interact/SKILL.md +9 -34
- package/skills/argent-tv-interact/references/vega.md +23 -0
- package/agents/argent-environment-inspector.md +0 -107
- package/agents/references/quality-control-checklist.md +0 -45
- package/skills/argent-device-interact/references/gesture-examples.md +0 -114
- package/skills/argent-device-interact/references/secrets.md +0 -23
- package/skills/argent-metro-debugger/references/failure-scenarios.md +0 -14
- package/skills/argent-metro-debugger/references/source-maps.md +0 -27
- package/skills/argent-react-native-profiler/references/diagnostic-tools.md +0 -101
package/dist/installer.mjs
CHANGED
|
@@ -23581,7 +23581,7 @@ async function init2(args) {
|
|
|
23581
23581
|
scope,
|
|
23582
23582
|
customRoot
|
|
23583
23583
|
});
|
|
23584
|
-
log.step(import_picocolors11.default.bold("Step 3: Rules
|
|
23584
|
+
log.step(import_picocolors11.default.bold("Step 3: Rules"));
|
|
23585
23585
|
const copyResults = copyRulesAndAgents(
|
|
23586
23586
|
writtenAdapters,
|
|
23587
23587
|
effectiveRoot,
|
|
@@ -23590,9 +23590,9 @@ async function init2(args) {
|
|
|
23590
23590
|
AGENTS_DIR
|
|
23591
23591
|
);
|
|
23592
23592
|
if (copyResults.length > 0) {
|
|
23593
|
-
note(copyResults.join("\n"), "Rules
|
|
23593
|
+
note(copyResults.join("\n"), "Rules");
|
|
23594
23594
|
} else {
|
|
23595
|
-
log.info(import_picocolors11.default.dim("No rules
|
|
23595
|
+
log.info(import_picocolors11.default.dim("No rules to copy for selected editors."));
|
|
23596
23596
|
}
|
|
23597
23597
|
await reportRetiredFiles(
|
|
23598
23598
|
findRetiredRulesAndAgents(
|
|
@@ -23656,7 +23656,7 @@ function printSummary({
|
|
|
23656
23656
|
selectedAdapters.length > 0 ? `${import_picocolors11.default.green("MCP server")} configured for ${selectedAdapters.map((a2) => a2.name).join(", ")} (${scope})` : `${import_picocolors11.default.yellow("MCP server")} NOT configured \u2014 no editor config was written`,
|
|
23657
23657
|
`${import_picocolors11.default.green("Auto-approve")} ${allowlistEnabled ? "enabled" : "skipped"}`,
|
|
23658
23658
|
`${import_picocolors11.default.green("Skills")} ${skillsMethod === "manual" ? "instructions printed" : "installed"}`,
|
|
23659
|
-
`${import_picocolors11.default.green("Rules
|
|
23659
|
+
`${import_picocolors11.default.green("Rules")} ${copiedRules ? "copied" : "n/a"}`
|
|
23660
23660
|
];
|
|
23661
23661
|
note(summaryLines.join("\n"), "Summary");
|
|
23662
23662
|
if (installMode === "local") {
|
|
@@ -23667,7 +23667,7 @@ function printSummary({
|
|
|
23667
23667
|
`${import_picocolors11.default.bold("Commit")} so your team shares the same setup:`,
|
|
23668
23668
|
` ${import_picocolors11.default.cyan("package.json")} + your lockfile`,
|
|
23669
23669
|
` the written MCP config (.mcp.json, .cursor/mcp.json, \u2026)`,
|
|
23670
|
-
` ${import_picocolors11.default.cyan(".argent/install.json")}${wroteProjectTelemetryOptOut ? ` + ${import_picocolors11.default.cyan(".argent/config.json")}` : ""}, and the skills
|
|
23670
|
+
` ${import_picocolors11.default.cyan(".argent/install.json")}${wroteProjectTelemetryOptOut ? ` + ${import_picocolors11.default.cyan(".argent/config.json")}` : ""}, and the skills and rules files`,
|
|
23671
23671
|
"",
|
|
23672
23672
|
`Teammates then get argent on ${import_picocolors11.default.cyan("npm install")} \u2014 no global install, no ${import_picocolors11.default.cyan("argent init")}.`,
|
|
23673
23673
|
import_picocolors11.default.dim(
|
|
@@ -24521,7 +24521,7 @@ async function update(args) {
|
|
|
24521
24521
|
});
|
|
24522
24522
|
}
|
|
24523
24523
|
if (ruleResults.length > 0) {
|
|
24524
|
-
note(ruleResults.join("\n"), "Rules
|
|
24524
|
+
note(ruleResults.join("\n"), "Rules Updated");
|
|
24525
24525
|
}
|
|
24526
24526
|
await reportRetiredFiles(
|
|
24527
24527
|
findRetiredRulesAndAgents(
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -29101,7 +29101,7 @@ function toMcpToolList(tools, options = {}) {
|
|
|
29101
29101
|
}
|
|
29102
29102
|
|
|
29103
29103
|
// ../argent-mcp/src/instructions.ts
|
|
29104
|
-
var SERVER_INSTRUCTIONS = "Argent \u2014 iOS Simulator, Android Emulator, and Chromium app control for interacting, testing, profiling and debugging mobile and Chromium applications. Interaction tools return the screen after the action: a screenshot plus the accessibility element tree with normalized tap frames. Take coordinates from that tree; call describe
|
|
29104
|
+
var SERVER_INSTRUCTIONS = "Argent \u2014 iOS Simulator, Android Emulator, and Chromium app control for interacting, testing, profiling and debugging mobile and Chromium applications. Interaction tools return the screen after the action: a screenshot plus the accessibility element tree with normalized tap frames. Take coordinates from that tree; call describe only when no fresh tree is available \u2014 never guess coordinates from pixels. Do not stop simulator servers when a task finishes: the next task reuses them. Call stop-all-simulator-servers when the user asks to clean up or ends the session, or when a skill tells you to recycle a device's services, always with devices: [...] naming the devices this session used. Never stop a Metro the user started unless they ask. One tool-server is shared by every agent using this argent install, so an unscoped call tears down their devices too \u2014 reserve it for a deliberate machine-wide cleanup.";
|
|
29105
29105
|
|
|
29106
29106
|
// ../argent-mcp/src/installed-version.ts
|
|
29107
29107
|
import * as fs11 from "node:fs";
|