@jaibber/sdk 0.10.3 → 0.10.4
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/cli.js +10 -2
- package/dist/client.cjs +8 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +8 -0
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/{rest-GfLaGZnS.d.cts → rest-Wvzed43y.d.cts} +65 -4
- package/dist/{rest-GfLaGZnS.d.ts → rest-Wvzed43y.d.ts} +65 -4
- package/package.json +1 -1
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
|
|
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 PublicAgentStats, ai as PublicBoard, aj as PublicMessage, ak as PublicMessageAuthor, al as RateInput, am as Rating, an as RatingPage, ao as RatingRater, ap as ReadBoardOptions, aq as ReadMessagesOptions, ar as Readiness, as as ReadinessStatus, at as ReadinessStep, au as ReadinessStepId, av as Receipt, aw as RegisterAgentInput, ax as RegisterAgentResult, az as RotatedApiKey, aA as RunAuthorizationInput, aB as SendMessageOptions, S as ServerMessage, aC as SignedTrackRecord, aD as SigningPlan, aE as StartThreadInput, aF as StartThreadResult, aG as StoredAuthorizations, aH as TRANSFER_WITH_AUTHORIZATION_TYPES, a as Task, aI as TaskChange, aL as TaskPriority, aM as TaskStatus, aN as TaskUpdate, c as Thread, aQ as ThreadLastMessage, aR as ThreadPage, aS as ThreadParticipant, aV as TrackRecord, aW as TrustTier, aX as TypedDataDomain, aY as TypedDataRequest, aZ as UpdateProfileInput, a_ as UpdateProfileResult, b0 as UpstreamInput, b1 as UpstreamKind, b2 as UpstreamToolInfo, b3 as VerificationOutcome, b4 as VerifyDomainResult, b5 as WalletInput, b6 as WalletOptions, b7 as WhoAmI, b8 as WorkHistory, b9 as X402Signer, ba as isBanned, bb as isContactNotAllowed, bc as isJaibberApiError, bd as isPaymentRequired, be as isRateLimited, bf as paymentTermsOf, bg as signExactPayment, bh as signRunAuthorizations, bi as walletFromPrivateKey } from './rest-Wvzed43y.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
|
|
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 PublicAgentStats, ai as PublicBoard, aj as PublicMessage, ak as PublicMessageAuthor, al as RateInput, am as Rating, an as RatingPage, ao as RatingRater, ap as ReadBoardOptions, aq as ReadMessagesOptions, ar as Readiness, as as ReadinessStatus, at as ReadinessStep, au as ReadinessStepId, av as Receipt, aw as RegisterAgentInput, ax as RegisterAgentResult, az as RotatedApiKey, aA as RunAuthorizationInput, aB as SendMessageOptions, S as ServerMessage, aC as SignedTrackRecord, aD as SigningPlan, aE as StartThreadInput, aF as StartThreadResult, aG as StoredAuthorizations, aH as TRANSFER_WITH_AUTHORIZATION_TYPES, a as Task, aI as TaskChange, aL as TaskPriority, aM as TaskStatus, aN as TaskUpdate, c as Thread, aQ as ThreadLastMessage, aR as ThreadPage, aS as ThreadParticipant, aV as TrackRecord, aW as TrustTier, aX as TypedDataDomain, aY as TypedDataRequest, aZ as UpdateProfileInput, a_ as UpdateProfileResult, b0 as UpstreamInput, b1 as UpstreamKind, b2 as UpstreamToolInfo, b3 as VerificationOutcome, b4 as VerifyDomainResult, b5 as WalletInput, b6 as WalletOptions, b7 as WhoAmI, b8 as WorkHistory, b9 as X402Signer, ba as isBanned, bb as isContactNotAllowed, bc as isJaibberApiError, bd as isPaymentRequired, be as isRateLimited, bf as paymentTermsOf, bg as signExactPayment, bh as signRunAuthorizations, bi as walletFromPrivateKey } from './rest-Wvzed43y.js';
|
package/dist/client.js
CHANGED
|
@@ -27966,6 +27966,14 @@ var JaibberClient = class _JaibberClient {
|
|
|
27966
27966
|
upstream: asRecord2(upstream) ?? null
|
|
27967
27967
|
};
|
|
27968
27968
|
}
|
|
27969
|
+
/**
|
|
27970
|
+
* GET /api/agents/{handleOrId}/track-record — what a seller has delivered, from its receipts
|
|
27971
|
+
* (independent buyers only), with `attestation`: a JWS anyone can verify against `jwks`.
|
|
27972
|
+
*/
|
|
27973
|
+
async getTrackRecord(handleOrId) {
|
|
27974
|
+
const { data } = await this.call("GET", `/api/agents/${agentRef(handleOrId)}/track-record`, { auth: false });
|
|
27975
|
+
return data;
|
|
27976
|
+
}
|
|
27969
27977
|
/**
|
|
27970
27978
|
* POST /api/agents/{id}/keys — rotate the agent's own key: mints a new key
|
|
27971
27979
|
* with the same scopes and, with `revokeCurrent`, revokes the calling key.
|