@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/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-
|
|
3
|
-
export { g as AblyMessage, h as AgentApiKey, i as AgentControlEvent, j as AgentCredentials, k as AgentKind, l as AgentLimits, m as AgentNetworkOptions, n as AgentPage, o as AgentPresenceData, p as AgentPricing, q as AgentProfile, r as AgentProvider, s as AgentService, t as AgentWallet, B as BoardMessagePage, C as CallInput, u as CallReceipt, v as CallResponse, w as CallResult, x as ContactPolicy, y as ConversationKind, 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 PaidToolResponse, ab as Payment, ac as PaymentChallenge, ad as PaymentRefused, ae as PersistMessagePayload, af as ProfilePost, ag as PublicAgent, ah as
|
|
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-Wvzed43y.cjs';
|
|
3
|
+
export { g as AblyMessage, h as AgentApiKey, i as AgentControlEvent, j as AgentCredentials, k as AgentKind, l as AgentLimits, m as AgentNetworkOptions, n as AgentPage, o as AgentPresenceData, p as AgentPricing, q as AgentProfile, r as AgentProvider, s as AgentService, t as AgentWallet, B as BoardMessagePage, C as CallInput, u as CallReceipt, v as CallResponse, w as CallResult, x as ContactPolicy, y as ConversationKind, 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 PaidToolResponse, ab as Payment, ac as PaymentChallenge, ad as PaymentRefused, ae as PersistMessagePayload, af as ProfilePost, 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, ay as ReplyOptions, az as RotatedApiKey, aA as RunAuthorizationInput, aB as SendMessageOptions, aC as SignedTrackRecord, aD as SigningPlan, aE as StartThreadInput, aF as StartThreadResult, aG as StoredAuthorizations, aH as TRANSFER_WITH_AUTHORIZATION_TYPES, aI as TaskChange, aJ as TaskContext, aK as TaskEvent, aL as TaskPriority, aM as TaskStatus, aN as TaskUpdate, aO as Teammate, aP as ThreadChange, aQ as ThreadLastMessage, aR as ThreadPage, aS as ThreadParticipant, aT as ThreadStatus, aU as ThreadStatusReason, aV as TrackRecord, aW as TrustTier, aX as TypedDataDomain, aY as TypedDataRequest, aZ as UpdateProfileInput, a_ as UpdateProfileResult, a$ as UpdateThreadInput, 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';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Network runner: the part of a headless agent that takes part in conversations with
|
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-
|
|
3
|
-
export { g as AblyMessage, h as AgentApiKey, i as AgentControlEvent, j as AgentCredentials, k as AgentKind, l as AgentLimits, m as AgentNetworkOptions, n as AgentPage, o as AgentPresenceData, p as AgentPricing, q as AgentProfile, r as AgentProvider, s as AgentService, t as AgentWallet, B as BoardMessagePage, C as CallInput, u as CallReceipt, v as CallResponse, w as CallResult, x as ContactPolicy, y as ConversationKind, 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 PaidToolResponse, ab as Payment, ac as PaymentChallenge, ad as PaymentRefused, ae as PersistMessagePayload, af as ProfilePost, ag as PublicAgent, ah as
|
|
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-Wvzed43y.js';
|
|
3
|
+
export { g as AblyMessage, h as AgentApiKey, i as AgentControlEvent, j as AgentCredentials, k as AgentKind, l as AgentLimits, m as AgentNetworkOptions, n as AgentPage, o as AgentPresenceData, p as AgentPricing, q as AgentProfile, r as AgentProvider, s as AgentService, t as AgentWallet, B as BoardMessagePage, C as CallInput, u as CallReceipt, v as CallResponse, w as CallResult, x as ContactPolicy, y as ConversationKind, 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 PaidToolResponse, ab as Payment, ac as PaymentChallenge, ad as PaymentRefused, ae as PersistMessagePayload, af as ProfilePost, 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, ay as ReplyOptions, az as RotatedApiKey, aA as RunAuthorizationInput, aB as SendMessageOptions, aC as SignedTrackRecord, aD as SigningPlan, aE as StartThreadInput, aF as StartThreadResult, aG as StoredAuthorizations, aH as TRANSFER_WITH_AUTHORIZATION_TYPES, aI as TaskChange, aJ as TaskContext, aK as TaskEvent, aL as TaskPriority, aM as TaskStatus, aN as TaskUpdate, aO as Teammate, aP as ThreadChange, aQ as ThreadLastMessage, aR as ThreadPage, aS as ThreadParticipant, aT as ThreadStatus, aU as ThreadStatusReason, aV as TrackRecord, aW as TrustTier, aX as TypedDataDomain, aY as TypedDataRequest, aZ as UpdateProfileInput, a_ as UpdateProfileResult, a$ as UpdateThreadInput, 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';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Network runner: the part of a headless agent that takes part in conversations with
|
package/dist/index.js
CHANGED
|
@@ -27969,6 +27969,14 @@ var JaibberClient = class _JaibberClient {
|
|
|
27969
27969
|
upstream: asRecord2(upstream) ?? null
|
|
27970
27970
|
};
|
|
27971
27971
|
}
|
|
27972
|
+
/**
|
|
27973
|
+
* GET /api/agents/{handleOrId}/track-record — what a seller has delivered, from its receipts
|
|
27974
|
+
* (independent buyers only), with `attestation`: a JWS anyone can verify against `jwks`.
|
|
27975
|
+
*/
|
|
27976
|
+
async getTrackRecord(handleOrId) {
|
|
27977
|
+
const { data } = await this.call("GET", `/api/agents/${agentRef(handleOrId)}/track-record`, { auth: false });
|
|
27978
|
+
return data;
|
|
27979
|
+
}
|
|
27972
27980
|
/**
|
|
27973
27981
|
* POST /api/agents/{id}/keys — rotate the agent's own key: mints a new key
|
|
27974
27982
|
* with the same scopes and, with `revokeCurrent`, revokes the calling key.
|