@buildbase/sdk 0.0.56 → 0.0.57
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/CHANGELOG.md +10 -0
- package/README.md +7 -9
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.mjs +1 -1
- package/dist/mcp/index.cjs +1 -1
- package/dist/mcp/index.mjs +1 -1
- package/dist/react/chunks/{SettingsDialog-VaOW2jtS.mjs → SettingsDialog-CGFO1AGh.mjs} +1 -1
- package/dist/react/chunks/{SettingsDialog-CvoDs5eM.cjs → SettingsDialog-DhxNGiZI.cjs} +1 -1
- package/dist/react/chunks/{SubscriptionDialog-C5EgpXE0.mjs → SubscriptionDialog-Csy020_n.mjs} +1 -1
- package/dist/react/chunks/{SubscriptionDialog-8CagFA_V.cjs → SubscriptionDialog-DQjHsKth.cjs} +1 -1
- package/dist/react/chunks/react-B0kptNqP.cjs +2 -0
- package/dist/react/chunks/react-VshTnwaW.mjs +2 -0
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +21 -15
- package/dist/react/index.mjs +1 -1
- package/docs/MCP-AND-AGENT-READINESS.md +1 -3
- package/package.json +1 -1
- package/dist/react/chunks/react-BBY-Vuzr.cjs +0 -2
- package/dist/react/chunks/react-CvU8uS25.mjs +0 -2
package/dist/react/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
3
|
|
|
5
4
|
interface IDocument {
|
|
6
5
|
_id: string;
|
|
@@ -1216,6 +1215,13 @@ declare class AuthApi extends BaseApi {
|
|
|
1216
1215
|
requestAuth(params: AuthRequestParams): Promise<AuthRequestResponse>;
|
|
1217
1216
|
/** Fetch user profile with the given session ID (used after OAuth redirect or from storage). */
|
|
1218
1217
|
getProfile(sessionId: string, signal?: AbortSignal): Promise<IUser>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Fetch the signed device token bound to this session's device. The SDK calls
|
|
1220
|
+
* this automatically after login/hydration and persists the result, so
|
|
1221
|
+
* `x-device-id` is echoed on every request WITHOUT the app implementor
|
|
1222
|
+
* handling device identity. Returns '' for agent/machine sessions (no device).
|
|
1223
|
+
*/
|
|
1224
|
+
getDeviceToken(sessionId: string, signal?: AbortSignal): Promise<string>;
|
|
1219
1225
|
}
|
|
1220
1226
|
|
|
1221
1227
|
interface IScreenDetail {
|
|
@@ -3872,7 +3878,7 @@ interface ConnectedAgentsProps {
|
|
|
3872
3878
|
*
|
|
3873
3879
|
* For a fully custom UI, use the `useConnectedAgents()` hook and `<ConnectMcpGuide />`.
|
|
3874
3880
|
*/
|
|
3875
|
-
declare function ConnectedAgents({ className, title, description, disconnectLabel, emptyLabel, showConnectGuide, }: ConnectedAgentsProps):
|
|
3881
|
+
declare function ConnectedAgents({ className, title, description, disconnectLabel, emptyLabel, showConnectGuide, }: ConnectedAgentsProps): React$1.JSX.Element;
|
|
3876
3882
|
|
|
3877
3883
|
interface ConnectMcpGuideProps {
|
|
3878
3884
|
/**
|
|
@@ -3894,7 +3900,7 @@ interface ConnectMcpGuideProps {
|
|
|
3894
3900
|
*
|
|
3895
3901
|
* Shown inside `<ConnectedAgents />`; also exported for standalone use.
|
|
3896
3902
|
*/
|
|
3897
|
-
declare function ConnectMcpGuide({ config, title, description, className }: ConnectMcpGuideProps):
|
|
3903
|
+
declare function ConnectMcpGuide({ config, title, description, className }: ConnectMcpGuideProps): React$1.JSX.Element | null;
|
|
3898
3904
|
|
|
3899
3905
|
/** Memoized DevicesApi instance. Recreates only when serverUrl/version change. */
|
|
3900
3906
|
declare function useDevicesApi(): DevicesApi;
|
|
@@ -3955,7 +3961,7 @@ interface DevicesProps {
|
|
|
3955
3961
|
*
|
|
3956
3962
|
* For a fully custom UI, use the `useDevices()` hook.
|
|
3957
3963
|
*/
|
|
3958
|
-
declare function Devices({ className, title, description, showRename, showSignOut, showRemove, renameLabel, signOutLabel, removeLabel, emptyLabel, }: DevicesProps):
|
|
3964
|
+
declare function Devices({ className, title, description, showRename, showSignOut, showRemove, renameLabel, signOutLabel, removeLabel, emptyLabel, }: DevicesProps): React$1.JSX.Element;
|
|
3959
3965
|
|
|
3960
3966
|
/** Memoized SessionsApi instance. Recreates only when serverUrl/version change. */
|
|
3961
3967
|
declare function useSessionsApi(): SessionsApi;
|
|
@@ -4003,7 +4009,7 @@ interface SessionsProps {
|
|
|
4003
4009
|
*
|
|
4004
4010
|
* For a fully custom UI, use the `useSessions()` hook.
|
|
4005
4011
|
*/
|
|
4006
|
-
declare function Sessions({ className, title, description, showSignOut, signOutLabel, emptyLabel, }: SessionsProps):
|
|
4012
|
+
declare function Sessions({ className, title, description, showSignOut, signOutLabel, emptyLabel, }: SessionsProps): React$1.JSX.Element;
|
|
4007
4013
|
|
|
4008
4014
|
interface IProps {
|
|
4009
4015
|
slug: string;
|
|
@@ -4632,7 +4638,7 @@ interface CreditStorePageProps {
|
|
|
4632
4638
|
* </CreditStorePage>
|
|
4633
4639
|
* ```
|
|
4634
4640
|
*/
|
|
4635
|
-
declare function CreditStorePage({ children, loadingFallback, errorFallback, redirectBaseUrl, }: CreditStorePageProps):
|
|
4641
|
+
declare function CreditStorePage({ children, loadingFallback, errorFallback, redirectBaseUrl, }: CreditStorePageProps): React$1.JSX.Element;
|
|
4636
4642
|
|
|
4637
4643
|
interface IWhenCreditsProps {
|
|
4638
4644
|
/** Content to render when the condition is met. */
|
|
@@ -6265,7 +6271,7 @@ interface PricingPageProps {
|
|
|
6265
6271
|
* </PricingPage>
|
|
6266
6272
|
* ```
|
|
6267
6273
|
*/
|
|
6268
|
-
declare function PricingPage({ slug, children, loadingFallback, errorFallback, redirectBaseUrl, }: PricingPageProps):
|
|
6274
|
+
declare function PricingPage({ slug, children, loadingFallback, errorFallback, redirectBaseUrl, }: PricingPageProps): React$1.JSX.Element;
|
|
6269
6275
|
|
|
6270
6276
|
interface EmptyStateProps {
|
|
6271
6277
|
/** Icon shown above the text, e.g. `<KeyRound className="h-5 w-5 text-muted-foreground" />` */
|
|
@@ -6283,7 +6289,7 @@ interface EmptyStateProps {
|
|
|
6283
6289
|
* muted text and an optional action. Use for every "nothing here yet" state
|
|
6284
6290
|
* so all screens share the same look.
|
|
6285
6291
|
*/
|
|
6286
|
-
declare function EmptyState({ icon, title, description, action, className }: EmptyStateProps):
|
|
6292
|
+
declare function EmptyState({ icon, title, description, action, className }: EmptyStateProps): React$1.JSX.Element;
|
|
6287
6293
|
|
|
6288
6294
|
interface FullScreenLoaderProps {
|
|
6289
6295
|
/** Content to display centered on screen. Falls back to a default spinner + message. */
|
|
@@ -6312,7 +6318,7 @@ interface FullScreenLoaderProps {
|
|
|
6312
6318
|
* ```
|
|
6313
6319
|
*/
|
|
6314
6320
|
declare const FullScreenLoader: {
|
|
6315
|
-
({ children, message: messageProp, backgroundColor, }: FullScreenLoaderProps):
|
|
6321
|
+
({ children, message: messageProp, backgroundColor, }: FullScreenLoaderProps): React__default.JSX.Element;
|
|
6316
6322
|
displayName: string;
|
|
6317
6323
|
};
|
|
6318
6324
|
|
|
@@ -6326,7 +6332,7 @@ interface LoadingStateProps {
|
|
|
6326
6332
|
* Use for in-place refreshes where a skeleton would be too heavy;
|
|
6327
6333
|
* use `Skeleton`/`SettingSkeleton` for initial screen loads.
|
|
6328
6334
|
*/
|
|
6329
|
-
declare function LoadingState({ label, className }: LoadingStateProps):
|
|
6335
|
+
declare function LoadingState({ label, className }: LoadingStateProps): React$1.JSX.Element;
|
|
6330
6336
|
|
|
6331
6337
|
interface SectionHeaderProps {
|
|
6332
6338
|
/** Section title. Pass null to hide (e.g. when a parent already renders it). */
|
|
@@ -6344,7 +6350,7 @@ interface SectionHeaderProps {
|
|
|
6344
6350
|
* `h3 text-sm font-medium` title + muted `text-sm` description.
|
|
6345
6351
|
* Renders nothing when both title and description are empty.
|
|
6346
6352
|
*/
|
|
6347
|
-
declare function SectionHeader({ title, description, actions, className, titleClassName, }: SectionHeaderProps):
|
|
6353
|
+
declare function SectionHeader({ title, description, actions, className, titleClassName, }: SectionHeaderProps): React$1.JSX.Element | null;
|
|
6348
6354
|
|
|
6349
6355
|
interface SidebarNavSectionProps {
|
|
6350
6356
|
/** Uppercase group label shown above the items. */
|
|
@@ -6353,7 +6359,7 @@ interface SidebarNavSectionProps {
|
|
|
6353
6359
|
className?: string;
|
|
6354
6360
|
}
|
|
6355
6361
|
/** Labeled group of sidebar items. */
|
|
6356
|
-
declare function SidebarNavSection({ title, children, className }: SidebarNavSectionProps):
|
|
6362
|
+
declare function SidebarNavSection({ title, children, className }: SidebarNavSectionProps): React$1.JSX.Element;
|
|
6357
6363
|
interface SidebarNavItemProps {
|
|
6358
6364
|
/** Leading icon, e.g. `<UserIcon className="h-3.5 w-3.5" />` */
|
|
6359
6365
|
icon?: React$1.ReactNode;
|
|
@@ -6368,7 +6374,7 @@ interface SidebarNavItemProps {
|
|
|
6368
6374
|
* Mobile-friendly by default: comfortable ~44px touch target and a trailing
|
|
6369
6375
|
* chevron affordance below the `sm` breakpoint; compact rows on desktop.
|
|
6370
6376
|
*/
|
|
6371
|
-
declare function SidebarNavItem({ icon, label, active, onClick, className }: SidebarNavItemProps):
|
|
6377
|
+
declare function SidebarNavItem({ icon, label, active, onClick, className }: SidebarNavItemProps): React$1.JSX.Element;
|
|
6372
6378
|
|
|
6373
6379
|
type StatusBannerVariant = 'error' | 'success' | 'warning' | 'info';
|
|
6374
6380
|
interface StatusBannerProps {
|
|
@@ -6392,11 +6398,11 @@ interface StatusBannerProps {
|
|
|
6392
6398
|
* with an optional Retry/Dismiss action. Use for every inline status box
|
|
6393
6399
|
* so all screens share the same look.
|
|
6394
6400
|
*/
|
|
6395
|
-
declare function StatusBanner({ variant, title, message, description, icon, actionLabel, onAction, actionDisabled, className, }: StatusBannerProps):
|
|
6401
|
+
declare function StatusBanner({ variant, title, message, description, icon, actionLabel, onAction, actionDisabled, className, }: StatusBannerProps): React$1.JSX.Element;
|
|
6396
6402
|
|
|
6397
6403
|
declare function WorkspaceSwitcher(props: {
|
|
6398
6404
|
trigger: (isLoading: boolean, currentWorkspace: IWorkspace | null) => ReactNode;
|
|
6399
|
-
}):
|
|
6405
|
+
}): React$1.JSX.Element;
|
|
6400
6406
|
|
|
6401
6407
|
interface PushNotificationState {
|
|
6402
6408
|
/** Browser's Notification.permission: 'default' | 'granted' | 'denied' */
|
package/dist/react/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{aP as ApiVersion,aQ as AuthApi,aR as AuthStatus,o as BBAction,aS as BBScreen,p as BBStatus,aT as BB_PARAM,aU as BaseApi,aV as BetaForm,ag as BillingIntervals,aW as BuildBaseProvider,aX as CURRENCY_DISPLAY,aY as CURRENCY_FLAG,aZ as ConnectMcpGuide,C as ConnectedAgents,a_ as ConnectedAgentsApi,a$ as CreditActionsProvider,b0 as CreditBalance,b1 as CreditBalanceContextProvider,b2 as CreditBucketSource,b3 as CreditBucketStatus,b4 as CreditStorePage,y as CreditTransactionType,b5 as DEFAULT_ROLE_PERMISSIONS,R as Devices,b6 as DevicesApi,av as DunningState,E as EmptyState,b7 as EventEmitter,b8 as FullScreenLoader,ae as InvoiceStatuses,L as LoadingState,b9 as PLAN_CURRENCY_CODES,ba as PLAN_CURRENCY_OPTIONS,bb as PUSH_SERVICE_WORKER_SCRIPT,P as Permission,bc as PricingPage,bd as PushApi,be as PushNotificationProvider,bf as QuotaUsageContextProvider,bg as SDKEvent,aM as SETTINGS_SCREENS,bh as SUPPORTED_LOCALES,aW as SaaSOSProvider,s as SectionHeader,T as Sessions,bi as SessionsApi,bj as SettingsApi,aF as SettingsScreen,aH as SidebarNavItem,aG as SidebarNavSection,r as StatusBanner,bk as SubscriptionContextProvider,ah as SubscriptionItemType,ak as SubscriptionStatus,bl as UserApi,bm as WhenAuthenticated,bn as WhenCreditsAvailable,bo as WhenCreditsExhausted,bp as WhenCreditsLow,bq as WhenNoSubscription,br as WhenNotTrialing,bs as WhenPermission,bt as WhenQuotaAvailable,bu as WhenQuotaExhausted,bv as WhenQuotaOverage,bw as WhenQuotaThreshold,bx as WhenRoles,by as WhenSubscription,bz as WhenSubscriptionToPlans,bA as WhenTrialEnding,bB as WhenTrialing,bC as WhenUnauthenticated,bD as WhenUserFeatureDisabled,bE as WhenUserFeatureEnabled,bF as WhenWorkspaceFeatureDisabled,bG as WhenWorkspaceFeatureEnabled,bH as WhenWorkspaceRoles,bI as WorkspaceApi,bJ as WorkspaceSwitcher,bK as calculateBillableSeats,bL as calculateSeatOverageCents,bM as calculateTotalSubscriptionCents,bN as cleanBBParams,bO as clearAuthIntent,bP as consumeAuthIntent,bQ as createBBUrl,ax as createCheckoutRedirectUrls,v as createCreditPurchaseRedirectUrls,bR as eventEmitter,bS as fillMcpTemplate,bT as formatCents,f as formatMinorAmountIntl,bU as formatOverageRate,bV as formatOverageRateWithLabel,bW as formatQuotaIncludedOverage,bX as formatQuotaWithPrice,aO as getAvailableCurrenciesFromPlans,as as getBasePriceCents,ar as getBillingIntervalAndCurrencyFromPriceId,e as getCurrencyDecimals,a0 as getCurrencyFlag,g as getCurrencySymbol,bY as getDisplayCurrency,au as getPerSeatPriceCents,aN as getPricingVariant,aj as getQuotaDisplayValue,ai as getQuotaDisplayWithVariant,aB as getQuotaOverageCents,bZ as getQuotaUnitLabelFromName,at as getSeatPricing,aw as getStripePriceIdForInterval,b_ as hasPermission,q as invalidateCreditBalance,b$ as invalidateQuotaUsage,ay as invalidateSubscription,c0 as isZeroDecimalCurrency,c1 as mcpServerKey,aJ as mergeUIConfig,c2 as minorAmountToDisplay,c3 as readBBParams,c4 as resolveMaxUsers,c5 as resolvePermissions,x as safeRedirect,c6 as saveAuthIntent,c7 as useAllQuotaUsage,ap as useBillingPortal,an as useCancelSubscription,c8 as useConnectedAgents,c9 as useConnectedAgentsApi,ca as useConsumeCredits,am as useCreateCheckoutSession,cb as useCreditBalance,j as useCreditBalanceContext,k as useCreditPackages,m as useCreditTransactions,cc as useDevices,cd as useDevicesApi,l as useExpiringCredits,ce as useFullScreenLoader,cf as useInvoice,ac as useInvoices,cg as useMcpConnection,h as usePermissions,ch as usePlanGroup,aq as usePlanGroupVersions,ci as usePublicCreditPackages,cj as usePublicPlanGroupVersion,ck as usePublicPlans,n as usePurchaseCredits,a7 as usePushNotifications,az as useQuotaUsageContext,cl as useQuotaUsageStatus,cm as useRecordUsage,ao as useResumeSubscription,aC as useSaaSAuth,cn as useSaaSOs,A as useSaaSSettings,z as useSaaSWorkspaces,aD as useSeatStatus,co as useSessions,cp as useSessionsApi,cq as useSubscription,aA as useSubscriptionContext,al as useSubscriptionManagement,u as useTranslation,cr as useTrialStatus,aI as useUIConfig,i as useUIVisibility,cs as useUpdateSubscription,ct as useUsageLogs,cu as useUserAttributes,cv as useUserFeatures,cw as validateInvite,cx as validateRedirectUrl,w as workspaceSettingsManager}from"./chunks/react-
|
|
2
|
+
export{aP as ApiVersion,aQ as AuthApi,aR as AuthStatus,o as BBAction,aS as BBScreen,p as BBStatus,aT as BB_PARAM,aU as BaseApi,aV as BetaForm,ag as BillingIntervals,aW as BuildBaseProvider,aX as CURRENCY_DISPLAY,aY as CURRENCY_FLAG,aZ as ConnectMcpGuide,C as ConnectedAgents,a_ as ConnectedAgentsApi,a$ as CreditActionsProvider,b0 as CreditBalance,b1 as CreditBalanceContextProvider,b2 as CreditBucketSource,b3 as CreditBucketStatus,b4 as CreditStorePage,y as CreditTransactionType,b5 as DEFAULT_ROLE_PERMISSIONS,R as Devices,b6 as DevicesApi,av as DunningState,E as EmptyState,b7 as EventEmitter,b8 as FullScreenLoader,ae as InvoiceStatuses,L as LoadingState,b9 as PLAN_CURRENCY_CODES,ba as PLAN_CURRENCY_OPTIONS,bb as PUSH_SERVICE_WORKER_SCRIPT,P as Permission,bc as PricingPage,bd as PushApi,be as PushNotificationProvider,bf as QuotaUsageContextProvider,bg as SDKEvent,aM as SETTINGS_SCREENS,bh as SUPPORTED_LOCALES,aW as SaaSOSProvider,s as SectionHeader,T as Sessions,bi as SessionsApi,bj as SettingsApi,aF as SettingsScreen,aH as SidebarNavItem,aG as SidebarNavSection,r as StatusBanner,bk as SubscriptionContextProvider,ah as SubscriptionItemType,ak as SubscriptionStatus,bl as UserApi,bm as WhenAuthenticated,bn as WhenCreditsAvailable,bo as WhenCreditsExhausted,bp as WhenCreditsLow,bq as WhenNoSubscription,br as WhenNotTrialing,bs as WhenPermission,bt as WhenQuotaAvailable,bu as WhenQuotaExhausted,bv as WhenQuotaOverage,bw as WhenQuotaThreshold,bx as WhenRoles,by as WhenSubscription,bz as WhenSubscriptionToPlans,bA as WhenTrialEnding,bB as WhenTrialing,bC as WhenUnauthenticated,bD as WhenUserFeatureDisabled,bE as WhenUserFeatureEnabled,bF as WhenWorkspaceFeatureDisabled,bG as WhenWorkspaceFeatureEnabled,bH as WhenWorkspaceRoles,bI as WorkspaceApi,bJ as WorkspaceSwitcher,bK as calculateBillableSeats,bL as calculateSeatOverageCents,bM as calculateTotalSubscriptionCents,bN as cleanBBParams,bO as clearAuthIntent,bP as consumeAuthIntent,bQ as createBBUrl,ax as createCheckoutRedirectUrls,v as createCreditPurchaseRedirectUrls,bR as eventEmitter,bS as fillMcpTemplate,bT as formatCents,f as formatMinorAmountIntl,bU as formatOverageRate,bV as formatOverageRateWithLabel,bW as formatQuotaIncludedOverage,bX as formatQuotaWithPrice,aO as getAvailableCurrenciesFromPlans,as as getBasePriceCents,ar as getBillingIntervalAndCurrencyFromPriceId,e as getCurrencyDecimals,a0 as getCurrencyFlag,g as getCurrencySymbol,bY as getDisplayCurrency,au as getPerSeatPriceCents,aN as getPricingVariant,aj as getQuotaDisplayValue,ai as getQuotaDisplayWithVariant,aB as getQuotaOverageCents,bZ as getQuotaUnitLabelFromName,at as getSeatPricing,aw as getStripePriceIdForInterval,b_ as hasPermission,q as invalidateCreditBalance,b$ as invalidateQuotaUsage,ay as invalidateSubscription,c0 as isZeroDecimalCurrency,c1 as mcpServerKey,aJ as mergeUIConfig,c2 as minorAmountToDisplay,c3 as readBBParams,c4 as resolveMaxUsers,c5 as resolvePermissions,x as safeRedirect,c6 as saveAuthIntent,c7 as useAllQuotaUsage,ap as useBillingPortal,an as useCancelSubscription,c8 as useConnectedAgents,c9 as useConnectedAgentsApi,ca as useConsumeCredits,am as useCreateCheckoutSession,cb as useCreditBalance,j as useCreditBalanceContext,k as useCreditPackages,m as useCreditTransactions,cc as useDevices,cd as useDevicesApi,l as useExpiringCredits,ce as useFullScreenLoader,cf as useInvoice,ac as useInvoices,cg as useMcpConnection,h as usePermissions,ch as usePlanGroup,aq as usePlanGroupVersions,ci as usePublicCreditPackages,cj as usePublicPlanGroupVersion,ck as usePublicPlans,n as usePurchaseCredits,a7 as usePushNotifications,az as useQuotaUsageContext,cl as useQuotaUsageStatus,cm as useRecordUsage,ao as useResumeSubscription,aC as useSaaSAuth,cn as useSaaSOs,A as useSaaSSettings,z as useSaaSWorkspaces,aD as useSeatStatus,co as useSessions,cp as useSessionsApi,cq as useSubscription,aA as useSubscriptionContext,al as useSubscriptionManagement,u as useTranslation,cr as useTrialStatus,aI as useUIConfig,i as useUIVisibility,cs as useUpdateSubscription,ct as useUsageLogs,cu as useUserAttributes,cv as useUserFeatures,cw as validateInvite,cx as validateRedirectUrl,w as workspaceSettingsManager}from"./chunks/react-VshTnwaW.mjs";import"react/jsx-runtime";import"react";import"clsx";import"tailwind-merge";import"intl-messageformat";import"@hookform/resolvers/zod";import"react-hook-form";import"@radix-ui/react-slot";import"class-variance-authority";import"lucide-react";import"@radix-ui/react-label";import"zod";import"@radix-ui/react-avatar";import"@radix-ui/react-dialog";import"@radix-ui/react-icons";import"@radix-ui/react-radio-group";import"@radix-ui/react-scroll-area";import"@radix-ui/react-separator";import"@radix-ui/react-accordion";import"@radix-ui/react-alert-dialog";
|
|
@@ -789,9 +789,7 @@ const mcp = createMcpHandler({
|
|
|
789
789
|
serverInfo: { name: 'my-app', version: '1.0.0' },
|
|
790
790
|
auth: buildbaseAuth({ secret, resource }), // or your own auth.verify
|
|
791
791
|
builtinTools: 'readonly',
|
|
792
|
-
tools: [
|
|
793
|
-
/* … */
|
|
794
|
-
],
|
|
792
|
+
tools: [/* … */],
|
|
795
793
|
});
|
|
796
794
|
|
|
797
795
|
const agentConfig: AgentReadyConfig = {
|