coding-friend-cli 1.35.7 → 1.35.8
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-B2NFXRFP.js → chunk-5Z5TZUHZ.js} +5 -0
- package/dist/{chunk-YBK44KZM.js → chunk-ASNR6LFD.js} +3 -3
- package/dist/{chunk-DTSWPWPA.js → chunk-HA7E7QZ4.js} +1 -1
- package/dist/{chunk-XMSSEJYL.js → chunk-UXIWEBI2.js} +1 -1
- package/dist/{clean-VFWQ4AJP.js → clean-PAYOM4FV.js} +1 -1
- package/dist/{config-Z3GE6HAP.js → config-NPKT6NN3.js} +26 -2
- package/dist/{dev-DWIZTH25.js → dev-MD5TNAKI.js} +73 -11
- package/dist/{host-HKA4OHBM.js → host-DKGDDAGO.js} +1 -1
- package/dist/index.js +27 -25
- package/dist/{init-MFUX5INO.js → init-ZIUTSR4U.js} +4 -4
- package/dist/{mcp-AG7J6CEP.js → mcp-T3UG4PS3.js} +4 -4
- package/dist/{memory-RZR672Q7.js → memory-R57VRQZL.js} +4 -4
- package/dist/{session-B3B3CSRF.js → session-MVH6IYHM.js} +1 -1
- package/dist/{status-DDNQ5QNJ.js → status-YWABL222.js} +3 -3
- package/package.json +1 -1
|
@@ -67,6 +67,9 @@ var MemoryConfigSchema = z.object({
|
|
|
67
67
|
autoCapture: z.boolean().optional(),
|
|
68
68
|
autoStart: z.boolean().optional()
|
|
69
69
|
});
|
|
70
|
+
var ReviewConfigSchema = z.strictObject({
|
|
71
|
+
withCodex: z.boolean().optional()
|
|
72
|
+
});
|
|
70
73
|
var ConfigSchema = z.strictObject({
|
|
71
74
|
language: z.string().optional(),
|
|
72
75
|
docsDir: z.string().optional(),
|
|
@@ -74,6 +77,7 @@ var ConfigSchema = z.strictObject({
|
|
|
74
77
|
learn: LearnConfigSchema.optional(),
|
|
75
78
|
statusline: StatuslineConfigSchema.optional(),
|
|
76
79
|
memory: MemoryConfigSchema.optional(),
|
|
80
|
+
review: ReviewConfigSchema.optional(),
|
|
77
81
|
autoApprove: z.boolean().optional(),
|
|
78
82
|
autoApproveIgnore: z.array(z.string()).optional(),
|
|
79
83
|
autoApproveAllowExtra: z.array(z.string()).optional()
|
|
@@ -85,6 +89,7 @@ var KNOWN_KEYS = [
|
|
|
85
89
|
"learn",
|
|
86
90
|
"statusline",
|
|
87
91
|
"memory",
|
|
92
|
+
"review",
|
|
88
93
|
"autoApprove",
|
|
89
94
|
"autoApproveIgnore",
|
|
90
95
|
"autoApproveAllowExtra"
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
checkMemoryMcpHealth,
|
|
3
3
|
printHealthSection,
|
|
4
4
|
warnStaleMcpJson
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UXIWEBI2.js";
|
|
6
6
|
import {
|
|
7
7
|
getMemoryMcpStatus,
|
|
8
8
|
memoryConfigMenu,
|
|
9
9
|
writeMemoryMcpEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HA7E7QZ4.js";
|
|
11
11
|
import {
|
|
12
12
|
loadConfig,
|
|
13
13
|
resolveMemoryDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5Z5TZUHZ.js";
|
|
15
15
|
import {
|
|
16
16
|
getLibPath
|
|
17
17
|
} from "./chunk-RZRT7NGT.js";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-WSUYLIYX.js";
|
|
8
8
|
import {
|
|
9
9
|
memoryConfigMenu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HA7E7QZ4.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLearnDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5Z5TZUHZ.js";
|
|
14
14
|
import "./chunk-RZRT7NGT.js";
|
|
15
15
|
import {
|
|
16
16
|
findStatuslineHookPath,
|
|
@@ -445,6 +445,20 @@ async function editTdd(globalCfg, localCfg) {
|
|
|
445
445
|
if (scope === "back") return;
|
|
446
446
|
writeToScope(scope, { tdd: value });
|
|
447
447
|
}
|
|
448
|
+
async function editReviewWithCodex(globalCfg, localCfg) {
|
|
449
|
+
const currentValue = getMergedValue("review", globalCfg, localCfg)?.withCodex;
|
|
450
|
+
if (currentValue !== void 0) {
|
|
451
|
+
log.dim(`Current: ${currentValue}`);
|
|
452
|
+
}
|
|
453
|
+
log.dim("Note: requires the Codex CLI installed and logged in.");
|
|
454
|
+
const value = await confirm({
|
|
455
|
+
message: "Run a Codex second-opinion review alongside Claude's by default? (every /cf-review, including auto-invoked ones)",
|
|
456
|
+
default: currentValue ?? false
|
|
457
|
+
});
|
|
458
|
+
const scope = await askScope();
|
|
459
|
+
if (scope === "back") return;
|
|
460
|
+
writeNestedField("review", scope, "withCodex", value);
|
|
461
|
+
}
|
|
448
462
|
async function editAutoApprove(globalCfg, localCfg) {
|
|
449
463
|
const currentValue = getMergedValue("autoApprove", globalCfg, localCfg);
|
|
450
464
|
if (currentValue !== void 0) {
|
|
@@ -689,6 +703,8 @@ async function configCommand() {
|
|
|
689
703
|
globalCfg,
|
|
690
704
|
localCfg
|
|
691
705
|
);
|
|
706
|
+
const reviewScope = getScopeLabel("review", globalCfg, localCfg);
|
|
707
|
+
const withCodexVal = getMergedValue("review", globalCfg, localCfg)?.withCodex;
|
|
692
708
|
const statuslineStatus = isStatuslineConfigured() ? chalk.green("configured") : chalk.yellow("not configured");
|
|
693
709
|
const completionStatus = hasShellCompletion() ? chalk.green("installed") : chalk.yellow("not installed");
|
|
694
710
|
const projectRules = getExistingRules(claudeLocalSettingsPath());
|
|
@@ -734,6 +750,11 @@ async function configCommand() {
|
|
|
734
750
|
value: "autoApprove",
|
|
735
751
|
description: " Auto-approve safe tool calls, block destructive ones, prompt for ambiguous"
|
|
736
752
|
},
|
|
753
|
+
{
|
|
754
|
+
name: `Codex dual-review ${formatScopeLabel(reviewScope)}${withCodexVal !== void 0 ? ` (${withCodexVal})` : ""}`,
|
|
755
|
+
value: "review",
|
|
756
|
+
description: " Run a Codex second-opinion review alongside Claude's on every /cf-review"
|
|
757
|
+
},
|
|
737
758
|
{
|
|
738
759
|
name: `Statusline (${statuslineStatus})`,
|
|
739
760
|
value: "statusline",
|
|
@@ -780,6 +801,9 @@ async function configCommand() {
|
|
|
780
801
|
case "autoApprove":
|
|
781
802
|
await editAutoApprove(globalCfg, localCfg);
|
|
782
803
|
break;
|
|
804
|
+
case "review":
|
|
805
|
+
await editReviewWithCodex(globalCfg, localCfg);
|
|
806
|
+
break;
|
|
783
807
|
case "statusline":
|
|
784
808
|
await editStatusline();
|
|
785
809
|
break;
|
|
@@ -11,7 +11,8 @@ import {
|
|
|
11
11
|
} from "./chunk-R6HDMRYL.js";
|
|
12
12
|
import {
|
|
13
13
|
commandExists,
|
|
14
|
-
run
|
|
14
|
+
run,
|
|
15
|
+
runWithStderr
|
|
15
16
|
} from "./chunk-EVGXUDX4.js";
|
|
16
17
|
import {
|
|
17
18
|
devStatePath,
|
|
@@ -68,9 +69,11 @@ function ensureClaude() {
|
|
|
68
69
|
}
|
|
69
70
|
function runClaude(args, label) {
|
|
70
71
|
log.step(label);
|
|
71
|
-
const result =
|
|
72
|
-
if (result
|
|
72
|
+
const result = runWithStderr("claude", args);
|
|
73
|
+
if (result.exitCode !== 0) {
|
|
73
74
|
log.error(`Failed: claude ${args.join(" ")}`);
|
|
75
|
+
const tail = result.stderr.split("\n").filter((l) => l.trim()).slice(-5).join("\n");
|
|
76
|
+
if (tail) log.dim(tail);
|
|
74
77
|
return false;
|
|
75
78
|
}
|
|
76
79
|
return true;
|
|
@@ -166,11 +169,21 @@ async function devOffCommand() {
|
|
|
166
169
|
"Removing local marketplace..."
|
|
167
170
|
);
|
|
168
171
|
}
|
|
169
|
-
|
|
172
|
+
try {
|
|
173
|
+
unlinkSync(devStatePath());
|
|
174
|
+
} catch {
|
|
175
|
+
}
|
|
176
|
+
const remoteAdded = runClaude(
|
|
170
177
|
["plugin", "marketplace", "add", REMOTE_URL],
|
|
171
178
|
"Adding remote marketplace..."
|
|
172
|
-
)
|
|
173
|
-
|
|
179
|
+
);
|
|
180
|
+
if (!remoteAdded) {
|
|
181
|
+
log.error(
|
|
182
|
+
"Failed to add remote marketplace. Dev mode is OFF but remote is not configured."
|
|
183
|
+
);
|
|
184
|
+
log.dim(
|
|
185
|
+
`Run \`claude plugin marketplace add ${REMOTE_URL}\` manually, then \`claude plugin install ${PLUGIN_ID}\`.`
|
|
186
|
+
);
|
|
174
187
|
return;
|
|
175
188
|
}
|
|
176
189
|
if (!runClaude(
|
|
@@ -182,10 +195,6 @@ async function devOffCommand() {
|
|
|
182
195
|
return;
|
|
183
196
|
}
|
|
184
197
|
}
|
|
185
|
-
try {
|
|
186
|
-
unlinkSync(devStatePath());
|
|
187
|
-
} catch {
|
|
188
|
-
}
|
|
189
198
|
console.log();
|
|
190
199
|
log.success(`Dev mode ${chalk.yellow("OFF")} \u2014 using remote marketplace.`);
|
|
191
200
|
log.dim("Restart Claude Code to see changes.");
|
|
@@ -299,7 +308,60 @@ async function devReinstall(path, label) {
|
|
|
299
308
|
ensureShellCompletion({ silent: true });
|
|
300
309
|
}
|
|
301
310
|
var devRestartCommand = (path) => devReinstall(path, "Restarting dev mode");
|
|
302
|
-
|
|
311
|
+
async function devUpdateCommand(path) {
|
|
312
|
+
const state = getDevState();
|
|
313
|
+
if (!state) {
|
|
314
|
+
log.error("Dev mode is OFF. Run `cf dev on <path>` first.");
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
if (!ensureClaude()) return;
|
|
318
|
+
if (path && resolve(path) !== state.localPath) {
|
|
319
|
+
return devReinstall(path, "Updating dev plugin (path changed)");
|
|
320
|
+
}
|
|
321
|
+
if (!isMarketplaceRegistered()) {
|
|
322
|
+
return devReinstall(
|
|
323
|
+
state.localPath,
|
|
324
|
+
"Updating dev plugin (marketplace missing)"
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
const localPath = state.localPath;
|
|
328
|
+
const version = getLocalPluginVersion(localPath);
|
|
329
|
+
const versionLabel = version ? ` (v${version})` : "";
|
|
330
|
+
console.log();
|
|
331
|
+
printBanner(`Updating dev plugin${versionLabel}`, { color: chalk.cyan });
|
|
332
|
+
console.log();
|
|
333
|
+
log.info(`Local path: ${chalk.cyan(localPath)}`);
|
|
334
|
+
if (isPluginInstalled()) {
|
|
335
|
+
if (!runClaude(
|
|
336
|
+
["plugin", "uninstall", PLUGIN_ID],
|
|
337
|
+
"Uninstalling local plugin..."
|
|
338
|
+
)) {
|
|
339
|
+
run("claude", ["plugin", "uninstall", PLUGIN_NAME]);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
if (!runClaude(
|
|
343
|
+
["plugin", "install", PLUGIN_ID],
|
|
344
|
+
"Reinstalling plugin from local source..."
|
|
345
|
+
)) {
|
|
346
|
+
if (!runClaude(["plugin", "install", PLUGIN_NAME], "Retrying install...")) {
|
|
347
|
+
log.error(
|
|
348
|
+
"Failed to reinstall local plugin. Run `cf dev restart` to recover."
|
|
349
|
+
);
|
|
350
|
+
return;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
writeJson(devStatePath(), {
|
|
354
|
+
localPath,
|
|
355
|
+
savedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
356
|
+
});
|
|
357
|
+
ensureStatusline();
|
|
358
|
+
ensureShellCompletion({ silent: true });
|
|
359
|
+
console.log();
|
|
360
|
+
log.success(
|
|
361
|
+
`Dev plugin updated${versionLabel} from ${chalk.cyan(localPath)}.`
|
|
362
|
+
);
|
|
363
|
+
log.dim("Restart Claude Code to see changes.");
|
|
364
|
+
}
|
|
303
365
|
async function devStatusCommand() {
|
|
304
366
|
const state = getDevState();
|
|
305
367
|
const source = getMarketplaceSource();
|
package/dist/index.js
CHANGED
|
@@ -30,19 +30,19 @@ 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-ZIUTSR4U.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-NPKT6NN3.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) => {
|
|
41
|
-
const { hostCommand } = await import("./host-
|
|
41
|
+
const { hostCommand } = await import("./host-DKGDDAGO.js");
|
|
42
42
|
await hostCommand(path, opts);
|
|
43
43
|
});
|
|
44
44
|
program.command("mcp").description("Setup MCP server for learning docs").action(async () => {
|
|
45
|
-
const { mcpCommand } = await import("./mcp-
|
|
45
|
+
const { mcpCommand } = await import("./mcp-T3UG4PS3.js");
|
|
46
46
|
await mcpCommand();
|
|
47
47
|
});
|
|
48
48
|
program.command("mcp-serve").description("Start the cf-memory MCP server (used internally by npx)").argument("<memoryDir>", "path to memory directory").action(async (memoryDir) => {
|
|
@@ -69,11 +69,11 @@ program.command("update").description("Update coding-friend plugin, CLI, and sta
|
|
|
69
69
|
await updateCommand(opts);
|
|
70
70
|
});
|
|
71
71
|
program.command("status").description("Show comprehensive Coding Friend status").action(async () => {
|
|
72
|
-
const { statusCommand } = await import("./status-
|
|
72
|
+
const { statusCommand } = await import("./status-YWABL222.js");
|
|
73
73
|
await statusCommand();
|
|
74
74
|
});
|
|
75
75
|
program.command("clean").description("Clean files generated by Coding Friend in docs/").action(async () => {
|
|
76
|
-
const { cleanCommand } = await import("./clean-
|
|
76
|
+
const { cleanCommand } = await import("./clean-PAYOM4FV.js");
|
|
77
77
|
await cleanCommand();
|
|
78
78
|
});
|
|
79
79
|
var session = program.command("session").description("[beta] Save and load Claude Code sessions across machines");
|
|
@@ -88,11 +88,11 @@ session.command("save").description("Save current Claude Code session to sync fo
|
|
|
88
88
|
"-s, --session-id <id>",
|
|
89
89
|
"session UUID to save (default: auto-detect newest)"
|
|
90
90
|
).option("-l, --label <label>", "label for this session").action(async (opts) => {
|
|
91
|
-
const { sessionSaveCommand } = await import("./session-
|
|
91
|
+
const { sessionSaveCommand } = await import("./session-MVH6IYHM.js");
|
|
92
92
|
await sessionSaveCommand(opts);
|
|
93
93
|
});
|
|
94
94
|
session.command("load").description("Load a saved session from sync folder").action(async () => {
|
|
95
|
-
const { sessionLoadCommand } = await import("./session-
|
|
95
|
+
const { sessionLoadCommand } = await import("./session-MVH6IYHM.js");
|
|
96
96
|
await sessionLoadCommand();
|
|
97
97
|
});
|
|
98
98
|
var memory = program.command("memory").description("AI memory system \u2014 store and search project knowledge");
|
|
@@ -112,43 +112,43 @@ Memory subcommands:
|
|
|
112
112
|
memory mcp Show MCP server setup instructions`
|
|
113
113
|
);
|
|
114
114
|
memory.command("status").description("Show memory system status").action(async () => {
|
|
115
|
-
const { memoryStatusCommand } = await import("./memory-
|
|
115
|
+
const { memoryStatusCommand } = await import("./memory-R57VRQZL.js");
|
|
116
116
|
await memoryStatusCommand();
|
|
117
117
|
});
|
|
118
118
|
memory.command("search").description("Search memories by query").argument("<query>", "search query").action(async (query) => {
|
|
119
|
-
const { memorySearchCommand } = await import("./memory-
|
|
119
|
+
const { memorySearchCommand } = await import("./memory-R57VRQZL.js");
|
|
120
120
|
await memorySearchCommand(query);
|
|
121
121
|
});
|
|
122
122
|
memory.command("list").description(
|
|
123
123
|
"List memories in current project, or all projects with --projects"
|
|
124
124
|
).option("--projects", "List all project databases with size and metadata").action(async (opts) => {
|
|
125
|
-
const { memoryListCommand } = await import("./memory-
|
|
125
|
+
const { memoryListCommand } = await import("./memory-R57VRQZL.js");
|
|
126
126
|
await memoryListCommand(opts);
|
|
127
127
|
});
|
|
128
128
|
memory.command("init").description(
|
|
129
129
|
"Initialize memory system \u2014 interactive wizard (first time) or config menu"
|
|
130
130
|
).action(async () => {
|
|
131
|
-
const { memoryInitCommand } = await import("./memory-
|
|
131
|
+
const { memoryInitCommand } = await import("./memory-R57VRQZL.js");
|
|
132
132
|
await memoryInitCommand();
|
|
133
133
|
});
|
|
134
134
|
memory.command("config").description("Configure memory system settings").action(async () => {
|
|
135
|
-
const { memoryConfigCommand } = await import("./memory-
|
|
135
|
+
const { memoryConfigCommand } = await import("./memory-R57VRQZL.js");
|
|
136
136
|
await memoryConfigCommand();
|
|
137
137
|
});
|
|
138
138
|
memory.command("start-daemon").description("Start the memory daemon (Tier 2 \u2014 MiniSearch)").action(async () => {
|
|
139
|
-
const { memoryStartDaemonCommand } = await import("./memory-
|
|
139
|
+
const { memoryStartDaemonCommand } = await import("./memory-R57VRQZL.js");
|
|
140
140
|
await memoryStartDaemonCommand();
|
|
141
141
|
});
|
|
142
142
|
memory.command("stop-daemon").description("Stop the memory daemon").action(async () => {
|
|
143
|
-
const { memoryStopDaemonCommand } = await import("./memory-
|
|
143
|
+
const { memoryStopDaemonCommand } = await import("./memory-R57VRQZL.js");
|
|
144
144
|
await memoryStopDaemonCommand();
|
|
145
145
|
});
|
|
146
146
|
memory.command("rebuild").description("Rebuild the daemon search index").action(async () => {
|
|
147
|
-
const { memoryRebuildCommand } = await import("./memory-
|
|
147
|
+
const { memoryRebuildCommand } = await import("./memory-R57VRQZL.js");
|
|
148
148
|
await memoryRebuildCommand();
|
|
149
149
|
});
|
|
150
150
|
memory.command("mcp").description("Show MCP server setup instructions").action(async () => {
|
|
151
|
-
const { memoryMcpCommand } = await import("./memory-
|
|
151
|
+
const { memoryMcpCommand } = await import("./memory-R57VRQZL.js");
|
|
152
152
|
await memoryMcpCommand();
|
|
153
153
|
});
|
|
154
154
|
memory.command("rm").description("Remove a project database").option("--project-id <id>", "Project ID to remove").option("--all", "Remove all project databases").option(
|
|
@@ -156,7 +156,7 @@ memory.command("rm").description("Remove a project database").option("--project-
|
|
|
156
156
|
"Remove orphaned projects (source dir missing or 0 memories)"
|
|
157
157
|
).action(
|
|
158
158
|
async (opts) => {
|
|
159
|
-
const { memoryRmCommand } = await import("./memory-
|
|
159
|
+
const { memoryRmCommand } = await import("./memory-R57VRQZL.js");
|
|
160
160
|
await memoryRmCommand(opts);
|
|
161
161
|
}
|
|
162
162
|
);
|
|
@@ -182,35 +182,37 @@ Dev subcommands:
|
|
|
182
182
|
dev update [path] Update local dev plugin to latest version`
|
|
183
183
|
);
|
|
184
184
|
dev.command("on").description("Switch to local plugin source").argument("[path]", "path to local coding-friend repo (default: cwd)").action(async (path) => {
|
|
185
|
-
const { devOnCommand } = await import("./dev-
|
|
185
|
+
const { devOnCommand } = await import("./dev-MD5TNAKI.js");
|
|
186
186
|
await devOnCommand(path);
|
|
187
187
|
});
|
|
188
188
|
dev.command("off").description("Switch back to remote marketplace").action(async () => {
|
|
189
|
-
const { devOffCommand } = await import("./dev-
|
|
189
|
+
const { devOffCommand } = await import("./dev-MD5TNAKI.js");
|
|
190
190
|
await devOffCommand();
|
|
191
191
|
});
|
|
192
192
|
dev.command("status").description("Show current dev mode").action(async () => {
|
|
193
|
-
const { devStatusCommand } = await import("./dev-
|
|
193
|
+
const { devStatusCommand } = await import("./dev-MD5TNAKI.js");
|
|
194
194
|
await devStatusCommand();
|
|
195
195
|
});
|
|
196
196
|
dev.command("sync").description(
|
|
197
197
|
"Copy local source files to plugin cache (no version bump needed)"
|
|
198
198
|
).action(async () => {
|
|
199
|
-
const { devSyncCommand } = await import("./dev-
|
|
199
|
+
const { devSyncCommand } = await import("./dev-MD5TNAKI.js");
|
|
200
200
|
await devSyncCommand();
|
|
201
201
|
});
|
|
202
202
|
dev.command("restart").description("Reinstall local dev plugin (off + on)").argument(
|
|
203
203
|
"[path]",
|
|
204
204
|
"path to local coding-friend repo (default: saved path or cwd)"
|
|
205
205
|
).action(async (path) => {
|
|
206
|
-
const { devRestartCommand } = await import("./dev-
|
|
206
|
+
const { devRestartCommand } = await import("./dev-MD5TNAKI.js");
|
|
207
207
|
await devRestartCommand(path);
|
|
208
208
|
});
|
|
209
|
-
dev.command("update").description(
|
|
209
|
+
dev.command("update").description(
|
|
210
|
+
"Refresh local dev plugin via uninstall + reinstall (fast, no remote round-trip)"
|
|
211
|
+
).argument(
|
|
210
212
|
"[path]",
|
|
211
213
|
"path to local coding-friend repo (default: saved path or cwd)"
|
|
212
214
|
).action(async (path) => {
|
|
213
|
-
const { devUpdateCommand } = await import("./dev-
|
|
215
|
+
const { devUpdateCommand } = await import("./dev-MD5TNAKI.js");
|
|
214
216
|
await devUpdateCommand(path);
|
|
215
217
|
});
|
|
216
218
|
program.hook("postAction", async () => {
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ensureMemoryBuilt,
|
|
3
3
|
isMemoryInitialized,
|
|
4
4
|
memoryInitWizard
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ASNR6LFD.js";
|
|
6
|
+
import "./chunk-UXIWEBI2.js";
|
|
7
7
|
import {
|
|
8
8
|
isLearnMcpRegistered,
|
|
9
9
|
registerLearnMcp
|
|
10
10
|
} from "./chunk-WSUYLIYX.js";
|
|
11
11
|
import {
|
|
12
12
|
memoryConfigMenu
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-HA7E7QZ4.js";
|
|
14
|
+
import "./chunk-5Z5TZUHZ.js";
|
|
15
15
|
import {
|
|
16
16
|
getLibPath
|
|
17
17
|
} from "./chunk-RZRT7NGT.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureMemoryBuilt,
|
|
3
3
|
printMemoryMcpConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ASNR6LFD.js";
|
|
5
5
|
import {
|
|
6
6
|
checkLearnMcpHealth,
|
|
7
7
|
checkMemoryMcpHealth,
|
|
8
8
|
detectMemoryMcpState,
|
|
9
9
|
printHealthSection,
|
|
10
10
|
warnStaleMcpJson
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UXIWEBI2.js";
|
|
12
12
|
import {
|
|
13
13
|
listMdFilesRecursive
|
|
14
14
|
} from "./chunk-2DTXVMPQ.js";
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
getMemoryMcpStatus,
|
|
21
21
|
writeMemoryMcpEntry
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HA7E7QZ4.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveLearnDir,
|
|
25
25
|
resolveMemoryDir
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5Z5TZUHZ.js";
|
|
27
27
|
import {
|
|
28
28
|
getLibPath
|
|
29
29
|
} from "./chunk-RZRT7NGT.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
memoryStatusCommand,
|
|
14
14
|
memoryStopDaemonCommand,
|
|
15
15
|
printMemoryMcpConfig
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-ASNR6LFD.js";
|
|
17
|
+
import "./chunk-UXIWEBI2.js";
|
|
18
|
+
import "./chunk-HA7E7QZ4.js";
|
|
19
|
+
import "./chunk-5Z5TZUHZ.js";
|
|
20
20
|
import "./chunk-RZRT7NGT.js";
|
|
21
21
|
import "./chunk-57EGAXYI.js";
|
|
22
22
|
import "./chunk-TAPL6NF3.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkLearnMcpHealth,
|
|
3
3
|
checkMemoryMcpHealth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UXIWEBI2.js";
|
|
5
5
|
import {
|
|
6
6
|
listMdFilesRecursive
|
|
7
7
|
} from "./chunk-2DTXVMPQ.js";
|
|
8
8
|
import {
|
|
9
9
|
isLearnMcpRegistered
|
|
10
10
|
} from "./chunk-WSUYLIYX.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HA7E7QZ4.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveLearnDir,
|
|
14
14
|
resolveMemoryDir,
|
|
15
15
|
sanitizeRawConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5Z5TZUHZ.js";
|
|
17
17
|
import {
|
|
18
18
|
getLibPath
|
|
19
19
|
} from "./chunk-RZRT7NGT.js";
|