@openacp/cli 2026.327.1 → 2026.327.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-Z435XYBQ.js → adapter-LC2QSDAS.js} +4 -5
- package/dist/{adapter-PQGHVG4K.js → adapter-Y55NXX6I.js} +2 -2
- package/dist/{api-server-5VEESFOT.js → api-server-7G3ZUZRM.js} +2 -2
- package/dist/{api-server-2I7B3MXR.js → api-server-CAYNPUF2.js} +2 -2
- package/dist/{chunk-5YW56UJK.js → chunk-2YCW3QDV.js} +21 -5
- package/dist/chunk-2YCW3QDV.js.map +1 -0
- package/dist/{chunk-366FOUJG.js → chunk-36YQ44D7.js} +2 -2
- package/dist/{chunk-UB2QB6DE.js → chunk-3ASUU6WW.js} +2 -2
- package/dist/{chunk-ZPTM4NGK.js → chunk-4GMLGCF2.js} +2 -2
- package/dist/{chunk-CFM4GJ74.js → chunk-HUWOFP2H.js} +7 -11
- package/dist/chunk-HUWOFP2H.js.map +1 -0
- package/dist/{chunk-P4SNGQNI.js → chunk-KMMEFXIE.js} +2 -2
- package/dist/{chunk-FDLQ5M6W.js → chunk-LP45RCA4.js} +568 -23
- package/dist/chunk-LP45RCA4.js.map +1 -0
- package/dist/{chunk-L7YNNBI5.js → chunk-QAQDGPB4.js} +1 -75
- package/dist/chunk-QAQDGPB4.js.map +1 -0
- package/dist/{chunk-V2M243KZ.js → chunk-TRXBJEZ5.js} +55 -53
- package/dist/chunk-TRXBJEZ5.js.map +1 -0
- package/dist/{chunk-7KGWYNWE.js → chunk-UMT7RU77.js} +45 -118
- package/dist/chunk-UMT7RU77.js.map +1 -0
- package/dist/{chunk-QUXTZU36.js → chunk-XIBG7LSL.js} +137 -3
- package/dist/chunk-XIBG7LSL.js.map +1 -0
- package/dist/cli.js +24 -17
- package/dist/cli.js.map +1 -1
- package/dist/{config-editor-2GYL2SSZ.js → config-editor-3IKBPZA7.js} +2 -2
- package/dist/{core-plugins-I6UPXQBL.js → core-plugins-ROU4GPLT.js} +6 -7
- package/dist/{dev-loader-RDC5E2CW.js → dev-loader-DRU3R7ZM.js} +7 -18
- package/dist/dev-loader-DRU3R7ZM.js.map +1 -0
- package/dist/{doctor-H72BZOPA.js → doctor-QZQAP46W.js} +2 -2
- package/dist/index.d.ts +115 -5
- package/dist/index.js +45 -18
- package/dist/index.js.map +1 -1
- package/dist/{integrate-APK4OEQF.js → integrate-G6CVXTGT.js} +2 -3
- package/dist/integrate-G6CVXTGT.js.map +1 -0
- package/dist/{main-EJBK65NS.js → main-UVTZ46WP.js} +20 -147
- package/dist/main-UVTZ46WP.js.map +1 -0
- package/dist/{plugin-create-LCXXNDK6.js → plugin-create-5HQRF2ID.js} +19 -2
- package/dist/plugin-create-5HQRF2ID.js.map +1 -0
- package/dist/plugin-installer-GQ2P3Q3E.js +23 -0
- package/dist/plugin-installer-GQ2P3Q3E.js.map +1 -0
- package/dist/{post-upgrade-2MG3VUDV.js → post-upgrade-3ADZRMYJ.js} +2 -2
- package/dist/{setup-N7KT56O7.js → setup-EYAFK2WI.js} +77 -50
- package/dist/setup-EYAFK2WI.js.map +1 -0
- package/dist/{slack-KH7E3VBS.js → slack-37ZWBDUI.js} +2 -2
- package/dist/{telegram-QWMJU3A6.js → telegram-2ZCCCZIY.js} +2 -2
- package/dist/{tunnel-M47I7H4B.js → tunnel-45HA72MB.js} +2 -2
- package/dist/{tunnel-service-WADYHREX.js → tunnel-service-QJPUYEKU.js} +11 -3
- package/dist/tunnel-service-QJPUYEKU.js.map +1 -0
- package/package.json +1 -2
- package/dist/action-detect-QPA775HB.js +0 -16
- package/dist/adapter-IZNL6AK2.js +0 -2394
- package/dist/adapter-IZNL6AK2.js.map +0 -1
- package/dist/admin-GBPZFFAU.js +0 -23
- package/dist/agents-BWU4MRRD.js +0 -15
- package/dist/chunk-4KGLKKQK.js +0 -298
- package/dist/chunk-4KGLKKQK.js.map +0 -1
- package/dist/chunk-5RO42TWV.js +0 -150
- package/dist/chunk-5RO42TWV.js.map +0 -1
- package/dist/chunk-5YW56UJK.js.map +0 -1
- package/dist/chunk-5ZOFBTOR.js +0 -553
- package/dist/chunk-5ZOFBTOR.js.map +0 -1
- package/dist/chunk-6RXVEXF3.js +0 -23
- package/dist/chunk-6RXVEXF3.js.map +0 -1
- package/dist/chunk-7KGWYNWE.js.map +0 -1
- package/dist/chunk-CFM4GJ74.js.map +0 -1
- package/dist/chunk-FDLQ5M6W.js.map +0 -1
- package/dist/chunk-GJOY37U7.js +0 -265
- package/dist/chunk-GJOY37U7.js.map +0 -1
- package/dist/chunk-HVBNCPAY.js +0 -71
- package/dist/chunk-HVBNCPAY.js.map +0 -1
- package/dist/chunk-I3CGU5W7.js +0 -134
- package/dist/chunk-I3CGU5W7.js.map +0 -1
- package/dist/chunk-L7YNNBI5.js.map +0 -1
- package/dist/chunk-MTSDOSXS.js +0 -219
- package/dist/chunk-MTSDOSXS.js.map +0 -1
- package/dist/chunk-NAM4ERUW.js +0 -203
- package/dist/chunk-NAM4ERUW.js.map +0 -1
- package/dist/chunk-O5RG4YZY.js +0 -122
- package/dist/chunk-O5RG4YZY.js.map +0 -1
- package/dist/chunk-QUXTZU36.js.map +0 -1
- package/dist/chunk-V2M243KZ.js.map +0 -1
- package/dist/chunk-VO3A2NI4.js +0 -145
- package/dist/chunk-VO3A2NI4.js.map +0 -1
- package/dist/dev-loader-RDC5E2CW.js.map +0 -1
- package/dist/discord-DXDTGVGS.js +0 -8
- package/dist/doctor-H72BZOPA.js.map +0 -1
- package/dist/doctor-RF6BHMCC.js +0 -15
- package/dist/doctor-RF6BHMCC.js.map +0 -1
- package/dist/integrate-APK4OEQF.js.map +0 -1
- package/dist/main-EJBK65NS.js.map +0 -1
- package/dist/new-session-HFO5GHSZ.js +0 -17
- package/dist/new-session-HFO5GHSZ.js.map +0 -1
- package/dist/plugin-create-LCXXNDK6.js.map +0 -1
- package/dist/session-KZFA6Z26.js +0 -20
- package/dist/session-KZFA6Z26.js.map +0 -1
- package/dist/settings-MFYM7CZO.js +0 -14
- package/dist/settings-MFYM7CZO.js.map +0 -1
- package/dist/setup-N7KT56O7.js.map +0 -1
- package/dist/slack-KH7E3VBS.js.map +0 -1
- package/dist/telegram-QWMJU3A6.js.map +0 -1
- package/dist/tunnel-M47I7H4B.js.map +0 -1
- package/dist/tunnel-service-WADYHREX.js.map +0 -1
- package/dist/validators-6CLEZUBD.js +0 -8
- package/dist/validators-6CLEZUBD.js.map +0 -1
- /package/dist/{action-detect-QPA775HB.js.map → adapter-LC2QSDAS.js.map} +0 -0
- /package/dist/{adapter-PQGHVG4K.js.map → adapter-Y55NXX6I.js.map} +0 -0
- /package/dist/{adapter-Z435XYBQ.js.map → api-server-7G3ZUZRM.js.map} +0 -0
- /package/dist/{admin-GBPZFFAU.js.map → api-server-CAYNPUF2.js.map} +0 -0
- /package/dist/{chunk-366FOUJG.js.map → chunk-36YQ44D7.js.map} +0 -0
- /package/dist/{chunk-UB2QB6DE.js.map → chunk-3ASUU6WW.js.map} +0 -0
- /package/dist/{chunk-ZPTM4NGK.js.map → chunk-4GMLGCF2.js.map} +0 -0
- /package/dist/{chunk-P4SNGQNI.js.map → chunk-KMMEFXIE.js.map} +0 -0
- /package/dist/{agents-BWU4MRRD.js.map → config-editor-3IKBPZA7.js.map} +0 -0
- /package/dist/{api-server-2I7B3MXR.js.map → core-plugins-ROU4GPLT.js.map} +0 -0
- /package/dist/{api-server-5VEESFOT.js.map → doctor-QZQAP46W.js.map} +0 -0
- /package/dist/{post-upgrade-2MG3VUDV.js.map → post-upgrade-3ADZRMYJ.js.map} +0 -0
- /package/dist/{config-editor-2GYL2SSZ.js.map → slack-37ZWBDUI.js.map} +0 -0
- /package/dist/{core-plugins-I6UPXQBL.js.map → telegram-2ZCCCZIY.js.map} +0 -0
- /package/dist/{discord-DXDTGVGS.js.map → tunnel-45HA72MB.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -310,7 +310,7 @@ async function cmdPlugin(args2 = []) {
|
|
|
310
310
|
return;
|
|
311
311
|
}
|
|
312
312
|
case "create": {
|
|
313
|
-
const { cmdPluginCreate } = await import("./plugin-create-
|
|
313
|
+
const { cmdPluginCreate } = await import("./plugin-create-5HQRF2ID.js");
|
|
314
314
|
await cmdPluginCreate();
|
|
315
315
|
return;
|
|
316
316
|
}
|
|
@@ -339,7 +339,7 @@ async function setPluginEnabled(name, enabled) {
|
|
|
339
339
|
async function configurePlugin(name) {
|
|
340
340
|
const os = await import("os");
|
|
341
341
|
const path4 = await import("path");
|
|
342
|
-
const { corePlugins } = await import("./core-plugins-
|
|
342
|
+
const { corePlugins } = await import("./core-plugins-ROU4GPLT.js");
|
|
343
343
|
const { SettingsManager } = await import("./settings-manager-MD2U4ZV2.js");
|
|
344
344
|
const { createInstallContext } = await import("./install-context-XPWTFT3J.js");
|
|
345
345
|
const plugin = corePlugins.find((p) => p.name === name);
|
|
@@ -408,7 +408,7 @@ async function installPlugin(input) {
|
|
|
408
408
|
}
|
|
409
409
|
const installSpec = pkgVersion ? `${pkgName}@${pkgVersion}` : pkgName;
|
|
410
410
|
console.log(`Installing ${installSpec}...`);
|
|
411
|
-
const { corePlugins } = await import("./core-plugins-
|
|
411
|
+
const { corePlugins } = await import("./core-plugins-ROU4GPLT.js");
|
|
412
412
|
const builtinPlugin = corePlugins.find((p) => p.name === pkgName);
|
|
413
413
|
const basePath = path4.join(os.homedir(), ".openacp", "plugins");
|
|
414
414
|
const settingsManager = new SettingsManager(basePath);
|
|
@@ -501,7 +501,7 @@ async function uninstallPlugin(name, purge) {
|
|
|
501
501
|
process.exit(1);
|
|
502
502
|
}
|
|
503
503
|
try {
|
|
504
|
-
const { corePlugins } = await import("./core-plugins-
|
|
504
|
+
const { corePlugins } = await import("./core-plugins-ROU4GPLT.js");
|
|
505
505
|
const plugin = corePlugins.find((p) => p.name === name);
|
|
506
506
|
if (plugin?.uninstall) {
|
|
507
507
|
const { SettingsManager } = await import("./settings-manager-MD2U4ZV2.js");
|
|
@@ -536,6 +536,7 @@ function printApiHelp() {
|
|
|
536
536
|
openacp api status Show active sessions
|
|
537
537
|
openacp api session <id> Show session details
|
|
538
538
|
openacp api new [agent] [workspace] Create a new session
|
|
539
|
+
[--channel <id>]
|
|
539
540
|
openacp api send <id> <prompt> Send prompt to session
|
|
540
541
|
openacp api cancel <id> Cancel a session
|
|
541
542
|
openacp api dangerous <id> on|off Toggle dangerous mode
|
|
@@ -593,16 +594,19 @@ dangerous mode, queue depth, and channel/thread IDs.
|
|
|
593
594
|
|
|
594
595
|
\x1B[1mUsage:\x1B[0m
|
|
595
596
|
openacp api new [agent] [workspace]
|
|
596
|
-
openacp api new [agent] --workspace <path>
|
|
597
|
+
openacp api new [agent] --workspace <path> [--channel <id>]
|
|
597
598
|
|
|
598
599
|
\x1B[1mArguments:\x1B[0m
|
|
599
600
|
[agent] Agent name (uses default if omitted)
|
|
600
601
|
[workspace] Working directory for the session
|
|
601
602
|
|
|
603
|
+
\x1B[1mOptions:\x1B[0m
|
|
604
|
+
--channel <id> Target adapter (e.g. telegram, discord). Defaults to first registered adapter.
|
|
605
|
+
|
|
602
606
|
\x1B[1mExamples:\x1B[0m
|
|
603
607
|
openacp api new
|
|
604
608
|
openacp api new claude /path/to/project
|
|
605
|
-
openacp api new
|
|
609
|
+
openacp api new claude /path/to/project --channel discord
|
|
606
610
|
`,
|
|
607
611
|
"send": `
|
|
608
612
|
\x1B[1mopenacp api send\x1B[0m \u2014 Send prompt to a session
|
|
@@ -768,9 +772,12 @@ Shows the version of the currently running daemon process.
|
|
|
768
772
|
const agent = args2[2];
|
|
769
773
|
const workspaceIdx = args2.indexOf("--workspace");
|
|
770
774
|
const workspace = workspaceIdx !== -1 ? args2[workspaceIdx + 1] : args2[3];
|
|
775
|
+
const channelIdx = args2.indexOf("--channel");
|
|
776
|
+
const channel = channelIdx !== -1 ? args2[channelIdx + 1] : void 0;
|
|
771
777
|
const body = {};
|
|
772
778
|
if (agent) body.agent = agent;
|
|
773
779
|
if (workspace) body.workspace = workspace;
|
|
780
|
+
if (channel) body.channel = channel;
|
|
774
781
|
const res = await apiCall(port, "/api/sessions", {
|
|
775
782
|
method: "POST",
|
|
776
783
|
headers: { "Content-Type": "application/json" },
|
|
@@ -1324,7 +1331,7 @@ the API for live updates. When stopped, edits config file directly.
|
|
|
1324
1331
|
}
|
|
1325
1332
|
return;
|
|
1326
1333
|
}
|
|
1327
|
-
const { runConfigEditor } = await import("./config-editor-
|
|
1334
|
+
const { runConfigEditor } = await import("./config-editor-3IKBPZA7.js");
|
|
1328
1335
|
const { ConfigManager } = await import("./config-I4FMCJGZ.js");
|
|
1329
1336
|
const cm = new ConfigManager();
|
|
1330
1337
|
if (!await cm.exists()) {
|
|
@@ -1511,7 +1518,7 @@ a "Handoff" slash command to Claude Code.
|
|
|
1511
1518
|
`);
|
|
1512
1519
|
return;
|
|
1513
1520
|
}
|
|
1514
|
-
const { getIntegration, listIntegrations } = await import("./integrate-
|
|
1521
|
+
const { getIntegration, listIntegrations } = await import("./integrate-G6CVXTGT.js");
|
|
1515
1522
|
const agent = args2[1];
|
|
1516
1523
|
const uninstall = args2.includes("--uninstall");
|
|
1517
1524
|
if (!agent) {
|
|
@@ -1587,7 +1594,7 @@ Fixable issues can be auto-repaired when not using --dry-run.
|
|
|
1587
1594
|
process.exit(1);
|
|
1588
1595
|
}
|
|
1589
1596
|
const dryRun = args2.includes("--dry-run");
|
|
1590
|
-
const { DoctorEngine } = await import("./doctor-
|
|
1597
|
+
const { DoctorEngine } = await import("./doctor-QZQAP46W.js");
|
|
1591
1598
|
const engine = new DoctorEngine({ dryRun });
|
|
1592
1599
|
console.log("\n\u{1FA7A} OpenACP Doctor\n");
|
|
1593
1600
|
const report = await engine.runAll();
|
|
@@ -1805,7 +1812,7 @@ Run 'openacp agents' to see available agents.
|
|
|
1805
1812
|
const { getAgentCapabilities } = await import("./agent-dependencies-WS7Z2DFW.js");
|
|
1806
1813
|
const caps = getAgentCapabilities(result.agentKey);
|
|
1807
1814
|
if (caps.integration) {
|
|
1808
|
-
const { installIntegration } = await import("./integrate-
|
|
1815
|
+
const { installIntegration } = await import("./integrate-G6CVXTGT.js");
|
|
1809
1816
|
const intResult = await installIntegration(result.agentKey, caps.integration);
|
|
1810
1817
|
if (intResult.success) {
|
|
1811
1818
|
console.log(` \x1B[32m\u2713\x1B[0m Handoff integration installed for ${result.agentKey}`);
|
|
@@ -1847,7 +1854,7 @@ async function agentsUninstall(name, help = false) {
|
|
|
1847
1854
|
const { getAgentCapabilities } = await import("./agent-dependencies-WS7Z2DFW.js");
|
|
1848
1855
|
const caps = getAgentCapabilities(name);
|
|
1849
1856
|
if (caps.integration) {
|
|
1850
|
-
const { uninstallIntegration } = await import("./integrate-
|
|
1857
|
+
const { uninstallIntegration } = await import("./integrate-G6CVXTGT.js");
|
|
1851
1858
|
await uninstallIntegration(name, caps.integration);
|
|
1852
1859
|
console.log(` \x1B[32m\u2713\x1B[0m Handoff integration removed for ${name}`);
|
|
1853
1860
|
}
|
|
@@ -2112,10 +2119,10 @@ async function cmdOnboard() {
|
|
|
2112
2119
|
const { ConfigManager } = await import("./config-I4FMCJGZ.js");
|
|
2113
2120
|
const cm = new ConfigManager();
|
|
2114
2121
|
if (await cm.exists()) {
|
|
2115
|
-
const { runReconfigure } = await import("./setup-
|
|
2122
|
+
const { runReconfigure } = await import("./setup-EYAFK2WI.js");
|
|
2116
2123
|
await runReconfigure(cm);
|
|
2117
2124
|
} else {
|
|
2118
|
-
const { runSetup } = await import("./setup-
|
|
2125
|
+
const { runSetup } = await import("./setup-EYAFK2WI.js");
|
|
2119
2126
|
await runSetup(cm, { skipRunMode: true });
|
|
2120
2127
|
}
|
|
2121
2128
|
}
|
|
@@ -2154,7 +2161,7 @@ async function cmdDefault(command2) {
|
|
|
2154
2161
|
const { ConfigManager } = await import("./config-I4FMCJGZ.js");
|
|
2155
2162
|
const cm = new ConfigManager();
|
|
2156
2163
|
if (!await cm.exists()) {
|
|
2157
|
-
const { runSetup } = await import("./setup-
|
|
2164
|
+
const { runSetup } = await import("./setup-EYAFK2WI.js");
|
|
2158
2165
|
const shouldStart = await runSetup(cm);
|
|
2159
2166
|
if (!shouldStart) process.exit(0);
|
|
2160
2167
|
}
|
|
@@ -2172,7 +2179,7 @@ async function cmdDefault(command2) {
|
|
|
2172
2179
|
}
|
|
2173
2180
|
const { markRunning } = await import("./daemon-PXO5QPCR.js");
|
|
2174
2181
|
markRunning();
|
|
2175
|
-
const { startServer } = await import("./main-
|
|
2182
|
+
const { startServer } = await import("./main-UVTZ46WP.js");
|
|
2176
2183
|
await startServer();
|
|
2177
2184
|
}
|
|
2178
2185
|
|
|
@@ -2246,7 +2253,7 @@ async function cmdDev(args2 = []) {
|
|
|
2246
2253
|
process.env.OPENACP_DEBUG = "1";
|
|
2247
2254
|
}
|
|
2248
2255
|
process.env.OPENACP_DEV_LOOP = "1";
|
|
2249
|
-
const { startServer } = await import("./main-
|
|
2256
|
+
const { startServer } = await import("./main-UVTZ46WP.js");
|
|
2250
2257
|
await startServer({ devPluginPath: pluginPath, noWatch });
|
|
2251
2258
|
}
|
|
2252
2259
|
|
|
@@ -2279,7 +2286,7 @@ var commands = {
|
|
|
2279
2286
|
"onboard": () => cmdOnboard(),
|
|
2280
2287
|
"dev": () => cmdDev(args),
|
|
2281
2288
|
"--daemon-child": async () => {
|
|
2282
|
-
const { startServer } = await import("./main-
|
|
2289
|
+
const { startServer } = await import("./main-UVTZ46WP.js");
|
|
2283
2290
|
await startServer();
|
|
2284
2291
|
}
|
|
2285
2292
|
};
|