@perkos/agent-sdk 0.5.1 → 0.6.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/CHANGELOG.md CHANGED
@@ -4,6 +4,35 @@ All notable changes to `@perkos/agent-sdk` are documented here.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.6.0 - 2026-08-31
8
+
9
+ ### Changed
10
+
11
+ - Promote the source-verified active defaults on both networks to `agentic-commerce-v4`,
12
+ `sbtc-commerce-v3` and `reputation-registry-v3`.
13
+ - Pin the current official PoX-5 testnet sBTC principal
14
+ `SN3VMHXEN64ZZF71JQ5VESXDWTR301XTTXGF4J8F1.sbtc-token` in both escrow configuration and the
15
+ direct x402 asset registry; mainnet remains canonical `SM3VD...sbtc-token`.
16
+ - Update onboarding and architecture documentation so normal v4/v3/v3 use no longer requires
17
+ explicit overrides. Historical same-network deployments remain configurable.
18
+
19
+ ### Evidence
20
+
21
+ - Record the mainnet deploy/configuration confirmation in blocks 8885885–8885898 from exact
22
+ contracts/Web merge `670d23abe78051cfb3963228650fed5089d6827c`.
23
+ - Record the guarded internal mainnet sBTC lifecycle from exact merge
24
+ `8782e547343deccf7477bc9c293987a3757d6d30`: PASS 26/26 for job `u1`, terminal `u3`, escrow
25
+ zero, exact 100-atomic-unit payout, successful reputation synchronization and persisted rating.
26
+ - Keep team-operated release evidence explicitly separate from external adoption, non-team wallet
27
+ usage and revenue.
28
+
29
+ ### Security
30
+
31
+ - Continue reading the live escrow and per-job pinned sBTC token before every versioned settlement;
32
+ exact deny-mode post-conditions remain mandatory.
33
+ - Mainnet hosted x402/MPP settlement and npm publication remain separate release gates. The
34
+ independent external security review remains open.
35
+
7
36
  ## 0.5.1 - 2026-08-30
8
37
 
9
38
  ### Fixed
package/README.md CHANGED
@@ -9,11 +9,11 @@ This repository is the continuation of `PerkOS-xyz/PerkOS-Agent-SDK`, renamed to
9
9
  public SDK with the Nayori product identity. The npm package remains `@perkos/agent-sdk` and the
10
10
  complete Git history, releases, issues, and pull requests are preserved.
11
11
 
12
- > Status: 0.5.1 developer release. Read clients, transaction builders, browser and headless signer
12
+ > Status: 0.6.0 release candidate. Read clients, transaction builders, browser and headless signer
13
13
  > adapters, confirmation receipts, safety policies, and a transactional testnet quickstart are
14
- > implemented. The x402 v2 client and Stacks facilitator foundations are implemented; this release
15
- > adds wallet-linked OAuth and MCP support for the planned invite-only testnet pilot. Hosted rollout,
16
- > external review and adoption evidence remain before Milestone 2 completion. The direct x402
14
+ > implemented. The x402 v2 client and Stacks facilitator foundations are implemented, with
15
+ > wallet-linked OAuth and MCP support for the invite-only testnet pilot. The hosted testnet rollout
16
+ > is live; external review and independently attributable adoption evidence remain open. The direct x402
17
17
  > profile includes request-bound pure verification
18
18
  > and payer-side intent, policy, Leather, and remote-signer foundations for STX, sBTC, and USDCx.
19
19
  > The SDK also implements the MPP PaymentAuth `usdc`/`charge` Stacks profile for direct USDCx,
@@ -52,8 +52,8 @@ the official v2 `PAYMENT-REQUIRED` header for an existing PerkOS escrow job:
52
52
  npm run quickstart:x402
53
53
  ```
54
54
 
55
- The facilitator example uses public Hiro v3 transaction and event data to inspect the historical
56
- M1 mainnet funding transaction. It proves the verifier fails closed when that otherwise matching
55
+ The facilitator example uses public Hiro v3 transaction and event data to inspect a historical
56
+ mainnet funding transaction. It proves the verifier fails closed when that otherwise matching
57
57
  proof is outside its payment window; it does not write replay state or submit a transaction:
58
58
 
59
59
  ```bash
@@ -138,23 +138,16 @@ Settlement helpers read the job and escrow balance before building exact contrac
138
138
  post-conditions. This protects both wallet-originated and headless transactions from transferring
139
139
  more than the job requires.
140
140
 
141
- ## Versioned escrow candidate
141
+ ## Active versioned escrow
142
142
 
143
- The SDK can target the versioned contract interfaces introduced for Nayori's pre-launch security
144
- review, but the published mainnet and testnet defaults remain on the currently verified contracts.
145
- Do not override them until the chosen network has source-verified candidate deployments.
143
+ Version `0.6.0` selects Nayori's source-verified v4/v3/v3 generation by default on mainnet and
144
+ testnet. A normal client therefore needs no contract override:
146
145
 
147
146
  ```ts
148
- import { PerkOSClient, type ContractId } from "@perkos/agent-sdk";
147
+ import { PerkOSClient } from "@perkos/agent-sdk";
149
148
 
150
- const deployer = "ST16EWRC01S1SFWGBP63MW47VY8P3AYFA8VGEBGE5";
151
149
  const perkos = new PerkOSClient({
152
- network: "testnet",
153
- contracts: {
154
- stxCommerce: `${deployer}.agentic-commerce-v4` as ContractId,
155
- sbtcCommerce: `${deployer}.sbtc-commerce-v3` as ContractId,
156
- reputationRegistry: `${deployer}.reputation-registry-v3` as ContractId,
157
- },
150
+ network: "mainnet",
158
151
  signer,
159
152
  });
160
153
 
@@ -169,7 +162,7 @@ const sync = await perkos.getReputationSync("sbtc", 7n);
169
162
  if (sync?.pending) await perkos.retryReputationSync("sbtc", 7n);
170
163
  ```
171
164
 
172
- The candidate's fixed 12-burn-block review window is readable through `getReviewWindow(asset)`.
165
+ The fixed 12-burn-block review window is readable through `getReviewWindow(asset)`.
173
166
  Evaluator completion/rejection is available through the exact deadline; timeout settlement is
174
167
  available only after it. Timeout payout is returned as the distinct `timeout-paid` (`u6`) status
175
168
  and must not be counted as a completed job or reputation success. A failed reputation write never
@@ -180,17 +173,22 @@ pinned when the job was funded. Both the trait argument and exact fungible-token
180
173
  that historical token, so rotating the contract's future funding default cannot strand an existing
181
174
  escrow.
182
175
 
183
- The previous v3/v2 testnet generation remains supported and immutable at 144 blocks. The v4/v3
184
- overrides above are deployed and source-verified only on Stacks testnet from contracts/Web merge
185
- `b15544d601bd4e49610be854f7ad33a0af90c0a7`. Controlled STX and official PoX-5 sBTC complete paths
186
- pass 27/27 and 30/30. The real timeout path passes preparation 20/20, settlement 12/12 and
176
+ The previous v3/v2 testnet generation remains supported through explicit overrides and immutable
177
+ at 144 blocks. The active v4/v3/v3 generation first passed on Stacks testnet. Controlled STX and
178
+ official PoX-5 sBTC complete paths pass 27/27 and 30/30. The real timeout path passes preparation
179
+ 20/20, settlement 12/12 and
187
180
  separate public-state verification 10/10. Job `u2` settled at burn `11290` in
188
181
  [`0x06537111…15bb9`](https://explorer.hiro.so/txid/0x06537111ef6c75d3c5d750154f97a3b4a0c233a84639583f7af18b2386915bb9?chain=testnet),
189
182
  ending in `timeout-paid` (`u6`) with zero escrow, one exact 1,000-atomic-unit sBTC payout and no
190
183
  completion, reputation or rating credit. The frozen evidence is documented in the
191
184
  [contracts/Web repository](https://github.com/PerkOS-xyz/PerkOS-Nayori/blob/main/docs/TESTNET_SECURITY_EVIDENCE.md).
192
- Keep the explicit overrides above: published package defaults remain unchanged until the external
193
- review and release gate close.
185
+
186
+ The same exact sources are live on mainnet under
187
+ `SP2K7PV5NXBNRV510S6DCA6RFMTFHAF3ZPK6ZSXPH`. Deploy/configuration confirmed in blocks
188
+ 8885885–8885898. A guarded internal mainnet sBTC job then passed 26/26 checks for exactly 100
189
+ atomic units, ending in `completed` (`u3`) with escrow zero, exact payout, synchronized reputation
190
+ and persisted rating. Those actors are team-operated release evidence, not external adoption,
191
+ non-team wallet activity or revenue. The independent external security review remains open.
194
192
 
195
193
  ## Browser signer (Leather and other Stacks wallets)
196
194
 
@@ -520,8 +518,8 @@ or facilitator-submitted signed transaction.
520
518
  - Set a budget and fund escrow.
521
519
  - Assign a provider and submit a deliverable.
522
520
  - Complete, reject, or expire a job.
523
- - Settle an overdue candidate review to the provider with exact post-conditions.
524
- - Read and retry durable candidate reputation synchronization.
521
+ - Settle an overdue review to the provider with exact post-conditions.
522
+ - Read and retry durable reputation synchronization.
525
523
  - Rate a provider and read reputation.
526
524
 
527
525
  ## Security model
@@ -545,8 +543,8 @@ or facilitator-submitted signed transaction.
545
543
  - OAuth client secrets and access tokens are application secrets. The SDK returns them to the
546
544
  caller but does not persist, log or refresh them automatically.
547
545
 
548
- This package has not yet completed the external security review required for PerkOS Milestone 2.
549
- Do not treat the developer release as audited software.
546
+ The independent external security review remains open. Do not treat this release candidate as
547
+ audited software.
550
548
 
551
549
  See [Architecture](docs/ARCHITECTURE.md), [x402 payments](docs/X402_PAYMENTS.md),
552
550
  [MPP payments](docs/MPP_PAYMENTS.md), [Partner pilot](docs/PARTNER_PILOT.md) and
package/dist/constants.js CHANGED
@@ -3,18 +3,18 @@ const TESTNET_DEPLOYER = "ST16EWRC01S1SFWGBP63MW47VY8P3AYFA8VGEBGE5";
3
3
  export const DEFAULT_DEPLOYMENTS = {
4
4
  mainnet: {
5
5
  agentRegistry: `${MAINNET_DEPLOYER}.agent-registry`,
6
- stxCommerce: `${MAINNET_DEPLOYER}.agentic-commerce-v2`,
7
- sbtcCommerce: `${MAINNET_DEPLOYER}.sbtc-commerce`,
8
- reputationRegistry: `${MAINNET_DEPLOYER}.reputation-registry-v2`,
6
+ stxCommerce: `${MAINNET_DEPLOYER}.agentic-commerce-v4`,
7
+ sbtcCommerce: `${MAINNET_DEPLOYER}.sbtc-commerce-v3`,
8
+ reputationRegistry: `${MAINNET_DEPLOYER}.reputation-registry-v3`,
9
9
  sbtcToken: "SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token",
10
10
  sbtcAssetName: "sbtc-token",
11
11
  },
12
12
  testnet: {
13
13
  agentRegistry: `${TESTNET_DEPLOYER}.agent-registry`,
14
- stxCommerce: `${TESTNET_DEPLOYER}.agentic-commerce-v2`,
15
- sbtcCommerce: `${TESTNET_DEPLOYER}.sbtc-commerce`,
16
- reputationRegistry: `${TESTNET_DEPLOYER}.reputation-registry-v2`,
17
- sbtcToken: "ST1F7QA2MDF17S807EPA36TSS8AMEFY4KA9TVGWXT.sbtc-token",
14
+ stxCommerce: `${TESTNET_DEPLOYER}.agentic-commerce-v4`,
15
+ sbtcCommerce: `${TESTNET_DEPLOYER}.sbtc-commerce-v3`,
16
+ reputationRegistry: `${TESTNET_DEPLOYER}.reputation-registry-v3`,
17
+ sbtcToken: "SN3VMHXEN64ZZF71JQ5VESXDWTR301XTTXGF4J8F1.sbtc-token",
18
18
  sbtcAssetName: "sbtc-token",
19
19
  },
20
20
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= "SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token";
23
- const TESTNET_SBTC = "ST1F7QA2MDF17S807EPA36TSS8AMEFY4KA9TVGWXT.sbtc-token";
23
+ const TESTNET_SBTC = "SN3VMHXEN64ZZF71JQ5VESXDWTR301XTTXGF4J8F1.sbtc-token";
24
24
  const MAINNET_USDCX = "SP120SBRBQJ00MCWS7TM5R8WJNTTKD5K0HFRC2CNE.usdcx";
25
25
  const TESTNET_USDCX = "ST2WK9SGBJ15RHZ33KK0KYVSXBEBHM1XDM8C96EC4.usdcx";
26
26
  function stxAsset(network) {
@@ -149,15 +149,15 @@ and `sbtc-commerce-v3`, the client also reads the job-pinned token and uses it i
149
149
  fungible-token post-condition; a later default-token rotation cannot redirect or strand an
150
150
  existing escrow.
151
151
 
152
- The current v4/v3 candidate records a fixed 12 Bitcoin burn-block review deadline at submission.
152
+ The active v4/v3 generation records a fixed 12 Bitcoin burn-block review deadline at submission.
153
153
  The immutable earlier v3/v2 testnet generation remains supported at 144 blocks. Through the
154
154
  deadline, the evaluator remains the only completion/rejection authority. After it, any principal
155
155
  may submit `settle-review-timeout`; the SDK treats the result as `timeout-paid`, not completion.
156
156
  Reputation synchronization has its own durable read record and deny-mode retry plan so registry
157
157
  unavailability never expands payment authority or rolls back the payout.
158
158
 
159
- Versioned contract IDs are explicit configuration overrides. Default deployments do not change
160
- until a public-network candidate has source verification and release approval.
159
+ Versioned v4/v3/v3 contract IDs are the defaults on both networks. Historical generations remain
160
+ available through explicit same-network overrides.
161
161
 
162
162
  ## Future adapters
163
163
 
@@ -16,7 +16,7 @@ Official references:
16
16
  - [OpenAPI payment discovery](https://github.com/tempoxyz/mpp-specs/blob/main/specs/extensions/draft-payment-discovery-01.md)
17
17
  - [Circle xReserve live domain registry](https://xreserve-api-testnet.circle.com/v1/info)
18
18
 
19
- For testnet, SDK 0.5.1 pins the token currently registered by Circle xReserve remote domain
19
+ For testnet, SDK 0.5.1 and later pin the token currently registered by Circle xReserve remote domain
20
20
  `10003`: `ST2WK9SGBJ15RHZ33KK0KYVSXBEBHM1XDM8C96EC4.usdcx`. The live registry and a successful
21
21
  official bridge mint are authoritative when older static documentation differs. The mainnet token
22
22
  identity is unchanged.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perkos/agent-sdk",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "TypeScript SDK for agent identity, escrow settlement, and reputation on Stacks.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",