@axiom-lattice/protocols 2.1.0 → 2.1.1
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
- package/src/MessageProtocol.ts +5 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/protocols@2.1.
|
|
2
|
+
> @axiom-lattice/protocols@2.1.1 build /home/runner/work/agentic/agentic/packages/protocols
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[32mCJS[39m [1mdist/index.js [22m[32m3.34 KB[39m
|
|
12
12
|
[32mCJS[39m [1mdist/index.js.map [22m[32m8.90 KB[39m
|
|
13
|
-
[32mCJS[39m ⚡️ Build success in
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 44ms
|
|
14
14
|
[32mESM[39m [1mdist/index.mjs [22m[32m2.06 KB[39m
|
|
15
15
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m8.37 KB[39m
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 43ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m12.
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m12.
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 2754ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m12.22 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m12.22 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -396,6 +396,10 @@ interface AssistantMessage extends BaseMessage {
|
|
|
396
396
|
content?: string;
|
|
397
397
|
tool_calls?: ToolCall[];
|
|
398
398
|
}
|
|
399
|
+
interface InterruptMessage extends BaseMessage {
|
|
400
|
+
type: "interrupt";
|
|
401
|
+
value: any;
|
|
402
|
+
}
|
|
399
403
|
/**
|
|
400
404
|
* System message interface
|
|
401
405
|
*/
|
|
@@ -516,4 +520,4 @@ type Timestamp = number;
|
|
|
516
520
|
*/
|
|
517
521
|
type Callback<T = any, R = void> = (data: T) => R | Promise<R>;
|
|
518
522
|
|
|
519
|
-
export { type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentLatticeProtocol, AgentType, type AssistantMessage, type BaseLatticeProtocol, type BaseMessage, type Callback, type DeepAgentConfig, type DeveloperMessage, type FilterCondition, type GraphBuildOptions, type ID, type LLMConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type MemoryClient, type MemoryConfig, type MemoryLatticeProtocol, MemoryType, type Message, type MessageChunk, type ModelLatticeProtocol, type PaginatedResult, type PaginationParams, type PlanExecuteAgentConfig, type QueryParams, type ReactAgentConfig, type Result, type SequentialAgentConfig, type StorageClient, type StorageConfig, type StorageLatticeProtocol, StorageType, type SystemMessage, type Timestamp, type ToolCall, type ToolConfig, type ToolExecutor, type ToolLatticeProtocol, type ToolMessage, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UserMessage, getSubAgentsFromConfig, getToolsFromConfig, hasTools, isDeepAgentConfig };
|
|
523
|
+
export { type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentLatticeProtocol, AgentType, type AssistantMessage, type BaseLatticeProtocol, type BaseMessage, type Callback, type DeepAgentConfig, type DeveloperMessage, type FilterCondition, type GraphBuildOptions, type ID, type InterruptMessage, type LLMConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type MemoryClient, type MemoryConfig, type MemoryLatticeProtocol, MemoryType, type Message, type MessageChunk, type ModelLatticeProtocol, type PaginatedResult, type PaginationParams, type PlanExecuteAgentConfig, type QueryParams, type ReactAgentConfig, type Result, type SequentialAgentConfig, type StorageClient, type StorageConfig, type StorageLatticeProtocol, StorageType, type SystemMessage, type Timestamp, type ToolCall, type ToolConfig, type ToolExecutor, type ToolLatticeProtocol, type ToolMessage, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UserMessage, getSubAgentsFromConfig, getToolsFromConfig, hasTools, isDeepAgentConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -396,6 +396,10 @@ interface AssistantMessage extends BaseMessage {
|
|
|
396
396
|
content?: string;
|
|
397
397
|
tool_calls?: ToolCall[];
|
|
398
398
|
}
|
|
399
|
+
interface InterruptMessage extends BaseMessage {
|
|
400
|
+
type: "interrupt";
|
|
401
|
+
value: any;
|
|
402
|
+
}
|
|
399
403
|
/**
|
|
400
404
|
* System message interface
|
|
401
405
|
*/
|
|
@@ -516,4 +520,4 @@ type Timestamp = number;
|
|
|
516
520
|
*/
|
|
517
521
|
type Callback<T = any, R = void> = (data: T) => R | Promise<R>;
|
|
518
522
|
|
|
519
|
-
export { type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentLatticeProtocol, AgentType, type AssistantMessage, type BaseLatticeProtocol, type BaseMessage, type Callback, type DeepAgentConfig, type DeveloperMessage, type FilterCondition, type GraphBuildOptions, type ID, type LLMConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type MemoryClient, type MemoryConfig, type MemoryLatticeProtocol, MemoryType, type Message, type MessageChunk, type ModelLatticeProtocol, type PaginatedResult, type PaginationParams, type PlanExecuteAgentConfig, type QueryParams, type ReactAgentConfig, type Result, type SequentialAgentConfig, type StorageClient, type StorageConfig, type StorageLatticeProtocol, StorageType, type SystemMessage, type Timestamp, type ToolCall, type ToolConfig, type ToolExecutor, type ToolLatticeProtocol, type ToolMessage, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UserMessage, getSubAgentsFromConfig, getToolsFromConfig, hasTools, isDeepAgentConfig };
|
|
523
|
+
export { type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentLatticeProtocol, AgentType, type AssistantMessage, type BaseLatticeProtocol, type BaseMessage, type Callback, type DeepAgentConfig, type DeveloperMessage, type FilterCondition, type GraphBuildOptions, type ID, type InterruptMessage, type LLMConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type MemoryClient, type MemoryConfig, type MemoryLatticeProtocol, MemoryType, type Message, type MessageChunk, type ModelLatticeProtocol, type PaginatedResult, type PaginationParams, type PlanExecuteAgentConfig, type QueryParams, type ReactAgentConfig, type Result, type SequentialAgentConfig, type StorageClient, type StorageConfig, type StorageLatticeProtocol, StorageType, type SystemMessage, type Timestamp, type ToolCall, type ToolConfig, type ToolExecutor, type ToolLatticeProtocol, type ToolMessage, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UserMessage, getSubAgentsFromConfig, getToolsFromConfig, hasTools, isDeepAgentConfig };
|
package/package.json
CHANGED
package/src/MessageProtocol.ts
CHANGED
|
@@ -44,6 +44,11 @@ export interface AssistantMessage extends BaseMessage {
|
|
|
44
44
|
tool_calls?: ToolCall[]; // Optional tool calls made by the assistant
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
export interface InterruptMessage extends BaseMessage {
|
|
48
|
+
type: "interrupt";
|
|
49
|
+
value: any;
|
|
50
|
+
}
|
|
51
|
+
|
|
47
52
|
/**
|
|
48
53
|
* System message interface
|
|
49
54
|
*/
|