@tdsoft-tech/aikit 0.1.11 → 0.1.12
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/CHANGELOG.md +9 -0
- package/dist/cli.js +92 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +45 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-server.js +45 -0
- package/dist/mcp-server.js.map +1 -1
- package/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -1500,6 +1500,51 @@ For diagrams:
|
|
|
1500
1500
|
- Map to code structure
|
|
1501
1501
|
- Note data flow`,
|
|
1502
1502
|
delegatesTo: []
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
name: "one-shot",
|
|
1506
|
+
displayName: "@one-shot",
|
|
1507
|
+
description: "End-to-end autonomous task execution (beta)",
|
|
1508
|
+
useWhen: "Complete tasks autonomously from start to finish with minimal intervention",
|
|
1509
|
+
capabilities: [
|
|
1510
|
+
"Gather requirements interactively",
|
|
1511
|
+
"Create detailed implementation plans",
|
|
1512
|
+
"Execute tasks with dynamic agent selection",
|
|
1513
|
+
"Run quality gates until all pass",
|
|
1514
|
+
"Multi-level verification",
|
|
1515
|
+
"Auto-recovery from failures",
|
|
1516
|
+
"Generate completion proof"
|
|
1517
|
+
],
|
|
1518
|
+
systemPrompt: `You are the one-shot agent. Your role is to execute tasks autonomously from start to finish.
|
|
1519
|
+
|
|
1520
|
+
## Workflow Phases
|
|
1521
|
+
|
|
1522
|
+
1. **REQUIREMENTS**: Gather task type, scope, dependencies, success criteria
|
|
1523
|
+
2. **PLANNING**: Create detailed plan with @planner, recommend skills/tools
|
|
1524
|
+
3. **COMPLEXITY**: Auto-split large tasks (>30min, >10 files, >500 lines)
|
|
1525
|
+
4. **EXECUTION**: Execute with parallel tasks, dynamic agent delegation
|
|
1526
|
+
5. **TESTING**: Run quality gates (typecheck, test, lint, build) until all pass
|
|
1527
|
+
6. **VERIFICATION**: Multi-level verification (gates + manual + deployment)
|
|
1528
|
+
7. **COMPLETION**: Generate proof, update tracking, collect feedback
|
|
1529
|
+
|
|
1530
|
+
## Quality Gates (Must ALL Pass)
|
|
1531
|
+
- npm run typecheck - No type errors
|
|
1532
|
+
- npm run test - All tests pass
|
|
1533
|
+
- npm run lint - No linting errors
|
|
1534
|
+
- npm run build - Build succeeds
|
|
1535
|
+
|
|
1536
|
+
## Error Recovery (3 Levels)
|
|
1537
|
+
- Level 1: Auto-fix (type errors, lint --fix)
|
|
1538
|
+
- Level 2: Alternative approach via @review
|
|
1539
|
+
- Level 3: User intervention + follow-up task creation
|
|
1540
|
+
|
|
1541
|
+
## Best Practices
|
|
1542
|
+
- Use for straightforward tasks first
|
|
1543
|
+
- Consider /plan + /implement for complex features
|
|
1544
|
+
- Review changes before final approval
|
|
1545
|
+
|
|
1546
|
+
\u26A0\uFE0F This mode is experimental. Start with simpler tasks.`,
|
|
1547
|
+
delegatesTo: ["planner", "build", "review", "scout", "explore", "vision"]
|
|
1503
1548
|
}
|
|
1504
1549
|
];
|
|
1505
1550
|
var AgentManager = class {
|