commandmate 0.2.5 → 0.2.7

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.
Files changed (43) hide show
  1. package/.env.example +11 -0
  2. package/.next/BUILD_ID +1 -1
  3. package/.next/app-build-manifest.json +14 -14
  4. package/.next/app-path-routes-manifest.json +1 -1
  5. package/.next/build-manifest.json +2 -2
  6. package/.next/cache/.tsbuildinfo +1 -1
  7. package/.next/cache/config.json +3 -3
  8. package/.next/cache/webpack/client-production/0.pack +0 -0
  9. package/.next/cache/webpack/client-production/1.pack +0 -0
  10. package/.next/cache/webpack/client-production/2.pack +0 -0
  11. package/.next/cache/webpack/client-production/index.pack +0 -0
  12. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  13. package/.next/cache/webpack/edge-server-production/index.pack +0 -0
  14. package/.next/cache/webpack/server-production/0.pack +0 -0
  15. package/.next/cache/webpack/server-production/index.pack +0 -0
  16. package/.next/next-server.js.nft.json +1 -1
  17. package/.next/prerender-manifest.json +1 -1
  18. package/.next/required-server-files.json +1 -1
  19. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/.next/server/app/api/app/update-check/route.js +1 -1
  21. package/.next/server/app/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/worktrees/[id]/files/[...path]/page_client-reference-manifest.js +1 -1
  23. package/.next/server/app/worktrees/[id]/page.js +3 -3
  24. package/.next/server/app/worktrees/[id]/page_client-reference-manifest.js +1 -1
  25. package/.next/server/app/worktrees/[id]/terminal/page_client-reference-manifest.js +1 -1
  26. package/.next/server/app-paths-manifest.json +10 -10
  27. package/.next/server/chunks/9367.js +2 -2
  28. package/.next/server/functions-config-manifest.json +1 -1
  29. package/.next/server/pages/500.html +1 -1
  30. package/.next/server/server-reference-manifest.json +1 -1
  31. package/.next/static/chunks/app/worktrees/[id]/{page-66b59fb8c9ee90f4.js → page-3e43a3c5e7496713.js} +1 -1
  32. package/.next/trace +5 -5
  33. package/README.md +6 -0
  34. package/dist/cli/utils/daemon.d.ts.map +1 -1
  35. package/dist/cli/utils/daemon.js +3 -0
  36. package/dist/server/src/lib/claude-session.js +225 -27
  37. package/dist/server/src/lib/cli-patterns.js +34 -1
  38. package/package.json +1 -1
  39. package/.next/cache/fetch-cache/e7a5282a8c6f6e86940328b91498c8c8abc4b300cf449cb16e8ecd707767c12b +0 -1
  40. package/.next/server/app/api/app/update-check.body +0 -1
  41. package/.next/server/app/api/app/update-check.meta +0 -1
  42. /package/.next/static/{zoVKZmyy2snskN1roYhHr → lV6KkZASqAUfg2EBH9dOL}/_buildManifest.js +0 -0
  43. /package/.next/static/{zoVKZmyy2snskN1roYhHr → lV6KkZASqAUfg2EBH9dOL}/_ssgManifest.js +0 -0
package/.env.example CHANGED
@@ -38,6 +38,17 @@ CM_BIND=127.0.0.1
38
38
  # Use CM_DB_PATH instead
39
39
  # DATABASE_PATH=./data/db.sqlite
40
40
 
41
+ # ===================================
42
+ # Claude CLI Configuration
43
+ # ===================================
44
+
45
+ # Claude CLI executable path (optional)
46
+ # If set, CommandMate will use this path instead of searching via 'which claude'.
47
+ # The path must be absolute and point to an executable file.
48
+ # Security: Only alphanumeric characters, forward slashes, dots, underscores, and hyphens are allowed.
49
+ # Example: CLAUDE_PATH=/opt/homebrew/bin/claude
50
+ # CLAUDE_PATH=
51
+
41
52
  # ===================================
42
53
  # Logging
43
54
  # ===================================
package/.next/BUILD_ID CHANGED
@@ -1 +1 @@
1
- zoVKZmyy2snskN1roYhHr
1
+ lV6KkZASqAUfg2EBH9dOL
@@ -17,42 +17,42 @@
17
17
  "static/chunks/816-af44cb865b0c980e.js",
18
18
  "static/chunks/app/layout-07755491d5d57242.js"
19
19
  ],
20
- "/worktrees/[id]/page": [
20
+ "/page": [
21
21
  "static/chunks/webpack-af8567a485ade35a.js",
22
22
  "static/chunks/fd9d1056-cfdf4f91f13d3485.js",
23
23
  "static/chunks/2117-e31fa477cb500950.js",
24
24
  "static/chunks/main-app-420d93e43682fee5.js",
25
- "static/css/5eacd01f773eed7f.css",
26
25
  "static/chunks/9234-b0304101384ca079.js",
27
26
  "static/chunks/216-f18f4a9d8b04a91e.js",
28
- "static/chunks/1038-3509435b68c0967e.js",
29
27
  "static/chunks/8216-00e20326f32abd12.js",
30
- "static/chunks/6140-389f1951062dcf4f.js",
28
+ "static/chunks/2330-0299b9879f4977d2.js",
31
29
  "static/chunks/816-af44cb865b0c980e.js",
32
30
  "static/chunks/4733-50bdfc169adb4881.js",
33
- "static/chunks/app/worktrees/[id]/page-66b59fb8c9ee90f4.js"
31
+ "static/chunks/app/page-43b5de1a0a788b1f.js"
34
32
  ],
35
- "/page": [
33
+ "/worktrees/[id]/files/[...path]/page": [
36
34
  "static/chunks/webpack-af8567a485ade35a.js",
37
35
  "static/chunks/fd9d1056-cfdf4f91f13d3485.js",
38
36
  "static/chunks/2117-e31fa477cb500950.js",
39
37
  "static/chunks/main-app-420d93e43682fee5.js",
40
38
  "static/chunks/9234-b0304101384ca079.js",
41
- "static/chunks/216-f18f4a9d8b04a91e.js",
42
- "static/chunks/8216-00e20326f32abd12.js",
43
- "static/chunks/2330-0299b9879f4977d2.js",
44
- "static/chunks/816-af44cb865b0c980e.js",
45
- "static/chunks/4733-50bdfc169adb4881.js",
46
- "static/chunks/app/page-43b5de1a0a788b1f.js"
39
+ "static/chunks/1038-3509435b68c0967e.js",
40
+ "static/chunks/app/worktrees/[id]/files/[...path]/page-ce9ac3658f2b7d91.js"
47
41
  ],
48
- "/worktrees/[id]/files/[...path]/page": [
42
+ "/worktrees/[id]/page": [
49
43
  "static/chunks/webpack-af8567a485ade35a.js",
50
44
  "static/chunks/fd9d1056-cfdf4f91f13d3485.js",
51
45
  "static/chunks/2117-e31fa477cb500950.js",
52
46
  "static/chunks/main-app-420d93e43682fee5.js",
47
+ "static/css/5eacd01f773eed7f.css",
53
48
  "static/chunks/9234-b0304101384ca079.js",
49
+ "static/chunks/216-f18f4a9d8b04a91e.js",
54
50
  "static/chunks/1038-3509435b68c0967e.js",
55
- "static/chunks/app/worktrees/[id]/files/[...path]/page-ce9ac3658f2b7d91.js"
51
+ "static/chunks/8216-00e20326f32abd12.js",
52
+ "static/chunks/6140-389f1951062dcf4f.js",
53
+ "static/chunks/816-af44cb865b0c980e.js",
54
+ "static/chunks/4733-50bdfc169adb4881.js",
55
+ "static/chunks/app/worktrees/[id]/page-3e43a3c5e7496713.js"
56
56
  ],
57
57
  "/worktrees/[id]/terminal/page": [
58
58
  "static/chunks/webpack-af8567a485ade35a.js",
@@ -1 +1 @@
1
- {"/_not-found/page":"/_not-found","/api/app/update-check/route":"/api/app/update-check","/api/hooks/claude-done/route":"/api/hooks/claude-done","/api/repositories/clone/[jobId]/route":"/api/repositories/clone/[jobId]","/api/repositories/excluded/route":"/api/repositories/excluded","/api/repositories/clone/route":"/api/repositories/clone","/api/repositories/route":"/api/repositories","/api/repositories/restore/route":"/api/repositories/restore","/api/repositories/scan/route":"/api/repositories/scan","/api/repositories/sync/route":"/api/repositories/sync","/api/slash-commands/route":"/api/slash-commands","/api/worktrees/[id]/auto-yes/route":"/api/worktrees/[id]/auto-yes","/api/worktrees/[id]/capture/route":"/api/worktrees/[id]/capture","/api/worktrees/[id]/cli-tool/route":"/api/worktrees/[id]/cli-tool","/api/worktrees/[id]/current-output/route":"/api/worktrees/[id]/current-output","/api/worktrees/[id]/files/[...path]/route":"/api/worktrees/[id]/files/[...path]","/api/worktrees/[id]/interrupt/route":"/api/worktrees/[id]/interrupt","/api/worktrees/[id]/kill-session/route":"/api/worktrees/[id]/kill-session","/api/worktrees/[id]/memos/[memoId]/route":"/api/worktrees/[id]/memos/[memoId]","/api/worktrees/[id]/memos/route":"/api/worktrees/[id]/memos","/api/worktrees/[id]/messages/route":"/api/worktrees/[id]/messages","/api/worktrees/[id]/prompt-response/route":"/api/worktrees/[id]/prompt-response","/api/worktrees/[id]/route":"/api/worktrees/[id]","/api/worktrees/[id]/search/route":"/api/worktrees/[id]/search","/api/worktrees/[id]/respond/route":"/api/worktrees/[id]/respond","/api/worktrees/[id]/send/route":"/api/worktrees/[id]/send","/api/worktrees/[id]/terminal/route":"/api/worktrees/[id]/terminal","/api/worktrees/[id]/slash-commands/route":"/api/worktrees/[id]/slash-commands","/api/worktrees/[id]/start-polling/route":"/api/worktrees/[id]/start-polling","/api/worktrees/[id]/tree/[...path]/route":"/api/worktrees/[id]/tree/[...path]","/api/worktrees/[id]/tree/route":"/api/worktrees/[id]/tree","/api/worktrees/[id]/upload/[...path]/route":"/api/worktrees/[id]/upload/[...path]","/api/worktrees/[id]/viewed/route":"/api/worktrees/[id]/viewed","/apple-icon.png/route":"/apple-icon.png","/worktrees/[id]/page":"/worktrees/[id]","/icon.png/route":"/icon.png","/page":"/","/worktrees/[id]/files/[...path]/page":"/worktrees/[id]/files/[...path]","/worktrees/[id]/terminal/page":"/worktrees/[id]/terminal","/api/external-apps/[id]/health/route":"/api/external-apps/[id]/health","/api/external-apps/route":"/api/external-apps","/api/external-apps/[id]/route":"/api/external-apps/[id]","/api/worktrees/[id]/logs/[filename]/route":"/api/worktrees/[id]/logs/[filename]","/api/worktrees/[id]/logs/route":"/api/worktrees/[id]/logs","/api/worktrees/route":"/api/worktrees","/proxy/[...path]/route":"/proxy/[...path]"}
1
+ {"/_not-found/page":"/_not-found","/api/hooks/claude-done/route":"/api/hooks/claude-done","/api/repositories/clone/[jobId]/route":"/api/repositories/clone/[jobId]","/api/repositories/clone/route":"/api/repositories/clone","/api/repositories/excluded/route":"/api/repositories/excluded","/api/repositories/restore/route":"/api/repositories/restore","/api/repositories/route":"/api/repositories","/api/repositories/sync/route":"/api/repositories/sync","/api/repositories/scan/route":"/api/repositories/scan","/api/slash-commands/route":"/api/slash-commands","/api/worktrees/[id]/auto-yes/route":"/api/worktrees/[id]/auto-yes","/api/worktrees/[id]/cli-tool/route":"/api/worktrees/[id]/cli-tool","/api/worktrees/[id]/capture/route":"/api/worktrees/[id]/capture","/api/worktrees/[id]/current-output/route":"/api/worktrees/[id]/current-output","/api/worktrees/[id]/files/[...path]/route":"/api/worktrees/[id]/files/[...path]","/api/worktrees/[id]/interrupt/route":"/api/worktrees/[id]/interrupt","/api/worktrees/[id]/kill-session/route":"/api/worktrees/[id]/kill-session","/api/worktrees/[id]/memos/[memoId]/route":"/api/worktrees/[id]/memos/[memoId]","/api/worktrees/[id]/memos/route":"/api/worktrees/[id]/memos","/api/worktrees/[id]/messages/route":"/api/worktrees/[id]/messages","/api/worktrees/[id]/respond/route":"/api/worktrees/[id]/respond","/api/worktrees/[id]/prompt-response/route":"/api/worktrees/[id]/prompt-response","/api/worktrees/[id]/route":"/api/worktrees/[id]","/api/worktrees/[id]/search/route":"/api/worktrees/[id]/search","/api/worktrees/[id]/send/route":"/api/worktrees/[id]/send","/api/worktrees/[id]/slash-commands/route":"/api/worktrees/[id]/slash-commands","/api/worktrees/[id]/start-polling/route":"/api/worktrees/[id]/start-polling","/api/worktrees/[id]/terminal/route":"/api/worktrees/[id]/terminal","/api/worktrees/[id]/tree/[...path]/route":"/api/worktrees/[id]/tree/[...path]","/api/worktrees/[id]/tree/route":"/api/worktrees/[id]/tree","/api/worktrees/[id]/upload/[...path]/route":"/api/worktrees/[id]/upload/[...path]","/apple-icon.png/route":"/apple-icon.png","/api/worktrees/[id]/viewed/route":"/api/worktrees/[id]/viewed","/icon.png/route":"/icon.png","/page":"/","/worktrees/[id]/files/[...path]/page":"/worktrees/[id]/files/[...path]","/worktrees/[id]/page":"/worktrees/[id]","/worktrees/[id]/terminal/page":"/worktrees/[id]/terminal","/api/external-apps/[id]/health/route":"/api/external-apps/[id]/health","/api/external-apps/route":"/api/external-apps","/api/external-apps/[id]/route":"/api/external-apps/[id]","/api/app/update-check/route":"/api/app/update-check","/api/worktrees/[id]/logs/route":"/api/worktrees/[id]/logs","/api/worktrees/[id]/logs/[filename]/route":"/api/worktrees/[id]/logs/[filename]","/api/worktrees/route":"/api/worktrees","/proxy/[...path]/route":"/proxy/[...path]"}
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/zoVKZmyy2snskN1roYhHr/_buildManifest.js",
9
- "static/zoVKZmyy2snskN1roYhHr/_ssgManifest.js"
8
+ "static/lV6KkZASqAUfg2EBH9dOL/_buildManifest.js",
9
+ "static/lV6KkZASqAUfg2EBH9dOL/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
12
  "static/chunks/webpack-af8567a485ade35a.js",