@staff0rd/assist 0.528.2 → 0.529.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.528.2",
9
+ version: "0.529.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -10471,6 +10471,21 @@ function getNestedValue(obj, path71) {
10471
10471
  return current;
10472
10472
  }
10473
10473
 
10474
+ // src/commands/config/configEntryLayers.ts
10475
+ var LAYERS = [
10476
+ ["project", "project"],
10477
+ ["repo", "repoOverride"],
10478
+ ["global", "global"]
10479
+ ];
10480
+ function configEntryLayers(key, layers, node) {
10481
+ const entryLayers = {};
10482
+ for (const [scope, layer] of LAYERS) {
10483
+ const raw = getNestedValue(layers[layer], key);
10484
+ if (raw !== void 0) entryLayers[scope] = redactConfigSecrets(raw, node);
10485
+ }
10486
+ return entryLayers;
10487
+ }
10488
+
10474
10489
  // src/commands/config/isGlobalOnlyConfigKey.ts
10475
10490
  var GLOBAL_ONLY_KEYS = ["sync.autoConfirm"];
10476
10491
  function isGlobalOnlyConfigKey(key) {
@@ -10604,6 +10619,7 @@ function readConfigEntries(cwd) {
10604
10619
  value: redactConfigSecrets(getNestedValue(config, leaf.key), node),
10605
10620
  source,
10606
10621
  sources,
10622
+ layers: configEntryLayers(leaf.key, layers, node),
10607
10623
  ...layers.repoKey ? { repoKey: layers.repoKey } : {},
10608
10624
  globalOnly: isGlobalOnlyConfigKey(leaf.key),
10609
10625
  node
@@ -29908,7 +29924,12 @@ import { fileURLToPath as fileURLToPath8 } from "url";
29908
29924
  var __filename4 = fileURLToPath8(import.meta.url);
29909
29925
  var __dirname6 = path58.dirname(__filename4);
29910
29926
  function readDesignSystemPrompt() {
29911
- const promptPath = path58.join(__dirname6, "..", "claude", "system-prompt.md");
29927
+ const promptPath = path58.join(
29928
+ __dirname6,
29929
+ "..",
29930
+ "claude",
29931
+ "design-system-prompt.md"
29932
+ );
29912
29933
  return fs35.readFileSync(promptPath, "utf8");
29913
29934
  }
29914
29935
 
@@ -34929,10 +34950,12 @@ function syncCodex(claudeDir) {
34929
34950
  import * as fs45 from "fs";
34930
34951
  import * as path65 from "path";
34931
34952
  function syncDesign(claudeDir, targetBase) {
34932
- const systemPromptSource = path65.join(claudeDir, "system-prompt.md");
34933
- const systemPromptTarget = path65.join(targetBase, "system-prompt.md");
34953
+ const systemPromptSource = path65.join(claudeDir, "design-system-prompt.md");
34954
+ const systemPromptTarget = path65.join(targetBase, "design-system-prompt.md");
34934
34955
  fs45.copyFileSync(systemPromptSource, systemPromptTarget);
34935
- console.log("Copied system-prompt.md to ~/.claude/system-prompt.md");
34956
+ console.log(
34957
+ "Copied design-system-prompt.md to ~/.claude/design-system-prompt.md"
34958
+ );
34936
34959
  const skillsSource = path65.join(claudeDir, "skills");
34937
34960
  const skillsTarget = path65.join(targetBase, "skills");
34938
34961
  fs45.mkdirSync(skillsTarget, { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.528.2",
3
+ "version": "0.529.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {