@odla-ai/harness 0.11.0 → 0.11.1
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/{chunk-IXYKIPRA.js → chunk-DP6LOGBF.js} +61 -43
- package/dist/chunk-DP6LOGBF.js.map +1 -0
- package/dist/code-runtime-cli.cjs +59 -41
- package/dist/code-runtime-cli.cjs.map +1 -1
- package/dist/code-runtime-cli.js +1 -1
- package/dist/node.cjs +59 -41
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +20 -13
- package/dist/node.d.ts +20 -13
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-IXYKIPRA.js.map +0 -1
package/dist/node.d.cts
CHANGED
|
@@ -157,6 +157,26 @@ interface CodeRuntimeClientOptions {
|
|
|
157
157
|
/** Create the credentialed, outbound-only Code host control client. */
|
|
158
158
|
declare function createCodeRuntimeControlClient(options: CodeRuntimeClientOptions): CodeRuntimeAgentControlPlane;
|
|
159
159
|
|
|
160
|
+
/** Executes each command id at most once in-process and safely retries only its
|
|
161
|
+
* acknowledgement after a transient control-plane failure. */
|
|
162
|
+
declare class CodeRuntimeReconciler {
|
|
163
|
+
private readonly control;
|
|
164
|
+
private readonly engine;
|
|
165
|
+
/** Reports post-acknowledgement failures that must not end the host. */
|
|
166
|
+
private readonly onDiagnostic?;
|
|
167
|
+
/** Injectable wait for the overload backoff; real time by default. */
|
|
168
|
+
private readonly options;
|
|
169
|
+
private readonly results;
|
|
170
|
+
constructor(control: CodeRuntimeControlPlane, engine: CodeRuntimeCommandEngine,
|
|
171
|
+
/** Reports post-acknowledgement failures that must not end the host. */
|
|
172
|
+
onDiagnostic?: ((message: string) => void) | undefined,
|
|
173
|
+
/** Injectable wait for the overload backoff; real time by default. */
|
|
174
|
+
options?: {
|
|
175
|
+
wait?: (ms: number) => Promise<void>;
|
|
176
|
+
});
|
|
177
|
+
reconcile(snapshot: CodeRuntimeSnapshot): Promise<void>;
|
|
178
|
+
}
|
|
179
|
+
|
|
160
180
|
/** Version of the outbound Code host heartbeat contract. */
|
|
161
181
|
declare const CODE_RUNTIME_PROTOCOL_VERSION: 3;
|
|
162
182
|
/** Frozen, secret-filtered view of the checkout from which a terminal connected. */
|
|
@@ -398,19 +418,6 @@ interface CodeRuntimeCommandEngine {
|
|
|
398
418
|
execute(command: CodeRuntimeCommand): Promise<CodeRuntimeCommandResult>;
|
|
399
419
|
acknowledged?(command: CodeRuntimeCommand, result: CodeRuntimeCommandResult): Promise<void> | void;
|
|
400
420
|
}
|
|
401
|
-
/** Executes each command id at most once in-process and safely retries only its
|
|
402
|
-
* acknowledgement after a transient control-plane failure. */
|
|
403
|
-
declare class CodeRuntimeReconciler {
|
|
404
|
-
private readonly control;
|
|
405
|
-
private readonly engine;
|
|
406
|
-
/** Reports post-acknowledgement failures that must not end the host. */
|
|
407
|
-
private readonly onDiagnostic?;
|
|
408
|
-
private readonly results;
|
|
409
|
-
constructor(control: CodeRuntimeControlPlane, engine: CodeRuntimeCommandEngine,
|
|
410
|
-
/** Reports post-acknowledgement failures that must not end the host. */
|
|
411
|
-
onDiagnostic?: ((message: string) => void) | undefined);
|
|
412
|
-
reconcile(snapshot: CodeRuntimeSnapshot): Promise<void>;
|
|
413
|
-
}
|
|
414
421
|
|
|
415
422
|
interface FrozenCodeLocalSource {
|
|
416
423
|
descriptor: CodeLocalSourceDescriptor;
|
package/dist/node.d.ts
CHANGED
|
@@ -157,6 +157,26 @@ interface CodeRuntimeClientOptions {
|
|
|
157
157
|
/** Create the credentialed, outbound-only Code host control client. */
|
|
158
158
|
declare function createCodeRuntimeControlClient(options: CodeRuntimeClientOptions): CodeRuntimeAgentControlPlane;
|
|
159
159
|
|
|
160
|
+
/** Executes each command id at most once in-process and safely retries only its
|
|
161
|
+
* acknowledgement after a transient control-plane failure. */
|
|
162
|
+
declare class CodeRuntimeReconciler {
|
|
163
|
+
private readonly control;
|
|
164
|
+
private readonly engine;
|
|
165
|
+
/** Reports post-acknowledgement failures that must not end the host. */
|
|
166
|
+
private readonly onDiagnostic?;
|
|
167
|
+
/** Injectable wait for the overload backoff; real time by default. */
|
|
168
|
+
private readonly options;
|
|
169
|
+
private readonly results;
|
|
170
|
+
constructor(control: CodeRuntimeControlPlane, engine: CodeRuntimeCommandEngine,
|
|
171
|
+
/** Reports post-acknowledgement failures that must not end the host. */
|
|
172
|
+
onDiagnostic?: ((message: string) => void) | undefined,
|
|
173
|
+
/** Injectable wait for the overload backoff; real time by default. */
|
|
174
|
+
options?: {
|
|
175
|
+
wait?: (ms: number) => Promise<void>;
|
|
176
|
+
});
|
|
177
|
+
reconcile(snapshot: CodeRuntimeSnapshot): Promise<void>;
|
|
178
|
+
}
|
|
179
|
+
|
|
160
180
|
/** Version of the outbound Code host heartbeat contract. */
|
|
161
181
|
declare const CODE_RUNTIME_PROTOCOL_VERSION: 3;
|
|
162
182
|
/** Frozen, secret-filtered view of the checkout from which a terminal connected. */
|
|
@@ -398,19 +418,6 @@ interface CodeRuntimeCommandEngine {
|
|
|
398
418
|
execute(command: CodeRuntimeCommand): Promise<CodeRuntimeCommandResult>;
|
|
399
419
|
acknowledged?(command: CodeRuntimeCommand, result: CodeRuntimeCommandResult): Promise<void> | void;
|
|
400
420
|
}
|
|
401
|
-
/** Executes each command id at most once in-process and safely retries only its
|
|
402
|
-
* acknowledgement after a transient control-plane failure. */
|
|
403
|
-
declare class CodeRuntimeReconciler {
|
|
404
|
-
private readonly control;
|
|
405
|
-
private readonly engine;
|
|
406
|
-
/** Reports post-acknowledgement failures that must not end the host. */
|
|
407
|
-
private readonly onDiagnostic?;
|
|
408
|
-
private readonly results;
|
|
409
|
-
constructor(control: CodeRuntimeControlPlane, engine: CodeRuntimeCommandEngine,
|
|
410
|
-
/** Reports post-acknowledgement failures that must not end the host. */
|
|
411
|
-
onDiagnostic?: ((message: string) => void) | undefined);
|
|
412
|
-
reconcile(snapshot: CodeRuntimeSnapshot): Promise<void>;
|
|
413
|
-
}
|
|
414
421
|
|
|
415
422
|
interface FrozenCodeLocalSource {
|
|
416
423
|
descriptor: CodeLocalSourceDescriptor;
|
package/dist/node.js
CHANGED
package/package.json
CHANGED