@ornexus/neocortex 4.66.25 → 4.66.44
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 +2 -2
- package/packages/client/dist/commands/invoke.d.ts +25 -3
- package/packages/client/dist/commands/invoke.js +96 -96
- package/packages/client/dist/continuity/sqlite-store.d.ts +3 -1
- package/packages/client/dist/continuity/sqlite-store.js +26 -20
- package/packages/client/dist/git/direct-yolo-checkpoint.d.ts +10 -0
- package/packages/client/dist/git/direct-yolo-checkpoint.js +4 -4
- package/packages/client/dist/git/git-lifecycle-store.d.ts +16 -0
- package/packages/client/dist/git/git-lifecycle-store.js +9 -9
- package/packages/client/dist/git/published-story-reconciliation.d.ts +7 -3
- package/packages/client/dist/git/published-story-reconciliation.js +5 -5
- package/packages/client/dist/git/secure-filesystem-boundary.d.ts +1 -1
- package/packages/client/dist/git/secure-filesystem-boundary.js +5 -5
- package/packages/client/dist/git/story-worktree-integration.d.ts +2 -0
- package/packages/client/dist/git/story-worktree-integration.js +3 -3
- package/packages/client/dist/git/story-worktree-manager.d.ts +3 -0
- package/packages/client/dist/git/story-worktree-manager.js +3 -3
- package/packages/client/dist/license/license-client.js +1 -1
- package/packages/client/dist/runner/headless/epic-merge-candidate-qa.d.ts +17 -0
- package/packages/client/dist/runner/headless/epic-merge-candidate-qa.js +3 -2
- package/packages/client/dist/runner/headless/run-yolo.d.ts +4 -0
- package/packages/client/dist/runner/headless/run-yolo.js +1 -1
- package/packages/client/dist/runner/headless/run-yoloop.d.ts +79 -0
- package/packages/client/dist/runner/headless/run-yoloop.js +4 -4
- package/postinstall.js +6 -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
|
@@ -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):
|
|
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
|
|
@@ -869,6 +879,8 @@ export interface P205AuthorityEpicDiagnostic {
|
|
|
869
879
|
export interface InvokeP205AuthorityProjection {
|
|
870
880
|
readonly authorities: Readonly<Record<string, P205TransientExecutionAuthority>>;
|
|
871
881
|
readonly diagnostics: readonly P205AuthorityEpicDiagnostic[];
|
|
882
|
+
/** Public-safe reason when the physical gate could not mint any authority. */
|
|
883
|
+
readonly failureReasonCode?: string;
|
|
872
884
|
/**
|
|
873
885
|
* P230.07 AC3: `finalize-epic` only -- authority minted by the same single
|
|
874
886
|
* P205 run for the target epic's current graph revision (exact for the
|
|
@@ -876,6 +888,16 @@ export interface InvokeP205AuthorityProjection {
|
|
|
876
888
|
*/
|
|
877
889
|
readonly epicAuthorities: Readonly<Record<string, P205TransientExecutionAuthority>>;
|
|
878
890
|
}
|
|
891
|
+
export interface InvokeP205AuthorityCollectionOptions {
|
|
892
|
+
/**
|
|
893
|
+
* Retained for source compatibility with prior callers. Root yoloop is a
|
|
894
|
+
* scheduling boundary and never executes the complete P205 gate, including
|
|
895
|
+
* published-checkpoint recovery.
|
|
896
|
+
*/
|
|
897
|
+
readonly publishedCheckpointRecovery?: boolean;
|
|
898
|
+
/** Fresh scheduling proofs are projected separately and grant no P205 authority. */
|
|
899
|
+
readonly publishedStoryReconciliations?: readonly PublishedStoryReconciliation[];
|
|
900
|
+
}
|
|
879
901
|
/**
|
|
880
902
|
* P230.07 (P230-CON-P205-FINALIZE): the physical first-parent order is the
|
|
881
903
|
* canonical claim order when the listed checkpoint set is exactly the physical
|
|
@@ -884,7 +906,7 @@ export interface InvokeP205AuthorityProjection {
|
|
|
884
906
|
*/
|
|
885
907
|
export declare function canonicalizeEpicCheckpointOrder(listed: readonly string[], candidates: readonly EpicCheckpointOrderCandidate[]): EpicCheckpointOrderDecision;
|
|
886
908
|
export declare function collectInvokeP205Authorities(projectRoot: string, args: string, commandId: string | null | undefined): Promise<Readonly<Record<string, P205TransientExecutionAuthority>>>;
|
|
887
|
-
export declare function collectInvokeP205AuthorityProjection(projectRoot: string, args: string, commandId: string | null | undefined): Promise<InvokeP205AuthorityProjection>;
|
|
909
|
+
export declare function collectInvokeP205AuthorityProjection(projectRoot: string, args: string, commandId: string | null | undefined, _options?: InvokeP205AuthorityCollectionOptions): Promise<InvokeP205AuthorityProjection>;
|
|
888
910
|
/** Bounded `finalize-epic` target: `epic-P<n>.md` or an isolated `P<n>` token. */
|
|
889
911
|
export declare function finalizeEpicTargetId(args: string): string | undefined;
|
|
890
912
|
/**
|
|
@@ -981,7 +1003,7 @@ export declare function sendEpicClaimAcknowledgement(serverUrl: string, authToke
|
|
|
981
1003
|
* written to stderr.
|
|
982
1004
|
*/
|
|
983
1005
|
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>;
|
|
1006
|
+
export declare function acknowledgeMaterializedPendingEpicClaims(projectRoot: string, stateSnapshot: StateSnapshot, serverUrl: string, authToken: string, projectId: string | undefined, targetEpicId: string | undefined, retryOptions?: InvokePhysicalRetryOptions): Promise<number>;
|
|
985
1007
|
export type YoloopInvalidatedSessionRecoveryResultV1 = {
|
|
986
1008
|
readonly outcome: 'applied';
|
|
987
1009
|
readonly payloadHash: string;
|