@bnbagent/studio-cli 0.0.13-alpha.8 → 0.0.14-alpha.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/README.md +8 -0
- package/dist/bag.js +3556 -1565
- package/dist/{chunk-NTDWVEW2.js → chunk-QVYWAJEK.js} +228 -72
- package/dist/{deployCli-ZESBUWQB.js → deployCli-F3AOM5UO.js} +1 -2
- package/package.json +2 -2
- package/recipes/agent/code/{{PKG}}/deliveryPolicy.ts.tmpl +43 -0
- package/recipes/agent/code/{{PKG}}/readToolCatalog.ts.tmpl +102 -0
- package/recipes/agent/code/{{PKG}}/signing.ts.tmpl +7 -2
- package/recipes/agent/recipe.toml +4 -3
- package/recipes/runtimes/agentcore/code/{{PKG}}/dualMain.ts.tmpl +6 -2
- package/recipes/runtimes/agentcore/code/{{PKG}}/mcpMain.ts.tmpl +173 -134
- package/recipes/runtimes/agentcore/code/{{PKG}}/model.ts.tmpl +7 -0
- package/recipes/runtimes/agentcore/code/{{PKG}}/sellerCore.ts.tmpl +31 -46
- package/recipes/runtimes/agentcore/code/{{PKG}}/tools.ts.tmpl +19 -48
- package/recipes/runtimes/agentcore/code/{{PKG}}/unifiedMain.ts.tmpl +2 -1
- package/recipes/runtimes/azure-foundry/code/{{PKG}}/mcpMain.ts.tmpl +173 -134
- package/recipes/runtimes/azure-foundry/code/{{PKG}}/model.ts.tmpl +7 -0
- package/recipes/runtimes/azure-foundry/code/{{PKG}}/sellerCore.ts.tmpl +31 -46
- package/recipes/runtimes/azure-foundry/code/{{PKG}}/tools.ts.tmpl +19 -48
- package/recipes/runtimes/azure-foundry/code/{{PKG}}/unifiedMain.ts.tmpl +2 -1
- package/recipes/wallet/recipe.toml +3 -2
- package/skills/bnbagent-studio.md +12 -1
- package/skills/references/bnbagent-studio-operating.md +1 -0
- package/skills/references/bnbagent-studio-scaffolding-agent.md +11 -34
- package/skills/references/bnbagent-studio-selling-via-b402.md +3 -3
- package/skills/references/bnbagent-studio-using-altana-wallet.md +6 -1
- package/skills/references/bnbagent-studio-using-twak-wallet.md +24 -76
- package/dist/_twak-4XF4H5PL.js +0 -25
- package/dist/chunk-RO726HJG.js +0 -175
package/README.md
CHANGED
|
@@ -223,6 +223,8 @@ bag deploy --provider bnb
|
|
|
223
223
|
bag deploy verify --provider bnb
|
|
224
224
|
```
|
|
225
225
|
|
|
226
|
+
For an `evm-local` or Altana BSC testnet project, successful GitHub login also requests the operator-configured tBNB/U faucet grant; retry explicitly with `bag wallet fund`. Altana signs locally with its encrypted admin keystore, and funds always go to that same admin address. Amounts and post-balance caps come from the API and are not hard-coded in Studio.
|
|
227
|
+
|
|
226
228
|
This is a 48-hour BSC testnet sandbox in the operator's cloud. The clock starts on the first successful deploy and redeploying does not reset it. Runtime and data are automatically reclaimed at expiry. Use a throwaway wallet, review the key-exposure notice, and destroy the deployment early if you are finished.
|
|
227
229
|
|
|
228
230
|
### Your own AWS AgentCore account
|
|
@@ -267,6 +269,7 @@ Use the CLI directly for automation, incident response, or when you already unde
|
|
|
267
269
|
| --- | --- |
|
|
268
270
|
| Skills | `skills install`, `skills list`, `skills uninstall` |
|
|
269
271
|
| Project | `init`, `scan`, `recipe`, `dev`, `doctor`, `bundle` |
|
|
272
|
+
| Local feedback | `feedback` (creates an inspectable redacted bundle; never uploads it) |
|
|
270
273
|
| Configuration | `config`, `env`, `agents` |
|
|
271
274
|
| Wallet and policy | `wallet`, `wallet session`, `budget`, `audit` |
|
|
272
275
|
| Identity | `erc8004 register`, `show`, `resolve`, `update-endpoint`, `update-metadata` |
|
|
@@ -278,9 +281,14 @@ Use the CLI directly for automation, incident response, or when you already unde
|
|
|
278
281
|
|
|
279
282
|
Run `bag --help` and `bag <command> --help` for the executable reference. Run `bag scan` for a non-mutating project inspection and `bag doctor` for readiness diagnostics.
|
|
280
283
|
|
|
284
|
+
`bag feedback` keeps command lifecycle diagnostics under `.studio/logs/` for at most seven days, 10 MiB, and 256 generated files. It creates a redacted JSON bundle, shows the release-pinned Google Form ID, then opens that form only after interactive confirmation; attachment and submission remain manual. Set `diagnostics.enabled = false` in `studio.toml` (or `BAG_NO_DIAGNOSTICS=1` for a single invocation) to disable recording.
|
|
285
|
+
|
|
286
|
+
Before launch, add the BNB Chain-owned form ID and reviewed pre-filled template to the CLI's trusted release allowlist. A project-local environment variable cannot replace the production form. For isolated development only, set `BAG_FEEDBACK_DEVELOPMENT_FORM_URL_TEMPLATE` and pass `bag feedback --allow-development-form`; the CLI labels that identity as an untrusted development override before confirmation. Each `entry.*` value must be one safe placeholder such as `{feedback_id}`, `{bag_version}`, `{command}`, or `{error_code}`, and the template must include `{feedback_id}`.
|
|
287
|
+
|
|
281
288
|
## Security model
|
|
282
289
|
|
|
283
290
|
- Keep `.studio/.env.local`, `.studio/wallets/`, TWAK custody files, and Altana admin material out of version control and chat.
|
|
291
|
+
- Treat `.studio/logs/` as local diagnostic data. Review a `bag feedback` JSON bundle before manually attaching it; Studio never uploads the bundle or includes the financial audit log.
|
|
284
292
|
- Keep wallet files at the workspace root, never under deployable `app/agent/`.
|
|
285
293
|
- Keep quote creation, funded-job verification, submission, and x402 settlement in fixed code.
|
|
286
294
|
- Give the LLM only read-only chain tools; do not add raw signing or arbitrary transaction tools.
|