From 282846b52498d971aa4e51793b327b00f63def70 Mon Sep 17 00:00:00 2001 From: Shangxin Date: Sun, 11 Oct 2026 18:02:10 +0000 Subject: [PATCH 1/5] chore: update all dependencies - @earendil-works/pi-coding-agent 0.84.2 -> 1.1.0 (no API break: our import surface typechecks and all 816 tests pass unchanged) - @modelcontextprotocol/sdk 1.30.0 -> 1.32.1, shell-quote 1.10 -> 1.12, typebox 1.3.15 -> 1.3.36, zod 4.4.3 -> 4.6.6, @types/node -> 26.6.5 - bun-types stays pinned at 1.4.2 to match the pinned runtime - ui: cargo update (slint 1.17.1 -> 1.18.1, which fixes the tray error-enum display bug the AGENTS.md notes; clippy/test clean, msvc cross-check clean) Co-Authored-By: Claude Code --- bun.lock | 218 +++--- package.json | 12 +- ui/Cargo.lock | 1990 +++++++++++++++++++++---------------------------- 3 files changed, 998 insertions(+), 1222 deletions(-) diff --git a/bun.lock b/bun.lock index 145cf1d..a8b92d4 100644 --- a/bun.lock +++ b/bun.lock @@ -5,14 +5,14 @@ "": { "name": "squid-desktop-assistant", "dependencies": { - "@earendil-works/pi-coding-agent": "0.84.2", - "@modelcontextprotocol/sdk": "1.30.0", - "shell-quote": "^1.10.0", - "typebox": "1.3.15", - "zod": "^4.4.3", + "@earendil-works/pi-coding-agent": "1.1.0", + "@modelcontextprotocol/sdk": "1.32.1", + "shell-quote": "^1.12.0", + "typebox": "1.3.36", + "zod": "^4.6.6", }, "devDependencies": { - "@types/node": "26.2.0", + "@types/node": "26.6.5", "@types/shell-quote": "^1.7.5", "bun-types": "1.4.2", "typescript": "7.0.2", @@ -20,101 +20,121 @@ }, }, "packages": { - "@anthropic-ai/sdk": ["@anthropic-ai/sdk@0.91.1", "", { "dependencies": { "json-schema-to-ts": "^3.1.1" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" }, "optionalPeers": ["zod"], "bin": { "anthropic-ai-sdk": "bin/cli" } }, "sha512-LAmu761tSN9r66ixvmciswUj/ZC+1Q4iAfpedTfSVLeswRwnY3n2Nb6Tsk+cLPP28aLOPWeMgIuTuCcMC6W/iw=="], + "@anthropic-ai/sdk": ["@anthropic-ai/sdk@0.129.0", "", { "dependencies": { "json-schema-to-ts": "^3.1.1", "standardwebhooks": "^1.0.0" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" }, "optionalPeers": ["zod"], "bin": { "anthropic-ai-sdk": "bin/cli" } }, "sha512-MH7LB20kNpGLUpPTe2OG5XvL/KhX8HUO9XyBaFjgFk6TLS4Xjt0VPIuMKywe7POKKPslX+QxSlVok9e+8kG5Nw=="], - "@aws-crypto/sha256-browser": ["@aws-crypto/sha256-browser@5.2.0", "", { "dependencies": { "@aws-crypto/sha256-js": "^5.2.0", "@aws-crypto/supports-web-crypto": "^5.2.0", "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-locate-window": "^3.0.0", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.6.2" } }, "sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw=="], + "@aws-sdk/client-bedrock-runtime": ["@aws-sdk/client-bedrock-runtime@3.1127.0", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/credential-provider-node": "^3.972.82", "@aws-sdk/eventstream-handler-node": "^3.972.34", "@aws-sdk/middleware-eventstream": "^3.972.29", "@aws-sdk/middleware-websocket": "^3.972.52", "@aws-sdk/token-providers": "3.1127.0", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/fetch-http-handler": "^5.7.2", "@smithy/node-http-handler": "^4.11.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-IDl/lrPb90aH+pZFHGNDmgH9nAUQj5PlZH1sJ3w7RikctyjHSnY3oNjZhrLoaBoQn/rNK0zsP6OHEqEhj2tdLA=="], - "@aws-crypto/sha256-js": ["@aws-crypto/sha256-js@5.2.0", "", { "dependencies": { "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", "tslib": "^2.6.2" } }, "sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA=="], + "@aws-sdk/core": ["@aws-sdk/core@3.978.2", "", { "dependencies": { "@aws-sdk/types": "^3.974.6", "@aws-sdk/xml-builder": "^3.972.41", "@aws/lambda-invoke-store": "^0.3.0", "@smithy/core": "^3.35.2", "@smithy/signature-v4": "^5.7.4", "@smithy/types": "^4.19.0", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-ViOBLuGSSyPAmkKGJ6KJXtVN7MOEp3rnI7uH+kWxnHccvo8C9cvunEAnN5/oaZH1laQfsTBw7IOnmNkWlFZl2A=="], - "@aws-crypto/supports-web-crypto": ["@aws-crypto/supports-web-crypto@5.2.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg=="], + "@aws-sdk/credential-provider-env": ["@aws-sdk/credential-provider-env@3.972.73", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-PxlFZiF5IPUsPnuVSqjM9jlmRwZhL0xx40ccWfZiLQS8TRnHQpegpK1uAidatWuEqbJtbbY97A2Sezikz2AMUw=="], - "@aws-crypto/util": ["@aws-crypto/util@5.2.0", "", { "dependencies": { "@aws-sdk/types": "^3.222.0", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.6.2" } }, "sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ=="], + "@aws-sdk/credential-provider-http": ["@aws-sdk/credential-provider-http@3.972.75", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-Q/uIDy8eAVN7JgSKDg16F/f+hmNJj/ZyLJN8AkW2ofVdDgJVh8fO/A26iZ7YsvM2/k76hsf/u2lLAtyXsK8Ziw=="], - "@aws-sdk/client-bedrock-runtime": ["@aws-sdk/client-bedrock-runtime@3.1048.0", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.974.11", "@aws-sdk/credential-provider-node": "^3.972.42", "@aws-sdk/eventstream-handler-node": "^3.972.16", "@aws-sdk/middleware-eventstream": "^3.972.12", "@aws-sdk/middleware-websocket": "^3.972.19", "@aws-sdk/token-providers": "3.1048.0", "@aws-sdk/types": "^3.973.8", "@smithy/core": "^3.24.2", "@smithy/fetch-http-handler": "^5.4.2", "@smithy/node-http-handler": "^4.7.2", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-u+NT61JZEkRFtpL0CAw1N1dwxnaLgwVXQl/zjJxTGgLyS/jTIdg2SdoEoCTHxgDyCnqa1HEi9QOoE9/pYRNpOQ=="], + "@aws-sdk/credential-provider-ini": ["@aws-sdk/credential-provider-ini@3.973.18", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/credential-provider-env": "^3.972.73", "@aws-sdk/credential-provider-http": "^3.972.75", "@aws-sdk/credential-provider-login": "^3.972.80", "@aws-sdk/credential-provider-process": "^3.972.73", "@aws-sdk/credential-provider-sso": "^3.973.17", "@aws-sdk/credential-provider-web-identity": "^3.972.79", "@aws-sdk/nested-clients": "^3.997.47", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/credential-provider-imds": "^4.5.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-KoyjZ9vdjuxEQ8obAH06xKP8H0WKqGhwUZLMqAOiS7G0xgUAht4X8f0ASLC/vhNLCWGblZOD3VQHWyTROGJHLg=="], - "@aws-sdk/core": ["@aws-sdk/core@3.977.8", "", { "dependencies": { "@aws-sdk/types": "^3.974.4", "@aws-sdk/xml-builder": "^3.972.39", "@aws/lambda-invoke-store": "^0.3.0", "@smithy/core": "^3.31.1", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.16.1", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-7+Kcrkvrk9lM/m7jRhHpT4jCdvzGHsuaSRbF8TdzzkY1mRzp/Ogwf9c7H29k4gGhey0BBWhCWr16+t0J61gwmg=="], + "@aws-sdk/credential-provider-login": ["@aws-sdk/credential-provider-login@3.972.80", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/nested-clients": "^3.997.47", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-xF9A0gaO7k+1dYPFoo69OQatA9Ov0QuDZfqE8H0FLyIoOph+mlEC+I1Qo9UULupGuDfSYh+kVpfcDSxSYf/2fg=="], - "@aws-sdk/credential-provider-env": ["@aws-sdk/credential-provider-env@3.972.69", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-AreCFzcB4kH2HF9031Ot0jSJr3KXvRg6e8uDeub20JEVdZU3Bv0sTq1plc7VsT3KiqutlzH7l0j50UcCWHUioA=="], + "@aws-sdk/credential-provider-node": ["@aws-sdk/credential-provider-node@3.972.85", "", { "dependencies": { "@aws-sdk/credential-provider-env": "^3.972.73", "@aws-sdk/credential-provider-http": "^3.972.75", "@aws-sdk/credential-provider-ini": "^3.973.18", "@aws-sdk/credential-provider-process": "^3.972.73", "@aws-sdk/credential-provider-sso": "^3.973.17", "@aws-sdk/credential-provider-web-identity": "^3.972.79", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/credential-provider-imds": "^4.5.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-CrFcML/xImiSlquH4W3V6Npz3aSkPXHDVciAU1JOBN0vqjmkcz9H9up2sCHQqN76J/WrT+TJ580L8h2joksQrg=="], - "@aws-sdk/credential-provider-http": ["@aws-sdk/credential-provider-http@3.972.71", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/fetch-http-handler": "^5.6.13", "@smithy/node-http-handler": "^4.9.13", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-A8ObcqVmDMnk4F9NozZ7JwmUu9Q4xyBJkmyq1C5U+wNM9ht9J7+EuuyabsLWXZnOoTqFaJuYBYTKf5CTipkEjA=="], + "@aws-sdk/credential-provider-process": ["@aws-sdk/credential-provider-process@3.972.73", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-tyNnT4aVuOEXmKKKZPExBi828vRd9heshobBsKF0bov5EORHSJc1AGsHOMRP57sDt+dIuVASUOywaixiX26t4g=="], - "@aws-sdk/credential-provider-ini": ["@aws-sdk/credential-provider-ini@3.973.14", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/credential-provider-env": "^3.972.69", "@aws-sdk/credential-provider-http": "^3.972.71", "@aws-sdk/credential-provider-login": "^3.972.76", "@aws-sdk/credential-provider-process": "^3.972.69", "@aws-sdk/credential-provider-sso": "^3.973.13", "@aws-sdk/credential-provider-web-identity": "^3.972.75", "@aws-sdk/nested-clients": "^3.997.43", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/credential-provider-imds": "^4.4.16", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-7c+Wti2LsERNWMfm7ySz3/6RPopFW3Nmn7s63Xpcq6R/tRuY5hpvkHA2xVgi5ukJbvok9l0IDtVEvqTtg+X7dw=="], + "@aws-sdk/credential-provider-sso": ["@aws-sdk/credential-provider-sso@3.973.17", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/nested-clients": "^3.997.47", "@aws-sdk/token-providers": "3.1149.0", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-gxKTWaUk2gSbBOH4m3NPRfEKcGXeDAOgHr7nNG5JktR1xZLo0R+DpMjbcleoHbB0uJREOG7hjIRE635IuBWsRQ=="], - "@aws-sdk/credential-provider-login": ["@aws-sdk/credential-provider-login@3.972.76", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/nested-clients": "^3.997.43", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-LVixwOnEJfrrfKHeZjBA8pIMTZjNDq8ak8VpcoWUuCJDrSnBNU8POJksULMgvN089P0MXtQYH2Zs627/MK1K0g=="], + "@aws-sdk/credential-provider-web-identity": ["@aws-sdk/credential-provider-web-identity@3.972.79", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/nested-clients": "^3.997.47", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-/jn0Gs/qm6fs6nTIA5yncHayybz42SATZ3rNxCEBYPJ9v69PLrDRgk07E9xTT2gpRcNmDXXbi27ZbuU06N0Z6Q=="], - "@aws-sdk/credential-provider-node": ["@aws-sdk/credential-provider-node@3.972.80", "", { "dependencies": { "@aws-sdk/credential-provider-env": "^3.972.69", "@aws-sdk/credential-provider-http": "^3.972.71", "@aws-sdk/credential-provider-ini": "^3.973.14", "@aws-sdk/credential-provider-process": "^3.972.69", "@aws-sdk/credential-provider-sso": "^3.973.13", "@aws-sdk/credential-provider-web-identity": "^3.972.75", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/credential-provider-imds": "^4.4.16", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-bE2qh8ww4iClO1jHsBXdOE8FUgzDbdxbyorNjSCoPSkQd51k3jODItuPZfuwcLHZqDXsH+bI4AMHhqtuyR7mSg=="], + "@aws-sdk/eventstream-handler-node": ["@aws-sdk/eventstream-handler-node@3.972.36", "", { "dependencies": { "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-HFaKXA6ugPVvpR7W/3UT3hylWIPndqGMwduwNVrmGsRT5+OESHN8/ven4eeofraQF5Kxp8A8QgGVrv7iQsTRKQ=="], - "@aws-sdk/credential-provider-process": ["@aws-sdk/credential-provider-process@3.972.69", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-9kpTNdZTrcqXTfhxM7fgl9Z68ek3Fu5oe3Yf+A/pJGibEqpgZxz2tSY7SinmyCIU2PJ+ygY4FPoBBnLpocMtrQ=="], + "@aws-sdk/middleware-eventstream": ["@aws-sdk/middleware-eventstream@3.972.31", "", { "dependencies": { "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-4yvdTVwPGKCnrwuwlYEmwLqQXKwk0unx3f/FvBi4FA9ruK/WGoPJyqfK7hOYurheIyQL44FR0ovgOHqvkfdpAQ=="], - "@aws-sdk/credential-provider-sso": ["@aws-sdk/credential-provider-sso@3.973.13", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/nested-clients": "^3.997.43", "@aws-sdk/token-providers": "3.1111.0", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-Oc81qauMPzUoTnAS2YKpNwY6sY/LUyQTEeaf6yP197WMxkEBQfcKLR1MFpD7+pNTubXnfkH6gwpji+Gc7iyD2Q=="], + "@aws-sdk/middleware-websocket": ["@aws-sdk/middleware-websocket@3.972.55", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/signature-v4": "^5.7.4", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-dHlEl3sCn1Cu+qddPoz5RxjgGCXEzs/pbrh/rDRaOeb/Tz//FF59hacDvy7kvUn19mkm2nQRjhpzBnX+Ye37Qw=="], - "@aws-sdk/credential-provider-web-identity": ["@aws-sdk/credential-provider-web-identity@3.972.75", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/nested-clients": "^3.997.43", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-YPN6uoGDgjjjeVFZrcOeCJqmB6zpXoeeNgIjqe+DexJaWqdjVfCCe+VAZwli9Z2h8KhFW8oxkO39emQ1tyz/Mw=="], + "@aws-sdk/nested-clients": ["@aws-sdk/nested-clients@3.997.47", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/signature-v4-multi-region": "^3.996.48", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-bovCKvDsLocNTzaj6VrrMVJ2BGROqO0JlwcGseO67a+I9Bo+08nUJhSQfZUIx4+A4a7I4101GEJd/AYm7dQ68w=="], - "@aws-sdk/eventstream-handler-node": ["@aws-sdk/eventstream-handler-node@3.972.33", "", { "dependencies": { "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-1Dd5WyEE2Kb3HvY44u7Ob16ST2W6iutOqsQ8Y2hUmsL2mAH/STlGS1dS9h3IOE6L7Ld3AR2HzKJ6XeCMOw8Peg=="], + "@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.48", "", { "dependencies": { "@aws-sdk/types": "^3.974.6", "@smithy/signature-v4": "^5.7.4", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-cFDXfEbXaGwbnpvR/DyqfxfjxpjXVRVthQLgkwvcfDS5u3+8G9WSj1X1Ag/pTRg/QOeOno1Tq3ycEdrKsCUcOA=="], - "@aws-sdk/middleware-eventstream": ["@aws-sdk/middleware-eventstream@3.972.28", "", { "dependencies": { "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-Z1EDXnS01P7H5jVrUx+/dBqV0m7dta7bSxLclkOuDuS93pNNQm0IcT4YLUbuvWKPYNxbI8aTG0p5Br30GSKDgA=="], + "@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1127.0", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/nested-clients": "^3.997.44", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-Dv2TMWBshJ+tF6ahs2Sy5bh4Iabsd4GAQqVvE9XZmYmnoaVbpS2QKIKE/HRacc7bTtbjEEvP+laGzHvHlf1CiQ=="], - "@aws-sdk/middleware-websocket": ["@aws-sdk/middleware-websocket@3.972.51", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/fetch-http-handler": "^5.6.13", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-jdgP3jR5Q96j1jjZ98GGwpGg1CBNFIO2YE+vXg8cg8PvNY4NvgQNYJsqDaRX2PYv5gSUX/+C0D58Fhspj9ELMQ=="], + "@aws-sdk/types": ["@aws-sdk/types@3.974.6", "", { "dependencies": { "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-v/clNZzZnDxGyvpHMOGpJKVXFAExJzUNAAjaWGdcx8QAcXLGwTaOkw33p5SHAi0YAioK32xB3hWwOekRVfmfKg=="], - "@aws-sdk/nested-clients": ["@aws-sdk/nested-clients@3.997.43", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/signature-v4-multi-region": "^3.996.45", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/fetch-http-handler": "^5.6.13", "@smithy/node-http-handler": "^4.9.13", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-bit+VpqWNyi3wHxFoTsTliNXimCSL2r2OeDTm7ZrG+YsTZ2D7ofDJ6r/t9PVBn80i6/v0X2h9Tgw6QP2MAKfPw=="], + "@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.41", "", { "dependencies": { "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-ctjVSyCMegrWfXlx6VqzSBFI6UqmQ5ZlnfMhdLIiWmhoH8UAQxSCP5N3OpG7X3k4LnS7ou74C4mt20+bfTW2aQ=="], - "@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.45", "", { "dependencies": { "@aws-sdk/types": "^3.974.4", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-bBuyztukzXq6plzFGHAWiQt0QXo+HL8b8lX5cFTzkez/74PtS1c0qPFCIVuHkyoT+miH2qOjAcm1/yoro2ESPA=="], + "@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.3.0", "", {}, "sha512-sl4Bm6yiMNYrZKkqqDFWN0UfnWhlS8ivKxrYl+6t0gCLrqr8y3B2IqZZbFRkfaVVp7C/baApyh71P+LeE1A2sQ=="], - "@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1048.0", "", { "dependencies": { "@aws-sdk/core": "^3.974.11", "@aws-sdk/nested-clients": "^3.997.9", "@aws-sdk/types": "^3.973.8", "@smithy/core": "^3.24.2", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-k0y/GcuesuSfWyUM0WamrGyeZmltRYaPbHO82UDA6mZ/doB+FOHKutikPAtSXMn/hDz970cF+iRuuiYO9VEbAA=="], + "@babel/runtime": ["@babel/runtime@7.29.7", "", {}, "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw=="], - "@aws-sdk/types": ["@aws-sdk/types@3.974.4", "", { "dependencies": { "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-dSFDNG00MEz0/xl5gxL62giLd1iYyJsTxZ1I1DOj6lC+bbgLB4TRsYClJg3b62dhXT1uATzsTNXPnC+33EJV3A=="], + "@earendil-works/chord": ["@earendil-works/chord@1.1.0", "", { "dependencies": { "esbuild": "0.28.2" } }, "sha512-gsHzKfyQ3t0ZIQ3cLBjJ5Vqy1TYnFyruHIV3g3BwmulCDYe5BW4yT9vaJk9QzN6YANILIO75uzuq+Gdxtzz1og=="], - "@aws-sdk/util-locate-window": ["@aws-sdk/util-locate-window@3.965.10", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-ycwH6Zd2GhuSqdXX9ihbCjeGTB6xOJs+O3+Jb8/zDG9978XU80qs75dfkPJRMNKe5MvBZPuNeFpd4JZKPoUF4g=="], + "@earendil-works/pi-agent-core": ["@earendil-works/pi-agent-core@1.1.0", "", { "dependencies": { "@earendil-works/pi-ai": "^1.1.0", "typebox": "1.3.27" } }, "sha512-aX1KZomNCPmwYnXa3OivF3VYLJ+WPUkIJlEIZTgwdOZdY/+oToWTQ334WYpQeOz9POpiYFNMJLPwIhXQ4e48kg=="], - "@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.39", "", { "dependencies": { "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-FTti8DS5MMWXNUWiRwXAJeYS+0GHHiMy0+7XOhcwk63ILHmfS2UFy2z/HNpZCSOJJ3P3dnWY6hfYNW3DF0nXUA=="], + "@earendil-works/pi-ai": ["@earendil-works/pi-ai@1.1.0", "", { "dependencies": { "@anthropic-ai/sdk": "0.129.0", "@aws-sdk/client-bedrock-runtime": "3.1127.0", "@earendil-works/pi-telemetry": "^1.1.0", "@google/genai": "2.21.0", "@smithy/node-http-handler": "4.12.1", "http-proxy-agent": "9.1.0", "https-proxy-agent": "9.1.0", "openai": "7.19.0", "partial-json": "0.1.7", "typebox": "1.3.27" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-1T7LAkc/5Bvc0v6w4vAGVdCrli0o/E0pEmYKTnixu95vSFArBjvbhS/G4ZwI0RUePgf0Imcu0VyqlM4EcXxqfw=="], - "@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.3.0", "", {}, "sha512-sl4Bm6yiMNYrZKkqqDFWN0UfnWhlS8ivKxrYl+6t0gCLrqr8y3B2IqZZbFRkfaVVp7C/baApyh71P+LeE1A2sQ=="], + "@earendil-works/pi-codemode": ["@earendil-works/pi-codemode@1.1.0", "", { "dependencies": { "quickjs-wasi": "3.6.2" } }, "sha512-8Asc2AzhoNaXS1snmRFa96OhcWIlFM5k1Kuiz6p2DvIYgi5QHQccRAmDVY9oO92TzWrizpvQpconZGQ7JhlI7Q=="], - "@babel/runtime": ["@babel/runtime@7.29.7", "", {}, "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw=="], + "@earendil-works/pi-coding-agent": ["@earendil-works/pi-coding-agent@1.1.0", "", { "dependencies": { "@earendil-works/chord": "^1.1.0", "@earendil-works/pi-agent-core": "^1.1.0", "@earendil-works/pi-ai": "^1.1.0", "@earendil-works/pi-codemode": "^1.1.0", "@earendil-works/pi-mcp": "^1.1.0", "@earendil-works/pi-tui": "^1.1.0", "@silvia-odwyer/photon-node": "0.3.4", "brace-expansion": "5.0.12", "chalk": "6.0.0", "cross-spawn": "7.0.6", "diff": "8.0.4", "grok-mermaid": "0.2.3", "highlight.js": "10.7.3", "hosted-git-info": "9.0.3", "ignore": "7.0.8", "jiti": "2.7.0", "minimatch": "10.2.6", "proper-lockfile": "4.1.2", "quickjs-wasi": "3.6.2", "semver": "7.8.5", "typebox": "1.3.27", "undici": "8.10.2", "yaml": "2.9.0" }, "bin": { "pi": "dist/bundle/cli.js" } }, "sha512-SeEi/4hdcHNgA9UWlefZl7ZZpm3dzi2OoxNjDHsBJ9o298LNOtbL4DGKgitlEj6uCTccvtw6f2hlCkTPVJ2RXg=="], - "@earendil-works/pi-agent-core": ["@earendil-works/pi-agent-core@0.84.2", "", { "dependencies": { "@earendil-works/pi-ai": "^0.84.2", "@earendil-works/pi-telemetry": "^0.84.2", "diff": "8.0.4", "ignore": "7.0.5", "typebox": "1.3.7", "yaml": "2.9.0" } }, "sha512-8Pn3wSCxj0cfo5I6jxQYVB/3uuQRmHhAlEclyjqpOuMEdQMIODHizRogv56FLdbU+dTiGnybeHQ2N+sV1/L2YA=="], + "@earendil-works/pi-mcp": ["@earendil-works/pi-mcp@1.1.0", "", { "dependencies": { "cross-spawn": "7.0.6" } }, "sha512-xGKwvu3SvVTeoIx8Z7UGoJprB4VK20wKORMhufcWGx61fIauhu3J+UqfB5eeoF1oE/geYBA598K6nh1SdABQkg=="], - "@earendil-works/pi-ai": ["@earendil-works/pi-ai@0.84.2", "", { "dependencies": { "@anthropic-ai/sdk": "0.91.1", "@aws-sdk/client-bedrock-runtime": "3.1048.0", "@earendil-works/pi-telemetry": "^0.84.2", "@google/genai": "1.52.0", "@opentelemetry/api": "1.9.0", "@smithy/node-http-handler": "4.7.3", "http-proxy-agent": "7.0.2", "https-proxy-agent": "7.0.6", "openai": "6.40.0", "partial-json": "0.1.7", "typebox": "1.3.7" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-6MzsrYIYNVlE7SfpbL2yYb67Qo58p/7Q+xWG1RZvoX1P80aRCHSod2/13aFpxkow1lPO2LEh3c495J0Gwmyjig=="], + "@earendil-works/pi-telemetry": ["@earendil-works/pi-telemetry@1.1.0", "", {}, "sha512-8gAK05/2pPozZZz6hCLOi8x2vsqzvsmO9gG92kbvuvTPm0qMHaFlaXX98ndXsrOi5pmzha7vNLguuG4+0Rgxjw=="], - "@earendil-works/pi-client": ["@earendil-works/pi-client@0.84.2", "", { "dependencies": { "@earendil-works/pi-protocol": "^0.84.2" } }, "sha512-/RFSPhD/bZbpOp1oJj+UneSUFSgZhWxzcSENUY+8+8xhoBrWXMYI2t77XNx4Yf+c8YK2qTHquForhNcelYpXvg=="], + "@earendil-works/pi-tui": ["@earendil-works/pi-tui@1.1.0", "", { "dependencies": { "get-east-asian-width": "1.6.0", "marked": "18.0.11" } }, "sha512-v7wkS0y2ErZvZkSfemqd9RrBZJ5x6p8Ujsv7NdJj01IXJyFM0kNL6rMdcKcvTe7EVTd6ugvDB9VPZSoaBF9QxQ=="], - "@earendil-works/pi-coding-agent": ["@earendil-works/pi-coding-agent@0.84.2", "", { "dependencies": { "@earendil-works/pi-agent-core": "^0.84.2", "@earendil-works/pi-ai": "^0.84.2", "@earendil-works/pi-client": "^0.84.2", "@earendil-works/pi-protocol": "^0.84.2", "@earendil-works/pi-tui": "^0.84.2", "@silvia-odwyer/photon-node": "0.3.4", "chalk": "5.6.2", "cross-spawn": "7.0.6", "diff": "8.0.4", "glob": "13.0.6", "grok-mermaid": "0.2.2", "highlight.js": "10.7.3", "hosted-git-info": "9.0.3", "ignore": "7.0.5", "jiti": "2.7.0", "minimatch": "10.2.5", "proper-lockfile": "4.1.2", "semver": "7.8.0", "typebox": "1.3.7", "undici": "8.9.0", "yaml": "2.9.0" }, "optionalDependencies": { "@mariozechner/clipboard": "0.3.9" }, "bin": { "pi": "dist/cli.js" } }, "sha512-l4E+B7hgXKWddRo8bC/eSue2aWZjEgJ9xIpf5p0Og+lq8a2TArCwJ0HCoCPCgaBP/tN4zbYH/wOwvx9pJpeLCA=="], + "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.28.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ=="], - "@earendil-works/pi-protocol": ["@earendil-works/pi-protocol@0.84.2", "", { "dependencies": { "typebox": "1.3.7" } }, "sha512-jbBh03fkeckWEroHpcZBr4w5/Ibat8WwdXFlXHivYQImrQNFtLpDeL0t1cku4hmK0q3pceIRQHkw4fwbM4YILQ=="], + "@esbuild/android-arm": ["@esbuild/android-arm@0.28.2", "", { "os": "android", "cpu": "arm" }, "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg=="], - "@earendil-works/pi-telemetry": ["@earendil-works/pi-telemetry@0.84.2", "", {}, "sha512-wg5caea7uIv1BHRBm2Y116RvFG4oSAiP5qk9tA2463PDGIr4K8M1Ceyyg5DOpF/shUUl0gk826yQJAeAcHYB9g=="], + "@esbuild/android-arm64": ["@esbuild/android-arm64@0.28.2", "", { "os": "android", "cpu": "arm64" }, "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A=="], - "@earendil-works/pi-tui": ["@earendil-works/pi-tui@0.84.2", "", { "dependencies": { "get-east-asian-width": "1.6.0", "marked": "18.0.5" } }, "sha512-ds2TLihOnM5sLJB3VpXV6y0uR5efVuHf4MN7yDpsty6hA2DUO/EDVzjp/0od0G2JslzVLMjT8T8zavtxVb+qbg=="], + "@esbuild/android-x64": ["@esbuild/android-x64@0.28.2", "", { "os": "android", "cpu": "x64" }, "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q=="], - "@google/genai": ["@google/genai@1.52.0", "", { "dependencies": { "google-auth-library": "^10.3.0", "p-retry": "^4.6.2", "protobufjs": "^7.5.4", "ws": "^8.18.0" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.25.2" }, "optionalPeers": ["@modelcontextprotocol/sdk"] }, "sha512-gwSvbpiN/17O9TbsqSsE/OzZcpv5Fo4RQjdngGgogtuB9RsyJ8ZHhX5KjHj1bp5N9snN2eK8LDGXSaWW2hof8Q=="], + "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.28.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw=="], - "@hono/node-server": ["@hono/node-server@2.1.1", "", { "peerDependencies": { "hono": "^4" } }, "sha512-ELuehkj5VCBdgEw9zs+ivkKwyzzUCSQuE96YmiPvn1ECBoZCczbFXJLeEGMTYjphP6gydh4pHMqEYPVMYUVgQg=="], + "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.28.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw=="], + + "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.28.2", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw=="], + + "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.28.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg=="], + + "@esbuild/linux-arm": ["@esbuild/linux-arm@0.28.2", "", { "os": "linux", "cpu": "arm" }, "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w=="], - "@mariozechner/clipboard": ["@mariozechner/clipboard@0.3.9", "", { "optionalDependencies": { "@mariozechner/clipboard-darwin-arm64": "0.3.9", "@mariozechner/clipboard-darwin-universal": "0.3.9", "@mariozechner/clipboard-darwin-x64": "0.3.9", "@mariozechner/clipboard-linux-arm64-gnu": "0.3.9", "@mariozechner/clipboard-linux-arm64-musl": "0.3.9", "@mariozechner/clipboard-linux-riscv64-gnu": "0.3.9", "@mariozechner/clipboard-linux-x64-gnu": "0.3.9", "@mariozechner/clipboard-linux-x64-musl": "0.3.9", "@mariozechner/clipboard-win32-arm64-msvc": "0.3.9", "@mariozechner/clipboard-win32-x64-msvc": "0.3.9" } }, "sha512-ABnA53mdfkGZwOFUdZNv2S0CWGO/EIuPj8Vv9xmBFmSYg/qFc7ihO6q5FcQjvoE67kZpWkEc4AhD6B/os04yuA=="], + "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.28.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug=="], - "@mariozechner/clipboard-darwin-arm64": ["@mariozechner/clipboard-darwin-arm64@0.3.9", "", { "os": "darwin", "cpu": "arm64" }, "sha512-BfgV7vCEWZwJwZJw03r6bP5+tf0iI/ANuQYCxi9RNn7FrWB3yzGuMKCrNLRl6V761vXRdL8+OqZ0wd4TqlsNOQ=="], + "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.28.2", "", { "os": "linux", "cpu": "ia32" }, "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ=="], - "@mariozechner/clipboard-darwin-universal": ["@mariozechner/clipboard-darwin-universal@0.3.9", "", { "os": "darwin" }, "sha512-BGGR4iA9Z2shAjI65eI5xtyb3LYNlDW9X3gxKxDbqtbnREohsrqznov6zpKoIrsRWpzlYVEdKphS7ksJ0/ndSQ=="], + "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.28.2", "", { "os": "linux", "cpu": "none" }, "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ=="], - "@mariozechner/clipboard-darwin-x64": ["@mariozechner/clipboard-darwin-x64@0.3.9", "", { "os": "darwin", "cpu": "x64" }, "sha512-4kURmCbS6nt8uYhtmWpUcJWyPHfmAr5dTpXD1nO3pIfa+TSQ9DbrGOYCKH+aEFW47XhQ4Vp8ZTszie+wfFvDKg=="], + "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.28.2", "", { "os": "linux", "cpu": "none" }, "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA=="], - "@mariozechner/clipboard-linux-arm64-gnu": ["@mariozechner/clipboard-linux-arm64-gnu@0.3.9", "", { "os": "linux", "cpu": "arm64" }, "sha512-g59OkUGP2DDfCOIKypHeYgv2M55u/cKvXa5dSxFbEJ34XvIQMdcVmpKCkGUro3ZgefXiGVdwguvTMQGpHWzIXw=="], + "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.28.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ=="], - "@mariozechner/clipboard-linux-arm64-musl": ["@mariozechner/clipboard-linux-arm64-musl@0.3.9", "", { "os": "linux", "cpu": "arm64" }, "sha512-AGuJdgKsmJdm4Pych7kv3sqe591ERRaAHW3xjLooiFzn8J+PxUyof++7YZrB5Y5tpnTO+K18Og3taj2NpluCRQ=="], + "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.28.2", "", { "os": "linux", "cpu": "none" }, "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA=="], - "@mariozechner/clipboard-linux-riscv64-gnu": ["@mariozechner/clipboard-linux-riscv64-gnu@0.3.9", "", { "os": "linux", "cpu": "none" }, "sha512-DXBEAiuMpk7dhS1a9NzNxVAFi1vaKoPu7rQNgY8LIDLGrK3lnIp3nT10DUum+PKVJoJppIP+NAA8IZe4DMNDPw=="], + "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.28.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg=="], - "@mariozechner/clipboard-linux-x64-gnu": ["@mariozechner/clipboard-linux-x64-gnu@0.3.9", "", { "os": "linux", "cpu": "x64" }, "sha512-WORrMLd6EpElEME7JRKfSaY34nW1P5LbdgK5YNCS1ncG2LqmITsSMEJ8nh2mpvxb3TxqbOOKgY7k9eMJYlW9Mw=="], + "@esbuild/linux-x64": ["@esbuild/linux-x64@0.28.2", "", { "os": "linux", "cpu": "x64" }, "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ=="], - "@mariozechner/clipboard-linux-x64-musl": ["@mariozechner/clipboard-linux-x64-musl@0.3.9", "", { "os": "linux", "cpu": "x64" }, "sha512-/DHn+1DrfL6oRaPPWXaOKvonFFrni666fxd+zFqiQEfvBH0tsHVWjq9iqBk0oDp0qaPA72lIMy5BptxISBEhZQ=="], + "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.28.2", "", { "os": "none", "cpu": "arm64" }, "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw=="], - "@mariozechner/clipboard-win32-arm64-msvc": ["@mariozechner/clipboard-win32-arm64-msvc@0.3.9", "", { "os": "win32", "cpu": "arm64" }, "sha512-O5FHD3ErkMwMhNzAfu3ggy0ug4z7btZuoQgwwxlzPrwV2bxlD6WDpqBY4NCgICAgZdDKdp+loUEKVAVt8aYnhQ=="], + "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.28.2", "", { "os": "none", "cpu": "x64" }, "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw=="], - "@mariozechner/clipboard-win32-x64-msvc": ["@mariozechner/clipboard-win32-x64-msvc@0.3.9", "", { "os": "win32", "cpu": "x64" }, "sha512-ihQC3EufqEY81vhXBgVBtK4prL+wc62zJsSvxrgz7K1hsdt6OObz6v9p3Rn1OG3GJksTTKMJF0u/guMISHPhSA=="], + "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.28.2", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ=="], - "@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.30.0", "", { "dependencies": { "@hono/node-server": "^1.19.9 || ^2.0.5", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA=="], + "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.28.2", "", { "os": "openbsd", "cpu": "x64" }, "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw=="], + + "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.28.2", "", { "os": "none", "cpu": "arm64" }, "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q=="], + + "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.28.2", "", { "os": "sunos", "cpu": "x64" }, "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g=="], + + "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.28.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ=="], + + "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.28.2", "", { "os": "win32", "cpu": "ia32" }, "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA=="], + + "@esbuild/win32-x64": ["@esbuild/win32-x64@0.28.2", "", { "os": "win32", "cpu": "x64" }, "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g=="], + + "@google/genai": ["@google/genai@2.21.0", "", { "dependencies": { "google-auth-library": "^10.3.0", "p-retry": "^4.6.2", "protobufjs": "^7.5.4", "ws": "^8.18.0" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.25.2" }, "optionalPeers": ["@modelcontextprotocol/sdk"] }, "sha512-+PDtco2/Z0ONdzCGekCoCT+O1VJS9xJQNN4XzQpXG/t3El/SWWMkCWlFRO1KmivOHPa4Q0VjUYu1HBKCZ/v33Q=="], + + "@hono/node-server": ["@hono/node-server@2.1.1", "", { "peerDependencies": { "hono": "^4" } }, "sha512-ELuehkj5VCBdgEw9zs+ivkKwyzzUCSQuE96YmiPvn1ECBoZCczbFXJLeEGMTYjphP6gydh4pHMqEYPVMYUVgQg=="], - "@opentelemetry/api": ["@opentelemetry/api@1.9.0", "", {}, "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg=="], + "@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.32.1", "", { "dependencies": { "@hono/node-server": "^1.19.9 || ^2.0.5", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw=="], "@protobufjs/aspromise": ["@protobufjs/aspromise@1.1.2", "", {}, "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ=="], @@ -136,25 +156,21 @@ "@silvia-odwyer/photon-node": ["@silvia-odwyer/photon-node@0.3.4", "", {}, "sha512-bnly4BKB3KDTFxrUIcgCLbaeVVS8lrAkri1pEzskpmxu9MdfGQTy8b8EgcD83ywD3RPMsIulY8xJH5Awa+t9fA=="], - "@smithy/core": ["@smithy/core@3.33.2", "", { "dependencies": { "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-CUGXpnPkVdjUCbix+83sWLW9VFgQOm44MDOx/ihITJMAnOZKvL8YYIc7DR9pP/tZ8CIRvMiON/TucvygqbHO3w=="], + "@smithy/core": ["@smithy/core@3.35.2", "", { "dependencies": { "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-ejTukBuP/Pg3t9N8Ux+0zKsXeHWm7p6W3HbXFOyltKasSxZwCFmvTut7kBdZSCF3m9y1bXXyVu6p2xuMFcsTyQ=="], "@smithy/credential-provider-imds": ["@smithy/credential-provider-imds@4.5.2", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg=="], "@smithy/fetch-http-handler": ["@smithy/fetch-http-handler@5.7.2", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-nZyWTmSpJEXl6VtWVMBJve/7x12DZu6sIX1z1a+ZMaHlQQRs9Zpu6NbTe/gmxYXVRpkjxyDYpZ5gx2IM6f/Wkw=="], - "@smithy/is-array-buffer": ["@smithy/is-array-buffer@2.2.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA=="], + "@smithy/node-http-handler": ["@smithy/node-http-handler@4.12.1", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.18.0", "tslib": "^2.6.2" } }, "sha512-ThMkboGeONWXAelq9FvGsuJC4rOi+qyC4/zhUF58xYpxUg5sQKx2VXZYJmtNjr4dSuBJ1HeJXETQILCz3wOHvw=="], - "@smithy/node-http-handler": ["@smithy/node-http-handler@4.7.3", "", { "dependencies": { "@smithy/core": "^3.24.3", "@smithy/types": "^4.14.2", "tslib": "^2.6.2" } }, "sha512-/jPhevcTFPMVl6KNjbaI47iOg1zxC7IsnX4PQDGVZKMFceOXtB8IEYaB7a9VvkP/3oC60WzTeKocvSI7vLT0vA=="], + "@smithy/signature-v4": ["@smithy/signature-v4@5.7.4", "", { "dependencies": { "@smithy/core": "^3.35.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-tHy0K0VtqNd5Y7Y41h0a0Lhh0L1GzC08dTWg0F7vRJWFtTENg7IZikf3wQkanYIRdb7ngoIPMTmqgUi401fEeQ=="], - "@smithy/signature-v4": ["@smithy/signature-v4@5.7.2", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-P7Ki6px6OOrxVtx8K7nLmyx4SlXUW/uTKDdMG44UHefmPGSRMBKe2v+TM59WdLcpUIrBrnuCsIqiM2MbsZjmhw=="], + "@smithy/types": ["@smithy/types@4.19.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-r7jh49VJxGerfAcTQA6gXcKc+98zOp/tqRwzYjgOE+iSQsP6cEU1hq2QzbuipmP68QtYdY9wKEhiCQZIzHgZ4Q=="], - "@smithy/types": ["@smithy/types@4.17.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-FOKpVZob9MPTn2znRzGrnsMHv7BOsKVw3XiP/cOyYLDVZ9qKp4nifIiSCuUU/fIj5Vu0UOAxCFr+qRAtG0NUkA=="], + "@stablelib/base64": ["@stablelib/base64@1.0.1", "", {}, "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ=="], - "@smithy/util-buffer-from": ["@smithy/util-buffer-from@2.2.0", "", { "dependencies": { "@smithy/is-array-buffer": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA=="], - - "@smithy/util-utf8": ["@smithy/util-utf8@2.3.0", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="], - - "@types/node": ["@types/node@26.2.0", "", { "dependencies": { "undici-types": "~8.3.0" } }, "sha512-5IviulTZeRNp2vAJ514cc/HUlY5nZ9fCbq9DMyC52BrhFZACo3nI0R7qBxhQmo/d27NFe96ur/b7Wwxklda+kg=="], + "@types/node": ["@types/node@26.6.5", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg=="], "@types/retry": ["@types/retry@0.12.0", "", {}, "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA=="], @@ -202,7 +218,7 @@ "accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="], - "agent-base": ["agent-base@7.1.4", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="], + "agent-base": ["agent-base@9.0.0", "", {}, "sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA=="], "ajv": ["ajv@8.20.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="], @@ -218,7 +234,7 @@ "bowser": ["bowser@2.14.1", "", {}, "sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg=="], - "brace-expansion": ["brace-expansion@5.0.9", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg=="], + "brace-expansion": ["brace-expansion@5.0.12", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ=="], "buffer-equal-constant-time": ["buffer-equal-constant-time@1.0.1", "", {}, "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA=="], @@ -230,7 +246,7 @@ "call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="], - "chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="], + "chalk": ["chalk@6.0.0", "", {}, "sha512-2uNTXIuTTxk7ciZgAU1BQcgnchcG0xXnrs6jzkQfj9SsRa9M2s5zE8WT96hS6KmG4MzWHSrvH43DF1m4XRkrFg=="], "content-disposition": ["content-disposition@1.1.0", "", {}, "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g=="], @@ -266,6 +282,8 @@ "es-object-atoms": ["es-object-atoms@1.1.2", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw=="], + "esbuild": ["esbuild@0.28.2", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.2", "@esbuild/android-arm": "0.28.2", "@esbuild/android-arm64": "0.28.2", "@esbuild/android-x64": "0.28.2", "@esbuild/darwin-arm64": "0.28.2", "@esbuild/darwin-x64": "0.28.2", "@esbuild/freebsd-arm64": "0.28.2", "@esbuild/freebsd-x64": "0.28.2", "@esbuild/linux-arm": "0.28.2", "@esbuild/linux-arm64": "0.28.2", "@esbuild/linux-ia32": "0.28.2", "@esbuild/linux-loong64": "0.28.2", "@esbuild/linux-mips64el": "0.28.2", "@esbuild/linux-ppc64": "0.28.2", "@esbuild/linux-riscv64": "0.28.2", "@esbuild/linux-s390x": "0.28.2", "@esbuild/linux-x64": "0.28.2", "@esbuild/netbsd-arm64": "0.28.2", "@esbuild/netbsd-x64": "0.28.2", "@esbuild/openbsd-arm64": "0.28.2", "@esbuild/openbsd-x64": "0.28.2", "@esbuild/openharmony-arm64": "0.28.2", "@esbuild/sunos-x64": "0.28.2", "@esbuild/win32-arm64": "0.28.2", "@esbuild/win32-ia32": "0.28.2", "@esbuild/win32-x64": "0.28.2" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA=="], + "escape-html": ["escape-html@1.0.3", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="], "etag": ["etag@1.8.1", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="], @@ -282,6 +300,8 @@ "fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], + "fast-sha256": ["fast-sha256@1.3.0", "", {}, "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ=="], + "fast-uri": ["fast-uri@3.1.5", "", {}, "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw=="], "fetch-blob": ["fetch-blob@3.2.0", "", { "dependencies": { "node-domexception": "^1.0.0", "web-streams-polyfill": "^3.0.3" } }, "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ=="], @@ -306,8 +326,6 @@ "get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="], - "glob": ["glob@13.0.6", "", { "dependencies": { "minimatch": "^10.2.2", "minipass": "^7.1.3", "path-scurry": "^2.0.2" } }, "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw=="], - "google-auth-library": ["google-auth-library@10.9.1", "", { "dependencies": { "base64-js": "^1.3.0", "ecdsa-sig-formatter": "^1.0.11", "gaxios": "^7.1.4", "gcp-metadata": "8.1.2", "google-logging-utils": "1.1.3", "jws": "^4.0.0" } }, "sha512-i1ydyHrqcIxXkWh/uBmVkzCvIuq5yiK2ATndIe5XxKholrG/MTYP9xGYka4sQhrbIAgGjL2B6NOE7rFaiF3fXw=="], "google-logging-utils": ["google-logging-utils@1.1.3", "", {}, "sha512-eAmLkjDjAFCVXg7A1unxHsLf961m6y17QFqXqAXGj/gVkKFrEICfStRfwUlGNfeCEjNRa32JEWOUTlYXPyyKvA=="], @@ -316,7 +334,7 @@ "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="], - "grok-mermaid": ["grok-mermaid@0.2.2", "", {}, "sha512-XcJEP5dDC8liHBh52mlLjU18fNvu1ckFsu0QpIG3+APZ270fsj9wxpiA6cOURmbUEuoMVgjbC2+UYgTdCqqgzA=="], + "grok-mermaid": ["grok-mermaid@0.2.3", "", {}, "sha512-/4KopAbsjvuRP9MdPtlDjOHUmUVEohOX73JNcsWpzAtFxh+bq5+Dhb6gzvRieLDwIPQIR3/vy8V1NNTuz4Zsmg=="], "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="], @@ -330,13 +348,13 @@ "http-errors": ["http-errors@2.0.1", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="], - "http-proxy-agent": ["http-proxy-agent@7.0.2", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="], + "http-proxy-agent": ["http-proxy-agent@9.1.0", "", { "dependencies": { "agent-base": "9.0.0", "debug": "^4.3.4", "proxy-agent-negotiate": "1.1.0" } }, "sha512-2NxoveTT58mjYT4n3RPTEfCZGLMbidoO8XEieXfpSYxu+PQJ1qpx4ypwH6N+uF9twBPIvRRgvkvW5HUTYWENig=="], - "https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="], + "https-proxy-agent": ["https-proxy-agent@9.1.0", "", { "dependencies": { "agent-base": "9.0.0", "debug": "^4.3.4", "proxy-agent-negotiate": "1.1.0" } }, "sha512-ag87y7cJJ9/3+GxFr8Oy4O5faDsGRGnBGsJj/YjOSsSx/5eadKLYTMPlzuR6obgoCDDm0abAAZitXXQkMOPSpA=="], "iconv-lite": ["iconv-lite@0.7.3", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ=="], - "ignore": ["ignore@7.0.5", "", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="], + "ignore": ["ignore@7.0.8", "", {}, "sha512-YYNsSlXBjMk92SKnkwvB5LOVSa6OznlFUGcsvrFgNJbJCd0M1XKeFVRc8ZByeCqz32FivYNHJVooLmdqrmvp/Q=="], "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="], @@ -368,7 +386,7 @@ "lru-cache": ["lru-cache@11.5.2", "", {}, "sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g=="], - "marked": ["marked@18.0.5", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-S6GcvALHg6K4ohtu4E7x0a1AqhAjp6cV8KhLSyN9qVapnzJkusVBxZRcIU9AeYsbe6P1hKDusSbEOzGyyuce6w=="], + "marked": ["marked@18.0.11", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-HnslJfsZkRPBDJRHvVtAaWlZHEpSu7u8LgQuJCELjRKuWR+hpq4A7sLq3p8HaI9ypVoXDXxV34CsQJEe1+J5Aw=="], "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="], @@ -380,9 +398,7 @@ "mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="], - "minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], - - "minipass": ["minipass@7.1.3", "", {}, "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A=="], + "minimatch": ["minimatch@10.2.6", "", { "dependencies": { "brace-expansion": "^5.0.8" } }, "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A=="], "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], @@ -400,7 +416,7 @@ "once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="], - "openai": ["openai@6.40.0", "", { "peerDependencies": { "ws": "^8.18.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["ws", "zod"] }, "sha512-MWtTjd/gQt4jpbji61NTgFWJLoY/PdRJ6wG9/ZDRMYNMlBKrCrSlkLI+KgHP1vR1qT6LKSAyAqIxno6lcK9JiA=="], + "openai": ["openai@7.19.0", "", { "peerDependencies": { "@aws-sdk/credential-provider-node": ">=3.972.0 <4", "@smithy/hash-node": ">=4.3.0 <5", "@smithy/signature-v4": ">=5.4.0 <6", "undici": ">=5 <9", "ws": "^8.21.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["@aws-sdk/credential-provider-node", "@smithy/hash-node", "@smithy/signature-v4", "undici", "ws", "zod"] }, "sha512-MX2s3u2L5racTO0CC/SWpCOasJQBCJrqLKXK+l82cAhdeF8mPMBEe/gxMm0ZFa2xpKpOFLRjxv5afYEZbBXmbQ=="], "p-retry": ["p-retry@4.6.2", "", { "dependencies": { "@types/retry": "0.12.0", "retry": "^0.13.1" } }, "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ=="], @@ -410,8 +426,6 @@ "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], - "path-scurry": ["path-scurry@2.0.2", "", { "dependencies": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" } }, "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg=="], - "path-to-regexp": ["path-to-regexp@8.4.2", "", {}, "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA=="], "pkce-challenge": ["pkce-challenge@5.0.1", "", {}, "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ=="], @@ -422,8 +436,12 @@ "proxy-addr": ["proxy-addr@2.0.7", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="], + "proxy-agent-negotiate": ["proxy-agent-negotiate@1.1.0", "", { "peerDependencies": { "kerberos": "^2.0.0" }, "optionalPeers": ["kerberos"] }, "sha512-N8IBcM3UgCVzz2L2Lqv8DVntDnnC8/hiV4nEDUPkqq72TPUgYWjQc+bdZlBPZK9LzPAvOY//gAt0S0DApoOXWQ=="], + "qs": ["qs@6.15.3", "", { "dependencies": { "es-define-property": "^1.0.1", "side-channel": "^1.1.1" } }, "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A=="], + "quickjs-wasi": ["quickjs-wasi@3.6.2", "", {}, "sha512-FCqGtGOrMgzUiIrMNMA2YnsOxCNwo31dzqXvclXUC6xeT35NJLKXQJsvbeCTjvoFAwZgEAPg8U6+KAPDGXn8Mg=="], + "range-parser": ["range-parser@1.3.0", "", {}, "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw=="], "raw-body": ["raw-body@3.0.2", "", { "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", "iconv-lite": "~0.7.0", "unpipe": "~1.0.0" } }, "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA=="], @@ -438,7 +456,7 @@ "safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="], - "semver": ["semver@7.8.0", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA=="], + "semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="], "send": ["send@1.2.1", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="], @@ -450,7 +468,7 @@ "shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="], - "shell-quote": ["shell-quote@1.10.0", "", {}, "sha512-w1aiOKwKuRgtwAReIIj89puqg+I7GvX4IbLrvmhXbzQsj1+Zwi4VO3+fa6ZF91TWSjIxoEkKnMeHcLEODK5ZXA=="], + "shell-quote": ["shell-quote@1.12.0", "", {}, "sha512-PcByqNyT/38F2kDNi006HAMRJaULuBzq/FOsw3qdZvX/GA9W/jamDaRskgHjubHiftXK5sIFxLNkvrXUwcof6Q=="], "side-channel": ["side-channel@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4", "side-channel-list": "^1.0.1", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ=="], @@ -462,6 +480,8 @@ "signal-exit": ["signal-exit@3.0.7", "", {}, "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="], + "standardwebhooks": ["standardwebhooks@1.1.1", "", { "dependencies": { "@stablelib/base64": "^1.0.0", "fast-sha256": "^1.3.0" } }, "sha512-bCbX9ZEyFkWPsRz7Bl3NuQUJohmwGSev/yhr7vhaGPlc4AfIrspIRa6cPTBuI1ItmrTDJ4d/S2hCsfe4+vQGnQ=="], + "statuses": ["statuses@2.0.2", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="], "toidentifier": ["toidentifier@1.0.1", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="], @@ -472,13 +492,13 @@ "type-is": ["type-is@2.1.0", "", { "dependencies": { "content-type": "^2.0.0", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA=="], - "typebox": ["typebox@1.3.15", "", {}, "sha512-gOKAjLqUr+bFGbO5vxCEO5+nHh2wO+swzSIkiJJC0kJ4oLN6f65SrZn6tJYhsYO+qdnpf2NmlQwgsayYoi1NkQ=="], + "typebox": ["typebox@1.3.36", "", {}, "sha512-bu2Ec2Ti9B4IFSFj1FcZbtLNB/W7igQwxocMGJLAG2NTv1nI+ImtIA34YgHW4CVyGVlJqNXR1GJyLmdWgV3DuA=="], "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="], - "undici": ["undici@8.9.0", "", {}, "sha512-aWZpUj7XoGonMClx4gdDRfgBjqeA+F473aDmROQQbM9n6PRfK/u1q/a0X4wMTgcHfT8H6fpbt98PFuDUwFg2YA=="], + "undici": ["undici@8.10.2", "", {}, "sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ=="], - "undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="], + "undici-types": ["undici-types@8.9.0", "", {}, "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg=="], "unpipe": ["unpipe@1.0.0", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="], @@ -494,30 +514,42 @@ "yaml": ["yaml@2.9.0", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA=="], - "zod": ["zod@4.4.3", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="], + "zod": ["zod@4.6.6", "", {}, "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA=="], "zod-to-json-schema": ["zod-to-json-schema@3.25.2", "", { "peerDependencies": { "zod": "^3.25.28 || ^4" } }, "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA=="], - "@aws-sdk/credential-provider-http/@smithy/node-http-handler": ["@smithy/node-http-handler@4.11.2", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-avwAh9HM3h2lcfjvP3zYIZGf+XVgLQ91wOJ2qoFbNpW1UZeZb33aGlhTZvtkANHfcGhJroRY64525OjfgOg30g=="], + "@aws-sdk/credential-provider-http/@smithy/fetch-http-handler": ["@smithy/fetch-http-handler@5.8.0", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.18.0", "tslib": "^2.6.2" } }, "sha512-ycSJu3tFAQ4v04CBB0agqFMVsSQ1iG3yw+SpgxRqKfaURpQD4CZ8Wn0zPMmSnOuTpTh65Vz+EA0rMrw089wvkA=="], + + "@aws-sdk/credential-provider-sso/@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1149.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.2", "@aws-sdk/nested-clients": "^3.997.47", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-CAwYyA8eVk1w6h8YgLvkjIOakWPwURaUFrP7BRVgkxTFUM+O87thyKsGKJ6rVPbP8eoEV10cBWQ5YfaYl3qSVQ=="], + + "@aws-sdk/middleware-websocket/@smithy/fetch-http-handler": ["@smithy/fetch-http-handler@5.8.0", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.18.0", "tslib": "^2.6.2" } }, "sha512-ycSJu3tFAQ4v04CBB0agqFMVsSQ1iG3yw+SpgxRqKfaURpQD4CZ8Wn0zPMmSnOuTpTh65Vz+EA0rMrw089wvkA=="], - "@aws-sdk/credential-provider-sso/@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1111.0", "", { "dependencies": { "@aws-sdk/core": "^3.977.8", "@aws-sdk/nested-clients": "^3.997.43", "@aws-sdk/types": "^3.974.4", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-JfljgoVtl+s3Qy21n9a7Z48uCQaOXcN74KJ3TEQfPoB293GrXFSt6HSQJF1sTZ8c/5QedEvd3NjJQMO4u9qa5A=="], + "@aws-sdk/nested-clients/@smithy/fetch-http-handler": ["@smithy/fetch-http-handler@5.8.0", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.18.0", "tslib": "^2.6.2" } }, "sha512-ycSJu3tFAQ4v04CBB0agqFMVsSQ1iG3yw+SpgxRqKfaURpQD4CZ8Wn0zPMmSnOuTpTh65Vz+EA0rMrw089wvkA=="], - "@aws-sdk/nested-clients/@smithy/node-http-handler": ["@smithy/node-http-handler@4.11.2", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-avwAh9HM3h2lcfjvP3zYIZGf+XVgLQ91wOJ2qoFbNpW1UZeZb33aGlhTZvtkANHfcGhJroRY64525OjfgOg30g=="], + "@earendil-works/pi-agent-core/typebox": ["typebox@1.3.27", "", {}, "sha512-zu+jc1pcy4UiNThxikUr36f0Rybk9PEeCg/NE6adeWr/SKsdNO4EzZHYRDlv2YCVAfj3Odq3dESSo/jNyoBXzA=="], - "@earendil-works/pi-agent-core/typebox": ["typebox@1.3.7", "", {}, "sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg=="], + "@earendil-works/pi-ai/typebox": ["typebox@1.3.27", "", {}, "sha512-zu+jc1pcy4UiNThxikUr36f0Rybk9PEeCg/NE6adeWr/SKsdNO4EzZHYRDlv2YCVAfj3Odq3dESSo/jNyoBXzA=="], - "@earendil-works/pi-ai/typebox": ["typebox@1.3.7", "", {}, "sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg=="], + "@earendil-works/pi-coding-agent/typebox": ["typebox@1.3.27", "", {}, "sha512-zu+jc1pcy4UiNThxikUr36f0Rybk9PEeCg/NE6adeWr/SKsdNO4EzZHYRDlv2YCVAfj3Odq3dESSo/jNyoBXzA=="], - "@earendil-works/pi-coding-agent/typebox": ["typebox@1.3.7", "", {}, "sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg=="], + "@smithy/credential-provider-imds/@smithy/core": ["@smithy/core@3.33.2", "", { "dependencies": { "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-CUGXpnPkVdjUCbix+83sWLW9VFgQOm44MDOx/ihITJMAnOZKvL8YYIc7DR9pP/tZ8CIRvMiON/TucvygqbHO3w=="], - "@earendil-works/pi-protocol/typebox": ["typebox@1.3.7", "", {}, "sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg=="], + "@smithy/credential-provider-imds/@smithy/types": ["@smithy/types@4.17.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-FOKpVZob9MPTn2znRzGrnsMHv7BOsKVw3XiP/cOyYLDVZ9qKp4nifIiSCuUU/fIj5Vu0UOAxCFr+qRAtG0NUkA=="], + + "@smithy/fetch-http-handler/@smithy/core": ["@smithy/core@3.33.2", "", { "dependencies": { "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-CUGXpnPkVdjUCbix+83sWLW9VFgQOm44MDOx/ihITJMAnOZKvL8YYIc7DR9pP/tZ8CIRvMiON/TucvygqbHO3w=="], + + "@smithy/fetch-http-handler/@smithy/types": ["@smithy/types@4.17.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-FOKpVZob9MPTn2znRzGrnsMHv7BOsKVw3XiP/cOyYLDVZ9qKp4nifIiSCuUU/fIj5Vu0UOAxCFr+qRAtG0NUkA=="], "body-parser/content-type": ["content-type@2.1.0", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="], + "gaxios/https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="], + "negotiator/content-type": ["content-type@2.1.0", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="], "p-retry/retry": ["retry@0.13.1", "", {}, "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg=="], "type-is/content-type": ["content-type@2.1.0", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="], + + "gaxios/https-proxy-agent/agent-base": ["agent-base@7.1.4", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="], } } diff --git a/package.json b/package.json index c2675d6..31a7662 100644 --- a/package.json +++ b/package.json @@ -18,14 +18,14 @@ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.tests.json" }, "dependencies": { - "@earendil-works/pi-coding-agent": "0.84.2", - "@modelcontextprotocol/sdk": "1.30.0", - "shell-quote": "^1.10.0", - "typebox": "1.3.15", - "zod": "^4.4.3" + "@earendil-works/pi-coding-agent": "1.1.0", + "@modelcontextprotocol/sdk": "1.32.1", + "shell-quote": "^1.12.0", + "typebox": "1.3.36", + "zod": "^4.6.6" }, "devDependencies": { - "@types/node": "26.2.0", + "@types/node": "26.6.5", "@types/shell-quote": "^1.7.5", "bun-types": "1.4.2", "typescript": "7.0.2" diff --git a/ui/Cargo.lock b/ui/Cargo.lock index 331a9e7..aaf94bc 100644 --- a/ui/Cargo.lock +++ b/ui/Cargo.lock @@ -60,7 +60,7 @@ dependencies = [ "accesskit", "accesskit_consumer", "hashbrown 0.16.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-foundation 0.2.2", "objc2-ui-kit 0.2.2", ] @@ -74,7 +74,7 @@ dependencies = [ "accesskit", "accesskit_consumer", "hashbrown 0.16.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-app-kit 0.2.2", "objc2-foundation 0.2.2", ] @@ -154,24 +154,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "aligned" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee4508988c62edf04abd8d92897fca0c2995d907ce1dfeaf369dac3716a40685" -dependencies = [ - "as-slice", -] - -[[package]] -name = "aligned-vec" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b" -dependencies = [ - "equator", -] - [[package]] name = "allocator-api2" version = "0.2.21" @@ -185,7 +167,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f2a1bb052857d5dd49572219344a7332b31b76405648eabac5bc68978251bcd" dependencies = [ "android-properties", - "bitflags 2.13.1", + "bitflags 2.13.2", "cc", "jni", "libc", @@ -194,7 +176,7 @@ dependencies = [ "ndk-context", "ndk-sys", "num_enum", - "thiserror 2.0.20", + "thiserror 2.0.21", ] [[package]] @@ -230,26 +212,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" [[package]] -name = "anyhow" -version = "1.0.104" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" - -[[package]] -name = "arbitrary" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" - -[[package]] -name = "arg_enum_proc_macro" -version = "0.3.4" +name = "arboard" +version = "3.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea" +checksum = "0348a1c054491f4bfe6ab86a7b6ab1e44e45d899005de92f58b3df180b36ddaf" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", + "clipboard-win", + "log", + "objc2 0.6.5", + "objc2-app-kit 0.3.2", + "objc2-foundation 0.3.2", + "parking_lot", + "percent-encoding", + "windows-sys 0.60.2", + "wl-clipboard-rs", + "x11rb", ] [[package]] @@ -271,12 +248,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" [[package]] -name = "as-slice" -version = "0.2.1" +name = "ash" +version = "0.38.0+1.3.281" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "516b6b4f0e40d50dcda9365d53964ec74560ad4284da2e7fc97122cd83174516" +checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" dependencies = [ - "stable_deref_trait", + "libloading", ] [[package]] @@ -330,7 +307,7 @@ dependencies = [ "futures-lite", "parking", "polling", - "rustix 1.1.4", + "rustix 1.1.5", "slab", "windows-sys 0.61.2", ] @@ -361,18 +338,18 @@ dependencies = [ "cfg-if", "event-listener", "futures-lite", - "rustix 1.1.4", + "rustix 1.1.5", ] [[package]] name = "async-recursion" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" +checksum = "4f8abc12baad266b1c8cec146854c195b5864b4221d4b2ca7296a7ae82d9e451" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.8", ] [[package]] @@ -387,7 +364,7 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 1.1.4", + "rustix 1.1.5", "signal-hook-registry", "slab", "windows-sys 0.61.2", @@ -407,7 +384,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] [[package]] @@ -453,72 +430,17 @@ dependencies = [ "zbus", ] -[[package]] -name = "auto_enums" -version = "0.8.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3091d68264354f211516b91dce6f71046e444fab1867716035f736667243affb" -dependencies = [ - "derive_utils", - "proc-macro2", - "quote", - "syn 3.0.3", -] - [[package]] name = "autocfg" version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" -[[package]] -name = "av-scenechange" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f321d77c20e19b92c39e7471cf986812cbb46659d2af674adc4331ef3f18394" -dependencies = [ - "aligned", - "anyhow", - "arg_enum_proc_macro", - "arrayvec", - "log", - "num-rational", - "num-traits", - "pastey 0.1.1", - "rayon", - "thiserror 2.0.20", - "v_frame", - "y4m", -] - -[[package]] -name = "av1-grain" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cfddb07216410377231960af4fcab838eaa12e013417781b78bd95ee22077f8" -dependencies = [ - "anyhow", - "arrayvec", - "log", - "nom 8.0.0", - "num-rational", - "v_frame", -] - -[[package]] -name = "avif-serialize" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7178fe5f7d460b13895ebb9dcb28a3a6216d2df2574a0806cb51b555d297f38" -dependencies = [ - "arrayvec", -] - [[package]] name = "base64" -version = "0.22.1" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" [[package]] name = "bincode" @@ -536,7 +458,7 @@ version = "0.72.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "cexpr", "clang-sys", "itertools 0.13.0", @@ -551,10 +473,19 @@ dependencies = [ ] [[package]] -name = "bit_field" -version = "0.10.3" +name = "bit-set" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2f926cc3060f09db9ebc5b52823d85268d24bb917e472c0c4bea35780a7d" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6" +checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51" [[package]] name = "bitflags" @@ -564,29 +495,20 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.13.1" +version = "2.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" dependencies = [ "serde_core", ] -[[package]] -name = "bitstream-io" -version = "4.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eff00be299a18769011411c9def0d827e8f2d7bf0c3dbf53633147a8867fd1f" -dependencies = [ - "no_std_io2", -] - [[package]] name = "block2" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" dependencies = [ - "objc2 0.5.2", + "objc2 0.5.3", ] [[package]] @@ -595,7 +517,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" dependencies = [ - "objc2 0.6.4", + "objc2 0.6.5", ] [[package]] @@ -613,20 +535,14 @@ dependencies = [ [[package]] name = "borsh" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88b7ea17d208c4193f2c1e6de3c35fe71f98c96982d5ced308bdcc749ff6e1f" +checksum = "553c5d846a6ba5150c65e3b1b8ec073bcf1abc20f9b7220de384a4443ea4e20a" dependencies = [ "bytes", "cfg_aliases", ] -[[package]] -name = "built" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c0e531d93d39c34eef561e929e8a7f86d77a5af08aac4f6d6e39976c51858e9" - [[package]] name = "bumpalo" version = "3.20.3" @@ -650,13 +566,13 @@ dependencies = [ [[package]] name = "bytemuck_derive" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0e56a716f1e132ff6bf4bdac1c944a3fcdc1cae65f70a4a2a1ac3b401d2d1f" +checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] [[package]] @@ -677,7 +593,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "log", "polling", "rustix 0.38.44", @@ -687,14 +603,13 @@ dependencies = [ [[package]] name = "calloop" -version = "0.14.4" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dbf9978365bac10f54d1d4b04f7ce4427e51f71d61f2fe15e3fed5166474df7" +checksum = "43b32313e937c8721c9d17ee9bf60699a6402b4b7c2cb6ac1bee0ffcaa4b4e5e" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "polling", - "rustix 1.1.4", - "slab", + "rustix 1.1.5", "tracing", ] @@ -710,23 +625,11 @@ dependencies = [ "wayland-client", ] -[[package]] -name = "calloop-wayland-source" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa" -dependencies = [ - "calloop 0.14.4", - "rustix 1.1.4", - "wayland-backend", - "wayland-client", -] - [[package]] name = "cc" -version = "1.4.4" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad534f4357a5264cce5019c989cf66a4f0dc4e0d1b1d15f8aacec0ff7360273" +checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838" dependencies = [ "find-msvc-tools", "jobserver", @@ -745,9 +648,9 @@ dependencies = [ [[package]] name = "cfg-if" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" [[package]] name = "cfg_aliases" @@ -806,6 +709,15 @@ dependencies = [ "hashbrown 0.16.1", ] +[[package]] +name = "codespan-reporting" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" +dependencies = [ + "unicode-width", +] + [[package]] name = "color_quant" version = "1.1.0" @@ -814,9 +726,9 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" [[package]] name = "combine" -version = "4.6.7" +version = "4.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" dependencies = [ "bytes", "memchr", @@ -849,7 +761,7 @@ checksum = "93d5848843a221ac268cfdd6bfd14e68d5d3dfa79d52c880aafab93f9517fb74" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] [[package]] @@ -861,20 +773,6 @@ dependencies = [ "unicode-segmentation", ] -[[package]] -name = "copypasta" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e6811e17f81fe246ef2bc553f76b6ee6ab41a694845df1d37e52a92b7bbd38a" -dependencies = [ - "clipboard-win", - "objc2 0.5.2", - "objc2-app-kit 0.2.2", - "objc2-foundation 0.2.2", - "smithay-clipboard", - "x11-clipboard", -] - [[package]] name = "core-foundation" version = "0.9.4" @@ -915,15 +813,6 @@ dependencies = [ "libc", ] -[[package]] -name = "core_maths" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77745e017f5edba1a9c1d854f6f3a52dac8a12dd5af5d2f54aecf61e43d80d30" -dependencies = [ - "libm", -] - [[package]] name = "countme" version = "3.0.1" @@ -932,9 +821,9 @@ checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636" [[package]] name = "crc32fast" -version = "1.5.1" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8498c871161e1742aaa9d52551b2d6ebdd4c3d45a3be423e3728f33b955be550" +checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78" dependencies = [ "cfg-if", ] @@ -947,18 +836,18 @@ checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" [[package]] name = "crossbeam-channel" -version = "0.5.16" +version = "0.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e" +checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-deque" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb" +checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a" dependencies = [ "crossbeam-epoch", "crossbeam-utils", @@ -966,18 +855,18 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.20" +version = "0.9.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f" +checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.22" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" [[package]] name = "crunchy" @@ -1029,17 +918,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "derive_utils" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc05a5d33db20c784f873e84934ad94bb209a090987ac5f62fede2c178234f23" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.3", -] - [[package]] name = "dispatch" version = "0.2.0" @@ -1052,8 +930,8 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" dependencies = [ - "bitflags 2.13.1", - "objc2 0.6.4", + "bitflags 2.13.2", + "objc2 0.6.5", ] [[package]] @@ -1064,7 +942,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] [[package]] @@ -1076,6 +954,15 @@ dependencies = [ "libloading", ] +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + [[package]] name = "downcast-rs" version = "1.2.1" @@ -1094,7 +981,7 @@ version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80bc8c5c6c2941f70a55c15f8d9f00f9710ebda3ffda98075f996a0e6c92756f" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "bytemuck", "drm-ffi", "drm-fourcc", @@ -1109,7 +996,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51a91c9b32ac4e8105dec255e849e0d66e27d7c34d184364fb93e469db08f690" dependencies = [ "drm-sys", - "rustix 1.1.4", + "rustix 1.1.5", ] [[package]] @@ -1136,9 +1023,9 @@ checksum = "edf234dd1594d6dd434a8fb8cada51ddbbc593e40e4a01556a0b31c62da2775b" [[package]] name = "either" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" [[package]] name = "endi" @@ -1167,26 +1054,6 @@ dependencies = [ "syn 2.0.119", ] -[[package]] -name = "equator" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4711b213838dfee0117e3be6ac926007d7f433d7bbe33595975d4190cb07e6fc" -dependencies = [ - "equator-macro", -] - -[[package]] -name = "equator-macro" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44f23cf4b44bfce11a86ace86f8a73ffdec849c9fd00a386a53d278bd9e81fb3" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "equivalent" version = "1.0.2" @@ -1238,35 +1105,12 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "exr" -version = "1.74.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711fe42c9964295e01ee3fba3f9fe0e1d24b98886950d68efe81b1c76e21adf3" -dependencies = [ - "bit_field", - "half", - "lebe", - "miniz_oxide", - "num-complex", - "pulp", - "rayon-core", - "smallvec", - "zune-inflate", -] - [[package]] name = "fastrand" version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" -[[package]] -name = "fax" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf1079563223d5d59d83c85886a56e586cfd5c1a26292e971a0fa266531ac5a" - [[package]] name = "fdeflate" version = "0.3.7" @@ -1278,16 +1122,16 @@ dependencies = [ [[package]] name = "femtovg" -version = "0.25.1" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43d05da42e81724c16d34a150fb7fda53d3f786e5a94673ee526ff8602f0f6a" +checksum = "31eebf3ab1b76359ccd5f850c07a7c6b2722c64d9127c40e02358e83f3ff9b1a" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "bytemuck", "fnv", "glow", "imgref", - "itertools 0.14.0", + "itertools 0.15.0", "log", "rgb", "slotmap", @@ -1318,9 +1162,9 @@ dependencies = [ [[package]] name = "find-msvc-tools" -version = "0.1.11" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" [[package]] name = "fixed_decimal" @@ -1333,14 +1177,21 @@ dependencies = [ "writeable", ] +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + [[package]] name = "flate2" -version = "1.1.9" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" +checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb" dependencies = [ "crc32fast", - "miniz_oxide", + "miniz_oxide 0.9.1", + "zlib-rs", ] [[package]] @@ -1357,55 +1208,51 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "foldhash" -version = "0.2.0" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] -name = "font-types" -version = "0.11.3" +name = "foldhash" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b38ad915f6dadd993ced50848a8291a543bd41ca62bc10740d5e64e2ab4cfd7" -dependencies = [ - "bytemuck", -] +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "font-types" -version = "0.12.4" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64eb721ca85a34323425f4041adc5d82704d3782d5f8f03793bc012419dce23" +checksum = "6c92d9081c7ab3bd83ef1eecdfad090f3d966e3ce74106779664114cfe1a6274" dependencies = [ "bytemuck", ] [[package]] name = "fontdb" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "457e789b3d1202543297a350643cf459f836cade38934e7a4cf6a39e7cde2905" +checksum = "2660c5e9157bf76d2db1294e4a9feba604ef610819a3b591088d0d8392a3290f" dependencies = [ "log", "slotmap", "tinyvec", - "ttf-parser", ] [[package]] name = "fontique" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "274fa4f0f0a926ae182c7c076c078cce8a38471d15e61a102a02cac984be9813" +checksum = "6688bc1294fe7117d788937b6c53480169b29c566954af490830d4c09da9516a" dependencies = [ "hashbrown 0.17.1", "linebender_resource_handle", "memmap2", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-core-foundation", "objc2-core-text", "objc2-foundation 0.3.2", "parlance", - "read-fonts 0.39.2", + "read-fonts", "roxmltree", "smallvec", "windows", @@ -1431,7 +1278,7 @@ checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] [[package]] @@ -1518,7 +1365,7 @@ checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] [[package]] @@ -1556,7 +1403,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce852e998d3ca5e4a97014fb31c940dc5ef344ec7d364984525fd11e8a547e6a" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "drm", "drm-fourcc", "gbm-sys", @@ -1578,19 +1425,10 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8" dependencies = [ - "rustix 1.1.4", + "rustix 1.1.5", "windows-link", ] -[[package]] -name = "getopts" -version = "0.2.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df" -dependencies = [ - "unicode-width", -] - [[package]] name = "getrandom" version = "0.3.4" @@ -1643,9 +1481,9 @@ checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" [[package]] name = "glow" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29038e1c483364cc6bb3cf78feee1816002e127c331a1eec55a4d202b9e1adb5" +checksum = "263218b0ba2b0715c3370fb04674f5f8aa331594b521c94ff0a8e4a8472d1386" dependencies = [ "js-sys", "slotmap", @@ -1659,7 +1497,7 @@ version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12124de845cacfebedff80e877bb37b5b75c34c5a4c89e47e1cdd67fb6041325" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "cfg_aliases", "cgl", "dispatch2", @@ -1667,7 +1505,7 @@ dependencies = [ "glutin_glx_sys", "glutin_wgl_sys", "libloading", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-app-kit 0.3.2", "objc2-core-foundation", "objc2-foundation 0.3.2", @@ -1719,6 +1557,20 @@ dependencies = [ "gl_generator", ] +[[package]] +name = "gpu-allocator" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51255ea7cfaadb6c5f1528d43e92a82acb2b96c43365989a28b2d44ee38f8795" +dependencies = [ + "ash", + "hashbrown 0.16.1", + "log", + "presser", + "thiserror 2.0.21", + "windows", +] + [[package]] name = "grid" version = "1.0.1" @@ -1733,18 +1585,19 @@ checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" dependencies = [ "cfg-if", "crunchy", + "num-traits", "zerocopy", ] [[package]] name = "harfrust" -version = "0.8.4" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d12c7c642d4ce8c2e784b4751a6634bd89583912265add4a679a8882d123fbcd" +checksum = "c03d949a14aa089bbb282f7dd76a498a7f684428e4257202efc119ec010376f9" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "bytemuck", - "read-fonts 0.39.2", + "read-fonts", "smallvec", ] @@ -1754,6 +1607,15 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash 0.1.5", +] + [[package]] name = "hashbrown" version = "0.16.1" @@ -1762,7 +1624,7 @@ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" dependencies = [ "allocator-api2", "equivalent", - "foldhash", + "foldhash 0.2.0", ] [[package]] @@ -1771,7 +1633,7 @@ version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" dependencies = [ - "foldhash", + "foldhash 0.2.0", ] [[package]] @@ -1788,9 +1650,9 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hermit-abi" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" +checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284" [[package]] name = "hex" @@ -1806,11 +1668,11 @@ checksum = "48ce8546b993eaf241d69ded33b1be6d205dd9857ec879d9d18bd05d3676e144" [[package]] name = "i-slint-backend-linuxkms" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68e76f2b13846ca54bba6b8eb3b5454b26879ad987396d0a2d8abedc31a6c469" +checksum = "0f519a8611a4982921e46e391015e5e40ceac5cc63813333ef91ada77df180d8" dependencies = [ - "calloop 0.14.4", + "calloop 0.14.5", "cfg_aliases", "drm", "gbm", @@ -1819,6 +1681,7 @@ dependencies = [ "i-slint-core", "i-slint-renderer-femtovg", "input", + "libseat", "nix", "raw-window-handle", "xkbcommon", @@ -1826,9 +1689,9 @@ dependencies = [ [[package]] name = "i-slint-backend-selector" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2247a4590a02a466b2f4916cc789dfe66247f6af826f00eb84a2685259a45c1c" +checksum = "fb974705d61ba56034f6129ff61f3e6282a2c0c07752f25e6cb417d81c0f0958" dependencies = [ "cfg-if", "cfg_aliases", @@ -1842,9 +1705,9 @@ dependencies = [ [[package]] name = "i-slint-backend-testing" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521e901e3d47ab829c0ef500c63155776208707cd93259e6a7803ed627fa2786" +checksum = "01943d6c5ea5bc913d497bdaa423c309e7627afff47a6794bfd13be5c564209f" dependencies = [ "cfg_aliases", "i-slint-common", @@ -1854,17 +1717,16 @@ dependencies = [ [[package]] name = "i-slint-backend-winit" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27c7e8f53418d3017362465367b6612b6e439a68097d627d1b91c94b885f0a6" +checksum = "dae4fcf1b19e9cb109984d2af87d2b9485388c619265bff71dd523133888bee2" dependencies = [ "accesskit", "accesskit_winit", + "arboard", "block2 0.6.2", "cfg-if", "cfg_aliases", - "copypasta", - "derive_more", "futures", "glutin", "glutin-winit", @@ -1875,7 +1737,7 @@ dependencies = [ "i-slint-renderer-skia", "lyon_path", "muda", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-app-kit 0.3.2", "objc2-foundation 0.3.2", "objc2-quartz-core 0.3.2", @@ -1897,9 +1759,9 @@ dependencies = [ [[package]] name = "i-slint-common" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e63f8ea55ba21e44567ae67d2b01a4f5d09bb1fab693b1e6c79d96bef9e456" +checksum = "68a578f3e4b681b2b9cbd326d3be19716e2fac51d00a8a5b00c0ef4ae923b5e6" dependencies = [ "derive_more", "fontique", @@ -1909,14 +1771,14 @@ dependencies = [ "icu_provider", "pulldown-cmark", "resvg", - "skrifa 0.42.1", + "skrifa", ] [[package]] name = "i-slint-compiler" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45ea275b15a425c7f2f77481151e1f5f8f1ea83feae580273090ef6b9e192218" +checksum = "f55d48ebef05e2bf09ba5a1fc67bcb11033b9e12a2a50ed3105c7d25e2b539d0" dependencies = [ "annotate-snippets", "by_address", @@ -1924,9 +1786,10 @@ dependencies = [ "derive_more", "i-slint-common", "icu_normalizer", + "icu_properties", "image", - "itertools 0.14.0", - "linked_hash_set", + "indexmap", + "itertools 0.15.0", "lyon_extra", "lyon_path", "num_enum", @@ -1936,7 +1799,7 @@ dependencies = [ "resvg", "rowan", "rspolib", - "skrifa 0.42.1", + "skrifa", "smol_str 0.3.6", "strum", "swash", @@ -1947,13 +1810,13 @@ dependencies = [ [[package]] name = "i-slint-core" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e407dc2bd5385dcbdd9c1cf927213d2e4bacda667545abf8839c60f8290f754" +checksum = "ed2ea15059d70bc31b1a8b1eb4c34f2c5df04cb7e53f36179b43c0261231d646" dependencies = [ + "accesskit", "async-channel", - "auto_enums", - "bitflags 2.13.1", + "bitflags 2.13.2", "cfg-if", "chrono", "clru", @@ -1964,13 +1827,14 @@ dependencies = [ "i-slint-core-macros", "icu_normalizer", "image", + "js-sys", "ksni", "lyon_algorithms", "lyon_extra", "lyon_geom", "lyon_path", "num-traits", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-app-kit 0.3.2", "objc2-foundation 0.3.2", "once_cell", @@ -1982,7 +1846,7 @@ dependencies = [ "resvg", "rgb", "scopeguard", - "skrifa 0.42.1", + "skrifa", "slab", "strum", "swash", @@ -1995,29 +1859,29 @@ dependencies = [ "wasm-bindgen", "web-sys", "web-time", + "wgpu", "windows", ] [[package]] name = "i-slint-core-macros" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a842640da4c4d0909d25cc5a51e1f9cde02bd48f7fdfa94df10d595d4e3c80a" +checksum = "73f5a8a076de52f53be80caa826599ed2107b54c9d4a421e66dc06cf893a984c" dependencies = [ "quote", "serde_json", - "syn 2.0.119", + "syn 3.0.8", ] [[package]] name = "i-slint-renderer-femtovg" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78d0d99a18d66738b684758fe8460743a0aa0f64a96e05940942231a340085b1" +checksum = "eb0de504d57cdadf80c2abf7bcb8b7135a3716aee1f41b6ebb90ea93e3649d7c" dependencies = [ "cfg-if", "const-field-offset", - "derive_more", "femtovg", "glow", "i-slint-common", @@ -2033,23 +1897,22 @@ dependencies = [ [[package]] name = "i-slint-renderer-skia" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b6eed7f3f0a9a3d3ca6e8b9d4ca233371d989351fdb2a7ab88ec368b99e7b57" +checksum = "dc9c1cf02385f1d26fc1f423544e52390a8e5c2d89420a8042aa94b4fe109d1f" dependencies = [ "bytemuck", "cfg-if", "cfg_aliases", "clru", "const-field-offset", - "derive_more", "glow", "glutin", "i-slint-common", "i-slint-core", "i-slint-core-macros", "lyon_path", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-app-kit 0.3.2", "objc2-core-foundation", "objc2-foundation 0.3.2", @@ -2057,22 +1920,25 @@ dependencies = [ "objc2-quartz-core 0.3.2", "pin-weak", "raw-window-handle", - "raw-window-metal", - "read-fonts 0.39.2", + "read-fonts", "scoped-tls-hkt", "skia-safe", "softbuffer", + "spin_on", "unicode-segmentation", "vtable", + "wgpu", + "wgpu-hal", "windows", + "windows-core", "write-fonts", ] [[package]] name = "i-slint-renderer-software" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73496f164f8e471877c35e0fadb996dcc674922712abd9c2be2cbe80c58859bd" +checksum = "2f8c641e138a2cc96537cac4481f5c7c8bb8dcc66d09acaed269329c8738628a" dependencies = [ "bytemuck", "clru", @@ -2080,10 +1946,9 @@ dependencies = [ "euclid", "i-slint-common", "i-slint-core", - "integer-sqrt", "lyon_path", "num-traits", - "skrifa 0.42.1", + "skrifa", "swash", "zeno", ] @@ -2311,18 +2176,9 @@ checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104" dependencies = [ "bytemuck", "byteorder-lite", - "color_quant", - "exr", - "gif", - "image-webp", "moxcms", "num-traits", "png", - "qoi", - "ravif", - "rayon", - "rgb", - "tiff", "zune-core", "zune-jpeg", ] @@ -2339,21 +2195,21 @@ dependencies = [ [[package]] name = "imagesize" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09e54e57b4c48b40f7aec75635392b12b3421fa26fe8b4332e63138ed278459c" +checksum = "65b27460c2c92b037f3f94c538ed9a3342f3fdf923606781629ccb35f82d042a" [[package]] name = "imgref" -version = "1.12.2" +version = "1.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89194689a993ab15268672e99e7b0e19da2da3268ac682e8f02d29d4d1434cd7" +checksum = "6e44b0a4eaa4c82f441d50a963f2d5f05a787240aeee097597033e72accfd22f" [[package]] name = "indexmap" -version = "2.14.0" +version = "2.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" dependencies = [ "equivalent", "hashbrown 0.17.1", @@ -2365,7 +2221,7 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9793345a65d71317763a33066b5d8351f8760dde8d4930fe9e39b5f14a7959d" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "input-sys", "libc", "log", @@ -2378,26 +2234,6 @@ version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36eee07d8e02bd95bf52b2e642cf13d33701b94c6e4b04fbf1d1fb07e9cb19e7" -[[package]] -name = "integer-sqrt" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" -dependencies = [ - "num-traits", -] - -[[package]] -name = "interpolate_name" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "io-lifetimes" version = "1.0.11" @@ -2420,9 +2256,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc" dependencies = [ "either", ] @@ -2445,7 +2281,7 @@ dependencies = [ "jni-sys 0.4.1", "log", "simd_cesu8", - "thiserror 2.0.20", + "thiserror 2.0.21", "walkdir", "windows-link", ] @@ -2503,9 +2339,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.104" +version = "0.3.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" dependencies = [ "cfg-if", "futures-util", @@ -2518,7 +2354,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "serde", "unicode-segmentation", ] @@ -2541,7 +2377,7 @@ dependencies = [ "futures-channel", "futures-lite", "futures-util", - "pastey 0.2.3", + "pastey", "serde", "task-local", "zbus", @@ -2561,31 +2397,15 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - -[[package]] -name = "lebe" -version = "0.5.3" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a79a3332a6609480d7d0c9eab957bca6b455b91bb84e66d19f5ff66294b85b8" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" [[package]] name = "libc" -version = "0.2.189" +version = "0.2.190" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" - -[[package]] -name = "libfuzzer-sys" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9fd2f41a1cba099f79a0b6b6c35656cf7c03351a7bae8ff0f28f25270f929d2" -dependencies = [ - "arbitrary", - "cc", -] +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" [[package]] name = "libloading" @@ -2605,46 +2425,51 @@ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" [[package]] name = "libredox" -version = "0.1.20" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d0a00925a9f930d679b6789b721e3a7f9ed110f41b86d2497caa780c3a070a" +checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "libc", "plain", - "redox_syscall 0.9.3", + "redox_syscall 0.9.4", ] [[package]] -name = "libudev-sys" -version = "0.1.4" +name = "libseat" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324" +checksum = "6656c69b6e0366ffb83faa232f3e4fda5fc91161722d140f2c95ce2e90b1ef31" dependencies = [ - "libc", - "pkg-config", + "errno", + "libseat-sys", + "log", ] [[package]] -name = "linebender_resource_handle" -version = "0.1.1" +name = "libseat-sys" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" +checksum = "e8a484fa48be5f62a8d3ffed767779d0ab808cfead91de98ef4362d469097dfb" +dependencies = [ + "pkg-config", +] [[package]] -name = "linked-hash-map" -version = "0.5.6" +name = "libudev-sys" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" +checksum = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324" +dependencies = [ + "libc", + "pkg-config", +] [[package]] -name = "linked_hash_set" -version = "0.1.6" +name = "linebender_resource_handle" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "984fb35d06508d1e69fc91050cceba9c0b748f983e6739fa2c7a9237154c52c8" -dependencies = [ - "linked-hash-map", -] +checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" [[package]] name = "linux-raw-sys" @@ -2671,25 +2496,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" [[package]] -name = "log" -version = "0.4.34" +name = "litrs" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" +checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" [[package]] -name = "loop9" -version = "0.1.5" +name = "lock_api" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fae87c125b03c1d2c0150c90365d7d6bcc53fb73a9acaef207d2d065860f062" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "imgref", + "scopeguard", ] +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + [[package]] name = "lyon_algorithms" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8575c0d003ae459399623c4def180c63b77f343b1a7fee64f249b349e7699a31" +checksum = "cdfa8785f95e57914ddb35e3b59994aeba6f5e79e9cfd03da1c269f010f36009" dependencies = [ "lyon_path", "num-traits", @@ -2702,7 +2533,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7755f08423275157ad1680aaecc9ccb7e0cc633da3240fea2d1522935cc15c72" dependencies = [ "lyon_path", - "thiserror 2.0.20", + "thiserror 2.0.21", ] [[package]] @@ -2726,16 +2557,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "maybe-rayon" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519" -dependencies = [ - "cfg-if", - "rayon", -] - [[package]] name = "memchr" version = "2.8.3" @@ -2776,6 +2597,16 @@ dependencies = [ "simd-adler32", ] +[[package]] +name = "miniz_oxide" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c" +dependencies = [ + "adler2", + "simd-adler32", +] + [[package]] name = "moxcms" version = "0.8.1" @@ -2795,16 +2626,54 @@ dependencies = [ "crossbeam-channel", "dpi", "keyboard-types", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-app-kit 0.3.2", "objc2-core-foundation", "objc2-foundation 0.3.2", "once_cell", "png", - "thiserror 2.0.20", + "thiserror 2.0.21", "windows-sys 0.61.2", ] +[[package]] +name = "naga" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a616d2fb8c89516ac2723a581f69d6c18576046bed761bd6b305e5618e6ae130" +dependencies = [ + "arrayvec", + "bit-set", + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "codespan-reporting", + "half", + "hashbrown 0.17.1", + "indexmap", + "libm", + "log", + "naga-types", + "num-traits", + "once_cell", + "rustc-hash 1.1.0", + "spirv", + "thiserror 2.0.21", + "unicode-ident", +] + +[[package]] +name = "naga-types" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "590afbf58a6f4f62873cd5cff4468061844bafa1cdf399cc954537c22d768d49" +dependencies = [ + "hashbrown 0.17.1", + "indexmap", + "rustc-hash 1.1.0", + "thiserror 2.0.21", +] + [[package]] name = "natord" version = "1.0.9" @@ -2817,7 +2686,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "jni-sys 0.3.1", "log", "ndk-sys", @@ -2841,33 +2710,18 @@ dependencies = [ "jni-sys 0.3.1", ] -[[package]] -name = "new_debug_unreachable" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" - [[package]] name = "nix" version = "0.31.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "cfg-if", "cfg_aliases", "libc", ] -[[package]] -name = "no_std_io2" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418abd1b6d34fbf6cae440dc874771b0525a604428704c76e48b29a5e67b8003" -dependencies = [ - "memchr", -] - [[package]] name = "nom" version = "7.1.3" @@ -2887,63 +2741,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "noop_proc_macro" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8" - -[[package]] -name = "num-bigint" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" -dependencies = [ - "bytemuck", - "num-traits", -] - -[[package]] -name = "num-derive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "num-integer" -version = "0.1.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" -dependencies = [ - "num-bigint", - "num-integer", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.19" @@ -2984,9 +2781,9 @@ checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" [[package]] name = "objc2" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804" +checksum = "19d5490aaf8f1d7cf7688dfa9b0ce07900e168852c45cd2c03f534dfd27cfd0b" dependencies = [ "objc-sys", "objc2-encode", @@ -2994,9 +2791,9 @@ dependencies = [ [[package]] name = "objc2" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f" +checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8" dependencies = [ "objc2-encode", ] @@ -3007,12 +2804,12 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", "libc", - "objc2 0.5.2", - "objc2-core-data 0.2.2", - "objc2-core-image 0.2.2", + "objc2 0.5.3", + "objc2-core-data", + "objc2-core-image", "objc2-foundation 0.2.2", "objc2-quartz-core 0.2.2", ] @@ -3023,17 +2820,10 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" dependencies = [ - "bitflags 2.13.1", - "block2 0.6.2", - "libc", - "objc2 0.6.4", - "objc2-cloud-kit 0.3.2", - "objc2-core-data 0.3.2", + "bitflags 2.13.2", + "objc2 0.6.5", "objc2-core-foundation", "objc2-core-graphics", - "objc2-core-image 0.3.2", - "objc2-core-text", - "objc2-core-video", "objc2-foundation 0.3.2", "objc2-quartz-core 0.3.2", ] @@ -3044,24 +2834,13 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-core-location", "objc2-foundation 0.2.2", ] -[[package]] -name = "objc2-cloud-kit" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" -dependencies = [ - "bitflags 2.13.1", - "objc2 0.6.4", - "objc2-foundation 0.3.2", -] - [[package]] name = "objc2-contacts" version = "0.2.2" @@ -3069,7 +2848,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" dependencies = [ "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-foundation 0.2.2", ] @@ -3079,32 +2858,21 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-foundation 0.2.2", ] -[[package]] -name = "objc2-core-data" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa" -dependencies = [ - "bitflags 2.13.1", - "objc2 0.6.4", - "objc2-foundation 0.3.2", -] - [[package]] name = "objc2-core-foundation" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "dispatch2", - "objc2 0.6.4", + "objc2 0.6.5", ] [[package]] @@ -3113,9 +2881,9 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "dispatch2", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-core-foundation", "objc2-io-surface", ] @@ -3127,21 +2895,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" dependencies = [ "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-foundation 0.2.2", "objc2-metal 0.2.2", ] -[[package]] -name = "objc2-core-image" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006" -dependencies = [ - "objc2 0.6.4", - "objc2-foundation 0.3.2", -] - [[package]] name = "objc2-core-location" version = "0.2.2" @@ -3149,7 +2907,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" dependencies = [ "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-contacts", "objc2-foundation 0.2.2", ] @@ -3160,23 +2918,8 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" dependencies = [ - "bitflags 2.13.1", - "objc2 0.6.4", - "objc2-core-foundation", - "objc2-core-graphics", -] - -[[package]] -name = "objc2-core-video" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6" -dependencies = [ - "bitflags 2.13.1", - "objc2 0.6.4", + "bitflags 2.13.2", "objc2-core-foundation", - "objc2-core-graphics", - "objc2-io-surface", ] [[package]] @@ -3191,11 +2934,11 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", "dispatch", "libc", - "objc2 0.5.2", + "objc2 0.5.3", ] [[package]] @@ -3204,9 +2947,9 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.6.2", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-core-foundation", ] @@ -3216,8 +2959,8 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" dependencies = [ - "bitflags 2.13.1", - "objc2 0.6.4", + "bitflags 2.13.2", + "objc2 0.6.5", "objc2-core-foundation", ] @@ -3228,7 +2971,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" dependencies = [ "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-app-kit 0.2.2", "objc2-foundation 0.2.2", ] @@ -3239,9 +2982,9 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-foundation 0.2.2", ] @@ -3251,8 +2994,9 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0125f776a10d00af4152d74616409f0d4a2053a6f57fa5b7d6aa2854ac04794" dependencies = [ - "bitflags 2.13.1", - "objc2 0.6.4", + "bitflags 2.13.2", + "block2 0.6.2", + "objc2 0.6.5", "objc2-foundation 0.3.2", ] @@ -3262,9 +3006,9 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-foundation 0.2.2", "objc2-metal 0.2.2", ] @@ -3275,9 +3019,10 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" dependencies = [ - "bitflags 2.13.1", - "objc2 0.6.4", + "bitflags 2.13.2", + "objc2 0.6.5", "objc2-core-foundation", + "objc2-core-graphics", "objc2-foundation 0.3.2", "objc2-metal 0.3.2", ] @@ -3288,7 +3033,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc" dependencies = [ - "objc2 0.5.2", + "objc2 0.5.3", "objc2-foundation 0.2.2", ] @@ -3298,12 +3043,12 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", - "objc2 0.5.2", - "objc2-cloud-kit 0.2.2", - "objc2-core-data 0.2.2", - "objc2-core-image 0.2.2", + "objc2 0.5.3", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-image", "objc2-core-location", "objc2-foundation 0.2.2", "objc2-link-presentation", @@ -3319,9 +3064,9 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.6.2", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-core-foundation", "objc2-foundation 0.3.2", "objc2-quartz-core 0.3.2", @@ -3334,7 +3079,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" dependencies = [ "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-foundation 0.2.2", ] @@ -3344,9 +3089,9 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-core-location", "objc2-foundation 0.2.2", ] @@ -3371,6 +3116,15 @@ dependencies = [ "libredox", ] +[[package]] +name = "ordered-float" +version = "5.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c7c9e0d9b23589f26070720bac724174bfec1083e82f7854cdd0267518343c0" +dependencies = [ + "num-traits", +] + [[package]] name = "ordered-stream" version = "0.2.0" @@ -3381,6 +3135,16 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "os_pipe" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + [[package]] name = "owned_ttf_parser" version = "0.25.1" @@ -3396,18 +3160,42 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.5.18", + "smallvec", + "windows-link", +] + [[package]] name = "parlance" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b6937eda350acc1a5d05872c3cbf99fe78619c269096e2be3d4a350058639d5" +checksum = "73072a9470554c8e794778acece2312661218aaabb635600957d952cf01c716e" [[package]] name = "parley" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1cfcf399c774719fb1fa51bc6b91e86bdf003b03202a0902f1827ba6750746" +checksum = "22d2ff88bd3f7d68d1d9b09c7e6209f9a8e8c05088295140a2bcf2e9b17038c5" dependencies = [ + "accesskit", "fontique", "harfrust", "hashbrown 0.17.1", @@ -3417,30 +3205,18 @@ dependencies = [ "linebender_resource_handle", "parlance", "parley_data", - "skrifa 0.42.1", + "skrifa", ] [[package]] name = "parley_data" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1d3755e2cc12c0625b0cd2f2773c6a37dd11d1531940c945ade4aeb78f2b145" +checksum = "1567535334d6ba2d3cde19221ba9a7bd0fabb3cbd99046ddfb10ae061cfcc889" dependencies = [ "icu_properties", ] -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "pastey" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35fb2e5f958ec131621fdd531e9fc186ed768cbe395337403ae56c17a74c68ec" - [[package]] name = "pastey" version = "0.2.3" @@ -3453,6 +3229,17 @@ version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" +[[package]] +name = "petgraph" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" +dependencies = [ + "fixedbitset", + "hashbrown 0.15.5", + "indexmap", +] + [[package]] name = "phf" version = "0.13.1" @@ -3530,9 +3317,9 @@ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" [[package]] name = "pin-utils" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +checksum = "13bee6c73da26345c729282832b60b0363cf3dd9f4bfd81d8551b7a1c889a113" [[package]] name = "pin-weak" @@ -3569,11 +3356,11 @@ version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "crc32fast", "fdeflate", "flate2", - "miniz_oxide", + "miniz_oxide 0.8.9", ] [[package]] @@ -3584,9 +3371,9 @@ checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" dependencies = [ "cfg-if", "concurrent-queue", - "hermit-abi 0.5.2", + "hermit-abi 0.5.3", "pin-project-lite", - "rustix 1.1.4", + "rustix 1.1.5", "windows-sys 0.61.2", ] @@ -3608,6 +3395,15 @@ dependencies = [ "critical-section", ] +[[package]] +name = "portable-atomic-util" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715" +dependencies = [ + "portable-atomic", +] + [[package]] name = "potential_utf" version = "0.1.6" @@ -3620,13 +3416,10 @@ dependencies = [ ] [[package]] -name = "ppv-lite86" -version = "0.2.21" +name = "presser" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] +checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" [[package]] name = "prettyplease" @@ -3661,19 +3454,6 @@ name = "profiling" version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d595e54a326bc53c1c197b32d295e14b169e3cfeaa8dc82b529f947fba6bcf5" -dependencies = [ - "profiling-procmacros", -] - -[[package]] -name = "profiling-procmacros" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4488a4a36b9a4ba6b9334a32a39971f77c1436ec82c38707bce707699cc3bbcb" -dependencies = [ - "quote", - "syn 2.0.119", -] [[package]] name = "pulldown-cmark" @@ -3681,57 +3461,17 @@ version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9f068eba8e7071c5f9511831b44f32c740d5adf574e990f946ddb53db2f314e" dependencies = [ - "bitflags 2.13.1", - "getopts", + "bitflags 2.13.2", "memchr", - "pulldown-cmark-escape", "unicase", ] -[[package]] -name = "pulldown-cmark-escape" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "007d8adb5ddab6f8e3f491ac63566a7d5002cc7ed73901f72057943fa71ae1ae" - -[[package]] -name = "pulp" -version = "0.22.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046aa45b989642ec2e4717c8e72d677b13edd831a4d3b6cf37d9a3e54912496a" -dependencies = [ - "bytemuck", - "cfg-if", - "libm", - "num-complex", - "paste", - "pulp-wasm-simd-flag", - "raw-cpuid", - "reborrow", - "version_check", -] - -[[package]] -name = "pulp-wasm-simd-flag" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d8f70e07b9c3962945a74e59ca1c511bba65b6419468acc217c457d93f3c740" - [[package]] name = "pxfm" version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea" -[[package]] -name = "qoi" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001" -dependencies = [ - "bytemuck", -] - [[package]] name = "quick-error" version = "2.0.1" @@ -3769,92 +3509,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] -name = "rand" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" -dependencies = [ - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", -] - -[[package]] -name = "rav1e" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b6dd56e85d9483277cde964fd1bdb0428de4fec5ebba7540995639a21cb32b" -dependencies = [ - "aligned-vec", - "arbitrary", - "arg_enum_proc_macro", - "arrayvec", - "av-scenechange", - "av1-grain", - "bitstream-io", - "built", - "cfg-if", - "interpolate_name", - "itertools 0.14.0", - "libc", - "libfuzzer-sys", - "log", - "maybe-rayon", - "new_debug_unreachable", - "noop_proc_macro", - "num-derive", - "num-traits", - "paste", - "profiling", - "rand", - "rand_chacha", - "simd_helpers", - "thiserror 2.0.20", - "v_frame", - "wasm-bindgen", -] - -[[package]] -name = "ravif" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e52310197d971b0f5be7fe6b57530dcd27beb35c1b013f29d66c1ad73fbbcc45" -dependencies = [ - "avif-serialize", - "imgref", - "loop9", - "quick-error", - "rav1e", - "rayon", - "rgb", -] - -[[package]] -name = "raw-cpuid" -version = "11.6.0" +name = "range-alloc" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186" -dependencies = [ - "bitflags 2.13.1", -] +checksum = "ca45419789ae5a7899559e9512e58ca889e41f04f1f2445e9f4b290ceccd1d08" [[package]] name = "raw-window-handle" @@ -3868,7 +3526,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40d213455a5f1dc59214213c7330e074ddf8114c9a42411eb890c767357ce135" dependencies = [ - "objc2 0.6.4", + "objc2 0.6.5", "objc2-core-foundation", "objc2-foundation 0.3.2", "objc2-quartz-core 0.3.2", @@ -3894,16 +3552,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "read-fonts" -version = "0.39.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4ed38b89c2c77ff968c524145ad65fb010f38af5c7a224b53b81d47ac2daa81" -dependencies = [ - "bytemuck", - "font-types 0.11.3", -] - [[package]] name = "read-fonts" version = "0.41.0" @@ -3911,16 +3559,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "046a7d674daf459825b32f5062056d6882db0d2f5a479fbd76ccfc870ac18709" dependencies = [ "bytemuck", - "font-types 0.12.4", + "font-types", "once_cell", ] -[[package]] -name = "reborrow" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03251193000f4bd3b042892be858ee50e8b3719f2b08e5833ac4353724632430" - [[package]] name = "redox_syscall" version = "0.4.1" @@ -3936,16 +3578,16 @@ version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", ] [[package]] name = "redox_syscall" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d678d17679829e73d371e96880897e98fee2ded7acc0a50bdf8af2affa4b2fe5" +checksum = "737970939a87c6fa31e7acad13307bccbb017a073b695b6089a2c484f929e20e" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", ] [[package]] @@ -3977,12 +3619,19 @@ version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" +[[package]] +name = "renderdoc-sys" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" + [[package]] name = "resvg" -version = "0.47.0" +version = "0.48.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be183ad6a216aa96f33e4c8033b0988b8b3ea6fd2359d19af5bac4643fd8e81" +checksum = "67e3803f97b999e80cbf7c6ecdd07a8102204d92e1633cf48783720c521196bd" dependencies = [ + "bytemuck", "gif", "image-webp", "log", @@ -4005,12 +3654,13 @@ dependencies = [ [[package]] name = "rowan" -version = "0.16.1" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "417a3a9f582e349834051b8a10c8d71ca88da4211e4093528e36b9845f6b5f21" +checksum = "14b574c58582fa59fa43a2feb6608b8744184659f08a2e0117e4b8224d95ed61" dependencies = [ "countme", "hashbrown 0.14.5", + "memoffset", "rustc-hash 1.1.0", "text-size", ] @@ -4064,7 +3714,7 @@ version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "errno", "libc", "linux-raw-sys 0.4.15", @@ -4073,11 +3723,11 @@ dependencies = [ [[package]] name = "rustix" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "errno", "libc", "linux-raw-sys 0.12.1", @@ -4090,24 +3740,6 @@ version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" -[[package]] -name = "rustybuzz" -version = "0.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3c7c96f8a08ee34eff8857b11b49b07d71d1c3f4e88f8a88d4c9e9f90b1702" -dependencies = [ - "bitflags 2.13.1", - "bytemuck", - "core_maths", - "log", - "smallvec", - "ttf-parser", - "unicode-bidi-mirroring", - "unicode-ccc", - "unicode-properties", - "unicode-script", -] - [[package]] name = "same-file" version = "1.0.6" @@ -4144,7 +3776,7 @@ dependencies = [ "ab_glyph", "log", "memmap2", - "smithay-client-toolkit 0.19.2", + "smithay-client-toolkit", "tiny-skia 0.11.4", ] @@ -4181,14 +3813,14 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] [[package]] name = "serde_json" -version = "1.0.151" +version = "1.0.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" dependencies = [ "itoa", "memchr", @@ -4205,14 +3837,14 @@ checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] [[package]] name = "serde_spanned" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26" +checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c" dependencies = [ "serde_core", ] @@ -4255,15 +3887,6 @@ dependencies = [ "simdutf8", ] -[[package]] -name = "simd_helpers" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95890f873bec569a0362c235787f3aca6e1e887302ba4840839bcc6459c42da6" -dependencies = [ - "quote", -] - [[package]] name = "simdutf8" version = "0.1.5" @@ -4281,15 +3904,15 @@ dependencies = [ [[package]] name = "siphasher" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" +checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" [[package]] name = "skia-bindings" -version = "0.99.0" +version = "0.153.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2d1c3ebd697c0cbded0145e9204a38fa6b268446051b7196d0a096414ea7f3" +checksum = "eb325787c91b3f6c34a7c6f2b8a2297b20292d733ca53a08c233e5028aec49af" dependencies = [ "bindgen", "cc", @@ -4304,25 +3927,15 @@ dependencies = [ [[package]] name = "skia-safe" -version = "0.99.0" +version = "0.153.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f512ac418a64194842dd05566320805dad1c957c521039db2486fd6368865bc" +checksum = "c61cb643dac43067f3eb76c866635a74377ac0abca0ff2590674e1e295514c3d" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "skia-bindings", "windows", ] -[[package]] -name = "skrifa" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c34617370ae968efb7161bb2beb517d9084659aae19e24b89e3db25b46e4564" -dependencies = [ - "bytemuck", - "read-fonts 0.39.2", -] - [[package]] name = "skrifa" version = "0.44.0" @@ -4330,7 +3943,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "819ab7d62b1d3e72d9d9dea5650bac30424f9111364bb94928dbf5ecad1baa68" dependencies = [ "bytemuck", - "read-fonts 0.41.0", + "read-fonts", ] [[package]] @@ -4341,11 +3954,12 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "slint" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce12038f57f8f3a423564b0c9301a2ab3fda4246e4cbadd6b97acf9124bdc315" +checksum = "15e477d5ff6fec20909100ff8f7062432ebfbda7a62a0f37d0252aa126f38c83" dependencies = [ "const-field-offset", + "i-slint-backend-linuxkms", "i-slint-backend-selector", "i-slint-common", "i-slint-core", @@ -4362,9 +3976,9 @@ dependencies = [ [[package]] name = "slint-build" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76684c11441f775b10bbc7b0e6b3016a39f17efdd659ffca112f17cfd6bdaed1" +checksum = "3ea28d4e1ad47d829b91e227f17037fac07a8001668a93fee47ac04f88718ebc" dependencies = [ "derive_more", "fontique", @@ -4375,9 +3989,9 @@ dependencies = [ [[package]] name = "slint-macros" -version = "1.17.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f2a763e72e1e53c496f571d36327e777da1eb0d9e58fceb83890c2a83ee7223" +checksum = "35e74b13d20884dc480ce37d0fabbf02cb4bc0df2a595434feac96ca7c2a0f15" dependencies = [ "i-slint-compiler", "proc-macro2", @@ -4396,9 +4010,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.15.2" +version = "1.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" [[package]] name = "smithay-client-toolkit" @@ -4406,9 +4020,9 @@ version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "calloop 0.13.0", - "calloop-wayland-source 0.3.0", + "calloop-wayland-source", "cursor-icon", "libc", "log", @@ -4425,44 +4039,6 @@ dependencies = [ "xkeysym", ] -[[package]] -name = "smithay-client-toolkit" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0" -dependencies = [ - "bitflags 2.13.1", - "calloop 0.14.4", - "calloop-wayland-source 0.4.1", - "cursor-icon", - "libc", - "log", - "memmap2", - "rustix 1.1.4", - "thiserror 2.0.20", - "wayland-backend", - "wayland-client", - "wayland-csd-frame", - "wayland-cursor", - "wayland-protocols", - "wayland-protocols-experimental", - "wayland-protocols-misc", - "wayland-protocols-wlr", - "wayland-scanner", - "xkeysym", -] - -[[package]] -name = "smithay-clipboard" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71704c03f739f7745053bde45fa203a46c58d25bc5c4efba1d9a60e9dba81226" -dependencies = [ - "libc", - "smithay-client-toolkit 0.20.0", - "wayland-backend", -] - [[package]] name = "smol_str" version = "0.2.2" @@ -4515,14 +4091,14 @@ dependencies = [ "js-sys", "memmap2", "ndk", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-core-foundation", "objc2-core-graphics", "objc2-foundation 0.3.2", "objc2-quartz-core 0.3.2", "raw-window-handle", "redox_syscall 0.5.18", - "rustix 1.1.4", + "rustix 1.1.5", "tiny-xlib", "tracing", "wasm-bindgen", @@ -4543,6 +4119,15 @@ dependencies = [ "pin-utils", ] +[[package]] +name = "spirv" +version = "0.4.0+sdk-1.4.341.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9571ea910ebd84c86af4b3ed27f9dbdc6ad06f17c5f96146b2b671e2976744f" +dependencies = [ + "bitflags 2.13.2", +] + [[package]] name = "squid-ui" version = "0.1.0-alpha.3" @@ -4610,7 +4195,7 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c2499c2d826531388872b2268718aed907a39bd785ab0dcfe57fab26283f92e" dependencies = [ - "skrifa 0.44.0", + "skrifa", "yazi", "zeno", ] @@ -4628,9 +4213,9 @@ dependencies = [ [[package]] name = "syn" -version = "3.0.3" +version = "3.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +checksum = "01016da373cd8f7ef12624f796309f5c31ba8d646dd08856c02cd741d823c622" dependencies = [ "proc-macro2", "quote", @@ -4639,13 +4224,13 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.2" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.8", ] [[package]] @@ -4701,7 +4286,7 @@ dependencies = [ "fastrand", "getrandom 0.4.3", "once_cell", - "rustix 1.1.4", + "rustix 1.1.5", "windows-sys 0.61.2", ] @@ -4722,11 +4307,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.20" +version = "2.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" dependencies = [ - "thiserror-impl 2.0.20", + "thiserror-impl 2.0.21", ] [[package]] @@ -4742,27 +4327,13 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.20" +version = "2.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", -] - -[[package]] -name = "tiff" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b63feaf3343d35b6ca4d50483f94843803b0f51634937cc2ec519fc32232bc52" -dependencies = [ - "fax", - "flate2", - "half", - "quick-error", - "weezl", - "zune-jpeg", + "syn 3.0.8", ] [[package]] @@ -4842,24 +4413,24 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.12.0" +version = "1.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f" -dependencies = [ - "tinyvec_macros", -] +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" [[package]] -name = "tinyvec_macros" -version = "0.1.1" +name = "tokio" +version = "1.53.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "pin-project-lite", +] [[package]] name = "toml" -version = "1.1.4+spec-1.1.0" +version = "1.1.8+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3aace63f4bbcdfc2c965b059de67119c89c4017a70d633be6c104910f67056f5" +checksum = "20489e00e4d8741d6be680764cc12e270655e375a20d1011e844a9c3379e678d" dependencies = [ "indexmap", "serde_core", @@ -4872,18 +4443,18 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "1.1.1+spec-1.1.0" +version = "1.1.2+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" dependencies = [ "serde_core", ] [[package]] name = "toml_edit" -version = "0.25.13+spec-1.1.0" +version = "0.25.17+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6975367e4d2ef766d86af01ffad14b622fecc8d4357a998fbc4deb6e9bacaf9b" +checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" dependencies = [ "indexmap", "toml_datetime", @@ -4894,18 +4465,18 @@ dependencies = [ [[package]] name = "toml_parser" -version = "1.1.3+spec-1.1.0" +version = "1.1.5+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" dependencies = [ "winnow", ] [[package]] name = "toml_writer" -version = "1.1.2+spec-1.1.0" +version = "1.1.3+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2" +checksum = "06bdbd8cfc056b8d2e2e85f29b56a3bdbecb527cef81eb39e3e7b98af4652770" [[package]] name = "tracing" @@ -4939,14 +4510,22 @@ dependencies = [ "once_cell", ] +[[package]] +name = "tree_magic_mini" +version = "3.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8765b90061cba6c22b5831f675da109ae5561588290f9fa2317adab2714d5a6" +dependencies = [ + "memchr", + "nom 8.0.0", + "petgraph", +] + [[package]] name = "ttf-parser" version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" -dependencies = [ - "core_maths", -] [[package]] name = "typed-index-collections" @@ -4983,9 +4562,9 @@ dependencies = [ [[package]] name = "unicase" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142" +checksum = "357cc3acc6a036009fd6c973ed009037c732d60d0b4f6c673e9041497482a28f" [[package]] name = "unicode-bidi" @@ -4993,23 +4572,11 @@ version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" -[[package]] -name = "unicode-bidi-mirroring" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfa6e8c60bb66d49db113e0125ee8711b7647b5579dc7f5f19c42357ed039fe" - -[[package]] -name = "unicode-ccc" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce61d488bcdc9bc8b5d1772c404828b17fc481c0a582b5581e95fb233aef503e" - [[package]] name = "unicode-ident" -version = "1.0.24" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" [[package]] name = "unicode-linebreak" @@ -5017,12 +4584,6 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" -[[package]] -name = "unicode-properties" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d" - [[package]] name = "unicode-script" version = "0.5.8" @@ -5073,26 +4634,26 @@ dependencies = [ [[package]] name = "usvg" -version = "0.47.0" +version = "0.48.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d46cf96c5f498d36b7a9693bc6a7075c0bb9303189d61b2249b0dc3d309c07de" +checksum = "977d0a4abdef933f424a99fe09f95576e089b90aebc6f016a3bc813762493e91" dependencies = [ "base64", "data-url", "flate2", "fontdb", + "harfrust", "imagesize", "kurbo", "log", "pico-args", "roxmltree", - "rustybuzz", "simplecss", "siphasher", + "skrifa", "strict-num", "svgtypes", "tiny-skia-path 0.12.0", - "ttf-parser", "unicode-bidi", "unicode-script", "unicode-vo", @@ -5107,26 +4668,15 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "uuid" -version = "1.25.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f053576934f05a761a402421fbbe3d425d9366f75f978806a037b3ca481abecc" +checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606" dependencies = [ "js-sys", "serde_core", "wasm-bindgen", ] -[[package]] -name = "v_frame" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "666b7727c8875d6ab5db9533418d7c764233ac9c0cff1d469aec8fa127597be2" -dependencies = [ - "aligned-vec", - "num-traits", - "wasm-bindgen", -] - [[package]] name = "version_check" version = "0.9.5" @@ -5135,9 +4685,9 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vtable" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea953f65593feb5287b022b83c35046d1ff49c7417b6f5851a079d8a231fe31" +checksum = "515a4b5b1399cc46fb0dc4081436cb40a3852a2d3e94fd1fa50bb68a334896eb" dependencies = [ "const-field-offset", "portable-atomic", @@ -5147,13 +4697,13 @@ dependencies = [ [[package]] name = "vtable-macro" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "482a37f9777480673d3a99c80ac2edc69f92382230440946855fa27ebc47cba6" +checksum = "8191d73ececf73fc94e65809bf0e667525a0bcff9aeeb8d042a4173a508332a1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.8", ] [[package]] @@ -5177,9 +4727,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.127" +version = "0.2.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" dependencies = [ "cfg-if", "once_cell", @@ -5190,19 +4740,20 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.77" +version = "0.4.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b7777d5cc23d0e91404e53ce2d5e8ec7acae3026b16233dba62cd3246457950" +checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e" dependencies = [ "js-sys", + "tokio", "wasm-bindgen", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.127" +version = "0.2.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5210,22 +4761,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.127" +version = "0.2.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" dependencies = [ "bumpalo", "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.8", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.127" +version = "0.2.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" dependencies = [ "unicode-ident", ] @@ -5238,7 +4789,7 @@ checksum = "38a91b4eaddff87b1cd1074985e3713da4af2c49742d1b356b2c01670a67a078" dependencies = [ "cc", "downcast-rs", - "rustix 1.1.4", + "rustix 1.1.5", "scoped-tls", "smallvec", "wayland-sys", @@ -5250,8 +4801,8 @@ version = "0.31.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3c36a0f861ad76d0901f2800b46321410d9f73f2ea88aac0650d86c32688073" dependencies = [ - "bitflags 2.13.1", - "rustix 1.1.4", + "bitflags 2.13.2", + "rustix 1.1.5", "wayland-backend", "wayland-scanner", ] @@ -5262,7 +4813,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "cursor-icon", "wayland-backend", ] @@ -5273,7 +4824,7 @@ version = "0.31.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a52d18780be9b1314328a3de5f930b73d2200112e3849ca6cb11822793fb34d" dependencies = [ - "rustix 1.1.4", + "rustix 1.1.5", "wayland-client", "xcursor", ] @@ -5284,35 +4835,9 @@ version = "0.32.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23d0c813de3daa2ed6520af85a3bd49b0e722a3078506899aa9686fea58dc4b6" dependencies = [ - "bitflags 2.13.1", - "wayland-backend", - "wayland-client", - "wayland-scanner", -] - -[[package]] -name = "wayland-protocols-experimental" -version = "20250721.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40a1f863128dcaaec790d7b4b396cc9b9a7a079e878e18c47e6c2d2c5a8dcbb1" -dependencies = [ - "bitflags 2.13.1", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-scanner", -] - -[[package]] -name = "wayland-protocols-misc" -version = "0.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e9567599ef23e09b8dad6e429e5738d4509dfc46b3b21f32841a304d16b29c8" -dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "wayland-backend", "wayland-client", - "wayland-protocols", "wayland-scanner", ] @@ -5322,7 +4847,7 @@ version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b6d8cf1eb2c1c31ed1f5643c88a6e53538129d4af80030c8cabd1f9fa884d91" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "wayland-backend", "wayland-client", "wayland-protocols", @@ -5335,7 +4860,7 @@ version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb04e52f7836d7c7976c78ca0250d61e33873c34156a2a1fc9474828ec268234" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "wayland-backend", "wayland-client", "wayland-protocols", @@ -5367,9 +4892,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.104" +version = "0.3.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c435338968042f4f59a557f690a253676d47ce13ceb55d70100e7facf6620a30" +checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4" dependencies = [ "js-sys", "wasm-bindgen", @@ -5394,7 +4919,7 @@ dependencies = [ "jni", "log", "ndk-context", - "objc2 0.6.4", + "objc2 0.6.5", "objc2-app-kit 0.3.2", "objc2-foundation 0.3.2", "url", @@ -5407,6 +4932,152 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" +[[package]] +name = "wgpu" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527ccdf43dd5b2e8676eed9984ce00e2bbb0a1b85b70c1969dcb6cd2eb55ab9e" +dependencies = [ + "arrayvec", + "bitflags 2.13.2", + "bytemuck", + "cfg-if", + "cfg_aliases", + "document-features", + "hashbrown 0.17.1", + "log", + "portable-atomic", + "profiling", + "raw-window-handle", + "smallvec", + "static_assertions", + "wgpu-core", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-core" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c018fce9b6270aa203c2fdd56f3cce996713534bd757e4ea58c8560b121f14" +dependencies = [ + "arrayvec", + "bit-set", + "bit-vec", + "bitflags 2.13.2", + "bytemuck", + "cfg_aliases", + "document-features", + "hashbrown 0.17.1", + "indexmap", + "log", + "naga", + "naga-types", + "once_cell", + "parking_lot", + "portable-atomic", + "profiling", + "raw-window-handle", + "rustc-hash 1.1.0", + "smallvec", + "thiserror 2.0.21", + "wgpu-core-deps-apple", + "wgpu-core-deps-windows-linux-android", + "wgpu-hal", + "wgpu-naga-bridge", + "wgpu-types", +] + +[[package]] +name = "wgpu-core-deps-apple" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "061f3d319a40d39d00b1ecc2c33b89fe21d4e6fe01859df3500a3a8ecccd6b68" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-core-deps-windows-linux-android" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7586165fd5f6d881cb9ce4bb71f40d6caab2c0f1837e3fc1d9788a197fb6004f" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-hal" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6b7fb58561a792bc237628ba0792e332de418fefe145f13b5ed8201e6d52f58" +dependencies = [ + "android_system_properties", + "arrayvec", + "ash", + "bit-set", + "bitflags 2.13.2", + "block2 0.6.2", + "bytemuck", + "cfg-if", + "cfg_aliases", + "gpu-allocator", + "hashbrown 0.17.1", + "libc", + "libloading", + "log", + "naga", + "naga-types", + "objc2 0.6.5", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", + "objc2-metal 0.3.2", + "objc2-quartz-core 0.3.2", + "once_cell", + "ordered-float", + "parking_lot", + "portable-atomic", + "portable-atomic-util", + "profiling", + "range-alloc", + "raw-window-handle", + "raw-window-metal", + "renderdoc-sys", + "smallvec", + "static_assertions", + "thiserror 2.0.21", + "wgpu-naga-bridge", + "wgpu-types", + "windows", + "windows-core", +] + +[[package]] +name = "wgpu-naga-bridge" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f62e73117bb7a62bfd9c5a5841438a823f6566c6442a808ee269d2d055c081" +dependencies = [ + "naga", + "wgpu-types", +] + +[[package]] +name = "wgpu-types" +version = "30.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99dad6f1fbdbbdb4c278a6508b059d44688f5cebddf78d005a46a31340269286" +dependencies = [ + "bitflags 2.13.2", + "bytemuck", + "log", + "naga-types", + "raw-window-handle", + "static_assertions", +] + [[package]] name = "winapi-util" version = "0.1.11" @@ -5544,6 +5215,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + [[package]] name = "windows-sys" version = "0.61.2" @@ -5577,13 +5257,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows-threading" version = "0.2.1" @@ -5605,6 +5302,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" @@ -5617,6 +5320,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.48.5" @@ -5629,12 +5338,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.48.5" @@ -5647,6 +5368,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" @@ -5659,6 +5386,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" @@ -5671,6 +5404,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" @@ -5683,6 +5422,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + [[package]] name = "winit" version = "0.30.13" @@ -5692,7 +5437,7 @@ dependencies = [ "ahash", "android-activity", "atomic-waker", - "bitflags 2.13.1", + "bitflags 2.13.2", "block2 0.5.1", "bytemuck", "calloop 0.13.0", @@ -5706,7 +5451,7 @@ dependencies = [ "libc", "memmap2", "ndk", - "objc2 0.5.2", + "objc2 0.5.3", "objc2-app-kit 0.2.2", "objc2-foundation 0.2.2", "objc2-ui-kit 0.2.2", @@ -5717,7 +5462,7 @@ dependencies = [ "redox_syscall 0.4.1", "rustix 0.38.44", "sctk-adwaita", - "smithay-client-toolkit 0.19.2", + "smithay-client-toolkit", "smol_str 0.2.2", "tracing", "unicode-segmentation", @@ -5750,17 +5495,35 @@ version = "0.57.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" +[[package]] +name = "wl-clipboard-rs" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d7888ccd4896447b2d14d3a9350a85df2aeb6f181e2e7a31349d104ac46cac1" +dependencies = [ + "libc", + "log", + "os_pipe", + "rustix 1.1.5", + "thiserror 2.0.21", + "tree_magic_mini", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-protocols-wlr", +] + [[package]] name = "write-fonts" -version = "0.48.1" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb731d4c4d93eacc69a1ad2f270f905788a98e4a3438267bcafbe08d3431c8d8" +checksum = "cae90d1d9f6d1d36ef116b0b1e651a6d7c12ba925439d4d06ff9adc94662a3d8" dependencies = [ - "font-types 0.11.3", + "font-types", "indexmap", "kurbo", "log", - "read-fonts 0.39.2", + "read-fonts", ] [[package]] @@ -5769,16 +5532,6 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" -[[package]] -name = "x11-clipboard" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "662d74b3d77e396b8e5beb00b9cad6a9eccf40b2ef68cc858784b14c41d535a3" -dependencies = [ - "libc", - "x11rb", -] - [[package]] name = "x11-dl" version = "2.21.0" @@ -5801,7 +5554,7 @@ dependencies = [ "libc", "libloading", "once_cell", - "rustix 1.1.4", + "rustix 1.1.5", "x11rb-protocol", ] @@ -5818,7 +5571,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "rustix 1.1.4", + "rustix 1.1.5", ] [[package]] @@ -5844,7 +5597,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.13.2", "dlib", "log", "once_cell", @@ -5869,12 +5622,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9" -[[package]] -name = "y4m" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5a4b21e1a62b67a2970e6831bc091d7b87e119e7f9791aef9702e3bef04448" - [[package]] name = "yazi" version = "0.2.1" @@ -5905,13 +5652,13 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.8.2" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.8", "synstructure", ] @@ -5937,7 +5684,7 @@ dependencies = [ "hex", "libc", "ordered-stream", - "rustix 1.1.4", + "rustix 1.1.5", "serde", "serde_repr", "tracing", @@ -5983,7 +5730,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", "zbus_names", "zvariant", "zvariant_utils", @@ -6029,18 +5776,18 @@ checksum = "6df3dc4292935e51816d896edcd52aa30bc297907c26167fec31e2b0c6a32524" [[package]] name = "zerocopy" -version = "0.8.56" +version = "0.8.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.56" +version = "0.8.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" dependencies = [ "proc-macro2", "quote", @@ -6058,13 +5805,13 @@ dependencies = [ [[package]] name = "zerofrom-derive" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.8", "synstructure", ] @@ -6100,9 +5847,15 @@ checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", ] +[[package]] +name = "zlib-rs" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112" + [[package]] name = "zmij" version = "1.0.23" @@ -6115,15 +5868,6 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d56377fd46368984a170bc5aac5567e52ca5da874caa60bea39fcbca78fb658b" -[[package]] -name = "zune-inflate" -version = "0.2.54" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" -dependencies = [ - "simd-adler32", -] - [[package]] name = "zune-jpeg" version = "0.5.15" @@ -6157,7 +5901,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.8", "zvariant_utils", ] @@ -6170,6 +5914,6 @@ dependencies = [ "proc-macro2", "quote", "serde", - "syn 3.0.3", + "syn 3.0.8", "winnow", ] From eb54b5aa917b41ba832cc1a0f3a58a5be5cdbcb5 Mon Sep 17 00:00:00 2001 From: Shangxin Date: Sun, 11 Oct 2026 19:46:03 +0000 Subject: [PATCH 2/5] refactor: route the decision curator through pi's native classifier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the vendored /v1/systemone HTTP client (jev-curator/jev.ts, 147 lines) with ctx.modelRegistry.classify() on the typesafe-system-one API — pi-ai 1.x speaks the same endpoint natively. The classifier model is built structurally from CuratorConfig (no pi-ai import needed; its types are not re-exported through pi-coding-agent). Behavior deltas, each deliberate: - state is now the JSON object {"transcript": "..."} (ClassifierContext requires JsonObject) where the old client sent a bare string — noted in the jev-curator README for self-hosted replicas. - the decision key still lives in Squid's keystore and is passed per-request via options.apiKey; a keyless endpoint gets a placeholder bearer ("keyless"), which such replicas ignore. - maxRetries: 0 preserves the old no-retry fail-open on 429/529 — the call sits ahead of the LLM request and must not stall it. - a malformed answer for any unit now errors the whole result (pi's parseAnswers throws), which fails open — same safety posture, stricter than the old per-unit tolerance. Tests: the fake /v1/systemone round-trip is retired (the wire is pi's own tested transport); classify-stub tests now cover model construction, options passthrough, threshold mapping, keyless placeholder, and fail-open. Gate: typecheck + 825 tests green. Co-Authored-By: Claude Code --- src/decision-curator-extension.ts | 185 +++++++++++++++++--- src/jev-curator/README.md | 29 ++-- src/jev-curator/jev.ts | 147 ---------------- tests/decision-curator.test.ts | 280 +++++++++++++++++++----------- 4 files changed, 358 insertions(+), 283 deletions(-) delete mode 100644 src/jev-curator/jev.ts diff --git a/src/decision-curator-extension.ts b/src/decision-curator-extension.ts index e5ee010..38c6217 100644 --- a/src/decision-curator-extension.ts +++ b/src/decision-curator-extension.ts @@ -1,10 +1,17 @@ -import type { ContextEvent, InlineExtension } from "@earendil-works/pi-coding-agent"; +import type { + ContextEvent, + InlineExtension, + ModelRegistry, +} from "@earendil-works/pi-coding-agent"; import { DEFAULT_BASE_URL, DEFAULT_FREQUENCY, DEFAULT_MIN_TOKENS, DEFAULT_MODEL, DEFAULT_THRESHOLD, + JEV_TIMEOUT_MS, + MAX_STATE_TOKENS, + MAX_UNIT_CHARS, type CuratorConfig, } from "./jev-curator/config.js"; import { @@ -15,7 +22,6 @@ import { type Unit, } from "./jev-curator/units.js"; import { JudgmentCheckpoint } from "./jev-curator/checkpoint.js"; -import { askJev } from "./jev-curator/jev.js"; import { resolveDecisionKey } from "./decision-keystore.js"; /** @@ -30,23 +36,24 @@ import { resolveDecisionKey } from "./decision-keystore.js"; * a lost observation. That is the same posture Squid's egress side already has: * the store keeps everything, the view onto it is what gets bounded. * - * Wrapped rather than depended on: see `jev-curator/README.md`. The wrapper - * differs from the TUI original in three ways that matter here: - * - **No TUI.** No `pi-tui` import, no `ctx.ui` calls — the resident agent is - * headless and a dialog would have nothing to draw into. Diagnostics go to - * the injected `log` callback, on the same channel every other Squid - * sensor's do. + * The decision call goes through Pi's own classifier transport + * (`ctx.modelRegistry.classify` on the `typesafe-system-one` API) — the same + * `/v1/systemone` endpoint the vendored HTTP client used, with Pi owning the + * wire, the bearer, and the timeout. Three things stay Squid's: + * - **No TUI.** The resident agent is headless; diagnostics go to the + * injected `log` callback, on the same channel every other Squid sensor's + * do. * - **Injected config.** The `CuratorConfig` is resolved from Squid's *merged* * env (config file under process env) by `resolveCuratorConfig`, not read * from `process.env` here. That keeps the one contract this repo enforces — * resolvers read the merged env — unbroken. * - **Injected key.** The decision key comes from `decision-keystore.ts` (env - * or the 0600 file), never Pi's `auth.json`: the decision model and the - * chat model are separate logins. + * or the 0600 file) and is passed per-request, never Pi's `auth.json`: the + * decision model and the chat model are separate logins. * - * Fail-open is total: no key on a keyless endpoint is fine, any Jev error keeps - * everything, and a throw is caught by Pi's context runner and logged. The - * agent never loses a turn to this. + * Fail-open is total: no key on a keyless endpoint is fine, any classifier + * error keeps everything, and a throw is caught by Pi's context runner and + * logged. The agent never loses a turn to this. */ /** Off unless the enum says otherwise; unset ("") is on, per the schema. */ @@ -72,6 +79,129 @@ export function resolveCuratorConfig(env: Record): C }; } +/** + * Pi-ai's `ClassifierModel` is not re-exported through pi-coding-agent, so the + * entry is built structurally: the same fields as Pi's `typesafe` catalog entry + * for `jev-latest`, pointed at the configured endpoint. `baseUrl` gets `/v1` + * because the transport appends `systemone` to it, so the wire URL stays + * `{baseUrl}/v1/systemone` — the endpoint OpenJev and Kev replicas serve. + */ +interface JevClassifierModel { + readonly type: "classifier"; + readonly id: string; + readonly name: string; + readonly api: "typesafe-system-one"; + readonly provider: "typesafe"; + readonly baseUrl: string; + readonly input: ("text" | "image")[]; + readonly cost: { input: number; output: number; cacheRead: number; cacheWrite: number }; + readonly contextWindow: number; +} + +/** One boolean question per context unit, framed for permanent removal. */ +interface BoolQuestion { + readonly type: "bool"; + readonly instructions: string; + readonly criteria: { true: string; false: string }; +} + +interface ClassifierDecision { + /** Local indexes (into the `newUnits` array) that were actually judged. */ + judged: number[]; + /** Subset of `judged` to keep. */ + keep: Set; +} + +function truncate(s: string, maxChars: number): string { + return s.length > maxChars ? s.slice(0, maxChars) + "\n…[truncated]" : s; +} + +/** + * Ask the decision model which new units any future response might need, via + * `classify`. Returns the decision, or `null` on any failure — the caller must + * fail open (keep everything, record nothing) so the new units are retried on + * the next event. + * + * `classify` never rejects: transport, auth, and response errors come back as + * `stopReason: "error"`. `maxRetries: 0` and the timeout keep a slow or + * overloaded endpoint from stalling the LLM request this sits ahead of. + * + * Units that do not fit the state budget are left out of `judged` so the + * caller leaves them unjudged for the next event instead of permanently + * keeping them without a decision. + */ +async function classifyNewUnits( + newUnits: Unit[], + model: JevClassifierModel, + cfg: CuratorConfig, + apiKey: string, + registry: ModelRegistry, + signal: AbortSignal | undefined, +): Promise { + if (newUnits.length === 0) return { judged: [], keep: new Set() }; + + const lines = newUnits.map((u, i) => `[${i}] (${u.label})\n${truncate(u.text, MAX_UNIT_CHARS)}`); + + // Newest units first within the state budget; the rest stay unjudged + // for the next event. The newest unit is always included so we make + // progress even if a single unit exceeds the budget on its own. + const maxChars = MAX_STATE_TOKENS * 4; + const selected: number[] = []; + let used = 0; + for (let i = newUnits.length - 1; i >= 0; i--) { + const line = lines[i]; + if (line === undefined) continue; + if (selected.length > 0 && used + line.length > maxChars) break; + used += line.length; + selected.unshift(i); + } + + const questions: Record = {}; + for (const i of selected) { + const unit = newUnits[i]; + if (unit === undefined) continue; + questions[`u${i}`] = { + type: "bool", + instructions: + `Consider ONLY context unit [${i}] (${unit.label}) in the transcript above. ` + + `Is this context unit likely ESSENTIAL to completing a future response in this conversation? ` + + `Keep it only if a later response is likely to directly depend on its unique instructions, facts, ` + + `file contents, code, or tool results. Do NOT keep it merely because it provides background, ` + + `might be useful, or could possibly become relevant. Prefer discarding transient reasoning, ` + + `intermediate tool output, already-summarized information, and redundant context. ` + + `When uncertain, answer no.`, + criteria: { + true: "This unit is likely essential to a future response — keep it", + false: "This unit is not essential or is uncertain — permanently discard it", + }, + }; + } + + const result = await registry.classify( + model, + { + // Pi's classifier state is a JSON object; the transcript rides in one + // field. The wire body is `{"transcript": "…"}` where the vendored + // client sent the transcript as a bare string. + state: { transcript: selected.map((i) => lines[i]).join("\n\n") }, + questions, + }, + // The options object is exactOptionalPropertyTypes-clean: `signal` is + // spread only when the session actually has one. + { apiKey, timeoutMs: JEV_TIMEOUT_MS, maxRetries: 0, ...(signal ? { signal } : {}) }, + ); + if (result.stopReason !== "stop") return null; + + const keep = new Set(); + for (const i of selected) { + const ans = result.answers[`u${i}`]; + // Keep on yes (>= threshold), and on any missing or malformed answer: + // never discard on an undecided question. + if (ans?.type !== "bool" || ans.probability >= cfg.threshold) keep.add(i); + } + return { judged: selected, keep }; +} + export interface DecisionCuratorOptions { /** The merged env (config file under process env), for config + key. */ readonly env: Record; @@ -89,6 +219,17 @@ export function decisionCuratorExtension( if (!decisionCuratorEnabled(options.env)) return undefined; const cfg = resolveCuratorConfig(options.env); + const model: JevClassifierModel = { + type: "classifier", + id: cfg.model, + name: "Jev", + api: "typesafe-system-one", + provider: "typesafe", + baseUrl: `${cfg.baseUrl}/v1`, + input: ["text"], + cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, + contextWindow: 64000, + }; const log = options.log ?? (() => {}); const checkpoint = new JudgmentCheckpoint(); let contextCalls = 0; @@ -106,11 +247,6 @@ export function decisionCuratorExtension( pi.on("context", async (event: ContextEvent, ctx) => { contextCalls++; - // Keyless endpoints (a local Kev with auth off) are supported: the - // curator sends an empty bearer, which such a replica ignores. Only a - // paid endpoint that requires a key will 401 — and that path fails open - // like every other error below. - const apiKey = resolveDecisionKey({ env: options.env }) ?? ""; const messages = event.messages; if (messages.length <= 2) return; @@ -130,7 +266,7 @@ export function decisionCuratorExtension( if (latest !== undefined) latest.alwaysKeep = true; // Classify against the checkpoint: reuse past judgments, collect only - // the new units after the checkpoint for Jev. + // the new units after the checkpoint for the decision model. const keepUnit = new Array(units.length).fill(true); const newUnits: { unit: Unit; index: number }[] = []; for (let i = 0; i < units.length; i++) { @@ -142,10 +278,17 @@ export function decisionCuratorExtension( const queryDue = contextCalls % cfg.frequency === 0; if (newUnits.length > 0 && queryDue) { - const decision = await askJev( + // Keyless endpoints (a local Kev with auth off) are supported: the + // transport refuses to post without a key, so a placeholder bearer + // is sent, which such a replica ignores. Only a paid endpoint that + // requires a real key will 401 — and that path fails open like + // every other error. + const decision = await classifyNewUnits( newUnits.map((n) => n.unit), - apiKey, + model, cfg, + resolveDecisionKey({ env: options.env }) ?? "keyless", + ctx.modelRegistry, ctx.signal, ); // Fail open: keep everything this turn, record nothing so the new diff --git a/src/jev-curator/README.md b/src/jev-curator/README.md index 6006c2b..f885ca5 100644 --- a/src/jev-curator/README.md +++ b/src/jev-curator/README.md @@ -1,10 +1,12 @@ # `src/jev-curator/` — vendored curator core -These four files are copied, near-verbatim, from +These files are copied, near-verbatim, from [`pi-jev-context-curator`](https://www.npmjs.com/package/pi-jev-context-curator) v1.1.0 (MIT, © 2026 Shashank H — see `LICENSE`). They are the pure decision -logic: message → units, a per-session judgment checkpoint, and the one -`/v1/systemone` HTTP call. +logic: message → units, a per-session judgment checkpoint, and the config +constants. The `/v1/systemone` call is no longer here — it goes through Pi's +own classifier transport (`ctx.modelRegistry.classify`) in +`../decision-curator-extension.ts`. **Why vendored rather than depended on.** The upstream package is a full Pi TUI extension — it imports `pi-tui` for a removed-context dialog, reads @@ -18,11 +20,16 @@ plain `CuratorConfig` shape with no `loadConfig()`, and the extension wrapper (`../decision-curator-extension.ts`) is written against Squid's own `InlineExtension` + injected keystore. -**Wire contract, unchanged.** The request is `POST {baseUrl}/v1/systemone` with -`{state, model, questions:{u0:{type:"noul",…}}}` and reads back -`answers[k].noul`. That is the hosted Jev API's shape, which OpenJev and Kev -also serve — so pointing this at a free self-hosted replica is two settings -(`decisionCuratorBaseUrl`, `decisionCuratorModel`), no code change. +**Wire contract.** The request is Pi-ai's `typesafe-system-one` transport: +`POST {baseUrl}/v1/systemone` with `{model, state, questions:{u0:{type:"noul",…}}}` +and answers read back as `answers[k].noul`. That is the hosted Jev API's shape, +which OpenJev and Kev also serve — so pointing this at a free self-hosted +replica is two settings (`decisionCuratorBaseUrl`, `decisionCuratorModel`), no +code change. One delta from the old vendored client: `state` is the JSON object +`{"transcript": "…"}` (Pi's `ClassifierContext.state` is a `JsonObject`) where +the vendored client sent the transcript as a bare string — a self-hosted +replica that greps the state for a plain string will need the field read +instead. **What changed from upstream, exactly:** @@ -32,9 +39,9 @@ also serve — so pointing this at a free self-hosted replica is two settings `@earendil-works/pi-coding-agent`'s `ContextEvent["messages"][number]` (the package this repo already pins) instead of importing `pi-agent-core`; added bounds guards for `noUncheckedIndexedAccess`. -- `jev.ts` — imports use `.js` extensions (NodeNext); added the same bounds - guards. Logic byte-for-byte otherwise. - `checkpoint.ts` — verbatim. Not vendored: `index.ts` (the TUI wiring), `keystore.ts` (Squid has its own — -see `../decision-keystore.ts`), `stats.ts`, `removed-context*.ts` (TUI dialog). +see `../decision-keystore.ts`), `stats.ts`, `removed-context*.ts` (TUI dialog), +and `jev.ts` (the HTTP client — replaced by Pi's `classify`, which speaks the +same endpoint natively). diff --git a/src/jev-curator/jev.ts b/src/jev-curator/jev.ts deleted file mode 100644 index 00eb7c9..0000000 --- a/src/jev-curator/jev.ts +++ /dev/null @@ -1,147 +0,0 @@ -/** - * Vendored from pi-jev-context-curator v1.1.0 (MIT, © 2026 Shashank H). - * - * The Jev decision call: one `/v1/systemone` request with a yes/no ("noul") - * question per new context unit. - * - * The question is framed for permanent removal: "will ANY future response in - * this conversation need this unit?" A "no" means the unit is discarded for - * good, so the bar for answering no is high and the safe direction on - * uncertainty is to keep. - * - * Only units after the checkpoint are sent: Jev never sees the same unit - * twice. Uses plain `fetch` (not pi's model registry) so it never - * re-triggers `context` handlers — no recursion. - * - * The request/response shape is the hosted Jev API's `/v1/systemone`, which - * OpenJev and Kev also serve — so `baseUrl`/`model` in `CuratorConfig` are all - * it takes to point this at a free self-hosted replica instead of the paid - * endpoint. - */ - -import { - JEV_TIMEOUT_MS, - MAX_STATE_TOKENS, - MAX_UNIT_CHARS, - type CuratorConfig, -} from "./config.js"; -import type { Unit } from "./units.js"; - -interface JevQuestion { - type: "noul"; - instructions: string; - criteria?: { true: string; false: string }; -} - -interface JevResponse { - model?: string; - answers?: Record; - usage?: { input_tokens?: number; output_tokens?: number }; -} - -export interface JevDecision { - /** Local indexes (into the `newUnits` array) that were actually judged. */ - judged: number[]; - /** Subset of `judged` to keep. */ - keep: Set; - inputTokens: number; -} - -function truncate(s: string, maxChars: number): string { - return s.length > maxChars ? s.slice(0, maxChars) + "\n…[truncated]" : s; -} - -/** - * Ask Jev which of the new units any future response might need. - * Returns the decision, or `null` on any failure — the caller must fail - * open (keep everything, record nothing) when this returns null. - * - * Units that do not fit Jev's state token budget are left out of `judged` - * so the caller leaves them unjudged for the next event instead of - * permanently keeping them without a decision. - */ -export async function askJev( - newUnits: Unit[], - apiKey: string, - cfg: CuratorConfig, - signal: AbortSignal | undefined, -): Promise { - if (newUnits.length === 0) return { judged: [], keep: new Set(), inputTokens: 0 }; - - const lines = newUnits.map((u, i) => `[${i}] (${u.label})\n${truncate(u.text, MAX_UNIT_CHARS)}`); - - // Newest units first within the state budget; the rest stay unjudged - // for the next event. The newest unit is always included so we make - // progress even if a single unit exceeds the budget on its own. - const maxChars = MAX_STATE_TOKENS * 4; - const selected: number[] = []; - let used = 0; - for (let i = newUnits.length - 1; i >= 0; i--) { - const line = lines[i]; - if (line === undefined) continue; - if (selected.length > 0 && used + line.length > maxChars) break; - used += line.length; - selected.unshift(i); - } - const stateText = selected.map((i) => lines[i]).join("\n\n"); - - const questions: Record = {}; - for (const i of selected) { - const unit = newUnits[i]; - if (unit === undefined) continue; - questions[`u${i}`] = { - type: "noul", - instructions: - `Consider ONLY context unit [${i}] (${unit.label}) in the transcript above. ` + - `Is this context unit likely ESSENTIAL to completing a future response in this conversation? ` + - `Keep it only if a later response is likely to directly depend on its unique instructions, facts, ` + - `file contents, code, or tool results. Do NOT keep it merely because it provides background, ` + - `might be useful, or could possibly become relevant. Prefer discarding transient reasoning, ` + - `intermediate tool output, already-summarized information, and redundant context. ` + - `When uncertain, answer no.`, - criteria: { - true: "This unit is likely essential to a future response — keep it", - false: "This unit is not essential or is uncertain — permanently discard it", - }, - }; - } - - const ctrl = new AbortController(); - const timer = setTimeout(() => ctrl.abort(new Error("Jev request timed out")), JEV_TIMEOUT_MS); - try { - if (signal?.aborted) ctrl.abort(signal.reason); - else signal?.addEventListener("abort", () => ctrl.abort(signal.reason), { once: true }); - - const res = await fetch(`${cfg.baseUrl}/v1/systemone`, { - method: "POST", - signal: ctrl.signal, - headers: { - "Content-Type": "application/json", - Authorization: `Bearer ${apiKey}`, - }, - body: JSON.stringify({ state: stateText, model: cfg.model, questions }), - }); - - if (!res.ok) { - if (res.status === 429 || res.status === 529) return null; // rate-limited/overloaded: fail open - throw new Error(`Jev API returned HTTP ${res.status}`); - } - const data = (await res.json()) as JevResponse; - if (!data.answers) throw new Error("Jev response had no answers"); - - const answers = data.answers; - const keep = new Set(); - for (const i of selected) { - const ans = answers[`u${i}`]; - const p = ans?.noul; - // Keep on yes (>= threshold), and on any non-numeric/missing - // answer: never discard on an undecided question. - if (typeof p !== "number" || p >= cfg.threshold) keep.add(i); - } - return { judged: selected, keep, inputTokens: data.usage?.input_tokens ?? 0 }; - } catch { - return null; - } finally { - clearTimeout(timer); - } -} diff --git a/tests/decision-curator.test.ts b/tests/decision-curator.test.ts index bcb6f9f..b7a6190 100644 --- a/tests/decision-curator.test.ts +++ b/tests/decision-curator.test.ts @@ -1,4 +1,4 @@ -import { afterAll, describe, expect, it } from "bun:test"; +import { describe, expect, it } from "bun:test"; import type { ContextEvent, ExtensionAPI } from "@earendil-works/pi-coding-agent"; import { decisionCuratorEnabled, @@ -6,17 +6,17 @@ import { resolveCuratorConfig, } from "../src/decision-curator-extension.js"; import { groupIntoUnits } from "../src/jev-curator/units.js"; -import { askJev } from "../src/jev-curator/jev.js"; import { DEFAULT_BASE_URL, DEFAULT_MODEL } from "../src/jev-curator/config.js"; type AgentMessage = ContextEvent["messages"][number]; /** * The curator is exercised at three seams that matter and no more: the enable - * switch, the config resolver's defaults, and one round trip through `askJev` - * against a fake `/v1/systemone` — which is the whole point of the vendored - * wire contract, that a 20-line server stands in for a 54GB model. The - * extension's `on("context")` reducer is driven through a hand-rolled + * switch, the config resolver's defaults, and the classify call — model + * construction, options passthrough, threshold mapping, fail-open — driven + * through a stubbed `modelRegistry`. The wire itself (`bool`→`noul`, + * `/v1/systemone`, bearer, timeout, retries) is Pi-ai's own transport, tested + * there; the extension's `on("context")` reducer runs through a hand-rolled * `ExtensionAPI` stub so no live model runtime is started, matching how the * rest of the suite avoids one. */ @@ -62,71 +62,35 @@ describe("resolveCuratorConfig", () => { }); }); -describe("askJev against a fake /v1/systemone", () => { - const server = Bun.serve({ - port: 0, - async fetch(req) { - const url = new URL(req.url); - if (url.pathname !== "/v1/systemone") return new Response("not found", { status: 404 }); - const body = (await req.json()) as { - questions: Record; - }; - // Answer every question: keep the even-indexed unit, drop the odd. The - // question ids are `u`, so this lets the assertion below know - // exactly which local indexes should survive. - const answers: Record = {}; - for (const key of Object.keys(body.questions)) { - const idx = Number(key.slice(1)); - answers[key] = { type: "noul", noul: idx % 2 === 0 ? 0.99 : 0.01 }; - } - return Response.json({ model: "fake", answers, usage: { input_tokens: 42 } }); - }, - }); - const baseUrl = `http://127.0.0.1:${server.port}`; - afterAll(() => server.stop(true)); - - it("keeps units above threshold and drops those below, reporting tokens", async () => { - const messages = [ - userMessage("zero"), - userMessage("one"), - userMessage("two"), - ]; - const units = groupIntoUnits(messages); - const decision = await askJev( - units, - "test-key", - { baseUrl, model: "fake", threshold: 0.5, minTokens: 0, frequency: 1 }, - undefined, - ); - expect(decision).not.toBeNull(); - if (!decision) return; - // Even local indexes kept, odd dropped — exactly what the fake answered. - expect(decision.keep.has(0)).toBe(true); - expect(decision.keep.has(1)).toBe(false); - expect(decision.keep.has(2)).toBe(true); - expect(decision.inputTokens).toBe(42); - }); - - it("fails open (returns null) on a non-OK response", async () => { - const decision = await askJev( - groupIntoUnits([userMessage("a"), userMessage("b")]), - "test-key", - { baseUrl: `${baseUrl}/nope`, model: "fake", threshold: 0.5, minTokens: 0, frequency: 1 }, - undefined, - ); - // A 404 is a thrown-then-caught failure: the caller keeps everything. - expect(decision).toBeNull(); - }); -}); - describe("decisionCuratorExtension reducer", () => { - /** A minimal ExtensionAPI stub that captures the one `context` handler. */ - function captureContextHandler(ext: ReturnType): { + /** What the reducer's classify calls captured: the model, context, options. */ + interface ClassifyCall { + model: { id: string; baseUrl: string; provider: string; api: string; type: string }; + state: { transcript?: string }; + questions: Record; + apiKey: string | undefined; + timeoutMs: number | undefined; + maxRetries: number | undefined; + } + + /** + * A minimal ExtensionAPI stub that captures the one `context` handler and + * answers every classify with the supplied noul probabilities (by question + * id, defaulting to "keep"). + */ + function captureContextHandler( + ext: ReturnType, + classify?: ( + call: ClassifyCall, + ) => { stopReason: string; answers?: Record }, + ): { + calls: ClassifyCall[]; fire: (messages: AgentMessage[], usageTokens?: number) => Promise; sessionStart: () => void; } { if (ext === undefined) throw new Error("extension was disabled"); const factory = typeof ext === "function" ? ext : ext.factory; + const calls: ClassifyCall[] = []; let contextHandler: | ((event: ContextEvent, ctx: unknown) => Promise<{ messages: AgentMessage[] } | void>) | undefined; @@ -139,11 +103,29 @@ describe("decisionCuratorExtension reducer", () => { } as unknown as ExtensionAPI; void factory(pi); return { + calls, fire: async (messages, usageTokens) => { if (contextHandler === undefined) throw new Error("no context handler registered"); const ctx = { signal: undefined, getContextUsage: () => (usageTokens === undefined ? undefined : { tokens: usageTokens }), + modelRegistry: { + classify: async (model: unknown, context: unknown, options: unknown) => { + const call = { + model: model as ClassifyCall["model"], + ...(context as { state: ClassifyCall["state"]; questions: ClassifyCall["questions"] }), + ...(options as Pick), + }; + calls.push(call); + const answers: Record = {}; + for (const id of Object.keys(call.questions)) { + answers[id] = { type: "bool", probability: 0.99 }; + } + return classify + ? classify(call) + : { stopReason: "stop", answers }; + }, + }, }; const result = await contextHandler({ type: "context", messages }, ctx); return result?.messages ?? messages; @@ -158,53 +140,143 @@ describe("decisionCuratorExtension reducer", () => { it("passes context through untouched below the min-token floor", async () => { const ext = decisionCuratorExtension({ env: {} }); - const { fire } = captureContextHandler(ext); + const { fire, calls } = captureContextHandler(ext); const messages = [userMessage("sys"), assistantMessage("a"), userMessage("b")]; // Tiny context (well under 8000 tokens): the reducer returns nothing, so // the caller keeps every message. This is why an idle agent pays no Jev. const out = await fire(messages, 10); expect(out).toEqual(messages); + expect(calls.length).toBe(0); }); - it("trims dropped units once the endpoint answers, above the floor", async () => { - const server = Bun.serve({ - port: 0, - async fetch(req) { - const body = (await req.json()) as { questions: Record }; - const answers: Record = {}; - // Drop everything the model is asked about: noul 0 < any threshold. - for (const key of Object.keys(body.questions)) answers[key] = { type: "noul", noul: 0 }; - return Response.json({ answers, usage: { input_tokens: 10 } }); + it("builds the classifier model and options from config, and maps answers by threshold", async () => { + const ext = decisionCuratorExtension({ + env: { + SQUID_DECISION_BASE_URL: "http://127.0.0.1:8009", + SQUID_DECISION_MODEL: "kev-4b", + SQUID_DECISION_THRESHOLD: "0.5", + SQUID_DECISION_KEY: "k", }, }); - try { - const ext = decisionCuratorExtension({ - env: { - SQUID_DECISION_BASE_URL: `http://127.0.0.1:${server.port}`, - SQUID_DECISION_KEY: "k", - }, - }); - const { fire } = captureContextHandler(ext); - // Enough distinct middle units that at least one is judged and dropped; - // the last unit is always kept (it is the current request). - const messages = [ - userMessage("system-ish preamble"), - assistantMessage("old reasoning one"), - userMessage("old detail two"), - assistantMessage("old reasoning three"), - userMessage("current request"), - ]; - // frequency default is 5, so a single call is not a query turn. Fire five - // times to reach the query turn; the fake always answers "drop". - let out: AgentMessage[] = messages; - for (let i = 0; i < 5; i++) out = await fire(messages, 9000); - // The reducer dropped at least the judged middle units, keeping fewer - // than it was handed. The exact count depends on unit grouping; the - // invariant is that trimming happened and the last message survived. - expect(out.length).toBeLessThan(messages.length); - expect(out[out.length - 1]).toEqual(messages[messages.length - 1]!); - } finally { - server.stop(true); - } + const { fire, calls } = captureContextHandler(ext, (call) => { + // Drop every unit: probability 0 < 0.5. + const answers: Record = {}; + for (const id of Object.keys(call.questions)) { + answers[id] = { type: "bool", probability: 0.01 }; + } + return { stopReason: "stop", answers }; + }); + const messages = [ + userMessage("system-ish preamble"), + assistantMessage("old reasoning one"), + userMessage("old detail two"), + assistantMessage("old reasoning three"), + userMessage("current request"), + ]; + // frequency default is 5, so a single call is not a query turn. Fire five + // times to reach the query turn; the stub always answers "drop". + let out: AgentMessage[] = messages; + for (let i = 0; i < 5; i++) out = await fire(messages, 9000); + + // Exactly one classify call happened, on the query turn. + expect(calls.length).toBe(1); + const call = calls[0]!; + // The model points at the configured replica: baseUrl + /v1, the + // configured id, Pi's typesafe-system-one classifier shape. + expect(call.model.baseUrl).toBe("http://127.0.0.1:8009/v1"); + expect(call.model.id).toBe("kev-4b"); + expect(call.model.provider).toBe("typesafe"); + expect(call.model.api).toBe("typesafe-system-one"); + expect(call.model.type).toBe("classifier"); + // Options: injected key, the 15s timeout, and no retries — a slow + // endpoint must not stall the LLM call this sits ahead of. + expect(call.apiKey).toBe("k"); + expect(call.timeoutMs).toBe(15000); + expect(call.maxRetries).toBe(0); + // State is the JSON-object transcript; questions are bool-framed per unit. + expect(typeof call.state.transcript).toBe("string"); + expect(Object.keys(call.questions).length).toBeGreaterThan(0); + for (const q of Object.values(call.questions)) expect(q.type).toBe("bool"); + + // The reducer dropped at least the judged middle units, keeping fewer + // than it was handed. The exact count depends on unit grouping; the + // invariant is that trimming happened and the last message survived. + expect(out.length).toBeLessThan(messages.length); + expect(out[out.length - 1]).toEqual(messages[messages.length - 1]!); + }); + + it("keeps units at or above threshold and drops those below", async () => { + const ext = decisionCuratorExtension({ + env: { SQUID_DECISION_THRESHOLD: "0.5" }, + }); + const { fire } = captureContextHandler(ext, (call) => { + const answers: Record = {}; + for (const id of Object.keys(call.questions)) { + const idx = Number(id.slice(1)); + // Even local indexes kept (0.99 >= 0.5), odd dropped — except the + // exactly-at-threshold 0.5 on unit two, which keeps. + answers[id] = { type: "bool", probability: idx % 2 === 0 ? 0.99 : idx === 1 ? 0.49 : 0.5 }; + } + return { stopReason: "stop", answers }; + }); + const messages = [ + userMessage("zero"), + userMessage("one"), + userMessage("two"), + userMessage("three"), + ]; + // frequency defaults to 5: the fifth fire is the query turn. + let out: AgentMessage[] = messages; + for (let i = 0; i < 5; i++) out = await fire(messages, 9000); + // The last unit (the current request) is always kept; among the judged + // rest, "one" (0.49) is dropped, the others survive. + expect(out.map((m) => (m as { content: string }).content)).toEqual([ + "zero", + "two", + "three", + ]); + }); + + it("fails open (keeps everything, records nothing) when classify errors", async () => { + const ext = decisionCuratorExtension({ + env: { SQUID_DECISION_KEY: "k" }, + }); + const { fire, calls } = captureContextHandler(ext, () => ({ + stopReason: "error", + errorMessage: "boom", + })); + const messages = [ + userMessage("zero"), + userMessage("one"), + userMessage("two"), + ]; + let out: AgentMessage[] = messages; + for (let i = 0; i < 5; i++) out = await fire(messages, 9000); + expect(out).toEqual(messages); + // The next query turn re-asks: the failed judgment was not checkpointed. + for (let i = 0; i < 5; i++) await fire(messages, 9000); + expect(calls.length).toBe(2); + }); + + it("sends a placeholder key for a keyless endpoint", async () => { + const ext = decisionCuratorExtension({ env: {} }); + const { fire, calls } = captureContextHandler(ext); + for (let i = 0; i < 5; i++) await fire([userMessage("zero"), userMessage("one"), userMessage("two")], 9000); + expect(calls[0]?.apiKey).toBe("keyless"); + }); + + it("caps the state at the newest units that fit the budget", async () => { + const ext = decisionCuratorExtension({ env: {} }); + let questionCount = 0; + const { fire } = captureContextHandler(ext, (call) => { + questionCount = Object.keys(call.questions).length; + return { stopReason: "stop", answers: {} }; + }); + const messages = [userMessage("m".repeat(1200)), ...Array.from({ length: 200 }, (_, i) => userMessage(`unit-${i} ${"x".repeat(200)}`))]; + for (let i = 0; i < 5; i++) await fire(messages, 90000); + // 28000-token budget (112000 chars): not every unit's line fits, so the + // newest-fit subset is judged. The count is bounded well below the whole. + expect(questionCount).toBeGreaterThan(0); + expect(questionCount).toBeLessThan(201); }); }); From 9caf65b9eb6619964109b5c7fce1a7837bd193a5 Mon Sep 17 00:00:00 2001 From: Shangxin Date: Sun, 11 Oct 2026 19:48:58 +0000 Subject: [PATCH 3/5] refactor: reuse pi's estimateTokens for the curator's token floor Drop the vendored chars/4 helper from jev-curator/units.ts; pi exports estimateTokens(message) with the same heuristic but per-message accuracy (images, tool calls, prompt sections). One less duplicated util; no behavior change at the floor. Co-Authored-By: Claude Code --- src/decision-curator-extension.ts | 23 +++++++++-------------- src/jev-curator/units.ts | 4 ---- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/src/decision-curator-extension.ts b/src/decision-curator-extension.ts index 38c6217..946d145 100644 --- a/src/decision-curator-extension.ts +++ b/src/decision-curator-extension.ts @@ -1,7 +1,8 @@ -import type { - ContextEvent, - InlineExtension, - ModelRegistry, +import { + estimateTokens, + type ContextEvent, + type InlineExtension, + type ModelRegistry, } from "@earendil-works/pi-coding-agent"; import { DEFAULT_BASE_URL, @@ -14,13 +15,7 @@ import { MAX_UNIT_CHARS, type CuratorConfig, } from "./jev-curator/config.js"; -import { - describeMessage, - estimateTokens, - fingerprintUnit, - groupIntoUnits, - type Unit, -} from "./jev-curator/units.js"; +import { fingerprintUnit, groupIntoUnits, type Unit } from "./jev-curator/units.js"; import { JudgmentCheckpoint } from "./jev-curator/checkpoint.js"; import { resolveDecisionKey } from "./decision-keystore.js"; @@ -252,9 +247,9 @@ export function decisionCuratorExtension( if (messages.length <= 2) return; const usage = ctx.getContextUsage(); - const estTokens = - usage?.tokens ?? - messages.reduce((n, m) => n + estimateTokens(describeMessage(m).text), 0); + // Pi's own chars/4 estimate, which knows every message shape (images, + // tool calls, prompt sections) — not just the flattened text. + const estTokens = usage?.tokens ?? messages.reduce((n, m) => n + estimateTokens(m), 0); if (estTokens < cfg.minTokens) return; const units = groupIntoUnits(messages); diff --git a/src/jev-curator/units.ts b/src/jev-curator/units.ts index 536f574..2dbb0bb 100644 --- a/src/jev-curator/units.ts +++ b/src/jev-curator/units.ts @@ -123,10 +123,6 @@ export function describeMessage(m: AgentMessage): { }; } -export function estimateTokens(text: string): number { - return Math.ceil(text.length / 4); -} - /** * Content fingerprint identifying a unit across `context` events. * Identical units (same label and text) share a fingerprint, so a unit Jev From a761f76f03acf3ce99ac87cc480fbc6a3133e3f1 Mon Sep 17 00:00:00 2001 From: Shangxin Date: Mon, 12 Oct 2026 04:21:04 +0000 Subject: [PATCH 4/5] refactor: store the decision key as pi's own typesafe credential MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The decision-curation key no longer has a Squid-side store. The curator's classify call omits `apiKey`, so pi resolves the credential itself — a `typesafe` entry in ~/.pi/agent/auth.json wins, TYPESAFE_API_KEY is consulted only when nothing is stored. `src/decision-keystore.ts` (SQUID_DECISION_KEY + 0600 ~/.pi/squid-decision.json) is deleted; the panel's decisionKey row now writes the pi-native credential, refuses a save while the env fallback governs (empty value still clears), and its `overridden` flag means "the env fallback is what this run uses". A keyless local replica now needs any placeholder stored (GUI row or env) because pi's transport refuses to post without a key; otherwise the curator fails open as before. Co-Authored-By: Claude Code --- README.md | 31 +++++---- src/app-model.ts | 25 +++++--- src/config-service.ts | 71 +++++++++++++-------- src/decision-curator-extension.ts | 34 +++++----- src/decision-keystore.ts | 100 ------------------------------ src/jev-curator/README.md | 9 +-- tests/config-service.test.ts | 52 ++++++++++++++++ tests/config.test.ts | 6 -- tests/decision-curator.test.ts | 20 ++---- tests/decision-keystore.test.ts | 97 ----------------------------- 10 files changed, 161 insertions(+), 284 deletions(-) delete mode 100644 src/decision-keystore.ts delete mode 100644 tests/decision-keystore.test.ts diff --git a/README.md b/README.md index 2c4deaf..b551819 100644 --- a/README.md +++ b/README.md @@ -199,28 +199,30 @@ view, not the record. the resident agent's session beside the heartbeat and LLM-log ones. On every `context` event it groups messages into units, asks the decision model which new units a future response needs (`noul` questions), and drops the ones it - says no to. Every failure path fails **open**: no key on a keyless replica, - any HTTP error, a timeout, or the switch turned off all leave the context - untouched, so the agent never loses a turn to it. Off is `on`-by-default with - a visible switch, per this repo's rule. + says no to. Every failure path fails **open**: no key stored, any HTTP + error, a timeout, or the switch turned off all leave the context untouched, + so the agent never loses a turn to it. Off is `on`-by-default with a visible + switch, per this repo's rule. - `src/jev-curator/` — the decision logic itself, vendored near-verbatim from the MIT `pi-jev-context-curator` package with the TUI stripped and config injected. See `src/jev-curator/README.md` for exactly what changed and why it is in-tree rather than a dependency. -- `src/decision-keystore.ts` — the decision model's API key, resolved from - `SQUID_DECISION_KEY` or a 0600 `~/.pi/squid-decision.json` (never the Squid - config file). It is a *separate* secret from the chat model's: the two can - point at different providers, and a local Kev needs no key while the chat - model does. -The curator is configured through five settings that all appear in the panel's +The curator is configured through four settings that all appear in the panel's settings form under **Decision curation** and all read from the merged env, so -either an environment variable or the GUI works: +either an environment variable or the GUI works. The decision model's +credential is not one of them: it is Pi's own, stored under the `typesafe` +provider in `~/.pi/agent/auth.json` (a stored key wins) or `TYPESAFE_API_KEY` +(consulted only when nothing is stored) — the same resolution Pi uses for +every provider, with no Squid-side parallel store. ```bash -# Free, local, no API key: run kev (or openjev) and point Squid at it. +# Free, local: run kev (or openjev) and point Squid at it. Pi's transport +# refuses to post without a key, so a keyless replica still needs *some* +# value stored — any placeholder works (GUI row or TYPESAFE_API_KEY). SQUID_DECISION_BASE_URL=http://127.0.0.1:8009 \ SQUID_DECISION_MODEL=kev-4b \ +TYPESAFE_API_KEY=placeholder \ bun run start # Turn it off entirely (the switch, not a variable, is the front door): @@ -233,7 +235,10 @@ SQUID_DECISION_CURATOR=off bun run start | `SQUID_DECISION_BASE_URL` | `decisionCuratorBaseUrl` | The `/v1/systemone` endpoint. Hosted Jev by default; a local replica costs nothing. | | `SQUID_DECISION_MODEL` | `decisionCuratorModel` | Model id: `jev-latest`, `openjev`, `kev-4b`, … | | `SQUID_DECISION_THRESHOLD` | `decisionCuratorThreshold` | Keep threshold `0`–`1`; higher trims more. | -| `SQUID_DECISION_KEY` | `decisionKey` (secret) | The key, for an endpoint that needs one. Stored 0600, never in the config file. | + +The panel's **Decision model API key** row (config id `decisionKey`) writes +that `typesafe` credential: empty clears it, and the row is the front door — +`TYPESAFE_API_KEY` is the rescue-when-headless fallback, per this repo's rule. ### Capture and the watch loop diff --git a/src/app-model.ts b/src/app-model.ts index acae659..ac4868e 100644 --- a/src/app-model.ts +++ b/src/app-model.ts @@ -248,19 +248,30 @@ function writeProviderEntry( writeJsonAtomic(modelsPath, models); } +/** + * The credential half alone: one provider's `auth.json` entry, rewritten while + * every other provider the user has configured is preserved. An empty key + * removes the entry — the one write that can undo a credential, so it is the + * settings row for a keyless deployment, never a silent side effect. + */ +export function writeProviderCredential(agentDir: string, provider: string, key: string): void { + mkdirSync(agentDir, { recursive: true }); + const authPath = join(agentDir, "auth.json"); + const auth: Record = existsSync(authPath) + ? (JSON.parse(readFileSync(authPath, "utf8")) as Record) + : {}; + if (key.length === 0) delete auth[provider]; + else auth[provider] = { type: "api_key", key }; + writeJsonAtomic(authPath, auth); +} + export function writeModelConfiguration( agentDir: string, provider: string, answers: FirstRunAnswers, ): void { writeProviderEntry(agentDir, provider, answers.baseUrl, answers.modelId); - - const authPath = join(agentDir, "auth.json"); - const auth: Record = existsSync(authPath) - ? (JSON.parse(readFileSync(authPath, "utf8")) as Record) - : {}; - auth[provider] = { type: "api_key", key: answers.apiKey }; - writeJsonAtomic(authPath, auth); + writeProviderCredential(agentDir, provider, answers.apiKey); } /** diff --git a/src/config-service.ts b/src/config-service.ts index 25b16b4..51b726e 100644 --- a/src/config-service.ts +++ b/src/config-service.ts @@ -11,19 +11,23 @@ import { readModelEntry, writeModelConfiguration, writeModelEndpoint, + writeProviderCredential, } from "./app-model.js"; -import { hasDecisionKey, writeDecisionKey } from "./decision-keystore.js"; /** - * The decision curator's API key. A secret like `apiKey`, but it lives in its - * own 0600 file (`decision-keystore.ts`), not Pi's `auth.json`: the decision - * model and the chat model can point at different providers, so their - * credentials are two secrets, not one. It is grouped under "Decision curation" - * beside the four file-backed rows that configure the same feature, and — like - * every secret here — its value never leaves this module's callers' sight. + * The decision curator's API key. A secret like `apiKey`, and like it stored + * in Pi's `auth.json` — under the `typesafe` provider, which is what the + * classifier model declares and therefore the id Pi's own auth resolution + * looks the key up by. The decision model and the chat model stay separate + * logins (different provider ids in the same file), and the value never + * leaves this module's callers' sight. Grouped under "Decision curation" + * beside the four file-backed rows that configure the same feature. */ export const DECISION_KEY_ID = "decisionKey"; +/** The provider id Pi resolves the decision key under. */ +const DECISION_PROVIDER = "typesafe"; + /** * The semantics between the panel and the stores. * @@ -254,20 +258,30 @@ export function configDumpEntries(options: ConfigServiceOptions): ConfigDump { }); } - // The decision key, last: a secret that lives in neither store above. Its - // value is structurally empty like `apiKey`, and `secretPresent` says whether - // one can be read from env or the 0600 file. `applies: restart` because the - // curator reads it once when the agent's session is built. + // The decision key, last: a secret in Pi's own auth store, under the + // provider id the classifier model declares. Its value is structurally + // empty like `apiKey`, and `secretPresent` says whether one can be read. + // `overridden` means "the env fallback is what this run uses" — Pi resolves + // a stored credential first and consults `TYPESAFE_API_KEY` only when + // nothing is stored, so an env var beside a stored key governs nothing and + // must not be reported as if it did. `applies: restart` because the + // curator's classify calls resolve auth at request time, but a live session + // already logged the resolution it started with. entries.push({ id: DECISION_KEY_ID, label: "Decision model API key", group: "Decision curation", - description: "The secret for a decision model that needs one. Leave empty for a keyless local replica.", + description: + "The secret for a decision model that needs one. A keyless local replica needs any placeholder here. Empty clears it.", kind: "secret", value: "", applies: "restart", - overridden: overriddenEnv("SQUID_DECISION_KEY"), - ...(hasDecisionKey({ env: options.env }) ? { secretPresent: true } : {}), + overridden: + overriddenEnv("TYPESAFE_API_KEY") && + !hasReadableCredential(options.agentDir, DECISION_PROVIDER), + ...(hasReadableCredential(options.agentDir, DECISION_PROVIDER) + ? { secretPresent: true } + : {}), }); return { ok: true, entries }; @@ -289,26 +303,33 @@ export function applyConfigSet( } /** - * Writes (or clears) the decision key to its own 0600 file. Never the Squid - * config file. Empty clears it — unlike `apiKey`, a keyless local replica is a - * supported deployment, so an empty field is a legal "no key needed", not a - * refusal. Always `restart`: the curator reads the key when the agent session - * is built, and a live session already holds the old one. + * Writes (or clears) the decision key into Pi's `auth.json` under the + * `typesafe` provider — the id the classifier model declares, so Pi's own + * request-time auth resolution finds it. Never the Squid config file. Empty + * clears it — unlike `apiKey`, a keyless local replica is a supported + * deployment, so an empty field is a legal "no key needed", not a refusal. + * Always `restart`: a live session already holds the resolution it started + * with. */ function applyDecisionKeySet( options: ConfigServiceOptions, value: string, ): ConfigSetResult { - // Env wins over the file at read time, so writing the file while an env var - // overrides it would save a value the run never uses. Say so rather than - // write a key that silently does nothing. - if (options.env.SQUID_DECISION_KEY !== undefined) { + // Pi resolves a stored credential before the env fallback, so writing while + // nothing is stored and TYPESAFE_API_KEY is set would save a key the run + // never consults. Say so rather than write a key that silently does + // nothing — the same refusal the old env-first keystore owed, inverted to + // match the precedence the store actually has. + if ( + options.env.TYPESAFE_API_KEY !== undefined && + !hasReadableCredential(options.agentDir, DECISION_PROVIDER) + ) { return { ok: false, - error: "SQUID_DECISION_KEY is set in the environment and overrides this; unset it to save a key here.", + error: "TYPESAFE_API_KEY is set in the environment and used because nothing is stored; unset it to save a key here.", }; } - writeDecisionKey(value); + writeProviderCredential(options.agentDir, DECISION_PROVIDER, value.trim()); return { ok: true, applies: "restart" }; } diff --git a/src/decision-curator-extension.ts b/src/decision-curator-extension.ts index 946d145..8240707 100644 --- a/src/decision-curator-extension.ts +++ b/src/decision-curator-extension.ts @@ -17,7 +17,6 @@ import { } from "./jev-curator/config.js"; import { fingerprintUnit, groupIntoUnits, type Unit } from "./jev-curator/units.js"; import { JudgmentCheckpoint } from "./jev-curator/checkpoint.js"; -import { resolveDecisionKey } from "./decision-keystore.js"; /** * The decision curator: a headless inline extension that trims the resident @@ -34,7 +33,7 @@ import { resolveDecisionKey } from "./decision-keystore.js"; * The decision call goes through Pi's own classifier transport * (`ctx.modelRegistry.classify` on the `typesafe-system-one` API) — the same * `/v1/systemone` endpoint the vendored HTTP client used, with Pi owning the - * wire, the bearer, and the timeout. Three things stay Squid's: + * wire, the bearer, and the timeout. Two things stay Squid's: * - **No TUI.** The resident agent is headless; diagnostics go to the * injected `log` callback, on the same channel every other Squid sensor's * do. @@ -42,13 +41,17 @@ import { resolveDecisionKey } from "./decision-keystore.js"; * env (config file under process env) by `resolveCuratorConfig`, not read * from `process.env` here. That keeps the one contract this repo enforces — * resolvers read the merged env — unbroken. - * - **Injected key.** The decision key comes from `decision-keystore.ts` (env - * or the 0600 file) and is passed per-request, never Pi's `auth.json`: the - * decision model and the chat model are separate logins. * - * Fail-open is total: no key on a keyless endpoint is fine, any classifier - * error keeps everything, and a throw is caught by Pi's context runner and - * logged. The agent never loses a turn to this. + * The credential is not Squid's at all: the model declares `provider: + * "typesafe"`, so Pi resolves the key itself from its own store — the + * `typesafe` entry in `auth.json`, or `TYPESAFE_API_KEY` when nothing is + * stored. A keyless replica still needs *some* value there (Pi's transport + * refuses to post without a key); any placeholder works, and a run with none + * fails open. + * + * Fail-open is total: a missing key, any classifier error, and a throw all + * keep everything, and Pi's context runner catches what escapes. The agent + * never loses a turn to this. */ /** Off unless the enum says otherwise; unset ("") is on, per the schema. */ @@ -129,7 +132,6 @@ async function classifyNewUnits( newUnits: Unit[], model: JevClassifierModel, cfg: CuratorConfig, - apiKey: string, registry: ModelRegistry, signal: AbortSignal | undefined, ): Promise { @@ -181,9 +183,11 @@ async function classifyNewUnits( state: { transcript: selected.map((i) => lines[i]).join("\n\n") }, questions, }, - // The options object is exactOptionalPropertyTypes-clean: `signal` is - // spread only when the session actually has one. - { apiKey, timeoutMs: JEV_TIMEOUT_MS, maxRetries: 0, ...(signal ? { signal } : {}) }, + // No `apiKey`: the model declares `provider: "typesafe"`, so Pi resolves + // the credential itself from its own store. The options object is + // exactOptionalPropertyTypes-clean: `signal` is spread only when the + // session actually has one. + { timeoutMs: JEV_TIMEOUT_MS, maxRetries: 0, ...(signal ? { signal } : {}) }, ); if (result.stopReason !== "stop") return null; @@ -273,16 +277,10 @@ export function decisionCuratorExtension( const queryDue = contextCalls % cfg.frequency === 0; if (newUnits.length > 0 && queryDue) { - // Keyless endpoints (a local Kev with auth off) are supported: the - // transport refuses to post without a key, so a placeholder bearer - // is sent, which such a replica ignores. Only a paid endpoint that - // requires a real key will 401 — and that path fails open like - // every other error. const decision = await classifyNewUnits( newUnits.map((n) => n.unit), model, cfg, - resolveDecisionKey({ env: options.env }) ?? "keyless", ctx.modelRegistry, ctx.signal, ); diff --git a/src/decision-keystore.ts b/src/decision-keystore.ts deleted file mode 100644 index dcf6927..0000000 --- a/src/decision-keystore.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs"; -import { homedir } from "node:os"; -import { dirname, join } from "node:path"; - -/** - * Where the decision model's API key lives, and how it is read. - * - * The decision curator (see `decision-curator-extension.ts`) calls a Jev-shaped - * endpoint to prune the agent's context. That endpoint may be the paid hosted - * Jev, a free self-hosted OpenJev/Kev, or nothing at all — and its credential - * is a *separate* secret from the model that does the thinking. It is separate - * on purpose: the two can point at different providers (a local Kev needs no - * key while the chat model does), so folding the decision key into Pi's - * `auth.json` under the chat provider would tie two logins that have no reason - * to be one. - * - * Resolution order, highest wins: - * 1. `SQUID_DECISION_KEY` in the (merged) env — the front-door override, and - * what a headless run or CI sets. - * 2. the key persisted at `~/.pi/squid-decision.json` by a prior GUI save. - * - * The file is plaintext, mode 0600 — the same convention Pi uses for - * `~/.pi/agent/auth.json` and `models.json`. It is never the Squid config file: - * a credential must not sit in a file the settings form dumps back to the panel - * verbatim. The value is written by `applyConfigSet` through - * `writeDecisionKey`, read here, and — like Pi's own credentials — never read - * back out for display; `hasDecisionKey` answers only yes or no. - * - * An empty key is not a key: a self-hosted endpoint that needs no auth still - * gets a `Bearer` header, so `resolveDecisionKey` returns `""` unset as a - * usable empty string only when the endpoint is keyless. In practice the - * curator sends whatever this returns; a keyless replica ignores it. - */ - -export function decisionKeyFile(home: string = homedir()): string { - return join(home, ".pi", "squid-decision.json"); -} - -interface DecisionKeyStore { - /** The (merged) environment; `SQUID_DECISION_KEY` wins when set non-empty. */ - readonly env: Record; - /** Override the persisted-file location; production uses the home default. */ - readonly file?: string; -} - -/** - * The decision key, or `undefined` when none is set anywhere. `undefined` is - * the curator's signal to send an empty bearer (fine for keyless replicas) — it - * is never an error here, because a missing key is a supported deployment, not - * a misconfiguration. - */ -export function resolveDecisionKey(store: DecisionKeyStore): string | undefined { - const fromEnv = store.env.SQUID_DECISION_KEY; - if (fromEnv !== undefined && fromEnv.length > 0) return fromEnv; - return loadPersistedDecisionKey(store.file); -} - -function loadPersistedDecisionKey(file: string | undefined): string | undefined { - const path = file ?? decisionKeyFile(); - try { - if (!existsSync(path)) return undefined; - const raw = JSON.parse(readFileSync(path, "utf8")) as { apiKey?: unknown }; - return typeof raw.apiKey === "string" && raw.apiKey.length > 0 ? raw.apiKey : undefined; - } catch { - // Unreadable or malformed reads as "no key", the same way Pi's own - // credential read fails closed: the curator then runs keyless or fails - // open, never crashes the session. - return undefined; - } -} - -/** - * Whether a decision key can be read — env or file — without exposing any of - * it. Mirrors `hasReadableCredential` in `app-model.ts`: the settings form uses - * it to tell an empty field that means "keep the stored key" from one that - * means "none is set", and it never reveals the value. - */ -export function hasDecisionKey(store: DecisionKeyStore): boolean { - return resolveDecisionKey(store) !== undefined; -} - -/** - * Persists a decision key to the 0600 file. Called only by the settings service - * when the GUI submits the "Decision model API key" field; the value never - * touches the Squid config file. An empty string clears it, mirroring how an - * empty settings field means unset everywhere else. - */ -export function writeDecisionKey(key: string, file: string = decisionKeyFile()): void { - mkdirSync(dirname(file), { recursive: true }); - const trimmed = key.trim(); - const body = trimmed.length === 0 ? {} : { apiKey: trimmed }; - writeFileSync(file, JSON.stringify(body, null, 2) + "\n", { mode: 0o600 }); - try { - chmodSync(file, 0o600); - } catch { - // Best effort: a filesystem that cannot chmod (some Windows mounts) still - // gets the file, and the key is no more exposed than Pi's own auth.json on - // the same mount. - } -} diff --git a/src/jev-curator/README.md b/src/jev-curator/README.md index f885ca5..7b27d55 100644 --- a/src/jev-curator/README.md +++ b/src/jev-curator/README.md @@ -41,7 +41,8 @@ instead. bounds guards for `noUncheckedIndexedAccess`. - `checkpoint.ts` — verbatim. -Not vendored: `index.ts` (the TUI wiring), `keystore.ts` (Squid has its own — -see `../decision-keystore.ts`), `stats.ts`, `removed-context*.ts` (TUI dialog), -and `jev.ts` (the HTTP client — replaced by Pi's `classify`, which speaks the -same endpoint natively). +Not vendored: `index.ts` (the TUI wiring), `keystore.ts` (the credential is +Pi's own, resolved from `~/.pi/agent/auth.json` or `TYPESAFE_API_KEY` — +see `../decision-curator-extension.ts`), `stats.ts`, `removed-context*.ts` +(TUI dialog), and `jev.ts` (the HTTP client — replaced by Pi's `classify`, +which speaks the same endpoint natively). diff --git a/tests/config-service.test.ts b/tests/config-service.test.ts index e69d25a..17f9abe 100644 --- a/tests/config-service.test.ts +++ b/tests/config-service.test.ts @@ -13,6 +13,7 @@ import { } from "../src/config-service.js"; import { CONFIG_KEYS, configKeyById } from "../src/config-schema.js"; import { writeModelConfiguration } from "../src/app-model.js"; +import { readStoredCredential } from "@earendil-works/pi-coding-agent"; /** * The service's two stores are real files in a temp dir: the Squid config file @@ -432,3 +433,54 @@ describe("applyConfigSet on the endpoint keys", () => { rmSync(dir, { recursive: true, force: true }); }); }); + +describe("applyConfigSet on the decision key", () => { + // The decision key is Pi's own credential, stored under the `typesafe` + // provider the classifier model declares — written through the same + // read-modify-write as every other auth.json entry, and read back through + // Pi's own `readStoredCredential` so the test asserts what Pi will resolve, + // not a file shape Squid happens to write. + it("stores the key under the typesafe provider beside other providers' credentials", () => { + const dir = tempDir("decision-key"); + const opts = options(dir); + seedCredential(opts.agentDir, "bifrost"); + const outcome = applyConfigSet(opts, "decisionKey", ` ${API_KEY} `); + expect(outcome).toEqual({ ok: true, applies: "restart" }); + + expect(readStoredCredential("typesafe", join(opts.agentDir, "auth.json"))?.key).toBe(API_KEY); + // The chat provider's credential survives the write untouched. + expect(readStoredCredential("bifrost", join(opts.agentDir, "auth.json"))?.key).toBe(API_KEY); + // And the dump reports presence without ever carrying the value. + const dump = configDumpEntries(opts); + if (!dump.ok) throw new Error(dump.error); + expect(entryOf(dump, "decisionKey").secretPresent).toBe(true); + expect(JSON.stringify(dump.entries)).not.toContain(API_KEY); + rmSync(dir, { recursive: true, force: true }); + }); + + it("clears on empty, and refuses while TYPESAFE_API_KEY would govern", () => { + const dir = tempDir("decision-key"); + const opts = options(dir); + // Empty is a legal "no key needed" for a keyless replica, not a refusal: + // it clears the stored entry. + applyConfigSet(opts, "decisionKey", API_KEY); + expect(applyConfigSet(opts, "decisionKey", " ")).toEqual({ ok: true, applies: "restart" }); + expect(readStoredCredential("typesafe", join(opts.agentDir, "auth.json"))).toBeUndefined(); + + // Pi consults the env var only when nothing is stored, so with the env + // set and no stored key, a save would write a value the run never uses. + const envGoverns = options(dir, { env: { TYPESAFE_API_KEY: "from-env" } }); + const refused = applyConfigSet(envGoverns, "decisionKey", API_KEY); + expect(refused.ok).toBe(false); + if (refused.ok) return; + expect(refused.error).toContain("TYPESAFE_API_KEY"); + + // Once a key is stored, the env var governs nothing: the save goes + // through, and the dump must not claim the env is overriding it. + applyConfigSet(opts, "decisionKey", API_KEY); + const dump = configDumpEntries(envGoverns); + if (!dump.ok) throw new Error(dump.error); + expect(entryOf(dump, "decisionKey").overridden).toBe(false); + rmSync(dir, { recursive: true, force: true }); + }); +}); diff --git a/tests/config.test.ts b/tests/config.test.ts index f5185ac..c1d65fb 100644 --- a/tests/config.test.ts +++ b/tests/config.test.ts @@ -165,12 +165,6 @@ describe("config schema", () => { // read by `resolveConfiguredModel` -- a file-backed copy of it would be // the parallel store `app-model.ts` exists to prevent. ["PI_MODEL_ID", "a write-time default; the stored entry is the answer"], - // The decision curator's API key. A secret like the model `apiKey`: it - // lives in its own 0600 file (`decision-keystore.ts`), never the Squid - // config file, and the settings service offers it as the `decisionKey` - // secret row — so it is a configurable setting, just not a file-backed - // one, exactly like the three model rows in `MODEL_CONFIG_KEYS`. - ["SQUID_DECISION_KEY", "decision-model credential; own 0600 file, GUI secret row"], ]); const names = new Set(); diff --git a/tests/decision-curator.test.ts b/tests/decision-curator.test.ts index b7a6190..7e5ae27 100644 --- a/tests/decision-curator.test.ts +++ b/tests/decision-curator.test.ts @@ -68,7 +68,6 @@ describe("decisionCuratorExtension reducer", () => { model: { id: string; baseUrl: string; provider: string; api: string; type: string }; state: { transcript?: string }; questions: Record; - apiKey: string | undefined; timeoutMs: number | undefined; maxRetries: number | undefined; } @@ -114,7 +113,7 @@ describe("decisionCuratorExtension reducer", () => { const call = { model: model as ClassifyCall["model"], ...(context as { state: ClassifyCall["state"]; questions: ClassifyCall["questions"] }), - ...(options as Pick), + ...(options as Pick), }; calls.push(call); const answers: Record = {}; @@ -155,7 +154,6 @@ describe("decisionCuratorExtension reducer", () => { SQUID_DECISION_BASE_URL: "http://127.0.0.1:8009", SQUID_DECISION_MODEL: "kev-4b", SQUID_DECISION_THRESHOLD: "0.5", - SQUID_DECISION_KEY: "k", }, }); const { fire, calls } = captureContextHandler(ext, (call) => { @@ -188,9 +186,10 @@ describe("decisionCuratorExtension reducer", () => { expect(call.model.provider).toBe("typesafe"); expect(call.model.api).toBe("typesafe-system-one"); expect(call.model.type).toBe("classifier"); - // Options: injected key, the 15s timeout, and no retries — a slow - // endpoint must not stall the LLM call this sits ahead of. - expect(call.apiKey).toBe("k"); + // Options: no `apiKey` (Pi resolves the `typesafe` credential itself at + // request time), the 15s timeout, and no retries — a slow endpoint must + // not stall the LLM call this sits ahead of. + expect("apiKey" in call).toBe(false); expect(call.timeoutMs).toBe(15000); expect(call.maxRetries).toBe(0); // State is the JSON-object transcript; questions are bool-framed per unit. @@ -239,7 +238,7 @@ describe("decisionCuratorExtension reducer", () => { it("fails open (keeps everything, records nothing) when classify errors", async () => { const ext = decisionCuratorExtension({ - env: { SQUID_DECISION_KEY: "k" }, + env: {}, }); const { fire, calls } = captureContextHandler(ext, () => ({ stopReason: "error", @@ -258,13 +257,6 @@ describe("decisionCuratorExtension reducer", () => { expect(calls.length).toBe(2); }); - it("sends a placeholder key for a keyless endpoint", async () => { - const ext = decisionCuratorExtension({ env: {} }); - const { fire, calls } = captureContextHandler(ext); - for (let i = 0; i < 5; i++) await fire([userMessage("zero"), userMessage("one"), userMessage("two")], 9000); - expect(calls[0]?.apiKey).toBe("keyless"); - }); - it("caps the state at the newest units that fit the budget", async () => { const ext = decisionCuratorExtension({ env: {} }); let questionCount = 0; diff --git a/tests/decision-keystore.test.ts b/tests/decision-keystore.test.ts deleted file mode 100644 index af9b04b..0000000 --- a/tests/decision-keystore.test.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { describe, expect, it } from "bun:test"; -import { chmodSync, existsSync, mkdtempSync, rmSync, statSync, writeFileSync } from "node:fs"; -import { tmpdir } from "node:os"; -import { join } from "node:path"; -import { - hasDecisionKey, - resolveDecisionKey, - writeDecisionKey, -} from "../src/decision-keystore.js"; - -/** - * The decision key never lands in the Squid config file — it lives in its own - * 0600 file, or comes straight from the env. These tests pin both the - * resolution order (env wins) and the file's mode, because a credential file - * that is world-readable is the one regression worth failing loudly on. - */ - -function tempDir(): string { - return mkdtempSync(join(tmpdir(), "squid-decision-key-")); -} - -describe("resolveDecisionKey", () => { - it("prefers a non-empty SQUID_DECISION_KEY over the file", () => { - const dir = tempDir(); - const file = join(dir, "squid-decision.json"); - writeDecisionKey("from-file", file); - expect(resolveDecisionKey({ env: { SQUID_DECISION_KEY: "from-env" }, file })).toBe("from-env"); - rmSync(dir, { recursive: true, force: true }); - }); - - it("falls back to the persisted file when the env is unset or empty", () => { - const dir = tempDir(); - const file = join(dir, "squid-decision.json"); - writeDecisionKey("from-file", file); - expect(resolveDecisionKey({ env: {}, file })).toBe("from-file"); - // An empty env var is not a key — it must not shadow the stored one, or a - // shell that exported `SQUID_DECISION_KEY=` would silently disable the key. - expect(resolveDecisionKey({ env: { SQUID_DECISION_KEY: "" }, file })).toBe("from-file"); - rmSync(dir, { recursive: true, force: true }); - }); - - it("returns undefined when nothing is set anywhere", () => { - const dir = tempDir(); - const file = join(dir, "squid-decision.json"); - expect(resolveDecisionKey({ env: {}, file })).toBeUndefined(); - rmSync(dir, { recursive: true, force: true }); - }); - - it("treats a malformed file as no key rather than throwing", () => { - const dir = tempDir(); - const file = join(dir, "squid-decision.json"); - writeFileSync(file, "{not json", "utf8"); - expect(resolveDecisionKey({ env: {}, file })).toBeUndefined(); - rmSync(dir, { recursive: true, force: true }); - }); -}); - -describe("writeDecisionKey", () => { - it("writes the key 0600 and reads back through resolve", () => { - const dir = tempDir(); - const file = join(dir, "squid-decision.json"); - writeDecisionKey(" sk-decision-123 ", file); - // Trimmed on write, so a pasted trailing newline is not part of the bearer. - expect(resolveDecisionKey({ env: {}, file })).toBe("sk-decision-123"); - // 0600: owner-only. A decision credential is no more exposed than Pi's own. - expect(statSync(file).mode & 0o777).toBe(0o600); - rmSync(dir, { recursive: true, force: true }); - }); - - it("clears the key when given an empty string", () => { - const dir = tempDir(); - const file = join(dir, "squid-decision.json"); - writeDecisionKey("sk-x", file); - expect(hasDecisionKey({ env: {}, file })).toBe(true); - writeDecisionKey(" ", file); - // A keyless local replica is a supported deployment: clearing must leave a - // readable "no key", not a broken file. - expect(hasDecisionKey({ env: {}, file })).toBe(false); - expect(existsSync(file)).toBe(true); - rmSync(dir, { recursive: true, force: true }); - }); -}); - -describe("hasDecisionKey", () => { - it("answers yes for env, yes for file, no for neither — never the value", () => { - const dir = tempDir(); - const file = join(dir, "squid-decision.json"); - expect(hasDecisionKey({ env: {}, file })).toBe(false); - expect(hasDecisionKey({ env: { SQUID_DECISION_KEY: "k" }, file })).toBe(true); - writeDecisionKey("k2", file); - expect(hasDecisionKey({ env: {}, file })).toBe(true); - // Guard against a chmod-less filesystem silently leaving a wider mode: the - // write still succeeds and the key still reads. - chmodSync(file, 0o600); - rmSync(dir, { recursive: true, force: true }); - }); -}); From 4892ef47b68bbcf73dc5acad9fd63bfd8bc52c21 Mon Sep 17 00:00:00 2001 From: Shangxin Date: Mon, 12 Oct 2026 08:18:55 +0000 Subject: [PATCH 5/5] refactor: the decision curator rides the chat model's own provider MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One provider for chat and decisions, entirely through Pi's native machinery: the classifier model declares the chat provider, so Pi's request-time auth resolves the credential the run already has. The extension registers Pi's own typesafe-system-one classifier transport onto the chat provider at session start via the public registerProvider API — the same pattern Pi's llama extension uses — so no Squid-side wire code, typesafe provider entry, or decisionKey row remains. The endpoint stays its own setting (a gateway can route /v1/systemone elsewhere; a local replica is the free option) but defaults to the chat provider's own base URL, read from Pi's models.json. Co-Authored-By: Claude Code --- README.md | 25 ++++---- bun.lock | 1 + package.json | 1 + src/config-service.ts | 77 ------------------------ src/decision-curator-extension.ts | 90 +++++++++++++++++++--------- src/jev-curator/README.md | 7 ++- src/jev-curator/config.ts | 1 - src/watch-session.ts | 27 +++++++-- tests/config-service.test.ts | 69 +++------------------ tests/decision-curator.test.ts | 99 ++++++++++++++++++++++++------- tests/watch-session.test.ts | 11 +--- 11 files changed, 188 insertions(+), 220 deletions(-) diff --git a/README.md b/README.md index b551819..d1d51a5 100644 --- a/README.md +++ b/README.md @@ -210,19 +210,20 @@ view, not the record. The curator is configured through four settings that all appear in the panel's settings form under **Decision curation** and all read from the merged env, so -either an environment variable or the GUI works. The decision model's -credential is not one of them: it is Pi's own, stored under the `typesafe` -provider in `~/.pi/agent/auth.json` (a stored key wins) or `TYPESAFE_API_KEY` -(consulted only when nothing is stored) — the same resolution Pi uses for -every provider, with no Squid-side parallel store. +either an environment variable or the GUI works. The decision model has no +provider, credential, or login of its own: it declares the *chat* model's +provider, so Pi resolves the one credential the run already has — the same +`auth.json` entry the chat model's requests carry, with no second key anywhere. +The extension registers Pi's own `typesafe-system-one` classifier transport +onto that provider at session start, so even a models.json-only provider +learns to speak the `/v1/systemone` wire. ```bash -# Free, local: run kev (or openjev) and point Squid at it. Pi's transport -# refuses to post without a key, so a keyless replica still needs *some* -# value stored — any placeholder works (GUI row or TYPESAFE_API_KEY). +# Free, local: run kev (or openjev) and point Squid at it. The decision call +# carries the chat provider's key; a keyless local replica answers without +# checking it, so nothing extra needs to be set. SQUID_DECISION_BASE_URL=http://127.0.0.1:8009 \ SQUID_DECISION_MODEL=kev-4b \ -TYPESAFE_API_KEY=placeholder \ bun run start # Turn it off entirely (the switch, not a variable, is the front door): @@ -232,14 +233,10 @@ SQUID_DECISION_CURATOR=off bun run start | Setting (`SQUID_*`) | Config id | What it does | | --- | --- | --- | | `SQUID_DECISION_CURATOR` | `decisionCuration` | `on`/`off`. Unset is on; fails open to a no-op when no endpoint is reachable. | -| `SQUID_DECISION_BASE_URL` | `decisionCuratorBaseUrl` | The `/v1/systemone` endpoint. Hosted Jev by default; a local replica costs nothing. | +| `SQUID_DECISION_BASE_URL` | `decisionCuratorBaseUrl` | The `/v1/systemone` endpoint. Defaults to the chat provider's own base URL; a local replica costs nothing. | | `SQUID_DECISION_MODEL` | `decisionCuratorModel` | Model id: `jev-latest`, `openjev`, `kev-4b`, … | | `SQUID_DECISION_THRESHOLD` | `decisionCuratorThreshold` | Keep threshold `0`–`1`; higher trims more. | -The panel's **Decision model API key** row (config id `decisionKey`) writes -that `typesafe` credential: empty clears it, and the row is the front door — -`TYPESAFE_API_KEY` is the rescue-when-headless fallback, per this repo's rule. - ### Capture and the watch loop - `src/activity-source.ts` — the source contract every capture adapter implements. diff --git a/bun.lock b/bun.lock index a8b92d4..352dc83 100644 --- a/bun.lock +++ b/bun.lock @@ -5,6 +5,7 @@ "": { "name": "squid-desktop-assistant", "dependencies": { + "@earendil-works/pi-ai": "1.1.0", "@earendil-works/pi-coding-agent": "1.1.0", "@modelcontextprotocol/sdk": "1.32.1", "shell-quote": "^1.12.0", diff --git a/package.json b/package.json index 31a7662..327cc87 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.tests.json" }, "dependencies": { + "@earendil-works/pi-ai": "1.1.0", "@earendil-works/pi-coding-agent": "1.1.0", "@modelcontextprotocol/sdk": "1.32.1", "shell-quote": "^1.12.0", diff --git a/src/config-service.ts b/src/config-service.ts index 51b726e..43d79a8 100644 --- a/src/config-service.ts +++ b/src/config-service.ts @@ -11,23 +11,8 @@ import { readModelEntry, writeModelConfiguration, writeModelEndpoint, - writeProviderCredential, } from "./app-model.js"; -/** - * The decision curator's API key. A secret like `apiKey`, and like it stored - * in Pi's `auth.json` — under the `typesafe` provider, which is what the - * classifier model declares and therefore the id Pi's own auth resolution - * looks the key up by. The decision model and the chat model stay separate - * logins (different provider ids in the same file), and the value never - * leaves this module's callers' sight. Grouped under "Decision curation" - * beside the four file-backed rows that configure the same feature. - */ -export const DECISION_KEY_ID = "decisionKey"; - -/** The provider id Pi resolves the decision key under. */ -const DECISION_PROVIDER = "typesafe"; - /** * The semantics between the panel and the stores. * @@ -176,10 +161,6 @@ export function isModelConfigKey(id: string): boolean { return MODEL_CONFIG_KEYS.some((key) => key.id === id); } -export function isDecisionKeyId(id: string): boolean { - return id === DECISION_KEY_ID; -} - export interface ConfigServiceOptions { /** Where the Squid config file lives; undefined disables file-backed sets. */ readonly configPath: string | undefined; @@ -258,32 +239,6 @@ export function configDumpEntries(options: ConfigServiceOptions): ConfigDump { }); } - // The decision key, last: a secret in Pi's own auth store, under the - // provider id the classifier model declares. Its value is structurally - // empty like `apiKey`, and `secretPresent` says whether one can be read. - // `overridden` means "the env fallback is what this run uses" — Pi resolves - // a stored credential first and consults `TYPESAFE_API_KEY` only when - // nothing is stored, so an env var beside a stored key governs nothing and - // must not be reported as if it did. `applies: restart` because the - // curator's classify calls resolve auth at request time, but a live session - // already logged the resolution it started with. - entries.push({ - id: DECISION_KEY_ID, - label: "Decision model API key", - group: "Decision curation", - description: - "The secret for a decision model that needs one. A keyless local replica needs any placeholder here. Empty clears it.", - kind: "secret", - value: "", - applies: "restart", - overridden: - overriddenEnv("TYPESAFE_API_KEY") && - !hasReadableCredential(options.agentDir, DECISION_PROVIDER), - ...(hasReadableCredential(options.agentDir, DECISION_PROVIDER) - ? { secretPresent: true } - : {}), - }); - return { ok: true, entries }; } @@ -298,41 +253,9 @@ export function applyConfigSet( value: string, ): ConfigSetResult { if (isModelConfigKey(id)) return applyModelSet(options, id, value); - if (isDecisionKeyId(id)) return applyDecisionKeySet(options, value); return applyFileSet(options, id, value); } -/** - * Writes (or clears) the decision key into Pi's `auth.json` under the - * `typesafe` provider — the id the classifier model declares, so Pi's own - * request-time auth resolution finds it. Never the Squid config file. Empty - * clears it — unlike `apiKey`, a keyless local replica is a supported - * deployment, so an empty field is a legal "no key needed", not a refusal. - * Always `restart`: a live session already holds the resolution it started - * with. - */ -function applyDecisionKeySet( - options: ConfigServiceOptions, - value: string, -): ConfigSetResult { - // Pi resolves a stored credential before the env fallback, so writing while - // nothing is stored and TYPESAFE_API_KEY is set would save a key the run - // never consults. Say so rather than write a key that silently does - // nothing — the same refusal the old env-first keystore owed, inverted to - // match the precedence the store actually has. - if ( - options.env.TYPESAFE_API_KEY !== undefined && - !hasReadableCredential(options.agentDir, DECISION_PROVIDER) - ) { - return { - ok: false, - error: "TYPESAFE_API_KEY is set in the environment and used because nothing is stored; unset it to save a key here.", - }; - } - writeProviderCredential(options.agentDir, DECISION_PROVIDER, value.trim()); - return { ok: true, applies: "restart" }; -} - function applyFileSet( options: ConfigServiceOptions, id: string, diff --git a/src/decision-curator-extension.ts b/src/decision-curator-extension.ts index 8240707..dc22416 100644 --- a/src/decision-curator-extension.ts +++ b/src/decision-curator-extension.ts @@ -1,3 +1,4 @@ +import { typesafeSystemOneApi } from "@earendil-works/pi-ai/api/typesafe-system-one.lazy"; import { estimateTokens, type ContextEvent, @@ -5,7 +6,6 @@ import { type ModelRegistry, } from "@earendil-works/pi-coding-agent"; import { - DEFAULT_BASE_URL, DEFAULT_FREQUENCY, DEFAULT_MIN_TOKENS, DEFAULT_MODEL, @@ -42,12 +42,13 @@ import { JudgmentCheckpoint } from "./jev-curator/checkpoint.js"; * from `process.env` here. That keeps the one contract this repo enforces — * resolvers read the merged env — unbroken. * - * The credential is not Squid's at all: the model declares `provider: - * "typesafe"`, so Pi resolves the key itself from its own store — the - * `typesafe` entry in `auth.json`, or `TYPESAFE_API_KEY` when nothing is - * stored. A keyless replica still needs *some* value there (Pi's transport - * refuses to post without a key); any placeholder works, and a run with none - * fails open. + * The decision model is not a separate login: it declares the *chat* model's + * provider, so Pi resolves the one credential the run already has — the same + * `auth.json` entry the chat model's requests carry, with no second key + * anywhere. The endpoint stays its own setting (a gateway can route + * `/v1/systemone` to a different server than chat) but defaults to the chat + * provider's own base URL, so a run that set nothing sends the decision call + * where it sends every other call, under the same key. * * Fail-open is total: a missing key, any classifier error, and a throw all * keep everything, and Pi's context runner catches what escapes. The agent @@ -60,14 +61,20 @@ export function decisionCuratorEnabled(env: Record): } /** - * Builds the `CuratorConfig` from the merged env. Every value has a schema - * default, so a run that set nothing gets the hosted-Jev defaults and a run - * that set only the endpoint keeps the rest. + * Builds the `CuratorConfig` from the merged env. `defaultBaseUrl` is the + * chat provider's own base URL, so a run that set nothing sends the decision + * call where it sends chat — one provider, one endpoint, one key. An explicit + * `SQUID_DECISION_BASE_URL` still overrides it (an endpoint is not a + * provider: a gateway can serve `/v1/systemone` from elsewhere, and a local + * replica is the free option). Every other value has a schema default. */ -export function resolveCuratorConfig(env: Record): CuratorConfig { +export function resolveCuratorConfig( + env: Record, + defaultBaseUrl: string, +): CuratorConfig { const threshold = Number.parseFloat(env.SQUID_DECISION_THRESHOLD ?? ""); return { - baseUrl: (env.SQUID_DECISION_BASE_URL || DEFAULT_BASE_URL).replace(/\/+$/, ""), + baseUrl: decisionEndpoint(env.SQUID_DECISION_BASE_URL, defaultBaseUrl), model: env.SQUID_DECISION_MODEL || DEFAULT_MODEL, threshold: Number.isFinite(threshold) ? Math.min(1, Math.max(0, threshold)) @@ -77,19 +84,31 @@ export function resolveCuratorConfig(env: Record): C }; } +/** + * The base the classifier transport appends `systemone` to, so it must end + * in `/v1`. Both the chat provider's URL and a hand-entered replica base may + * already carry it, so strip one trailing `/v1` before adding it back — + * never twice. + */ +function decisionEndpoint(override: string | undefined, fallback: string): string { + const base = (override || fallback).replace(/\/+$/, "").replace(/\/v1$/, ""); + return `${base}/v1`; +} + /** * Pi-ai's `ClassifierModel` is not re-exported through pi-coding-agent, so the - * entry is built structurally: the same fields as Pi's `typesafe` catalog entry - * for `jev-latest`, pointed at the configured endpoint. `baseUrl` gets `/v1` - * because the transport appends `systemone` to it, so the wire URL stays - * `{baseUrl}/v1/systemone` — the endpoint OpenJev and Kev replicas serve. + * entry is built structurally: the same fields as Pi's catalog classifiers, + * pointed at the configured endpoint. The provider is the chat model's own — + * Pi's request-time auth then resolves the credential the chat model already + * uses, and `baseUrl` carries `/v1` because the transport appends `systemone` + * to it, so the wire URL is `{baseUrl}/systemone`. */ interface JevClassifierModel { readonly type: "classifier"; readonly id: string; readonly name: string; readonly api: "typesafe-system-one"; - readonly provider: "typesafe"; + readonly provider: string; readonly baseUrl: string; readonly input: ("text" | "image")[]; readonly cost: { input: number; output: number; cacheRead: number; cacheWrite: number }; @@ -183,10 +202,10 @@ async function classifyNewUnits( state: { transcript: selected.map((i) => lines[i]).join("\n\n") }, questions, }, - // No `apiKey`: the model declares `provider: "typesafe"`, so Pi resolves - // the credential itself from its own store. The options object is - // exactOptionalPropertyTypes-clean: `signal` is spread only when the - // session actually has one. + // No `apiKey`: the model declares the chat provider, so Pi resolves the + // credential the chat model already uses from its own store. The options + // object is exactOptionalPropertyTypes-clean: `signal` is spread only when + // the session actually has one. { timeoutMs: JEV_TIMEOUT_MS, maxRetries: 0, ...(signal ? { signal } : {}) }, ); if (result.stopReason !== "stop") return null; @@ -202,8 +221,16 @@ async function classifyNewUnits( } export interface DecisionCuratorOptions { - /** The merged env (config file under process env), for config + key. */ + /** The merged env (config file under process env), for config. */ readonly env: Record; + /** + * The chat model's provider — the one the decision model declares, so the + * decision call carries the same credential chat already uses. There is no + * decision-provider setting on purpose: the two are one provider. + */ + readonly provider: string; + /** The chat provider's base URL, the default the decision endpoint takes. */ + readonly defaultBaseUrl: string; /** One JSON line per curation pass; wired to the session's stderr logger. */ readonly log?: (line: string) => void; } @@ -217,14 +244,14 @@ export function decisionCuratorExtension( ): InlineExtension | undefined { if (!decisionCuratorEnabled(options.env)) return undefined; - const cfg = resolveCuratorConfig(options.env); + const cfg = resolveCuratorConfig(options.env, options.defaultBaseUrl); const model: JevClassifierModel = { type: "classifier", id: cfg.model, name: "Jev", api: "typesafe-system-one", - provider: "typesafe", - baseUrl: `${cfg.baseUrl}/v1`, + provider: options.provider, + baseUrl: cfg.baseUrl, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 64000, @@ -238,10 +265,19 @@ export function decisionCuratorExtension( hidden: true, factory: (pi) => { // Judgments are per-session so a resumed session never reuses a stale - // verdict about a unit whose meaning has since changed. - pi.on("session_start", () => { + // verdict about a unit whose meaning has since changed. The same event + // wires the classifier transport onto the chat provider — Pi's own + // `typesafe-system-one` implementation, registered through Pi's public + // provider API, so a models.json provider (which has no builtin + // classifiers) learns to speak the wire and every request thereafter + // resolves the provider's own credential at request time. Re-registering + // per session merges, leaving the chat models and auth untouched. + pi.on("session_start", (_event, ctx) => { checkpoint.clear(); contextCalls = 0; + ctx.modelRegistry.registerProvider(options.provider, { + classifiers: { "typesafe-system-one": typesafeSystemOneApi() }, + }); }); pi.on("context", async (event: ContextEvent, ctx) => { diff --git a/src/jev-curator/README.md b/src/jev-curator/README.md index 7b27d55..44bfb15 100644 --- a/src/jev-curator/README.md +++ b/src/jev-curator/README.md @@ -41,8 +41,9 @@ instead. bounds guards for `noUncheckedIndexedAccess`. - `checkpoint.ts` — verbatim. -Not vendored: `index.ts` (the TUI wiring), `keystore.ts` (the credential is -Pi's own, resolved from `~/.pi/agent/auth.json` or `TYPESAFE_API_KEY` — -see `../decision-curator-extension.ts`), `stats.ts`, `removed-context*.ts` +Not vendored: `index.ts` (the TUI wiring), `keystore.ts` (there is no +decision-specific credential — the classifier declares the chat model's +provider, so Pi resolves the chat provider's own key at request time; see +`../decision-curator-extension.ts`), `stats.ts`, `removed-context*.ts` (TUI dialog), and `jev.ts` (the HTTP client — replaced by Pi's `classify`, which speaks the same endpoint natively). diff --git a/src/jev-curator/config.ts b/src/jev-curator/config.ts index 7009e27..1d9e0a2 100644 --- a/src/jev-curator/config.ts +++ b/src/jev-curator/config.ts @@ -8,7 +8,6 @@ * `loadConfig()` (which read `process.env` directly) is deliberately gone. */ -export const DEFAULT_BASE_URL = "https://api.typesafe.ai"; export const DEFAULT_MODEL = "jev-latest"; export const DEFAULT_THRESHOLD = 0.5; export const DEFAULT_MIN_TOKENS = 8000; diff --git a/src/watch-session.ts b/src/watch-session.ts index d510fd1..b61c481 100644 --- a/src/watch-session.ts +++ b/src/watch-session.ts @@ -10,6 +10,7 @@ import { resolveAttentionWindow } from "./resolve-attention-window.js"; import { HOUR_MS, resolveRetention } from "./resolve-retention.js"; import { getAgentDir } from "@earendil-works/pi-coding-agent"; import { resolvePiModel } from "./pi-session-factory.js"; +import { readModelEntry } from "./app-model.js"; import { DEFAULT_BASE_URL, applyConfigSet, @@ -316,6 +317,12 @@ export async function startWatchSession( // exists to break. const agentDir = options.agentDir ?? getAgentDir(); + // The chat model's provider, one answer for every consumer that must name + // it — the settings service (which reads and writes Pi's own files) and the + // decision curator (which declares it, so the decision call carries the + // same credential chat already uses). + const modelProvider = options.modelProvider ?? resolvePiModel({ env }).provider; + /** * The settings service the panel talks to. Built once, after the env is * resolved and before the panel server wires its hooks; every read and write @@ -330,7 +337,7 @@ export async function startWatchSession( // file-backed `modelProvider` reaches this the same way every resolver's // setting does. Reading `process.env` instead would make the row writable // and inert. - provider: options.modelProvider ?? resolvePiModel({ env }).provider, + provider: modelProvider, defaultModelId: options.defaultModelId ?? resolvePiModel({ env }).modelId, defaultBaseUrl: options.defaultBaseUrl ?? DEFAULT_BASE_URL, agentLive: () => agent !== undefined, @@ -370,10 +377,20 @@ export async function startWatchSession( // The decision curator trims what the agent reads before each thought, // asking a fast Jev-shaped model which context a future turn will need. It // reads the merged env (so a config-file or GUI setting reaches it the same - // way every resolver's does) and its own key store, and it is undefined - // when turned off — spread away, no placeholder. Everything about it fails - // open, so it never costs the agent a turn. - const decisionCurator = decisionCuratorExtension({ env, log: logError }); + // way every resolver's does), declares the chat model's provider — so the + // decision call rides the same credential chat already uses, with no + // second key anywhere — and is undefined when turned off, spread away, no + // placeholder. Everything about it fails open, so it never costs the + // agent a turn. + const decisionCurator = decisionCuratorExtension({ + env, + provider: modelProvider, + defaultBaseUrl: + readModelEntry(agentDir, modelProvider)?.baseUrl + ?? options.defaultBaseUrl + ?? DEFAULT_BASE_URL, + log: logError, + }); return createResidentAgent({ systemPrompt: residentAgentSystemPrompt(), cwd: options.workingDirectory, diff --git a/tests/config-service.test.ts b/tests/config-service.test.ts index 17f9abe..081aee6 100644 --- a/tests/config-service.test.ts +++ b/tests/config-service.test.ts @@ -13,7 +13,6 @@ import { } from "../src/config-service.js"; import { CONFIG_KEYS, configKeyById } from "../src/config-schema.js"; import { writeModelConfiguration } from "../src/app-model.js"; -import { readStoredCredential } from "@earendil-works/pi-coding-agent"; /** * The service's two stores are real files in a temp dir: the Squid config file @@ -80,15 +79,13 @@ describe("MODEL_CONFIG_KEYS", () => { }); describe("configDumpEntries", () => { - it("lists the three model keys first, then every file key in schema order, then the decision key", () => { + it("lists the three model keys first, then every file key in schema order", () => { const dir = tempDir("dump"); const result = configDumpEntries(options(dir)); if (!result.ok) throw new Error(result.error); expect(result.entries.map((entry) => entry.id)).toEqual([ ...MODEL_CONFIG_KEYS.map((key) => key.id), ...CONFIG_KEYS.map((key) => key.id), - // The decision-model key: a secret in neither store above, dumped last. - "decisionKey", ]); rmSync(dir, { recursive: true, force: true }); }); @@ -135,16 +132,15 @@ describe("configDumpEntries", () => { it("carries a group and a description for every setting", () => { // The panel groups by what the wire tells it, so an entry that reached the // form without a group would be a row the user has to place themselves. The - // count is asserted too: the two tables plus the decision key are joined - // here, and a setting that silently stopped being dumped would otherwise - // still pass every field check below. + // count is asserted too: the two tables are joined here, and a setting + // that silently stopped being dumped would otherwise still pass every + // field check below. const dir = tempDir("dump"); const result = configDumpEntries(options(dir)); if (!result.ok) throw new Error(result.error); - // Model rows + file-backed rows + the one decision-key secret that lives in - // neither store. Counted from the schema, not a literal, so adding a - // setting is not a test failure. - expect(result.entries).toHaveLength(MODEL_CONFIG_KEYS.length + CONFIG_KEYS.length + 1); + // Model rows + file-backed rows. Counted from the schema, not a literal, + // so adding a setting is not a test failure. + expect(result.entries).toHaveLength(MODEL_CONFIG_KEYS.length + CONFIG_KEYS.length); for (const entry of result.entries) { expect(entry.group.length).toBeGreaterThan(0); expect(entry.group).not.toBe("Advanced"); @@ -433,54 +429,3 @@ describe("applyConfigSet on the endpoint keys", () => { rmSync(dir, { recursive: true, force: true }); }); }); - -describe("applyConfigSet on the decision key", () => { - // The decision key is Pi's own credential, stored under the `typesafe` - // provider the classifier model declares — written through the same - // read-modify-write as every other auth.json entry, and read back through - // Pi's own `readStoredCredential` so the test asserts what Pi will resolve, - // not a file shape Squid happens to write. - it("stores the key under the typesafe provider beside other providers' credentials", () => { - const dir = tempDir("decision-key"); - const opts = options(dir); - seedCredential(opts.agentDir, "bifrost"); - const outcome = applyConfigSet(opts, "decisionKey", ` ${API_KEY} `); - expect(outcome).toEqual({ ok: true, applies: "restart" }); - - expect(readStoredCredential("typesafe", join(opts.agentDir, "auth.json"))?.key).toBe(API_KEY); - // The chat provider's credential survives the write untouched. - expect(readStoredCredential("bifrost", join(opts.agentDir, "auth.json"))?.key).toBe(API_KEY); - // And the dump reports presence without ever carrying the value. - const dump = configDumpEntries(opts); - if (!dump.ok) throw new Error(dump.error); - expect(entryOf(dump, "decisionKey").secretPresent).toBe(true); - expect(JSON.stringify(dump.entries)).not.toContain(API_KEY); - rmSync(dir, { recursive: true, force: true }); - }); - - it("clears on empty, and refuses while TYPESAFE_API_KEY would govern", () => { - const dir = tempDir("decision-key"); - const opts = options(dir); - // Empty is a legal "no key needed" for a keyless replica, not a refusal: - // it clears the stored entry. - applyConfigSet(opts, "decisionKey", API_KEY); - expect(applyConfigSet(opts, "decisionKey", " ")).toEqual({ ok: true, applies: "restart" }); - expect(readStoredCredential("typesafe", join(opts.agentDir, "auth.json"))).toBeUndefined(); - - // Pi consults the env var only when nothing is stored, so with the env - // set and no stored key, a save would write a value the run never uses. - const envGoverns = options(dir, { env: { TYPESAFE_API_KEY: "from-env" } }); - const refused = applyConfigSet(envGoverns, "decisionKey", API_KEY); - expect(refused.ok).toBe(false); - if (refused.ok) return; - expect(refused.error).toContain("TYPESAFE_API_KEY"); - - // Once a key is stored, the env var governs nothing: the save goes - // through, and the dump must not claim the env is overriding it. - applyConfigSet(opts, "decisionKey", API_KEY); - const dump = configDumpEntries(envGoverns); - if (!dump.ok) throw new Error(dump.error); - expect(entryOf(dump, "decisionKey").overridden).toBe(false); - rmSync(dir, { recursive: true, force: true }); - }); -}); diff --git a/tests/decision-curator.test.ts b/tests/decision-curator.test.ts index 7e5ae27..4a0deb5 100644 --- a/tests/decision-curator.test.ts +++ b/tests/decision-curator.test.ts @@ -6,7 +6,7 @@ import { resolveCuratorConfig, } from "../src/decision-curator-extension.js"; import { groupIntoUnits } from "../src/jev-curator/units.js"; -import { DEFAULT_BASE_URL, DEFAULT_MODEL } from "../src/jev-curator/config.js"; +import { DEFAULT_MODEL } from "../src/jev-curator/config.js"; type AgentMessage = ContextEvent["messages"][number]; @@ -38,27 +38,30 @@ describe("decisionCuratorEnabled", () => { }); describe("resolveCuratorConfig", () => { - it("defaults to hosted Jev and clamps a bad threshold", () => { - const cfg = resolveCuratorConfig({}); - expect(cfg.baseUrl).toBe(DEFAULT_BASE_URL); + it("defaults the endpoint to the chat provider's base URL and clamps a bad threshold", () => { + const cfg = resolveCuratorConfig({}, "https://chat.example/v1"); + expect(cfg.baseUrl).toBe("https://chat.example/v1"); expect(cfg.model).toBe(DEFAULT_MODEL); expect(cfg.threshold).toBe(0.5); }); - it("reads a self-hosted endpoint and model from the merged env, trimming trailing slashes", () => { - const cfg = resolveCuratorConfig({ - SQUID_DECISION_BASE_URL: "http://127.0.0.1:8009/", - SQUID_DECISION_MODEL: "kev-4b", - SQUID_DECISION_THRESHOLD: "0.8", - }); - expect(cfg.baseUrl).toBe("http://127.0.0.1:8009"); + it("reads a self-hosted endpoint and model from the merged env, never doubling /v1", () => { + const cfg = resolveCuratorConfig( + { + SQUID_DECISION_BASE_URL: "http://127.0.0.1:8009/", + SQUID_DECISION_MODEL: "kev-4b", + SQUID_DECISION_THRESHOLD: "0.8", + }, + "https://chat.example/v1", + ); + expect(cfg.baseUrl).toBe("http://127.0.0.1:8009/v1"); expect(cfg.model).toBe("kev-4b"); expect(cfg.threshold).toBe(0.8); }); it("clamps an out-of-range threshold into [0,1]", () => { - expect(resolveCuratorConfig({ SQUID_DECISION_THRESHOLD: "5" }).threshold).toBe(1); - expect(resolveCuratorConfig({ SQUID_DECISION_THRESHOLD: "-1" }).threshold).toBe(0); + expect(resolveCuratorConfig({ SQUID_DECISION_THRESHOLD: "5" }, "https://x/v1").threshold).toBe(1); + expect(resolveCuratorConfig({ SQUID_DECISION_THRESHOLD: "-1" }, "https://x/v1").threshold).toBe(0); }); }); @@ -84,16 +87,20 @@ describe("decisionCuratorExtension reducer", () => { ) => { stopReason: string; answers?: Record }, ): { calls: ClassifyCall[]; + registeredOn: string[] | undefined; fire: (messages: AgentMessage[], usageTokens?: number) => Promise; sessionStart: () => void; } { if (ext === undefined) throw new Error("extension was disabled"); const factory = typeof ext === "function" ? ext : ext.factory; const calls: ClassifyCall[] = []; + let registeredOn: string[] | undefined; let contextHandler: | ((event: ContextEvent, ctx: unknown) => Promise<{ messages: AgentMessage[] } | void>) | undefined; - let sessionStartHandler: (() => void) | undefined; + let sessionStartHandler: + | ((event: unknown, ctx: unknown) => void) + | undefined; const pi = { on: (event: string, handler: unknown) => { if (event === "context") contextHandler = handler as typeof contextHandler; @@ -103,6 +110,7 @@ describe("decisionCuratorExtension reducer", () => { void factory(pi); return { calls, + get registeredOn() { return registeredOn; }, fire: async (messages, usageTokens) => { if (contextHandler === undefined) throw new Error("no context handler registered"); const ctx = { @@ -129,16 +137,50 @@ describe("decisionCuratorExtension reducer", () => { const result = await contextHandler({ type: "context", messages }, ctx); return result?.messages ?? messages; }, - sessionStart: () => sessionStartHandler?.(), + sessionStart: () => sessionStartHandler?.( + {}, + { + modelRegistry: { + registerProvider: (provider: string, config: unknown) => { + const classifiers = (config as { classifiers?: Record }).classifiers; + registeredOn = [provider, ...Object.keys(classifiers ?? {})]; + }, + }, + }, + ), }; } it("is disabled (undefined) when the switch is off", () => { - expect(decisionCuratorExtension({ env: { SQUID_DECISION_CURATOR: "off" } })).toBeUndefined(); + expect(decisionCuratorExtension({ + env: { SQUID_DECISION_CURATOR: "off" }, + provider: "bifrost", + defaultBaseUrl: "https://chat.example/v1", + })).toBeUndefined(); + }); + + it("registers the classifier transport on the chat provider at session start", () => { + const ext = decisionCuratorExtension({ + env: {}, + provider: "bifrost", + defaultBaseUrl: "https://chat.example/v1", + }); + const { registeredOn } = captureContextHandler(ext); + // The wire implementation is Pi's own, registered through Pi's public + // provider API onto the chat provider — so the classifier rides the chat + // credential with no second login anywhere. + expect(registeredOn).toBeUndefined(); + const h = captureContextHandler(ext); + h.sessionStart(); + expect(h.registeredOn).toEqual(["bifrost", "typesafe-system-one"]); }); it("passes context through untouched below the min-token floor", async () => { - const ext = decisionCuratorExtension({ env: {} }); + const ext = decisionCuratorExtension({ + env: {}, + provider: "bifrost", + defaultBaseUrl: "https://chat.example/v1", + }); const { fire, calls } = captureContextHandler(ext); const messages = [userMessage("sys"), assistantMessage("a"), userMessage("b")]; // Tiny context (well under 8000 tokens): the reducer returns nothing, so @@ -155,6 +197,8 @@ describe("decisionCuratorExtension reducer", () => { SQUID_DECISION_MODEL: "kev-4b", SQUID_DECISION_THRESHOLD: "0.5", }, + provider: "bifrost", + defaultBaseUrl: "https://chat.example/v1", }); const { fire, calls } = captureContextHandler(ext, (call) => { // Drop every unit: probability 0 < 0.5. @@ -179,15 +223,16 @@ describe("decisionCuratorExtension reducer", () => { // Exactly one classify call happened, on the query turn. expect(calls.length).toBe(1); const call = calls[0]!; - // The model points at the configured replica: baseUrl + /v1, the - // configured id, Pi's typesafe-system-one classifier shape. + // The model points at the configured replica: base + /v1 (the transport + // appends `systemone`), the configured id, and — the point of the unification + // — the chat provider, so Pi resolves the chat credential for the call. expect(call.model.baseUrl).toBe("http://127.0.0.1:8009/v1"); expect(call.model.id).toBe("kev-4b"); - expect(call.model.provider).toBe("typesafe"); + expect(call.model.provider).toBe("bifrost"); expect(call.model.api).toBe("typesafe-system-one"); expect(call.model.type).toBe("classifier"); - // Options: no `apiKey` (Pi resolves the `typesafe` credential itself at - // request time), the 15s timeout, and no retries — a slow endpoint must + // Options: no `apiKey` (Pi resolves the chat provider's credential itself + // at request time), the 15s timeout, and no retries — a slow endpoint must // not stall the LLM call this sits ahead of. expect("apiKey" in call).toBe(false); expect(call.timeoutMs).toBe(15000); @@ -207,6 +252,8 @@ describe("decisionCuratorExtension reducer", () => { it("keeps units at or above threshold and drops those below", async () => { const ext = decisionCuratorExtension({ env: { SQUID_DECISION_THRESHOLD: "0.5" }, + provider: "bifrost", + defaultBaseUrl: "https://chat.example/v1", }); const { fire } = captureContextHandler(ext, (call) => { const answers: Record = {}; @@ -239,6 +286,8 @@ describe("decisionCuratorExtension reducer", () => { it("fails open (keeps everything, records nothing) when classify errors", async () => { const ext = decisionCuratorExtension({ env: {}, + provider: "bifrost", + defaultBaseUrl: "https://chat.example/v1", }); const { fire, calls } = captureContextHandler(ext, () => ({ stopReason: "error", @@ -258,7 +307,11 @@ describe("decisionCuratorExtension reducer", () => { }); it("caps the state at the newest units that fit the budget", async () => { - const ext = decisionCuratorExtension({ env: {} }); + const ext = decisionCuratorExtension({ + env: {}, + provider: "bifrost", + defaultBaseUrl: "https://chat.example/v1", + }); let questionCount = 0; const { fire } = captureContextHandler(ext, (call) => { questionCount = Object.keys(call.questions).length; diff --git a/tests/watch-session.test.ts b/tests/watch-session.test.ts index 04aeccc..0137f94 100644 --- a/tests/watch-session.test.ts +++ b/tests/watch-session.test.ts @@ -1903,26 +1903,22 @@ describe("the control panel on a watch session", () => { try { h.client.send(JSON.stringify({ type: "config_get" })); const configs = await awaitConfigEnd(h.client); - // Three model rows lead, then every file-backed row in schema order, - // then the decision-model key (a secret in neither store) — the form - // IS the dump, so the panel never hardcodes a key name. + // Three model rows lead, then every file-backed row in schema order — + // the form IS the dump, so the panel never hardcodes a key name. // // Counted from the schema, not written as a literal: the assertion worth // keeping is "the dump is exactly the tables in order", and a hard-coded // total made adding a setting look like a test failure. - const expectedCount = MODEL_CONFIG_KEYS.length + CONFIG_KEYS.length + 1; + const expectedCount = MODEL_CONFIG_KEYS.length + CONFIG_KEYS.length; expect(configs).toHaveLength(expectedCount); expect(configs.map((row) => row.id)).toEqual([ ...MODEL_CONFIG_KEYS.map((key) => key.id), ...CONFIG_KEYS.map((key) => key.id), - "decisionKey", ]); const baseUrlRow = configs[0]; if (baseUrlRow === undefined) throw new Error("the dump is missing the modelBaseUrl row"); const apiKeyRow = configs[2]; if (apiKeyRow === undefined) throw new Error("the dump is missing the apiKey row"); - const lastRow = configs[expectedCount - 1]; - if (lastRow === undefined) throw new Error("the dump is missing its final row"); expect(baseUrlRow.id).toBe("modelBaseUrl"); expect(baseUrlRow.kind).toBe("text"); // The dump shows what the FILE holds — empty on a fresh agentDir. The @@ -1932,7 +1928,6 @@ describe("the control panel on a watch session", () => { expect(apiKeyRow.kind).toBe("secret"); // The stored value is nothing the panel may hold; the dump strips it. expect(apiKeyRow.value).toBe(""); - expect(lastRow.id).toBe("decisionKey"); const end = h.client.lines.map(parsePanelLine).find((p) => p.type === "config_end"); expect(end?.count).toBe(expectedCount); } finally {