oh-my-githubcopilot 1.8.1 → 2.0.0-alpha.1cd01f4

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 (60) hide show
  1. package/.claude-plugin/plugin.json +23 -3
  2. package/AGENTS.md +29 -25
  3. package/CHANGELOG.md +49 -336
  4. package/README.md +7 -2
  5. package/agents/code-reviewer.agent.md +5 -0
  6. package/agents/{simplifier.agent.md → code-simplifier.agent.md} +2 -2
  7. package/agents/debugger.agent.md +1 -1
  8. package/agents/document-specialist.agent.md +6 -1
  9. package/agents/{explorer.agent.md → explore.agent.md} +2 -2
  10. package/agents/security-reviewer.agent.md +1 -1
  11. package/agents/test-engineer.agent.md +3 -1
  12. package/bin/omp-statusline.mjs +12 -11
  13. package/bin/omp-statusline.mjs.map +2 -2
  14. package/bin/omp.mjs +885 -42
  15. package/bin/omp.mjs.map +4 -4
  16. package/dist/hooks/delegation-enforcer.mjs +65 -13
  17. package/dist/hooks/delegation-enforcer.mjs.map +4 -4
  18. package/dist/hooks/hud-emitter.mjs +80 -28
  19. package/dist/hooks/hud-emitter.mjs.map +4 -4
  20. package/dist/hooks/keyword-detector.mjs +117 -11
  21. package/dist/hooks/keyword-detector.mjs.map +4 -4
  22. package/dist/hooks/model-router.mjs +64 -12
  23. package/dist/hooks/model-router.mjs.map +4 -4
  24. package/dist/hooks/stop-continuation.mjs +66 -14
  25. package/dist/hooks/stop-continuation.mjs.map +4 -4
  26. package/dist/hooks/token-tracker.mjs +81 -19
  27. package/dist/hooks/token-tracker.mjs.map +4 -4
  28. package/dist/mcp/server.mjs +17 -16
  29. package/dist/mcp/server.mjs.map +2 -2
  30. package/extension/extension.mjs +659 -0
  31. package/hooks/hooks.json +6 -6
  32. package/package.json +3 -2
  33. package/plugin.json +23 -3
  34. package/skills/build-fix/SKILL.md +35 -0
  35. package/skills/cancel/SKILL.md +33 -0
  36. package/skills/ccg/SKILL.md +37 -0
  37. package/skills/code-review/SKILL.md +33 -0
  38. package/skills/deep-dive/SKILL.md +33 -0
  39. package/skills/deepinit/SKILL.md +33 -0
  40. package/skills/deepsearch/SKILL.md +33 -0
  41. package/skills/design/SKILL.md +37 -0
  42. package/skills/external-context/SKILL.md +33 -0
  43. package/skills/help/SKILL.md +33 -0
  44. package/skills/omp-doctor/SKILL.md +23 -1
  45. package/skills/omp-reference/SKILL.md +20 -24
  46. package/skills/remember/SKILL.md +39 -0
  47. package/skills/research/SKILL.md +1 -1
  48. package/skills/sciomc/SKILL.md +35 -0
  49. package/skills/security-review/SKILL.md +33 -0
  50. package/skills/self-improve/SKILL.md +35 -0
  51. package/skills/ultragoal/SKILL.md +33 -0
  52. package/skills/ultraqa/SKILL.md +33 -0
  53. package/skills/verify/SKILL.md +33 -0
  54. package/skills/visual-verdict/SKILL.md +35 -0
  55. package/skills/web-clone/SKILL.md +35 -0
  56. package/skills/writer-memory/SKILL.md +37 -0
  57. package/agents/orchestrator.agent.md +0 -26
  58. package/agents/researcher.agent.md +0 -18
  59. package/agents/reviewer.agent.md +0 -23
  60. package/agents/tester.agent.md +0 -20
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: ultragoal
3
+ description: Durable goal ledger in .omp/ultragoal/ with fail-closed checkpoints
4
+ trigger: "ultragoal:, /ultragoal, /omp:ultragoal"
5
+ autoinvoke: false
6
+ ---
7
+ # Skill: UltraGoal
8
+
9
+ ## Metadata
10
+
11
+ | Field | Value |
12
+ |-------|-------|
13
+ | **ID** | `ultragoal` |
14
+ | **Keywords** | `ultragoal:`, `/ultragoal` |
15
+ | **Tier** | Planning Tool |
16
+ | **Source** | `src/skills/ultragoal.mts` |
17
+
18
+ ## Description
19
+
20
+ Durable goal ledger that persists goals in `.omp/ultragoal/goals.json` with fail-closed checkpoints. Goals survive session restarts and context resets. Each goal is assigned an ID, status, and creation timestamp. Supports adding new goals, listing current goals, and marking goals complete or failed.
21
+
22
+ ## Interface
23
+
24
+ ```typescript
25
+ interface SkillInput { trigger: string; args: string[]; }
26
+ interface SkillOutput { status: "ok" | "error"; message: string; }
27
+ export async function activate(input: SkillInput): Promise<SkillOutput>
28
+ export function deactivate(): void
29
+ ```
30
+
31
+ ## Implementation
32
+
33
+ Activates the `ultragoal` mode by spawning `bin/omp.mjs ultragoal [args]`. The CLI handler creates or reads `.omp/ultragoal/goals.json`, adds new goals from args, and prints the current goal list. No persistent resources are maintained by the skill itself.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: ultraqa
3
+ description: QA cycle loop with qa-tester agent; runs until all checks pass
4
+ trigger: "ultraqa:, /ultraqa, /omp:ultraqa"
5
+ autoinvoke: false
6
+ ---
7
+ # Skill: UltraQA
8
+
9
+ ## Metadata
10
+
11
+ | Field | Value |
12
+ |-------|-------|
13
+ | **ID** | `ultraqa` |
14
+ | **Keywords** | `ultraqa:`, `/ultraqa` |
15
+ | **Tier** | Execution Mode |
16
+ | **Source** | `src/skills/ultraqa.mts` |
17
+
18
+ ## Description
19
+
20
+ QA cycle loop that runs the qa-tester agent repeatedly until all acceptance criteria pass. Each iteration executes the test suite, collects failures, and routes remediation tasks back through the execution pipeline. Exits only when all checks are green or the maximum iteration count is reached.
21
+
22
+ ## Interface
23
+
24
+ ```typescript
25
+ interface SkillInput { trigger: string; args: string[]; }
26
+ interface SkillOutput { status: "ok" | "error"; message: string; }
27
+ export async function activate(input: SkillInput): Promise<SkillOutput>
28
+ export function deactivate(): void
29
+ ```
30
+
31
+ ## Implementation
32
+
33
+ Activates the `ultraqa` orchestration mode by spawning `bin/omp.mjs ultraqa [args]`. Drives the `@qa-tester` agent in a loop with the execution pipeline until all checks pass. No persistent resources are maintained.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: verify
3
+ description: Evidence-based completion check via verifier agent
4
+ trigger: "verify:, /verify, /omp:verify"
5
+ autoinvoke: false
6
+ ---
7
+ # Skill: Verify
8
+
9
+ ## Metadata
10
+
11
+ | Field | Value |
12
+ |-------|-------|
13
+ | **ID** | `verify` |
14
+ | **Keywords** | `verify:`, `/verify` |
15
+ | **Tier** | Planning Tool |
16
+ | **Source** | `src/skills/verify.mts` |
17
+
18
+ ## Description
19
+
20
+ Evidence-based completion check that routes to the verifier agent. Inspects current work against acceptance criteria, runs any defined test suites, and produces a structured pass/fail report with citations.
21
+
22
+ ## Interface
23
+
24
+ ```typescript
25
+ interface SkillInput { trigger: string; args: string[]; }
26
+ interface SkillOutput { status: "ok" | "error"; message: string; }
27
+ export async function activate(input: SkillInput): Promise<SkillOutput>
28
+ export function deactivate(): void
29
+ ```
30
+
31
+ ## Implementation
32
+
33
+ Activates the `verify` orchestration mode by spawning `bin/omp.mjs verify [args]`. Delegates to the verifier agent which checks completion evidence. No persistent resources are maintained.
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: visual-verdict
3
+ description: Visual diff/screenshot comparison verdict
4
+ trigger: "visual-verdict:, /visual-verdict, /omp:visual-verdict"
5
+ autoinvoke: false
6
+ ---
7
+ # Skill: Visual Verdict
8
+
9
+ ## Metadata
10
+
11
+ | Field | Value |
12
+ |-------|-------|
13
+ | **ID** | `visual-verdict` |
14
+ | **Keywords** | `visual-verdict:`, `/visual-verdict` |
15
+ | **Tier** | QA Tool |
16
+ | **Source** | `src/skills/visual-verdict.mts` |
17
+
18
+ ## Description
19
+
20
+ Compares visual diffs or screenshots to render a pass/fail verdict. Accepts before/after image paths or URLs, runs a pixel-level diff, and produces a structured verdict with diff percentage, bounding boxes of changed regions, and a human-readable summary.
21
+
22
+ ## Interface
23
+
24
+ ```typescript
25
+ interface SkillInput { trigger: string; args: string[]; }
26
+ interface SkillOutput { status: "ok" | "error"; message: string; }
27
+ export async function activate(input: SkillInput): Promise<SkillOutput>
28
+ export function deactivate(): void
29
+ ```
30
+
31
+ ## Implementation
32
+
33
+ Extension-only skill. Triggers visual diff comparison in Copilot. The CLI prints guidance directing users to the Copilot CLI slash command.
34
+
35
+ > **P3 scope:** Integration with Playwright screenshot capture and CI diff reporting (as specified in SPEC-omp-2.0 §5) are deferred to P3. The current implementation accepts user-supplied image paths only.
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: web-clone
3
+ description: Clone and adapt a web page/design to the codebase
4
+ trigger: "web-clone:, /web-clone, /omp:web-clone"
5
+ autoinvoke: false
6
+ ---
7
+ # Skill: Web-Clone
8
+
9
+ ## Metadata
10
+
11
+ | Field | Value |
12
+ |-------|-------|
13
+ | **ID** | `web-clone` |
14
+ | **Keywords** | `web-clone:`, `/web-clone` |
15
+ | **Tier** | Frontend Tool |
16
+ | **Source** | `src/skills/web-clone.mts` |
17
+
18
+ ## Description
19
+
20
+ Clones a web page or design reference and adapts it to the project's codebase. Accepts a URL or screenshot, extracts the visual structure and content, and generates framework-appropriate components that match the existing project conventions. Handles responsive layouts, typography, colour schemes, and interactive elements.
21
+
22
+ ## Interface
23
+
24
+ ```typescript
25
+ interface SkillInput { trigger: string; args: string[]; }
26
+ interface SkillOutput { status: "ok" | "error"; message: string; }
27
+ export async function activate(input: SkillInput): Promise<SkillOutput>
28
+ export function deactivate(): void
29
+ ```
30
+
31
+ ## Implementation
32
+
33
+ Extension-only skill. Triggers web page cloning and adaptation in Copilot. The CLI prints guidance directing users to the Copilot CLI slash command.
34
+
35
+ > **P3 scope:** Live browser puppeteer crawl, asset extraction, and animation cloning (as specified in SPEC-omp-2.0 §5) are deferred to P3. The current implementation accepts URL or screenshot input and generates static component output.
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: writer-memory
3
+ description: Writing style memory — stores voice/tone preferences
4
+ trigger: "writer-memory:, /writer-memory, /omp:writer-memory"
5
+ autoinvoke: false
6
+ ---
7
+ # Skill: Writer Memory
8
+
9
+ ## Metadata
10
+
11
+ | Field | Value |
12
+ |-------|-------|
13
+ | **ID** | `writer-memory` |
14
+ | **Keywords** | `writer-memory:`, `/writer-memory` |
15
+ | **Tier** | Memory Tool |
16
+ | **Source** | `src/skills/writer-memory.mts` |
17
+
18
+ ## Description
19
+
20
+ Stores and retrieves writing style preferences, voice, and tone guidelines in `.omp/writer-memory.md`. Use `omp writer-memory <style-note>` to append a new style note, or `omp writer-memory` (no args) to print the current style guide. These preferences persist across sessions and are available to writer and document-specialist agents.
21
+
22
+ ## Interface
23
+
24
+ ```typescript
25
+ interface SkillInput { trigger: string; args: string[]; }
26
+ interface SkillOutput { status: "ok" | "error"; message: string; }
27
+ export async function activate(input: SkillInput): Promise<SkillOutput>
28
+ export function deactivate(): void
29
+ ```
30
+
31
+ ## Implementation
32
+
33
+ Real CLI logic: `omp writer-memory <style-note>` appends the note to `.omp/writer-memory.md`. `omp writer-memory` prints the current file content. Extension-side reads and injects the style guide into the agent context.
34
+
35
+ > **Note:** Concurrent appends from multiple Copilot sessions are safe for entries ≤ 4KB (POSIX `O_APPEND` atomicity), but may interleave for larger entries. Single-session usage is fully safe.
36
+
37
+ > **P3 scope:** Full character/relationship/scene/theme tracking (as specified in SPEC-omp-2.0 §3) is deferred to P3. The current implementation provides voice/tone preference storage only.
@@ -1,26 +0,0 @@
1
- ---
2
- name: orchestrator
3
- description: >
4
- Top-level coordinator for OMP sessions.
5
- Use when: you need full orchestration — receives requests, selects agents, delegates work, verifies outcomes.
6
- model: claude-opus-4-6
7
- tools: [readFile, search, codebase]
8
- agents: [executor, architect, planner, verifier, writer, reviewer, designer, researcher, tester, debugger, security-reviewer, simplifier, test-engineer, critic, tracer, scientist, code-reviewer, document-specialist, qa-tester, git-master, analyst, explorer]
9
- user-invocable: true
10
- ---
11
-
12
- # Orchestrator
13
-
14
- ## Role
15
- The brain of the OMP system. Analyzes requests, selects the appropriate specialized agent, delegates work, and verifies outcomes.
16
-
17
- ## Responsibilities
18
- - Route every request to the most appropriate agent
19
- - Verify agent output before surfacing to user
20
- - Enforce delegation rules and model tier selection
21
- - Track context budget and trigger HUD/eco mode as needed
22
-
23
- ## Constraints
24
- - NEVER writes code, docs, or configs directly
25
- - ALWAYS delegates to a specialized agent
26
- - ALWAYS verifies before claiming completion
@@ -1,18 +0,0 @@
1
- ---
2
- name: researcher
3
- description: >
4
- External knowledge researcher for SDK docs, library references, and technology comparisons.
5
- Use when: looking up external docs, comparing libraries, researching APIs.
6
- model: claude-sonnet-4-6
7
- tools: [readFile, search, fetch]
8
- agents: []
9
- user-invocable: true
10
- ---
11
-
12
- # Researcher
13
-
14
- ## Role
15
- Find and synthesize external knowledge: SDK docs, library references, API docs, dependency information, technology comparisons.
16
-
17
- ## Constraints
18
- - READ-ONLY. Does not implement — finds and summarizes.
@@ -1,23 +0,0 @@
1
- ---
2
- name: reviewer
3
- description: >
4
- Code quality reviewer and style enforcer.
5
- Use when: code review, style enforcement, catching bugs before merge.
6
- model: claude-opus-4-6
7
- tools: [readFile, search, codebase, usages, problems]
8
- agents: [explore]
9
- user-invocable: true
10
- ---
11
-
12
- # Reviewer
13
-
14
- ## Role
15
- Thorough code reviews: enforce style, catch bugs, identify quality issues, and gate merges.
16
-
17
- ## Responsibilities
18
- - Style enforcement and pattern consistency
19
- - Bug identification with LSP precision
20
- - Merge gate verdicts
21
-
22
- ## NOT Responsible For
23
- - Implementing fixes (→ executor)
@@ -1,20 +0,0 @@
1
- ---
2
- name: tester
3
- description: >
4
- Test author and coverage analyzer.
5
- Use when: writing unit tests, executing test suites, analyzing coverage, CI integration.
6
- model: claude-sonnet-4-6
7
- tools: [readFile, editFiles, runInTerminal, findTestFiles, testFailures]
8
- agents: [explore]
9
- user-invocable: true
10
- ---
11
-
12
- # Tester
13
-
14
- ## Role
15
- Author tests, execute test suites, analyze coverage, and integrate tests into CI pipelines.
16
-
17
- ## Responsibilities
18
- - Unit and integration test authoring
19
- - Coverage analysis and gap identification
20
- - CI pipeline integration