coding-friend-cli 1.31.1 → 1.31.2

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.
@@ -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-ADCFJSCP.js";
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-DDLSTTPS.js");
400
+ const { runDangerousRulesAudit } = await import("./permissions-LYADLYYK.js");
401
401
  await runDangerousRulesAudit(
402
402
  [
403
403
  claudeProjectSettingsPath(),
@@ -591,7 +591,7 @@ async function editPermissions() {
591
591
  )
592
592
  });
593
593
  if (choice === BACK) return;
594
- const { permissionCommand } = await import("./permission-EIOCPY2C.js");
594
+ const { permissionCommand } = await import("./permission-C5R3LMZQ.js");
595
595
  switch (choice) {
596
596
  case "interactive":
597
597
  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-B3Y5TFTW.js");
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-GO2O43UV.js");
37
+ const { configCommand } = await import("./config-HH7MY4UD.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-EIOCPY2C.js");
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-RQUCLZFN.js");
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-ADCFJSCP.js";
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-DDLSTTPS.js");
844
+ const { runDangerousRulesAudit } = await import("./permissions-LYADLYYK.js");
844
845
  await runDangerousRulesAudit(
845
846
  [
846
847
  claudeProjectSettingsPath(),
@@ -26,7 +26,7 @@ import {
26
26
  groupByCategory,
27
27
  logPluginScriptWarning,
28
28
  runDangerousRulesAudit
29
- } from "./chunk-ADCFJSCP.js";
29
+ } from "./chunk-O27FVQFU.js";
30
30
  import {
31
31
  mergeJson,
32
32
  readJson
@@ -15,7 +15,7 @@ import {
15
15
  logPluginScriptWarning,
16
16
  runDangerousRulesAudit,
17
17
  stripDangerousRules
18
- } from "./chunk-ADCFJSCP.js";
18
+ } from "./chunk-O27FVQFU.js";
19
19
  import "./chunk-5UVDWG5L.js";
20
20
  export {
21
21
  DANGEROUS_RULE_PATTERNS,
@@ -30,7 +30,7 @@ import {
30
30
  import "./chunk-NREZK463.js";
31
31
  import {
32
32
  getExistingRules
33
- } from "./chunk-ADCFJSCP.js";
33
+ } from "./chunk-O27FVQFU.js";
34
34
  import {
35
35
  readJson
36
36
  } from "./chunk-5UVDWG5L.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coding-friend-cli",
3
- "version": "1.31.1",
3
+ "version": "1.31.2",
4
4
  "description": "CLI for coding-friend — host learning docs, setup MCP server, initialize projects",
5
5
  "type": "module",
6
6
  "bin": {