@ornexus/neocortex 4.66.24 → 4.66.26

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 (37) 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/commands/invoke.d.ts +12 -2
  7. package/packages/client/dist/commands/invoke.js +97 -97
  8. package/packages/client/dist/continuity/sqlite-store.d.ts +46 -1
  9. package/packages/client/dist/continuity/sqlite-store.js +96 -67
  10. package/packages/client/dist/git/story-worktree-manager.d.ts +2 -0
  11. package/packages/client/dist/git/story-worktree-manager.js +3 -3
  12. package/packages/client/dist/runner/headless/run-yolo.d.ts +4 -0
  13. package/packages/client/dist/runner/headless/run-yolo.js +1 -1
  14. package/packages/client/dist/runner/headless/run-yoloop.d.ts +55 -0
  15. package/packages/client/dist/runner/headless/run-yoloop.js +4 -4
  16. package/packages/client/dist/runner/headless/types.d.ts +6 -0
  17. package/packages/client/dist/runner/headless/types.js +2 -2
  18. package/targets-stubs/antigravity/gemini.md +1 -1
  19. package/targets-stubs/antigravity/neocortex.md +1 -1
  20. package/targets-stubs/antigravity/skill/SKILL.md +1 -1
  21. package/targets-stubs/claude-code/neocortex-root.agent.yaml +1 -1
  22. package/targets-stubs/claude-code/neocortex-root.md +2 -2
  23. package/targets-stubs/claude-code/neocortex-sentinel.md +1 -1
  24. package/targets-stubs/claude-code/neocortex.agent.yaml +1 -1
  25. package/targets-stubs/claude-code/neocortex.md +2 -2
  26. package/targets-stubs/codex/AGENTS.md +1 -1
  27. package/targets-stubs/codex/neocortex.toml +1 -1
  28. package/targets-stubs/cursor/agent.md +2 -2
  29. package/targets-stubs/deepseek-harness/SKILL.md +1 -1
  30. package/targets-stubs/gemini-cli/agent.md +2 -2
  31. package/targets-stubs/gemini-cli/agents/neocortex.md +2 -2
  32. package/targets-stubs/grok/SKILL.md +1 -1
  33. package/targets-stubs/kimi/neocortex.md +1 -1
  34. package/targets-stubs/openclaw/SKILL.md +1 -1
  35. package/targets-stubs/opencode/neocortex-root.md +2 -2
  36. package/targets-stubs/opencode/neocortex.md +2 -2
  37. 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.24"
22
+ $VERSION = "4.66.26"
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.24"
7
+ VERSION="4.66.26"
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.24",
4
- "description": "Neocortex v4.66.24",
3
+ "version": "4.66.26",
4
+ "description": "Neocortex v4.66.26",
5
5
  "keywords": [
6
6
  "claude",
7
7
  "claude-code",
@@ -27,12 +27,22 @@ import type { PublishedStoryReconciliation } from '../git/published-story-reconc
27
27
  export declare function publicYoloSpecEnvelopeErrorCode(error: unknown, allowChangeEvidence?: boolean): string;
28
28
  export declare const INVOKE_PAYLOAD_LIMIT_BYTES: number;
29
29
  export declare const INVOKE_PAYLOAD_WARNING_THRESHOLD_BYTES: number;
30
+ interface PendingEpicClaimDocument {
31
+ readonly schemaVersion: 1;
32
+ readonly operations: Readonly<Record<string, {
33
+ readonly idempotencyKey: string;
34
+ readonly createdAt: string;
35
+ readonly claimId?: string;
36
+ readonly epicId?: string;
37
+ readonly planningProtocol?: 'root-staged-v1';
38
+ }>>;
39
+ }
30
40
  type EpicClaimCommand = 'create-epic' | 'idea-diagnose';
31
41
  export declare function getOrCreatePendingEpicIdempotencyKey(projectRoot: string, args: string, command?: EpicClaimCommand): {
32
42
  readonly key: string;
33
43
  readonly fingerprint: string;
34
44
  };
35
- export declare function clearPendingEpicIdempotencyKey(projectRoot: string, fingerprint: string): void;
45
+ export declare function clearPendingEpicIdempotencyKey(projectRoot: string, fingerprint: string, expected?: PendingEpicClaimDocument['operations'][string]): boolean;
36
46
  /**
37
47
  * Stable logical key for one YOLO state transition. Physical HTTP retries and
38
48
  * process restarts reuse the key while a changed story checkpoint produces a
@@ -981,7 +991,7 @@ export declare function sendEpicClaimAcknowledgement(serverUrl: string, authToke
981
991
  * written to stderr.
982
992
  */
983
993
  export declare function recordRefusedYoloopRoundIfAny(projectRoot: string, stateSnapshot: Pick<StateSnapshot, 'epics' | 'stories'>, yoloopState: YoloopPersistedState): Promise<YoloopPersistedState>;
984
- export declare function acknowledgeMaterializedPendingEpicClaims(projectRoot: string, stateSnapshot: StateSnapshot, serverUrl: string, authToken: string, projectId: string | undefined, retryOptions?: InvokePhysicalRetryOptions): Promise<number>;
994
+ export declare function acknowledgeMaterializedPendingEpicClaims(projectRoot: string, stateSnapshot: StateSnapshot, serverUrl: string, authToken: string, projectId: string | undefined, targetEpicId: string | undefined, retryOptions?: InvokePhysicalRetryOptions): Promise<number>;
985
995
  export type YoloopInvalidatedSessionRecoveryResultV1 = {
986
996
  readonly outcome: 'applied';
987
997
  readonly payloadHash: string;