hyperclaw 5.0.5 → 5.0.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.
- package/README.md +113 -5
- package/dist/chat-C7Jwz6dG.js +261 -0
- package/dist/chat-CjZKt5Sa.js +261 -0
- package/dist/chat-jnikU_sY.js +258 -0
- package/dist/clawhub-DRzu1zgW.js +1 -1
- package/dist/daemon-CRtwyRPM.js +5 -0
- package/dist/daemon-CckW3svB.js +318 -0
- package/dist/daemon-Dhd1g5G3.js +318 -0
- package/dist/daemon-pjlxpq7e.js +5 -0
- package/dist/developer-keys-B9VmWyj7.js +1 -1
- package/dist/developer-keys-BHt_R-yo.js +1 -1
- package/dist/developer-keys-BNo6wlFV.js +1 -1
- package/dist/developer-keys-Cnd1kswV.js +1 -1
- package/dist/developer-keys-DrrcUqFa.js +1 -1
- package/dist/developer-keys-JaJK3T27.js +1 -1
- package/dist/doctor-BvCe8BBk.js +1 -1
- package/dist/doctor-Dgjoc3DG.js +1 -1
- package/dist/engine-CdINNSpU.js +7 -0
- package/dist/engine-DwMKOfwf.js +305 -0
- package/dist/engine-hWJ1H1iP.js +305 -0
- package/dist/engine-wq9XrYn_.js +7 -0
- package/dist/health-DVfkpUQW.js +1 -1
- package/dist/health-Ds2YlpTB.js +1 -1
- package/dist/hub-BO6bj8Yj.js +2 -2
- package/dist/hub-CfwUz9YW.js +2 -2
- package/dist/hub-D0XwdjM-.js +2 -2
- package/dist/hub-FrPTA33j.js +2 -2
- package/dist/hyperclawbot-_lByyYQP.js +505 -0
- package/dist/hyperclawbot-m7N4LcRP.js +505 -0
- package/dist/logger-BFZSSq02.js +84 -0
- package/dist/manager-B2Gls5RG.js +1 -1
- package/dist/manager-BGLjW-ua.js +1 -1
- package/dist/manager-Bc4MAD-u.js +1 -1
- package/dist/manager-Biz9ixWJ.js +1 -1
- package/dist/manager-BnEDrLmB.js +1 -1
- package/dist/manager-CGFXv_Wl.js +1 -1
- package/dist/manager-CHROwzvH.js +1 -1
- package/dist/manager-CVLLaKmq.js +1 -1
- package/dist/manager-ClSlbh9E.js +1 -1
- package/dist/manager-DOWs9lLX.js +1 -1
- package/dist/manager-DWQSp1oL.js +1 -1
- package/dist/manager-DgyF52mg.js +1 -1
- package/dist/manager-Dm8nrMFx.js +1 -1
- package/dist/manager-DmpD4AaH.js +1 -1
- package/dist/manager-FCgF1plu.js +1 -1
- package/dist/manager-rgCsaWT1.js +1 -1
- package/dist/mcp-loader-BnxhSR9g.js +94 -0
- package/dist/mcp-loader-C7wVxPeQ.js +94 -0
- package/dist/memory-integration-B8RSN4pr.js +1 -1
- package/dist/memory-integration-BvgKnc-3.js +1 -1
- package/dist/memory-integration-CBPtFFjO.js +1 -1
- package/dist/memory-integration-DZExqWr4.js +1 -1
- package/dist/memory-integration-HTZzDjPr.js +1 -1
- package/dist/memory-integration-PZuznyp9.js +1 -1
- package/dist/memory-integration-cSYkZyEo.js +1 -1
- package/dist/memory-integration-g2vxwgoE.js +1 -1
- package/dist/memory-integration-lAXNUc7y.js +1 -1
- package/dist/onboard-B963fZXV.js +1 -1
- package/dist/onboard-BI5-egZB.js +11 -0
- package/dist/onboard-BKfMt31e.js +1 -1
- package/dist/onboard-BUmfBWVq.js +4123 -0
- package/dist/onboard-BVG2PEum.js +1 -1
- package/dist/onboard-BVOtKQdh.js +1 -1
- package/dist/onboard-BXNXCQp4.js +1 -1
- package/dist/onboard-Bd_wsYdi.js +1 -1
- package/dist/onboard-Bw28IRQ3.js +1 -1
- package/dist/onboard-CAN7x3me.js +1 -1
- package/dist/onboard-CLABoNKG.js +4099 -0
- package/dist/onboard-CVI5lUsf.js +1 -1
- package/dist/onboard-CdJCHc1l.js +1 -1
- package/dist/onboard-ChdCrzG4.js +3959 -0
- package/dist/onboard-CrxmSiy9.js +1 -1
- package/dist/onboard-DAqvQwwu.js +11 -0
- package/dist/onboard-DE6HRM9h.js +11 -0
- package/dist/onboard-DTFz_Whz.js +1 -1
- package/dist/onboard-DVgH7paw.js +11 -0
- package/dist/onboard-DgMPC9Qt.js +4123 -0
- package/dist/onboard-DnegOHMh.js +1 -1
- package/dist/onboard-DzXbFS1o.js +1 -1
- package/dist/orchestrator-79HXXDdP.js +6 -0
- package/dist/orchestrator-BC-7wA2Q.js +6 -0
- package/dist/orchestrator-Dr-Kx8Sj.js +189 -0
- package/dist/orchestrator-TGesUBGZ.js +189 -0
- package/dist/paths-BAyP6TbW.js +1 -1
- package/dist/paths-D-QecARF.js +1 -1
- package/dist/paths-DPovhojT.js +1 -1
- package/dist/pc-access-560pyOsu.js +1 -1
- package/dist/run-main.js +36 -29
- package/dist/runner-BHRSOPEU.js +1 -1
- package/dist/runner-Bu--_RXw.js +1 -1
- package/dist/runner-C-mmfhY7.js +1 -1
- package/dist/runner-CJFJUtPm.js +1 -1
- package/dist/runner-CuO6TMFT.js +1 -1
- package/dist/runner-D0ca-Lzi.js +1 -1
- package/dist/runner-D1rjuMTJ.js +1 -1
- package/dist/runner-D2Q8YvHW.js +1 -1
- package/dist/runner-DIefAdtj.js +1 -1
- package/dist/runner-DatMMYYE.js +1 -1
- package/dist/runner-Dh65wta9.js +1 -1
- package/dist/runner-FhyE2VNa.js +1 -1
- package/dist/server-5BJD83CF.js +4 -0
- package/dist/server-BoGCZCf2.js +4 -0
- package/dist/server-Cv6kgXvX.js +1255 -0
- package/dist/server-DB6PQzNR.js +1 -1
- package/dist/server-DaBgrB4W.js +1255 -0
- package/dist/skill-runtime-BxRuz-SL.js +102 -0
- package/dist/skill-runtime-CYtCaHxf.js +5 -0
- package/dist/skill-runtime-ChEoWYiG.js +5 -0
- package/dist/skill-runtime-Z8OhW4eX.js +102 -0
- package/dist/src-0nY9IATM.js +63 -0
- package/dist/src-3S81Pvdb.js +458 -0
- package/dist/src-BJtvfghE.js +63 -0
- package/dist/src-BeacbqsZ.js +1 -1
- package/dist/src-C3_9DBLN.js +1 -1
- package/dist/src-CDnzzbzf.js +1 -1
- package/dist/src-CGQjRI4N.js +1 -1
- package/dist/src-CVxp9DM-.js +1 -1
- package/dist/src-CcX1rZa1.js +458 -0
- package/dist/src-DIc-L2IG.js +1 -1
- package/dist/src-DWCUhnD4.js +1 -1
- package/dist/sub-agent-tools-BN_8yWye.js +39 -0
- package/dist/sub-agent-tools-DpGd5o7N.js +39 -0
- package/package.json +2 -1
- package/scripts/fix-init-paths.mjs +44 -0
- package/scripts/postinstall.js +1 -1
package/dist/run-main.js
CHANGED
|
@@ -2,9 +2,9 @@ const require_chunk = require('./chunk-jS-bbMI5.js');
|
|
|
2
2
|
require('./paths-AIyBxIzm.js');
|
|
3
3
|
require('./paths-DPovhojT.js');
|
|
4
4
|
require('./env-resolve-BFJXWl94.js');
|
|
5
|
-
const require_onboard = require('./onboard-
|
|
6
|
-
require('./server-
|
|
7
|
-
const require_daemon = require('./daemon-
|
|
5
|
+
const require_onboard = require('./onboard-DgMPC9Qt.js');
|
|
6
|
+
require('./server-DaBgrB4W.js');
|
|
7
|
+
const require_daemon = require('./daemon-CckW3svB.js');
|
|
8
8
|
require('./providers-Dy15rDb7.js');
|
|
9
9
|
require('./theme-DajRRZbA.js');
|
|
10
10
|
const require_hub = require('./hub-BO6bj8Yj.js');
|
|
@@ -65,7 +65,7 @@ var Dashboard = class {
|
|
|
65
65
|
return c(`� `) + content + " ".repeat(pad) + c(`�`);
|
|
66
66
|
};
|
|
67
67
|
console.log(c(`-${line}�`));
|
|
68
|
-
console.log(c(`�`) + chalk.default.bold.hex("#06b6d4")(`${"?? HYPERCLAW v5.0.
|
|
68
|
+
console.log(c(`�`) + chalk.default.bold.hex("#06b6d4")(`${"?? HYPERCLAW v5.0.7 � GATEWAY DASHBOARD".padStart(45).padEnd(w)}`) + c(`�`));
|
|
69
69
|
console.log(c(`�${line}�`));
|
|
70
70
|
console.log(row(`${statusDot} Gateway ${statusText} ${chalk.default.gray("�")} ws://localhost:${port} ${chalk.default.gray("�")} Agent: ${c(agent)}`));
|
|
71
71
|
console.log(row(`${c("?")} Model ${chalk.default.gray(model.slice(0, 30))} ${chalk.default.gray("�")} User: ${c(user)}`));
|
|
@@ -2427,7 +2427,7 @@ var init_queue = require_chunk.__esm({ "src/delivery/queue.ts"() {
|
|
|
2427
2427
|
//#endregion
|
|
2428
2428
|
//#region src/cli/run-main.ts
|
|
2429
2429
|
const program = new commander.Command();
|
|
2430
|
-
program.name("hyperclaw").description("⚡ HyperClaw — AI Gateway Platform. The Lobster Evolution 🦅").version("5.0.
|
|
2430
|
+
program.name("hyperclaw").description("⚡ HyperClaw — AI Gateway Platform. The Lobster Evolution 🦅").version("5.0.7").option("--profile <name>", "Use an isolated gateway profile. Auto-scopes HYPERCLAW_STATE_DIR and HYPERCLAW_CONFIG_PATH. Required for multi-gateway setups (rescue bot, staging, etc.). Example: hyperclaw --profile rescue gateway --port 19001").hook("preAction", (thisCommand) => {
|
|
2431
2431
|
const profile = thisCommand.opts().profile;
|
|
2432
2432
|
if (profile) {
|
|
2433
2433
|
const os$8 = require("os");
|
|
@@ -2570,7 +2570,7 @@ sandboxCmd.command("explain").description("Show effective sandbox mode, tool pol
|
|
|
2570
2570
|
const sandboxMode = cfg?.agents?.defaults?.sandbox?.mode ?? "non-main";
|
|
2571
2571
|
const toolsCfg = cfg?.tools ?? {};
|
|
2572
2572
|
const { describeToolPolicy, applyToolPolicy } = await Promise.resolve().then(() => require("./tool-policy-DgNqFWYn.js"));
|
|
2573
|
-
const { getBuiltinTools, getSessionsTools, getPCAccessTools, getBrowserTools, getExtractionTools, getWebsiteWatchTools, getVisionTools } = await Promise.resolve().then(() => require("./src-
|
|
2573
|
+
const { getBuiltinTools, getSessionsTools, getPCAccessTools, getBrowserTools, getExtractionTools, getWebsiteWatchTools, getVisionTools } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
2574
2574
|
const allTools = [
|
|
2575
2575
|
...getBuiltinTools(),
|
|
2576
2576
|
...getSessionsTools(() => null),
|
|
@@ -2913,7 +2913,7 @@ cfgCmd.command("set-service-key <serviceId> [apiKey]").description("Set API key
|
|
|
2913
2913
|
cfgCmd.command("schema").description("Show configuration schema").action(() => {
|
|
2914
2914
|
console.log(chalk.default.bold.hex("#06b6d4")("\n Config schema: ~/.hyperclaw/config.json\n"));
|
|
2915
2915
|
const schema = {
|
|
2916
|
-
version: "string (e.g. \"5.0.
|
|
2916
|
+
version: "string (e.g. \"5.0.7\")",
|
|
2917
2917
|
workspaceName: "string",
|
|
2918
2918
|
provider: {
|
|
2919
2919
|
providerId: "string",
|
|
@@ -3033,7 +3033,10 @@ program.command("voice-call").description("Start voice call session — terminal
|
|
|
3033
3033
|
ask();
|
|
3034
3034
|
});
|
|
3035
3035
|
};
|
|
3036
|
-
|
|
3036
|
+
await new Promise((resolve) => {
|
|
3037
|
+
rl.on("close", resolve);
|
|
3038
|
+
ask();
|
|
3039
|
+
});
|
|
3037
3040
|
});
|
|
3038
3041
|
program.command("voice").description("Voice control settings").option("-l, --lang <lang>", "Language code", "en").option("-w, --wake-word <word>", "Wake word (uses config if not passed)").action(async (opts) => {
|
|
3039
3042
|
const cfg = await new require_manager.ConfigManager().load();
|
|
@@ -3046,7 +3049,11 @@ program.command("voice").description("Voice control settings").option("-l, --lan
|
|
|
3046
3049
|
});
|
|
3047
3050
|
program.command("dashboard").description("Launch live terminal dashboard").option("-l, --live", "Live mode with real-time updates").action(async (opts) => {
|
|
3048
3051
|
await new Dashboard().launch(opts.live);
|
|
3049
|
-
if (!opts.live)
|
|
3052
|
+
if (!opts.live) {
|
|
3053
|
+
process.exit(0);
|
|
3054
|
+
return;
|
|
3055
|
+
}
|
|
3056
|
+
await new Promise(() => {});
|
|
3050
3057
|
});
|
|
3051
3058
|
program.command("status").description("System overview").option("--all", "Full local diagnosis (read-only)").option("--deep", "Also probe the running gateway").action(async (opts) => {
|
|
3052
3059
|
await new require_onboard.Banner().showStatus();
|
|
@@ -3235,7 +3242,7 @@ program.command("osint").description("OSINT / Ethical Hacking mode — configure
|
|
|
3235
3242
|
process.exit(0);
|
|
3236
3243
|
});
|
|
3237
3244
|
program.command("chat").description("Interactive terminal chat with the agent").option("--session <id>", "Resume a named session").option("--model <model>", "Override model").option("--thinking <level>", "Thinking level: high|medium|low|none", "none").option("--workspace <dir>", "Override workspace directory").action(async (opts) => {
|
|
3238
|
-
const { runChat } = await Promise.resolve().then(() => require("./chat-
|
|
3245
|
+
const { runChat } = await Promise.resolve().then(() => require("./chat-C7Jwz6dG.js"));
|
|
3239
3246
|
await runChat({
|
|
3240
3247
|
sessionId: opts.session,
|
|
3241
3248
|
model: opts.model,
|
|
@@ -3245,7 +3252,7 @@ program.command("chat").description("Interactive terminal chat with the agent").
|
|
|
3245
3252
|
});
|
|
3246
3253
|
const agentRunCmd = program.command("agent").description("Run agent with thinking control");
|
|
3247
3254
|
agentRunCmd.requiredOption("-m, --message <text>", "Message to send to the agent").option("--thinking <level>", "Thinking level: high|medium|low|none", "none").option("--model <model>", "Override model").option("--session <id>", "Session/thread ID").option("--multi-step", "Decompose into steps and run each (sequential)").option("--parallel", "Run sub-agents in parallel for independent subtasks").option("--verbose", "Show thinking blocks and request details").option("--workspace <dir>", "Override workspace directory").action(async (opts) => {
|
|
3248
|
-
const { runAgent } = await Promise.resolve().then(() => require("./src-
|
|
3255
|
+
const { runAgent } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3249
3256
|
await runAgent({
|
|
3250
3257
|
message: opts.message,
|
|
3251
3258
|
thinking: opts.thinking,
|
|
@@ -3261,7 +3268,7 @@ agentRunCmd.requiredOption("-m, --message <text>", "Message to send to the agent
|
|
|
3261
3268
|
});
|
|
3262
3269
|
const threadsCmd = program.command("threads").description("ACP thread-bound agent sessions");
|
|
3263
3270
|
threadsCmd.command("list").description("List agent threads").option("--channel <id>", "Filter by channel").option("--active", "Show only active threads").action(async (opts) => {
|
|
3264
|
-
const { ACPThreadManager } = await Promise.resolve().then(() => require("./src-
|
|
3271
|
+
const { ACPThreadManager } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3265
3272
|
const mgr = new ACPThreadManager();
|
|
3266
3273
|
const threads = await mgr.list({
|
|
3267
3274
|
channelId: opts.channel,
|
|
@@ -3271,7 +3278,7 @@ threadsCmd.command("list").description("List agent threads").option("--channel <
|
|
|
3271
3278
|
process.exit(0);
|
|
3272
3279
|
});
|
|
3273
3280
|
threadsCmd.command("terminate <id>").description("Terminate a thread").action(async (id) => {
|
|
3274
|
-
const { ACPThreadManager } = await Promise.resolve().then(() => require("./src-
|
|
3281
|
+
const { ACPThreadManager } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3275
3282
|
await new ACPThreadManager().terminate(id);
|
|
3276
3283
|
console.log(require("chalk").green(`\n ✔ Thread terminated: ${id}\n`));
|
|
3277
3284
|
process.exit(0);
|
|
@@ -3507,7 +3514,7 @@ const logsCmd = program.command("logs").description("View gateway logs");
|
|
|
3507
3514
|
logsCmd.option("-n, --lines <n>", "Number of lines to show", "50");
|
|
3508
3515
|
logsCmd.option("-f, --follow", "Stream logs in real time");
|
|
3509
3516
|
logsCmd.action(async (opts) => {
|
|
3510
|
-
const { tailLog, streamLog } = await Promise.resolve().then(() => require("./logger-
|
|
3517
|
+
const { tailLog, streamLog } = await Promise.resolve().then(() => require("./logger-BFZSSq02.js"));
|
|
3511
3518
|
if (opts.follow) await streamLog();
|
|
3512
3519
|
else {
|
|
3513
3520
|
await tailLog(parseInt(opts.lines));
|
|
@@ -3515,7 +3522,7 @@ logsCmd.action(async (opts) => {
|
|
|
3515
3522
|
}
|
|
3516
3523
|
});
|
|
3517
3524
|
program.command("gateway:serve").description("Start the gateway server in the foreground (used by daemon)").action(async () => {
|
|
3518
|
-
const { startGateway } = await Promise.resolve().then(() => require("./server-
|
|
3525
|
+
const { startGateway } = await Promise.resolve().then(() => require("./server-BoGCZCf2.js"));
|
|
3519
3526
|
await startGateway();
|
|
3520
3527
|
process.on("SIGINT", () => process.exit(0));
|
|
3521
3528
|
process.on("SIGTERM", () => process.exit(0));
|
|
@@ -3763,13 +3770,13 @@ workspaceCmd.command("show [dir]").description("Show workspace files summary").a
|
|
|
3763
3770
|
});
|
|
3764
3771
|
const botCmd = program.command("bot").description("HyperClaw Bot — companion bot for remote gateway control");
|
|
3765
3772
|
botCmd.command("status").action(async () => {
|
|
3766
|
-
const { showBotStatus } = await Promise.resolve().then(() => require("./hyperclawbot-
|
|
3773
|
+
const { showBotStatus } = await Promise.resolve().then(() => require("./hyperclawbot-m7N4LcRP.js"));
|
|
3767
3774
|
await showBotStatus();
|
|
3768
3775
|
process.exit(0);
|
|
3769
3776
|
});
|
|
3770
3777
|
botCmd.command("setup").description("Configure HyperClaw Bot (Telegram token, allowed users)").action(async () => {
|
|
3771
3778
|
const inquirer$2 = require("inquirer");
|
|
3772
|
-
const { saveBotConfig } = await Promise.resolve().then(() => require("./hyperclawbot-
|
|
3779
|
+
const { saveBotConfig } = await Promise.resolve().then(() => require("./hyperclawbot-m7N4LcRP.js"));
|
|
3773
3780
|
const chalk$11 = require("chalk");
|
|
3774
3781
|
console.log(chalk$11.bold.hex("#06b6d4")("\n 🦅 HYPERCLAW BOT SETUP\n"));
|
|
3775
3782
|
console.log(chalk$11.gray(" Create a bot at t.me/BotFather, then paste the token below.\n"));
|
|
@@ -3831,14 +3838,14 @@ botCmd.command("start").description("Start HyperClaw Bot (foreground or backgrou
|
|
|
3831
3838
|
cwd: process.cwd()
|
|
3832
3839
|
});
|
|
3833
3840
|
child.unref();
|
|
3834
|
-
const { writeBotPid } = await Promise.resolve().then(() => require("./hyperclawbot-
|
|
3841
|
+
const { writeBotPid } = await Promise.resolve().then(() => require("./hyperclawbot-m7N4LcRP.js"));
|
|
3835
3842
|
await writeBotPid(child.pid);
|
|
3836
3843
|
console.log(require("chalk").green(`\n ✔ HyperClaw Bot started in background (PID ${child.pid})`));
|
|
3837
3844
|
console.log(require("chalk").gray(" Stop with: hyperclaw bot stop\n"));
|
|
3838
3845
|
process.exit(0);
|
|
3839
3846
|
return;
|
|
3840
3847
|
}
|
|
3841
|
-
const { loadBotConfig, TelegramHyperClawBot, DiscordHyperClawBot } = await Promise.resolve().then(() => require("./hyperclawbot-
|
|
3848
|
+
const { loadBotConfig, TelegramHyperClawBot, DiscordHyperClawBot } = await Promise.resolve().then(() => require("./hyperclawbot-m7N4LcRP.js"));
|
|
3842
3849
|
const cfg = await loadBotConfig();
|
|
3843
3850
|
if (!cfg) {
|
|
3844
3851
|
console.log(require("chalk").red("\n ✖ HyperClaw Bot not configured. Run: hyperclaw bot setup\n"));
|
|
@@ -3865,41 +3872,41 @@ botCmd.command("start").description("Start HyperClaw Bot (foreground or backgrou
|
|
|
3865
3872
|
});
|
|
3866
3873
|
botCmd.command("stop").description("Stop HyperClaw Bot (when running in background)").action(async () => {
|
|
3867
3874
|
const chalk$11 = require("chalk");
|
|
3868
|
-
const { stopBotProcess } = await Promise.resolve().then(() => require("./hyperclawbot-
|
|
3875
|
+
const { stopBotProcess } = await Promise.resolve().then(() => require("./hyperclawbot-m7N4LcRP.js"));
|
|
3869
3876
|
const stopped = await stopBotProcess();
|
|
3870
3877
|
if (stopped) console.log(chalk$11.green("\n ✔ HyperClaw Bot stopped\n"));
|
|
3871
3878
|
else console.log(chalk$11.gray("\n Bot not running in background (no PID file). Use Ctrl+C to stop foreground bot.\n"));
|
|
3872
3879
|
process.exit(stopped ? 0 : 0);
|
|
3873
3880
|
});
|
|
3874
3881
|
memCmd.command("search <query>").description("Search MEMORY.md").action(async (query) => {
|
|
3875
|
-
const { searchMemory } = await Promise.resolve().then(() => require("./src-
|
|
3882
|
+
const { searchMemory } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3876
3883
|
await searchMemory(query);
|
|
3877
3884
|
process.exit(0);
|
|
3878
3885
|
});
|
|
3879
3886
|
memCmd.command("auto-show").description("Show auto-extracted memories from MEMORY.md").action(async () => {
|
|
3880
|
-
const { showMemory } = await Promise.resolve().then(() => require("./src-
|
|
3887
|
+
const { showMemory } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3881
3888
|
await showMemory();
|
|
3882
3889
|
process.exit(0);
|
|
3883
3890
|
});
|
|
3884
3891
|
memCmd.command("clear").description("Clear all auto-extracted memories").action(async () => {
|
|
3885
|
-
const { clearMemory } = await Promise.resolve().then(() => require("./src-
|
|
3892
|
+
const { clearMemory } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3886
3893
|
await clearMemory();
|
|
3887
3894
|
process.exit(0);
|
|
3888
3895
|
});
|
|
3889
3896
|
memCmd.command("save <text>").description("Manually save a fact to MEMORY.md").action(async (text) => {
|
|
3890
|
-
const { saveMemoryDirect } = await Promise.resolve().then(() => require("./src-
|
|
3897
|
+
const { saveMemoryDirect } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3891
3898
|
await saveMemoryDirect(text);
|
|
3892
3899
|
console.log(chalk.default.hex("#06b6d4")(` ✅ Saved: ${text}\n`));
|
|
3893
3900
|
process.exit(0);
|
|
3894
3901
|
});
|
|
3895
3902
|
const pcCmd = program.command("pc").description("PC access — give the AI access to your computer");
|
|
3896
3903
|
pcCmd.command("status").description("Show PC access status and config").action(async () => {
|
|
3897
|
-
const { showPCAccessStatus } = await Promise.resolve().then(() => require("./src-
|
|
3904
|
+
const { showPCAccessStatus } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3898
3905
|
await showPCAccessStatus();
|
|
3899
3906
|
process.exit(0);
|
|
3900
3907
|
});
|
|
3901
3908
|
pcCmd.command("enable").description("Enable PC access for the AI").option("--level <level>", "Access level: read-only | sandboxed | full", "full").option("--paths <paths>", "Comma-separated allowed paths (sandboxed mode)").action(async (opts) => {
|
|
3902
|
-
const { savePCAccessConfig } = await Promise.resolve().then(() => require("./src-
|
|
3909
|
+
const { savePCAccessConfig } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3903
3910
|
const level = opts.level;
|
|
3904
3911
|
const allowed = [
|
|
3905
3912
|
"read-only",
|
|
@@ -3926,7 +3933,7 @@ pcCmd.command("enable").description("Enable PC access for the AI").option("--lev
|
|
|
3926
3933
|
process.exit(0);
|
|
3927
3934
|
});
|
|
3928
3935
|
pcCmd.command("disable").description("Disable PC access").action(async () => {
|
|
3929
|
-
const { savePCAccessConfig } = await Promise.resolve().then(() => require("./src-
|
|
3936
|
+
const { savePCAccessConfig } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3930
3937
|
await savePCAccessConfig({ enabled: false });
|
|
3931
3938
|
console.log(chalk.default.hex("#06b6d4")("\n ✅ PC access disabled\n"));
|
|
3932
3939
|
process.exit(0);
|
|
@@ -3950,7 +3957,7 @@ pcCmd.command("log").description("Show PC access audit log").option("-n, --lines
|
|
|
3950
3957
|
process.exit(0);
|
|
3951
3958
|
});
|
|
3952
3959
|
pcCmd.command("run <command>").description("Run a shell command via PC access (must be enabled)").action(async (command) => {
|
|
3953
|
-
const { loadPCAccessConfig, getPCAccessTools } = await Promise.resolve().then(() => require("./src-
|
|
3960
|
+
const { loadPCAccessConfig, getPCAccessTools } = await Promise.resolve().then(() => require("./src-0nY9IATM.js"));
|
|
3954
3961
|
const cfg = await loadPCAccessConfig();
|
|
3955
3962
|
if (!cfg.enabled) {
|
|
3956
3963
|
console.log(chalk.default.red("\n ✖ PC access disabled. Run: hyperclaw pc enable\n"));
|
|
@@ -4009,7 +4016,7 @@ if (process.argv.length === 2) (async () => {
|
|
|
4009
4016
|
console.log(` ${t.c("hyperclaw --help")} — all commands\n`);
|
|
4010
4017
|
} else {
|
|
4011
4018
|
await new require_onboard.Banner().showNeonBanner(false);
|
|
4012
|
-
const { HyperClawWizard: HyperClawWizard$1 } = await Promise.resolve().then(() => require("./onboard-
|
|
4019
|
+
const { HyperClawWizard: HyperClawWizard$1 } = await Promise.resolve().then(() => require("./onboard-DAqvQwwu.js"));
|
|
4013
4020
|
await new HyperClawWizard$1().run({ wizard: true });
|
|
4014
4021
|
}
|
|
4015
4022
|
await runUpdateCheck();
|
package/dist/runner-BHRSOPEU.js
CHANGED
|
@@ -269,7 +269,7 @@ function extractSessionConfig(cfg) {
|
|
|
269
269
|
|
|
270
270
|
//#endregion
|
|
271
271
|
//#region src/channels/runner.ts
|
|
272
|
-
require_paths$1.init_paths();
|
|
272
|
+
require_paths$1.require_paths.init_paths();
|
|
273
273
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
274
274
|
const connectors = [];
|
|
275
275
|
let emailConnectorRef = null;
|
package/dist/runner-Bu--_RXw.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
7
7
|
const http = require_chunk.__toESM(require("http"));
|
|
8
8
|
|
|
9
9
|
//#region src/channels/runner.ts
|
|
10
|
-
require_paths$1.init_paths();
|
|
10
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
11
11
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
12
12
|
const connectors = [];
|
|
13
13
|
let emailConnectorRef = null;
|
package/dist/runner-C-mmfhY7.js
CHANGED
|
@@ -8,7 +8,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
8
8
|
const axios = require_chunk.__toESM(require("axios"));
|
|
9
9
|
|
|
10
10
|
//#region src/agent/runner.ts
|
|
11
|
-
require_paths.init_paths();
|
|
11
|
+
require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
12
12
|
const THINKING_BUDGET = {
|
|
13
13
|
high: 1e4,
|
|
14
14
|
medium: 4e3,
|
package/dist/runner-CJFJUtPm.js
CHANGED
|
@@ -269,7 +269,7 @@ function extractSessionConfig(cfg) {
|
|
|
269
269
|
|
|
270
270
|
//#endregion
|
|
271
271
|
//#region src/channels/runner.ts
|
|
272
|
-
require_paths$1.init_paths();
|
|
272
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
273
273
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
274
274
|
const connectors = [];
|
|
275
275
|
let emailConnectorRef = null;
|
package/dist/runner-CuO6TMFT.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
7
7
|
const http = require_chunk.__toESM(require("http"));
|
|
8
8
|
|
|
9
9
|
//#region src/channels/runner.ts
|
|
10
|
-
require_paths$1.init_paths();
|
|
10
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
11
11
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
12
12
|
const connectors = [];
|
|
13
13
|
let emailConnectorRef = null;
|
package/dist/runner-D0ca-Lzi.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
7
7
|
const http = require_chunk.__toESM(require("http"));
|
|
8
8
|
|
|
9
9
|
//#region src/channels/runner.ts
|
|
10
|
-
require_paths$1.init_paths();
|
|
10
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
11
11
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
12
12
|
const connectors = [];
|
|
13
13
|
let emailConnectorRef = null;
|
package/dist/runner-D1rjuMTJ.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
7
7
|
const http = require_chunk.__toESM(require("http"));
|
|
8
8
|
|
|
9
9
|
//#region src/channels/runner.ts
|
|
10
|
-
require_paths$1.init_paths();
|
|
10
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
11
11
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
12
12
|
const connectors = [];
|
|
13
13
|
let emailConnectorRef = null;
|
package/dist/runner-D2Q8YvHW.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
7
7
|
const http = require_chunk.__toESM(require("http"));
|
|
8
8
|
|
|
9
9
|
//#region src/channels/runner.ts
|
|
10
|
-
require_paths$1.init_paths();
|
|
10
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
11
11
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
12
12
|
const connectors = [];
|
|
13
13
|
let emailConnectorRef = null;
|
package/dist/runner-DIefAdtj.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
7
7
|
const http = require_chunk.__toESM(require("http"));
|
|
8
8
|
|
|
9
9
|
//#region src/channels/runner.ts
|
|
10
|
-
require_paths$1.init_paths();
|
|
10
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
11
11
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
12
12
|
const connectors = [];
|
|
13
13
|
let emailConnectorRef = null;
|
package/dist/runner-DatMMYYE.js
CHANGED
|
@@ -269,7 +269,7 @@ function extractSessionConfig(cfg) {
|
|
|
269
269
|
|
|
270
270
|
//#endregion
|
|
271
271
|
//#region src/channels/runner.ts
|
|
272
|
-
require_paths$1.init_paths();
|
|
272
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
273
273
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
274
274
|
const connectors = [];
|
|
275
275
|
let emailConnectorRef = null;
|
package/dist/runner-Dh65wta9.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
7
7
|
const http = require_chunk.__toESM(require("http"));
|
|
8
8
|
|
|
9
9
|
//#region src/channels/runner.ts
|
|
10
|
-
require_paths$1.init_paths();
|
|
10
|
+
require_paths$1.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
11
11
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
12
12
|
const connectors = [];
|
|
13
13
|
let emailConnectorRef = null;
|
package/dist/runner-FhyE2VNa.js
CHANGED
|
@@ -6,7 +6,7 @@ const path = require_chunk.__toESM(require("path"));
|
|
|
6
6
|
const http = require_chunk.__toESM(require("http"));
|
|
7
7
|
|
|
8
8
|
//#region src/channels/runner.ts
|
|
9
|
-
require_paths.init_paths();
|
|
9
|
+
require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.require_paths.init_paths();
|
|
10
10
|
const HC_DIR = require_paths.getHyperClawDir();
|
|
11
11
|
const connectors = [];
|
|
12
12
|
let emailConnectorRef = null;
|