autoclaw 1.0.33 → 1.0.34

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -78,7 +78,11 @@ async function runSetup(options = {}) {
78
78
  // Load both to show current effective values as defaults
79
79
  const globalConfig = loadJsonConfig(GLOBAL_CONFIG_FILE);
80
80
  const localConfig = loadJsonConfig(LOCAL_CONFIG_FILE);
81
- const currentConfig = { ...globalConfig, ...localConfig };
81
+ // If setting up Global (default), prioritize Global values for display, falling back to Local.
82
+ // If setting up Project, prioritize Project values (standard effective config).
83
+ const currentConfig = isProject
84
+ ? { ...globalConfig, ...localConfig }
85
+ : { ...localConfig, ...globalConfig };
82
86
  function maskSecret(secret) {
83
87
  if (!secret || secret.length < 8)
84
88
  return '******';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoclaw",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {