@axiom-lattice/protocols 7.0.0 → 7.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiom-lattice/protocols",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "Unified protocol type definitions for Axiom Lattice framework",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -14,7 +14,6 @@ import { BaseLatticeProtocol } from "./BaseLatticeProtocol";
14
14
  export enum AgentType {
15
15
  REACT = "react",
16
16
  DEEP_AGENT = "deep_agent",
17
- PROCESSING = "processing",
18
17
  /** Remote A2A agent — delegates to an external A2A-compatible server */
19
18
  A2A_REMOTE = "a2a_remote",
20
19
  /** Workflow agent — compiled from YAML DSL into a LangGraph StateGraph */
@@ -129,7 +128,7 @@ export interface CollectionMiddlewareConfig {
129
128
  connectAll?: boolean;
130
129
  }
131
130
 
132
- export type MiddlewareType = "filesystem" | "code_eval" | "browser" | "sql" | "skill" | "http" | "custom" | "metrics" | "ask_user_to_clarify" | "widget" | "claw" | "date" | "scheduler" | "topology" | "task" | "collection" | string;
131
+ export type MiddlewareType = "filesystem" | "code_eval" | "browser" | "sql" | "skill" | "http" | "custom" | "metrics" | "ask_user_to_clarify" | "widget" | "claw" | "date" | "scheduler" | "task" | "collection" | string;
133
132
 
134
133
  export interface AgentMiddlewareConfig {
135
134
  id: string;
@@ -191,17 +190,6 @@ export interface DeepAgentConfig extends BaseAgentConfig {
191
190
  internalSubAgents?: AgentConfig[]; // Internal sub-agent list (unique to DEEP_AGENT)
192
191
  }
193
192
 
194
- /**
195
- * PROCESSING agent configuration — workflow orchestration with topology enforcement.
196
- * Replaces todoListMiddleware with topologyMiddleware.
197
- */
198
- export interface ProcessingAgentConfig extends BaseAgentConfig {
199
- type: AgentType.PROCESSING;
200
- tools?: string[];
201
- subAgents?: string[];
202
- internalSubAgents?: AgentConfig[];
203
- }
204
-
205
193
  // ─── A2A_REMOTE Agent ──────────────────────────────────────────────────────
206
194
 
207
195
  export interface LocalRuntimeConfig {
@@ -314,7 +302,6 @@ export function isWorkflowAgentConfig(
314
302
  export type AgentConfig =
315
303
  | ReactAgentConfig
316
304
  | DeepAgentConfig
317
- | ProcessingAgentConfig
318
305
  | A2ARemoteAgentConfig
319
306
  | WorkflowAgentConfig
320
307
 
@@ -324,7 +311,6 @@ export type AgentConfig =
324
311
  export type AgentConfigWithTools =
325
312
  | ReactAgentConfig
326
313
  | DeepAgentConfig
327
- | ProcessingAgentConfig
328
314
  | A2ARemoteAgentConfig
329
315
  | WorkflowAgentConfig
330
316
 
@@ -344,15 +330,6 @@ export function isDeepAgentConfig(
344
330
  return config.type === AgentType.DEEP_AGENT;
345
331
  }
346
332
 
347
- /**
348
- * Type guard to check if config is ProcessingAgentConfig (has subAgents + topology)
349
- */
350
- export function isProcessingAgentConfig(
351
- config: AgentConfig
352
- ): config is ProcessingAgentConfig {
353
- return config.type === AgentType.PROCESSING;
354
- }
355
-
356
333
  /**
357
334
  * Get tools from config safely
358
335
  */
@@ -364,10 +341,10 @@ export function getToolsFromConfig(config: AgentConfig): string[] {
364
341
  }
365
342
 
366
343
  /**
367
- * Get subAgents from config safely (DeepAgentConfig and ProcessingAgentConfig have subAgents)
344
+ * Get subAgents from config safely (only DeepAgentConfig has subAgents)
368
345
  */
369
346
  export function getSubAgentsFromConfig(config: AgentConfig): string[] {
370
- if (isDeepAgentConfig(config) || isProcessingAgentConfig(config)) {
347
+ if (isDeepAgentConfig(config)) {
371
348
  return config.subAgents || [];
372
349
  }
373
350
  return [];