gsd-init 1.0.0 → 1.0.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.
package/bin/gsd-init.js CHANGED
@@ -22,6 +22,7 @@ const TEMPLATE_FILES = [
22
22
  { src: 'scripts/wake-observer.sh', dst: 'scripts/wake-observer.sh' },
23
23
  { src: 'scripts/notify-worker.sh', dst: 'scripts/notify-worker.sh' },
24
24
  { src: 'scripts/teardown.sh', dst: 'scripts/teardown.sh' },
25
+ { src: 'scripts/start.sh', dst: 'scripts/start.sh' },
25
26
  { src: 'scripts/verify.sh', dst: 'scripts/verify.sh' },
26
27
  { src: 'schema/event.json', dst: 'schema/event.json' },
27
28
  { src: 'schema/response.json', dst: 'schema/response.json' },
@@ -34,6 +35,7 @@ const SH_FILES = [
34
35
  'scripts/wake-observer.sh',
35
36
  'scripts/notify-worker.sh',
36
37
  'scripts/teardown.sh',
38
+ 'scripts/start.sh',
37
39
  'scripts/verify.sh',
38
40
  ];
39
41
 
@@ -134,17 +136,10 @@ function printSummary() {
134
136
  console.log([
135
137
  '',
136
138
  'Done! Next steps:',
137
- ' 1. Start Observer first: ~/.claude/gsd-observer/scripts/start-observer.sh',
138
- ' 2. Start Worker: ~/.claude/gsd-observer/scripts/start-worker.sh <project-dir>',
139
- ' 3. Run GSD in the Worker tmux pane — Observer will co-pilot automatically.',
139
+ ' ~/.claude/gsd-observer/scripts/start.sh <project-dir>',
140
140
  '',
141
141
  ' Observer agent prompt: ~/.claude/gsd-observer/agents/gsd-observer.md',
142
142
  ' Verify setup: ~/.claude/gsd-observer/scripts/verify.sh',
143
- '',
144
- 'Teardown:',
145
- ' ~/.claude/gsd-observer/scripts/teardown.sh',
146
- ' (or manually: tmux kill-session -t gsd-worker && tmux kill-session -t gsd-observer &&',
147
- ' rm -f /tmp/gsd-event-*.json /tmp/gsd-response-*.json /tmp/gsd-last-event-phase)',
148
143
  ].join('\n'));
149
144
  }
150
145
 
package/package.json CHANGED
@@ -1,12 +1,18 @@
1
1
  {
2
2
  "name": "gsd-init",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Set up GSD observer/worker tmux system in a project",
5
5
  "bin": {
6
6
  "gsd-init": "bin/gsd-init.js"
7
7
  },
8
- "files": ["bin", "templates", "README.md"],
9
- "engines": { "node": ">=16" },
8
+ "files": [
9
+ "bin",
10
+ "templates",
11
+ "README.md"
12
+ ],
13
+ "engines": {
14
+ "node": ">=16"
15
+ },
10
16
  "license": "MIT",
11
17
  "scripts": {
12
18
  "test": "node tests/test-plan-install.js && node tests/test-merge-settings.js && node tests/test-integration.js"
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ PROJECT_DIR="${1:-$(pwd)}"
5
+
6
+ "$SCRIPT_DIR/teardown.sh"
7
+ "$SCRIPT_DIR/start-observer.sh"
8
+ "$SCRIPT_DIR/start-worker.sh" "$PROJECT_DIR"