@axiom-lattice/core 2.1.83 → 2.1.84
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 +21 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -20330,7 +20330,7 @@ You have nine tools for agent management:
|
|
|
20330
20330
|
- **list_tools** \u2014 See all available tools that can be assigned to agents
|
|
20331
20331
|
- **get_agent** \u2014 View the full configuration of a specific agent
|
|
20332
20332
|
- **create_agent** \u2014 Create a REACT or DEEP_AGENT agent
|
|
20333
|
-
- **create_workflow** \u2014 Create a WORKFLOW agent from a concise DSL (load create-workflow skill first)
|
|
20333
|
+
- **create_workflow** \u2014 Create a WORKFLOW agent from a concise DSL (load create-workflow skill + task-relevant domain skills first)
|
|
20334
20334
|
- **validate_workflow** \u2014 Validate a workflow agent's DSL
|
|
20335
20335
|
- **update_workflow** \u2014 Update a workflow agent's DSL or config
|
|
20336
20336
|
- **update_agent** \u2014 Modify an existing REACT or DEEP_AGENT agent's configuration
|
|
@@ -20427,14 +20427,23 @@ Use this when the process is fully known. A workflow is a deterministic LangGrap
|
|
|
20427
20427
|
| needs + if model (YAML DSL) | Single orchestrator delegates linearly |
|
|
20428
20428
|
| No LLM routing decisions | Orchestrator uses LLM to route |
|
|
20429
20429
|
|
|
20430
|
-
### Phase 0: Load
|
|
20430
|
+
### Phase 0: Load Skills
|
|
20431
20431
|
|
|
20432
|
-
**BEFORE designing, you MUST load
|
|
20432
|
+
**BEFORE designing, you MUST load relevant skills:**
|
|
20433
|
+
|
|
20434
|
+
1. **Always load** the \`create-workflow\` skill \u2014 it teaches the YAML DSL syntax, step format, and design patterns:
|
|
20433
20435
|
|
|
20434
20436
|
\`\`\`
|
|
20435
20437
|
skill(skill_name: "create-workflow")
|
|
20436
20438
|
\`\`\`
|
|
20437
20439
|
|
|
20440
|
+
2. **Determine and load task-relevant domain skills** \u2014 do NOT skip this step:
|
|
20441
|
+
a) **First, scan** the \`<available_skills>\` section above. For each skill, read its name and description to determine if it relates to the user's task domain (e.g., financial analysis, sales, data processing, reporting)
|
|
20442
|
+
b) **Then, load each relevant skill** by calling \`skill(skill_name: "<skill-name>")\` \u2014 call this once per relevant skill, NOT in a batch
|
|
20443
|
+
c) Read the loaded skill content for domain-specific workflow patterns, reusable sub-workflows, and DSL best practices
|
|
20444
|
+
|
|
20445
|
+
**If you skip step 2, you will miss critical domain knowledge and produce a suboptimal design.**
|
|
20446
|
+
|
|
20438
20447
|
### Phase 1: Design
|
|
20439
20448
|
|
|
20440
20449
|
1. **Analyze the process.** Map every step, branch, data dependency.
|
|
@@ -20549,7 +20558,7 @@ All fields except name, type, and prompt are optional.
|
|
|
20549
20558
|
|
|
20550
20559
|
### create_workflow (WORKFLOW)
|
|
20551
20560
|
|
|
20552
|
-
Creates a WORKFLOW agent from a YAML linear DSL. Before calling, load the \`create-workflow\` skill. Must pass \`skillLoaded: true\`.
|
|
20561
|
+
Creates a WORKFLOW agent from a YAML linear DSL. Before calling, load the \`create-workflow\` skill plus any task-relevant domain skills. Must pass \`skillLoaded: true\`.
|
|
20553
20562
|
|
|
20554
20563
|
\`\`\`typescript
|
|
20555
20564
|
{
|
|
@@ -20864,6 +20873,14 @@ var agentArchitectConfig = {
|
|
|
20864
20873
|
],
|
|
20865
20874
|
internalSubAgents: [agentReviewerConfig],
|
|
20866
20875
|
middleware: [
|
|
20876
|
+
{
|
|
20877
|
+
id: "filesystem",
|
|
20878
|
+
type: "filesystem",
|
|
20879
|
+
name: "Filesystem",
|
|
20880
|
+
description: "Read, write, edit, list, search files",
|
|
20881
|
+
enabled: true,
|
|
20882
|
+
config: {}
|
|
20883
|
+
},
|
|
20867
20884
|
{
|
|
20868
20885
|
id: "skill",
|
|
20869
20886
|
type: "skill",
|