brain-dev 1.2.1 → 1.2.3
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.
|
@@ -16,7 +16,7 @@ function copyHooks(brainDir) {
|
|
|
16
16
|
const hooksDir = path.join(brainDir, 'hooks');
|
|
17
17
|
fs.mkdirSync(hooksDir, { recursive: true });
|
|
18
18
|
|
|
19
|
-
const hookFiles = ['bootstrap.sh', 'statusline.sh', 'post-tool-use.sh'];
|
|
19
|
+
const hookFiles = ['bootstrap.sh', 'statusline.sh', 'post-tool-use.sh', 'check-update.sh'];
|
|
20
20
|
for (const file of hookFiles) {
|
|
21
21
|
const src = packagePath('hooks', file);
|
|
22
22
|
if (fs.existsSync(src)) {
|
|
@@ -35,6 +35,7 @@ function updateGitignore(brainDir) {
|
|
|
35
35
|
const content = [
|
|
36
36
|
'*.tmp',
|
|
37
37
|
'*.lock',
|
|
38
|
+
'.update-check.json',
|
|
38
39
|
'storm/fragments/',
|
|
39
40
|
'storm/events.jsonl',
|
|
40
41
|
''
|