@scotthamilton77/sidekick 0.1.23 → 0.1.25
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 @@ settings:
|
|
|
16
16
|
# between injections. Only applies to reminders with throttle: true in YAML.
|
|
17
17
|
reminder_thresholds:
|
|
18
18
|
user-prompt-submit: 10
|
|
19
|
-
remember-your-persona:
|
|
19
|
+
remember-your-persona: 20
|
|
20
20
|
|
|
21
21
|
# Command runner prefixes that trigger unanchored pattern matching.
|
|
22
22
|
# When a bash command starts with one of these prefixes, the tool pattern
|
package/dist/bin.js
CHANGED
|
@@ -72439,7 +72439,7 @@ var require_types2 = __commonJS({
|
|
|
72439
72439
|
verification_tools: exports2.DEFAULT_VERIFICATION_TOOLS,
|
|
72440
72440
|
reminder_thresholds: {
|
|
72441
72441
|
"user-prompt-submit": 10,
|
|
72442
|
-
"remember-your-persona":
|
|
72442
|
+
"remember-your-persona": 20
|
|
72443
72443
|
},
|
|
72444
72444
|
command_runners: [
|
|
72445
72445
|
// Python
|
|
@@ -81899,6 +81899,19 @@ var require_dev_mode = __commonJS({
|
|
|
81899
81899
|
"pre-compact",
|
|
81900
81900
|
"statusline"
|
|
81901
81901
|
];
|
|
81902
|
+
async function collectMdFiles(dir) {
|
|
81903
|
+
const results = [];
|
|
81904
|
+
const entries = await (0, promises_12.readdir)(dir, { withFileTypes: true });
|
|
81905
|
+
for (const entry of entries) {
|
|
81906
|
+
const full = node_path_1.default.join(dir, entry.name);
|
|
81907
|
+
if (entry.isDirectory()) {
|
|
81908
|
+
results.push(...await collectMdFiles(full));
|
|
81909
|
+
} else if (entry.isFile() && entry.name.endsWith(".md")) {
|
|
81910
|
+
results.push(full);
|
|
81911
|
+
}
|
|
81912
|
+
}
|
|
81913
|
+
return results;
|
|
81914
|
+
}
|
|
81902
81915
|
async function copySkillsForDev(projectDir, stdout) {
|
|
81903
81916
|
const srcSkillsRoot = node_path_1.default.join(projectDir, "packages", "sidekick-plugin", "skills");
|
|
81904
81917
|
if (!await (0, fs_js_1.fileExists)(srcSkillsRoot)) {
|
|
@@ -81912,11 +81925,12 @@ var require_dev_mode = __commonJS({
|
|
|
81912
81925
|
const destDir = node_path_1.default.join(projectDir, ".claude", "skills", skillDir.name);
|
|
81913
81926
|
await (0, promises_12.rm)(destDir, { recursive: true, force: true });
|
|
81914
81927
|
await (0, promises_12.cp)(srcDir, destDir, { recursive: true });
|
|
81915
|
-
const
|
|
81916
|
-
|
|
81917
|
-
const content = await (0, promises_12.readFile)(
|
|
81928
|
+
const mdFiles = await collectMdFiles(destDir);
|
|
81929
|
+
for (const mdFile of mdFiles) {
|
|
81930
|
+
const content = await (0, promises_12.readFile)(mdFile, "utf-8");
|
|
81918
81931
|
const transformed = content.replace(/npx @scotthamilton77\/sidekick/g, "pnpm sidekick");
|
|
81919
|
-
|
|
81932
|
+
if (transformed !== content)
|
|
81933
|
+
await (0, promises_12.writeFile)(mdFile, transformed);
|
|
81920
81934
|
}
|
|
81921
81935
|
log(stdout, "info", `Copied ${skillDir.name} skill to ${destDir}`);
|
|
81922
81936
|
}
|
|
@@ -85228,7 +85242,7 @@ var require_cli = __commonJS({
|
|
|
85228
85242
|
var promises_12 = require("node:fs/promises");
|
|
85229
85243
|
var node_stream_1 = require("node:stream");
|
|
85230
85244
|
var yargs_parser_1 = __importDefault2(require_build());
|
|
85231
|
-
var VERSION = true ? "0.1.
|
|
85245
|
+
var VERSION = true ? "0.1.25" : "dev";
|
|
85232
85246
|
var SANDBOX_ERROR_MESSAGE = `Error: Daemon commands cannot run in sandbox mode.
|
|
85233
85247
|
|
|
85234
85248
|
Claude Code's sandbox blocks Unix socket operations required for daemon IPC.
|
package/dist/daemon.js
CHANGED
|
@@ -71228,7 +71228,7 @@ var require_types2 = __commonJS({
|
|
|
71228
71228
|
verification_tools: exports2.DEFAULT_VERIFICATION_TOOLS,
|
|
71229
71229
|
reminder_thresholds: {
|
|
71230
71230
|
"user-prompt-submit": 10,
|
|
71231
|
-
"remember-your-persona":
|
|
71231
|
+
"remember-your-persona": 20
|
|
71232
71232
|
},
|
|
71233
71233
|
command_runners: [
|
|
71234
71234
|
// Python
|