@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.js CHANGED
@@ -19069,8 +19069,9 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
19069
19069
 
19070
19070
  **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.
19071
19071
 
19072
- **Step 3: Design each sub-agent** (one at a time). For each:
19072
+ **Step 3: Design each sub-agent** as a **deep_agent** type (one at a time). For each:
19073
19073
  - Responsibility, system prompt, middleware, input/output contract
19074
+ - Deep agents have built-in file capabilities (ls, read, write, edit, glob, grep), so do NOT add filesystem middleware.
19074
19075
  - **Ask for confirmation before moving to the next sub-agent.**
19075
19076
 
19076
19077
  **Step 4: Design the orchestrator.** Responsibility, system prompt, topology edges, sub-agent list.
@@ -19101,7 +19102,7 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
19101
19102
  - Be detailed but concise \u2014 each section should be 1-5 lines
19102
19103
  - Avoid placeholder text like "TODO" or "TBD"
19103
19104
 
19104
- **Example structure:**
19105
+ **Example structure** (\u5B50 Agent \u5747\u4E3A deep_agent \u7C7B\u578B\uFF0C\u65E0\u9700 filesystem \u4E2D\u95F4\u4EF6):
19105
19106
 
19106
19107
  \`\`\`markdown
19107
19108
  ## Overview
@@ -19110,7 +19111,7 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
19110
19111
  ## Steps
19111
19112
  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
19112
19113
  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
19113
- 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
19114
+ 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
19114
19115
  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
19115
19116
 
19116
19117
  ## Data Flow
@@ -19126,8 +19127,8 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
19126
19127
  | \u5B50Agent | \u5DE5\u5177 |
19127
19128
  |---------|------|
19128
19129
  | data-collector | browser, metrics |
19129
- | data-cleaner | code_eval, filesystem |
19130
- | report-generator | code_eval, filesystem |
19130
+ | data-cleaner | code_eval |
19131
+ | report-generator | code_eval |
19131
19132
  | notifier | scheduler, ask_user_to_clarify |
19132
19133
 
19133
19134
  ## Expected Input
@@ -19151,9 +19152,9 @@ Use this when the task follows a standard BPO (Business Process Orchestration) p
19151
19152
  Create sub-agents FIRST, then the orchestrator:
19152
19153
 
19153
19154
  \`\`\`
19154
- 1. create_agent(name: "stage-1", type: "react", ...)
19155
- 2. create_agent(name: "stage-2", type: "react", ...)
19156
- 3. create_agent(name: "stage-3", type: "react", ...)
19155
+ 1. create_agent(name: "stage-1", type: "deep_agent", ...)
19156
+ 2. create_agent(name: "stage-2", type: "deep_agent", ...)
19157
+ 3. create_agent(name: "stage-3", type: "deep_agent", ...)
19157
19158
  4. create_processing_agent(
19158
19159
  name: "orchestrator",
19159
19160
  prompt: "...",
@@ -19190,7 +19191,7 @@ Use this for complex, open-ended tasks where the execution path cannot be fully
19190
19191
  - Work through todos one at a time
19191
19192
  - Refine the list as understanding deepens
19192
19193
  - Self-correct based on intermediate findings
19193
- 2. **Middleware** \u2014 filesystem, code_eval, browser, skill, widget, ask_user_to_clarify as needed
19194
+ 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)
19194
19195
  3. **Sub-agents** (optional) \u2014 Specialized delegates for specific capabilities
19195
19196
 
19196
19197
  **Step 4: Self-review.** Verify: autonomy, tool coverage, guardrails.
@@ -19258,29 +19259,7 @@ All fields except name, type, and prompt are optional.
19258
19259
 
19259
19260
  ### create_processing_agent (PROCESSING)
19260
19261
 
19261
- Creates a PROCESSING agent with a business-defined workflow topology. Sub-agents must already exist.
19262
-
19263
- \`\`\`typescript
19264
- {
19265
- name: string, // Required. Display name for the orchestrator
19266
- 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.
19267
- prompt: string, // Required. System prompt \u2014 how to route through the topology
19268
- edges: [{ // Required. At least 1 edge defining the workflow
19269
- from: string, // Orchestrator's ID (use placeholder name; tool auto-replaces)
19270
- to: string, // Sub-agent ID to delegate to
19271
- purpose: string, // Business purpose \u2014 what this step accomplishes
19272
- }],
19273
- tools?: string[], // Optional. Tool keys from list_tools
19274
- subAgents: string[], // Required. IDs of sub-agents in the pipeline
19275
- internalSubAgents?: AgentConfig[], // Optional. Inline sub-agent configs
19276
- middleware?: MiddlewareConfig[], // Optional. Additional middleware (topology is auto-added)
19277
- modelKey?: string, // Optional. Model to use
19278
- }
19279
- \`\`\`
19280
-
19281
- ### create_processing_agent (PROCESSING)
19282
-
19283
- Creates a PROCESSING agent with a business-defined workflow topology. Sub-agents must already exist.
19262
+ Creates a PROCESSING agent with a business-defined workflow topology. Sub-agents must already exist (created as **deep_agent** type).
19284
19263
 
19285
19264
  \`\`\`typescript
19286
19265
  {
@@ -19292,6 +19271,7 @@ Creates a PROCESSING agent with a business-defined workflow topology. Sub-agents
19292
19271
  to: string, // Sub-agent ID to delegate to
19293
19272
  purpose: string, // Business purpose \u2014 what this step accomplishes
19294
19273
  }],
19274
+ tools?: string[], // Optional. Tool keys from list_tools
19295
19275
  subAgents: string[], // Required. IDs of sub-agents in the pipeline
19296
19276
  internalSubAgents?: AgentConfig[], // Optional. Inline sub-agent configs
19297
19277
  middleware?: MiddlewareConfig[], // Optional. Additional middleware (topology is auto-added)
@@ -19422,13 +19402,13 @@ Provides: \`read_topo_progress\` \u2014 enforces multi-agent workflow topology.
19422
19402
 
19423
19403
  | Agent Role | Recommended Middleware |
19424
19404
  |-----------|----------------------|
19425
- | Code assistant | filesystem, code_eval, widget |
19426
- | Data analyst | filesystem, sql, code_eval, widget |
19427
- | Web researcher | browser, filesystem, widget |
19405
+ | Code assistant | code_eval, widget |
19406
+ | Data analyst | sql, code_eval, widget |
19407
+ | Web researcher | browser, widget |
19428
19408
  | Operations / SRE | metrics, sql, widget |
19429
19409
  | Process orchestrator | skill, date, scheduler, widget |
19430
- | General assistant | filesystem, date, widget |
19431
- | Approval-gated operations | ask_user_to_clarify, filesystem, widget |
19410
+ | General assistant | date, widget |
19411
+ | Approval-gated operations | ask_user_to_clarify, widget |
19432
19412
  | Interactive Q&A | ask_user_to_clarify, date, widget |
19433
19413
 
19434
19414
  ### update_processing_agent