@flowcore/sdk 1.24.3 → 1.25.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/CHANGELOG.md +23 -0
- package/README.md +208 -0
- package/esm/commands/ai-agent-coordinator/context-add-item.command.d.ts +28 -0
- package/esm/commands/ai-agent-coordinator/context-add-item.command.d.ts.map +1 -0
- package/esm/commands/ai-agent-coordinator/context-add-item.command.js +34 -0
- package/esm/commands/ai-agent-coordinator/context-remove-item.command.d.ts +28 -0
- package/esm/commands/ai-agent-coordinator/context-remove-item.command.d.ts.map +1 -0
- package/esm/commands/ai-agent-coordinator/context-remove-item.command.js +32 -0
- package/esm/commands/ai-agent-coordinator/conversation-delete.command.d.ts +25 -0
- package/esm/commands/ai-agent-coordinator/conversation-delete.command.d.ts.map +1 -0
- package/esm/commands/ai-agent-coordinator/conversation-delete.command.js +30 -0
- package/esm/commands/ai-agent-coordinator/conversation-get.command.d.ts +27 -0
- package/esm/commands/ai-agent-coordinator/conversation-get.command.d.ts.map +1 -0
- package/esm/commands/ai-agent-coordinator/conversation-get.command.js +36 -0
- package/esm/commands/ai-agent-coordinator/conversation-list.command.d.ts +23 -0
- package/esm/commands/ai-agent-coordinator/conversation-list.command.d.ts.map +1 -0
- package/esm/commands/ai-agent-coordinator/conversation-list.command.js +29 -0
- package/esm/commands/ai-agent-coordinator/conversation-stream.command.d.ts +30 -0
- package/esm/commands/ai-agent-coordinator/conversation-stream.command.d.ts.map +1 -0
- package/esm/commands/ai-agent-coordinator/conversation-stream.command.js +36 -0
- package/esm/commands/ai-agent-coordinator/mod.d.ts +7 -0
- package/esm/commands/ai-agent-coordinator/mod.d.ts.map +1 -0
- package/esm/commands/ai-agent-coordinator/mod.js +6 -0
- package/esm/common/command.d.ts.map +1 -1
- package/esm/common/command.js +3 -4
- package/esm/common/websocket-client.d.ts +109 -0
- package/esm/common/websocket-client.d.ts.map +1 -0
- package/esm/common/websocket-client.js +391 -0
- package/esm/common/websocket-command.d.ts +54 -0
- package/esm/common/websocket-command.d.ts.map +1 -0
- package/esm/common/websocket-command.js +1 -0
- package/esm/contracts/ai-agent-coordinator-stream.d.ts +85 -0
- package/esm/contracts/ai-agent-coordinator-stream.d.ts.map +1 -0
- package/esm/contracts/ai-agent-coordinator-stream.js +1 -0
- package/esm/contracts/ai-agent-coordinator.d.ts +41 -0
- package/esm/contracts/ai-agent-coordinator.d.ts.map +1 -0
- package/esm/contracts/ai-agent-coordinator.js +1 -0
- package/esm/mod.d.ts +8 -2
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +8 -2
- package/package.json +1 -1
- package/script/commands/ai-agent-coordinator/context-add-item.command.d.ts +28 -0
- package/script/commands/ai-agent-coordinator/context-add-item.command.d.ts.map +1 -0
- package/script/commands/ai-agent-coordinator/context-add-item.command.js +38 -0
- package/script/commands/ai-agent-coordinator/context-remove-item.command.d.ts +28 -0
- package/script/commands/ai-agent-coordinator/context-remove-item.command.d.ts.map +1 -0
- package/script/commands/ai-agent-coordinator/context-remove-item.command.js +36 -0
- package/script/commands/ai-agent-coordinator/conversation-delete.command.d.ts +25 -0
- package/script/commands/ai-agent-coordinator/conversation-delete.command.d.ts.map +1 -0
- package/script/commands/ai-agent-coordinator/conversation-delete.command.js +34 -0
- package/script/commands/ai-agent-coordinator/conversation-get.command.d.ts +27 -0
- package/script/commands/ai-agent-coordinator/conversation-get.command.d.ts.map +1 -0
- package/script/commands/ai-agent-coordinator/conversation-get.command.js +40 -0
- package/script/commands/ai-agent-coordinator/conversation-list.command.d.ts +23 -0
- package/script/commands/ai-agent-coordinator/conversation-list.command.d.ts.map +1 -0
- package/script/commands/ai-agent-coordinator/conversation-list.command.js +33 -0
- package/script/commands/ai-agent-coordinator/conversation-stream.command.d.ts +30 -0
- package/script/commands/ai-agent-coordinator/conversation-stream.command.d.ts.map +1 -0
- package/script/commands/ai-agent-coordinator/conversation-stream.command.js +40 -0
- package/script/commands/ai-agent-coordinator/mod.d.ts +7 -0
- package/script/commands/ai-agent-coordinator/mod.d.ts.map +1 -0
- package/script/commands/ai-agent-coordinator/mod.js +22 -0
- package/script/common/command.d.ts.map +1 -1
- package/script/common/command.js +27 -5
- package/script/common/websocket-client.d.ts +109 -0
- package/script/common/websocket-client.d.ts.map +1 -0
- package/script/common/websocket-client.js +418 -0
- package/script/common/websocket-command.d.ts +54 -0
- package/script/common/websocket-command.d.ts.map +1 -0
- package/script/common/websocket-command.js +2 -0
- package/script/contracts/ai-agent-coordinator-stream.d.ts +85 -0
- package/script/contracts/ai-agent-coordinator-stream.d.ts.map +1 -0
- package/script/contracts/ai-agent-coordinator-stream.js +2 -0
- package/script/contracts/ai-agent-coordinator.d.ts +41 -0
- package/script/contracts/ai-agent-coordinator.d.ts.map +1 -0
- package/script/contracts/ai-agent-coordinator.js +2 -0
- package/script/mod.d.ts +8 -2
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +11 -2
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { Observable } from "rxjs";
|
|
2
|
+
import type { StreamChunk } from "../contracts/ai-agent-coordinator-stream.js";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for a command that configures a WebSocket stream connection.
|
|
5
|
+
* @template Config - The type of the configuration data needed to initiate the stream.
|
|
6
|
+
* @template SendPayload - The type of data that can be sent *to* the stream after connection.
|
|
7
|
+
*/
|
|
8
|
+
export interface WebSocketCommand<Config, SendPayload> {
|
|
9
|
+
/**
|
|
10
|
+
* Gets the configuration data needed to establish the connection.
|
|
11
|
+
*/
|
|
12
|
+
getConfig(): Config;
|
|
13
|
+
/**
|
|
14
|
+
* Gets the base WebSocket URL (e.g., wss://server.api.flowcore.io).
|
|
15
|
+
* @returns The base WebSocket URL string.
|
|
16
|
+
*/
|
|
17
|
+
getWebSocketBaseUrl(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets the specific path segment for the WebSocket URL based on the config
|
|
20
|
+
* (e.g., /api/v1/stream/entity/{id}).
|
|
21
|
+
* @param config - The configuration object.
|
|
22
|
+
* @returns The path segment string.
|
|
23
|
+
*/
|
|
24
|
+
getWebSocketPathSegment(config: Config): string;
|
|
25
|
+
/**
|
|
26
|
+
* Serializes the payload to be sent over the WebSocket.
|
|
27
|
+
* Default implementation might be JSON.stringify.
|
|
28
|
+
* @param payload - The payload object to send.
|
|
29
|
+
* @returns The serialized string representation.
|
|
30
|
+
*/
|
|
31
|
+
serializeSendPayload?(payload: SendPayload): string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Interface representing an active WebSocket stream connection.
|
|
35
|
+
* @template SendPayload - The type of data that can be sent to the stream.
|
|
36
|
+
*/
|
|
37
|
+
export interface ActiveStreamInterface<SendPayload> {
|
|
38
|
+
/**
|
|
39
|
+
* An Observable emitting the raw data chunks received from the WebSocket.
|
|
40
|
+
* Consumers should filter/map this observable based on the specific stream protocol.
|
|
41
|
+
*/
|
|
42
|
+
output$: Observable<StreamChunk>;
|
|
43
|
+
/**
|
|
44
|
+
* Sends a payload to the WebSocket stream.
|
|
45
|
+
* @param payload - The data to send, conforming to the SendPayload type.
|
|
46
|
+
* @returns True if the message was queued to be sent, false otherwise (e.g., socket not open).
|
|
47
|
+
*/
|
|
48
|
+
send(payload: SendPayload): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Disconnects the WebSocket stream gracefully.
|
|
51
|
+
*/
|
|
52
|
+
disconnect(): void;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=websocket-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"websocket-command.d.ts","sourceRoot":"","sources":["../../src/common/websocket-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAA;AAE9E;;;;GAIG;AACH,MAAM,WAAW,gBAAgB,CAAC,MAAM,EAAE,WAAW;IACnD;;OAEG;IACH,SAAS,IAAI,MAAM,CAAA;IAEnB;;;OAGG;IACH,mBAAmB,IAAI,MAAM,CAAA;IAE7B;;;;;OAKG;IACH,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IAE/C;;;;;OAKG;IACH,oBAAoB,CAAC,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAAA;CACpD;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB,CAAC,WAAW;IAChD;;;OAGG;IACH,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAEhC;;;;OAIG;IACH,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAA;IAEnC;;OAEG;IACH,UAAU,IAAI,IAAI,CAAA;CACnB"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { ContextItem } from "./ai-agent-coordinator.js";
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for initiating an AI Agent Coordinator stream.
|
|
4
|
+
*/
|
|
5
|
+
export interface AiStreamConfig {
|
|
6
|
+
/** The ID of the conversation to stream. */
|
|
7
|
+
conversationId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface MarkdownDeltaChunk {
|
|
10
|
+
type: "markdown_delta";
|
|
11
|
+
/** The chunk of markdown text. */
|
|
12
|
+
content: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ToolStartChunk {
|
|
15
|
+
type: "tool_start";
|
|
16
|
+
/** The name of the tool being executed. */
|
|
17
|
+
tool_name: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ToolInputChunk {
|
|
20
|
+
type: "tool_input";
|
|
21
|
+
/** The input provided to the tool (can be any JSON structure). */
|
|
22
|
+
content: unknown;
|
|
23
|
+
}
|
|
24
|
+
export interface ToolOutputChunk {
|
|
25
|
+
type: "tool_output";
|
|
26
|
+
/** The output received from the tool (can be any JSON structure). */
|
|
27
|
+
content: unknown;
|
|
28
|
+
}
|
|
29
|
+
export interface ToolErrorChunk {
|
|
30
|
+
type: "tool_error";
|
|
31
|
+
content: {
|
|
32
|
+
/** A summary error message. */
|
|
33
|
+
error_message: string;
|
|
34
|
+
/** Optional additional details about the error. */
|
|
35
|
+
details?: string | unknown;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export interface ContextAddItemChunk {
|
|
39
|
+
type: "context_add_item";
|
|
40
|
+
/** The full context item that was added. */
|
|
41
|
+
item: ContextItem;
|
|
42
|
+
}
|
|
43
|
+
export interface TitleUpdateChunk {
|
|
44
|
+
type: "title_update";
|
|
45
|
+
/** The new suggested title for the conversation. */
|
|
46
|
+
title: string;
|
|
47
|
+
}
|
|
48
|
+
export interface ArtifactStartChunk {
|
|
49
|
+
type: "artifact_start";
|
|
50
|
+
artifactId: string;
|
|
51
|
+
artifactType: string;
|
|
52
|
+
title: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ArtifactContentDeltaChunk {
|
|
55
|
+
type: "artifact_content_delta";
|
|
56
|
+
artifactId: string;
|
|
57
|
+
/** The chunk of artifact text content. */
|
|
58
|
+
content: string;
|
|
59
|
+
}
|
|
60
|
+
export interface ArtifactDataChunk {
|
|
61
|
+
type: "artifact_data";
|
|
62
|
+
artifactId: string;
|
|
63
|
+
/** The complete JSON data for the artifact. */
|
|
64
|
+
data: unknown;
|
|
65
|
+
}
|
|
66
|
+
export interface ArtifactUrlChunk {
|
|
67
|
+
type: "artifact_url";
|
|
68
|
+
artifactId: string;
|
|
69
|
+
/** The URL pointing to the artifact content. */
|
|
70
|
+
url: string;
|
|
71
|
+
}
|
|
72
|
+
export interface ArtifactEndChunk {
|
|
73
|
+
type: "artifact_end";
|
|
74
|
+
artifactId: string;
|
|
75
|
+
}
|
|
76
|
+
export interface ConversationCreatedChunk {
|
|
77
|
+
type: "conversation_created";
|
|
78
|
+
/** The ID of the newly created conversation. */
|
|
79
|
+
conversationId: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* A discriminated union of all possible chunk types streamed from the backend.
|
|
83
|
+
*/
|
|
84
|
+
export type StreamChunk = MarkdownDeltaChunk | ToolStartChunk | ToolInputChunk | ToolOutputChunk | ToolErrorChunk | ContextAddItemChunk | TitleUpdateChunk | ArtifactStartChunk | ArtifactContentDeltaChunk | ArtifactDataChunk | ArtifactUrlChunk | ArtifactEndChunk | ConversationCreatedChunk;
|
|
85
|
+
//# sourceMappingURL=ai-agent-coordinator-stream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-agent-coordinator-stream.d.ts","sourceRoot":"","sources":["../../src/contracts/ai-agent-coordinator-stream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAI5D;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,4CAA4C;IAC5C,cAAc,EAAE,MAAM,CAAA;CAEvB;AAID,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,gBAAgB,CAAA;IACtB,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAA;IAClB,2CAA2C;IAC3C,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAA;IAClB,kEAAkE;IAClE,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAA;IACnB,qEAAqE;IACrE,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,EAAE;QACP,+BAA+B;QAC/B,aAAa,EAAE,MAAM,CAAA;QACrB,mDAAmD;QACnD,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAC3B,CAAA;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,kBAAkB,CAAA;IACxB,4CAA4C;IAC5C,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,cAAc,CAAA;IACpB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,gBAAgB,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,wBAAwB,CAAA;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,0CAA0C;IAC1C,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,eAAe,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,+CAA+C;IAC/C,IAAI,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,cAAc,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,gDAAgD;IAChD,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,cAAc,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,sBAAsB,CAAA;IAC5B,gDAAgD;IAChD,cAAc,EAAE,MAAM,CAAA;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,kBAAkB,GAClB,cAAc,GACd,cAAc,GACd,eAAe,GACf,cAAc,GACd,mBAAmB,GACnB,gBAAgB,GAChB,kBAAkB,GAClB,yBAAyB,GACzB,iBAAiB,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface ContextItem {
|
|
2
|
+
type: "tenant" | "dataCore" | "flowType" | "eventType" | string;
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
}
|
|
7
|
+
export interface Message {
|
|
8
|
+
id: string;
|
|
9
|
+
role: "user" | "ai";
|
|
10
|
+
content: string;
|
|
11
|
+
timestamp: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ConversationMetadata {
|
|
14
|
+
id: string;
|
|
15
|
+
title: string;
|
|
16
|
+
lastUpdated: string;
|
|
17
|
+
}
|
|
18
|
+
export interface Conversation extends ConversationMetadata {
|
|
19
|
+
context: ContextItem[];
|
|
20
|
+
messages: Message[];
|
|
21
|
+
}
|
|
22
|
+
export interface ConversationListResponse {
|
|
23
|
+
conversations: ConversationMetadata[];
|
|
24
|
+
}
|
|
25
|
+
export interface ConversationDeleteResponse {
|
|
26
|
+
message: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ContextUpdateResponse {
|
|
29
|
+
context: ContextItem[];
|
|
30
|
+
}
|
|
31
|
+
export interface AddContextItem {
|
|
32
|
+
type: string;
|
|
33
|
+
id: string;
|
|
34
|
+
}
|
|
35
|
+
export interface AddContextItemsRequest {
|
|
36
|
+
items: AddContextItem[];
|
|
37
|
+
}
|
|
38
|
+
export interface RemoveContextItemRequest {
|
|
39
|
+
itemId: string;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=ai-agent-coordinator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-agent-coordinator.d.ts","sourceRoot":"","sources":["../../src/contracts/ai-agent-coordinator.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,CAAA;IAC/D,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,YAAa,SAAQ,oBAAoB;IACxD,OAAO,EAAE,WAAW,EAAE,CAAA;IACtB,QAAQ,EAAE,OAAO,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,aAAa,EAAE,oBAAoB,EAAE,CAAA;CACtC;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,cAAc,EAAE,CAAA;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAA;CACf"}
|
package/script/mod.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
export * from "./commands/ai-agent-coordinator/mod.js";
|
|
1
2
|
export * from "./commands/index.js";
|
|
2
|
-
export * from "./common/command.js";
|
|
3
3
|
export * from "./common/command-custom.js";
|
|
4
4
|
export * from "./common/command-graphql.js";
|
|
5
|
+
export * from "./common/command.js";
|
|
5
6
|
export * from "./common/flowcore-client.js";
|
|
6
|
-
export
|
|
7
|
+
export { NotificationClient, type NotificationClientOptions, type NotificationEvent, } from "./common/notification-client.js";
|
|
8
|
+
export * from "./common/websocket-client.js";
|
|
9
|
+
export { type OidcClient, WebSocketClient, type WebSocketClientOptions } from "./common/websocket-client.js";
|
|
10
|
+
export * from "./common/websocket-command.js";
|
|
11
|
+
export * from "./contracts/ai-agent-coordinator-stream.js";
|
|
12
|
+
export * from "./contracts/ai-agent-coordinator.js";
|
|
7
13
|
export * from "./contracts/index.js";
|
|
8
14
|
export * from "./exceptions/index.js";
|
|
9
15
|
export * from "./utils/parse-response-helper.js";
|
package/script/mod.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAA;AACtD,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA;AACnC,cAAc,6BAA6B,CAAA;AAC3C,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,GACvB,MAAM,iCAAiC,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,OAAO,EAAE,KAAK,UAAU,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC5G,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4CAA4C,CAAA;AAC1D,cAAc,qCAAqC,CAAA;AACnD,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kCAAkC,CAAA"}
|
package/script/mod.js
CHANGED
|
@@ -14,12 +14,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.WebSocketClient = exports.NotificationClient = void 0;
|
|
18
|
+
__exportStar(require("./commands/ai-agent-coordinator/mod.js"), exports);
|
|
17
19
|
__exportStar(require("./commands/index.js"), exports);
|
|
18
|
-
__exportStar(require("./common/command.js"), exports);
|
|
19
20
|
__exportStar(require("./common/command-custom.js"), exports);
|
|
20
21
|
__exportStar(require("./common/command-graphql.js"), exports);
|
|
22
|
+
__exportStar(require("./common/command.js"), exports);
|
|
21
23
|
__exportStar(require("./common/flowcore-client.js"), exports);
|
|
22
|
-
|
|
24
|
+
var notification_client_js_1 = require("./common/notification-client.js");
|
|
25
|
+
Object.defineProperty(exports, "NotificationClient", { enumerable: true, get: function () { return notification_client_js_1.NotificationClient; } });
|
|
26
|
+
__exportStar(require("./common/websocket-client.js"), exports);
|
|
27
|
+
var websocket_client_js_1 = require("./common/websocket-client.js");
|
|
28
|
+
Object.defineProperty(exports, "WebSocketClient", { enumerable: true, get: function () { return websocket_client_js_1.WebSocketClient; } });
|
|
29
|
+
__exportStar(require("./common/websocket-command.js"), exports);
|
|
30
|
+
__exportStar(require("./contracts/ai-agent-coordinator-stream.js"), exports);
|
|
31
|
+
__exportStar(require("./contracts/ai-agent-coordinator.js"), exports);
|
|
23
32
|
__exportStar(require("./contracts/index.js"), exports);
|
|
24
33
|
__exportStar(require("./exceptions/index.js"), exports);
|
|
25
34
|
__exportStar(require("./utils/parse-response-helper.js"), exports);
|