@composio/core 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +10 -7
- package/dist/index.d.cts +35 -32
- package/dist/index.d.mts +35 -32
- package/dist/index.mjs +10 -7
- 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.d.ts +0 -136
- package/generated/index.js +0 -34
- 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
package/dist/index.cjs
CHANGED
|
@@ -3514,9 +3514,10 @@ const ToolkitMangedByEnumSchema = zod_v3.z.enum([
|
|
|
3514
3514
|
const ToolkitSortByEnumSchema = zod_v3.z.enum(["usage", "alphabetically"]);
|
|
3515
3515
|
const ToolkitsListParamsSchema = zod_v3.z.object({
|
|
3516
3516
|
category: zod_v3.z.string().optional(),
|
|
3517
|
-
isLocal: zod_v3.z.boolean().optional(),
|
|
3518
3517
|
managedBy: ToolkitMangedByEnumSchema.optional(),
|
|
3519
|
-
sortBy: ToolkitSortByEnumSchema.optional()
|
|
3518
|
+
sortBy: ToolkitSortByEnumSchema.optional(),
|
|
3519
|
+
cursor: zod_v3.z.string().optional(),
|
|
3520
|
+
limit: zod_v3.z.number().optional()
|
|
3520
3521
|
});
|
|
3521
3522
|
/**
|
|
3522
3523
|
* Toolkits response
|
|
@@ -4434,9 +4435,10 @@ var Toolkits = class {
|
|
|
4434
4435
|
if (!parsedQuery.success) throw new ValidationError("Failed to parse toolkit list query", { cause: parsedQuery.error });
|
|
4435
4436
|
return transformToolkitListResponse(await this.client.toolkits.list({
|
|
4436
4437
|
category: parsedQuery.data.category,
|
|
4437
|
-
is_local: parsedQuery.data.isLocal,
|
|
4438
4438
|
managed_by: parsedQuery.data.managedBy,
|
|
4439
|
-
sort_by: parsedQuery.data.sortBy
|
|
4439
|
+
sort_by: parsedQuery.data.sortBy,
|
|
4440
|
+
cursor: parsedQuery.data.cursor,
|
|
4441
|
+
limit: parsedQuery.data.limit
|
|
4440
4442
|
}));
|
|
4441
4443
|
} catch (error) {
|
|
4442
4444
|
throw new ComposioToolkitFetchError("Failed to fetch toolkits", { cause: error });
|
|
@@ -6269,7 +6271,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
6269
6271
|
|
|
6270
6272
|
//#endregion
|
|
6271
6273
|
//#region package.json
|
|
6272
|
-
var version = "0.3.
|
|
6274
|
+
var version = "0.3.2";
|
|
6273
6275
|
|
|
6274
6276
|
//#endregion
|
|
6275
6277
|
//#region src/models/Files.ts
|
|
@@ -6393,7 +6395,8 @@ const ToolRouterToolsParamSchema = zod_v3.default.array(zod_v3.default.string())
|
|
|
6393
6395
|
const ToolRouterToolsTagsParamSchema = zod_v3.default.array(zod_v3.default.enum([
|
|
6394
6396
|
"readOnlyHint",
|
|
6395
6397
|
"destructiveHint",
|
|
6396
|
-
"idempotentHint"
|
|
6398
|
+
"idempotentHint",
|
|
6399
|
+
"openWorldHint"
|
|
6397
6400
|
])).describe("The tags to filter the tools by");
|
|
6398
6401
|
const ToolRouterConfigToolsSchema = zod_v3.default.union([
|
|
6399
6402
|
ToolRouterToolsParamSchema,
|
|
@@ -6498,7 +6501,7 @@ var ToolRouter = class {
|
|
|
6498
6501
|
createAuthorizeFn = (sessionId) => {
|
|
6499
6502
|
const authorizeFn = async (toolkit, options) => {
|
|
6500
6503
|
const response = await this.client.toolRouter.session.link(sessionId, {
|
|
6501
|
-
...options
|
|
6504
|
+
...options?.callbackUrl ? { callback_url: options.callbackUrl } : {},
|
|
6502
6505
|
toolkit
|
|
6503
6506
|
});
|
|
6504
6507
|
return createConnectionRequest(this.client, response.connected_account_id, ConnectedAccountStatuses.INITIATED, response.redirect_url);
|
package/dist/index.d.cts
CHANGED
|
@@ -25894,12 +25894,12 @@ declare const MCPGenerateURLParamsSchema: z.ZodObject<{
|
|
|
25894
25894
|
isChatAuth: z.ZodOptional<z.ZodBoolean>;
|
|
25895
25895
|
}, "strip", z.ZodTypeAny, {
|
|
25896
25896
|
userIds?: string[] | undefined;
|
|
25897
|
-
isChatAuth?: boolean | undefined;
|
|
25898
25897
|
connectedAccountIds?: string[] | undefined;
|
|
25898
|
+
isChatAuth?: boolean | undefined;
|
|
25899
25899
|
}, {
|
|
25900
25900
|
userIds?: string[] | undefined;
|
|
25901
|
-
isChatAuth?: boolean | undefined;
|
|
25902
25901
|
connectedAccountIds?: string[] | undefined;
|
|
25902
|
+
isChatAuth?: boolean | undefined;
|
|
25903
25903
|
}>;
|
|
25904
25904
|
type MCPGenerateURLParams = z.infer<typeof MCPGenerateURLParamsSchema>;
|
|
25905
25905
|
declare const ComposioGenerateURLParamsSchema: z.ZodObject<{
|
|
@@ -26148,8 +26148,8 @@ declare const MCPServerListResponseSchema: z.ZodObject<{
|
|
|
26148
26148
|
toolkits: string[];
|
|
26149
26149
|
};
|
|
26150
26150
|
}[];
|
|
26151
|
-
total: number;
|
|
26152
26151
|
page: number;
|
|
26152
|
+
total: number;
|
|
26153
26153
|
pageSize: number;
|
|
26154
26154
|
}, {
|
|
26155
26155
|
items: {
|
|
@@ -26168,8 +26168,8 @@ declare const MCPServerListResponseSchema: z.ZodObject<{
|
|
|
26168
26168
|
};
|
|
26169
26169
|
status?: "error" | "active" | "inactive" | undefined;
|
|
26170
26170
|
}[];
|
|
26171
|
-
total: number;
|
|
26172
26171
|
page: number;
|
|
26172
|
+
total: number;
|
|
26173
26173
|
pageSize: number;
|
|
26174
26174
|
}>;
|
|
26175
26175
|
type MCPServerListResponse = z.infer<typeof MCPServerListResponseSchema>;
|
|
@@ -27216,17 +27216,20 @@ declare const ToolkitMangedByEnumSchema: z.ZodEnum<["all", "composio", "project"
|
|
|
27216
27216
|
declare const ToolkitSortByEnumSchema: z.ZodEnum<["usage", "alphabetically"]>;
|
|
27217
27217
|
declare const ToolkitsListParamsSchema: z.ZodObject<{
|
|
27218
27218
|
category: z.ZodOptional<z.ZodString>;
|
|
27219
|
-
isLocal: z.ZodOptional<z.ZodBoolean>;
|
|
27220
27219
|
managedBy: z.ZodOptional<z.ZodEnum<["all", "composio", "project"]>>;
|
|
27221
27220
|
sortBy: z.ZodOptional<z.ZodEnum<["usage", "alphabetically"]>>;
|
|
27221
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
27222
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
27222
27223
|
}, "strip", z.ZodTypeAny, {
|
|
27224
|
+
limit?: number | undefined;
|
|
27225
|
+
cursor?: string | undefined;
|
|
27223
27226
|
category?: string | undefined;
|
|
27224
|
-
isLocal?: boolean | undefined;
|
|
27225
27227
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27226
27228
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27227
27229
|
}, {
|
|
27230
|
+
limit?: number | undefined;
|
|
27231
|
+
cursor?: string | undefined;
|
|
27228
27232
|
category?: string | undefined;
|
|
27229
|
-
isLocal?: boolean | undefined;
|
|
27230
27233
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27231
27234
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27232
27235
|
}>;
|
|
@@ -29435,16 +29438,16 @@ declare const TriggerSubscribeParamSchema: z.ZodObject<{
|
|
|
29435
29438
|
toolkits?: string[] | undefined;
|
|
29436
29439
|
connectedAccountId?: string | undefined;
|
|
29437
29440
|
userId?: string | undefined;
|
|
29438
|
-
authConfigId?: string | undefined;
|
|
29439
29441
|
triggerId?: string | undefined;
|
|
29442
|
+
authConfigId?: string | undefined;
|
|
29440
29443
|
triggerSlug?: string[] | undefined;
|
|
29441
29444
|
triggerData?: string | undefined;
|
|
29442
29445
|
}, {
|
|
29443
29446
|
toolkits?: string[] | undefined;
|
|
29444
29447
|
connectedAccountId?: string | undefined;
|
|
29445
29448
|
userId?: string | undefined;
|
|
29446
|
-
authConfigId?: string | undefined;
|
|
29447
29449
|
triggerId?: string | undefined;
|
|
29450
|
+
authConfigId?: string | undefined;
|
|
29448
29451
|
triggerSlug?: string[] | undefined;
|
|
29449
29452
|
triggerData?: string | undefined;
|
|
29450
29453
|
}>;
|
|
@@ -29797,8 +29800,8 @@ declare const TriggerTypeSchema: z.ZodObject<{
|
|
|
29797
29800
|
name: string;
|
|
29798
29801
|
logo: string;
|
|
29799
29802
|
};
|
|
29800
|
-
config: Record<string, unknown>;
|
|
29801
29803
|
payload: Record<string, unknown>;
|
|
29804
|
+
config: Record<string, unknown>;
|
|
29802
29805
|
version?: string | undefined;
|
|
29803
29806
|
instructions?: string | undefined;
|
|
29804
29807
|
}, {
|
|
@@ -29810,8 +29813,8 @@ declare const TriggerTypeSchema: z.ZodObject<{
|
|
|
29810
29813
|
name: string;
|
|
29811
29814
|
logo: string;
|
|
29812
29815
|
};
|
|
29813
|
-
config: Record<string, unknown>;
|
|
29814
29816
|
payload: Record<string, unknown>;
|
|
29817
|
+
config: Record<string, unknown>;
|
|
29815
29818
|
version?: string | undefined;
|
|
29816
29819
|
instructions?: string | undefined;
|
|
29817
29820
|
}>;
|
|
@@ -29847,8 +29850,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
29847
29850
|
name: string;
|
|
29848
29851
|
logo: string;
|
|
29849
29852
|
};
|
|
29850
|
-
config: Record<string, unknown>;
|
|
29851
29853
|
payload: Record<string, unknown>;
|
|
29854
|
+
config: Record<string, unknown>;
|
|
29852
29855
|
version?: string | undefined;
|
|
29853
29856
|
instructions?: string | undefined;
|
|
29854
29857
|
}, {
|
|
@@ -29860,8 +29863,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
29860
29863
|
name: string;
|
|
29861
29864
|
logo: string;
|
|
29862
29865
|
};
|
|
29863
|
-
config: Record<string, unknown>;
|
|
29864
29866
|
payload: Record<string, unknown>;
|
|
29867
|
+
config: Record<string, unknown>;
|
|
29865
29868
|
version?: string | undefined;
|
|
29866
29869
|
instructions?: string | undefined;
|
|
29867
29870
|
}>, "many">;
|
|
@@ -29877,8 +29880,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
29877
29880
|
name: string;
|
|
29878
29881
|
logo: string;
|
|
29879
29882
|
};
|
|
29880
|
-
config: Record<string, unknown>;
|
|
29881
29883
|
payload: Record<string, unknown>;
|
|
29884
|
+
config: Record<string, unknown>;
|
|
29882
29885
|
version?: string | undefined;
|
|
29883
29886
|
instructions?: string | undefined;
|
|
29884
29887
|
}[];
|
|
@@ -29894,8 +29897,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
29894
29897
|
name: string;
|
|
29895
29898
|
logo: string;
|
|
29896
29899
|
};
|
|
29897
|
-
config: Record<string, unknown>;
|
|
29898
29900
|
payload: Record<string, unknown>;
|
|
29901
|
+
config: Record<string, unknown>;
|
|
29899
29902
|
version?: string | undefined;
|
|
29900
29903
|
instructions?: string | undefined;
|
|
29901
29904
|
}[];
|
|
@@ -31663,7 +31666,7 @@ declare const ToolRouterConfigTagsSchema: z$1.ZodUnion<[z$1.ZodArray<z$1.ZodStri
|
|
|
31663
31666
|
*/
|
|
31664
31667
|
declare const ToolRouterToolsParamSchema: z$1.ZodArray<z$1.ZodString, "many">;
|
|
31665
31668
|
type ToolRouterToolsParam = z$1.infer<typeof ToolRouterToolsParamSchema>;
|
|
31666
|
-
declare const ToolRouterToolsTagsParamSchema: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31669
|
+
declare const ToolRouterToolsTagsParamSchema: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31667
31670
|
type ToolRouterToolsTagsParam = z$1.infer<typeof ToolRouterToolsTagsParamSchema>;
|
|
31668
31671
|
declare const ToolRouterConfigToolsSchema: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodObject<{
|
|
31669
31672
|
enable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
@@ -31678,23 +31681,23 @@ declare const ToolRouterConfigToolsSchema: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodA
|
|
|
31678
31681
|
}, {
|
|
31679
31682
|
disable: string[];
|
|
31680
31683
|
}>, z$1.ZodObject<{
|
|
31681
|
-
tags: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31684
|
+
tags: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31682
31685
|
}, "strict", z$1.ZodTypeAny, {
|
|
31683
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31686
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31684
31687
|
}, {
|
|
31685
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31688
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31686
31689
|
}>]>, string[] | {
|
|
31687
31690
|
enable: string[];
|
|
31688
31691
|
} | {
|
|
31689
31692
|
disable: string[];
|
|
31690
31693
|
} | {
|
|
31691
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31694
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31692
31695
|
}, string[] | {
|
|
31693
31696
|
enable: string[];
|
|
31694
31697
|
} | {
|
|
31695
31698
|
disable: string[];
|
|
31696
31699
|
} | {
|
|
31697
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31700
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31698
31701
|
}>;
|
|
31699
31702
|
type ToolRouterConfigTools = z$1.infer<typeof ToolRouterConfigToolsSchema>;
|
|
31700
31703
|
declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
@@ -31711,25 +31714,25 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31711
31714
|
}, {
|
|
31712
31715
|
disable: string[];
|
|
31713
31716
|
}>, z$1.ZodObject<{
|
|
31714
|
-
tags: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31717
|
+
tags: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31715
31718
|
}, "strict", z$1.ZodTypeAny, {
|
|
31716
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31719
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31717
31720
|
}, {
|
|
31718
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31721
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31719
31722
|
}>]>, string[] | {
|
|
31720
31723
|
enable: string[];
|
|
31721
31724
|
} | {
|
|
31722
31725
|
disable: string[];
|
|
31723
31726
|
} | {
|
|
31724
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31727
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31725
31728
|
}, string[] | {
|
|
31726
31729
|
enable: string[];
|
|
31727
31730
|
} | {
|
|
31728
31731
|
disable: string[];
|
|
31729
31732
|
} | {
|
|
31730
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31733
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31731
31734
|
}>]>>>>;
|
|
31732
|
-
tags: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">>>;
|
|
31735
|
+
tags: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>>;
|
|
31733
31736
|
toolkits: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodObject<{
|
|
31734
31737
|
disable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
31735
31738
|
}, "strict", z$1.ZodTypeAny, {
|
|
@@ -31766,13 +31769,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31766
31769
|
autoOffloadThreshold?: number | undefined;
|
|
31767
31770
|
}>>>;
|
|
31768
31771
|
}, "strip", z$1.ZodTypeAny, {
|
|
31769
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[] | undefined;
|
|
31772
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31770
31773
|
tools?: Record<string, string[] | {
|
|
31771
31774
|
enable: string[];
|
|
31772
31775
|
} | {
|
|
31773
31776
|
disable: string[];
|
|
31774
31777
|
} | {
|
|
31775
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31778
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31776
31779
|
}> | undefined;
|
|
31777
31780
|
toolkits?: string[] | {
|
|
31778
31781
|
disable: string[];
|
|
@@ -31790,13 +31793,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31790
31793
|
autoOffloadThreshold?: number | undefined;
|
|
31791
31794
|
} | undefined;
|
|
31792
31795
|
}, {
|
|
31793
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[] | undefined;
|
|
31796
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31794
31797
|
tools?: Record<string, string[] | {
|
|
31795
31798
|
enable: string[];
|
|
31796
31799
|
} | {
|
|
31797
31800
|
disable: string[];
|
|
31798
31801
|
} | {
|
|
31799
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31802
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31800
31803
|
}> | undefined;
|
|
31801
31804
|
toolkits?: string[] | {
|
|
31802
31805
|
disable: string[];
|
|
@@ -31819,7 +31822,7 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31819
31822
|
*
|
|
31820
31823
|
* @param {ToolRouterToolkitsParamSchema | ToolRouterToolkitsDisabledConfigSchema | ToolRouterToolkitsEnabledConfigSchema} toolkits - The toolkits to use in the tool router session
|
|
31821
31824
|
* @param {Record<string, ToolRouterToolsParam | ToolRouterConfigTools>} tools - The tools to configure per toolkit (key is toolkit slug)
|
|
31822
|
-
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint'>} tags - Global tags to filter tools by behavior
|
|
31825
|
+
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>} tags - Global tags to filter tools by behavior
|
|
31823
31826
|
* @param {Record<string, string>} authConfigs - The auth configs to use in the tool router session
|
|
31824
31827
|
* @param {Record<string, string>} connectedAccounts - The connected accounts to use in the tool router session
|
|
31825
31828
|
* @param {ToolRouterConfigManageConnectionsSchema | boolean} manageConnections - The config for the manage connections in the tool router session. Defaults to true, if set to false, you need to manage connections manually. If set to an object, you can configure the manage connections settings.
|
package/dist/index.d.mts
CHANGED
|
@@ -25892,12 +25892,12 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
|
|
|
25892
25892
|
isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
25893
25893
|
}, "strip", z$1.ZodTypeAny, {
|
|
25894
25894
|
userIds?: string[] | undefined;
|
|
25895
|
-
isChatAuth?: boolean | undefined;
|
|
25896
25895
|
connectedAccountIds?: string[] | undefined;
|
|
25896
|
+
isChatAuth?: boolean | undefined;
|
|
25897
25897
|
}, {
|
|
25898
25898
|
userIds?: string[] | undefined;
|
|
25899
|
-
isChatAuth?: boolean | undefined;
|
|
25900
25899
|
connectedAccountIds?: string[] | undefined;
|
|
25900
|
+
isChatAuth?: boolean | undefined;
|
|
25901
25901
|
}>;
|
|
25902
25902
|
type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
|
|
25903
25903
|
declare const ComposioGenerateURLParamsSchema: z$1.ZodObject<{
|
|
@@ -26146,8 +26146,8 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
26146
26146
|
toolkits: string[];
|
|
26147
26147
|
};
|
|
26148
26148
|
}[];
|
|
26149
|
-
total: number;
|
|
26150
26149
|
page: number;
|
|
26150
|
+
total: number;
|
|
26151
26151
|
pageSize: number;
|
|
26152
26152
|
}, {
|
|
26153
26153
|
items: {
|
|
@@ -26166,8 +26166,8 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
26166
26166
|
};
|
|
26167
26167
|
status?: "error" | "active" | "inactive" | undefined;
|
|
26168
26168
|
}[];
|
|
26169
|
-
total: number;
|
|
26170
26169
|
page: number;
|
|
26170
|
+
total: number;
|
|
26171
26171
|
pageSize: number;
|
|
26172
26172
|
}>;
|
|
26173
26173
|
type MCPServerListResponse = z$1.infer<typeof MCPServerListResponseSchema>;
|
|
@@ -27214,17 +27214,20 @@ declare const ToolkitMangedByEnumSchema: z$1.ZodEnum<["all", "composio", "projec
|
|
|
27214
27214
|
declare const ToolkitSortByEnumSchema: z$1.ZodEnum<["usage", "alphabetically"]>;
|
|
27215
27215
|
declare const ToolkitsListParamsSchema: z$1.ZodObject<{
|
|
27216
27216
|
category: z$1.ZodOptional<z$1.ZodString>;
|
|
27217
|
-
isLocal: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
27218
27217
|
managedBy: z$1.ZodOptional<z$1.ZodEnum<["all", "composio", "project"]>>;
|
|
27219
27218
|
sortBy: z$1.ZodOptional<z$1.ZodEnum<["usage", "alphabetically"]>>;
|
|
27219
|
+
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
27220
|
+
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
27220
27221
|
}, "strip", z$1.ZodTypeAny, {
|
|
27222
|
+
limit?: number | undefined;
|
|
27223
|
+
cursor?: string | undefined;
|
|
27221
27224
|
category?: string | undefined;
|
|
27222
|
-
isLocal?: boolean | undefined;
|
|
27223
27225
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27224
27226
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27225
27227
|
}, {
|
|
27228
|
+
limit?: number | undefined;
|
|
27229
|
+
cursor?: string | undefined;
|
|
27226
27230
|
category?: string | undefined;
|
|
27227
|
-
isLocal?: boolean | undefined;
|
|
27228
27231
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27229
27232
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27230
27233
|
}>;
|
|
@@ -29433,16 +29436,16 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
29433
29436
|
toolkits?: string[] | undefined;
|
|
29434
29437
|
connectedAccountId?: string | undefined;
|
|
29435
29438
|
userId?: string | undefined;
|
|
29436
|
-
authConfigId?: string | undefined;
|
|
29437
29439
|
triggerId?: string | undefined;
|
|
29440
|
+
authConfigId?: string | undefined;
|
|
29438
29441
|
triggerSlug?: string[] | undefined;
|
|
29439
29442
|
triggerData?: string | undefined;
|
|
29440
29443
|
}, {
|
|
29441
29444
|
toolkits?: string[] | undefined;
|
|
29442
29445
|
connectedAccountId?: string | undefined;
|
|
29443
29446
|
userId?: string | undefined;
|
|
29444
|
-
authConfigId?: string | undefined;
|
|
29445
29447
|
triggerId?: string | undefined;
|
|
29448
|
+
authConfigId?: string | undefined;
|
|
29446
29449
|
triggerSlug?: string[] | undefined;
|
|
29447
29450
|
triggerData?: string | undefined;
|
|
29448
29451
|
}>;
|
|
@@ -29795,8 +29798,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
29795
29798
|
name: string;
|
|
29796
29799
|
logo: string;
|
|
29797
29800
|
};
|
|
29798
|
-
config: Record<string, unknown>;
|
|
29799
29801
|
payload: Record<string, unknown>;
|
|
29802
|
+
config: Record<string, unknown>;
|
|
29800
29803
|
version?: string | undefined;
|
|
29801
29804
|
instructions?: string | undefined;
|
|
29802
29805
|
}, {
|
|
@@ -29808,8 +29811,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
29808
29811
|
name: string;
|
|
29809
29812
|
logo: string;
|
|
29810
29813
|
};
|
|
29811
|
-
config: Record<string, unknown>;
|
|
29812
29814
|
payload: Record<string, unknown>;
|
|
29815
|
+
config: Record<string, unknown>;
|
|
29813
29816
|
version?: string | undefined;
|
|
29814
29817
|
instructions?: string | undefined;
|
|
29815
29818
|
}>;
|
|
@@ -29845,8 +29848,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
29845
29848
|
name: string;
|
|
29846
29849
|
logo: string;
|
|
29847
29850
|
};
|
|
29848
|
-
config: Record<string, unknown>;
|
|
29849
29851
|
payload: Record<string, unknown>;
|
|
29852
|
+
config: Record<string, unknown>;
|
|
29850
29853
|
version?: string | undefined;
|
|
29851
29854
|
instructions?: string | undefined;
|
|
29852
29855
|
}, {
|
|
@@ -29858,8 +29861,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
29858
29861
|
name: string;
|
|
29859
29862
|
logo: string;
|
|
29860
29863
|
};
|
|
29861
|
-
config: Record<string, unknown>;
|
|
29862
29864
|
payload: Record<string, unknown>;
|
|
29865
|
+
config: Record<string, unknown>;
|
|
29863
29866
|
version?: string | undefined;
|
|
29864
29867
|
instructions?: string | undefined;
|
|
29865
29868
|
}>, "many">;
|
|
@@ -29875,8 +29878,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
29875
29878
|
name: string;
|
|
29876
29879
|
logo: string;
|
|
29877
29880
|
};
|
|
29878
|
-
config: Record<string, unknown>;
|
|
29879
29881
|
payload: Record<string, unknown>;
|
|
29882
|
+
config: Record<string, unknown>;
|
|
29880
29883
|
version?: string | undefined;
|
|
29881
29884
|
instructions?: string | undefined;
|
|
29882
29885
|
}[];
|
|
@@ -29892,8 +29895,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
29892
29895
|
name: string;
|
|
29893
29896
|
logo: string;
|
|
29894
29897
|
};
|
|
29895
|
-
config: Record<string, unknown>;
|
|
29896
29898
|
payload: Record<string, unknown>;
|
|
29899
|
+
config: Record<string, unknown>;
|
|
29897
29900
|
version?: string | undefined;
|
|
29898
29901
|
instructions?: string | undefined;
|
|
29899
29902
|
}[];
|
|
@@ -31661,7 +31664,7 @@ declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodString, "m
|
|
|
31661
31664
|
*/
|
|
31662
31665
|
declare const ToolRouterToolsParamSchema: z.ZodArray<z.ZodString, "many">;
|
|
31663
31666
|
type ToolRouterToolsParam = z.infer<typeof ToolRouterToolsParamSchema>;
|
|
31664
|
-
declare const ToolRouterToolsTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31667
|
+
declare const ToolRouterToolsTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31665
31668
|
type ToolRouterToolsTagsParam = z.infer<typeof ToolRouterToolsTagsParamSchema>;
|
|
31666
31669
|
declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31667
31670
|
enable: z.ZodArray<z.ZodString, "many">;
|
|
@@ -31676,23 +31679,23 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
|
|
|
31676
31679
|
}, {
|
|
31677
31680
|
disable: string[];
|
|
31678
31681
|
}>, z.ZodObject<{
|
|
31679
|
-
tags: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31682
|
+
tags: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31680
31683
|
}, "strict", z.ZodTypeAny, {
|
|
31681
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31684
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31682
31685
|
}, {
|
|
31683
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31686
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31684
31687
|
}>]>, string[] | {
|
|
31685
31688
|
enable: string[];
|
|
31686
31689
|
} | {
|
|
31687
31690
|
disable: string[];
|
|
31688
31691
|
} | {
|
|
31689
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31692
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31690
31693
|
}, string[] | {
|
|
31691
31694
|
enable: string[];
|
|
31692
31695
|
} | {
|
|
31693
31696
|
disable: string[];
|
|
31694
31697
|
} | {
|
|
31695
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31698
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31696
31699
|
}>;
|
|
31697
31700
|
type ToolRouterConfigTools = z.infer<typeof ToolRouterConfigToolsSchema>;
|
|
31698
31701
|
declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
@@ -31709,25 +31712,25 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
31709
31712
|
}, {
|
|
31710
31713
|
disable: string[];
|
|
31711
31714
|
}>, z.ZodObject<{
|
|
31712
|
-
tags: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31715
|
+
tags: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31713
31716
|
}, "strict", z.ZodTypeAny, {
|
|
31714
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31717
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31715
31718
|
}, {
|
|
31716
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31719
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31717
31720
|
}>]>, string[] | {
|
|
31718
31721
|
enable: string[];
|
|
31719
31722
|
} | {
|
|
31720
31723
|
disable: string[];
|
|
31721
31724
|
} | {
|
|
31722
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31725
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31723
31726
|
}, string[] | {
|
|
31724
31727
|
enable: string[];
|
|
31725
31728
|
} | {
|
|
31726
31729
|
disable: string[];
|
|
31727
31730
|
} | {
|
|
31728
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31731
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31729
31732
|
}>]>>>>;
|
|
31730
|
-
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">>>;
|
|
31733
|
+
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>>;
|
|
31731
31734
|
toolkits: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31732
31735
|
disable: z.ZodArray<z.ZodString, "many">;
|
|
31733
31736
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -31764,13 +31767,13 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
31764
31767
|
autoOffloadThreshold?: number | undefined;
|
|
31765
31768
|
}>>>;
|
|
31766
31769
|
}, "strip", z.ZodTypeAny, {
|
|
31767
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[] | undefined;
|
|
31770
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31768
31771
|
tools?: Record<string, string[] | {
|
|
31769
31772
|
enable: string[];
|
|
31770
31773
|
} | {
|
|
31771
31774
|
disable: string[];
|
|
31772
31775
|
} | {
|
|
31773
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31776
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31774
31777
|
}> | undefined;
|
|
31775
31778
|
toolkits?: string[] | {
|
|
31776
31779
|
disable: string[];
|
|
@@ -31788,13 +31791,13 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
31788
31791
|
autoOffloadThreshold?: number | undefined;
|
|
31789
31792
|
} | undefined;
|
|
31790
31793
|
}, {
|
|
31791
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[] | undefined;
|
|
31794
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31792
31795
|
tools?: Record<string, string[] | {
|
|
31793
31796
|
enable: string[];
|
|
31794
31797
|
} | {
|
|
31795
31798
|
disable: string[];
|
|
31796
31799
|
} | {
|
|
31797
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31800
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31798
31801
|
}> | undefined;
|
|
31799
31802
|
toolkits?: string[] | {
|
|
31800
31803
|
disable: string[];
|
|
@@ -31817,7 +31820,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
31817
31820
|
*
|
|
31818
31821
|
* @param {ToolRouterToolkitsParamSchema | ToolRouterToolkitsDisabledConfigSchema | ToolRouterToolkitsEnabledConfigSchema} toolkits - The toolkits to use in the tool router session
|
|
31819
31822
|
* @param {Record<string, ToolRouterToolsParam | ToolRouterConfigTools>} tools - The tools to configure per toolkit (key is toolkit slug)
|
|
31820
|
-
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint'>} tags - Global tags to filter tools by behavior
|
|
31823
|
+
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>} tags - Global tags to filter tools by behavior
|
|
31821
31824
|
* @param {Record<string, string>} authConfigs - The auth configs to use in the tool router session
|
|
31822
31825
|
* @param {Record<string, string>} connectedAccounts - The connected accounts to use in the tool router session
|
|
31823
31826
|
* @param {ToolRouterConfigManageConnectionsSchema | boolean} manageConnections - The config for the manage connections in the tool router session. Defaults to true, if set to false, you need to manage connections manually. If set to an object, you can configure the manage connections settings.
|
package/dist/index.mjs
CHANGED
|
@@ -3467,9 +3467,10 @@ const ToolkitMangedByEnumSchema = z$1.enum([
|
|
|
3467
3467
|
const ToolkitSortByEnumSchema = z$1.enum(["usage", "alphabetically"]);
|
|
3468
3468
|
const ToolkitsListParamsSchema = z$1.object({
|
|
3469
3469
|
category: z$1.string().optional(),
|
|
3470
|
-
isLocal: z$1.boolean().optional(),
|
|
3471
3470
|
managedBy: ToolkitMangedByEnumSchema.optional(),
|
|
3472
|
-
sortBy: ToolkitSortByEnumSchema.optional()
|
|
3471
|
+
sortBy: ToolkitSortByEnumSchema.optional(),
|
|
3472
|
+
cursor: z$1.string().optional(),
|
|
3473
|
+
limit: z$1.number().optional()
|
|
3473
3474
|
});
|
|
3474
3475
|
/**
|
|
3475
3476
|
* Toolkits response
|
|
@@ -4387,9 +4388,10 @@ var Toolkits = class {
|
|
|
4387
4388
|
if (!parsedQuery.success) throw new ValidationError("Failed to parse toolkit list query", { cause: parsedQuery.error });
|
|
4388
4389
|
return transformToolkitListResponse(await this.client.toolkits.list({
|
|
4389
4390
|
category: parsedQuery.data.category,
|
|
4390
|
-
is_local: parsedQuery.data.isLocal,
|
|
4391
4391
|
managed_by: parsedQuery.data.managedBy,
|
|
4392
|
-
sort_by: parsedQuery.data.sortBy
|
|
4392
|
+
sort_by: parsedQuery.data.sortBy,
|
|
4393
|
+
cursor: parsedQuery.data.cursor,
|
|
4394
|
+
limit: parsedQuery.data.limit
|
|
4393
4395
|
}));
|
|
4394
4396
|
} catch (error) {
|
|
4395
4397
|
throw new ComposioToolkitFetchError("Failed to fetch toolkits", { cause: error });
|
|
@@ -6222,7 +6224,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
6222
6224
|
|
|
6223
6225
|
//#endregion
|
|
6224
6226
|
//#region package.json
|
|
6225
|
-
var version = "0.3.
|
|
6227
|
+
var version = "0.3.2";
|
|
6226
6228
|
|
|
6227
6229
|
//#endregion
|
|
6228
6230
|
//#region src/models/Files.ts
|
|
@@ -6346,7 +6348,8 @@ const ToolRouterToolsParamSchema = z.array(z.string()).describe("The tools to us
|
|
|
6346
6348
|
const ToolRouterToolsTagsParamSchema = z.array(z.enum([
|
|
6347
6349
|
"readOnlyHint",
|
|
6348
6350
|
"destructiveHint",
|
|
6349
|
-
"idempotentHint"
|
|
6351
|
+
"idempotentHint",
|
|
6352
|
+
"openWorldHint"
|
|
6350
6353
|
])).describe("The tags to filter the tools by");
|
|
6351
6354
|
const ToolRouterConfigToolsSchema = z.union([
|
|
6352
6355
|
ToolRouterToolsParamSchema,
|
|
@@ -6451,7 +6454,7 @@ var ToolRouter = class {
|
|
|
6451
6454
|
createAuthorizeFn = (sessionId) => {
|
|
6452
6455
|
const authorizeFn = async (toolkit, options) => {
|
|
6453
6456
|
const response = await this.client.toolRouter.session.link(sessionId, {
|
|
6454
|
-
...options
|
|
6457
|
+
...options?.callbackUrl ? { callback_url: options.callbackUrl } : {},
|
|
6455
6458
|
toolkit
|
|
6456
6459
|
});
|
|
6457
6460
|
return createConnectionRequest(this.client, response.connected_account_id, ConnectedAccountStatuses.INITIATED, response.redirect_url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composio/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"zod": "^3.25 || ^4"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@composio/client": "0.1.0-alpha.
|
|
47
|
+
"@composio/client": "0.1.0-alpha.51",
|
|
48
48
|
"@types/json-schema": "^7.0.15",
|
|
49
49
|
"chalk": "^4.1.2",
|
|
50
50
|
"openai": "^5.16.0",
|
package/generated/ably.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Map of Composio's ABLY toolkit.
|
|
3
|
-
*/
|
|
4
|
-
export const ABLY = {
|
|
5
|
-
slug: "ably",
|
|
6
|
-
tools: {
|
|
7
|
-
BATCH_PRESENCE: "ABLY_BATCH_PRESENCE",
|
|
8
|
-
BATCH_PRESENCE_HISTORY: "ABLY_BATCH_PRESENCE_HISTORY",
|
|
9
|
-
CREATE_CHANNEL: "ABLY_CREATE_CHANNEL",
|
|
10
|
-
DELETE_CHANNEL_SUBSCRIPTION: "ABLY_DELETE_CHANNEL_SUBSCRIPTION",
|
|
11
|
-
GET_CHANNEL_DETAILS: "ABLY_GET_CHANNEL_DETAILS",
|
|
12
|
-
GET_CHANNEL_HISTORY: "ABLY_GET_CHANNEL_HISTORY",
|
|
13
|
-
GET_PRESENCE_HISTORY: "ABLY_GET_PRESENCE_HISTORY",
|
|
14
|
-
GET_SERVICE_TIME: "ABLY_GET_SERVICE_TIME",
|
|
15
|
-
GET_STATS: "ABLY_GET_STATS",
|
|
16
|
-
LIST_PUSH_CHANNEL_SUBSCRIPTIONS: "ABLY_LIST_PUSH_CHANNEL_SUBSCRIPTIONS",
|
|
17
|
-
PUBLISH_MESSAGE_TO_CHANNEL: "ABLY_PUBLISH_MESSAGE_TO_CHANNEL",
|
|
18
|
-
},
|
|
19
|
-
triggerTypes: {},
|
|
20
|
-
}
|
package/generated/accelo.ts
DELETED
package/generated/acculynx.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Map of Composio's ACCULYNX toolkit.
|
|
3
|
-
*/
|
|
4
|
-
export const ACCULYNX = {
|
|
5
|
-
slug: "acculynx",
|
|
6
|
-
tools: {
|
|
7
|
-
ADD_JOB_APPOINTMENT: "ACCULYNX_ADD_JOB_APPOINTMENT",
|
|
8
|
-
CREATE_A_CONTACT: "ACCULYNX_CREATE_A_CONTACT",
|
|
9
|
-
CREATE_A_JOB: "ACCULYNX_CREATE_A_JOB",
|
|
10
|
-
CREATE_A_LEAD: "ACCULYNX_CREATE_A_LEAD",
|
|
11
|
-
JOB_APPOINTMENT_SUMMARY: "ACCULYNX_JOB_APPOINTMENT_SUMMARY",
|
|
12
|
-
LIST_OF_CALENDARS_FOR_THE_LOCATION: "ACCULYNX_LIST_OF_CALENDARS_FOR_THE_LOCATION",
|
|
13
|
-
LIST_OF_CONTACT_TYPES_RELATED_TO_THE_COMPANY: "ACCULYNX_LIST_OF_CONTACT_TYPES_RELATED_TO_THE_COMPANY",
|
|
14
|
-
UPDATE_COMPANY_REPRESENTATIVE: "ACCULYNX_UPDATE_COMPANY_REPRESENTATIVE",
|
|
15
|
-
},
|
|
16
|
-
triggerTypes: {},
|
|
17
|
-
}
|