@railbeam/stardorm-api-contract 0.0.1 → 0.0.2

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.mjs CHANGED
@@ -97,6 +97,19 @@ function buildStardormCatalogResponse() {
97
97
  }
98
98
 
99
99
  // src/catalog-build.ts
100
+ var STARDORM_CATALOG_AGENT_KEYS_ORDERED = [
101
+ "beam-default",
102
+ "ledger",
103
+ "fiscus",
104
+ "scribe",
105
+ "yieldr",
106
+ "audita",
107
+ "settler",
108
+ "quanta",
109
+ "ramp",
110
+ "passport",
111
+ "capita"
112
+ ];
100
113
  function resolveStardormChainAgentId(agentKey) {
101
114
  const trimmed = agentKey.trim();
102
115
  if (/^\d+$/.test(trimmed)) {
@@ -109,12 +122,18 @@ function resolveStardormChainAgentId(agentKey) {
109
122
  const n = Number.parseInt(m[1], 10);
110
123
  return Number.isFinite(n) && n > 0 ? n : null;
111
124
  }
125
+ const slug = trimmed.toLowerCase();
126
+ const idx = STARDORM_CATALOG_AGENT_KEYS_ORDERED.indexOf(slug);
127
+ if (idx >= 0) return idx + 1;
112
128
  return null;
113
129
  }
114
130
  function resolveStardormAgentKey(chainAgentId) {
115
131
  const n = typeof chainAgentId === "string" ? Number.parseInt(chainAgentId, 10) : Number(chainAgentId);
116
132
  if (!Number.isFinite(n) || n <= 0) return null;
117
- if (n === 1) return "beam-default";
133
+ const idx = n - 1;
134
+ if (idx >= 0 && idx < STARDORM_CATALOG_AGENT_KEYS_ORDERED.length && STARDORM_CATALOG_AGENT_KEYS_ORDERED[idx]) {
135
+ return STARDORM_CATALOG_AGENT_KEYS_ORDERED[idx];
136
+ }
118
137
  return `chain-${n}`;
119
138
  }
120
139
  var authChallengeBodySchema = z.object({
@@ -152,7 +171,11 @@ var HANDLER_ACTION_IDS = [
152
171
  /** Confirms an ERC-20 transfer draft; user signs in their wallet / Beam Send. */
153
172
  "draft_erc20_transfer",
154
173
  /** Confirms an NFT (ERC-721 / ERC-1155) transfer draft; user signs in their wallet / Beam Send. */
155
- "draft_nft_transfer"
174
+ "draft_nft_transfer",
175
+ /** Confirms a Uniswap V3 single-hop swap on 0G mainnet; user signs approve + router in wallet. */
176
+ "draft_token_swap",
177
+ /** Direct the user to hire a marketplace specialist for a task this agent cannot run. */
178
+ "suggest_marketplace_hire"
156
179
  ];
157
180
  function isHandlerActionId(id) {
158
181
  return HANDLER_ACTION_IDS.includes(id);
@@ -168,6 +191,19 @@ var storageUploadResponseSchema = z.object({
168
191
  rootHash: z.string().min(1),
169
192
  txHash: z.string().optional()
170
193
  });
194
+ function stripJsonNulls(value) {
195
+ if (value === null) return void 0;
196
+ if (Array.isArray(value)) return value.map(stripJsonNulls);
197
+ if (typeof value === "object") {
198
+ const out = {};
199
+ for (const [k, v] of Object.entries(value)) {
200
+ const stripped = stripJsonNulls(v);
201
+ if (stripped !== void 0) out[k] = stripped;
202
+ }
203
+ return out;
204
+ }
205
+ return value;
206
+ }
171
207
  var stardormChatRichRowSchema = z.object({
172
208
  label: z.string(),
173
209
  value: z.string()
@@ -234,6 +270,48 @@ var stardormChatRichBlockSchema = z.discriminatedUnion("type", [
234
270
  type: z.literal("credit_card"),
235
271
  title: z.string().min(1),
236
272
  rows: stardormChatRichRows
273
+ }),
274
+ z.object({
275
+ type: z.literal("swap_checkout_form"),
276
+ title: z.string().min(1).max(200),
277
+ intro: z.string().max(2e3).optional(),
278
+ supportedAssets: z.array(x402SupportedAssetSchema).min(1).max(24),
279
+ networks: z.array(
280
+ z.object({
281
+ id: z.string().min(1).max(64),
282
+ label: z.string().min(1).max(120)
283
+ })
284
+ ).max(16).optional(),
285
+ /** Default V3 fee tier when the form does not override (500, 3000, 10000). */
286
+ defaultPoolFee: z.union([z.literal(500), z.literal(3e3), z.literal(1e4)]).optional()
287
+ }),
288
+ z.object({
289
+ type: z.literal("marketplace_hire"),
290
+ title: z.string().min(1).max(200),
291
+ intro: z.string().max(2e3).optional(),
292
+ specialistName: z.string().min(1).max(80),
293
+ specialistAgentKey: z.string().min(1).max(64),
294
+ category: z.enum(["Payments", "Taxes", "Reports", "DeFi", "Compliance", "General"]).optional(),
295
+ capability: z.string().min(1).max(400).optional(),
296
+ userTask: z.string().max(500).optional(),
297
+ /** App path to open the marketplace (default `/marketplace`). */
298
+ marketplacePath: z.string().min(1).max(256).default("/marketplace"),
299
+ /** App path to the specialist profile when known (e.g. `/agents/chain-2`). */
300
+ agentProfilePath: z.string().min(1).max(256).optional(),
301
+ requiredHandler: z.string().min(1).max(64).optional()
302
+ }),
303
+ z.object({
304
+ type: z.literal("transfer_checkout_form"),
305
+ title: z.string().min(1).max(200),
306
+ intro: z.string().max(2e3).optional(),
307
+ supportedAssets: z.array(x402SupportedAssetSchema).min(1).max(24),
308
+ networks: z.array(
309
+ z.object({
310
+ id: z.string().min(1).max(64),
311
+ label: z.string().min(1).max(120)
312
+ })
313
+ ).max(16).optional(),
314
+ defaultTo: z.string().max(66).optional()
237
315
  })
238
316
  ]);
239
317
  var stardormChatJsonBodySchema = z.object({
@@ -258,16 +336,25 @@ var stardormChatAttachmentSchema = z.object({
258
336
  hash: z.string().min(1),
259
337
  size: z.string().optional()
260
338
  });
261
- var stardormChatSuccessSchema = z.object({
339
+ function nullishOptional(schema) {
340
+ return z.preprocess((v) => v === null ? void 0 : v, schema);
341
+ }
342
+ var stardormChatSuccessObjectSchema = z.object({
262
343
  agentKey: z.string().min(1),
263
344
  reply: z.string(),
264
- structured: stardormChatStructuredSchema.optional(),
345
+ structured: nullishOptional(stardormChatStructuredSchema.optional()),
265
346
  /** Structured card rows for the client (model or server-generated). */
266
- rich: stardormChatRichBlockSchema.optional(),
347
+ rich: nullishOptional(stardormChatRichBlockSchema.optional()),
267
348
  /** Files the server uploaded to 0G Storage from the user's chat turn (echoed for immediate render). */
268
- attachments: z.array(stardormChatAttachmentSchema).optional(),
349
+ attachments: nullishOptional(
350
+ z.array(stardormChatAttachmentSchema).optional()
351
+ ),
269
352
  compute: stardormChatComputeSchema
270
353
  });
354
+ var stardormChatSuccessSchema = z.preprocess(
355
+ (v) => v != null && typeof v === "object" ? stripJsonNulls(v) : v,
356
+ stardormChatSuccessObjectSchema
357
+ );
271
358
  var stardormChatClientErrorSchema = z.object({
272
359
  error: z.string().min(1)
273
360
  });
@@ -328,6 +415,46 @@ var executeHandlerResponseSchema = z.object({
328
415
  data: z.record(z.string(), z.unknown()).optional(),
329
416
  rich: stardormChatRichBlockSchema.optional()
330
417
  });
418
+ var chatHandlerWalletTxResultSchema = z.object({
419
+ kind: z.literal("wallet_tx"),
420
+ status: z.enum(["submitted", "confirmed", "failed"]),
421
+ txHash: z.string().regex(/^0x[a-fA-F0-9]{64}$/).optional(),
422
+ error: z.string().max(2e3).optional(),
423
+ network: z.string().min(1).max(64).optional(),
424
+ chainId: z.number().int().positive().optional(),
425
+ handler: z.string().min(1).max(64).optional(),
426
+ updatedAt: z.number().int().positive()
427
+ });
428
+ var chatHandlerServerResultSchema = z.object({
429
+ kind: z.literal("server"),
430
+ status: z.enum(["completed", "failed"]).default("completed"),
431
+ data: z.record(z.string(), z.unknown()).optional(),
432
+ updatedAt: z.number().int().positive()
433
+ });
434
+ var chatHandlerResultSchema = z.discriminatedUnion("kind", [
435
+ chatHandlerWalletTxResultSchema,
436
+ chatHandlerServerResultSchema
437
+ ]);
438
+ var patchChatMessageResultBodySchema = z.object({
439
+ result: chatHandlerResultSchema
440
+ });
441
+ var patchChatMessageResultResponseSchema = z.object({
442
+ ok: z.literal(true),
443
+ messageId: z.string().min(1),
444
+ result: chatHandlerResultSchema,
445
+ rich: z.object({
446
+ type: z.literal("tx"),
447
+ title: z.string(),
448
+ rows: z.array(
449
+ z.object({
450
+ label: z.string(),
451
+ value: z.string()
452
+ })
453
+ ).optional()
454
+ }).optional()
455
+ });
456
+
457
+ // src/conversation.ts
331
458
  var chatHistoryQuerySchema = z.object({
332
459
  limit: z.coerce.number().int().min(1).max(100).default(40),
333
460
  /** When omitted, the server uses the user’s active conversation. */
@@ -385,8 +512,13 @@ var chatHistoryMessageSchema = z.object({
385
512
  content: z.string(),
386
513
  createdAt: z.number(),
387
514
  attachments: z.array(chatHistoryAttachmentSchema).optional(),
388
- rich: stardormChatRichBlockSchema.optional(),
515
+ rich: z.preprocess(
516
+ (v) => v != null && typeof v === "object" ? stripJsonNulls(v) : v,
517
+ stardormChatRichBlockSchema.optional()
518
+ ).optional(),
389
519
  handlerCta: chatHistoryHandlerCtaSchema.optional(),
520
+ /** Wallet or server outcome for this bubble (tx hash, checkout ids, …). */
521
+ result: chatHandlerResultSchema.optional(),
390
522
  followUp: chatFollowUpSchema.optional(),
391
523
  model: z.string().optional(),
392
524
  verified: z.boolean().optional(),
@@ -427,6 +559,32 @@ var createConversationBodySchema = z.object({
427
559
  var deleteConversationResponseSchema = z.object({
428
560
  deleted: z.literal(true)
429
561
  });
562
+ var conversationSyncThreadSchema = z.object({
563
+ v: z.literal(1),
564
+ op: z.literal("thread"),
565
+ conversationId: z.string().min(1)
566
+ });
567
+ var conversationSyncThreadMessagesSchema = z.object({
568
+ v: z.literal(1),
569
+ op: z.literal("thread_messages"),
570
+ conversationId: z.string().min(1),
571
+ messages: z.array(chatHistoryMessageSchema).min(1)
572
+ });
573
+ var conversationSyncConversationsSchema = z.object({
574
+ v: z.literal(1),
575
+ op: z.literal("conversations")
576
+ });
577
+ var conversationSyncConversationDeletedSchema = z.object({
578
+ v: z.literal(1),
579
+ op: z.literal("conversation_deleted"),
580
+ conversationId: z.string().min(1)
581
+ });
582
+ var conversationSyncPayloadSchema = z.discriminatedUnion("op", [
583
+ conversationSyncThreadSchema,
584
+ conversationSyncThreadMessagesSchema,
585
+ conversationSyncConversationsSchema,
586
+ conversationSyncConversationDeletedSchema
587
+ ]);
430
588
  var agentOnchainFeedbackItemSchema = z.object({
431
589
  id: z.string(),
432
590
  agentId: z.number(),
@@ -514,13 +672,33 @@ var publicPaymentRequestSchema = z.object({
514
672
  attachment: stardormChatAttachmentSchema.optional(),
515
673
  /** Set when status is `paid` (on-chain settlement recorded). */
516
674
  txHash: z.string().optional(),
517
- paidByWallet: z.string().optional()
675
+ paidByWallet: z.string().optional(),
676
+ /** When true, checkout can settle via x402 facilitator + wallet-signed payload. */
677
+ facilitatorSettlement: z.boolean().optional()
518
678
  });
519
679
  var mePaymentRequestsQuerySchema = z.object({
520
- limit: z.coerce.number().int().min(1).max(50).default(20)
680
+ limit: z.coerce.number().int().min(1).max(50).default(20),
681
+ /** 1-based page index (sorted by `updatedAt` descending). */
682
+ page: z.coerce.number().int().min(1).default(1)
521
683
  });
522
684
  var paymentRequestsListResponseSchema = z.object({
523
- items: z.array(publicPaymentRequestSchema)
685
+ items: z.array(publicPaymentRequestSchema),
686
+ /** Total rows matching the wallet filter (ignores pagination). */
687
+ total: z.number().int().min(0)
688
+ });
689
+ var financialSnapshotDailyRowSchema = z.object({
690
+ bucketStart: z.string(),
691
+ bucket: z.string(),
692
+ revenueUsd: z.number().optional(),
693
+ walletBalance0g: z.number().optional(),
694
+ monthlySpend0g: z.number().optional(),
695
+ spendByCategory: z.record(z.number()).default({})
696
+ });
697
+ var meFinancialSnapshotsQuerySchema = z.object({
698
+ days: z.coerce.number().int().min(7).max(90).default(30)
699
+ });
700
+ var financialSnapshotsListResponseSchema = z.object({
701
+ items: z.array(financialSnapshotDailyRowSchema)
524
702
  });
525
703
  var onRampFormNetworkOptionSchema = z.object({
526
704
  id: z.string().min(1).max(64),
@@ -665,24 +843,18 @@ var creditCardSensitiveDetailsSchema = z.object({
665
843
  var creditCardsListResponseSchema = z.object({
666
844
  cards: z.array(creditCardPublicSchema)
667
845
  });
668
- var creditCardFundBodySchema = z.object({
669
- amountCents: z.coerce.number().int().min(1).max(1e8),
670
- fundingTxHash: z.string().regex(/^0x[a-fA-F0-9]{64}$/).optional(),
671
- fundingChainId: z.coerce.number().int().positive().optional()
672
- }).refine(
673
- (d) => d.fundingTxHash == null && d.fundingChainId == null || d.fundingTxHash != null && d.fundingChainId != null,
674
- {
675
- message: "fundingTxHash and fundingChainId must both be provided or both omitted",
676
- path: ["fundingTxHash"]
677
- }
678
- );
679
846
  var creditCardFundQuoteQuerySchema = z.object({
680
847
  amountCents: z.coerce.number().int().min(1).max(1e8)
681
848
  });
682
- var creditCardFundQuoteOffChainSchema = z.object({
683
- onchainFundingRequired: z.literal(false)
849
+ var creditCardFundQuoteX402Schema = z.object({
850
+ onchainFundingRequired: z.literal(false),
851
+ chainId: z.number().int(),
852
+ recipient: z.string().min(1),
853
+ usdcAsset: z.string().min(1),
854
+ usdcAmountBaseUnits: z.string().regex(/^\d+$/),
855
+ usdcDecimals: z.number().int().min(0).max(18)
684
856
  });
685
- var creditCardFundQuoteOnChainSchema = z.object({
857
+ var creditCardFundQuoteNativeSchema = z.object({
686
858
  onchainFundingRequired: z.literal(true),
687
859
  chainId: z.number().int(),
688
860
  recipient: z.string().min(1),
@@ -691,10 +863,11 @@ var creditCardFundQuoteOnChainSchema = z.object({
691
863
  nativeSymbol: z.string().min(1),
692
864
  nativeDecimals: z.number().int().min(0).max(18)
693
865
  });
694
- var creditCardFundQuoteResponseSchema = z.discriminatedUnion(
866
+ var creditCardFundQuoteSchema = z.discriminatedUnion(
695
867
  "onchainFundingRequired",
696
- [creditCardFundQuoteOffChainSchema, creditCardFundQuoteOnChainSchema]
868
+ [creditCardFundQuoteX402Schema, creditCardFundQuoteNativeSchema]
697
869
  );
870
+ var creditCardFundQuoteResponseSchema = creditCardFundQuoteSchema;
698
871
  var creditCardWithdrawBodySchema = z.object({
699
872
  amountCents: z.coerce.number().int().min(1).max(1e8)
700
873
  });
@@ -882,7 +1055,77 @@ var draftNftTransferInputSchema = z.object({
882
1055
  });
883
1056
  }
884
1057
  });
1058
+ var swapFormNetworkOptionSchema = z.object({
1059
+ id: z.string().min(1).max(64),
1060
+ label: z.string().min(1).max(120)
1061
+ });
1062
+ var swapFormCtaParamsSchema = z.object({
1063
+ _swapForm: z.literal(true),
1064
+ supportedAssets: z.array(x402SupportedAssetSchema).min(1).max(24),
1065
+ networks: z.array(swapFormNetworkOptionSchema).max(16).optional(),
1066
+ intro: z.string().max(2e3).optional(),
1067
+ /** Default Uniswap V3 pool fee tier (500, 3000, or 10000). */
1068
+ defaultPoolFee: z.union([z.literal(500), z.literal(3e3), z.literal(1e4)]).optional()
1069
+ });
1070
+ function isSwapFormCtaParams(v) {
1071
+ return swapFormCtaParamsSchema.safeParse(v).success;
1072
+ }
1073
+ var caip2Eip1552 = z.string().min(8).max(64).regex(/^eip155:\d+$/, "network must be CAIP-2 form eip155:<chainId>");
1074
+ var evmAddress202 = z.string().trim().refine((s) => /^0x[a-fA-F0-9]{40}$/.test(s), "must be a 0x-prefixed 20-byte EVM address").transform((s) => s.trim().toLowerCase());
1075
+ var positiveWeiString2 = z.string().trim().regex(/^[1-9]\d*$/, "must be a positive integer decimal string (base units)");
1076
+ var nonNegativeWeiString = z.string().trim().regex(/^\d+$/, "must be a non-negative integer decimal string (base units)");
1077
+ var poolFeeSchema = z.union([
1078
+ z.literal(500),
1079
+ z.literal(3e3),
1080
+ z.literal(1e4)
1081
+ ]);
1082
+ var draftTokenSwapInputSchema = z.object({
1083
+ network: caip2Eip1552,
1084
+ tokenIn: evmAddress202,
1085
+ tokenInSymbol: z.string().min(1).max(32).optional(),
1086
+ tokenInDecimals: z.number().int().min(0).max(36),
1087
+ tokenOut: evmAddress202,
1088
+ tokenOutSymbol: z.string().min(1).max(32).optional(),
1089
+ tokenOutDecimals: z.number().int().min(0).max(36),
1090
+ amountInWei: positiveWeiString2,
1091
+ /** Slippage floor in `tokenOut` base units; `0` accepts any output. */
1092
+ amountOutMinimumWei: nonNegativeWeiString.default("0"),
1093
+ poolFee: poolFeeSchema.default(3e3),
1094
+ /** Filled server-side from deployment when omitted. */
1095
+ router: evmAddress202.optional(),
1096
+ /** Unix seconds; wallet may refresh if expired. */
1097
+ deadlineUnix: z.number().int().positive().optional(),
1098
+ note: z.string().max(500).optional()
1099
+ });
1100
+ var transferFormNetworkOptionSchema = z.object({
1101
+ id: z.string().min(1).max(64),
1102
+ label: z.string().min(1).max(120)
1103
+ });
1104
+ var transferFormCtaParamsSchema = z.object({
1105
+ _transferForm: z.literal(true),
1106
+ supportedAssets: z.array(x402SupportedAssetSchema).min(1).max(24),
1107
+ networks: z.array(transferFormNetworkOptionSchema).max(16).optional(),
1108
+ intro: z.string().max(2e3).optional(),
1109
+ /** When set, pre-fill recipient in the form. */
1110
+ defaultTo: z.string().trim().refine((s) => /^0x[a-fA-F0-9]{40}$/.test(s), "defaultTo must be 0x\u202640").transform((s) => s.toLowerCase()).optional()
1111
+ });
1112
+ function isTransferFormCtaParams(v) {
1113
+ return transferFormCtaParamsSchema.safeParse(v).success;
1114
+ }
1115
+ var marketplaceSpecialistAgentKeySchema = z.string().min(1).max(64).regex(/^[a-z0-9][a-z0-9-]*$/i);
1116
+ var suggestMarketplaceHireInputSchema = z.object({
1117
+ specialistAgentKey: marketplaceSpecialistAgentKeySchema,
1118
+ specialistName: z.string().min(1).max(80).optional(),
1119
+ category: z.enum(["Payments", "Taxes", "Reports", "DeFi", "Compliance", "General"]).optional(),
1120
+ /** One line: what the specialist runs for the user (handler names ok). */
1121
+ capability: z.string().min(1).max(400).optional(),
1122
+ /** Short description of what the user was trying to do. */
1123
+ userTask: z.string().min(1).max(500).optional(),
1124
+ intro: z.string().max(2e3).optional(),
1125
+ /** Optional handler the user needs after hiring (for display only). */
1126
+ requiredHandler: handlerActionIdSchema.optional()
1127
+ });
885
1128
 
886
- export { HANDLER_ACTION_IDS, ISO_3166_1_ALPHA2_CODES, agentAvatarSchema, agentCategorySchema, agentFeedbacksPageResponseSchema, agentFeedbacksQuerySchema, agentOnchainFeedbackItemSchema, agentSchema, agentsListSchema, authChallengeBodySchema, authChallengeResponseSchema, authMeResponseSchema, authVerifyBodySchema, authVerifyResponseSchema, billingDatePartSchema, billingDatePartToUtc, billingPeriodBounds, billingRangeEndOfDay, buildStardormCatalogResponse, catalogResponseSchema, chatFollowUpSchema, chatHistoryAttachmentSchema, chatHistoryHandlerCtaSchema, chatHistoryMessageSchema, chatHistoryQuerySchema, chatHistoryResponseSchema, conversationSummarySchema, conversationsListResponseSchema, conversationsPageResponseSchema, conversationsQuerySchema, createConversationBodySchema, createCreditCardInputSchema, creditCardFormCtaParamsSchema, creditCardFundBodySchema, creditCardFundQuoteOffChainSchema, creditCardFundQuoteOnChainSchema, creditCardFundQuoteQuerySchema, creditCardFundQuoteResponseSchema, creditCardPublicSchema, creditCardSensitiveDetailsSchema, creditCardWithdrawBodySchema, creditCardsListResponseSchema, deleteConversationResponseSchema, draftErc20TransferInputSchema, draftNativeTransferInputSchema, draftNftTransferInputSchema, executeHandlerBodySchema, executeHandlerResponseSchema, generateFinancialActivityReportInputSchema, generatePaymentInvoiceInputSchema, handlerActionIdSchema, handlersListResponseSchema, isCreditCardFormCtaParams, isHandlerActionId, isIso3166Alpha2, isOnRampFormCtaParams, isoCountryDisplayName, meOnRampsQuerySchema, mePaymentRequestsQuerySchema, onRampFormCtaParamsSchema, onRampFormNetworkOptionSchema, onRampRecordSchema, onRampRecordStatusSchema, onRampTokensInputSchema, onRampsListResponseSchema, paymentRequestStatusSchema, paymentRequestTypeSchema, paymentRequestsListResponseSchema, paymentSettlementBodySchema, publicPaymentRequestSchema, publicUserSchema, resolveStardormAgentKey, resolveStardormChainAgentId, skillHandleSchema, stardormChatAttachmentSchema, stardormChatClientErrorSchema, stardormChatClientResultSchema, stardormChatComputeSchema, stardormChatJsonBodySchema, stardormChatRichBlockSchema, stardormChatRichRowSchema, stardormChatStructuredSchema, stardormChatSuccessSchema, storageUploadBodySchema, storageUploadResponseSchema, stripeKycInputSchema, taxRateForCountry, updateUserBodySchema, userAvatarPresetSchema, userKycStatusDocumentSchema, userKycStatusSchema, userPreferencesSchema, userUploadResultSchema, x402SupportedAssetSchema };
1129
+ export { HANDLER_ACTION_IDS, ISO_3166_1_ALPHA2_CODES, agentAvatarSchema, agentCategorySchema, agentFeedbacksPageResponseSchema, agentFeedbacksQuerySchema, agentOnchainFeedbackItemSchema, agentSchema, agentsListSchema, authChallengeBodySchema, authChallengeResponseSchema, authMeResponseSchema, authVerifyBodySchema, authVerifyResponseSchema, billingDatePartSchema, billingDatePartToUtc, billingPeriodBounds, billingRangeEndOfDay, buildStardormCatalogResponse, catalogResponseSchema, chatFollowUpSchema, chatHandlerResultSchema, chatHandlerServerResultSchema, chatHandlerWalletTxResultSchema, chatHistoryAttachmentSchema, chatHistoryHandlerCtaSchema, chatHistoryMessageSchema, chatHistoryQuerySchema, chatHistoryResponseSchema, conversationSummarySchema, conversationSyncConversationDeletedSchema, conversationSyncConversationsSchema, conversationSyncPayloadSchema, conversationSyncThreadMessagesSchema, conversationSyncThreadSchema, conversationsListResponseSchema, conversationsPageResponseSchema, conversationsQuerySchema, createConversationBodySchema, createCreditCardInputSchema, creditCardFormCtaParamsSchema, creditCardFundQuoteNativeSchema, creditCardFundQuoteQuerySchema, creditCardFundQuoteResponseSchema, creditCardFundQuoteSchema, creditCardFundQuoteX402Schema, creditCardPublicSchema, creditCardSensitiveDetailsSchema, creditCardWithdrawBodySchema, creditCardsListResponseSchema, deleteConversationResponseSchema, draftErc20TransferInputSchema, draftNativeTransferInputSchema, draftNftTransferInputSchema, draftTokenSwapInputSchema, executeHandlerBodySchema, executeHandlerResponseSchema, financialSnapshotDailyRowSchema, financialSnapshotsListResponseSchema, generateFinancialActivityReportInputSchema, generatePaymentInvoiceInputSchema, handlerActionIdSchema, handlersListResponseSchema, isCreditCardFormCtaParams, isHandlerActionId, isIso3166Alpha2, isOnRampFormCtaParams, isSwapFormCtaParams, isTransferFormCtaParams, isoCountryDisplayName, marketplaceSpecialistAgentKeySchema, meFinancialSnapshotsQuerySchema, meOnRampsQuerySchema, mePaymentRequestsQuerySchema, onRampFormCtaParamsSchema, onRampFormNetworkOptionSchema, onRampRecordSchema, onRampRecordStatusSchema, onRampTokensInputSchema, onRampsListResponseSchema, patchChatMessageResultBodySchema, patchChatMessageResultResponseSchema, paymentRequestStatusSchema, paymentRequestTypeSchema, paymentRequestsListResponseSchema, paymentSettlementBodySchema, publicPaymentRequestSchema, publicUserSchema, resolveStardormAgentKey, resolveStardormChainAgentId, skillHandleSchema, stardormChatAttachmentSchema, stardormChatClientErrorSchema, stardormChatClientResultSchema, stardormChatComputeSchema, stardormChatJsonBodySchema, stardormChatRichBlockSchema, stardormChatRichRowSchema, stardormChatStructuredSchema, stardormChatSuccessSchema, storageUploadBodySchema, storageUploadResponseSchema, stripJsonNulls, stripeKycInputSchema, suggestMarketplaceHireInputSchema, swapFormCtaParamsSchema, swapFormNetworkOptionSchema, taxRateForCountry, transferFormCtaParamsSchema, transferFormNetworkOptionSchema, updateUserBodySchema, userAvatarPresetSchema, userKycStatusDocumentSchema, userKycStatusSchema, userPreferencesSchema, userUploadResultSchema, x402SupportedAssetSchema };
887
1130
  //# sourceMappingURL=index.mjs.map
888
1131
  //# sourceMappingURL=index.mjs.map