@jaibber/sdk 0.9.0 → 0.10.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/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from 'events';
2
- import { I as InboxMessage, T as ThreadState, a as Task, H as HireRunRef, b as HireBrief, E as EngineFindings, S as ServerMessage, c as Thread, J as JaibberClient, A as AgentConfig, d as AgentRecord, e as AgentIdentity, P as Project, M as MessageHandler, f as TaskHandler } from './rest-ChE9wALA.cjs';
3
- export { g as AblyMessage, h as AgentApiKey, i as AgentControlEvent, j as AgentCredentials, k as AgentKind, l as AgentNetworkOptions, m as AgentPage, n as AgentPresenceData, o as AgentPricing, p as AgentProfile, q as AgentProvider, r as AgentService, B as BoardMessagePage, C as CallInput, s as CallReceipt, t as CallResponse, u as CallResult, v as ContactPolicy, w as ConversationKind, x as CreditStatement, y as CreditTopupResult, D as DirectorySort, z as EnsureAgentInput, F as ExecutionMode, G as FetchLike, K as FindAgentsOptions, L as GlobalPresenceData, N as HireCall, O as HireInput, Q as HireRecord, R as HireResult, U as InboxConversation, V as InboxEvent, W as InboxEventPayload, X as InboxOptions, Y as InboxResult, Z as InboxStreamOptions, _ as IncomingMessage, $ as JaibberApiError, a0 as JaibberApiErrorInit, a1 as JaibberClientOptions, a2 as JaibberErrorCode, a3 as MessageAttachment, a4 as MessageContext, a5 as MessagePage, a6 as OwnAgentProfile, a7 as OwnAgentService, a8 as OwnMessageTracker, a9 as PageOptions, aa as PaymentChallenge, ab as PersistMessagePayload, ac as ProfilePost, ad as PublicAgent, ae as PublicBoard, af as PublicMessage, ag as PublicMessageAuthor, ah as RateInput, ai as Rating, aj as RatingPage, ak as RatingRater, al as ReadBoardOptions, am as ReadMessagesOptions, an as Readiness, ao as ReadinessStatus, ap as ReadinessStep, aq as ReadinessStepId, ar as RegisterAgentInput, as as RegisterAgentResult, at as ReplyOptions, au as RotatedApiKey, av as SendMessageOptions, aw as StartThreadInput, ax as StartThreadResult, ay as TaskChange, az as TaskContext, aA as TaskEvent, aB as TaskPriority, aC as TaskStatus, aD as TaskUpdate, aE as Teammate, aF as ThreadChange, aG as ThreadLastMessage, aH as ThreadPage, aI as ThreadParticipant, aJ as ThreadStatus, aK as ThreadStatusReason, aL as TrustTier, aM as UpdateProfileInput, aN as UpdateProfileResult, aO as UpdateThreadInput, aP as UpstreamInput, aQ as UpstreamKind, aR as UpstreamToolInfo, aS as VerificationOutcome, aT as VerifyDomainResult, aU as WhoAmI, aV as WorkHistory, aW as isBanned, aX as isContactNotAllowed, aY as isJaibberApiError, aZ as isPaymentRequired, a_ as isRateLimited } from './rest-ChE9wALA.cjs';
2
+ import { I as InboxMessage, T as ThreadState, a as Task, H as HireRunRef, b as HireBrief, E as EngineFindings, S as ServerMessage, c as Thread, J as JaibberClient, A as AgentConfig, d as AgentRecord, e as AgentIdentity, P as Project, M as MessageHandler, f as TaskHandler } from './rest-DN45nXn4.cjs';
3
+ export { g as AblyMessage, h as AgentApiKey, i as AgentControlEvent, j as AgentCredentials, k as AgentKind, l as AgentNetworkOptions, m as AgentPage, n as AgentPresenceData, o as AgentPricing, p as AgentProfile, q as AgentProvider, r as AgentService, s as AgentWallet, B as BoardMessagePage, C as CallInput, t as CallReceipt, u as CallResponse, v as CallResult, w as ContactPolicy, x as ConversationKind, D as DirectorySort, y as EnsureAgentInput, z as ExecutionMode, F as FetchLike, G as FindAgentsOptions, K as GlobalPresenceData, L as HireCall, N as HireInput, O as HireRecord, Q as HireResult, R as InboxConversation, U as InboxEvent, V as InboxEventPayload, W as InboxOptions, X as InboxResult, Y as InboxStreamOptions, Z as IncomingMessage, _ as JaibberApiError, $ as JaibberApiErrorInit, a0 as JaibberClientOptions, a1 as JaibberErrorCode, a2 as MessageAttachment, a3 as MessageContext, a4 as MessagePage, a5 as OwnAgentProfile, a6 as OwnAgentService, a7 as OwnMessageTracker, a8 as PageOptions, a9 as PaidToolResponse, aa as Payment, ab as PaymentChallenge, ac as PaymentRefused, ad as PersistMessagePayload, ae as ProfilePost, af as PublicAgent, ag as PublicBoard, ah as PublicMessage, ai as PublicMessageAuthor, aj as RateInput, ak as Rating, al as RatingPage, am as RatingRater, an as ReadBoardOptions, ao as ReadMessagesOptions, ap as Readiness, aq as ReadinessStatus, ar as ReadinessStep, as as ReadinessStepId, at as Receipt, au as RegisterAgentInput, av as RegisterAgentResult, aw as ReplyOptions, ax as RotatedApiKey, ay as RunAuthorizationInput, az as SendMessageOptions, aA as SigningPlan, aB as StartThreadInput, aC as StartThreadResult, aD as StoredAuthorizations, aE as TRANSFER_WITH_AUTHORIZATION_TYPES, aF as TaskChange, aG as TaskContext, aH as TaskEvent, aI as TaskPriority, aJ as TaskStatus, aK as TaskUpdate, aL as Teammate, aM as ThreadChange, aN as ThreadLastMessage, aO as ThreadPage, aP as ThreadParticipant, aQ as ThreadStatus, aR as ThreadStatusReason, aS as TrustTier, aT as TypedDataDomain, aU as TypedDataRequest, aV as UpdateProfileInput, aW as UpdateProfileResult, aX as UpdateThreadInput, aY as UpstreamInput, aZ as UpstreamKind, a_ as UpstreamToolInfo, a$ as VerificationOutcome, b0 as VerifyDomainResult, b1 as WalletInput, b2 as WalletOptions, b3 as WhoAmI, b4 as WorkHistory, b5 as X402Signer, b6 as isBanned, b7 as isContactNotAllowed, b8 as isJaibberApiError, b9 as isPaymentRequired, ba as isRateLimited, bb as paymentTermsOf, bc as signExactPayment, bd as signRunAuthorizations, be as walletFromPrivateKey } from './rest-DN45nXn4.cjs';
4
4
 
5
5
  /**
6
6
  * Network runner: the part of a headless agent that takes part in conversations with
@@ -124,6 +124,8 @@ declare class NetworkRunner {
124
124
  /** Queue an event's turn behind the conversation's previous one. */
125
125
  private dispatch;
126
126
  private enqueue;
127
+ /** Pre-sign the next batch of a standing hire's runs from the agent's wallet. */
128
+ private signRuns;
127
129
  private withSlot;
128
130
  private turn;
129
131
  /**
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from 'events';
2
- import { I as InboxMessage, T as ThreadState, a as Task, H as HireRunRef, b as HireBrief, E as EngineFindings, S as ServerMessage, c as Thread, J as JaibberClient, A as AgentConfig, d as AgentRecord, e as AgentIdentity, P as Project, M as MessageHandler, f as TaskHandler } from './rest-ChE9wALA.js';
3
- export { g as AblyMessage, h as AgentApiKey, i as AgentControlEvent, j as AgentCredentials, k as AgentKind, l as AgentNetworkOptions, m as AgentPage, n as AgentPresenceData, o as AgentPricing, p as AgentProfile, q as AgentProvider, r as AgentService, B as BoardMessagePage, C as CallInput, s as CallReceipt, t as CallResponse, u as CallResult, v as ContactPolicy, w as ConversationKind, x as CreditStatement, y as CreditTopupResult, D as DirectorySort, z as EnsureAgentInput, F as ExecutionMode, G as FetchLike, K as FindAgentsOptions, L as GlobalPresenceData, N as HireCall, O as HireInput, Q as HireRecord, R as HireResult, U as InboxConversation, V as InboxEvent, W as InboxEventPayload, X as InboxOptions, Y as InboxResult, Z as InboxStreamOptions, _ as IncomingMessage, $ as JaibberApiError, a0 as JaibberApiErrorInit, a1 as JaibberClientOptions, a2 as JaibberErrorCode, a3 as MessageAttachment, a4 as MessageContext, a5 as MessagePage, a6 as OwnAgentProfile, a7 as OwnAgentService, a8 as OwnMessageTracker, a9 as PageOptions, aa as PaymentChallenge, ab as PersistMessagePayload, ac as ProfilePost, ad as PublicAgent, ae as PublicBoard, af as PublicMessage, ag as PublicMessageAuthor, ah as RateInput, ai as Rating, aj as RatingPage, ak as RatingRater, al as ReadBoardOptions, am as ReadMessagesOptions, an as Readiness, ao as ReadinessStatus, ap as ReadinessStep, aq as ReadinessStepId, ar as RegisterAgentInput, as as RegisterAgentResult, at as ReplyOptions, au as RotatedApiKey, av as SendMessageOptions, aw as StartThreadInput, ax as StartThreadResult, ay as TaskChange, az as TaskContext, aA as TaskEvent, aB as TaskPriority, aC as TaskStatus, aD as TaskUpdate, aE as Teammate, aF as ThreadChange, aG as ThreadLastMessage, aH as ThreadPage, aI as ThreadParticipant, aJ as ThreadStatus, aK as ThreadStatusReason, aL as TrustTier, aM as UpdateProfileInput, aN as UpdateProfileResult, aO as UpdateThreadInput, aP as UpstreamInput, aQ as UpstreamKind, aR as UpstreamToolInfo, aS as VerificationOutcome, aT as VerifyDomainResult, aU as WhoAmI, aV as WorkHistory, aW as isBanned, aX as isContactNotAllowed, aY as isJaibberApiError, aZ as isPaymentRequired, a_ as isRateLimited } from './rest-ChE9wALA.js';
2
+ import { I as InboxMessage, T as ThreadState, a as Task, H as HireRunRef, b as HireBrief, E as EngineFindings, S as ServerMessage, c as Thread, J as JaibberClient, A as AgentConfig, d as AgentRecord, e as AgentIdentity, P as Project, M as MessageHandler, f as TaskHandler } from './rest-DN45nXn4.js';
3
+ export { g as AblyMessage, h as AgentApiKey, i as AgentControlEvent, j as AgentCredentials, k as AgentKind, l as AgentNetworkOptions, m as AgentPage, n as AgentPresenceData, o as AgentPricing, p as AgentProfile, q as AgentProvider, r as AgentService, s as AgentWallet, B as BoardMessagePage, C as CallInput, t as CallReceipt, u as CallResponse, v as CallResult, w as ContactPolicy, x as ConversationKind, D as DirectorySort, y as EnsureAgentInput, z as ExecutionMode, F as FetchLike, G as FindAgentsOptions, K as GlobalPresenceData, L as HireCall, N as HireInput, O as HireRecord, Q as HireResult, R as InboxConversation, U as InboxEvent, V as InboxEventPayload, W as InboxOptions, X as InboxResult, Y as InboxStreamOptions, Z as IncomingMessage, _ as JaibberApiError, $ as JaibberApiErrorInit, a0 as JaibberClientOptions, a1 as JaibberErrorCode, a2 as MessageAttachment, a3 as MessageContext, a4 as MessagePage, a5 as OwnAgentProfile, a6 as OwnAgentService, a7 as OwnMessageTracker, a8 as PageOptions, a9 as PaidToolResponse, aa as Payment, ab as PaymentChallenge, ac as PaymentRefused, ad as PersistMessagePayload, ae as ProfilePost, af as PublicAgent, ag as PublicBoard, ah as PublicMessage, ai as PublicMessageAuthor, aj as RateInput, ak as Rating, al as RatingPage, am as RatingRater, an as ReadBoardOptions, ao as ReadMessagesOptions, ap as Readiness, aq as ReadinessStatus, ar as ReadinessStep, as as ReadinessStepId, at as Receipt, au as RegisterAgentInput, av as RegisterAgentResult, aw as ReplyOptions, ax as RotatedApiKey, ay as RunAuthorizationInput, az as SendMessageOptions, aA as SigningPlan, aB as StartThreadInput, aC as StartThreadResult, aD as StoredAuthorizations, aE as TRANSFER_WITH_AUTHORIZATION_TYPES, aF as TaskChange, aG as TaskContext, aH as TaskEvent, aI as TaskPriority, aJ as TaskStatus, aK as TaskUpdate, aL as Teammate, aM as ThreadChange, aN as ThreadLastMessage, aO as ThreadPage, aP as ThreadParticipant, aQ as ThreadStatus, aR as ThreadStatusReason, aS as TrustTier, aT as TypedDataDomain, aU as TypedDataRequest, aV as UpdateProfileInput, aW as UpdateProfileResult, aX as UpdateThreadInput, aY as UpstreamInput, aZ as UpstreamKind, a_ as UpstreamToolInfo, a$ as VerificationOutcome, b0 as VerifyDomainResult, b1 as WalletInput, b2 as WalletOptions, b3 as WhoAmI, b4 as WorkHistory, b5 as X402Signer, b6 as isBanned, b7 as isContactNotAllowed, b8 as isJaibberApiError, b9 as isPaymentRequired, ba as isRateLimited, bb as paymentTermsOf, bc as signExactPayment, bd as signRunAuthorizations, be as walletFromPrivateKey } from './rest-DN45nXn4.js';
4
4
 
5
5
  /**
6
6
  * Network runner: the part of a headless agent that takes part in conversations with
@@ -124,6 +124,8 @@ declare class NetworkRunner {
124
124
  /** Queue an event's turn behind the conversation's previous one. */
125
125
  private dispatch;
126
126
  private enqueue;
127
+ /** Pre-sign the next batch of a standing hire's runs from the agent's wallet. */
128
+ private signRuns;
127
129
  private withSlot;
128
130
  private turn;
129
131
  /**