@ornexus/neocortex 4.59.1
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/LICENSE +56 -0
- package/LICENSE-COMMERCIAL.md +70 -0
- package/README.md +58 -0
- package/dist/sbom.cdx.json +7067 -0
- package/docs/install/coderabbit-manual-setup.md +86 -0
- package/docs/install/installer-diagnostics.md +107 -0
- package/docs/install/linux-global-install.md +97 -0
- package/install.js +572 -0
- package/install.ps1 +2214 -0
- package/install.sh +2013 -0
- package/package.json +118 -0
- package/packages/client/dist/adapters/adapter-registry.d.ts +61 -0
- package/packages/client/dist/adapters/adapter-registry.js +1 -0
- package/packages/client/dist/adapters/antigravity-adapter.d.ts +18 -0
- package/packages/client/dist/adapters/antigravity-adapter.js +2 -0
- package/packages/client/dist/adapters/claude-code-adapter.d.ts +19 -0
- package/packages/client/dist/adapters/claude-code-adapter.js +3 -0
- package/packages/client/dist/adapters/codex-adapter.d.ts +19 -0
- package/packages/client/dist/adapters/codex-adapter.js +2 -0
- package/packages/client/dist/adapters/cursor-adapter.d.ts +19 -0
- package/packages/client/dist/adapters/cursor-adapter.js +4 -0
- package/packages/client/dist/adapters/gemini-adapter.d.ts +18 -0
- package/packages/client/dist/adapters/gemini-adapter.js +2 -0
- package/packages/client/dist/adapters/index.d.ts +19 -0
- package/packages/client/dist/adapters/index.js +1 -0
- package/packages/client/dist/adapters/platform-detector.d.ts +48 -0
- package/packages/client/dist/adapters/platform-detector.js +1 -0
- package/packages/client/dist/adapters/target-adapter.d.ts +70 -0
- package/packages/client/dist/adapters/target-adapter.js +0 -0
- package/packages/client/dist/adapters/vscode-adapter.d.ts +19 -0
- package/packages/client/dist/adapters/vscode-adapter.js +2 -0
- package/packages/client/dist/agent/refresh-stubs.d.ts +80 -0
- package/packages/client/dist/agent/refresh-stubs.js +2 -0
- package/packages/client/dist/agent/update-agent-yaml.d.ts +26 -0
- package/packages/client/dist/agent/update-agent-yaml.js +1 -0
- package/packages/client/dist/agent/update-description.d.ts +45 -0
- package/packages/client/dist/agent/update-description.js +1 -0
- package/packages/client/dist/cache/crypto-utils.d.ts +30 -0
- package/packages/client/dist/cache/crypto-utils.js +1 -0
- package/packages/client/dist/cache/encrypted-cache.d.ts +30 -0
- package/packages/client/dist/cache/encrypted-cache.js +1 -0
- package/packages/client/dist/cache/in-memory-asset-cache.d.ts +62 -0
- package/packages/client/dist/cache/in-memory-asset-cache.js +1 -0
- package/packages/client/dist/cache/index.d.ts +13 -0
- package/packages/client/dist/cache/index.js +1 -0
- package/packages/client/dist/cache/protected-pi-boundary.d.ts +19 -0
- package/packages/client/dist/cache/protected-pi-boundary.js +1 -0
- package/packages/client/dist/checkpoint/checkpoint-client-reader.d.ts +45 -0
- package/packages/client/dist/checkpoint/checkpoint-client-reader.js +2 -0
- package/packages/client/dist/checkpoint/index.d.ts +12 -0
- package/packages/client/dist/checkpoint/index.js +1 -0
- package/packages/client/dist/checkpoint/shared-checkpoint-types.d.ts +85 -0
- package/packages/client/dist/checkpoint/shared-checkpoint-types.js +1 -0
- package/packages/client/dist/cli.d.ts +14 -0
- package/packages/client/dist/cli.js +48 -0
- package/packages/client/dist/commands/activate.d.ts +55 -0
- package/packages/client/dist/commands/activate.js +8 -0
- package/packages/client/dist/commands/cache-status.d.ts +39 -0
- package/packages/client/dist/commands/cache-status.js +2 -0
- package/packages/client/dist/commands/invoke.d.ts +229 -0
- package/packages/client/dist/commands/invoke.js +63 -0
- package/packages/client/dist/commands/refresh-memory.d.ts +11 -0
- package/packages/client/dist/commands/refresh-memory.js +1 -0
- package/packages/client/dist/config/resolver-selection.d.ts +40 -0
- package/packages/client/dist/config/resolver-selection.js +1 -0
- package/packages/client/dist/config/secure-config.d.ts +78 -0
- package/packages/client/dist/config/secure-config.js +12 -0
- package/packages/client/dist/constants.d.ts +25 -0
- package/packages/client/dist/constants.js +1 -0
- package/packages/client/dist/context/context-collector.d.ts +28 -0
- package/packages/client/dist/context/context-collector.js +2 -0
- package/packages/client/dist/context/context-sanitizer.d.ts +28 -0
- package/packages/client/dist/context/context-sanitizer.js +1 -0
- package/packages/client/dist/continuity/continuity-client-state-store.d.ts +183 -0
- package/packages/client/dist/continuity/continuity-client-state-store.js +1 -0
- package/packages/client/dist/continuity/invoke-hooks.d.ts +18 -0
- package/packages/client/dist/continuity/invoke-hooks.js +1 -0
- package/packages/client/dist/continuity/migrations/001-initial-schema.d.ts +11 -0
- package/packages/client/dist/continuity/migrations/001-initial-schema.js +263 -0
- package/packages/client/dist/continuity/sqlite-store.d.ts +409 -0
- package/packages/client/dist/continuity/sqlite-store.js +226 -0
- package/packages/client/dist/errors/error-messages.d.ts +40 -0
- package/packages/client/dist/errors/error-messages.js +2 -0
- package/packages/client/dist/graph-retrieval/pre-command-hook.d.ts +31 -0
- package/packages/client/dist/graph-retrieval/pre-command-hook.js +1 -0
- package/packages/client/dist/graph-retrieval/shared-graph-retrieval-contract.d.ts +77 -0
- package/packages/client/dist/graph-retrieval/shared-graph-retrieval-contract.js +1 -0
- package/packages/client/dist/i18n/first-run.d.ts +23 -0
- package/packages/client/dist/i18n/first-run.js +2 -0
- package/packages/client/dist/index.d.ts +56 -0
- package/packages/client/dist/index.js +1 -0
- package/packages/client/dist/license/index.d.ts +5 -0
- package/packages/client/dist/license/index.js +1 -0
- package/packages/client/dist/license/license-client.d.ts +79 -0
- package/packages/client/dist/license/license-client.js +1 -0
- package/packages/client/dist/machine/fingerprint.d.ts +34 -0
- package/packages/client/dist/machine/fingerprint.js +2 -0
- package/packages/client/dist/machine/index.d.ts +5 -0
- package/packages/client/dist/machine/index.js +1 -0
- package/packages/client/dist/memory/project-memory-writer.d.ts +74 -0
- package/packages/client/dist/memory/project-memory-writer.js +36 -0
- package/packages/client/dist/memory/shared-project-memory-types.d.ts +370 -0
- package/packages/client/dist/memory/shared-project-memory-types.js +2 -0
- package/packages/client/dist/policy/architecture-policy.d.ts +40 -0
- package/packages/client/dist/policy/architecture-policy.js +2 -0
- package/packages/client/dist/policy/index.d.ts +8 -0
- package/packages/client/dist/policy/index.js +1 -0
- package/packages/client/dist/policy/shared-policy-types.d.ts +89 -0
- package/packages/client/dist/policy/shared-policy-types.js +0 -0
- package/packages/client/dist/resilience/circuit-breaker.d.ts +70 -0
- package/packages/client/dist/resilience/circuit-breaker.js +1 -0
- package/packages/client/dist/resilience/degradation-manager.d.ts +67 -0
- package/packages/client/dist/resilience/degradation-manager.js +1 -0
- package/packages/client/dist/resilience/freshness-indicator.d.ts +59 -0
- package/packages/client/dist/resilience/freshness-indicator.js +1 -0
- package/packages/client/dist/resilience/index.d.ts +8 -0
- package/packages/client/dist/resilience/index.js +1 -0
- package/packages/client/dist/resilience/recovery-detector.d.ts +59 -0
- package/packages/client/dist/resilience/recovery-detector.js +1 -0
- package/packages/client/dist/resolvers/asset-resolver.d.ts +79 -0
- package/packages/client/dist/resolvers/asset-resolver.js +0 -0
- package/packages/client/dist/resolvers/local-resolver.d.ts +26 -0
- package/packages/client/dist/resolvers/local-resolver.js +8 -0
- package/packages/client/dist/resolvers/remote-resolver.d.ts +91 -0
- package/packages/client/dist/resolvers/remote-resolver.js +1 -0
- package/packages/client/dist/runner/cli.d.ts +121 -0
- package/packages/client/dist/runner/cli.js +20 -0
- package/packages/client/dist/runner/scheduler.d.ts +116 -0
- package/packages/client/dist/runner/scheduler.js +6 -0
- package/packages/client/dist/runner-cli.d.ts +9 -0
- package/packages/client/dist/runner-cli.js +3 -0
- package/packages/client/dist/state/project-state-snapshot.d.ts +15 -0
- package/packages/client/dist/state/project-state-snapshot.js +1 -0
- package/packages/client/dist/state/state-json-repair.d.ts +17 -0
- package/packages/client/dist/state/state-json-repair.js +3 -0
- package/packages/client/dist/telemetry/index.d.ts +5 -0
- package/packages/client/dist/telemetry/index.js +1 -0
- package/packages/client/dist/telemetry/offline-queue.d.ts +57 -0
- package/packages/client/dist/telemetry/offline-queue.js +1 -0
- package/packages/client/dist/tier/index.d.ts +5 -0
- package/packages/client/dist/tier/index.js +1 -0
- package/packages/client/dist/tier/tier-aware-client.d.ts +105 -0
- package/packages/client/dist/tier/tier-aware-client.js +1 -0
- package/packages/client/dist/types/index.d.ts +140 -0
- package/packages/client/dist/types/index.js +1 -0
- package/packages/client/dist/yoloop/discovery-hook.d.ts +85 -0
- package/packages/client/dist/yoloop/discovery-hook.js +2 -0
- package/packages/client/dist/yoloop/index.d.ts +10 -0
- package/packages/client/dist/yoloop/index.js +1 -0
- package/packages/client/dist/yoloop/invoke-hooks.d.ts +125 -0
- package/packages/client/dist/yoloop/invoke-hooks.js +5 -0
- package/packages/client/dist/yoloop/shared-discover-epics.d.ts +289 -0
- package/packages/client/dist/yoloop/shared-discover-epics.js +1 -0
- package/packages/client/dist/yoloop/shared-yoloop-types.d.ts +172 -0
- package/packages/client/dist/yoloop/shared-yoloop-types.js +1 -0
- package/packages/client/dist/yoloop/yoloop-client-state-store.d.ts +124 -0
- package/packages/client/dist/yoloop/yoloop-client-state-store.js +1 -0
- package/postinstall.js +754 -0
- package/targets-stubs/antigravity/README.md +36 -0
- package/targets-stubs/antigravity/gemini.md +29 -0
- package/targets-stubs/antigravity/install-antigravity.sh +153 -0
- package/targets-stubs/antigravity/mcp-config.json +30 -0
- package/targets-stubs/antigravity/skill/SKILL.md +159 -0
- package/targets-stubs/claude-code/.mcp.json +32 -0
- package/targets-stubs/claude-code/README.md +20 -0
- package/targets-stubs/claude-code/neocortex-root.agent.yaml +42 -0
- package/targets-stubs/claude-code/neocortex-root.md +310 -0
- package/targets-stubs/claude-code/neocortex.agent.yaml +42 -0
- package/targets-stubs/claude-code/neocortex.md +378 -0
- package/targets-stubs/codex/AGENTS.md +244 -0
- package/targets-stubs/codex/README.md +47 -0
- package/targets-stubs/codex/config-mcp.toml +22 -0
- package/targets-stubs/codex/install-codex.sh +63 -0
- package/targets-stubs/codex/neocortex.toml +29 -0
- package/targets-stubs/cursor/README.md +33 -0
- package/targets-stubs/cursor/agent.md +204 -0
- package/targets-stubs/cursor/install-cursor.sh +50 -0
- package/targets-stubs/cursor/mcp.json +30 -0
- package/targets-stubs/gemini-cli/README.md +34 -0
- package/targets-stubs/gemini-cli/agent.md +234 -0
- package/targets-stubs/gemini-cli/agents/neocortex.md +54 -0
- package/targets-stubs/gemini-cli/gemini.md +46 -0
- package/targets-stubs/gemini-cli/install-gemini.sh +70 -0
- package/targets-stubs/gemini-cli/settings-mcp.json +30 -0
- package/targets-stubs/kimi/mcp.json +33 -0
- package/targets-stubs/kimi/neocortex.md +54 -0
- package/targets-stubs/lib/mcp-merge.js +189 -0
- package/targets-stubs/openclaw/README.md +12 -0
- package/targets-stubs/openclaw/SKILL.md +88 -0
- package/targets-stubs/opencode/neocortex-root.md +261 -0
- package/targets-stubs/opencode/neocortex.md +59 -0
- package/targets-stubs/opencode/opencode-mcp.json +35 -0
- package/targets-stubs/vscode/README.md +34 -0
- package/targets-stubs/vscode/copilot-instructions.md +47 -0
- package/targets-stubs/vscode/install-vscode.sh +72 -0
- package/targets-stubs/vscode/mcp.json +36 -0
- package/targets-stubs/vscode/neocortex.agent.md +245 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
Parameters
|
|
4
|
+
|
|
5
|
+
Licensor: OrNexus AI
|
|
6
|
+
Licensed Work: @ornexus/neocortex v3.8.0 and later versions
|
|
7
|
+
Additional Use Grant: You may use the Licensed Work for personal development,
|
|
8
|
+
evaluation, and non-commercial projects without a
|
|
9
|
+
commercial license.
|
|
10
|
+
Change Date: Four (4) years from the date of each release of the
|
|
11
|
+
Licensed Work.
|
|
12
|
+
Change License: Apache License, Version 2.0
|
|
13
|
+
|
|
14
|
+
For the full text of the Business Source License 1.1, see:
|
|
15
|
+
https://mariadb.com/bsl11/
|
|
16
|
+
|
|
17
|
+
Notice
|
|
18
|
+
|
|
19
|
+
The Licensed Work is (c) 2024-2026 OrNexus AI.
|
|
20
|
+
|
|
21
|
+
-----------------------------------------------------------------------------
|
|
22
|
+
|
|
23
|
+
IMPORTANT: The full BSL-1.1 legal text must be inserted here before
|
|
24
|
+
publication. The canonical template is available at:
|
|
25
|
+
|
|
26
|
+
https://mariadb.com/bsl11/
|
|
27
|
+
|
|
28
|
+
Reference implementations:
|
|
29
|
+
- HashiCorp (Terraform): https://github.com/hashicorp/terraform/blob/main/LICENSE
|
|
30
|
+
- CockroachDB: https://github.com/cockroachdb/cockroach/blob/master/licenses/BSL.txt
|
|
31
|
+
- Sentry: https://github.com/getsentry/sentry/blob/master/LICENSE.md
|
|
32
|
+
|
|
33
|
+
TODO: Replace this placeholder with the complete BSL-1.1 text with the
|
|
34
|
+
parameters above filled in. Have legal counsel review before publishing.
|
|
35
|
+
|
|
36
|
+
-----------------------------------------------------------------------------
|
|
37
|
+
|
|
38
|
+
What you CAN do:
|
|
39
|
+
|
|
40
|
+
- Use Neocortex for personal projects and learning
|
|
41
|
+
- Use Neocortex for evaluation and testing purposes
|
|
42
|
+
- Use Neocortex for non-commercial open source projects
|
|
43
|
+
- Contribute to the Neocortex project
|
|
44
|
+
- Fork and modify for personal use
|
|
45
|
+
|
|
46
|
+
What you CANNOT do without a commercial license:
|
|
47
|
+
|
|
48
|
+
- Use Neocortex in production environments that generate revenue
|
|
49
|
+
- Redistribute Neocortex as part of a commercial product
|
|
50
|
+
- Offer Neocortex as a hosted service to third parties
|
|
51
|
+
- Extract, copy, or redistribute the proprietary prompts, workflows,
|
|
52
|
+
skills, or agent definitions
|
|
53
|
+
|
|
54
|
+
For commercial licensing inquiries:
|
|
55
|
+
Email: licensing@neocortex.sh
|
|
56
|
+
Web: https://neocortex.sh/licensing
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Neocortex Commercial License Agreement
|
|
2
|
+
|
|
3
|
+
**Version:** 1.0
|
|
4
|
+
**Effective Date:** [TBD - legal/product approval required]
|
|
5
|
+
**Licensor:** OrNexus AI
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
> **IMPORTANT**: This is a DRAFT template. It must be reviewed and finalized
|
|
10
|
+
> by qualified legal counsel before publication or enforcement.
|
|
11
|
+
|
|
12
|
+
## 1. Definitions
|
|
13
|
+
|
|
14
|
+
- **"Commercial Use"**: [TBD - legal/product approval required: define use in
|
|
15
|
+
projects that directly or indirectly generate revenue for the licensee or
|
|
16
|
+
their organization]
|
|
17
|
+
- **"Licensed Work"**: The @ornexus/neocortex software, including all
|
|
18
|
+
prompts, workflows, skills, agent definitions, standards, and associated
|
|
19
|
+
IP assets
|
|
20
|
+
- **"Licensee"**: The individual or organization that has purchased a
|
|
21
|
+
commercial license
|
|
22
|
+
|
|
23
|
+
## 2. Grant of License
|
|
24
|
+
|
|
25
|
+
[TBD - legal/product approval required: scope of commercial rights granted per tier]
|
|
26
|
+
|
|
27
|
+
### Tiers
|
|
28
|
+
|
|
29
|
+
| Tier | Machines | Features | Price |
|
|
30
|
+
|------|----------|----------|-------|
|
|
31
|
+
| Free | 1 | Personal/eval only | $0 |
|
|
32
|
+
| Pro | 3 | Full pipeline, commercial use | [TBD] |
|
|
33
|
+
| Enterprise | Unlimited | Full pipeline, priority support, SLA | [TBD] |
|
|
34
|
+
|
|
35
|
+
## 3. Restrictions
|
|
36
|
+
|
|
37
|
+
[TBD - legal/product approval required: must include:]
|
|
38
|
+
- Prohibition of redistribution of IP assets (prompts, workflows, skills)
|
|
39
|
+
- Prohibition of reverse engineering server-side components
|
|
40
|
+
- Prohibition of extracting or copying proprietary content
|
|
41
|
+
- Prohibition of offering as a hosted service without written permission
|
|
42
|
+
|
|
43
|
+
## 4. Intellectual Property
|
|
44
|
+
|
|
45
|
+
[TBD - legal/product approval required: all IP remains property of OrNexus AI]
|
|
46
|
+
|
|
47
|
+
## 5. Term and Termination
|
|
48
|
+
|
|
49
|
+
[TBD - legal/product approval required: license duration, renewal, termination conditions]
|
|
50
|
+
|
|
51
|
+
## 6. Limitation of Liability
|
|
52
|
+
|
|
53
|
+
[TBD - legal/product approval required: standard limitation clauses]
|
|
54
|
+
|
|
55
|
+
## 7. Dispute Resolution
|
|
56
|
+
|
|
57
|
+
[TBD - legal/product approval required: arbitration clause, governing law]
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
**Contact for licensing inquiries:**
|
|
62
|
+
- Email: licensing@neocortex.sh
|
|
63
|
+
- Web: https://neocortex.sh/licensing
|
|
64
|
+
|
|
65
|
+
**[TBD - legal/product approval required]**: Have legal counsel draft the
|
|
66
|
+
complete commercial license agreement based on this template. Reference
|
|
67
|
+
implementations:
|
|
68
|
+
- JetBrains Toolbox License Agreement
|
|
69
|
+
- GitHub Copilot Terms of Service
|
|
70
|
+
- Vercel Enterprise License Agreement
|
package/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Neocortex
|
|
2
|
+
|
|
3
|
+
**AI-powered development orchestrator. From idea to pull request.**
|
|
4
|
+
|
|
5
|
+
Neocortex automates the full software development lifecycle -- architecture planning, implementation, code review, and deployment -- across 6 AI platforms including Claude Code, Cursor, Gemini CLI, Codex, VS Code, and Antigravity.
|
|
6
|
+
|
|
7
|
+
## Get Started
|
|
8
|
+
|
|
9
|
+
Visit **[neocortex.sh](https://neocortex.sh)** to create your account, install, and activate.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g @ornexus/neocortex
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Run the global install from a user-owned Node/npm setup. On Linux, if you hit
|
|
16
|
+
`EACCES`, prefer a Node version manager or an npm user prefix before retrying;
|
|
17
|
+
do not use `sudo npm install -g` as the primary fix. Elevated installs can run
|
|
18
|
+
with root `HOME`, which may write Neocortex user config or agent targets for the
|
|
19
|
+
wrong account. See the no-sudo guide and synthetic recovery examples in
|
|
20
|
+
[`docs/install/linux-global-install.md`](./docs/install/linux-global-install.md).
|
|
21
|
+
|
|
22
|
+
Optional third-party tools such as CodeRabbit are not installed by default during
|
|
23
|
+
Neocortex npm postinstall. Default installer output is limited to public-safe
|
|
24
|
+
reason-code summaries; it does not run vendor onboarding, browser auth, shell
|
|
25
|
+
profile mutation, or third-party network installers. If you want CodeRabbit,
|
|
26
|
+
install it manually outside the Neocortex lifecycle; see
|
|
27
|
+
[`docs/install/coderabbit-manual-setup.md`](./docs/install/coderabbit-manual-setup.md).
|
|
28
|
+
|
|
29
|
+
Enterprise continuity commands use an optional local SQLite adapter
|
|
30
|
+
(`better-sqlite3`) for durable job state. Base CLI commands continue to work when
|
|
31
|
+
that optional native adapter is absent. If a continuity command reports
|
|
32
|
+
`sqlite-adapter-unavailable`, reinstall with optional dependencies enabled or run
|
|
33
|
+
`npm install --workspace packages/client better-sqlite3 --include=optional` in a
|
|
34
|
+
development checkout; see
|
|
35
|
+
[`docs/install/installer-diagnostics.md`](./docs/install/installer-diagnostics.md).
|
|
36
|
+
|
|
37
|
+
After installing, activate your license and start building:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
neocortex activate YOUR-LICENSE-KEY
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Full documentation, pricing, and support available at [neocortex.sh](https://neocortex.sh).
|
|
44
|
+
|
|
45
|
+
For MCP target installation details, including user/global config paths,
|
|
46
|
+
supported `--targets=` values, baseline MCP requirements, and troubleshooting,
|
|
47
|
+
see [`docs/mcp/P155-target-matrix.md`](./docs/mcp/P155-target-matrix.md).
|
|
48
|
+
|
|
49
|
+
## License
|
|
50
|
+
|
|
51
|
+
Business Source License 1.1 (BSL-1.1). See [LICENSE](./LICENSE) for details.
|
|
52
|
+
|
|
53
|
+
Personal and development use is free. Commercial production use requires a license.
|
|
54
|
+
Contact: licensing@neocortex.sh
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
Built by [OrNexus Team](https://neocortex.sh)
|