@itpay/cli 0.1.9 → 0.2.0
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/README.md +10 -1
- package/bin/itp +54 -4485
- package/docs/agent/buyer/cart-checkout.json +20 -11
- package/docs/agent/buyer/catalog-search.json +23 -16
- package/docs/agent/buyer/human-claim-ui.json +2 -0
- package/docs/agent/buyer/payment-qr.json +1 -0
- package/docs/agent/buyer/payment-wait.json +5 -1
- package/docs/agent/buyer/qr-refresh.json +2 -0
- package/docs/agent/buyer/quickstart.json +11 -2
- package/docs/agent/buyer/recovery.json +3 -0
- package/docs/agent/buyer/secure-delivery.json +2 -0
- package/docs/agent/buyer/vault-agent-read.json +4 -0
- package/install.ps1 +15 -3
- package/install.sh +16 -3
- package/lib/buyer.js +1675 -0
- package/lib/docs.js +200 -0
- package/lib/env.js +713 -0
- package/lib/http.js +151 -0
- package/lib/ops.js +135 -0
- package/lib/render-human.js +463 -0
- package/lib/runtime.js +1532 -0
- package/package.json +2 -1
- package/skills/itpay-buyer/SKILL.md +12 -3
package/README.md
CHANGED
|
@@ -155,7 +155,7 @@ from the current state.
|
|
|
155
155
|
Before starting a new purchase, agents should inspect recoverable local state:
|
|
156
156
|
|
|
157
157
|
```bash
|
|
158
|
-
itp status --json
|
|
158
|
+
itp status --refresh --json
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
If an unfinished run exists, continue it:
|
|
@@ -241,6 +241,15 @@ itp buyer vault read --order <order_id> --artifact <vault_artifact_id> --json
|
|
|
241
241
|
Agents must not ask humans to paste claim links, claim tokens, raw API results,
|
|
242
242
|
provider keys, or grant ids into chat.
|
|
243
243
|
|
|
244
|
+
Order/account/refund commands require a server-verified buyer session, not a
|
|
245
|
+
vault grant. If they fail with a buyer session error, run:
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
itp status --refresh --json
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
Then follow the returned `next.command`.
|
|
252
|
+
|
|
244
253
|
## Agent Skill And Docs
|
|
245
254
|
|
|
246
255
|
Installed agents can read the buyer skill and docs graph at any time:
|