@xynogen/pix-9router 0.3.11 → 0.3.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-9router",
3
- "version": "0.3.11",
3
+ "version": "0.3.15",
4
4
  "description": "Pi extension — 9Router provider + fetch/search tools via router API",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -43,9 +43,9 @@
43
43
  "@earendil-works/pi-tui": "*"
44
44
  },
45
45
  "dependencies": {
46
- "@xynogen/pix-data": "^0.4.0",
47
- "@xynogen/pix-pretty": "^1.7.21",
46
+ "@xynogen/pix-data": "^0.4.3",
47
+ "@xynogen/pix-pretty": "^1.11.2",
48
48
  "typebox": "^1.1.38",
49
- "@xynogen/pix-runtime": "^0.4.0"
49
+ "@xynogen/pix-runtime": "^0.6.0"
50
50
  }
51
51
  }
@@ -1,4 +1,5 @@
1
1
  import { describe, expect, it } from "bun:test";
2
+ import { COLLAPSED_TOOL_GLYPH } from "@xynogen/pix-pretty/utils";
2
3
  import registerFetch, { executeFetch, formatFetchResult } from "./fetch.ts";
3
4
  import registerSearch, {
4
5
  executeSearch,
@@ -365,7 +366,7 @@ describe("fetch and search compact renderers", () => {
365
366
  chars: 120,
366
367
  },
367
368
  });
368
- expect(fetchRow).toContain("⚡");
369
+ expect(fetchRow).toContain(COLLAPSED_TOOL_GLYPH.warning);
369
370
  expect(fetchRow).toContain("120 chars · curl fallback");
370
371
 
371
372
  const searchRow = renderRegisteredResult(
@@ -1,4 +1,5 @@
1
1
  import { expect, test } from "bun:test";
2
+ import { COLLAPSED_TOOL_GLYPH } from "@xynogen/pix-pretty/utils";
2
3
  import { makeRenderCall, makeRenderResult } from "./render.js";
3
4
 
4
5
  const theme = {
@@ -127,8 +128,8 @@ test("renderResult caps the normal preview", () => {
127
128
 
128
129
  test("warning and error callbacks select shared status glyphs", () => {
129
130
  for (const [status, glyph] of [
130
- ["warning", "⚡"],
131
- ["error", "✗"],
131
+ ["warning", COLLAPSED_TOOL_GLYPH.warning],
132
+ ["error", COLLAPSED_TOOL_GLYPH.error],
132
133
  ] as const) {
133
134
  const stub = stubComponent();
134
135
  const rr = makeRenderResult({ ...config, status: () => status });