@ancha-labs/cli 0.4.19 → 0.4.20

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.
@@ -8,7 +8,7 @@ The run says where it runs. A cloud run announces acceptance with `run_submitted
8
8
 
9
9
  ## What the agent gets
10
10
 
11
- New run summaries use `verdictVersion: 2`. Each test (an entry of `scenes`) has `counts.requested`, `completed`, `valid`, `passed`, `invalid` and `skipped`. The pass-rate denominator is the requested count, including invalid, skipped and unfinished trials. “Pass all k” requires all k requested trials to complete validly and pass. HTML and the console show invalid attempts separately. Older reports stay readable; comparison with an old baseline lacking these counts exits 2 and asks you to rerun the reference and save a fresh baseline.
11
+ New run summaries use `verdictVersion: 3`. Each test (an entry of `scenes`) has `counts.requested`, `completed`, `valid`, `passed`, `invalid` and `skipped`. The pass-rate denominator is the requested count, including invalid, skipped and unfinished trials. “Pass all k” requires all k requested trials to complete validly and pass. A test with no check evaluated is ungraded (`graded: false`); the run's verdict is `ungraded` when any test is ungraded and none failed. HTML and the console show invalid attempts separately. Older reports stay readable; comparison with an old baseline lacking these counts exits 2 and asks you to rerun the reference and save a fresh baseline.
12
12
 
13
13
  Each trial gets the tools' URLs and fake credentials (`ancha docs integrations`), `ANCHA_TASK` and `ANCHA_TASK_FILE` (a file holding the task), `ANCHA_ATTEMPT_ID`, `ANCHA_STATE_DIR` (keep memory there, so trials stay independent), `ANCHA_EVENTS_URL`, `ANCHA_EVENTS_TOKEN` and `ANCHA_DONE_URL` for agents that receive events or finish explicitly, and `ANCHA_AGENT_PORT` for HTTP agents. No SDK is installed and no paid AI call is made for you. An agent that reads its task under another name gets it with `agent.env: { MY_TASK: "{{task}}" }` (`{{task_file}}` for the file's path); `ancha init` writes that line when it finds the name in the agent's code or usage text.
14
14
 
@@ -506,7 +506,7 @@ body.navigating main{opacity:.55;transition:opacity .15s .25s;cursor:progress}
506
506
  .view-banner{display:flex;align-items:center;gap:16px;margin:0 0 24px;padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:var(--raised,#fafaf8)}.view-banner>div{flex:1;min-width:0}.view-banner strong{display:block;font-weight:600}.view-banner p{margin:4px 0 0;color:var(--muted);font-size:13px}.view-banner button{flex:none}.view-note{color:var(--muted);font-size:13px}
507
507
  @media (max-width:560px){.view-banner{flex-direction:column;align-items:flex-start}}
508
508
  /* A world's starting data before any run (SPEC-027) */
509
- .world-data-note{margin:-12px 0 20px;color:var(--muted);font-size:13px}.world-data-tabs{display:flex;flex-wrap:wrap;gap:4px 22px}.world-data-tabs a{gap:8px;align-items:center}.world-data-logo{display:inline-flex;width:16px;height:16px}.world-data-logo svg,.world-data-logo img{width:16px;height:16px}.folder-scenes{margin-top:36px}.folder-scenes .world-catalog-item p{overflow-wrap:anywhere;font-size:12px}.ww-world-actions .button-link{color:var(--ink)}
509
+ .world-data-note{margin:-12px 0 20px;color:var(--muted);font-size:13px}.world-data-tabs{display:flex;flex-wrap:wrap;gap:4px 22px}.world-data-tabs a{gap:8px;align-items:center}.world-data-logo{display:inline-flex;width:16px;height:16px}.folder-scenes{margin-top:36px}.folder-scenes .world-catalog-item p{overflow-wrap:anywhere;font-size:12px}.ww-world-actions .button-link{color:var(--ink)}
510
510
 
511
511
  /* A run title can be one long id: it wraps instead of widening the page. Skipped checks are neither pass nor fail. */
512
512
  .aw-header h1,.ww-header h1,.page-head h1{overflow-wrap:anywhere}
@@ -864,6 +864,11 @@ input,textarea,select{border-color:var(--input-line);border-radius:8px}
864
864
  .runs-filters.k-filters{align-items:center}.runs-filters select.k-filter{min-width:0}
865
865
  .s060-task>.s060-task-text{font-size:15px;min-width:0;overflow-wrap:anywhere}.s060-task>.c-copy{flex:none;align-self:flex-start;margin-left:auto}
866
866
 
867
+ /* s060 cli-fix: world data tabs keep image, SVG and letter icons inside the same slot. */
868
+ .world-data-logo{flex:none}
869
+ .world-data-logo>*{width:16px;height:16px;flex:none}
870
+ .world-data-logo span.catalog-letter{font-size:10px;border-radius:4px}
871
+
867
872
  /* Ancha's component kit (SPEC-058, Jay's design canvas "Ancha app: IA and core screens"). One file for both renderers:
868
873
  frontend/scripts/build.mjs appends it to the console's style.css, and app.ancha.io's own pages link the same file as
869
874
  cloud/gateway/static/kit.css (a test keeps the two equal). Classes only: the console's CSP allows no inline styles.