@anhlp/alp-cli 0.0.0-beta.1 → 0.0.1-beta.10

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 (83) hide show
  1. package/dist/THIRD-PARTY-NOTICES.txt +52 -2
  2. package/dist/acp/agent.d.ts +11 -3
  3. package/dist/acp/agent.js +118 -19
  4. package/dist/acp/main.js +1 -1
  5. package/dist/acp.js +7898 -2238
  6. package/dist/alp-dashboard/THIRD-PARTY-NOTICES.txt +3256 -0
  7. package/dist/alp-dashboard/alp-boundary.json +16 -0
  8. package/dist/alp-dashboard/apple-touch-icon.png +0 -0
  9. package/dist/alp-dashboard/assets/TerminalPanel-D8HE9XBX.js +22 -0
  10. package/dist/alp-dashboard/assets/TerminalPanel-DLuoa74B.css +1 -0
  11. package/dist/alp-dashboard/assets/highlighter-BnicKQ_d.js +18 -0
  12. package/dist/alp-dashboard/assets/index-DwqDSiIi.css +1 -0
  13. package/dist/alp-dashboard/assets/index-YdtH3NBy.js +59 -0
  14. package/dist/alp-dashboard/favicon-attention.svg +6 -0
  15. package/dist/alp-dashboard/favicon-running.svg +6 -0
  16. package/dist/alp-dashboard/favicon.svg +5 -0
  17. package/dist/alp-dashboard/index.html +20 -0
  18. package/dist/alp-dashboard.js +10165 -0
  19. package/dist/alpd.js +39994 -16997
  20. package/dist/backup.js +2 -2
  21. package/dist/build-manifest.json +142 -3
  22. package/dist/cli.js +40 -6
  23. package/dist/daemon.d.ts +3 -3
  24. package/dist/daemon.js +16 -7
  25. package/dist/dashboard-migrate.d.ts +31 -0
  26. package/dist/dashboard-migrate.js +127 -0
  27. package/dist/dashboard-service.d.ts +69 -0
  28. package/dist/dashboard-service.js +141 -0
  29. package/dist/desktop.d.ts +56 -0
  30. package/dist/desktop.js +91 -0
  31. package/dist/interfaces.d.ts +23 -3
  32. package/dist/interfaces.js +277 -41
  33. package/dist/library.d.ts +16 -2
  34. package/dist/library.js +114 -7
  35. package/dist/paths.d.ts +6 -0
  36. package/dist/paths.js +4 -1
  37. package/dist/projects.js +2 -1
  38. package/dist/roles.d.ts +15 -0
  39. package/dist/roles.js +16 -0
  40. package/dist/schedules.d.ts +2 -0
  41. package/dist/schedules.js +45 -0
  42. package/dist/self-update.d.ts +151 -0
  43. package/dist/self-update.js +422 -0
  44. package/dist/sessions.d.ts +9 -2
  45. package/dist/sessions.js +67 -13
  46. package/dist/tasks.js +22 -8
  47. package/dist/terminal-native/README.md +201 -0
  48. package/dist/terminal-native/prebuilt/darwin-arm64/manifest.json +11 -0
  49. package/dist/terminal-native/prebuilt/darwin-arm64/terminal-owner +0 -0
  50. package/dist/terminal-native/prebuilt/darwin-x64/manifest.json +11 -0
  51. package/dist/terminal-native/prebuilt/darwin-x64/terminal-owner +0 -0
  52. package/dist/terminal-native/prebuilt/linux-arm64-glibc/manifest.json +10 -0
  53. package/dist/terminal-native/prebuilt/linux-arm64-glibc/terminal-owner +0 -0
  54. package/dist/terminal-native/prebuilt/linux-arm64-musl/manifest.json +10 -0
  55. package/dist/terminal-native/prebuilt/linux-arm64-musl/terminal-owner +0 -0
  56. package/dist/terminal-native/prebuilt/linux-x64-glibc/manifest.json +10 -0
  57. package/dist/terminal-native/prebuilt/linux-x64-glibc/terminal-owner +0 -0
  58. package/dist/terminal-native/prebuilt/linux-x64-musl/manifest.json +10 -0
  59. package/dist/terminal-native/prebuilt/linux-x64-musl/terminal-owner +0 -0
  60. package/dist/terminal-native/terminal-owner.c +389 -0
  61. package/dist/terminal.d.ts +13 -0
  62. package/dist/terminal.js +80 -0
  63. package/dist/usage.d.ts +1 -1
  64. package/dist/usage.js +31 -9
  65. package/package.json +11 -4
  66. package/src/acp/agent.ts +111 -20
  67. package/src/backup.js +1 -1
  68. package/src/cli.js +51 -6
  69. package/src/daemon.js +18 -9
  70. package/src/dashboard-migrate.js +152 -0
  71. package/src/dashboard-service.js +192 -0
  72. package/src/desktop.js +122 -0
  73. package/src/interfaces.js +345 -38
  74. package/src/library.js +108 -9
  75. package/src/paths.js +9 -1
  76. package/src/projects.js +3 -1
  77. package/src/roles.js +26 -0
  78. package/src/schedules.js +38 -0
  79. package/src/self-update.js +443 -0
  80. package/src/sessions.js +60 -16
  81. package/src/tasks.js +22 -8
  82. package/src/terminal.js +78 -0
  83. package/src/usage.js +31 -9
@@ -224,6 +224,31 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
224
224
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
225
225
  SOFTWARE.
226
226
 
227
+ ================================================================================
228
+ @xterm/headless@6.0.0 (MIT)
229
+ ================================================================================
230
+
231
+ The package ships no licence file; its package.json declares MIT and the repository https://github.com/xtermjs/xterm.js. The standard MIT text (SPDX):
232
+
233
+ MIT License
234
+
235
+ Copyright (c) <year> <copyright holders>
236
+
237
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
238
+ associated documentation files (the "Software"), to deal in the Software without restriction, including
239
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
240
+ copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
241
+ following conditions:
242
+
243
+ The above copyright notice and this permission notice shall be included in all copies or substantial
244
+ portions of the Software.
245
+
246
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
247
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
248
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
249
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
250
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
251
+
227
252
  ================================================================================
228
253
  ajv@8.20.0 (MIT)
229
254
  ================================================================================
@@ -382,7 +407,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
382
407
  SOFTWARE.
383
408
 
384
409
  ================================================================================
385
- fast-uri@3.1.8 (BSD-3-Clause)
410
+ fast-uri@3.1.9 (BSD-3-Clause)
386
411
  ================================================================================
387
412
 
388
413
  Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
@@ -580,7 +605,32 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
580
605
  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
581
606
 
582
607
  ================================================================================
583
- zod@4.4.3 (MIT)
608
+ ws@8.22.0 (MIT)
609
+ ================================================================================
610
+
611
+ Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
612
+ Copyright (c) 2013 Arnout Kazemier and contributors
613
+ Copyright (c) 2016 Luigi Pinca and contributors
614
+
615
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
616
+ this software and associated documentation files (the "Software"), to deal in
617
+ the Software without restriction, including without limitation the rights to
618
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
619
+ the Software, and to permit persons to whom the Software is furnished to do so,
620
+ subject to the following conditions:
621
+
622
+ The above copyright notice and this permission notice shall be included in all
623
+ copies or substantial portions of the Software.
624
+
625
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
626
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
627
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
628
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
629
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
630
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
631
+
632
+ ================================================================================
633
+ zod@4.6.7 (MIT)
584
634
  ================================================================================
585
635
 
586
636
  MIT License
@@ -22,8 +22,16 @@ export type AcpAgentOptions = {
22
22
  export declare function hostServers(servers?: acp.McpServer[]): Record<string, HostMcpServer>;
23
23
  /** A prompt's content as the text ALP gives the agent: files the editor attaches are named or inlined. */
24
24
  export declare function promptText(blocks: acp.ContentBlock[]): string;
25
- /** What kind of work a tool call is, from its name or its command's first word (Claude reports tools as `Read {…}`). */
26
- export declare function toolKind(item: Extract<TimelineItem, {
25
+ type ToolItem = Extract<TimelineItem, {
27
26
  kind: 'tool_call';
28
- }>): acp.ToolKind;
27
+ }>;
28
+ /** What kind of work a tool call is: from its typed detail, else its name or its command's first word (older Claude items are `Read {…}` commands). */
29
+ export declare function toolKind(item: ToolItem): acp.ToolKind;
30
+ export declare function toolTitle(item: ToolItem, cwd?: string): string;
31
+ export declare function toolOutput(item: ToolItem): acp.ToolCallContent[];
32
+ /** The call's input as the editor shows it raw: a command, a typed call's own fields without its long texts, or the tool's input. */
33
+ export declare function toolInput(item: ToolItem): unknown;
34
+ /** The file a typed call read or changed, for the editor to follow. */
35
+ export declare function toolLocations(item: ToolItem): acp.ToolCallLocation[] | undefined;
29
36
  export declare function createAcpAgent(options: AcpAgentOptions): acp.AgentApp;
37
+ export {};
package/dist/acp/agent.js CHANGED
@@ -2,6 +2,7 @@
2
2
  import * as acp from "@agentclientprotocol/sdk";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import path from "node:path";
5
+ var unlistedOf = ({ teams, team, teamLabel }) => teams.some((entry) => entry.id === team) ? void 0 : { id: team, label: teamLabel ?? (team === "custom" ? "Custom" : team) };
5
6
  var MODES = [
6
7
  { id: "read-only", name: "Read only", description: "Agents read and search; nothing is changed" },
7
8
  { id: "workspace-write", name: "Workspace write", description: "Agents change files and run commands inside the project" },
@@ -43,34 +44,120 @@ ${resource.text}
43
44
  }
44
45
  return text.trim();
45
46
  }
47
+ function shown(file, cwd) {
48
+ if (!cwd || !path.isAbsolute(file)) return file;
49
+ const relative = path.relative(cwd, file);
50
+ return relative && !relative.startsWith("..") && !path.isAbsolute(relative) ? relative : file;
51
+ }
46
52
  function toolKind(item) {
47
- const word = item.detail.type === "shell" ? String(item.detail.command ?? "").trim().split(/[\s{(]/)[0] : item.name;
53
+ const detail = item.detail;
54
+ switch (detail.type) {
55
+ case "read":
56
+ return "read";
57
+ case "edit":
58
+ case "write":
59
+ return "edit";
60
+ case "search":
61
+ return detail.toolName === "web_search" ? "fetch" : "search";
62
+ case "fetch":
63
+ return "fetch";
64
+ case "plan":
65
+ return "think";
66
+ case "sub_agent":
67
+ case "plain_text":
68
+ return "other";
69
+ }
70
+ const word = detail.type === "shell" ? String(detail.command ?? "").trim().split(/[\s{(]/)[0] : item.name;
48
71
  if (/^(Read|NotebookRead|LS)$/.test(word)) return "read";
49
72
  if (/^(Edit|MultiEdit|Write|NotebookEdit)$/.test(word)) return "edit";
50
73
  if (/^(Grep|Glob)$/.test(word)) return "search";
51
74
  if (/^(WebFetch|WebSearch)$/.test(word)) return "fetch";
52
75
  if (/^(Skill|Task|TodoWrite)$/.test(word) || item.name.startsWith("alp_")) return "other";
53
- return item.detail.type === "shell" ? "execute" : "other";
76
+ return detail.type === "shell" ? "execute" : "other";
54
77
  }
55
- function toolTitle(item) {
56
- if (item.detail.type === "shell") return clip(String(item.detail.command ?? "").split("\n")[0], 160);
57
- const input = item.detail.input ?? {};
78
+ function toolTitle(item, cwd) {
79
+ const detail = item.detail;
80
+ switch (detail.type) {
81
+ case "shell":
82
+ return clip(String(detail.command ?? "").split("\n")[0], 160);
83
+ case "read":
84
+ return clip(`Read ${shown(detail.filePath, cwd)}`, 160);
85
+ case "edit":
86
+ return clip(`Edit ${shown(detail.filePath, cwd)}`, 160);
87
+ case "write":
88
+ return clip(`Write ${shown(detail.filePath, cwd)}`, 160);
89
+ case "search":
90
+ return clip(`${detail.toolName === "web_search" ? "Search the web" : "Search"} ${detail.query}`, 160);
91
+ case "fetch":
92
+ return clip(`Fetch ${detail.url}`, 160);
93
+ case "sub_agent":
94
+ return clip(`${detail.subAgentType ?? "Sub-agent"}${detail.description ? `: ${detail.description.split("\n")[0]}` : ""}`, 160);
95
+ case "plan":
96
+ return "Plan";
97
+ case "plain_text":
98
+ return clip(`${item.name}${detail.label ? `: ${detail.label}` : ""}`, 160);
99
+ }
100
+ const input = detail.input ?? {};
58
101
  if (item.name === "alp_delegate") return clip(`Delegate to ${input.agent ?? "an agent"}: ${String(input.task ?? "").split("\n")[0]}`, 160);
59
102
  return clip(`${item.name} ${JSON.stringify(input)}`, 160);
60
103
  }
104
+ var bounded = (text) => text.length > OUTPUT_CHARS ? `${text.slice(0, OUTPUT_CHARS)}
105
+ \u2026 (${text.length - OUTPUT_CHARS} more characters)` : text;
61
106
  function toolOutput(item) {
107
+ const detail = item.detail;
108
+ const parts = [];
62
109
  let text = "";
63
- if (item.detail.type === "shell") text = item.detail.output ?? "";
64
- else {
65
- const output = item.detail.output;
66
- text = Array.isArray(output) ? output.map((part) => typeof part?.text === "string" ? part.text : JSON.stringify(part)).join("\n") : output == null ? "" : typeof output === "string" ? output : JSON.stringify(output, null, 2);
110
+ switch (detail.type) {
111
+ case "shell":
112
+ text = detail.output ?? "";
113
+ break;
114
+ case "read":
115
+ text = detail.content ?? "";
116
+ break;
117
+ case "edit":
118
+ if (detail.newString !== void 0 || detail.oldString !== void 0) parts.push({ type: "diff", path: detail.filePath, oldText: detail.oldString ?? null, newText: detail.newString ?? "" });
119
+ else if (detail.unifiedDiff) text = "```diff\n" + detail.unifiedDiff + (detail.unifiedDiff.endsWith("\n") ? "" : "\n") + "```";
120
+ break;
121
+ case "write":
122
+ if (detail.content !== void 0) parts.push({ type: "diff", path: detail.filePath, oldText: null, newText: detail.content });
123
+ break;
124
+ case "search":
125
+ text = detail.content ?? [...detail.filePaths ?? [], ...(detail.webResults ?? []).map((hit) => `${hit.title} \u2014 ${hit.url}`)].join("\n");
126
+ break;
127
+ case "fetch":
128
+ text = detail.result ?? "";
129
+ break;
130
+ case "sub_agent":
131
+ text = detail.log || detail.description || "";
132
+ break;
133
+ case "plan":
134
+ text = detail.text;
135
+ break;
136
+ case "plain_text":
137
+ text = detail.text ?? "";
138
+ break;
139
+ default: {
140
+ const output = detail.output;
141
+ text = Array.isArray(output) ? output.map((part) => typeof part?.text === "string" ? part.text : JSON.stringify(part)).join("\n") : output == null ? "" : typeof output === "string" ? output : JSON.stringify(output, null, 2);
142
+ }
67
143
  }
68
144
  if (item.error) text = text ? `${text}
69
145
  ${item.error}` : item.error;
70
- if (!text) return [];
71
- if (text.length > OUTPUT_CHARS) text = `${text.slice(0, OUTPUT_CHARS)}
72
- \u2026 (${text.length - OUTPUT_CHARS} more characters)`;
73
- return [{ type: "content", content: { type: "text", text } }];
146
+ if (text) parts.push({ type: "content", content: { type: "text", text: bounded(text) } });
147
+ return parts.map((part) => part.type === "diff" ? { ...part, newText: bounded(part.newText), ...part.oldText ? { oldText: bounded(part.oldText) } : {} } : part);
148
+ }
149
+ function toolInput(item) {
150
+ const detail = item.detail;
151
+ if (detail.type === "shell") return { command: detail.command, cwd: detail.cwd };
152
+ if (detail.type === "unknown" || !["read", "edit", "write", "search", "fetch", "sub_agent", "plan", "plain_text"].includes(detail.type)) return detail.input;
153
+ const { type: _type, content: _content, oldString: _old, newString: _new, unifiedDiff: _diff, result: _result, log: _log, text: _text, filePaths: _paths, webResults: _hits, ...rest } = detail;
154
+ return rest;
155
+ }
156
+ function toolLocations(item) {
157
+ const detail = item.detail;
158
+ if (detail.type !== "read" && detail.type !== "edit" && detail.type !== "write") return void 0;
159
+ const filePath = String(detail.filePath);
160
+ return [{ path: filePath, ...detail.type === "read" && typeof detail.offset === "number" ? { line: detail.offset } : {} }];
74
161
  }
75
162
  var clip = (text, chars) => text.length > chars ? `${text.slice(0, chars - 1)}\u2026` : text;
76
163
  var status = (state) => state === "running" ? "in_progress" : state;
@@ -109,7 +196,7 @@ function createAcpAgent(options) {
109
196
  }
110
197
  const say = (session, text) => send(session, { sessionUpdate: "agent_message_chunk", content: { type: "text", text } });
111
198
  function configOptions(session) {
112
- const teams = session.opened ? session.preview.teams.filter((team) => team.id === session.preview.team) : session.preview.teams;
199
+ const teams = session.opened ? choices(session).filter((team) => team.id === session.preview.team) : choices(session);
113
200
  return [
114
201
  {
115
202
  id: "team",
@@ -118,14 +205,21 @@ function createAcpAgent(options) {
118
205
  type: "select",
119
206
  currentValue: session.preview.team,
120
207
  description: session.opened ? "A session keeps its team; start a new one for another team" : "The team that works on this session",
121
- options: (teams.length ? teams : [{ id: session.preview.team, label: session.preview.teamLabel ?? session.preview.team }]).map((team) => ({ value: team.id, name: team.label, ...team.description ? { description: team.description } : {} }))
208
+ options: teams.map((team) => ({ value: team.id, name: team.label, ...team.description ? { description: team.description } : {} }))
122
209
  },
123
210
  { id: "mode", name: "Permissions", category: "mode", type: "select", currentValue: session.preview.mode, options: MODES.map((mode) => ({ value: mode.id, name: mode.name, description: mode.description })) }
124
211
  ];
125
212
  }
213
+ function choices(session) {
214
+ const { teams, team } = session.preview;
215
+ const own = unlistedOf(session.preview);
216
+ const first = session.unlisted && session.unlisted.id !== team && !teams.some((entry) => entry.id === session.unlisted.id) ? [session.unlisted] : [];
217
+ return [...first, ...own ? [own] : [], ...teams];
218
+ }
126
219
  const modeState = (session) => ({ currentModeId: session.preview.mode, availableModes: MODES });
127
220
  function track(id, cwd, mcpServers, preview2, opened) {
128
- const session = { id, cwd, mcpServers, preview: preview2, opened, ours: /* @__PURE__ */ new Set(), texts: /* @__PURE__ */ new Map(), tools: /* @__PURE__ */ new Set(), questions: /* @__PURE__ */ new Map(), queue: Promise.resolve() };
221
+ const unlisted = unlistedOf(preview2);
222
+ const session = { id, cwd, mcpServers, preview: preview2, opened, ...unlisted ? { unlisted } : {}, ours: /* @__PURE__ */ new Set(), texts: /* @__PURE__ */ new Map(), tools: /* @__PURE__ */ new Set(), questions: /* @__PURE__ */ new Map(), queue: Promise.resolve() };
129
223
  sessions.set(id, session);
130
224
  return session;
131
225
  }
@@ -223,7 +317,8 @@ ${item2.text}`;
223
317
  send(session, { sessionUpdate: "plan", entries: item2.items.map((entry) => ({ content: entry.text, priority: "medium", status: entry.status })) });
224
318
  return;
225
319
  case "tool_call": {
226
- const fields = { title: toolTitle(item2), kind: toolKind(item2), status: status(item2.status), content: toolOutput(item2), rawInput: item2.detail.type === "shell" ? { command: item2.detail.command, cwd: item2.detail.cwd } : item2.detail.input };
320
+ const locations = toolLocations(item2);
321
+ const fields = { title: toolTitle(item2, session.cwd), kind: toolKind(item2), status: status(item2.status), content: toolOutput(item2), rawInput: toolInput(item2), ...locations ? { locations } : {} };
227
322
  if (session.tools.has(item2.id)) send(session, { sessionUpdate: "tool_call_update", toolCallId: item2.id, ...fields });
228
323
  else {
229
324
  session.tools.add(item2.id);
@@ -356,7 +451,7 @@ ${item2.text}`;
356
451
  if (params.configId === "mode") await setMode(session, value);
357
452
  else if (params.configId === "team") {
358
453
  if (session.opened && value !== session.preview.team) throw acp.RequestError.invalidParams(void 0, "A session keeps its team; start a new one for another team");
359
- if (!session.preview.teams.some((team) => team.id === value)) throw acp.RequestError.invalidParams(void 0, `Unknown team ${value}`);
454
+ if (!choices(session).some((team) => team.id === value)) throw acp.RequestError.invalidParams(void 0, `Unknown team ${value}`);
360
455
  session.preview = { ...await preview(session.cwd, session.mcpServers, value), mode: session.preview.mode };
361
456
  } else throw acp.RequestError.invalidParams(void 0, `Unknown option ${params.configId}`);
362
457
  return { configOptions: configOptions(session) };
@@ -386,5 +481,9 @@ export {
386
481
  createAcpAgent,
387
482
  hostServers,
388
483
  promptText,
389
- toolKind
484
+ toolInput,
485
+ toolKind,
486
+ toolLocations,
487
+ toolOutput,
488
+ toolTitle
390
489
  };
package/dist/acp/main.js CHANGED
@@ -6,7 +6,7 @@ import { startDaemon } from "@anhlp/alp-client/supervise";
6
6
  import { createLogger } from "@anhlp/alp-core/log";
7
7
  import { createAcpAgent } from "./agent.js";
8
8
  async function runAcp({ daemonEntry }) {
9
- const version = true ? "0.0.0-beta.1" : "0.0.0";
9
+ const version = true ? "0.0.1-beta.10" : "0.0.0";
10
10
  const logger = createLogger({ component: "acp" });
11
11
  const log = (message, fields) => logger.warn(message, fields);
12
12
  const app = createAcpAgent({