@bnbagent/studio-cli 0.0.6-alpha.7 → 0.0.6-alpha.8
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/DISCLAIMER.md +6 -27
- package/README.md +6 -13
- package/dist/bag.js +920 -723
- package/dist/{chunk-VEOOFDSF.js → chunk-JZAW6HMV.js} +74 -5
- package/dist/{deployCli-EEK75T67.js → deployCli-AJ25A4VK.js} +1 -1
- package/package.json +2 -2
- package/recipes/providers/pieverse-llm/skills/funding-pieverse-llm.md +32 -64
- package/skills/bnbagent-studio.md +29 -74
- package/skills/references/bnbagent-studio-adding-to-project.md +58 -169
- package/skills/references/bnbagent-studio-buying-from-bazaar.md +43 -104
- package/skills/references/bnbagent-studio-buying-via-8183.md +38 -112
- package/skills/references/bnbagent-studio-extending-signing.md +47 -50
- package/skills/references/bnbagent-studio-operating.md +58 -110
- package/skills/references/bnbagent-studio-scaffolding-agent.md +134 -400
- package/skills/references/bnbagent-studio-selling-via-8183.md +87 -171
- package/skills/references/bnbagent-studio-selling-via-b402.md +39 -131
- package/skills/references/bnbagent-studio-use-aws-agentcore.md +42 -141
- package/skills/references/bnbagent-studio-use-azure-foundry.md +34 -95
- package/skills/references/bnbagent-studio-use-bnb-trial.md +12 -36
- package/skills/references/bnbagent-studio-using-altana-wallet.md +11 -28
- package/skills/references/bnbagent-studio-using-twak-wallet.md +102 -210
- package/skills/references/bnbagent-studio-wiring-llm-tools.md +71 -150
package/DISCLAIMER.md
CHANGED
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
# Disclaimer
|
|
2
2
|
|
|
3
|
-
**bnbagent-studio** is open-source software provided under the
|
|
4
|
-
[Apache-2.0 license](https://github.com/bnb-chain/bnbagent-studio/blob/main/LICENSE)
|
|
5
|
-
**"AS IS", without warranty of any kind** (see Sections 7–8 of the license).
|
|
6
|
-
This file spells out what that means for the parts of the project that touch
|
|
7
|
-
your cloud account and your funds.
|
|
3
|
+
**bnbagent-studio** is open-source software provided under the [Apache-2.0 license](https://github.com/bnb-chain/bnbagent-studio/blob/main/LICENSE) **"AS IS", without warranty of any kind** (see Sections 7-8 of the license). This file spells out what that means for the parts of the project that touch your cloud account and your funds.
|
|
8
4
|
|
|
9
5
|
## AWS permissions and resources
|
|
10
6
|
|
|
11
|
-
Deploying the seller agent provisions resources **in your own AWS account**:
|
|
12
|
-
Bedrock AgentCore and Secrets Manager for the Agent (and, for inbound OAuth2, a
|
|
13
|
-
Cognito user pool you create via the provided CDK app).
|
|
7
|
+
Deploying the seller agent provisions resources **in your own AWS account**: Bedrock AgentCore and Secrets Manager for the Agent, plus the Cognito user pool and per-agent M2M client that the delegated deploy creates for inbound OAuth2.
|
|
14
8
|
|
|
15
|
-
The IAM
|
|
16
|
-
[least-privilege-iam.md](https://github.com/bnb-chain/bnbagent-studio/blob/main/docs/guides/agentcore-deploy-iam.md)
|
|
17
|
-
and
|
|
18
|
-
[iam-policies.md](https://github.com/bnb-chain/bnbagent-studio/blob/main/docs/guides/agentcore-deploy-iam.md)
|
|
19
|
-
— are **reference configurations**, provided AS IS. They are a best effort at
|
|
20
|
-
a least-privilege setup, but **you** apply them, **you** own the credentials,
|
|
21
|
-
and **you** remain solely responsible for:
|
|
9
|
+
The [AgentCore least-privilege IAM guide](https://github.com/bnb-chain/bnbagent-studio/blob/main/docs/guides/agentcore-deploy-iam.md) is a **reference configuration**, provided AS IS. It is a best effort at a least-privilege setup, but **you** apply them, **you** own the credentials, and **you** remain solely responsible for:
|
|
22
10
|
|
|
23
11
|
- reviewing and scoping every policy before applying it to your account;
|
|
24
12
|
- the conduct of any identity that holds these permissions;
|
|
@@ -28,21 +16,12 @@ and **you** remain solely responsible for:
|
|
|
28
16
|
Before granting any permission, read the official AWS guidance:
|
|
29
17
|
|
|
30
18
|
- [AWS IAM best practices](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)
|
|
31
|
-
- [AWS Well-Architected Framework
|
|
19
|
+
- [AWS Well-Architected Framework - security pillar](https://docs.aws.amazon.com/wellarchitected/latest/framework/security.html)
|
|
32
20
|
|
|
33
21
|
## Wallet keys and on-chain funds
|
|
34
22
|
|
|
35
|
-
The software manages wallet keys and on-chain funds. Private keys live only in
|
|
36
|
-
environments you control — which also means only **you** can protect them.
|
|
37
|
-
Start on testnet, fund mainnet wallets only with amounts you can afford to
|
|
38
|
-
lose, and use the software at your own risk. Nothing in this project is
|
|
39
|
-
financial advice.
|
|
23
|
+
The software manages wallet keys and on-chain funds. Private keys live only in environments you control - which also means only **you** can protect them. Start on testnet, fund mainnet wallets only with amounts you can afford to lose, and use the software at your own risk. Nothing in this project is financial advice.
|
|
40
24
|
|
|
41
25
|
## No liability
|
|
42
26
|
|
|
43
|
-
To the maximum extent permitted by law, the authors and contributors accept no
|
|
44
|
-
liability for damages of any kind arising from the use of this software —
|
|
45
|
-
including, without limitation, lost funds, compromised credentials, unexpected
|
|
46
|
-
cloud charges, or security incidents in your AWS account. The
|
|
47
|
-
[Apache-2.0 license](https://github.com/bnb-chain/bnbagent-studio/blob/main/LICENSE)
|
|
48
|
-
is the authoritative statement of the terms.
|
|
27
|
+
To the maximum extent permitted by law, the authors and contributors accept no liability for damages of any kind arising from the use of this software - including, without limitation, lost funds, compromised credentials, unexpected cloud charges, or security incidents in your AWS account. The [Apache-2.0 license](https://github.com/bnb-chain/bnbagent-studio/blob/main/LICENSE) is the authoritative statement of the terms.
|
package/README.md
CHANGED
|
@@ -1,26 +1,19 @@
|
|
|
1
1
|
# @bnbagent/studio-cli
|
|
2
2
|
|
|
3
|
-
`bag` scaffolds, runs, and deploys BNB Chain seller agents using ERC-8004
|
|
4
|
-
identity, ERC-8183 commerce, and x402 payments.
|
|
3
|
+
`bag` scaffolds, runs, and deploys BNB Chain seller agents using ERC-8004 identity, ERC-8183 commerce, and x402 payments.
|
|
5
4
|
|
|
6
5
|
```bash
|
|
7
6
|
npm install --global @bnbagent/studio-cli
|
|
8
|
-
bag init
|
|
7
|
+
bag init myseller
|
|
9
8
|
```
|
|
10
9
|
|
|
11
10
|
## Fund an ERC-8183 wallet on BSC testnet
|
|
12
11
|
|
|
13
|
-
ERC-8183 escrow is denominated in the 18-decimal testnet **U** token at
|
|
14
|
-
`0xc70B8741B8B07A6d61E54fd4B20f22Fa648E5565`. Testnet BNB (tBNB) pays gas;
|
|
15
|
-
it is not the escrow currency.
|
|
12
|
+
ERC-8183 escrow is denominated in the 18-decimal testnet **U** token at `0xc70B8741B8B07A6d61E54fd4B20f22Fa648E5565`. Testnet BNB (tBNB) pays gas; it is not the escrow currency.
|
|
16
13
|
|
|
17
14
|
1. Run `bag wallet show` and copy the wallet address.
|
|
18
|
-
2. Claim ERC-8183 testnet U at
|
|
19
|
-
|
|
20
|
-
3. Get a little tBNB for gas from the
|
|
21
|
-
[BNB Chain testnet faucet](https://testnet.bnbchain.org/faucet-smart).
|
|
15
|
+
2. Claim ERC-8183 testnet U at <https://united-coin-u.github.io/u-faucet/>.
|
|
16
|
+
3. Get a little tBNB for gas from the [BNB Chain testnet faucet](https://testnet.bnbchain.org/faucet-smart).
|
|
22
17
|
4. Run `bag doctor` to verify both balances before buying paid work.
|
|
23
18
|
|
|
24
|
-
Do not substitute the 6-decimal B402/x402 testnet Mock U token. It belongs to a
|
|
25
|
-
different commerce rail. FREE ERC-8183 jobs do not escrow U, but still require
|
|
26
|
-
the configured gas or paymaster path for their state-changing calls.
|
|
19
|
+
Do not substitute the 6-decimal B402/x402 testnet Mock U token. It belongs to a different commerce rail. FREE ERC-8183 jobs do not escrow U, but still require the configured gas or paymaster path for their state-changing calls.
|