coding-friend-cli 1.40.1 → 1.40.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-B44ROTV6.js → chunk-2M42TEZC.js} +4 -4
- package/dist/{chunk-CZW36H3D.js → chunk-BQ4E66ZV.js} +1 -1
- package/dist/{chunk-E4NBTQXR.js → chunk-CGZNFAOB.js} +3 -2
- package/dist/{chunk-Q2QDSYQT.js → chunk-FK4SXIF7.js} +1 -1
- package/dist/{chunk-KTUPGMIV.js → chunk-FSQCAHWF.js} +35 -9
- package/dist/{chunk-TFF47F7P.js → chunk-HEVK3OYL.js} +1 -1
- package/dist/{chunk-3WIZA5OZ.js → chunk-ITI7MXLA.js} +2 -0
- package/dist/{chunk-KG6HYBGD.js → chunk-PIXAQLXQ.js} +43 -6
- package/dist/{chunk-Z5XTSF7L.js → chunk-XLB2UAKL.js} +40 -2
- package/dist/{clean-PKSSS662.js → clean-S57BNTWM.js} +2 -2
- package/dist/{config-WHEUK2LC.js → config-OFGL545F.js} +74 -13
- package/dist/{dev-HWKNWOZY.js → dev-GCVXE5TW.js} +7 -19
- package/dist/{disable-DCGVIHKG.js → disable-CN6GAG4I.js} +1 -1
- package/dist/{enable-YYWJDOYB.js → enable-MRLKTJRB.js} +1 -1
- package/dist/{host-GZJSMJSF.js → host-7XKH5HLB.js} +2 -2
- package/dist/index.js +34 -34
- package/dist/{init-TUBWQCBQ.js → init-XAWQUS2X.js} +364 -269
- package/dist/{install-45O5ICBA.js → install-B3646W7P.js} +5 -5
- package/dist/{learn-AJT7Z6F7.js → learn-Q5YHKHQH.js} +2 -2
- package/dist/{mcp-JGBZMNWL.js → mcp-ZG56IYLD.js} +6 -6
- package/dist/{mcp-serve-IS4T24CV.js → mcp-serve-7RWXY3J4.js} +2 -2
- package/dist/{memory-4NVLWOFS.js → memory-LBVPVWJQ.js} +6 -6
- package/dist/{permission-DDBMBFJV.js → permission-W3NM7HOL.js} +3 -3
- package/dist/{session-GBHL5TH3.js → session-WU5344ZD.js} +2 -2
- package/dist/{status-KQQJNSEZ.js → status-GQ3ZDYZ4.js} +8 -8
- package/dist/{statusline-B7PXP3AQ.js → statusline-CO4ZOUXH.js} +2 -2
- package/dist/{uninstall-6QKNGLKK.js → uninstall-S5FSXBYX.js} +2 -2
- package/dist/{update-YJ363TBU.js → update-HGEF46T5.js} +7 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46,7 +46,7 @@ program.command("install").description("Install the Coding Friend plugin into a
|
|
|
46
46
|
"--agent <agent>",
|
|
47
47
|
"Operate on host agent: claude, codex, omp, or agy"
|
|
48
48
|
).option("--codex", "Alias for --agent codex").option("--omp", "Alias for --agent omp").option("--agy", "Shortcut for --agent agy (beta)").action(async (opts) => {
|
|
49
|
-
const { installCommand } = await import("./install-
|
|
49
|
+
const { installCommand } = await import("./install-B3646W7P.js");
|
|
50
50
|
await installCommand(opts);
|
|
51
51
|
});
|
|
52
52
|
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(
|
|
@@ -56,21 +56,21 @@ program.command("uninstall").description("Uninstall the Coding Friend plugin fro
|
|
|
56
56
|
"--remove-marketplace",
|
|
57
57
|
"Also remove the host marketplace registration"
|
|
58
58
|
).action(async (opts) => {
|
|
59
|
-
const { uninstallCommand } = await import("./uninstall-
|
|
59
|
+
const { uninstallCommand } = await import("./uninstall-S5FSXBYX.js");
|
|
60
60
|
await uninstallCommand(opts);
|
|
61
61
|
});
|
|
62
62
|
program.command("disable").description("Disable the Coding Friend plugin without uninstalling").option("--user", "Disable at user scope (all projects)").option("--global", "Disable at user scope (all projects)").option("--project", "Disable at project scope").option("--local", "Disable at local scope").option(
|
|
63
63
|
"--agent <agent>",
|
|
64
64
|
"Operate on host agent: claude, codex, omp, or agy"
|
|
65
65
|
).option("--codex", "Alias for --agent codex").option("--omp", "Alias for --agent omp").option("--agy", "Shortcut for --agent agy (beta)").action(async (opts) => {
|
|
66
|
-
const { disableCommand } = await import("./disable-
|
|
66
|
+
const { disableCommand } = await import("./disable-CN6GAG4I.js");
|
|
67
67
|
await disableCommand(opts);
|
|
68
68
|
});
|
|
69
69
|
program.command("enable").description("Re-enable the Coding Friend plugin").option("--user", "Enable at user scope (all projects)").option("--global", "Enable at user scope (all projects)").option("--project", "Enable at project scope").option("--local", "Enable at local scope").option(
|
|
70
70
|
"--agent <agent>",
|
|
71
71
|
"Operate on host agent: claude, codex, omp, or agy"
|
|
72
72
|
).option("--codex", "Alias for --agent codex").option("--omp", "Alias for --agent omp").option("--agy", "Shortcut for --agent agy (beta)").action(async (opts) => {
|
|
73
|
-
const { enableCommand } = await import("./enable-
|
|
73
|
+
const { enableCommand } = await import("./enable-MRLKTJRB.js");
|
|
74
74
|
await enableCommand(opts);
|
|
75
75
|
});
|
|
76
76
|
program.command("init").description("Initialize coding-friend in current project").option(
|
|
@@ -80,11 +80,11 @@ program.command("init").description("Initialize coding-friend in current project
|
|
|
80
80
|
"--trust-project",
|
|
81
81
|
"For Codex, mark the current project trusted in ~/.codex/config.toml"
|
|
82
82
|
).action(async (opts) => {
|
|
83
|
-
const { initCommand } = await import("./init-
|
|
83
|
+
const { initCommand } = await import("./init-XAWQUS2X.js");
|
|
84
84
|
await initCommand(opts);
|
|
85
85
|
});
|
|
86
86
|
program.command("config").description("Manage Coding Friend configuration").action(async () => {
|
|
87
|
-
const { configCommand } = await import("./config-
|
|
87
|
+
const { configCommand } = await import("./config-OFGL545F.js");
|
|
88
88
|
await configCommand();
|
|
89
89
|
});
|
|
90
90
|
var learn = program.command("learn").description("Manage learning docs \u2014 host as a website or push to git");
|
|
@@ -96,25 +96,25 @@ Learn subcommands:
|
|
|
96
96
|
learn push [path] Commit and push learning docs (only if learn dir is the git root)`
|
|
97
97
|
);
|
|
98
98
|
learn.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) => {
|
|
99
|
-
const { hostCommand } = await import("./host-
|
|
99
|
+
const { hostCommand } = await import("./host-7XKH5HLB.js");
|
|
100
100
|
await hostCommand(path, opts);
|
|
101
101
|
});
|
|
102
102
|
learn.command("push").description("Commit and push learning docs to origin").argument("[path]", "path to docs folder").action(async (path) => {
|
|
103
|
-
const { learnPushCommand } = await import("./learn-
|
|
103
|
+
const { learnPushCommand } = await import("./learn-Q5YHKHQH.js");
|
|
104
104
|
await learnPushCommand(path);
|
|
105
105
|
});
|
|
106
106
|
program.command("host", { hidden: true }).argument("[path]", "path to docs folder").option("-p, --port <port>", "port number", "3333").action(async (path, opts) => {
|
|
107
|
-
const { hostCommand } = await import("./host-
|
|
107
|
+
const { hostCommand } = await import("./host-7XKH5HLB.js");
|
|
108
108
|
await hostCommand(path, opts);
|
|
109
109
|
});
|
|
110
110
|
program.command("mcp").description("Setup MCP server for learning docs").action(async () => {
|
|
111
|
-
const { mcpCommand } = await import("./mcp-
|
|
111
|
+
const { mcpCommand } = await import("./mcp-ZG56IYLD.js");
|
|
112
112
|
await mcpCommand();
|
|
113
113
|
});
|
|
114
114
|
program.command("mcp-serve").description(
|
|
115
115
|
"Start the cf-memory MCP server (used internally by npx). When memoryDir is omitted, resolves from CLAUDE_PROJECT_DIR at runtime."
|
|
116
116
|
).argument("[memoryDir]", "path to memory directory (optional)").action(async (memoryDir) => {
|
|
117
|
-
const { mcpServeCommand } = await import("./mcp-serve-
|
|
117
|
+
const { mcpServeCommand } = await import("./mcp-serve-7RWXY3J4.js");
|
|
118
118
|
await mcpServeCommand(memoryDir);
|
|
119
119
|
});
|
|
120
120
|
program.command("mcp-serve-learn").description("Start the learn MCP server (used internally by npx)").argument("<docsDir>", "path to docs directory").action(async (docsDir) => {
|
|
@@ -134,26 +134,26 @@ program.command("permission").description("Manage host permission and approval s
|
|
|
134
134
|
"--disable-auto-approve",
|
|
135
135
|
"For Codex, disable deterministic Coding Friend auto-approve"
|
|
136
136
|
).action(async (opts) => {
|
|
137
|
-
const { permissionCommand } = await import("./permission-
|
|
137
|
+
const { permissionCommand } = await import("./permission-W3NM7HOL.js");
|
|
138
138
|
await permissionCommand(opts);
|
|
139
139
|
});
|
|
140
140
|
program.command("statusline").description("Setup coding-friend statusline in Claude Code").action(async () => {
|
|
141
|
-
const { statuslineCommand } = await import("./statusline-
|
|
141
|
+
const { statuslineCommand } = await import("./statusline-CO4ZOUXH.js");
|
|
142
142
|
await statuslineCommand();
|
|
143
143
|
});
|
|
144
144
|
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(
|
|
145
145
|
"--agent <agent>",
|
|
146
146
|
"Operate on host agent: claude, codex, omp, or agy"
|
|
147
147
|
).option("--codex", "Alias for --agent codex").option("--omp", "Alias for --agent omp").option("--agy", "Shortcut for --agent agy (beta)").action(async (opts) => {
|
|
148
|
-
const { updateCommand } = await import("./update-
|
|
148
|
+
const { updateCommand } = await import("./update-HGEF46T5.js");
|
|
149
149
|
await updateCommand(opts);
|
|
150
150
|
});
|
|
151
151
|
program.command("status").description("Show comprehensive Coding Friend status").action(async () => {
|
|
152
|
-
const { statusCommand } = await import("./status-
|
|
152
|
+
const { statusCommand } = await import("./status-GQ3ZDYZ4.js");
|
|
153
153
|
await statusCommand();
|
|
154
154
|
});
|
|
155
155
|
program.command("clean").description("Clean files generated by Coding Friend in docs/").action(async () => {
|
|
156
|
-
const { cleanCommand } = await import("./clean-
|
|
156
|
+
const { cleanCommand } = await import("./clean-S57BNTWM.js");
|
|
157
157
|
await cleanCommand();
|
|
158
158
|
});
|
|
159
159
|
var session = program.command("session").description("[beta] Save and load Claude Code sessions across machines");
|
|
@@ -168,11 +168,11 @@ session.command("save").description("Save current Claude Code session to sync fo
|
|
|
168
168
|
"-s, --session-id <id>",
|
|
169
169
|
"session UUID to save (default: auto-detect newest)"
|
|
170
170
|
).option("-l, --label <label>", "label for this session").action(async (opts) => {
|
|
171
|
-
const { sessionSaveCommand } = await import("./session-
|
|
171
|
+
const { sessionSaveCommand } = await import("./session-WU5344ZD.js");
|
|
172
172
|
await sessionSaveCommand(opts);
|
|
173
173
|
});
|
|
174
174
|
session.command("load").description("Load a saved session from sync folder").action(async () => {
|
|
175
|
-
const { sessionLoadCommand } = await import("./session-
|
|
175
|
+
const { sessionLoadCommand } = await import("./session-WU5344ZD.js");
|
|
176
176
|
await sessionLoadCommand();
|
|
177
177
|
});
|
|
178
178
|
var memory = program.command("memory").description("AI memory system \u2014 store and search project knowledge");
|
|
@@ -192,43 +192,43 @@ Memory subcommands:
|
|
|
192
192
|
memory mcp Show MCP server setup instructions`
|
|
193
193
|
);
|
|
194
194
|
memory.command("status").description("Show memory system status").action(async () => {
|
|
195
|
-
const { memoryStatusCommand } = await import("./memory-
|
|
195
|
+
const { memoryStatusCommand } = await import("./memory-LBVPVWJQ.js");
|
|
196
196
|
await memoryStatusCommand();
|
|
197
197
|
});
|
|
198
198
|
memory.command("search").description("Search memories by query").argument("<query>", "search query").action(async (query) => {
|
|
199
|
-
const { memorySearchCommand } = await import("./memory-
|
|
199
|
+
const { memorySearchCommand } = await import("./memory-LBVPVWJQ.js");
|
|
200
200
|
await memorySearchCommand(query);
|
|
201
201
|
});
|
|
202
202
|
memory.command("list").description(
|
|
203
203
|
"List memories in current project, or all projects with --projects"
|
|
204
204
|
).option("--projects", "List all project databases with size and metadata").action(async (opts) => {
|
|
205
|
-
const { memoryListCommand } = await import("./memory-
|
|
205
|
+
const { memoryListCommand } = await import("./memory-LBVPVWJQ.js");
|
|
206
206
|
await memoryListCommand(opts);
|
|
207
207
|
});
|
|
208
208
|
memory.command("init").description(
|
|
209
209
|
"Initialize memory system \u2014 interactive wizard (first time) or config menu"
|
|
210
210
|
).action(async () => {
|
|
211
|
-
const { memoryInitCommand } = await import("./memory-
|
|
211
|
+
const { memoryInitCommand } = await import("./memory-LBVPVWJQ.js");
|
|
212
212
|
await memoryInitCommand();
|
|
213
213
|
});
|
|
214
214
|
memory.command("config").description("Configure memory system settings").action(async () => {
|
|
215
|
-
const { memoryConfigCommand } = await import("./memory-
|
|
215
|
+
const { memoryConfigCommand } = await import("./memory-LBVPVWJQ.js");
|
|
216
216
|
await memoryConfigCommand();
|
|
217
217
|
});
|
|
218
218
|
memory.command("start-daemon").description("Start the memory daemon (Tier 2 \u2014 MiniSearch)").action(async () => {
|
|
219
|
-
const { memoryStartDaemonCommand } = await import("./memory-
|
|
219
|
+
const { memoryStartDaemonCommand } = await import("./memory-LBVPVWJQ.js");
|
|
220
220
|
await memoryStartDaemonCommand();
|
|
221
221
|
});
|
|
222
222
|
memory.command("stop-daemon").description("Stop the memory daemon").action(async () => {
|
|
223
|
-
const { memoryStopDaemonCommand } = await import("./memory-
|
|
223
|
+
const { memoryStopDaemonCommand } = await import("./memory-LBVPVWJQ.js");
|
|
224
224
|
await memoryStopDaemonCommand();
|
|
225
225
|
});
|
|
226
226
|
memory.command("rebuild").description("Rebuild the daemon search index").action(async () => {
|
|
227
|
-
const { memoryRebuildCommand } = await import("./memory-
|
|
227
|
+
const { memoryRebuildCommand } = await import("./memory-LBVPVWJQ.js");
|
|
228
228
|
await memoryRebuildCommand();
|
|
229
229
|
});
|
|
230
230
|
memory.command("mcp").description("Show MCP server setup instructions").action(async () => {
|
|
231
|
-
const { memoryMcpCommand } = await import("./memory-
|
|
231
|
+
const { memoryMcpCommand } = await import("./memory-LBVPVWJQ.js");
|
|
232
232
|
await memoryMcpCommand();
|
|
233
233
|
});
|
|
234
234
|
memory.command("rm").description("Remove a project database").option("--project-id <id>", "Project ID to remove").option("--all", "Remove all project databases").option(
|
|
@@ -236,7 +236,7 @@ memory.command("rm").description("Remove a project database").option("--project-
|
|
|
236
236
|
"Remove orphaned projects (source dir missing or 0 memories)"
|
|
237
237
|
).action(
|
|
238
238
|
async (opts) => {
|
|
239
|
-
const { memoryRmCommand } = await import("./memory-
|
|
239
|
+
const { memoryRmCommand } = await import("./memory-LBVPVWJQ.js");
|
|
240
240
|
await memoryRmCommand(opts);
|
|
241
241
|
}
|
|
242
242
|
);
|
|
@@ -262,28 +262,28 @@ Dev subcommands:
|
|
|
262
262
|
dev update [path] Update local dev plugin to latest version`
|
|
263
263
|
);
|
|
264
264
|
dev.command("on").description("Switch to local plugin source").argument("[path]", "path to local coding-friend repo (default: cwd)").action(async (path) => {
|
|
265
|
-
const { devOnCommand } = await import("./dev-
|
|
265
|
+
const { devOnCommand } = await import("./dev-GCVXE5TW.js");
|
|
266
266
|
await devOnCommand(path);
|
|
267
267
|
});
|
|
268
268
|
dev.command("off").description("Switch back to remote marketplace").action(async () => {
|
|
269
|
-
const { devOffCommand } = await import("./dev-
|
|
269
|
+
const { devOffCommand } = await import("./dev-GCVXE5TW.js");
|
|
270
270
|
await devOffCommand();
|
|
271
271
|
});
|
|
272
272
|
dev.command("status").description("Show current dev mode").action(async () => {
|
|
273
|
-
const { devStatusCommand } = await import("./dev-
|
|
273
|
+
const { devStatusCommand } = await import("./dev-GCVXE5TW.js");
|
|
274
274
|
await devStatusCommand();
|
|
275
275
|
});
|
|
276
276
|
dev.command("sync").description(
|
|
277
277
|
"Copy local source files to plugin cache (no version bump needed)"
|
|
278
278
|
).action(async () => {
|
|
279
|
-
const { devSyncCommand } = await import("./dev-
|
|
279
|
+
const { devSyncCommand } = await import("./dev-GCVXE5TW.js");
|
|
280
280
|
await devSyncCommand();
|
|
281
281
|
});
|
|
282
282
|
dev.command("restart").description("Reinstall local dev plugin (off + on)").argument(
|
|
283
283
|
"[path]",
|
|
284
284
|
"path to local coding-friend repo (default: saved path or cwd)"
|
|
285
285
|
).action(async (path) => {
|
|
286
|
-
const { devRestartCommand } = await import("./dev-
|
|
286
|
+
const { devRestartCommand } = await import("./dev-GCVXE5TW.js");
|
|
287
287
|
await devRestartCommand(path);
|
|
288
288
|
});
|
|
289
289
|
dev.command("update").description(
|
|
@@ -292,7 +292,7 @@ dev.command("update").description(
|
|
|
292
292
|
"[path]",
|
|
293
293
|
"path to local coding-friend repo (default: saved path or cwd)"
|
|
294
294
|
).action(async (path) => {
|
|
295
|
-
const { devUpdateCommand } = await import("./dev-
|
|
295
|
+
const { devUpdateCommand } = await import("./dev-GCVXE5TW.js");
|
|
296
296
|
await devUpdateCommand(path);
|
|
297
297
|
});
|
|
298
298
|
program.hook("postAction", async () => {
|