coding-friend-cli 1.31.1 → 1.31.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.
- package/dist/{chunk-ADCFJSCP.js → chunk-O27FVQFU.js} +0 -6
- package/dist/{config-GO2O43UV.js → config-OLEUUS32.js} +5 -3
- package/dist/index.js +4 -4
- package/dist/{init-B3Y5TFTW.js → init-W55DKHKZ.js} +3 -2
- package/dist/{permission-EIOCPY2C.js → permission-C5R3LMZQ.js} +1 -1
- package/dist/{permissions-DDLSTTPS.js → permissions-LYADLYYK.js} +1 -1
- package/dist/{status-RQUCLZFN.js → status-CYAKIHFW.js} +1 -1
- package/package.json +1 -1
|
@@ -79,12 +79,6 @@ var STATIC_RULES = [
|
|
|
79
79
|
category: "Core Utilities",
|
|
80
80
|
recommended: true
|
|
81
81
|
},
|
|
82
|
-
{
|
|
83
|
-
rule: "Bash(node -e *)",
|
|
84
|
-
description: "[execute] Run inline Node.js \xB7 Used by: memory-capture hook JSON parsing",
|
|
85
|
-
category: "Core Utilities",
|
|
86
|
-
recommended: true
|
|
87
|
-
},
|
|
88
82
|
{
|
|
89
83
|
rule: "Bash(touch /tmp/coding-friend/*)",
|
|
90
84
|
description: "[write] Create temp marker files \xB7 Used by: /cf-review mark-reviewed",
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
getAllRules,
|
|
53
53
|
getExistingRules
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-O27FVQFU.js";
|
|
55
55
|
import {
|
|
56
56
|
mergeJson,
|
|
57
57
|
readJson
|
|
@@ -397,7 +397,7 @@ async function editAutoApprove(globalCfg, localCfg) {
|
|
|
397
397
|
if (scope === "back") return;
|
|
398
398
|
writeToScope(scope, { autoApprove: value });
|
|
399
399
|
if (value) {
|
|
400
|
-
const { runDangerousRulesAudit } = await import("./permissions-
|
|
400
|
+
const { runDangerousRulesAudit } = await import("./permissions-LYADLYYK.js");
|
|
401
401
|
await runDangerousRulesAudit(
|
|
402
402
|
[
|
|
403
403
|
claudeProjectSettingsPath(),
|
|
@@ -467,6 +467,8 @@ async function editGitignore(globalCfg, localCfg) {
|
|
|
467
467
|
`${docsDir}/research/`,
|
|
468
468
|
`${docsDir}/learn/`,
|
|
469
469
|
`${docsDir}/sessions/`,
|
|
470
|
+
`${docsDir}/reviews/`,
|
|
471
|
+
`${docsDir}/context/`,
|
|
470
472
|
".coding-friend/"
|
|
471
473
|
];
|
|
472
474
|
const existing = existsSync(".gitignore") ? readFileSync(".gitignore", "utf-8") : "";
|
|
@@ -591,7 +593,7 @@ async function editPermissions() {
|
|
|
591
593
|
)
|
|
592
594
|
});
|
|
593
595
|
if (choice === BACK) return;
|
|
594
|
-
const { permissionCommand } = await import("./permission-
|
|
596
|
+
const { permissionCommand } = await import("./permission-C5R3LMZQ.js");
|
|
595
597
|
switch (choice) {
|
|
596
598
|
case "interactive":
|
|
597
599
|
await permissionCommand({});
|
package/dist/index.js
CHANGED
|
@@ -30,11 +30,11 @@ program.command("enable").description("Re-enable the Coding Friend plugin").opti
|
|
|
30
30
|
await enableCommand(opts);
|
|
31
31
|
});
|
|
32
32
|
program.command("init").description("Initialize coding-friend in current project").action(async () => {
|
|
33
|
-
const { initCommand } = await import("./init-
|
|
33
|
+
const { initCommand } = await import("./init-W55DKHKZ.js");
|
|
34
34
|
await initCommand();
|
|
35
35
|
});
|
|
36
36
|
program.command("config").description("Manage Coding Friend configuration").action(async () => {
|
|
37
|
-
const { configCommand } = await import("./config-
|
|
37
|
+
const { configCommand } = await import("./config-OLEUUS32.js");
|
|
38
38
|
await configCommand();
|
|
39
39
|
});
|
|
40
40
|
program.command("host").description("Build and serve learning docs as a static website").argument("[path]", "path to docs folder").option("-p, --port <port>", "port number", "3333").action(async (path, opts) => {
|
|
@@ -49,7 +49,7 @@ program.command("permission").description("Manage Claude Code permission rules f
|
|
|
49
49
|
"--project",
|
|
50
50
|
"Save to project-level settings (.claude/settings.local.json)"
|
|
51
51
|
).action(async (opts) => {
|
|
52
|
-
const { permissionCommand } = await import("./permission-
|
|
52
|
+
const { permissionCommand } = await import("./permission-C5R3LMZQ.js");
|
|
53
53
|
await permissionCommand(opts);
|
|
54
54
|
});
|
|
55
55
|
program.command("statusline").description("Setup coding-friend statusline in Claude Code").action(async () => {
|
|
@@ -61,7 +61,7 @@ program.command("update").description("Update coding-friend plugin, CLI, and sta
|
|
|
61
61
|
await updateCommand(opts);
|
|
62
62
|
});
|
|
63
63
|
program.command("status").description("Show comprehensive Coding Friend status").action(async () => {
|
|
64
|
-
const { statusCommand } = await import("./status-
|
|
64
|
+
const { statusCommand } = await import("./status-CYAKIHFW.js");
|
|
65
65
|
await statusCommand();
|
|
66
66
|
});
|
|
67
67
|
var session = program.command("session").description("Save and load Claude Code sessions across machines");
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
getExistingRules,
|
|
64
64
|
getMissingRules,
|
|
65
65
|
logPluginScriptWarning
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-O27FVQFU.js";
|
|
67
67
|
import {
|
|
68
68
|
mergeJson,
|
|
69
69
|
readJson,
|
|
@@ -315,6 +315,7 @@ async function stepGitignore(docsDir) {
|
|
|
315
315
|
`${docsDir}/learn/`,
|
|
316
316
|
`${docsDir}/sessions/`,
|
|
317
317
|
`${docsDir}/reviews/`,
|
|
318
|
+
`${docsDir}/context/`,
|
|
318
319
|
".coding-friend/"
|
|
319
320
|
];
|
|
320
321
|
let entries = allEntries;
|
|
@@ -840,7 +841,7 @@ async function initMenu(gitAvailable) {
|
|
|
840
841
|
log.success(`Saved to ${targetPath}`);
|
|
841
842
|
}
|
|
842
843
|
if (autoApproveChoice) {
|
|
843
|
-
const { runDangerousRulesAudit } = await import("./permissions-
|
|
844
|
+
const { runDangerousRulesAudit } = await import("./permissions-LYADLYYK.js");
|
|
844
845
|
await runDangerousRulesAudit(
|
|
845
846
|
[
|
|
846
847
|
claudeProjectSettingsPath(),
|