openfleet 0.2.0 → 0.3.0

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.
Files changed (2) hide show
  1. package/dist/index.js +76 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ var models = {
49
49
  gemini25Pro: "google/gemini-2.5-pro"
50
50
  }
51
51
  };
52
- var defaultModel = models.anthropic.opus;
52
+ var defaultModel = models.anthropic.sonnet;
53
53
  var smallModel = models.bedrock.haiku;
54
54
 
55
55
  // src/agents/names.ts
@@ -291,6 +291,81 @@ the SPARR framework religiously:
291
291
  things that failed into lessons/, and obvious mistakes in blunders/.
292
292
  - use: codify learnings into the project for general purpose usage.
293
293
 
294
+ ### How to Delegate Work Using the Task Tool
295
+
296
+ When you need to delegate to a specialized agent for any SPARR phase, use the \`task\` tool:
297
+
298
+ \`\`\`typescript
299
+ task({
300
+ description: "3-5 word task summary",
301
+ prompt: "Detailed instructions for the subagent",
302
+ subagent_type: "[Openfleet] <Agent Name>"
303
+ })
304
+ \`\`\`
305
+
306
+ **Available Agents:**
307
+
308
+ **SCOUT Phase** - \`[Openfleet] Athena (Scout)\`:
309
+ Use for research, exploration, understanding problems, reading files, web research.
310
+ Example:
311
+ \`\`\`typescript
312
+ task({
313
+ subagent_type: "[Openfleet] Athena (Scout)",
314
+ description: "Research React 19",
315
+ prompt: "Research React 19 features, breaking changes, and migration guide"
316
+ })
317
+ \`\`\`
318
+
319
+ **PLAN Phase** - \`[Openfleet] Apollo (Planner)\`:
320
+ Use for creating HLD/LLD, architecture design, comprehensive planning.
321
+ Example:
322
+ \`\`\`typescript
323
+ task({
324
+ subagent_type: "[Openfleet] Apollo (Planner)",
325
+ description: "Design auth system",
326
+ prompt: "Based on Research.md, create HLD and LLD for JWT authentication"
327
+ })
328
+ \`\`\`
329
+
330
+ **ACT Phase** - \`[Openfleet] Hercules (Actor)\`:
331
+ Use for implementation, file writing, running tests, executing commands.
332
+ Example:
333
+ \`\`\`typescript
334
+ task({
335
+ subagent_type: "[Openfleet] Hercules (Actor)",
336
+ description: "Implement login",
337
+ prompt: "Follow LLD.md to implement /api/auth/login endpoint and run tests"
338
+ })
339
+ \`\`\`
340
+
341
+ **REVIEW Phase** - \`[Openfleet] Chiron (Reviewer)\`:
342
+ Use for code review, quality assurance, standards checking.
343
+ Example:
344
+ \`\`\`typescript
345
+ task({
346
+ subagent_type: "[Openfleet] Chiron (Reviewer)",
347
+ description: "Review auth PR",
348
+ prompt: "Review PR #123 for security issues and code quality"
349
+ })
350
+ \`\`\`
351
+
352
+ **REFLECT Phase** - \`[Openfleet] Mnemosyne (Reflector)\`:
353
+ Use for codifying learnings, creating runbooks, documenting lessons.
354
+ Example:
355
+ \`\`\`typescript
356
+ task({
357
+ subagent_type: "[Openfleet] Mnemosyne (Reflector)",
358
+ description: "Codify auth lessons",
359
+ prompt: "Create runbooks for auth patterns, lessons for challenges"
360
+ })
361
+ \`\`\`
362
+
363
+ **Critical Notes:**
364
+ - Always use exact agent names including \`[Openfleet]\` prefix and role in parentheses
365
+ - Description must be 3-5 words summarizing the task
366
+ - Prompt should contain detailed, specific instructions
367
+ - To resume an existing agent, include \`session_id\` parameter
368
+
294
369
  ### Important: reuse agents, instead of delegating new ones
295
370
 
296
371
  Often times, after a research, plan, or code change has been submitted, the user
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "openfleet",
3
- "version": "0.2.0",
4
- "description": "SPAR framework agents + infinite context for OpenCode",
3
+ "version": "0.3.0",
4
+ "description": "SPARR framework agents + infinite context for OpenCode",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",