@openacp/cli 2026.330.2 → 2026.330.3
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/dist/{adapter-4U6MC5ZS.js → adapter-AWSI4GML.js} +2 -2
- package/dist/{chunk-CFUJGWOP.js → chunk-237WYH6H.js} +26 -3
- package/dist/chunk-237WYH6H.js.map +1 -0
- package/dist/{chunk-YIGBJFJL.js → chunk-2HEFALTZ.js} +2 -2
- package/dist/{chunk-7RKPIM3E.js → chunk-UCIZM5SW.js} +1 -1
- package/dist/{chunk-7RKPIM3E.js.map → chunk-UCIZM5SW.js.map} +1 -1
- package/dist/{chunk-5ZNBNIK3.js → chunk-XBZIHNKV.js} +11 -5
- package/dist/chunk-XBZIHNKV.js.map +1 -0
- package/dist/cli.js +9 -9
- package/dist/{core-plugins-OCHKGCIZ.js → core-plugins-BPZY7SEB.js} +3 -3
- package/dist/index.d.ts +6 -2
- package/dist/index.js +2 -2
- package/dist/{main-L2M4NTJY.js → main-VEJCG5PY.js} +7 -7
- package/dist/{setup-E6BNEYCS.js → setup-DISPNDEK.js} +2 -2
- package/dist/telegram-L3YM6SQJ.js +7 -0
- package/package.json +1 -1
- package/dist/chunk-5ZNBNIK3.js.map +0 -1
- package/dist/chunk-CFUJGWOP.js.map +0 -1
- package/dist/telegram-EAVRDNFU.js +0 -7
- /package/dist/{adapter-4U6MC5ZS.js.map → adapter-AWSI4GML.js.map} +0 -0
- /package/dist/{chunk-YIGBJFJL.js.map → chunk-2HEFALTZ.js.map} +0 -0
- /package/dist/{core-plugins-OCHKGCIZ.js.map → core-plugins-BPZY7SEB.js.map} +0 -0
- /package/dist/{main-L2M4NTJY.js.map → main-VEJCG5PY.js.map} +0 -0
- /package/dist/{setup-E6BNEYCS.js.map → setup-DISPNDEK.js.map} +0 -0
- /package/dist/{telegram-EAVRDNFU.js.map → telegram-L3YM6SQJ.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -338,7 +338,7 @@ async function setPluginEnabled(name, enabled) {
|
|
|
338
338
|
async function configurePlugin(name) {
|
|
339
339
|
const os2 = await import("os");
|
|
340
340
|
const path5 = await import("path");
|
|
341
|
-
const { corePlugins } = await import("./core-plugins-
|
|
341
|
+
const { corePlugins } = await import("./core-plugins-BPZY7SEB.js");
|
|
342
342
|
const { SettingsManager } = await import("./settings-manager-B4UN2LAC.js");
|
|
343
343
|
const { createInstallContext } = await import("./install-context-EHYV5WRY.js");
|
|
344
344
|
const plugin = corePlugins.find((p) => p.name === name);
|
|
@@ -407,7 +407,7 @@ async function installPlugin(input) {
|
|
|
407
407
|
}
|
|
408
408
|
const installSpec = pkgVersion ? `${pkgName}@${pkgVersion}` : pkgName;
|
|
409
409
|
console.log(`Installing ${installSpec}...`);
|
|
410
|
-
const { corePlugins } = await import("./core-plugins-
|
|
410
|
+
const { corePlugins } = await import("./core-plugins-BPZY7SEB.js");
|
|
411
411
|
const builtinPlugin = corePlugins.find((p) => p.name === pkgName);
|
|
412
412
|
const basePath = path5.join(os2.homedir(), ".openacp", "plugins", "data");
|
|
413
413
|
const settingsManager = new SettingsManager(basePath);
|
|
@@ -502,7 +502,7 @@ async function uninstallPlugin(name, purge) {
|
|
|
502
502
|
process.exit(1);
|
|
503
503
|
}
|
|
504
504
|
try {
|
|
505
|
-
const { corePlugins } = await import("./core-plugins-
|
|
505
|
+
const { corePlugins } = await import("./core-plugins-BPZY7SEB.js");
|
|
506
506
|
const plugin = corePlugins.find((p) => p.name === name);
|
|
507
507
|
if (plugin?.uninstall) {
|
|
508
508
|
const { SettingsManager } = await import("./settings-manager-B4UN2LAC.js");
|
|
@@ -2130,10 +2130,10 @@ async function cmdOnboard() {
|
|
|
2130
2130
|
const pluginRegistry = new PluginRegistry(REGISTRY_PATH2);
|
|
2131
2131
|
await pluginRegistry.load();
|
|
2132
2132
|
if (await cm.exists()) {
|
|
2133
|
-
const { runReconfigure } = await import("./setup-
|
|
2133
|
+
const { runReconfigure } = await import("./setup-DISPNDEK.js");
|
|
2134
2134
|
await runReconfigure(cm);
|
|
2135
2135
|
} else {
|
|
2136
|
-
const { runSetup } = await import("./setup-
|
|
2136
|
+
const { runSetup } = await import("./setup-DISPNDEK.js");
|
|
2137
2137
|
await runSetup(cm, { skipRunMode: true, settingsManager, pluginRegistry });
|
|
2138
2138
|
}
|
|
2139
2139
|
}
|
|
@@ -2182,7 +2182,7 @@ async function cmdDefault(command2) {
|
|
|
2182
2182
|
const settingsManager = new SettingsManager(PLUGINS_DATA_DIR);
|
|
2183
2183
|
const pluginRegistry = new PluginRegistry(REGISTRY_PATH);
|
|
2184
2184
|
await pluginRegistry.load();
|
|
2185
|
-
const { runSetup } = await import("./setup-
|
|
2185
|
+
const { runSetup } = await import("./setup-DISPNDEK.js");
|
|
2186
2186
|
const shouldStart = await runSetup(cm, { settingsManager, pluginRegistry });
|
|
2187
2187
|
if (!shouldStart) process.exit(0);
|
|
2188
2188
|
}
|
|
@@ -2200,7 +2200,7 @@ async function cmdDefault(command2) {
|
|
|
2200
2200
|
}
|
|
2201
2201
|
const { markRunning } = await import("./daemon-XFEMMJSZ.js");
|
|
2202
2202
|
markRunning();
|
|
2203
|
-
const { startServer } = await import("./main-
|
|
2203
|
+
const { startServer } = await import("./main-VEJCG5PY.js");
|
|
2204
2204
|
await startServer();
|
|
2205
2205
|
}
|
|
2206
2206
|
|
|
@@ -2274,7 +2274,7 @@ async function cmdDev(args2 = []) {
|
|
|
2274
2274
|
process.env.OPENACP_DEBUG = "1";
|
|
2275
2275
|
}
|
|
2276
2276
|
process.env.OPENACP_DEV_LOOP = "1";
|
|
2277
|
-
const { startServer } = await import("./main-
|
|
2277
|
+
const { startServer } = await import("./main-VEJCG5PY.js");
|
|
2278
2278
|
await startServer({ devPluginPath: pluginPath, noWatch });
|
|
2279
2279
|
}
|
|
2280
2280
|
|
|
@@ -2307,7 +2307,7 @@ var commands = {
|
|
|
2307
2307
|
"onboard": () => cmdOnboard(),
|
|
2308
2308
|
"dev": () => cmdDev(args),
|
|
2309
2309
|
"--daemon-child": async () => {
|
|
2310
|
-
const { startServer } = await import("./main-
|
|
2310
|
+
const { startServer } = await import("./main-VEJCG5PY.js");
|
|
2311
2311
|
await startServer();
|
|
2312
2312
|
}
|
|
2313
2313
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
corePlugins
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2HEFALTZ.js";
|
|
4
|
+
import "./chunk-237WYH6H.js";
|
|
5
5
|
import "./chunk-3EWTPOF7.js";
|
|
6
6
|
import "./chunk-PA6MNBG4.js";
|
|
7
7
|
import "./chunk-KDU3ZEWT.js";
|
|
@@ -19,4 +19,4 @@ import "./chunk-2KT6TROD.js";
|
|
|
19
19
|
export {
|
|
20
20
|
corePlugins
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=core-plugins-
|
|
22
|
+
//# sourceMappingURL=core-plugins-BPZY7SEB.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -2220,7 +2220,7 @@ declare class LifecycleManager {
|
|
|
2220
2220
|
private config;
|
|
2221
2221
|
private core;
|
|
2222
2222
|
private log;
|
|
2223
|
-
|
|
2223
|
+
settingsManager: SettingsManager | undefined;
|
|
2224
2224
|
private pluginRegistry;
|
|
2225
2225
|
private contexts;
|
|
2226
2226
|
private loadOrder;
|
|
@@ -2905,6 +2905,7 @@ declare class TelegramAdapter extends MessagingAdapter {
|
|
|
2905
2905
|
private core;
|
|
2906
2906
|
private bot;
|
|
2907
2907
|
private telegramConfig;
|
|
2908
|
+
private saveTopicIds?;
|
|
2908
2909
|
private permissionHandler;
|
|
2909
2910
|
private assistantSession;
|
|
2910
2911
|
private assistantInitializing;
|
|
@@ -2921,7 +2922,10 @@ declare class TelegramAdapter extends MessagingAdapter {
|
|
|
2921
2922
|
private callbackCounter;
|
|
2922
2923
|
private getThreadId;
|
|
2923
2924
|
private getOrCreateTracker;
|
|
2924
|
-
constructor(core: OpenACPCore, config: TelegramChannelConfig
|
|
2925
|
+
constructor(core: OpenACPCore, config: TelegramChannelConfig, saveTopicIds?: (updates: {
|
|
2926
|
+
notificationTopicId?: number;
|
|
2927
|
+
assistantTopicId?: number;
|
|
2928
|
+
}) => Promise<void>);
|
|
2925
2929
|
start(): Promise<void>;
|
|
2926
2930
|
stop(): Promise<void>;
|
|
2927
2931
|
private renderCommandResponse;
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
TypedEmitter,
|
|
16
16
|
nodeToWebReadable,
|
|
17
17
|
nodeToWebWritable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UCIZM5SW.js";
|
|
19
19
|
import {
|
|
20
20
|
getPidPath,
|
|
21
21
|
getStatus,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
splitMessage,
|
|
55
55
|
stripCodeFences,
|
|
56
56
|
truncateContent
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-XBZIHNKV.js";
|
|
58
58
|
import "./chunk-AFKX424Q.js";
|
|
59
59
|
import {
|
|
60
60
|
DoctorEngine
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
corePlugins
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2HEFALTZ.js";
|
|
5
|
+
import "./chunk-237WYH6H.js";
|
|
6
6
|
import {
|
|
7
7
|
SettingsManager
|
|
8
8
|
} from "./chunk-MLF4W5R6.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-5WGVYX3C.js";
|
|
|
17
17
|
import {
|
|
18
18
|
CommandRegistry,
|
|
19
19
|
OpenACPCore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UCIZM5SW.js";
|
|
21
21
|
import "./chunk-V2YZWYXT.js";
|
|
22
22
|
import "./chunk-566W6INH.js";
|
|
23
23
|
import "./chunk-7ZCQF6QM.js";
|
|
@@ -299,7 +299,7 @@ async function startServer(opts) {
|
|
|
299
299
|
const configManager = new ConfigManager();
|
|
300
300
|
const configExists = await configManager.exists();
|
|
301
301
|
if (!configExists) {
|
|
302
|
-
const { runSetup } = await import("./setup-
|
|
302
|
+
const { runSetup } = await import("./setup-DISPNDEK.js");
|
|
303
303
|
const shouldStart = await runSetup(configManager, { settingsManager, pluginRegistry });
|
|
304
304
|
if (!shouldStart) process.exit(0);
|
|
305
305
|
}
|
|
@@ -312,7 +312,7 @@ async function startServer(opts) {
|
|
|
312
312
|
}
|
|
313
313
|
const isForegroundTTY = !!(process.stdout.isTTY && !process.env.NO_COLOR && config.runMode !== "daemon");
|
|
314
314
|
if (isForegroundTTY) {
|
|
315
|
-
const { printStartBanner } = await import("./setup-
|
|
315
|
+
const { printStartBanner } = await import("./setup-DISPNDEK.js");
|
|
316
316
|
await printStartBanner();
|
|
317
317
|
}
|
|
318
318
|
let spinner;
|
|
@@ -587,7 +587,7 @@ async function autoRegisterBuiltinPlugins(settingsManager, pluginRegistry, confi
|
|
|
587
587
|
import("./notifications-MO23S7S3.js"),
|
|
588
588
|
import("./tunnel-HWJ27WDH.js"),
|
|
589
589
|
import("./api-server-5VNYFWJE.js"),
|
|
590
|
-
import("./telegram-
|
|
590
|
+
import("./telegram-L3YM6SQJ.js")
|
|
591
591
|
]);
|
|
592
592
|
for (const result of pluginModules) {
|
|
593
593
|
if (result.status !== "fulfilled") continue;
|
|
@@ -651,4 +651,4 @@ export {
|
|
|
651
651
|
RESTART_EXIT_CODE,
|
|
652
652
|
startServer
|
|
653
653
|
};
|
|
654
|
-
//# sourceMappingURL=main-
|
|
654
|
+
//# sourceMappingURL=main-VEJCG5PY.js.map
|
|
@@ -544,7 +544,7 @@ async function runSetup(configManager, opts) {
|
|
|
544
544
|
for (const channelId of channelChoices) {
|
|
545
545
|
currentStep++;
|
|
546
546
|
if (channelId === "telegram") {
|
|
547
|
-
const telegramPlugin = (await import("./telegram-
|
|
547
|
+
const telegramPlugin = (await import("./telegram-L3YM6SQJ.js")).default;
|
|
548
548
|
const ctx = createInstallContext({
|
|
549
549
|
pluginName: telegramPlugin.name,
|
|
550
550
|
settingsManager,
|
|
@@ -799,4 +799,4 @@ export {
|
|
|
799
799
|
validateBotToken,
|
|
800
800
|
validateChatId
|
|
801
801
|
};
|
|
802
|
-
//# sourceMappingURL=setup-
|
|
802
|
+
//# sourceMappingURL=setup-DISPNDEK.js.map
|