@ornexus/neocortex 3.9.23 → 3.9.26

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/install.ps1 CHANGED
@@ -15,7 +15,7 @@ param(
15
15
  [string]$ServerUrl = "https://api.neocortex.ornexus.com"
16
16
  )
17
17
 
18
- $VERSION = "3.9.23"
18
+ $VERSION = "3.9.26"
19
19
 
20
20
  # =============================================================================
21
21
  # CONFIGURACOES
package/install.sh CHANGED
@@ -4,7 +4,7 @@
4
4
  # Development Orchestrator
5
5
 
6
6
  # Versao do instalador
7
- VERSION="3.9.23"
7
+ VERSION="3.9.26"
8
8
 
9
9
  # Flags
10
10
  MIGRATION_DETECTED=false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ornexus/neocortex",
3
- "version": "3.9.23",
4
- "description": "Neocortex v3.9.23 - Orquestrador de Desenvolvimento de Epics & Stories para Claude Code",
3
+ "version": "3.9.26",
4
+ "description": "Neocortex v3.9.26 - Orquestrador de Desenvolvimento de Epics & Stories para Claude Code",
5
5
  "keywords": [
6
6
  "claude",
7
7
  "claude-code",
@@ -118,7 +118,8 @@ function saveConfig(config) {
118
118
  }
119
119
  else {
120
120
  // Fallback: write without license key (should not happen in normal flow)
121
- writeFileSync(CONFIG_FILE, JSON.stringify(config, null, 2) + '\n', 'utf-8');
121
+ const fallbackConfig = { configVersion: 1, ...config };
122
+ writeFileSync(CONFIG_FILE, JSON.stringify(fallbackConfig, null, 2) + '\n', 'utf-8');
122
123
  }
123
124
  }
124
125
  // ── Activate Command ──────────────────────────────────────────────────────
@@ -33,6 +33,9 @@ import { getMachineFingerprint } from '../machine/fingerprint.js';
33
33
  // ── Constants ────────────────────────────────────────────────────────────
34
34
  const CONFIG_DIR = join(homedir(), '.neocortex');
35
35
  const CONFIG_FILE = join(CONFIG_DIR, 'config.json');
36
+ // ── Types ────────────────────────────────────────────────────────────────
37
+ /** Current config schema version (Epic 62 - FR8) */
38
+ const CURRENT_CONFIG_VERSION = 1;
36
39
  // ── License Key Encryption ──────────────────────────────────────────────
37
40
  /**
38
41
  * Encrypt a license key using the machine fingerprint as passphrase.
@@ -114,6 +117,10 @@ export function loadSecureConfig() {
114
117
  const plainKey = migratedConfig.licenseKey;
115
118
  delete migratedConfig.licenseKey;
116
119
  migratedConfig.encryptedLicenseKey = encrypted;
120
+ // Ensure configVersion is preserved or added during migration
121
+ if (!migratedConfig.configVersion) {
122
+ migratedConfig.configVersion = CURRENT_CONFIG_VERSION;
123
+ }
117
124
  writeSecureConfig(migratedConfig);
118
125
  return {
119
126
  serverUrl: config.serverUrl,
@@ -167,6 +174,7 @@ function writeSecureConfig(config) {
167
174
  export function saveSecureConfig(config) {
168
175
  const encrypted = encryptLicenseKey(config.licenseKey);
169
176
  const diskConfig = {
177
+ configVersion: CURRENT_CONFIG_VERSION,
170
178
  serverUrl: config.serverUrl,
171
179
  mode: config.mode,
172
180
  machineId: config.machineId,
@@ -1,4 +1,4 @@
1
- # 🧠 Neocortex v3.9.23 (Free) | OrNexus Team
1
+ # 🧠 Neocortex v3.9.26 (Free) | OrNexus Team
2
2
 
3
3
  This project uses Neocortex, a Development Orchestrator (Free).
4
4
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v3.9.23 (Free) | OrNexus Team"
3
+ description: "🧠 Neocortex v3.9.26 (Free) | OrNexus Team"
4
4
  ---
5
5
 
6
6
  # Neocortex - Thin Client Interface
@@ -4,7 +4,7 @@ agent:
4
4
  name: 'Neocortex'
5
5
  title: 'Development Orchestrator (Free)'
6
6
  icon: '>'
7
- version: '3.9.23'
7
+ version: '3.9.26'
8
8
  architecture: 'thin-client'
9
9
  module: stand-alone
10
10
  hasSidecar: false
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v3.9.23 (Free) | OrNexus Team"
3
+ description: "🧠 Neocortex v3.9.26 (Free) | OrNexus Team"
4
4
  model: opus
5
5
  color: blue
6
6
  tools:
@@ -56,7 +56,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
56
56
  ┌────────────────────────────────────────────────────────────┐
57
57
  │ │
58
58
  │ ####### N E O C O R T E X │
59
- │ ### ######## v3.9.23
59
+ │ ### ######## v3.9.26
60
60
  │ ######### ##### │
61
61
  │ ## ############## Development Orchestrator │
62
62
  │ ## ### ###### ## OrNexus Team (Free) │
@@ -1,4 +1,4 @@
1
- # 🧠 Neocortex v3.9.23 (Free) | OrNexus Team
1
+ # 🧠 Neocortex v3.9.26 (Free) | OrNexus Team
2
2
 
3
3
  You are a Development Orchestrator (Free). All orchestration logic is delivered by the remote Neocortex server.
4
4
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v3.9.23 (Free) | OrNexus Team"
3
+ description: "🧠 Neocortex v3.9.26 (Free) | OrNexus Team"
4
4
  model: fast
5
5
  readonly: false
6
6
  is_background: false
@@ -18,7 +18,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
18
18
  ┌────────────────────────────────────────────────────────────┐
19
19
  │ │
20
20
  │ ####### N E O C O R T E X │
21
- │ ### ######## v3.9.23
21
+ │ ### ######## v3.9.26
22
22
  │ ######### ##### │
23
23
  │ ## ############## Development Orchestrator │
24
24
  │ ## ### ###### ## OrNexus Team (Free) │
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v3.9.23 (Free) | OrNexus Team"
3
+ description: "🧠 Neocortex v3.9.26 (Free) | OrNexus Team"
4
4
  kind: local
5
5
  tools:
6
6
  - read_file
@@ -25,7 +25,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
25
25
  ┌────────────────────────────────────────────────────────────┐
26
26
  │ │
27
27
  │ ####### N E O C O R T E X │
28
- │ ### ######## v3.9.23
28
+ │ ### ######## v3.9.26
29
29
  │ ######### ##### │
30
30
  │ ## ############## Development Orchestrator │
31
31
  │ ## ### ###### ## OrNexus Team (Free) │
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "neocortex"
3
- description: "🧠 Neocortex v3.9.23 (Free) | OrNexus Team"
3
+ description: "🧠 Neocortex v3.9.26 (Free) | OrNexus Team"
4
4
  tools:
5
5
  - readFile
6
6
  - editFiles
@@ -26,7 +26,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
26
26
  ┌────────────────────────────────────────────────────────────┐
27
27
  │ │
28
28
  │ ####### N E O C O R T E X │
29
- │ ### ######## v3.9.23
29
+ │ ### ######## v3.9.26
30
30
  │ ######### ##### │
31
31
  │ ## ############## Development Orchestrator │
32
32
  │ ## ### ###### ## OrNexus Team (Free) │