hypercore-cli 1.1.0 → 1.1.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 (46) hide show
  1. package/dist/{api-XGC7D5AW.js → api-D4PUN5BN.js} +13 -13
  2. package/dist/{auth-DNQWYQKT.js → auth-UTR4I6QY.js} +2 -2
  3. package/dist/{chunk-GOOTEPBK.js → chunk-77FRUHTU.js} +1 -1
  4. package/dist/{chunk-KRPOPWGA.js → chunk-7ZYMJFCA.js} +1 -1
  5. package/dist/{chunk-GPPMJYSM.js → chunk-CM423E2U.js} +1 -1
  6. package/dist/{chunk-43OLRXM5.js → chunk-E4NKO2KI.js} +1 -1
  7. package/dist/{chunk-XOS6HPEF.js → chunk-GMLQ7GZ5.js} +1 -1
  8. package/dist/{chunk-AUHU7ALH.js → chunk-LWDNLX6B.js} +33 -31
  9. package/dist/{chunk-B6A2AKLN.js → chunk-NHPDLYEW.js} +1 -1
  10. package/dist/{chunk-6OL3GA3P.js → chunk-OGQGKMDX.js} +2 -2
  11. package/dist/{chunk-IXOIOGR5.js → chunk-OWAOKDIN.js} +2 -2
  12. package/dist/{chunk-3RPFCQKJ.js → chunk-SHJQMIJL.js} +2 -2
  13. package/dist/{chunk-V5UHPPSY.js → chunk-SVF2VWOZ.js} +8 -3
  14. package/dist/{chunk-MV4TTRYX.js → chunk-V2EBSFPU.js} +53 -11
  15. package/dist/{chunk-U5SGAIMM.js → chunk-VJDQNNSO.js} +6 -6
  16. package/dist/{chunk-2LJ2DVEB.js → chunk-VQ35XX7B.js} +2 -2
  17. package/dist/{chunk-XDRCBMZZ.js → chunk-XMGHVNH2.js} +1 -1
  18. package/dist/{chunk-CUVAUOXL.js → chunk-YWOSOTUO.js} +1 -1
  19. package/dist/{chunk-QTSLP47C.js → chunk-ZQRNV2US.js} +2 -2
  20. package/dist/{claude-NSQ442XD.js → claude-O5FSOXZC.js} +3 -3
  21. package/dist/{commands-CK3WFAGI.js → commands-43PLOWRU.js} +2 -2
  22. package/dist/{commands-ZE6GD3WC.js → commands-5YVUSUMP.js} +3 -3
  23. package/dist/{commands-U63OEO5J.js → commands-VZMZJFZF.js} +1 -1
  24. package/dist/{config-4EW42BSF.js → config-WXXEEEVW.js} +1 -1
  25. package/dist/{diagnose-AFW3ZTZ4.js → diagnose-BX45APUZ.js} +1 -1
  26. package/dist/{extractor-QV53W2YJ.js → extractor-R5ABXNTJ.js} +4 -4
  27. package/dist/{history-WMSCHERZ.js → history-JPXZEOT3.js} +1 -1
  28. package/dist/index.js +61 -64
  29. package/dist/{instance-registry-YSIJXSO7.js → instance-registry-6NJTCAE4.js} +2 -2
  30. package/dist/{keybindings-JAAMLH3G.js → keybindings-ADWNOX5M.js} +2 -2
  31. package/dist/{loader-WHNTZTLP.js → loader-AXDDCB2G.js} +2 -2
  32. package/dist/{network-MM6YWPGO.js → network-V3O4UZYZ.js} +8 -8
  33. package/dist/{openai-compat-UQWJXBEK.js → openai-compat-UFDV2SCK.js} +3 -3
  34. package/dist/{prompt-QV45TXRL.js → prompt-5CZ34WGA.js} +7 -7
  35. package/dist/{repl-RT3AHL7M.js → repl-EOWP6AAB.js} +32 -33
  36. package/dist/{server-PORT7OEG.js → server-BB5AENWU.js} +12 -12
  37. package/dist/{session-4VUNDWLH.js → session-5NDKKFLN.js} +2 -2
  38. package/dist/{skills-V4A35XKG.js → skills-JVLIQVJN.js} +2 -2
  39. package/dist/{store-Y4LU5QTO.js → store-G7KRD4PN.js} +2 -2
  40. package/dist/{team-HO7Z4SIM.js → team-FVNNVDBY.js} +3 -3
  41. package/dist/{test-runner-ZQH5Y6OJ.js → test-runner-REKSVPPY.js} +1 -1
  42. package/dist/{upgrade-7TGI3SXO.js → upgrade-YSXCO63I.js} +1 -1
  43. package/dist/web/static/onboard.html +11 -0
  44. package/dist/web/static/onboard.js +40 -0
  45. package/dist/{web-Z5HSCQHW.js → web-H2BJXUBZ.js} +12 -12
  46. package/package.json +1 -1
@@ -5,8 +5,8 @@ import {
5
5
  listMemories,
6
6
  removeMemory,
7
7
  searchMemories
8
- } from "./chunk-KRPOPWGA.js";
9
- import "./chunk-V5UHPPSY.js";
8
+ } from "./chunk-7ZYMJFCA.js";
9
+ import "./chunk-SVF2VWOZ.js";
10
10
 
11
11
  // src/memory/commands.ts
12
12
  import chalk from "chalk";
@@ -173,7 +173,7 @@ function createMemorySlashCommands() {
173
173
  }
174
174
  console.log(chalk.dim("\n \u{1F504} \u6B63\u5728\u4ECE\u5F53\u524D\u4F1A\u8BDD\u63D0\u53D6\u8BB0\u5FC6...\n"));
175
175
  try {
176
- const { extractMemories } = await import("./extractor-QV53W2YJ.js");
176
+ const { extractMemories } = await import("./extractor-R5ABXNTJ.js");
177
177
  const extracted = await extractMemories(
178
178
  ctx.chatHistory,
179
179
  ctx.getClient(),
@@ -17,7 +17,7 @@ import {
17
17
  findingsToBacklog,
18
18
  runAIDiagnosis,
19
19
  runRuleDiagnosis
20
- } from "./chunk-3RPFCQKJ.js";
20
+ } from "./chunk-SHJQMIJL.js";
21
21
  import {
22
22
  recordBaseline,
23
23
  verifyCompletedItems
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HYPERCORE_DIR,
3
3
  loadConfig
4
- } from "./chunk-V5UHPPSY.js";
4
+ } from "./chunk-SVF2VWOZ.js";
5
5
  export {
6
6
  HYPERCORE_DIR,
7
7
  loadConfig
@@ -2,7 +2,7 @@ import {
2
2
  findingsToBacklog,
3
3
  runAIDiagnosis,
4
4
  runRuleDiagnosis
5
- } from "./chunk-3RPFCQKJ.js";
5
+ } from "./chunk-SHJQMIJL.js";
6
6
  import "./chunk-2CMSCWQW.js";
7
7
  import "./chunk-MGLJ53QN.js";
8
8
  export {
@@ -3,8 +3,8 @@ import {
3
3
  addMemory,
4
4
  loadStore,
5
5
  markExtraction
6
- } from "./chunk-KRPOPWGA.js";
7
- import "./chunk-V5UHPPSY.js";
6
+ } from "./chunk-7ZYMJFCA.js";
7
+ import "./chunk-SVF2VWOZ.js";
8
8
 
9
9
  // src/memory/extractor.ts
10
10
  var EXTRACTION_SYSTEM = `You are a memory extraction assistant. Extract concise, durable facts from conversations.
@@ -37,7 +37,7 @@ async function extractMemories(history, client, config, layer, opts) {
37
37
  const userPrompt = buildExtractionPrompt(history, existingTopics);
38
38
  let rawOutput;
39
39
  if (config.modelConfig.sdkType === "openai") {
40
- const { streamOpenAIChat } = await import("./openai-compat-UQWJXBEK.js");
40
+ const { streamOpenAIChat } = await import("./openai-compat-UFDV2SCK.js");
41
41
  const OpenAI = (await import("openai")).default;
42
42
  const openaiClient = client;
43
43
  const result = await streamOpenAIChat(openaiClient, [
@@ -53,7 +53,7 @@ async function extractMemories(history, client, config, layer, opts) {
53
53
  });
54
54
  rawOutput = result.content;
55
55
  } else {
56
- const { streamCallLLM } = await import("./claude-NSQ442XD.js");
56
+ const { streamCallLLM } = await import("./claude-O5FSOXZC.js");
57
57
  const Anthropic = (await import("@anthropic-ai/sdk")).default;
58
58
  const anthropicClient = client;
59
59
  const result = await streamCallLLM(anthropicClient, {
@@ -8,7 +8,7 @@ import "./chunk-RNG3K465.js";
8
8
  import {
9
9
  HYPERCORE_DIR,
10
10
  loadConfig
11
- } from "./chunk-V5UHPPSY.js";
11
+ } from "./chunk-SVF2VWOZ.js";
12
12
 
13
13
  // src/commands/history.ts
14
14
  import { existsSync } from "fs";
package/dist/index.js CHANGED
@@ -9,9 +9,9 @@ import {
9
9
  Engine,
10
10
  HYPERCORE_DIR,
11
11
  initializeWorkspace
12
- } from "./chunk-MV4TTRYX.js";
13
- import "./chunk-IXOIOGR5.js";
14
- import "./chunk-KRPOPWGA.js";
12
+ } from "./chunk-V2EBSFPU.js";
13
+ import "./chunk-OWAOKDIN.js";
14
+ import "./chunk-7ZYMJFCA.js";
15
15
  import "./chunk-GU2FZQ6A.js";
16
16
  import {
17
17
  showBanner,
@@ -30,16 +30,16 @@ import "./chunk-BE46C7JW.js";
30
30
  import "./chunk-RNG3K465.js";
31
31
  import {
32
32
  createLLMClient
33
- } from "./chunk-43OLRXM5.js";
33
+ } from "./chunk-E4NKO2KI.js";
34
34
  import {
35
35
  createOpenAIClient
36
- } from "./chunk-GOOTEPBK.js";
37
- import "./chunk-B6A2AKLN.js";
36
+ } from "./chunk-77FRUHTU.js";
37
+ import "./chunk-NHPDLYEW.js";
38
38
  import {
39
39
  HYPERCORE_DIR as HYPERCORE_DIR2,
40
40
  MODEL_PROVIDERS,
41
41
  loadConfig
42
- } from "./chunk-V5UHPPSY.js";
42
+ } from "./chunk-SVF2VWOZ.js";
43
43
  import {
44
44
  listLines,
45
45
  loadLine
@@ -68,38 +68,42 @@ async function initCommand() {
68
68
  return;
69
69
  }
70
70
  }
71
- console.log(chalk.dim(" \u6211\u9700\u8981\u4E86\u89E3\u4F60\u4E00\u70B9\u70B9\uFF0C\u624D\u80FD\u5E2E\u4F60\u5DE5\u4F5C\u3002\n"));
72
- const role = await input({
73
- message: "\u4F60\u4E3B\u8981\u505A\u4EC0\u4E48\u5DE5\u4F5C\uFF1F",
74
- default: "\u521B\u4E1A\u8005\uFF0C\u505A AI \u65B9\u5411\u7684\u4EA7\u54C1"
75
- });
76
- const mainNeed = await select({
77
- message: "\u6700\u60F3\u8BA9 AI \u5E2E\u4F60\u505A\u7684\u4E00\u4EF6\u4E8B\uFF1F",
78
- choices: [
79
- { value: "content", name: "\u{1F4DD} \u5E2E\u6211\u5199\u516C\u4F17\u53F7/\u5185\u5BB9" },
80
- { value: "research", name: "\u{1F50D} \u5E2E\u6211\u505A\u8C03\u7814/\u7ADE\u54C1\u5206\u6790" },
81
- { value: "report", name: "\u{1F4CA} \u5E2E\u6211\u5199\u62A5\u544A/\u5468\u62A5" },
82
- { value: "other", name: "\u{1F3AF} \u5176\u4ED6" }
83
- ]
84
- });
71
+ console.log(chalk.dim(" \u914D\u7F6E AI \u6A21\u578B\uFF0C\u53EA\u9700\u4E00\u6B65\u3002\n"));
85
72
  const provider = await select({
86
73
  message: "\u9009\u62E9 AI \u6A21\u578B\u63D0\u4F9B\u5546\uFF1A",
87
74
  choices: [
88
- { value: "gemini", name: "\u2728 Google Gemini 2.5 Flash\uFF08\u63A8\u8350\uFF0C\u514D\u8D39\u989D\u5EA6\uFF09" },
89
- { value: "minimax", name: "\u{1F916} MiniMax M2.5\uFF08\u6027\u4EF7\u6BD4\u9AD8\uFF09" },
90
- { value: "anthropic", name: "\u{1F9E0} Anthropic Claude\uFF08\u9700\u8981 Anthropic API Key\uFF09" }
75
+ { value: "anthropic", name: "\u{1F9E0} Anthropic Claude\uFF08Claude Sonnet 4\uFF09" },
76
+ { value: "deepseek", name: "\u{1F52E} DeepSeek Chat\uFF08\u901A\u7528\u5BF9\u8BDD\uFF09" },
77
+ { value: "deepseek-coder", name: "\u{1F52E} DeepSeek Coder\uFF08\u4EE3\u7801\u4E13\u7CBE\uFF09" },
78
+ { value: "gemini", name: "\u2728 Google Gemini\uFF08Gemini 2.5 Flash\uFF0C\u514D\u8D39\u989D\u5EA6\uFF09" },
79
+ { value: "minimax", name: "\u{1F916} MiniMax\uFF08M2.5\uFF0C\u6027\u4EF7\u6BD4\u9AD8\uFF09" },
80
+ { value: "openai-compatible", name: "\u{1F517} OpenAI \u517C\u5BB9\uFF08GPT-4o / \u81EA\u5B9A\u4E49\uFF09" }
91
81
  ]
92
82
  });
93
83
  const apiKeyLabels = {
84
+ anthropic: "Anthropic API Key",
85
+ deepseek: "DeepSeek API Key",
86
+ "deepseek-coder": "DeepSeek API Key",
94
87
  gemini: "Google AI API Key",
95
88
  minimax: "MiniMax API Key",
96
- anthropic: "Anthropic API Key"
89
+ "openai-compatible": "OpenAI API Key"
97
90
  };
98
- const apiKeyPrompt = `${apiKeyLabels[provider] || "API Key"}\uFF08\u5B58\u50A8\u5728\u672C\u5730\uFF0C\u4E0D\u4F1A\u4E0A\u4F20\uFF09\uFF1A`;
99
91
  const apiKey = await input({
100
- message: apiKeyPrompt,
92
+ message: `${apiKeyLabels[provider] || "API Key"}\uFF08\u5B58\u50A8\u5728\u672C\u5730\uFF0C\u4E0D\u4F1A\u4E0A\u4F20\uFF09\uFF1A`,
101
93
  validate: (v) => v.length > 5 ? true : "\u8BF7\u8F93\u5165\u6709\u6548\u7684 API Key"
102
94
  });
95
+ let customBaseUrl;
96
+ let customModelName;
97
+ if (provider === "openai-compatible") {
98
+ customBaseUrl = await input({
99
+ message: "API Base URL\uFF08\u5982 https://api.openai.com/v1\uFF09\uFF1A",
100
+ validate: (v) => v.startsWith("http") ? true : "\u8BF7\u8F93\u5165\u6709\u6548\u7684 URL"
101
+ });
102
+ customModelName = await input({
103
+ message: "\u6A21\u578B\u540D\u79F0\uFF1A",
104
+ default: "gpt-4o"
105
+ });
106
+ }
103
107
  const tavilyKey = await input({
104
108
  message: "Tavily API Key\uFF08\u53EF\u9009\uFF0C\u7528\u4E8E\u7F51\u7EDC\u641C\u7D22\uFF0C\u56DE\u8F66\u8DF3\u8FC7\uFF09\uFF1A"
105
109
  });
@@ -108,21 +112,14 @@ async function initCommand() {
108
112
  provider,
109
113
  apiKey,
110
114
  tavilyKey: tavilyKey || void 0,
111
- role
115
+ customBaseUrl,
116
+ customModelName
112
117
  });
113
118
  console.log(chalk.green("\n \u2705 \u521D\u59CB\u5316\u5B8C\u6210\uFF01"));
114
- console.log(chalk.dim(` \u{1F4C1} \u914D\u7F6E\u76EE\u5F55\uFF1A${HYPERCORE_DIR}`));
115
- console.log(chalk.dim(` \u{1F4C4} PWP.md \u2014 \u4F60\u7684\u5DE5\u4F5C\u7A7A\u95F4\u534F\u8BAE`));
116
- console.log(chalk.dim(` \u{1F916} \u9884\u7F6E Agent\uFF1A\u8C03\u7814\u5458\u3001\u5199\u624B`));
117
- console.log(chalk.dim(` \u{1F4DA} \u9884\u7F6E Skill\uFF1A\u516C\u4F17\u53F7\u5199\u4F5C\u3001\u7ADE\u54C1\u5206\u6790\u3001\u5E02\u573A\u8C03\u7814`));
118
- console.log(chalk.bold("\n \u73B0\u5728\u8BD5\u8BD5\uFF1A"));
119
- if (mainNeed === "content") {
120
- console.log(chalk.cyan(' $ hypercore run \u516C\u4F17\u53F7\u6587\u7AE0 --topic "AI Agent \u7684\u73B0\u72B6\u548C\u672A\u6765"'));
121
- } else if (mainNeed === "research") {
122
- console.log(chalk.cyan(' $ hypercore run \u7ADE\u54C1\u5206\u6790 --topic "Dify, Coze, LangChain"'));
123
- } else {
124
- console.log(chalk.cyan(" $ hypercore line ls"));
125
- }
119
+ console.log(chalk.dim(` \u{1F4C1} \u914D\u7F6E\uFF1A${HYPERCORE_DIR}/config.toml`));
120
+ console.log(chalk.dim(` \u{1F527} \u4FEE\u6539\u6A21\u578B/Key\uFF1Ahyper config \u6216\u76F4\u63A5\u7F16\u8F91 config.toml`));
121
+ console.log(chalk.bold("\n \u5F00\u59CB\u4F7F\u7528\uFF1A"));
122
+ console.log(chalk.cyan(" $ hyper"));
126
123
  console.log();
127
124
  }
128
125
 
@@ -288,26 +285,26 @@ program.command("run <line>").description("\u8FD0\u884C\u4E00\u6761\u751F\u4EA7\
288
285
  var lineCmd = program.command("line").description("\u7BA1\u7406\u751F\u4EA7\u7EBF");
289
286
  lineCmd.command("ls").description("\u5217\u51FA\u6240\u6709\u53EF\u7528\u7684\u751F\u4EA7\u7EBF").action(lineListCommand);
290
287
  var historyCmd = program.command("history").description("\u67E5\u770B\u751F\u4EA7\u7EBF\u8FD0\u884C\u5386\u53F2").action(async () => {
291
- const { historyCommand } = await import("./history-WMSCHERZ.js");
288
+ const { historyCommand } = await import("./history-JPXZEOT3.js");
292
289
  await historyCommand();
293
290
  });
294
291
  historyCmd.command("view <file>").description("\u67E5\u770B\u5355\u6B21\u8FD0\u884C\u7684\u8BE6\u7EC6\u8BB0\u5F55").action(async (fileId) => {
295
- const { historyViewCommand } = await import("./history-WMSCHERZ.js");
292
+ const { historyViewCommand } = await import("./history-JPXZEOT3.js");
296
293
  await historyViewCommand(fileId);
297
294
  });
298
295
  program.command("upgrade").description("\u540C\u6B65\u65B0\u6A21\u677F\u5230\u5DE5\u4F5C\u7A7A\u95F4\uFF08\u4E0D\u8986\u76D6\u5DF2\u6709\u6587\u4EF6\uFF09").action(async () => {
299
- const { upgradeCommand } = await import("./upgrade-7TGI3SXO.js");
296
+ const { upgradeCommand } = await import("./upgrade-YSXCO63I.js");
300
297
  await upgradeCommand();
301
298
  });
302
299
  program.command("web").description("\u542F\u52A8 Web Dashboard \u63A7\u5236\u53F0").option("--port <port>", "\u670D\u52A1\u7AEF\u53E3", "3210").option("--host <host>", "\u76D1\u542C\u5730\u5740 (\u9ED8\u8BA4 127.0.0.1, \u56E2\u961F\u6A21\u5F0F\u7528 0.0.0.0)", "127.0.0.1").action(async (opts) => {
303
- const { loadConfig: loadConfig2 } = await import("./config-4EW42BSF.js");
304
- const { startWebServer } = await import("./web-Z5HSCQHW.js");
300
+ const { loadConfig: loadConfig2 } = await import("./config-WXXEEEVW.js");
301
+ const { startWebServer } = await import("./web-H2BJXUBZ.js");
305
302
  const config = await loadConfig2();
306
303
  await startWebServer(config, parseInt(opts.port, 10), opts.host);
307
304
  });
308
305
  program.command("mirror").description("\u542F\u52A8\u5185\u89C2\u5F15\u64CE HyperMirror GUI \u63A7\u5236\u53F0").option("--port <port>", "\u670D\u52A1\u7AEF\u53E3", "3210").option("--no-open", "\u4E0D\u81EA\u52A8\u6253\u5F00\u6D4F\u89C8\u5668").action(async (opts) => {
309
- const { loadConfig: loadConfig2 } = await import("./config-4EW42BSF.js");
310
- const { createWebServerAutoPort, resolveBrowserHost } = await import("./server-PORT7OEG.js");
306
+ const { loadConfig: loadConfig2 } = await import("./config-WXXEEEVW.js");
307
+ const { createWebServerAutoPort, resolveBrowserHost } = await import("./server-BB5AENWU.js");
311
308
  const config = await loadConfig2();
312
309
  const port = parseInt(opts.port, 10);
313
310
  const { port: actualPort } = await createWebServerAutoPort(config, port);
@@ -327,71 +324,71 @@ program.command("mirror").description("\u542F\u52A8\u5185\u89C2\u5F15\u64CE Hype
327
324
  });
328
325
  var teamCmd = program.command("team").description("\u56E2\u961F\u534F\u4F5C\u6A21\u5F0F");
329
326
  teamCmd.command("create <name>").description("\u521B\u5EFA\u65B0\u56E2\u961F").option("--port <port>", "\u670D\u52A1\u7AEF\u53E3", "3210").action(async (name, opts) => {
330
- const { teamCreateCommand } = await import("./team-HO7Z4SIM.js");
327
+ const { teamCreateCommand } = await import("./team-FVNNVDBY.js");
331
328
  await teamCreateCommand(name, opts);
332
329
  });
333
330
  teamCmd.command("join <code>").description("\u52A0\u5165\u56E2\u961F\uFF08\u8F93\u5165\u52A0\u5165\u7801\uFF09").option("--server <url>", "\u670D\u52A1\u5668\u5730\u5740", "http://localhost:3210").action(async (code, opts) => {
334
- const { teamJoinCommand } = await import("./team-HO7Z4SIM.js");
331
+ const { teamJoinCommand } = await import("./team-FVNNVDBY.js");
335
332
  await teamJoinCommand(code, opts);
336
333
  });
337
334
  teamCmd.command("status").description("\u67E5\u770B\u56E2\u961F\u72B6\u6001").action(async () => {
338
- const { teamStatusCommand } = await import("./team-HO7Z4SIM.js");
335
+ const { teamStatusCommand } = await import("./team-FVNNVDBY.js");
339
336
  await teamStatusCommand();
340
337
  });
341
338
  var taskCmd = teamCmd.command("task").description("\u56E2\u961F\u4EFB\u52A1\u7BA1\u7406");
342
339
  taskCmd.command("add <title>").description("\u65B0\u589E\u4EFB\u52A1").option("-p, --priority <priority>", "\u4F18\u5148\u7EA7 S/A/B/C", "B").option("-a, --assignee <member>", "\u5206\u914D\u7ED9\u6210\u5458").option("-d, --description <desc>", "\u4EFB\u52A1\u63CF\u8FF0").action(async (title, opts) => {
343
- const { teamTaskAddCommand } = await import("./team-HO7Z4SIM.js");
340
+ const { teamTaskAddCommand } = await import("./team-FVNNVDBY.js");
344
341
  await teamTaskAddCommand(title, opts);
345
342
  });
346
343
  taskCmd.command("list").alias("ls").description("\u5217\u51FA\u6240\u6709\u4EFB\u52A1").action(async () => {
347
- const { teamTaskListCommand } = await import("./team-HO7Z4SIM.js");
344
+ const { teamTaskListCommand } = await import("./team-FVNNVDBY.js");
348
345
  await teamTaskListCommand();
349
346
  });
350
347
  taskCmd.command("assign <id> <member>").description("\u5206\u914D\u4EFB\u52A1\u7ED9\u6210\u5458").action(async (id, member) => {
351
- const { teamTaskAssignCommand } = await import("./team-HO7Z4SIM.js");
348
+ const { teamTaskAssignCommand } = await import("./team-FVNNVDBY.js");
352
349
  await teamTaskAssignCommand(id, member);
353
350
  });
354
351
  taskCmd.command("done <id>").description("\u6807\u8BB0\u4EFB\u52A1\u5B8C\u6210").action(async (id) => {
355
- const { teamTaskDoneCommand } = await import("./team-HO7Z4SIM.js");
352
+ const { teamTaskDoneCommand } = await import("./team-FVNNVDBY.js");
356
353
  await teamTaskDoneCommand(id);
357
354
  });
358
355
  teamCmd.command("chat").description("\u8FDB\u5165\u56E2\u961F\u5B9E\u65F6\u804A\u5929").action(async () => {
359
- const { teamChatCommand } = await import("./team-HO7Z4SIM.js");
356
+ const { teamChatCommand } = await import("./team-FVNNVDBY.js");
360
357
  await teamChatCommand();
361
358
  });
362
359
  teamCmd.command("leave").description("\u79BB\u5F00\u5F53\u524D\u56E2\u961F").action(async () => {
363
- const { teamLeaveCommand } = await import("./team-HO7Z4SIM.js");
360
+ const { teamLeaveCommand } = await import("./team-FVNNVDBY.js");
364
361
  await teamLeaveCommand();
365
362
  });
366
363
  var networkCmd = program.command("network").alias("net").description("Hyper Network \u2014 Agent \u81EA\u4E3B\u7F51\u7EDC");
367
364
  networkCmd.command("profile [field] [values...]").description("\u67E5\u770B/\u8BBE\u7F6E Agent Profile\uFF08skills/needs/offerings/customNote\uFF09").action(async (field, values) => {
368
- const { networkProfileCommand } = await import("./network-MM6YWPGO.js");
365
+ const { networkProfileCommand } = await import("./network-V3O4UZYZ.js");
369
366
  await networkProfileCommand(field, values);
370
367
  });
371
368
  networkCmd.command("run").description("\u624B\u52A8\u89E6\u53D1\u4E00\u8F6E\u7F51\u7EDC\u5339\u914D").action(async () => {
372
- const { networkRunCommand } = await import("./network-MM6YWPGO.js");
369
+ const { networkRunCommand } = await import("./network-V3O4UZYZ.js");
373
370
  await networkRunCommand();
374
371
  });
375
372
  networkCmd.command("digest").description("\u67E5\u770B\u6700\u65B0\u4E2A\u4EBA\u6458\u8981").action(async () => {
376
- const { networkDigestCommand } = await import("./network-MM6YWPGO.js");
373
+ const { networkDigestCommand } = await import("./network-V3O4UZYZ.js");
377
374
  await networkDigestCommand();
378
375
  });
379
376
  networkCmd.command("auto <action>").description("\u81EA\u52A8\u8F6E\u6B21 (on/off)").action(async (action) => {
380
- const { networkAutoCommand } = await import("./network-MM6YWPGO.js");
377
+ const { networkAutoCommand } = await import("./network-V3O4UZYZ.js");
381
378
  await networkAutoCommand(action);
382
379
  });
383
380
  networkCmd.command("rounds").description("\u67E5\u770B\u5386\u53F2\u8F6E\u6B21").action(async () => {
384
- const { networkRoundsCommand } = await import("./network-MM6YWPGO.js");
381
+ const { networkRoundsCommand } = await import("./network-V3O4UZYZ.js");
385
382
  await networkRoundsCommand();
386
383
  });
387
384
  networkCmd.command("config [key] [value]").description("\u67E5\u770B/\u4FEE\u6539\u7F51\u7EDC\u914D\u7F6E").action(async (key, value) => {
388
- const { networkConfigCommand } = await import("./network-MM6YWPGO.js");
385
+ const { networkConfigCommand } = await import("./network-V3O4UZYZ.js");
389
386
  await networkConfigCommand(key, value);
390
387
  });
391
388
  program.action(async () => {
392
389
  const opts = program.opts();
393
390
  if (opts.print) {
394
- const { runPrompt } = await import("./prompt-QV45TXRL.js");
391
+ const { runPrompt } = await import("./prompt-5CZ34WGA.js");
395
392
  await runPrompt({
396
393
  prompt: opts.print,
397
394
  outputFormat: opts.outputFormat,
@@ -399,7 +396,7 @@ program.action(async () => {
399
396
  resumeId: opts.resume
400
397
  });
401
398
  } else {
402
- const { startREPL } = await import("./repl-RT3AHL7M.js");
399
+ const { startREPL } = await import("./repl-EOWP6AAB.js");
403
400
  await startREPL({ host: opts.host });
404
401
  }
405
402
  });
@@ -4,8 +4,8 @@ import {
4
4
  registerInstance,
5
5
  unregisterInstance,
6
6
  updateInstanceRuntime
7
- } from "./chunk-GPPMJYSM.js";
8
- import "./chunk-V5UHPPSY.js";
7
+ } from "./chunk-CM423E2U.js";
8
+ import "./chunk-SVF2VWOZ.js";
9
9
  export {
10
10
  getCanonicalDashboardPort,
11
11
  listInstances,
@@ -4,8 +4,8 @@ import {
4
4
  listKeyBindings,
5
5
  loadKeyBindings,
6
6
  matchKeyBinding
7
- } from "./chunk-CUVAUOXL.js";
8
- import "./chunk-V5UHPPSY.js";
7
+ } from "./chunk-YWOSOTUO.js";
8
+ import "./chunk-SVF2VWOZ.js";
9
9
  export {
10
10
  getKeyBindings,
11
11
  keypressToCombo,
@@ -2,8 +2,8 @@ import {
2
2
  CATEGORY_LABELS,
3
3
  DEFAULT_EXTRACTION_CONFIG,
4
4
  loadStore
5
- } from "./chunk-KRPOPWGA.js";
6
- import "./chunk-V5UHPPSY.js";
5
+ } from "./chunk-7ZYMJFCA.js";
6
+ import "./chunk-SVF2VWOZ.js";
7
7
 
8
8
  // src/memory/loader.ts
9
9
  async function loadMemoryForSystemPrompt(opts) {
@@ -8,23 +8,23 @@ import {
8
8
  startAutoRound,
9
9
  stopAutoRound,
10
10
  updateProfileField
11
- } from "./chunk-U5SGAIMM.js";
12
- import "./chunk-2LJ2DVEB.js";
13
- import "./chunk-6OL3GA3P.js";
11
+ } from "./chunk-VJDQNNSO.js";
12
+ import "./chunk-VQ35XX7B.js";
13
+ import "./chunk-OGQGKMDX.js";
14
14
  import {
15
15
  loadLocalToken
16
- } from "./chunk-XDRCBMZZ.js";
16
+ } from "./chunk-XMGHVNH2.js";
17
17
  import {
18
18
  showError
19
19
  } from "./chunk-R3GPQC7I.js";
20
20
  import "./chunk-BE46C7JW.js";
21
21
  import "./chunk-RNG3K465.js";
22
- import "./chunk-43OLRXM5.js";
23
- import "./chunk-GOOTEPBK.js";
24
- import "./chunk-B6A2AKLN.js";
22
+ import "./chunk-E4NKO2KI.js";
23
+ import "./chunk-77FRUHTU.js";
24
+ import "./chunk-NHPDLYEW.js";
25
25
  import {
26
26
  loadConfig
27
- } from "./chunk-V5UHPPSY.js";
27
+ } from "./chunk-SVF2VWOZ.js";
28
28
 
29
29
  // src/commands/network.ts
30
30
  import chalk from "chalk";
@@ -2,9 +2,9 @@ import {
2
2
  callOpenAILLM,
3
3
  createOpenAIClient,
4
4
  streamOpenAIChat
5
- } from "./chunk-GOOTEPBK.js";
6
- import "./chunk-B6A2AKLN.js";
7
- import "./chunk-V5UHPPSY.js";
5
+ } from "./chunk-77FRUHTU.js";
6
+ import "./chunk-NHPDLYEW.js";
7
+ import "./chunk-SVF2VWOZ.js";
8
8
  export {
9
9
  callOpenAILLM,
10
10
  createOpenAIClient,
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  closeMCPConnections,
3
3
  createToolRegistry
4
- } from "./chunk-IXOIOGR5.js";
5
- import "./chunk-KRPOPWGA.js";
4
+ } from "./chunk-OWAOKDIN.js";
5
+ import "./chunk-7ZYMJFCA.js";
6
6
  import "./chunk-GU2FZQ6A.js";
7
7
  import {
8
8
  createLLMClient,
9
9
  streamCallLLM
10
- } from "./chunk-43OLRXM5.js";
10
+ } from "./chunk-E4NKO2KI.js";
11
11
  import {
12
12
  createOpenAIClient,
13
13
  streamOpenAIChat
14
- } from "./chunk-GOOTEPBK.js";
15
- import "./chunk-B6A2AKLN.js";
14
+ } from "./chunk-77FRUHTU.js";
15
+ import "./chunk-NHPDLYEW.js";
16
16
  import {
17
17
  HYPERCORE_DIR,
18
18
  loadConfig
19
- } from "./chunk-V5UHPPSY.js";
19
+ } from "./chunk-SVF2VWOZ.js";
20
20
  import "./chunk-TGTYKBGC.js";
21
21
 
22
22
  // src/commands/prompt.ts
@@ -79,7 +79,7 @@ ${content}`;
79
79
  let history = [];
80
80
  if (options.continueSession || options.resumeId) {
81
81
  try {
82
- const { loadSession, listSessions } = await import("./session-4VUNDWLH.js");
82
+ const { loadSession, listSessions } = await import("./session-5NDKKFLN.js");
83
83
  if (options.resumeId) {
84
84
  const msgs = await loadSession(options.resumeId);
85
85
  history = msgs;