@ornexus/neocortex 4.66.45 → 4.66.47
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 +1191 -1225
- package/docs/install/installer-diagnostics.md +14 -2
- package/install.ps1 +1 -1
- package/install.sh +1 -1
- package/package.json +3 -3
- package/packages/client/dist/commands/invoke.d.ts +31 -1
- package/packages/client/dist/commands/invoke.js +92 -92
- package/packages/client/dist/continuity/sqlite-store.d.ts +1 -1
- package/packages/client/dist/continuity/sqlite-store.js +1 -1
- package/packages/client/dist/generated/public-projections.generated.d.ts +19 -19
- package/packages/client/dist/generated/public-projections.generated.js +1 -1
- package/packages/client/dist/runner/headless/run-yoloop.d.ts +12 -0
- package/packages/client/dist/runner/headless/run-yoloop.js +4 -4
- package/packages/client/dist/yoloop/yoloop-client-state-store.d.ts +12 -0
- package/packages/client/dist/yoloop/yoloop-client-state-store.js +1 -1
- package/packages/shared/dist/generated/public-projections.generated.js +17 -17
- package/packages/shared/dist/invocation/index.d.ts +1 -0
- package/packages/shared/dist/invocation/index.js +1 -0
- package/packages/shared/dist/invocation/semantic-gate-remediation.d.ts +90 -0
- package/packages/shared/dist/invocation/semantic-gate-remediation.js +249 -0
- package/postinstall.js +11 -1
- 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 +5 -3
- package/targets-stubs/codex/AGENTS.md +3 -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 +4 -2
- package/targets-stubs/vscode/neocortex.agent.md +2 -2
|
@@ -92,9 +92,21 @@ creating or mutating `.neocortex/continuity` and return public reason code
|
|
|
92
92
|
`sqlite-adapter-unavailable` with bounded guidance:
|
|
93
93
|
|
|
94
94
|
```text
|
|
95
|
-
npm install
|
|
95
|
+
npm install -g @ornexus/neocortex@latest --include=optional
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
+
Release activation that performs target installation separately can suppress the
|
|
99
|
+
Neocortex-managed postinstall while keeping dependency lifecycle scripts enabled:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
NEOCORTEX_SKIP_MANAGED_POSTINSTALL=1 npm install --include=optional <package>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Do not use npm `--ignore-scripts` for an activation that needs runner/yoloop
|
|
106
|
+
continuity. That option also disables the native `better-sqlite3` installation.
|
|
107
|
+
An existing install can repair the adapter by running `npm rebuild better-sqlite3`
|
|
108
|
+
from the installed package root before retrying the same bound request.
|
|
109
|
+
|
|
98
110
|
Doctor output must remain public-safe: report only the adapter status, SQLite file
|
|
99
111
|
relative path, WAL/integrity status and reason codes such as
|
|
100
112
|
`sqlite-adapter-unavailable` or `sqlite-integrity-failed`. Do not paste native
|
|
@@ -125,7 +137,7 @@ terminal output:
|
|
|
125
137
|
| `P177_OPTIONAL_TOOL_OPT_IN_REQUIRED` | An optional third-party tool is not installed by default. | Follow that tool's own setup instructions outside the npm lifecycle. |
|
|
126
138
|
| `P177_ROOT_HOME_DETECTED` | Linux root/sudo context may write user config under an elevated account. | Stop using sudo-first install; move to a Node version manager or npm user prefix and use synthetic recovery steps. |
|
|
127
139
|
| `P177_PUBLIC_SAFE_LOG_REDACTED` | Raw child/vendor output or local paths were intentionally omitted. | Share the reason code and bounded fields only; do not paste raw logs. |
|
|
128
|
-
| `sqlite-adapter-unavailable` | Enterprise continuity SQLite adapter is not installed or cannot be loaded. | Reinstall with optional dependencies or
|
|
140
|
+
| `sqlite-adapter-unavailable` | Enterprise continuity SQLite adapter is not installed or cannot be loaded. | Reinstall with optional dependencies and lifecycle scripts enabled, or run `npm rebuild better-sqlite3` from the installed package root; keep only bounded reason-code evidence. |
|
|
129
141
|
| `sqlite-integrity-failed` | Continuity SQLite integrity/corruption check failed. | Stop durable mutation and use future doctor/repair guidance with public-safe backup/audit evidence only. |
|
|
130
142
|
|
|
131
143
|
### Sanitized SIGINT/lifecycle troubleshooting
|
package/install.ps1
CHANGED
package/install.sh
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornexus/neocortex",
|
|
3
|
-
"version": "4.66.
|
|
4
|
-
"description": "Neocortex v4.66.
|
|
3
|
+
"version": "4.66.47",
|
|
4
|
+
"description": "Neocortex v4.66.47",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
7
7
|
"claude-code",
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"zod": "^4.6.7"
|
|
177
177
|
},
|
|
178
178
|
"optionalDependencies": {
|
|
179
|
-
"better-sqlite3": "
|
|
179
|
+
"better-sqlite3": "11.10.0"
|
|
180
180
|
},
|
|
181
181
|
"overrides": {
|
|
182
182
|
"qs": "6.16.0"
|
|
@@ -14,7 +14,7 @@ import type { YoloChangeEvidence } from '../../../shared/dist/yolo/change-eviden
|
|
|
14
14
|
import type { ProjectManifestProjectionAttachment } from '../../../shared/dist/project-manifest-projection.js';
|
|
15
15
|
import { type ReleaseGateRequestV1 } from '../../../shared/dist/yoloop/release-blocked.js';
|
|
16
16
|
import { type InvokeEffectContext, type StrictReadOnlyInvokeEnvelope } from '../../../shared/dist/strict-readonly.js';
|
|
17
|
-
import { type ExplicitIntentRecoveryBindingV1, type ExplicitIntentRecoveryResultV1, type InvokeInputEvidenceV1, type InvokeInputEnvelopeV2, type InvokeInputSourceV2, type InvocationMalformedInputReasonV1, type InvocationAdmissionResultV1, type ProjectIdentityMigrationRequestV1 } from '../../../shared/dist/invocation/index.js';
|
|
17
|
+
import { type ExplicitIntentRecoveryBindingV1, type ExplicitIntentRecoveryResultV1, type InvokeInputEvidenceV1, type InvokeInputEnvelopeV2, type InvokeInputSourceV2, type InvocationMalformedInputReasonV1, type InvocationAdmissionResultV1, type ProjectIdentityMigrationRequestV1, type SemanticGateRemediationV1 } from '../../../shared/dist/invocation/index.js';
|
|
18
18
|
import { COMPATIBILITY_CAPABILITIES, type CompatibilityOfferV1, type CompatibilityResultV1, type PrivateExecutionHostKind } from '../../../shared/dist/compatibility/index.js';
|
|
19
19
|
import { type P205TransientExecutionAuthority } from '../git/git-lifecycle-store.js';
|
|
20
20
|
import type { PublishedStoryReconciliation } from '../git/published-story-reconciliation.js';
|
|
@@ -25,6 +25,12 @@ import type { PublishedStoryReconciliation } from '../git/published-story-reconc
|
|
|
25
25
|
* integers match, so no rejected value is reflected.
|
|
26
26
|
*/
|
|
27
27
|
export declare function publicYoloSpecEnvelopeErrorCode(error: unknown, allowChangeEvidence?: boolean): string;
|
|
28
|
+
export declare function acceptedSemanticYoloopSessionRecovery(input: {
|
|
29
|
+
readonly remediation: unknown;
|
|
30
|
+
readonly requestSha256: string;
|
|
31
|
+
readonly sessionId: string;
|
|
32
|
+
readonly graphRevision: string;
|
|
33
|
+
}): SemanticGateRemediationV1 | null;
|
|
28
34
|
export declare const INVOKE_PAYLOAD_LIMIT_BYTES: number;
|
|
29
35
|
export declare const INVOKE_PAYLOAD_WARNING_THRESHOLD_BYTES: number;
|
|
30
36
|
interface PendingEpicClaimDocument {
|
|
@@ -181,6 +187,23 @@ export interface InvokeResult {
|
|
|
181
187
|
readonly errorCode?: string;
|
|
182
188
|
readonly exitCode: number;
|
|
183
189
|
}
|
|
190
|
+
export interface NativeCustodyGateDiagnosticV1 {
|
|
191
|
+
readonly schemaVersion: 1;
|
|
192
|
+
readonly reasonCode: 'sqlite-adapter-unavailable' | 'native-custody-observation-failed';
|
|
193
|
+
readonly remediation: string;
|
|
194
|
+
readonly retrySafeAfterRepair: true;
|
|
195
|
+
readonly publicSafe: true;
|
|
196
|
+
}
|
|
197
|
+
/** Keep native-custody failures actionable without projecting raw paths or adapter exceptions. */
|
|
198
|
+
export declare function projectNativeCustodyGateDiagnostic(error: unknown): NativeCustodyGateDiagnosticV1;
|
|
199
|
+
export declare function projectNativeCustodyCliDiagnostic(input: unknown): NativeCustodyGateDiagnosticV1 | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* Every failed invoke carries one closed semantic repair contract. Server
|
|
202
|
+
* contracts remain authoritative. Client-side preflight failures receive a
|
|
203
|
+
* bounded inspection contract so wrappers and agents never have to infer a
|
|
204
|
+
* retry or synthesize request fields.
|
|
205
|
+
*/
|
|
206
|
+
export declare function ensureInvokeSemanticGateRemediation(args: string, result: InvokeResult): InvokeResult;
|
|
184
207
|
/**
|
|
185
208
|
* Convert the server's drift observation into a local, actionable hard stop.
|
|
186
209
|
* The response is evidence that the request was rejected, never authority for
|
|
@@ -935,6 +958,13 @@ interface SendResult {
|
|
|
935
958
|
readonly compatibility?: CompatibilityResultV1;
|
|
936
959
|
readonly networkFailure?: TransportFailureCause;
|
|
937
960
|
}
|
|
961
|
+
/**
|
|
962
|
+
* Preserve only the server's closed, public-safe private failure authority.
|
|
963
|
+
* Private invoke responses can be adjacent to protected material, so arbitrary
|
|
964
|
+
* messages and unknown fields never cross this boundary.
|
|
965
|
+
*/
|
|
966
|
+
export declare function projectPrivateInvokeFailureBody(input: unknown): Record<string, unknown> | undefined;
|
|
967
|
+
export declare function projectCreateEpicClaimRecoveryCli(input: unknown): Record<string, unknown> | undefined;
|
|
938
968
|
/**
|
|
939
969
|
* Preserve the server's public error authority across the transport boundary.
|
|
940
970
|
*
|