@bli-cockpit/cli 0.2.33 → 0.2.35

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.
@@ -138,13 +138,13 @@ async function inspectAgentRulesForHost(host, options = {}) {
138
138
  export function cockpitAgentRulesBlock(options = {}) {
139
139
  const scopePaths = normalizeScopePaths(options);
140
140
  const scopeLine = scopePaths.length === 1
141
- ? `- Only applies when the current working directory is inside the Cockpit-onboarded workspace/repo: \`${scopePaths[0]}\`. Outside that folder, do not run Cockpit ticket binding or sync commands for private chats or unrelated repos.`
141
+ ? `- Only applies when the current working directory is inside the Tower-onboarded workspace/repo: \`${scopePaths[0]}\`. Outside that folder, do not run Tower ticket binding or sync commands for private chats or unrelated repos.`
142
142
  : scopePaths.length > 1
143
- ? `- Only applies when the current working directory is inside one of these Cockpit-onboarded workspace roots: ${scopePaths.map((scopePath) => `\`${scopePath}\``).join(", ")}. Outside those folders, do not run Cockpit ticket binding or sync commands for private chats or unrelated repos.`
144
- : "- Only applies when the current working directory is inside the workspace/repo that ran `cockpit onboard` or `cockpit agent-rules install`. Outside that folder, do not run Cockpit ticket binding or sync commands for private chats or unrelated repos.";
143
+ ? `- Only applies when the current working directory is inside one of these Tower-onboarded workspace roots: ${scopePaths.map((scopePath) => `\`${scopePath}\``).join(", ")}. Outside those folders, do not run Tower ticket binding or sync commands for private chats or unrelated repos.`
144
+ : "- Only applies when the current working directory is inside the workspace/repo that ran `cockpit onboard` or `cockpit agent-rules install`. Outside that folder, do not run Tower ticket binding or sync commands for private chats or unrelated repos.";
145
145
  return [
146
146
  MANAGED_BLOCK_START,
147
- "## Cockpit Ticket Binding",
147
+ "## Tower Ticket Binding",
148
148
  "",
149
149
  scopeLine,
150
150
  "- Ticketed work (implement / debug / review / PR / ship): run `cockpit start --ticket <ticket-id> --workspace \"$PWD\"` before the first code edit (the flag is `--ticket`). No ticket ID visible → search Linear first; none exists and the work is ticket-worthy → create a narrow Linear ticket, then bind.",
package/dist/autostart.js CHANGED
@@ -380,7 +380,7 @@ async function windowsTaskStatus(options) {
380
380
  })}`;
381
381
  const currentScript = await readFile(scriptPath, "utf8").catch(() => null);
382
382
  if (currentScript !== expectedScript) {
383
- registrationProblems.push("sync script does not match the current roots or Cockpit runtime");
383
+ registrationProblems.push("sync script does not match the current roots or Tower runtime");
384
384
  }
385
385
  }
386
386
  // Same shape as the sync-script checks: existence always, content only when
@@ -399,7 +399,7 @@ async function windowsTaskStatus(options) {
399
399
  });
400
400
  const currentLauncher = await readFile(launcherPath, "utf8").catch(() => null);
401
401
  if (currentLauncher !== expectedLauncher) {
402
- registrationProblems.push("sync launcher does not match the current Cockpit runtime");
402
+ registrationProblems.push("sync launcher does not match the current Tower runtime");
403
403
  }
404
404
  }
405
405
  // Both branches log. A line that only fires on failure cannot answer "did
@@ -721,7 +721,7 @@ function windowsActionArgumentProblem(actionArguments, expectedFlags, expectedLa
721
721
  return "task action names no sync launcher to run";
722
722
  }
723
723
  if (!sameWindowsPath(launcherArgument, expectedLauncherPath)) {
724
- return "task action runs a script other than the Cockpit sync launcher";
724
+ return "task action runs a script other than the Tower sync launcher";
725
725
  }
726
726
  return null;
727
727
  }
@@ -883,7 +883,7 @@ function darwinAgentRegistrationProblems(plist, expected) {
883
883
  " </array>",
884
884
  ].join("\n");
885
885
  if (!plist.includes(expectedProgramArguments)) {
886
- problems.push("command does not match the current roots, dashboard URL, or Cockpit runtime");
886
+ problems.push("command does not match the current roots, dashboard URL, or Tower runtime");
887
887
  }
888
888
  return problems;
889
889
  }