coding-friend-cli 1.38.0 → 1.38.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.
- package/dist/{chunk-776ZY62N.js → chunk-XAYWGZQT.js} +3 -2
- package/dist/index.js +4 -4
- package/dist/{init-KYE5CJMW.js → init-EMBQJNTT.js} +2 -2
- package/dist/{install-XAFQY5YF.js → install-3YEPLDMD.js} +1 -1
- package/dist/{status-FVFTJ6GS.js → status-6HQRVZKR.js} +1 -1
- package/dist/{update-QNUCSDSA.js → update-SMWXKJ3R.js} +1 -1
- package/package.json +1 -1
|
@@ -233,7 +233,9 @@ async function updateCommand(opts) {
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
+
let refreshMemoryAfterUpdate = null;
|
|
236
237
|
if (doCli) {
|
|
238
|
+
({ refreshMemoryAfterUpdate } = await import("./memory-DF7OUOTV.js"));
|
|
237
239
|
if (!latestCliVersion) {
|
|
238
240
|
log.warn("Cannot check latest CLI version from npm.");
|
|
239
241
|
} else {
|
|
@@ -263,8 +265,7 @@ async function updateCommand(opts) {
|
|
|
263
265
|
}
|
|
264
266
|
}
|
|
265
267
|
}
|
|
266
|
-
if (doCli) {
|
|
267
|
-
const { refreshMemoryAfterUpdate } = await import("./memory-DF7OUOTV.js");
|
|
268
|
+
if (doCli && refreshMemoryAfterUpdate) {
|
|
268
269
|
await refreshMemoryAfterUpdate();
|
|
269
270
|
}
|
|
270
271
|
if (!isMemoryMcpRegistered()) {
|
package/dist/index.js
CHANGED
|
@@ -43,7 +43,7 @@ program.name("cf").description(
|
|
|
43
43
|
"coding-friend CLI \u2014 host learning docs, setup MCP, init projects"
|
|
44
44
|
).version(wantsVersion ? buildVersionString() : pkg.version, "-v, --version");
|
|
45
45
|
program.command("install").description("Install the Coding Friend plugin into a supported host").option("--user", "Install at user scope (all projects)").option("--global", "Install at user scope (all projects)").option("--project", "Install at project scope (shared via git)").option("--local", "Install at local scope (this machine only)").option("--agent <agent>", "Operate on host agent: claude or codex", "claude").option("--codex", "Alias for --agent codex").action(async (opts) => {
|
|
46
|
-
const { installCommand } = await import("./install-
|
|
46
|
+
const { installCommand } = await import("./install-3YEPLDMD.js");
|
|
47
47
|
await installCommand(opts);
|
|
48
48
|
});
|
|
49
49
|
program.command("uninstall").description("Uninstall the Coding Friend plugin from a supported host").option("--user", "Uninstall from user scope (all projects)").option("--global", "Uninstall from user scope (all projects)").option("--project", "Uninstall from project scope").option("--local", "Uninstall from local scope").option("--agent <agent>", "Operate on host agent: claude or codex", "claude").option("--codex", "Alias for --agent codex").option(
|
|
@@ -65,7 +65,7 @@ program.command("init").description("Initialize coding-friend in current project
|
|
|
65
65
|
"--trust-project",
|
|
66
66
|
"For Codex, mark the current project trusted in ~/.codex/config.toml"
|
|
67
67
|
).action(async (opts) => {
|
|
68
|
-
const { initCommand } = await import("./init-
|
|
68
|
+
const { initCommand } = await import("./init-EMBQJNTT.js");
|
|
69
69
|
await initCommand(opts);
|
|
70
70
|
});
|
|
71
71
|
program.command("config").description("Manage Coding Friend configuration").action(async () => {
|
|
@@ -124,11 +124,11 @@ program.command("statusline").description("Setup coding-friend statusline in Cla
|
|
|
124
124
|
await statuslineCommand();
|
|
125
125
|
});
|
|
126
126
|
program.command("update").description("Update coding-friend plugin, CLI, and statusline").option("--cli", "Update only the CLI (npm package)").option("--plugin", "Update only the host plugin").option("--statusline", "Update only the statusline").option("--user", "Update plugin at user scope (all projects)").option("--global", "Update plugin at user scope (all projects)").option("--project", "Update plugin at project scope").option("--local", "Update plugin at local scope").option("--agent <agent>", "Operate on host agent: claude or codex", "claude").option("--codex", "Alias for --agent codex").action(async (opts) => {
|
|
127
|
-
const { updateCommand } = await import("./update-
|
|
127
|
+
const { updateCommand } = await import("./update-SMWXKJ3R.js");
|
|
128
128
|
await updateCommand(opts);
|
|
129
129
|
});
|
|
130
130
|
program.command("status").description("Show comprehensive Coding Friend status").action(async () => {
|
|
131
|
-
const { statusCommand } = await import("./status-
|
|
131
|
+
const { statusCommand } = await import("./status-6HQRVZKR.js");
|
|
132
132
|
await statusCommand();
|
|
133
133
|
});
|
|
134
134
|
program.command("clean").description("Clean files generated by Coding Friend in docs/").action(async () => {
|
|
@@ -1214,7 +1214,7 @@ async function initCommand(opts = {}) {
|
|
|
1214
1214
|
console.log();
|
|
1215
1215
|
log.congrats("Setup complete!");
|
|
1216
1216
|
log.dim(
|
|
1217
|
-
"Available commands: /cf-ask, /cf-plan, /cf-design, /cf-fix, /cf-commit, /cf-review, /cf-review-out, /cf-review-in, /cf-ship, /cf-optimize, /cf-scan, /cf-remember, /cf-learn, /cf-teach, /cf-research, /cf-session, /cf-warm, /cf-help"
|
|
1217
|
+
"Available commands: /cf-ask, /cf-plan, /cf-design, /cf-fix, /cf-commit, /cf-review, /cf-review-out, /cf-review-in, /cf-ship, /cf-optimize, /cf-scan, /cf-remember, /cf-learn, /cf-teach, /cf-research, /cf-session, /cf-warm, /cf-checkpoint, /cf-checkpoint-from, /cf-help"
|
|
1218
1218
|
);
|
|
1219
1219
|
}
|
|
1220
1220
|
function initCodexCommand(opts) {
|
|
@@ -1292,7 +1292,7 @@ Use Coding Friend skills with Codex's $skill syntax.
|
|
|
1292
1292
|
|
|
1293
1293
|
## Skills
|
|
1294
1294
|
|
|
1295
|
-
$cf-ask, $cf-plan, $cf-review, $cf-review-out, $cf-review-in, $cf-commit, $cf-design, $cf-ship, $cf-fix, $cf-optimize, $cf-scan, $cf-remember, $cf-learn, $cf-teach, $cf-research, $cf-session, $cf-warm, $cf-help
|
|
1295
|
+
$cf-ask, $cf-plan, $cf-review, $cf-review-out, $cf-review-in, $cf-commit, $cf-design, $cf-ship, $cf-fix, $cf-optimize, $cf-scan, $cf-remember, $cf-learn, $cf-teach, $cf-research, $cf-session, $cf-warm, $cf-checkpoint, $cf-checkpoint-from, $cf-help
|
|
1296
1296
|
`;
|
|
1297
1297
|
}
|
|
1298
1298
|
function ensureGitignoreEntry(entry) {
|