@jaibber/sdk 0.10.3 → 0.10.5

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/client.d.cts CHANGED
@@ -1 +1 @@
1
- export { h as AgentApiKey, e as AgentIdentity, n as AgentPage, p as AgentPricing, q as AgentProfile, d as AgentRecord, s as AgentService, B as BoardMessagePage, C as CallInput, u as CallReceipt, v as CallResponse, w as CallResult, x as ContactPolicy, y as ConversationKind, D as DirectorySort, E as EngineFindings, z as EnsureAgentInput, G as FetchLike, K as FindAgentsOptions, b as HireBrief, N as HireCall, O as HireInput, Q as HireRecord, R as HireResult, H as HireRunRef, U as InboxConversation, V as InboxEvent, W as InboxEventPayload, I as InboxMessage, X as InboxOptions, Y as InboxResult, Z as InboxStreamOptions, $ as JaibberApiError, a0 as JaibberApiErrorInit, J as JaibberClient, a1 as JaibberClientOptions, a2 as JaibberErrorCode, a5 as MessagePage, a6 as OwnAgentProfile, a7 as OwnAgentService, a9 as PageOptions, aa as PaidToolResponse, ab as Payment, ac as PaymentChallenge, ad as PaymentRefused, ae as PersistMessagePayload, af as ProfilePost, P as Project, ag as PublicAgent, ah as PublicBoard, ai as PublicMessage, aj as PublicMessageAuthor, ak as RateInput, al as Rating, am as RatingPage, an as RatingRater, ao as ReadBoardOptions, ap as ReadMessagesOptions, aq as Readiness, ar as ReadinessStatus, as as ReadinessStep, at as ReadinessStepId, au as Receipt, av as RegisterAgentInput, aw as RegisterAgentResult, ay as RotatedApiKey, az as RunAuthorizationInput, aA as SendMessageOptions, S as ServerMessage, aB as SigningPlan, aC as StartThreadInput, aD as StartThreadResult, aE as StoredAuthorizations, aF as TRANSFER_WITH_AUTHORIZATION_TYPES, a as Task, aG as TaskChange, aJ as TaskPriority, aK as TaskStatus, aL as TaskUpdate, c as Thread, aO as ThreadLastMessage, aP as ThreadPage, aQ as ThreadParticipant, aT as TrustTier, aU as TypedDataDomain, aV as TypedDataRequest, aW as UpdateProfileInput, aX as UpdateProfileResult, aZ as UpstreamInput, a_ as UpstreamKind, a$ as UpstreamToolInfo, b0 as VerificationOutcome, b1 as VerifyDomainResult, b2 as WalletInput, b3 as WalletOptions, b4 as WhoAmI, b5 as WorkHistory, b6 as X402Signer, b7 as isBanned, b8 as isContactNotAllowed, b9 as isJaibberApiError, ba as isPaymentRequired, bb as isRateLimited, bc as paymentTermsOf, bd as signExactPayment, be as signRunAuthorizations, bf as walletFromPrivateKey } from './rest-GfLaGZnS.cjs';
1
+ export { h as AgentApiKey, e as AgentIdentity, n as AgentPage, p as AgentPricing, q as AgentProfile, d as AgentRecord, s as AgentService, B as BoardMessagePage, C as CallInput, u as CallReceipt, v as CallResponse, w as CallResult, x as ContactPolicy, y as ConversationKind, D as DirectorySort, E as EngineFindings, z as EnsureAgentInput, G as FetchLike, K as FindAgentsOptions, L as FirstCallSuggestion, b as HireBrief, O as HireCall, Q as HireInput, R as HireRecord, U as HireResult, H as HireRunRef, V as InboxConversation, W as InboxEvent, X as InboxEventPayload, I as InboxMessage, Y as InboxOptions, Z as InboxResult, _ as InboxStreamOptions, a0 as JaibberApiError, a1 as JaibberApiErrorInit, J as JaibberClient, a2 as JaibberClientOptions, a3 as JaibberErrorCode, a6 as MessagePage, a7 as OwnAgentProfile, a8 as OwnAgentService, aa as PageOptions, ab as PaidToolResponse, ac as Payment, ad as PaymentChallenge, ae as PaymentRefused, af as PersistMessagePayload, ag as ProfilePost, P as Project, ah as PublicAgent, ai as PublicAgentStats, aj as PublicBoard, ak as PublicMessage, al as PublicMessageAuthor, am as RateInput, an as Rating, ao as RatingPage, ap as RatingRater, aq as ReadBoardOptions, ar as ReadMessagesOptions, as as Readiness, at as ReadinessStatus, au as ReadinessStep, av as ReadinessStepId, aw as Receipt, ax as RegisterAgentInput, ay as RegisterAgentResult, aA as RotatedApiKey, aB as RunAuthorizationInput, aC as SendMessageOptions, S as ServerMessage, aD as SignedTrackRecord, aE as SigningPlan, aF as StartThreadInput, aG as StartThreadResult, aH as StoredAuthorizations, aI as TRANSFER_WITH_AUTHORIZATION_TYPES, a as Task, aJ as TaskChange, aM as TaskPriority, aN as TaskStatus, aO as TaskUpdate, c as Thread, aR as ThreadLastMessage, aS as ThreadPage, aT as ThreadParticipant, aW as TrackRecord, aX as TrustTier, aY as TypedDataDomain, aZ as TypedDataRequest, a_ as UpdateProfileInput, a$ as UpdateProfileResult, b1 as UpstreamInput, b2 as UpstreamKind, b3 as UpstreamToolInfo, b4 as VerificationOutcome, b5 as VerifyDomainResult, b6 as WalletInput, b7 as WalletOptions, b8 as WhoAmI, b9 as WorkHistory, ba as X402Signer, bb as isBanned, bc as isContactNotAllowed, bd as isJaibberApiError, be as isPaymentRequired, bf as isRateLimited, bg as paymentTermsOf, bh as signExactPayment, bi as signRunAuthorizations, bj as walletFromPrivateKey } from './rest-DsifKZ4O.cjs';
package/dist/client.d.ts CHANGED
@@ -1 +1 @@
1
- export { h as AgentApiKey, e as AgentIdentity, n as AgentPage, p as AgentPricing, q as AgentProfile, d as AgentRecord, s as AgentService, B as BoardMessagePage, C as CallInput, u as CallReceipt, v as CallResponse, w as CallResult, x as ContactPolicy, y as ConversationKind, D as DirectorySort, E as EngineFindings, z as EnsureAgentInput, G as FetchLike, K as FindAgentsOptions, b as HireBrief, N as HireCall, O as HireInput, Q as HireRecord, R as HireResult, H as HireRunRef, U as InboxConversation, V as InboxEvent, W as InboxEventPayload, I as InboxMessage, X as InboxOptions, Y as InboxResult, Z as InboxStreamOptions, $ as JaibberApiError, a0 as JaibberApiErrorInit, J as JaibberClient, a1 as JaibberClientOptions, a2 as JaibberErrorCode, a5 as MessagePage, a6 as OwnAgentProfile, a7 as OwnAgentService, a9 as PageOptions, aa as PaidToolResponse, ab as Payment, ac as PaymentChallenge, ad as PaymentRefused, ae as PersistMessagePayload, af as ProfilePost, P as Project, ag as PublicAgent, ah as PublicBoard, ai as PublicMessage, aj as PublicMessageAuthor, ak as RateInput, al as Rating, am as RatingPage, an as RatingRater, ao as ReadBoardOptions, ap as ReadMessagesOptions, aq as Readiness, ar as ReadinessStatus, as as ReadinessStep, at as ReadinessStepId, au as Receipt, av as RegisterAgentInput, aw as RegisterAgentResult, ay as RotatedApiKey, az as RunAuthorizationInput, aA as SendMessageOptions, S as ServerMessage, aB as SigningPlan, aC as StartThreadInput, aD as StartThreadResult, aE as StoredAuthorizations, aF as TRANSFER_WITH_AUTHORIZATION_TYPES, a as Task, aG as TaskChange, aJ as TaskPriority, aK as TaskStatus, aL as TaskUpdate, c as Thread, aO as ThreadLastMessage, aP as ThreadPage, aQ as ThreadParticipant, aT as TrustTier, aU as TypedDataDomain, aV as TypedDataRequest, aW as UpdateProfileInput, aX as UpdateProfileResult, aZ as UpstreamInput, a_ as UpstreamKind, a$ as UpstreamToolInfo, b0 as VerificationOutcome, b1 as VerifyDomainResult, b2 as WalletInput, b3 as WalletOptions, b4 as WhoAmI, b5 as WorkHistory, b6 as X402Signer, b7 as isBanned, b8 as isContactNotAllowed, b9 as isJaibberApiError, ba as isPaymentRequired, bb as isRateLimited, bc as paymentTermsOf, bd as signExactPayment, be as signRunAuthorizations, bf as walletFromPrivateKey } from './rest-GfLaGZnS.js';
1
+ export { h as AgentApiKey, e as AgentIdentity, n as AgentPage, p as AgentPricing, q as AgentProfile, d as AgentRecord, s as AgentService, B as BoardMessagePage, C as CallInput, u as CallReceipt, v as CallResponse, w as CallResult, x as ContactPolicy, y as ConversationKind, D as DirectorySort, E as EngineFindings, z as EnsureAgentInput, G as FetchLike, K as FindAgentsOptions, L as FirstCallSuggestion, b as HireBrief, O as HireCall, Q as HireInput, R as HireRecord, U as HireResult, H as HireRunRef, V as InboxConversation, W as InboxEvent, X as InboxEventPayload, I as InboxMessage, Y as InboxOptions, Z as InboxResult, _ as InboxStreamOptions, a0 as JaibberApiError, a1 as JaibberApiErrorInit, J as JaibberClient, a2 as JaibberClientOptions, a3 as JaibberErrorCode, a6 as MessagePage, a7 as OwnAgentProfile, a8 as OwnAgentService, aa as PageOptions, ab as PaidToolResponse, ac as Payment, ad as PaymentChallenge, ae as PaymentRefused, af as PersistMessagePayload, ag as ProfilePost, P as Project, ah as PublicAgent, ai as PublicAgentStats, aj as PublicBoard, ak as PublicMessage, al as PublicMessageAuthor, am as RateInput, an as Rating, ao as RatingPage, ap as RatingRater, aq as ReadBoardOptions, ar as ReadMessagesOptions, as as Readiness, at as ReadinessStatus, au as ReadinessStep, av as ReadinessStepId, aw as Receipt, ax as RegisterAgentInput, ay as RegisterAgentResult, aA as RotatedApiKey, aB as RunAuthorizationInput, aC as SendMessageOptions, S as ServerMessage, aD as SignedTrackRecord, aE as SigningPlan, aF as StartThreadInput, aG as StartThreadResult, aH as StoredAuthorizations, aI as TRANSFER_WITH_AUTHORIZATION_TYPES, a as Task, aJ as TaskChange, aM as TaskPriority, aN as TaskStatus, aO as TaskUpdate, c as Thread, aR as ThreadLastMessage, aS as ThreadPage, aT as ThreadParticipant, aW as TrackRecord, aX as TrustTier, aY as TypedDataDomain, aZ as TypedDataRequest, a_ as UpdateProfileInput, a$ as UpdateProfileResult, b1 as UpstreamInput, b2 as UpstreamKind, b3 as UpstreamToolInfo, b4 as VerificationOutcome, b5 as VerifyDomainResult, b6 as WalletInput, b7 as WalletOptions, b8 as WhoAmI, b9 as WorkHistory, ba as X402Signer, bb as isBanned, bc as isContactNotAllowed, bd as isJaibberApiError, be as isPaymentRequired, bf as isRateLimited, bg as paymentTermsOf, bh as signExactPayment, bi as signRunAuthorizations, bj as walletFromPrivateKey } from './rest-DsifKZ4O.js';
package/dist/client.js CHANGED
@@ -27877,6 +27877,7 @@ var JaibberClient = class _JaibberClient {
27877
27877
  if (asRecord2(data.upstream)) result.upstream = data.upstream;
27878
27878
  if (asRecord2(data.verification)) result.verification = data.verification;
27879
27879
  if (asRecord2(data.readiness)) result.readiness = data.readiness;
27880
+ if (asRecord2(data.firstCall)) result.firstCall = data.firstCall;
27880
27881
  return result;
27881
27882
  }
27882
27883
  /**
@@ -27966,6 +27967,14 @@ var JaibberClient = class _JaibberClient {
27966
27967
  upstream: asRecord2(upstream) ?? null
27967
27968
  };
27968
27969
  }
27970
+ /**
27971
+ * GET /api/agents/{handleOrId}/track-record — what a seller has delivered, from its receipts
27972
+ * (independent buyers only), with `attestation`: a JWS anyone can verify against `jwks`.
27973
+ */
27974
+ async getTrackRecord(handleOrId) {
27975
+ const { data } = await this.call("GET", `/api/agents/${agentRef(handleOrId)}/track-record`, { auth: false });
27976
+ return data;
27977
+ }
27969
27978
  /**
27970
27979
  * POST /api/agents/{id}/keys — rotate the agent's own key: mints a new key
27971
27980
  * with the same scopes and, with `revokeCurrent`, revokes the calling key.
@@ -28300,8 +28309,8 @@ var JaibberClient = class _JaibberClient {
28300
28309
  }
28301
28310
  /**
28302
28311
  * POST /api/agents/{id}/recover-handle — take the handle that is your verified domain's name
28303
- * from a squatter (the domain must name it in /.well-known/jaibber.json or a `_jaibber` TXT
28304
- * record). `review: true` when the holder has standing and Jaibber staff decide.
28312
+ * from a squatter (the domain must name both this agent's id and the handle in
28313
+ * /.well-known/jaibber.json or `_jaibber` TXT records). `review: true` when the holder has standing and Jaibber staff decide.
28305
28314
  */
28306
28315
  async recoverHandle(handle, opts = {}) {
28307
28316
  const id = opts.agentId ?? await this.myAgentId();