aui-agent-builder 0.3.58 → 0.3.60
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 +39 -1
- package/dist/commands/integration.d.ts +48 -0
- package/dist/commands/integration.d.ts.map +1 -0
- package/dist/commands/integration.js +1265 -0
- package/dist/commands/integration.js.map +1 -0
- package/dist/index.js +60 -0
- package/dist/index.js.map +1 -1
- package/dist/services/integration.service.d.ts +112 -0
- package/dist/services/integration.service.d.ts.map +1 -0
- package/dist/services/integration.service.js +502 -0
- package/dist/services/integration.service.js.map +1 -0
- package/dist/ui/views/IntegrationView.d.ts +25 -0
- package/dist/ui/views/IntegrationView.d.ts.map +1 -0
- package/dist/ui/views/IntegrationView.js +23 -0
- package/dist/ui/views/IntegrationView.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -255,6 +255,42 @@ aui status # Session, agent, and project info
|
|
|
255
255
|
aui revert # Discard local changes
|
|
256
256
|
```
|
|
257
257
|
|
|
258
|
+
### Integrations
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
aui integration # Interactive menu — Create or Discover
|
|
262
|
+
aui integration create # Guided flow — org, account, agent, Manual or Native MCP
|
|
263
|
+
aui integration discover # Guided MCP tool discovery
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
**Non-interactive — Manual MCP:**
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
aui integration create --name "My MCP" --url <url> --all-tools
|
|
270
|
+
aui integration create --name "My MCP" --url <url> --tools tool1,tool2
|
|
271
|
+
aui integration create --name "My MCP" --url <url> --all-tools --auth-type token --auth-token <token>
|
|
272
|
+
aui integration discover --url <url>
|
|
273
|
+
aui integration discover --url <url> --auth-type token --auth-token <token>
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
**Non-interactive — Native MCP:**
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
aui integration create --toolkit notion --name "Notion" --all-tools
|
|
280
|
+
aui integration create --toolkit github --name "GitHub" --tools GITHUB_CREATE_ISSUE,GITHUB_GET_ISSUE
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
**Shared flags (both Manual & Native):**
|
|
284
|
+
|
|
285
|
+
| Flag | Description |
|
|
286
|
+
|------|-------------|
|
|
287
|
+
| `--organization-id <id>` | Skip org selection |
|
|
288
|
+
| `--account-id <id>` | Skip account selection |
|
|
289
|
+
| `--network-id <id>` | Skip agent selection |
|
|
290
|
+
| `--version-id <id>` | Agent version ID |
|
|
291
|
+
| `--config-method <manual\|native>` | Force config method |
|
|
292
|
+
| `--json` | Machine-readable JSON output |
|
|
293
|
+
|
|
258
294
|
### Chat & Testing
|
|
259
295
|
|
|
260
296
|
```bash
|
|
@@ -272,7 +308,8 @@ aui account # Manage accounts (list, create, switc
|
|
|
272
308
|
aui env # Show current environment
|
|
273
309
|
aui env staging # Switch environment
|
|
274
310
|
aui pull-schema # Fetch domain schemas from backend
|
|
275
|
-
aui add-integration # Add API / RAG / MCP integration
|
|
311
|
+
aui add-integration # Add API / RAG / MCP integration (legacy)
|
|
312
|
+
aui integration create # Create MCP integration (Manual or Native)
|
|
276
313
|
aui upgrade # Update to latest version
|
|
277
314
|
```
|
|
278
315
|
|
|
@@ -285,6 +322,7 @@ aui upgrade # Update to latest version
|
|
|
285
322
|
| `aui agents` | `aui agent` |
|
|
286
323
|
| `aui ls` | `aui list-agents` |
|
|
287
324
|
| `aui versions` | `aui version` |
|
|
325
|
+
| `aui integrations` | `aui integration` |
|
|
288
326
|
|
|
289
327
|
---
|
|
290
328
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* integration command - Create and manage MCP integrations
|
|
3
|
+
*
|
|
4
|
+
* Supports both interactive and non-interactive (scripting) modes.
|
|
5
|
+
* Interactive flow: type → config method → org → account → agent → name → URL → auth → discover → select tools → save
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* aui integration Interactive menu
|
|
9
|
+
* aui integration create Interactive MCP integration creation
|
|
10
|
+
* aui integration create --name "My MCP" --url <url> --tools tool1,tool2
|
|
11
|
+
* aui integration discover --url <url> Discover tools from an MCP server
|
|
12
|
+
*
|
|
13
|
+
* All subcommands support --json for machine-readable output.
|
|
14
|
+
*/
|
|
15
|
+
export interface IntegrationOptions {
|
|
16
|
+
create?: boolean;
|
|
17
|
+
discover?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface IntegrationCreateOptions {
|
|
20
|
+
name?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
url?: string;
|
|
23
|
+
authType?: string;
|
|
24
|
+
authToken?: string;
|
|
25
|
+
tools?: string;
|
|
26
|
+
allTools?: boolean;
|
|
27
|
+
type?: string;
|
|
28
|
+
configMethod?: string;
|
|
29
|
+
organizationId?: string;
|
|
30
|
+
accountId?: string;
|
|
31
|
+
networkId?: string;
|
|
32
|
+
networkCategoryId?: string;
|
|
33
|
+
versionId?: string;
|
|
34
|
+
composioApiKey?: string;
|
|
35
|
+
toolkit?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface IntegrationDiscoverOptions {
|
|
38
|
+
url?: string;
|
|
39
|
+
authType?: string;
|
|
40
|
+
authToken?: string;
|
|
41
|
+
organizationId?: string;
|
|
42
|
+
accountId?: string;
|
|
43
|
+
networkId?: string;
|
|
44
|
+
}
|
|
45
|
+
export declare function integration(_options?: IntegrationOptions): Promise<void>;
|
|
46
|
+
export declare function integrationDiscover(options?: IntegrationDiscoverOptions): Promise<void>;
|
|
47
|
+
export declare function integrationCreate(options?: IntegrationCreateOptions): Promise<void>;
|
|
48
|
+
//# sourceMappingURL=integration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../src/commands/integration.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAiDH,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC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