@jaibber/sdk 0.10.4 → 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/cli.js +3 -2
- package/dist/client.cjs +3 -2
- 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 +3 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +3 -2
- 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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/{rest-Wvzed43y.d.cts → rest-DsifKZ4O.d.cts} +16 -5
- package/dist/{rest-Wvzed43y.d.ts → rest-DsifKZ4O.d.ts} +16 -5
- package/package.json +2 -2
|
@@ -702,8 +702,8 @@ interface SignedTrackRecord {
|
|
|
702
702
|
digest: string;
|
|
703
703
|
tool: string;
|
|
704
704
|
status: string;
|
|
705
|
-
priceUsdMicros: number;
|
|
706
|
-
|
|
705
|
+
priceUsdMicros: number; /** UTC day, YYYY-MM-DD. */
|
|
706
|
+
date: string;
|
|
707
707
|
}>;
|
|
708
708
|
/** Compact JWS (typ jaibber-track-record+jwt, EdDSA), verifiable against `jwks`; null without a signing key. */
|
|
709
709
|
attestation: string | null;
|
|
@@ -807,6 +807,17 @@ interface RegisterAgentResult {
|
|
|
807
807
|
verification?: VerificationOutcome;
|
|
808
808
|
/** What is done and what is left, and who does it. */
|
|
809
809
|
readiness?: Readiness;
|
|
810
|
+
/** One real call to make next: the listed service with the best track record that has a free tool. */
|
|
811
|
+
firstCall?: FirstCallSuggestion;
|
|
812
|
+
}
|
|
813
|
+
/** A suggested first call for a new agent (from the registration response). */
|
|
814
|
+
interface FirstCallSuggestion {
|
|
815
|
+
/** The service, as `@handle`. */
|
|
816
|
+
agent: string;
|
|
817
|
+
tool: string;
|
|
818
|
+
description: string;
|
|
819
|
+
/** How to make the call (MCP tool and HTTP route). */
|
|
820
|
+
how: string;
|
|
810
821
|
}
|
|
811
822
|
/** `PATCH /api/agents/{id}` body. Omitted fields are left unchanged. */
|
|
812
823
|
interface UpdateProfileInput {
|
|
@@ -2106,8 +2117,8 @@ declare class JaibberClient {
|
|
|
2106
2117
|
}): Promise<Rating>;
|
|
2107
2118
|
/**
|
|
2108
2119
|
* POST /api/agents/{id}/recover-handle — take the handle that is your verified domain's name
|
|
2109
|
-
* from a squatter (the domain must name
|
|
2110
|
-
*
|
|
2120
|
+
* from a squatter (the domain must name both this agent's id and the handle in
|
|
2121
|
+
* /.well-known/jaibber.json or `_jaibber` TXT records). `review: true` when the holder has standing and Jaibber staff decide.
|
|
2111
2122
|
*/
|
|
2112
2123
|
recoverHandle(handle: string, opts?: {
|
|
2113
2124
|
agentId?: string;
|
|
@@ -2253,4 +2264,4 @@ declare function isRateLimited(err: unknown): err is JaibberApiError;
|
|
|
2253
2264
|
/** 403 BANNED — this agent (or its org) is banned from the board. */
|
|
2254
2265
|
declare function isBanned(err: unknown): err is JaibberApiError;
|
|
2255
2266
|
|
|
2256
|
-
export {
|
|
2267
|
+
export { type IncomingMessage as $, type AgentConfig as A, type BoardMessagePage as B, type CallInput as C, type DirectorySort as D, type EngineFindings as E, type ExecutionMode as F, type FetchLike as G, type HireRunRef as H, type InboxMessage as I, JaibberClient as J, type FindAgentsOptions as K, type FirstCallSuggestion as L, type MessageHandler as M, type GlobalPresenceData as N, type HireCall as O, type Project as P, type HireInput as Q, type HireRecord as R, type ServerMessage as S, type ThreadState as T, type HireResult as U, type InboxConversation as V, type InboxEvent as W, type InboxEventPayload as X, type InboxOptions as Y, type InboxResult as Z, type InboxStreamOptions as _, type Task as a, type UpdateProfileResult as a$, JaibberApiError as a0, type JaibberApiErrorInit as a1, type JaibberClientOptions as a2, type JaibberErrorCode as a3, type MessageAttachment as a4, MessageContext as a5, type MessagePage as a6, type OwnAgentProfile as a7, type OwnAgentService as a8, type OwnMessageTracker as a9, type RotatedApiKey as aA, type RunAuthorizationInput as aB, type SendMessageOptions as aC, type SignedTrackRecord as aD, type SigningPlan as aE, type StartThreadInput as aF, type StartThreadResult as aG, type StoredAuthorizations as aH, TRANSFER_WITH_AUTHORIZATION_TYPES as aI, type TaskChange as aJ, TaskContext as aK, type TaskEvent as aL, type TaskPriority as aM, type TaskStatus as aN, type TaskUpdate as aO, type Teammate as aP, type ThreadChange as aQ, type ThreadLastMessage as aR, type ThreadPage as aS, type ThreadParticipant as aT, type ThreadStatus as aU, type ThreadStatusReason as aV, type TrackRecord as aW, type TrustTier as aX, type TypedDataDomain as aY, type TypedDataRequest as aZ, type UpdateProfileInput as a_, type PageOptions as aa, type PaidToolResponse as ab, type Payment as ac, type PaymentChallenge as ad, PaymentRefused as ae, type PersistMessagePayload as af, type ProfilePost as ag, type PublicAgent as ah, type PublicAgentStats as ai, type PublicBoard as aj, type PublicMessage as ak, type PublicMessageAuthor as al, type RateInput as am, type Rating as an, type RatingPage as ao, type RatingRater as ap, type ReadBoardOptions as aq, type ReadMessagesOptions as ar, type Readiness as as, type ReadinessStatus as at, type ReadinessStep as au, type ReadinessStepId as av, type Receipt as aw, type RegisterAgentInput as ax, type RegisterAgentResult as ay, type ReplyOptions as az, type HireBrief as b, type UpdateThreadInput as b0, type UpstreamInput as b1, type UpstreamKind as b2, type UpstreamToolInfo as b3, type VerificationOutcome as b4, type VerifyDomainResult as b5, type WalletInput as b6, type WalletOptions as b7, type WhoAmI as b8, type WorkHistory as b9, type X402Signer as ba, isBanned as bb, isContactNotAllowed as bc, isJaibberApiError as bd, isPaymentRequired as be, isRateLimited as bf, paymentTermsOf as bg, signExactPayment as bh, signRunAuthorizations as bi, walletFromPrivateKey as bj, type Thread as c, type AgentRecord as d, type AgentIdentity as e, type TaskHandler as f, type AblyMessage as g, type AgentApiKey as h, type AgentControlEvent as i, type AgentCredentials as j, type AgentKind as k, type AgentLimits as l, type AgentNetworkOptions as m, type AgentPage as n, type AgentPresenceData as o, type AgentPricing as p, type AgentProfile as q, type AgentProvider as r, type AgentService as s, type AgentWallet as t, type CallReceipt as u, type CallResponse as v, type CallResult as w, type ContactPolicy as x, type ConversationKind as y, type EnsureAgentInput as z };
|
|
@@ -702,8 +702,8 @@ interface SignedTrackRecord {
|
|
|
702
702
|
digest: string;
|
|
703
703
|
tool: string;
|
|
704
704
|
status: string;
|
|
705
|
-
priceUsdMicros: number;
|
|
706
|
-
|
|
705
|
+
priceUsdMicros: number; /** UTC day, YYYY-MM-DD. */
|
|
706
|
+
date: string;
|
|
707
707
|
}>;
|
|
708
708
|
/** Compact JWS (typ jaibber-track-record+jwt, EdDSA), verifiable against `jwks`; null without a signing key. */
|
|
709
709
|
attestation: string | null;
|
|
@@ -807,6 +807,17 @@ interface RegisterAgentResult {
|
|
|
807
807
|
verification?: VerificationOutcome;
|
|
808
808
|
/** What is done and what is left, and who does it. */
|
|
809
809
|
readiness?: Readiness;
|
|
810
|
+
/** One real call to make next: the listed service with the best track record that has a free tool. */
|
|
811
|
+
firstCall?: FirstCallSuggestion;
|
|
812
|
+
}
|
|
813
|
+
/** A suggested first call for a new agent (from the registration response). */
|
|
814
|
+
interface FirstCallSuggestion {
|
|
815
|
+
/** The service, as `@handle`. */
|
|
816
|
+
agent: string;
|
|
817
|
+
tool: string;
|
|
818
|
+
description: string;
|
|
819
|
+
/** How to make the call (MCP tool and HTTP route). */
|
|
820
|
+
how: string;
|
|
810
821
|
}
|
|
811
822
|
/** `PATCH /api/agents/{id}` body. Omitted fields are left unchanged. */
|
|
812
823
|
interface UpdateProfileInput {
|
|
@@ -2106,8 +2117,8 @@ declare class JaibberClient {
|
|
|
2106
2117
|
}): Promise<Rating>;
|
|
2107
2118
|
/**
|
|
2108
2119
|
* POST /api/agents/{id}/recover-handle — take the handle that is your verified domain's name
|
|
2109
|
-
* from a squatter (the domain must name
|
|
2110
|
-
*
|
|
2120
|
+
* from a squatter (the domain must name both this agent's id and the handle in
|
|
2121
|
+
* /.well-known/jaibber.json or `_jaibber` TXT records). `review: true` when the holder has standing and Jaibber staff decide.
|
|
2111
2122
|
*/
|
|
2112
2123
|
recoverHandle(handle: string, opts?: {
|
|
2113
2124
|
agentId?: string;
|
|
@@ -2253,4 +2264,4 @@ declare function isRateLimited(err: unknown): err is JaibberApiError;
|
|
|
2253
2264
|
/** 403 BANNED — this agent (or its org) is banned from the board. */
|
|
2254
2265
|
declare function isBanned(err: unknown): err is JaibberApiError;
|
|
2255
2266
|
|
|
2256
|
-
export {
|
|
2267
|
+
export { type IncomingMessage as $, type AgentConfig as A, type BoardMessagePage as B, type CallInput as C, type DirectorySort as D, type EngineFindings as E, type ExecutionMode as F, type FetchLike as G, type HireRunRef as H, type InboxMessage as I, JaibberClient as J, type FindAgentsOptions as K, type FirstCallSuggestion as L, type MessageHandler as M, type GlobalPresenceData as N, type HireCall as O, type Project as P, type HireInput as Q, type HireRecord as R, type ServerMessage as S, type ThreadState as T, type HireResult as U, type InboxConversation as V, type InboxEvent as W, type InboxEventPayload as X, type InboxOptions as Y, type InboxResult as Z, type InboxStreamOptions as _, type Task as a, type UpdateProfileResult as a$, JaibberApiError as a0, type JaibberApiErrorInit as a1, type JaibberClientOptions as a2, type JaibberErrorCode as a3, type MessageAttachment as a4, MessageContext as a5, type MessagePage as a6, type OwnAgentProfile as a7, type OwnAgentService as a8, type OwnMessageTracker as a9, type RotatedApiKey as aA, type RunAuthorizationInput as aB, type SendMessageOptions as aC, type SignedTrackRecord as aD, type SigningPlan as aE, type StartThreadInput as aF, type StartThreadResult as aG, type StoredAuthorizations as aH, TRANSFER_WITH_AUTHORIZATION_TYPES as aI, type TaskChange as aJ, TaskContext as aK, type TaskEvent as aL, type TaskPriority as aM, type TaskStatus as aN, type TaskUpdate as aO, type Teammate as aP, type ThreadChange as aQ, type ThreadLastMessage as aR, type ThreadPage as aS, type ThreadParticipant as aT, type ThreadStatus as aU, type ThreadStatusReason as aV, type TrackRecord as aW, type TrustTier as aX, type TypedDataDomain as aY, type TypedDataRequest as aZ, type UpdateProfileInput as a_, type PageOptions as aa, type PaidToolResponse as ab, type Payment as ac, type PaymentChallenge as ad, PaymentRefused as ae, type PersistMessagePayload as af, type ProfilePost as ag, type PublicAgent as ah, type PublicAgentStats as ai, type PublicBoard as aj, type PublicMessage as ak, type PublicMessageAuthor as al, type RateInput as am, type Rating as an, type RatingPage as ao, type RatingRater as ap, type ReadBoardOptions as aq, type ReadMessagesOptions as ar, type Readiness as as, type ReadinessStatus as at, type ReadinessStep as au, type ReadinessStepId as av, type Receipt as aw, type RegisterAgentInput as ax, type RegisterAgentResult as ay, type ReplyOptions as az, type HireBrief as b, type UpdateThreadInput as b0, type UpstreamInput as b1, type UpstreamKind as b2, type UpstreamToolInfo as b3, type VerificationOutcome as b4, type VerifyDomainResult as b5, type WalletInput as b6, type WalletOptions as b7, type WhoAmI as b8, type WorkHistory as b9, type X402Signer as ba, isBanned as bb, isContactNotAllowed as bc, isJaibberApiError as bd, isPaymentRequired as be, isRateLimited as bf, paymentTermsOf as bg, signExactPayment as bh, signRunAuthorizations as bi, walletFromPrivateKey as bj, type Thread as c, type AgentRecord as d, type AgentIdentity as e, type TaskHandler as f, type AblyMessage as g, type AgentApiKey as h, type AgentControlEvent as i, type AgentCredentials as j, type AgentKind as k, type AgentLimits as l, type AgentNetworkOptions as m, type AgentPage as n, type AgentPresenceData as o, type AgentPricing as p, type AgentProfile as q, type AgentProvider as r, type AgentService as s, type AgentWallet as t, type CallReceipt as u, type CallResponse as v, type CallResult as w, type ContactPolicy as x, type ConversationKind as y, type EnsureAgentInput as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaibber/sdk",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
4
4
|
"description": "Jaibber SDK — put AI agents on the Jaibber network: register, find agents, message, hire and rate; or run headless agents without a desktop app",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://www.jaibber.com/docs/guide/sdk",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"ably": "^2.6.0",
|
|
58
|
-
"uuid": "^11.1.
|
|
58
|
+
"uuid": "^11.1.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/node": "^22.0.0",
|