@composio/core 0.8.0 → 0.8.1
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/{CustomTool-DJVmDusu.d.mts → CustomTool-BaRzlwyV.d.mts} +1 -1
- package/dist/{CustomTool-DCrZcOUW.d.cts → CustomTool-CzhY9iPX.d.cts} +1 -1
- package/dist/{composio-Dzaqn_PS.d.cts → composio-B75SFMkx.d.cts} +215 -214
- package/dist/{composio-DH5gDW5F.d.mts → composio-CwcLLO7C.d.mts} +215 -214
- package/dist/{customTool.types-BqC41wRt.d.cts → customTool.types-2DhEI1vs.d.cts} +91 -24
- package/dist/{customTool.types-Xk-tbwbc.d.mts → customTool.types-BL_z-C_B.d.mts} +91 -24
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.mts +3 -3
- package/dist/index.cjs +98 -43
- package/dist/index.d.cts +14 -9
- package/dist/index.d.mts +14 -9
- package/dist/index.mjs +98 -44
- package/dist/{tool.types-B4k2Bnxc.d.cts → tool.types-BlXcjUs1.d.cts} +55 -55
- package/dist/{tool.types-Cb-o48UU.d.mts → tool.types-CNYy-lBq.d.mts} +55 -55
- package/dist/{types-gjJ_hDol.d.cts → types-CZkT1raQ.d.cts} +2 -2
- package/dist/{types-BR-1DJRJ.d.mts → types-DGrpnYFI.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +2 -2
- package/generated/ably.ts +0 -20
- package/generated/accelo.ts +0 -8
- package/generated/acculynx.ts +0 -17
- package/generated/active_campaign.ts +0 -30
- package/generated/adobe.ts +0 -8
- package/generated/adyntel.ts +0 -12
- package/generated/aero_workflow.ts +0 -8
- package/generated/affinity.ts +0 -29
- package/generated/agencyzoom.ts +0 -108
- package/generated/ahrefs.ts +0 -49
- package/generated/airtable.ts +0 -26
- package/generated/alchemy.ts +0 -16
- package/generated/algolia.ts +0 -39
- package/generated/altoviz.ts +0 -18
- package/generated/amazon.ts +0 -8
- package/generated/amcards.ts +0 -11
- package/generated/amplitude.ts +0 -25
- package/generated/anthropic_administrator.ts +0 -13
- package/generated/apaleo.ts +0 -38
- package/generated/apollo.ts +0 -40
- package/generated/appdrag.ts +0 -8
- package/generated/appsflyer.ts +0 -8
- package/generated/asana.ts +0 -95
- package/generated/ashby.ts +0 -8
- package/generated/atlassian.ts +0 -8
- package/generated/attio.ts +0 -20
- package/generated/auth0.ts +0 -8
- package/generated/axonaut.ts +0 -8
- package/generated/bamboohr.ts +0 -168
- package/generated/bannerbear.ts +0 -17
- package/generated/baserow.ts +0 -11
- package/generated/battlenet.ts +0 -8
- package/generated/beeminder.ts +0 -14
- package/generated/bigmailer.ts +0 -12
- package/generated/bigml.ts +0 -15
- package/generated/bill.ts +0 -218
- package/generated/bitbucket.ts +0 -25
- package/generated/bitwarden.ts +0 -8
- package/generated/blackbaud.ts +0 -8
- package/generated/blackboard.ts +0 -323
- package/generated/boldsign.ts +0 -8
- package/generated/bolna.ts +0 -24
- package/generated/borneo.ts +0 -162
- package/generated/botbaba.ts +0 -8
- package/generated/box.ts +0 -282
- package/generated/braintree.ts +0 -8
- package/generated/brandfetch.ts +0 -15
- package/generated/breezy_hr.ts +0 -8
- package/generated/brevo.ts +0 -28
- package/generated/brex.ts +0 -8
- package/generated/brex_staging.ts +0 -8
- package/generated/brightpearl.ts +0 -8
- package/generated/brilliant_directories.ts +0 -15
- package/generated/browseai.ts +0 -18
- package/generated/browserbase_tool.ts +0 -10
- package/generated/browserhub.ts +0 -8
- package/generated/browserless.ts +0 -16
- package/generated/bubble.ts +0 -8
- package/generated/bugbug.ts +0 -13
- package/generated/builtwith.ts +0 -21
- package/generated/cal.ts +0 -150
- package/generated/calendly.ts +0 -51
- package/generated/canva.ts +0 -41
- package/generated/canvas.ts +0 -100
- package/generated/chatwork.ts +0 -17
- package/generated/chmeetings.ts +0 -8
- package/generated/clickup.ts +0 -153
- package/generated/clockify.ts +0 -23
- package/generated/close.ts +0 -15
- package/generated/cloudflare.ts +0 -10
- package/generated/coda.ts +0 -115
- package/generated/codeinterpreter.ts +0 -14
- package/generated/coinbase.ts +0 -15
- package/generated/coinmarketcal.ts +0 -8
- package/generated/composio.ts +0 -34
- package/generated/composio_search.ts +0 -22
- package/generated/confluence.ts +0 -199
- package/generated/contentful.ts +0 -12
- package/generated/crustdata.ts +0 -23
- package/generated/customer_io.ts +0 -8
- package/generated/cutt_ly.ts +0 -10
- package/generated/d2lbrightspace.ts +0 -54
- package/generated/dailybot.ts +0 -15
- package/generated/datadog.ts +0 -47
- package/generated/datagma.ts +0 -8
- package/generated/datarobot.ts +0 -8
- package/generated/deel.ts +0 -8
- package/generated/demio.ts +0 -8
- package/generated/dialpad.ts +0 -201
- package/generated/digicert.ts +0 -15
- package/generated/discord.ts +0 -17
- package/generated/discordbot.ts +0 -173
- package/generated/docmosis.ts +0 -8
- package/generated/docusign.ts +0 -351
- package/generated/dropbox.ts +0 -20
- package/generated/dropbox_sign.ts +0 -8
- package/generated/dynamics365.ts +0 -25
- package/generated/echtpost.ts +0 -10
- package/generated/elevenlabs.ts +0 -70
- package/generated/emailoctopus.ts +0 -16
- package/generated/enigma.ts +0 -11
- package/generated/entelligence.ts +0 -11
- package/generated/epic_games.ts +0 -8
- package/generated/eventbrite.ts +0 -12
- package/generated/exa.ts +0 -13
- package/generated/excel.ts +0 -34
- package/generated/exist.ts +0 -8
- package/generated/facebook.ts +0 -8
- package/generated/factorial.ts +0 -8
- package/generated/figma.ts +0 -59
- package/generated/finage.ts +0 -19
- package/generated/firecrawl.ts +0 -16
- package/generated/fireflies.ts +0 -21
- package/generated/fitbit.ts +0 -8
- package/generated/flutterwave.ts +0 -33
- package/generated/fomo.ts +0 -10
- package/generated/formcarry.ts +0 -10
- package/generated/formsite.ts +0 -14
- package/generated/foursquare.ts +0 -14
- package/generated/freshbooks.ts +0 -11
- package/generated/freshdesk.ts +0 -16
- package/generated/front.ts +0 -8
- package/generated/github.ts +0 -967
- package/generated/gitlab.ts +0 -82
- package/generated/gmail.d.ts +0 -86
- package/generated/gmail.js +0 -13
- package/generated/gmail.ts +0 -95
- package/generated/go_to_webinar.ts +0 -8
- package/generated/gong.ts +0 -63
- package/generated/google_analytics.ts +0 -13
- package/generated/google_maps.ts +0 -16
- package/generated/googleads.ts +0 -14
- package/generated/googlebigquery.ts +0 -10
- package/generated/googlecalendar.ts +0 -39
- package/generated/googledocs.ts +0 -41
- package/generated/googledrive.ts +0 -62
- package/generated/googlemeet.ts +0 -18
- package/generated/googlephotos.ts +0 -22
- package/generated/googlesheets.ts +0 -40
- package/generated/googleslides.ts +0 -8
- package/generated/googlesuper.ts +0 -230
- package/generated/googletasks.ts +0 -23
- package/generated/gorgias.ts +0 -41
- package/generated/gumroad.ts +0 -14
- package/generated/guru.ts +0 -8
- package/generated/hackernews.ts +0 -15
- package/generated/hackerrank_work.ts +0 -8
- package/generated/harvest.ts +0 -56
- package/generated/helcim.ts +0 -8
- package/generated/heygen.ts +0 -44
- package/generated/highlevel.ts +0 -8
- package/generated/hubspot.ts +0 -252
- package/generated/humanloop.ts +0 -13
- package/generated/icims_talent_cloud.ts +0 -8
- package/generated/idea_scale.ts +0 -8
- package/generated/index.ts +0 -151
- package/generated/insighto_ai.ts +0 -19
- package/generated/intercom.ts +0 -52
- package/generated/interzoid.ts +0 -8
- package/generated/jira.ts +0 -59
- package/generated/jotform.ts +0 -15
- package/generated/junglescout.ts +0 -15
- package/generated/keap.ts +0 -8
- package/generated/kibana.ts +0 -58
- package/generated/kit.ts +0 -38
- package/generated/klaviyo.ts +0 -240
- package/generated/klipfolio.ts +0 -20
- package/generated/kommo.ts +0 -24
- package/generated/lastpass.ts +0 -8
- package/generated/launch_darkly.ts +0 -16
- package/generated/leadfeeder.ts +0 -13
- package/generated/leadoku.ts +0 -10
- package/generated/lever.ts +0 -8
- package/generated/lever_sandbox.ts +0 -8
- package/generated/lexoffice.ts +0 -8
- package/generated/linear.ts +0 -31
- package/generated/linkedin.ts +0 -13
- package/generated/linkhut.ts +0 -14
- package/generated/linkup.ts +0 -11
- package/generated/listennotes.ts +0 -35
- package/generated/lmnt.ts +0 -16
- package/generated/lodgify.ts +0 -10
- package/generated/mailchimp.ts +0 -285
- package/generated/mailerlite.ts +0 -8
- package/generated/maintainx.ts +0 -20
- package/generated/make.ts +0 -12
- package/generated/mboum.ts +0 -8
- package/generated/mem0.ts +0 -52
- package/generated/metaads.ts +0 -25
- package/generated/metatextai.ts +0 -8
- package/generated/microsoft_clarity.ts +0 -10
- package/generated/microsoft_teams.ts +0 -22
- package/generated/microsoft_tenant.ts +0 -8
- package/generated/miro.ts +0 -23
- package/generated/mixpanel.ts +0 -30
- package/generated/mocean.ts +0 -8
- package/generated/monday.ts +0 -30
- package/generated/mopinion.ts +0 -8
- package/generated/more_trees.ts +0 -10
- package/generated/moxie.ts +0 -8
- package/generated/moz.ts +0 -8
- package/generated/mural.ts +0 -14
- package/generated/nasdaq.ts +0 -15
- package/generated/ncscale.ts +0 -8
- package/generated/neon.ts +0 -78
- package/generated/netsuite.ts +0 -8
- package/generated/nextdns.ts +0 -11
- package/generated/ngrok.ts +0 -18
- package/generated/notion.ts +0 -40
- package/generated/oncehub.ts +0 -8
- package/generated/one_drive.ts +0 -49
- package/generated/onepage.ts +0 -11
- package/generated/open_sea.ts +0 -33
- package/generated/outlook.ts +0 -37
- package/generated/pagerduty.ts +0 -362
- package/generated/pandadoc.ts +0 -23
- package/generated/peopledatalabs.ts +0 -24
- package/generated/perplexityai.ts +0 -10
- package/generated/piggy.ts +0 -8
- package/generated/pipedrive.ts +0 -288
- package/generated/placekey.ts +0 -12
- package/generated/posthog.ts +0 -367
- package/generated/precoro.ts +0 -8
- package/generated/printnode.ts +0 -8
- package/generated/process_street.ts +0 -14
- package/generated/productboard.ts +0 -8
- package/generated/qualaroo.ts +0 -8
- package/generated/quickbooks.ts +0 -22
- package/generated/rafflys.ts +0 -8
- package/generated/ragic.ts +0 -10
- package/generated/ramp.ts +0 -17
- package/generated/ravenseotools.ts +0 -8
- package/generated/recallai.ts +0 -17
- package/generated/reddit.ts +0 -19
- package/generated/resend.ts +0 -27
- package/generated/retellai.ts +0 -19
- package/generated/retently.ts +0 -24
- package/generated/ring_central.ts +0 -8
- package/generated/rippling.ts +0 -8
- package/generated/rocket_reach.ts +0 -8
- package/generated/rocketlane.ts +0 -42
- package/generated/rootly.ts +0 -12
- package/generated/rosette_text_analytics.ts +0 -12
- package/generated/sage.ts +0 -8
- package/generated/salesforce.ts +0 -46
- package/generated/scrape_do.ts +0 -28
- package/generated/scrapingant.ts +0 -14
- package/generated/screenshotone.ts +0 -10
- package/generated/seismic.ts +0 -8
- package/generated/semanticscholar.ts +0 -23
- package/generated/semrush.ts +0 -45
- package/generated/sendgrid.ts +0 -384
- package/generated/sentry.ts +0 -185
- package/generated/serpapi.ts +0 -32
- package/generated/servicem8.ts +0 -37
- package/generated/servicenow.ts +0 -14
- package/generated/share_point.ts +0 -15
- package/generated/shopify.ts +0 -37
- package/generated/shortcut.ts +0 -131
- package/generated/simplesat.ts +0 -11
- package/generated/slack.d.ts +0 -16
- package/generated/slack.js +0 -11
- package/generated/slack.ts +0 -24
- package/generated/slackbot.ts +0 -205
- package/generated/smartrecruiters.ts +0 -8
- package/generated/smugmug.ts +0 -14
- package/generated/snowflake.ts +0 -15
- package/generated/sourcegraph.ts +0 -16
- package/generated/square.ts +0 -8
- package/generated/stack_exchange.ts +0 -17
- package/generated/starton.ts +0 -11
- package/generated/storeganise.ts +0 -12
- package/generated/stripe.ts +0 -50
- package/generated/supabase.ts +0 -86
- package/generated/survey_monkey.ts +0 -8
- package/generated/tally.ts +0 -25
- package/generated/tapfiliate.ts +0 -11
- package/generated/tapform.ts +0 -8
- package/generated/tavily.ts +0 -10
- package/generated/terminus.ts +0 -8
- package/generated/text_to_pdf.ts +0 -10
- package/generated/textrazor.ts +0 -22
- package/generated/timecamp.ts +0 -10
- package/generated/timekit.ts +0 -8
- package/generated/timely.ts +0 -11
- package/generated/tinypng.ts +0 -15
- package/generated/tinyurl.ts +0 -10
- package/generated/tisane.ts +0 -15
- package/generated/todoist.ts +0 -19
- package/generated/toneden.ts +0 -8
- package/generated/tpscheck.ts +0 -10
- package/generated/trello.ts +0 -360
- package/generated/twitch.ts +0 -8
- package/generated/twitter.ts +0 -82
- package/generated/twitter_media.ts +0 -10
- package/generated/typefully.ts +0 -14
- package/generated/venly.ts +0 -8
- package/generated/vero.ts +0 -8
- package/generated/visme.ts +0 -8
- package/generated/waboxapp.ts +0 -8
- package/generated/wakatime.ts +0 -8
- package/generated/wave_accounting.ts +0 -8
- package/generated/weathermap.ts +0 -10
- package/generated/webex.ts +0 -37
- package/generated/webflow.ts +0 -30
- package/generated/whatsapp.ts +0 -14
- package/generated/wiz.ts +0 -8
- package/generated/workiom.ts +0 -12
- package/generated/wrike.ts +0 -47
- package/generated/xero.ts +0 -13
- package/generated/yandex.ts +0 -13
- package/generated/ynab.ts +0 -8
- package/generated/yousearch.ts +0 -10
- package/generated/youtube.ts +0 -26
- package/generated/zendesk.ts +0 -23
- package/generated/zenrows.ts +0 -25
- package/generated/zenserp.ts +0 -20
- package/generated/zoho.ts +0 -33
- package/generated/zoho_bigin.ts +0 -21
- package/generated/zoho_books.ts +0 -8
- package/generated/zoho_desk.ts +0 -8
- package/generated/zoho_inventory.ts +0 -8
- package/generated/zoho_invoice.ts +0 -15
- package/generated/zoho_mail.ts +0 -8
- package/generated/zoom.ts +0 -181
- package/generated/zoominfo.ts +0 -26
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { R as SessionMetaToolOptions, nn as ConnectionDataSchema, o as Tool, q as BaseComposioProvider, tn as ConnectionData, v as ToolProxyParams } from "./tool.types-
|
|
1
|
+
import { R as SessionMetaToolOptions, nn as ConnectionDataSchema, o as Tool, q as BaseComposioProvider, tn as ConnectionData, v as ToolProxyParams } from "./tool.types-BlXcjUs1.cjs";
|
|
2
2
|
import z$1, { z } from "zod/v3";
|
|
3
3
|
import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
|
|
4
4
|
import { Composio } from "@composio/client";
|
|
5
|
-
import { ToolExecuteResponse } from "@composio/client/resources/tools";
|
|
6
5
|
import { SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
|
|
6
|
+
import { ToolExecuteResponse } from "@composio/client/resources/tools";
|
|
7
7
|
|
|
8
8
|
//#region src/types/connectedAccounts.types.d.ts
|
|
9
9
|
/**
|
|
@@ -271,12 +271,22 @@ declare const CreateConnectedAccountLinkOptionsSchema: z.ZodObject<{
|
|
|
271
271
|
* Human-readable alias for the connected account. Must be unique per userId and toolkit within the project.
|
|
272
272
|
*/
|
|
273
273
|
alias: z.ZodOptional<z.ZodString>;
|
|
274
|
+
/**
|
|
275
|
+
* Whether to allow multiple connected accounts for the same user and auth config.
|
|
276
|
+
* When `false` (default), `link()` throws `ComposioMultipleConnectedAccountsError`
|
|
277
|
+
* if the user already has an `ACTIVE` connection on this auth config — matching
|
|
278
|
+
* the guard on `initiate()`. Pair with `alias` and a session-level
|
|
279
|
+
* `multiAccount` config to disambiguate at execution time.
|
|
280
|
+
*/
|
|
281
|
+
allowMultiple: z.ZodOptional<z.ZodBoolean>;
|
|
274
282
|
}, "strip", z.ZodTypeAny, {
|
|
275
283
|
callbackUrl?: string | undefined;
|
|
276
284
|
alias?: string | undefined;
|
|
285
|
+
allowMultiple?: boolean | undefined;
|
|
277
286
|
}, {
|
|
278
287
|
callbackUrl?: string | undefined;
|
|
279
288
|
alias?: string | undefined;
|
|
289
|
+
allowMultiple?: boolean | undefined;
|
|
280
290
|
}>;
|
|
281
291
|
type CreateConnectedAccountLinkOptions = z.infer<typeof CreateConnectedAccountLinkOptionsSchema>;
|
|
282
292
|
declare const CreateConnectedAccountLinkResponseSchema: z.ZodObject<{
|
|
@@ -668,6 +678,20 @@ declare class ToolRouterSessionFilesMount {
|
|
|
668
678
|
//#region src/types/toolRouter.types.d.ts
|
|
669
679
|
declare const MCPServerTypeSchema: z$1.ZodEnum<["http", "sse"]>;
|
|
670
680
|
type MCPServerType = z$1.infer<typeof MCPServerTypeSchema>;
|
|
681
|
+
/**
|
|
682
|
+
* Sandbox compute tier for the tool router workbench.
|
|
683
|
+
*
|
|
684
|
+
* | Tier | vCPU | RAM |
|
|
685
|
+
* | -------- | ---- | ----- |
|
|
686
|
+
* | standard | 1 | 1 GB |
|
|
687
|
+
* | medium | 2 | 2 GB |
|
|
688
|
+
* | large | 4 | 4 GB |
|
|
689
|
+
* | xlarge | 8 | 8 GB |
|
|
690
|
+
*
|
|
691
|
+
* Defaults to `standard` server-side when omitted.
|
|
692
|
+
*/
|
|
693
|
+
declare const SandboxSizeSchema: z$1.ZodEnum<["standard", "medium", "large", "xlarge"]>;
|
|
694
|
+
type SandboxSize = z$1.infer<typeof SandboxSizeSchema>;
|
|
671
695
|
declare const ToolRouterConfigManageConnectionsSchema: z$1.ZodObject<{
|
|
672
696
|
enable: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
|
|
673
697
|
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -900,14 +924,17 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
900
924
|
enable: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
901
925
|
enableProxyExecution: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
902
926
|
autoOffloadThreshold: z$1.ZodOptional<z$1.ZodNumber>;
|
|
927
|
+
sandboxSize: z$1.ZodOptional<z$1.ZodEnum<["standard", "medium", "large", "xlarge"]>>;
|
|
903
928
|
}, "strip", z$1.ZodTypeAny, {
|
|
904
929
|
enable: boolean;
|
|
905
930
|
enableProxyExecution?: boolean | undefined;
|
|
906
931
|
autoOffloadThreshold?: number | undefined;
|
|
932
|
+
sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
|
|
907
933
|
}, {
|
|
908
934
|
enable?: boolean | undefined;
|
|
909
935
|
enableProxyExecution?: boolean | undefined;
|
|
910
936
|
autoOffloadThreshold?: number | undefined;
|
|
937
|
+
sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
|
|
911
938
|
}>>>;
|
|
912
939
|
multiAccount: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
913
940
|
enable: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
@@ -922,6 +949,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
922
949
|
maxAccountsPerToolkit?: number | undefined;
|
|
923
950
|
requireExplicitSelection?: boolean | undefined;
|
|
924
951
|
}>>>;
|
|
952
|
+
preload: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
953
|
+
tools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
954
|
+
}, "strict", z$1.ZodTypeAny, {
|
|
955
|
+
tools?: string[] | undefined;
|
|
956
|
+
}, {
|
|
957
|
+
tools?: string[] | undefined;
|
|
958
|
+
}>>>;
|
|
925
959
|
experimental: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
926
960
|
assistivePrompt: z$1.ZodOptional<z$1.ZodObject<{
|
|
927
961
|
userTimezone: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -976,12 +1010,16 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
976
1010
|
enable: boolean;
|
|
977
1011
|
enableProxyExecution?: boolean | undefined;
|
|
978
1012
|
autoOffloadThreshold?: number | undefined;
|
|
1013
|
+
sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
|
|
979
1014
|
} | undefined;
|
|
980
1015
|
multiAccount?: {
|
|
981
1016
|
enable: boolean;
|
|
982
1017
|
maxAccountsPerToolkit?: number | undefined;
|
|
983
1018
|
requireExplicitSelection?: boolean | undefined;
|
|
984
1019
|
} | undefined;
|
|
1020
|
+
preload?: {
|
|
1021
|
+
tools?: string[] | undefined;
|
|
1022
|
+
} | undefined;
|
|
985
1023
|
experimental?: {
|
|
986
1024
|
assistivePrompt?: {
|
|
987
1025
|
userTimezone?: string | undefined;
|
|
@@ -1020,12 +1058,16 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
1020
1058
|
enable?: boolean | undefined;
|
|
1021
1059
|
enableProxyExecution?: boolean | undefined;
|
|
1022
1060
|
autoOffloadThreshold?: number | undefined;
|
|
1061
|
+
sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
|
|
1023
1062
|
} | undefined;
|
|
1024
1063
|
multiAccount?: {
|
|
1025
1064
|
enable?: boolean | undefined;
|
|
1026
1065
|
maxAccountsPerToolkit?: number | undefined;
|
|
1027
1066
|
requireExplicitSelection?: boolean | undefined;
|
|
1028
1067
|
} | undefined;
|
|
1068
|
+
preload?: {
|
|
1069
|
+
tools?: string[] | undefined;
|
|
1070
|
+
} | undefined;
|
|
1029
1071
|
experimental?: {
|
|
1030
1072
|
assistivePrompt?: {
|
|
1031
1073
|
userTimezone?: string | undefined;
|
|
@@ -1049,10 +1091,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
1049
1091
|
* @param {boolean} [workbench.enable] - Whether to enable the workbench entirely. Defaults to true. When false, no code execution tools are available.
|
|
1050
1092
|
* @param {boolean} [workbench.enableProxyExecution] - Whether to enable proxy execution
|
|
1051
1093
|
* @param {number} [workbench.autoOffloadThreshold] - Auto offload threshold in characters for moving execution to workbench
|
|
1094
|
+
* @param {SandboxSize} [workbench.sandboxSize] - Sandbox compute tier: 'standard' (1 vCPU/1 GB, default), 'medium' (2 vCPU/2 GB), 'large' (4 vCPU/4 GB), or 'xlarge' (8 vCPU/8 GB)
|
|
1052
1095
|
* @param {object} [multiAccount] - Multi-account configuration for this session
|
|
1053
1096
|
* @param {boolean} [multiAccount.enable] - When true, enables multi-account mode. Falls back to org/project-level config when not set.
|
|
1054
1097
|
* @param {number} [multiAccount.maxAccountsPerToolkit] - Max connected accounts per toolkit (2-10, default 5)
|
|
1055
1098
|
* @param {boolean} [multiAccount.requireExplicitSelection] - When true, require explicit account selection when multiple accounts are connected
|
|
1099
|
+
* @param {object} [preload] - Tools to preload into session.tools() and the MCP tool list
|
|
1100
|
+
* @param {string[]} [preload.tools] - Tool slugs to preload. Server-side validation ensures they exist and are allowed by the session filters.
|
|
1056
1101
|
*/
|
|
1057
1102
|
type ToolRouterCreateSessionConfig = z$1.infer<typeof ToolRouterCreateSessionConfigSchema>;
|
|
1058
1103
|
declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
@@ -1067,13 +1112,13 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1067
1112
|
mode: z$1.ZodString;
|
|
1068
1113
|
isComposioManaged: z$1.ZodBoolean;
|
|
1069
1114
|
}, "strip", z$1.ZodTypeAny, {
|
|
1070
|
-
mode: string;
|
|
1071
1115
|
id: string;
|
|
1072
1116
|
isComposioManaged: boolean;
|
|
1073
|
-
}, {
|
|
1074
1117
|
mode: string;
|
|
1118
|
+
}, {
|
|
1075
1119
|
id: string;
|
|
1076
1120
|
isComposioManaged: boolean;
|
|
1121
|
+
mode: string;
|
|
1077
1122
|
}>>>;
|
|
1078
1123
|
connectedAccount: z$1.ZodOptional<z$1.ZodObject<{
|
|
1079
1124
|
id: z$1.ZodString;
|
|
@@ -1088,9 +1133,9 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1088
1133
|
}, "strip", z$1.ZodTypeAny, {
|
|
1089
1134
|
isActive: boolean;
|
|
1090
1135
|
authConfig?: {
|
|
1091
|
-
mode: string;
|
|
1092
1136
|
id: string;
|
|
1093
1137
|
isComposioManaged: boolean;
|
|
1138
|
+
mode: string;
|
|
1094
1139
|
} | null | undefined;
|
|
1095
1140
|
connectedAccount?: {
|
|
1096
1141
|
status: string;
|
|
@@ -1099,9 +1144,9 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1099
1144
|
}, {
|
|
1100
1145
|
isActive: boolean;
|
|
1101
1146
|
authConfig?: {
|
|
1102
|
-
mode: string;
|
|
1103
1147
|
id: string;
|
|
1104
1148
|
isComposioManaged: boolean;
|
|
1149
|
+
mode: string;
|
|
1105
1150
|
} | null | undefined;
|
|
1106
1151
|
connectedAccount?: {
|
|
1107
1152
|
status: string;
|
|
@@ -1109,16 +1154,16 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1109
1154
|
} | undefined;
|
|
1110
1155
|
}>>;
|
|
1111
1156
|
}, "strip", z$1.ZodTypeAny, {
|
|
1112
|
-
slug: string;
|
|
1113
1157
|
name: string;
|
|
1158
|
+
slug: string;
|
|
1114
1159
|
isNoAuth: boolean;
|
|
1115
1160
|
logo?: string | undefined;
|
|
1116
1161
|
connection?: {
|
|
1117
1162
|
isActive: boolean;
|
|
1118
1163
|
authConfig?: {
|
|
1119
|
-
mode: string;
|
|
1120
1164
|
id: string;
|
|
1121
1165
|
isComposioManaged: boolean;
|
|
1166
|
+
mode: string;
|
|
1122
1167
|
} | null | undefined;
|
|
1123
1168
|
connectedAccount?: {
|
|
1124
1169
|
status: string;
|
|
@@ -1126,16 +1171,16 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1126
1171
|
} | undefined;
|
|
1127
1172
|
} | undefined;
|
|
1128
1173
|
}, {
|
|
1129
|
-
slug: string;
|
|
1130
1174
|
name: string;
|
|
1175
|
+
slug: string;
|
|
1131
1176
|
logo?: string | undefined;
|
|
1132
1177
|
isNoAuth?: boolean | undefined;
|
|
1133
1178
|
connection?: {
|
|
1134
1179
|
isActive: boolean;
|
|
1135
1180
|
authConfig?: {
|
|
1136
|
-
mode: string;
|
|
1137
1181
|
id: string;
|
|
1138
1182
|
isComposioManaged: boolean;
|
|
1183
|
+
mode: string;
|
|
1139
1184
|
} | null | undefined;
|
|
1140
1185
|
connectedAccount?: {
|
|
1141
1186
|
status: string;
|
|
@@ -1156,13 +1201,13 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1156
1201
|
mode: z$1.ZodString;
|
|
1157
1202
|
isComposioManaged: z$1.ZodBoolean;
|
|
1158
1203
|
}, "strip", z$1.ZodTypeAny, {
|
|
1159
|
-
mode: string;
|
|
1160
1204
|
id: string;
|
|
1161
1205
|
isComposioManaged: boolean;
|
|
1162
|
-
}, {
|
|
1163
1206
|
mode: string;
|
|
1207
|
+
}, {
|
|
1164
1208
|
id: string;
|
|
1165
1209
|
isComposioManaged: boolean;
|
|
1210
|
+
mode: string;
|
|
1166
1211
|
}>>>;
|
|
1167
1212
|
connectedAccount: z$1.ZodOptional<z$1.ZodObject<{
|
|
1168
1213
|
id: z$1.ZodString;
|
|
@@ -1177,9 +1222,9 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1177
1222
|
}, "strip", z$1.ZodTypeAny, {
|
|
1178
1223
|
isActive: boolean;
|
|
1179
1224
|
authConfig?: {
|
|
1180
|
-
mode: string;
|
|
1181
1225
|
id: string;
|
|
1182
1226
|
isComposioManaged: boolean;
|
|
1227
|
+
mode: string;
|
|
1183
1228
|
} | null | undefined;
|
|
1184
1229
|
connectedAccount?: {
|
|
1185
1230
|
status: string;
|
|
@@ -1188,9 +1233,9 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1188
1233
|
}, {
|
|
1189
1234
|
isActive: boolean;
|
|
1190
1235
|
authConfig?: {
|
|
1191
|
-
mode: string;
|
|
1192
1236
|
id: string;
|
|
1193
1237
|
isComposioManaged: boolean;
|
|
1238
|
+
mode: string;
|
|
1194
1239
|
} | null | undefined;
|
|
1195
1240
|
connectedAccount?: {
|
|
1196
1241
|
status: string;
|
|
@@ -1198,16 +1243,16 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1198
1243
|
} | undefined;
|
|
1199
1244
|
}>>;
|
|
1200
1245
|
}, "strip", z$1.ZodTypeAny, {
|
|
1201
|
-
slug: string;
|
|
1202
1246
|
name: string;
|
|
1247
|
+
slug: string;
|
|
1203
1248
|
isNoAuth: boolean;
|
|
1204
1249
|
logo?: string | undefined;
|
|
1205
1250
|
connection?: {
|
|
1206
1251
|
isActive: boolean;
|
|
1207
1252
|
authConfig?: {
|
|
1208
|
-
mode: string;
|
|
1209
1253
|
id: string;
|
|
1210
1254
|
isComposioManaged: boolean;
|
|
1255
|
+
mode: string;
|
|
1211
1256
|
} | null | undefined;
|
|
1212
1257
|
connectedAccount?: {
|
|
1213
1258
|
status: string;
|
|
@@ -1215,16 +1260,16 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1215
1260
|
} | undefined;
|
|
1216
1261
|
} | undefined;
|
|
1217
1262
|
}, {
|
|
1218
|
-
slug: string;
|
|
1219
1263
|
name: string;
|
|
1264
|
+
slug: string;
|
|
1220
1265
|
logo?: string | undefined;
|
|
1221
1266
|
isNoAuth?: boolean | undefined;
|
|
1222
1267
|
connection?: {
|
|
1223
1268
|
isActive: boolean;
|
|
1224
1269
|
authConfig?: {
|
|
1225
|
-
mode: string;
|
|
1226
1270
|
id: string;
|
|
1227
1271
|
isComposioManaged: boolean;
|
|
1272
|
+
mode: string;
|
|
1228
1273
|
} | null | undefined;
|
|
1229
1274
|
connectedAccount?: {
|
|
1230
1275
|
status: string;
|
|
@@ -1236,16 +1281,16 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1236
1281
|
totalPages: z$1.ZodNumber;
|
|
1237
1282
|
}, "strip", z$1.ZodTypeAny, {
|
|
1238
1283
|
items: {
|
|
1239
|
-
slug: string;
|
|
1240
1284
|
name: string;
|
|
1285
|
+
slug: string;
|
|
1241
1286
|
isNoAuth: boolean;
|
|
1242
1287
|
logo?: string | undefined;
|
|
1243
1288
|
connection?: {
|
|
1244
1289
|
isActive: boolean;
|
|
1245
1290
|
authConfig?: {
|
|
1246
|
-
mode: string;
|
|
1247
1291
|
id: string;
|
|
1248
1292
|
isComposioManaged: boolean;
|
|
1293
|
+
mode: string;
|
|
1249
1294
|
} | null | undefined;
|
|
1250
1295
|
connectedAccount?: {
|
|
1251
1296
|
status: string;
|
|
@@ -1257,16 +1302,16 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1257
1302
|
cursor?: string | undefined;
|
|
1258
1303
|
}, {
|
|
1259
1304
|
items: {
|
|
1260
|
-
slug: string;
|
|
1261
1305
|
name: string;
|
|
1306
|
+
slug: string;
|
|
1262
1307
|
logo?: string | undefined;
|
|
1263
1308
|
isNoAuth?: boolean | undefined;
|
|
1264
1309
|
connection?: {
|
|
1265
1310
|
isActive: boolean;
|
|
1266
1311
|
authConfig?: {
|
|
1267
|
-
mode: string;
|
|
1268
1312
|
id: string;
|
|
1269
1313
|
isComposioManaged: boolean;
|
|
1314
|
+
mode: string;
|
|
1270
1315
|
} | null | undefined;
|
|
1271
1316
|
connectedAccount?: {
|
|
1272
1317
|
status: string;
|
|
@@ -1648,7 +1693,23 @@ type ToolRouterSessionSearchFn = (params: {
|
|
|
1648
1693
|
query: string;
|
|
1649
1694
|
toolkits?: string[];
|
|
1650
1695
|
}) => Promise<ToolRouterSessionSearchResponse>;
|
|
1651
|
-
type ToolRouterSessionExecuteFn = (toolSlug: string, arguments_?: Record<string, unknown
|
|
1696
|
+
type ToolRouterSessionExecuteFn = (toolSlug: string, arguments_?: Record<string, unknown>, options?: ToolRouterSessionExecuteOptions) => Promise<ToolRouterSessionExecuteResponse>;
|
|
1697
|
+
interface ToolRouterSessionExecuteOptions {
|
|
1698
|
+
/**
|
|
1699
|
+
* Account identifier for direct app tool execution in multi-account sessions.
|
|
1700
|
+
* Meta/helper tools either ignore this top-level field or define
|
|
1701
|
+
* their own account-selection fields, for example
|
|
1702
|
+
* COMPOSIO_MULTI_EXECUTE_TOOL.tools[].account.
|
|
1703
|
+
*/
|
|
1704
|
+
account?: string;
|
|
1705
|
+
}
|
|
1706
|
+
type ToolRouterSessionPreloadConfig = SessionCreateResponse.Config.Preload;
|
|
1707
|
+
type ToolRouterSessionWarning = SessionCreateResponse.Warning;
|
|
1708
|
+
interface ToolRouterSessionMetadata {
|
|
1709
|
+
preload?: ToolRouterSessionPreloadConfig;
|
|
1710
|
+
configVersion?: number;
|
|
1711
|
+
warnings?: ToolRouterSessionWarning[];
|
|
1712
|
+
}
|
|
1652
1713
|
declare const SessionProxyExecuteParamsSchema: z$1.ZodObject<{
|
|
1653
1714
|
/** The toolkit whose connected account to use for auth (e.g. 'gmail', 'github') */
|
|
1654
1715
|
toolkit: z$1.ZodString;
|
|
@@ -1699,6 +1760,12 @@ type ToolRouterSessionProxyExecuteFn = (params: SessionProxyExecuteParams) => Pr
|
|
|
1699
1760
|
interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
|
|
1700
1761
|
sessionId: string;
|
|
1701
1762
|
mcp: ToolRouterMCPServerConfig;
|
|
1763
|
+
/** Stored preload configuration for this session. */
|
|
1764
|
+
preload: ToolRouterSessionPreloadConfig;
|
|
1765
|
+
/** Server-side config version when returned by the API. */
|
|
1766
|
+
configVersion?: number;
|
|
1767
|
+
/** Non-blocking session creation warnings returned by the API. */
|
|
1768
|
+
warnings: ToolRouterSessionWarning[];
|
|
1702
1769
|
tools: ToolRouterToolsFn<TToolCollection, TTool, TProvider>;
|
|
1703
1770
|
authorize: ToolRouterAuthorizeFn;
|
|
1704
1771
|
toolkits: ToolRouterToolkitsFn;
|
|
@@ -1911,4 +1978,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
|
|
|
1911
1978
|
/** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
|
|
1912
1979
|
type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
|
|
1913
1980
|
//#endregion
|
|
1914
|
-
export {
|
|
1981
|
+
export { ToolRouterSessionSearchResponseSchema as $, CreateConnectedAccountOptionsSchema as $t, SessionProxyExecuteParams as A, ToolRouterSessionFilesMountUploadOptionsSchema as At, ToolRouterMCPServerConfig as B, ConnectedAccountRefreshOptions as Bt, SessionContext as C, ToolRouterSessionFilesMountDeleteOptions as Ct, SandboxSizeSchema as D, ToolRouterSessionFilesMountListOptions as Dt, SandboxSize as E, ToolRouterSessionFilesMountDownloadOptionsSchema as Et, ToolRouterConfigTagsSchema as F, ConnectedAccountListParams as Ft, ToolRouterSessionExecuteResponse as G, ConnectedAccountStatusEnum as Gt, ToolRouterManageConnectionsConfigSchema as H, ConnectedAccountRetrieveResponse as Ht, ToolRouterConfigTools as I, ConnectedAccountListParamsSchema as It, ToolRouterSessionPreloadConfig as J, CreateConnectedAccountLinkOptions as Jt, ToolRouterSessionExecuteResponseSchema as K, ConnectedAccountStatusSchema as Kt, ToolRouterConfigToolsSchema as L, ConnectedAccountListResponse as Lt, ToolRouterAuthorizeFn as M, ConnectionRequestState as Mt, ToolRouterConfigManageConnectionsSchema as N, ConnectedAccountAuthConfig as Nt, Session as O, ToolRouterSessionFilesMountListOptionsSchema as Ot, ToolRouterConfigTags as P, ConnectedAccountAuthConfigSchema as Pt, ToolRouterSessionSearchResponse as Q, CreateConnectedAccountOptions as Qt, ToolRouterCreateSessionConfig as R, ConnectedAccountListResponseItem as Rt, RegisteredCustomToolkit as S, RemoteFileDataSchema as St, MCPServerTypeSchema as T, ToolRouterSessionFilesMountDownloadOptions as Tt, ToolRouterSessionExecuteFn as U, ConnectedAccountRetrieveResponseSchema as Ut, ToolRouterMCPServerConfigSchema as V, ConnectedAccountRefreshOptionsSchema as Vt, ToolRouterSessionExecuteOptions as W, ConnectedAccountStatus as Wt, ToolRouterSessionProxyExecuteResponse as X, CreateConnectedAccountLinkResponse as Xt, ToolRouterSessionProxyExecuteFn as Y, CreateConnectedAccountLinkOptionsSchema as Yt, ToolRouterSessionSearchFn as Z, CreateConnectedAccountLinkResponseSchema as Zt, CustomToolsMap as _, FileDeleteResponse as _t, CustomTool as a, UpdateConnectedAccountParams as an, ToolRouterToolkitsFn as at, InputParamsSchema as b, FileListResponseSchema as bt, CustomToolInputParameter as c, ToolRouterToolkitsParamSchema as ct, CustomToolRegistryItem as d, ToolRouterToolsParamSchema as dt, CreateConnectedAccountParams as en, ToolRouterSessionWarning as et, CustomToolResponse as f, ToolkitConnectionState as ft, CustomToolkitResponse as g, RemoteFile as gt, CustomToolkitDefinition as h, ToolkitConnectionsDetailsSchema as ht, CreateCustomToolkitParams as i, DefaultCreateConnectedAccountParamsSchema as in, ToolRouterToolkitsEnabledConfigSchema as it, SessionProxyExecuteParamsSchema as j, ConnectionRequest as jt, SessionExperimental as k, ToolRouterSessionFilesMountUploadOptions as kt, CustomToolOptions as l, ToolRouterToolsFn as lt, CustomToolkit as m, ToolkitConnectionsDetails as mt, CreateCustomToolParams as n, CreateConnectedAccountResponse as nn, ToolRouterTagsParamSchema as nt, CustomToolDefinition as o, UpdateConnectedAccountParamsSchema as on, ToolRouterToolkitsOptions as ot, CustomToolSlugSchema as p, ToolkitConnectionStateSchema as pt, ToolRouterSessionMetadata as q, ConnectedAccountStatuses as qt, CreateCustomToolkitBaseSchema as r, CreateConnectedAccountResponseSchema as rn, ToolRouterToolkitsDisabledConfigSchema as rt, CustomToolExecuteFn as s, ToolRouterToolkitsOptionsSchema as st, CreateCustomToolBaseSchema as t, CreateConnectedAccountParamsSchema as tn, ToolRouterTagsEnableDisableSchema as tt, CustomToolRegistry as u, ToolRouterToolsParam as ut, CustomToolsMapEntry as v, FileDeleteResponseSchema as vt, MCPServerType as w, ToolRouterSessionFilesMountDeleteOptionsSchema as wt, RegisteredCustomTool as x, RemoteFileData as xt, ExecuteMetadata as y, FileListResponse as yt, ToolRouterCreateSessionConfigSchema as z, ConnectedAccountListResponseSchema as zt };
|