@chainingintention/pi-web-cn 2.202610.5 → 2.202611.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/bin/pi-web-server.sh +91 -0
- package/dist/bin/pi-web-sessiond.sh +91 -0
- package/dist/bin/pi-web.sh +91 -0
- package/dist/cli.js +33 -29
- package/dist/cli.js.map +1 -1
- package/dist/client/assets/3d-Dr68X8h8.svg +1 -0
- package/dist/client/assets/PiWebApp-D9e-Nrxi.js +3952 -0
- package/dist/client/assets/SettingsDialog-BvlvoXvD.js +1129 -0
- package/dist/client/assets/abap-uAHVFerN.svg +1 -0
- package/dist/client/assets/abc-CXjdSXsv.svg +1 -0
- package/dist/client/assets/actionscript-BCkIwjgm.svg +1 -0
- package/dist/client/assets/ada-GL6JWmc_.svg +1 -0
- package/dist/client/assets/adobe-illustrator-DhGvkpwi.svg +1 -0
- package/dist/client/assets/adobe-photoshop-0hmnA7cm.svg +1 -0
- package/dist/client/assets/adobe-swc-myFGSGFT.svg +1 -0
- package/dist/client/assets/adonis-SdGYdzCA.svg +1 -0
- package/dist/client/assets/advpl-BWLgf_Ky.svg +1 -0
- package/dist/client/assets/advpl-include-DYgH3R0u.svg +1 -0
- package/dist/client/assets/advpl-ptm-C5Y5ffZi.svg +1 -0
- package/dist/client/assets/advpl-tlpp-BAlVwpPL.svg +1 -0
- package/dist/client/assets/agent-DAWBwR7s.svg +1 -0
- package/dist/client/assets/amplify-BAWPaFFb.svg +1 -0
- package/dist/client/assets/android-TigHCxTb.svg +1 -0
- package/dist/client/assets/angular-D2ijCUIg.svg +1 -0
- package/dist/client/assets/angular-component-eczQQRE6.svg +1 -0
- package/dist/client/assets/angular-directive-C_jq8cjP.svg +1 -0
- package/dist/client/assets/angular-guard-B4iC5rXF.svg +1 -0
- package/dist/client/assets/angular-interceptor-CJvi6DuQ.svg +1 -0
- package/dist/client/assets/angular-pipe-BQZMATB_.svg +1 -0
- package/dist/client/assets/angular-service-DHYn6jIk.svg +1 -0
- package/dist/client/assets/antlr-DkzdiGgY.svg +1 -0
- package/dist/client/assets/apiblueprint-BDRvCIBM.svg +1 -0
- package/dist/client/assets/apollo-BAVoyYDs.svg +1 -0
- package/dist/client/assets/applescript-Bm_R8YT0.svg +1 -0
- package/dist/client/assets/apps-script-6efl-CXu.svg +1 -0
- package/dist/client/assets/appveyor-6B1suIBr.svg +1 -0
- package/dist/client/assets/appwrite-D7AlK8SW.svg +1 -0
- package/dist/client/assets/architecture-CtuqF8rD.svg +1 -0
- package/dist/client/assets/arduino-DFxCIupZ.svg +1 -0
- package/dist/client/assets/asciidoc-DUAdVwVP.svg +1 -0
- package/dist/client/assets/assembly-BKikEKKy.svg +1 -0
- package/dist/client/assets/astro-Bivf18eC.svg +1 -0
- package/dist/client/assets/astro-config-Cr5suFul.svg +1 -0
- package/dist/client/assets/astyle-BiqOWu-0.svg +1 -0
- package/dist/client/assets/audio-B4FatEUD.svg +1 -0
- package/dist/client/assets/aurelia-CnUjHPcZ.svg +1 -0
- package/dist/client/assets/authors-DdaDoKVR.svg +1 -0
- package/dist/client/assets/auto-BOO_fhxh.svg +1 -0
- package/dist/client/assets/autohotkey-D87F33UG.svg +1 -0
- package/dist/client/assets/autoit-DQTGS66r.svg +1 -0
- package/dist/client/assets/azure-DMSkMABH.svg +1 -0
- package/dist/client/assets/azure-pipelines-CcGJw3Rl.svg +1 -0
- package/dist/client/assets/babel-DFMbiqHA.svg +1 -0
- package/dist/client/assets/ballerina-BT8MyHl8.svg +1 -0
- package/dist/client/assets/bashly-settings-Ch9mIpw9.svg +1 -0
- package/dist/client/assets/bazel-CPXexffJ.svg +1 -0
- package/dist/client/assets/bbx-CB-6IYxw.svg +1 -0
- package/dist/client/assets/beancount-DR_GSwds.svg +1 -0
- package/dist/client/assets/bench-js-DOHd4EZB.svg +1 -0
- package/dist/client/assets/bench-jsx-CLJJl81D.svg +1 -0
- package/dist/client/assets/bench-ts-BM8GsfrF.svg +1 -0
- package/dist/client/assets/bibliography-D3emS1pd.svg +1 -0
- package/dist/client/assets/bibtex-style-CVY4tTiP.svg +1 -0
- package/dist/client/assets/bicep-BMMGt18P.svg +1 -0
- package/dist/client/assets/biome-Bf2373dl.svg +1 -0
- package/dist/client/assets/bitbucket-BQr8Az5R.svg +1 -0
- package/dist/client/assets/bithound-BOh7-s-G.svg +1 -0
- package/dist/client/assets/blender-B7Vz8gxa.svg +1 -0
- package/dist/client/assets/blink-DVWcfhba.svg +1 -0
- package/dist/client/assets/blitz-B4hhOxPa.svg +1 -0
- package/dist/client/assets/bower-CkFcC1Ou.svg +1 -0
- package/dist/client/assets/brainfuck-BXozg9z7.svg +1 -0
- package/dist/client/assets/browserlist-CUbhNMS9.svg +1 -0
- package/dist/client/assets/bruno-CoSNrNfv.svg +1 -0
- package/dist/client/assets/buck-BRuOl0ko.svg +1 -0
- package/dist/client/assets/bucklescript-TfoVgTnq.svg +1 -0
- package/dist/client/assets/buildkite-BrDKWLhW.svg +1 -0
- package/dist/client/assets/bun-CZtgPBjt.svg +1 -0
- package/dist/client/assets/c-CCkhSkL9.svg +1 -0
- package/dist/client/assets/c3-J0cVtsWq.svg +1 -0
- package/dist/client/assets/cabal-CQb4_DnV.svg +1 -0
- package/dist/client/assets/caddy-ywaArsUF.svg +1 -0
- package/dist/client/assets/cadence-BRBsaulT.svg +1 -0
- package/dist/client/assets/cairo-Cls19dwE.svg +1 -0
- package/dist/client/assets/cake-DpuWz3gE.svg +1 -0
- package/dist/client/assets/capacitor-CugB3p3d.svg +1 -0
- package/dist/client/assets/capnp-DtxOZ2_z.svg +1 -0
- package/dist/client/assets/cbx-QvSmyWq4.svg +1 -0
- package/dist/client/assets/cds-Bi3ghsEA.svg +1 -0
- package/dist/client/assets/certificate-B5QPOK_C.svg +1 -0
- package/dist/client/assets/changelog-mhp3hE32.svg +1 -0
- package/dist/client/assets/chess-4hVz24Rg.svg +1 -0
- package/dist/client/assets/chromatic-DRZoj4Hg.svg +1 -0
- package/dist/client/assets/chrome-ox3b9yI4.svg +1 -0
- package/dist/client/assets/circleci-DubwoSEv.svg +1 -0
- package/dist/client/assets/citation-ldCt-JF8.svg +1 -0
- package/dist/client/assets/clangd-bL8W2_13.svg +1 -0
- package/dist/client/assets/claude-DypBvzkn.svg +1 -0
- package/dist/client/assets/cline-Dd7x4bMT.svg +1 -0
- package/dist/client/assets/clojure-wfCfR06G.svg +1 -0
- package/dist/client/assets/cloudfoundry-BS-9yLUv.svg +1 -0
- package/dist/client/assets/cmake-B7q-R28A.svg +1 -0
- package/dist/client/assets/coala-D4YHPVOS.svg +1 -0
- package/dist/client/assets/cobol-wDz3o6g-.svg +1 -0
- package/dist/client/assets/coconut-C7cPswso.svg +1 -0
- package/dist/client/assets/code-climate-BJrwzyOv.svg +1 -0
- package/dist/client/assets/codecov-CXg1oY95.svg +1 -0
- package/dist/client/assets/codeowners-D_rztV49.svg +1 -0
- package/dist/client/assets/coderabbit-ai-DGoTDlyw.svg +1 -0
- package/dist/client/assets/coffee-D5JGmA63.svg +1 -0
- package/dist/client/assets/coldfusion-DhOnvVS_.svg +1 -0
- package/dist/client/assets/coloredpetrinets-DY894G_S.svg +1 -0
- package/dist/client/assets/command-Df3AkI2A.svg +1 -0
- package/dist/client/assets/commitizen-9SU1u7to.svg +1 -0
- package/dist/client/assets/commitlint-3vvjpxJt.svg +1 -0
- package/dist/client/assets/composerShortcuts-BggqvE9J.js +31 -0
- package/dist/client/assets/concourse-DAGkX2vY.svg +1 -0
- package/dist/client/assets/conduct-2Bm8RK0N.svg +1 -0
- package/dist/client/assets/console-pcgGAn8Z.svg +1 -0
- package/dist/client/assets/contentlayer-vXTwXOHk.svg +1 -0
- package/dist/client/assets/context-CebLrksE.svg +1 -0
- package/dist/client/assets/contributing-DLcmDS34.svg +1 -0
- package/dist/client/assets/controller-Doc75EnV.svg +1 -0
- package/dist/client/assets/copilot-DBlNrZ6L.svg +1 -0
- package/dist/client/assets/cpp-DT2939hp.svg +1 -0
- package/dist/client/assets/craco-BySmcQ23.svg +1 -0
- package/dist/client/assets/credits-GALyqcNu.svg +1 -0
- package/dist/client/assets/crystal-BbNQlJLs.svg +1 -0
- package/dist/client/assets/csharp-D5ZKsaqY.svg +1 -0
- package/dist/client/assets/css-JKwEyWYb.svg +1 -0
- package/dist/client/assets/css-map-Ctu4D9Ve.svg +1 -0
- package/dist/client/assets/cucumber-B3ZYwjRe.svg +1 -0
- package/dist/client/assets/cuda-CRW2z42A.svg +1 -0
- package/dist/client/assets/cue-ni2TTLiZ.svg +1 -0
- package/dist/client/assets/cursor-CJahHGg2.svg +1 -0
- package/dist/client/assets/cypress-DR0JRbfI.svg +1 -0
- package/dist/client/assets/d-B87zyVMx.svg +1 -0
- package/dist/client/assets/dart-Dx2oVcaR.svg +1 -0
- package/dist/client/assets/dart_generated-Wk58pte9.svg +1 -0
- package/dist/client/assets/database-B_oKaDcf.svg +1 -0
- package/dist/client/assets/deepsource-DUTIJ9mv.svg +1 -0
- package/dist/client/assets/denizenscript-BJc2vgOS.svg +1 -0
- package/dist/client/assets/deno-CyFvrzCm.svg +1 -0
- package/dist/client/assets/dependabot-BgJkJLU3.svg +1 -0
- package/dist/client/assets/dependencies-update-CdGy9ujO.svg +1 -0
- package/dist/client/assets/dhall-Dmhh82EO.svg +1 -0
- package/dist/client/assets/diff-6SXDCokN.svg +1 -0
- package/dist/client/assets/dinophp-D9hQnqAR.svg +1 -0
- package/dist/client/assets/disc-h_dLNGEL.svg +1 -0
- package/dist/client/assets/django-N1UNAXk1.svg +1 -0
- package/dist/client/assets/dll-1DkaBp0q.svg +1 -0
- package/dist/client/assets/docker-CfHcr61D.svg +1 -0
- package/dist/client/assets/doctex-installer-Cs7SA-ct.svg +1 -0
- package/dist/client/assets/document-o-3iA9GQ.svg +1 -0
- package/dist/client/assets/dotjs-DIyH7Gzv.svg +1 -0
- package/dist/client/assets/drawio-2RVDLi9g.svg +1 -0
- package/dist/client/assets/drizzle-hhBCZx1t.svg +1 -0
- package/dist/client/assets/drone-KvQ2n-xY.svg +1 -0
- package/dist/client/assets/dtx-DdGk8fFj.svg +1 -0
- package/dist/client/assets/duc-CHcAZQos.svg +1 -0
- package/dist/client/assets/dune-DuGO6qDA.svg +1 -0
- package/dist/client/assets/edge-ChHKXrYp.svg +1 -0
- package/dist/client/assets/editorconfig-BUzUAwRX.svg +1 -0
- package/dist/client/assets/ejs-D_Li05n3.svg +1 -0
- package/dist/client/assets/elixir-75mYTx2s.svg +1 -0
- package/dist/client/assets/elm-DE_LIp02.svg +1 -0
- package/dist/client/assets/email-G8mUttGa.svg +1 -0
- package/dist/client/assets/ember-B1y9-Oks.svg +1 -0
- package/dist/client/assets/epub-DPvrBCNf.svg +1 -0
- package/dist/client/assets/erlang-DosS6spf.svg +1 -0
- package/dist/client/assets/esbuild-DV6xNZ-T.svg +1 -0
- package/dist/client/assets/eslint-IU_g232-.svg +1 -0
- package/dist/client/assets/excalidraw-BllKd-7L.svg +1 -0
- package/dist/client/assets/exe-SfcXmkQy.svg +1 -0
- package/dist/client/assets/expo-B4PonO4I.svg +1 -0
- package/dist/client/assets/external-Bawe0tSn.js +1 -0
- package/dist/client/assets/fastlane-C4SZDg50.svg +1 -0
- package/dist/client/assets/favicon-VsCcG-A-.svg +1 -0
- package/dist/client/assets/figma-C8Gjq2Xj.svg +1 -0
- package/dist/client/assets/file-BEIHQH8Q.svg +256 -0
- package/dist/client/assets/firebase-DHIO0glR.svg +1 -0
- package/dist/client/assets/flash-Dck7x_rj.svg +1 -0
- package/dist/client/assets/flow-DD4KQiTg.svg +1 -0
- package/dist/client/assets/font-ChbWr8nk.svg +1 -0
- package/dist/client/assets/forth-C3qwGqMh.svg +1 -0
- package/dist/client/assets/fortran-B0jORJ3v.svg +1 -0
- package/dist/client/assets/foxpro-D3Wp1B1h.svg +1 -0
- package/dist/client/assets/freemarker-BLonnh3h.svg +1 -0
- package/dist/client/assets/fsharp-QwwPC8x_.svg +1 -0
- package/dist/client/assets/fusebox-DqjzyXyI.svg +1 -0
- package/dist/client/assets/gamemaker-C82Pt646.svg +1 -0
- package/dist/client/assets/garden-BUsWpFKW.svg +1 -0
- package/dist/client/assets/gatsby-OA1TADMJ.svg +1 -0
- package/dist/client/assets/gcp-CW2RG_Wp.svg +1 -0
- package/dist/client/assets/gemfile-1RY6BqSx.svg +1 -0
- package/dist/client/assets/gemini-CIgUY8Tg.svg +1 -0
- package/dist/client/assets/gemini-ai-Bwe7HeFb.svg +1 -0
- package/dist/client/assets/git-BEMs8TOZ.svg +1 -0
- package/dist/client/assets/gitlab-zt07_Oa4.svg +1 -0
- package/dist/client/assets/gitpod-BtZJQuF0.svg +1 -0
- package/dist/client/assets/gleam-CKPcrRAD.svg +1 -0
- package/dist/client/assets/gnuplot-BvFqM0ms.svg +1 -0
- package/dist/client/assets/go-ByY4sxRu.svg +1 -0
- package/dist/client/assets/go-mod-CB6BWQDr.svg +1 -0
- package/dist/client/assets/godot-C1EmL4jR.svg +1 -0
- package/dist/client/assets/godot-assets-D-FMsuJX.svg +1 -0
- package/dist/client/assets/google-BnrMOJ4V.svg +1 -0
- package/dist/client/assets/gradle-zsQ12U1q.svg +1 -0
- package/dist/client/assets/grafana-alloy-D2DQ33BM.svg +1 -0
- package/dist/client/assets/grain-5NkvKROL.svg +1 -0
- package/dist/client/assets/graphcool-CInCTIdE.svg +1 -0
- package/dist/client/assets/graphql-DnNt2maR.svg +1 -0
- package/dist/client/assets/gridsome-C2H5SpaD.svg +1 -0
- package/dist/client/assets/groovy-B93RxI7a.svg +1 -0
- package/dist/client/assets/grunt-cwitasVS.svg +1 -0
- package/dist/client/assets/gulp-BIZ8EAl0.svg +1 -0
- package/dist/client/assets/h-1bd73y8t.svg +1 -0
- package/dist/client/assets/hack-Bsd1y9bu.svg +1 -0
- package/dist/client/assets/hadolint-D1aEtESc.svg +1 -0
- package/dist/client/assets/haml-BKq8hU-U.svg +1 -0
- package/dist/client/assets/handlebars-Dem98Ago.svg +1 -0
- package/dist/client/assets/happo-B64XokX0.svg +1 -0
- package/dist/client/assets/hardhat-ByFzkuf4.svg +1 -0
- package/dist/client/assets/harmonix-CUh3S11M.svg +1 -0
- package/dist/client/assets/haskell-C6GxEwdX.svg +1 -0
- package/dist/client/assets/haxe-DdxZWPQy.svg +1 -0
- package/dist/client/assets/hcl-BJiZ3gWE.svg +1 -0
- package/dist/client/assets/helm-CF4Mi35z.svg +1 -0
- package/dist/client/assets/heroku-B6vPz_TJ.svg +1 -0
- package/dist/client/assets/hex-BuGJuqn1.svg +1 -0
- package/dist/client/assets/hip-DB4xe1Ab.svg +1 -0
- package/dist/client/assets/histoire-BMTufysg.svg +1 -0
- package/dist/client/assets/hjson-Dl4ZTgK4.svg +1 -0
- package/dist/client/assets/horusec-z6vyrVAy.svg +1 -0
- package/dist/client/assets/hosts-BydfWJ9z.svg +1 -0
- package/dist/client/assets/hpp-HerxyIaC.svg +1 -0
- package/dist/client/assets/html-BNRzQ3jk.svg +1 -0
- package/dist/client/assets/http-Cp7RCu8F.svg +1 -0
- package/dist/client/assets/huff-t3uGT10D.svg +1 -0
- package/dist/client/assets/hurl-S3Fvmz3R.svg +1 -0
- package/dist/client/assets/husky-A0ALYNcp.svg +1 -0
- package/dist/client/assets/i18n-BezCQ09L.svg +1 -0
- package/dist/client/assets/idris-CfHPjxcM.svg +1 -0
- package/dist/client/assets/ifanr-cloud-DnqgZYHA.svg +1 -0
- package/dist/client/assets/image-DYZiZ4CP.svg +1 -0
- package/dist/client/assets/imba-C1Q6aK1I.svg +1 -0
- package/dist/client/assets/index-0z4D-18M.js +2 -0
- package/dist/client/assets/installation-p19cVXO7.svg +1 -0
- package/dist/client/assets/instructions-CaWEzdge.svg +1 -0
- package/dist/client/assets/ionic-Xp-47Icg.svg +1 -0
- package/dist/client/assets/istanbul-DJKvMwnq.svg +1 -0
- package/dist/client/assets/jar-BaN44U3v.svg +1 -0
- package/dist/client/assets/java-QyMrrPma.svg +1 -0
- package/dist/client/assets/javaclass-BU8_3KBR.svg +1 -0
- package/dist/client/assets/javascript-CQjpTQab.svg +1 -0
- package/dist/client/assets/javascript-map-BQGiWnDM.svg +1 -0
- package/dist/client/assets/jenkins-Bf7aNz-w.svg +1 -0
- package/dist/client/assets/jest-BgbiFFEd.svg +1 -0
- package/dist/client/assets/jinja-4WR9tA6i.svg +1 -0
- package/dist/client/assets/jsconfig-ZAi6fTF1.svg +1 -0
- package/dist/client/assets/json-NsberLUP.svg +1 -0
- package/dist/client/assets/json_schema-sOuobP_H.svg +1 -0
- package/dist/client/assets/jsr-CWVSPSyV.svg +1 -0
- package/dist/client/assets/julia-DCKDSo9T.svg +1 -0
- package/dist/client/assets/jupyter-BKV2q0IB.svg +1 -0
- package/dist/client/assets/just-WQgcj-TR.svg +1 -0
- package/dist/client/assets/karma-Dm3AtiMd.svg +1 -0
- package/dist/client/assets/kcl-CyzArNE1.svg +1 -0
- package/dist/client/assets/key-CrFjkQiv.svg +1 -0
- package/dist/client/assets/keystatic-BECeLiHJ.svg +1 -0
- package/dist/client/assets/kivy-baDYR7ar.svg +1 -0
- package/dist/client/assets/kl-Dy3qeUbd.svg +1 -0
- package/dist/client/assets/knip-BWpBMXqu.svg +1 -0
- package/dist/client/assets/kotlin-DcjME28v.svg +1 -0
- package/dist/client/assets/kubernetes-B5EEXb3e.svg +1 -0
- package/dist/client/assets/kusto-CIjvTfRW.svg +1 -0
- package/dist/client/assets/label-AKZOJqFh.svg +1 -0
- package/dist/client/assets/laravel-DWauj5w4.svg +1 -0
- package/dist/client/assets/latexmk-DQ0u8QMa.svg +1 -0
- package/dist/client/assets/lbx-BMCQe48q.svg +1 -0
- package/dist/client/assets/lean-COOrALn9.svg +1 -0
- package/dist/client/assets/lefthook-DClcp3br.svg +1 -0
- package/dist/client/assets/lerna-BsWY3uYS.svg +1 -0
- package/dist/client/assets/less-0c0PeB1Z.svg +1 -0
- package/dist/client/assets/liara-CSN9sJzE.svg +1 -0
- package/dist/client/assets/lib-B-NXM8aC.svg +1 -0
- package/dist/client/assets/license-DmydDYqK.svg +1 -0
- package/dist/client/assets/lighthouse-CtbIoCdK.svg +1 -0
- package/dist/client/assets/lilypond-CBSm3LFL.svg +1 -0
- package/dist/client/assets/lintstaged-Bj1Eddi5.svg +1 -0
- package/dist/client/assets/liquid-ClnkrScY.svg +1 -0
- package/dist/client/assets/lisp-CMn3epg5.svg +1 -0
- package/dist/client/assets/lit-CJ6w1GHF.js +2 -0
- package/dist/client/assets/livescript-B5PkWD8e.svg +1 -0
- package/dist/client/assets/lock-DRloBj1S.svg +1 -0
- package/dist/client/assets/log-Db6NwxHZ.svg +1 -0
- package/dist/client/assets/lolcode-C6q6fY1O.svg +1 -0
- package/dist/client/assets/lottie-ExyLYhtq.svg +1 -0
- package/dist/client/assets/lua-CUh_Iwk8.svg +1 -0
- package/dist/client/assets/luau-De_4eP_9.svg +1 -0
- package/dist/client/assets/lynx-B49IBNBN.svg +1 -0
- package/dist/client/assets/lyric-Bm3UlVp3.svg +1 -0
- package/dist/client/assets/macaulay2-0YotwNnE.svg +1 -0
- package/dist/client/assets/main-DDgPZEYp.js +2 -0
- package/dist/client/assets/makefile-B2WlY55Y.svg +1 -0
- package/dist/client/assets/markdoc-DjROVW5I.svg +1 -0
- package/dist/client/assets/markdoc-config-BpVRhg1B.svg +1 -0
- package/dist/client/assets/markdown-Bm_LLmmi.svg +1 -0
- package/dist/client/assets/markdownlint-D4M2LXbH.svg +1 -0
- package/dist/client/assets/markojs-BohUrSLp.svg +1 -0
- package/dist/client/assets/mathematica-BGWNQXSR.svg +1 -0
- package/dist/client/assets/maven-BffVB5hm.svg +1 -0
- package/dist/client/assets/mdsvex-Dc9CFJJa.svg +1 -0
- package/dist/client/assets/mdx-D6qa5U8C.svg +1 -0
- package/dist/client/assets/mercurial-BDoD6ubd.svg +1 -0
- package/dist/client/assets/merlin-D5wTXfO4.svg +1 -0
- package/dist/client/assets/mermaid-BTscZDRS.svg +1 -0
- package/dist/client/assets/meson-dcvm8lmo.svg +1 -0
- package/dist/client/assets/metro-XIyWX0Go.svg +1 -0
- package/dist/client/assets/minecraft-CE8xXE3-.svg +1 -0
- package/dist/client/assets/minecraft-fabric-wG6LwgIf.svg +1 -0
- package/dist/client/assets/mint-Cb-YXACo.svg +1 -0
- package/dist/client/assets/mist-DAm4UkTw.svg +1 -0
- package/dist/client/assets/mjml-C_r30C5E.svg +1 -0
- package/dist/client/assets/mocha-BF5_j65C.svg +1 -0
- package/dist/client/assets/modernizr-89IMS8eL.svg +1 -0
- package/dist/client/assets/mojo-CscjT2Jm.svg +1 -0
- package/dist/client/assets/moon-_L_nTq1_.svg +1 -0
- package/dist/client/assets/moonscript-Ayut2PrD.svg +1 -0
- package/dist/client/assets/mrpack-BVpGpKVf.svg +1 -0
- package/dist/client/assets/mxml-B21Nbdgw.svg +1 -0
- package/dist/client/assets/nano-staged-CAVSFkY8.svg +1 -0
- package/dist/client/assets/ndst-DpYLiHkx.svg +1 -0
- package/dist/client/assets/nest-CUu_iPqI.svg +1 -0
- package/dist/client/assets/netlify-Bb7vRMfV.svg +1 -0
- package/dist/client/assets/next-2gAImGWJ.svg +1 -0
- package/dist/client/assets/nextflow-dPJG5e3G.svg +1 -0
- package/dist/client/assets/nginx-Ss9U_SJ3.svg +1 -0
- package/dist/client/assets/nim-CXHB5kuH.svg +1 -0
- package/dist/client/assets/nix-DoxxkZ2k.svg +1 -0
- package/dist/client/assets/nodejs-Czg5JT6z.svg +1 -0
- package/dist/client/assets/nodemon-CprsexAJ.svg +1 -0
- package/dist/client/assets/npm-BSKPS9CC.svg +1 -0
- package/dist/client/assets/nuget-D_mqKH22.svg +1 -0
- package/dist/client/assets/nunjucks-CSL1En7R.svg +1 -0
- package/dist/client/assets/nuxt-BszScKzK.svg +1 -0
- package/dist/client/assets/nx-CTIqtdbG.svg +1 -0
- package/dist/client/assets/objective-c-3E5wWl6u.svg +1 -0
- package/dist/client/assets/objective-cpp-DjpoLOMo.svg +1 -0
- package/dist/client/assets/ocaml-T4fLeZFT.svg +1 -0
- package/dist/client/assets/odin-DlWnbZWN.svg +1 -0
- package/dist/client/assets/onnx-C6WInyrb.svg +1 -0
- package/dist/client/assets/opa-D5GoZW5M.svg +1 -0
- package/dist/client/assets/opam-3IZadro4.svg +1 -0
- package/dist/client/assets/openapi-DjlVyoOp.svg +1 -0
- package/dist/client/assets/opencode-BaYncWio.svg +1 -0
- package/dist/client/assets/opentofu-jFw9lQBP.svg +1 -0
- package/dist/client/assets/otne-SLiO8whA.svg +1 -0
- package/dist/client/assets/oxc-DN6_023j.svg +1 -0
- package/dist/client/assets/packship-UyLXQ_8n.svg +1 -0
- package/dist/client/assets/palette-C0GOsJgu.svg +1 -0
- package/dist/client/assets/panda-D469wGns.svg +1 -0
- package/dist/client/assets/parcel-BrXQSBYb.svg +1 -0
- package/dist/client/assets/pascal-oxGvvJ_x.svg +1 -0
- package/dist/client/assets/pawn-BvapPd-t.svg +1 -0
- package/dist/client/assets/payload-Cks6N40-.svg +1 -0
- package/dist/client/assets/pdf-DtjgBDdX.svg +1 -0
- package/dist/client/assets/pdm-CbwhGqOl.svg +1 -0
- package/dist/client/assets/peg-BJdFn78b.svg +1 -0
- package/dist/client/assets/percy-CWbuYL05.svg +1 -0
- package/dist/client/assets/perl-DUX0zwsQ.svg +1 -0
- package/dist/client/assets/php-5lebFt-d.svg +1 -0
- package/dist/client/assets/php-cs-fixer-D3Vv91zO.svg +1 -0
- package/dist/client/assets/phpstan-D9FJYotS.svg +1 -0
- package/dist/client/assets/phpunit-BlNyjrEw.svg +1 -0
- package/dist/client/assets/pinejs-CDuWmsOY.svg +1 -0
- package/dist/client/assets/pipeline-CCHJ-CIC.svg +1 -0
- package/dist/client/assets/pkl-CzHZDqdt.svg +1 -0
- package/dist/client/assets/plastic-CvMMB3c5.svg +1 -0
- package/dist/client/assets/playwright-C8c_RKic.svg +1 -0
- package/dist/client/assets/plop-D4uymN-_.svg +1 -0
- package/dist/client/assets/pm2-ecosystem-Cv28zGx9.svg +1 -0
- package/dist/client/assets/pnpm-ndvMXYUu.svg +1 -0
- package/dist/client/assets/poetry-ClZfXo_0.svg +1 -0
- package/dist/client/assets/postcss-g3C3DDoi.svg +1 -0
- package/dist/client/assets/posthtml-BkDCsIkz.svg +1 -0
- package/dist/client/assets/powerpoint-CCXYfzLu.svg +1 -0
- package/dist/client/assets/powershell-DnXi9Rjx.svg +1 -0
- package/dist/client/assets/pre-commit-DXbl2unR.svg +1 -0
- package/dist/client/assets/preload-helper-CRzLMJPS.js +1 -0
- package/dist/client/assets/prettier-DFxlFAp4.svg +1 -0
- package/dist/client/assets/prisma-BgG1MIwh.svg +1 -0
- package/dist/client/assets/processing-B1bs0VmW.svg +1 -0
- package/dist/client/assets/prolog-CxwCfnlm.svg +1 -0
- package/dist/client/assets/prompt-7jgVTNou.svg +1 -0
- package/dist/client/assets/proto-Bv4-L0XU.svg +1 -0
- package/dist/client/assets/protractor-CJWv1lK-.svg +1 -0
- package/dist/client/assets/pug-BXlORXuH.svg +1 -0
- package/dist/client/assets/puppet-CKCVJvZX.svg +1 -0
- package/dist/client/assets/puppeteer-DDZkfQNZ.svg +1 -0
- package/dist/client/assets/purescript-CUdIfJrp.svg +1 -0
- package/dist/client/assets/python-misc-BZ5TXfdG.svg +1 -0
- package/dist/client/assets/python-oHA753pt.svg +1 -0
- package/dist/client/assets/pytorch-f0udCMaw.svg +1 -0
- package/dist/client/assets/qsharp-BaFNvoXS.svg +1 -0
- package/dist/client/assets/quarto-zhC7oGOB.svg +1 -0
- package/dist/client/assets/quasar-BXE2pW5w.svg +1 -0
- package/dist/client/assets/quokka-DrMOw93T.svg +1 -0
- package/dist/client/assets/r-AQewf3lz.svg +1 -0
- package/dist/client/assets/racket-BCyLzvrP.svg +1 -0
- package/dist/client/assets/raml-WDbT4cRb.svg +1 -0
- package/dist/client/assets/razor-BAUCpTxC.svg +1 -0
- package/dist/client/assets/rbxmk-CZ9pB7X6.svg +1 -0
- package/dist/client/assets/rc-BDgxm_A8.svg +1 -0
- package/dist/client/assets/react-CdMrIyLK.svg +1 -0
- package/dist/client/assets/react_ts-9WeLJBIj.svg +1 -0
- package/dist/client/assets/readme-BSIQKZwq.svg +1 -0
- package/dist/client/assets/reason-m9vOqeqw.svg +1 -0
- package/dist/client/assets/red-Dzf3O8j4.svg +1 -0
- package/dist/client/assets/regedit-DJzxfiQN.svg +1 -0
- package/dist/client/assets/remark-C55cxr93.svg +1 -0
- package/dist/client/assets/remix-Bk2h4zH7.svg +1 -0
- package/dist/client/assets/renovate-zzi8oRFv.svg +1 -0
- package/dist/client/assets/replit-BpeMxcBh.svg +1 -0
- package/dist/client/assets/requiredTerminalPlugin-ZZOwUcbr.js +3 -0
- package/dist/client/assets/rescript-interface-a87dYX5u.svg +1 -0
- package/dist/client/assets/rescript-qPAwtDLa.svg +1 -0
- package/dist/client/assets/restql-CnZcZpny.svg +1 -0
- package/dist/client/assets/riot-DjRzaRVp.svg +1 -0
- package/dist/client/assets/roadmap-DWpVc5P5.svg +1 -0
- package/dist/client/assets/roblox-Bv5zbklC.svg +1 -0
- package/dist/client/assets/robot-Cto_i8jo.svg +1 -0
- package/dist/client/assets/robots-COnOCAqh.svg +1 -0
- package/dist/client/assets/rocket-CAmUpMm6.svg +1 -0
- package/dist/client/assets/rolldown-Cy_4AzVW.svg +1 -0
- package/dist/client/assets/rollup-2ZkmBeWV.svg +1 -0
- package/dist/client/assets/rome-Cq3lb2xY.svg +1 -0
- package/dist/client/assets/routing-BNxHhbXZ.svg +1 -0
- package/dist/client/assets/rspec-CoEmfx5H.svg +1 -0
- package/dist/client/assets/rstack-DzJ3cPXM.svg +1 -0
- package/dist/client/assets/rubocop-CokGq15J.svg +1 -0
- package/dist/client/assets/ruby-DTGQ4xCM.svg +1 -0
- package/dist/client/assets/ruff-BN0KpNzC.svg +1 -0
- package/dist/client/assets/rust-B122pUHY.svg +1 -0
- package/dist/client/assets/salt-B8j0OVNV.svg +1 -0
- package/dist/client/assets/san-C0UnyaU4.svg +1 -0
- package/dist/client/assets/sas-RNoBA0-Y.svg +1 -0
- package/dist/client/assets/sass-B7y5mYt_.svg +1 -0
- package/dist/client/assets/sbt-DosCci-d.svg +1 -0
- package/dist/client/assets/scala-CsGkKwl5.svg +1 -0
- package/dist/client/assets/scheme-CS2UbTis.svg +1 -0
- package/dist/client/assets/scons-CyqfFgvx.svg +1 -0
- package/dist/client/assets/screwdriver-DjTKuDz7.svg +1 -0
- package/dist/client/assets/search-fq7VxV09.svg +1 -0
- package/dist/client/assets/semantic-release-BbLzZX96.svg +1 -0
- package/dist/client/assets/semgrep-Cl6VUQtd.svg +1 -0
- package/dist/client/assets/sentry-MrouyD-P.svg +1 -0
- package/dist/client/assets/sequelize-BQWikTCs.svg +1 -0
- package/dist/client/assets/serverless-C7Jdn6_T.svg +1 -0
- package/dist/client/assets/settings-CtzL1evz.svg +1 -0
- package/dist/client/assets/shader-BZXKDeiD.svg +1 -0
- package/dist/client/assets/shellcheck-BgWOclub.svg +1 -0
- package/dist/client/assets/simulink-yQnKyx__.svg +1 -0
- package/dist/client/assets/siyuan-CPWD86-6.svg +1 -0
- package/dist/client/assets/sketch-NbltjaPf.svg +1 -0
- package/dist/client/assets/skill-BThvgH87.svg +1 -0
- package/dist/client/assets/slim-CTjdZAfz.svg +1 -0
- package/dist/client/assets/slint-B0xbkqgr.svg +1 -0
- package/dist/client/assets/slug-CWkQgR9s.svg +1 -0
- package/dist/client/assets/smarty-BXDiLQNt.svg +1 -0
- package/dist/client/assets/sml-DMkoWEN5.svg +1 -0
- package/dist/client/assets/snakemake-xG7xUrdI.svg +1 -0
- package/dist/client/assets/snapcraft-zvgAcZ4p.svg +1 -0
- package/dist/client/assets/snowpack-l0uHt304.svg +1 -0
- package/dist/client/assets/snyk-DCW3rtvv.svg +1 -0
- package/dist/client/assets/solidity-C4TQWJKU.svg +1 -0
- package/dist/client/assets/sonarcloud-ClLIXGyx.svg +1 -0
- package/dist/client/assets/spwn-31WG9ftR.svg +1 -0
- package/dist/client/assets/stackblitz-ZX6aBRKb.svg +1 -0
- package/dist/client/assets/stan-CPcUXbxB.svg +1 -0
- package/dist/client/assets/steadybit-BZtlLY-3.svg +1 -0
- package/dist/client/assets/stencil-D0FNO32O.svg +1 -0
- package/dist/client/assets/stitches-BYlEJvuz.svg +1 -0
- package/dist/client/assets/storybook-KxGhpZYa.svg +1 -0
- package/dist/client/assets/stryker-CYflxT_R.svg +1 -0
- package/dist/client/assets/sty-C4HqHV4z.svg +1 -0
- package/dist/client/assets/stylable-Bi9Gr97T.svg +1 -0
- package/dist/client/assets/styleSources-CdF2T_pj.js +1 -0
- package/dist/client/assets/stylelint-JSbd-yhE.svg +1 -0
- package/dist/client/assets/styles-BwN5rgmt.js +10 -0
- package/dist/client/assets/styles-DK4aKhCE.js +1 -0
- package/dist/client/assets/stylus-ZoqbP9jE.svg +1 -0
- package/dist/client/assets/sublime-DFvp_Ess.svg +1 -0
- package/dist/client/assets/subtitles-BNOc1mEf.svg +1 -0
- package/dist/client/assets/supabase-CX7cap86.svg +1 -0
- package/dist/client/assets/svelte-B8HKO6BX.svg +1 -0
- package/dist/client/assets/svelte_js-C_RKcwSP.svg +1 -0
- package/dist/client/assets/svelte_ts-APH7lcVp.svg +1 -0
- package/dist/client/assets/svg-DVy7iktw.svg +1 -0
- package/dist/client/assets/svgo-CJXaeDEN.svg +1 -0
- package/dist/client/assets/svgr-Dn8OFGar.svg +1 -0
- package/dist/client/assets/swagger-Dqyrwr4g.svg +1 -0
- package/dist/client/assets/sway-C1Kkif7r.svg +1 -0
- package/dist/client/assets/swc-BUhoW8cb.svg +1 -0
- package/dist/client/assets/swift-D4_pkWil.svg +1 -0
- package/dist/client/assets/syncpack-DtZ994Gf.svg +1 -0
- package/dist/client/assets/table-YhsaNNk_.svg +1 -0
- package/dist/client/assets/tailwindcss-DODJSdj1.svg +1 -0
- package/dist/client/assets/tape-DGYhnMht.svg +1 -0
- package/dist/client/assets/taskfile-f5DM79_-.svg +1 -0
- package/dist/client/assets/tauri-DBBtDoCo.svg +1 -0
- package/dist/client/assets/taze-BPR9LgXp.svg +1 -0
- package/dist/client/assets/tcl-CiAJKGaA.svg +1 -0
- package/dist/client/assets/teal-WyfAQok0.svg +1 -0
- package/dist/client/assets/templ-BHla0pe-.svg +1 -0
- package/dist/client/assets/template-qJWiB5gQ.svg +1 -0
- package/dist/client/assets/terraform-R86_iPhv.svg +1 -0
- package/dist/client/assets/test-js-A34KrdbK.svg +1 -0
- package/dist/client/assets/test-jsx-C2PQBkQP.svg +1 -0
- package/dist/client/assets/test-ts-fdt299ek.svg +1 -0
- package/dist/client/assets/tex-DpewR4UN.svg +1 -0
- package/dist/client/assets/textlint-pjwsbDhs.svg +1 -0
- package/dist/client/assets/themeCatalog-B3yda95n.js +1 -0
- package/dist/client/assets/themePreference-BBiJxLjs.js +1 -0
- package/dist/client/assets/themeStartup-0b02tNrh.js +2 -0
- package/dist/client/assets/tilt-Dwon5dv-.svg +1 -0
- package/dist/client/assets/tldraw-BnDJmluq.svg +1 -0
- package/dist/client/assets/tobi-CQ-666uh.svg +1 -0
- package/dist/client/assets/tobimake-DzDbTYW1.svg +1 -0
- package/dist/client/assets/toc-nUTycYjl.svg +1 -0
- package/dist/client/assets/todo-CpcorlsE.svg +1 -0
- package/dist/client/assets/toml-DvUt-GOd.svg +1 -0
- package/dist/client/assets/toon-CGe9RDKY.svg +1 -0
- package/dist/client/assets/travis-CH6zNy43.svg +1 -0
- package/dist/client/assets/tree-epW9JaxP.svg +1 -0
- package/dist/client/assets/trigger-CqdxCyG0.svg +1 -0
- package/dist/client/assets/tsconfig-ROp_YdWL.svg +1 -0
- package/dist/client/assets/tsdoc-BEXcYgLD.svg +1 -0
- package/dist/client/assets/tsdown-B96z16my.svg +1 -0
- package/dist/client/assets/tsil-D-U9yWS8.svg +1 -0
- package/dist/client/assets/tune-DISlqKNZ.svg +1 -0
- package/dist/client/assets/turborepo-CWNwoZtI.svg +1 -0
- package/dist/client/assets/twig-CA70AYNK.svg +1 -0
- package/dist/client/assets/twine-BPJsGZd2.svg +1 -0
- package/dist/client/assets/typedoc-FY7jFoGW.svg +1 -0
- package/dist/client/assets/typescript-DjjXqw-n.svg +1 -0
- package/dist/client/assets/typescript-def-CTN5WM5i.svg +1 -0
- package/dist/client/assets/typst-CnDSkp_i.svg +1 -0
- package/dist/client/assets/uiua-BOsurlxn.svg +1 -0
- package/dist/client/assets/umi-DYOjFi8w.svg +1 -0
- package/dist/client/assets/uml-CYijxuna.svg +1 -0
- package/dist/client/assets/unity-CRNCEoK6.svg +1 -0
- package/dist/client/assets/unlicense-DG_b3BEE.svg +1 -0
- package/dist/client/assets/unocss-MqLuLfeL.svg +1 -0
- package/dist/client/assets/url-hE4h5p6b.svg +1 -0
- package/dist/client/assets/uv-DRTOVSi_.svg +1 -0
- package/dist/client/assets/vagrant-YnxMTuKe.svg +1 -0
- package/dist/client/assets/vala-m_i2ZWns.svg +1 -0
- package/dist/client/assets/vanilla-extract-76H6-A4R.svg +1 -0
- package/dist/client/assets/varnish-CX3oiNcp.svg +1 -0
- package/dist/client/assets/vedic-D6-oQUka.svg +1 -0
- package/dist/client/assets/velite-nLLNxKBA.svg +1 -0
- package/dist/client/assets/velocity-CSvfE9yM.svg +1 -0
- package/dist/client/assets/vercel-CgKLo9IO.svg +1 -0
- package/dist/client/assets/verdaccio-gsdiCbvv.svg +1 -0
- package/dist/client/assets/verified-BFLtqroG.svg +1 -0
- package/dist/client/assets/verilog-CbZvRaae.svg +1 -0
- package/dist/client/assets/verse-D_RZ0Bz0.svg +1 -0
- package/dist/client/assets/vfl-8CAM-hjs.svg +1 -0
- package/dist/client/assets/video-qxpJXkH6.svg +1 -0
- package/dist/client/assets/vim-CB8qTVuS.svg +1 -0
- package/dist/client/assets/virtual-Hoc2XbZN.svg +1 -0
- package/dist/client/assets/visualstudio-BHj2x5q7.svg +1 -0
- package/dist/client/assets/vite-JKzchVew.svg +1 -0
- package/dist/client/assets/vitest-Cl4_wKFu.svg +1 -0
- package/dist/client/assets/vlang-C3-DMUIm.svg +1 -0
- package/dist/client/assets/vscode-BtTXhPua.svg +1 -0
- package/dist/client/assets/vue-BlenztPP.svg +1 -0
- package/dist/client/assets/vue-config-o7yPAADv.svg +1 -0
- package/dist/client/assets/wakatime-DNz7qcxZ.svg +1 -0
- package/dist/client/assets/wallaby-C0UIkEOa.svg +1 -0
- package/dist/client/assets/wally-Ds1quKSG.svg +1 -0
- package/dist/client/assets/warp-B3X5Zoeh.svg +1 -0
- package/dist/client/assets/watchman-7EFq9LSa.svg +1 -0
- package/dist/client/assets/webassembly-Bs4UtU2T.svg +1 -0
- package/dist/client/assets/webhint-B4I6V0Ee.svg +1 -0
- package/dist/client/assets/webpack-zo2uWGOg.svg +1 -0
- package/dist/client/assets/wepy-Cho54Qlr.svg +1 -0
- package/dist/client/assets/werf-BW9FiKe5.svg +1 -0
- package/dist/client/assets/windicss-C_8y516i.svg +1 -0
- package/dist/client/assets/wolframlanguage-D6C1WBYh.svg +1 -0
- package/dist/client/assets/word-BcPLm6YH.svg +1 -0
- package/dist/client/assets/wrangler-CjgAkoTg.svg +1 -0
- package/dist/client/assets/wxt-c6drtC9H.svg +1 -0
- package/dist/client/assets/xaml-DE72OHNQ.svg +1 -0
- package/dist/client/assets/xmake-4WNmmIJj.svg +1 -0
- package/dist/client/assets/xml-S4aCxoUr.svg +1 -0
- package/dist/client/assets/yaml-DPTMsOTP.svg +1 -0
- package/dist/client/assets/yang-N-7dP4WI.svg +1 -0
- package/dist/client/assets/yarn-Cios8OFX.svg +1 -0
- package/dist/client/assets/zeabur-kqbNXTTH.svg +1 -0
- package/dist/client/assets/zig-CdphsgLN.svg +1 -0
- package/dist/client/assets/zip-GDnEynqi.svg +1 -0
- package/dist/client/assets/zizmor-IsFFdy6W.svg +1 -0
- package/dist/client/index.html +12 -6
- package/dist/config.js +233 -87
- package/dist/config.js.map +1 -1
- package/dist/configSessionNamingMigration.js +63 -0
- package/dist/configSessionNamingMigration.js.map +1 -0
- package/dist/nativeServices/serviceDoctor.js +3 -3
- package/dist/nativeServices/serviceDoctor.js.map +1 -1
- package/dist/nativeServices/servicePlan.js +53 -23
- package/dist/nativeServices/servicePlan.js.map +1 -1
- package/dist/nativeServices/serviceProbe.js +27 -7
- package/dist/nativeServices/serviceProbe.js.map +1 -1
- package/dist/pi-packages/relays/markdownDocument.js +8 -9
- package/dist/pi-packages/relays/pi-web-plugin.js +11 -11
- package/dist/pi-packages/relays/relays.messages.js +38 -0
- package/dist/pi-packages/relays/relaysLocalization.js +19 -0
- package/dist/pi-packages/relays/relaysPanelElement.js +151 -96
- package/dist/pi-packages/scheduled-tasks/browser/pi-web-plugin.js +1135 -0
- package/dist/pi-packages/scheduled-tasks/domain.js +63 -0
- package/dist/pi-packages/scheduled-tasks/extensions/index.js +710 -0
- package/dist/pi-packages/scheduled-tasks/package.json +30 -0
- package/dist/pi-packages/scheduled-tasks/scheduler.js +89 -0
- package/dist/pi-packages/scheduled-tasks/server-plugin.js +9872 -0
- package/dist/pi-packages/scheduled-tasks/service.js +178 -0
- package/dist/pi-packages/scheduled-tasks/skills/scheduled-tasks/SKILL.md +30 -0
- package/dist/pi-packages/scheduled-tasks/sqlite.js +18 -0
- package/dist/pi-packages/scheduled-tasks/store.js +230 -0
- package/dist/pi-packages/scheduled-tasks/vite.browser.config.mjs +16 -0
- package/dist/pi-packages/scheduled-tasks/vite.companion.config.mjs +17 -0
- package/dist/pi-packages/scheduled-tasks/vite.config.mjs +17 -0
- package/dist/pi-packages/session-naming/config.js +78 -0
- package/dist/pi-packages/session-naming/extensions/index.js +74 -0
- package/dist/pi-packages/session-naming/generator.js +76 -0
- package/dist/pi-packages/session-naming/package.json +15 -0
- package/dist/pi-packages/workflows/browser/pi-web-plugin.js +10 -7
- package/dist/pi-packages/workflows/browser/workflows.messages.js +32 -0
- package/dist/pi-packages/workflows/browser/worktreeDialog.js +71 -50
- package/dist/pi-packages/workflows/server-plugin.js +137 -23
- package/dist/pi-web-plugins/audio/audioElement.js +61 -0
- package/dist/pi-web-plugins/audio/audioFormats.js +18 -0
- package/dist/pi-web-plugins/audio/byteRange.js +21 -0
- package/dist/pi-web-plugins/audio/package.json +10 -0
- package/dist/pi-web-plugins/audio/pi-web-plugin.js +39 -0
- package/dist/pi-web-plugins/audio/server.js +71 -0
- package/dist/pi-web-plugins/code-highlight/browser/pi-web-plugin.js +4 -4
- package/dist/pi-web-plugins/custom-ui-codex/codex.css +8 -0
- package/dist/pi-web-plugins/custom-ui-codex/fileIcons.js +30 -0
- package/dist/pi-web-plugins/custom-ui-codex/package.json +8 -1
- package/dist/pi-web-plugins/custom-ui-codex/pi-web-plugin.js +8 -8
- package/dist/pi-web-plugins/files/browser/pi-web-plugin.js +236 -259
- package/dist/pi-web-plugins/git/browser/git-panel.js +138 -59
- package/dist/pi-web-plugins/git/browser/git.messages.js +47 -0
- package/dist/pi-web-plugins/git/browser/gitFileIcon.js +71 -0
- package/dist/pi-web-plugins/git/browser/pi-web-plugin.js +21 -4
- package/dist/pi-web-plugins/git/server-plugin.js +5 -3
- package/dist/pi-web-plugins/info/info.messages.js +66 -0
- package/dist/pi-web-plugins/info/infoInternals.js +217 -217
- package/dist/pi-web-plugins/info/pi-web-plugin.js +19 -14
- package/dist/pi-web-plugins/language-spanish/catalogs.js +1896 -0
- package/dist/pi-web-plugins/language-spanish/package.json +14 -0
- package/dist/pi-web-plugins/language-spanish/pi-web-plugin.js +90 -0
- package/dist/pi-web-plugins/language-swedish/catalogs.js +1896 -0
- package/dist/pi-web-plugins/language-swedish/package.json +14 -0
- package/dist/pi-web-plugins/language-swedish/pi-web-plugin.js +89 -0
- package/dist/pi-web-plugins/mermaid/browser/pi-web-plugin.js +4 -4
- package/dist/pi-web-plugins/terminal/browser/pi-web-plugin.js +71 -66
- package/dist/pi-web-plugins/terminal/bunPtyProvider.js +109 -0
- package/dist/pi-web-plugins/terminal/nodePtyProvider.js +75 -0
- package/dist/pi-web-plugins/terminal/nodePtySpawnHelper.js +36 -0
- package/dist/pi-web-plugins/terminal/ptyComposition.js +12 -0
- package/dist/pi-web-plugins/terminal/ptyProvider.js +2 -0
- package/dist/pi-web-plugins/terminal/server-plugin.js +42 -14
- package/dist/pi-web-plugins/terminal/terminalService.js +218 -76
- package/dist/pi-web-plugins/themes/assets/graphite.css +56 -0
- package/dist/pi-web-plugins/themes/assets/paper.css +56 -0
- package/dist/pi-web-plugins/themes/package.json +21 -0
- package/dist/pi-web-plugins/updates/pi-web-plugin.js +200 -155
- package/dist/pi-web-plugins/updates/updates.messages.js +59 -0
- package/dist/pi-web-plugins/updates/updatesLogic.js +27 -29
- package/dist/pi-web-plugins/workspace-tasks/config.js +18 -19
- package/dist/pi-web-plugins/workspace-tasks/pi-web-plugin.js +13 -8
- package/dist/pi-web-plugins/workspace-tasks/tasks.messages.js +45 -0
- package/dist/pi-web-plugins/workspace-tasks/tasksLocalization.js +33 -0
- package/dist/pi-web-plugins/workspace-tasks/tasksPanelElement.js +56 -42
- package/dist/pi-web-plugins/workspace-tasks/workspaceTasksClient.js +7 -33
- package/dist/pi-web-plugins/zh-cn/catalogs.json +1803 -0
- package/dist/pi-web-plugins/zh-cn/main.json +5 -1
- package/dist/pi-web-plugins/zh-cn/management-errors.json +6 -0
- package/dist/pi-web-plugins/zh-cn/pi-web-plugin.js +13 -4
- package/dist/pi-web-plugins/zh-cn/server.json +1 -1
- package/dist/piWebVersionReport.js +2 -0
- package/dist/piWebVersionReport.js.map +1 -1
- package/dist/plugin-api.d.ts +194 -9
- package/dist/runtimePreflight.js +14 -0
- package/dist/runtimePreflight.js.map +1 -0
- package/dist/server/activity/workspaceActivityService.js +18 -1
- package/dist/server/activity/workspaceActivityService.js.map +1 -1
- package/dist/server/app.js +45 -10
- package/dist/server/app.js.map +1 -1
- package/dist/server/configRoutes.js +117 -139
- package/dist/server/configRoutes.js.map +1 -1
- package/dist/server/configUpdates.js +104 -0
- package/dist/server/configUpdates.js.map +1 -0
- package/dist/server/deploymentIdentity.js +12 -10
- package/dist/server/deploymentIdentity.js.map +1 -1
- package/dist/server/deploymentIdentityRoutes.js +2 -1
- package/dist/server/deploymentIdentityRoutes.js.map +1 -1
- package/dist/server/diagnostics/nodePtyNativeModule.js +0 -18
- package/dist/server/diagnostics/nodePtyNativeModule.js.map +1 -1
- package/dist/server/diagnostics/terminalPrerequisites.js +54 -0
- package/dist/server/diagnostics/terminalPrerequisites.js.map +1 -0
- package/dist/server/index.js +9 -0
- package/dist/server/index.js.map +1 -1
- package/dist/server/knownAutoInstallPiPackages.js +6 -0
- package/dist/server/knownAutoInstallPiPackages.js.map +1 -1
- package/dist/server/knownPiPackages.js +4 -4
- package/dist/server/knownPiPackages.js.map +1 -1
- package/dist/server/machines/machineClient.js +39 -17
- package/dist/server/machines/machineClient.js.map +1 -1
- package/dist/server/machines/machinePluginProxyRoutes.js +3 -1
- package/dist/server/machines/machinePluginProxyRoutes.js.map +1 -1
- package/dist/server/machines/machineProxyRoutes.js +60 -9
- package/dist/server/machines/machineProxyRoutes.js.map +1 -1
- package/dist/server/machines/machineService.js +81 -13
- package/dist/server/machines/machineService.js.map +1 -1
- package/dist/server/machines/machineStore.js.map +1 -1
- package/dist/server/managementEmbed.js +4 -1
- package/dist/server/managementEmbed.js.map +1 -1
- package/dist/server/managementEntryRoutes.js +51 -0
- package/dist/server/managementEntryRoutes.js.map +1 -0
- package/dist/server/managementEntryTickets.js +46 -0
- package/dist/server/managementEntryTickets.js.map +1 -0
- package/dist/server/managementTransportLimits.js +5 -0
- package/dist/server/managementTransportLimits.js.map +1 -0
- package/dist/server/navigationPreferenceRoutes.js +20 -1
- package/dist/server/navigationPreferenceRoutes.js.map +1 -1
- package/dist/server/normalAuth.js +3 -1
- package/dist/server/normalAuth.js.map +1 -1
- package/dist/server/notices/serverNoticeStore.js +4 -0
- package/dist/server/notices/serverNoticeStore.js.map +1 -1
- package/dist/server/piPackageService.js +15 -1
- package/dist/server/piPackageService.js.map +1 -1
- package/dist/server/piWebPluginCatalog.js +23 -11
- package/dist/server/piWebPluginCatalog.js.map +1 -1
- package/dist/server/piWebPluginLifecycle.js +14 -4
- package/dist/server/piWebPluginLifecycle.js.map +1 -1
- package/dist/server/piWebPluginService.js +11 -5
- package/dist/server/piWebPluginService.js.map +1 -1
- package/dist/server/piWebStatus.js +12 -10
- package/dist/server/piWebStatus.js.map +1 -1
- package/dist/server/piWebStatusCache.js +3 -1
- package/dist/server/piWebStatusCache.js.map +1 -1
- package/dist/server/plugins/pluginBackendRegistry.js +229 -4
- package/dist/server/plugins/pluginBackendRegistry.js.map +1 -1
- package/dist/server/plugins/pluginBackendResourceProxyRoutes.js +40 -0
- package/dist/server/plugins/pluginBackendResourceProxyRoutes.js.map +1 -0
- package/dist/server/plugins/pluginBackendResourceResponse.js +84 -0
- package/dist/server/plugins/pluginBackendResourceResponse.js.map +1 -0
- package/dist/server/plugins/projectPluginSettings.js +9 -2
- package/dist/server/plugins/projectPluginSettings.js.map +1 -1
- package/dist/server/plugins/serverPluginCatalogCapability.js +7 -2
- package/dist/server/plugins/serverPluginCatalogCapability.js.map +1 -1
- package/dist/server/plugins/serverPluginPiSessionsCapability.js +16 -3
- package/dist/server/plugins/serverPluginPiSessionsCapability.js.map +1 -1
- package/dist/server/plugins/serverPluginRuntime.js +25 -9
- package/dist/server/plugins/serverPluginRuntime.js.map +1 -1
- package/dist/server/plugins/serverPluginSessionLifecycleCapability.js +87 -0
- package/dist/server/plugins/serverPluginSessionLifecycleCapability.js.map +1 -0
- package/dist/server/requestLogging.js +1 -1
- package/dist/server/requestLogging.js.map +1 -1
- package/dist/server/sessiond/agentHttpDispatcher.js +14 -7
- package/dist/server/sessiond/agentHttpDispatcher.js.map +1 -1
- package/dist/server/sessiond/autoInstallPiPackageSources.js +54 -0
- package/dist/server/sessiond/autoInstallPiPackageSources.js.map +1 -0
- package/dist/server/sessiond/autoInstallPiPackages.js +77 -30
- package/dist/server/sessiond/autoInstallPiPackages.js.map +1 -1
- package/dist/server/sessiond/pluginBackendChannelRoutes.js +3 -13
- package/dist/server/sessiond/pluginBackendChannelRoutes.js.map +1 -1
- package/dist/server/sessiond/pluginBackendResourceRoutes.js +62 -0
- package/dist/server/sessiond/pluginBackendResourceRoutes.js.map +1 -0
- package/dist/server/sessiond/pluginSessionLifecycleRoutes.js +45 -0
- package/dist/server/sessiond/pluginSessionLifecycleRoutes.js.map +1 -0
- package/dist/server/sessiond/sessionProxyRoutes.js +55 -11
- package/dist/server/sessiond/sessionProxyRoutes.js.map +1 -1
- package/dist/server/sessiond/sessionServiceDependencies.js +3 -0
- package/dist/server/sessiond/sessionServiceDependencies.js.map +1 -1
- package/dist/server/sessiond.js +46 -15
- package/dist/server/sessiond.js.map +1 -1
- package/dist/server/sessions/askUserDomain.js +24 -2
- package/dist/server/sessions/askUserDomain.js.map +1 -1
- package/dist/server/sessions/askUserTool.js +1 -1
- package/dist/server/sessions/askUserTool.js.map +1 -1
- package/dist/server/sessions/dockerEnvironmentFacts.js +10 -9
- package/dist/server/sessions/dockerEnvironmentFacts.js.map +1 -1
- package/dist/server/sessions/mcpOAuthCredentialAdapter.js +4 -4
- package/dist/server/sessions/mcpOAuthCredentialAdapter.js.map +1 -1
- package/dist/server/sessions/piSessionService.js +490 -257
- package/dist/server/sessions/piSessionService.js.map +1 -1
- package/dist/server/sessions/requestHumanInterventionTool.js +27 -0
- package/dist/server/sessions/requestHumanInterventionTool.js.map +1 -0
- package/dist/server/sessions/sendSessionMessageTool.js +32 -0
- package/dist/server/sessions/sendSessionMessageTool.js.map +1 -0
- package/dist/server/sessions/sessionActivityCoordinator.js.map +1 -1
- package/dist/server/sessions/sessionCleanup.js +18 -1
- package/dist/server/sessions/sessionCleanup.js.map +1 -1
- package/dist/server/sessions/sessionCommandService.js +58 -52
- package/dist/server/sessions/sessionCommandService.js.map +1 -1
- package/dist/server/sessions/sessionContentSearch.js +103 -30
- package/dist/server/sessions/sessionContentSearch.js.map +1 -1
- package/dist/server/sessions/sessionIntervention.js +29 -0
- package/dist/server/sessions/sessionIntervention.js.map +1 -0
- package/dist/server/sessions/sessionNameGenerator.js +0 -60
- package/dist/server/sessions/sessionNameGenerator.js.map +1 -1
- package/dist/server/sessions/sessionNotificationStore.js +2 -1
- package/dist/server/sessions/sessionNotificationStore.js.map +1 -1
- package/dist/server/sessions/sessionRoutes.js +25 -1
- package/dist/server/sessions/sessionRoutes.js.map +1 -1
- package/dist/server/sessions/sessionSummaryScanner.js +8 -0
- package/dist/server/sessions/sessionSummaryScanner.js.map +1 -1
- package/dist/server/sessions/sessionTreeProjection.js +108 -97
- package/dist/server/sessions/sessionTreeProjection.js.map +1 -1
- package/dist/server/sessions/sessionUiEvents.js +2 -0
- package/dist/server/sessions/sessionUiEvents.js.map +1 -1
- package/dist/server/sessions/sessionUnreadStore.js +11 -1
- package/dist/server/sessions/sessionUnreadStore.js.map +1 -1
- package/dist/server/sessions/spawnSubsessionTool.js +66 -15
- package/dist/server/sessions/spawnSubsessionTool.js.map +1 -1
- package/dist/server/sessions/subsessionCompletionDelivery.js +6 -3
- package/dist/server/sessions/subsessionCompletionDelivery.js.map +1 -1
- package/dist/server/sessions/subsessionCompletionInbox.js +6 -9
- package/dist/server/sessions/subsessionCompletionInbox.js.map +1 -1
- package/dist/server/status/machineStatusService.js +15 -3
- package/dist/server/status/machineStatusService.js.map +1 -1
- package/dist/server/storage/navigationPreferenceStore.js +11 -0
- package/dist/server/storage/navigationPreferenceStore.js.map +1 -1
- package/dist/server/storage/sessionPinStore.js +95 -0
- package/dist/server/storage/sessionPinStore.js.map +1 -0
- package/dist/server/terminals/maintenanceExecutionContext.js +18 -0
- package/dist/server/terminals/maintenanceExecutionContext.js.map +1 -0
- package/dist/server/terminals/maintenanceTerminalCapability.js +25 -0
- package/dist/server/terminals/maintenanceTerminalCapability.js.map +1 -0
- package/dist/server/terminals/requiredTerminalService.js.map +1 -1
- package/dist/server/terminals/terminalStatusRoutes.js +22 -0
- package/dist/server/terminals/terminalStatusRoutes.js.map +1 -0
- package/dist/server/themeBootstrap.js +123 -0
- package/dist/server/themeBootstrap.js.map +1 -0
- package/dist/server/themeCatalog.js +206 -0
- package/dist/server/themeCatalog.js.map +1 -0
- package/dist/server/themeMetadata.js +74 -0
- package/dist/server/themeMetadata.js.map +1 -0
- package/dist/server/webSocketBridge.js +16 -12
- package/dist/server/webSocketBridge.js.map +1 -1
- package/dist/server/webSocketPayloadLimit.js +17 -0
- package/dist/server/webSocketPayloadLimit.js.map +1 -0
- package/dist/server/workspaces/effectivePathAccess.js +1 -1
- package/dist/server/workspaces/effectivePathAccess.js.map +1 -1
- package/dist/server/workspaces/projectPiWebConfig.js +30 -7
- package/dist/server/workspaces/projectPiWebConfig.js.map +1 -1
- package/dist/server/workspaces/sessionDaemonWorkspaceCatalog.js +2 -0
- package/dist/server/workspaces/sessionDaemonWorkspaceCatalog.js.map +1 -1
- package/dist/server/workspaces/workspaceProviderRegistry.js +6 -2
- package/dist/server/workspaces/workspaceProviderRegistry.js.map +1 -1
- package/dist/server/workspaces/workspaceRemovalService.js +6 -4
- package/dist/server/workspaces/workspaceRemovalService.js.map +1 -1
- package/dist/server-plugin-api.d.ts +39 -1
- package/dist/server-plugin-api.js +18 -3
- package/dist/server-plugin-api.js.map +1 -1
- package/dist/sessiond/sessionDaemonClient.js +7 -1
- package/dist/sessiond/sessionDaemonClient.js.map +1 -1
- package/dist/sessiond/sessionDaemonTerminalStatus.js +27 -0
- package/dist/sessiond/sessionDaemonTerminalStatus.js.map +1 -0
- package/dist/shared/apiTypes.js +4 -0
- package/dist/shared/apiTypes.js.map +1 -1
- package/dist/shared/capabilities.js +6 -0
- package/dist/shared/capabilities.js.map +1 -1
- package/dist/shared/commandOutputPresentation.js +17 -0
- package/dist/shared/commandOutputPresentation.js.map +1 -0
- package/dist/shared/commandResultPresentation.js +51 -0
- package/dist/shared/commandResultPresentation.js.map +1 -0
- package/dist/shared/configResolution.js +99 -0
- package/dist/shared/configResolution.js.map +1 -0
- package/dist/shared/defaultLocalization.js +60 -0
- package/dist/shared/defaultLocalization.js.map +1 -0
- package/dist/shared/federatedRoutes.js +11 -1
- package/dist/shared/federatedRoutes.js.map +1 -1
- package/dist/shared/installationName.js +21 -0
- package/dist/shared/installationName.js.map +1 -0
- package/dist/shared/localization.d.ts +55 -0
- package/dist/shared/localization.js +4 -0
- package/dist/shared/machineStatus.js +2 -0
- package/dist/shared/machineStatus.js.map +1 -1
- package/dist/shared/piWebConfigParsing.js +16 -30
- package/dist/shared/piWebConfigParsing.js.map +1 -1
- package/dist/shared/piWebRuntime.js +17 -0
- package/dist/shared/piWebRuntime.js.map +1 -0
- package/dist/shared/piWebStatusParsing.js +5 -0
- package/dist/shared/piWebStatusParsing.js.map +1 -1
- package/dist/shared/pluginApiTypes.d.ts +35 -7
- package/dist/shared/pluginBackendProtocol.js +24 -0
- package/dist/shared/pluginBackendProtocol.js.map +1 -1
- package/dist/shared/pluginCatalogTypes.d.ts +8 -0
- package/dist/shared/pluginCatalogTypes.js +15 -0
- package/dist/shared/pluginCatalogTypes.js.map +1 -1
- package/dist/shared/pluginResourceMetadata.js +58 -0
- package/dist/shared/pluginResourceMetadata.js.map +1 -0
- package/dist/shared/pluginSessionLifecycleTypes.d.ts +24 -0
- package/dist/shared/pluginSessionLifecycleTypes.js +56 -0
- package/dist/shared/pluginSessionLifecycleTypes.js.map +1 -0
- package/dist/shared/serverNoticePresentation.d.ts +9 -0
- package/dist/shared/serverNoticePresentation.js +12 -0
- package/dist/shared/serverNoticePresentation.js.map +1 -0
- package/dist/shared/sessionActivityPresentation.js +73 -0
- package/dist/shared/sessionActivityPresentation.js.map +1 -0
- package/dist/shared/sessionNotificationPresentation.js +16 -0
- package/dist/shared/sessionNotificationPresentation.js.map +1 -0
- package/dist/shared/terminalCommandRun.js +4 -0
- package/dist/shared/terminalCommandRun.js.map +1 -1
- package/dist/shared/terminalServiceStatus.js +14 -0
- package/dist/shared/terminalServiceStatus.js.map +1 -0
- package/dist/shared/terminalTitlePresentation.d.ts +10 -0
- package/dist/shared/terminalTitlePresentation.js +13 -0
- package/dist/shared/terminalTitlePresentation.js.map +1 -0
- package/dist/shared/themeCatalog.js +2 -0
- package/dist/shared/themeCatalog.js.map +1 -0
- package/dist/shared/themePreference.js +1 -0
- package/dist/shared/themePreference.js.map +1 -1
- package/dist/shared/thinkingLevels.d.ts +29 -0
- package/dist/shared/thinkingLevels.js +6 -4
- package/dist/shared/thinkingLevels.js.map +1 -1
- package/dist/shared/versionCheckPolicy.js +10 -0
- package/dist/shared/versionCheckPolicy.js.map +1 -0
- package/dist/shared/workspaceRemovalPresentation.d.ts +8 -0
- package/dist/shared/workspaceRemovalPresentation.js +10 -0
- package/dist/shared/workspaceRemovalPresentation.js.map +1 -0
- package/docs/README.md +7 -3
- package/docs/assets/pi-web-desktop-graphite.png +0 -0
- package/docs/assets/pi-web-desktop-paper.png +0 -0
- package/docs/assets/pi-web-desktop-pi-web-dark.png +0 -0
- package/docs/assets/pi-web-desktop-pi-web-light.png +0 -0
- package/docs/assets/pi-web-desktop.png +0 -0
- package/docs/assets/pi-web-mobile-graphite.png +0 -0
- package/docs/assets/pi-web-mobile-paper.png +0 -0
- package/docs/assets/pi-web-mobile-pi-web-dark.png +0 -0
- package/docs/assets/pi-web-mobile-pi-web-light.png +0 -0
- package/docs/assets/pi-web-mobile-themes.gif +0 -0
- package/docs/assets/pi-web-mobile.png +0 -0
- package/docs/assets/pi-web-tablet-graphite.png +0 -0
- package/docs/assets/pi-web-tablet-paper.png +0 -0
- package/docs/assets/pi-web-tablet-pi-web-dark.png +0 -0
- package/docs/assets/pi-web-tablet-pi-web-light.png +0 -0
- package/docs/assets/pi-web-tablet-themes.gif +0 -0
- package/docs/assets/pi-web-tablet.png +0 -0
- package/docs/assets/pi-web-themes.gif +0 -0
- package/docs/config.md +193 -55
- package/docs/plugins.md +350 -21
- package/docs/scheduled-tasks.md +127 -0
- package/package.json +43 -19
- package/dist/client/assets/CommandPicker-8oDe6AaV.js +0 -70
- package/dist/client/assets/PiWebApp-TCQVYghs.js +0 -3761
- package/dist/client/assets/SettingsDialog-DFUpwUyp.js +0 -1015
- package/dist/client/assets/index-DzMPXVth.js +0 -2
- package/dist/client/assets/managementEmbed-Bx8Mwzdw.js +0 -2
- package/dist/client/assets/preload-helper-XpATwJ5c.js +0 -1
- package/dist/pi-packages/captains-log/README.md +0 -11
- package/dist/pi-packages/captains-log/dist/browser/channelProtocol.js +0 -29
- package/dist/pi-packages/captains-log/dist/browser/index.js +0 -143
- package/dist/pi-packages/captains-log/dist/browser/markdown.js +0 -68
- package/dist/pi-packages/captains-log/dist/browser/panel.js +0 -148
- package/dist/pi-packages/captains-log/dist/browser/protocol.js +0 -26
- package/dist/pi-packages/captains-log/dist/companion.js +0 -126
- package/dist/pi-packages/captains-log/dist/roundtrip.js +0 -62
- package/dist/pi-packages/captains-log/dist/server.js +0 -210
- package/dist/pi-packages/captains-log/dist/store.js +0 -75
- package/dist/pi-packages/captains-log/docs/usage.md +0 -29
- package/dist/pi-packages/captains-log/i18n.js +0 -7
- package/dist/pi-packages/captains-log/package.json +0 -35
- package/dist/pi-packages/captains-log/tsconfig.json +0 -21
- package/dist/pi-packages/captains-log/vite.config.mjs +0 -28
- package/examples/session-bridge-plugin/README.md +0 -20
- package/examples/session-bridge-plugin/docs/usage.md +0 -54
- package/examples/session-bridge-plugin/package.json +0 -26
- package/examples/session-bridge-plugin/src/browser/index.ts +0 -87
- package/examples/session-bridge-plugin/src/browser/protocol.ts +0 -24
- package/examples/session-bridge-plugin/src/companion.ts +0 -65
- package/examples/session-bridge-plugin/src/reviewRun.ts +0 -39
- package/examples/session-bridge-plugin/src/server.ts +0 -85
- package/examples/session-bridge-plugin/src/store.ts +0 -80
- package/examples/session-bridge-plugin/tsconfig.json +0 -21
- /package/dist/{client/assets/classic-CyM97Akm.css → pi-web-plugins/themes/assets/classic.css} +0 -0
- /package/dist/{client/assets/pi-web-dark-D_KtbM95.css → pi-web-plugins/themes/assets/pi-web-dark.css} +0 -0
- /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 };
|