@ornexus/neocortex 4.60.16 → 4.63.3

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 (69) hide show
  1. package/dist/sbom.cdx.json +29 -29
  2. package/docs/install/installer-diagnostics.md +33 -0
  3. package/install.ps1 +49 -229
  4. package/install.sh +30 -92
  5. package/package.json +5 -2
  6. package/packages/client/dist/adapters/platform-detector.d.ts +7 -6
  7. package/packages/client/dist/adapters/platform-detector.js +1 -1
  8. package/packages/client/dist/agent/refresh-stubs.js +1 -1
  9. package/packages/client/dist/cache/encrypted-cache.d.ts +10 -4
  10. package/packages/client/dist/cache/encrypted-cache.js +1 -1
  11. package/packages/client/dist/cache/in-memory-asset-cache.d.ts +5 -4
  12. package/packages/client/dist/cache/in-memory-asset-cache.js +1 -1
  13. package/packages/client/dist/cache/protected-pi-boundary.d.ts +6 -2
  14. package/packages/client/dist/cache/protected-pi-boundary.js +1 -1
  15. package/packages/client/dist/checkpoint/checkpoint-client-reader.d.ts +31 -30
  16. package/packages/client/dist/checkpoint/checkpoint-client-reader.js +2 -2
  17. package/packages/client/dist/checkpoint/shared-checkpoint-types.d.ts +2 -0
  18. package/packages/client/dist/cli.js +3 -3
  19. package/packages/client/dist/commands/invoke.d.ts +77 -1
  20. package/packages/client/dist/commands/invoke.js +44 -59
  21. package/packages/client/dist/config/resolver-selection.d.ts +12 -31
  22. package/packages/client/dist/config/resolver-selection.js +1 -1
  23. package/packages/client/dist/errors/error-messages.js +1 -1
  24. package/packages/client/dist/evidence/collector.d.ts +18 -0
  25. package/packages/client/dist/evidence/collector.js +1 -0
  26. package/packages/client/dist/evidence/index.d.ts +3 -0
  27. package/packages/client/dist/evidence/index.js +1 -0
  28. package/packages/client/dist/evidence/types.d.ts +59 -0
  29. package/packages/client/dist/evidence/types.js +0 -0
  30. package/packages/client/dist/graph-retrieval/pre-command-hook.d.ts +21 -0
  31. package/packages/client/dist/graph-retrieval/pre-command-hook.js +1 -1
  32. package/packages/client/dist/index.d.ts +10 -11
  33. package/packages/client/dist/index.js +1 -1
  34. package/packages/client/dist/license/license-client.d.ts +17 -0
  35. package/packages/client/dist/license/license-client.js +1 -1
  36. package/packages/client/dist/memory/project-memory-writer.js +13 -13
  37. package/packages/client/dist/memory/shared-project-memory-types.d.ts +1 -1
  38. package/packages/client/dist/memory/shared-project-memory-types.js +2 -2
  39. package/packages/client/dist/resolvers/asset-resolver.d.ts +8 -71
  40. package/packages/client/dist/resolvers/remote-resolver.d.ts +7 -69
  41. package/packages/client/dist/resolvers/remote-resolver.js +1 -1
  42. package/packages/client/dist/runner-cli.js +0 -0
  43. package/packages/client/dist/state/project-state-snapshot.js +1 -1
  44. package/packages/client/dist/telemetry/index.d.ts +1 -1
  45. package/packages/client/dist/telemetry/index.js +1 -1
  46. package/packages/client/dist/telemetry/offline-queue.d.ts +12 -2
  47. package/packages/client/dist/telemetry/offline-queue.js +1 -1
  48. package/packages/client/dist/types/index.d.ts +26 -8
  49. package/packages/client/dist/types/index.js +1 -1
  50. package/packages/client/dist/types/shared-public-execution-contract.d.ts +175 -0
  51. package/packages/client/dist/types/shared-public-execution-contract.js +2 -0
  52. package/targets-stubs/antigravity/gemini.md +1 -1
  53. package/targets-stubs/antigravity/skill/SKILL.md +1 -1
  54. package/targets-stubs/claude-code/neocortex-root.agent.yaml +1 -1
  55. package/targets-stubs/claude-code/neocortex-root.md +2 -2
  56. package/targets-stubs/claude-code/neocortex.agent.yaml +1 -1
  57. package/targets-stubs/claude-code/neocortex.md +2 -2
  58. package/targets-stubs/codex/AGENTS.md +16 -6
  59. package/targets-stubs/codex/README.md +24 -0
  60. package/targets-stubs/codex/install-codex.sh +70 -1
  61. package/targets-stubs/codex/neocortex-local.config.toml +17 -0
  62. package/targets-stubs/codex/neocortex.toml +10 -1
  63. package/targets-stubs/cursor/agent.md +2 -2
  64. package/targets-stubs/gemini-cli/agent.md +2 -2
  65. package/targets-stubs/opencode/neocortex-root.md +4 -4
  66. package/targets-stubs/opencode/neocortex.md +1 -1
  67. package/targets-stubs/vscode/neocortex.agent.md +2 -2
  68. package/packages/client/dist/resolvers/local-resolver.d.ts +0 -26
  69. package/packages/client/dist/resolvers/local-resolver.js +0 -8
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v4.60.16 | OrNexus Team"
3
+ description: "🧠 Neocortex v4.63.3 | OrNexus Team"
4
4
  kind: local
5
5
  tools:
6
6
  # File operations (Gemini CLI built-ins)
@@ -62,7 +62,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
62
62
  ┌────────────────────────────────────────────────────────────┐
63
63
  │ │
64
64
  │ ####### N E O C O R T E X │
65
- │ ### ######## v4.60.16
65
+ │ ### ######## v4.63.3
66
66
  │ ######### ##### │
67
67
  │ ## ############## Development Orchestrator │
68
68
  │ ## ### ###### ## OrNexus Team │
@@ -49,7 +49,7 @@ explicit server opt-in rather than a local assumption.
49
49
  ┌────────────────────────────────────────────────────────────┐
50
50
  │ │
51
51
  │ ####### N E O C O R T E X │
52
- │ ### ######## v4.60.16
52
+ │ ### ######## v4.63.3
53
53
  │ ######### ##### │
54
54
  │ ## ############## Development Orchestrator │
55
55
  │ ## ### ###### ## OrNexus Team │
@@ -98,7 +98,7 @@ When the user invokes Neocortex, follow this protocol EXACTLY:
98
98
  2. **Execute the thin client** to get instructions from the server:
99
99
 
100
100
  ```bash
101
- neocortex-client invoke \
101
+ OPENCODE=1 neocortex-client invoke \
102
102
  --args "{USER_ARGS}" \
103
103
  --project-root "$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)" \
104
104
  --format plain
@@ -114,8 +114,8 @@ synthetic story or mega prompt that cannot safely fit in a shell argument, use
114
114
  exactly one large-input source instead:
115
115
 
116
116
  ```bash
117
- neocortex-client invoke --stdin --project-root "$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)" --format plain < synthetic.story.md
118
- neocortex-client invoke --args-file ./synthetic.story.md --project-root "$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)" --format plain
117
+ OPENCODE=1 neocortex-client invoke --stdin --project-root "$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)" --format plain < synthetic.story.md
118
+ OPENCODE=1 neocortex-client invoke --args-file ./synthetic.story.md --project-root "$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)" --format plain
119
119
  ```
120
120
 
121
121
  Do not force migration to these options, do not combine them with `--args`, and
@@ -27,7 +27,7 @@ Ambient platform/tool metadata, assistant notes, conversation history, raw logs,
27
27
  Run the thin client from the current project root:
28
28
 
29
29
  ```bash
30
- neocortex-client invoke \
30
+ OPENCODE=1 neocortex-client invoke \
31
31
  --args "{DELEGATED_PROMPT}" \
32
32
  --project-root "$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)" \
33
33
  --format plain
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "neocortex"
3
- description: "Neocortex v4.60.16 | OrNexus Team"
3
+ description: "Neocortex v4.63.3 | OrNexus Team"
4
4
  tools:
5
5
  # Read / Edit (built-in tool sets)
6
6
  - read
@@ -63,7 +63,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
63
63
  ┌────────────────────────────────────────────────────────────┐
64
64
  │ │
65
65
  │ ####### N E O C O R T E X │
66
- │ ### ######## v4.60.16
66
+ │ ### ######## v4.63.3
67
67
  │ ######### ##### │
68
68
  │ ## ############## Development Orchestrator │
69
69
  │ ## ### ###### ## OrNexus Team │
@@ -1,26 +0,0 @@
1
- /**
2
- * @license FSL-1.1
3
- * Copyright (c) 2026 OrNexus AI
4
- *
5
- * This file is part of Neocortex CLI, licensed under the
6
- * Functional Source License, Version 1.1 (FSL-1.1).
7
- *
8
- * Change Date: February 20, 2029
9
- * Change License: MIT
10
- *
11
- * See the LICENSE file in the project root for full license text.
12
- */
13
- import type { AssetResolver } from './asset-resolver.js';
14
- import { ResolverMode, type AssembledPrompt, type LocalResolverOptions, type PipelineContext, type SkillContent, type StandardContent, type StepContent, type StepRegistry } from '../types/index.js';
15
- export declare class LocalResolver implements AssetResolver {
16
- readonly mode = ResolverMode.LOCAL;
17
- private readonly projectRoot;
18
- constructor(options: LocalResolverOptions);
19
- resolveStep(stepId: string, _context: PipelineContext): Promise<StepContent>;
20
- resolveSkill(skillId: string, _context: PipelineContext): Promise<SkillContent>;
21
- resolveStandard(standardId: string): Promise<StandardContent>;
22
- resolveRegistry(): Promise<StepRegistry>;
23
- assemblePrompt(stepId: string, context: PipelineContext): Promise<AssembledPrompt>;
24
- isAvailable(): Promise<boolean>;
25
- dispose(): Promise<void>;
26
- }
@@ -1,8 +0,0 @@
1
- import{readFile as f,access as m}from"node:fs/promises";import{join as p,resolve as d}from"node:path";import{ResolverMode as y}from"../types/index.js";const w=/^---\n([\s\S]*?)\n---/;function u(c){const t=c.match(w);if(!t)return{frontmatter:{},body:c};const e={},r=t[1].split(`
2
- `);for(const n of r){const a=n.indexOf(":");if(a===-1)continue;const i=n.slice(0,a).trim().replace(/^['"]|['"]$/g,"");let o=n.slice(a+1).trim();typeof o=="string"&&(o=o.replace(/^['"]|['"]$/g,"")),o==="true"?o=!0:o==="false"&&(o=!1),e[i]=o}const s=c.slice(t[0].length).trimStart();return{frontmatter:e,body:s}}function $(c){const t=c.split("-");if(t.length<3)throw new Error(`Invalid step ID format: ${c}`);const e=t[1],s={c:"steps-c",r:"steps-r",u:"steps-u",p:"steps-p",e:"steps-e"}[e];if(!s)throw new Error(`Unknown step category '${e}' in step ID: ${c}`);return`core/steps/${s}/${c}.md`}class g{mode=y.LOCAL;projectRoot;constructor(t){this.projectRoot=d(t.projectRoot)}async resolveStep(t,e){const r=$(t),s=p(this.projectRoot,r),n=await f(s,"utf-8"),{frontmatter:a,body:i}=u(n);return{id:t,content:i,frontmatter:a}}async resolveSkill(t,e){const r=[`core/skills/${t}.md`,`core/skills/step-skills/${t}.md`];t.includes("/")&&(r.unshift(`core/skills/step-skills/${t}.md`),r.unshift(`core/skills/${t}.md`));let s=null,n="";for(const o of r){const l=p(this.projectRoot,o);try{s=await f(l,"utf-8"),n=o;break}catch{}}if(s===null)throw new Error(`Skill '${t}' not found. Searched: ${r.join(", ")}`);const{frontmatter:a,body:i}=u(s);return{id:t,content:i,metadata:{...a,resolvedPath:n}}}async resolveStandard(t){const e=p(this.projectRoot,"core","standards",t);let r;try{r=await f(e,"utf-8")}catch{if(!t.endsWith(".md"))r=await f(`${e}.md`,"utf-8");else throw new Error(`Standard '${t}' not found at ${e}`)}return{id:t,content:r}}async resolveRegistry(){const t=p(this.projectRoot,"core","data","step-registry.json"),e=await f(t,"utf-8");return JSON.parse(e)}async assemblePrompt(t,e){const r=await this.resolveStep(t,e),s={"{story_id}":e.storyId,"{story_title}":e.storyTitle,"{step_id}":t,"{step_name}":r.frontmatter.name||t,"{current_status}":e.currentStatus,"{epic_id}":e.epicId,"{branch_name}":e.branchName,"{platform_target}":e.platformTarget};let n=r.content;for(const[o,l]of Object.entries(s))n=n.replaceAll(o,l);const a=[],i=r.frontmatter.skills;if(i&&typeof i=="string"){const o=i.split(",").map(l=>l.trim());for(const l of o)try{const h=await this.resolveSkill(l,e);n+=`
3
-
4
- ---
5
-
6
- # Skill: ${l}
7
-
8
- ${h.content}`,a.push(l)}catch{}}return{prompt:n,variables:s,includedSkills:a,includedStandards:[]}}async isAvailable(){try{const t=p(this.projectRoot,"core");return await m(t),!0}catch{return!1}}async dispose(){}}export{g as LocalResolver};