omnius 1.0.978 → 1.0.980
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/orchestrator/interruption-lifecycle.d.ts +19 -0
- package/dist/index.js +2 -2
- package/dist/library.js +359 -299
- package/dist/tui/native/worker.js +13 -58
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -177,6 +177,25 @@ export declare class InterruptionLifecycle {
|
|
|
177
177
|
interruptionEffect?: InterruptionEffectClass;
|
|
178
178
|
};
|
|
179
179
|
}): number;
|
|
180
|
+
/** Settle an interrupted task_complete from the caller's write-ahead delivery
|
|
181
|
+
* evidence. task_complete's only external effect is delivering its reply
|
|
182
|
+
* (and selected artifacts); the caller's ledgers record every delivery
|
|
183
|
+
* before dispatch. "absent" means nothing was prepared after the call was
|
|
184
|
+
* admitted, so finishing again cannot duplicate a message; "applied" means
|
|
185
|
+
* every prepared delivery was acknowledged by the provider. Any other
|
|
186
|
+
* evidence (a prepared, started or ambiguous send) keeps the fence. */
|
|
187
|
+
reconcileInterruptedCompletionDelivery(input: {
|
|
188
|
+
expected: Pick<InterruptionRunIdentity, "sessionId" | "runId" | "taskEpoch" | "owner">;
|
|
189
|
+
/** `endedAt` is when the interrupted call stopped (its acknowledgement time); no delivery after it belongs to the call. */
|
|
190
|
+
outcome: (effect: {
|
|
191
|
+
operationId: string;
|
|
192
|
+
admittedAt: string;
|
|
193
|
+
endedAt: string;
|
|
194
|
+
}) => {
|
|
195
|
+
state: "absent" | "applied";
|
|
196
|
+
evidenceId: string;
|
|
197
|
+
} | undefined;
|
|
198
|
+
}): number;
|
|
180
199
|
/** Settle interrupted shell calls whose exact admitted command the current
|
|
181
200
|
* registered native classifier proves read-only. A read-only command has no
|
|
182
201
|
* external effect to be absent or applied, so this never authorizes replay
|
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: 43182037 bytes
|
|
4
|
+
sha256: 2753641ed383be32ea0977ece6e1ae8ed8b1ee169a18b7119b8309b72f5d41cf
|