@zhivex-ai/harness 1.4.0 → 1.5.0
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/CHANGELOG.md +32 -10
- package/README.md +7 -5
- package/SUPPORT.md +2 -2
- package/contracts/client-protocol-v1.schema.json +593 -0
- package/contracts/engine-api.json +156 -0
- package/contracts/public-api.json +12 -0
- package/contracts/stable-api-signatures.json +36 -36
- package/dist/acp-cli.js +54 -20
- package/dist/approvals/approval-diff.d.ts +2 -1
- package/dist/approvals/approval-preview.d.ts +1 -1
- package/dist/audit/index.d.ts +3 -0
- package/dist/audit/index.js +482 -0
- package/dist/audit/pack.d.ts +72 -0
- package/dist/audit-pack-kvw7ng34.js +532 -0
- package/dist/cli/arguments.d.ts +3 -1
- package/dist/cli/audit-pack.d.ts +24 -0
- package/dist/cli/cli-credentials.d.ts +6 -0
- package/dist/cli/cli-profiles.d.ts +4 -2
- package/dist/cli/node-engine.d.ts +2 -0
- package/dist/cli-entry-75j3r49b.js +484 -0
- package/dist/cli-entry-928p8h41.js +10067 -0
- package/dist/cli-entry-h2yc9x37.js +10350 -0
- package/dist/{cli-entry-20w6nh0k.js → cli-entry-hdtfef27.js} +439 -19
- package/dist/{cli-entry-w0hterjs.js → cli-entry-q8bgkn9m.js} +40 -13
- package/dist/{cli-2h37qyvg.js → cli-vyrytn3m.js} +253 -644
- package/dist/cli.js +27 -2
- package/dist/client/json-contracts.d.ts +4 -0
- package/dist/client/protocol.d.ts +133 -0
- package/dist/client/task-control-host.d.ts +400 -0
- package/dist/client/task-projection-host.d.ts +12 -0
- package/dist/client/task-projection.d.ts +168 -0
- package/dist/compat/code-support.js +28 -22
- package/dist/{config-qt69hkqj.js → config-r9fdhce6.js} +3 -3
- package/dist/{config-j9624t6t.js → config-vyajmksy.js} +1 -1
- package/dist/engine/acp.js +15 -11
- package/dist/engine/client.js +14 -10
- package/dist/engine/desktop-providers-v1.d.ts +2 -0
- package/dist/engine/desktop-providers-v1.js +23 -3
- package/dist/engine/desktop-state-v1.js +11 -8
- package/dist/engine/index.d.ts +3 -0
- package/dist/engine/index.js +101 -554
- package/dist/engine/mcp-stdio-v1.js +8 -6
- package/dist/engine/models.js +76 -4
- package/dist/engine/protocol.d.ts +2 -0
- package/dist/engine/protocol.js +110 -0
- package/dist/engine/service.js +15 -11
- package/dist/hostile-repository-demo.js +1232 -564
- package/dist/{index-8zjmnyw5.js → index-1265j7t2.js} +73 -6
- package/dist/{index-nmjdwd4p.js → index-4gt045j0.js} +109 -1
- package/dist/{index-pdmevfxv.js → index-5zbq9ztj.js} +5 -259
- package/dist/{index-6dft2vev.js → index-63gbp0cz.js} +5 -3
- package/dist/index-6dxrbnxm.js +719 -0
- package/dist/{index-pp474137.js → index-6fp7kdpx.js} +769 -933
- package/dist/{index-61gthdz6.js → index-8sm2a1wa.js} +1 -1
- package/dist/{index-rkbf7dqg.js → index-96ezrvg2.js} +57 -13
- package/dist/index-bt2p8x7r.js +329 -0
- package/dist/index-c39197wq.js +552 -0
- package/dist/{index-m82cfspw.js → index-eps3c3g6.js} +877 -963
- package/dist/{index-s2k2edts.js → index-fqqz1yt8.js} +110 -1544
- package/dist/{index-m34q25jj.js → index-ggstwr0v.js} +192 -838
- package/dist/index-jpdvn09j.js +490 -0
- package/dist/{index-xqxeypt5.js → index-mzydbzp8.js} +76 -4
- package/dist/index-pq3kz1r8.js +269 -0
- package/dist/{index-wg1sd3at.js → index-qfsrrnz6.js} +1 -1
- package/dist/{index-937cb7y8.js → index-vc7yxz50.js} +561 -35
- package/dist/{index-5jhgatga.js → index-vvzc5ezz.js} +7 -6
- package/dist/index-wwthv10a.js +1507 -0
- package/dist/{index-tfzta544.js → index-xfedewpt.js} +17 -9
- package/dist/index-yx52bt4a.js +511 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +93 -77
- package/dist/integrations/mcp-stdio-tools.d.ts +4 -1
- package/dist/internal/desktop/providers.d.ts +2 -0
- package/dist/models/catalog.d.ts +2 -0
- package/dist/persistence/sqlite-database.d.ts +1 -0
- package/dist/providers/azure-openai.d.ts +14 -0
- package/dist/providers/bedrock.d.ts +23 -0
- package/dist/providers/providers.d.ts +1 -1
- package/dist/runtime/budget-ledger-scope.d.ts +14 -0
- package/dist/runtime/durable-review-group.d.ts +33 -0
- package/dist/runtime/harness.d.ts +11 -0
- package/dist/runtime/run-interruption.d.ts +7 -0
- package/dist/runtime/shared-budget.d.ts +30 -0
- package/dist/runtime/task-continuity.d.ts +300 -77
- package/dist/service-cli.js +15 -11
- package/dist/{service-client-cli-fn54ev6w.js → service-client-cli-v6qptg9x.js} +400 -305
- package/dist/tools/workspace.d.ts +2 -2
- package/dist/verify-historical-migrations.js +1237 -566
- package/dist/workspace/edit-contracts.d.ts +2 -2
- package/dist/workspace/path-policy.d.ts +2 -1
- package/dist/workspace/workspace.d.ts +13 -0
- package/dist/zhx.js +27 -2
- package/docs/AUDIT_PACK.md +99 -0
- package/docs/AZURE_OPENAI.md +53 -0
- package/docs/BEDROCK.md +56 -0
- package/docs/CLI.md +15 -0
- package/docs/CLIENT_PROTOCOL.md +178 -0
- package/docs/CODE_RELEASE.md +59 -7
- package/docs/CODE_WEB_TASKS.md +116 -0
- package/docs/CONTEXT_ENGINEERING.md +59 -0
- package/docs/CREDENTIALS.md +21 -0
- package/docs/DURABLE_OPERATIONS.md +93 -1
- package/docs/ENGINE_API.md +5 -2
- package/docs/EXTENSIBILITY.md +8 -4
- package/docs/FIRST_USE.md +6 -6
- package/docs/MINIMUM_TASK_AUTHORITY.md +3 -3
- package/docs/PROJECT_MEMORY.md +1 -1
- package/docs/PUBLIC_SECURITY.md +14 -1
- package/docs/README.md +6 -1
- package/docs/REPOSITORY_EDITING.md +1 -1
- package/docs/STABILITY.md +3 -1
- package/docs/SUPPORT_MATRIX.md +1 -1
- package/docs/SUPPORT_MATRIX_1_1.md +1 -1
- package/docs/TOOL_POLICY.md +4 -1
- package/docs/USAGE.md +3 -1
- package/docs/VERTEX.md +2 -2
- package/docs/WEB_LIMITS.md +4 -3
- package/docs/adr/0002-isolated-mcp-stdio.md +7 -4
- package/docs/support-matrix-1.1.json +3 -1
- package/docs/support-matrix.json +6 -4
- package/evaluations/code-task-ui.json +20 -0
- package/evaluations/representative-assembly-matrix.json +19 -1
- package/evaluations/task-projection.json +10 -0
- package/evaluations/task-recovery-lab.json +60 -0
- package/examples/README.md +3 -3
- package/package.json +23 -13
- package/dist/cli-entry-4ngptr62.js +0 -19900
- package/dist/index-m49jx72n.js +0 -220
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ZhivexHarness } from './harness.js';
|
|
2
2
|
/** Internal read set, checked again inside task invocation admission. No new store or recovery credit. */
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function readTaskContinuityEvidence(host: ZhivexHarness, taskId: string, options?: {
|
|
4
|
+
legacyRunId?: string;
|
|
5
|
+
allowedRunIds?: readonly string[];
|
|
6
|
+
}): Promise<{
|
|
4
7
|
report: {
|
|
5
8
|
schemaVersion: 1;
|
|
6
9
|
taskId: string;
|
|
@@ -84,7 +87,7 @@ export declare function readTaskContinuity(host: ZhivexHarness, taskId: string):
|
|
|
84
87
|
categories: string[];
|
|
85
88
|
costKind: "estimate-not-invoice";
|
|
86
89
|
};
|
|
87
|
-
};
|
|
90
|
+
} | null;
|
|
88
91
|
runs: {
|
|
89
92
|
runId: string;
|
|
90
93
|
revision: number | undefined;
|
|
@@ -216,92 +219,231 @@ export declare function readTaskContinuity(host: ZhivexHarness, taskId: string):
|
|
|
216
219
|
automaticEffectReplay: false;
|
|
217
220
|
};
|
|
218
221
|
verify: () => Promise<void>;
|
|
222
|
+
verifyAll: () => Promise<void>;
|
|
219
223
|
}>;
|
|
220
|
-
/**
|
|
221
|
-
export declare function
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
224
|
+
/** Invocation admission always requires the existing authoritative budget. */
|
|
225
|
+
export declare function readTaskContinuity(host: ZhivexHarness, taskId: string): Promise<{
|
|
226
|
+
verify: () => Promise<void>;
|
|
227
|
+
verifyAll: () => Promise<void>;
|
|
228
|
+
report: {
|
|
225
229
|
schemaVersion: 1;
|
|
226
230
|
taskId: string;
|
|
227
|
-
|
|
228
|
-
revision: number;
|
|
229
|
-
limits: {
|
|
230
|
-
inputTokens: number;
|
|
231
|
-
outputTokens: number;
|
|
232
|
-
totalTokens: number;
|
|
233
|
-
};
|
|
234
|
-
confirmed: {
|
|
235
|
-
inputTokens: number;
|
|
236
|
-
outputTokens: number;
|
|
237
|
-
totalTokens: number;
|
|
238
|
-
};
|
|
239
|
-
reserved: {
|
|
240
|
-
inputTokens: number;
|
|
241
|
-
outputTokens: number;
|
|
242
|
-
totalTokens: number;
|
|
243
|
-
};
|
|
244
|
-
unknown: {
|
|
245
|
-
inputTokens: number;
|
|
246
|
-
outputTokens: number;
|
|
247
|
-
totalTokens: number;
|
|
248
|
-
};
|
|
249
|
-
remaining: {
|
|
250
|
-
inputTokens: number;
|
|
251
|
-
outputTokens: number;
|
|
252
|
-
totalTokens: number;
|
|
253
|
-
};
|
|
254
|
-
usageComplete: boolean;
|
|
255
|
-
admissionsClosed: boolean;
|
|
256
|
-
invocationPending: boolean;
|
|
257
|
-
activeRunId: string | null;
|
|
258
|
-
runs: string[];
|
|
259
|
-
coordinatorId: string;
|
|
260
|
-
cancellations: {
|
|
231
|
+
runs: {
|
|
261
232
|
runId: string;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
233
|
+
revision: number | undefined;
|
|
234
|
+
status: import("@zhivex-ai/core").AgentStatus;
|
|
235
|
+
ledger: {
|
|
236
|
+
schemaVersion: 1;
|
|
237
|
+
revisions: {
|
|
238
|
+
revision: number;
|
|
239
|
+
digest: string;
|
|
240
|
+
previousDigest: string | null;
|
|
241
|
+
contract: {
|
|
242
|
+
schemaVersion: 1;
|
|
243
|
+
taskId: string;
|
|
244
|
+
allowedWritePaths: string[];
|
|
245
|
+
protectedFiles: string[];
|
|
246
|
+
requiredChecks: ({
|
|
247
|
+
id: string;
|
|
248
|
+
command: string;
|
|
249
|
+
args: string[];
|
|
250
|
+
purpose: string;
|
|
251
|
+
kind: "package-script";
|
|
252
|
+
script: string;
|
|
253
|
+
expectedScript: string;
|
|
254
|
+
execution: {
|
|
255
|
+
backend: "none" | "oci";
|
|
256
|
+
approval: "required";
|
|
257
|
+
};
|
|
258
|
+
} | {
|
|
259
|
+
id: string;
|
|
260
|
+
command: string;
|
|
261
|
+
args: string[];
|
|
262
|
+
purpose: string;
|
|
263
|
+
kind: "argv";
|
|
264
|
+
execution: {
|
|
265
|
+
backend: "oci";
|
|
266
|
+
approval: "required";
|
|
267
|
+
network: "none";
|
|
268
|
+
};
|
|
269
|
+
})[];
|
|
270
|
+
humanReview: {
|
|
271
|
+
id: string;
|
|
272
|
+
requirement: string;
|
|
273
|
+
status: "pending";
|
|
274
|
+
}[];
|
|
275
|
+
};
|
|
276
|
+
}[];
|
|
277
|
+
};
|
|
278
|
+
sources: {
|
|
279
|
+
id: string;
|
|
280
|
+
text: string;
|
|
281
|
+
original?: true;
|
|
282
|
+
}[];
|
|
283
|
+
decisions: import("../approvals/approval-history.js").ApprovalDecisionView[];
|
|
284
|
+
decisionsAvailability: string;
|
|
285
|
+
briefStatus: string;
|
|
286
|
+
objective: string | null;
|
|
287
|
+
constraints: string[];
|
|
288
|
+
hostPolicyCompatible: boolean;
|
|
289
|
+
assistantResponses: {
|
|
290
|
+
id: string;
|
|
291
|
+
text: string;
|
|
292
|
+
truncated: boolean;
|
|
293
|
+
untrusted: boolean;
|
|
294
|
+
verified: boolean;
|
|
295
|
+
}[];
|
|
296
|
+
effects: {
|
|
297
|
+
id: string;
|
|
298
|
+
tool: string;
|
|
299
|
+
revision: number;
|
|
300
|
+
status: string;
|
|
301
|
+
retry: string;
|
|
302
|
+
}[];
|
|
303
|
+
checks: {
|
|
304
|
+
id: string;
|
|
305
|
+
status: string;
|
|
306
|
+
}[];
|
|
307
|
+
snapshot: import("./task-acceptance-checks.js").TaskCheckBinding | null;
|
|
308
|
+
delivery: {} | null;
|
|
309
|
+
humanReview: {
|
|
310
|
+
id: string;
|
|
311
|
+
requirement: string;
|
|
312
|
+
status: "pending";
|
|
313
|
+
}[];
|
|
314
|
+
fingerprint: import("@zhivex-ai/core").AgentHarnessBinding | null;
|
|
267
315
|
}[];
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
316
|
+
currentContract: {
|
|
317
|
+
revision: number;
|
|
318
|
+
digest: string;
|
|
319
|
+
previousDigest: string | null;
|
|
320
|
+
contract: {
|
|
321
|
+
schemaVersion: 1;
|
|
322
|
+
taskId: string;
|
|
323
|
+
allowedWritePaths: string[];
|
|
324
|
+
protectedFiles: string[];
|
|
325
|
+
requiredChecks: ({
|
|
326
|
+
id: string;
|
|
327
|
+
command: string;
|
|
328
|
+
args: string[];
|
|
329
|
+
purpose: string;
|
|
330
|
+
kind: "package-script";
|
|
331
|
+
script: string;
|
|
332
|
+
expectedScript: string;
|
|
333
|
+
execution: {
|
|
334
|
+
backend: "none" | "oci";
|
|
335
|
+
approval: "required";
|
|
336
|
+
};
|
|
337
|
+
} | {
|
|
338
|
+
id: string;
|
|
339
|
+
command: string;
|
|
340
|
+
args: string[];
|
|
341
|
+
purpose: string;
|
|
342
|
+
kind: "argv";
|
|
343
|
+
execution: {
|
|
344
|
+
backend: "oci";
|
|
345
|
+
approval: "required";
|
|
346
|
+
network: "none";
|
|
347
|
+
};
|
|
348
|
+
})[];
|
|
349
|
+
humanReview: {
|
|
350
|
+
id: string;
|
|
351
|
+
requirement: string;
|
|
352
|
+
status: "pending";
|
|
353
|
+
}[];
|
|
354
|
+
};
|
|
355
|
+
} | null;
|
|
356
|
+
reasons: string[];
|
|
357
|
+
nextAction: string;
|
|
358
|
+
authorization: 'none';
|
|
359
|
+
automaticEffectReplay: false;
|
|
360
|
+
budget: {
|
|
361
|
+
schemaVersion: 1;
|
|
362
|
+
taskId: string;
|
|
363
|
+
accountRunId: string;
|
|
364
|
+
revision: number;
|
|
365
|
+
limits: {
|
|
366
|
+
inputTokens: number;
|
|
367
|
+
outputTokens: number;
|
|
368
|
+
totalTokens: number;
|
|
369
|
+
};
|
|
370
|
+
confirmed: {
|
|
371
|
+
inputTokens: number;
|
|
372
|
+
outputTokens: number;
|
|
373
|
+
totalTokens: number;
|
|
374
|
+
};
|
|
375
|
+
reserved: {
|
|
376
|
+
inputTokens: number;
|
|
377
|
+
outputTokens: number;
|
|
378
|
+
totalTokens: number;
|
|
379
|
+
};
|
|
380
|
+
unknown: {
|
|
381
|
+
inputTokens: number;
|
|
382
|
+
outputTokens: number;
|
|
383
|
+
totalTokens: number;
|
|
384
|
+
};
|
|
385
|
+
remaining: {
|
|
386
|
+
inputTokens: number;
|
|
387
|
+
outputTokens: number;
|
|
388
|
+
totalTokens: number;
|
|
389
|
+
};
|
|
390
|
+
usageComplete: boolean;
|
|
391
|
+
admissionsClosed: boolean;
|
|
392
|
+
invocationPending: boolean;
|
|
393
|
+
activeRunId: string | null;
|
|
394
|
+
runs: string[];
|
|
395
|
+
coordinatorId: string;
|
|
396
|
+
cancellations: {
|
|
397
|
+
runId: string;
|
|
398
|
+
requestedAt: number;
|
|
399
|
+
origin: "abort" | "lease_lost" | "operator" | "timeout";
|
|
400
|
+
localToolsDrainedAt?: number | undefined;
|
|
401
|
+
localExecution: "native_tools_drained" | "unconfirmed";
|
|
402
|
+
remoteExecution: 'unconfirmed';
|
|
403
|
+
}[];
|
|
404
|
+
monetary: {
|
|
405
|
+
schemaVersion: number;
|
|
406
|
+
runId: string;
|
|
275
407
|
calls: number;
|
|
408
|
+
routes: {
|
|
409
|
+
provider: string;
|
|
410
|
+
model: string;
|
|
411
|
+
calls: number;
|
|
412
|
+
inputTokens: number;
|
|
413
|
+
outputTokens: number;
|
|
414
|
+
unknownCalls: number;
|
|
415
|
+
estimatedUsd: number | null;
|
|
416
|
+
priceStatuses: string[];
|
|
417
|
+
}[];
|
|
276
418
|
inputTokens: number;
|
|
277
419
|
outputTokens: number;
|
|
278
|
-
|
|
420
|
+
historicalUsageUnknown: boolean;
|
|
421
|
+
usageComplete: boolean;
|
|
279
422
|
estimatedUsd: number | null;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
reservedUsd: number | null;
|
|
298
|
-
unknownHeldUsd: number | null;
|
|
299
|
-
remainingUsd: number | null;
|
|
300
|
-
costComplete: boolean;
|
|
301
|
-
categories: string[];
|
|
302
|
-
costKind: "estimate-not-invoice";
|
|
423
|
+
limitUsd: number | null;
|
|
424
|
+
costKind: "estimate-not-invoice";
|
|
425
|
+
};
|
|
426
|
+
monetaryDetails: {
|
|
427
|
+
schemaVersion: 1;
|
|
428
|
+
confirmedCalls: number;
|
|
429
|
+
reservedCalls: number;
|
|
430
|
+
unknownCalls: number;
|
|
431
|
+
lateCalls: number;
|
|
432
|
+
estimatedConfirmedUsd: number | null;
|
|
433
|
+
reservedUsd: number | null;
|
|
434
|
+
unknownHeldUsd: number | null;
|
|
435
|
+
remainingUsd: number | null;
|
|
436
|
+
costComplete: boolean;
|
|
437
|
+
categories: string[];
|
|
438
|
+
costKind: "estimate-not-invoice";
|
|
439
|
+
};
|
|
303
440
|
};
|
|
304
441
|
};
|
|
442
|
+
}>;
|
|
443
|
+
/** Host-only Experimental inspection; no model, writes, approval, cancellation revival or replay. */
|
|
444
|
+
export declare function inspectHarnessTaskContinuity(host: ZhivexHarness, taskId: string): Promise<{
|
|
445
|
+
schemaVersion: 1;
|
|
446
|
+
taskId: string;
|
|
305
447
|
runs: {
|
|
306
448
|
runId: string;
|
|
307
449
|
revision: number | undefined;
|
|
@@ -431,4 +573,85 @@ export declare function inspectHarnessTaskContinuity(host: ZhivexHarness, taskId
|
|
|
431
573
|
nextAction: string;
|
|
432
574
|
authorization: 'none';
|
|
433
575
|
automaticEffectReplay: false;
|
|
576
|
+
budget: {
|
|
577
|
+
schemaVersion: 1;
|
|
578
|
+
taskId: string;
|
|
579
|
+
accountRunId: string;
|
|
580
|
+
revision: number;
|
|
581
|
+
limits: {
|
|
582
|
+
inputTokens: number;
|
|
583
|
+
outputTokens: number;
|
|
584
|
+
totalTokens: number;
|
|
585
|
+
};
|
|
586
|
+
confirmed: {
|
|
587
|
+
inputTokens: number;
|
|
588
|
+
outputTokens: number;
|
|
589
|
+
totalTokens: number;
|
|
590
|
+
};
|
|
591
|
+
reserved: {
|
|
592
|
+
inputTokens: number;
|
|
593
|
+
outputTokens: number;
|
|
594
|
+
totalTokens: number;
|
|
595
|
+
};
|
|
596
|
+
unknown: {
|
|
597
|
+
inputTokens: number;
|
|
598
|
+
outputTokens: number;
|
|
599
|
+
totalTokens: number;
|
|
600
|
+
};
|
|
601
|
+
remaining: {
|
|
602
|
+
inputTokens: number;
|
|
603
|
+
outputTokens: number;
|
|
604
|
+
totalTokens: number;
|
|
605
|
+
};
|
|
606
|
+
usageComplete: boolean;
|
|
607
|
+
admissionsClosed: boolean;
|
|
608
|
+
invocationPending: boolean;
|
|
609
|
+
activeRunId: string | null;
|
|
610
|
+
runs: string[];
|
|
611
|
+
coordinatorId: string;
|
|
612
|
+
cancellations: {
|
|
613
|
+
runId: string;
|
|
614
|
+
requestedAt: number;
|
|
615
|
+
origin: "abort" | "lease_lost" | "operator" | "timeout";
|
|
616
|
+
localToolsDrainedAt?: number | undefined;
|
|
617
|
+
localExecution: "native_tools_drained" | "unconfirmed";
|
|
618
|
+
remoteExecution: 'unconfirmed';
|
|
619
|
+
}[];
|
|
620
|
+
monetary: {
|
|
621
|
+
schemaVersion: number;
|
|
622
|
+
runId: string;
|
|
623
|
+
calls: number;
|
|
624
|
+
routes: {
|
|
625
|
+
provider: string;
|
|
626
|
+
model: string;
|
|
627
|
+
calls: number;
|
|
628
|
+
inputTokens: number;
|
|
629
|
+
outputTokens: number;
|
|
630
|
+
unknownCalls: number;
|
|
631
|
+
estimatedUsd: number | null;
|
|
632
|
+
priceStatuses: string[];
|
|
633
|
+
}[];
|
|
634
|
+
inputTokens: number;
|
|
635
|
+
outputTokens: number;
|
|
636
|
+
historicalUsageUnknown: boolean;
|
|
637
|
+
usageComplete: boolean;
|
|
638
|
+
estimatedUsd: number | null;
|
|
639
|
+
limitUsd: number | null;
|
|
640
|
+
costKind: "estimate-not-invoice";
|
|
641
|
+
};
|
|
642
|
+
monetaryDetails: {
|
|
643
|
+
schemaVersion: 1;
|
|
644
|
+
confirmedCalls: number;
|
|
645
|
+
reservedCalls: number;
|
|
646
|
+
unknownCalls: number;
|
|
647
|
+
lateCalls: number;
|
|
648
|
+
estimatedConfirmedUsd: number | null;
|
|
649
|
+
reservedUsd: number | null;
|
|
650
|
+
unknownHeldUsd: number | null;
|
|
651
|
+
remainingUsd: number | null;
|
|
652
|
+
costComplete: boolean;
|
|
653
|
+
categories: string[];
|
|
654
|
+
costKind: "estimate-not-invoice";
|
|
655
|
+
};
|
|
656
|
+
};
|
|
434
657
|
}>;
|
package/dist/service-cli.js
CHANGED
|
@@ -2,19 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
recoverHarnessLocalService,
|
|
4
4
|
startHarnessLocalService
|
|
5
|
-
} from "./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
5
|
+
} from "./index-vvzc5ezz.js";
|
|
6
|
+
import"./index-vc7yxz50.js";
|
|
7
|
+
import"./index-63gbp0cz.js";
|
|
8
8
|
import {
|
|
9
9
|
createHarness
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
10
|
+
} from "./index-6fp7kdpx.js";
|
|
11
|
+
import"./index-wwthv10a.js";
|
|
12
|
+
import"./index-5zbq9ztj.js";
|
|
13
|
+
import"./index-ggstwr0v.js";
|
|
14
|
+
import"./index-1265j7t2.js";
|
|
15
|
+
import"./index-c39197wq.js";
|
|
16
|
+
import"./index-mzydbzp8.js";
|
|
17
|
+
import"./index-bt2p8x7r.js";
|
|
18
|
+
import"./index-fqqz1yt8.js";
|
|
19
|
+
import"./index-pq3kz1r8.js";
|
|
20
|
+
import"./index-6dxrbnxm.js";
|
|
21
|
+
import"./index-4gt045j0.js";
|
|
18
22
|
import"./index-bpc596v3.js";
|
|
19
23
|
import"./index-fm84men1.js";
|
|
20
24
|
import"./index-1bx83sw4.js";
|