@dakota-xyz/ts-sdk 2.1.1 → 2.2.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 CHANGED
@@ -757,6 +757,30 @@ Hosted signing agents that draft payments (`x-alpha`, flag-gated).
757
757
  | `paymentAgents.createProposals(id, data)` | One-shot proposals turn (see `newAgentConversation`) |
758
758
  | `paymentAgents.getProposalsProgress(id)` | Live progress of an in-flight drafting turn (advisory) |
759
759
 
760
+ ### Agentic Policy (Alpha)
761
+
762
+ How your product speaks, and what the agent may propose for it. Register it
763
+ once and every drafting turn narrates in your nouns instead of the platform's.
764
+
765
+ | Method | Description |
766
+ |--------|-------------|
767
+ | `agenticPolicy.get()` | Read your registered policy (404 = none, which is the default) |
768
+ | `agenticPolicy.set(policy)` | Register or fully replace it (`{}` clears it) |
769
+
770
+ ```typescript
771
+ await client.agenticPolicy.set({
772
+ payee_model: 'flat',
773
+ payout_assets: ['USDC', 'USDT'],
774
+ labels: { limit: 'spending limit', payee: 'recipient', limit_unit: 'USD' },
775
+ payout_route: 'conversion_account_only',
776
+ });
777
+ ```
778
+
779
+ It is a **full replace, not a merge** — an omitted field means you no longer
780
+ want it. You can also pass `clientPolicy` per conversation, but that is a
781
+ development override: forgetting it fails *silently*, and the agent quietly
782
+ goes back to saying "destination" and "mandate".
783
+
760
784
  ### Mandates (Alpha)
761
785
 
762
786
  The §8 authorizations that arm scheduled payments.