aui-agent-builder 0.3.160 → 0.3.161
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/README.md +10 -17
- package/dist/api-client/apollo-client.d.ts.map +1 -1
- package/dist/api-client/apollo-client.js +2 -2
- package/dist/api-client/apollo-client.js.map +1 -1
- package/dist/commands/account.d.ts +11 -4
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +76 -59
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/agents.d.ts +0 -1
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/agents.js +80 -15
- package/dist/commands/agents.js.map +1 -1
- package/dist/commands/apollo.d.ts +5 -27
- package/dist/commands/apollo.d.ts.map +1 -1
- package/dist/commands/apollo.js +24 -36
- package/dist/commands/apollo.js.map +1 -1
- package/dist/commands/import-agent.d.ts +7 -0
- package/dist/commands/import-agent.d.ts.map +1 -1
- package/dist/commands/import-agent.js +27 -14
- package/dist/commands/import-agent.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +76 -26
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/integration-mcp-test.d.ts +13 -7
- package/dist/commands/integration-mcp-test.d.ts.map +1 -1
- package/dist/commands/integration-mcp-test.js +35 -51
- package/dist/commands/integration-mcp-test.js.map +1 -1
- package/dist/commands/integration-mcp-url.d.ts +40 -0
- package/dist/commands/integration-mcp-url.d.ts.map +1 -0
- package/dist/commands/integration-mcp-url.js +162 -0
- package/dist/commands/integration-mcp-url.js.map +1 -0
- package/dist/commands/integration.d.ts +51 -9
- package/dist/commands/integration.d.ts.map +1 -1
- package/dist/commands/integration.js +231 -66
- package/dist/commands/integration.js.map +1 -1
- package/dist/commands/report.d.ts +2 -13
- package/dist/commands/report.d.ts.map +1 -1
- package/dist/commands/report.js +1 -13
- package/dist/commands/report.js.map +1 -1
- package/dist/commands/util/apollo-agent.d.ts.map +1 -1
- package/dist/commands/util/apollo-agent.js +3 -1
- package/dist/commands/util/apollo-agent.js.map +1 -1
- package/dist/commands/version.d.ts.map +1 -1
- package/dist/commands/version.js +6 -1
- package/dist/commands/version.js.map +1 -1
- package/dist/config/index.d.ts +8 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +9 -0
- package/dist/config/index.js.map +1 -1
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +10 -3
- package/dist/errors/index.js.map +1 -1
- package/dist/index.js +159 -78
- package/dist/index.js.map +1 -1
- package/dist/services/agents.service.d.ts.map +1 -1
- package/dist/services/agents.service.js +5 -2
- package/dist/services/agents.service.js.map +1 -1
- package/dist/services/integration.service.d.ts +282 -7
- package/dist/services/integration.service.d.ts.map +1 -1
- package/dist/services/integration.service.js +366 -29
- package/dist/services/integration.service.js.map +1 -1
- package/dist/services/pull-schema.service.d.ts +1 -1
- package/dist/services/pull-schema.service.d.ts.map +1 -1
- package/dist/services/pull-schema.service.js +6 -14
- package/dist/services/pull-schema.service.js.map +1 -1
- package/dist/ui/views/IntegrationView.d.ts +3 -1
- package/dist/ui/views/IntegrationView.d.ts.map +1 -1
- package/dist/ui/views/IntegrationView.js +2 -2
- package/dist/ui/views/IntegrationView.js.map +1 -1
- package/dist/utils/agent-injection.d.ts +1 -1
- package/dist/utils/agent-injection.d.ts.map +1 -1
- package/dist/utils/agent-injection.js +3 -5
- package/dist/utils/agent-injection.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.service.d.ts","sourceRoot":"","sources":["../../src/services/agents.service.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAItE,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACx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AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,WAAW,CAAC,CAYpE;AAYD,wBAAsB,UAAU,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,CA2D9E;AAED,wBAAsB,YAAY,CAChC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,gBAAgB,CAAC,CAkB3B;AAED,wBAAgB,aAAa,CAC3B,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,SAAS,EAChB,OAAO,CAAC,EAAE,YAAY,GACrB,iBAAiB,CAyCnB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAGpD"}
|
|
@@ -41,8 +41,11 @@ export async function listAgents(session) {
|
|
|
41
41
|
catch {
|
|
42
42
|
// agent-management not available
|
|
43
43
|
}
|
|
44
|
-
// Fall back to old networks endpoint
|
|
45
|
-
|
|
44
|
+
// Fall back to old networks endpoint. Only attempt this when an account is
|
|
45
|
+
// in scope — the legacy endpoint requires a non-empty `account`, and calling
|
|
46
|
+
// it with an empty account yields a confusing backend 500 ("Cast to ObjectId
|
|
47
|
+
// failed for value \"\" at path \"account\"") that gets swallowed here.
|
|
48
|
+
if (allAgents.length === 0 && session.account_id) {
|
|
46
49
|
try {
|
|
47
50
|
const resp = await client.networks.list();
|
|
48
51
|
for (const n of resp.data) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.service.js","sourceRoot":"","sources":["../../src/services/agents.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,WAAW,GACZ,MAAM,oBA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C,uBAAuB,CAAC;IACzC,CAAC;IAED,WAAW,CAAC,OAAO,CAAC,CAAC;IAErB,MAAM,YAAY,GAAG,OAAO;QAC1B,CAAC,CAAC,MAAM,OAAO,CAAC,cAAc,IAAI,OAAO,CAAC,uBAAuB,GAAG;QACpE,CAAC,CAAC,EAAE,CAAC;IACP,OAAO;QACL,OAAO,EAAE,IAAI;QACb,KAAK;QACL,OAAO;QACP,OAAO,EAAE,sBAAsB,KAAK,CAAC,IAAI,GAAG,YAAY,EAAE;KAC3D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,KAAc;IAC1C,MAAM,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,OAAO,MAAM,CAAC,OAAO,CAAC;AACxB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AuthSchemeType, ConnectedAccountListResponse } from "@composio/core";
|
|
2
2
|
import type { UserSession } from "../config/index.js";
|
|
3
|
+
import type { Composio } from "@composio/core";
|
|
3
4
|
export type { AuthSchemeType };
|
|
4
5
|
export interface MCPToolProperty {
|
|
5
6
|
type?: string;
|
|
@@ -25,10 +26,131 @@ export interface MCPTool {
|
|
|
25
26
|
export interface MCPDiscoveryResult {
|
|
26
27
|
tools: MCPTool[];
|
|
27
28
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Mirrors the backend `MCPIntegrationTransportType` enum.
|
|
31
|
+
*/
|
|
32
|
+
export type MCPIntegrationTransportType = "STREAMABLE_HTTP" | "SSE";
|
|
33
|
+
/**
|
|
34
|
+
* Mirrors the backend `MCPAuthType` enum exactly (see
|
|
35
|
+
* `app/schemas/mcp.py`).
|
|
36
|
+
*
|
|
37
|
+
* Historically the CLI also accepted a generic `token` alias and mapped
|
|
38
|
+
* it to `bearer_token` for ergonomics. The alias is no longer part of
|
|
39
|
+
* the wire type — it is collapsed inside {@link buildAuthFromFlags}
|
|
40
|
+
* before any value of this type is constructed — so we keep the wire
|
|
41
|
+
* surface honest and never leak `"token"` to `/v1/integrations/view`,
|
|
42
|
+
* `/v1/integrations/mcp/list`, or `/v1/integrations/mcp/test`.
|
|
43
|
+
*/
|
|
44
|
+
export type MCPAuthenticationType = "none" | "bearer_token" | "api_key" | "oauth_client_credentials";
|
|
45
|
+
/** Mirrors the backend `MCPOAuthClientCredentials` schema. */
|
|
46
|
+
export interface MCPOAuthClientCredentials {
|
|
47
|
+
/** OAuth2 token endpoint URL. */
|
|
48
|
+
url: string;
|
|
49
|
+
/** HTTP method used to fetch the token. Backend default is `POST`. */
|
|
50
|
+
method: "GET" | "POST";
|
|
51
|
+
/** OAuth2 client id. */
|
|
52
|
+
client_id: string;
|
|
53
|
+
/** OAuth2 client secret. */
|
|
54
|
+
client_secret: string;
|
|
55
|
+
/**
|
|
56
|
+
* OAuth2 grant type. Backend treats this as a free string with a
|
|
57
|
+
* default of `"client_credentials"`; the CLI defaults to the same
|
|
58
|
+
* value but does not constrain the input so future grants don't need
|
|
59
|
+
* a CLI release.
|
|
60
|
+
*/
|
|
61
|
+
grant_type: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Credentials applied to every DIRECT MCP HTTP request. Mirrors the
|
|
65
|
+
* backend `MCPAuthentication` schema exactly — the four fields the
|
|
66
|
+
* backend declares and nothing else. Cross-field rules (e.g. `api_key`
|
|
67
|
+
* requires `header_name`, `oauth_client_credentials` requires the
|
|
68
|
+
* nested block) are enforced server-side; we do not duplicate them in
|
|
69
|
+
* TS so callers stay aware that the canonical schema owns validity.
|
|
70
|
+
*/
|
|
71
|
+
export interface MCPAuthentication {
|
|
72
|
+
type: MCPAuthenticationType;
|
|
73
|
+
/** Credential value for `bearer_token` or `api_key`. */
|
|
74
|
+
value?: string;
|
|
75
|
+
/** Header name when `type` is `api_key`. */
|
|
76
|
+
header_name?: string;
|
|
77
|
+
/** Required when `type` is `oauth_client_credentials`. */
|
|
78
|
+
oauth_client_credentials?: MCPOAuthClientCredentials;
|
|
31
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* @deprecated Use `MCPAuthentication` (canonical). Kept as an alias so
|
|
82
|
+
* external callers still compile while we migrate. New code should use
|
|
83
|
+
* the canonical type directly.
|
|
84
|
+
*/
|
|
85
|
+
export type MCPAuthConfig = MCPAuthentication;
|
|
86
|
+
/**
|
|
87
|
+
* CLI-side flag bag accepted by {@link buildAuthFromFlags}. Mirrors the
|
|
88
|
+
* `--auth-*` / `--oauth-*` flag families that every MCP command exposes,
|
|
89
|
+
* so the same loose-typed `options` object Commander hands us can be
|
|
90
|
+
* passed straight through without reshaping at each call site.
|
|
91
|
+
*
|
|
92
|
+
* Field set is intentionally narrow — only flags that map onto fields
|
|
93
|
+
* the backend schema actually declares (see `MCPAuthentication` /
|
|
94
|
+
* `MCPOAuthClientCredentials` above). All fields are optional;
|
|
95
|
+
* `buildAuthFromFlags` falls back to `{ type: "none" }` when nothing is
|
|
96
|
+
* supplied.
|
|
97
|
+
*/
|
|
98
|
+
export interface MCPAuthFlags {
|
|
99
|
+
/**
|
|
100
|
+
* Canonical `MCPAuthenticationType` or the legacy `token` alias.
|
|
101
|
+
* Case-insensitive. `token` is mapped to `bearer_token` inside
|
|
102
|
+
* `buildAuthFromFlags` and never escapes to the wire.
|
|
103
|
+
*/
|
|
104
|
+
authType?: string;
|
|
105
|
+
/** Credential value — lands at `authentication.value`. */
|
|
106
|
+
authToken?: string;
|
|
107
|
+
/** HTTP header carrying the credential (required for `api_key`). */
|
|
108
|
+
authHeaderName?: string;
|
|
109
|
+
/** `oauth_client_credentials`: token endpoint URL. */
|
|
110
|
+
oauthUrl?: string;
|
|
111
|
+
/** `oauth_client_credentials`: HTTP method. Backend default `POST`. */
|
|
112
|
+
oauthMethod?: string;
|
|
113
|
+
/** `oauth_client_credentials`: OAuth client id. */
|
|
114
|
+
oauthClientId?: string;
|
|
115
|
+
/** `oauth_client_credentials`: OAuth client secret. */
|
|
116
|
+
oauthClientSecret?: string;
|
|
117
|
+
/** `oauth_client_credentials`: OAuth grant type. Default `client_credentials`. */
|
|
118
|
+
oauthGrantType?: string;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Parse a raw `--transport-type` value into the canonical enum. Returns
|
|
122
|
+
* `undefined` when not supplied so callers can pass it through verbatim
|
|
123
|
+
* and let the service / schema apply its default (`STREAMABLE_HTTP`).
|
|
124
|
+
*
|
|
125
|
+
* Throws a plain {@link Error} on an unrecognised value — commands
|
|
126
|
+
* should let `handleError` surface it through the JSON envelope.
|
|
127
|
+
*/
|
|
128
|
+
export declare function parseTransportType(raw: string | undefined): MCPIntegrationTransportType | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* Build a canonical {@link MCPAuthentication} from a Commander options
|
|
131
|
+
* object. Centralises two things:
|
|
132
|
+
*
|
|
133
|
+
* 1. The legacy `--auth-type token` alias → `bearer_token`. The alias
|
|
134
|
+
* is collapsed here so it never reaches any wire type — see
|
|
135
|
+
* `MCPAuthenticationType` JSDoc for context.
|
|
136
|
+
* 2. The `oauth_client_credentials` flag-set (`--oauth-url`,
|
|
137
|
+
* `--oauth-client-id`, …) → the nested
|
|
138
|
+
* `oauth_client_credentials` block. `method` and `grant_type`
|
|
139
|
+
* default to `"POST"` and `"client_credentials"` (matching the
|
|
140
|
+
* backend defaults) but the CLI does not constrain non-default
|
|
141
|
+
* values — that's the schema's job.
|
|
142
|
+
*
|
|
143
|
+
* The emitted shape contains ONLY the four fields the backend's
|
|
144
|
+
* `MCPAuthentication` schema declares (`type`, `value`, `header_name`,
|
|
145
|
+
* `oauth_client_credentials`). Cross-field validity is left to the
|
|
146
|
+
* server-side validator — invalid combinations surface as a normal
|
|
147
|
+
* validation error from the backend, which keeps the CLI honest about
|
|
148
|
+
* who owns the contract.
|
|
149
|
+
*
|
|
150
|
+
* Returns `{ type: "none" }` when `--auth-type` is omitted or explicitly
|
|
151
|
+
* set to `none`.
|
|
152
|
+
*/
|
|
153
|
+
export declare function buildAuthFromFlags(opts: MCPAuthFlags): MCPAuthentication;
|
|
32
154
|
export interface ScopeIds {
|
|
33
155
|
organizationId: string;
|
|
34
156
|
accountId: string;
|
|
@@ -44,19 +166,110 @@ export interface ScopeIds {
|
|
|
44
166
|
*/
|
|
45
167
|
agentId?: string;
|
|
46
168
|
}
|
|
47
|
-
|
|
169
|
+
/**
|
|
170
|
+
* Discriminator value on `IntegrationMCPSettings.type` — mirrors the
|
|
171
|
+
* backend `MCPIntegrationType` enum
|
|
172
|
+
* (`agent_settings_transcoder/schemas/backend/integration.py`).
|
|
173
|
+
*/
|
|
174
|
+
export type MCPIntegrationType = "DIRECT" | "COMPOSIO";
|
|
175
|
+
/**
|
|
176
|
+
* Fields common to every MCP integration create request, regardless of
|
|
177
|
+
* variant. Variant-specific fields live on the per-variant interfaces.
|
|
178
|
+
*/
|
|
179
|
+
interface CreateMCPIntegrationRequestBase {
|
|
48
180
|
name: string;
|
|
49
181
|
display_name: string;
|
|
50
182
|
description: string;
|
|
183
|
+
/**
|
|
184
|
+
* MCP transport. Mirrors `IntegrationMCPSettings.transport_type`.
|
|
185
|
+
* Defaults to `STREAMABLE_HTTP` at the wire layer when omitted (matches
|
|
186
|
+
* the backend schema default).
|
|
187
|
+
*/
|
|
188
|
+
transport_type?: MCPIntegrationTransportType;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Create a DIRECT MCP integration — the caller owns the MCP server and
|
|
192
|
+
* supplies its HTTP URL + per-request auth. Mirrors the DIRECT branch of
|
|
193
|
+
* `IntegrationMCPSettings` (server_url required, composio omitted).
|
|
194
|
+
*/
|
|
195
|
+
export interface CreateDirectMCPIntegrationRequest extends CreateMCPIntegrationRequestBase {
|
|
196
|
+
type: "DIRECT";
|
|
197
|
+
/** HTTPS URL of the caller's MCP server. Required for DIRECT. */
|
|
51
198
|
server_url: string;
|
|
52
|
-
|
|
199
|
+
/**
|
|
200
|
+
* Credentials applied to every MCP HTTP request. Canonical
|
|
201
|
+
* `MCPAuthentication` shape — built and passed through by the command
|
|
202
|
+
* layer; the service does not re-shape it.
|
|
203
|
+
*/
|
|
204
|
+
authentication: MCPAuthentication;
|
|
205
|
+
/** Allowed tool names exposed by the MCP server. */
|
|
53
206
|
tool_names: string[];
|
|
54
|
-
composio?: ComposioIntegrationData;
|
|
55
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* Create a COMPOSIO MCP integration — Composio hosts the MCP server and
|
|
210
|
+
* we persist both a caller-stable `server_id` and the provisioned
|
|
211
|
+
* `server_url` so the runtime / downstream consumers can hit the MCP
|
|
212
|
+
* endpoint without re-provisioning.
|
|
213
|
+
*
|
|
214
|
+
* Mirrors the COMPOSIO branch of `IntegrationMCPSettings`:
|
|
215
|
+
* - `composio` (`ComposioIntegrationSchema`) is required.
|
|
216
|
+
* - `server_url` is **optional** in the canonical Pydantic schema (the
|
|
217
|
+
* validator only *requires* it for DIRECT) but in the CLI we always
|
|
218
|
+
* provision it up-front via `getComposioServerUrl` before calling
|
|
219
|
+
* `saveIntegration`. Modeling it as required here keeps the type
|
|
220
|
+
* faithful to actual CLI usage and prevents callers from accidentally
|
|
221
|
+
* dropping it on the floor.
|
|
222
|
+
*/
|
|
223
|
+
export interface CreateComposioMCPIntegrationRequest extends CreateMCPIntegrationRequestBase {
|
|
224
|
+
type: "COMPOSIO";
|
|
225
|
+
/**
|
|
226
|
+
* Composio-specific payload — mirrors `ComposioIntegrationSchema`.
|
|
227
|
+
* `server_id` is the durable MCP-server handle; the MCP URL can also
|
|
228
|
+
* be regenerated per-user from it at runtime if `server_url` ever
|
|
229
|
+
* needs to be refreshed.
|
|
230
|
+
*/
|
|
231
|
+
composio: ComposioIntegrationData;
|
|
232
|
+
/**
|
|
233
|
+
* Provisioned Composio MCP HTTP URL (from `getComposioServerUrl`).
|
|
234
|
+
* Always supplied by the CLI on create so the runtime can hit the
|
|
235
|
+
* MCP endpoint without round-tripping Composio to mint a fresh URL
|
|
236
|
+
* from `composio.server_id`.
|
|
237
|
+
*/
|
|
238
|
+
server_url: string;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Discriminated union covering both MCP integration variants. Use the
|
|
242
|
+
* `type` field to pick a branch — TypeScript will narrow the rest of
|
|
243
|
+
* the fields for you.
|
|
244
|
+
*/
|
|
245
|
+
export type CreateMCPIntegrationRequest = CreateDirectMCPIntegrationRequest | CreateComposioMCPIntegrationRequest;
|
|
246
|
+
/**
|
|
247
|
+
* Mirrors the backend `ComposioIntegrationSchema`
|
|
248
|
+
* (`agent_settings_transcoder/schemas/backend/integration.py`):
|
|
249
|
+
*
|
|
250
|
+
* { user_id, toolkits, tool_names, server_id? }
|
|
251
|
+
*
|
|
252
|
+
* We also carry `server_url` here (in addition to `IntegrationMCPSettings.server_url`)
|
|
253
|
+
* so downstream consumers that walk the `composio` payload in isolation have
|
|
254
|
+
* everything they need to hit the MCP endpoint without re-provisioning.
|
|
255
|
+
*/
|
|
56
256
|
export interface ComposioIntegrationData {
|
|
57
257
|
user_id: string;
|
|
58
258
|
toolkits: string[];
|
|
59
259
|
tool_names: string[];
|
|
260
|
+
/**
|
|
261
|
+
* Caller-stable MCP server identifier used as the server's name in
|
|
262
|
+
* Composio. Persisted on the integration so subsequent runs (and the
|
|
263
|
+
* runtime) can regenerate the per-user MCP URL deterministically.
|
|
264
|
+
*/
|
|
265
|
+
server_id?: string;
|
|
266
|
+
/**
|
|
267
|
+
* Provisioned Composio MCP HTTP URL — duplicated from
|
|
268
|
+
* `IntegrationMCPSettings.server_url` so consumers that only see the
|
|
269
|
+
* `composio` payload (e.g. when surfacing it as an isolated DTO) can
|
|
270
|
+
* still reach the MCP endpoint without needing the outer settings.
|
|
271
|
+
*/
|
|
272
|
+
server_url?: string;
|
|
60
273
|
}
|
|
61
274
|
export interface ComposioToolkitInfo {
|
|
62
275
|
slug: string;
|
|
@@ -99,7 +312,7 @@ export declare function resolveScopeIds(session: UserSession, overrides?: {
|
|
|
99
312
|
* Fetch the network_category_id from the network endpoint if not already known.
|
|
100
313
|
*/
|
|
101
314
|
export declare function resolveNetworkCategoryId(session: UserSession, networkId: string, scope: ScopeIds): Promise<string>;
|
|
102
|
-
export declare function discoverMCPTools(session: UserSession, serverUrl: string, scope: ScopeIds, auth?:
|
|
315
|
+
export declare function discoverMCPTools(session: UserSession, serverUrl: string, scope: ScopeIds, auth?: MCPAuthentication, transportType?: MCPIntegrationTransportType): Promise<MCPDiscoveryResult>;
|
|
103
316
|
export declare function saveIntegration(session: UserSession, request: CreateMCPIntegrationRequest, scope: ScopeIds): Promise<IntegrationResult>;
|
|
104
317
|
export declare function resetComposioClient(): void;
|
|
105
318
|
/**
|
|
@@ -137,6 +350,35 @@ export interface ComposioToolkitAuthInfo {
|
|
|
137
350
|
*/
|
|
138
351
|
export declare function getComposioToolkitAuthInfo(apiKey: string, toolkitSlug: string): Promise<ComposioToolkitAuthInfo>;
|
|
139
352
|
export declare function getComposioConnectedAccounts(apiKey: string, userId: string, toolkitSlug: string): Promise<ConnectedAccountListResponse>;
|
|
353
|
+
export interface ComposioToolkitConnectionStatus {
|
|
354
|
+
/** True when the toolkit does not require authentication at all. */
|
|
355
|
+
isNoAuth: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* Auth mode declared by the toolkit (e.g. `OAUTH2`, `API_KEY`).
|
|
358
|
+
* `undefined` for NO_AUTH toolkits.
|
|
359
|
+
*/
|
|
360
|
+
authMode?: string;
|
|
361
|
+
/** Whether `userId` has an ACTIVE, non-disabled connected account. */
|
|
362
|
+
isConnected: boolean;
|
|
363
|
+
/** ID of that connected account when `isConnected` is true. */
|
|
364
|
+
connectedAccountId?: string;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Pre-flight check for "is this toolkit usable by this user?". Returns a
|
|
368
|
+
* status struct so callers can decide how to react (throw, redirect to
|
|
369
|
+
* `aui integration create`, or proceed). Does NOT mutate any state.
|
|
370
|
+
*
|
|
371
|
+
* - NO_AUTH toolkits → `{ isNoAuth: true, isConnected: true }` (nothing to do).
|
|
372
|
+
* - Auth-required toolkits → `isConnected` reflects whether the user already
|
|
373
|
+
* has an ACTIVE, non-disabled connected account for the toolkit (same
|
|
374
|
+
* predicate `resolveComposioToolkitAuth` uses to short-circuit).
|
|
375
|
+
*
|
|
376
|
+
* This catches the gap that `resolveComposioAuthConfigId` misses: a toolkit
|
|
377
|
+
* can have an auth-config provisioned globally (so MCP-server creation
|
|
378
|
+
* succeeds) while THIS user has not yet linked their account — in which
|
|
379
|
+
* case MCP tool calls would fail at runtime.
|
|
380
|
+
*/
|
|
381
|
+
export declare function getComposioToolkitConnectionStatus(apiKey: string, userId: string, toolkitSlug: string): Promise<ComposioToolkitConnectionStatus>;
|
|
140
382
|
/**
|
|
141
383
|
* Resolves auth for a toolkit:
|
|
142
384
|
*
|
|
@@ -180,6 +422,39 @@ export declare function waitForComposioConnection(authResult: ComposioAuthResult
|
|
|
180
422
|
id: string;
|
|
181
423
|
status: string;
|
|
182
424
|
}>;
|
|
425
|
+
interface ComposioMcpServerSpec {
|
|
426
|
+
toolkit: string;
|
|
427
|
+
name: string;
|
|
428
|
+
allowedTools: string[];
|
|
429
|
+
authConfigId?: string;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Look up the MCP server for `(toolkit, name)` and reuse it when its
|
|
433
|
+
* allowed tool-set and toolkit list still match. If either has drifted,
|
|
434
|
+
* the server is deleted and recreated in place so the configuration
|
|
435
|
+
* stays canonical.
|
|
436
|
+
*/
|
|
437
|
+
export declare function getOrCreateComposioMcpServerId(composio: Composio, spec: ComposioMcpServerSpec): Promise<string>;
|
|
438
|
+
/**
|
|
439
|
+
* Resolve the Composio MCP HTTP URL for a `(toolkit, user)` pair.
|
|
440
|
+
*
|
|
441
|
+
* `serverId` is a **caller-stable identifier** used as the MCP server's
|
|
442
|
+
* name in Composio — pass one in to reuse an existing server across
|
|
443
|
+
* runs, or omit it to mint a fresh UUID-prefixed name. The returned
|
|
444
|
+
* `serverId` is whatever was used (input or generated), NOT Composio's
|
|
445
|
+
* internal config id — callers persist it so subsequent calls resolve
|
|
446
|
+
* the same MCP server.
|
|
447
|
+
*/
|
|
448
|
+
export declare function getComposioServerUrl(apiKey: string, params: {
|
|
449
|
+
composioUserId: string;
|
|
450
|
+
toolkit: string;
|
|
451
|
+
allowedTools: string[];
|
|
452
|
+
/** Reuse an existing server name. Generated when omitted. */
|
|
453
|
+
serverId?: string;
|
|
454
|
+
}): Promise<{
|
|
455
|
+
url: string;
|
|
456
|
+
serverId: string;
|
|
457
|
+
}>;
|
|
183
458
|
export interface ComposioToolsResult {
|
|
184
459
|
tools: MCPTool[];
|
|
185
460
|
nextCursor?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.service.d.ts","sourceRoot":"","sources":["../../src/services/integration.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAA2B,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAQ5G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"integration.service.d.ts","sourceRoot":"","sources":["../../src/services/integration.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAA2B,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAQ5G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAStD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EA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