ccqa 1.26.2 → 1.26.3

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/bin/ccqa.mjs CHANGED
@@ -19699,6 +19699,8 @@ const CSS = `
19699
19699
  /* which generation target ran the spec (agent-browser / playwright / runn) */
19700
19700
  .badge-target { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--radius-sm); font-size: 11px; font-family: var(--mono); background: var(--surface-3); color: var(--muted); border: 1px solid var(--border); }
19701
19701
  .chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; background: var(--surface-3); border: 1px solid var(--border); color: var(--fg-dim); font-size: 12px; font-family: var(--mono); white-space: nowrap; }
19702
+ .chip.icon-chip { gap: 5px; padding-left: 6px; }
19703
+ .chip.icon-chip svg { width: 12px; height: 12px; flex: none; opacity: .7; }
19702
19704
  /* Below .chip in source order so these override its background/border/color
19703
19705
  when combined as class="chip drift-count-chip" (same specificity — source
19704
19706
  order decides). One amber look for every drift label chip — a label chip
@@ -20857,6 +20859,45 @@ const CLIENT_JS = `
20857
20859
  return svg;
20858
20860
  }
20859
20861
 
20862
+ function svgCircle(cx, cy, r) {
20863
+ var c = document.createElementNS(SVG_NS, "circle");
20864
+ c.setAttribute("cx", cx);
20865
+ c.setAttribute("cy", cy);
20866
+ c.setAttribute("r", r);
20867
+ return c;
20868
+ }
20869
+
20870
+ /** A fork in a line — the conventional git-branch glyph. */
20871
+ function svgBranch() {
20872
+ var svg = svgIcon();
20873
+ svg.appendChild(svgPath("M6 3v12"));
20874
+ svg.appendChild(svgCircle("18", "6", "3"));
20875
+ svg.appendChild(svgCircle("6", "18", "3"));
20876
+ svg.appendChild(svgPath("M18 9a9 9 0 0 1-9 9"));
20877
+ return svg;
20878
+ }
20879
+
20880
+ /** Stacked racks — a profile names a deployed environment, not a code path. */
20881
+ function svgProfile() {
20882
+ var svg = svgIcon();
20883
+ svg.appendChild(svgPath("M4 4h16v6H4zM4 14h16v6H4z"));
20884
+ svg.appendChild(svgPath("M8 7h.01M8 17h.01"));
20885
+ return svg;
20886
+ }
20887
+
20888
+ /**
20889
+ * A chip whose glyph says which field it is. Two of these sit side by side on
20890
+ * every run, so without one they read as two unlabelled words. The title is
20891
+ * the fallback for anyone the glyph does not reach.
20892
+ */
20893
+ function iconChip(icon, text, label) {
20894
+ var chip = el("span", "chip icon-chip");
20895
+ chip.title = label;
20896
+ chip.appendChild(icon);
20897
+ chip.appendChild(document.createTextNode(text));
20898
+ return chip;
20899
+ }
20900
+
20860
20901
  // Round caps so the "i"/"!" dot (a zero-length segment) actually paints as a
20861
20902
  // filled dot instead of vanishing under a butt cap at small sizes.
20862
20903
  function svgRounded() {
@@ -21112,8 +21153,8 @@ const CLIENT_JS = `
21112
21153
  var sub = el("div", "subline");
21113
21154
  sub.appendChild(ciBadge(r));
21114
21155
  sub.appendChild(kindChip(r.kind));
21115
- sub.appendChild(el("span", "chip", r.branch || "—"));
21116
- if (r.profile) sub.appendChild(el("span", "chip", r.profile));
21156
+ sub.appendChild(iconChip(svgBranch(), r.branch || "—", t("meta.branch")));
21157
+ if (r.profile) sub.appendChild(iconChip(svgProfile(), r.profile, t("meta.profile")));
21117
21158
  if (r.kind === "drift") {
21118
21159
  var rowDrift = driftSummary(r);
21119
21160
  if (rowDrift) driftChips(rowDrift).forEach(function (chip) { sub.appendChild(chip); });
@@ -35,9 +35,9 @@ declare const RunSchema: z.ZodObject<{
35
35
  running: "running";
36
36
  }>;
37
37
  kind: z.ZodDefault<z.ZodEnum<{
38
- record: "record";
39
38
  run: "run";
40
39
  drift: "drift";
40
+ record: "record";
41
41
  }>>;
42
42
  drift: z.ZodDefault<z.ZodNullable<z.ZodObject<{
43
43
  specs: z.ZodNumber;
@@ -615,9 +615,9 @@ type ReportSpecResult = z.infer<typeof ReportSpecResultSchema>;
615
615
  declare const RunReportDataSchema: z.ZodObject<{
616
616
  schemaVersion: z.ZodLiteral<1>;
617
617
  kind: z.ZodDefault<z.ZodEnum<{
618
- record: "record";
619
618
  run: "run";
620
619
  drift: "drift";
620
+ record: "record";
621
621
  }>>;
622
622
  createdAt: z.ZodString;
623
623
  runId: z.ZodNullable<z.ZodString>;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccqa",
3
- "version": "1.26.2",
3
+ "version": "1.26.3",
4
4
  "type": "module",
5
5
  "description": "Browser test recorder powered by Claude Code and agent-browser",
6
6
  "repository": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccqa",
3
- "version": "1.26.2",
3
+ "version": "1.26.3",
4
4
  "type": "module",
5
5
  "description": "Browser test recorder powered by Claude Code and agent-browser",
6
6
  "repository": {