@rulvar/cli 1.233.0 → 1.234.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/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{io-KRkYIeo8.js → io-4IaL5lyp.js} +10 -1
- package/package.json +7 -7
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as assembleEngine, a as inspectCommand, b as looksLikeFile, c as resumeCommand, d as driveRun, f as reportOutcome, g as DEFAULT_STORE_DIR, h as renderEventLine, i as costAuditCommand, l as runCommand, m as attachProgress, n as HELP, o as invoiceCommand, p as strictExitCode, r as runCli, s as preflightCommand, t as processIo, u as runsLsCommand, v as loadCliConfig, y as loadWorkflowModule } from "./io-
|
|
1
|
+
import { _ as assembleEngine, a as inspectCommand, b as looksLikeFile, c as resumeCommand, d as driveRun, f as reportOutcome, g as DEFAULT_STORE_DIR, h as renderEventLine, i as costAuditCommand, l as runCommand, m as attachProgress, n as HELP, o as invoiceCommand, p as strictExitCode, r as runCli, s as preflightCommand, t as processIo, u as runsLsCommand, v as loadCliConfig, y as loadWorkflowModule } from "./io-4IaL5lyp.js";
|
|
2
2
|
import { ConfigError, JournalCompatibilityError, LeaseHeldError, Replayer, RulvarError, buildDeriverRegistry, compileSecretMasker, costReportFromJournal, journalPricingSnapshot, maskSecrets, normalizeEntry, persistedTerminalEnvelope, readRunMeta, scanJournalCompatibility, validateDetachedResolution } from "@rulvar/core";
|
|
3
3
|
//#region src/server.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigError, FileModelKnowledgeStore, INBOX_PROPOSAL_TTL_DAYS, JsonlFileStore, LeaseHeldError, auditRuns, childRostersFromJournal, claimCoverageOf, claimExpired, claimExpiry, compilePermissionPreset, costReportFromJournal, createEngine, hashRunArgs, hashRunOutput, invoiceFromJournal, journalPricingSnapshot, lastRunSettle, logicalRunTelemetry, parseModelRef, preflightEstimate, priceUsdOf, proposalStatement, readRunMeta, reconcileRunMeta, remeasureQueue, resolvePricing, runProfile, sanitizeTerminalText } from "@rulvar/core";
|
|
1
|
+
import { ConfigError, FileModelKnowledgeStore, INBOX_PROPOSAL_TTL_DAYS, JsonlFileStore, LeaseHeldError, auditRuns, childRostersFromJournal, claimCoverageOf, claimExpired, claimExpiry, compilePermissionPreset, costReportFromJournal, createEngine, hashRunArgs, hashRunOutput, invoiceFromJournal, journalPricingSnapshot, lastRunSettle, logicalRunTelemetry, parseModelRef, preflightEstimate, priceUsdOf, proposalStatement, readRunMeta, reconcileRunMeta, remeasureQueue, resolvePricing, runProfile, sanitizeTerminalText, toolCalibrationFromJournal } from "@rulvar/core";
|
|
2
2
|
import { join, resolve } from "node:path";
|
|
3
3
|
import { existsSync, statSync } from "node:fs";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
@@ -1279,6 +1279,15 @@ async function inspectCommand(argv, context) {
|
|
|
1279
1279
|
const discarded = roster.children.filter((child) => child.abandoned === true);
|
|
1280
1280
|
if (discarded.length > 0) context.io.out(` on branches the run ABANDONED: ${discarded.length} (handle${discarded.length === 1 ? "" : "s"} ${discarded.map((child) => String(child.handle)).join(", ")})`);
|
|
1281
1281
|
}
|
|
1282
|
+
{
|
|
1283
|
+
const calibration = toolCalibrationFromJournal(entries);
|
|
1284
|
+
if (calibration.aggregate !== void 0) {
|
|
1285
|
+
const rate = calibration.aggregate.callsPerEntry === void 0 ? "no ratio (0 recorded entries)" : calibration.aggregate.callsPerEntry.toFixed(2);
|
|
1286
|
+
context.io.out(`observed tool calls per recorded evidence entry: ${rate} (${calibration.aggregate.toolCallsUsed} executed calls over ${calibration.aggregate.recordedEntries} entries across ${calibration.observed.length} paired dispatch${calibration.observed.length === 1 ? "" : "es"})`);
|
|
1287
|
+
}
|
|
1288
|
+
if (calibration.evidenceOnly.length > 0) context.io.out(` declared evidence contracts with no journaled call counter: ${calibration.evidenceOnly.length} (a journal written before the counter shipped records no rate)`);
|
|
1289
|
+
if (calibration.aggregate !== void 0 && calibration.budgetOnly.length > 0) context.io.out(` journaled counters with no declared contract: ${calibration.budgetOnly.length}`);
|
|
1290
|
+
}
|
|
1282
1291
|
const rejected = settled?.rejectedFinishCandidates ?? [];
|
|
1283
1292
|
if (rejected.length > 0) {
|
|
1284
1293
|
const distinct = new Set(rejected.map((row) => row.hash)).size;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulvar/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.234.0",
|
|
4
4
|
"description": "Rulvar shell: run/resume/runs/inspect/plan/kb commands, TUI progress, createServer, createWorker, OTel exporter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@rulvar/core": "1.
|
|
25
|
+
"@rulvar/core": "1.234.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.20.1",
|
|
29
29
|
"tsdown": "^0.22.14",
|
|
30
30
|
"typescript": "~6.0.3",
|
|
31
|
-
"@rulvar/testing": "1.
|
|
32
|
-
"@rulvar/store-sqlite": "1.
|
|
33
|
-
"@rulvar/
|
|
34
|
-
"@rulvar/
|
|
35
|
-
"@rulvar/
|
|
31
|
+
"@rulvar/testing": "1.234.0",
|
|
32
|
+
"@rulvar/store-sqlite": "1.234.0",
|
|
33
|
+
"@rulvar/plan": "1.234.0",
|
|
34
|
+
"@rulvar/planner": "1.234.0",
|
|
35
|
+
"@rulvar/evals": "1.234.0"
|
|
36
36
|
},
|
|
37
37
|
"bin": {
|
|
38
38
|
"rulvar": "./dist/cli.js"
|