lane-sdk 0.3.11 → 0.3.12

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.
Files changed (47) hide show
  1. package/dist/adapters/crewai/index.cjs +12 -14
  2. package/dist/adapters/crewai/index.d.cts +1 -1
  3. package/dist/adapters/crewai/index.d.ts +1 -1
  4. package/dist/adapters/crewai/index.js +12 -14
  5. package/dist/adapters/langchain/index.cjs +12 -14
  6. package/dist/adapters/langchain/index.d.cts +1 -1
  7. package/dist/adapters/langchain/index.d.ts +1 -1
  8. package/dist/adapters/langchain/index.js +12 -14
  9. package/dist/adapters/openai/index.cjs +12 -14
  10. package/dist/adapters/openai/index.d.cts +1 -1
  11. package/dist/adapters/openai/index.d.ts +1 -1
  12. package/dist/adapters/openai/index.js +12 -14
  13. package/dist/adapters/vercel-ai/index.cjs +12 -14
  14. package/dist/adapters/vercel-ai/index.d.cts +1 -1
  15. package/dist/adapters/vercel-ai/index.d.ts +1 -1
  16. package/dist/adapters/vercel-ai/index.js +12 -14
  17. package/dist/cli/index.js +6 -7
  18. package/dist/cli/postinstall.js +0 -1
  19. package/dist/index.cjs +12 -936
  20. package/dist/index.d.cts +3 -354
  21. package/dist/index.d.ts +3 -354
  22. package/dist/index.js +13 -928
  23. package/dist/{lane-CATn69s2.d.cts → lane-BgdqOeXo.d.cts} +5 -5
  24. package/dist/{lane-CATn69s2.d.ts → lane-BgdqOeXo.d.ts} +5 -5
  25. package/dist/server-http.cjs +12 -14
  26. package/dist/server-http.js +12 -14
  27. package/dist/server-stdio.cjs +12 -14
  28. package/dist/server-stdio.js +12 -14
  29. package/dist/skills/lane.md +5 -5
  30. package/package.json +5 -2
  31. package/plugin/skills/commerce-agent/SKILL.md +2 -2
  32. package/dist/adapters/crewai/index.cjs.map +0 -1
  33. package/dist/adapters/crewai/index.js.map +0 -1
  34. package/dist/adapters/langchain/index.cjs.map +0 -1
  35. package/dist/adapters/langchain/index.js.map +0 -1
  36. package/dist/adapters/openai/index.cjs.map +0 -1
  37. package/dist/adapters/openai/index.js.map +0 -1
  38. package/dist/adapters/vercel-ai/index.cjs.map +0 -1
  39. package/dist/adapters/vercel-ai/index.js.map +0 -1
  40. package/dist/cli/index.js.map +0 -1
  41. package/dist/cli/postinstall.js.map +0 -1
  42. package/dist/index.cjs.map +0 -1
  43. package/dist/index.js.map +0 -1
  44. package/dist/server-http.cjs.map +0 -1
  45. package/dist/server-http.js.map +0 -1
  46. package/dist/server-stdio.cjs.map +0 -1
  47. package/dist/server-stdio.js.map +0 -1
@@ -376,8 +376,8 @@ interface ProvisionVICPaymentResult {
376
376
  singleUse: boolean;
377
377
  warning: string;
378
378
  }
379
- /** Payment route used by the routing engine (acceptance protocols + fallback strategies). */
380
- type PaymentRoute = 'billing_api' | 'acp' | 'ucp' | 'x402' | 'rye' | 'browser_use' | 'fallback';
379
+ /** Payment route used by the routing engine (acceptance protocols + fallback). */
380
+ type PaymentRoute = 'billing_api' | 'acp' | 'ucp' | 'x402' | 'fallback' | string;
381
381
  /** Acceptance protocol type. */
382
382
  type ProtocolType = 'acp' | 'ucp' | 'x402';
383
383
  /** Protocol session status. */
@@ -2046,8 +2046,8 @@ declare class Delegations extends Resource {
2046
2046
  revoke(delegationId: string): Promise<Delegation>;
2047
2047
  }
2048
2048
 
2049
- /** Supported commerce platforms */
2050
- type CommercePlatform = 'thanx' | 'doordash';
2049
+ /** Commerce platform identifier (resolved by the server) */
2050
+ type CommercePlatform = string;
2051
2051
  /** A physical location that accepts orders */
2052
2052
  interface CommerceLocation {
2053
2053
  id: string;
@@ -2527,4 +2527,4 @@ declare class Lane {
2527
2527
  get baseUrl(): string;
2528
2528
  }
2529
2529
 
2530
- export { type CreateTeamParams as $, type APIResponse as A, type BudgetConfig as B, type Credentials as C, CommerceCatalog as D, type CommerceCheckoutParams as E, type CommerceLocation as F, type CommerceMenuCategory as G, type CommerceMenuItem as H, type CommerceModifierGroup as I, type CommerceModifierOption as J, type CommerceOnboardingStatus as K, Lane as L, type CommerceOrder as M, type CommerceOrderResult as N, CommerceOrders as O, type CommercePaymentMethod as P, type CommercePlatform as Q, type ResolvedConfig as R, type CommerceProfile as S, type TokenStore as T, CommerceProviders as U, type CommerceTimeSlot as V, type ConnectProviderParams as W, type ConnectedProvider as X, type CreateCheckoutParams as Y, type CreateProductParams as Z, type CreateSubscriptionParams as _, type LaneConfig as a, type SCPManifest as a$, type CreateTokenParams as a0, type CreateWalletParams as a1, type CredentialInjection as a2, type DepositParams as a3, type DepositResult as a4, type DeveloperProfile as a5, type DirectoryMerchant as a6, type EnhancedToken as a7, type ExecutePaymentParams as a8, Fleet as a9, type NetworkTokenPayload as aA, type Order as aB, type OrderIntentParams as aC, type OrderIntentResult as aD, type Organization as aE, type PaginatedResponse as aF, Pay as aG, type PaymentRoute as aH, type PaymentSkill as aI, type Payout as aJ, type PayoutConfig as aK, Payouts as aL, type PricingConfig as aM, type Product as aN, type ProductAnalytics as aO, type ProductSearchParams as aP, Products as aQ, type ProtocolDiscoveryResult as aR, type ProvisionVICPaymentParams as aS, type ProvisionVICPaymentResult as aT, type Refund as aU, type RefundParams as aV, type RegisterAgentParams as aW, type RegisterIdentityParams as aX, type RequestOptions as aY, Resource as aZ, type RotateKeyResult as a_, type FleetAgent as aa, type HierarchicalBudget as ab, Identity as ac, type IdentityAttestation as ad, type Instruction$1 as ae, type InstructionConfirmation$1 as af, type InstructionCredential$1 as ag, Instructions as ah, type KYCChain as ai, LaneAuthError as aj, LaneBudgetError as ak, LaneClient as al, LaneConfirmationError as am, LaneError as an, LaneNotFoundError as ao, LanePaymentError as ap, LaneRateLimitError as aq, LaneValidationError as ar, type Mandate$1 as as, type Merchant as at, type MerchantSearchParams as au, type MerchantType as av, type MerchantVerticalSummary as aw, Merchants as ax, Metering as ay, type MeteringConfig as az, type RoutingDecision as b, type SCPParameter as b0, type SCPPlan as b1, type SCPPricing as b2, type SCPProduct as b3, type SCPProvisioning as b4, type SCPSelectionParameters as b5, type SDKInfo as b6, Sell as b7, type SoftwareCheckoutParams as b8, type SoftwareOrder as b9, type WebhookEvent as bA, type WebhookPayload as bB, Webhooks as bC, createErrorFromResponse as bD, type SoftwareProductSearchParams as ba, type SpendingSummary as bb, type SubmitOrderParams as bc, type SubmitOrderResult as bd, type Subscription as be, Subscriptions as bf, type Team as bg, type TeamMember as bh, type TeamSpending as bi, Teams as bj, Tokens as bk, type Transaction as bl, Transactions as bm, type UpdateSubscriptionParams as bn, type UsageRecord as bo, type UsageReport as bp, Users as bq, VIC as br, type VICIssuanceParams as bs, type VICToken as bt, type VICTokenUsageEntry as bu, type VerifyIdentityParams as bv, type Wallet as bw, type WalletBalance as bx, Wallets as by, type WebhookConfig as bz, Admin as c, type AgentIdentity as d, type AgentPolicy as e, type AgentRecord as f, type AgentUser$1 as g, type AgenticToken as h, Agents as i, type AnalyticsParams as j, Audit as k, type AuditEntry as l, type AuditQueryParams as m, Auth as n, type AutoReloadConfig as o, Budgets as p, type Card as q, type CardAttributes as r, Cards as s, Checkout as t, type CheckoutConfigParams as u, type CheckoutConfigResult as v, type CheckoutSession as w, Commerce as x, type CommerceAddress as y, type CommerceCartItem as z };
2530
+ export { type CreateTokenParams as $, type APIResponse as A, type BudgetConfig as B, type Credentials as C, type CommerceCheckoutParams as D, type CommerceLocation as E, type CommerceMenuCategory as F, type CommerceMenuItem as G, type CommerceModifierGroup as H, type CommerceModifierOption as I, type CommerceOnboardingStatus as J, type CommerceOrder as K, Lane as L, type CommerceOrderResult as M, CommerceOrders as N, type CommercePaymentMethod as O, type CommercePlatform as P, type CommerceProfile as Q, type ResolvedConfig as R, CommerceProviders as S, type TokenStore as T, type CommerceTimeSlot as U, type ConnectProviderParams as V, type ConnectedProvider as W, type CreateCheckoutParams as X, type CreateProductParams as Y, type CreateSubscriptionParams as Z, type CreateTeamParams as _, type LaneConfig as a, type SCPManifest as a$, type CreateWalletParams as a0, type CredentialInjection as a1, type DepositParams as a2, type DepositResult as a3, type DeveloperProfile as a4, type DirectoryMerchant as a5, type EnhancedToken as a6, type ExecutePaymentParams as a7, Fleet as a8, type FleetAgent as a9, type Order as aA, type OrderIntentParams as aB, type OrderIntentResult as aC, type Organization as aD, type PaginatedResponse as aE, Pay as aF, type PaymentRoute as aG, type PaymentSkill as aH, type Payout as aI, type PayoutConfig as aJ, Payouts as aK, type PricingConfig as aL, type Product as aM, type ProductAnalytics as aN, type ProductSearchParams as aO, Products as aP, type ProtocolDiscoveryResult as aQ, type ProvisionVICPaymentParams as aR, type ProvisionVICPaymentResult as aS, type Refund as aT, type RefundParams as aU, type RegisterAgentParams as aV, type RegisterIdentityParams as aW, type RequestOptions as aX, Resource as aY, type RotateKeyResult as aZ, type RoutingDecision as a_, type HierarchicalBudget as aa, Identity as ab, type IdentityAttestation as ac, type Instruction$1 as ad, type InstructionConfirmation$1 as ae, type InstructionCredential$1 as af, Instructions as ag, type KYCChain as ah, LaneAuthError as ai, LaneBudgetError as aj, LaneClient as ak, LaneConfirmationError as al, LaneError as am, LaneNotFoundError as an, LanePaymentError as ao, LaneRateLimitError as ap, LaneValidationError as aq, type Mandate$1 as ar, type Merchant as as, type MerchantSearchParams as at, type MerchantType as au, type MerchantVerticalSummary as av, Merchants as aw, Metering as ax, type MeteringConfig as ay, type NetworkTokenPayload as az, Admin as b, type SCPParameter as b0, type SCPPlan as b1, type SCPPricing as b2, type SCPProduct as b3, type SCPProvisioning as b4, type SCPSelectionParameters as b5, type SDKInfo as b6, Sell as b7, type SoftwareCheckoutParams as b8, type SoftwareOrder as b9, type WebhookEvent as bA, type WebhookPayload as bB, Webhooks as bC, createErrorFromResponse as bD, type SoftwareProductSearchParams as ba, type SpendingSummary as bb, type SubmitOrderParams as bc, type SubmitOrderResult as bd, type Subscription as be, Subscriptions as bf, type Team as bg, type TeamMember as bh, type TeamSpending as bi, Teams as bj, Tokens as bk, type Transaction as bl, Transactions as bm, type UpdateSubscriptionParams as bn, type UsageRecord as bo, type UsageReport as bp, Users as bq, VIC as br, type VICIssuanceParams as bs, type VICToken as bt, type VICTokenUsageEntry as bu, type VerifyIdentityParams as bv, type Wallet as bw, type WalletBalance as bx, Wallets as by, type WebhookConfig as bz, type AgentIdentity as c, type AgentPolicy as d, type AgentRecord as e, type AgentUser$1 as f, type AgenticToken as g, Agents as h, type AnalyticsParams as i, Audit as j, type AuditEntry as k, type AuditQueryParams as l, Auth as m, type AutoReloadConfig as n, Budgets as o, type Card as p, type CardAttributes as q, Cards as r, Checkout as s, type CheckoutConfigParams as t, type CheckoutConfigResult as u, type CheckoutSession as v, Commerce as w, type CommerceAddress as x, type CommerceCartItem as y, CommerceCatalog as z };
@@ -376,8 +376,8 @@ interface ProvisionVICPaymentResult {
376
376
  singleUse: boolean;
377
377
  warning: string;
378
378
  }
379
- /** Payment route used by the routing engine (acceptance protocols + fallback strategies). */
380
- type PaymentRoute = 'billing_api' | 'acp' | 'ucp' | 'x402' | 'rye' | 'browser_use' | 'fallback';
379
+ /** Payment route used by the routing engine (acceptance protocols + fallback). */
380
+ type PaymentRoute = 'billing_api' | 'acp' | 'ucp' | 'x402' | 'fallback' | string;
381
381
  /** Acceptance protocol type. */
382
382
  type ProtocolType = 'acp' | 'ucp' | 'x402';
383
383
  /** Protocol session status. */
@@ -2046,8 +2046,8 @@ declare class Delegations extends Resource {
2046
2046
  revoke(delegationId: string): Promise<Delegation>;
2047
2047
  }
2048
2048
 
2049
- /** Supported commerce platforms */
2050
- type CommercePlatform = 'thanx' | 'doordash';
2049
+ /** Commerce platform identifier (resolved by the server) */
2050
+ type CommercePlatform = string;
2051
2051
  /** A physical location that accepts orders */
2052
2052
  interface CommerceLocation {
2053
2053
  id: string;
@@ -2527,4 +2527,4 @@ declare class Lane {
2527
2527
  get baseUrl(): string;
2528
2528
  }
2529
2529
 
2530
- export { type CreateTeamParams as $, type APIResponse as A, type BudgetConfig as B, type Credentials as C, CommerceCatalog as D, type CommerceCheckoutParams as E, type CommerceLocation as F, type CommerceMenuCategory as G, type CommerceMenuItem as H, type CommerceModifierGroup as I, type CommerceModifierOption as J, type CommerceOnboardingStatus as K, Lane as L, type CommerceOrder as M, type CommerceOrderResult as N, CommerceOrders as O, type CommercePaymentMethod as P, type CommercePlatform as Q, type ResolvedConfig as R, type CommerceProfile as S, type TokenStore as T, CommerceProviders as U, type CommerceTimeSlot as V, type ConnectProviderParams as W, type ConnectedProvider as X, type CreateCheckoutParams as Y, type CreateProductParams as Z, type CreateSubscriptionParams as _, type LaneConfig as a, type SCPManifest as a$, type CreateTokenParams as a0, type CreateWalletParams as a1, type CredentialInjection as a2, type DepositParams as a3, type DepositResult as a4, type DeveloperProfile as a5, type DirectoryMerchant as a6, type EnhancedToken as a7, type ExecutePaymentParams as a8, Fleet as a9, type NetworkTokenPayload as aA, type Order as aB, type OrderIntentParams as aC, type OrderIntentResult as aD, type Organization as aE, type PaginatedResponse as aF, Pay as aG, type PaymentRoute as aH, type PaymentSkill as aI, type Payout as aJ, type PayoutConfig as aK, Payouts as aL, type PricingConfig as aM, type Product as aN, type ProductAnalytics as aO, type ProductSearchParams as aP, Products as aQ, type ProtocolDiscoveryResult as aR, type ProvisionVICPaymentParams as aS, type ProvisionVICPaymentResult as aT, type Refund as aU, type RefundParams as aV, type RegisterAgentParams as aW, type RegisterIdentityParams as aX, type RequestOptions as aY, Resource as aZ, type RotateKeyResult as a_, type FleetAgent as aa, type HierarchicalBudget as ab, Identity as ac, type IdentityAttestation as ad, type Instruction$1 as ae, type InstructionConfirmation$1 as af, type InstructionCredential$1 as ag, Instructions as ah, type KYCChain as ai, LaneAuthError as aj, LaneBudgetError as ak, LaneClient as al, LaneConfirmationError as am, LaneError as an, LaneNotFoundError as ao, LanePaymentError as ap, LaneRateLimitError as aq, LaneValidationError as ar, type Mandate$1 as as, type Merchant as at, type MerchantSearchParams as au, type MerchantType as av, type MerchantVerticalSummary as aw, Merchants as ax, Metering as ay, type MeteringConfig as az, type RoutingDecision as b, type SCPParameter as b0, type SCPPlan as b1, type SCPPricing as b2, type SCPProduct as b3, type SCPProvisioning as b4, type SCPSelectionParameters as b5, type SDKInfo as b6, Sell as b7, type SoftwareCheckoutParams as b8, type SoftwareOrder as b9, type WebhookEvent as bA, type WebhookPayload as bB, Webhooks as bC, createErrorFromResponse as bD, type SoftwareProductSearchParams as ba, type SpendingSummary as bb, type SubmitOrderParams as bc, type SubmitOrderResult as bd, type Subscription as be, Subscriptions as bf, type Team as bg, type TeamMember as bh, type TeamSpending as bi, Teams as bj, Tokens as bk, type Transaction as bl, Transactions as bm, type UpdateSubscriptionParams as bn, type UsageRecord as bo, type UsageReport as bp, Users as bq, VIC as br, type VICIssuanceParams as bs, type VICToken as bt, type VICTokenUsageEntry as bu, type VerifyIdentityParams as bv, type Wallet as bw, type WalletBalance as bx, Wallets as by, type WebhookConfig as bz, Admin as c, type AgentIdentity as d, type AgentPolicy as e, type AgentRecord as f, type AgentUser$1 as g, type AgenticToken as h, Agents as i, type AnalyticsParams as j, Audit as k, type AuditEntry as l, type AuditQueryParams as m, Auth as n, type AutoReloadConfig as o, Budgets as p, type Card as q, type CardAttributes as r, Cards as s, Checkout as t, type CheckoutConfigParams as u, type CheckoutConfigResult as v, type CheckoutSession as w, Commerce as x, type CommerceAddress as y, type CommerceCartItem as z };
2530
+ export { type CreateTokenParams as $, type APIResponse as A, type BudgetConfig as B, type Credentials as C, type CommerceCheckoutParams as D, type CommerceLocation as E, type CommerceMenuCategory as F, type CommerceMenuItem as G, type CommerceModifierGroup as H, type CommerceModifierOption as I, type CommerceOnboardingStatus as J, type CommerceOrder as K, Lane as L, type CommerceOrderResult as M, CommerceOrders as N, type CommercePaymentMethod as O, type CommercePlatform as P, type CommerceProfile as Q, type ResolvedConfig as R, CommerceProviders as S, type TokenStore as T, type CommerceTimeSlot as U, type ConnectProviderParams as V, type ConnectedProvider as W, type CreateCheckoutParams as X, type CreateProductParams as Y, type CreateSubscriptionParams as Z, type CreateTeamParams as _, type LaneConfig as a, type SCPManifest as a$, type CreateWalletParams as a0, type CredentialInjection as a1, type DepositParams as a2, type DepositResult as a3, type DeveloperProfile as a4, type DirectoryMerchant as a5, type EnhancedToken as a6, type ExecutePaymentParams as a7, Fleet as a8, type FleetAgent as a9, type Order as aA, type OrderIntentParams as aB, type OrderIntentResult as aC, type Organization as aD, type PaginatedResponse as aE, Pay as aF, type PaymentRoute as aG, type PaymentSkill as aH, type Payout as aI, type PayoutConfig as aJ, Payouts as aK, type PricingConfig as aL, type Product as aM, type ProductAnalytics as aN, type ProductSearchParams as aO, Products as aP, type ProtocolDiscoveryResult as aQ, type ProvisionVICPaymentParams as aR, type ProvisionVICPaymentResult as aS, type Refund as aT, type RefundParams as aU, type RegisterAgentParams as aV, type RegisterIdentityParams as aW, type RequestOptions as aX, Resource as aY, type RotateKeyResult as aZ, type RoutingDecision as a_, type HierarchicalBudget as aa, Identity as ab, type IdentityAttestation as ac, type Instruction$1 as ad, type InstructionConfirmation$1 as ae, type InstructionCredential$1 as af, Instructions as ag, type KYCChain as ah, LaneAuthError as ai, LaneBudgetError as aj, LaneClient as ak, LaneConfirmationError as al, LaneError as am, LaneNotFoundError as an, LanePaymentError as ao, LaneRateLimitError as ap, LaneValidationError as aq, type Mandate$1 as ar, type Merchant as as, type MerchantSearchParams as at, type MerchantType as au, type MerchantVerticalSummary as av, Merchants as aw, Metering as ax, type MeteringConfig as ay, type NetworkTokenPayload as az, Admin as b, type SCPParameter as b0, type SCPPlan as b1, type SCPPricing as b2, type SCPProduct as b3, type SCPProvisioning as b4, type SCPSelectionParameters as b5, type SDKInfo as b6, Sell as b7, type SoftwareCheckoutParams as b8, type SoftwareOrder as b9, type WebhookEvent as bA, type WebhookPayload as bB, Webhooks as bC, createErrorFromResponse as bD, type SoftwareProductSearchParams as ba, type SpendingSummary as bb, type SubmitOrderParams as bc, type SubmitOrderResult as bd, type Subscription as be, Subscriptions as bf, type Team as bg, type TeamMember as bh, type TeamSpending as bi, Teams as bj, Tokens as bk, type Transaction as bl, Transactions as bm, type UpdateSubscriptionParams as bn, type UsageRecord as bo, type UsageReport as bp, Users as bq, VIC as br, type VICIssuanceParams as bs, type VICToken as bt, type VICTokenUsageEntry as bu, type VerifyIdentityParams as bv, type Wallet as bw, type WalletBalance as bx, Wallets as by, type WebhookConfig as bz, type AgentIdentity as c, type AgentPolicy as d, type AgentRecord as e, type AgentUser$1 as f, type AgenticToken as g, Agents as h, type AnalyticsParams as i, Audit as j, type AuditEntry as k, type AuditQueryParams as l, Auth as m, type AutoReloadConfig as n, Budgets as o, type Card as p, type CardAttributes as q, Cards as r, Checkout as s, type CheckoutConfigParams as t, type CheckoutConfigResult as u, type CheckoutSession as v, Commerce as w, type CommerceAddress as x, type CommerceCartItem as y, CommerceCatalog as z };
@@ -5140,7 +5140,7 @@ var ConfirmInstructionTool = class extends LaneTool {
5140
5140
  }
5141
5141
  };
5142
5142
  var inputSchema27 = zod.z.object({
5143
- platform: zod.z.enum(["thanx", "doordash"]).describe("Commerce platform to query.")
5143
+ platform: zod.z.string().describe("Commerce platform to query. The server resolves available platforms.")
5144
5144
  });
5145
5145
  var CommerceGetLocationsTool = class extends LaneTool {
5146
5146
  get definition() {
@@ -5155,7 +5155,7 @@ var CommerceGetLocationsTool = class extends LaneTool {
5155
5155
  }
5156
5156
  };
5157
5157
  var inputSchema28 = zod.z.object({
5158
- platform: zod.z.enum(["thanx", "doordash"]).describe("Commerce platform."),
5158
+ platform: zod.z.string().describe("Commerce platform. The server resolves available platforms."),
5159
5159
  locationId: zod.z.string().describe("Location ID to fetch the menu for.")
5160
5160
  });
5161
5161
  var CommerceGetMenuTool = class extends LaneTool {
@@ -5171,7 +5171,7 @@ var CommerceGetMenuTool = class extends LaneTool {
5171
5171
  }
5172
5172
  };
5173
5173
  var inputSchema29 = zod.z.object({
5174
- platform: zod.z.enum(["thanx", "doordash"]).describe("Commerce platform."),
5174
+ platform: zod.z.string().describe("Commerce platform. The server resolves available platforms."),
5175
5175
  itemId: zod.z.string().describe("Item ID to fetch modifiers for.")
5176
5176
  });
5177
5177
  var CommerceGetModifiersTool = class extends LaneTool {
@@ -5198,7 +5198,7 @@ var inputSchema30 = zod.z.object({
5198
5198
  text: zod.z.string().optional().describe('Natural language order request (e.g., "4 cold brews for pickup at Equator tomorrow 2pm"). If provided, server auto-resolves item, quantity, location, time, and modifiers.'),
5199
5199
  // Option B: structured params (agent already resolved from menu)
5200
5200
  description: zod.z.string().optional().describe("Order summary (required if text not provided)."),
5201
- platform: zod.z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from fulfillmentType if omitted."),
5201
+ platform: zod.z.string().optional().describe("Auto-detected by the server if omitted."),
5202
5202
  merchant: zod.z.string().optional().describe("Merchant name (auto-detected from text if provided)."),
5203
5203
  walletId: zod.z.string().default("default").describe("Wallet ID."),
5204
5204
  locationId: zod.z.string().optional().describe("Location ID (auto-resolved from text if provided)."),
@@ -5231,7 +5231,7 @@ var CommerceOrderIntentTool = class extends LaneTool {
5231
5231
  };
5232
5232
  }
5233
5233
  async run(input) {
5234
- const platform2 = input.platform ?? (input.fulfillmentType === "delivery" ? "doordash" : "thanx");
5234
+ const platform2 = input.platform ?? "auto";
5235
5235
  return this.getLane().commerce.orders.createIntent(platform2, {
5236
5236
  ...input,
5237
5237
  description: input.description ?? input.text ?? "",
@@ -5242,7 +5242,7 @@ var CommerceOrderIntentTool = class extends LaneTool {
5242
5242
  }
5243
5243
  };
5244
5244
  var inputSchema31 = zod.z.object({
5245
- platform: zod.z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5245
+ platform: zod.z.string().optional().describe("Auto-detected from instruction if omitted."),
5246
5246
  instructionId: zod.z.string().describe("Instruction ID from order intent."),
5247
5247
  mandateId: zod.z.string().describe("Mandate ID from order intent.")
5248
5248
  });
@@ -5255,7 +5255,7 @@ var CommerceExecuteOrderTool = class extends LaneTool {
5255
5255
  };
5256
5256
  }
5257
5257
  async run(input) {
5258
- const platform2 = input.platform ?? "thanx";
5258
+ const platform2 = input.platform ?? "auto";
5259
5259
  return this.getLane().commerce.orders.executeIntent(
5260
5260
  platform2,
5261
5261
  input.instructionId,
@@ -5264,7 +5264,7 @@ var CommerceExecuteOrderTool = class extends LaneTool {
5264
5264
  }
5265
5265
  };
5266
5266
  var inputSchema32 = zod.z.object({
5267
- platform: zod.z.enum(["thanx", "doordash"]).describe("Commerce platform to connect."),
5267
+ platform: zod.z.string().describe("Commerce platform to connect. The server resolves available platforms."),
5268
5268
  walletId: zod.z.string().optional().describe("Wallet ID to associate."),
5269
5269
  userEmail: zod.z.string().optional().describe("User email for the platform."),
5270
5270
  displayName: zod.z.string().optional().describe("Display name for the connection.")
@@ -5297,7 +5297,7 @@ var CommerceProviderStatusTool = class extends LaneTool {
5297
5297
  }
5298
5298
  };
5299
5299
  var inputSchema34 = zod.z.object({
5300
- platform: zod.z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5300
+ platform: zod.z.string().optional().describe("Auto-detected from instruction if omitted."),
5301
5301
  orderId: zod.z.string().describe("Order ID from the create order step."),
5302
5302
  instructionId: zod.z.string().describe("Instruction ID from order intent."),
5303
5303
  cardId: zod.z.string().optional().describe("Payment card ID. If omitted, server resolves first saved card."),
@@ -5313,7 +5313,7 @@ var CommerceCheckoutConfigTool = class extends LaneTool {
5313
5313
  };
5314
5314
  }
5315
5315
  async run(input) {
5316
- const platform2 = input.platform ?? "thanx";
5316
+ const platform2 = input.platform ?? "auto";
5317
5317
  return this.getLane().commerce.orders.configureCheckout(platform2, input.orderId, {
5318
5318
  instructionId: input.instructionId,
5319
5319
  cardId: input.cardId,
@@ -5323,7 +5323,7 @@ var CommerceCheckoutConfigTool = class extends LaneTool {
5323
5323
  }
5324
5324
  };
5325
5325
  var inputSchema35 = zod.z.object({
5326
- platform: zod.z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5326
+ platform: zod.z.string().optional().describe("Auto-detected from instruction if omitted."),
5327
5327
  orderId: zod.z.string().describe("Order ID to submit."),
5328
5328
  instructionId: zod.z.string().describe("Instruction ID from order intent."),
5329
5329
  mandateId: zod.z.string().describe("Mandate ID from order intent.")
@@ -5337,7 +5337,7 @@ var CommerceSubmitOrderTool = class extends LaneTool {
5337
5337
  };
5338
5338
  }
5339
5339
  async run(input) {
5340
- const platform2 = input.platform ?? "thanx";
5340
+ const platform2 = input.platform ?? "auto";
5341
5341
  return this.getLane().commerce.orders.submit(platform2, input.orderId, {
5342
5342
  instructionId: input.instructionId,
5343
5343
  mandateId: input.mandateId
@@ -5502,5 +5502,3 @@ main().catch((err) => {
5502
5502
  `);
5503
5503
  process.exit(1);
5504
5504
  });
5505
- //# sourceMappingURL=server-http.cjs.map
5506
- //# sourceMappingURL=server-http.cjs.map
@@ -5128,7 +5128,7 @@ var ConfirmInstructionTool = class extends LaneTool {
5128
5128
  }
5129
5129
  };
5130
5130
  var inputSchema27 = z.object({
5131
- platform: z.enum(["thanx", "doordash"]).describe("Commerce platform to query.")
5131
+ platform: z.string().describe("Commerce platform to query. The server resolves available platforms.")
5132
5132
  });
5133
5133
  var CommerceGetLocationsTool = class extends LaneTool {
5134
5134
  get definition() {
@@ -5143,7 +5143,7 @@ var CommerceGetLocationsTool = class extends LaneTool {
5143
5143
  }
5144
5144
  };
5145
5145
  var inputSchema28 = z.object({
5146
- platform: z.enum(["thanx", "doordash"]).describe("Commerce platform."),
5146
+ platform: z.string().describe("Commerce platform. The server resolves available platforms."),
5147
5147
  locationId: z.string().describe("Location ID to fetch the menu for.")
5148
5148
  });
5149
5149
  var CommerceGetMenuTool = class extends LaneTool {
@@ -5159,7 +5159,7 @@ var CommerceGetMenuTool = class extends LaneTool {
5159
5159
  }
5160
5160
  };
5161
5161
  var inputSchema29 = z.object({
5162
- platform: z.enum(["thanx", "doordash"]).describe("Commerce platform."),
5162
+ platform: z.string().describe("Commerce platform. The server resolves available platforms."),
5163
5163
  itemId: z.string().describe("Item ID to fetch modifiers for.")
5164
5164
  });
5165
5165
  var CommerceGetModifiersTool = class extends LaneTool {
@@ -5186,7 +5186,7 @@ var inputSchema30 = z.object({
5186
5186
  text: z.string().optional().describe('Natural language order request (e.g., "4 cold brews for pickup at Equator tomorrow 2pm"). If provided, server auto-resolves item, quantity, location, time, and modifiers.'),
5187
5187
  // Option B: structured params (agent already resolved from menu)
5188
5188
  description: z.string().optional().describe("Order summary (required if text not provided)."),
5189
- platform: z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from fulfillmentType if omitted."),
5189
+ platform: z.string().optional().describe("Auto-detected by the server if omitted."),
5190
5190
  merchant: z.string().optional().describe("Merchant name (auto-detected from text if provided)."),
5191
5191
  walletId: z.string().default("default").describe("Wallet ID."),
5192
5192
  locationId: z.string().optional().describe("Location ID (auto-resolved from text if provided)."),
@@ -5219,7 +5219,7 @@ var CommerceOrderIntentTool = class extends LaneTool {
5219
5219
  };
5220
5220
  }
5221
5221
  async run(input) {
5222
- const platform2 = input.platform ?? (input.fulfillmentType === "delivery" ? "doordash" : "thanx");
5222
+ const platform2 = input.platform ?? "auto";
5223
5223
  return this.getLane().commerce.orders.createIntent(platform2, {
5224
5224
  ...input,
5225
5225
  description: input.description ?? input.text ?? "",
@@ -5230,7 +5230,7 @@ var CommerceOrderIntentTool = class extends LaneTool {
5230
5230
  }
5231
5231
  };
5232
5232
  var inputSchema31 = z.object({
5233
- platform: z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5233
+ platform: z.string().optional().describe("Auto-detected from instruction if omitted."),
5234
5234
  instructionId: z.string().describe("Instruction ID from order intent."),
5235
5235
  mandateId: z.string().describe("Mandate ID from order intent.")
5236
5236
  });
@@ -5243,7 +5243,7 @@ var CommerceExecuteOrderTool = class extends LaneTool {
5243
5243
  };
5244
5244
  }
5245
5245
  async run(input) {
5246
- const platform2 = input.platform ?? "thanx";
5246
+ const platform2 = input.platform ?? "auto";
5247
5247
  return this.getLane().commerce.orders.executeIntent(
5248
5248
  platform2,
5249
5249
  input.instructionId,
@@ -5252,7 +5252,7 @@ var CommerceExecuteOrderTool = class extends LaneTool {
5252
5252
  }
5253
5253
  };
5254
5254
  var inputSchema32 = z.object({
5255
- platform: z.enum(["thanx", "doordash"]).describe("Commerce platform to connect."),
5255
+ platform: z.string().describe("Commerce platform to connect. The server resolves available platforms."),
5256
5256
  walletId: z.string().optional().describe("Wallet ID to associate."),
5257
5257
  userEmail: z.string().optional().describe("User email for the platform."),
5258
5258
  displayName: z.string().optional().describe("Display name for the connection.")
@@ -5285,7 +5285,7 @@ var CommerceProviderStatusTool = class extends LaneTool {
5285
5285
  }
5286
5286
  };
5287
5287
  var inputSchema34 = z.object({
5288
- platform: z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5288
+ platform: z.string().optional().describe("Auto-detected from instruction if omitted."),
5289
5289
  orderId: z.string().describe("Order ID from the create order step."),
5290
5290
  instructionId: z.string().describe("Instruction ID from order intent."),
5291
5291
  cardId: z.string().optional().describe("Payment card ID. If omitted, server resolves first saved card."),
@@ -5301,7 +5301,7 @@ var CommerceCheckoutConfigTool = class extends LaneTool {
5301
5301
  };
5302
5302
  }
5303
5303
  async run(input) {
5304
- const platform2 = input.platform ?? "thanx";
5304
+ const platform2 = input.platform ?? "auto";
5305
5305
  return this.getLane().commerce.orders.configureCheckout(platform2, input.orderId, {
5306
5306
  instructionId: input.instructionId,
5307
5307
  cardId: input.cardId,
@@ -5311,7 +5311,7 @@ var CommerceCheckoutConfigTool = class extends LaneTool {
5311
5311
  }
5312
5312
  };
5313
5313
  var inputSchema35 = z.object({
5314
- platform: z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5314
+ platform: z.string().optional().describe("Auto-detected from instruction if omitted."),
5315
5315
  orderId: z.string().describe("Order ID to submit."),
5316
5316
  instructionId: z.string().describe("Instruction ID from order intent."),
5317
5317
  mandateId: z.string().describe("Mandate ID from order intent.")
@@ -5325,7 +5325,7 @@ var CommerceSubmitOrderTool = class extends LaneTool {
5325
5325
  };
5326
5326
  }
5327
5327
  async run(input) {
5328
- const platform2 = input.platform ?? "thanx";
5328
+ const platform2 = input.platform ?? "auto";
5329
5329
  return this.getLane().commerce.orders.submit(platform2, input.orderId, {
5330
5330
  instructionId: input.instructionId,
5331
5331
  mandateId: input.mandateId
@@ -5490,5 +5490,3 @@ main().catch((err) => {
5490
5490
  `);
5491
5491
  process.exit(1);
5492
5492
  });
5493
- //# sourceMappingURL=server-http.js.map
5494
- //# sourceMappingURL=server-http.js.map
@@ -5140,7 +5140,7 @@ var ConfirmInstructionTool = class extends LaneTool {
5140
5140
  }
5141
5141
  };
5142
5142
  var inputSchema27 = zod.z.object({
5143
- platform: zod.z.enum(["thanx", "doordash"]).describe("Commerce platform to query.")
5143
+ platform: zod.z.string().describe("Commerce platform to query. The server resolves available platforms.")
5144
5144
  });
5145
5145
  var CommerceGetLocationsTool = class extends LaneTool {
5146
5146
  get definition() {
@@ -5155,7 +5155,7 @@ var CommerceGetLocationsTool = class extends LaneTool {
5155
5155
  }
5156
5156
  };
5157
5157
  var inputSchema28 = zod.z.object({
5158
- platform: zod.z.enum(["thanx", "doordash"]).describe("Commerce platform."),
5158
+ platform: zod.z.string().describe("Commerce platform. The server resolves available platforms."),
5159
5159
  locationId: zod.z.string().describe("Location ID to fetch the menu for.")
5160
5160
  });
5161
5161
  var CommerceGetMenuTool = class extends LaneTool {
@@ -5171,7 +5171,7 @@ var CommerceGetMenuTool = class extends LaneTool {
5171
5171
  }
5172
5172
  };
5173
5173
  var inputSchema29 = zod.z.object({
5174
- platform: zod.z.enum(["thanx", "doordash"]).describe("Commerce platform."),
5174
+ platform: zod.z.string().describe("Commerce platform. The server resolves available platforms."),
5175
5175
  itemId: zod.z.string().describe("Item ID to fetch modifiers for.")
5176
5176
  });
5177
5177
  var CommerceGetModifiersTool = class extends LaneTool {
@@ -5198,7 +5198,7 @@ var inputSchema30 = zod.z.object({
5198
5198
  text: zod.z.string().optional().describe('Natural language order request (e.g., "4 cold brews for pickup at Equator tomorrow 2pm"). If provided, server auto-resolves item, quantity, location, time, and modifiers.'),
5199
5199
  // Option B: structured params (agent already resolved from menu)
5200
5200
  description: zod.z.string().optional().describe("Order summary (required if text not provided)."),
5201
- platform: zod.z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from fulfillmentType if omitted."),
5201
+ platform: zod.z.string().optional().describe("Auto-detected by the server if omitted."),
5202
5202
  merchant: zod.z.string().optional().describe("Merchant name (auto-detected from text if provided)."),
5203
5203
  walletId: zod.z.string().default("default").describe("Wallet ID."),
5204
5204
  locationId: zod.z.string().optional().describe("Location ID (auto-resolved from text if provided)."),
@@ -5231,7 +5231,7 @@ var CommerceOrderIntentTool = class extends LaneTool {
5231
5231
  };
5232
5232
  }
5233
5233
  async run(input) {
5234
- const platform2 = input.platform ?? (input.fulfillmentType === "delivery" ? "doordash" : "thanx");
5234
+ const platform2 = input.platform ?? "auto";
5235
5235
  return this.getLane().commerce.orders.createIntent(platform2, {
5236
5236
  ...input,
5237
5237
  description: input.description ?? input.text ?? "",
@@ -5242,7 +5242,7 @@ var CommerceOrderIntentTool = class extends LaneTool {
5242
5242
  }
5243
5243
  };
5244
5244
  var inputSchema31 = zod.z.object({
5245
- platform: zod.z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5245
+ platform: zod.z.string().optional().describe("Auto-detected from instruction if omitted."),
5246
5246
  instructionId: zod.z.string().describe("Instruction ID from order intent."),
5247
5247
  mandateId: zod.z.string().describe("Mandate ID from order intent.")
5248
5248
  });
@@ -5255,7 +5255,7 @@ var CommerceExecuteOrderTool = class extends LaneTool {
5255
5255
  };
5256
5256
  }
5257
5257
  async run(input) {
5258
- const platform2 = input.platform ?? "thanx";
5258
+ const platform2 = input.platform ?? "auto";
5259
5259
  return this.getLane().commerce.orders.executeIntent(
5260
5260
  platform2,
5261
5261
  input.instructionId,
@@ -5264,7 +5264,7 @@ var CommerceExecuteOrderTool = class extends LaneTool {
5264
5264
  }
5265
5265
  };
5266
5266
  var inputSchema32 = zod.z.object({
5267
- platform: zod.z.enum(["thanx", "doordash"]).describe("Commerce platform to connect."),
5267
+ platform: zod.z.string().describe("Commerce platform to connect. The server resolves available platforms."),
5268
5268
  walletId: zod.z.string().optional().describe("Wallet ID to associate."),
5269
5269
  userEmail: zod.z.string().optional().describe("User email for the platform."),
5270
5270
  displayName: zod.z.string().optional().describe("Display name for the connection.")
@@ -5297,7 +5297,7 @@ var CommerceProviderStatusTool = class extends LaneTool {
5297
5297
  }
5298
5298
  };
5299
5299
  var inputSchema34 = zod.z.object({
5300
- platform: zod.z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5300
+ platform: zod.z.string().optional().describe("Auto-detected from instruction if omitted."),
5301
5301
  orderId: zod.z.string().describe("Order ID from the create order step."),
5302
5302
  instructionId: zod.z.string().describe("Instruction ID from order intent."),
5303
5303
  cardId: zod.z.string().optional().describe("Payment card ID. If omitted, server resolves first saved card."),
@@ -5313,7 +5313,7 @@ var CommerceCheckoutConfigTool = class extends LaneTool {
5313
5313
  };
5314
5314
  }
5315
5315
  async run(input) {
5316
- const platform2 = input.platform ?? "thanx";
5316
+ const platform2 = input.platform ?? "auto";
5317
5317
  return this.getLane().commerce.orders.configureCheckout(platform2, input.orderId, {
5318
5318
  instructionId: input.instructionId,
5319
5319
  cardId: input.cardId,
@@ -5323,7 +5323,7 @@ var CommerceCheckoutConfigTool = class extends LaneTool {
5323
5323
  }
5324
5324
  };
5325
5325
  var inputSchema35 = zod.z.object({
5326
- platform: zod.z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5326
+ platform: zod.z.string().optional().describe("Auto-detected from instruction if omitted."),
5327
5327
  orderId: zod.z.string().describe("Order ID to submit."),
5328
5328
  instructionId: zod.z.string().describe("Instruction ID from order intent."),
5329
5329
  mandateId: zod.z.string().describe("Mandate ID from order intent.")
@@ -5337,7 +5337,7 @@ var CommerceSubmitOrderTool = class extends LaneTool {
5337
5337
  };
5338
5338
  }
5339
5339
  async run(input) {
5340
- const platform2 = input.platform ?? "thanx";
5340
+ const platform2 = input.platform ?? "auto";
5341
5341
  return this.getLane().commerce.orders.submit(platform2, input.orderId, {
5342
5342
  instructionId: input.instructionId,
5343
5343
  mandateId: input.mandateId
@@ -5481,5 +5481,3 @@ main().catch((err) => {
5481
5481
  `);
5482
5482
  process.exit(1);
5483
5483
  });
5484
- //# sourceMappingURL=server-stdio.cjs.map
5485
- //# sourceMappingURL=server-stdio.cjs.map
@@ -5128,7 +5128,7 @@ var ConfirmInstructionTool = class extends LaneTool {
5128
5128
  }
5129
5129
  };
5130
5130
  var inputSchema27 = z.object({
5131
- platform: z.enum(["thanx", "doordash"]).describe("Commerce platform to query.")
5131
+ platform: z.string().describe("Commerce platform to query. The server resolves available platforms.")
5132
5132
  });
5133
5133
  var CommerceGetLocationsTool = class extends LaneTool {
5134
5134
  get definition() {
@@ -5143,7 +5143,7 @@ var CommerceGetLocationsTool = class extends LaneTool {
5143
5143
  }
5144
5144
  };
5145
5145
  var inputSchema28 = z.object({
5146
- platform: z.enum(["thanx", "doordash"]).describe("Commerce platform."),
5146
+ platform: z.string().describe("Commerce platform. The server resolves available platforms."),
5147
5147
  locationId: z.string().describe("Location ID to fetch the menu for.")
5148
5148
  });
5149
5149
  var CommerceGetMenuTool = class extends LaneTool {
@@ -5159,7 +5159,7 @@ var CommerceGetMenuTool = class extends LaneTool {
5159
5159
  }
5160
5160
  };
5161
5161
  var inputSchema29 = z.object({
5162
- platform: z.enum(["thanx", "doordash"]).describe("Commerce platform."),
5162
+ platform: z.string().describe("Commerce platform. The server resolves available platforms."),
5163
5163
  itemId: z.string().describe("Item ID to fetch modifiers for.")
5164
5164
  });
5165
5165
  var CommerceGetModifiersTool = class extends LaneTool {
@@ -5186,7 +5186,7 @@ var inputSchema30 = z.object({
5186
5186
  text: z.string().optional().describe('Natural language order request (e.g., "4 cold brews for pickup at Equator tomorrow 2pm"). If provided, server auto-resolves item, quantity, location, time, and modifiers.'),
5187
5187
  // Option B: structured params (agent already resolved from menu)
5188
5188
  description: z.string().optional().describe("Order summary (required if text not provided)."),
5189
- platform: z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from fulfillmentType if omitted."),
5189
+ platform: z.string().optional().describe("Auto-detected by the server if omitted."),
5190
5190
  merchant: z.string().optional().describe("Merchant name (auto-detected from text if provided)."),
5191
5191
  walletId: z.string().default("default").describe("Wallet ID."),
5192
5192
  locationId: z.string().optional().describe("Location ID (auto-resolved from text if provided)."),
@@ -5219,7 +5219,7 @@ var CommerceOrderIntentTool = class extends LaneTool {
5219
5219
  };
5220
5220
  }
5221
5221
  async run(input) {
5222
- const platform2 = input.platform ?? (input.fulfillmentType === "delivery" ? "doordash" : "thanx");
5222
+ const platform2 = input.platform ?? "auto";
5223
5223
  return this.getLane().commerce.orders.createIntent(platform2, {
5224
5224
  ...input,
5225
5225
  description: input.description ?? input.text ?? "",
@@ -5230,7 +5230,7 @@ var CommerceOrderIntentTool = class extends LaneTool {
5230
5230
  }
5231
5231
  };
5232
5232
  var inputSchema31 = z.object({
5233
- platform: z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5233
+ platform: z.string().optional().describe("Auto-detected from instruction if omitted."),
5234
5234
  instructionId: z.string().describe("Instruction ID from order intent."),
5235
5235
  mandateId: z.string().describe("Mandate ID from order intent.")
5236
5236
  });
@@ -5243,7 +5243,7 @@ var CommerceExecuteOrderTool = class extends LaneTool {
5243
5243
  };
5244
5244
  }
5245
5245
  async run(input) {
5246
- const platform2 = input.platform ?? "thanx";
5246
+ const platform2 = input.platform ?? "auto";
5247
5247
  return this.getLane().commerce.orders.executeIntent(
5248
5248
  platform2,
5249
5249
  input.instructionId,
@@ -5252,7 +5252,7 @@ var CommerceExecuteOrderTool = class extends LaneTool {
5252
5252
  }
5253
5253
  };
5254
5254
  var inputSchema32 = z.object({
5255
- platform: z.enum(["thanx", "doordash"]).describe("Commerce platform to connect."),
5255
+ platform: z.string().describe("Commerce platform to connect. The server resolves available platforms."),
5256
5256
  walletId: z.string().optional().describe("Wallet ID to associate."),
5257
5257
  userEmail: z.string().optional().describe("User email for the platform."),
5258
5258
  displayName: z.string().optional().describe("Display name for the connection.")
@@ -5285,7 +5285,7 @@ var CommerceProviderStatusTool = class extends LaneTool {
5285
5285
  }
5286
5286
  };
5287
5287
  var inputSchema34 = z.object({
5288
- platform: z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5288
+ platform: z.string().optional().describe("Auto-detected from instruction if omitted."),
5289
5289
  orderId: z.string().describe("Order ID from the create order step."),
5290
5290
  instructionId: z.string().describe("Instruction ID from order intent."),
5291
5291
  cardId: z.string().optional().describe("Payment card ID. If omitted, server resolves first saved card."),
@@ -5301,7 +5301,7 @@ var CommerceCheckoutConfigTool = class extends LaneTool {
5301
5301
  };
5302
5302
  }
5303
5303
  async run(input) {
5304
- const platform2 = input.platform ?? "thanx";
5304
+ const platform2 = input.platform ?? "auto";
5305
5305
  return this.getLane().commerce.orders.configureCheckout(platform2, input.orderId, {
5306
5306
  instructionId: input.instructionId,
5307
5307
  cardId: input.cardId,
@@ -5311,7 +5311,7 @@ var CommerceCheckoutConfigTool = class extends LaneTool {
5311
5311
  }
5312
5312
  };
5313
5313
  var inputSchema35 = z.object({
5314
- platform: z.enum(["thanx", "doordash"]).optional().describe("Auto-detected from instruction if omitted."),
5314
+ platform: z.string().optional().describe("Auto-detected from instruction if omitted."),
5315
5315
  orderId: z.string().describe("Order ID to submit."),
5316
5316
  instructionId: z.string().describe("Instruction ID from order intent."),
5317
5317
  mandateId: z.string().describe("Mandate ID from order intent.")
@@ -5325,7 +5325,7 @@ var CommerceSubmitOrderTool = class extends LaneTool {
5325
5325
  };
5326
5326
  }
5327
5327
  async run(input) {
5328
- const platform2 = input.platform ?? "thanx";
5328
+ const platform2 = input.platform ?? "auto";
5329
5329
  return this.getLane().commerce.orders.submit(platform2, input.orderId, {
5330
5330
  instructionId: input.instructionId,
5331
5331
  mandateId: input.mandateId
@@ -5469,5 +5469,3 @@ main().catch((err) => {
5469
5469
  `);
5470
5470
  process.exit(1);
5471
5471
  });
5472
- //# sourceMappingURL=server-stdio.js.map
5473
- //# sourceMappingURL=server-stdio.js.map
@@ -82,11 +82,11 @@ import Lane from 'lane';
82
82
  const lane = await Lane.create({ apiKey: process.env.LANE_API_KEY });
83
83
 
84
84
  // Browse catalog
85
- const locations = await lane.commerce.catalog.getLocations('thanx');
86
- const menu = await lane.commerce.catalog.getMenu('thanx', locationId);
85
+ const locations = await lane.commerce.catalog.getLocations(platformId);
86
+ const menu = await lane.commerce.catalog.getMenu(platformId, locationId);
87
87
 
88
88
  // Place an order
89
- const intent = await lane.commerce.orders.createIntent('thanx', {
89
+ const intent = await lane.commerce.orders.createIntent(platformId, {
90
90
  description: 'Large latte, oat milk',
91
91
  merchant: 'Equator Coffee',
92
92
  walletId: 'wallet_...',
@@ -97,7 +97,7 @@ const intent = await lane.commerce.orders.createIntent('thanx', {
97
97
  });
98
98
 
99
99
  // Execute after user confirms
100
- const result = await lane.commerce.orders.executeIntent('thanx', intent.instruction.id, {
100
+ const result = await lane.commerce.orders.executeIntent(platformId, intent.instruction.id, {
101
101
  mandateId: intent.mandate.id,
102
102
  });
103
103
  ```
@@ -121,7 +121,7 @@ const result = await lane.commerce.orders.executeIntent('thanx', intent.instruct
121
121
  ## What Lane Can Do
122
122
 
123
123
  - **Payments** — Direct checkout with Lane-onboarded merchants, or browser-based checkout with VIC credentials for any merchant on the web
124
- - **Commerce** — Browse catalogs, order food/coffee/products from Thanx and DoorDash merchants with instruction + mandate enforcement
124
+ - **Commerce** — Browse catalogs, order food/coffee/products from connected merchants with instruction + mandate enforcement
125
125
  - **Wallets** — Add cards via PCI-compliant vault, manage balances, set spending controls
126
126
  - **Instructions & Mandates** — Scoped purchase authorizations with amount thresholds, merchant whitelists, and budget governance
127
127
  - **VIC Tokens** — Visa Intelligent Commerce agentic payment tokens with programmable controls
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lane-sdk",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "Add wallets and payments to your AI agents",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -54,7 +54,8 @@
54
54
  "dist/cli",
55
55
  "dist/adapters",
56
56
  "dist/skills",
57
- "plugin"
57
+ "plugin",
58
+ "!**/*.map"
58
59
  ],
59
60
  "scripts": {
60
61
  "prepare": "npm run build",
@@ -87,8 +88,10 @@
87
88
  },
88
89
  "devDependencies": {
89
90
  "@inquirer/prompts": "^8.3.2",
91
+ "@supabase/supabase-js": "^2.102.1",
90
92
  "@types/express": "^5.0.6",
91
93
  "@types/node": "^25.3.5",
94
+ "@vitest/coverage-v8": "^3.2.4",
92
95
  "chalk": "^5.6.2",
93
96
  "commander": "^14.0.3",
94
97
  "dotenv": "^17.3.1",
@@ -30,8 +30,8 @@ If no active platform → guide user through `commerce_connect`.
30
30
  ### Step 2: Browse Menu
31
31
 
32
32
  ```
33
- Call: commerce_get_menu({ platform: "thanx", locationId: "<id>" })
34
- Call: commerce_get_modifiers({ platform: "thanx", itemId: "<id>" })
33
+ Call: commerce_get_menu({ platform: "<platform>", locationId: "<id>" })
34
+ Call: commerce_get_modifiers({ platform: "<platform>", itemId: "<id>" })
35
35
  ```
36
36
 
37
37
  Present matching items to user. Note required modifiers.