@ornexus/neocortex 4.60.16 → 4.63.4
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/sbom.cdx.json +29 -29
- package/docs/install/installer-diagnostics.md +33 -0
- package/install.ps1 +49 -229
- package/install.sh +30 -92
- package/package.json +5 -2
- package/packages/client/dist/adapters/platform-detector.d.ts +7 -6
- package/packages/client/dist/adapters/platform-detector.js +1 -1
- package/packages/client/dist/agent/refresh-stubs.js +1 -1
- package/packages/client/dist/cache/encrypted-cache.d.ts +10 -4
- package/packages/client/dist/cache/encrypted-cache.js +1 -1
- package/packages/client/dist/cache/in-memory-asset-cache.d.ts +5 -4
- package/packages/client/dist/cache/in-memory-asset-cache.js +1 -1
- package/packages/client/dist/cache/protected-pi-boundary.d.ts +6 -2
- package/packages/client/dist/cache/protected-pi-boundary.js +1 -1
- package/packages/client/dist/checkpoint/checkpoint-client-reader.d.ts +31 -30
- package/packages/client/dist/checkpoint/checkpoint-client-reader.js +2 -2
- package/packages/client/dist/checkpoint/shared-checkpoint-types.d.ts +2 -0
- package/packages/client/dist/cli.js +3 -3
- package/packages/client/dist/commands/invoke.d.ts +77 -1
- package/packages/client/dist/commands/invoke.js +44 -59
- package/packages/client/dist/config/resolver-selection.d.ts +12 -31
- package/packages/client/dist/config/resolver-selection.js +1 -1
- package/packages/client/dist/errors/error-messages.js +1 -1
- package/packages/client/dist/evidence/collector.d.ts +18 -0
- package/packages/client/dist/evidence/collector.js +1 -0
- package/packages/client/dist/evidence/index.d.ts +3 -0
- package/packages/client/dist/evidence/index.js +1 -0
- package/packages/client/dist/evidence/types.d.ts +59 -0
- package/packages/client/dist/evidence/types.js +0 -0
- package/packages/client/dist/graph-retrieval/pre-command-hook.d.ts +21 -0
- package/packages/client/dist/graph-retrieval/pre-command-hook.js +1 -1
- package/packages/client/dist/index.d.ts +10 -11
- package/packages/client/dist/index.js +1 -1
- package/packages/client/dist/license/license-client.d.ts +17 -0
- package/packages/client/dist/license/license-client.js +1 -1
- package/packages/client/dist/memory/project-memory-writer.js +13 -13
- package/packages/client/dist/memory/shared-project-memory-types.d.ts +1 -1
- package/packages/client/dist/memory/shared-project-memory-types.js +2 -2
- package/packages/client/dist/resolvers/asset-resolver.d.ts +8 -71
- package/packages/client/dist/resolvers/remote-resolver.d.ts +7 -69
- package/packages/client/dist/resolvers/remote-resolver.js +1 -1
- package/packages/client/dist/runner-cli.js +0 -0
- package/packages/client/dist/state/project-state-snapshot.js +1 -1
- package/packages/client/dist/telemetry/index.d.ts +1 -1
- package/packages/client/dist/telemetry/index.js +1 -1
- package/packages/client/dist/telemetry/offline-queue.d.ts +12 -2
- package/packages/client/dist/telemetry/offline-queue.js +1 -1
- package/packages/client/dist/types/index.d.ts +26 -8
- package/packages/client/dist/types/index.js +1 -1
- package/packages/client/dist/types/shared-public-execution-contract.d.ts +175 -0
- package/packages/client/dist/types/shared-public-execution-contract.js +2 -0
- package/targets-stubs/antigravity/gemini.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.agent.yaml +1 -1
- package/targets-stubs/claude-code/neocortex.md +2 -2
- package/targets-stubs/codex/AGENTS.md +16 -6
- package/targets-stubs/codex/README.md +24 -0
- package/targets-stubs/codex/install-codex.sh +70 -1
- package/targets-stubs/codex/neocortex-local.config.toml +17 -0
- package/targets-stubs/codex/neocortex.toml +10 -1
- package/targets-stubs/cursor/agent.md +2 -2
- package/targets-stubs/gemini-cli/agent.md +2 -2
- package/targets-stubs/opencode/neocortex-root.md +4 -4
- package/targets-stubs/opencode/neocortex.md +1 -1
- package/targets-stubs/vscode/neocortex.agent.md +2 -2
- package/packages/client/dist/resolvers/local-resolver.d.ts +0 -26
- package/packages/client/dist/resolvers/local-resolver.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: neocortex
|
|
3
|
-
description: "🧠 Neocortex v4.
|
|
3
|
+
description: "🧠 Neocortex v4.63.4 | 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.
|
|
65
|
+
│ ### ######## v4.63.4 │
|
|
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.
|
|
52
|
+
│ ### ######## v4.63.4 │
|
|
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.
|
|
3
|
+
description: "Neocortex v4.63.4 | 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.
|
|
66
|
+
│ ### ######## v4.63.4 │
|
|
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};
|