@tangle-network/agent-eval 2.0.17 → 2.0.19

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 CHANGED
@@ -8,7 +8,7 @@ import { l as SEARCH_LEDGER_BATCH_MAX_BYTES, m as SearchRunKindSchema, r as ship
8
8
  import { n as createChatClient } from "./chat-client-TkNgQDLj.js";
9
9
  import { a as privacyHit, f as appendRolloutLines, n as runRolloutReleaseCli, r as PRIVACY_RULE_NAMES, u as gateReceiptRolloutLines } from "./hf-dataset-B0s2ZAhQ.js";
10
10
  import { i as harnessSessionRolloutLines, n as harnessSessionRefs } from "./harness-session-lines-CTh1-uOb.js";
11
- import { B as renderSkillUsageTable, H as claudeCodeSkillSessions, J as withChangeLedger, L as afterInvocation, R as buildSkillUsageReport, V as codexSkillSessions, W as readSkillFile, q as readChangeLedger, t as runAnalystBenchmarkCommand, z as instant } from "./benchmark-command-CZbrh9bS.js";
11
+ import { B as renderSkillUsageTable, H as claudeCodeSkillSessions, J as withChangeLedger, L as afterInvocation, R as buildSkillUsageReport, V as codexSkillSessions, W as readSkillFile, q as readChangeLedger, t as runAnalystBenchmarkCommand, z as instant } from "./benchmark-command-DOQeozeM.js";
12
12
  import { i as buildOpenApi, l as handleVersion, o as runRpcBatch, r as startServerAsync, s as runRpcOnce } from "./server-B-7vXS9T.js";
13
13
  import { b as editCreditText, f as landscape, g as surfaceTextEdits, l as metaSearch, m as formatLandscape, n as taskMatrix, o as skillManifold, r as formatSkillManifold, s as renderMetaSearchText, t as tree, v as front, y as editCredit } from "./tree-lU9KWuxr.js";
14
14
  import { a as analyzeSupervisorRun, i as renderSupervisorRunMarkdown, r as renderSupervisorRunHeadline, t as runtimeRunRolloutLines } from "./runtime-rollouts-CE0MbQPq.js";
package/dist/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "@tangle-network/agent-eval — wire protocol",
5
- "version": "2.0.17",
5
+ "version": "2.0.19",
6
6
  "description": "HTTP and stdio RPC interface to agent-eval. The TypeScript runtime is the source of truth; this spec is the contract that cross-language clients (Python, Rust, Go) generate from.\n\nWire-protocol version: 1.1.0. Bumps on breaking changes to request/response schemas.",
7
7
  "contact": {
8
8
  "name": "Tangle Network",
@@ -53,6 +53,9 @@ Each turn also writes a `turn` row with the repository's HEAD before and after,
53
53
  A `turn` row whose `incomplete` is set (a checkout shared with another running turn, a failed pull request read, more commits than the list holds) leaves the session's changes unknown, with a gap that names the reason.
54
54
  The field list is the header of `src/skill-usage/change-ledger.ts`.
55
55
 
56
+ Both readers also record the instruction files the harness loaded into the session, on `instructions`: Claude Code's `instructions` and `nested_memory` attachments name each file, its scope and its text; Codex names only the directory it loaded AGENTS.md text for, since it joins the files it found.
57
+ A block of that text is a unit like a skill: the sessions that loaded it are its usage, and the recipe below measures it.
58
+
56
59
  Both session readers and the ledger are exported from `@tangle-network/agent-eval/analyst`: `readChangeLedger(paths)` reads one or more ledger files, `parseChangeLedger(text)` reads ledger text, and `withChangeLedger(source, ledger)` joins the ledger to any session source, so a caller reads `withChangeLedger(codexSkillSessions(directory), await readChangeLedger([file]))` as the command does.
57
60
 
58
61
  ## The recipe
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-eval",
3
- "version": "2.0.17",
3
+ "version": "2.0.19",
4
4
  "description": "Evaluate and improve AI agents from runs, traces, judges, and feedback. Compare candidates, cluster failures, measure lift, and gate releases.",
5
5
  "homepage": "https://github.com/tangle-network/agent-eval#readme",
6
6
  "repository": {