@opengsd/gsd-core 1.4.1 → 1.4.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gsd-core",
3
3
  "displayName": "GSD Core",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "description": "GSD Core is a meta-prompting, context engineering, and spec-driven development system for AI coding agents.",
6
6
  "author": {
7
7
  "name": "open-gsd",
@@ -2,7 +2,6 @@
2
2
  name: gsd:autonomous
3
3
  description: Run all remaining phases autonomously — discuss→plan→execute per phase
4
4
  argument-hint: "[--from N] [--to N] [--only N] [--interactive]"
5
- context: fork
6
5
  effort: xhigh
7
6
  allowed-tools:
8
7
  - Read
@@ -2,7 +2,6 @@
2
2
  name: gsd:execute-phase
3
3
  description: Execute all plans in a phase with wave-based parallelization
4
4
  argument-hint: "<phase-number> [--wave N] [--gaps-only] [--interactive] [--tdd]"
5
- context: fork
6
5
  effort: xhigh
7
6
  allowed-tools:
8
7
  - Read
@@ -2,7 +2,6 @@
2
2
  name: gsd:plan-phase
3
3
  description: Create detailed phase plan (PLAN.md) with verification loop
4
4
  argument-hint: "[phase] [--auto] [--research] [--skip-research] [--research-phase <N>] [--view] [--gaps] [--skip-verify] [--prd <file>] [--ingest <path-or-glob>] [--ingest-format <auto|nygard|madr|narrative>] [--reviews] [--text] [--tdd] [--mvp]"
5
- context: fork
6
5
  effort: xhigh
7
6
  allowed-tools:
8
7
  - Read
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gsd-core",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "GSD Core — a meta-prompting, context engineering, and spec-driven development system for AI coding agents. Loads gsd's operating context into every Gemini CLI session.",
5
5
  "contextFileName": "GEMINI.md"
6
6
  }
@@ -39,10 +39,13 @@ discuss-phase early-exit path. It does NOT authorize inline role performance for
39
39
  plan-phase agents.
40
40
 
41
41
  **Other runtimes:**
42
- If the Agent tool is genuinely absent (e.g. a backgrounded Claude Code agent per
43
- #853, or a non-Claude runtime that does not expose Agent/agent), log the gap and
44
- stop — do NOT perform researcher/planner/checker roles inline. Independent agent
45
- contexts are required for the plan-checker gate to be meaningful.
42
+ Do not pre-judge Agent availability by introspection. Always attempt the actual
43
+ Agent() call for gsd-phase-researcher, gsd-planner, and gsd-plan-checker. Only
44
+ a real tool-unavailable error returned by Agent() is a reliable absence signal —
45
+ never stop based on a self-assessed "I think Agent is unavailable." If the call
46
+ fails with a tool-unavailable error, log the gap and stop — do NOT collapse
47
+ researcher/planner/checker roles inline. Independent agent contexts are required
48
+ for the plan-checker gate to be meaningful.
46
49
  </runtime_compatibility>
47
50
 
48
51
  <process>
@@ -182,7 +182,8 @@ process.stdin.on('end', () => {
182
182
 
183
183
  const output = {
184
184
  hookSpecificOutput: {
185
- hookEventName: process.env.GEMINI_API_KEY ? "AfterTool" : "PostToolUse",
185
+ hookEventName: (data.hook_event_name && data.hook_event_name.trim())
186
+ || (process.env.GEMINI_API_KEY ? "AfterTool" : "PostToolUse"),
186
187
  additionalContext: message
187
188
  }
188
189
  };
@@ -182,7 +182,8 @@ process.stdin.on('end', () => {
182
182
 
183
183
  const output = {
184
184
  hookSpecificOutput: {
185
- hookEventName: process.env.GEMINI_API_KEY ? "AfterTool" : "PostToolUse",
185
+ hookEventName: (data.hook_event_name && data.hook_event_name.trim())
186
+ || (process.env.GEMINI_API_KEY ? "AfterTool" : "PostToolUse"),
186
187
  additionalContext: message
187
188
  }
188
189
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengsd/gsd-core",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "GSD Core is a meta-prompting, context engineering, and spec-driven development system for AI coding agents.",
5
5
  "bin": {
6
6
  "gsd-core": "bin/install.js",