omni-pi 0.1.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 (54) hide show
  1. package/CREDITS.md +28 -0
  2. package/LICENSE +21 -0
  3. package/README.md +81 -0
  4. package/agents/brain.md +24 -0
  5. package/agents/expert.md +21 -0
  6. package/agents/planner.md +22 -0
  7. package/agents/worker.md +21 -0
  8. package/bin/omni.js +79 -0
  9. package/extensions/omni-core/index.ts +22 -0
  10. package/extensions/omni-memory/index.ts +72 -0
  11. package/extensions/omni-skills/index.ts +11 -0
  12. package/extensions/omni-status/index.ts +11 -0
  13. package/package.json +75 -0
  14. package/prompts/brainstorm.md +15 -0
  15. package/prompts/spec-template.md +14 -0
  16. package/prompts/task-template.md +16 -0
  17. package/skills/omni-escalation/SKILL.md +17 -0
  18. package/skills/omni-execution/SKILL.md +18 -0
  19. package/skills/omni-init/SKILL.md +19 -0
  20. package/skills/omni-planning/SKILL.md +19 -0
  21. package/skills/omni-verification/SKILL.md +18 -0
  22. package/src/commands.ts +521 -0
  23. package/src/config.ts +154 -0
  24. package/src/context.ts +165 -0
  25. package/src/contracts.ts +183 -0
  26. package/src/doctor.ts +225 -0
  27. package/src/git.ts +135 -0
  28. package/src/memory.ts +25 -0
  29. package/src/pi.ts +240 -0
  30. package/src/planning.ts +303 -0
  31. package/src/plans.ts +247 -0
  32. package/src/repo.ts +210 -0
  33. package/src/skills.ts +308 -0
  34. package/src/status.ts +105 -0
  35. package/src/subagents.ts +1031 -0
  36. package/src/sync.ts +70 -0
  37. package/src/tasks.ts +141 -0
  38. package/src/templates.ts +261 -0
  39. package/src/work.ts +345 -0
  40. package/src/workflow.ts +375 -0
  41. package/templates/omni/DECISIONS.md +10 -0
  42. package/templates/omni/IDEAS.md +13 -0
  43. package/templates/omni/PROJECT.md +19 -0
  44. package/templates/omni/SESSION-SUMMARY.md +13 -0
  45. package/templates/omni/SKILLS.md +21 -0
  46. package/templates/omni/SPEC.md +11 -0
  47. package/templates/omni/STATE.md +7 -0
  48. package/templates/omni/TASKS.md +6 -0
  49. package/templates/omni/TESTS.md +17 -0
  50. package/templates/omni/research/README.md +3 -0
  51. package/templates/omni/specs/README.md +3 -0
  52. package/templates/omni/tasks/README.md +3 -0
  53. package/templates/pi/agents/omni-expert.md +13 -0
  54. package/templates/pi/agents/omni-worker.md +13 -0
@@ -0,0 +1,10 @@
1
+ # Decisions
2
+
3
+ Record important choices here as the project evolves.
4
+
5
+ ## Entries
6
+
7
+ - Date: YYYY-MM-DD
8
+ - Decision:
9
+ - Why:
10
+ - Impact:
@@ -0,0 +1,13 @@
1
+ # Ideas
2
+
3
+ ## Active ideas
4
+
5
+ -
6
+
7
+ ## Future ideas
8
+
9
+ -
10
+
11
+ ## Parking lot
12
+
13
+ -
@@ -0,0 +1,19 @@
1
+ # Project
2
+
3
+ ## Goal
4
+
5
+ Describe what this project should achieve.
6
+
7
+ ## Users
8
+
9
+ - Primary users:
10
+ - Secondary users:
11
+
12
+ ## Constraints
13
+
14
+ - Technical constraints:
15
+ - Product constraints:
16
+
17
+ ## Success Criteria
18
+
19
+ - What does success look like?
@@ -0,0 +1,13 @@
1
+ # Session Summary
2
+
3
+ ## Current understanding
4
+
5
+ -
6
+
7
+ ## Recent progress
8
+
9
+ -
10
+
11
+ ## Next handoff notes
12
+
13
+ -
@@ -0,0 +1,21 @@
1
+ # Skills
2
+
3
+ ## Installed
4
+
5
+ - None yet
6
+
7
+ ## Recommended
8
+
9
+ - None yet
10
+
11
+ ## Deferred
12
+
13
+ - None yet
14
+
15
+ ## Rejected
16
+
17
+ - None yet
18
+
19
+ ## Usage Notes
20
+
21
+ - Record why a skill was installed, recommended, or skipped.
@@ -0,0 +1,11 @@
1
+ # Spec
2
+
3
+ ## Problem
4
+
5
+ ## Solution shape
6
+
7
+ ## Key workflows
8
+
9
+ ## Risks
10
+
11
+ ## Open questions
@@ -0,0 +1,7 @@
1
+ # State
2
+
3
+ Current Phase: Understand
4
+ Active Task: None
5
+ Status Summary: Project initialized. Ready to capture goals and constraints.
6
+ Blockers: None
7
+ Next Step: Run /omni-plan after the initial project details are captured.
@@ -0,0 +1,6 @@
1
+ # Tasks
2
+
3
+ ## Task slices
4
+
5
+ | ID | Title | Role | Depends On | Status | Done Criteria |
6
+ | --- | --- | --- | --- | --- | --- |
@@ -0,0 +1,17 @@
1
+ # Tests
2
+
3
+ ## Project-wide checks
4
+
5
+ -
6
+
7
+ ## Task-specific checks
8
+
9
+ -
10
+
11
+ ## Retry policy
12
+
13
+ - Worker retries before expert takeover: 2
14
+
15
+ ## Escalation threshold
16
+
17
+ - Escalate after repeated failures or when the planner marks the task as high-risk.
@@ -0,0 +1,3 @@
1
+ # Research
2
+
3
+ Store external research summaries and package notes here.
@@ -0,0 +1,3 @@
1
+ # Specs
2
+
3
+ Store versioned detailed specs here.
@@ -0,0 +1,3 @@
1
+ # Task Artifacts
2
+
3
+ Store per-task briefs, outputs, and failure histories here.
@@ -0,0 +1,13 @@
1
+ ---
2
+ name: omni-expert
3
+ description: Omni-Pi expert for escalated implementation tasks
4
+ model: anthropic/claude-opus-4-1
5
+ tools: read, grep, find, ls, bash, edit, write
6
+ skill: omni-escalation, omni-verification
7
+ ---
8
+
9
+ You are Omni-Pi's expert subagent.
10
+
11
+ Take over difficult or repeatedly failing tasks, fix the root cause, run the required checks when possible, and end with JSON only using this schema:
12
+
13
+ {"summary":"...","verification":{"passed":true,"checksRun":["..."],"failureSummary":[],"retryRecommended":false}}
@@ -0,0 +1,13 @@
1
+ ---
2
+ name: omni-worker
3
+ description: Omni-Pi worker for bounded implementation tasks
4
+ model: anthropic/claude-sonnet-4-5
5
+ tools: read, grep, find, ls, bash, edit, write
6
+ skill: omni-execution, omni-verification
7
+ ---
8
+
9
+ You are Omni-Pi's worker subagent.
10
+
11
+ Complete the assigned task directly, keep the scope tight, run the required checks when possible, and end with JSON only using this schema:
12
+
13
+ {"summary":"...","verification":{"passed":true,"checksRun":["..."],"failureSummary":[],"retryRecommended":false}}