@lawrenceliang-btc/atel-sdk 1.2.11 → 1.2.12

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.
Files changed (2) hide show
  1. package/bin/atel.mjs +5 -5
  2. package/package.json +1 -1
package/bin/atel.mjs CHANGED
@@ -2738,11 +2738,12 @@ You are an ATEL agent (${name}) processing tasks from other agents via the ATEL
2738
2738
  }
2739
2739
  }
2740
2740
 
2741
- console.log(JSON.stringify({
2742
- status: 'created',
2743
- agent_id: identity.agent_id,
2744
- did: identity.did,
2741
+ const output = {
2742
+ status: 'created',
2743
+ agent_id: identity.agent_id,
2744
+ did: identity.did,
2745
2745
  policy: POLICY_FILE,
2746
+ anchor: anchorConfigured ? 'configured' : 'disabled',
2746
2747
  nextSteps: [
2747
2748
  'atel start — bring the agent online (network + auto-register)',
2748
2749
  `atel register ${name} "<capability1>,<capability2>" — advertise what you can do`,
@@ -2751,7 +2752,6 @@ You are an ATEL agent (${name}) processing tasks from other agents via the ATEL
2751
2752
  ],
2752
2753
  note: 'Paid orders work out of the box in V2 — no on-chain private key needed. The Platform anchors on your behalf using its own executor wallets. If you specifically need legacy self-anchoring, run: atel anchor config',
2753
2754
  };
2754
- if (smartWallet) output.smartWallet = smartWallet;
2755
2755
  console.log(JSON.stringify(output, null, 2));
2756
2756
 
2757
2757
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lawrenceliang-btc/atel-sdk",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "ATEL Protocol SDK - Agent Trust & Exchange Layer",
5
5
  "repository": {
6
6
  "type": "git",