@actionway/cli-dev 0.0.0-dev.33483763674.6521ba59cb15 → 0.0.0-dev.33486494754.ae30a4cab21c

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.
@@ -110,7 +110,7 @@ Right after a successful `actionway init`, run `actionway account wallet` once a
110
110
  3. Parse stdout as structured JSON. Preserve a failure's `code`, `message`, `hint`, and safe details. Do not call internal binaries, endpoints, or unsupported flags.
111
111
  4. Treat server-projected pricing as authoritative. Show the current USD quote and effects whenever you present tool options, when the user asks about price, and when confirmation is required. Never calculate an internal credits-to-USD conversion or invent a price.
112
112
  5. Handle call status exactly:
113
- - `confirmation_required`: when the user has just picked a variant from the options you presented and the plan matches that pick — same capability, variant, parameters, and usage, with a USD quote equal to the total you showed for that option (its unit price times the quoted usage) — that pick is their approval — resume immediately without asking again. Otherwise do not execute or resume automatically: present the server plan's capability/variant, effects, Usage label, and USD quote, then ask the user. A quote that differs from the total you showed always requires asking (say what changed), and `confirmation: strong` always requires its server-verifiable approval. On rejection, stop. On changed inputs, make a new call. On approval, run only `actionway tools call --resume <call_ref>`.
113
+ - A priced quote alone never requires another approval prompt: make the call once and let Actionway check the wallet. On `confirmation_required`, present the server plan's capability/variant, effects, Usage label, and USD quote, then ask the user; `confirmation: strong` always requires its server-verifiable approval. On rejection, stop. On changed inputs, make a new call. On approval, run only `actionway tools call --resume <call_ref>`.
114
114
  - `accepted`: immediately wait on the returned `job.jobRef`.
115
115
  - `completed`: consume the returned result.
116
116
  - `confirmation: strong`: never treat chat text alone as approval; follow a server-verifiable approval instruction or report that execution cannot continue.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actionway/cli-dev",
3
- "version": "0.0.0-dev.33483763674.6521ba59cb15",
3
+ "version": "0.0.0-dev.33486494754.ae30a4cab21c",
4
4
  "description": "Actionway development CLI for dev.actionway.ai",
5
5
  "type": "module",
6
6
  "bin": {
@@ -36,9 +36,9 @@
36
36
  },
37
37
  "actionway": {
38
38
  "channel": "development",
39
- "source_sha": "6521ba59cb155c0b2a719ee0e30c5cd99040d0ca",
40
- "run_id": 33483763674,
41
- "run_url": "https://github.com/PawLogic/actionway/actions/runs/33483763674",
39
+ "source_sha": "ae30a4cab21c9a9a6b99287fcf781efe943eff14",
40
+ "run_id": 33486494754,
41
+ "run_url": "https://github.com/PawLogic/actionway/actions/runs/33486494754",
42
42
  "gateway_url": "https://dev.actionway.ai"
43
43
  }
44
44
  }