@chainingintention/pi-web-cn 2.202610.5 → 2.202611.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (997) hide show
  1. package/README.md +4 -2
  2. package/dist/bin/pi-web-server.sh +91 -0
  3. package/dist/bin/pi-web-sessiond.sh +91 -0
  4. package/dist/bin/pi-web.sh +91 -0
  5. package/dist/cli.js +33 -29
  6. package/dist/cli.js.map +1 -1
  7. package/dist/client/assets/3d-Dr68X8h8.svg +1 -0
  8. package/dist/client/assets/PiWebApp-Dur6Wi62.js +3952 -0
  9. package/dist/client/assets/SettingsDialog-SOljSiee.js +1129 -0
  10. package/dist/client/assets/abap-uAHVFerN.svg +1 -0
  11. package/dist/client/assets/abc-CXjdSXsv.svg +1 -0
  12. package/dist/client/assets/actionscript-BCkIwjgm.svg +1 -0
  13. package/dist/client/assets/ada-GL6JWmc_.svg +1 -0
  14. package/dist/client/assets/adobe-illustrator-DhGvkpwi.svg +1 -0
  15. package/dist/client/assets/adobe-photoshop-0hmnA7cm.svg +1 -0
  16. package/dist/client/assets/adobe-swc-myFGSGFT.svg +1 -0
  17. package/dist/client/assets/adonis-SdGYdzCA.svg +1 -0
  18. package/dist/client/assets/advpl-BWLgf_Ky.svg +1 -0
  19. package/dist/client/assets/advpl-include-DYgH3R0u.svg +1 -0
  20. package/dist/client/assets/advpl-ptm-C5Y5ffZi.svg +1 -0
  21. package/dist/client/assets/advpl-tlpp-BAlVwpPL.svg +1 -0
  22. package/dist/client/assets/agent-DAWBwR7s.svg +1 -0
  23. package/dist/client/assets/amplify-BAWPaFFb.svg +1 -0
  24. package/dist/client/assets/android-TigHCxTb.svg +1 -0
  25. package/dist/client/assets/angular-D2ijCUIg.svg +1 -0
  26. package/dist/client/assets/angular-component-eczQQRE6.svg +1 -0
  27. package/dist/client/assets/angular-directive-C_jq8cjP.svg +1 -0
  28. package/dist/client/assets/angular-guard-B4iC5rXF.svg +1 -0
  29. package/dist/client/assets/angular-interceptor-CJvi6DuQ.svg +1 -0
  30. package/dist/client/assets/angular-pipe-BQZMATB_.svg +1 -0
  31. package/dist/client/assets/angular-service-DHYn6jIk.svg +1 -0
  32. package/dist/client/assets/antlr-DkzdiGgY.svg +1 -0
  33. package/dist/client/assets/apiblueprint-BDRvCIBM.svg +1 -0
  34. package/dist/client/assets/apollo-BAVoyYDs.svg +1 -0
  35. package/dist/client/assets/applescript-Bm_R8YT0.svg +1 -0
  36. package/dist/client/assets/apps-script-6efl-CXu.svg +1 -0
  37. package/dist/client/assets/appveyor-6B1suIBr.svg +1 -0
  38. package/dist/client/assets/appwrite-D7AlK8SW.svg +1 -0
  39. package/dist/client/assets/architecture-CtuqF8rD.svg +1 -0
  40. package/dist/client/assets/arduino-DFxCIupZ.svg +1 -0
  41. package/dist/client/assets/asciidoc-DUAdVwVP.svg +1 -0
  42. package/dist/client/assets/assembly-BKikEKKy.svg +1 -0
  43. package/dist/client/assets/astro-Bivf18eC.svg +1 -0
  44. package/dist/client/assets/astro-config-Cr5suFul.svg +1 -0
  45. package/dist/client/assets/astyle-BiqOWu-0.svg +1 -0
  46. package/dist/client/assets/audio-B4FatEUD.svg +1 -0
  47. package/dist/client/assets/aurelia-CnUjHPcZ.svg +1 -0
  48. package/dist/client/assets/authors-DdaDoKVR.svg +1 -0
  49. package/dist/client/assets/auto-BOO_fhxh.svg +1 -0
  50. package/dist/client/assets/autohotkey-D87F33UG.svg +1 -0
  51. package/dist/client/assets/autoit-DQTGS66r.svg +1 -0
  52. package/dist/client/assets/azure-DMSkMABH.svg +1 -0
  53. package/dist/client/assets/azure-pipelines-CcGJw3Rl.svg +1 -0
  54. package/dist/client/assets/babel-DFMbiqHA.svg +1 -0
  55. package/dist/client/assets/ballerina-BT8MyHl8.svg +1 -0
  56. package/dist/client/assets/bashly-settings-Ch9mIpw9.svg +1 -0
  57. package/dist/client/assets/bazel-CPXexffJ.svg +1 -0
  58. package/dist/client/assets/bbx-CB-6IYxw.svg +1 -0
  59. package/dist/client/assets/beancount-DR_GSwds.svg +1 -0
  60. package/dist/client/assets/bench-js-DOHd4EZB.svg +1 -0
  61. package/dist/client/assets/bench-jsx-CLJJl81D.svg +1 -0
  62. package/dist/client/assets/bench-ts-BM8GsfrF.svg +1 -0
  63. package/dist/client/assets/bibliography-D3emS1pd.svg +1 -0
  64. package/dist/client/assets/bibtex-style-CVY4tTiP.svg +1 -0
  65. package/dist/client/assets/bicep-BMMGt18P.svg +1 -0
  66. package/dist/client/assets/biome-Bf2373dl.svg +1 -0
  67. package/dist/client/assets/bitbucket-BQr8Az5R.svg +1 -0
  68. package/dist/client/assets/bithound-BOh7-s-G.svg +1 -0
  69. package/dist/client/assets/blender-B7Vz8gxa.svg +1 -0
  70. package/dist/client/assets/blink-DVWcfhba.svg +1 -0
  71. package/dist/client/assets/blitz-B4hhOxPa.svg +1 -0
  72. package/dist/client/assets/bower-CkFcC1Ou.svg +1 -0
  73. package/dist/client/assets/brainfuck-BXozg9z7.svg +1 -0
  74. package/dist/client/assets/browserlist-CUbhNMS9.svg +1 -0
  75. package/dist/client/assets/bruno-CoSNrNfv.svg +1 -0
  76. package/dist/client/assets/buck-BRuOl0ko.svg +1 -0
  77. package/dist/client/assets/bucklescript-TfoVgTnq.svg +1 -0
  78. package/dist/client/assets/buildkite-BrDKWLhW.svg +1 -0
  79. package/dist/client/assets/bun-CZtgPBjt.svg +1 -0
  80. package/dist/client/assets/c-CCkhSkL9.svg +1 -0
  81. package/dist/client/assets/c3-J0cVtsWq.svg +1 -0
  82. package/dist/client/assets/cabal-CQb4_DnV.svg +1 -0
  83. package/dist/client/assets/caddy-ywaArsUF.svg +1 -0
  84. package/dist/client/assets/cadence-BRBsaulT.svg +1 -0
  85. package/dist/client/assets/cairo-Cls19dwE.svg +1 -0
  86. package/dist/client/assets/cake-DpuWz3gE.svg +1 -0
  87. package/dist/client/assets/capacitor-CugB3p3d.svg +1 -0
  88. package/dist/client/assets/capnp-DtxOZ2_z.svg +1 -0
  89. package/dist/client/assets/cbx-QvSmyWq4.svg +1 -0
  90. package/dist/client/assets/cds-Bi3ghsEA.svg +1 -0
  91. package/dist/client/assets/certificate-B5QPOK_C.svg +1 -0
  92. package/dist/client/assets/changelog-mhp3hE32.svg +1 -0
  93. package/dist/client/assets/chess-4hVz24Rg.svg +1 -0
  94. package/dist/client/assets/chromatic-DRZoj4Hg.svg +1 -0
  95. package/dist/client/assets/chrome-ox3b9yI4.svg +1 -0
  96. package/dist/client/assets/circleci-DubwoSEv.svg +1 -0
  97. package/dist/client/assets/citation-ldCt-JF8.svg +1 -0
  98. package/dist/client/assets/clangd-bL8W2_13.svg +1 -0
  99. package/dist/client/assets/claude-DypBvzkn.svg +1 -0
  100. package/dist/client/assets/cline-Dd7x4bMT.svg +1 -0
  101. package/dist/client/assets/clojure-wfCfR06G.svg +1 -0
  102. package/dist/client/assets/cloudfoundry-BS-9yLUv.svg +1 -0
  103. package/dist/client/assets/cmake-B7q-R28A.svg +1 -0
  104. package/dist/client/assets/coala-D4YHPVOS.svg +1 -0
  105. package/dist/client/assets/cobol-wDz3o6g-.svg +1 -0
  106. package/dist/client/assets/coconut-C7cPswso.svg +1 -0
  107. package/dist/client/assets/code-climate-BJrwzyOv.svg +1 -0
  108. package/dist/client/assets/codecov-CXg1oY95.svg +1 -0
  109. package/dist/client/assets/codeowners-D_rztV49.svg +1 -0
  110. package/dist/client/assets/coderabbit-ai-DGoTDlyw.svg +1 -0
  111. package/dist/client/assets/coffee-D5JGmA63.svg +1 -0
  112. package/dist/client/assets/coldfusion-DhOnvVS_.svg +1 -0
  113. package/dist/client/assets/coloredpetrinets-DY894G_S.svg +1 -0
  114. package/dist/client/assets/command-Df3AkI2A.svg +1 -0
  115. package/dist/client/assets/commitizen-9SU1u7to.svg +1 -0
  116. package/dist/client/assets/commitlint-3vvjpxJt.svg +1 -0
  117. package/dist/client/assets/composerShortcuts-BggqvE9J.js +31 -0
  118. package/dist/client/assets/concourse-DAGkX2vY.svg +1 -0
  119. package/dist/client/assets/conduct-2Bm8RK0N.svg +1 -0
  120. package/dist/client/assets/console-pcgGAn8Z.svg +1 -0
  121. package/dist/client/assets/contentlayer-vXTwXOHk.svg +1 -0
  122. package/dist/client/assets/context-CebLrksE.svg +1 -0
  123. package/dist/client/assets/contributing-DLcmDS34.svg +1 -0
  124. package/dist/client/assets/controller-Doc75EnV.svg +1 -0
  125. package/dist/client/assets/copilot-DBlNrZ6L.svg +1 -0
  126. package/dist/client/assets/cpp-DT2939hp.svg +1 -0
  127. package/dist/client/assets/craco-BySmcQ23.svg +1 -0
  128. package/dist/client/assets/credits-GALyqcNu.svg +1 -0
  129. package/dist/client/assets/crystal-BbNQlJLs.svg +1 -0
  130. package/dist/client/assets/csharp-D5ZKsaqY.svg +1 -0
  131. package/dist/client/assets/css-JKwEyWYb.svg +1 -0
  132. package/dist/client/assets/css-map-Ctu4D9Ve.svg +1 -0
  133. package/dist/client/assets/cucumber-B3ZYwjRe.svg +1 -0
  134. package/dist/client/assets/cuda-CRW2z42A.svg +1 -0
  135. package/dist/client/assets/cue-ni2TTLiZ.svg +1 -0
  136. package/dist/client/assets/cursor-CJahHGg2.svg +1 -0
  137. package/dist/client/assets/cypress-DR0JRbfI.svg +1 -0
  138. package/dist/client/assets/d-B87zyVMx.svg +1 -0
  139. package/dist/client/assets/dart-Dx2oVcaR.svg +1 -0
  140. package/dist/client/assets/dart_generated-Wk58pte9.svg +1 -0
  141. package/dist/client/assets/database-B_oKaDcf.svg +1 -0
  142. package/dist/client/assets/deepsource-DUTIJ9mv.svg +1 -0
  143. package/dist/client/assets/denizenscript-BJc2vgOS.svg +1 -0
  144. package/dist/client/assets/deno-CyFvrzCm.svg +1 -0
  145. package/dist/client/assets/dependabot-BgJkJLU3.svg +1 -0
  146. package/dist/client/assets/dependencies-update-CdGy9ujO.svg +1 -0
  147. package/dist/client/assets/dhall-Dmhh82EO.svg +1 -0
  148. package/dist/client/assets/diff-6SXDCokN.svg +1 -0
  149. package/dist/client/assets/dinophp-D9hQnqAR.svg +1 -0
  150. package/dist/client/assets/disc-h_dLNGEL.svg +1 -0
  151. package/dist/client/assets/django-N1UNAXk1.svg +1 -0
  152. package/dist/client/assets/dll-1DkaBp0q.svg +1 -0
  153. package/dist/client/assets/docker-CfHcr61D.svg +1 -0
  154. package/dist/client/assets/doctex-installer-Cs7SA-ct.svg +1 -0
  155. package/dist/client/assets/document-o-3iA9GQ.svg +1 -0
  156. package/dist/client/assets/dotjs-DIyH7Gzv.svg +1 -0
  157. package/dist/client/assets/drawio-2RVDLi9g.svg +1 -0
  158. package/dist/client/assets/drizzle-hhBCZx1t.svg +1 -0
  159. package/dist/client/assets/drone-KvQ2n-xY.svg +1 -0
  160. package/dist/client/assets/dtx-DdGk8fFj.svg +1 -0
  161. package/dist/client/assets/duc-CHcAZQos.svg +1 -0
  162. package/dist/client/assets/dune-DuGO6qDA.svg +1 -0
  163. package/dist/client/assets/edge-ChHKXrYp.svg +1 -0
  164. package/dist/client/assets/editorconfig-BUzUAwRX.svg +1 -0
  165. package/dist/client/assets/ejs-D_Li05n3.svg +1 -0
  166. package/dist/client/assets/elixir-75mYTx2s.svg +1 -0
  167. package/dist/client/assets/elm-DE_LIp02.svg +1 -0
  168. package/dist/client/assets/email-G8mUttGa.svg +1 -0
  169. package/dist/client/assets/ember-B1y9-Oks.svg +1 -0
  170. package/dist/client/assets/epub-DPvrBCNf.svg +1 -0
  171. package/dist/client/assets/erlang-DosS6spf.svg +1 -0
  172. package/dist/client/assets/esbuild-DV6xNZ-T.svg +1 -0
  173. package/dist/client/assets/eslint-IU_g232-.svg +1 -0
  174. package/dist/client/assets/excalidraw-BllKd-7L.svg +1 -0
  175. package/dist/client/assets/exe-SfcXmkQy.svg +1 -0
  176. package/dist/client/assets/expo-B4PonO4I.svg +1 -0
  177. package/dist/client/assets/external-DjGXa4ZP.js +1 -0
  178. package/dist/client/assets/fastlane-C4SZDg50.svg +1 -0
  179. package/dist/client/assets/favicon-VsCcG-A-.svg +1 -0
  180. package/dist/client/assets/figma-C8Gjq2Xj.svg +1 -0
  181. package/dist/client/assets/file-BEIHQH8Q.svg +256 -0
  182. package/dist/client/assets/firebase-DHIO0glR.svg +1 -0
  183. package/dist/client/assets/flash-Dck7x_rj.svg +1 -0
  184. package/dist/client/assets/flow-DD4KQiTg.svg +1 -0
  185. package/dist/client/assets/font-ChbWr8nk.svg +1 -0
  186. package/dist/client/assets/forth-C3qwGqMh.svg +1 -0
  187. package/dist/client/assets/fortran-B0jORJ3v.svg +1 -0
  188. package/dist/client/assets/foxpro-D3Wp1B1h.svg +1 -0
  189. package/dist/client/assets/freemarker-BLonnh3h.svg +1 -0
  190. package/dist/client/assets/fsharp-QwwPC8x_.svg +1 -0
  191. package/dist/client/assets/fusebox-DqjzyXyI.svg +1 -0
  192. package/dist/client/assets/gamemaker-C82Pt646.svg +1 -0
  193. package/dist/client/assets/garden-BUsWpFKW.svg +1 -0
  194. package/dist/client/assets/gatsby-OA1TADMJ.svg +1 -0
  195. package/dist/client/assets/gcp-CW2RG_Wp.svg +1 -0
  196. package/dist/client/assets/gemfile-1RY6BqSx.svg +1 -0
  197. package/dist/client/assets/gemini-CIgUY8Tg.svg +1 -0
  198. package/dist/client/assets/gemini-ai-Bwe7HeFb.svg +1 -0
  199. package/dist/client/assets/git-BEMs8TOZ.svg +1 -0
  200. package/dist/client/assets/gitlab-zt07_Oa4.svg +1 -0
  201. package/dist/client/assets/gitpod-BtZJQuF0.svg +1 -0
  202. package/dist/client/assets/gleam-CKPcrRAD.svg +1 -0
  203. package/dist/client/assets/gnuplot-BvFqM0ms.svg +1 -0
  204. package/dist/client/assets/go-ByY4sxRu.svg +1 -0
  205. package/dist/client/assets/go-mod-CB6BWQDr.svg +1 -0
  206. package/dist/client/assets/godot-C1EmL4jR.svg +1 -0
  207. package/dist/client/assets/godot-assets-D-FMsuJX.svg +1 -0
  208. package/dist/client/assets/google-BnrMOJ4V.svg +1 -0
  209. package/dist/client/assets/gradle-zsQ12U1q.svg +1 -0
  210. package/dist/client/assets/grafana-alloy-D2DQ33BM.svg +1 -0
  211. package/dist/client/assets/grain-5NkvKROL.svg +1 -0
  212. package/dist/client/assets/graphcool-CInCTIdE.svg +1 -0
  213. package/dist/client/assets/graphql-DnNt2maR.svg +1 -0
  214. package/dist/client/assets/gridsome-C2H5SpaD.svg +1 -0
  215. package/dist/client/assets/groovy-B93RxI7a.svg +1 -0
  216. package/dist/client/assets/grunt-cwitasVS.svg +1 -0
  217. package/dist/client/assets/gulp-BIZ8EAl0.svg +1 -0
  218. package/dist/client/assets/h-1bd73y8t.svg +1 -0
  219. package/dist/client/assets/hack-Bsd1y9bu.svg +1 -0
  220. package/dist/client/assets/hadolint-D1aEtESc.svg +1 -0
  221. package/dist/client/assets/haml-BKq8hU-U.svg +1 -0
  222. package/dist/client/assets/handlebars-Dem98Ago.svg +1 -0
  223. package/dist/client/assets/happo-B64XokX0.svg +1 -0
  224. package/dist/client/assets/hardhat-ByFzkuf4.svg +1 -0
  225. package/dist/client/assets/harmonix-CUh3S11M.svg +1 -0
  226. package/dist/client/assets/haskell-C6GxEwdX.svg +1 -0
  227. package/dist/client/assets/haxe-DdxZWPQy.svg +1 -0
  228. package/dist/client/assets/hcl-BJiZ3gWE.svg +1 -0
  229. package/dist/client/assets/helm-CF4Mi35z.svg +1 -0
  230. package/dist/client/assets/heroku-B6vPz_TJ.svg +1 -0
  231. package/dist/client/assets/hex-BuGJuqn1.svg +1 -0
  232. package/dist/client/assets/hip-DB4xe1Ab.svg +1 -0
  233. package/dist/client/assets/histoire-BMTufysg.svg +1 -0
  234. package/dist/client/assets/hjson-Dl4ZTgK4.svg +1 -0
  235. package/dist/client/assets/horusec-z6vyrVAy.svg +1 -0
  236. package/dist/client/assets/hosts-BydfWJ9z.svg +1 -0
  237. package/dist/client/assets/hpp-HerxyIaC.svg +1 -0
  238. package/dist/client/assets/html-BNRzQ3jk.svg +1 -0
  239. package/dist/client/assets/http-Cp7RCu8F.svg +1 -0
  240. package/dist/client/assets/huff-t3uGT10D.svg +1 -0
  241. package/dist/client/assets/hurl-S3Fvmz3R.svg +1 -0
  242. package/dist/client/assets/husky-A0ALYNcp.svg +1 -0
  243. package/dist/client/assets/i18n-BezCQ09L.svg +1 -0
  244. package/dist/client/assets/idris-CfHPjxcM.svg +1 -0
  245. package/dist/client/assets/ifanr-cloud-DnqgZYHA.svg +1 -0
  246. package/dist/client/assets/image-DYZiZ4CP.svg +1 -0
  247. package/dist/client/assets/imba-C1Q6aK1I.svg +1 -0
  248. package/dist/client/assets/index-CInvlJKI.js +2 -0
  249. package/dist/client/assets/installation-p19cVXO7.svg +1 -0
  250. package/dist/client/assets/instructions-CaWEzdge.svg +1 -0
  251. package/dist/client/assets/ionic-Xp-47Icg.svg +1 -0
  252. package/dist/client/assets/istanbul-DJKvMwnq.svg +1 -0
  253. package/dist/client/assets/jar-BaN44U3v.svg +1 -0
  254. package/dist/client/assets/java-QyMrrPma.svg +1 -0
  255. package/dist/client/assets/javaclass-BU8_3KBR.svg +1 -0
  256. package/dist/client/assets/javascript-CQjpTQab.svg +1 -0
  257. package/dist/client/assets/javascript-map-BQGiWnDM.svg +1 -0
  258. package/dist/client/assets/jenkins-Bf7aNz-w.svg +1 -0
  259. package/dist/client/assets/jest-BgbiFFEd.svg +1 -0
  260. package/dist/client/assets/jinja-4WR9tA6i.svg +1 -0
  261. package/dist/client/assets/jsconfig-ZAi6fTF1.svg +1 -0
  262. package/dist/client/assets/json-NsberLUP.svg +1 -0
  263. package/dist/client/assets/json_schema-sOuobP_H.svg +1 -0
  264. package/dist/client/assets/jsr-CWVSPSyV.svg +1 -0
  265. package/dist/client/assets/julia-DCKDSo9T.svg +1 -0
  266. package/dist/client/assets/jupyter-BKV2q0IB.svg +1 -0
  267. package/dist/client/assets/just-WQgcj-TR.svg +1 -0
  268. package/dist/client/assets/karma-Dm3AtiMd.svg +1 -0
  269. package/dist/client/assets/kcl-CyzArNE1.svg +1 -0
  270. package/dist/client/assets/key-CrFjkQiv.svg +1 -0
  271. package/dist/client/assets/keystatic-BECeLiHJ.svg +1 -0
  272. package/dist/client/assets/kivy-baDYR7ar.svg +1 -0
  273. package/dist/client/assets/kl-Dy3qeUbd.svg +1 -0
  274. package/dist/client/assets/knip-BWpBMXqu.svg +1 -0
  275. package/dist/client/assets/kotlin-DcjME28v.svg +1 -0
  276. package/dist/client/assets/kubernetes-B5EEXb3e.svg +1 -0
  277. package/dist/client/assets/kusto-CIjvTfRW.svg +1 -0
  278. package/dist/client/assets/label-AKZOJqFh.svg +1 -0
  279. package/dist/client/assets/laravel-DWauj5w4.svg +1 -0
  280. package/dist/client/assets/latexmk-DQ0u8QMa.svg +1 -0
  281. package/dist/client/assets/lbx-BMCQe48q.svg +1 -0
  282. package/dist/client/assets/lean-COOrALn9.svg +1 -0
  283. package/dist/client/assets/lefthook-DClcp3br.svg +1 -0
  284. package/dist/client/assets/lerna-BsWY3uYS.svg +1 -0
  285. package/dist/client/assets/less-0c0PeB1Z.svg +1 -0
  286. package/dist/client/assets/liara-CSN9sJzE.svg +1 -0
  287. package/dist/client/assets/lib-B-NXM8aC.svg +1 -0
  288. package/dist/client/assets/license-DmydDYqK.svg +1 -0
  289. package/dist/client/assets/lighthouse-CtbIoCdK.svg +1 -0
  290. package/dist/client/assets/lilypond-CBSm3LFL.svg +1 -0
  291. package/dist/client/assets/lintstaged-Bj1Eddi5.svg +1 -0
  292. package/dist/client/assets/liquid-ClnkrScY.svg +1 -0
  293. package/dist/client/assets/lisp-CMn3epg5.svg +1 -0
  294. package/dist/client/assets/lit-CJ6w1GHF.js +2 -0
  295. package/dist/client/assets/livescript-B5PkWD8e.svg +1 -0
  296. package/dist/client/assets/lock-DRloBj1S.svg +1 -0
  297. package/dist/client/assets/log-Db6NwxHZ.svg +1 -0
  298. package/dist/client/assets/lolcode-C6q6fY1O.svg +1 -0
  299. package/dist/client/assets/lottie-ExyLYhtq.svg +1 -0
  300. package/dist/client/assets/lua-CUh_Iwk8.svg +1 -0
  301. package/dist/client/assets/luau-De_4eP_9.svg +1 -0
  302. package/dist/client/assets/lynx-B49IBNBN.svg +1 -0
  303. package/dist/client/assets/lyric-Bm3UlVp3.svg +1 -0
  304. package/dist/client/assets/macaulay2-0YotwNnE.svg +1 -0
  305. package/dist/client/assets/main-CWcn0Deu.js +2 -0
  306. package/dist/client/assets/makefile-B2WlY55Y.svg +1 -0
  307. package/dist/client/assets/markdoc-DjROVW5I.svg +1 -0
  308. package/dist/client/assets/markdoc-config-BpVRhg1B.svg +1 -0
  309. package/dist/client/assets/markdown-Bm_LLmmi.svg +1 -0
  310. package/dist/client/assets/markdownlint-D4M2LXbH.svg +1 -0
  311. package/dist/client/assets/markojs-BohUrSLp.svg +1 -0
  312. package/dist/client/assets/mathematica-BGWNQXSR.svg +1 -0
  313. package/dist/client/assets/maven-BffVB5hm.svg +1 -0
  314. package/dist/client/assets/mdsvex-Dc9CFJJa.svg +1 -0
  315. package/dist/client/assets/mdx-D6qa5U8C.svg +1 -0
  316. package/dist/client/assets/mercurial-BDoD6ubd.svg +1 -0
  317. package/dist/client/assets/merlin-D5wTXfO4.svg +1 -0
  318. package/dist/client/assets/mermaid-BTscZDRS.svg +1 -0
  319. package/dist/client/assets/meson-dcvm8lmo.svg +1 -0
  320. package/dist/client/assets/metro-XIyWX0Go.svg +1 -0
  321. package/dist/client/assets/minecraft-CE8xXE3-.svg +1 -0
  322. package/dist/client/assets/minecraft-fabric-wG6LwgIf.svg +1 -0
  323. package/dist/client/assets/mint-Cb-YXACo.svg +1 -0
  324. package/dist/client/assets/mist-DAm4UkTw.svg +1 -0
  325. package/dist/client/assets/mjml-C_r30C5E.svg +1 -0
  326. package/dist/client/assets/mocha-BF5_j65C.svg +1 -0
  327. package/dist/client/assets/modernizr-89IMS8eL.svg +1 -0
  328. package/dist/client/assets/mojo-CscjT2Jm.svg +1 -0
  329. package/dist/client/assets/moon-_L_nTq1_.svg +1 -0
  330. package/dist/client/assets/moonscript-Ayut2PrD.svg +1 -0
  331. package/dist/client/assets/mrpack-BVpGpKVf.svg +1 -0
  332. package/dist/client/assets/mxml-B21Nbdgw.svg +1 -0
  333. package/dist/client/assets/nano-staged-CAVSFkY8.svg +1 -0
  334. package/dist/client/assets/ndst-DpYLiHkx.svg +1 -0
  335. package/dist/client/assets/nest-CUu_iPqI.svg +1 -0
  336. package/dist/client/assets/netlify-Bb7vRMfV.svg +1 -0
  337. package/dist/client/assets/next-2gAImGWJ.svg +1 -0
  338. package/dist/client/assets/nextflow-dPJG5e3G.svg +1 -0
  339. package/dist/client/assets/nginx-Ss9U_SJ3.svg +1 -0
  340. package/dist/client/assets/nim-CXHB5kuH.svg +1 -0
  341. package/dist/client/assets/nix-DoxxkZ2k.svg +1 -0
  342. package/dist/client/assets/nodejs-Czg5JT6z.svg +1 -0
  343. package/dist/client/assets/nodemon-CprsexAJ.svg +1 -0
  344. package/dist/client/assets/npm-BSKPS9CC.svg +1 -0
  345. package/dist/client/assets/nuget-D_mqKH22.svg +1 -0
  346. package/dist/client/assets/nunjucks-CSL1En7R.svg +1 -0
  347. package/dist/client/assets/nuxt-BszScKzK.svg +1 -0
  348. package/dist/client/assets/nx-CTIqtdbG.svg +1 -0
  349. package/dist/client/assets/objective-c-3E5wWl6u.svg +1 -0
  350. package/dist/client/assets/objective-cpp-DjpoLOMo.svg +1 -0
  351. package/dist/client/assets/ocaml-T4fLeZFT.svg +1 -0
  352. package/dist/client/assets/odin-DlWnbZWN.svg +1 -0
  353. package/dist/client/assets/onnx-C6WInyrb.svg +1 -0
  354. package/dist/client/assets/opa-D5GoZW5M.svg +1 -0
  355. package/dist/client/assets/opam-3IZadro4.svg +1 -0
  356. package/dist/client/assets/openapi-DjlVyoOp.svg +1 -0
  357. package/dist/client/assets/opencode-BaYncWio.svg +1 -0
  358. package/dist/client/assets/opentofu-jFw9lQBP.svg +1 -0
  359. package/dist/client/assets/otne-SLiO8whA.svg +1 -0
  360. package/dist/client/assets/oxc-DN6_023j.svg +1 -0
  361. package/dist/client/assets/packship-UyLXQ_8n.svg +1 -0
  362. package/dist/client/assets/palette-C0GOsJgu.svg +1 -0
  363. package/dist/client/assets/panda-D469wGns.svg +1 -0
  364. package/dist/client/assets/parcel-BrXQSBYb.svg +1 -0
  365. package/dist/client/assets/pascal-oxGvvJ_x.svg +1 -0
  366. package/dist/client/assets/pawn-BvapPd-t.svg +1 -0
  367. package/dist/client/assets/payload-Cks6N40-.svg +1 -0
  368. package/dist/client/assets/pdf-DtjgBDdX.svg +1 -0
  369. package/dist/client/assets/pdm-CbwhGqOl.svg +1 -0
  370. package/dist/client/assets/peg-BJdFn78b.svg +1 -0
  371. package/dist/client/assets/percy-CWbuYL05.svg +1 -0
  372. package/dist/client/assets/perl-DUX0zwsQ.svg +1 -0
  373. package/dist/client/assets/php-5lebFt-d.svg +1 -0
  374. package/dist/client/assets/php-cs-fixer-D3Vv91zO.svg +1 -0
  375. package/dist/client/assets/phpstan-D9FJYotS.svg +1 -0
  376. package/dist/client/assets/phpunit-BlNyjrEw.svg +1 -0
  377. package/dist/client/assets/pinejs-CDuWmsOY.svg +1 -0
  378. package/dist/client/assets/pipeline-CCHJ-CIC.svg +1 -0
  379. package/dist/client/assets/pkl-CzHZDqdt.svg +1 -0
  380. package/dist/client/assets/plastic-CvMMB3c5.svg +1 -0
  381. package/dist/client/assets/playwright-C8c_RKic.svg +1 -0
  382. package/dist/client/assets/plop-D4uymN-_.svg +1 -0
  383. package/dist/client/assets/pm2-ecosystem-Cv28zGx9.svg +1 -0
  384. package/dist/client/assets/pnpm-ndvMXYUu.svg +1 -0
  385. package/dist/client/assets/poetry-ClZfXo_0.svg +1 -0
  386. package/dist/client/assets/postcss-g3C3DDoi.svg +1 -0
  387. package/dist/client/assets/posthtml-BkDCsIkz.svg +1 -0
  388. package/dist/client/assets/powerpoint-CCXYfzLu.svg +1 -0
  389. package/dist/client/assets/powershell-DnXi9Rjx.svg +1 -0
  390. package/dist/client/assets/pre-commit-DXbl2unR.svg +1 -0
  391. package/dist/client/assets/preload-helper-CRzLMJPS.js +1 -0
  392. package/dist/client/assets/prettier-DFxlFAp4.svg +1 -0
  393. package/dist/client/assets/prisma-BgG1MIwh.svg +1 -0
  394. package/dist/client/assets/processing-B1bs0VmW.svg +1 -0
  395. package/dist/client/assets/prolog-CxwCfnlm.svg +1 -0
  396. package/dist/client/assets/prompt-7jgVTNou.svg +1 -0
  397. package/dist/client/assets/proto-Bv4-L0XU.svg +1 -0
  398. package/dist/client/assets/protractor-CJWv1lK-.svg +1 -0
  399. package/dist/client/assets/pug-BXlORXuH.svg +1 -0
  400. package/dist/client/assets/puppet-CKCVJvZX.svg +1 -0
  401. package/dist/client/assets/puppeteer-DDZkfQNZ.svg +1 -0
  402. package/dist/client/assets/purescript-CUdIfJrp.svg +1 -0
  403. package/dist/client/assets/python-misc-BZ5TXfdG.svg +1 -0
  404. package/dist/client/assets/python-oHA753pt.svg +1 -0
  405. package/dist/client/assets/pytorch-f0udCMaw.svg +1 -0
  406. package/dist/client/assets/qsharp-BaFNvoXS.svg +1 -0
  407. package/dist/client/assets/quarto-zhC7oGOB.svg +1 -0
  408. package/dist/client/assets/quasar-BXE2pW5w.svg +1 -0
  409. package/dist/client/assets/quokka-DrMOw93T.svg +1 -0
  410. package/dist/client/assets/r-AQewf3lz.svg +1 -0
  411. package/dist/client/assets/racket-BCyLzvrP.svg +1 -0
  412. package/dist/client/assets/raml-WDbT4cRb.svg +1 -0
  413. package/dist/client/assets/razor-BAUCpTxC.svg +1 -0
  414. package/dist/client/assets/rbxmk-CZ9pB7X6.svg +1 -0
  415. package/dist/client/assets/rc-BDgxm_A8.svg +1 -0
  416. package/dist/client/assets/react-CdMrIyLK.svg +1 -0
  417. package/dist/client/assets/react_ts-9WeLJBIj.svg +1 -0
  418. package/dist/client/assets/readme-BSIQKZwq.svg +1 -0
  419. package/dist/client/assets/reason-m9vOqeqw.svg +1 -0
  420. package/dist/client/assets/red-Dzf3O8j4.svg +1 -0
  421. package/dist/client/assets/regedit-DJzxfiQN.svg +1 -0
  422. package/dist/client/assets/remark-C55cxr93.svg +1 -0
  423. package/dist/client/assets/remix-Bk2h4zH7.svg +1 -0
  424. package/dist/client/assets/renovate-zzi8oRFv.svg +1 -0
  425. package/dist/client/assets/replit-BpeMxcBh.svg +1 -0
  426. package/dist/client/assets/requiredTerminalPlugin-B-0wkiKe.js +3 -0
  427. package/dist/client/assets/rescript-interface-a87dYX5u.svg +1 -0
  428. package/dist/client/assets/rescript-qPAwtDLa.svg +1 -0
  429. package/dist/client/assets/restql-CnZcZpny.svg +1 -0
  430. package/dist/client/assets/riot-DjRzaRVp.svg +1 -0
  431. package/dist/client/assets/roadmap-DWpVc5P5.svg +1 -0
  432. package/dist/client/assets/roblox-Bv5zbklC.svg +1 -0
  433. package/dist/client/assets/robot-Cto_i8jo.svg +1 -0
  434. package/dist/client/assets/robots-COnOCAqh.svg +1 -0
  435. package/dist/client/assets/rocket-CAmUpMm6.svg +1 -0
  436. package/dist/client/assets/rolldown-Cy_4AzVW.svg +1 -0
  437. package/dist/client/assets/rollup-2ZkmBeWV.svg +1 -0
  438. package/dist/client/assets/rome-Cq3lb2xY.svg +1 -0
  439. package/dist/client/assets/routing-BNxHhbXZ.svg +1 -0
  440. package/dist/client/assets/rspec-CoEmfx5H.svg +1 -0
  441. package/dist/client/assets/rstack-DzJ3cPXM.svg +1 -0
  442. package/dist/client/assets/rubocop-CokGq15J.svg +1 -0
  443. package/dist/client/assets/ruby-DTGQ4xCM.svg +1 -0
  444. package/dist/client/assets/ruff-BN0KpNzC.svg +1 -0
  445. package/dist/client/assets/rust-B122pUHY.svg +1 -0
  446. package/dist/client/assets/salt-B8j0OVNV.svg +1 -0
  447. package/dist/client/assets/san-C0UnyaU4.svg +1 -0
  448. package/dist/client/assets/sas-RNoBA0-Y.svg +1 -0
  449. package/dist/client/assets/sass-B7y5mYt_.svg +1 -0
  450. package/dist/client/assets/sbt-DosCci-d.svg +1 -0
  451. package/dist/client/assets/scala-CsGkKwl5.svg +1 -0
  452. package/dist/client/assets/scheme-CS2UbTis.svg +1 -0
  453. package/dist/client/assets/scons-CyqfFgvx.svg +1 -0
  454. package/dist/client/assets/screwdriver-DjTKuDz7.svg +1 -0
  455. package/dist/client/assets/search-fq7VxV09.svg +1 -0
  456. package/dist/client/assets/semantic-release-BbLzZX96.svg +1 -0
  457. package/dist/client/assets/semgrep-Cl6VUQtd.svg +1 -0
  458. package/dist/client/assets/sentry-MrouyD-P.svg +1 -0
  459. package/dist/client/assets/sequelize-BQWikTCs.svg +1 -0
  460. package/dist/client/assets/serverless-C7Jdn6_T.svg +1 -0
  461. package/dist/client/assets/settings-CtzL1evz.svg +1 -0
  462. package/dist/client/assets/shader-BZXKDeiD.svg +1 -0
  463. package/dist/client/assets/shellcheck-BgWOclub.svg +1 -0
  464. package/dist/client/assets/simulink-yQnKyx__.svg +1 -0
  465. package/dist/client/assets/siyuan-CPWD86-6.svg +1 -0
  466. package/dist/client/assets/sketch-NbltjaPf.svg +1 -0
  467. package/dist/client/assets/skill-BThvgH87.svg +1 -0
  468. package/dist/client/assets/slim-CTjdZAfz.svg +1 -0
  469. package/dist/client/assets/slint-B0xbkqgr.svg +1 -0
  470. package/dist/client/assets/slug-CWkQgR9s.svg +1 -0
  471. package/dist/client/assets/smarty-BXDiLQNt.svg +1 -0
  472. package/dist/client/assets/sml-DMkoWEN5.svg +1 -0
  473. package/dist/client/assets/snakemake-xG7xUrdI.svg +1 -0
  474. package/dist/client/assets/snapcraft-zvgAcZ4p.svg +1 -0
  475. package/dist/client/assets/snowpack-l0uHt304.svg +1 -0
  476. package/dist/client/assets/snyk-DCW3rtvv.svg +1 -0
  477. package/dist/client/assets/solidity-C4TQWJKU.svg +1 -0
  478. package/dist/client/assets/sonarcloud-ClLIXGyx.svg +1 -0
  479. package/dist/client/assets/spwn-31WG9ftR.svg +1 -0
  480. package/dist/client/assets/stackblitz-ZX6aBRKb.svg +1 -0
  481. package/dist/client/assets/stan-CPcUXbxB.svg +1 -0
  482. package/dist/client/assets/steadybit-BZtlLY-3.svg +1 -0
  483. package/dist/client/assets/stencil-D0FNO32O.svg +1 -0
  484. package/dist/client/assets/stitches-BYlEJvuz.svg +1 -0
  485. package/dist/client/assets/storybook-KxGhpZYa.svg +1 -0
  486. package/dist/client/assets/stryker-CYflxT_R.svg +1 -0
  487. package/dist/client/assets/sty-C4HqHV4z.svg +1 -0
  488. package/dist/client/assets/stylable-Bi9Gr97T.svg +1 -0
  489. package/dist/client/assets/styleSources-CdF2T_pj.js +1 -0
  490. package/dist/client/assets/stylelint-JSbd-yhE.svg +1 -0
  491. package/dist/client/assets/styles-BwN5rgmt.js +10 -0
  492. package/dist/client/assets/styles-DK4aKhCE.js +1 -0
  493. package/dist/client/assets/stylus-ZoqbP9jE.svg +1 -0
  494. package/dist/client/assets/sublime-DFvp_Ess.svg +1 -0
  495. package/dist/client/assets/subtitles-BNOc1mEf.svg +1 -0
  496. package/dist/client/assets/supabase-CX7cap86.svg +1 -0
  497. package/dist/client/assets/svelte-B8HKO6BX.svg +1 -0
  498. package/dist/client/assets/svelte_js-C_RKcwSP.svg +1 -0
  499. package/dist/client/assets/svelte_ts-APH7lcVp.svg +1 -0
  500. package/dist/client/assets/svg-DVy7iktw.svg +1 -0
  501. package/dist/client/assets/svgo-CJXaeDEN.svg +1 -0
  502. package/dist/client/assets/svgr-Dn8OFGar.svg +1 -0
  503. package/dist/client/assets/swagger-Dqyrwr4g.svg +1 -0
  504. package/dist/client/assets/sway-C1Kkif7r.svg +1 -0
  505. package/dist/client/assets/swc-BUhoW8cb.svg +1 -0
  506. package/dist/client/assets/swift-D4_pkWil.svg +1 -0
  507. package/dist/client/assets/syncpack-DtZ994Gf.svg +1 -0
  508. package/dist/client/assets/table-YhsaNNk_.svg +1 -0
  509. package/dist/client/assets/tailwindcss-DODJSdj1.svg +1 -0
  510. package/dist/client/assets/tape-DGYhnMht.svg +1 -0
  511. package/dist/client/assets/taskfile-f5DM79_-.svg +1 -0
  512. package/dist/client/assets/tauri-DBBtDoCo.svg +1 -0
  513. package/dist/client/assets/taze-BPR9LgXp.svg +1 -0
  514. package/dist/client/assets/tcl-CiAJKGaA.svg +1 -0
  515. package/dist/client/assets/teal-WyfAQok0.svg +1 -0
  516. package/dist/client/assets/templ-BHla0pe-.svg +1 -0
  517. package/dist/client/assets/template-qJWiB5gQ.svg +1 -0
  518. package/dist/client/assets/terraform-R86_iPhv.svg +1 -0
  519. package/dist/client/assets/test-js-A34KrdbK.svg +1 -0
  520. package/dist/client/assets/test-jsx-C2PQBkQP.svg +1 -0
  521. package/dist/client/assets/test-ts-fdt299ek.svg +1 -0
  522. package/dist/client/assets/tex-DpewR4UN.svg +1 -0
  523. package/dist/client/assets/textlint-pjwsbDhs.svg +1 -0
  524. package/dist/client/assets/themeCatalog-B3yda95n.js +1 -0
  525. package/dist/client/assets/themePreference-BBiJxLjs.js +1 -0
  526. package/dist/client/assets/themeStartup-0b02tNrh.js +2 -0
  527. package/dist/client/assets/tilt-Dwon5dv-.svg +1 -0
  528. package/dist/client/assets/tldraw-BnDJmluq.svg +1 -0
  529. package/dist/client/assets/tobi-CQ-666uh.svg +1 -0
  530. package/dist/client/assets/tobimake-DzDbTYW1.svg +1 -0
  531. package/dist/client/assets/toc-nUTycYjl.svg +1 -0
  532. package/dist/client/assets/todo-CpcorlsE.svg +1 -0
  533. package/dist/client/assets/toml-DvUt-GOd.svg +1 -0
  534. package/dist/client/assets/toon-CGe9RDKY.svg +1 -0
  535. package/dist/client/assets/travis-CH6zNy43.svg +1 -0
  536. package/dist/client/assets/tree-epW9JaxP.svg +1 -0
  537. package/dist/client/assets/trigger-CqdxCyG0.svg +1 -0
  538. package/dist/client/assets/tsconfig-ROp_YdWL.svg +1 -0
  539. package/dist/client/assets/tsdoc-BEXcYgLD.svg +1 -0
  540. package/dist/client/assets/tsdown-B96z16my.svg +1 -0
  541. package/dist/client/assets/tsil-D-U9yWS8.svg +1 -0
  542. package/dist/client/assets/tune-DISlqKNZ.svg +1 -0
  543. package/dist/client/assets/turborepo-CWNwoZtI.svg +1 -0
  544. package/dist/client/assets/twig-CA70AYNK.svg +1 -0
  545. package/dist/client/assets/twine-BPJsGZd2.svg +1 -0
  546. package/dist/client/assets/typedoc-FY7jFoGW.svg +1 -0
  547. package/dist/client/assets/typescript-DjjXqw-n.svg +1 -0
  548. package/dist/client/assets/typescript-def-CTN5WM5i.svg +1 -0
  549. package/dist/client/assets/typst-CnDSkp_i.svg +1 -0
  550. package/dist/client/assets/uiua-BOsurlxn.svg +1 -0
  551. package/dist/client/assets/umi-DYOjFi8w.svg +1 -0
  552. package/dist/client/assets/uml-CYijxuna.svg +1 -0
  553. package/dist/client/assets/unity-CRNCEoK6.svg +1 -0
  554. package/dist/client/assets/unlicense-DG_b3BEE.svg +1 -0
  555. package/dist/client/assets/unocss-MqLuLfeL.svg +1 -0
  556. package/dist/client/assets/url-hE4h5p6b.svg +1 -0
  557. package/dist/client/assets/uv-DRTOVSi_.svg +1 -0
  558. package/dist/client/assets/vagrant-YnxMTuKe.svg +1 -0
  559. package/dist/client/assets/vala-m_i2ZWns.svg +1 -0
  560. package/dist/client/assets/vanilla-extract-76H6-A4R.svg +1 -0
  561. package/dist/client/assets/varnish-CX3oiNcp.svg +1 -0
  562. package/dist/client/assets/vedic-D6-oQUka.svg +1 -0
  563. package/dist/client/assets/velite-nLLNxKBA.svg +1 -0
  564. package/dist/client/assets/velocity-CSvfE9yM.svg +1 -0
  565. package/dist/client/assets/vercel-CgKLo9IO.svg +1 -0
  566. package/dist/client/assets/verdaccio-gsdiCbvv.svg +1 -0
  567. package/dist/client/assets/verified-BFLtqroG.svg +1 -0
  568. package/dist/client/assets/verilog-CbZvRaae.svg +1 -0
  569. package/dist/client/assets/verse-D_RZ0Bz0.svg +1 -0
  570. package/dist/client/assets/vfl-8CAM-hjs.svg +1 -0
  571. package/dist/client/assets/video-qxpJXkH6.svg +1 -0
  572. package/dist/client/assets/vim-CB8qTVuS.svg +1 -0
  573. package/dist/client/assets/virtual-Hoc2XbZN.svg +1 -0
  574. package/dist/client/assets/visualstudio-BHj2x5q7.svg +1 -0
  575. package/dist/client/assets/vite-JKzchVew.svg +1 -0
  576. package/dist/client/assets/vitest-Cl4_wKFu.svg +1 -0
  577. package/dist/client/assets/vlang-C3-DMUIm.svg +1 -0
  578. package/dist/client/assets/vscode-BtTXhPua.svg +1 -0
  579. package/dist/client/assets/vue-BlenztPP.svg +1 -0
  580. package/dist/client/assets/vue-config-o7yPAADv.svg +1 -0
  581. package/dist/client/assets/wakatime-DNz7qcxZ.svg +1 -0
  582. package/dist/client/assets/wallaby-C0UIkEOa.svg +1 -0
  583. package/dist/client/assets/wally-Ds1quKSG.svg +1 -0
  584. package/dist/client/assets/warp-B3X5Zoeh.svg +1 -0
  585. package/dist/client/assets/watchman-7EFq9LSa.svg +1 -0
  586. package/dist/client/assets/webassembly-Bs4UtU2T.svg +1 -0
  587. package/dist/client/assets/webhint-B4I6V0Ee.svg +1 -0
  588. package/dist/client/assets/webpack-zo2uWGOg.svg +1 -0
  589. package/dist/client/assets/wepy-Cho54Qlr.svg +1 -0
  590. package/dist/client/assets/werf-BW9FiKe5.svg +1 -0
  591. package/dist/client/assets/windicss-C_8y516i.svg +1 -0
  592. package/dist/client/assets/wolframlanguage-D6C1WBYh.svg +1 -0
  593. package/dist/client/assets/word-BcPLm6YH.svg +1 -0
  594. package/dist/client/assets/wrangler-CjgAkoTg.svg +1 -0
  595. package/dist/client/assets/wxt-c6drtC9H.svg +1 -0
  596. package/dist/client/assets/xaml-DE72OHNQ.svg +1 -0
  597. package/dist/client/assets/xmake-4WNmmIJj.svg +1 -0
  598. package/dist/client/assets/xml-S4aCxoUr.svg +1 -0
  599. package/dist/client/assets/yaml-DPTMsOTP.svg +1 -0
  600. package/dist/client/assets/yang-N-7dP4WI.svg +1 -0
  601. package/dist/client/assets/yarn-Cios8OFX.svg +1 -0
  602. package/dist/client/assets/zeabur-kqbNXTTH.svg +1 -0
  603. package/dist/client/assets/zig-CdphsgLN.svg +1 -0
  604. package/dist/client/assets/zip-GDnEynqi.svg +1 -0
  605. package/dist/client/assets/zizmor-IsFFdy6W.svg +1 -0
  606. package/dist/client/index.html +12 -6
  607. package/dist/config.js +233 -87
  608. package/dist/config.js.map +1 -1
  609. package/dist/configSessionNamingMigration.js +63 -0
  610. package/dist/configSessionNamingMigration.js.map +1 -0
  611. package/dist/nativeServices/serviceDoctor.js +3 -3
  612. package/dist/nativeServices/serviceDoctor.js.map +1 -1
  613. package/dist/nativeServices/servicePlan.js +53 -23
  614. package/dist/nativeServices/servicePlan.js.map +1 -1
  615. package/dist/nativeServices/serviceProbe.js +27 -7
  616. package/dist/nativeServices/serviceProbe.js.map +1 -1
  617. package/dist/pi-packages/relays/markdownDocument.js +8 -9
  618. package/dist/pi-packages/relays/pi-web-plugin.js +11 -11
  619. package/dist/pi-packages/relays/relays.messages.js +38 -0
  620. package/dist/pi-packages/relays/relaysLocalization.js +19 -0
  621. package/dist/pi-packages/relays/relaysPanelElement.js +151 -96
  622. package/dist/pi-packages/scheduled-tasks/browser/pi-web-plugin.js +1135 -0
  623. package/dist/pi-packages/scheduled-tasks/domain.js +63 -0
  624. package/dist/pi-packages/scheduled-tasks/extensions/index.js +710 -0
  625. package/dist/pi-packages/scheduled-tasks/package.json +30 -0
  626. package/dist/pi-packages/scheduled-tasks/scheduler.js +89 -0
  627. package/dist/pi-packages/scheduled-tasks/server-plugin.js +9872 -0
  628. package/dist/pi-packages/scheduled-tasks/service.js +178 -0
  629. package/dist/pi-packages/scheduled-tasks/skills/scheduled-tasks/SKILL.md +30 -0
  630. package/dist/pi-packages/scheduled-tasks/sqlite.js +18 -0
  631. package/dist/pi-packages/scheduled-tasks/store.js +230 -0
  632. package/dist/pi-packages/scheduled-tasks/vite.browser.config.mjs +16 -0
  633. package/dist/pi-packages/scheduled-tasks/vite.companion.config.mjs +17 -0
  634. package/dist/pi-packages/scheduled-tasks/vite.config.mjs +17 -0
  635. package/dist/pi-packages/session-naming/config.js +78 -0
  636. package/dist/pi-packages/session-naming/extensions/index.js +74 -0
  637. package/dist/pi-packages/session-naming/generator.js +76 -0
  638. package/dist/pi-packages/session-naming/package.json +15 -0
  639. package/dist/pi-packages/workflows/browser/pi-web-plugin.js +10 -7
  640. package/dist/pi-packages/workflows/browser/workflows.messages.js +32 -0
  641. package/dist/pi-packages/workflows/browser/worktreeDialog.js +71 -50
  642. package/dist/pi-packages/workflows/server-plugin.js +137 -23
  643. package/dist/pi-web-plugins/audio/audioElement.js +61 -0
  644. package/dist/pi-web-plugins/audio/audioFormats.js +18 -0
  645. package/dist/pi-web-plugins/audio/byteRange.js +21 -0
  646. package/dist/pi-web-plugins/audio/package.json +10 -0
  647. package/dist/pi-web-plugins/audio/pi-web-plugin.js +39 -0
  648. package/dist/pi-web-plugins/audio/server.js +71 -0
  649. package/dist/pi-web-plugins/code-highlight/browser/pi-web-plugin.js +4 -4
  650. package/dist/pi-web-plugins/custom-ui-codex/codex.css +8 -0
  651. package/dist/pi-web-plugins/custom-ui-codex/fileIcons.js +30 -0
  652. package/dist/pi-web-plugins/custom-ui-codex/package.json +8 -1
  653. package/dist/pi-web-plugins/custom-ui-codex/pi-web-plugin.js +8 -8
  654. package/dist/pi-web-plugins/files/browser/pi-web-plugin.js +236 -259
  655. package/dist/pi-web-plugins/git/browser/git-panel.js +138 -59
  656. package/dist/pi-web-plugins/git/browser/git.messages.js +47 -0
  657. package/dist/pi-web-plugins/git/browser/gitFileIcon.js +71 -0
  658. package/dist/pi-web-plugins/git/browser/pi-web-plugin.js +21 -4
  659. package/dist/pi-web-plugins/git/server-plugin.js +5 -3
  660. package/dist/pi-web-plugins/info/info.messages.js +66 -0
  661. package/dist/pi-web-plugins/info/infoInternals.js +217 -217
  662. package/dist/pi-web-plugins/info/pi-web-plugin.js +19 -14
  663. package/dist/pi-web-plugins/language-spanish/catalogs.js +1896 -0
  664. package/dist/pi-web-plugins/language-spanish/package.json +14 -0
  665. package/dist/pi-web-plugins/language-spanish/pi-web-plugin.js +90 -0
  666. package/dist/pi-web-plugins/language-swedish/catalogs.js +1896 -0
  667. package/dist/pi-web-plugins/language-swedish/package.json +14 -0
  668. package/dist/pi-web-plugins/language-swedish/pi-web-plugin.js +89 -0
  669. package/dist/pi-web-plugins/mermaid/browser/pi-web-plugin.js +4 -4
  670. package/dist/pi-web-plugins/terminal/browser/pi-web-plugin.js +71 -66
  671. package/dist/pi-web-plugins/terminal/bunPtyProvider.js +109 -0
  672. package/dist/pi-web-plugins/terminal/nodePtyProvider.js +75 -0
  673. package/dist/pi-web-plugins/terminal/nodePtySpawnHelper.js +36 -0
  674. package/dist/pi-web-plugins/terminal/ptyComposition.js +12 -0
  675. package/dist/pi-web-plugins/terminal/ptyProvider.js +2 -0
  676. package/dist/pi-web-plugins/terminal/server-plugin.js +42 -14
  677. package/dist/pi-web-plugins/terminal/terminalService.js +218 -76
  678. package/dist/pi-web-plugins/themes/assets/graphite.css +56 -0
  679. package/dist/pi-web-plugins/themes/assets/paper.css +56 -0
  680. package/dist/pi-web-plugins/themes/package.json +21 -0
  681. package/dist/pi-web-plugins/updates/pi-web-plugin.js +200 -155
  682. package/dist/pi-web-plugins/updates/updates.messages.js +59 -0
  683. package/dist/pi-web-plugins/updates/updatesLogic.js +27 -29
  684. package/dist/pi-web-plugins/workspace-tasks/config.js +18 -19
  685. package/dist/pi-web-plugins/workspace-tasks/pi-web-plugin.js +13 -8
  686. package/dist/pi-web-plugins/workspace-tasks/tasks.messages.js +45 -0
  687. package/dist/pi-web-plugins/workspace-tasks/tasksLocalization.js +33 -0
  688. package/dist/pi-web-plugins/workspace-tasks/tasksPanelElement.js +56 -42
  689. package/dist/pi-web-plugins/workspace-tasks/workspaceTasksClient.js +7 -33
  690. package/dist/pi-web-plugins/zh-cn/catalogs.json +1803 -0
  691. package/dist/pi-web-plugins/zh-cn/main.json +5 -1
  692. package/dist/pi-web-plugins/zh-cn/management-errors.json +6 -0
  693. package/dist/pi-web-plugins/zh-cn/pi-web-plugin.js +13 -4
  694. package/dist/pi-web-plugins/zh-cn/server.json +1 -1
  695. package/dist/piWebVersionReport.js +2 -0
  696. package/dist/piWebVersionReport.js.map +1 -1
  697. package/dist/plugin-api.d.ts +194 -9
  698. package/dist/runtimePreflight.js +14 -0
  699. package/dist/runtimePreflight.js.map +1 -0
  700. package/dist/server/activity/workspaceActivityService.js +18 -1
  701. package/dist/server/activity/workspaceActivityService.js.map +1 -1
  702. package/dist/server/app.js +45 -10
  703. package/dist/server/app.js.map +1 -1
  704. package/dist/server/configRoutes.js +117 -139
  705. package/dist/server/configRoutes.js.map +1 -1
  706. package/dist/server/configUpdates.js +104 -0
  707. package/dist/server/configUpdates.js.map +1 -0
  708. package/dist/server/deploymentIdentity.js +12 -10
  709. package/dist/server/deploymentIdentity.js.map +1 -1
  710. package/dist/server/deploymentIdentityRoutes.js +2 -1
  711. package/dist/server/deploymentIdentityRoutes.js.map +1 -1
  712. package/dist/server/diagnostics/nodePtyNativeModule.js +0 -18
  713. package/dist/server/diagnostics/nodePtyNativeModule.js.map +1 -1
  714. package/dist/server/diagnostics/terminalPrerequisites.js +54 -0
  715. package/dist/server/diagnostics/terminalPrerequisites.js.map +1 -0
  716. package/dist/server/index.js +9 -0
  717. package/dist/server/index.js.map +1 -1
  718. package/dist/server/knownAutoInstallPiPackages.js +6 -0
  719. package/dist/server/knownAutoInstallPiPackages.js.map +1 -1
  720. package/dist/server/knownPiPackages.js +4 -4
  721. package/dist/server/knownPiPackages.js.map +1 -1
  722. package/dist/server/machines/machineClient.js +39 -17
  723. package/dist/server/machines/machineClient.js.map +1 -1
  724. package/dist/server/machines/machinePluginProxyRoutes.js +3 -1
  725. package/dist/server/machines/machinePluginProxyRoutes.js.map +1 -1
  726. package/dist/server/machines/machineProxyRoutes.js +60 -9
  727. package/dist/server/machines/machineProxyRoutes.js.map +1 -1
  728. package/dist/server/machines/machineService.js +81 -13
  729. package/dist/server/machines/machineService.js.map +1 -1
  730. package/dist/server/machines/machineStore.js.map +1 -1
  731. package/dist/server/managementEmbed.js +4 -1
  732. package/dist/server/managementEmbed.js.map +1 -1
  733. package/dist/server/managementEntryRoutes.js +51 -0
  734. package/dist/server/managementEntryRoutes.js.map +1 -0
  735. package/dist/server/managementEntryTickets.js +46 -0
  736. package/dist/server/managementEntryTickets.js.map +1 -0
  737. package/dist/server/managementTransportLimits.js +5 -0
  738. package/dist/server/managementTransportLimits.js.map +1 -0
  739. package/dist/server/navigationPreferenceRoutes.js +58 -2
  740. package/dist/server/navigationPreferenceRoutes.js.map +1 -1
  741. package/dist/server/normalAuth.js +3 -1
  742. package/dist/server/normalAuth.js.map +1 -1
  743. package/dist/server/notices/serverNoticeStore.js +4 -0
  744. package/dist/server/notices/serverNoticeStore.js.map +1 -1
  745. package/dist/server/piPackageService.js +15 -1
  746. package/dist/server/piPackageService.js.map +1 -1
  747. package/dist/server/piWebPluginCatalog.js +23 -11
  748. package/dist/server/piWebPluginCatalog.js.map +1 -1
  749. package/dist/server/piWebPluginLifecycle.js +14 -4
  750. package/dist/server/piWebPluginLifecycle.js.map +1 -1
  751. package/dist/server/piWebPluginService.js +11 -5
  752. package/dist/server/piWebPluginService.js.map +1 -1
  753. package/dist/server/piWebStatus.js +12 -10
  754. package/dist/server/piWebStatus.js.map +1 -1
  755. package/dist/server/piWebStatusCache.js +3 -1
  756. package/dist/server/piWebStatusCache.js.map +1 -1
  757. package/dist/server/plugins/pluginBackendRegistry.js +229 -4
  758. package/dist/server/plugins/pluginBackendRegistry.js.map +1 -1
  759. package/dist/server/plugins/pluginBackendResourceProxyRoutes.js +40 -0
  760. package/dist/server/plugins/pluginBackendResourceProxyRoutes.js.map +1 -0
  761. package/dist/server/plugins/pluginBackendResourceResponse.js +84 -0
  762. package/dist/server/plugins/pluginBackendResourceResponse.js.map +1 -0
  763. package/dist/server/plugins/projectPluginSettings.js +9 -2
  764. package/dist/server/plugins/projectPluginSettings.js.map +1 -1
  765. package/dist/server/plugins/serverPluginCatalogCapability.js +7 -2
  766. package/dist/server/plugins/serverPluginCatalogCapability.js.map +1 -1
  767. package/dist/server/plugins/serverPluginPiSessionsCapability.js +16 -3
  768. package/dist/server/plugins/serverPluginPiSessionsCapability.js.map +1 -1
  769. package/dist/server/plugins/serverPluginRuntime.js +25 -9
  770. package/dist/server/plugins/serverPluginRuntime.js.map +1 -1
  771. package/dist/server/plugins/serverPluginSessionLifecycleCapability.js +87 -0
  772. package/dist/server/plugins/serverPluginSessionLifecycleCapability.js.map +1 -0
  773. package/dist/server/requestLogging.js +1 -1
  774. package/dist/server/requestLogging.js.map +1 -1
  775. package/dist/server/sessiond/agentHttpDispatcher.js +14 -7
  776. package/dist/server/sessiond/agentHttpDispatcher.js.map +1 -1
  777. package/dist/server/sessiond/autoInstallPiPackageSources.js +54 -0
  778. package/dist/server/sessiond/autoInstallPiPackageSources.js.map +1 -0
  779. package/dist/server/sessiond/autoInstallPiPackages.js +77 -30
  780. package/dist/server/sessiond/autoInstallPiPackages.js.map +1 -1
  781. package/dist/server/sessiond/pluginBackendChannelRoutes.js +3 -13
  782. package/dist/server/sessiond/pluginBackendChannelRoutes.js.map +1 -1
  783. package/dist/server/sessiond/pluginBackendResourceRoutes.js +62 -0
  784. package/dist/server/sessiond/pluginBackendResourceRoutes.js.map +1 -0
  785. package/dist/server/sessiond/pluginSessionLifecycleRoutes.js +45 -0
  786. package/dist/server/sessiond/pluginSessionLifecycleRoutes.js.map +1 -0
  787. package/dist/server/sessiond/sessionProxyRoutes.js +76 -12
  788. package/dist/server/sessiond/sessionProxyRoutes.js.map +1 -1
  789. package/dist/server/sessiond/sessionServiceDependencies.js +3 -0
  790. package/dist/server/sessiond/sessionServiceDependencies.js.map +1 -1
  791. package/dist/server/sessiond.js +47 -16
  792. package/dist/server/sessiond.js.map +1 -1
  793. package/dist/server/sessions/askUserDomain.js +24 -2
  794. package/dist/server/sessions/askUserDomain.js.map +1 -1
  795. package/dist/server/sessions/askUserTool.js +1 -1
  796. package/dist/server/sessions/askUserTool.js.map +1 -1
  797. package/dist/server/sessions/dockerEnvironmentFacts.js +10 -9
  798. package/dist/server/sessions/dockerEnvironmentFacts.js.map +1 -1
  799. package/dist/server/sessions/mcpOAuthCredentialAdapter.js +4 -4
  800. package/dist/server/sessions/mcpOAuthCredentialAdapter.js.map +1 -1
  801. package/dist/server/sessions/piSessionService.js +491 -283
  802. package/dist/server/sessions/piSessionService.js.map +1 -1
  803. package/dist/server/sessions/requestHumanInterventionTool.js +27 -0
  804. package/dist/server/sessions/requestHumanInterventionTool.js.map +1 -0
  805. package/dist/server/sessions/sendSessionMessageTool.js +32 -0
  806. package/dist/server/sessions/sendSessionMessageTool.js.map +1 -0
  807. package/dist/server/sessions/sessionActivityCoordinator.js.map +1 -1
  808. package/dist/server/sessions/sessionCleanup.js +18 -1
  809. package/dist/server/sessions/sessionCleanup.js.map +1 -1
  810. package/dist/server/sessions/sessionCommandService.js +58 -52
  811. package/dist/server/sessions/sessionCommandService.js.map +1 -1
  812. package/dist/server/sessions/sessionContentSearch.js +103 -30
  813. package/dist/server/sessions/sessionContentSearch.js.map +1 -1
  814. package/dist/server/sessions/sessionIntervention.js +29 -0
  815. package/dist/server/sessions/sessionIntervention.js.map +1 -0
  816. package/dist/server/sessions/sessionNameGenerator.js +0 -60
  817. package/dist/server/sessions/sessionNameGenerator.js.map +1 -1
  818. package/dist/server/sessions/sessionNotificationStore.js +2 -1
  819. package/dist/server/sessions/sessionNotificationStore.js.map +1 -1
  820. package/dist/server/sessions/sessionRoutes.js +25 -28
  821. package/dist/server/sessions/sessionRoutes.js.map +1 -1
  822. package/dist/server/sessions/sessionSummaryScanner.js +8 -0
  823. package/dist/server/sessions/sessionSummaryScanner.js.map +1 -1
  824. package/dist/server/sessions/sessionTreeProjection.js +108 -97
  825. package/dist/server/sessions/sessionTreeProjection.js.map +1 -1
  826. package/dist/server/sessions/sessionUiEvents.js +2 -0
  827. package/dist/server/sessions/sessionUiEvents.js.map +1 -1
  828. package/dist/server/sessions/sessionUnreadStore.js +11 -1
  829. package/dist/server/sessions/sessionUnreadStore.js.map +1 -1
  830. package/dist/server/sessions/spawnSubsessionTool.js +66 -15
  831. package/dist/server/sessions/spawnSubsessionTool.js.map +1 -1
  832. package/dist/server/sessions/subsessionCompletionDelivery.js +6 -3
  833. package/dist/server/sessions/subsessionCompletionDelivery.js.map +1 -1
  834. package/dist/server/sessions/subsessionCompletionInbox.js +6 -9
  835. package/dist/server/sessions/subsessionCompletionInbox.js.map +1 -1
  836. package/dist/server/status/machineStatusService.js +15 -3
  837. package/dist/server/status/machineStatusService.js.map +1 -1
  838. package/dist/server/storage/navigationPreferenceStore.js +19 -2
  839. package/dist/server/storage/navigationPreferenceStore.js.map +1 -1
  840. package/dist/server/storage/sessionPinStore.js +101 -0
  841. package/dist/server/storage/sessionPinStore.js.map +1 -0
  842. package/dist/server/terminals/maintenanceExecutionContext.js +18 -0
  843. package/dist/server/terminals/maintenanceExecutionContext.js.map +1 -0
  844. package/dist/server/terminals/maintenanceTerminalCapability.js +25 -0
  845. package/dist/server/terminals/maintenanceTerminalCapability.js.map +1 -0
  846. package/dist/server/terminals/requiredTerminalService.js.map +1 -1
  847. package/dist/server/terminals/terminalStatusRoutes.js +22 -0
  848. package/dist/server/terminals/terminalStatusRoutes.js.map +1 -0
  849. package/dist/server/themeBootstrap.js +123 -0
  850. package/dist/server/themeBootstrap.js.map +1 -0
  851. package/dist/server/themeCatalog.js +206 -0
  852. package/dist/server/themeCatalog.js.map +1 -0
  853. package/dist/server/themeMetadata.js +74 -0
  854. package/dist/server/themeMetadata.js.map +1 -0
  855. package/dist/server/webSocketBridge.js +16 -12
  856. package/dist/server/webSocketBridge.js.map +1 -1
  857. package/dist/server/webSocketPayloadLimit.js +17 -0
  858. package/dist/server/webSocketPayloadLimit.js.map +1 -0
  859. package/dist/server/workspaces/effectivePathAccess.js +1 -1
  860. package/dist/server/workspaces/effectivePathAccess.js.map +1 -1
  861. package/dist/server/workspaces/projectPiWebConfig.js +30 -7
  862. package/dist/server/workspaces/projectPiWebConfig.js.map +1 -1
  863. package/dist/server/workspaces/sessionDaemonWorkspaceCatalog.js +2 -0
  864. package/dist/server/workspaces/sessionDaemonWorkspaceCatalog.js.map +1 -1
  865. package/dist/server/workspaces/workspaceProviderRegistry.js +6 -2
  866. package/dist/server/workspaces/workspaceProviderRegistry.js.map +1 -1
  867. package/dist/server/workspaces/workspaceRemovalService.js +6 -4
  868. package/dist/server/workspaces/workspaceRemovalService.js.map +1 -1
  869. package/dist/server-plugin-api.d.ts +39 -1
  870. package/dist/server-plugin-api.js +18 -3
  871. package/dist/server-plugin-api.js.map +1 -1
  872. package/dist/sessiond/sessionDaemonClient.js +7 -1
  873. package/dist/sessiond/sessionDaemonClient.js.map +1 -1
  874. package/dist/sessiond/sessionDaemonTerminalStatus.js +27 -0
  875. package/dist/sessiond/sessionDaemonTerminalStatus.js.map +1 -0
  876. package/dist/shared/apiTypes.js +5 -0
  877. package/dist/shared/apiTypes.js.map +1 -1
  878. package/dist/shared/capabilities.js +9 -0
  879. package/dist/shared/capabilities.js.map +1 -1
  880. package/dist/shared/commandOutputPresentation.js +17 -0
  881. package/dist/shared/commandOutputPresentation.js.map +1 -0
  882. package/dist/shared/commandResultPresentation.js +51 -0
  883. package/dist/shared/commandResultPresentation.js.map +1 -0
  884. package/dist/shared/configResolution.js +99 -0
  885. package/dist/shared/configResolution.js.map +1 -0
  886. package/dist/shared/defaultLocalization.js +60 -0
  887. package/dist/shared/defaultLocalization.js.map +1 -0
  888. package/dist/shared/federatedRoutes.js +11 -4
  889. package/dist/shared/federatedRoutes.js.map +1 -1
  890. package/dist/shared/installationName.js +21 -0
  891. package/dist/shared/installationName.js.map +1 -0
  892. package/dist/shared/localization.d.ts +55 -0
  893. package/dist/shared/localization.js +4 -0
  894. package/dist/shared/machineStatus.js +2 -0
  895. package/dist/shared/machineStatus.js.map +1 -1
  896. package/dist/shared/piWebConfigParsing.js +16 -30
  897. package/dist/shared/piWebConfigParsing.js.map +1 -1
  898. package/dist/shared/piWebRuntime.js +17 -0
  899. package/dist/shared/piWebRuntime.js.map +1 -0
  900. package/dist/shared/piWebStatusParsing.js +5 -0
  901. package/dist/shared/piWebStatusParsing.js.map +1 -1
  902. package/dist/shared/pluginApiTypes.d.ts +35 -7
  903. package/dist/shared/pluginBackendProtocol.js +24 -0
  904. package/dist/shared/pluginBackendProtocol.js.map +1 -1
  905. package/dist/shared/pluginCatalogTypes.d.ts +8 -0
  906. package/dist/shared/pluginCatalogTypes.js +15 -0
  907. package/dist/shared/pluginCatalogTypes.js.map +1 -1
  908. package/dist/shared/pluginResourceMetadata.js +58 -0
  909. package/dist/shared/pluginResourceMetadata.js.map +1 -0
  910. package/dist/shared/pluginSessionLifecycleTypes.d.ts +24 -0
  911. package/dist/shared/pluginSessionLifecycleTypes.js +56 -0
  912. package/dist/shared/pluginSessionLifecycleTypes.js.map +1 -0
  913. package/dist/shared/serverNoticePresentation.d.ts +9 -0
  914. package/dist/shared/serverNoticePresentation.js +12 -0
  915. package/dist/shared/serverNoticePresentation.js.map +1 -0
  916. package/dist/shared/sessionActivityPresentation.js +73 -0
  917. package/dist/shared/sessionActivityPresentation.js.map +1 -0
  918. package/dist/shared/sessionNotificationPresentation.js +16 -0
  919. package/dist/shared/sessionNotificationPresentation.js.map +1 -0
  920. package/dist/shared/terminalCommandRun.js +4 -0
  921. package/dist/shared/terminalCommandRun.js.map +1 -1
  922. package/dist/shared/terminalServiceStatus.js +14 -0
  923. package/dist/shared/terminalServiceStatus.js.map +1 -0
  924. package/dist/shared/terminalTitlePresentation.d.ts +10 -0
  925. package/dist/shared/terminalTitlePresentation.js +13 -0
  926. package/dist/shared/terminalTitlePresentation.js.map +1 -0
  927. package/dist/shared/themeCatalog.js +2 -0
  928. package/dist/shared/themeCatalog.js.map +1 -0
  929. package/dist/shared/themePreference.js +1 -0
  930. package/dist/shared/themePreference.js.map +1 -1
  931. package/dist/shared/thinkingLevels.d.ts +29 -0
  932. package/dist/shared/thinkingLevels.js +6 -4
  933. package/dist/shared/thinkingLevels.js.map +1 -1
  934. package/dist/shared/versionCheckPolicy.js +10 -0
  935. package/dist/shared/versionCheckPolicy.js.map +1 -0
  936. package/dist/shared/workspaceRemovalPresentation.d.ts +8 -0
  937. package/dist/shared/workspaceRemovalPresentation.js +10 -0
  938. package/dist/shared/workspaceRemovalPresentation.js.map +1 -0
  939. package/docs/README.md +7 -3
  940. package/docs/assets/pi-web-desktop-graphite.png +0 -0
  941. package/docs/assets/pi-web-desktop-paper.png +0 -0
  942. package/docs/assets/pi-web-desktop-pi-web-dark.png +0 -0
  943. package/docs/assets/pi-web-desktop-pi-web-light.png +0 -0
  944. package/docs/assets/pi-web-desktop.png +0 -0
  945. package/docs/assets/pi-web-mobile-graphite.png +0 -0
  946. package/docs/assets/pi-web-mobile-paper.png +0 -0
  947. package/docs/assets/pi-web-mobile-pi-web-dark.png +0 -0
  948. package/docs/assets/pi-web-mobile-pi-web-light.png +0 -0
  949. package/docs/assets/pi-web-mobile-themes.gif +0 -0
  950. package/docs/assets/pi-web-mobile.png +0 -0
  951. package/docs/assets/pi-web-tablet-graphite.png +0 -0
  952. package/docs/assets/pi-web-tablet-paper.png +0 -0
  953. package/docs/assets/pi-web-tablet-pi-web-dark.png +0 -0
  954. package/docs/assets/pi-web-tablet-pi-web-light.png +0 -0
  955. package/docs/assets/pi-web-tablet-themes.gif +0 -0
  956. package/docs/assets/pi-web-tablet.png +0 -0
  957. package/docs/assets/pi-web-themes.gif +0 -0
  958. package/docs/config.md +193 -55
  959. package/docs/plugins.md +350 -21
  960. package/docs/scheduled-tasks.md +127 -0
  961. package/package.json +43 -19
  962. package/dist/client/assets/CommandPicker-8oDe6AaV.js +0 -70
  963. package/dist/client/assets/PiWebApp-TCQVYghs.js +0 -3761
  964. package/dist/client/assets/SettingsDialog-DFUpwUyp.js +0 -1015
  965. package/dist/client/assets/index-DzMPXVth.js +0 -2
  966. package/dist/client/assets/managementEmbed-Bx8Mwzdw.js +0 -2
  967. package/dist/client/assets/preload-helper-XpATwJ5c.js +0 -1
  968. package/dist/pi-packages/captains-log/README.md +0 -11
  969. package/dist/pi-packages/captains-log/dist/browser/channelProtocol.js +0 -29
  970. package/dist/pi-packages/captains-log/dist/browser/index.js +0 -143
  971. package/dist/pi-packages/captains-log/dist/browser/markdown.js +0 -68
  972. package/dist/pi-packages/captains-log/dist/browser/panel.js +0 -148
  973. package/dist/pi-packages/captains-log/dist/browser/protocol.js +0 -26
  974. package/dist/pi-packages/captains-log/dist/companion.js +0 -126
  975. package/dist/pi-packages/captains-log/dist/roundtrip.js +0 -62
  976. package/dist/pi-packages/captains-log/dist/server.js +0 -210
  977. package/dist/pi-packages/captains-log/dist/store.js +0 -75
  978. package/dist/pi-packages/captains-log/docs/usage.md +0 -29
  979. package/dist/pi-packages/captains-log/i18n.js +0 -7
  980. package/dist/pi-packages/captains-log/package.json +0 -35
  981. package/dist/pi-packages/captains-log/tsconfig.json +0 -21
  982. package/dist/pi-packages/captains-log/vite.config.mjs +0 -28
  983. package/dist/server/sessions/sessionPinStore.js +0 -109
  984. package/dist/server/sessions/sessionPinStore.js.map +0 -1
  985. package/examples/session-bridge-plugin/README.md +0 -20
  986. package/examples/session-bridge-plugin/docs/usage.md +0 -54
  987. package/examples/session-bridge-plugin/package.json +0 -26
  988. package/examples/session-bridge-plugin/src/browser/index.ts +0 -87
  989. package/examples/session-bridge-plugin/src/browser/protocol.ts +0 -24
  990. package/examples/session-bridge-plugin/src/companion.ts +0 -65
  991. package/examples/session-bridge-plugin/src/reviewRun.ts +0 -39
  992. package/examples/session-bridge-plugin/src/server.ts +0 -85
  993. package/examples/session-bridge-plugin/src/store.ts +0 -80
  994. package/examples/session-bridge-plugin/tsconfig.json +0 -21
  995. /package/dist/{client/assets/classic-CyM97Akm.css → pi-web-plugins/themes/assets/classic.css} +0 -0
  996. /package/dist/{client/assets/pi-web-dark-D_KtbM95.css → pi-web-plugins/themes/assets/pi-web-dark.css} +0 -0
  997. /package/dist/{client/assets/pi-web-light-DSNLMIBI.css → pi-web-plugins/themes/assets/pi-web-light.css} +0 -0
@@ -0,0 +1,1135 @@
1
+ // pi-packages/scheduled-tasks/browser/messages.ts
2
+ function e(e, t) {
3
+ return {
4
+ message: e,
5
+ description: t
6
+ };
7
+ }
8
+ var t = {
9
+ title: e("Scheduled tasks (beta)", "Application panel title, distinct from workspace terminal tasks"),
10
+ refresh: e("Refresh", "Reload the current view"),
11
+ overview: e("Overview", "Return from details or history"),
12
+ attention: e("Needs attention", "Latest runs with errors or an unconfirmed launch"),
13
+ noAttention: e("No task errors reported", "No latest failures or uncertain launches; not a claim that all work succeeded"),
14
+ awaiting: e("Awaiting an outcome", "Launched tasks without an explicit outcome; not proof they are still running"),
15
+ recent: e("Recent results", "Latest reported success per task, ordered by run start time"),
16
+ upcoming: e("Up next", "Soonest eligible scheduled runs"),
17
+ noUpcoming: e("Nothing scheduled next", "No eligible upcoming runs"),
18
+ allTasks: e("All tasks ({count})", "Disclosure containing every task, including archived tasks"),
19
+ manage: e("Create or change a task", "Disclosure for agent-based task management guidance"),
20
+ guidance: e("Describe the work and when to run it in a conversation. Ask the agent there to pause, reschedule, or archive a task. Pausing does not stop conversations already started.", "Dashboard is read-only; management happens through an agent"),
21
+ emptyTasks: e("No scheduled tasks yet", "Empty dashboard heading"),
22
+ emptyGuidance: e("Ask an agent to schedule work in a conversation, then check its progress here.", "Empty dashboard next step"),
23
+ loading: e("Loading scheduled tasks…", "Loading indicator"),
24
+ unavailable: e("Scheduled tasks are unavailable. Check plugin status in Settings.", "Missing paired backend"),
25
+ loadFailed: e("Could not load scheduled tasks. Try Refresh.", "Read request failure with retry guidance"),
26
+ invalidResponse: e("Invalid response from scheduled tasks. Try Refresh.", "Browser validation failure"),
27
+ enabled: e("Scheduled", "Task scheduling state"),
28
+ paused: e("Paused", "Task scheduling state; no effect on existing sessions"),
29
+ archived: e("Archived", "Task scheduling state"),
30
+ once: e("Once: {at}", "Exact one-off schedule"),
31
+ next: e("Next: {at}", "Next due time, formatted in the viewer's timezone"),
32
+ noNext: e("No upcoming run", "Task without an eligible next run"),
33
+ noExecution: e("Has not run yet", "Task without any execution"),
34
+ history: e("Run history", "On-demand execution history view"),
35
+ allHistory: e("All history", "Open machine-wide run history"),
36
+ viewTask: e("View task: {name}", "Accessible task detail button name"),
37
+ emptyHistory: e("No runs on this page.", "Empty execution history page"),
38
+ previous: e("Previous", "Previous execution history page"),
39
+ nextPage: e("Next", "Next execution history page"),
40
+ openConversation: e("Open conversation", "Navigate to the exact conversation and target stored on an execution"),
41
+ navigationFailed: e("Could not open the conversation. Its ID is available in Technical details.", "Navigation failure recovery"),
42
+ requestedModel: e("Requested model: {value}", "Model configured on this task revision, not necessarily used by a run"),
43
+ requestedThinking: e("Requested thinking level: {value}", "Thinking level configured on this task revision"),
44
+ effectiveModel: e("Effective model: {value}", "Model selected when this run was dispatched"),
45
+ effectiveThinking: e("Effective thinking level: {value}", "Thinking level selected when this run was dispatched"),
46
+ runWarning: e("Run warning: {notice}", "Non-fatal execution warning; does not change the reported outcome"),
47
+ result: e("Result", "Collapsed disclosure of the full report for this run"),
48
+ prompt: e("Prompt", "Collapsed disclosure of the current task instructions"),
49
+ promptUsed: e("Prompt used", "Collapsed disclosure of the instructions saved on this execution"),
50
+ loadingPrompt: e("Loading prompt…", "Prompt request in progress"),
51
+ promptLoadFailed: e("Could not load the prompt. Try again.", "Prompt request or response validation failure"),
52
+ retryPrompt: e("Try again", "Retry loading this prompt"),
53
+ technical: e("Technical details", "Disclosure of exact configuration and execution identity"),
54
+ errorDetails: e("Error details", "Disclosure containing raw backend diagnostics"),
55
+ target: e("Project: {project} · Workspace: {workspace}", "Exact target IDs, not current browser selection"),
56
+ execution: e("Run: {id} · Revision: {revision}", "Execution identity and immutable task revision"),
57
+ conversation: e("Conversation: {id}", "Stored session ID for recovery"),
58
+ startedAt: e("Started: {at}", "Execution creation time, not inferred completion time"),
59
+ recordedAt: e("Recorded: {at}", "Execution creation timestamp, including runs that never started"),
60
+ resultOrder: e("Latest result per task, ordered by run time.", "Explains that reports do not carry completion timestamps"),
61
+ scheduled: e("Scheduled run", "Automatic dispatch trigger"),
62
+ manual: e("Manual run", "Manual dispatch trigger"),
63
+ dispatching: e("Starting", "Launch in progress, not yet confirmed"),
64
+ dispatched: e("No outcome reported", "Confirmed launch, not proof of ongoing activity or success"),
65
+ completed: e("Completed", "Explicit completed report"),
66
+ errored: e("Reported a problem", "Explicit errored report"),
67
+ failed: e("Could not start", "Known failure before admission"),
68
+ uncertain: e("Start not confirmed", "Launch could not be confirmed; never automatically retried"),
69
+ failedHelp: e("The task could not start. Check the details before asking an agent to try again.", "Recovery for failed dispatch"),
70
+ uncertainHelp: e("Check whether the work started before trying again, to avoid running it twice.", "Uncertain dispatch must not encourage a blind retry"),
71
+ erroredHelp: e("Open the conversation to investigate the reported problem.", "Recovery for a reported error")
72
+ }, n = globalThis, r = n.ShadowRoot && (n.ShadyCSS === void 0 || n.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, i = Symbol(), a = /* @__PURE__ */ new WeakMap(), o = class {
73
+ constructor(e, t, n) {
74
+ if (this._$cssResult$ = !0, n !== i) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
75
+ this.cssText = e, this.t = t;
76
+ }
77
+ get styleSheet() {
78
+ let e = this.o, t = this.t;
79
+ if (r && e === void 0) {
80
+ let n = t !== void 0 && t.length === 1;
81
+ n && (e = a.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && a.set(t, e));
82
+ }
83
+ return e;
84
+ }
85
+ toString() {
86
+ return this.cssText;
87
+ }
88
+ }, s = (e) => new o(typeof e == "string" ? e : e + "", void 0, i), c = (e, ...t) => new o(e.length === 1 ? e[0] : t.reduce((t, n, r) => t + ((e) => {
89
+ if (!0 === e._$cssResult$) return e.cssText;
90
+ if (typeof e == "number") return e;
91
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + e + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
92
+ })(n) + e[r + 1], e[0]), e, i), l = (e, t) => {
93
+ if (r) e.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
94
+ else for (let r of t) {
95
+ let t = document.createElement("style"), i = n.litNonce;
96
+ i !== void 0 && t.setAttribute("nonce", i), t.textContent = r.cssText, e.appendChild(t);
97
+ }
98
+ }, u = r ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((e) => {
99
+ let t = "";
100
+ for (let n of e.cssRules) t += n.cssText;
101
+ return s(t);
102
+ })(e) : e, { is: d, defineProperty: ee, getOwnPropertyDescriptor: te, getOwnPropertyNames: ne, getOwnPropertySymbols: re, getPrototypeOf: ie } = Object, f = globalThis, ae = f.trustedTypes, oe = ae ? ae.emptyScript : "", se = f.reactiveElementPolyfillSupport, p = (e, t) => e, m = {
103
+ toAttribute(e, t) {
104
+ switch (t) {
105
+ case Boolean:
106
+ e = e ? oe : null;
107
+ break;
108
+ case Object:
109
+ case Array: e = e == null ? e : JSON.stringify(e);
110
+ }
111
+ return e;
112
+ },
113
+ fromAttribute(e, t) {
114
+ let n = e;
115
+ switch (t) {
116
+ case Boolean:
117
+ n = e !== null;
118
+ break;
119
+ case Number:
120
+ n = e === null ? null : Number(e);
121
+ break;
122
+ case Object:
123
+ case Array: try {
124
+ n = JSON.parse(e);
125
+ } catch {
126
+ n = null;
127
+ }
128
+ }
129
+ return n;
130
+ }
131
+ }, h = (e, t) => !d(e, t), g = {
132
+ attribute: !0,
133
+ type: String,
134
+ converter: m,
135
+ reflect: !1,
136
+ useDefault: !1,
137
+ hasChanged: h
138
+ };
139
+ Symbol.metadata ??= Symbol("metadata"), f.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
140
+ var _ = class extends HTMLElement {
141
+ static addInitializer(e) {
142
+ this._$Ei(), (this.l ??= []).push(e);
143
+ }
144
+ static get observedAttributes() {
145
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
146
+ }
147
+ static createProperty(e, t = g) {
148
+ if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
149
+ let n = Symbol(), r = this.getPropertyDescriptor(e, n, t);
150
+ r !== void 0 && ee(this.prototype, e, r);
151
+ }
152
+ }
153
+ static getPropertyDescriptor(e, t, n) {
154
+ let { get: r, set: i } = te(this.prototype, e) ?? {
155
+ get() {
156
+ return this[t];
157
+ },
158
+ set(e) {
159
+ this[t] = e;
160
+ }
161
+ };
162
+ return {
163
+ get: r,
164
+ set(t) {
165
+ let a = r?.call(this);
166
+ i?.call(this, t), this.requestUpdate(e, a, n);
167
+ },
168
+ configurable: !0,
169
+ enumerable: !0
170
+ };
171
+ }
172
+ static getPropertyOptions(e) {
173
+ return this.elementProperties.get(e) ?? g;
174
+ }
175
+ static _$Ei() {
176
+ if (this.hasOwnProperty(p("elementProperties"))) return;
177
+ let e = ie(this);
178
+ e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
179
+ }
180
+ static finalize() {
181
+ if (this.hasOwnProperty(p("finalized"))) return;
182
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(p("properties"))) {
183
+ let e = this.properties, t = [...ne(e), ...re(e)];
184
+ for (let n of t) this.createProperty(n, e[n]);
185
+ }
186
+ let e = this[Symbol.metadata];
187
+ if (e !== null) {
188
+ let t = litPropertyMetadata.get(e);
189
+ if (t !== void 0) for (let [e, n] of t) this.elementProperties.set(e, n);
190
+ }
191
+ this._$Eh = /* @__PURE__ */ new Map();
192
+ for (let [e, t] of this.elementProperties) {
193
+ let n = this._$Eu(e, t);
194
+ n !== void 0 && this._$Eh.set(n, e);
195
+ }
196
+ this.elementStyles = this.finalizeStyles(this.styles);
197
+ }
198
+ static finalizeStyles(e) {
199
+ let t = [];
200
+ if (Array.isArray(e)) {
201
+ let n = new Set(e.flat(1 / 0).reverse());
202
+ for (let e of n) t.unshift(u(e));
203
+ } else e !== void 0 && t.push(u(e));
204
+ return t;
205
+ }
206
+ static _$Eu(e, t) {
207
+ let n = t.attribute;
208
+ return !1 === n ? void 0 : typeof n == "string" ? n : typeof e == "string" ? e.toLowerCase() : void 0;
209
+ }
210
+ constructor() {
211
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
212
+ }
213
+ _$Ev() {
214
+ this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((e) => e(this));
215
+ }
216
+ addController(e) {
217
+ (this._$EO ??= /* @__PURE__ */ new Set()).add(e), this.renderRoot !== void 0 && this.isConnected && e.hostConnected?.();
218
+ }
219
+ removeController(e) {
220
+ this._$EO?.delete(e);
221
+ }
222
+ _$E_() {
223
+ let e = /* @__PURE__ */ new Map(), t = this.constructor.elementProperties;
224
+ for (let n of t.keys()) this.hasOwnProperty(n) && (e.set(n, this[n]), delete this[n]);
225
+ e.size > 0 && (this._$Ep = e);
226
+ }
227
+ createRenderRoot() {
228
+ let e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
229
+ return l(e, this.constructor.elementStyles), e;
230
+ }
231
+ connectedCallback() {
232
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((e) => e.hostConnected?.());
233
+ }
234
+ enableUpdating(e) {}
235
+ disconnectedCallback() {
236
+ this._$EO?.forEach((e) => e.hostDisconnected?.());
237
+ }
238
+ attributeChangedCallback(e, t, n) {
239
+ this._$AK(e, n);
240
+ }
241
+ _$ET(e, t) {
242
+ let n = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, n);
243
+ if (r !== void 0 && !0 === n.reflect) {
244
+ let i = (n.converter?.toAttribute === void 0 ? m : n.converter).toAttribute(t, n.type);
245
+ this._$Em = e, i == null ? this.removeAttribute(r) : this.setAttribute(r, i), this._$Em = null;
246
+ }
247
+ }
248
+ _$AK(e, t) {
249
+ let n = this.constructor, r = n._$Eh.get(e);
250
+ if (r !== void 0 && this._$Em !== r) {
251
+ let e = n.getPropertyOptions(r), i = typeof e.converter == "function" ? { fromAttribute: e.converter } : e.converter?.fromAttribute === void 0 ? m : e.converter;
252
+ this._$Em = r;
253
+ let a = i.fromAttribute(t, e.type);
254
+ this[r] = a ?? this._$Ej?.get(r) ?? a, this._$Em = null;
255
+ }
256
+ }
257
+ requestUpdate(e, t, n, r = !1, i) {
258
+ if (e !== void 0) {
259
+ let a = this.constructor;
260
+ if (!1 === r && (i = this[e]), n ??= a.getPropertyOptions(e), !((n.hasChanged ?? h)(i, t) || n.useDefault && n.reflect && i === this._$Ej?.get(e) && !this.hasAttribute(a._$Eu(e, n)))) return;
261
+ this.C(e, t, n);
262
+ }
263
+ !1 === this.isUpdatePending && (this._$ES = this._$EP());
264
+ }
265
+ C(e, t, { useDefault: n, reflect: r, wrapped: i }, a) {
266
+ n && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, a ?? t ?? this[e]), !0 !== i || a !== void 0) || (this._$AL.has(e) || (this.hasUpdated || n || (t = void 0), this._$AL.set(e, t)), !0 === r && this._$Em !== e && (this._$Eq ??= /* @__PURE__ */ new Set()).add(e));
267
+ }
268
+ async _$EP() {
269
+ this.isUpdatePending = !0;
270
+ try {
271
+ await this._$ES;
272
+ } catch (e) {
273
+ Promise.reject(e);
274
+ }
275
+ let e = this.scheduleUpdate();
276
+ return e != null && await e, !this.isUpdatePending;
277
+ }
278
+ scheduleUpdate() {
279
+ return this.performUpdate();
280
+ }
281
+ performUpdate() {
282
+ if (!this.isUpdatePending) return;
283
+ if (!this.hasUpdated) {
284
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
285
+ for (let [e, t] of this._$Ep) this[e] = t;
286
+ this._$Ep = void 0;
287
+ }
288
+ let e = this.constructor.elementProperties;
289
+ if (e.size > 0) for (let [t, n] of e) {
290
+ let { wrapped: e } = n, r = this[t];
291
+ !0 !== e || this._$AL.has(t) || r === void 0 || this.C(t, void 0, n, r);
292
+ }
293
+ }
294
+ let e = !1, t = this._$AL;
295
+ try {
296
+ e = this.shouldUpdate(t), e ? (this.willUpdate(t), this._$EO?.forEach((e) => e.hostUpdate?.()), this.update(t)) : this._$EM();
297
+ } catch (t) {
298
+ throw e = !1, this._$EM(), t;
299
+ }
300
+ e && this._$AE(t);
301
+ }
302
+ willUpdate(e) {}
303
+ _$AE(e) {
304
+ this._$EO?.forEach((e) => e.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(e)), this.updated(e);
305
+ }
306
+ _$EM() {
307
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
308
+ }
309
+ get updateComplete() {
310
+ return this.getUpdateComplete();
311
+ }
312
+ getUpdateComplete() {
313
+ return this._$ES;
314
+ }
315
+ shouldUpdate(e) {
316
+ return !0;
317
+ }
318
+ update(e) {
319
+ this._$Eq &&= this._$Eq.forEach((e) => this._$ET(e, this[e])), this._$EM();
320
+ }
321
+ updated(e) {}
322
+ firstUpdated(e) {}
323
+ };
324
+ _.elementStyles = [], _.shadowRootOptions = { mode: "open" }, _[p("elementProperties")] = /* @__PURE__ */ new Map(), _[p("finalized")] = /* @__PURE__ */ new Map(), se?.({ ReactiveElement: _ }), (f.reactiveElementVersions ??= []).push("2.1.2");
325
+ // node_modules/lit-html/lit-html.js
326
+ var v = globalThis, y = (e) => e, b = v.trustedTypes, ce = b ? b.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, x = "$lit$", S = `lit$${Math.random().toFixed(9).slice(2)}$`, C = "?" + S, le = `<${C}>`, w = document, T = () => w.createComment(""), E = (e) => e === null || typeof e != "object" && typeof e != "function", D = Array.isArray, O = (e) => D(e) || typeof e?.[Symbol.iterator] == "function", k = "[ \n\f\r]", A = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ue = /-->/g, de = />/g, j = RegExp(`>|${k}(?:([^\\s"'>=/]+)(${k}*=${k}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), M = /'/g, N = /"/g, P = /^(?:script|style|textarea|title)$/i, F = ((e) => (t, ...n) => ({
327
+ _$litType$: e,
328
+ strings: t,
329
+ values: n
330
+ }))(1), I = Symbol.for("lit-noChange"), L = Symbol.for("lit-nothing"), R = /* @__PURE__ */ new WeakMap(), z = w.createTreeWalker(w, 129);
331
+ function B(e, t) {
332
+ if (!D(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
333
+ return ce === void 0 ? t : ce.createHTML(t);
334
+ }
335
+ var V = (e, t) => {
336
+ let n = e.length - 1, r = [], i, a = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = A;
337
+ for (let t = 0; t < n; t++) {
338
+ let n = e[t], s, c, l = -1, u = 0;
339
+ for (; u < n.length && (o.lastIndex = u, c = o.exec(n), c !== null);) u = o.lastIndex, o === A ? c[1] === "!--" ? o = ue : c[1] === void 0 ? c[2] === void 0 ? c[3] !== void 0 && (o = j) : (P.test(c[2]) && (i = RegExp("</" + c[2], "g")), o = j) : o = de : o === j ? c[0] === ">" ? (o = i ?? A, l = -1) : c[1] === void 0 ? l = -2 : (l = o.lastIndex - c[2].length, s = c[1], o = c[3] === void 0 ? j : c[3] === "\"" ? N : M) : o === N || o === M ? o = j : o === ue || o === de ? o = A : (o = j, i = void 0);
340
+ let d = o === j && e[t + 1].startsWith("/>") ? " " : "";
341
+ a += o === A ? n + le : l >= 0 ? (r.push(s), n.slice(0, l) + x + n.slice(l) + S + d) : n + S + (l === -2 ? t : d);
342
+ }
343
+ return [B(e, a + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
344
+ }, H = class e {
345
+ constructor({ strings: t, _$litType$: n }, r) {
346
+ let i;
347
+ this.parts = [];
348
+ let a = 0, o = 0, s = t.length - 1, c = this.parts, [l, u] = V(t, n);
349
+ if (this.el = e.createElement(l, r), z.currentNode = this.el.content, n === 2 || n === 3) {
350
+ let e = this.el.content.firstChild;
351
+ e.replaceWith(...e.childNodes);
352
+ }
353
+ for (; (i = z.nextNode()) !== null && c.length < s;) {
354
+ if (i.nodeType === 1) {
355
+ if (i.hasAttributes()) for (let e of i.getAttributeNames()) if (e.endsWith(x)) {
356
+ let t = u[o++], n = i.getAttribute(e).split(S), r = /([.?@])?(.*)/.exec(t);
357
+ c.push({
358
+ type: 1,
359
+ index: a,
360
+ name: r[2],
361
+ strings: n,
362
+ ctor: r[1] === "." ? q : r[1] === "?" ? fe : r[1] === "@" ? pe : K
363
+ }), i.removeAttribute(e);
364
+ } else e.startsWith(S) && (c.push({
365
+ type: 6,
366
+ index: a
367
+ }), i.removeAttribute(e));
368
+ if (P.test(i.tagName)) {
369
+ let e = i.textContent.split(S), t = e.length - 1;
370
+ if (t > 0) {
371
+ i.textContent = b ? b.emptyScript : "";
372
+ for (let n = 0; n < t; n++) i.append(e[n], T()), z.nextNode(), c.push({
373
+ type: 2,
374
+ index: ++a
375
+ });
376
+ i.append(e[t], T());
377
+ }
378
+ }
379
+ } else if (i.nodeType === 8) {
380
+ if (i.data === C) c.push({
381
+ type: 2,
382
+ index: a
383
+ });
384
+ else {
385
+ let e = -1;
386
+ for (; (e = i.data.indexOf(S, e + 1)) !== -1;) c.push({
387
+ type: 7,
388
+ index: a
389
+ }), e += S.length - 1;
390
+ }
391
+ }
392
+ a++;
393
+ }
394
+ }
395
+ static createElement(e, t) {
396
+ let n = w.createElement("template");
397
+ return n.innerHTML = e, n;
398
+ }
399
+ };
400
+ function U(e, t, n = e, r) {
401
+ if (t === I) return t;
402
+ let i = r === void 0 ? n._$Cl : n._$Co?.[r], a = E(t) ? void 0 : t._$litDirective$;
403
+ return i?.constructor !== a && (i?._$AO?.(!1), a === void 0 ? i = void 0 : (i = new a(e), i._$AT(e, n, r)), r === void 0 ? n._$Cl = i : (n._$Co ??= [])[r] = i), i !== void 0 && (t = U(e, i._$AS(e, t.values), i, r)), t;
404
+ }
405
+ var W = class {
406
+ constructor(e, t) {
407
+ this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
408
+ }
409
+ get parentNode() {
410
+ return this._$AM.parentNode;
411
+ }
412
+ get _$AU() {
413
+ return this._$AM._$AU;
414
+ }
415
+ u(e) {
416
+ let { el: { content: t }, parts: n } = this._$AD, r = (e?.creationScope ?? w).importNode(t, !0);
417
+ z.currentNode = r;
418
+ let i = z.nextNode(), a = 0, o = 0, s = n[0];
419
+ for (; s !== void 0;) {
420
+ if (a === s.index) {
421
+ let t;
422
+ s.type === 2 ? t = new G(i, i.nextSibling, this, e) : s.type === 1 ? t = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (t = new me(i, this, e)), this._$AV.push(t), s = n[++o];
423
+ }
424
+ a !== s?.index && (i = z.nextNode(), a++);
425
+ }
426
+ return z.currentNode = w, r;
427
+ }
428
+ p(e) {
429
+ let t = 0;
430
+ for (let n of this._$AV) n !== void 0 && (n.strings === void 0 ? n._$AI(e[t]) : (n._$AI(e, n, t), t += n.strings.length - 2)), t++;
431
+ }
432
+ }, G = class e {
433
+ get _$AU() {
434
+ return this._$AM?._$AU ?? this._$Cv;
435
+ }
436
+ constructor(e, t, n, r) {
437
+ this.type = 2, this._$AH = L, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = r, this._$Cv = r?.isConnected ?? !0;
438
+ }
439
+ get parentNode() {
440
+ let e = this._$AA.parentNode, t = this._$AM;
441
+ return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
442
+ }
443
+ get startNode() {
444
+ return this._$AA;
445
+ }
446
+ get endNode() {
447
+ return this._$AB;
448
+ }
449
+ _$AI(e, t = this) {
450
+ e = U(this, e, t), E(e) ? e === L || e == null || e === "" ? (this._$AH !== L && this._$AR(), this._$AH = L) : e !== this._$AH && e !== I && this._(e) : e._$litType$ === void 0 ? e.nodeType === void 0 ? O(e) ? this.k(e) : this._(e) : this.T(e) : this.$(e);
451
+ }
452
+ O(e) {
453
+ return this._$AA.parentNode.insertBefore(e, this._$AB);
454
+ }
455
+ T(e) {
456
+ this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
457
+ }
458
+ _(e) {
459
+ this._$AH !== L && E(this._$AH) ? this._$AA.nextSibling.data = e : this.T(w.createTextNode(e)), this._$AH = e;
460
+ }
461
+ $(e) {
462
+ let { values: t, _$litType$: n } = e, r = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = H.createElement(B(n.h, n.h[0]), this.options)), n);
463
+ if (this._$AH?._$AD === r) this._$AH.p(t);
464
+ else {
465
+ let e = new W(r, this), n = e.u(this.options);
466
+ e.p(t), this.T(n), this._$AH = e;
467
+ }
468
+ }
469
+ _$AC(e) {
470
+ let t = R.get(e.strings);
471
+ return t === void 0 && R.set(e.strings, t = new H(e)), t;
472
+ }
473
+ k(t) {
474
+ D(this._$AH) || (this._$AH = [], this._$AR());
475
+ let n = this._$AH, r, i = 0;
476
+ for (let a of t) i === n.length ? n.push(r = new e(this.O(T()), this.O(T()), this, this.options)) : r = n[i], r._$AI(a), i++;
477
+ i < n.length && (this._$AR(r && r._$AB.nextSibling, i), n.length = i);
478
+ }
479
+ _$AR(e = this._$AA.nextSibling, t) {
480
+ for (this._$AP?.(!1, !0, t); e !== this._$AB;) {
481
+ let t = y(e).nextSibling;
482
+ y(e).remove(), e = t;
483
+ }
484
+ }
485
+ setConnected(e) {
486
+ this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
487
+ }
488
+ }, K = class {
489
+ get tagName() {
490
+ return this.element.tagName;
491
+ }
492
+ get _$AU() {
493
+ return this._$AM._$AU;
494
+ }
495
+ constructor(e, t, n, r, i) {
496
+ this.type = 1, this._$AH = L, this._$AN = void 0, this.element = e, this.name = t, this._$AM = r, this.options = i, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(/* @__PURE__ */ new String()), this.strings = n) : this._$AH = L;
497
+ }
498
+ _$AI(e, t = this, n, r) {
499
+ let i = this.strings, a = !1;
500
+ if (i === void 0) e = U(this, e, t, 0), a = !E(e) || e !== this._$AH && e !== I, a && (this._$AH = e);
501
+ else {
502
+ let r = e, o, s;
503
+ for (e = i[0], o = 0; o < i.length - 1; o++) s = U(this, r[n + o], t, o), s === I && (s = this._$AH[o]), a ||= !E(s) || s !== this._$AH[o], s === L ? e = L : e !== L && (e += (s ?? "") + i[o + 1]), this._$AH[o] = s;
504
+ }
505
+ a && !r && this.j(e);
506
+ }
507
+ j(e) {
508
+ e === L ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
509
+ }
510
+ }, q = class extends K {
511
+ constructor() {
512
+ super(...arguments), this.type = 3;
513
+ }
514
+ j(e) {
515
+ this.element[this.name] = e === L ? void 0 : e;
516
+ }
517
+ }, fe = class extends K {
518
+ constructor() {
519
+ super(...arguments), this.type = 4;
520
+ }
521
+ j(e) {
522
+ this.element.toggleAttribute(this.name, !!e && e !== L);
523
+ }
524
+ }, pe = class extends K {
525
+ constructor(e, t, n, r, i) {
526
+ super(e, t, n, r, i), this.type = 5;
527
+ }
528
+ _$AI(e, t = this) {
529
+ if ((e = U(this, e, t, 0) ?? L) === I) return;
530
+ let n = this._$AH, r = e === L && n !== L || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, i = e !== L && (n === L || r);
531
+ r && this.element.removeEventListener(this.name, this, n), i && this.element.addEventListener(this.name, this, e), this._$AH = e;
532
+ }
533
+ handleEvent(e) {
534
+ typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
535
+ }
536
+ }, me = class {
537
+ constructor(e, t, n) {
538
+ this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
539
+ }
540
+ get _$AU() {
541
+ return this._$AM._$AU;
542
+ }
543
+ _$AI(e) {
544
+ U(this, e);
545
+ }
546
+ }, he = {
547
+ M: x,
548
+ P: S,
549
+ A: C,
550
+ C: 1,
551
+ L: V,
552
+ R: W,
553
+ D: O,
554
+ V: U,
555
+ I: G,
556
+ H: K,
557
+ N: fe,
558
+ U: pe,
559
+ B: q,
560
+ F: me
561
+ }, ge = v.litHtmlPolyfillSupport;
562
+ ge?.(H, G), (v.litHtmlVersions ??= []).push("3.3.3");
563
+ var _e = (e, t, n) => {
564
+ let r = n?.renderBefore ?? t, i = r._$litPart$;
565
+ if (i === void 0) {
566
+ let e = n?.renderBefore ?? null;
567
+ r._$litPart$ = i = new G(t.insertBefore(T(), e), e, void 0, n ?? {});
568
+ }
569
+ return i._$AI(e), i;
570
+ }, J = globalThis, Y = class extends _ {
571
+ constructor() {
572
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
573
+ }
574
+ createRenderRoot() {
575
+ let e = super.createRenderRoot();
576
+ return this.renderOptions.renderBefore ??= e.firstChild, e;
577
+ }
578
+ update(e) {
579
+ let t = this.render();
580
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = _e(t, this.renderRoot, this.renderOptions);
581
+ }
582
+ connectedCallback() {
583
+ super.connectedCallback(), this._$Do?.setConnected(!0);
584
+ }
585
+ disconnectedCallback() {
586
+ super.disconnectedCallback(), this._$Do?.setConnected(!1);
587
+ }
588
+ render() {
589
+ return I;
590
+ }
591
+ };
592
+ Y._$litElement$ = !0, Y.finalized = !0, J.litElementHydrateSupport?.({ LitElement: Y });
593
+ var ve = J.litElementPolyfillSupport;
594
+ ve?.({ LitElement: Y }), (J.litElementVersions ??= []).push("4.2.2");
595
+ // node_modules/lit-html/directive.js
596
+ var ye = (e) => (...t) => ({
597
+ _$litDirective$: e,
598
+ values: t
599
+ }), be = class {
600
+ constructor(e) {}
601
+ get _$AU() {
602
+ return this._$AM._$AU;
603
+ }
604
+ _$AT(e, t, n) {
605
+ this._$Ct = e, this._$AM = t, this._$Ci = n;
606
+ }
607
+ _$AS(e, t) {
608
+ return this.update(e, t);
609
+ }
610
+ update(e, t) {
611
+ return this.render(...t);
612
+ }
613
+ }, { I: xe } = he, Se = {}, Ce = (e, t = Se) => e._$AH = t, we = ye(class extends be {
614
+ constructor() {
615
+ super(...arguments), this.key = L;
616
+ }
617
+ render(e, t) {
618
+ return this.key = e, t;
619
+ }
620
+ update(e, [t, n]) {
621
+ return t !== this.key && (Ce(e), this.key = t), n;
622
+ }
623
+ });
624
+ // pi-packages/scheduled-tasks/browser/overview.ts
625
+ function Te(e) {
626
+ return e.latestExecution !== null && [
627
+ "failed",
628
+ "errored",
629
+ "uncertain"
630
+ ].includes(e.latestExecution.status);
631
+ }
632
+ function Ee(e) {
633
+ let t = e.filter((e) => !e.archived), n = (e, t) => Date.parse(t.latestExecution?.createdAt ?? "1970-01-01") - Date.parse(e.latestExecution?.createdAt ?? "1970-01-01");
634
+ return {
635
+ attention: t.filter(Te).sort(n),
636
+ awaiting: t.filter((e) => e.latestExecution?.status === "dispatched" || e.latestExecution?.status === "dispatching").sort(n),
637
+ recent: t.filter((e) => e.latestExecution?.status === "completed").sort(n).slice(0, 5),
638
+ upcoming: t.filter((e) => !e.paused && e.nextDue !== null).sort((e, t) => Date.parse(e.nextDue ?? "") - Date.parse(t.nextDue ?? "")).slice(0, 5)
639
+ };
640
+ }
641
+ // pi-packages/scheduled-tasks/browser/responses.ts
642
+ function De(e) {
643
+ return Q(Z(e).prompt);
644
+ }
645
+ function Oe(e) {
646
+ return De(Z(e).task);
647
+ }
648
+ function ke(e) {
649
+ let t = Z(e).tasks;
650
+ if (!Array.isArray(t)) throw Error("Invalid tasks");
651
+ return t.map((e) => ({
652
+ ...je(e),
653
+ latestExecution: X(Z(e).latestExecution, Me)
654
+ }));
655
+ }
656
+ function Ae(e) {
657
+ let t = Z(e), n = t.executions, r = t.nextOffset;
658
+ if (!Array.isArray(n) || !(r === null || typeof r == "number" && Number.isSafeInteger(r) && r >= 0)) throw Error("Invalid history");
659
+ return {
660
+ executions: n.map(Me),
661
+ nextOffset: r
662
+ };
663
+ }
664
+ function je(e) {
665
+ let t = Z(e), n = Z(t.schedule), r = n.kind;
666
+ if (typeof t.paused != "boolean" || typeof t.archived != "boolean" || typeof t.revision != "number") throw Error("Invalid task");
667
+ if (r !== "once" && r !== "cron") throw Error("Invalid schedule");
668
+ let i = Q(t.timezone);
669
+ return new Intl.DateTimeFormat("en", { timeZone: i }).format(), {
670
+ id: Q(t.id),
671
+ name: Q(t.name),
672
+ revision: t.revision,
673
+ projectId: Q(t.projectId),
674
+ workspaceId: Q(t.workspaceId),
675
+ schedule: r === "once" ? {
676
+ kind: r,
677
+ at: $(n.at)
678
+ } : {
679
+ kind: r,
680
+ expression: Q(n.expression)
681
+ },
682
+ timezone: i,
683
+ paused: t.paused,
684
+ archived: t.archived,
685
+ nextDue: X(t.nextDue, $),
686
+ ...Ne(t)
687
+ };
688
+ }
689
+ function Me(e) {
690
+ let t = Z(e), n = t.status, r = t.trigger;
691
+ if (n !== "dispatching" && n !== "dispatched" && n !== "completed" && n !== "errored" && n !== "failed" && n !== "uncertain") throw Error("Invalid status");
692
+ if (r !== "scheduled" && r !== "manual") throw Error("Invalid trigger");
693
+ return {
694
+ id: Q(t.id),
695
+ task: je(t.task),
696
+ status: n,
697
+ trigger: r,
698
+ createdAt: $(t.createdAt),
699
+ sessionId: X(t.sessionId, Q),
700
+ dispatchError: X(t.dispatchError, Q),
701
+ latestReport: X(t.latestReport, (e) => ({ summary: Q(Z(e).summary) })),
702
+ ...Ne(t),
703
+ ...t.notices === void 0 ? {} : { notices: Pe(t.notices) }
704
+ };
705
+ }
706
+ function Ne(e) {
707
+ return {
708
+ ...e.model === void 0 ? {} : { model: Q(e.model) },
709
+ ...e.thinkingLevel === void 0 ? {} : { thinkingLevel: Q(e.thinkingLevel) }
710
+ };
711
+ }
712
+ function Pe(e) {
713
+ if (!Array.isArray(e)) throw Error("Invalid notices");
714
+ return e.map(Q);
715
+ }
716
+ function X(e, t) {
717
+ return e === null ? null : t(e);
718
+ }
719
+ function Z(e) {
720
+ if (typeof e != "object" || !e || Array.isArray(e)) throw Error("Invalid object");
721
+ return e;
722
+ }
723
+ function Q(e) {
724
+ if (typeof e != "string") throw Error("Invalid string");
725
+ return e;
726
+ }
727
+ function $(e) {
728
+ let t = Q(e);
729
+ if (!Number.isFinite(Date.parse(t))) throw Error("Invalid timestamp");
730
+ return t;
731
+ }
732
+ // pi-packages/scheduled-tasks/browser/panel.ts
733
+ var Fe = "pi-web-scheduled-tasks-panel", Ie = class extends Y {
734
+ constructor(...e) {
735
+ super(...e), this.tasks = [], this.history = {
736
+ executions: [],
737
+ nextOffset: null
738
+ }, this.view = "overview", this.offset = 0, this.allTasksExpanded = !1, this.busy = !1, this.loaded = !1, this.prompts = /* @__PURE__ */ new Map(), this.stop = () => {
739
+ this.pending?.abort(), this.clearPrompts();
740
+ };
741
+ }
742
+ clearPrompts() {
743
+ for (let e of this.prompts.values()) e.controller.abort();
744
+ this.prompts.clear();
745
+ }
746
+ set content(e) {
747
+ e !== this.contentValue && (this.detach(), this.contentValue = e, this.isConnected && this.attach(), this.requestUpdate());
748
+ }
749
+ set context(e) {
750
+ let t = this.contextValue;
751
+ this.contextValue = e, (t?.machine.id !== e.machine.id || !!t.backend != !!e.backend) && (this.pending?.abort(), this.clearPrompts(), this.tasks = [], this.history = {
752
+ executions: [],
753
+ nextOffset: null
754
+ }, this.taskId = void 0, this.view = "overview", this.offset = 0, this.allTasksExpanded = !1, this.loaded = !1, this.isConnected && this.load());
755
+ }
756
+ connectedCallback() {
757
+ super.connectedCallback(), this.attach(), this.load();
758
+ }
759
+ disconnectedCallback() {
760
+ this.pending?.abort(), this.detach(), super.disconnectedCallback();
761
+ }
762
+ attach() {
763
+ let e = this.contentValue;
764
+ e && (this.shadowRoot && (this.releaseStyles ??= e.styles.registerRoot(this.shadowRoot, { sharedUi: !0 })), this.releaseLocalization ??= e.localization.subscribe(() => {
765
+ this.requestUpdate();
766
+ }), e.lifetimeSignal.addEventListener("abort", this.stop, { once: !0 }));
767
+ }
768
+ detach() {
769
+ this.clearPrompts(), this.releaseStyles?.(), this.releaseStyles = void 0, this.releaseLocalization?.(), this.releaseLocalization = void 0, this.contentValue?.lifetimeSignal.removeEventListener("abort", this.stop);
770
+ }
771
+ async load() {
772
+ this.pending?.abort();
773
+ let e = new AbortController();
774
+ this.pending = e;
775
+ let t = this.contextValue;
776
+ if (t && this.contentValue && !this.contentValue.lifetimeSignal.aborted) {
777
+ if (this.issue = void 0, this.diagnostic = void 0, !t.backend) this.issue = "unavailable", this.busy = !1, this.requestUpdate();
778
+ else {
779
+ this.busy = !0, this.requestUpdate();
780
+ try {
781
+ let n = t.backend.forScope({ kind: "machine" });
782
+ if (!n.request) throw Error("Scheduled tasks backend does not support requests");
783
+ let r = { signal: e.signal }, [i, a] = await Promise.all([n.request("overview", {}, r), this.view === "overview" ? Promise.resolve(null) : n.request("history", {
784
+ ...this.taskId === void 0 ? {} : { taskId: this.taskId },
785
+ limit: 20,
786
+ offset: this.offset
787
+ }, r)]);
788
+ if (e.signal.aborted) return;
789
+ try {
790
+ let e = ke(i), t = a === null ? {
791
+ executions: [],
792
+ nextOffset: null
793
+ } : Ae(a);
794
+ this.tasks = e, this.history = t, this.loaded = !0;
795
+ } catch {
796
+ this.issue = "invalidResponse";
797
+ }
798
+ } catch (t) {
799
+ if (e.signal.aborted) return;
800
+ this.issue = "loadFailed", this.diagnostic = t instanceof Error ? t.message : String(t);
801
+ } finally {
802
+ e.signal.aborted || (this.busy = !1, this.requestUpdate());
803
+ }
804
+ }
805
+ }
806
+ }
807
+ showHistory(e) {
808
+ this.clearPrompts(), this.taskId = e, this.view = e === void 0 ? "history" : "task", this.offset = 0, this.history = {
809
+ executions: [],
810
+ nextOffset: null
811
+ }, this.load(), this.focusView();
812
+ }
813
+ async focusView() {
814
+ await this.updateComplete, this.renderRoot.querySelector(".view-title")?.focus();
815
+ let e = this.renderRoot.querySelector(".body");
816
+ e && (e.scrollTop = 0);
817
+ }
818
+ async showOverview() {
819
+ this.clearPrompts();
820
+ let e = this.taskId;
821
+ this.view = "overview", this.taskId = void 0, this.offset = 0, this.load(), await this.updateComplete;
822
+ let t = [...this.renderRoot.querySelectorAll("[data-task-id]")].find((t) => t.dataset.taskId === e);
823
+ t ? t.focus() : await this.focusView();
824
+ }
825
+ page(e) {
826
+ this.offset = e, this.history = {
827
+ executions: [],
828
+ nextOffset: null
829
+ }, this.load();
830
+ }
831
+ conversationUrl(e) {
832
+ let t = new URL(window.location.href);
833
+ return t.search = new URLSearchParams({
834
+ machine: this.contextValue?.machine.id ?? "",
835
+ project: e.task.projectId,
836
+ workspace: e.task.workspaceId,
837
+ session: e.sessionId ?? "",
838
+ view: "chat"
839
+ }).toString(), t.hash = "", t.href;
840
+ }
841
+ async openConversation(e) {
842
+ let t = this.contextValue;
843
+ if (t && e.sessionId !== null) try {
844
+ await t.navigate({
845
+ machineId: t.machine.id,
846
+ projectId: e.task.projectId,
847
+ workspaceId: e.task.workspaceId,
848
+ sessionId: e.sessionId,
849
+ view: "chat"
850
+ });
851
+ } catch {
852
+ if (this.contextValue?.machine.id !== t.machine.id || !this.isConnected) return;
853
+ this.issue = "navigationFailed", this.requestUpdate();
854
+ }
855
+ }
856
+ time(e) {
857
+ return this.contentValue?.localization.date(new Date(e), {
858
+ year: "numeric",
859
+ month: "short",
860
+ day: "numeric",
861
+ hour: "numeric",
862
+ minute: "2-digit",
863
+ timeZoneName: "short"
864
+ }) ?? e;
865
+ }
866
+ renderTarget(e) {
867
+ return this.contentValue?.messages.t("target", {
868
+ project: e.projectId,
869
+ workspace: e.workspaceId
870
+ });
871
+ }
872
+ renderNext(e) {
873
+ let t = this.contentValue?.messages;
874
+ return t ? e.archived ? t.t("archived") : e.paused ? t.t("paused") : e.nextDue === null ? t.t("noNext") : t.t("next", { at: this.time(e.nextDue) }) : L;
875
+ }
876
+ renderNotices(e) {
877
+ let t = this.contentValue?.messages;
878
+ return t ? e.notices?.map((e) => F`<p class="run-warning">${t.t("runWarning", { notice: e })}</p>`) ?? L : L;
879
+ }
880
+ async loadPrompt(e, t, n) {
881
+ if (this.prompts.has(e)) return;
882
+ let r = this.contextValue;
883
+ if (!r?.backend) return;
884
+ let i = { controller: new AbortController() };
885
+ this.prompts.set(e, i), this.requestUpdate();
886
+ try {
887
+ let e = r.backend.forScope({ kind: "machine" });
888
+ if (!e.request) throw Error("Scheduled tasks backend does not support requests");
889
+ let a = await e.request(t ? "execution" : "inspect", t ? { executionId: n } : { taskId: n }, { signal: i.controller.signal });
890
+ if (i.controller.signal.aborted) return;
891
+ try {
892
+ i.text = t ? Oe(a) : De(a);
893
+ } catch {
894
+ i.error = "invalidResponse";
895
+ }
896
+ } catch {
897
+ if (i.controller.signal.aborted) return;
898
+ i.error = "loadFailed";
899
+ } finally {
900
+ i.controller.signal.aborted || this.requestUpdate();
901
+ }
902
+ }
903
+ renderPrompt(e, t) {
904
+ let n = this.contentValue?.messages;
905
+ if (!n) return L;
906
+ let r = t ? `execution:${t.id}` : `task:${e.id}:${String(e.revision)}`, i = this.prompts.get(r), a = () => {
907
+ this.loadPrompt(r, !!t, t?.id ?? e.id);
908
+ };
909
+ return we(r, F`<details class="prompt" @toggle=${(e) => {
910
+ e.currentTarget instanceof HTMLDetailsElement && e.currentTarget.open && e.currentTarget.isConnected && a();
911
+ }}><summary>${n.t(t ? "promptUsed" : "prompt")}</summary>
912
+ ${i?.error ? F`<div role="alert"><p class="meta">${n.t("promptLoadFailed")}</p>
913
+ <button type="button" class="ui-button ui-button--action" @click=${() => {
914
+ this.prompts.delete(r), a();
915
+ }}>${n.t("retryPrompt")}</button></div>` : i?.text === void 0 ? F`<p class="meta" role="status">${n.t("loadingPrompt")}</p>` : F`<p class="prompt-text" dir="auto">${i.text}</p>`}
916
+ </details>`);
917
+ }
918
+ renderTechnical(e, t) {
919
+ let n = this.contentValue;
920
+ if (!n) return L;
921
+ let { messages: r, localization: i } = n;
922
+ return F`<details class="technical"><summary>${r.t("technical")}</summary>
923
+ <div class="detail-stack meta">
924
+ <span>${this.renderTarget(e)}</span>
925
+ ${e.model === void 0 ? L : F`<span>${r.t("requestedModel", { value: e.model })}</span>`}
926
+ ${e.thinkingLevel === void 0 ? L : F`<span>${r.t("requestedThinking", { value: e.thinkingLevel })}</span>`}
927
+ ${t?.model === void 0 ? L : F`<span>${r.t("effectiveModel", { value: t.model })}</span>`}
928
+ ${t?.thinkingLevel === void 0 ? L : F`<span>${r.t("effectiveThinking", { value: t.thinkingLevel })}</span>`}
929
+ <span>${e.schedule.kind === "cron" ? F`<code>${e.schedule.expression}</code>` : r.t("once", { at: i.date(new Date(e.schedule.at), {
930
+ dateStyle: "full",
931
+ timeStyle: "long",
932
+ timeZone: e.timezone
933
+ }) })} · ${e.timezone}</span>
934
+ ${t ? F`<span>${r.t(t.trigger)} · ${r.t("recordedAt", { at: this.time(t.createdAt) })}</span>
935
+ <span>${r.t("execution", {
936
+ id: t.id,
937
+ revision: t.task.revision
938
+ })}</span>
939
+ ${t.sessionId === null ? L : F`<span>${r.t("conversation", { id: t.sessionId })}</span>`}
940
+ ${t.dispatchError === null ? L : F`<p class="diagnostic">${t.dispatchError}</p>`}` : L}
941
+ </div>
942
+ </details>`;
943
+ }
944
+ renderExecution(e) {
945
+ let t = this.contentValue?.messages;
946
+ return t ? F`<div class="execution" data-status=${e.status}>
947
+ <div class="heading"><strong class="outcome">${t.t(e.status)}</strong>
948
+ <span class="meta">${t.t("recordedAt", { at: this.time(e.createdAt) })}</span></div>
949
+ ${e.sessionId === null ? L : F`<a class="conversation" href=${this.conversationUrl(e)} @click=${(t) => {
950
+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), this.openConversation(e));
951
+ }}>${t.t("openConversation")}</a>`}
952
+ ${e.latestReport ? we(e.id, F`<details class="result"><summary>${t.t("result")}</summary>
953
+ <p class="summary">${e.latestReport.summary}</p>
954
+ </details>`) : L}
955
+ ${e.status === "uncertain" || e.status === "failed" || e.status === "errored" ? F`<p class="meta">${t.t(e.status === "uncertain" ? "uncertainHelp" : e.status === "failed" ? "failedHelp" : "erroredHelp")}</p>` : L}
956
+ ${this.renderNotices(e)}
957
+ ${this.renderPrompt(e.task, e)}
958
+ ${this.renderTechnical(e.task, e)}
959
+ </div>` : L;
960
+ }
961
+ renderTaskLink(e) {
962
+ let t = this.contentValue?.messages;
963
+ return t ? F`<button type="button" class="ui-button task-link" data-task-id=${e.id}
964
+ aria-label=${t.t("viewTask", { name: e.name })}
965
+ @click=${() => {
966
+ this.showHistory(e.id);
967
+ }}>${e.name}</button>` : L;
968
+ }
969
+ renderOverviewTask(e, t = !1) {
970
+ let n = this.contentValue?.messages;
971
+ if (!n) return L;
972
+ let r = e.latestExecution;
973
+ return F`<article class="task" data-attention=${!t && Te(e)}>
974
+ <h3>${this.renderTaskLink(e)}</h3>
975
+ ${t ? F`<p class="next meta">${this.renderNext(e)}</p>` : r ? F`
976
+ <div class="heading"><span class="outcome" data-status=${r.status}>${n.t(r.status)}</span>
977
+ <span class="meta">${this.time(r.createdAt)}</span></div>
978
+ ` : L}
979
+ </article>`;
980
+ }
981
+ renderOverview() {
982
+ let e = this.contentValue?.messages;
983
+ if (!e) return L;
984
+ if (this.tasks.length === 0) return F`<section class="empty"><h2 class="view-title" tabindex="-1">${e.t("emptyTasks")}</h2><p class="meta">${e.t("emptyGuidance")}</p></section>`;
985
+ let t = Ee(this.tasks);
986
+ return F`
987
+ <section aria-labelledby="attention-title">
988
+ <h2 id="attention-title" class="view-title" tabindex="-1">${e.t("attention")}</h2>
989
+ ${t.attention.length ? t.attention.map((e) => this.renderOverviewTask(e)) : F`<p class="quiet">${e.t("noAttention")}</p>`}
990
+ </section>
991
+ ${t.recent.length ? F`<section aria-labelledby="results-title"><h2 id="results-title">${e.t("recent")}</h2>
992
+ <p class="section-note meta">${e.t("resultOrder")}</p>
993
+ ${t.recent.map((e) => this.renderOverviewTask(e))}</section>` : L}
994
+ <section aria-labelledby="upcoming-title"><h2 id="upcoming-title">${e.t("upcoming")}</h2>
995
+ ${t.upcoming.length ? t.upcoming.map((e) => this.renderOverviewTask(e, !0)) : F`<p class="quiet">${e.t("noUpcoming")}</p>`}
996
+ </section>
997
+ ${t.awaiting.length ? F`<section aria-labelledby="awaiting-title"><h2 id="awaiting-title">${e.t("awaiting")}</h2>
998
+ ${t.awaiting.map((e) => this.renderOverviewTask(e))}</section>` : L}
999
+ <details class="all-tasks" ?open=${this.allTasksExpanded} @toggle=${(e) => {
1000
+ e.currentTarget instanceof HTMLDetailsElement && e.currentTarget.isConnected && (this.allTasksExpanded = e.currentTarget.open);
1001
+ }}><summary>${e.t("allTasks", { count: this.tasks.length })}</summary>
1002
+ ${[...this.tasks].sort((e, t) => e.name.localeCompare(t.name)).map((e) => F`<article class="task compact">
1003
+ <h3>${this.renderTaskLink(e)}</h3><p class="meta">${this.renderNext(e)}</p></article>`)}
1004
+ </details>`;
1005
+ }
1006
+ renderHistory() {
1007
+ let e = this.contentValue?.messages;
1008
+ if (!e) return L;
1009
+ let t = this.tasks.find((e) => e.id === this.taskId);
1010
+ return F`
1011
+ <div class="detail-heading"><h2 class="view-title" tabindex="-1">${t?.name ?? e.t("history")}</h2>
1012
+ ${t ? F`<p class="next meta">${this.renderNext(t)}</p>${this.renderPrompt(t)}${this.renderTechnical(t)}` : L}</div>
1013
+ <section aria-label=${e.t("history")}>
1014
+ ${t ? F`<h2>${e.t("history")}</h2>` : L}
1015
+ ${this.history.executions.length === 0 && !this.busy ? F`<p class="quiet">${e.t(t && this.offset === 0 ? "noExecution" : "emptyHistory")}</p>` : L}
1016
+ ${this.history.executions.map((e) => F`<article class="history-entry">
1017
+ ${t ? L : F`<h3>${e.task.name}</h3>`}${this.renderExecution(e)}</article>`)}
1018
+ ${this.offset > 0 || this.history.nextOffset !== null ? F`<nav class="pages" aria-label=${e.t("history")}>
1019
+ <button type="button" class="ui-button ui-button--action" ?disabled=${this.busy || this.offset === 0} @click=${() => {
1020
+ this.page(Math.max(0, this.offset - 20));
1021
+ }}>${e.t("previous")}</button>
1022
+ <button type="button" class="ui-button ui-button--action" ?disabled=${this.busy || this.history.nextOffset === null} @click=${() => {
1023
+ this.history.nextOffset !== null && this.page(this.history.nextOffset);
1024
+ }}>${e.t("nextPage")}</button>
1025
+ </nav>` : L}
1026
+ </section>`;
1027
+ }
1028
+ render() {
1029
+ let e = this.contentValue;
1030
+ if (!e) return L;
1031
+ let { messages: t, localization: n } = e;
1032
+ return F`<div class="panel" dir=${n.direction}>
1033
+ <header class="ui-toolbar"><strong class="ui-toolbar-title title">${t.t("title")}</strong>
1034
+ <div class="ui-toolbar-group"><button type="button" class="ui-button" ?disabled=${this.busy} @click=${() => this.load()}>${t.t("refresh")}</button></div></header>
1035
+ <div class="body" aria-busy=${this.busy}>
1036
+ ${this.view === "overview" ? L : F`<button type="button" class="ui-button ui-button--action back" @click=${() => this.showOverview()}>${t.t("overview")}</button>`}
1037
+ ${this.issue ? F`<div role="alert" class="error"><p>${t.t(this.issue)}</p>${this.diagnostic === void 0 ? L : F`<details><summary>${t.t("errorDetails")}</summary><p class="diagnostic">${this.diagnostic}</p></details>`}</div>` : L}
1038
+ ${this.busy ? F`<p role="status" class="meta">${t.t("loading")}</p>` : L}
1039
+ ${this.loaded ? this.view === "overview" ? this.renderOverview() : this.renderHistory() : L}
1040
+ ${this.view === "overview" && this.loaded ? F`<footer>
1041
+ <button type="button" class="ui-button ui-button--action" @click=${() => {
1042
+ this.showHistory();
1043
+ }}>${t.t("allHistory")}</button>
1044
+ <details class="guidance"><summary>${t.t("manage")}</summary><p class="meta">${t.t("guidance")}</p></details>
1045
+ </footer>` : L}
1046
+ </div>
1047
+ </div>`;
1048
+ }
1049
+ static {
1050
+ this.styles = c`
1051
+ :host { display: flex; flex: 1; min-height: 0; min-width: 0; color: var(--pi-text); font: 13px var(--pi-font-ui, system-ui, sans-serif); }
1052
+ .panel { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; }
1053
+ .title { padding-inline: 12px; }
1054
+ .body { overflow: auto; padding: 20px 16px; min-height: 0; overflow-wrap: anywhere; }
1055
+ h2 { font-size: 14px; margin: 0; font-weight: 600; }
1056
+ h3 { font-size: inherit; margin: 0; min-width: 0; }
1057
+ p { margin: 0; line-height: 1.5; }
1058
+ section + section { margin-top: 28px; }
1059
+ .heading { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
1060
+ .task, .history-entry { display: grid; gap: 8px; padding-block: 14px; border-bottom: 1px solid var(--pi-border-muted); }
1061
+ .task[data-attention="true"] .outcome, .execution[data-status="failed"] .outcome, .execution[data-status="errored"] .outcome, .execution[data-status="uncertain"] .outcome { color: var(--pi-danger); }
1062
+ .ui-button.task-link { --ui-control-size: 32px; --ui-control-padding: 4px 0; justify-content: flex-start; text-align: start; white-space: normal; color: var(--pi-text); font: inherit; font-weight: 600; width: 100%; height: auto; }
1063
+ .meta { color: var(--pi-text-secondary); font-size: 12px; }
1064
+ .quiet { color: var(--pi-text-secondary); padding-top: 10px; }
1065
+ .section-note { margin-top: 6px; }
1066
+ .next { font-variant-numeric: tabular-nums; }
1067
+ .execution, .detail-stack { display: grid; gap: 10px; min-width: 0; }
1068
+ .outcome { font-size: 12px; font-weight: 500; }
1069
+ .run-warning { font-size: 12px; white-space: pre-wrap; }
1070
+ .prompt-text { white-space: pre-wrap; overflow-wrap: anywhere; padding-block: 4px 12px; }
1071
+ .result .summary { padding-block: 4px 12px; }
1072
+ .summary, .diagnostic { white-space: pre-wrap; line-height: 1.5; }
1073
+ .diagnostic, code { font: 12px var(--pi-mono, monospace); }
1074
+ .error { color: var(--pi-danger); margin-bottom: 16px; }
1075
+ .error p { margin-block: 8px; }
1076
+ .conversation { justify-self: start; max-width: 100%; color: var(--pi-text-secondary); text-decoration: underline; text-underline-offset: 3px; padding-block: 4px; line-height: 1.5; }
1077
+ .conversation:hover { color: var(--pi-text); }
1078
+ .conversation:focus-visible { outline: 2px solid var(--pi-text-secondary); outline-offset: 2px; }
1079
+ .pages { display: flex; gap: 8px; padding-block: 16px; }
1080
+ .all-tasks { margin-top: 24px; }
1081
+ summary { cursor: pointer; padding-block: 10px; font-size: 12px; color: var(--pi-text-secondary); }
1082
+ summary:hover { color: var(--pi-text); }
1083
+ summary:focus-visible, .view-title:focus-visible { outline: 2px solid var(--pi-text-secondary); outline-offset: 2px; }
1084
+ .technical .detail-stack { padding-block: 4px 12px; }
1085
+ .detail-heading { margin-block: 20px 24px; }
1086
+ .detail-heading h2 { font-size: 18px; line-height: 1.4; margin-bottom: 8px; }
1087
+ footer { display: grid; justify-items: start; gap: 12px; margin-top: 24px; }
1088
+ .guidance p { padding-bottom: 12px; }
1089
+ .empty { padding-block: 8px 16px; }
1090
+ .empty p { margin-top: 10px; }
1091
+ `;
1092
+ }
1093
+ };
1094
+ function Le() {
1095
+ customElements.get("pi-web-scheduled-tasks-panel") || customElements.define(Fe, Ie);
1096
+ }
1097
+ // pi-packages/scheduled-tasks/browser/pi-web-plugin.ts
1098
+ var Re = {
1099
+ pluginId: "pi-web",
1100
+ id: "stylesheet-integration",
1101
+ version: 1,
1102
+ parse(e) {
1103
+ if (typeof e != "object" || !e || !("registerRoot" in e) || typeof e.registerRoot != "function" || !("subscribe" in e) || typeof e.subscribe != "function" || !("createController" in e) || typeof e.createController != "function") throw Error("Invalid stylesheet integration capability v1");
1104
+ return e;
1105
+ }
1106
+ }, ze = {
1107
+ apiVersion: 5,
1108
+ name: "Scheduled agent tasks (beta)",
1109
+ requires: [Re],
1110
+ activate({ localization: e, lifetimeSignal: n, html: r, svg: i }) {
1111
+ if (!e) throw Error("Scheduled tasks requires a localization-capable host");
1112
+ Le();
1113
+ let a = e.registerMessages("dashboard", t), o;
1114
+ return {
1115
+ start({ capabilities: t }) {
1116
+ o = {
1117
+ localization: e,
1118
+ messages: a,
1119
+ lifetimeSignal: n,
1120
+ styles: t.resolve(Re)
1121
+ };
1122
+ },
1123
+ contributions: { applicationPanels: [{
1124
+ id: "scheduled-tasks.overview",
1125
+ get title() {
1126
+ return a.t("title");
1127
+ },
1128
+ order: 60,
1129
+ icon: i`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"></circle><path d="M12 7v5l3 2"></path></svg>`,
1130
+ render: (e) => r`<pi-web-scheduled-tasks-panel .content=${o} .context=${e}></pi-web-scheduled-tasks-panel>`
1131
+ }] }
1132
+ };
1133
+ }
1134
+ };
1135
+ export { ze as default };