@openacp/cli 2026.403.5 → 2026.403.6

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/cli.js CHANGED
@@ -18208,7 +18208,7 @@ var init_path_guard = __esm({
18208
18208
  reason: `Path is outside workspace boundary: ${realPath}`
18209
18209
  };
18210
18210
  }
18211
- if (isWithinCwd) {
18211
+ if (isWithinCwd && !isWithinAllowed) {
18212
18212
  const relativePath = path43.relative(this.cwd, realPath);
18213
18213
  if (relativePath === ".openacpignore") {
18214
18214
  return { allowed: true, reason: "" };
@@ -25035,13 +25035,9 @@ async function promptConfiguredAction(label) {
25035
25035
  );
25036
25036
  }
25037
25037
  async function configureViaPlugin(channelId, settingsManager) {
25038
- const pluginMap = {
25039
- telegram: { importPath: "../../plugins/telegram/index.js", name: "@openacp/telegram" }
25040
- };
25041
- const pluginInfo = pluginMap[channelId];
25042
25038
  let plugin2;
25043
- if (pluginInfo) {
25044
- const pluginModule = await import(pluginInfo.importPath);
25039
+ if (channelId === "telegram") {
25040
+ const pluginModule = await Promise.resolve().then(() => (init_telegram2(), telegram_exports));
25045
25041
  plugin2 = pluginModule.default;
25046
25042
  } else {
25047
25043
  try {
@@ -26521,9 +26517,9 @@ Stops the running daemon (if any) and starts a new one.
26521
26517
  const { checkAndPromptUpdate: checkAndPromptUpdate2 } = await Promise.resolve().then(() => (init_version(), version_exports));
26522
26518
  await checkAndPromptUpdate2();
26523
26519
  const pidPath = getPidPath2(root);
26524
- console.log("Stopping...");
26520
+ if (!json) console.log("Stopping...");
26525
26521
  const stopResult = await stopDaemon2(pidPath, root);
26526
- if (stopResult.stopped) {
26522
+ if (!json && stopResult.stopped) {
26527
26523
  console.log(`Stopped daemon (was PID ${stopResult.pid})`);
26528
26524
  }
26529
26525
  const cm = new ConfigManager2(path60.join(root, "config.json"));