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