mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
d4a712c401
`settle: true` collided with the runner's other `settle` — waiting for the tree to quiesce — which is the very thing a swipe step does after every dispatch, whichever way the flag is set. One sentence of the flow skill used both senses at once. This names the physics instead: `momentum: false` is the momentum-free gesture, and the natural fling is the default the prose already described. ### Renamed | surface | before | after | | --- | --- | --- | | `swipe` flow directive | `settle: true` | `momentum: false` | | `gesture-swipe` param | `settle` | `momentum` | | `gesture-drag` param | `settle` | `momentum` | The directive passes the flag straight through to the tools, so all three move together. `momentum: true` is the default and normalizes to absent, mirroring what `settle: false` did — parse/serialize stay exact inverses. ### Also - Recording summary label `(settle)` → `(momentum-free)` - Internal constants → `MOMENTUM_FREE_EASE_EXPONENT`, `MOMENTUM_FREE_MIN_STEPS` - `flow-run` tool description and `argent-create-flow` skill updated ### Testing `tsc -b`, eslint (`--max-warnings 0`) and prettier clean; `test/flows` + `test/tools` pass 671/671, including a new case covering the legacy-spelling rejection.
29 lines
848 B
JSON
29 lines
848 B
JSON
{
|
|
"private": true,
|
|
"name": "@argent/cli",
|
|
"version": "0.22.1",
|
|
"description": "Shell CLI commands for argent: tools, run, server, enable, disable, flags",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "rm -rf dist tsconfig.tsbuildinfo && tsc",
|
|
"test": "vitest run --passWithNoTests",
|
|
"typecheck:tests": "tsc --noEmit -p tsconfig.test.json"
|
|
},
|
|
"dependencies": {
|
|
"@argent/configuration-core": "file:../configuration-core",
|
|
"@argent/registry": "file:../registry",
|
|
"@argent/telemetry": "file:../telemetry",
|
|
"@argent/tools-client": "file:../argent-tools-client",
|
|
"@clack/prompts": "^1.6.0",
|
|
"picocolors": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.0.1",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.9",
|
|
"zod": "^4.0.0"
|
|
}
|
|
}
|