aui-agent-builder 0.4.0-alpha.0 → 0.4.0
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/LICENSE +1 -2
- package/README.md +608 -114
- package/dist/api-client/apollo-client.d.ts +427 -0
- package/dist/api-client/apollo-client.d.ts.map +1 -0
- package/dist/api-client/apollo-client.js +347 -0
- package/dist/api-client/apollo-client.js.map +1 -0
- package/dist/api-client/index.d.ts +541 -21
- package/dist/api-client/index.d.ts.map +1 -1
- package/dist/api-client/index.js +956 -50
- package/dist/api-client/index.js.map +1 -1
- package/dist/api-client/kb-view-client.d.ts +94 -19
- package/dist/api-client/kb-view-client.d.ts.map +1 -1
- package/dist/api-client/kb-view-client.js +332 -35
- package/dist/api-client/kb-view-client.js.map +1 -1
- package/dist/api-client/rag-client.d.ts +28 -60
- package/dist/api-client/rag-client.d.ts.map +1 -1
- package/dist/api-client/rag-client.js +46 -42
- package/dist/api-client/rag-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 +66 -2
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/agents.js +706 -92
- package/dist/commands/agents.js.map +1 -1
- package/dist/commands/apollo.d.ts +185 -0
- package/dist/commands/apollo.d.ts.map +1 -0
- package/dist/commands/apollo.js +682 -0
- package/dist/commands/apollo.js.map +1 -0
- package/dist/commands/env.js +1 -1
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/import-agent.d.ts +31 -0
- package/dist/commands/import-agent.d.ts.map +1 -1
- package/dist/commands/import-agent.js +1068 -283
- package/dist/commands/import-agent.js.map +1 -1
- package/dist/commands/index.d.ts +3 -3
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +3 -3
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +403 -94
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/integration-mcp-test.d.ts +68 -0
- package/dist/commands/integration-mcp-test.d.ts.map +1 -0
- package/dist/commands/integration-mcp-test.js +885 -0
- package/dist/commands/integration-mcp-test.js.map +1 -0
- 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-test.d.ts +108 -0
- package/dist/commands/integration-test.d.ts.map +1 -0
- package/dist/commands/integration-test.js +251 -0
- package/dist/commands/integration-test.js.map +1 -0
- package/dist/commands/integration-toolkits.d.ts +35 -0
- package/dist/commands/integration-toolkits.d.ts.map +1 -0
- package/dist/commands/integration-toolkits.js +101 -0
- package/dist/commands/integration-toolkits.js.map +1 -0
- package/dist/commands/integration-tools.d.ts +34 -0
- package/dist/commands/integration-tools.d.ts.map +1 -0
- package/dist/commands/integration-tools.js +108 -0
- package/dist/commands/integration-tools.js.map +1 -0
- package/dist/commands/integration.d.ts +83 -9
- package/dist/commands/integration.d.ts.map +1 -1
- package/dist/commands/integration.js +700 -252
- package/dist/commands/integration.js.map +1 -1
- package/dist/commands/legacy/push-records-mode.d.ts +166 -0
- package/dist/commands/legacy/push-records-mode.d.ts.map +1 -0
- package/dist/commands/legacy/push-records-mode.js +2621 -0
- package/dist/commands/legacy/push-records-mode.js.map +1 -0
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +34 -5
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/pull-agent.d.ts +10 -0
- package/dist/commands/pull-agent.d.ts.map +1 -1
- package/dist/commands/pull-agent.js +713 -178
- package/dist/commands/pull-agent.js.map +1 -1
- package/dist/commands/push.d.ts +91 -6
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +1514 -1144
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/rag.d.ts +1 -0
- package/dist/commands/rag.d.ts.map +1 -1
- package/dist/commands/rag.js +92 -36
- package/dist/commands/rag.js.map +1 -1
- package/dist/commands/report.d.ts +138 -0
- package/dist/commands/report.d.ts.map +1 -0
- package/dist/commands/report.js +205 -0
- package/dist/commands/report.js.map +1 -0
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +1 -4
- package/dist/commands/serve.js.map +1 -1
- package/dist/commands/sync-session.d.ts +13 -0
- package/dist/commands/sync-session.d.ts.map +1 -0
- package/dist/commands/sync-session.js +56 -0
- package/dist/commands/sync-session.js.map +1 -0
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +1 -1
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/commands/util/agent-mode.d.ts +69 -0
- package/dist/commands/util/agent-mode.d.ts.map +1 -0
- package/dist/commands/util/agent-mode.js +159 -0
- package/dist/commands/util/agent-mode.js.map +1 -0
- package/dist/commands/util/agent-resolve.d.ts +102 -0
- package/dist/commands/util/agent-resolve.d.ts.map +1 -0
- package/dist/commands/util/agent-resolve.js +148 -0
- package/dist/commands/util/agent-resolve.js.map +1 -0
- package/dist/commands/util/apollo-agent.d.ts +70 -0
- package/dist/commands/util/apollo-agent.d.ts.map +1 -0
- package/dist/commands/util/apollo-agent.js +100 -0
- package/dist/commands/util/apollo-agent.js.map +1 -0
- package/dist/commands/validate.d.ts +129 -9
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +666 -804
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/version-snapshot.d.ts +21 -0
- package/dist/commands/version-snapshot.d.ts.map +1 -0
- package/dist/commands/version-snapshot.js +948 -0
- package/dist/commands/version-snapshot.js.map +1 -0
- package/dist/commands/version.d.ts +15 -2
- package/dist/commands/version.d.ts.map +1 -1
- package/dist/commands/version.js +439 -206
- package/dist/commands/version.js.map +1 -1
- package/dist/config/index.d.ts +96 -5
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +97 -59
- package/dist/config/index.js.map +1 -1
- package/dist/errors/index.d.ts +1 -12
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +90 -8
- package/dist/errors/index.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1066 -174
- package/dist/index.js.map +1 -1
- package/dist/services/account.service.js +1 -1
- package/dist/services/account.service.js.map +1 -1
- package/dist/services/agents.service.d.ts.map +1 -1
- package/dist/services/agents.service.js +11 -5
- package/dist/services/agents.service.js.map +1 -1
- package/dist/services/auth.service.d.ts +78 -0
- package/dist/services/auth.service.d.ts.map +1 -1
- package/dist/services/auth.service.js +290 -16
- package/dist/services/auth.service.js.map +1 -1
- package/dist/services/integration.service.d.ts +374 -22
- package/dist/services/integration.service.d.ts.map +1 -1
- package/dist/services/integration.service.js +643 -95
- package/dist/services/integration.service.js.map +1 -1
- package/dist/services/kb-view.service.d.ts +17 -30
- package/dist/services/kb-view.service.d.ts.map +1 -1
- package/dist/services/kb-view.service.js +191 -118
- package/dist/services/kb-view.service.js.map +1 -1
- package/dist/services/list-agents.service.d.ts +10 -0
- package/dist/services/list-agents.service.d.ts.map +1 -1
- package/dist/services/list-agents.service.js +16 -21
- package/dist/services/list-agents.service.js.map +1 -1
- package/dist/services/pull-schema.service.d.ts +20 -1
- package/dist/services/pull-schema.service.d.ts.map +1 -1
- package/dist/services/pull-schema.service.js +313 -121
- package/dist/services/pull-schema.service.js.map +1 -1
- package/dist/services/rag.service.d.ts +21 -8
- package/dist/services/rag.service.d.ts.map +1 -1
- package/dist/services/rag.service.js +43 -16
- package/dist/services/rag.service.js.map +1 -1
- package/dist/services/status.service.d.ts +8 -0
- package/dist/services/status.service.d.ts.map +1 -1
- package/dist/services/status.service.js +16 -1
- package/dist/services/status.service.js.map +1 -1
- package/dist/services/sync-session.service.d.ts +38 -0
- package/dist/services/sync-session.service.d.ts.map +1 -0
- package/dist/services/sync-session.service.js +93 -0
- package/dist/services/sync-session.service.js.map +1 -0
- package/dist/telemetry.d.ts +169 -2
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +878 -4
- package/dist/telemetry.js.map +1 -1
- package/dist/types/entity.d.ts +21 -0
- package/dist/types/entity.d.ts.map +1 -1
- package/dist/ui/components/Banner.js +1 -1
- package/dist/ui/components/Banner.js.map +1 -1
- package/dist/ui/components/EnvironmentBadge.d.ts +8 -0
- package/dist/ui/components/EnvironmentBadge.d.ts.map +1 -0
- package/dist/ui/components/EnvironmentBadge.js +11 -0
- package/dist/ui/components/EnvironmentBadge.js.map +1 -0
- package/dist/ui/components/index.d.ts +1 -0
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/components/index.js +1 -0
- package/dist/ui/components/index.js.map +1 -1
- package/dist/ui/theme.d.ts +13 -0
- package/dist/ui/theme.d.ts.map +1 -1
- package/dist/ui/theme.js +12 -0
- package/dist/ui/theme.js.map +1 -1
- package/dist/ui/views/AccountView.js +1 -1
- package/dist/ui/views/AccountView.js.map +1 -1
- package/dist/ui/views/EnvView.d.ts.map +1 -1
- package/dist/ui/views/EnvView.js +2 -2
- package/dist/ui/views/EnvView.js.map +1 -1
- package/dist/ui/views/ImportAgentView.d.ts +15 -0
- package/dist/ui/views/ImportAgentView.d.ts.map +1 -1
- package/dist/ui/views/ImportAgentView.js +8 -3
- package/dist/ui/views/ImportAgentView.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/ui/views/LoginView.d.ts +2 -1
- package/dist/ui/views/LoginView.d.ts.map +1 -1
- package/dist/ui/views/LoginView.js +20 -14
- package/dist/ui/views/LoginView.js.map +1 -1
- package/dist/ui/views/PushView.d.ts +3 -1
- package/dist/ui/views/PushView.d.ts.map +1 -1
- package/dist/ui/views/PushView.js +8 -2
- package/dist/ui/views/PushView.js.map +1 -1
- package/dist/ui/views/RagView.d.ts +6 -1
- package/dist/ui/views/RagView.d.ts.map +1 -1
- package/dist/ui/views/RagView.js +23 -0
- package/dist/ui/views/RagView.js.map +1 -1
- package/dist/ui/views/StatusView.js +4 -4
- package/dist/ui/views/StatusView.js.map +1 -1
- package/dist/ui/views/SyncSessionView.d.ts +7 -0
- package/dist/ui/views/SyncSessionView.d.ts.map +1 -0
- package/dist/ui/views/SyncSessionView.js +10 -0
- package/dist/ui/views/SyncSessionView.js.map +1 -0
- package/dist/utils/agent-injection.d.ts +49 -0
- package/dist/utils/agent-injection.d.ts.map +1 -0
- package/dist/utils/agent-injection.js +83 -0
- package/dist/utils/agent-injection.js.map +1 -0
- package/dist/utils/fetch-with-timeout.d.ts +57 -0
- package/dist/utils/fetch-with-timeout.d.ts.map +1 -0
- package/dist/utils/fetch-with-timeout.js +125 -0
- package/dist/utils/fetch-with-timeout.js.map +1 -0
- package/dist/utils/help-json.d.ts +44 -0
- package/dist/utils/help-json.d.ts.map +1 -0
- package/dist/utils/help-json.js +62 -0
- package/dist/utils/help-json.js.map +1 -0
- package/dist/utils/index.d.ts +82 -18
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +387 -80
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/json-output.d.ts +10 -0
- package/dist/utils/json-output.d.ts.map +1 -1
- package/dist/utils/json-output.js +14 -0
- package/dist/utils/json-output.js.map +1 -1
- package/dist/utils/payload-store.d.ts +40 -0
- package/dist/utils/payload-store.d.ts.map +1 -0
- package/dist/utils/payload-store.js +82 -0
- package/dist/utils/payload-store.js.map +1 -0
- package/dist/utils/request-capture.d.ts +26 -0
- package/dist/utils/request-capture.d.ts.map +1 -1
- package/dist/utils/request-capture.js +67 -0
- package/dist/utils/request-capture.js.map +1 -1
- package/dist/utils/select-prompt.d.ts +32 -0
- package/dist/utils/select-prompt.d.ts.map +1 -0
- package/dist/utils/select-prompt.js +71 -0
- package/dist/utils/select-prompt.js.map +1 -0
- package/dist/utils/update-notifier.d.ts.map +1 -1
- package/dist/utils/update-notifier.js +30 -3
- package/dist/utils/update-notifier.js.map +1 -1
- package/dist/web/assets/{index-DSg2xrPw.js → index-n4de71HW.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +10 -6
- package/dist/commands/add-integration.d.ts +0 -20
- package/dist/commands/add-integration.d.ts.map +0 -1
- package/dist/commands/add-integration.js +0 -385
- package/dist/commands/add-integration.js.map +0 -1
- package/dist/commands/add-tool.d.ts +0 -17
- package/dist/commands/add-tool.d.ts.map +0 -1
- package/dist/commands/add-tool.js +0 -225
- package/dist/commands/add-tool.js.map +0 -1
- package/dist/commands/chat.d.ts +0 -20
- package/dist/commands/chat.d.ts.map +0 -1
- package/dist/commands/chat.js +0 -545
- package/dist/commands/chat.js.map +0 -1
- package/dist/commands/create-agent.d.ts +0 -17
- package/dist/commands/create-agent.d.ts.map +0 -1
- package/dist/commands/create-agent.js +0 -18
- package/dist/commands/create-agent.js.map +0 -1
- package/dist/commands/lsp.d.ts +0 -13
- package/dist/commands/lsp.d.ts.map +0 -1
- package/dist/commands/lsp.js +0 -17
- package/dist/commands/lsp.js.map +0 -1
- package/dist/commands/widget.d.ts +0 -18
- package/dist/commands/widget.d.ts.map +0 -1
- package/dist/commands/widget.js +0 -153
- package/dist/commands/widget.js.map +0 -1
- package/dist/lsp/cross-refs.d.ts +0 -53
- package/dist/lsp/cross-refs.d.ts.map +0 -1
- package/dist/lsp/cross-refs.js +0 -330
- package/dist/lsp/cross-refs.js.map +0 -1
- package/dist/lsp/cross-refs.test.d.ts +0 -2
- package/dist/lsp/cross-refs.test.d.ts.map +0 -1
- package/dist/lsp/cross-refs.test.js +0 -130
- package/dist/lsp/cross-refs.test.js.map +0 -1
- package/dist/lsp/schemas.d.ts +0 -57
- package/dist/lsp/schemas.d.ts.map +0 -1
- package/dist/lsp/schemas.js +0 -126
- package/dist/lsp/schemas.js.map +0 -1
- package/dist/lsp/schemas.test.d.ts +0 -2
- package/dist/lsp/schemas.test.d.ts.map +0 -1
- package/dist/lsp/schemas.test.js +0 -74
- package/dist/lsp/schemas.test.js.map +0 -1
- package/dist/lsp/server.d.ts +0 -11
- package/dist/lsp/server.d.ts.map +0 -1
- package/dist/lsp/server.js +0 -205
- package/dist/lsp/server.js.map +0 -1
- package/dist/ui/views/ChatView.d.ts +0 -26
- package/dist/ui/views/ChatView.d.ts.map +0 -1
- package/dist/ui/views/ChatView.js +0 -96
- package/dist/ui/views/ChatView.js.map +0 -1
- package/dist/ui/views/__tests__/StatusView.test.d.ts +0 -2
- package/dist/ui/views/__tests__/StatusView.test.d.ts.map +0 -1
- package/dist/ui/views/__tests__/StatusView.test.js +0 -158
- package/dist/ui/views/__tests__/StatusView.test.js.map +0 -1
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apollo API client — runtime messaging orchestration (tasks, messages,
|
|
3
|
+
* rerun, trace).
|
|
4
|
+
*
|
|
5
|
+
* Wraps four Apollo endpoints behind the AUI gateway:
|
|
6
|
+
*
|
|
7
|
+
* POST /apollo-api/v1/messaging/tasks → createTask
|
|
8
|
+
* POST /apollo-api/v1/messaging/messages[?include_trace=] → sendMessage
|
|
9
|
+
* POST /apollo-api/v1/messaging/messages/rerun → rerunMessage
|
|
10
|
+
* GET /apollo-api/v1/messaging/tasks/{task_id}/trace-info → getTaskTraceInfo
|
|
11
|
+
*
|
|
12
|
+
* ─── Authentication ─────────────────────────────────────────────────────
|
|
13
|
+
*
|
|
14
|
+
* Apollo itself is `x-api-key`-only (compared constant-time against its
|
|
15
|
+
* service key) and trusts `x-aui-*` claims injected by the gateway. The
|
|
16
|
+
* CLI never holds that service key — it talks to the GATEWAY, which:
|
|
17
|
+
* 1. validates the CLI's user/session token,
|
|
18
|
+
* 2. strips `Authorization`,
|
|
19
|
+
* 3. forwards `x-api-key` + gateway-enriched `x-aui-organization-id` /
|
|
20
|
+
* `x-aui-user-id` to Apollo.
|
|
21
|
+
*
|
|
22
|
+
* So from the CLI we send the same session auth the agent-settings /
|
|
23
|
+
* agent-management routes use — `Authorization: Bearer <token>` + org
|
|
24
|
+
* headers — which the gateway validates and translates. (The outer-bridge
|
|
25
|
+
* `x-access-token` header does NOT work here: the gateway returns
|
|
26
|
+
* `{"decision":"deny","reason":"missing_credentials"}`.) We additionally
|
|
27
|
+
* forward the org id in the new `x-aui-organization-id`
|
|
28
|
+
* (and legacy `X-Organization-ID`) shapes, and the acting user in
|
|
29
|
+
* `x-aui-user-id` for the rerun route — harmless if the gateway
|
|
30
|
+
* overrides them with its own trusted claims, and correct if a given
|
|
31
|
+
* deployment passes them through.
|
|
32
|
+
*
|
|
33
|
+
* ─── Telemetry ──────────────────────────────────────────────────────────
|
|
34
|
+
*
|
|
35
|
+
* Every call captures the request (for `aui curl`) and attaches a
|
|
36
|
+
* redacted, replayable curl + HTTP status/body/duration onto the active
|
|
37
|
+
* OTel span — the same pattern the agent-settings client uses
|
|
38
|
+
* (`attachHttpCurlTelemetry`). Purely additive; never throws from the
|
|
39
|
+
* telemetry path.
|
|
40
|
+
*/
|
|
41
|
+
import { AUIEnvironment } from "../config/index.js";
|
|
42
|
+
/** Body for `POST /v1/messaging/tasks` (CreateTaskRequestSchema). */
|
|
43
|
+
export interface ApolloCreateTaskRequest {
|
|
44
|
+
/** Agent the task targets. Apollo resolves network_id + active version
|
|
45
|
+
* from agent-settings; the agent's org must match the caller's org. */
|
|
46
|
+
agent_id: string;
|
|
47
|
+
/** End-user ref id used to attribute the task (label, not a security
|
|
48
|
+
* boundary). */
|
|
49
|
+
user_id: string;
|
|
50
|
+
/** RecordOrigin.type value (e.g. web-widget, third-party, stores). */
|
|
51
|
+
task_origin_type: string;
|
|
52
|
+
/** Optional version pinning. When omitted, Apollo resolves the agent's
|
|
53
|
+
* active version. When provided, the task runs against this exact draft
|
|
54
|
+
* version instead. */
|
|
55
|
+
version_id?: string | null;
|
|
56
|
+
/** Optional version-tag pinning (`v{version_number}.{revision}`, e.g.
|
|
57
|
+
* "v8.14"). Sent alongside / instead of `version_id` to pin a specific
|
|
58
|
+
* revision. When omitted, Apollo resolves the active version. */
|
|
59
|
+
version_tag?: string | null;
|
|
60
|
+
}
|
|
61
|
+
/** Response from `POST /v1/messaging/tasks` (CreateTaskResponseSchema). */
|
|
62
|
+
export interface ApolloCreateTaskResponse {
|
|
63
|
+
id: string;
|
|
64
|
+
user_id: string;
|
|
65
|
+
title: string;
|
|
66
|
+
welcome_message?: string | null;
|
|
67
|
+
followup_suggestions?: string[] | null;
|
|
68
|
+
[key: string]: unknown;
|
|
69
|
+
}
|
|
70
|
+
/** Body for `POST /v1/messaging/messages` (SubmitMessageRequest). */
|
|
71
|
+
export interface ApolloSubmitMessageRequest {
|
|
72
|
+
type?: "message";
|
|
73
|
+
task_id: string;
|
|
74
|
+
text?: string;
|
|
75
|
+
context?: Record<string, unknown> | null;
|
|
76
|
+
agent_variables?: Record<string, unknown>;
|
|
77
|
+
/** Assembled agent-settings bundle (same JSON shape as the blob /push
|
|
78
|
+
* endpoint). Forwarded to intelligent-agent under
|
|
79
|
+
* `external_context.agent_settings_bundle`. */
|
|
80
|
+
agent_settings_bundle?: Record<string, unknown> | null;
|
|
81
|
+
}
|
|
82
|
+
/** Agent reply (MessageResponse). */
|
|
83
|
+
export interface ApolloMessageResponse {
|
|
84
|
+
id: string;
|
|
85
|
+
created_at: string;
|
|
86
|
+
text: string;
|
|
87
|
+
sender: Record<string, unknown>;
|
|
88
|
+
receiver: Record<string, unknown>;
|
|
89
|
+
cards?: Array<Record<string, unknown>>;
|
|
90
|
+
welcome_message?: string | null;
|
|
91
|
+
followup_suggestions?: string[];
|
|
92
|
+
url?: string | null;
|
|
93
|
+
input_tokens?: number;
|
|
94
|
+
output_tokens?: number;
|
|
95
|
+
trace_info?: Record<string, unknown> | null;
|
|
96
|
+
[key: string]: unknown;
|
|
97
|
+
}
|
|
98
|
+
/** Body for `POST /v1/messaging/messages/rerun` (RerunMessageRequest). */
|
|
99
|
+
export interface ApolloRerunMessageRequest {
|
|
100
|
+
task_id: string;
|
|
101
|
+
interaction_id: string;
|
|
102
|
+
/** Message text to replay onto the regenerated task (min length 1). */
|
|
103
|
+
text: string;
|
|
104
|
+
image?: Record<string, unknown> | null;
|
|
105
|
+
/**
|
|
106
|
+
* Agent + version pinning, spread at the top level (same shape as
|
|
107
|
+
* `ApolloCreateTaskRequest`). When omitted, Apollo resolves the agent's
|
|
108
|
+
* active version. Replaces the old nested `agent` object.
|
|
109
|
+
*/
|
|
110
|
+
agent_id?: string | null;
|
|
111
|
+
version_id?: string | null;
|
|
112
|
+
/** Version-tag pinning (`v{version_number}.{revision}`, e.g. "v8.14"). */
|
|
113
|
+
version_tag?: string | null;
|
|
114
|
+
/** Optional agent-settings bundle (same shape as /push). */
|
|
115
|
+
agent_settings_bundle?: Record<string, unknown> | null;
|
|
116
|
+
}
|
|
117
|
+
/** Response from `POST /v1/messaging/messages/rerun` (RerunMessageResponse). */
|
|
118
|
+
export interface ApolloRerunMessageResponse {
|
|
119
|
+
regenerated_task_id: string;
|
|
120
|
+
message: ApolloMessageResponse;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Body for `POST /v1/management/agents` — the bundle-mode agent
|
|
124
|
+
* provisioning endpoint.
|
|
125
|
+
*
|
|
126
|
+
* When `bundle_mode` is `true`, this single call orchestrates the entire
|
|
127
|
+
* create flow server-side (so the CLI does NOT fire the individual steps
|
|
128
|
+
* itself):
|
|
129
|
+
* 1. creates the network
|
|
130
|
+
* 2. creates the agent
|
|
131
|
+
* 3. creates the first version (import from template)
|
|
132
|
+
* 4. publishes that version
|
|
133
|
+
* 5. activates it
|
|
134
|
+
*
|
|
135
|
+
* This is the bundle-mode counterpart to the legacy records-mode flow
|
|
136
|
+
* (network create → `createAgentSettings` → `agentManagement.createAgent`
|
|
137
|
+
* → draft version), which the CLI still drives step-by-step when
|
|
138
|
+
* `bundle_mode` is `false`.
|
|
139
|
+
*/
|
|
140
|
+
export interface ApolloCreateAgentRequest {
|
|
141
|
+
name: string;
|
|
142
|
+
/** Acting user id (agent-management `created_by`). */
|
|
143
|
+
created_by: string;
|
|
144
|
+
account_id: string;
|
|
145
|
+
organization_id: string;
|
|
146
|
+
network_category_id: string;
|
|
147
|
+
/** Must be `true` to trigger the auto-provisioning flow above. */
|
|
148
|
+
bundle_mode: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Agent classification. Omit (or `"regular"`) for a runtime agent;
|
|
151
|
+
* `"template"` creates a NETWORK_CATEGORY-scoped clone source. The
|
|
152
|
+
* server infers the scope type from `kind`, so the body shape is
|
|
153
|
+
* otherwise identical. Templates are always `bundle_mode: true`.
|
|
154
|
+
*/
|
|
155
|
+
kind?: "regular" | "template";
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Response from `POST /v1/management/agents`. The exact shape is owned by
|
|
159
|
+
* Apollo; every field is optional here so the CLI degrades gracefully
|
|
160
|
+
* (the full body is always visible via `aui curl`). We read whichever of
|
|
161
|
+
* the id / network / active-version aliases the server returns.
|
|
162
|
+
*/
|
|
163
|
+
export interface ApolloCreateAgentResponse {
|
|
164
|
+
id?: string;
|
|
165
|
+
agent_id?: string;
|
|
166
|
+
_id?: string;
|
|
167
|
+
name?: string;
|
|
168
|
+
kind?: string;
|
|
169
|
+
bundle_mode?: boolean;
|
|
170
|
+
/** Scope of the provisioned agent — `network_id` lives HERE, not at the
|
|
171
|
+
* top level. */
|
|
172
|
+
scope?: {
|
|
173
|
+
network_id?: string;
|
|
174
|
+
account_id?: string;
|
|
175
|
+
organization_id?: string;
|
|
176
|
+
network_category_id?: string;
|
|
177
|
+
type?: string;
|
|
178
|
+
} | null;
|
|
179
|
+
/** Top-level network id is NOT returned today (it's under `scope`); kept
|
|
180
|
+
* as a tolerant fallback in case the contract changes. */
|
|
181
|
+
network_id?: string;
|
|
182
|
+
active_version_id?: string | null;
|
|
183
|
+
active_version_tag?: string | null;
|
|
184
|
+
[key: string]: unknown;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Body for `POST /v1/integrations/test` — live-call an integration endpoint.
|
|
188
|
+
*
|
|
189
|
+
* This is the request shape consumed by the integration test endpoint: it
|
|
190
|
+
* makes the real HTTP call to `url` with `method` / `request_body` /
|
|
191
|
+
* `authentication`, then (optionally) runs the JS `response_parser` snippet
|
|
192
|
+
* against the raw response and returns BOTH the raw response and the parsed
|
|
193
|
+
* one. It's the programmatic equivalent of running `curl` against the
|
|
194
|
+
* integration's endpoint by hand, plus a preview of what the configured
|
|
195
|
+
* parser would extract.
|
|
196
|
+
*/
|
|
197
|
+
export interface ApolloTestIntegrationRequest {
|
|
198
|
+
/** Absolute URL of the integration endpoint to call. */
|
|
199
|
+
url: string;
|
|
200
|
+
/** HTTP method (GET, POST, PATCH, …). Defaults server-side to GET. */
|
|
201
|
+
method?: string;
|
|
202
|
+
/** JSON body forwarded to the endpoint (POST/PATCH/PUT). */
|
|
203
|
+
request_body?: unknown;
|
|
204
|
+
/** Optional query params merged onto the URL. */
|
|
205
|
+
query_params?: Record<string, unknown> | null;
|
|
206
|
+
/** Optional extra request headers. */
|
|
207
|
+
headers?: Record<string, string> | null;
|
|
208
|
+
/**
|
|
209
|
+
* Authentication block. `type` is the integration auth scheme
|
|
210
|
+
* (e.g. BEARER_TOKEN, API_KEY, BASIC, NONE); the remaining fields depend
|
|
211
|
+
* on the scheme (e.g. `token` for BEARER_TOKEN).
|
|
212
|
+
*/
|
|
213
|
+
authentication?: {
|
|
214
|
+
type: string;
|
|
215
|
+
token?: string;
|
|
216
|
+
[key: string]: unknown;
|
|
217
|
+
} | null;
|
|
218
|
+
/**
|
|
219
|
+
* JS snippet run against the raw response (the variable `response`). Its
|
|
220
|
+
* mutated/returned value becomes `parsed_test_response`. Omit to skip
|
|
221
|
+
* parsing.
|
|
222
|
+
*/
|
|
223
|
+
response_parser?: string | null;
|
|
224
|
+
/**
|
|
225
|
+
* Optional mapping block that tells the endpoint how the response maps
|
|
226
|
+
* onto the agent's parameters / scope entities. When present, the
|
|
227
|
+
* endpoint ALSO returns `mapped_entities` (a preview of the entities the
|
|
228
|
+
* runtime would extract from this response). Sent only on the non-`--raw`
|
|
229
|
+
* path — the LLM authoring the agent populates it from the local
|
|
230
|
+
* `integrations.aui.json` (`response_mapping`), `parameters.aui.json`
|
|
231
|
+
* (`parameters`), and `entities.aui.json` (`scope_entities`).
|
|
232
|
+
*/
|
|
233
|
+
bundle_mapping?: {
|
|
234
|
+
/** The integration's `settings.response_mapping` block (entity → param keys). */
|
|
235
|
+
response_mapping?: Record<string, unknown> | null;
|
|
236
|
+
/** The agent's parameter definitions (parameters.aui.json `parameters`). */
|
|
237
|
+
parameters?: unknown[] | null;
|
|
238
|
+
/** The agent's scope entities (entities.aui.json `entities`). */
|
|
239
|
+
scope_entities?: unknown[] | null;
|
|
240
|
+
[key: string]: unknown;
|
|
241
|
+
} | null;
|
|
242
|
+
[key: string]: unknown;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Response from `POST /v1/integrations/test`.
|
|
246
|
+
* - `test_data` — the RAW response body the endpoint returned.
|
|
247
|
+
* - `parsed_test_response` — `test_data` after the `response_parser` ran
|
|
248
|
+
* (absent / equal to raw when no parser given).
|
|
249
|
+
* - `mapped_entities` — preview of the entities the runtime would
|
|
250
|
+
* extract, returned ONLY when `bundle_mapping`
|
|
251
|
+
* was sent (i.e. the non-`--raw` path).
|
|
252
|
+
* All three are passed through verbatim; the CLI does not reshape them.
|
|
253
|
+
*/
|
|
254
|
+
export interface ApolloTestIntegrationResponse {
|
|
255
|
+
test_data?: unknown;
|
|
256
|
+
parsed_test_response?: unknown;
|
|
257
|
+
mapped_entities?: unknown;
|
|
258
|
+
[key: string]: unknown;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Authentication block forwarded to the MCP server during discovery.
|
|
262
|
+
* Apollo maps the external `transport_type` → `transporter_type` before
|
|
263
|
+
* forwarding to IA's `/api/v1/integrations/mcp/discovery`.
|
|
264
|
+
*/
|
|
265
|
+
export interface ApolloMCPAuthentication {
|
|
266
|
+
type: "none" | "bearer_token" | "api_key" | "oauth_client_credentials";
|
|
267
|
+
/** Credential value for `bearer_token` / `api_key`. */
|
|
268
|
+
value?: string;
|
|
269
|
+
/** Header name when `type` is `api_key`. */
|
|
270
|
+
header_name?: string;
|
|
271
|
+
oauth_client_credentials?: {
|
|
272
|
+
url: string;
|
|
273
|
+
method: string;
|
|
274
|
+
client_id: string;
|
|
275
|
+
client_secret: string;
|
|
276
|
+
grant_type: string;
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
/** Body for `POST /v1/integrations/mcp/list` — DIRECT path. */
|
|
280
|
+
export interface ApolloListMCPToolsDirectRequest {
|
|
281
|
+
type: "DIRECT";
|
|
282
|
+
server_url: string;
|
|
283
|
+
/** `STREAMABLE_HTTP` (default) or `SSE`. Apollo passes this as
|
|
284
|
+
* `transporter_type` to IA's internal discovery endpoint. */
|
|
285
|
+
transport_type: "STREAMABLE_HTTP" | "SSE";
|
|
286
|
+
authentication?: ApolloMCPAuthentication | null;
|
|
287
|
+
}
|
|
288
|
+
/** Body for `POST /v1/integrations/mcp/list` — COMPOSIO path. */
|
|
289
|
+
export interface ApolloListMCPToolsComposioRequest {
|
|
290
|
+
type: "COMPOSIO";
|
|
291
|
+
user_id: string;
|
|
292
|
+
toolkit: string;
|
|
293
|
+
}
|
|
294
|
+
export type ApolloListMCPToolsRequest = ApolloListMCPToolsDirectRequest | ApolloListMCPToolsComposioRequest;
|
|
295
|
+
/** Single tool entry returned by `POST /v1/integrations/mcp/list`. */
|
|
296
|
+
export interface ApolloMCPTool {
|
|
297
|
+
name: string;
|
|
298
|
+
description?: string;
|
|
299
|
+
/** IA returns `inputSchema` (camelCase); Apollo normalises to
|
|
300
|
+
* `input_schema` before returning to external callers. Both shapes are
|
|
301
|
+
* represented here so the CLI handles either. */
|
|
302
|
+
input_schema?: Record<string, unknown>;
|
|
303
|
+
inputSchema?: Record<string, unknown>;
|
|
304
|
+
[key: string]: unknown;
|
|
305
|
+
}
|
|
306
|
+
export interface ApolloListMCPToolsResponse {
|
|
307
|
+
tools: ApolloMCPTool[];
|
|
308
|
+
[key: string]: unknown;
|
|
309
|
+
}
|
|
310
|
+
export interface ApolloTestMCPComposioRequest {
|
|
311
|
+
type: "COMPOSIO";
|
|
312
|
+
user_id: string;
|
|
313
|
+
toolkit: string;
|
|
314
|
+
tool: string;
|
|
315
|
+
arguments: Record<string, unknown>;
|
|
316
|
+
bundle_mapping?: ApolloTestIntegrationRequest["bundle_mapping"];
|
|
317
|
+
}
|
|
318
|
+
export interface ApolloTestMCPDirectRequest {
|
|
319
|
+
type: "DIRECT";
|
|
320
|
+
server_url: string;
|
|
321
|
+
transport_type?: string;
|
|
322
|
+
authentication?: {
|
|
323
|
+
type: string;
|
|
324
|
+
value?: string;
|
|
325
|
+
header_name?: string;
|
|
326
|
+
[key: string]: unknown;
|
|
327
|
+
} | null;
|
|
328
|
+
tool: string;
|
|
329
|
+
arguments: Record<string, unknown>;
|
|
330
|
+
bundle_mapping?: ApolloTestIntegrationRequest["bundle_mapping"];
|
|
331
|
+
}
|
|
332
|
+
export type ApolloTestMCPIntegrationRequest = ApolloTestMCPComposioRequest | ApolloTestMCPDirectRequest;
|
|
333
|
+
export interface ApolloTestMCPIntegrationResponse {
|
|
334
|
+
/** Raw output from the MCP tool. */
|
|
335
|
+
response?: unknown;
|
|
336
|
+
/** Structured fields extracted from `response` — only set when `bundle_mapping` is sent. */
|
|
337
|
+
mapping_data?: unknown;
|
|
338
|
+
/** SUCCESS · MISSING_INFO · FAIL — only set when `bundle_mapping` is sent. */
|
|
339
|
+
status?: "SUCCESS" | "MISSING_INFO" | "FAIL" | null;
|
|
340
|
+
/** Server-side execution time in seconds. */
|
|
341
|
+
elapsed_sec?: number | null;
|
|
342
|
+
[key: string]: unknown;
|
|
343
|
+
}
|
|
344
|
+
export interface ApolloClientOptions {
|
|
345
|
+
/** JWT access token from `aui login`. */
|
|
346
|
+
authToken: string;
|
|
347
|
+
/** Organization id (forwarded for the gateway trust boundary). */
|
|
348
|
+
organizationId: string;
|
|
349
|
+
/** Account id (optional, forwarded for parity with other clients). */
|
|
350
|
+
accountId?: string;
|
|
351
|
+
/** Acting user id — forwarded as `x-aui-user-id` on rerun. */
|
|
352
|
+
userId?: string;
|
|
353
|
+
/** Backend environment (selects the Apollo base URL). */
|
|
354
|
+
environment: AUIEnvironment;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Thin HTTP client for the Apollo runtime messaging endpoints. Stateless
|
|
358
|
+
* apart from the auth/scope it was constructed with.
|
|
359
|
+
*/
|
|
360
|
+
export declare class ApolloClient {
|
|
361
|
+
private authToken;
|
|
362
|
+
private organizationId;
|
|
363
|
+
private accountId;
|
|
364
|
+
private userId;
|
|
365
|
+
private environment;
|
|
366
|
+
constructor(options: ApolloClientOptions);
|
|
367
|
+
private baseUrl;
|
|
368
|
+
/**
|
|
369
|
+
* Build the gateway auth + scope headers. `extra` lets per-route
|
|
370
|
+
* callers add headers like `x-aui-user-id` (rerun only).
|
|
371
|
+
*/
|
|
372
|
+
private headers;
|
|
373
|
+
/**
|
|
374
|
+
* `POST /v1/management/agents` — bundle-mode agent provisioning.
|
|
375
|
+
*
|
|
376
|
+
* With `bundle_mode: true` the server runs the full create flow
|
|
377
|
+
* (network → agent → version-from-template → publish → activate) in a
|
|
378
|
+
* single call; the CLI must NOT also fire those steps. See
|
|
379
|
+
* `ApolloCreateAgentRequest` for the orchestration contract.
|
|
380
|
+
*/
|
|
381
|
+
createAgent(body: ApolloCreateAgentRequest): Promise<ApolloCreateAgentResponse>;
|
|
382
|
+
/**
|
|
383
|
+
* `POST /v1/integrations/test` — live-call an integration endpoint and
|
|
384
|
+
* return the raw response plus what the `response_parser` would extract.
|
|
385
|
+
*
|
|
386
|
+
* Thin pass-through: the body is forwarded as-is and the response is
|
|
387
|
+
* returned verbatim (the CLI does not reshape `test_data` /
|
|
388
|
+
* `parsed_test_response`). The full request/response is captured for
|
|
389
|
+
* `aui curl` and attached to the active span like every other call.
|
|
390
|
+
*/
|
|
391
|
+
testIntegration(body: ApolloTestIntegrationRequest): Promise<ApolloTestIntegrationResponse>;
|
|
392
|
+
/** `POST /v1/integrations/mcp/test` — execute an MCP tool and return the response. */
|
|
393
|
+
testMCPIntegration(body: ApolloTestMCPIntegrationRequest): Promise<ApolloTestMCPIntegrationResponse>;
|
|
394
|
+
/**
|
|
395
|
+
* `POST /v1/integrations/mcp/list` — discover callable tools on a DIRECT
|
|
396
|
+
* MCP server.
|
|
397
|
+
*
|
|
398
|
+
* Apollo proxies to IA's internal `POST /api/v1/integrations/mcp/discovery`
|
|
399
|
+
* endpoint, mapping `transporter_type` and returning normalised
|
|
400
|
+
* `input_schema` (snake_case) instead of IA's raw `inputSchema`.
|
|
401
|
+
*/
|
|
402
|
+
listMCPTools(body: ApolloListMCPToolsRequest): Promise<ApolloListMCPToolsResponse>;
|
|
403
|
+
/** `POST /v1/messaging/tasks` — create a task for an agent. */
|
|
404
|
+
createTask(body: ApolloCreateTaskRequest): Promise<ApolloCreateTaskResponse>;
|
|
405
|
+
/** `POST /v1/messaging/messages` — submit a user message, get the reply. */
|
|
406
|
+
sendMessage(body: ApolloSubmitMessageRequest, options?: {
|
|
407
|
+
includeTrace?: boolean;
|
|
408
|
+
}): Promise<ApolloMessageResponse>;
|
|
409
|
+
/** `POST /v1/messaging/messages/rerun` — regenerate a task + replay. */
|
|
410
|
+
rerunMessage(body: ApolloRerunMessageRequest, options?: {
|
|
411
|
+
includeTrace?: boolean;
|
|
412
|
+
}): Promise<ApolloRerunMessageResponse>;
|
|
413
|
+
/** `GET /v1/messaging/tasks/{task_id}/trace-info` — all interaction traces. */
|
|
414
|
+
getTaskTraceInfo(taskId: string): Promise<Array<Record<string, unknown>>>;
|
|
415
|
+
/**
|
|
416
|
+
* `GET /v1/messaging/tasks/{task_id}/interactions/{interaction_id}/trace-info`
|
|
417
|
+
* — the trace for a single interaction (object, not a list).
|
|
418
|
+
*/
|
|
419
|
+
getInteractionTraceInfo(taskId: string, interactionId: string): Promise<Record<string, unknown>>;
|
|
420
|
+
private request;
|
|
421
|
+
/**
|
|
422
|
+
* Capture the request for `aui curl` and attach a redacted curl repro
|
|
423
|
+
* + HTTP fields onto the active span. Best-effort; never throws.
|
|
424
|
+
*/
|
|
425
|
+
private attachTelemetry;
|
|
426
|
+
}
|
|
427
|
+
//# sourceMappingURL=apollo-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apollo-client.d.ts","sourceRoot":"","sources":["../../src/api-client/apollo-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAKH,OAAO,EACL,cAAc,EAGf,MAAM,oBAAoB,CAAC;AAO5B,qEAAqE;AACrE,MAAM,WAAW,uBAAuB;IACtC;4EACwE;IACxE,QAAQ,EAAE,MAAM,CAAC;IACjB;qBACiB;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,gBAAgB,EAAE,MAAM,CAAC;IACzB;;2BAEuB;IACvB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;sEAEkE;IAClE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,2EAA2E;AAC3E,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACvC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,qEAAqE;AACrE,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,C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