neuvikon 0.2.11 → 0.2.13
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/dist/index.mjs +10 -4
- package/package.json +1 -4
package/dist/index.mjs
CHANGED
|
@@ -683,9 +683,15 @@ function cursorRuleFile() {
|
|
|
683
683
|
//#region src/agents/install.ts
|
|
684
684
|
/**
|
|
685
685
|
* Files agents actually read. AGENTS.md is the cross-tool convention and is
|
|
686
|
-
* always written; the
|
|
687
|
-
* the project, so `init` doesn't litter a repo with configs
|
|
688
|
-
* on the team uses.
|
|
686
|
+
* always written; the markdown extras are only touched when that tool is
|
|
687
|
+
* already set up in the project, so `init` doesn't litter a repo with configs
|
|
688
|
+
* for tools nobody on the team uses.
|
|
689
|
+
*
|
|
690
|
+
* Claude Code's hooks are the exception: they're what makes `stop` run
|
|
691
|
+
* automatically at session end (NS-31/NS-32's fix), and a project that hasn't
|
|
692
|
+
* used Claude Code yet has no `.claude/` folder to gate on — so `init` always
|
|
693
|
+
* creates it rather than silently skipping the one thing that keeps a ticket
|
|
694
|
+
* from being left open.
|
|
689
695
|
*/
|
|
690
696
|
const OPTIONAL_MARKDOWN_TARGETS = ["CLAUDE.md", ".github/copilot-instructions.md"];
|
|
691
697
|
function writeMarkdownTarget(root, relativePath) {
|
|
@@ -757,7 +763,7 @@ function installAgentInstructions(root) {
|
|
|
757
763
|
if (existsSync(path)) results.push(writeMarkdownTarget(root, target));
|
|
758
764
|
}
|
|
759
765
|
if (existsSync(join(root, ".cursor"))) results.push(writeCursorRule(root));
|
|
760
|
-
|
|
766
|
+
results.push(installClaudeHooks(root));
|
|
761
767
|
const gitignore = ignoreSessionFile(root);
|
|
762
768
|
if (gitignore) results.push(gitignore);
|
|
763
769
|
return results;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neuvikon",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
4
4
|
"description": "Tell Neuvikon which ticket your coding agent is working on.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"neuvikon",
|
|
@@ -40,8 +40,5 @@
|
|
|
40
40
|
"@types/node": "^26.2.0",
|
|
41
41
|
"tsdown": "^0.22.14",
|
|
42
42
|
"typescript": "^7.0.2"
|
|
43
|
-
},
|
|
44
|
-
"dependencies": {
|
|
45
|
-
"neuvikon": "link:"
|
|
46
43
|
}
|
|
47
44
|
}
|