@ornexus/neocortex 4.66.50 → 4.66.52
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/release-source.json +1 -1
- package/dist/sbom.cdx.json +1190 -1190
- package/install.js +8 -8
- package/install.ps1 +188 -162
- package/install.sh +1 -1
- package/package.json +2 -2
- package/packages/client/dist/commands/activate.js +6 -7
- package/packages/client/dist/commands/invoke.js +82 -82
- package/packages/client/dist/config/secure-config.d.ts +4 -0
- package/packages/client/dist/config/secure-config.js +6 -6
- package/packages/client/dist/migrations/project-identity.d.ts +3 -0
- package/packages/client/dist/migrations/project-identity.js +7 -7
- package/packages/client/dist/private-execution/isolated-admission.js +11 -11
- package/packages/client/dist/private-execution/isolated-workspace.js +1 -1
- package/packages/client/dist/private-execution/planning-diagnosis-checkpoint.js +5 -5
- package/packages/client/dist/private-execution/planning-memory-checkpoint.js +3 -3
- package/packages/client/dist/runner/headless/run-yoloop.d.ts +2 -0
- package/packages/client/dist/runner/headless/run-yoloop.js +4 -4
- package/packages/shared/dist/invocation/semantic-gate-remediation.d.ts +45 -0
- package/packages/shared/dist/invocation/semantic-gate-remediation.js +51 -0
- package/targets-stubs/antigravity/gemini.md +1 -1
- package/targets-stubs/antigravity/neocortex.md +1 -1
- package/targets-stubs/antigravity/skill/SKILL.md +1 -1
- package/targets-stubs/claude-code/neocortex-root.agent.yaml +1 -1
- package/targets-stubs/claude-code/neocortex-root.md +2 -2
- package/targets-stubs/claude-code/neocortex-sentinel.md +1 -1
- package/targets-stubs/claude-code/neocortex.agent.yaml +1 -1
- package/targets-stubs/claude-code/neocortex.md +2 -2
- package/targets-stubs/codex/AGENTS.md +1 -1
- package/targets-stubs/codex/neocortex.toml +1 -1
- package/targets-stubs/cursor/agent.md +2 -2
- package/targets-stubs/deepseek-harness/SKILL.md +1 -1
- package/targets-stubs/gemini-cli/agent.md +2 -2
- package/targets-stubs/gemini-cli/agents/neocortex.md +2 -2
- package/targets-stubs/grok/SKILL.md +1 -1
- package/targets-stubs/kimi/neocortex.md +1 -1
- package/targets-stubs/lib/managed-config-merge.js +12 -4
- package/targets-stubs/openclaw/SKILL.md +1 -1
- package/targets-stubs/opencode/neocortex-root.md +2 -2
- package/targets-stubs/opencode/neocortex.md +2 -2
- package/targets-stubs/vscode/neocortex.agent.md +2 -2
package/install.js
CHANGED
|
@@ -227,7 +227,7 @@ function runWindows(selectedTargets) {
|
|
|
227
227
|
checkScript(scriptPath);
|
|
228
228
|
|
|
229
229
|
const mappedArgs = mapArgs('win32', args);
|
|
230
|
-
if (selectedTargets) {
|
|
230
|
+
if (selectedTargets?.length) {
|
|
231
231
|
mappedArgs.push('-Targets', selectedTargets.join(','));
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -318,7 +318,7 @@ function showHelp() {
|
|
|
318
318
|
console.log(` ${color.cyan('update')} Atualizar para a ultima versao`);
|
|
319
319
|
console.log('');
|
|
320
320
|
console.log(color.dim(' Opcoes:'));
|
|
321
|
-
console.log(` ${color.cyan('-y, --yes')} Modo automatico
|
|
321
|
+
console.log(` ${color.cyan('-y, --yes')} Modo automatico. No Windows use --targets para adapters.`);
|
|
322
322
|
console.log(` ${color.cyan('--targets=<lista>')} Plataformas separadas por virgula`);
|
|
323
323
|
console.log(` ${color.cyan('--create-project')} Instalar estrutura no projeto (opt-in)`);
|
|
324
324
|
console.log(` ${color.cyan('-s, --skip-project')} Instalacao somente global (padrao)`);
|
|
@@ -340,7 +340,7 @@ function showHelp() {
|
|
|
340
340
|
console.log('');
|
|
341
341
|
console.log(color.dim(' Exemplos:'));
|
|
342
342
|
console.log(` npx @ornexus/neocortex ${color.dim('# Selecao interativa')}`);
|
|
343
|
-
console.log(
|
|
343
|
+
console.log(' npx @ornexus/neocortex --yes --targets=opencode');
|
|
344
344
|
console.log(` npx @ornexus/neocortex --targets=claude-code,cursor`);
|
|
345
345
|
console.log('');
|
|
346
346
|
console.log(color.dim(' Linux global install:'));
|
|
@@ -386,7 +386,7 @@ async function interactiveWizard() {
|
|
|
386
386
|
const selectedPlatforms = await multiselect({
|
|
387
387
|
message: 'Selecione as plataformas de destino:',
|
|
388
388
|
options,
|
|
389
|
-
initialValues: PLATFORMS.filter(p => p.default).map(p => p.key),
|
|
389
|
+
initialValues: PLATFORMS.filter(p => os.platform() === 'win32' ? detected[p.key] : p.default).map(p => p.key),
|
|
390
390
|
required: true,
|
|
391
391
|
});
|
|
392
392
|
|
|
@@ -554,9 +554,9 @@ async function main() {
|
|
|
554
554
|
selectedTargets = targetsArg;
|
|
555
555
|
|
|
556
556
|
}
|
|
557
|
-
//
|
|
557
|
+
// Windows unattended install prepares the client. Adapters require a target.
|
|
558
558
|
else if (isAutoYes()) {
|
|
559
|
-
selectedTargets = ['claude-code'];
|
|
559
|
+
selectedTargets = platform === 'win32' ? [] : ['claude-code'];
|
|
560
560
|
}
|
|
561
561
|
// Priority 3: Interactive selection (if TTY)
|
|
562
562
|
else if (process.stdin.isTTY && process.stdout.isTTY) {
|
|
@@ -572,9 +572,9 @@ async function main() {
|
|
|
572
572
|
process.exit(0);
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
//
|
|
575
|
+
// Preserve the Unix unattended default.
|
|
576
576
|
else {
|
|
577
|
-
selectedTargets = ['claude-code'];
|
|
577
|
+
selectedTargets = platform === 'win32' ? [] : ['claude-code'];
|
|
578
578
|
}
|
|
579
579
|
selectedTargets = canonicalizeTargets(selectedTargets);
|
|
580
580
|
|