@staff0rd/assist 0.1124.0 → 0.1126.0

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/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.1124.0",
9
+ version: "0.1126.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -10888,7 +10888,7 @@ var ACTIONS = {
10888
10888
  focusTerminal: "focus the active terminal",
10889
10889
  toggleDiff: "open / close the diff panel, or focus the preview pane's primary action",
10890
10890
  focusRepoPicker: "focus the toolbar repo picker",
10891
- openUpdates: "open the version / updates page",
10891
+ openUpdates: "open the nodes page (version and updates)",
10892
10892
  openConfig: "open the config page",
10893
10893
  openMenu: "open the hamburger menu",
10894
10894
  focusAddAgent: "focus the top bar's add agent button",
@@ -20737,11 +20737,11 @@ import { fileURLToPath as fileURLToPath5 } from "url";
20737
20737
  function adviceDir() {
20738
20738
  let current2 = dirname29(fileURLToPath5(import.meta.url));
20739
20739
  while (current2 !== dirname29(current2)) {
20740
- const candidate = join54(current2, "claude", "advice");
20740
+ const candidate = join54(current2, "agent", "advice");
20741
20741
  if (existsSync46(candidate)) return candidate;
20742
20742
  current2 = dirname29(current2);
20743
20743
  }
20744
- throw new Error("Could not locate the shipped claude/advice directory");
20744
+ throw new Error("Could not locate the shipped agent/advice directory");
20745
20745
  }
20746
20746
 
20747
20747
  // src/commands/advise/parseAdviceFragment.ts
@@ -51786,7 +51786,8 @@ var __filename5 = fileURLToPath9(import.meta.url);
51786
51786
  var __dirname6 = path124.dirname(__filename5);
51787
51787
  async function sync(options2) {
51788
51788
  const config = loadConfig();
51789
- const yes = options2?.yes ?? config.sync.autoConfirm;
51789
+ const settingsYes = options2?.yes ?? config.sync.autoConfirm;
51790
+ const conflictsYes = options2?.yes ?? false;
51790
51791
  const prune = { prune: options2?.prune, force: options2?.force };
51791
51792
  const agentDir = path124.join(__dirname6, "..", "agent");
51792
51793
  const claudeDir = path124.join(__dirname6, "..", "claude");
@@ -51798,14 +51799,14 @@ async function sync(options2) {
51798
51799
  const commandNames = syncClaudeCommands(agentDir, targetBase, files);
51799
51800
  const designSkillNames = syncDesign(agentDir, targetBase, files);
51800
51801
  await syncSettings(claudeDir, targetBase, {
51801
- yes,
51802
+ yes: settingsYes,
51802
51803
  preferences: config.sync.preferences
51803
51804
  });
51804
51805
  await syncCodex(agentDir, files, prune);
51805
51806
  syncPi(agentDir, files, prune);
51806
51807
  reportRetiredAgentsFiles();
51807
51808
  pruneClaude(targetBase, [...commandNames, ...designSkillNames], prune, files);
51808
- await files.finish(yes);
51809
+ await files.finish(conflictsYes);
51809
51810
  }
51810
51811
 
51811
51812
  // src/commands/registerSync.ts
@@ -52550,11 +52551,11 @@ function adviceFragments() {
52550
52551
  reportVerifyProblems(
52551
52552
  [
52552
52553
  verifySection(
52553
- "Shipped in claude/advice but missing from adviceFragmentNames (add them, or advice.sections cannot name them)",
52554
+ "Shipped in agent/advice but missing from adviceFragmentNames (add them, or advice.sections cannot name them)",
52554
52555
  [...shipped].filter((name2) => !declared.has(name2))
52555
52556
  ),
52556
52557
  verifySection(
52557
- "Listed in adviceFragmentNames but no longer shipped in claude/advice (remove them)",
52558
+ "Listed in adviceFragmentNames but no longer shipped in agent/advice (remove them)",
52558
52559
  [...declared].filter((name2) => !shipped.has(name2))
52559
52560
  ),
52560
52561
  verifySection(
@@ -53302,7 +53303,7 @@ var checks = [
53302
53303
  },
53303
53304
  {
53304
53305
  name: "advice-fragments",
53305
- description: "Check adviceFragmentNames matches the fragments shipped in claude/advice, so advice.sections can name every one",
53306
+ description: "Check adviceFragmentNames matches the fragments shipped in agent/advice, so advice.sections can name every one",
53306
53307
  action: adviceFragments
53307
53308
  },
53308
53309
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.1124.0",
3
+ "version": "0.1126.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes