@ornexus/neocortex 4.66.52 → 4.66.54
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.ps1 +1 -1
- package/install.sh +1 -1
- package/package.json +2 -2
- package/packages/client/dist/cli.js +2 -2
- package/packages/client/dist/commands/invoke.js +78 -78
- package/packages/client/dist/commands/story-worktree.d.ts +4 -1
- package/packages/client/dist/commands/story-worktree.js +4 -4
- package/packages/client/dist/git/epic-origin-rebind.d.ts +20 -0
- package/packages/client/dist/git/epic-origin-rebind.js +1 -0
- package/packages/client/dist/private-execution/isolated-workspace.d.ts +5 -0
- package/packages/client/dist/private-execution/isolated-workspace.js +1 -1
- package/packages/shared/dist/invocation/index.d.ts +1 -0
- package/packages/shared/dist/invocation/index.js +1 -0
- package/packages/shared/dist/invocation/invoke-validation-failure.d.ts +31 -0
- package/packages/shared/dist/invocation/invoke-validation-failure.js +48 -0
- package/packages/shared/dist/invocation/semantic-gate-remediation.d.ts +56 -0
- package/packages/shared/dist/invocation/semantic-gate-remediation.js +62 -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/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.ps1
CHANGED
package/install.sh
CHANGED
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ Commands:
|
|
|
17
17
|
planning-qa record Record digest-bound QA evidence for an admitted P01-P03 checkpoint from stdin
|
|
18
18
|
private-session <inspect-rejected|discard-rejected|renew-lease|accept-diagnosis|accept-research|accept-specification|accept-tasks|validate-implementation|accept-implementation|accept-refactor-advisory|accept-test-validation|accept-qa|accept-project-memory> Root recovery and phase validation
|
|
19
19
|
story-checkpoint Root-owned direct-*yolo commit/checkpoint boundary
|
|
20
|
-
story-worktree <create|adopt|sync|status|release> P225 temporary story worktree lifecycle (public-safe JSON)
|
|
20
|
+
story-worktree <create|adopt|sync|status|release|rebind-origin> P225 temporary story worktree lifecycle (public-safe JSON)
|
|
21
21
|
legacy-story-branch Root-owned setup and C01 checkpoint for recorded story-branch projects
|
|
22
22
|
legacy-story-pr Root-owned legacy C08/C09 checkpoint, C10 PR, C11 review and C12 merge boundary
|
|
23
23
|
legacy-epic-terminal Physical C12 preflight and root QA acceptance; never releases quota
|
|
@@ -232,4 +232,4 @@ License:
|
|
|
232
232
|
`);return}process.stderr.write(`[Neocortex] ${y.ARTIFACT_UNAVAILABLE}: registry reconciliation could not be completed safely; no invoke request was sent.
|
|
233
233
|
`)}function v(){return{version:u,checksum:m}}function S(r){const a=k(r);return!a||a.version===u&&a.checksum===m}function A(r,a){const o=d(a,"--project-root")||process.cwd();try{if(process.env.NEOCORTEX_REGISTRY_REEXECUTED==="1"&&!S(o))throw new h(y.ARTIFACT_MISMATCH,"The reinstalled client still does not match the trusted local projection; no invoke request was sent.");if(f({projectRoot:o,installedVersion:p(),installedIdentity:v()}).status!=="updated")return;const t=b(process.execPath,[process.argv[1],...r],{stdio:"inherit",env:{...process.env,NEOCORTEX_REGISTRY_REEXECUTED:"1"},shell:!1});return t.error?1:t.status??1}catch(e){return x(e),1}}function R(r,a){const o=[...r],e=o.indexOf("--project-root");return e>=0?o[e+1]=a:o.push("--project-root",a),o}function P(r){const a=r instanceof Error&&/^project-root-[a-z-]+$/.test(r.message)?r.message:"project-root-resolution-failed";process.stderr.write(`[Neocortex] ${a}: project root could not be resolved safely; no invoke request was sent.
|
|
234
234
|
`)}async function q(){const r=process.argv.slice(2),a=r[0];a&&C.has(a.toLowerCase())&&process.exit(0),(!a||a==="--help"||a==="-h")&&(console.log(g),process.exit(0)),(a==="--version"||a==="-v")&&(console.log(p()),process.stderr.write(`Licensed under BSL-1.1 (Business Source License 1.1)
|
|
235
|
-
`),process.exit(0));const o=r.slice(1);switch(a){case"invoke":{const e=await import("./commands/invoke.js");let t;try{const l=typeof e.resolveInvokeCliProjectRoot=="function"?await e.resolveInvokeCliProjectRoot(d(o,"--project-root")):void 0;t=l?R(o,l):[...o]}catch(l){P(l),process.exitCode=1;break}const
|
|
235
|
+
`),process.exit(0));const o=r.slice(1);switch(a){case"invoke":{const e=await import("./commands/invoke.js");let t;try{const l=typeof e.resolveInvokeCliProjectRoot=="function"?await e.resolveInvokeCliProjectRoot(d(o,"--project-root")):void 0;t=l?R(o,l):[...o]}catch(l){P(l),process.exitCode=1;break}const i=["invoke",...t],s=A(i,t);if(s!==void 0){process.exitCode=s;break}const{invokeCliHandler:n,flushInvokeCliOutput:c}=e,j=await n(t),w=await c();process.exitCode=w?j:1;break}case"reconcile-registry":{const e=d(o,"--project-root")||process.cwd();try{f({projectRoot:e,installedVersion:p(),installedIdentity:v(),checkLatest:o.includes("--check-latest")}),process.exitCode=0}catch(t){x(t),process.exitCode=1}break}case"activate":{const{activate:e}=await import("./commands/activate.js");let t,i,s=!1;for(let n=0;n<o.length;n++){const c=o[n];c==="--server-url"?i=o[++n]:c==="--non-interactive"?s=!0:c==="--help"||c==="-h"?(console.log(g),process.exit(0)):c.startsWith("-")||(t=c)}t||(console.error("Error: License key is required."),console.error("Usage: neocortex-client activate <license-key>"),console.error("Example: neocortex-client activate NX-PRO-ABC-123"),process.exit(1));try{const n=await e({licenseKey:t,serverUrl:i,nonInteractive:s});n.success?(console.log(n.message),process.exit(0)):(console.error(n.message),process.exit(1))}catch(n){const c=n instanceof Error?n.message:String(n);console.error(`Activation failed: ${c}`),process.exit(1)}break}case"cache-status":{console.log("Cache status requires an active client session."),console.log("Use this command within a running Neocortex client context."),process.exit(0);break}case"doctor":{const{doctorCliHandler:e}=await import("./commands/doctor.js"),t=await e(o);process.exit(t);break}case"auth-doctor":{const{authDoctorCliHandler:e}=await import("./commands/auth-doctor.js"),t=await e(o);process.exitCode=t;break}case"config":{const{configCliHandler:e}=await import("./commands/config.js"),t=await e(o);process.exit(t);break}case"refresh-memory":{const{refreshMemoryCliHandler:e}=await import("./commands/refresh-memory.js"),t=await e(o);process.exit(t);break}case"architecture-memory":{const{architectureMemoryTerminalCliHandler:e}=await import("./commands/architecture-memory-terminal.js"),t=await e(o);process.exit(t);break}case"planning-diagnosis":{const{planningDiagnosisCliHandler:e}=await import("./commands/planning-diagnosis.js"),t=await e(o);process.exit(t);break}case"planning-research":{const{planningResearchCliHandler:e}=await import("./commands/planning-research.js"),t=await e(o);process.exit(t);break}case"private-session":{const{privateSessionCliHandler:e}=await import("./commands/private-session.js"),t=await e(o);process.exit(t);break}case"planning-memory":{const{planningMemoryCliHandler:e}=await import("./commands/planning-memory.js"),t=await e(o);process.exit(t);break}case"planning-generation":{const{planningGenerationCliHandler:e}=await import("./commands/planning-generation.js"),t=await e(o);process.exit(t);break}case"planning-qa":{const{planningQaCliHandler:e}=await import("./commands/planning-qa.js"),t=await e(o);process.exit(t);break}case"story-checkpoint":{const{storyCheckpointCliHandler:e}=await import("./commands/story-checkpoint.js"),t=await e(o);process.exit(t);break}case"story-worktree":{const{storyWorktreeCliHandler:e}=await import("./commands/story-worktree.js"),t=await e(o);process.exit(t);break}case"legacy-story-branch":{const{legacyStoryBranchCliHandler:e}=await import("./commands/legacy-story-branch.js"),t=await e(o);process.exit(t);break}case"legacy-story-pr":{const{legacyStoryPrCliHandler:e}=await import("./commands/legacy-story-pr.js"),t=await e(o);process.exit(t);break}case"legacy-epic-terminal":{const{legacyEpicTerminalCliHandler:e}=await import("./commands/legacy-epic-terminal.js"),t=await e(o);process.exit(t);break}case"mutation-qa":{const{mutationQaCliHandler:e}=await import("./commands/mutation-qa.js"),t=await e(o);process.exit(t);break}case"property-qa":{const{propertyQaCliHandler:e}=await import("./commands/property-qa.js"),t=await e(o);process.exit(t);break}case"qa-synthetic-backend":{const{syntheticBackendCliHandler:e}=await import("./commands/qa-synthetic-backend.js");process.exitCode=await e(r.slice(1));break}case"qa-scan-review":{const{qaScanReviewCliHandler:e}=await import("./commands/qa-scan-review.js"),t=await e(o);process.exit(t);break}case"qa-root":{const{qaControlCliHandler:e}=await import("./commands/qa-control.js");process.exit(await e(o));break}case"refactor-root":{if(o[0]==="control"){const{refactorControlCliHandler:i}=await import("./commands/refactor-control.js");process.exit(await i(o))}if(o[0]==="characterize"){const{refactorCharacterizationCliHandler:i}=await import("./commands/refactor-characterization.js");process.exit(i(o))}if(o[0]==="review-accept"||o[0]==="review-status"){const{refactorReviewCliHandler:i}=await import("./commands/refactor-review.js");process.exit(await i(o))}if(o[0]?.startsWith("commit-")){const{refactorCommitCliHandler:i}=await import("./commands/refactor-commit.js");process.exit(i(o))}const{refactorRootCliHandler:e}=await import("./commands/refactor-root.js"),t=e(o);process.exit(t);break}case"native-agent":{const{nativeAgentCliHandler:e}=await import("./commands/native-agent.js"),t=await e(o);process.exit(t);break}case"architecture-answers":{const{architectureAnswersCliHandler:e}=await import("./commands/architecture-answers.js"),t=await e(o);process.exit(t);break}case"update":{console.log("To update Neocortex, run:"),console.log(" neocortex update"),console.log(""),console.log("Or manually:"),console.log(" npm install -g @ornexus/neocortex@latest"),process.exit(0);break}default:console.error(`Unknown command: ${a}`),console.error('Run "neocortex-client --help" for usage information.'),process.exit(1)}}q().catch(r=>{console.error(`Fatal error: ${r instanceof Error?r.message:String(r)}`),process.exit(1)});
|