@oneshot-agent/sdk 0.27.0 → 0.29.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/README.md +18 -0
- package/dist/index.d.ts +73 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +370 -148
- package/dist/index.js.map +1 -1
- package/dist/swap.d.ts.map +1 -1
- package/dist/swap.js +0 -4
- package/dist/swap.js.map +1 -1
- package/dist/types.d.ts +16 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,6 +92,24 @@ agent.usdcAddress; // 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
|
|
|
92
92
|
agent.chainId; // 8453
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
+
### Paying with ETH
|
|
96
|
+
|
|
97
|
+
Set `currency: 'ETH'` and the SDK keeps the wallet funded in USDC for you:
|
|
98
|
+
|
|
99
|
+
- Before each payment it reads the wallet's USDC and subtracts payments it has
|
|
100
|
+
signed in the last ~90s that may not have settled yet. If that covers the
|
|
101
|
+
charge, no swap happens — the call costs one `eth_call`.
|
|
102
|
+
- Otherwise it swaps ETH→USDC on Uniswap V3 (Base mainnet) for
|
|
103
|
+
`swapBufferMultiplier` × the charge (default 10, range 1–1000), so one swap
|
|
104
|
+
covers many calls. If the wallet's ETH cannot cover the buffer it swaps just
|
|
105
|
+
the shortfall. Set `swapBufferMultiplier: 1` for exact-shortfall swaps.
|
|
106
|
+
- Concurrent calls from one instance are serialized around the swap, so a burst
|
|
107
|
+
never double-swaps or races the wallet nonce.
|
|
108
|
+
|
|
109
|
+
Run one process per wallet in ETH mode: each process keeps its own in-flight
|
|
110
|
+
ledger. ETH mode requires a wallet provider with `sendTransaction` and is Base
|
|
111
|
+
mainnet only.
|
|
112
|
+
|
|
95
113
|
## Available Methods
|
|
96
114
|
|
|
97
115
|
| Method | Description |
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { getSwapQuote, executeSwap } from './swap';
|
|
|
6
6
|
export type { SwapQuote, SwapResult, UniswapAddresses } from './swap';
|
|
7
7
|
export * from './errors';
|
|
8
8
|
export * from './types';
|
|
9
|
-
import type { OneShotConfig, ToolOptions, EmailToolOptions, ResearchToolOptions, PeopleSearchOptions, EnrichProfileOptions, FindEmailOptions, VerifyEmailOptions, CompanySearchOptions, CompanySearchResult, EnrichCompanyOptions, EnrichCompanyResult, DeepResearchPersonOptions, SocialProfilesOptions, ArticleSearchOptions, PersonNewsfeedOptions, PersonInterestsOptions, PersonInteractionsOptions, InboxListOptions, CommerceBuyOptions, CommerceSearchOptions, WebSearchOptions, WebSearchResult, WebReadOptions, WebReadResult, VoiceCallOptions, SmsOptions, SmsInboxOptions, PeopleSearchResult, ResearchResult, EmailResult, EnrichProfileResult, FindEmailResult, DeepResearchPersonResult, SocialProfilesResult, ArticleSearchResult, PersonNewsfeedResult, PersonInterestsResult, PersonInteractionsResult, VerifyEmailResult, InboxEmail, InboxListResult, CommerceBuyResult, CommerceSearchResult, VoiceCallResult, SmsSendResult, SmsInboxMessage, SmsInboxResult, NotificationsListOptions, NotificationsResult, BuildOptions, BuildResult, BrowserTaskOptions, BrowserProfile, BrowserResult, UpdateBuildOptions, SpendBreakdown, RoCSResult, RoCSByGoalResult, ReceiptsListResult, UnifiedBalance, ComputeOptions, ComputeGoalResult, ComputeGoalStatus, ComputeTask, ComputeBudgetStatus, DomainPoolListResult, DomainPoolStatusResult, AgentBudgetConfig, AgentBudgetStatus } from './types';
|
|
9
|
+
import type { StatusUpdateFn, OneShotConfig, ToolOptions, EmailToolOptions, ResearchToolOptions, PeopleSearchOptions, EnrichProfileOptions, FindEmailOptions, VerifyEmailOptions, CompanySearchOptions, CompanySearchResult, EnrichCompanyOptions, EnrichCompanyResult, DeepResearchPersonOptions, SocialProfilesOptions, ArticleSearchOptions, PersonNewsfeedOptions, PersonInterestsOptions, PersonInteractionsOptions, InboxListOptions, CommerceBuyOptions, CommerceSearchOptions, WebSearchOptions, WebSearchResult, WebReadOptions, WebReadResult, VoiceCallOptions, SmsOptions, SmsInboxOptions, PeopleSearchResult, ResearchResult, EmailResult, EnrichProfileResult, FindEmailResult, DeepResearchPersonResult, SocialProfilesResult, ArticleSearchResult, PersonNewsfeedResult, PersonInterestsResult, PersonInteractionsResult, VerifyEmailResult, InboxEmail, InboxListResult, CommerceBuyResult, CommerceSearchResult, VoiceCallResult, SmsSendResult, SmsInboxMessage, SmsInboxResult, NotificationsListOptions, NotificationsResult, BuildOptions, BuildResult, BrowserTaskOptions, BrowserProfile, BrowserResult, UpdateBuildOptions, SpendBreakdown, RoCSResult, RoCSByGoalResult, ReceiptsListResult, UnifiedBalance, ComputeOptions, ComputeGoalResult, ComputeGoalStatus, ComputeTask, ComputeBudgetStatus, DomainPoolListResult, DomainPoolStatusResult, AgentBudgetConfig, AgentBudgetStatus } from './types';
|
|
10
10
|
export declare class OneShot {
|
|
11
11
|
private readonly provider;
|
|
12
12
|
private readonly rpcProvider;
|
|
@@ -23,6 +23,14 @@ export declare class OneShot {
|
|
|
23
23
|
* racing four PUTs on startup.
|
|
24
24
|
*/
|
|
25
25
|
private _budgetSync?;
|
|
26
|
+
private readonly _swapBufferMultiplier;
|
|
27
|
+
/** ETH mode: signed payments not yet observed as settled, keyed by reservation id. */
|
|
28
|
+
private _usdcPending;
|
|
29
|
+
private _usdcReservationSeq;
|
|
30
|
+
/** ETH mode: serializes read → decide → swap → reserve per instance (also prevents concurrent swap nonce races). */
|
|
31
|
+
private _usdcLock;
|
|
32
|
+
/** ETH mode: last balanceOf read. Read dedupe only — correctness lives in the ledger. */
|
|
33
|
+
private _usdcBalanceCache?;
|
|
26
34
|
/**
|
|
27
35
|
* Async factory — required for CDP wallets (account creation is async).
|
|
28
36
|
* Also works with privateKey and custom walletProvider.
|
|
@@ -47,6 +55,8 @@ export declare class OneShot {
|
|
|
47
55
|
get chainId(): number;
|
|
48
56
|
get currency(): 'USDC' | 'ETH';
|
|
49
57
|
get slippage(): number;
|
|
58
|
+
/** ETH mode: how many payments' worth of USDC a swap buys (default 10). */
|
|
59
|
+
get swapBufferMultiplier(): number;
|
|
50
60
|
/** The budget config this instance was constructed with, if any. */
|
|
51
61
|
get budgetConfig(): AgentBudgetConfig | undefined;
|
|
52
62
|
tool<T = unknown>(toolName: string, options: ToolOptions & Record<string, unknown>): Promise<T>;
|
|
@@ -580,6 +590,21 @@ export declare class OneShot {
|
|
|
580
590
|
* body directly), since that differs per tool.
|
|
581
591
|
*/
|
|
582
592
|
private runQuoteToPay;
|
|
593
|
+
/**
|
|
594
|
+
* Wait for a previously dispatched job and return its result.
|
|
595
|
+
*
|
|
596
|
+
* Use this to resolve the `request_id` returned by a call made with
|
|
597
|
+
* `wait: false`, or to resume waiting after a client restart. Delivery is the
|
|
598
|
+
* same as for blocking calls: WebSocket push when the server offers it, HTTP
|
|
599
|
+
* polling of `GET /v1/requests/:id` as the source of truth.
|
|
600
|
+
*/
|
|
601
|
+
waitForResult<T = Record<string, unknown>>(requestId: string, options?: {
|
|
602
|
+
timeout?: number;
|
|
603
|
+
signal?: AbortSignal;
|
|
604
|
+
onStatusUpdate?: StatusUpdateFn;
|
|
605
|
+
waitForPhones?: boolean;
|
|
606
|
+
phoneTimeoutSec?: number;
|
|
607
|
+
}): Promise<T>;
|
|
583
608
|
private pollJob;
|
|
584
609
|
/**
|
|
585
610
|
* Detects whether a job result is still waiting for an async phone reveal.
|
|
@@ -600,16 +625,61 @@ export declare class OneShot {
|
|
|
600
625
|
* `phones_pending`).
|
|
601
626
|
*/
|
|
602
627
|
private _pollForPhones;
|
|
628
|
+
/**
|
|
629
|
+
* WebSocket branch of a job wait. Resolves on a `completed` push for this
|
|
630
|
+
* request, rejects with `JobError` on `failed` and with `OneShotError` on
|
|
631
|
+
* abort. Every other failure (no WebSocket global, handshake refused, socket
|
|
632
|
+
* closed early) rejects with a plain `Error`, which `pollJob` treats as
|
|
633
|
+
* "no push available" rather than as an outcome. There is no timeout here:
|
|
634
|
+
* the HTTP branch owns the deadline and aborts this one when it settles.
|
|
635
|
+
*/
|
|
603
636
|
private waitViaWebSocket;
|
|
637
|
+
/**
|
|
638
|
+
* HTTP branch of a job wait: polls `GET /v1/requests/:id` immediately, then
|
|
639
|
+
* on a short backoff (300ms → 2s). Once the WebSocket has proven it delivers
|
|
640
|
+
* for this request, polling relaxes to 5s and acts as a safety net only.
|
|
641
|
+
* Owns the caller's deadline (`JobTimeoutError`).
|
|
642
|
+
*/
|
|
604
643
|
private pollJobHttp;
|
|
605
644
|
private sleep;
|
|
606
645
|
private makeRequest;
|
|
607
646
|
private checkAbortBeforePayment;
|
|
608
647
|
/**
|
|
609
|
-
*
|
|
610
|
-
*
|
|
648
|
+
* ETH mode only. Make sure the wallet's *effective* USDC (on-chain balance
|
|
649
|
+
* minus payments signed but not yet settled) covers this charge, swapping
|
|
650
|
+
* ETH→USDC for a buffer of `swapBufferMultiplier` payments when it does not,
|
|
651
|
+
* then reserve the charge. Returns the reservation so the caller can release
|
|
652
|
+
* it if the payment never settles (request failed). Runs under a per-instance
|
|
653
|
+
* lock so concurrent calls never double-swap or race the wallet nonce.
|
|
611
654
|
*/
|
|
612
655
|
private ensureUsdcBalance;
|
|
656
|
+
/** ETH mode is Base-mainnet-only (that is where the Uniswap route lives); fail clearly before any RPC. */
|
|
657
|
+
private assertEthModeSupported;
|
|
658
|
+
private withUsdcLock;
|
|
659
|
+
/** On-chain USDC balance (atomic units), deduped within one block. Overridable in tests. */
|
|
660
|
+
private readUsdcBalance;
|
|
661
|
+
/** `balanceOf − Σ pending` (never negative); drops reservations older than the TTL. */
|
|
662
|
+
private effectiveUsdcBalance;
|
|
663
|
+
private reserveUsdc;
|
|
664
|
+
/** Forget a reservation whose payment will never settle (signing or request failed). */
|
|
665
|
+
private releaseUsdcReservation;
|
|
666
|
+
/**
|
|
667
|
+
* How much USDC to buy: top up to `charge × swapBufferMultiplier`, counting
|
|
668
|
+
* whatever effective balance is already there. If the wallet's ETH cannot
|
|
669
|
+
* cover the buffered quote, fall back to the bare shortfall so an ETH-poor
|
|
670
|
+
* wallet can still make the one payment in front of it.
|
|
671
|
+
*/
|
|
672
|
+
private sizeSwap;
|
|
673
|
+
/** Max ETH the buffered swap could cost (quote), or undefined if unavailable. Overridable in tests. */
|
|
674
|
+
private quoteSwapAmountInMax;
|
|
675
|
+
/** Perform the on-chain swap. Overridable in tests. */
|
|
676
|
+
private executeUsdcSwap;
|
|
677
|
+
/**
|
|
678
|
+
* Send the paid leg of a request. The server settles the authorization only
|
|
679
|
+
* on a 2xx, so a thrown request or a non-2xx response means nothing will be
|
|
680
|
+
* debited on-chain — release the ETH-mode reservation in that case.
|
|
681
|
+
*/
|
|
682
|
+
private makePaidRequest;
|
|
613
683
|
/** Parse the PAYMENT-REQUIRED header from a 402 response into the accepted requirements and Bazaar metadata. */
|
|
614
684
|
private parsePaymentRequired;
|
|
615
685
|
/**
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAexD,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAClI,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACnD,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AACtE,cAAc,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,m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