@ornexus/neocortex 4.66.21 → 4.66.23

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 (30) hide show
  1. package/dist/release-source.json +1 -1
  2. package/dist/sbom.cdx.json +1194 -1194
  3. package/install.ps1 +1 -1
  4. package/install.sh +1 -1
  5. package/package.json +2 -2
  6. package/packages/client/dist/continuity/sqlite-store.d.ts +23 -0
  7. package/packages/client/dist/continuity/sqlite-store.js +96 -68
  8. package/packages/client/dist/git/published-story-reconciliation.js +5 -5
  9. package/packages/client/dist/runner/headless/run-yolo.js +1 -1
  10. package/packages/client/dist/runner/headless/run-yoloop.js +4 -4
  11. package/targets-stubs/antigravity/gemini.md +1 -1
  12. package/targets-stubs/antigravity/neocortex.md +1 -1
  13. package/targets-stubs/antigravity/skill/SKILL.md +1 -1
  14. package/targets-stubs/claude-code/neocortex-root.agent.yaml +1 -1
  15. package/targets-stubs/claude-code/neocortex-root.md +2 -2
  16. package/targets-stubs/claude-code/neocortex-sentinel.md +1 -1
  17. package/targets-stubs/claude-code/neocortex.agent.yaml +1 -1
  18. package/targets-stubs/claude-code/neocortex.md +2 -2
  19. package/targets-stubs/codex/AGENTS.md +1 -1
  20. package/targets-stubs/codex/neocortex.toml +1 -1
  21. package/targets-stubs/cursor/agent.md +2 -2
  22. package/targets-stubs/deepseek-harness/SKILL.md +1 -1
  23. package/targets-stubs/gemini-cli/agent.md +2 -2
  24. package/targets-stubs/gemini-cli/agents/neocortex.md +2 -2
  25. package/targets-stubs/grok/SKILL.md +1 -1
  26. package/targets-stubs/kimi/neocortex.md +1 -1
  27. package/targets-stubs/openclaw/SKILL.md +1 -1
  28. package/targets-stubs/opencode/neocortex-root.md +2 -2
  29. package/targets-stubs/opencode/neocortex.md +2 -2
  30. package/targets-stubs/vscode/neocortex.agent.md +2 -2
package/install.ps1 CHANGED
@@ -19,7 +19,7 @@ param(
19
19
  [string]$ServerUrl = ('https://{0}.{1}.{2}' -f 'api','neocortex','sh')
20
20
  )
21
21
 
22
- $VERSION = "4.66.21"
22
+ $VERSION = "4.66.23"
23
23
 
24
24
  # =============================================================================
25
25
  # CONFIGURACOES
package/install.sh CHANGED
@@ -4,7 +4,7 @@
4
4
  # Development Orchestrator
5
5
 
6
6
  # Versao do instalador
7
- VERSION="4.66.21"
7
+ VERSION="4.66.23"
8
8
 
9
9
  # Flags
10
10
  MIGRATION_DETECTED=false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ornexus/neocortex",
3
- "version": "4.66.21",
4
- "description": "Neocortex v4.66.21",
3
+ "version": "4.66.23",
4
+ "description": "Neocortex v4.66.23",
5
5
  "keywords": [
6
6
  "claude",
7
7
  "claude-code",
@@ -934,6 +934,14 @@ export declare class ContinuitySqliteStore {
934
934
  }): NativeAgentDispatchReceiptV1 | null;
935
935
  listRecentNativeAgentDispatches(limit?: number): readonly NativeAgentDispatchReceiptV1[];
936
936
  listUnsettledNativeAgentDispatches(limit: number): readonly NativeAgentDispatchReceiptV1[];
937
+ getUnsettledStoryWorker(storyId: string, nowIso?: string): {
938
+ readonly attemptId: string;
939
+ readonly status: string;
940
+ readonly ownerRunnerId: string | null;
941
+ readonly leaseId: string | null;
942
+ readonly leaseExpiresAt: string | null;
943
+ readonly reasonCode: string;
944
+ } | null;
937
945
  hasUnsettledStoryWorker(storyId: string): boolean;
938
946
  private findNativeAgentDispatchRow;
939
947
  getLocalConsoleAttachmentState(jobId: string): ContinuityLocalConsoleAttachmentState | null;
@@ -943,6 +951,21 @@ export declare class ContinuitySqliteStore {
943
951
  enqueueHeadlessExecutionAttempt(input: ContinuityHeadlessExecutionAttemptEnqueueInput): ContinuityHeadlessExecutionEnqueueResult;
944
952
  listDueHeadlessExecutionAttempts(options: ContinuityHeadlessExecutionDueQueryOptions): readonly ContinuityHeadlessExecutionAttemptRow[];
945
953
  hasCompletedHeadlessExecutionDirectiveHash(directiveHash: string, excludeAttemptId?: string): boolean;
954
+ /** A completed row alone is not a replay proof: completion and its receipt
955
+ * are separate writes. Reuse only the exact applied receipt for this child. */
956
+ getAppliedHeadlessExecutionReceipt(input: {
957
+ readonly attemptId: string;
958
+ readonly executionId: string;
959
+ readonly jobId: string;
960
+ readonly storyId: string;
961
+ readonly targetRef: string;
962
+ }): {
963
+ readonly receiptId: string;
964
+ readonly createdAt: string;
965
+ readonly reasonCode: string;
966
+ readonly ownerRunnerId: string;
967
+ readonly leaseId: string;
968
+ } | null;
946
969
  claimHeadlessExecutionAttempt(input: ContinuityHeadlessExecutionAttemptClaimInput): ContinuitySqliteWriteResult;
947
970
  acquireNextHeadlessExecutionAttempt(input: ContinuityHeadlessExecutionAcquireNextInput): ContinuityHeadlessExecutionAcquireNextResult;
948
971
  heartbeatHeadlessExecutionAttempt(input: ContinuityHeadlessExecutionAttemptHeartbeatInput): ContinuitySqliteWriteResult;