@ornexus/neocortex 4.66.13 → 4.66.14
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 +1194 -1194
- package/install.ps1 +1 -1
- package/install.sh +1 -1
- package/package.json +3 -2
- package/packages/client/dist/commands/invoke.js +1 -1
- package/packages/client/dist/continuity/migrations/007-native-launch-retry.d.ts +19 -0
- package/packages/client/dist/continuity/migrations/007-native-launch-retry.js +16 -0
- package/packages/client/dist/continuity/sqlite-store.d.ts +1 -1
- package/packages/client/dist/continuity/sqlite-store.js +68 -67
- package/packages/client/dist/yoloop/invoke-hooks.d.ts +3 -3
- package/packages/client/dist/yoloop/invoke-hooks.js +11 -11
- package/packages/client/dist/yoloop/shared-yoloop-types.d.ts +2 -1
- package/packages/client/dist/yoloop/yoloop-client-state-store.d.ts +2 -1
- package/packages/client/dist/yoloop/yoloop-client-state-store.js +1 -1
- package/packages/shared/dist/yoloop/native-launch-retry.js +16 -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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornexus/neocortex",
|
|
3
|
-
"version": "4.66.
|
|
4
|
-
"description": "Neocortex v4.66.
|
|
3
|
+
"version": "4.66.14",
|
|
4
|
+
"description": "Neocortex v4.66.14",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
7
7
|
"claude-code",
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
"packages/shared/dist/yoloop/epic-terminal-git.js",
|
|
85
85
|
"packages/shared/dist/yoloop/operational-budget.js",
|
|
86
86
|
"packages/shared/dist/yoloop/host-capacity.js",
|
|
87
|
+
"packages/shared/dist/yoloop/native-launch-retry.js",
|
|
87
88
|
"packages/shared/dist/project-manifest-projection.js",
|
|
88
89
|
"packages/shared/dist/yoloop/wave-decision-receipt.js",
|
|
89
90
|
"packages/shared/dist/yoloop/planning-graph.js",
|
|
@@ -107,7 +107,7 @@ The C04 barrier did not open within the bounded wait. Return this resumable rece
|
|
|
107
107
|
`),process.stderr.write(` After upgrading, re-run your yoloop command.
|
|
108
108
|
`),process.stderr.write(`==================================================
|
|
109
109
|
|
|
110
|
-
`),{success:!1,error:"CLIENT_UPGRADE_REQUIRED: This client does not support yoloop client-side persistence. Run: npm install -g @ornexus/neocortex@latest",exitCode:3};if(m.data.metadata?.yoloopStateUpdate){const p=(m.data.metadata.yoloopStateUpdate.operations??[]).some(y=>y.type==="rollover_session");try{const y=await v.executeAsync({phase:"client-writeback",domain:"client-persistence",category:"state-writeback",operation:"update"},async()=>{const{persistYoloopFromResponse:R}=await import("../yoloop/invoke-hooks.js");return R(m.data.metadata,d)},async()=>({ok:!0,authoritative:!1,reasonCodes:[]}));if(y&&y.ok===!1){const R=y.reasonCodes[0]??"YOLOOP_AUTHORITATIVE_WRITEBACK_FAILED";return process.stderr.write(`[Neocortex] ${R}. No yoloop continuation instructions were released.
|
|
110
|
+
`),{success:!1,error:"CLIENT_UPGRADE_REQUIRED: This client does not support yoloop client-side persistence. Run: npm install -g @ornexus/neocortex@latest",exitCode:3};if(m.data.metadata?.yoloopStateUpdate){const p=(m.data.metadata.yoloopStateUpdate.operations??[]).some(y=>y.type==="rollover_session"||y.type==="commit_successor_transition"||y.type==="acquire_lock"||y.type==="release_lock"&&y.expectedLeaseId!==void 0);try{const y=await v.executeAsync({phase:"client-writeback",domain:"client-persistence",category:"state-writeback",operation:"update"},async()=>{const{persistYoloopFromResponse:R}=await import("../yoloop/invoke-hooks.js");return R(m.data.metadata,d)},async()=>({ok:!0,authoritative:!1,reasonCodes:[]}));if(y&&y.ok===!1){const R=y.reasonCodes[0]??"YOLOOP_AUTHORITATIVE_WRITEBACK_FAILED";return process.stderr.write(`[Neocortex] ${R}. No yoloop continuation instructions were released.
|
|
111
111
|
`),{success:!1,error:R,errorCode:R,exitCode:1}}}catch(y){if(p){const R=y instanceof Error?y.message.match(/\bYOLOOP_[A-Z0-9_]+\b/)?.[0]??"YOLOOP_AUTHORITATIVE_WRITEBACK_FAILED":"YOLOOP_AUTHORITATIVE_WRITEBACK_FAILED";return process.stderr.write(`[Neocortex] ${R}. No yoloop continuation instructions were released.
|
|
112
112
|
`),{success:!1,error:R,errorCode:R,exitCode:1}}}}if(m.data.metadata?.continuityStateUpdate)try{const c=await v.executeAsync({phase:"client-writeback",domain:"client-persistence",category:"continuity-store",operation:"update"},async()=>{const{persistContinuityFromResponse:p}=await import("../continuity/invoke-hooks.js");return p(m.data.metadata,d)},async()=>({ok:!0,reasonCodes:[]}));if(!c.ok){const p=c.reasonCodes.join(",");return process.stderr.write(`[Neocortex] continuity persistence failed: ${p}. No continuity mutation was committed.
|
|
113
113
|
`),{success:!1,error:`CONTINUITY_PERSISTENCE_FAILED: ${p}`,errorCode:"CONTINUITY_PERSISTENCE_FAILED",exitCode:1}}}catch(c){const p=c instanceof Error?c.message:String(c);return process.stderr.write(`[Neocortex] continuity persistence hook failed: ${p}. No continuity mutation was committed.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const NATIVE_LAUNCH_RETRY_SQLITE_MIGRATION: Readonly<{
|
|
2
|
+
readonly version: 7;
|
|
3
|
+
readonly name: "native-launch-retry";
|
|
4
|
+
readonly sql: `
|
|
5
|
+
DROP INDEX idx_native_agent_observations_dispatch_observed;
|
|
6
|
+
DROP INDEX idx_native_agent_dispatches_state_observed;
|
|
7
|
+
ALTER TABLE native_agent_observations RENAME TO native_agent_observations_v6;
|
|
8
|
+
ALTER TABLE native_agent_dispatches RENAME TO native_agent_dispatches_v6;
|
|
9
|
+
${string}
|
|
10
|
+
INSERT INTO native_agent_dispatches SELECT * FROM native_agent_dispatches_v6;
|
|
11
|
+
INSERT INTO native_agent_observations SELECT * FROM native_agent_observations_v6;
|
|
12
|
+
DROP TABLE native_agent_observations_v6;
|
|
13
|
+
DROP TABLE native_agent_dispatches_v6;
|
|
14
|
+
CREATE INDEX idx_native_agent_story_graph ON native_agent_dispatches(story_id, graph_revision);
|
|
15
|
+
CREATE UNIQUE INDEX idx_native_agent_one_live_dispatch
|
|
16
|
+
ON native_agent_dispatches(story_id, graph_revision)
|
|
17
|
+
WHERE state NOT IN ('completed', 'failed', 'interrupted');
|
|
18
|
+
`;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{NATIVE_AGENT_DISPATCHES_SQLITE_MIGRATION as e}from"./006-native-agent-dispatches.js";const _=Object.freeze({version:7,name:"native-launch-retry",sql:`
|
|
2
|
+
DROP INDEX idx_native_agent_observations_dispatch_observed;
|
|
3
|
+
DROP INDEX idx_native_agent_dispatches_state_observed;
|
|
4
|
+
ALTER TABLE native_agent_observations RENAME TO native_agent_observations_v6;
|
|
5
|
+
ALTER TABLE native_agent_dispatches RENAME TO native_agent_dispatches_v6;
|
|
6
|
+
${e.sql.replace(`,
|
|
7
|
+
UNIQUE (story_id, graph_revision)`,"")}
|
|
8
|
+
INSERT INTO native_agent_dispatches SELECT * FROM native_agent_dispatches_v6;
|
|
9
|
+
INSERT INTO native_agent_observations SELECT * FROM native_agent_observations_v6;
|
|
10
|
+
DROP TABLE native_agent_observations_v6;
|
|
11
|
+
DROP TABLE native_agent_dispatches_v6;
|
|
12
|
+
CREATE INDEX idx_native_agent_story_graph ON native_agent_dispatches(story_id, graph_revision);
|
|
13
|
+
CREATE UNIQUE INDEX idx_native_agent_one_live_dispatch
|
|
14
|
+
ON native_agent_dispatches(story_id, graph_revision)
|
|
15
|
+
WHERE state NOT IN ('completed', 'failed', 'interrupted');
|
|
16
|
+
`});export{_ as NATIVE_LAUNCH_RETRY_SQLITE_MIGRATION};
|
|
@@ -8,7 +8,7 @@ import { type NativeAgentDispatchReceiptV1, type NativeAgentFreshness, type Nati
|
|
|
8
8
|
import { CONTINUITY_RECEIPT_COMPACTION_EVENT_TYPE, CONTINUITY_RECEIPT_RETENTION_REASON_CODES, type ContinuityQueuePolicy, type ContinuityQueueScope, type ContinuityOutboxRetryPolicy, type ContinuityOutboxStatus, type ContinuityRetentionPolicyInput } from './outbox.js';
|
|
9
9
|
export declare const CONTINUITY_SQLITE_RELATIVE_DIR: ".neocortex/continuity";
|
|
10
10
|
export declare const CONTINUITY_SQLITE_FILENAME: "continuity.sqlite";
|
|
11
|
-
export declare const CONTINUITY_SQLITE_SCHEMA_VERSION:
|
|
11
|
+
export declare const CONTINUITY_SQLITE_SCHEMA_VERSION: 7;
|
|
12
12
|
export declare const DEFAULT_CONTINUITY_SQLITE_BUSY_TIMEOUT_MS = 5000;
|
|
13
13
|
export declare const CONTINUITY_PROCESSING_OUTPUT_SUMMARY_EVENT_TYPE: "processing_output_summary";
|
|
14
14
|
export declare const CONTINUITY_PROCESSING_OUTPUT_SUMMARY_MAX_CHARS: 2000;
|