instar 0.28.16 → 0.28.18

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.
@@ -0,0 +1,11 @@
1
+ ## What Changed
2
+
3
+ - **Stopped shipping `.claude/settings.json` in the npm package.** The dev settings file was being included, full of hook references to `.instar/hooks/instar/*` paths that only exist in a fully-initialized agent state directory. When `npx instar` spawned Claude Code with `cwd=instarRoot`, Claude Code picked up those settings and tried to fire hooks against non-existent files, causing module-not-found errors during the setup wizard / secret-setup micro-sessions. Removing the file from the `files` field in package.json means the npx-installed package no longer carries the dev-only hook config.
4
+
5
+ ## What to Tell Your User
6
+
7
+ Nothing — this is a fix to the setup experience. The setup wizard will no longer throw module-not-found errors during onboarding.
8
+
9
+ ## Summary of New Capabilities
10
+
11
+ No new capabilities — bug fix to the setup wizard / secret-setup spawn flow.
@@ -0,0 +1,12 @@
1
+ ## What Changed
2
+
3
+ - **GitHub CLI is now a real prerequisite.** Previously the setup wizard only emitted a soft warning when gh was missing, then continued without it — silently disabling cloud-backed agent discovery, GitHub backup sync, CI status checks, and PR/issue management. GitHub CLI is now part of the prerequisites check alongside Node.js, tmux, and Claude CLI, with auto-install support via Homebrew on macOS and apt on Linux. If Homebrew is missing on macOS, the wizard offers to install Homebrew first (same flow as the existing tmux path).
4
+
5
+ ## What to Tell Your User
6
+
7
+ If you're on a fresh machine, the setup wizard will now offer to install GitHub CLI automatically. After install, I can help you sign in to GitHub so I can sync state across machines and discover any other agents you've set up. Without GitHub CLI, I still work locally but can't back things up to GitHub or find your other agents.
8
+
9
+ ## Summary of New Capabilities
10
+
11
+ - GitHub CLI added as a fourth prerequisite with auto-install on macOS (Homebrew) and Linux (apt)
12
+ - Two-step install flow: if Homebrew is missing on macOS, wizard offers to install it before installing GitHub CLI
@@ -0,0 +1,35 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- bump: patch -->
4
+ <!-- Valid values: patch, minor, major -->
5
+ <!-- patch = bug fixes, refactors, test additions, doc updates -->
6
+ <!-- minor = new features, new APIs, new capabilities (backwards-compatible) -->
7
+ <!-- major = breaking changes to existing APIs or behavior -->
8
+
9
+ ## What Changed
10
+
11
+ <!-- Describe what changed technically. What new features, APIs, behavioral changes? -->
12
+ <!-- Write this for the AGENT — they need to understand the system deeply. -->
13
+
14
+ ## What to Tell Your User
15
+
16
+ <!-- Write talking points the agent should relay to their user. -->
17
+ <!-- This should be warm, conversational, user-facing — not a changelog. -->
18
+ <!-- Focus on what THEY can now do, not internal plumbing. -->
19
+ <!-- -->
20
+ <!-- PROHIBITED in this section (will fail validation): -->
21
+ <!-- camelCase config keys: silentReject, maxRetries, telegramNotify -->
22
+ <!-- Inline code backtick references like silentReject: false -->
23
+ <!-- Fenced code blocks -->
24
+ <!-- Instructions to edit files or run commands -->
25
+ <!-- -->
26
+ <!-- CORRECT style: "I can turn that on for you" not "set X to false" -->
27
+ <!-- The agent relays this to their user — keep it human. -->
28
+
29
+ - **[Feature name]**: "[Brief, friendly description of what this means for the user]"
30
+
31
+ ## Summary of New Capabilities
32
+
33
+ | Capability | How to Use |
34
+ |-----------|-----------|
35
+ | [Capability] | [Endpoint, command, or "automatic"] |
@@ -1,211 +0,0 @@
1
- {
2
- "hooks": {
3
- "PreToolUse": [
4
- {
5
- "matcher": "AskUserQuestion",
6
- "hooks": [
7
- {
8
- "type": "command",
9
- "command": "bash $CLAUDE_PROJECT_DIR/.claude/hooks/free-text-guard.sh",
10
- "blocking": true,
11
- "timeout": 5000
12
- }
13
- ]
14
- },
15
- {
16
- "matcher": "mcp__.*",
17
- "hooks": [
18
- {
19
- "type": "command",
20
- "command": "node .instar/hooks/instar/external-operation-gate.js",
21
- "blocking": true,
22
- "timeout": 5000
23
- }
24
- ]
25
- }
26
- ],
27
- "SessionStart": [
28
- {
29
- "matcher": "startup",
30
- "hooks": [
31
- {
32
- "type": "command",
33
- "command": "bash .instar/hooks/instar/session-start.sh",
34
- "timeout": 5
35
- }
36
- ]
37
- },
38
- {
39
- "matcher": "resume",
40
- "hooks": [
41
- {
42
- "type": "command",
43
- "command": "bash .instar/hooks/instar/session-start.sh",
44
- "timeout": 5
45
- }
46
- ]
47
- },
48
- {
49
- "matcher": "compact",
50
- "hooks": [
51
- {
52
- "type": "command",
53
- "command": "bash .instar/hooks/instar/session-start.sh",
54
- "timeout": 5
55
- }
56
- ]
57
- }
58
- ],
59
- "UserPromptSubmit": [
60
- {
61
- "matcher": "",
62
- "hooks": [
63
- {
64
- "type": "command",
65
- "command": "bash .instar/hooks/instar/telegram-topic-context.sh",
66
- "timeout": 5000
67
- }
68
- ]
69
- }
70
- ],
71
- "PostToolUse": [
72
- {
73
- "matcher": "",
74
- "hooks": [
75
- {
76
- "type": "command",
77
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
78
- "timeout": 3000
79
- }
80
- ]
81
- }
82
- ],
83
- "SubagentStart": [
84
- {
85
- "matcher": "",
86
- "hooks": [
87
- {
88
- "type": "command",
89
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
90
- "timeout": 3000
91
- }
92
- ]
93
- }
94
- ],
95
- "SubagentStop": [
96
- {
97
- "matcher": "",
98
- "hooks": [
99
- {
100
- "type": "command",
101
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
102
- "timeout": 3000
103
- }
104
- ]
105
- }
106
- ],
107
- "Stop": [
108
- {
109
- "matcher": "",
110
- "hooks": [
111
- {
112
- "type": "command",
113
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
114
- "timeout": 3000
115
- }
116
- ]
117
- },
118
- {
119
- "matcher": "",
120
- "hooks": [
121
- {
122
- "type": "command",
123
- "command": "bash .instar/hooks/instar/build-stop-hook.sh",
124
- "timeout": 10000
125
- }
126
- ]
127
- }
128
- ],
129
- "WorktreeCreate": [
130
- {
131
- "matcher": "",
132
- "hooks": [
133
- {
134
- "type": "command",
135
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
136
- "timeout": 3000
137
- }
138
- ]
139
- }
140
- ],
141
- "WorktreeRemove": [
142
- {
143
- "matcher": "",
144
- "hooks": [
145
- {
146
- "type": "command",
147
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
148
- "timeout": 3000
149
- }
150
- ]
151
- }
152
- ],
153
- "TaskCompleted": [
154
- {
155
- "matcher": "",
156
- "hooks": [
157
- {
158
- "type": "command",
159
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
160
- "timeout": 3000
161
- }
162
- ]
163
- }
164
- ],
165
- "SessionEnd": [
166
- {
167
- "matcher": "",
168
- "hooks": [
169
- {
170
- "type": "command",
171
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
172
- "timeout": 3000
173
- }
174
- ]
175
- }
176
- ],
177
- "PreCompact": [
178
- {
179
- "matcher": "",
180
- "hooks": [
181
- {
182
- "type": "command",
183
- "command": "node .instar/hooks/instar/hook-event-reporter.js",
184
- "timeout": 3000
185
- }
186
- ]
187
- }
188
- ],
189
- "PermissionRequest": [
190
- {
191
- "matcher": "",
192
- "hooks": [
193
- {
194
- "type": "command",
195
- "command": "node .instar/hooks/instar/auto-approve-permissions.js",
196
- "timeout": 5000
197
- }
198
- ]
199
- }
200
- ]
201
- },
202
- "mcpServers": {
203
- "playwright": {
204
- "command": "npx",
205
- "args": [
206
- "-y",
207
- "@playwright/mcp@latest"
208
- ]
209
- }
210
- }
211
- }