codiedev 0.9.0-beta.0 → 0.9.0
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/cli.js +0 -0
- package/dist/connect.js +2 -2
- package/dist/hook.js +3 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
File without changes
|
package/dist/connect.js
CHANGED
|
@@ -278,7 +278,7 @@ async function runConnect(args = []) {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
if (hasClaude) {
|
|
281
|
-
runInstall("claude-code-hook", utils_1.installHook, "Claude Code SessionEnd
|
|
281
|
+
runInstall("claude-code-hook", utils_1.installHook, "Claude Code SessionEnd (capture) + UserPromptSubmit (skill discovery) hooks (~/.claude/settings.json)", "claudeCode-hook");
|
|
282
282
|
runInstall("claude-code-instructions", utils_1.installClaudeCodeInstructions, "Claude Code agent instructions (~/.claude/CLAUDE.md)", "claudeCode-instructions");
|
|
283
283
|
}
|
|
284
284
|
if (hasCodex) {
|
|
@@ -319,7 +319,7 @@ async function runConnect(args = []) {
|
|
|
319
319
|
console.log(`\nConnected to ${companyName}`);
|
|
320
320
|
console.log(`Tracking ${repos.length} repo${repos.length === 1 ? "" : "s"}`);
|
|
321
321
|
if (installed.length > 0) {
|
|
322
|
-
console.log("Installed
|
|
322
|
+
console.log("Installed hook(s):");
|
|
323
323
|
for (const target of installed) {
|
|
324
324
|
console.log(` - ${target}`);
|
|
325
325
|
}
|
package/dist/hook.js
CHANGED
|
@@ -86,9 +86,10 @@ async function runDiscover(prompt) {
|
|
|
86
86
|
.slice(0, 3)
|
|
87
87
|
.map((s) => `- ${s.key} — ${(s.score * 100).toFixed(0)}% match`)
|
|
88
88
|
.join("\n");
|
|
89
|
-
const additionalContext = "
|
|
89
|
+
const additionalContext = "Your team has a CodieDev skill that fits this task — prefer it over improvising:\n" +
|
|
90
90
|
lines +
|
|
91
|
-
"\
|
|
91
|
+
"\nPull and follow it now: `codiedev pull <key>`. It encodes the team's vetted " +
|
|
92
|
+
"approach. Skip it only if it clearly doesn't apply.";
|
|
92
93
|
process.stdout.write(JSON.stringify({
|
|
93
94
|
hookSpecificOutput: { hookEventName: "UserPromptSubmit", additionalContext },
|
|
94
95
|
}));
|
package/package.json
CHANGED