:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(desktop): upgrade pi runtime to 0.84.1 (#81303)
Jonathan Mieloob031b595ee37
diff --git a/products/desktop/packages/agent/pnpm-lock.yaml b/products/desktop/packages/agent/pnpm-lock.yamlindex ee3575e2f2a0..b0194c7540b8 100644--- a/products/desktop/packages/agent/pnpm-lock.yaml+++ b/products/desktop/packages/agent/pnpm-lock.yaml@@ -7,14 +7,14 @@ settings:catalogs:default:'@earendil-works/pi-agent-core':- specifier: 0.82.1- version: 0.82.1+ specifier: 0.84.1+ version: 0.84.1'@earendil-works/pi-ai':- specifier: 0.82.1- version: 0.82.1+ specifier: 0.84.1+ version: 0.84.1'@earendil-works/pi-coding-agent':- specifier: 0.82.1- version: 0.82.1+ specifier: 0.84.1+ version: 0.84.1overrides:'@modelcontextprotocol/sdk': 1.29.0@@ -39,13 +39,13 @@ importers:version: 0.109.0([email protected])'@earendil-works/pi-agent-core':specifier: 'catalog:'- version: 0.82.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@earendil-works/pi-ai':specifier: 'catalog:'- version: 0.82.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@earendil-works/pi-coding-agent':specifier: 'catalog:'- version: 0.82.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@hono/node-server':specifier: 1.19.13version: 1.19.13([email protected])@@ -153,25 +153,21 @@ packages:resolution: {integrity: sha512-VuIGXsLGK/aqSQ0tTBqqPVNzjefWS5SWnK8mlYyQitT4s5UDzHXJm0UZBTGxRtlcS0e2+QAHKwbGBCq1ZKSXjg==}cpu: [arm64]os: [linux]- libc: [musl]'@anthropic-ai/[email protected]':resolution: {integrity: sha512-pWhQgCtAft4EGM4Zn24HRad1a/k2u6oA+2uM/KCdjehfKtooDiHfMNd1yzXY/n9AEBWP0RHB2Vz3mJ30X2pVAg==}cpu: [arm64]os: [linux]- libc: [glibc]'@anthropic-ai/[email protected]':resolution: {integrity: sha512-3Tuy7XhD4UIKE4A4RPmKJcbL7Q/3dcB1hEWQt2lKP7c/DlixeEv+tRzvpnFZKhFX2hy0tkBk3QjkozSAacMC/w==}cpu: [x64]os: [linux]- libc: [musl]'@anthropic-ai/[email protected]':resolution: {integrity: sha512-AUccrbdcv4Hy/GteP/gYLjG/zDP+fe2BFtDMctEfRFVz40DazYDcOyW1+nIgSTQtxf5jSTAVVf3cNuXB2CZwlw==}cpu: [x64]os: [linux]- libc: [glibc]'@anthropic-ai/[email protected]':resolution: {integrity: sha512-Wx8uiAKBenDuL8lWQmrqnX5ppljaH5unQ9cKiCz2/9Kgf09dgnrwbX8n/FhndCZR8PmYw539eWwYVrSVc/bl6w==}@@ -310,22 +306,34 @@ packages:resolution: {integrity: sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==}engines: {node: '>=6.9.0'}- '@earendil-works/[email protected]':- resolution: {integrity: sha512-Z3kloziJIE2dmrisRckZX8zDca/gIv9/YdFAzeoqpHiLV2wsni6bL4hInNSjVKLbqT+4kqLIkph2JQLKvSepjg==}+ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-evyzXYWCLQGmcaBYHlmSku02r8qoN4SGI60GZABo6iV+H+nqX+P9ud8fEZ4GmRq9mUSREvvfX+w9dA9ThF9C6w==}engines: {node: '>=22.19.0'}- '@earendil-works/[email protected]':- resolution: {integrity: sha512-3WFYRhEp3lQB3444EhPMBcM7zSaEUE3eJgHOR7s4081NLqbw/FsWilIKWXSua0Gv3sRr7m9xMidR3pPDE7jI/A==}+ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-wMsAdJMxuNri08vLqTyYVI201DQQezGhPSTkzYsHdw5dYX3rCNwEmSvpaAwhi7ELKI/2tE/CEgSWg/6iRxSgdQ==}engines: {node: '>=22.19.0'}hasBin: true- '@earendil-works/[email protected]':- resolution: {integrity: sha512-zbkAhoIuDPMF3pKuja0ajZabrMWU29FUMV9A/XMXT/XC1yXs5xt6t6t13GogQFsDrDqbFP4DkZQO1w8rWRAzYA==}+ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-/V5hGHE4Zq+jG0GtwIB9PyBUOGd6gBLZ7lkQYFKchKnxYHeH3rmWC5xw4kpnZKKBuBuFTdLVbU9vEjlAGMMb2A==}+ engines: {node: '>=22.19.0'}++ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-ncAqFrG+iybuPGOhMiZoEHkEzTpJgz3guYD32pD+M7ucc0WeHmauP6wa7qwP8V/KWvsZDVNa5XGsdZ7fkC7w7A==}engines: {node: '>=22.19.0'}hasBin: true- '@earendil-works/[email protected]':- resolution: {integrity: sha512-9yN8hALfKaxZq7n54EMxqhFCWnMi6LHkraMJ/1YjHiATq75XrI6XDMVppn9EDtiK7Fks8hUe1SDXUTrIvwRWfQ==}+ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-Ox1pciyeSPGEEUcxvR0/dJcrY7C6hrEGA8y71rOsvSIUlXN1Cbp/be/eoL71OGDBk5O97TeQPfWN6Ju/2Ehjww==}+ engines: {node: '>=22.19.0'}++ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-180/xGJtsq7IoR3p9EKWjRd0e9M4DkxInhlo9xyD7prDC7Qrhqq+nhvwrW0lFjPfXcEI2FSHmGCSyvSJE9GsaQ==}+ engines: {node: '>=22.19.0'}++ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-udeXFbgEhJ6JiB0uguwNVNkDy2FENfmtQwPcY+/iJ8GWeq18wkal1tKqa5YyeH0IqtX1vG0cGh8zfSYzyzVuLA==}engines: {node: '>=22.19.0'}'@emnapi/[email protected]':@@ -590,35 +598,30 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-AGuJdgKsmJdm4Pych7kv3sqe591ERRaAHW3xjLooiFzn8J+PxUyof++7YZrB5Y5tpnTO+K18Og3taj2NpluCRQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [musl]'@mariozechner/[email protected]':resolution: {integrity: sha512-DXBEAiuMpk7dhS1a9NzNxVAFi1vaKoPu7rQNgY8LIDLGrK3lnIp3nT10DUum+PKVJoJppIP+NAA8IZe4DMNDPw==}engines: {node: '>= 10'}cpu: [riscv64]os: [linux]- libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-WORrMLd6EpElEME7JRKfSaY34nW1P5LbdgK5YNCS1ncG2LqmITsSMEJ8nh2mpvxb3TxqbOOKgY7k9eMJYlW9Mw==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-/DHn+1DrfL6oRaPPWXaOKvonFFrni666fxd+zFqiQEfvBH0tsHVWjq9iqBk0oDp0qaPA72lIMy5BptxISBEhZQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [musl]'@mariozechner/[email protected]':resolution: {integrity: sha512-O5FHD3ErkMwMhNzAfu3ggy0ug4z7btZuoQgwwxlzPrwV2bxlD6WDpqBY4NCgICAgZdDKdp+loUEKVAVt8aYnhQ==}@@ -876,42 +879,36 @@ packages:engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]- libc: [glibc]'@rolldown/[email protected]':resolution: {integrity: sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]- libc: [musl]'@rolldown/[email protected]':resolution: {integrity: sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ppc64]os: [linux]- libc: [glibc]'@rolldown/[email protected]':resolution: {integrity: sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [s390x]os: [linux]- libc: [glibc]'@rolldown/[email protected]':resolution: {integrity: sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]- libc: [glibc]'@rolldown/[email protected]':resolution: {integrity: sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]- libc: [musl]'@rolldown/[email protected]':resolution: {integrity: sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==}@@ -973,67 +970,56 @@ packages:resolution: {integrity: sha512-k9oD15soC/Ln6d2Wv/JOFPzZXIAIFLp6B+i14KhxAfnq76ajt0EhYc5YPeX6W1xJkAdItcVT+JhKl1QZh44/qw==}cpu: [arm]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-vTNlKq+N6CK/8UktsrFuc+/7NlEYVxgaEgRXVUVK258Z5ymho29skzW1sutgYjqNnquGwVUObAaxae8rZ6YMhg==}cpu: [arm]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-RGrFLWgMhSxRs/EWJMIFM1O5Mzuz3Xy3/mnxJp/5cVhZ2XoCAxJnmNsEyeMJtpK+wu0FJFWz+QF4mjCA7AUQ3w==}cpu: [arm64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-kASyvfBEWYPEwe0Qv4nfu6pNkITLTb32p4yTgzFCocHnJLAHs+9LjUu9ONIhvfT/5lv4YS5muBHyuV84epBo/A==}cpu: [arm64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-JiuKcp2teLJwQ7vkJ95EwESWkNRFJD7TQgYmCnrPtlu50b4XvT5MOmurWNrCj3IFdyjBQ5p9vnrX4JM6I8OE7g==}cpu: [loong64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-EoGSa8nd6d3T7zLuqdojxC20oBfNT8nexBbB/rkxgKj5T5vhpAQKKnD+h3UkoMuTyXkP5jTjK/ccNRmQrPNDuw==}cpu: [ppc64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-4s+Wped2IHXHPnAEbIB0YWBv7SDohqxobiiPA1FIWZpX+w9o2i4LezzH/NkFUl8LRci/8udci6cLq+jJQlh+0g==}cpu: [riscv64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-68k2g7+0vs2u9CxDt5ktXTngsxOQkSEV/xBbwlqYcUrAVh6P9EgMZvFsnHy4SEiUl46Xf0IObWVbMvPrr2gw8A==}cpu: [riscv64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-VYsFMpULAz87ZW6BVYw3I6sWesGpsP9OPcyKe8ofdg9LHxSbRMd7zrVrr5xi/3kMZtpWL/wC+UIJWJYVX5uTKg==}cpu: [s390x]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-3EhFi1FU6YL8HTUJZ51imGJWEX//ajQPfqWLI3BQq4TlvHy4X0MOr5q3D2Zof/ka0d5FNdPwZXm3Yyib/UEd+w==}cpu: [x64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-eoROhjcc6HbZCJr+tvVT8X4fW3/5g/WkGvvmwz/88sDtSJzO7r/blvoBDgISDiCjDRZmHpwud7h+6Q9JxFwq1Q==}cpu: [x64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-OueLAWgrNSPGAdUdIjSWXw+u/02BRTcnfw9PN41D2vq/JSEPnJnVuBgw18VkN8wcd4fjUs+jFHVM4t9+kBSNLw==}@@ -1551,6 +1537,10 @@ packages:resolution: {integrity: sha512-Chq1s4CY7jmh8gO2qvLIJyfCDIN+EHLFW/9iShnp1z8FjBQMoodWP1kDC36VAMXXIvAjj4ARa7ntfAV2BrjsbA==}engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0}+ resolution: {integrity: sha512-XcJEP5dDC8liHBh52mlLjU18fNvu1ckFsu0QpIG3+APZ270fsj9wxpiA6cOURmbUEuoMVgjbC2+UYgTdCqqgzA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}engines: {node: '>= 0.4'}@@ -1686,28 +1676,24 @@ packages:engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]- libc: [glibc]resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==}engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]- libc: [musl]resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]- libc: [glibc]resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]- libc: [musl]resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==}@@ -2221,8 +2207,8 @@ packages:resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==}engines: {node: '>= 0.6'}- resolution: {integrity: sha512-pZ0aQPmMmXoUvSbeuWf/Hzsc+avNw/Zd6VeE8CFgkVGWyuHPJvqeJJDeJqLve+K70LvjYIoleGcoJHPT17cWoA==}+ resolution: {integrity: sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg==}resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}@@ -2235,8 +2221,8 @@ packages:resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}- resolution: {integrity: sha512-xamtWoB1EshgjpmlXd7GGm2VfdDtw1+rD8uhry8pSNW3If6S8E0m2T2+orSKeZXEn/aPJMviCpDBA65WJt8zhg==}+ resolution: {integrity: sha512-aWZpUj7XoGonMClx4gdDRfgBjqeA+F473aDmROQQbM9n6PRfK/u1q/a0X4wMTgcHfT8H6fpbt98PFuDUwFg2YA==}engines: {node: '>=22.19.0'}@@ -2395,19 +2381,11 @@ packages:resolution: {integrity: sha512-N+d4UJSJbt/R3wqY7Coqs5pcV0aUj2j9IaQ3rNj9bVCLld8tTGKRa2USARjnvZJWVx1NDmQev8EknoczaOQDOA==}- resolution: {integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==}- peerDependencies:- zod: ^3.25 || ^4-resolution: {integrity: sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==}peerDependencies:zod: ^3.25.28 || ^4- resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}-resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==}@@ -2508,7 +2486,7 @@ snapshots:'@aws-sdk/types': 3.974.2'@smithy/core': 3.29.8'@smithy/fetch-http-handler': 5.6.10- '@smithy/node-http-handler': 4.7.3+ '@smithy/node-http-handler': 4.9.10'@smithy/types': 4.16.1tslib: 2.8.1@@ -2685,12 +2663,13 @@ snapshots:'@babel/[email protected]': {}- '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':+ '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':dependencies:- '@earendil-works/pi-ai': 0.82.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ '@earendil-works/pi-ai': 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ '@earendil-works/pi-telemetry': 0.84.1diff: 8.0.4ignore: 7.0.5- typebox: 1.1.38+ typebox: 1.3.7yaml: 2.9.0transitivePeerDependencies:- '@modelcontextprotocol/sdk'@@ -2700,10 +2679,11 @@ snapshots:- ws- zod- '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':+ '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':dependencies:'@anthropic-ai/sdk': 0.91.1([email protected])'@aws-sdk/client-bedrock-runtime': 3.1048.0+ '@earendil-works/pi-telemetry': 0.84.1'@google/genai': 1.52.0(@modelcontextprotocol/[email protected]([email protected]))'@mistralai/mistralai': 2.2.6(@opentelemetry/[email protected])'@opentelemetry/api': 1.9.0@@ -2712,7 +2692,7 @@ snapshots:https-proxy-agent: 7.0.6openai: 6.26.0([email protected])([email protected])partial-json: 0.1.7- typebox: 1.1.38+ typebox: 1.3.7transitivePeerDependencies:- '@modelcontextprotocol/sdk'- bufferutil@@ -2721,16 +2701,23 @@ snapshots:- ws- zod- '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':+ '@earendil-works/[email protected]':+ dependencies:+ '@earendil-works/pi-protocol': 0.84.1++ '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':dependencies:- '@earendil-works/pi-agent-core': 0.82.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])- '@earendil-works/pi-ai': 0.82.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])- '@earendil-works/pi-tui': 0.82.1+ '@earendil-works/pi-agent-core': 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ '@earendil-works/pi-ai': 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ '@earendil-works/pi-client': 0.84.1+ '@earendil-works/pi-protocol': 0.84.1+ '@earendil-works/pi-tui': 0.84.1'@silvia-odwyer/photon-node': 0.3.4chalk: 5.6.2cross-spawn: 7.0.6diff: 8.0.4glob: 13.0.6+ grok-mermaid: 0.2.2highlight.js: 10.7.3hosted-git-info: 9.0.3ignore: 7.0.5@@ -2738,8 +2725,8 @@ snapshots:minimatch: 10.2.5proper-lockfile: 4.1.2semver: 7.8.0- typebox: 1.1.38- undici: 8.5.0+ typebox: 1.3.7+ undici: 8.9.0yaml: 2.9.0optionalDependencies:'@mariozechner/clipboard': 0.3.9@@ -2751,7 +2738,13 @@ snapshots:- ws- zod- '@earendil-works/[email protected]':+ '@earendil-works/[email protected]':+ dependencies:+ typebox: 1.3.7++ '@earendil-works/[email protected]': {}++ '@earendil-works/[email protected]':dependencies:get-east-asian-width: 1.6.0marked: 18.0.5@@ -2966,8 +2959,8 @@ snapshots:dependencies:'@opentelemetry/semantic-conventions': 1.43.0ws: 8.21.1- zod: 3.25.76- zod-to-json-schema: 3.25.0([email protected])+ zod: 4.4.3+ zod-to-json-schema: 3.25.2([email protected])optionalDependencies:'@opentelemetry/api': 1.9.0transitivePeerDependencies:@@ -3826,6 +3819,8 @@ snapshots:+ [email protected]: {}+@@ -4492,7 +4487,7 @@ snapshots:media-typer: 1.1.0mime-types: 3.0.2- [email protected]: {}+ [email protected]: {}@@ -4500,7 +4495,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}@@ -4594,14 +4589,8 @@ snapshots:- dependencies:- zod: 3.25.76-dependencies:zod: 4.4.3- [email protected]: {}-diff --git a/products/desktop/packages/agent/src/pi/conversation/translatePiConversation.test.ts b/products/desktop/packages/agent/src/pi/conversation/translatePiConversation.test.tsindex f0f3e4d6b55f..ebe322b7e6f3 100644--- a/products/desktop/packages/agent/src/pi/conversation/translatePiConversation.test.ts+++ b/products/desktop/packages/agent/src/pi/conversation/translatePiConversation.test.ts@@ -45,14 +45,13 @@ describe("createPiConversationTranslator", () => {const translator = createPiConversationTranslator();const message = assistant([{ type: "text", text: "complete" }]);+ translator.translateEvent({ type: "message_start", message });const streamed = translator.translateEvent({type: "message_update",- message,assistantMessageEvent: {type: "text_delta",contentIndex: 0,delta: "complete",- partial: message,},});const ended = translator.translateEvent({ type: "message_end", message });@@ -67,35 +66,79 @@ describe("createPiConversationTranslator", () => {expect(ended).toEqual([]);});- it("does not repeat streamed content when assistant timestamps collide", () => {+ it("appends content missing from the streamed deltas at message_end", () => {const translator = createPiConversationTranslator();- const first = assistant([{ type: "text", text: "first" }]);- const second = assistant([{ type: "text", text: "second" }]);+ const message = assistant([{ type: "text", text: "complete" }]);+ translator.translateEvent({ type: "message_start", message });translator.translateEvent({type: "message_update",- message: first,assistantMessageEvent: {type: "text_delta",contentIndex: 0,- delta: "first",- partial: first,+ delta: "comp",},});- translator.translateEvent({ type: "message_end", message: first });++ expect(translator.translateEvent({ type: "message_end", message })).toEqual(+ [+ {+ type: "assistant_message_chunk",+ timestamp: 10,+ content: { type: "text", text: "lete" },+ },+ ],+ );+ });++ it("keeps unstreamed content when assistant timestamps collide", () => {+ const translator = createPiConversationTranslator();+ const first = assistant([{ type: "text", text: "first" }]);+ const second = assistant([{ type: "text", text: "second" }]);++ translator.translateEvent({ type: "message_start", message: first });translator.translateEvent({type: "message_update",- message: second,assistantMessageEvent: {type: "text_delta",contentIndex: 0,- delta: "second",- partial: second,+ delta: "first",},});+ translator.translateEvent({ type: "message_end", message: first });+ translator.translateEvent({ type: "message_start", message: second });expect(translator.translateEvent({ type: "message_end", message: second }),+ ).toEqual([+ {+ type: "assistant_message_chunk",+ timestamp: 10,+ content: { type: "text", text: "second" },+ },+ ]);+ });++ it("discards streamed state when the agent ends without message_end", () => {+ const translator = createPiConversationTranslator();+ const message = assistant([{ type: "text", text: "partial" }]);++ translator.translateEvent({ type: "message_start", message });+ translator.translateEvent({+ type: "agent_end",+ messages: [],+ willRetry: false,+ });++ expect(+ translator.translateEvent({+ type: "message_update",+ assistantMessageEvent: {+ type: "text_delta",+ contentIndex: 0,+ delta: "stale",+ },+ }),).toEqual([]);});@@ -163,15 +206,17 @@ describe("createPiConversationTranslator", () => {},]);const retriedMessage = assistant([{ type: "text", text: "Done" }]);+ translator.translateEvent({+ type: "message_start",+ message: retriedMessage,+ });expect(translator.translateEvent({type: "message_update",- message: retriedMessage,assistantMessageEvent: {type: "text_delta",contentIndex: 0,delta: "Done",- partial: retriedMessage,},}),).toEqual([@@ -581,14 +626,13 @@ describe("createPiConversationTranslator", () => {},]);+ translator.translateEvent({ type: "message_start", message });translator.translateEvent({type: "message_update",- message,assistantMessageEvent: {type: "text_delta",contentIndex: 0,delta: "running",- partial: message,},});diff --git a/products/desktop/packages/agent/src/pi/conversation/translatePiConversation.ts b/products/desktop/packages/agent/src/pi/conversation/translatePiConversation.tsindex ad025153a0bd..1f78bdc4c06a 100644--- a/products/desktop/packages/agent/src/pi/conversation/translatePiConversation.ts+++ b/products/desktop/packages/agent/src/pi/conversation/translatePiConversation.ts@@ -1,10 +1,10 @@import type { AssistantMessage, Message } from "@earendil-works/pi-ai";-import type { AgentSessionEvent } from "@earendil-works/pi-coding-agent";+import type { JsonAgentSessionEvent } from "@earendil-works/pi-coding-agent";import type { AgentConversationEvent } from "@posthog/shared";import { createPiMessageTranslator } from "./translatePiMessage";type AgentMessage = Extract<- AgentSessionEvent,+ JsonAgentSessionEvent,{ type: "message_end" }>["message"];@@ -100,18 +100,24 @@ export interface PiDirectBashResult {output: string;}+interface ActiveAssistantStream {+ timestamp: number;+ textByContentIndex: Map<number, string>;+ thinkingByContentIndex: Map<number, string>;+}+export interface PiConversationTranslator {beginDirectBash(command: string): AgentConversationEvent[];completeDirectBash(result: PiDirectBashResult): AgentConversationEvent[];failDirectBash(message: string): AgentConversationEvent[];translateHistoryMessage(message: AgentMessage): AgentConversationEvent[];- translateEvent(event: AgentSessionEvent): AgentConversationEvent[];+ translateEvent(event: JsonAgentSessionEvent): AgentConversationEvent[];}export function createPiConversationTranslator(): PiConversationTranslator {const messageTranslator = createPiMessageTranslator();- const streamedAssistantTimestamps = new Set<number>();let historyTurnActive = false;+ let activeAssistantStream: ActiveAssistantStream | undefined;let latestRuntimeTimestamp = 0;let latestConversationTimestamp = 0;let pendingRuntimeError: AgentConversationEvent | undefined;@@ -260,37 +266,119 @@ export function createPiConversationTranslator(): PiConversationTranslator {return events;}- function translateEvent(event: AgentSessionEvent): AgentConversationEvent[] {- if (event.type === "message_update") {- const update = event.assistantMessageEvent;+ function reconcileAssistantContent(+ message: AssistantMessage,+ events: AgentConversationEvent[],+ stream: ActiveAssistantStream,+ ): AgentConversationEvent[] {+ const textContentIndexes = message.content.flatMap((content, index) =>+ content.type === "text" ? [index] : [],+ );+ const thinkingContentIndexes = message.content.flatMap((content, index) =>+ content.type === "thinking" ? [index] : [],+ );+ const reconciled: AgentConversationEvent[] = [];+ let textIndex = 0;+ let thinkingIndex = 0;++ for (const translated of events) {+ let contentIndex: number | undefined;+ let streamed = "";++ if (translated.type === "assistant_message_chunk") {+ contentIndex = textContentIndexes[textIndex++];+ streamed = stream.textByContentIndex.get(contentIndex ?? -1) ?? "";+ } else if (translated.type === "assistant_thought_chunk") {+ contentIndex = thinkingContentIndexes[thinkingIndex++];+ streamed = stream.thinkingByContentIndex.get(contentIndex ?? -1) ?? "";+ } else {+ reconciled.push(translated);+ continue;+ }++ if (translated.content.type !== "text" || !streamed) {+ reconciled.push(translated);+ continue;+ }++ const finalText = translated.content.text;+ if (finalText === streamed) {+ continue;+ }+ if (!finalText.startsWith(streamed)) {+ continue;+ }++ reconciled.push({+ ...translated,+ content: { type: "text", text: finalText.slice(streamed.length) },+ });+ }++ return reconciled;+ }++ function translateEvent(+ event: JsonAgentSessionEvent,+ ): AgentConversationEvent[] {+ if (event.type === "message_start") {+ activeAssistantStream = undefined;+ if (event.message.role !== "assistant") {+ return [];+ }++ activeAssistantStream = {+ timestamp: event.message.timestamp,+ textByContentIndex: new Map(),+ thinkingByContentIndex: new Map(),+ };latestRuntimeTimestamp = Math.max(latestRuntimeTimestamp,- event.message.timestamp,+ activeAssistantStream.timestamp,);latestConversationTimestamp = Math.max(latestConversationTimestamp,- event.message.timestamp,+ activeAssistantStream.timestamp,);+ return [];+ }++ if (event.type === "message_update") {+ const stream = activeAssistantStream;+ if (!stream) {+ return [];+ }+ const update = event.assistantMessageEvent;if (update.type === "text_delta" && update.delta) {- streamedAssistantTimestamps.add(event.message.timestamp);+ const streamedText = stream.textByContentIndex.get(update.contentIndex);+ stream.textByContentIndex.set(+ update.contentIndex,+ `${streamedText ?? ""}${update.delta}`,+ );return [- ...completeRetry(event.message.timestamp),+ ...completeRetry(stream.timestamp),{type: "assistant_message_chunk",- timestamp: event.message.timestamp,+ timestamp: stream.timestamp,content: { type: "text", text: update.delta },},];}if (update.type === "thinking_delta" && update.delta) {- streamedAssistantTimestamps.add(event.message.timestamp);+ const streamedThinking = stream.thinkingByContentIndex.get(+ update.contentIndex,+ );+ stream.thinkingByContentIndex.set(+ update.contentIndex,+ `${streamedThinking ?? ""}${update.delta}`,+ );return [- ...completeRetry(event.message.timestamp),+ ...completeRetry(stream.timestamp),{type: "assistant_thought_chunk",- timestamp: event.message.timestamp,+ timestamp: stream.timestamp,content: { type: "text", text: update.delta },},];@@ -377,6 +465,13 @@ export function createPiConversationTranslator(): PiConversationTranslator {}if (event.type === "message_end") {+ const assistantStream =+ event.message.role === "assistant" &&+ activeAssistantStream?.timestamp === event.message.timestamp+ ? activeAssistantStream+ : undefined;+ activeAssistantStream = undefined;+latestRuntimeTimestamp = Math.max(latestRuntimeTimestamp,event.message.timestamp,@@ -401,21 +496,19 @@ export function createPiConversationTranslator(): PiConversationTranslator {const visibleEvents = events.filter((translated) => translated.type !== "runtime_error",);- if (- event.message.role !== "assistant" ||- !streamedAssistantTimestamps.has(event.message.timestamp)- ) {+ if (event.message.role !== "assistant" || !assistantStream) {return visibleEvents;}- return visibleEvents.filter(- (translated) =>- translated.type !== "assistant_message_chunk" &&- translated.type !== "assistant_thought_chunk",+ return reconcileAssistantContent(+ event.message,+ visibleEvents,+ assistantStream,);}if (event.type === "agent_end") {+ activeAssistantStream = undefined;const runtimeError = pendingRuntimeError;pendingRuntimeError = undefined;@@ -512,7 +605,7 @@ export function createPiConversationTranslator(): PiConversationTranslator {}if (event.type === "agent_settled") {- streamedAssistantTimestamps.clear();+ activeAssistantStream = undefined;const timestamp = Math.max(Date.now(), latestRuntimeTimestamp);const hadRuntimeActivity = latestRuntimeTimestamp > 0;diff --git a/products/desktop/packages/agent/src/pi/rpc-client.ts b/products/desktop/packages/agent/src/pi/rpc-client.tsindex 663eead80f9f..0e74dfd5ec0d 100644--- a/products/desktop/packages/agent/src/pi/rpc-client.ts+++ b/products/desktop/packages/agent/src/pi/rpc-client.ts@@ -4,7 +4,7 @@ import type { Writable } from "node:stream";import { StringDecoder } from "node:string_decoder";import { fileURLToPath } from "node:url";import {- type AgentSessionEvent,+ type JsonAgentSessionEvent,RpcClient,type RpcClientOptions,type RpcEventListener,@@ -23,7 +23,7 @@ import type {RpcExtensionUIResponse,} from "./types";-export type PiRpcEvent = AgentSessionEvent | PiExtensionEvent;+export type PiRpcEvent = JsonAgentSessionEvent | PiExtensionEvent;export type PiRuntimeExtension = "repository-tools" | "auto-publish";type PiRpcEventListener = (event: PiRpcEvent) => void;diff --git a/products/desktop/packages/agent/src/pi/rpc-transport.ts b/products/desktop/packages/agent/src/pi/rpc-transport.tsindex 0e826d8105b0..0def179819cf 100644--- a/products/desktop/packages/agent/src/pi/rpc-transport.ts+++ b/products/desktop/packages/agent/src/pi/rpc-transport.ts@@ -1,5 +1,5 @@import type {- AgentSessionEvent,+ JsonAgentSessionEvent,RpcClient,RpcCommand,RpcResponse,@@ -50,7 +50,7 @@ export function parsePiRpcResponse(value: unknown): RpcResponse {export interface PiRpcTransport {request(command: RpcCommand): Promise<unknown>;- onEvent?(listener: (event: AgentSessionEvent) => void): () => void;+ onEvent?(listener: (event: JsonAgentSessionEvent) => void): () => void;start?(): Promise<void>;stop?(): Promise<void>;}diff --git a/products/desktop/packages/agent/src/pi/runtime.test.ts b/products/desktop/packages/agent/src/pi/runtime.test.tsindex cf1b87cc50ba..cf219c0a8b93 100644--- a/products/desktop/packages/agent/src/pi/runtime.test.ts+++ b/products/desktop/packages/agent/src/pi/runtime.test.ts@@ -1,7 +1,6 @@import type { AssistantMessage, UserMessage } from "@earendil-works/pi-ai";-import type { AgentSessionEvent } from "@earendil-works/pi-coding-agent";import { describe, expect, it, vi } from "vitest";-import type { PiRpcClient } from "./rpc-client";+import type { PiRpcClient, PiRpcEvent } from "./rpc-client";import { PiRuntime } from "./runtime";function assistant(text: string): AssistantMessage {@@ -25,7 +24,7 @@ function assistant(text: string): AssistantMessage {}function createClient() {- let listener: (event: AgentSessionEvent) => void = () => {};+ let listener: (event: PiRpcEvent) => void = () => {};const send = vi.fn();const client = {onEvent: vi.fn((nextListener) => {@@ -39,7 +38,7 @@ function createClient() {return {client,- emit: (event: AgentSessionEvent) => listener(event),+ emit: (event: PiRpcEvent) => listener(event),send,};}@@ -257,13 +256,13 @@ describe("PiRuntime", () => {id: "extension-1",method: "notify",message: "Done",- } as unknown as AgentSessionEvent);+ });emit({type: "extension_error",extensionPath: "/extensions/example.ts",event: "tool_call",error: "boom",- } as unknown as AgentSessionEvent);+ });expect(extensionListener).toHaveBeenCalledTimes(2);expect(conversationListener).not.toHaveBeenCalled();diff --git a/products/desktop/packages/agent/src/pi/runtime.ts b/products/desktop/packages/agent/src/pi/runtime.tsindex 0b74607b7ad3..776913baa658 100644--- a/products/desktop/packages/agent/src/pi/runtime.ts+++ b/products/desktop/packages/agent/src/pi/runtime.ts@@ -1,5 +1,5 @@import type {- AgentSessionEvent,+ JsonAgentSessionEvent,RpcCommand,RpcResponse,} from "@earendil-works/pi-coding-agent";@@ -18,7 +18,7 @@ export class PiRuntime {private readonly translator: PiConversationTranslator;private readonly runtimeListeners = new Set<- (event: AgentSessionEvent) => void+ (event: JsonAgentSessionEvent) => void>();private readonly conversationListeners = new Set<(event: AgentConversationEvent) => void@@ -43,7 +43,7 @@ export class PiRuntime {return getPiRpcClientProcess(this.client);}- onRuntimeEvent(listener: (event: AgentSessionEvent) => void): () => void {+ onRuntimeEvent(listener: (event: JsonAgentSessionEvent) => void): () => void {this.runtimeListeners.add(listener);return () => this.runtimeListeners.delete(listener);}@@ -122,7 +122,7 @@ export class PiRuntime {}}- private handleEvent(event: AgentSessionEvent | PiExtensionEvent): void {+ private handleEvent(event: JsonAgentSessionEvent | PiExtensionEvent): void {if (event.type === "extension_ui_request" ||event.type === "extension_error"diff --git a/products/desktop/packages/harness/src/extensions/posthog-provider/oauth.ts b/products/desktop/packages/harness/src/extensions/posthog-provider/oauth.tsindex 94aa9c02a4c1..ddea55a49cfc 100644--- a/products/desktop/packages/harness/src/extensions/posthog-provider/oauth.ts+++ b/products/desktop/packages/harness/src/extensions/posthog-provider/oauth.ts@@ -78,13 +78,16 @@ function toCredentials(async function postToken(region: CloudRegion,body: Record<string, string>,+ signal?: AbortSignal,): Promise<OAuthTokenResponse> {const cloudUrl = getCloudUrlFromRegion(region);const response = await fetch(`${cloudUrl}/oauth/token`, {method: "POST",headers: { "Content-Type": "application/json" },body: JSON.stringify(body),- signal: AbortSignal.timeout(TOKEN_FETCH_TIMEOUT_MS),+ signal: signal+ ? AbortSignal.any([signal, AbortSignal.timeout(TOKEN_FETCH_TIMEOUT_MS)])+ : AbortSignal.timeout(TOKEN_FETCH_TIMEOUT_MS),});if (!response.ok) {const detail = await response.text().catch(() => "");@@ -248,13 +251,18 @@ export async function loginPosthog(export async function refreshPosthog(region: CloudRegion,credentials: OAuthCredentials,+ signal?: AbortSignal,): Promise<OAuthCredentials> {const effectiveRegion =(credentials.region as CloudRegion | undefined) ?? region;- const tokens = await postToken(effectiveRegion, {- grant_type: "refresh_token",- refresh_token: credentials.refresh,- client_id: getOauthClientIdFromRegion(effectiveRegion),- });+ const tokens = await postToken(+ effectiveRegion,+ {+ grant_type: "refresh_token",+ refresh_token: credentials.refresh,+ client_id: getOauthClientIdFromRegion(effectiveRegion),+ },+ signal,+ );return toCredentials(tokens, effectiveRegion);}diff --git a/products/desktop/packages/harness/src/extensions/posthog-provider/provider.test.ts b/products/desktop/packages/harness/src/extensions/posthog-provider/provider.test.tsindex 8eb16632df41..4cf7c0623b1e 100644--- a/products/desktop/packages/harness/src/extensions/posthog-provider/provider.test.ts+++ b/products/desktop/packages/harness/src/extensions/posthog-provider/provider.test.ts@@ -103,16 +103,24 @@ describe("buildPosthogProvider", () => {await config.oauth?.login(callbacks);expect(loginSpy).toHaveBeenCalledWith(callbacks, "eu");- await config.oauth?.refreshToken({- access: "old",- refresh: "old-r",- expires: 0,- });- expect(refreshSpy).toHaveBeenCalledWith("eu", {- access: "old",- refresh: "old-r",- expires: 0,- });+ const refreshSignal = new AbortController().signal;+ await config.oauth?.refreshToken(+ {+ access: "old",+ refresh: "old-r",+ expires: 0,+ },+ refreshSignal,+ );+ expect(refreshSpy).toHaveBeenCalledWith(+ "eu",+ {+ access: "old",+ refresh: "old-r",+ expires: 0,+ },+ refreshSignal,+ );loginSpy.mockRestore();refreshSpy.mockRestore();diff --git a/products/desktop/packages/harness/src/extensions/posthog-provider/provider.ts b/products/desktop/packages/harness/src/extensions/posthog-provider/provider.tsindex dc8deaf166e9..969f6c5d7ad1 100644--- a/products/desktop/packages/harness/src/extensions/posthog-provider/provider.ts+++ b/products/desktop/packages/harness/src/extensions/posthog-provider/provider.ts@@ -98,7 +98,8 @@ export function buildPosthogProvider(oauth: {name: "PostHog",login: (callbacks) => loginPosthog(callbacks, explicitRegion),- refreshToken: (credentials) => refreshPosthog(region, credentials),+ refreshToken: (credentials, signal) =>+ refreshPosthog(region, credentials, signal),getApiKey: (credentials) => String(credentials.access),modifyModels: (models, credentials) =>remapModelsToCredentialRegion(diff --git a/products/desktop/packages/harness/src/extensions/subagent/auth.test.ts b/products/desktop/packages/harness/src/extensions/subagent/auth.test.tsindex 983118ea8074..1353b6e02935 100644--- a/products/desktop/packages/harness/src/extensions/subagent/auth.test.ts+++ b/products/desktop/packages/harness/src/extensions/subagent/auth.test.ts@@ -1,4 +1,4 @@-import type { Api, Model } from "@earendil-works/pi-ai";+import type { Api, Model, ProviderHeaders } from "@earendil-works/pi-ai";import type { ExtensionContext } from "@earendil-works/pi-coding-agent";import { describe, expect, it, vi } from "vitest";import {@@ -30,7 +30,7 @@ function makeCtx(options: {apiKeyResult?: {ok: boolean;apiKey?: string;- headers?: Record<string, string>;+ headers?: ProviderHeaders;};}): ExtensionContext {const apiKeyResult = options.apiKeyResult ?? { ok: true, apiKey: "test-key" };@@ -98,6 +98,21 @@ describe("resolveModelAuth", () => {resolveModelAuth(ctx, { requestedBy: "worker" }),).rejects.toThrow(SubagentAuthError);});++ it("rejects provider header deletion markers", async () => {+ const ctx = makeCtx({+ model: makeModel(),+ apiKeyResult: {+ ok: true,+ apiKey: "test-key",+ headers: { Authorization: null },+ },+ });++ await expect(+ resolveModelAuth(ctx, { requestedBy: "worker" }),+ ).rejects.toThrow(/cannot be delegated safely/);+ });});describe("resolveModelAuthWithFallback", () => {diff --git a/products/desktop/packages/harness/src/extensions/subagent/auth.ts b/products/desktop/packages/harness/src/extensions/subagent/auth.tsindex 32e981dfff0b..e89115f1e4d6 100644--- a/products/desktop/packages/harness/src/extensions/subagent/auth.ts+++ b/products/desktop/packages/harness/src/extensions/subagent/auth.ts@@ -78,7 +78,21 @@ export async function resolveModelAuth();}- return { model, apiKey: auth.apiKey, headers: auth.headers };+ const headers: Record<string, string> = {};+ for (const [name, value] of Object.entries(auth.headers ?? {})) {+ if (value === null) {+ throw new SubagentAuthError(+ `The model "${model.provider}/${model.id}" uses provider headers that cannot be delegated safely. Choose another model for the subagent.`,+ );+ }+ headers[name] = value;+ }++ return {+ model,+ apiKey: auth.apiKey,+ ...(Object.keys(headers).length > 0 ? { headers } : {}),+ };}/**diff --git a/products/desktop/pnpm-lock.yaml b/products/desktop/pnpm-lock.yamlindex b778bb22546a..0de2d8313b61 100644--- a/products/desktop/pnpm-lock.yaml+++ b/products/desktop/pnpm-lock.yaml@@ -7,17 +7,17 @@ settings:catalogs:default:'@earendil-works/pi-agent-core':- specifier: 0.83.0- version: 0.83.0+ specifier: 0.84.1+ version: 0.84.1'@earendil-works/pi-ai':- specifier: 0.83.0- version: 0.83.0+ specifier: 0.84.1+ version: 0.84.1'@earendil-works/pi-coding-agent':- specifier: 0.83.0- version: 0.83.0+ specifier: 0.84.1+ version: 0.84.1'@earendil-works/pi-tui':- specifier: 0.83.0- version: 0.83.0+ specifier: 0.84.1+ version: 0.84.1'@hono/trpc-server':specifier: ^0.3.4version: 0.3.4@@ -800,13 +800,13 @@ importers:version: 0.109.0([email protected])'@earendil-works/pi-agent-core':specifier: 'catalog:'- version: 0.83.0(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@earendil-works/pi-ai':specifier: 'catalog:'- version: 0.83.0(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@earendil-works/pi-coding-agent':specifier: 'catalog:'- version: 0.83.0(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@hono/node-server':specifier: 1.19.13version: 1.19.13([email protected])@@ -1088,13 +1088,13 @@ importers:dependencies:'@earendil-works/pi-ai':specifier: 'catalog:'- version: 0.83.0(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@earendil-works/pi-coding-agent':specifier: 'catalog:'- version: 0.83.0(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@earendil-works/pi-tui':specifier: 'catalog:'- version: 0.83.0+ version: 0.84.1'@modelcontextprotocol/sdk':specifier: ^1.29.0version: 1.29.0([email protected])@@ -3014,22 +3014,34 @@ packages:'@drizzle-team/[email protected]':resolution: {integrity: sha512-z33Il7l5dKjUgGULTqBsQBQwckHh5AbIuxhdsIxDDiZAzBOrZO6q9ogcWC65kU382AfynTfgNumVcNIjuIua6w==}- '@earendil-works/[email protected]':- resolution: {integrity: sha512-RorGp9OH5l3ElpuC5a5ZQ2eWcchZGXflXRzVGkV99y3y6tT+LLNyxoYIdVKvTKWEObwhExeQbTH0fI2tE4iX4g==}+ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-evyzXYWCLQGmcaBYHlmSku02r8qoN4SGI60GZABo6iV+H+nqX+P9ud8fEZ4GmRq9mUSREvvfX+w9dA9ThF9C6w==}engines: {node: '>=22.19.0'}- '@earendil-works/[email protected]':- resolution: {integrity: sha512-m3IZD4g3er0V8TC9+Vpgw/sjTKqcJlkcIBy/JvsgRubuuik3tAVzyugUg4rVrShIkkOT69mEd34NEqKUIsl6JQ==}+ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-wMsAdJMxuNri08vLqTyYVI201DQQezGhPSTkzYsHdw5dYX3rCNwEmSvpaAwhi7ELKI/2tE/CEgSWg/6iRxSgdQ==}engines: {node: '>=22.19.0'}hasBin: true- '@earendil-works/[email protected]':- resolution: {integrity: sha512-uYhF+FsZxogoSX/AxBcUdiY+ZklubwaXyAoEGA2eQwsHcyEAhUYIKh/WLXe/a8+k8eTCmxb+ZN2Zo9mzQtzbWw==}+ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-/V5hGHE4Zq+jG0GtwIB9PyBUOGd6gBLZ7lkQYFKchKnxYHeH3rmWC5xw4kpnZKKBuBuFTdLVbU9vEjlAGMMb2A==}+ engines: {node: '>=22.19.0'}++ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-ncAqFrG+iybuPGOhMiZoEHkEzTpJgz3guYD32pD+M7ucc0WeHmauP6wa7qwP8V/KWvsZDVNa5XGsdZ7fkC7w7A==}engines: {node: '>=22.19.0'}hasBin: true- '@earendil-works/[email protected]':- resolution: {integrity: sha512-IoYrb0rORjELmEpNtoCA/U8je3KopMkRAVJRdSzvXRvgb+Huo1gNh8Q5CSZvNOiYtDxJdj2tYZZHZ4B3+IN3hA==}+ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-Ox1pciyeSPGEEUcxvR0/dJcrY7C6hrEGA8y71rOsvSIUlXN1Cbp/be/eoL71OGDBk5O97TeQPfWN6Ju/2Ehjww==}+ engines: {node: '>=22.19.0'}++ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-180/xGJtsq7IoR3p9EKWjRd0e9M4DkxInhlo9xyD7prDC7Qrhqq+nhvwrW0lFjPfXcEI2FSHmGCSyvSJE9GsaQ==}+ engines: {node: '>=22.19.0'}++ '@earendil-works/[email protected]':+ resolution: {integrity: sha512-udeXFbgEhJ6JiB0uguwNVNkDy2FENfmtQwPcY+/iJ8GWeq18wkal1tKqa5YyeH0IqtX1vG0cGh8zfSYzyzVuLA==}engines: {node: '>=22.19.0'}'@ecies/[email protected]':@@ -3117,11 +3129,11 @@ packages:'@esbuild-kit/[email protected]':resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==}- deprecated: 'Merged into tsx: https://tsx.hirok.io'+ deprecated: 'Merged into tsx: https://tsx.is''@esbuild-kit/[email protected]':resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==}- deprecated: 'Merged into tsx: https://tsx.hirok.io'+ deprecated: 'Merged into tsx: https://tsx.is''@esbuild/[email protected]':resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==}@@ -11640,6 +11652,10 @@ packages:resolution: {integrity: sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ==}engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0}+ resolution: {integrity: sha512-XcJEP5dDC8liHBh52mlLjU18fNvu1ckFsu0QpIG3+APZ270fsj9wxpiA6cOURmbUEuoMVgjbC2+UYgTdCqqgzA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-P8/mMxVLU7o4+55+1TCnQrPmgjPKnwkzkXOK1asnR9Jg2lna4tEY5qBJjMmAaOBDDZWtlRjBXjLa0w53G/uBLA==}@@ -15780,6 +15796,10 @@ packages:resolution: {integrity: sha512-xamtWoB1EshgjpmlXd7GGm2VfdDtw1+rD8uhry8pSNW3If6S8E0m2T2+orSKeZXEn/aPJMviCpDBA65WJt8zhg==}engines: {node: '>=22.19.0'}+ resolution: {integrity: sha512-aWZpUj7XoGonMClx4gdDRfgBjqeA+F473aDmROQQbM9n6PRfK/u1q/a0X4wMTgcHfT8H6fpbt98PFuDUwFg2YA==}+ engines: {node: '>=22.19.0'}+resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}engines: {node: '>=4'}@@ -18120,9 +18140,10 @@ snapshots:'@drizzle-team/[email protected]': {}- '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':+ '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':dependencies:- '@earendil-works/pi-ai': 0.83.0(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ '@earendil-works/pi-ai': 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ '@earendil-works/pi-telemetry': 0.84.1diff: 8.0.4ignore: 7.0.5typebox: 1.3.7@@ -18135,10 +18156,11 @@ snapshots:- ws- zod- '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':+ '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':dependencies:'@anthropic-ai/sdk': 0.91.1([email protected])'@aws-sdk/client-bedrock-runtime': 3.1048.0+ '@earendil-works/pi-telemetry': 0.84.1'@google/genai': 1.52.0(@modelcontextprotocol/[email protected]([email protected]))'@mistralai/mistralai': 2.2.6(@opentelemetry/[email protected])'@opentelemetry/api': 1.9.0@@ -18156,16 +18178,23 @@ snapshots:- ws- zod- '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':+ '@earendil-works/[email protected]':dependencies:- '@earendil-works/pi-agent-core': 0.83.0(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])- '@earendil-works/pi-ai': 0.83.0(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])- '@earendil-works/pi-tui': 0.83.0+ '@earendil-works/pi-protocol': 0.84.1++ '@earendil-works/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':+ dependencies:+ '@earendil-works/pi-agent-core': 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ '@earendil-works/pi-ai': 0.84.1(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ '@earendil-works/pi-client': 0.84.1+ '@earendil-works/pi-protocol': 0.84.1+ '@earendil-works/pi-tui': 0.84.1'@silvia-odwyer/photon-node': 0.3.4chalk: 5.6.2cross-spawn: 7.0.6diff: 8.0.4glob: 13.0.6+ grok-mermaid: 0.2.2highlight.js: 10.7.3hosted-git-info: 9.0.3ignore: 7.0.5@@ -18174,7 +18203,7 @@ snapshots:proper-lockfile: 4.1.2semver: 7.8.0typebox: 1.3.7- undici: 8.5.0+ undici: 8.9.0yaml: 2.9.0optionalDependencies:'@mariozechner/clipboard': 0.3.9@@ -18186,7 +18215,13 @@ snapshots:- ws- zod- '@earendil-works/[email protected]':+ '@earendil-works/[email protected]':+ dependencies:+ typebox: 1.3.7++ '@earendil-works/[email protected]': {}++ '@earendil-works/[email protected]':dependencies:get-east-asian-width: 1.6.0marked: 18.0.5@@ -27002,6 +27037,8 @@ snapshots:+ [email protected]: {}+@@ -32452,6 +32489,8 @@ snapshots:+ [email protected]: {}+diff --git a/products/desktop/pnpm-workspace.yaml b/products/desktop/pnpm-workspace.yamlindex a5c1f113e6d1..e01b8740817a 100644--- a/products/desktop/pnpm-workspace.yaml+++ b/products/desktop/pnpm-workspace.yaml@@ -7,10 +7,10 @@ packages:catalog:'@hono/node-server': ^1.13.7'@hono/trpc-server': ^0.3.4- '@earendil-works/pi-agent-core': 0.83.0- '@earendil-works/pi-ai': 0.83.0- '@earendil-works/pi-coding-agent': 0.83.0- '@earendil-works/pi-tui': 0.83.0+ '@earendil-works/pi-agent-core': 0.84.1+ '@earendil-works/pi-ai': 0.84.1+ '@earendil-works/pi-coding-agent': 0.84.1+ '@earendil-works/pi-tui': 0.84.1'@parcel/watcher': ^2.5.6'@phosphor-icons/react': ^2.1.10'@posthog/quill': 0.3.0-beta.26