@axiom-lattice/core 2.1.69 → 2.1.70

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/dist/index.mjs CHANGED
@@ -18895,8 +18895,9 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
18895
18895
 
18896
18896
  **Step 2: Topology design.** Design the agent topology and use \`show_widget\` to render an interactive diagram showing the flow: Orchestrator \u2192 Stage 1 \u2192 Stage 2 \u2192 ... \u2192 Output. Each edge should be labeled with its business purpose.
18897
18897
 
18898
- **Step 3: Design each sub-agent** (one at a time). For each:
18898
+ **Step 3: Design each sub-agent** as a **deep_agent** type (one at a time). For each:
18899
18899
  - Responsibility, system prompt, middleware, input/output contract
18900
+ - Deep agents have built-in file capabilities (ls, read, write, edit, glob, grep), so do NOT add filesystem middleware.
18900
18901
  - **Ask for confirmation before moving to the next sub-agent.**
18901
18902
 
18902
18903
  **Step 4: Design the orchestrator.** Responsibility, system prompt, topology edges, sub-agent list.
@@ -18927,7 +18928,7 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
18927
18928
  - Be detailed but concise \u2014 each section should be 1-5 lines
18928
18929
  - Avoid placeholder text like "TODO" or "TBD"
18929
18930
 
18930
- **Example structure:**
18931
+ **Example structure** (\u5B50 Agent \u5747\u4E3A deep_agent \u7C7B\u578B\uFF0C\u65E0\u9700 filesystem \u4E2D\u95F4\u4EF6):
18931
18932
 
18932
18933
  \`\`\`markdown
18933
18934
  ## Overview
@@ -18936,7 +18937,7 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
18936
18937
  ## Steps
18937
18938
  1. **\u6570\u636E\u91C7\u96C6 (data-collector)** \u2014 \u4F7F\u7528 browser \u5DE5\u5177\u722C\u53D6\u6307\u5B9AURL\u7684\u7ADE\u54C1\u4EF7\u683C\u6570\u636E\uFF0C\u8C03\u7528 metrics API \u62C9\u53D6\u5386\u53F2\u4EF7\u683C\u3002\u8F93\u51FA\u539F\u59CB\u4EF7\u683C\u6570\u636E\u96C6 JSON\u3002
18938
18939
  2. **\u6570\u636E\u6E05\u6D17 (data-cleaner)** \u2014 \u4F7F\u7528 code_eval \u6267\u884C Python \u811A\u672C\u6E05\u6D17\u5F02\u5E38\u503C\u548C\u7F3A\u5931\u503C\uFF0C\u7EDF\u4E00\u8D27\u5E01\u5355\u4F4D\u3002\u8F93\u51FA\u6807\u51C6\u5316\u6570\u636E\u96C6\u3002
18939
- 3. **\u62A5\u544A\u751F\u6210 (report-generator)** \u2014 \u4F7F\u7528 filesystem \u8BFB\u53D6\u6A21\u677F\uFF0Ccode_eval \u8BA1\u7B97\u6DA8\u8DCC\u5E45\u548C\u8D8B\u52BF\uFF0C\u751F\u6210 Markdown \u5BF9\u6BD4\u62A5\u544A\u3002\u8F93\u51FA\u62A5\u544A\u6587\u4EF6\u8DEF\u5F84\u3002
18940
+ 3. **\u62A5\u544A\u751F\u6210 (report-generator)** \u2014 \u8BFB\u53D6\u6A21\u677F\u6587\u4EF6\uFF0Ccode_eval \u8BA1\u7B97\u6DA8\u8DCC\u5E45\u548C\u8D8B\u52BF\uFF0C\u751F\u6210 Markdown \u5BF9\u6BD4\u62A5\u544A\u3002\u8F93\u51FA\u62A5\u544A\u6587\u4EF6\u8DEF\u5F84\u3002
18940
18941
  4. **\u901A\u77E5\u63A8\u9001 (notifier)** \u2014 \u8C03\u7528 scheduler \u5B89\u6392\u5B9A\u65F6\u53D1\u9001\uFF0C\u4F7F\u7528 ask_user_to_clarify \u8BF7\u6C42\u53D1\u9001\u786E\u8BA4\u3002\u8F93\u51FA\u53D1\u9001\u7ED3\u679C\u3002
18941
18942
 
18942
18943
  ## Data Flow
@@ -18952,8 +18953,8 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
18952
18953
  | \u5B50Agent | \u5DE5\u5177 |
18953
18954
  |---------|------|
18954
18955
  | data-collector | browser, metrics |
18955
- | data-cleaner | code_eval, filesystem |
18956
- | report-generator | code_eval, filesystem |
18956
+ | data-cleaner | code_eval |
18957
+ | report-generator | code_eval |
18957
18958
  | notifier | scheduler, ask_user_to_clarify |
18958
18959
 
18959
18960
  ## Expected Input
@@ -18977,9 +18978,9 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
18977
18978
  Create sub-agents FIRST, then the orchestrator:
18978
18979
 
18979
18980
  \`\`\`
18980
- 1. create_agent(name: "stage-1", type: "react", ...)
18981
- 2. create_agent(name: "stage-2", type: "react", ...)
18982
- 3. create_agent(name: "stage-3", type: "react", ...)
18981
+ 1. create_agent(name: "stage-1", type: "deep_agent", ...)
18982
+ 2. create_agent(name: "stage-2", type: "deep_agent", ...)
18983
+ 3. create_agent(name: "stage-3", type: "deep_agent", ...)
18983
18984
  4. create_processing_agent(
18984
18985
  name: "orchestrator",
18985
18986
  prompt: "...",
@@ -19016,7 +19017,7 @@ Use this for complex, open-ended tasks where the execution path cannot be fully
19016
19017
  - Work through todos one at a time
19017
19018
  - Refine the list as understanding deepens
19018
19019
  - Self-correct based on intermediate findings
19019
- 2. **Middleware** \u2014 filesystem, code_eval, browser, skill, widget, ask_user_to_clarify as needed
19020
+ 2. **Middleware** \u2014 code_eval, browser, skill, widget, ask_user_to_clarify as needed (deep_agent already has built-in file capabilities, so filesystem middleware is NOT needed)
19020
19021
  3. **Sub-agents** (optional) \u2014 Specialized delegates for specific capabilities
19021
19022
 
19022
19023
  **Step 4: Self-review.** Verify: autonomy, tool coverage, guardrails.
@@ -19084,29 +19085,7 @@ All fields except name, type, and prompt are optional.
19084
19085
 
19085
19086
  ### create_processing_agent (PROCESSING)
19086
19087
 
19087
- Creates a PROCESSING agent with a business-defined workflow topology. Sub-agents must already exist.
19088
-
19089
- \`\`\`typescript
19090
- {
19091
- name: string, // Required. Display name for the orchestrator
19092
- description?: string, // Required for good UX. Comprehensive workflow spec in Markdown (Chinese if user speaks Chinese). Must cover: Overview, Steps (with tools per step), Data Flow, Logic & Conditions, Tools Used, Expected Input, Expected Output. This is the single source of truth displayed in the automation view info popover.
19093
- prompt: string, // Required. System prompt \u2014 how to route through the topology
19094
- edges: [{ // Required. At least 1 edge defining the workflow
19095
- from: string, // Orchestrator's ID (use placeholder name; tool auto-replaces)
19096
- to: string, // Sub-agent ID to delegate to
19097
- purpose: string, // Business purpose \u2014 what this step accomplishes
19098
- }],
19099
- tools?: string[], // Optional. Tool keys from list_tools
19100
- subAgents: string[], // Required. IDs of sub-agents in the pipeline
19101
- internalSubAgents?: AgentConfig[], // Optional. Inline sub-agent configs
19102
- middleware?: MiddlewareConfig[], // Optional. Additional middleware (topology is auto-added)
19103
- modelKey?: string, // Optional. Model to use
19104
- }
19105
- \`\`\`
19106
-
19107
- ### create_processing_agent (PROCESSING)
19108
-
19109
- Creates a PROCESSING agent with a business-defined workflow topology. Sub-agents must already exist.
19088
+ Creates a PROCESSING agent with a business-defined workflow topology. Sub-agents must already exist (created as **deep_agent** type).
19110
19089
 
19111
19090
  \`\`\`typescript
19112
19091
  {
@@ -19118,6 +19097,7 @@ Creates a PROCESSING agent with a business-defined workflow topology. Sub-agents
19118
19097
  to: string, // Sub-agent ID to delegate to
19119
19098
  purpose: string, // Business purpose \u2014 what this step accomplishes
19120
19099
  }],
19100
+ tools?: string[], // Optional. Tool keys from list_tools
19121
19101
  subAgents: string[], // Required. IDs of sub-agents in the pipeline
19122
19102
  internalSubAgents?: AgentConfig[], // Optional. Inline sub-agent configs
19123
19103
  middleware?: MiddlewareConfig[], // Optional. Additional middleware (topology is auto-added)
@@ -19248,13 +19228,13 @@ Provides: \`read_topo_progress\` \u2014 enforces multi-agent workflow topology.
19248
19228
 
19249
19229
  | Agent Role | Recommended Middleware |
19250
19230
  |-----------|----------------------|
19251
- | Code assistant | filesystem, code_eval, widget |
19252
- | Data analyst | filesystem, sql, code_eval, widget |
19253
- | Web researcher | browser, filesystem, widget |
19231
+ | Code assistant | code_eval, widget |
19232
+ | Data analyst | sql, code_eval, widget |
19233
+ | Web researcher | browser, widget |
19254
19234
  | Operations / SRE | metrics, sql, widget |
19255
19235
  | Process orchestrator | skill, date, scheduler, widget |
19256
- | General assistant | filesystem, date, widget |
19257
- | Approval-gated operations | ask_user_to_clarify, filesystem, widget |
19236
+ | General assistant | date, widget |
19237
+ | Approval-gated operations | ask_user_to_clarify, widget |
19258
19238
  | Interactive Q&A | ask_user_to_clarify, date, widget |
19259
19239
 
19260
19240
  ### update_processing_agent