@ancha-labs/cli 0.4.26 → 0.4.28

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.
@@ -112,3 +112,5 @@ ancha runs show '#412' --json
112
112
  The JSON keeps the full run id alongside `runNumber`. A retry with the same idempotency key and a repeated upload keep the run's number. Historical runs keep their short ids.
113
113
 
114
114
  **Started by** shows the signed-in person's email for console submissions, or the API key owner's email with **CLI**. In GitHub Actions, the CLI records **GitHub Actions**, the repository and a link to the workflow run from `GITHUB_ACTIONS`, `GITHUB_REPOSITORY`, `GITHUB_RUN_ID` and `GITHUB_SERVER_URL`.
115
+
116
+ Function tool evidence in the summary JSON and `ancha explain --json` lists each logical call's arguments, outcome, error type, answer source and evidence seqs. Explain text shows function tool evidence that needs attention after the trial diagnosis and failed checks. `ancha doctor` reports registration independently from call counts. `ancha attempt show --json` includes the same `functionTools` projection; the console expands each call's detailed payload from its summary.
@@ -128,3 +128,13 @@ When a test doesn't fail the way production did, `ancha traces diff <trace file>
128
128
  `ancha runs export <run> --json` writes one IR trace per attempt, including the saved task, agent identity, test definition, outcome and check evidence. Reimporting uses those saved criteria and production verdicts.
129
129
 
130
130
  With `--json`, `traces` returns `{traces, next}`, `traces show` returns `{trace, test, preview, next}`, and `traces diff` returns `{production, attempt, scope, onlyInProduction, onlyInAttempt, firstDifference, next}`. Offline import returns `{workspace, format, scene, evidence, candidates, required_checks, checks, summary, questions, setup, next}` for one conversation, or `{scenes, questions, skipped, next}` for several. Each imported scene's `checks` lists its check IDs, whether they are required, and their production verdicts. Hosted import emits one result object per saved test and a `trace_skipped` event for each skipped trace. Pull returns `{world, name, version, checks, summary, questions, scene, kept, next}`; `pull --all` returns `{written, skipped, next}`. Export returns `{runId, files, next}`. `--limit` takes a positive safe integer; for example, `ancha traces --limit 5 --json`.
131
+
132
+ ### Function tool evidence
133
+
134
+ `ancha doctor --json` includes `functionTools`: each tool's registration, protocol version, and pending and completed call counts. Registration is recorded independently of whether the task calls the tool.
135
+
136
+ The run summary JSON, `ancha explain --json`, `ancha attempt show`, and console attempt pages show one logical function call per `call_id`, with its arguments, outcome (`succeeded`, `failed`, `pending`, or `unknown`), error type, answer source and evidence sequence numbers. Recorded responses and real function execution have distinct source labels. Completion evidence joins the original call. JSON preserves these facts in `functionTools.tools` and `functionTools.calls`; each call includes `seq` and `evidence`, plus `completion` when captured. Historical evidence uses `unknown` for facts it did not record. Explain text places function tool evidence that needs attention after the trial diagnosis and failed checks. The console attempt page shows compact tool rows below Steps.
137
+
138
+ The console's Steps and Calls show summaries; expand a call to inspect its arguments and response. The attempt page lists each function tool below its Steps, one line per tool: registered or not, its calls, and any pending or unknown ones. Production trace pages use the same outcome and evidence presentation; source is `unknown` when the recording does not establish how the answer was produced.
139
+
140
+ Trace import prints Python `ancha.wrap_tools` / `ancha.entry` and JavaScript `wrapTools` / `entry` examples using the tests' required function names. Bind the named entries to your existing functions and pass the wrapped tools to your agent framework.