@boyingliu01/opencode-plugin 0.8.13 → 0.8.14

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/index.ts CHANGED
@@ -18,9 +18,10 @@ async function runCmd(cmd: string, cwd: string): Promise<string> {
18
18
  try {
19
19
  const { stdout } = await execAsync(cmd, { cwd, timeout: 30000 })
20
20
  return stdout || "[XP-Gate] Command completed (no output)."
21
- } catch (err: any) {
22
- if (err.stderr) return err.stderr
23
- if (err.message) return `[XP-Gate] Error: ${err.message}`
21
+ } catch (err: unknown) {
22
+ const error = err as { stderr?: string; message?: string }
23
+ if (error.stderr) return error.stderr
24
+ if (error.message) return `[XP-Gate] Error: ${error.message}`
24
25
  return "[XP-Gate] Command failed."
25
26
  }
26
27
  }
@@ -57,7 +58,7 @@ async function getUpgradeSuggestion(cwd: string): Promise<string> {
57
58
  }
58
59
 
59
60
  export const XpGatePlugin = async (input: OpenCodePluginInput) => {
60
- const { directory, $ } = input
61
+ const { directory } = input
61
62
 
62
63
  return {
63
64
  tool: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/opencode-plugin",
3
- "version": "0.8.13",
3
+ "version": "0.8.14",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "description": "XP-Gate quality gates + AI workflow skills for OpenCode",
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-06-16
4
- **Commit:** b1d8786
4
+ **Commit:** 027813b
5
5
  **Branch:** main
6
- **Version:** 0.8.13.0
6
+ **Version:** 0.8.14.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Delphi Consensus Review — multi-round anonymous expert review (≥90% threshold, 3 experts from ≥2 providers, domestic models only). Supports design + code-walkthrough modes.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/SPRINT-FLOW KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-06-16
4
- **Commit:** b1d8786
4
+ **Commit:** 027813b
5
5
  **Branch:** main
6
- **Version:** 0.8.13.0
6
+ **Version:** 0.8.14.0
7
7
 
8
8
  ## OVERVIEW
9
9
  **11-phase** development pipeline: ISOLATE → AUTO-ESTIMATE → THINK → PLAN → BUILD → REVIEW → USER ACCEPTANCE → FEEDBACK → SHIP → LAND → CLEANUP. Phase 2 default build mode is **ralph-loop** (REQ-level iteration, 40-67% token savings vs parallel). HARD-GATE in Phase 1: design must pass Delphi review (≥90% consensus) before any coding.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/TEST-SPECIFICATION-ALIGNMENT KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-06-16
4
- **Commit:** b1d8786
4
+ **Commit:** 027813b
5
5
  **Branch:** main
6
- **Version:** 0.8.13.0
6
+ **Version:** 0.8.14.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.