denchclaw 2.0.0 → 2.0.1

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 (86) hide show
  1. package/apps/web/.next/standalone/apps/web/.next/BUILD_ID +1 -1
  2. package/apps/web/.next/standalone/apps/web/.next/app-build-manifest.json +102 -102
  3. package/apps/web/.next/standalone/apps/web/.next/app-path-routes-manifest.json +34 -34
  4. package/apps/web/.next/standalone/apps/web/.next/build-manifest.json +2 -2
  5. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  6. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
  7. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found.rsc +1 -1
  8. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route_client-reference-manifest.js +1 -1
  9. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
  10. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route_client-reference-manifest.js +1 -1
  11. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route_client-reference-manifest.js +1 -1
  12. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route_client-reference-manifest.js +1 -1
  13. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/[jobId]/runs/route_client-reference-manifest.js +1 -1
  14. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/route_client-reference-manifest.js +1 -1
  15. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/[sessionId]/route_client-reference-manifest.js +1 -1
  16. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/search-transcript/route_client-reference-manifest.js +1 -1
  17. package/apps/web/.next/standalone/apps/web/.next/server/app/api/memories/route_client-reference-manifest.js +1 -1
  18. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/route_client-reference-manifest.js +1 -1
  19. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/switch/route_client-reference-manifest.js +1 -1
  20. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/[sessionId]/route_client-reference-manifest.js +1 -1
  21. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
  22. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  23. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/messages/route_client-reference-manifest.js +1 -1
  24. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route_client-reference-manifest.js +1 -1
  25. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route_client-reference-manifest.js +1 -1
  26. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/assets/[...path]/route_client-reference-manifest.js +1 -1
  27. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse/route_client-reference-manifest.js +1 -1
  28. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse-file/route_client-reference-manifest.js +1 -1
  29. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/context/route_client-reference-manifest.js +1 -1
  30. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/copy/route_client-reference-manifest.js +1 -1
  31. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/introspect/route_client-reference-manifest.js +1 -1
  32. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/query/route_client-reference-manifest.js +1 -1
  33. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route_client-reference-manifest.js +1 -1
  34. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/file/route_client-reference-manifest.js +1 -1
  35. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route_client-reference-manifest.js +1 -1
  36. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/list/route_client-reference-manifest.js +1 -1
  37. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/mkdir/route_client-reference-manifest.js +1 -1
  38. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/move/route_client-reference-manifest.js +1 -1
  39. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/display-field/route_client-reference-manifest.js +1 -1
  40. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/[id]/route_client-reference-manifest.js +1 -1
  41. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/bulk-delete/route_client-reference-manifest.js +1 -1
  42. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/options/route_client-reference-manifest.js +1 -1
  43. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route_client-reference-manifest.js +1 -1
  44. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route_client-reference-manifest.js +1 -1
  45. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/route_client-reference-manifest.js +1 -1
  46. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/reorder/route_client-reference-manifest.js +1 -1
  47. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/route_client-reference-manifest.js +1 -1
  48. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/views/route_client-reference-manifest.js +1 -1
  49. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/open-file/route_client-reference-manifest.js +1 -1
  50. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/path-info/route_client-reference-manifest.js +1 -1
  51. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/query/route_client-reference-manifest.js +1 -1
  52. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/raw-file/route_client-reference-manifest.js +1 -1
  53. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/rename/route_client-reference-manifest.js +1 -1
  54. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route_client-reference-manifest.js +1 -1
  55. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/search-index/route_client-reference-manifest.js +1 -1
  56. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/suggest-files/route_client-reference-manifest.js +1 -1
  57. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route_client-reference-manifest.js +1 -1
  58. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/thumbnail/route_client-reference-manifest.js +1 -1
  59. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route_client-reference-manifest.js +1 -1
  60. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route_client-reference-manifest.js +1 -1
  61. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/virtual-file/route_client-reference-manifest.js +1 -1
  62. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/watch/route_client-reference-manifest.js +1 -1
  63. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/write-binary/route_client-reference-manifest.js +1 -1
  64. package/apps/web/.next/standalone/apps/web/.next/server/app/index.html +2 -2
  65. package/apps/web/.next/standalone/apps/web/.next/server/app/index.rsc +1 -1
  66. package/apps/web/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  67. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page_client-reference-manifest.js +1 -1
  68. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace.html +1 -1
  69. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace.rsc +1 -1
  70. package/apps/web/.next/standalone/apps/web/.next/server/app-paths-manifest.json +34 -34
  71. package/apps/web/.next/standalone/apps/web/.next/server/functions-config-manifest.json +19 -19
  72. package/apps/web/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
  73. package/apps/web/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
  74. package/apps/web/.next/standalone/package.json +2 -2
  75. package/dist/{cli-name-DUQ-cavN.js → cli-name-8WJ6gVD5.js} +36 -3
  76. package/dist/entry.js +2 -21
  77. package/dist/{register.bootstrap-D9YhQgaK.js → program-DhxRjAOe.js} +926 -91
  78. package/dist/{run-main-buUOQk0k.js → run-main-oHgYgpCR.js} +5 -6
  79. package/package.json +2 -2
  80. package/dist/links-BTx7dmFj.js +0 -57
  81. package/dist/program-DahL9wBm.js +0 -195
  82. package/dist/theme-uCBEEejb.js +0 -36
  83. /package/apps/web/.next/standalone/apps/web/.next/static/{oOwR1DKioMELtFQgLgScE → InPdqFM6GAVmsiSfDz98A}/_buildManifest.js +0 -0
  84. /package/apps/web/.next/standalone/apps/web/.next/static/{oOwR1DKioMELtFQgLgScE → InPdqFM6GAVmsiSfDz98A}/_ssgManifest.js +0 -0
  85. /package/apps/web/.next/static/{oOwR1DKioMELtFQgLgScE → InPdqFM6GAVmsiSfDz98A}/_buildManifest.js +0 -0
  86. /package/apps/web/.next/static/{oOwR1DKioMELtFQgLgScE → InPdqFM6GAVmsiSfDz98A}/_ssgManifest.js +0 -0
@@ -1,49 +1,49 @@
1
1
  {
2
2
  "version": 1,
3
3
  "functions": {
4
- "/api/chat/stream": {},
4
+ "/api/chat/stop": {},
5
5
  "/api/chat": {},
6
6
  "/api/chat/active": {},
7
+ "/api/chat/stream": {},
7
8
  "/api/chat/subagents": {},
8
- "/api/chat/stop": {},
9
- "/api/profiles/switch": {},
10
9
  "/api/profiles": {},
10
+ "/api/profiles/switch": {},
11
11
  "/api/workspace/assets/[...path]": {},
12
12
  "/api/workspace/browse-file": {},
13
- "/api/workspace/context": {},
14
13
  "/api/workspace/browse": {},
15
- "/api/workspace/db/query": {},
16
14
  "/api/workspace/db/introspect": {},
17
- "/api/workspace/delete": {},
18
- "/api/workspace/file": {},
19
- "/api/workspace/mkdir": {},
20
- "/api/workspace/objects/[name]/display-field": {},
21
- "/api/workspace/init": {},
22
15
  "/api/workspace/copy": {},
16
+ "/api/workspace/db/query": {},
17
+ "/api/workspace/context": {},
23
18
  "/api/workspace/move": {},
19
+ "/api/workspace/file": {},
20
+ "/api/workspace/delete": {},
21
+ "/api/workspace/objects/[name]/display-field": {},
24
22
  "/api/workspace/objects/[name]/entries/bulk-delete": {},
23
+ "/api/workspace/mkdir": {},
24
+ "/api/workspace/init": {},
25
25
  "/api/workspace/list": {},
26
26
  "/api/workspace/objects/[name]/entries": {},
27
27
  "/api/workspace/objects/[name]/fields/[fieldId]/enum-rename": {},
28
- "/api/workspace/objects/[name]/entries/[id]": {},
29
- "/api/workspace/objects/[name]/fields/[fieldId]": {},
30
28
  "/api/workspace/objects/[name]/entries/options": {},
29
+ "/api/workspace/objects/[name]/fields/[fieldId]": {},
31
30
  "/api/workspace/open-file": {},
31
+ "/api/workspace/objects/[name]/entries/[id]": {},
32
+ "/api/workspace/query": {},
32
33
  "/api/workspace/objects/[name]/fields/reorder": {},
33
34
  "/api/workspace/path-info": {},
34
35
  "/api/workspace/objects/[name]": {},
35
36
  "/api/workspace/rename": {},
36
- "/api/workspace/query": {},
37
- "/api/workspace/raw-file": {},
38
- "/api/workspace/switch": {},
39
37
  "/api/workspace/reports/execute": {},
40
38
  "/api/workspace/search-index": {},
41
- "/api/workspace/suggest-files": {},
42
- "/api/workspace/upload": {},
43
- "/api/workspace/tree": {},
44
- "/api/workspace/watch": {},
39
+ "/api/workspace/raw-file": {},
45
40
  "/api/workspace/thumbnail": {},
41
+ "/api/workspace/tree": {},
46
42
  "/api/workspace/virtual-file": {},
43
+ "/api/workspace/switch": {},
44
+ "/api/workspace/upload": {},
45
+ "/api/workspace/suggest-files": {},
46
+ "/api/workspace/watch": {},
47
47
  "/api/workspace/write-binary": {}
48
48
  }
49
49
  }
@@ -1 +1 @@
1
- <!DOCTYPE html><!--oOwR1DKioMELtFQgLgScE--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/><link rel="stylesheet" href="/_next/static/css/82d300cbeda03b69.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-1032d39338965700.js"/><script src="/_next/static/chunks/b59f762a-f8e8d23ec83d91e0.js" async=""></script><script src="/_next/static/chunks/8522-8af2b73a0e93c73d.js" async=""></script><script src="/_next/static/chunks/main-app-b49c23ad3d7c2890.js" async=""></script><meta name="robots" content="noindex"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous"/><title>404: This page could not be found.</title><title>DenchClaw</title><meta name="description" content="AI Workspace with an agent that connects to your apps and does the work for you"/><link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&amp;family=Inter:wght@300;400;500;600;700&amp;display=swap" rel="stylesheet"/><script>try{if(localStorage.theme==="dark"||(!("theme" in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches)){document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark")}}catch(e){}</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-1032d39338965700.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[22229,[],\"\"]\n3:I[41457,[],\"\"]\n4:I[91464,[],\"OutletBoundary\"]\n6:I[56673,[],\"AsyncMetadataOutlet\"]\n8:I[91464,[],\"ViewportBoundary\"]\na:I[91464,[],\"MetadataBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[55095,[],\"\"]\n:HL[\"/_next/static/css/82d300cbeda03b69.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"oOwR1DKioMELtFQgLgScE\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/82d300cbeda03b69.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"link\",null,{\"rel\":\"preconnect\",\"href\":\"https://fonts.googleapis.com\"}],[\"$\",\"link\",null,{\"rel\":\"preconnect\",\"href\":\"https://fonts.gstatic.com\",\"crossOrigin\":\"anonymous\"}],[\"$\",\"link\",null,{\"href\":\"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1\u0026family=Inter:wght@300;400;500;600;700\u0026display=swap\",\"rel\":\"stylesheet\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{if(localStorage.theme===\\\"dark\\\"||(!(\\\"theme\\\" in localStorage)\u0026\u0026window.matchMedia(\\\"(prefers-color-scheme: dark)\\\").matches)){document.documentElement.classList.add(\\\"dark\\\")}else{document.documentElement.classList.remove(\\\"dark\\\")}}catch(e){}\"}}]]}],[\"$\",\"body\",null,{\"className\":\"antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",[\"$\",\"$L6\",null,{\"promise\":\"$@7\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],null],[\"$\",\"$La\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":\"$Lc\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"7:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"DenchClaw\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"AI Workspace with an agent that connects to your apps and does the work for you\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"c:\"$7:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--InPdqFM6GAVmsiSfDz98A--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/><link rel="stylesheet" href="/_next/static/css/82d300cbeda03b69.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-1032d39338965700.js"/><script src="/_next/static/chunks/b59f762a-f8e8d23ec83d91e0.js" async=""></script><script src="/_next/static/chunks/8522-8af2b73a0e93c73d.js" async=""></script><script src="/_next/static/chunks/main-app-b49c23ad3d7c2890.js" async=""></script><meta name="robots" content="noindex"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous"/><title>404: This page could not be found.</title><title>DenchClaw</title><meta name="description" content="AI Workspace with an agent that connects to your apps and does the work for you"/><link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&amp;family=Inter:wght@300;400;500;600;700&amp;display=swap" rel="stylesheet"/><script>try{if(localStorage.theme==="dark"||(!("theme" in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches)){document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark")}}catch(e){}</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-1032d39338965700.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[22229,[],\"\"]\n3:I[41457,[],\"\"]\n4:I[91464,[],\"OutletBoundary\"]\n6:I[56673,[],\"AsyncMetadataOutlet\"]\n8:I[91464,[],\"ViewportBoundary\"]\na:I[91464,[],\"MetadataBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[55095,[],\"\"]\n:HL[\"/_next/static/css/82d300cbeda03b69.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"InPdqFM6GAVmsiSfDz98A\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/82d300cbeda03b69.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"link\",null,{\"rel\":\"preconnect\",\"href\":\"https://fonts.googleapis.com\"}],[\"$\",\"link\",null,{\"rel\":\"preconnect\",\"href\":\"https://fonts.gstatic.com\",\"crossOrigin\":\"anonymous\"}],[\"$\",\"link\",null,{\"href\":\"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1\u0026family=Inter:wght@300;400;500;600;700\u0026display=swap\",\"rel\":\"stylesheet\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{if(localStorage.theme===\\\"dark\\\"||(!(\\\"theme\\\" in localStorage)\u0026\u0026window.matchMedia(\\\"(prefers-color-scheme: dark)\\\").matches)){document.documentElement.classList.add(\\\"dark\\\")}else{document.documentElement.classList.remove(\\\"dark\\\")}}catch(e){}\"}}]]}],[\"$\",\"body\",null,{\"className\":\"antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",[\"$\",\"$L6\",null,{\"promise\":\"$@7\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],null],[\"$\",\"$La\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":\"$Lc\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"7:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"DenchClaw\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"AI Workspace with an agent that connects to your apps and does the work for you\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"c:\"$7:metadata\"\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-1032d39338965700.js" defer=""></script><script src="/_next/static/chunks/framework-63182ecd18a3b3c9.js" defer=""></script><script src="/_next/static/chunks/main-35c7ea2227b70752.js" defer=""></script><script src="/_next/static/chunks/pages/_app-3501412d1f7ffe78.js" defer=""></script><script src="/_next/static/chunks/pages/_error-0217f5ed9b41c682.js" defer=""></script><script src="/_next/static/oOwR1DKioMELtFQgLgScE/_buildManifest.js" defer=""></script><script src="/_next/static/oOwR1DKioMELtFQgLgScE/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"oOwR1DKioMELtFQgLgScE","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-1032d39338965700.js" defer=""></script><script src="/_next/static/chunks/framework-63182ecd18a3b3c9.js" defer=""></script><script src="/_next/static/chunks/main-35c7ea2227b70752.js" defer=""></script><script src="/_next/static/chunks/pages/_app-3501412d1f7ffe78.js" defer=""></script><script src="/_next/static/chunks/pages/_error-0217f5ed9b41c682.js" defer=""></script><script src="/_next/static/InPdqFM6GAVmsiSfDz98A/_buildManifest.js" defer=""></script><script src="/_next/static/InPdqFM6GAVmsiSfDz98A/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"InPdqFM6GAVmsiSfDz98A","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "denchclaw",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "AI-powered CRM platform with multi-channel agent gateway, DuckDB workspace, and knowledge management",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/openclaw/openclaw#readme",
@@ -45,7 +45,7 @@
45
45
  "prepack": "pnpm build && pnpm web:build && pnpm web:prepack",
46
46
  "start": "node denchclaw.mjs",
47
47
  "test": "pnpm test:cli && pnpm --dir apps/web test",
48
- "test:cli": "vitest run --config vitest.unit.config.ts src/cli/run-main.test.ts src/cli/bootstrap-external.test.ts src/cli/bootstrap-external.bootstrap-command.test.ts src/cli/workspace-seed.test.ts",
48
+ "test:cli": "vitest run --config vitest.unit.config.ts src/cli/run-main.test.ts src/cli/bootstrap-external.test.ts src/cli/bootstrap-external.bootstrap-command.test.ts src/cli/workspace-seed.test.ts src/cli/web-runtime.test.ts src/cli/web-runtime-command.test.ts",
49
49
  "test:web": "pnpm --dir apps/web test",
50
50
  "web:build": "pnpm --dir apps/web build",
51
51
  "web:dev": "pnpm --dir apps/web dev",
@@ -1,10 +1,43 @@
1
- import { d as hasRootVersionAlias, r as visibleWidth } from "./entry.js";
2
- import { n as theme, t as isRich } from "./theme-uCBEEejb.js";
1
+ import { r as visibleWidth, u as hasRootVersionAlias } from "./entry.js";
3
2
  import { createRequire } from "node:module";
4
3
  import path from "node:path";
5
4
  import fs from "node:fs";
5
+ import chalk, { Chalk } from "chalk";
6
6
  import gradient from "gradient-string";
7
7
 
8
+ //#region src/terminal/palette.ts
9
+ const IRON_PALETTE = {
10
+ accent: "#9CA3AF",
11
+ accentBright: "#D1D5DB",
12
+ accentDim: "#6B7280",
13
+ info: "#93C5FD",
14
+ success: "#34D399",
15
+ warn: "#FBBF24",
16
+ error: "#F87171",
17
+ muted: "#6B7280"
18
+ };
19
+
20
+ //#endregion
21
+ //#region src/terminal/theme.ts
22
+ const hasForceColor = typeof process.env.FORCE_COLOR === "string" && process.env.FORCE_COLOR.trim().length > 0 && process.env.FORCE_COLOR.trim() !== "0";
23
+ const baseChalk = process.env.NO_COLOR && !hasForceColor ? new Chalk({ level: 0 }) : chalk;
24
+ const hex = (value) => baseChalk.hex(value);
25
+ const theme = {
26
+ accent: hex(IRON_PALETTE.accent),
27
+ accentBright: hex(IRON_PALETTE.accentBright),
28
+ accentDim: hex(IRON_PALETTE.accentDim),
29
+ info: hex(IRON_PALETTE.info),
30
+ success: hex(IRON_PALETTE.success),
31
+ warn: hex(IRON_PALETTE.warn),
32
+ error: hex(IRON_PALETTE.error),
33
+ muted: hex(IRON_PALETTE.muted),
34
+ heading: baseChalk.bold.hex(IRON_PALETTE.accent),
35
+ command: hex(IRON_PALETTE.accentBright),
36
+ option: hex(IRON_PALETTE.warn)
37
+ };
38
+ const isRich = () => Boolean(baseChalk.level > 0);
39
+
40
+ //#endregion
8
41
  //#region src/version.ts
9
42
  const CORE_PACKAGE_NAME = "denchclaw";
10
43
  const PACKAGE_JSON_CANDIDATES = [
@@ -500,4 +533,4 @@ function replaceCliName(command, cliName = resolveCliName()) {
500
533
  }
501
534
 
502
535
  //#endregion
503
- export { hasEmittedCliBanner as a, formatCliBannerLine as i, resolveCliName as n, VERSION as o, emitCliBanner as r, replaceCliName as t };
536
+ export { hasEmittedCliBanner as a, theme as c, formatCliBannerLine as i, resolveCliName as n, VERSION as o, emitCliBanner as r, isRich as s, replaceCliName as t };
package/dist/entry.js CHANGED
@@ -209,25 +209,6 @@ function getPrimaryCommand(argv) {
209
209
  const [primary] = getCommandPath(argv, 1);
210
210
  return primary ?? null;
211
211
  }
212
- function buildParseArgv(params) {
213
- const baseArgv = params.rawArgs && params.rawArgs.length > 0 ? params.rawArgs : params.fallbackArgv && params.fallbackArgv.length > 0 ? params.fallbackArgv : process.argv;
214
- const programName = params.programName ?? "";
215
- const normalizedArgv = programName && baseArgv[0] === programName ? baseArgv.slice(1) : baseArgv[0]?.endsWith("openclaw") || baseArgv[0]?.endsWith("denchclaw") ? baseArgv.slice(1) : baseArgv;
216
- const executable = (normalizedArgv[0]?.split(/[/\\]/).pop() ?? "").toLowerCase();
217
- if (normalizedArgv.length >= 2 && (isNodeExecutable(executable) || isBunExecutable(executable))) return normalizedArgv;
218
- return [
219
- "node",
220
- programName || "denchclaw",
221
- ...normalizedArgv
222
- ];
223
- }
224
- const nodeExecutablePattern = /^node-\d+(?:\.\d+)*(?:\.exe)?$/;
225
- function isNodeExecutable(executable) {
226
- return executable === "node" || executable === "node.exe" || executable === "nodejs" || executable === "nodejs.exe" || nodeExecutablePattern.test(executable);
227
- }
228
- function isBunExecutable(executable) {
229
- return executable === "bun" || executable === "bun.exe";
230
- }
231
212
 
232
213
  //#endregion
233
214
  //#region src/cli/respawn-policy.ts
@@ -1162,11 +1143,11 @@ if (!ensureExperimentalWarningSuppressed()) {
1162
1143
  const appliedProfile = applyCliProfileEnv({ profile: parsed.profile ?? void 0 });
1163
1144
  if (appliedProfile.warning) console.warn(`[denchclaw] ${appliedProfile.warning}`);
1164
1145
  process$1.argv = parsed.argv;
1165
- import("./run-main-buUOQk0k.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
1146
+ import("./run-main-oHgYgpCR.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
1166
1147
  console.error("[denchclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
1167
1148
  process$1.exitCode = 1;
1168
1149
  });
1169
1150
  }
1170
1151
 
1171
1152
  //#endregion
1172
- export { normalizeWindowsArgv as a, getPrimaryCommand as c, hasRootVersionAlias as d, applyCliProfileEnv as f, defaultRuntime as i, hasFlag as l, resolveRequiredHomeDir as m, normalizeEnv as n, buildParseArgv as o, expandHomePrefix as p, visibleWidth as r, getCommandPath as s, isTruthyEnvValue as t, hasHelpOrVersion as u };
1153
+ export { normalizeWindowsArgv as a, hasFlag as c, applyCliProfileEnv as d, expandHomePrefix as f, defaultRuntime as i, hasHelpOrVersion as l, normalizeEnv as n, getCommandPath as o, resolveRequiredHomeDir as p, visibleWidth as r, getPrimaryCommand as s, isTruthyEnvValue as t, hasRootVersionAlias as u };