omnius 1.0.966 → 1.0.967
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/_types/execution/shell-runs.d.ts +1 -1
- package/dist/_types/execution/types.d.ts +18 -0
- package/dist/_types/orchestrator/agenticRunner.d.ts +7 -0
- package/dist/_types/orchestrator/owned-inference-wait.d.ts +3 -0
- package/dist/_types/orchestrator/owned-model-wait.d.ts +7 -0
- package/dist/_types/orchestrator/taskRequirements.d.ts +7 -0
- package/dist/index.js +2 -2
- package/dist/library.js +266 -48
- package/dist/postinstall-daemon.cjs +34 -31
- package/dist/update-worker-runtime.js +133 -76
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -51,7 +51,7 @@ export interface ShellRunSource {
|
|
|
51
51
|
}
|
|
52
52
|
export declare const SHELL_RUN_TAIL_BYTES = 65536;
|
|
53
53
|
export declare const SHELL_RUN_TERMINAL_RETENTION = 32;
|
|
54
|
-
export declare const SHELL_MODEL_GUIDANCE = "Run command:string with required timeout: positive integer milliseconds or null for no deadline. Example: {\"command\":\"pwd\",\"timeout\":null}. Optional stdin:string. No cwd/workdir/yield fields; use cd inside command. Persistent jobs: background_run.";
|
|
54
|
+
export declare const SHELL_MODEL_GUIDANCE = "Run command:string with required timeout: positive integer milliseconds or null for no deadline. Example: {\"command\":\"pwd\",\"timeout\":null}. Optional stdin:string. Use focused_check only when an active source contract requests it. No cwd/workdir/yield fields; use cd inside command. Persistent jobs: background_run.";
|
|
55
55
|
/** Preserve exact intent for a small set of historical spellings. Never
|
|
56
56
|
* supply a deadline, coerce values, or choose between conflicting arguments. */
|
|
57
57
|
export declare function normalizeShellInput(args: Record<string, unknown>): Record<string, unknown>;
|
|
@@ -89,6 +89,15 @@ export interface CommandEvidenceReceipt {
|
|
|
89
89
|
/** Authenticated direct invocation with a framework-identified outcome. */
|
|
90
90
|
orderedOutcome?: "assertion_failure" | "pass";
|
|
91
91
|
};
|
|
92
|
+
/** Executor-observed direct boundary assertion on current workspace bytes. */
|
|
93
|
+
focusedVerification?: {
|
|
94
|
+
requirementId: string;
|
|
95
|
+
implementationPath: string;
|
|
96
|
+
sourceQuote: string;
|
|
97
|
+
sourceSha256: string;
|
|
98
|
+
testedRevision: string;
|
|
99
|
+
outputRef: string;
|
|
100
|
+
};
|
|
92
101
|
/** Exact explicit task artifacts observed by this local command, when the
|
|
93
102
|
* controller can attest the relationship. This is never inferred from
|
|
94
103
|
* display output and never grants verification authority by itself. */
|
|
@@ -271,6 +280,15 @@ export interface ToolInvocationContext {
|
|
|
271
280
|
command: string;
|
|
272
281
|
invocationCwd: string;
|
|
273
282
|
}>;
|
|
283
|
+
/** Host-bound source quote and requirement for a single scoped assertion. */
|
|
284
|
+
focusedVerifier?: Readonly<{
|
|
285
|
+
command: string;
|
|
286
|
+
cwd: string;
|
|
287
|
+
requirementId: string;
|
|
288
|
+
implementationPath: string;
|
|
289
|
+
sourceQuote: string;
|
|
290
|
+
sourceSha256: string;
|
|
291
|
+
}>;
|
|
274
292
|
/** Current runner-owned task context for bounded UI policy requests. Never tool/page input. */
|
|
275
293
|
uiTaskContext?: {
|
|
276
294
|
goal: string;
|
|
@@ -1430,6 +1430,11 @@ export interface AgenticResult {
|
|
|
1430
1430
|
summary: string;
|
|
1431
1431
|
/** The run ended at a saved local pause, with no terminal completion. */
|
|
1432
1432
|
ownedModelBlocker?: Readonly<OwnedModelBlocker>;
|
|
1433
|
+
finalDelivery?: {
|
|
1434
|
+
status: "pending";
|
|
1435
|
+
originalRequestId: string;
|
|
1436
|
+
testsRun: string[];
|
|
1437
|
+
};
|
|
1433
1438
|
runtimeFailure?: TerminalRuntimeFailure;
|
|
1434
1439
|
decisionStopReason?: DecisionStopReason;
|
|
1435
1440
|
/** A user answer owned by the exact task_complete call whose success was
|
|
@@ -2484,6 +2489,7 @@ export declare class AgenticRunner {
|
|
|
2484
2489
|
private _standaloneLocalDraftTaskIsCurrent;
|
|
2485
2490
|
private _standaloneDraftWorkspaceRevision;
|
|
2486
2491
|
private _standaloneDraftVerification;
|
|
2492
|
+
private _verifiedFinalDelivery;
|
|
2487
2493
|
private _retainStandaloneDraftReview;
|
|
2488
2494
|
private _routineCodingCloseout;
|
|
2489
2495
|
private _completionReadinessSnapshot;
|
|
@@ -2663,6 +2669,7 @@ export declare class AgenticRunner {
|
|
|
2663
2669
|
private _persistOwnedModelWait;
|
|
2664
2670
|
private _ownedModelWaitTicket;
|
|
2665
2671
|
private _restorableBlockedModelObservation;
|
|
2672
|
+
private _canObserveFinalResponse;
|
|
2666
2673
|
private _blockOwnedModelWait;
|
|
2667
2674
|
private _ownedModelBlockerSummary;
|
|
2668
2675
|
private _observeOwnedModelWait;
|
|
@@ -9,6 +9,7 @@ export interface OwnedInferenceWaitOwnerV1 {
|
|
|
9
9
|
}
|
|
10
10
|
export type OwnedInferenceWaitState = "ambiguous" | "retained_queue" | "in_progress" | "completed" | "completed_unavailable" | "unresolved";
|
|
11
11
|
export declare const OWNED_INFERENCE_OBSERVATION_ROUTE_UNAVAILABLE = "original_observation_route_unavailable";
|
|
12
|
+
export declare const OWNED_FINAL_RESPONSE_CONFIRMED_UNAVAILABLE = "original_final_response_confirmed_unavailable";
|
|
12
13
|
export interface OwnedInferenceWaitReceiptV1 {
|
|
13
14
|
readonly schema: "omnius.owned-inference-wait.v1";
|
|
14
15
|
readonly custodyRef: string;
|
|
@@ -72,6 +73,8 @@ export interface OwnedInferenceWaitObserveOptions {
|
|
|
72
73
|
signal?: AbortSignal;
|
|
73
74
|
/** Initial readiness interval for this body-free lookup. The host signal also bounds semantic idle and total time. */
|
|
74
75
|
timeoutMs: number;
|
|
76
|
+
/** Exact response lookup for a verified closeout whose original wire request had no tools. */
|
|
77
|
+
finalDelivery?: boolean;
|
|
75
78
|
assertCurrent?: () => void;
|
|
76
79
|
onObservation?: (receipt: OwnedInferenceWaitReceiptV1) => void;
|
|
77
80
|
/** A native decoded semantic transition under the current original response's issued receipt. */
|
|
@@ -5,8 +5,14 @@ export interface OwnedModelBlocker {
|
|
|
5
5
|
disposition: "confirmed_unsent" | "observe_original" | "unresolved";
|
|
6
6
|
checkpointSaved: boolean;
|
|
7
7
|
canResume: boolean;
|
|
8
|
+
phase?: "final_delivery_pending";
|
|
8
9
|
transportStage?: OwnedInferenceWaitReceiptV1["transportStage"];
|
|
9
10
|
}
|
|
11
|
+
export interface VerifiedFinalDelivery {
|
|
12
|
+
workspaceRevision: string;
|
|
13
|
+
evidenceKey: string;
|
|
14
|
+
testsRun: string[];
|
|
15
|
+
}
|
|
10
16
|
/** Host attempt custody. This is not a provider admission or observer grant. */
|
|
11
17
|
export interface OwnedModelWaitCheckpointV1 {
|
|
12
18
|
schema: "omnius.owned-model-wait-checkpoint.v1";
|
|
@@ -36,6 +42,7 @@ export interface OwnedModelWaitCheckpointV1 {
|
|
|
36
42
|
retiredByInputId?: string;
|
|
37
43
|
startedAtMs: number;
|
|
38
44
|
observationBudgetMs: number;
|
|
45
|
+
finalDelivery?: VerifiedFinalDelivery;
|
|
39
46
|
}
|
|
40
47
|
export declare function isOwnedModelWaitCheckpointV1(value: unknown): value is OwnedModelWaitCheckpointV1;
|
|
41
48
|
export declare function isMatchingOwnedModelDispatchFailure(record: OwnedModelWaitCheckpointV1, receipt: OwnedInferenceDispatchFailureV1): boolean;
|
|
@@ -17,6 +17,13 @@ export type TaskNativeCheckV1 = {
|
|
|
17
17
|
mode: "unchanged" | "untouched";
|
|
18
18
|
evidenceRef: string;
|
|
19
19
|
quote: string;
|
|
20
|
+
} | {
|
|
21
|
+
kind: "focused_verification";
|
|
22
|
+
implementationPath: string;
|
|
23
|
+
evidenceRef: string;
|
|
24
|
+
quote: string;
|
|
25
|
+
suiteCommand: string;
|
|
26
|
+
suiteQuote: string;
|
|
20
27
|
} | {
|
|
21
28
|
kind: "ordered_verification";
|
|
22
29
|
phase: "red" | "green" | "suite";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/index.js
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 43008270 bytes
|
|
4
|
+
sha256: 87d83292967d618eeb79f567755cb583a2aeab2101cdd18b2f7076a90e91a33d
|