@yoyooyoooyoooo/devspace 0.0.0-stage → 1.1.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/LICENSE +21 -0
- package/README.md +275 -2
- package/bin/devspace-agentd.js +4 -0
- package/bin/devspace.js +4 -0
- package/bin/run-entrypoint.js +24 -0
- package/bin/silence-sqlite-warning.js +14 -0
- package/dist/agents-skill.js +63 -0
- package/dist/apply-patch.js +404 -0
- package/dist/artifact-destination-darwin.js +232 -0
- package/dist/artifact-destination-windows.js +102 -0
- package/dist/artifact-destination.js +76 -0
- package/dist/artifact-error.js +8 -0
- package/dist/artifact-path-windows.js +42 -0
- package/dist/artifact-tools.js +360 -0
- package/dist/cli-workspace.js +44 -0
- package/dist/cli.js +1108 -0
- package/dist/code-mode-executions.js +184 -0
- package/dist/code-mode-registry.js +60 -0
- package/dist/config-migration.js +86 -0
- package/dist/config-schema.js +100 -0
- package/dist/config.js +108 -0
- package/dist/db/client.js +31 -0
- package/dist/db/migrations.js +431 -0
- package/dist/db/schema.js +125 -0
- package/dist/db/sqlite.js +37 -0
- package/dist/git-worktrees.js +373 -0
- package/dist/git.js +55 -0
- package/dist/incoming-artifacts.js +389 -0
- package/dist/json-value.js +83 -0
- package/dist/local-agent-acp.js +1027 -0
- package/dist/local-agent-adapters.js +35 -0
- package/dist/local-agent-availability.js +98 -0
- package/dist/local-agent-cancellation.js +22 -0
- package/dist/local-agent-catalog.js +51 -0
- package/dist/local-agent-claude.js +447 -0
- package/dist/local-agent-client.js +650 -0
- package/dist/local-agent-codex.js +664 -0
- package/dist/local-agent-command.js +35 -0
- package/dist/local-agent-config.js +178 -0
- package/dist/local-agent-daemon-lifecycle.js +198 -0
- package/dist/local-agent-daemon-main.js +114 -0
- package/dist/local-agent-daemon-protocol.js +695 -0
- package/dist/local-agent-daemon.js +503 -0
- package/dist/local-agent-errors.js +379 -0
- package/dist/local-agent-events.js +128 -0
- package/dist/local-agent-grok.js +246 -0
- package/dist/local-agent-id.js +8 -0
- package/dist/local-agent-manager.js +913 -0
- package/dist/local-agent-opencode-server.js +116 -0
- package/dist/local-agent-opencode-v2.js +316 -0
- package/dist/local-agent-opencode-version.js +191 -0
- package/dist/local-agent-opencode.js +424 -0
- package/dist/local-agent-path.js +26 -0
- package/dist/local-agent-pi-rpc.js +208 -0
- package/dist/local-agent-pi-sandbox.js +519 -0
- package/dist/local-agent-pi.js +505 -0
- package/dist/local-agent-presentation.js +221 -0
- package/dist/local-agent-profiles.js +113 -0
- package/dist/local-agent-provider-registry.js +52 -0
- package/dist/local-agent-provider.js +30 -0
- package/dist/local-agent-runtime-pool.js +487 -0
- package/dist/local-agent-runtime.js +1 -0
- package/dist/local-agent-store.js +468 -0
- package/dist/local-agent-targets.js +125 -0
- package/dist/local-agent-worktree.js +49 -0
- package/dist/logger.js +69 -0
- package/dist/mcp-modern-server.js +74 -0
- package/dist/oauth-provider.js +252 -0
- package/dist/oauth-store.js +151 -0
- package/dist/onboarding.js +120 -0
- package/dist/pi-tools.js +59 -0
- package/dist/process-platform.js +50 -0
- package/dist/process-sessions.js +393 -0
- package/dist/request-meta.js +11 -0
- package/dist/review-checkpoints.js +388 -0
- package/dist/roots.js +102 -0
- package/dist/server-shutdown.js +15 -0
- package/dist/server.js +1048 -0
- package/dist/skills.js +139 -0
- package/dist/tool-surfaces/claude.js +175 -0
- package/dist/tool-surfaces/codex.js +255 -0
- package/dist/tool-surfaces/detect.js +37 -0
- package/dist/tool-surfaces/index.js +16 -0
- package/dist/tool-surfaces/shared.js +89 -0
- package/dist/tool-surfaces/types.js +27 -0
- package/dist/ui/.vite/manifest.json +2544 -0
- package/dist/ui/assets/abap-CLvhMVsD.js +1 -0
- package/dist/ui/assets/actionscript-3--17pq3dv.js +1 -0
- package/dist/ui/assets/ada-C5qYipkI.js +1 -0
- package/dist/ui/assets/andromeeda-vGVdxbeo.js +1 -0
- package/dist/ui/assets/angular-html-C0vVTWrj.js +1 -0
- package/dist/ui/assets/angular-ts-dbgl4wjo.js +1 -0
- package/dist/ui/assets/apache-U0d_L8uA.js +1 -0
- package/dist/ui/assets/apex-CGTLDQj6.js +1 -0
- package/dist/ui/assets/apl-Du_JVwwi.js +1 -0
- package/dist/ui/assets/applescript-CCn79oCD.js +1 -0
- package/dist/ui/assets/ara-4CJ0cIlV.js +1 -0
- package/dist/ui/assets/asciidoc-DE70LPWp.js +1 -0
- package/dist/ui/assets/asm-Cmm7eHzH.js +1 -0
- package/dist/ui/assets/astro-DfKAhC5L.js +1 -0
- package/dist/ui/assets/aurora-x-CDeNXAV0.js +1 -0
- package/dist/ui/assets/awk-BWXHIvNe.js +1 -0
- package/dist/ui/assets/ayu-dark-DluEY0Gj.js +1 -0
- package/dist/ui/assets/ayu-light-C3h-C4tm.js +1 -0
- package/dist/ui/assets/ayu-mirage-Bqwy1Gya.js +1 -0
- package/dist/ui/assets/ballerina-B7ZEbQpA.js +1 -0
- package/dist/ui/assets/bat-Bo4NYOV-.js +1 -0
- package/dist/ui/assets/beancount-D-usSTwE.js +1 -0
- package/dist/ui/assets/berry-DKpUyyne.js +1 -0
- package/dist/ui/assets/bibtex-Ci_nEsc7.js +1 -0
- package/dist/ui/assets/bicep-CUHmPFLl.js +1 -0
- package/dist/ui/assets/bird2-C2hNVINV.js +1 -0
- package/dist/ui/assets/blade-DU2qXgh0.js +1 -0
- package/dist/ui/assets/bsl-BkkzgIyY.js +1 -0
- package/dist/ui/assets/c-Cv30z97n.js +1 -0
- package/dist/ui/assets/c3-CnJL0r0V.js +1 -0
- package/dist/ui/assets/cadence-CQ2zXKGN.js +1 -0
- package/dist/ui/assets/cairo-DLTphjLi.js +1 -0
- package/dist/ui/assets/catppuccin-frappe-3VR1Za6u.js +1 -0
- package/dist/ui/assets/catppuccin-latte-DwIHMF0Q.js +1 -0
- package/dist/ui/assets/catppuccin-macchiato-DYnBP6_5.js +1 -0
- package/dist/ui/assets/catppuccin-mocha-DYhrFGRu.js +1 -0
- package/dist/ui/assets/clarity-SemFz856.js +1 -0
- package/dist/ui/assets/clojure-DqKBuwfJ.js +1 -0
- package/dist/ui/assets/cmake-Bj61d0ZC.js +1 -0
- package/dist/ui/assets/cobol-oLFVLIPg.js +1 -0
- package/dist/ui/assets/codeowners-C8r90Shi.js +1 -0
- package/dist/ui/assets/codeql-oeQT6MSM.js +1 -0
- package/dist/ui/assets/coffee-C_PzhMnZ.js +1 -0
- package/dist/ui/assets/common-lisp-Cv5bFMCO.js +1 -0
- package/dist/ui/assets/coq-BrsZFFmf.js +1 -0
- package/dist/ui/assets/cpp-BmBrRsza.js +1 -0
- package/dist/ui/assets/crystal-Bm1hQZzr.js +1 -0
- package/dist/ui/assets/csharp-Ct8U2NOr.js +1 -0
- package/dist/ui/assets/css-DVcU62QL.js +1 -0
- package/dist/ui/assets/csv-Dx-8-gkx.js +1 -0
- package/dist/ui/assets/cue-CE9AQfxI.js +1 -0
- package/dist/ui/assets/cypher-ClKdZ_lG.js +1 -0
- package/dist/ui/assets/d-qD-0Kul2.js +1 -0
- package/dist/ui/assets/dark-plus-Cs2F2srj.js +1 -0
- package/dist/ui/assets/dart-DkHntEIa.js +1 -0
- package/dist/ui/assets/dax-BkyTk9wS.js +1 -0
- package/dist/ui/assets/desktop-Dlh5hvp9.js +1 -0
- package/dist/ui/assets/diff-woXpYk--.js +1 -0
- package/dist/ui/assets/docker-IyjqRm3v.js +1 -0
- package/dist/ui/assets/dotenv-_5a1GRtc.js +1 -0
- package/dist/ui/assets/dracula-BHWKrbxM.js +1 -0
- package/dist/ui/assets/dracula-soft-5eyTD99u.js +1 -0
- package/dist/ui/assets/dream-maker-DW3nJb8Q.js +1 -0
- package/dist/ui/assets/edge-BPsO9Xdm.js +1 -0
- package/dist/ui/assets/elixir-D_4Zk0CO.js +1 -0
- package/dist/ui/assets/elm-BnEiDxDt.js +1 -0
- package/dist/ui/assets/emacs-lisp-C9PiwqqW.js +1 -0
- package/dist/ui/assets/erb-CcA_9eEY.js +1 -0
- package/dist/ui/assets/erlang-Cphh6RMH.js +1 -0
- package/dist/ui/assets/everforest-dark-sB-x3p7T.js +1 -0
- package/dist/ui/assets/everforest-light-Df2xbC6M.js +1 -0
- package/dist/ui/assets/fennel-DQxkIbk2.js +1 -0
- package/dist/ui/assets/fish-BJitypiv.js +1 -0
- package/dist/ui/assets/fluent-C03EYrpw.js +1 -0
- package/dist/ui/assets/fortran-fixed-form-DEKoE2YW.js +1 -0
- package/dist/ui/assets/fortran-free-form-CYNrtFtB.js +1 -0
- package/dist/ui/assets/fsharp-D13ZGOAj.js +1 -0
- package/dist/ui/assets/gdresource-C0sCabJj.js +1 -0
- package/dist/ui/assets/gdscript-Cp2uCuqX.js +1 -0
- package/dist/ui/assets/gdshader-CBce3t8t.js +1 -0
- package/dist/ui/assets/genie-CV2tkWYe.js +1 -0
- package/dist/ui/assets/gherkin-DExj1W_8.js +1 -0
- package/dist/ui/assets/git-commit-BSykSTBG.js +1 -0
- package/dist/ui/assets/git-rebase-6QXnCXj4.js +1 -0
- package/dist/ui/assets/github-dark-C-LZuMrd.js +1 -0
- package/dist/ui/assets/github-dark-default-DXG-b-1a.js +1 -0
- package/dist/ui/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/dist/ui/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
- package/dist/ui/assets/github-light-EUqPIrTm.js +1 -0
- package/dist/ui/assets/github-light-default-BXViO-2h.js +1 -0
- package/dist/ui/assets/github-light-high-contrast-B68TUdTA.js +1 -0
- package/dist/ui/assets/gleam-CSRkHgEL.js +1 -0
- package/dist/ui/assets/glimmer-js-B_jsKfl5.js +1 -0
- package/dist/ui/assets/glimmer-ts-BuiqdMbX.js +1 -0
- package/dist/ui/assets/glsl-CqeLnBrT.js +1 -0
- package/dist/ui/assets/gn-ilITqXS6.js +1 -0
- package/dist/ui/assets/gnuplot-7GGW24-e.js +1 -0
- package/dist/ui/assets/go-BJwz_mda.js +1 -0
- package/dist/ui/assets/graphql-Ci8ym9pZ.js +1 -0
- package/dist/ui/assets/groovy-CacY0gHj.js +1 -0
- package/dist/ui/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
- package/dist/ui/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
- package/dist/ui/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
- package/dist/ui/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
- package/dist/ui/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
- package/dist/ui/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
- package/dist/ui/assets/hack-CNk3qn64.js +1 -0
- package/dist/ui/assets/haml-DFfAfRp5.js +1 -0
- package/dist/ui/assets/handlebars-CEOrMlTI.js +1 -0
- package/dist/ui/assets/haskell-D8IpX4py.js +1 -0
- package/dist/ui/assets/haxe-OTjmBuCE.js +1 -0
- package/dist/ui/assets/hcl-Dh228itO.js +1 -0
- package/dist/ui/assets/hjson-CxZEssPk.js +1 -0
- package/dist/ui/assets/hlsl-Cvrh5tZx.js +1 -0
- package/dist/ui/assets/horizon-CE9ld1lL.js +1 -0
- package/dist/ui/assets/horizon-bright-Br1oVSNq.js +1 -0
- package/dist/ui/assets/houston-CsvMBhTu.js +1 -0
- package/dist/ui/assets/html-CspB4UCb.js +1 -0
- package/dist/ui/assets/html-derivative-BXfxq54A.js +1 -0
- package/dist/ui/assets/http-BIQ8n0Gr.js +1 -0
- package/dist/ui/assets/hurl-BtJ_40St.js +1 -0
- package/dist/ui/assets/hxml-B0Qn7Nwc.js +1 -0
- package/dist/ui/assets/hy-CZbG8q4J.js +1 -0
- package/dist/ui/assets/imba-DsUTQ-LC.js +1 -0
- package/dist/ui/assets/ini-B5eOa1yu.js +1 -0
- package/dist/ui/assets/java-BIlGsW4R.js +1 -0
- package/dist/ui/assets/javascript-DByZEdy_.js +1 -0
- package/dist/ui/assets/jinja-B06fsAel.js +1 -0
- package/dist/ui/assets/jison-Blxq6yjP.js +1 -0
- package/dist/ui/assets/json-BtATzLaI.js +1 -0
- package/dist/ui/assets/json5-BR5RXkoi.js +1 -0
- package/dist/ui/assets/jsonc-CYpm1nAK.js +1 -0
- package/dist/ui/assets/jsonl-CmCQp5Yx.js +1 -0
- package/dist/ui/assets/jsonnet-CJTPZ8u_.js +1 -0
- package/dist/ui/assets/jssm-DXw9l8Rf.js +1 -0
- package/dist/ui/assets/jsx-C4WtOcQO.js +1 -0
- package/dist/ui/assets/julia-BFRpu-gm.js +1 -0
- package/dist/ui/assets/just-D-jnf2jA.js +1 -0
- package/dist/ui/assets/kanagawa-dragon-CXtmUGW6.js +1 -0
- package/dist/ui/assets/kanagawa-lotus-BN08jTvb.js +1 -0
- package/dist/ui/assets/kanagawa-wave-CTweb8Dz.js +1 -0
- package/dist/ui/assets/kdl-CsD5j6eV.js +1 -0
- package/dist/ui/assets/kotlin-DhhofPvG.js +1 -0
- package/dist/ui/assets/kusto-BUv0MjJC.js +1 -0
- package/dist/ui/assets/laserwave-C_8bwKvT.js +1 -0
- package/dist/ui/assets/latex-BJ11IdKS.js +1 -0
- package/dist/ui/assets/lean-CewbzKMR.js +1 -0
- package/dist/ui/assets/less-DVTAwKKz.js +1 -0
- package/dist/ui/assets/light-plus-DVQuIRkW.js +1 -0
- package/dist/ui/assets/liquid-DW20SIog.js +1 -0
- package/dist/ui/assets/llvm-Cm23YOpf.js +1 -0
- package/dist/ui/assets/log-BNLmms1o.js +1 -0
- package/dist/ui/assets/logo-Cluzi2Zq.js +1 -0
- package/dist/ui/assets/lua-DJ8UpjNz.js +1 -0
- package/dist/ui/assets/luau-CNKltnaQ.js +1 -0
- package/dist/ui/assets/make-Dixweg8N.js +1 -0
- package/dist/ui/assets/markdown-BYOwaDjH.js +1 -0
- package/dist/ui/assets/marko-DdPsgCbv.js +1 -0
- package/dist/ui/assets/material-theme-Bm3Qr25_.js +1 -0
- package/dist/ui/assets/material-theme-darker-2IIEA8gg.js +1 -0
- package/dist/ui/assets/material-theme-lighter-uhdI0v04.js +1 -0
- package/dist/ui/assets/material-theme-ocean-CHQ94UKr.js +1 -0
- package/dist/ui/assets/material-theme-palenight-B5W6OYN7.js +1 -0
- package/dist/ui/assets/matlab-D7qyCx1q.js +1 -0
- package/dist/ui/assets/mdc-DpLO_ORx.js +1 -0
- package/dist/ui/assets/mdx-DQZ5AkYe.js +1 -0
- package/dist/ui/assets/mermaid-Bk4SNUv9.js +1 -0
- package/dist/ui/assets/min-dark-BSWPekZh.js +1 -0
- package/dist/ui/assets/min-light-DDpmG2fV.js +1 -0
- package/dist/ui/assets/mipsasm-BMqwQI7S.js +1 -0
- package/dist/ui/assets/mojo-BgCJLMeH.js +1 -0
- package/dist/ui/assets/monokai-CdkpiU2Y.js +1 -0
- package/dist/ui/assets/moonbit-CaWjb8XO.js +1 -0
- package/dist/ui/assets/move-B1IS1UjX.js +1 -0
- package/dist/ui/assets/narrat-_X_XdTYD.js +1 -0
- package/dist/ui/assets/nextflow-Bbiyy34d.js +1 -0
- package/dist/ui/assets/nextflow-groovy-Dc_ddanL.js +1 -0
- package/dist/ui/assets/nginx-D6l-E_cC.js +1 -0
- package/dist/ui/assets/night-owl-DhmEMT88.js +1 -0
- package/dist/ui/assets/night-owl-light-eJ-hLW7d.js +1 -0
- package/dist/ui/assets/nim-lNRBgWb-.js +1 -0
- package/dist/ui/assets/nix-IvuFDN5E.js +1 -0
- package/dist/ui/assets/nord-Cb4Vim4T.js +1 -0
- package/dist/ui/assets/nushell-DcLAeLz5.js +1 -0
- package/dist/ui/assets/objective-c-D1A_Heim.js +1 -0
- package/dist/ui/assets/objective-cpp-BsSzOQcm.js +1 -0
- package/dist/ui/assets/ocaml-O90oeIOV.js +1 -0
- package/dist/ui/assets/odin-B1RWQWA5.js +1 -0
- package/dist/ui/assets/one-dark-pro-CLwyXe_n.js +1 -0
- package/dist/ui/assets/one-light-D7Lr4KcI.js +1 -0
- package/dist/ui/assets/openscad-BUDT5pXO.js +1 -0
- package/dist/ui/assets/pascal-4ZHwLPI5.js +1 -0
- package/dist/ui/assets/perl-1I6ykDzZ.js +1 -0
- package/dist/ui/assets/php-DxZvhtWN.js +1 -0
- package/dist/ui/assets/pierre-dark-CpLgRqie.js +1 -0
- package/dist/ui/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
- package/dist/ui/assets/pierre-dark-soft-kZQmAZld.js +1 -0
- package/dist/ui/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
- package/dist/ui/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
- package/dist/ui/assets/pierre-light-CoaEpmwp.js +1 -0
- package/dist/ui/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
- package/dist/ui/assets/pierre-light-soft-lWLdNTOI.js +1 -0
- package/dist/ui/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
- package/dist/ui/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
- package/dist/ui/assets/pkl-ot-7Btpt.js +1 -0
- package/dist/ui/assets/plastic-DQwYfKfQ.js +1 -0
- package/dist/ui/assets/plsql-DGHpHOYJ.js +1 -0
- package/dist/ui/assets/po-BiJDBrnU.js +1 -0
- package/dist/ui/assets/poimandres-DRFjx7u4.js +1 -0
- package/dist/ui/assets/polar-C7UOKdEL.js +1 -0
- package/dist/ui/assets/postcss-BXeXVLqQ.js +1 -0
- package/dist/ui/assets/powerquery-DNMTfnFr.js +1 -0
- package/dist/ui/assets/powershell-DshXNtvi.js +1 -0
- package/dist/ui/assets/prisma-BsRQq5mF.js +1 -0
- package/dist/ui/assets/prolog-iXnhIJG7.js +1 -0
- package/dist/ui/assets/proto-DB4EqR-F.js +1 -0
- package/dist/ui/assets/pug-CAEM4Qvf.js +1 -0
- package/dist/ui/assets/puppet-CDv2pdJW.js +1 -0
- package/dist/ui/assets/purescript-9MfHhQsQ.js +1 -0
- package/dist/ui/assets/python-gzcpVVnB.js +1 -0
- package/dist/ui/assets/qml-BrlKS2Is.js +1 -0
- package/dist/ui/assets/qmldir-DCQb3MpD.js +1 -0
- package/dist/ui/assets/qss-Fe1Jh2GI.js +1 -0
- package/dist/ui/assets/r-BmSli7PD.js +1 -0
- package/dist/ui/assets/racket-DcIDlBhZ.js +1 -0
- package/dist/ui/assets/raku-B3gFvitq.js +1 -0
- package/dist/ui/assets/razor-D9Qv-i2L.js +1 -0
- package/dist/ui/assets/red-CJ3rzSJv.js +1 -0
- package/dist/ui/assets/reg-CRGYupPL.js +1 -0
- package/dist/ui/assets/regexp-CJVYALm_.js +1 -0
- package/dist/ui/assets/rel-BtDbiS_P.js +1 -0
- package/dist/ui/assets/review-payload-ULHXNnH8.js +1589 -0
- package/dist/ui/assets/riscv-Ckw8ddFX.js +1 -0
- package/dist/ui/assets/ron-VUp2lXgN.js +1 -0
- package/dist/ui/assets/rose-pine-BthvhNj6.js +1 -0
- package/dist/ui/assets/rose-pine-dawn-Dg85fqjY.js +1 -0
- package/dist/ui/assets/rose-pine-moon-hon4tzzS.js +1 -0
- package/dist/ui/assets/rosmsg-CAekHB0j.js +1 -0
- package/dist/ui/assets/rst-DYbZZqNA.js +1 -0
- package/dist/ui/assets/ruby-D6A4ActZ.js +1 -0
- package/dist/ui/assets/rust-Cfkwpbl8.js +1 -0
- package/dist/ui/assets/sas-BonNekz6.js +1 -0
- package/dist/ui/assets/sass-DXrisJhu.js +1 -0
- package/dist/ui/assets/scala-DKOlJaKm.js +1 -0
- package/dist/ui/assets/scheme-DQCgrYNe.js +1 -0
- package/dist/ui/assets/scss-DkOz8Um7.js +1 -0
- package/dist/ui/assets/sdbl-bTVj8UrX.js +1 -0
- package/dist/ui/assets/shaderlab-TOUzSsQk.js +1 -0
- package/dist/ui/assets/shellscript-TrO3h614.js +1 -0
- package/dist/ui/assets/shellsession-DecXNMiN.js +1 -0
- package/dist/ui/assets/slack-dark-DnToyrRv.js +1 -0
- package/dist/ui/assets/slack-ochin-B2OO5cIa.js +1 -0
- package/dist/ui/assets/smalltalk-B16xEiuN.js +1 -0
- package/dist/ui/assets/snazzy-light-4G7pJPwS.js +1 -0
- package/dist/ui/assets/solarized-dark-DV17i1UV.js +1 -0
- package/dist/ui/assets/solarized-light-DSh2HLQt.js +1 -0
- package/dist/ui/assets/solidity-CKzVLygQ.js +1 -0
- package/dist/ui/assets/soy-DMCupiVC.js +1 -0
- package/dist/ui/assets/sparql-D_iOobhT.js +1 -0
- package/dist/ui/assets/splunk-BC2Px7Mm.js +1 -0
- package/dist/ui/assets/sql-VEMAHmGM.js +1 -0
- package/dist/ui/assets/ssh-config-BgfXC-Er.js +1 -0
- package/dist/ui/assets/stata-BQWNgTsh.js +1 -0
- package/dist/ui/assets/stylus-B6D30XZt.js +1 -0
- package/dist/ui/assets/surrealql-v-f3DB2c.js +1 -0
- package/dist/ui/assets/svelte-C5YAdfqk.js +1 -0
- package/dist/ui/assets/swift-DonLKvLd.js +1 -0
- package/dist/ui/assets/synthwave-84-nFMaYfgc.js +1 -0
- package/dist/ui/assets/system-verilog-DJ5XKQeo.js +1 -0
- package/dist/ui/assets/systemd-BxMlprV5.js +1 -0
- package/dist/ui/assets/talonscript-CohzipZa.js +1 -0
- package/dist/ui/assets/tasl-DMoTqEGO.js +1 -0
- package/dist/ui/assets/tcl-CZd0xW_V.js +1 -0
- package/dist/ui/assets/templ-Cv_NoaIg.js +1 -0
- package/dist/ui/assets/terraform-DswuEJGm.js +1 -0
- package/dist/ui/assets/tex-BZYJVOe6.js +1 -0
- package/dist/ui/assets/tokyo-night-oM2G3aXe.js +1 -0
- package/dist/ui/assets/toml-CcmNWLt0.js +1 -0
- package/dist/ui/assets/ts-tags-Kb0rrDAQ.js +1 -0
- package/dist/ui/assets/tsv-sltzmVWM.js +1 -0
- package/dist/ui/assets/tsx-C-h7SO6o.js +1 -0
- package/dist/ui/assets/turtle-ByJddavk.js +1 -0
- package/dist/ui/assets/twig-CLaNF0wL.js +1 -0
- package/dist/ui/assets/typescript-DqEhwECM.js +1 -0
- package/dist/ui/assets/typespec-B88KGewJ.js +1 -0
- package/dist/ui/assets/typst-DI99ib-x.js +1 -0
- package/dist/ui/assets/v-DETTlOr0.js +1 -0
- package/dist/ui/assets/vala-zf12oZj6.js +1 -0
- package/dist/ui/assets/vb-Djn5o6TS.js +1 -0
- package/dist/ui/assets/verilog-CiiDBU1e.js +1 -0
- package/dist/ui/assets/vesper-D5bVUKB1.js +1 -0
- package/dist/ui/assets/vhdl-BroJfC0k.js +1 -0
- package/dist/ui/assets/viml-DvXPmvsu.js +1 -0
- package/dist/ui/assets/vitesse-black-fwtXNY1n.js +1 -0
- package/dist/ui/assets/vitesse-dark-BZCL-v6S.js +1 -0
- package/dist/ui/assets/vitesse-light-VbXTXTou.js +1 -0
- package/dist/ui/assets/vue-DX5yahW9.js +1 -0
- package/dist/ui/assets/vue-html-BDU1G9zD.js +1 -0
- package/dist/ui/assets/vue-vine-CeJIc34M.js +1 -0
- package/dist/ui/assets/vyper-CgoNMtux.js +1 -0
- package/dist/ui/assets/wasm-BnjxR4X6.js +1 -0
- package/dist/ui/assets/wasm-ByWQv1Qj.js +1 -0
- package/dist/ui/assets/wenyan-C8pVoKbM.js +1 -0
- package/dist/ui/assets/wgsl-BsKzXJz4.js +1 -0
- package/dist/ui/assets/wikitext-ClFFjSW2.js +1 -0
- package/dist/ui/assets/wit-DdvCle-K.js +1 -0
- package/dist/ui/assets/wolfram-DLL8P-h_.js +1 -0
- package/dist/ui/assets/workspace-app-DLucuV_-.js +115 -0
- package/dist/ui/assets/workspace-app-SLULpB_L.css +1 -0
- package/dist/ui/assets/xml-rhzEf2R_.js +1 -0
- package/dist/ui/assets/xsl-ByYOtHce.js +1 -0
- package/dist/ui/assets/yaml-BICb7pFu.js +1 -0
- package/dist/ui/assets/zenscript-BnlCZFoB.js +1 -0
- package/dist/ui/assets/zig-CMLA9XwU.js +1 -0
- package/dist/ui/workspace-app.html +15 -0
- package/dist/unsafe-narrow.js +11 -0
- package/dist/user-config.js +191 -0
- package/dist/version.js +9 -0
- package/dist/web/assets/abap-CLvhMVsD.js +1 -0
- package/dist/web/assets/actionscript-3--17pq3dv.js +1 -0
- package/dist/web/assets/ada-C5qYipkI.js +1 -0
- package/dist/web/assets/andromeeda-vGVdxbeo.js +1 -0
- package/dist/web/assets/angular-html-BTGv_-OV.js +1 -0
- package/dist/web/assets/angular-ts-DEq68Omf.js +1 -0
- package/dist/web/assets/apache-U0d_L8uA.js +1 -0
- package/dist/web/assets/apex-CGTLDQj6.js +1 -0
- package/dist/web/assets/apl-CsTgrpqZ.js +1 -0
- package/dist/web/assets/applescript-CCn79oCD.js +1 -0
- package/dist/web/assets/ara-4CJ0cIlV.js +1 -0
- package/dist/web/assets/asciidoc-DE70LPWp.js +1 -0
- package/dist/web/assets/asm-Cmm7eHzH.js +1 -0
- package/dist/web/assets/astro-X1o2WuNi.js +1 -0
- package/dist/web/assets/aurora-x-CDeNXAV0.js +1 -0
- package/dist/web/assets/awk-BWXHIvNe.js +1 -0
- package/dist/web/assets/ayu-dark-DluEY0Gj.js +1 -0
- package/dist/web/assets/ayu-light-C3h-C4tm.js +1 -0
- package/dist/web/assets/ayu-mirage-Bqwy1Gya.js +1 -0
- package/dist/web/assets/ballerina-B7ZEbQpA.js +1 -0
- package/dist/web/assets/bat-Bo4NYOV-.js +1 -0
- package/dist/web/assets/beancount-D-usSTwE.js +1 -0
- package/dist/web/assets/berry-DKpUyyne.js +1 -0
- package/dist/web/assets/bibtex-Ci_nEsc7.js +1 -0
- package/dist/web/assets/bicep-CUHmPFLl.js +1 -0
- package/dist/web/assets/bird2-C2hNVINV.js +1 -0
- package/dist/web/assets/blade-J2sbuEdF.js +1 -0
- package/dist/web/assets/bsl-BkkzgIyY.js +1 -0
- package/dist/web/assets/c-MzkVm-aZ.js +1 -0
- package/dist/web/assets/c3-CnJL0r0V.js +1 -0
- package/dist/web/assets/cadence-CQ2zXKGN.js +1 -0
- package/dist/web/assets/cairo-DLTphjLi.js +1 -0
- package/dist/web/assets/catppuccin-frappe-3VR1Za6u.js +1 -0
- package/dist/web/assets/catppuccin-latte-DwIHMF0Q.js +1 -0
- package/dist/web/assets/catppuccin-macchiato-DYnBP6_5.js +1 -0
- package/dist/web/assets/catppuccin-mocha-DYhrFGRu.js +1 -0
- package/dist/web/assets/clarity-SemFz856.js +1 -0
- package/dist/web/assets/clojure-DqKBuwfJ.js +1 -0
- package/dist/web/assets/cmake-Bj61d0ZC.js +1 -0
- package/dist/web/assets/cobol-lkVdqvdY.js +1 -0
- package/dist/web/assets/codeowners-C8r90Shi.js +1 -0
- package/dist/web/assets/codeql-oeQT6MSM.js +1 -0
- package/dist/web/assets/coffee-Bnu1Q4Mv.js +1 -0
- package/dist/web/assets/common-lisp-Cv5bFMCO.js +1 -0
- package/dist/web/assets/coq-BrsZFFmf.js +1 -0
- package/dist/web/assets/cpp-Bv6Za6KI.js +1 -0
- package/dist/web/assets/crystal-iIVFCs4O.js +1 -0
- package/dist/web/assets/csharp-Ct8U2NOr.js +1 -0
- package/dist/web/assets/css-BPu_O2Jf.js +1 -0
- package/dist/web/assets/csv-Dx-8-gkx.js +1 -0
- package/dist/web/assets/cue-CE9AQfxI.js +1 -0
- package/dist/web/assets/cypher-ClKdZ_lG.js +1 -0
- package/dist/web/assets/d-qD-0Kul2.js +1 -0
- package/dist/web/assets/dark-plus-Cs2F2srj.js +1 -0
- package/dist/web/assets/dart-DkHntEIa.js +1 -0
- package/dist/web/assets/dax-BkyTk9wS.js +1 -0
- package/dist/web/assets/desktop-Dlh5hvp9.js +1 -0
- package/dist/web/assets/diff-woXpYk--.js +1 -0
- package/dist/web/assets/docker-IyjqRm3v.js +1 -0
- package/dist/web/assets/dotenv-_5a1GRtc.js +1 -0
- package/dist/web/assets/dracula-BHWKrbxM.js +1 -0
- package/dist/web/assets/dracula-soft-5eyTD99u.js +1 -0
- package/dist/web/assets/dream-maker-DW3nJb8Q.js +1 -0
- package/dist/web/assets/edge-Co0NJ0KG.js +1 -0
- package/dist/web/assets/elixir-Djsag05z.js +1 -0
- package/dist/web/assets/elm-5zSKUSU4.js +1 -0
- package/dist/web/assets/emacs-lisp-C9PiwqqW.js +1 -0
- package/dist/web/assets/erb-XK_J2zT_.js +1 -0
- package/dist/web/assets/erlang-Cphh6RMH.js +1 -0
- package/dist/web/assets/everforest-dark-sB-x3p7T.js +1 -0
- package/dist/web/assets/everforest-light-Df2xbC6M.js +1 -0
- package/dist/web/assets/fennel-DQxkIbk2.js +1 -0
- package/dist/web/assets/fish-BJitypiv.js +1 -0
- package/dist/web/assets/fluent-C03EYrpw.js +1 -0
- package/dist/web/assets/fortran-fixed-form-DEKoE2YW.js +1 -0
- package/dist/web/assets/fortran-free-form-CYNrtFtB.js +1 -0
- package/dist/web/assets/fsharp-D13ZGOAj.js +1 -0
- package/dist/web/assets/gdresource-C0sCabJj.js +1 -0
- package/dist/web/assets/gdscript-Cp2uCuqX.js +1 -0
- package/dist/web/assets/gdshader-CBce3t8t.js +1 -0
- package/dist/web/assets/genie-CV2tkWYe.js +1 -0
- package/dist/web/assets/gherkin-DExj1W_8.js +1 -0
- package/dist/web/assets/git-commit-BSykSTBG.js +1 -0
- package/dist/web/assets/git-rebase-qqnMMn7x.js +1 -0
- package/dist/web/assets/github-dark-C-LZuMrd.js +1 -0
- package/dist/web/assets/github-dark-default-DXG-b-1a.js +1 -0
- package/dist/web/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/dist/web/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
- package/dist/web/assets/github-light-EUqPIrTm.js +1 -0
- package/dist/web/assets/github-light-default-BXViO-2h.js +1 -0
- package/dist/web/assets/github-light-high-contrast-B68TUdTA.js +1 -0
- package/dist/web/assets/gleam-CSRkHgEL.js +1 -0
- package/dist/web/assets/glimmer-js-B5T-9I__.js +1 -0
- package/dist/web/assets/glimmer-ts-DdhSqPgy.js +1 -0
- package/dist/web/assets/glsl-BC_B86UU.js +1 -0
- package/dist/web/assets/gn-ilITqXS6.js +1 -0
- package/dist/web/assets/gnuplot-7GGW24-e.js +1 -0
- package/dist/web/assets/go-BJwz_mda.js +1 -0
- package/dist/web/assets/graphql-BToPPCJE.js +1 -0
- package/dist/web/assets/groovy-CacY0gHj.js +1 -0
- package/dist/web/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
- package/dist/web/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
- package/dist/web/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
- package/dist/web/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
- package/dist/web/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
- package/dist/web/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
- package/dist/web/assets/hack-BL_KVv65.js +1 -0
- package/dist/web/assets/haml--TeqGHnx.js +1 -0
- package/dist/web/assets/handlebars-DtByEeha.js +1 -0
- package/dist/web/assets/haskell-D8IpX4py.js +1 -0
- package/dist/web/assets/haxe-OTjmBuCE.js +1 -0
- package/dist/web/assets/hcl-Dh228itO.js +1 -0
- package/dist/web/assets/hjson-CxZEssPk.js +1 -0
- package/dist/web/assets/hlsl-Cvrh5tZx.js +1 -0
- package/dist/web/assets/horizon-CE9ld1lL.js +1 -0
- package/dist/web/assets/horizon-bright-Br1oVSNq.js +1 -0
- package/dist/web/assets/houston-CsvMBhTu.js +1 -0
- package/dist/web/assets/html-derivative-DNkLL7BW.js +1 -0
- package/dist/web/assets/html-gVPiEcVC.js +1 -0
- package/dist/web/assets/http-BrgIXjIl.js +1 -0
- package/dist/web/assets/hurl-C-sxM1tv.js +1 -0
- package/dist/web/assets/hxml-B0Qn7Nwc.js +1 -0
- package/dist/web/assets/hy-CZbG8q4J.js +1 -0
- package/dist/web/assets/imba-DsUTQ-LC.js +1 -0
- package/dist/web/assets/index-0wiZdo0w.css +1 -0
- package/dist/web/assets/index-BTEFd66R.js +1592 -0
- package/dist/web/assets/ini-B5eOa1yu.js +1 -0
- package/dist/web/assets/java-BkSz_9sR.js +1 -0
- package/dist/web/assets/javascript-BlLueJYH.js +1 -0
- package/dist/web/assets/jinja-C-k23oNn.js +1 -0
- package/dist/web/assets/jison-DT25ojTn.js +1 -0
- package/dist/web/assets/json-DH3Vpvrs.js +1 -0
- package/dist/web/assets/json5-BR5RXkoi.js +1 -0
- package/dist/web/assets/jsonc-CYpm1nAK.js +1 -0
- package/dist/web/assets/jsonl-CmCQp5Yx.js +1 -0
- package/dist/web/assets/jsonnet-CJTPZ8u_.js +1 -0
- package/dist/web/assets/jssm-DXw9l8Rf.js +1 -0
- package/dist/web/assets/jsx-CLAWWc2E.js +1 -0
- package/dist/web/assets/julia-C2DKt9u8.js +1 -0
- package/dist/web/assets/just-ZZvCCIjm.js +1 -0
- package/dist/web/assets/kanagawa-dragon-CXtmUGW6.js +1 -0
- package/dist/web/assets/kanagawa-lotus-BN08jTvb.js +1 -0
- package/dist/web/assets/kanagawa-wave-CTweb8Dz.js +1 -0
- package/dist/web/assets/kdl-CsD5j6eV.js +1 -0
- package/dist/web/assets/kotlin-DhhofPvG.js +1 -0
- package/dist/web/assets/kusto-BUv0MjJC.js +1 -0
- package/dist/web/assets/laserwave-C_8bwKvT.js +1 -0
- package/dist/web/assets/latex-Dd59Gxv3.js +1 -0
- package/dist/web/assets/lean-CewbzKMR.js +1 -0
- package/dist/web/assets/less-DVTAwKKz.js +1 -0
- package/dist/web/assets/light-plus-DVQuIRkW.js +1 -0
- package/dist/web/assets/liquid-CUyXf6DB.js +1 -0
- package/dist/web/assets/llvm-Cm23YOpf.js +1 -0
- package/dist/web/assets/log-BNLmms1o.js +1 -0
- package/dist/web/assets/logo-Cluzi2Zq.js +1 -0
- package/dist/web/assets/lua-JOh2uEVc.js +1 -0
- package/dist/web/assets/luau-CNKltnaQ.js +1 -0
- package/dist/web/assets/make-Dixweg8N.js +1 -0
- package/dist/web/assets/markdown-BYOwaDjH.js +1 -0
- package/dist/web/assets/marko-kBatMZ9o.js +1 -0
- package/dist/web/assets/material-theme-Bm3Qr25_.js +1 -0
- package/dist/web/assets/material-theme-darker-2IIEA8gg.js +1 -0
- package/dist/web/assets/material-theme-lighter-uhdI0v04.js +1 -0
- package/dist/web/assets/material-theme-ocean-CHQ94UKr.js +1 -0
- package/dist/web/assets/material-theme-palenight-B5W6OYN7.js +1 -0
- package/dist/web/assets/matlab-D7qyCx1q.js +1 -0
- package/dist/web/assets/mdc-11NFwVmp.js +1 -0
- package/dist/web/assets/mdx-DQZ5AkYe.js +1 -0
- package/dist/web/assets/mermaid-Bk4SNUv9.js +1 -0
- package/dist/web/assets/min-dark-BSWPekZh.js +1 -0
- package/dist/web/assets/min-light-DDpmG2fV.js +1 -0
- package/dist/web/assets/mipsasm-BMqwQI7S.js +1 -0
- package/dist/web/assets/mojo-BgCJLMeH.js +1 -0
- package/dist/web/assets/monokai-CdkpiU2Y.js +1 -0
- package/dist/web/assets/moonbit-CaWjb8XO.js +1 -0
- package/dist/web/assets/move-B1IS1UjX.js +1 -0
- package/dist/web/assets/narrat-_X_XdTYD.js +1 -0
- package/dist/web/assets/nextflow-Bbiyy34d.js +1 -0
- package/dist/web/assets/nextflow-groovy-Dc_ddanL.js +1 -0
- package/dist/web/assets/nginx-DHyq0iJa.js +1 -0
- package/dist/web/assets/night-owl-DhmEMT88.js +1 -0
- package/dist/web/assets/night-owl-light-eJ-hLW7d.js +1 -0
- package/dist/web/assets/nim-BhvYzwo0.js +1 -0
- package/dist/web/assets/nix-IvuFDN5E.js +1 -0
- package/dist/web/assets/nord-Cb4Vim4T.js +1 -0
- package/dist/web/assets/nushell-DcLAeLz5.js +1 -0
- package/dist/web/assets/objective-c-D1A_Heim.js +1 -0
- package/dist/web/assets/objective-cpp-BsSzOQcm.js +1 -0
- package/dist/web/assets/ocaml-O90oeIOV.js +1 -0
- package/dist/web/assets/odin-B1RWQWA5.js +1 -0
- package/dist/web/assets/one-dark-pro-CLwyXe_n.js +1 -0
- package/dist/web/assets/one-light-D7Lr4KcI.js +1 -0
- package/dist/web/assets/openscad-BUDT5pXO.js +1 -0
- package/dist/web/assets/pascal-4ZHwLPI5.js +1 -0
- package/dist/web/assets/perl-Dz_MwpmF.js +1 -0
- package/dist/web/assets/php-DWfb-h38.js +1 -0
- package/dist/web/assets/pierre-dark-CpLgRqie.js +1 -0
- package/dist/web/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
- package/dist/web/assets/pierre-dark-soft-kZQmAZld.js +1 -0
- package/dist/web/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
- package/dist/web/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
- package/dist/web/assets/pierre-light-CoaEpmwp.js +1 -0
- package/dist/web/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
- package/dist/web/assets/pierre-light-soft-lWLdNTOI.js +1 -0
- package/dist/web/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
- package/dist/web/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
- package/dist/web/assets/pkl-ot-7Btpt.js +1 -0
- package/dist/web/assets/plastic-DQwYfKfQ.js +1 -0
- package/dist/web/assets/plsql-DGHpHOYJ.js +1 -0
- package/dist/web/assets/po-BiJDBrnU.js +1 -0
- package/dist/web/assets/poimandres-DRFjx7u4.js +1 -0
- package/dist/web/assets/polar-C7UOKdEL.js +1 -0
- package/dist/web/assets/postcss-BXeXVLqQ.js +1 -0
- package/dist/web/assets/powerquery-DNMTfnFr.js +1 -0
- package/dist/web/assets/powershell-DshXNtvi.js +1 -0
- package/dist/web/assets/prisma-BsRQq5mF.js +1 -0
- package/dist/web/assets/prolog-iXnhIJG7.js +1 -0
- package/dist/web/assets/proto-DB4EqR-F.js +1 -0
- package/dist/web/assets/pug-D_Ag5V46.js +1 -0
- package/dist/web/assets/puppet-CDv2pdJW.js +1 -0
- package/dist/web/assets/purescript-9MfHhQsQ.js +1 -0
- package/dist/web/assets/python-gzcpVVnB.js +1 -0
- package/dist/web/assets/qml-CeVQ6a0A.js +1 -0
- package/dist/web/assets/qmldir-DCQb3MpD.js +1 -0
- package/dist/web/assets/qss-Fe1Jh2GI.js +1 -0
- package/dist/web/assets/r-SxD8HgCT.js +1 -0
- package/dist/web/assets/racket-DcIDlBhZ.js +1 -0
- package/dist/web/assets/raku-B3gFvitq.js +1 -0
- package/dist/web/assets/razor-CRzoitBx.js +1 -0
- package/dist/web/assets/red-CJ3rzSJv.js +1 -0
- package/dist/web/assets/reg-CRGYupPL.js +1 -0
- package/dist/web/assets/regexp-DocOPscC.js +1 -0
- package/dist/web/assets/rel-BtDbiS_P.js +1 -0
- package/dist/web/assets/riscv-Ckw8ddFX.js +1 -0
- package/dist/web/assets/ron-VUp2lXgN.js +1 -0
- package/dist/web/assets/rose-pine-BthvhNj6.js +1 -0
- package/dist/web/assets/rose-pine-dawn-Dg85fqjY.js +1 -0
- package/dist/web/assets/rose-pine-moon-hon4tzzS.js +1 -0
- package/dist/web/assets/rosmsg-CAekHB0j.js +1 -0
- package/dist/web/assets/rst-CjtdQR1l.js +1 -0
- package/dist/web/assets/ruby-BA1nw9m4.js +1 -0
- package/dist/web/assets/rust-Cfkwpbl8.js +1 -0
- package/dist/web/assets/sas-B-MUbx9W.js +1 -0
- package/dist/web/assets/sass-DXrisJhu.js +1 -0
- package/dist/web/assets/scala-DKOlJaKm.js +1 -0
- package/dist/web/assets/scheme-DQCgrYNe.js +1 -0
- package/dist/web/assets/scss-ZGJHw1s4.js +1 -0
- package/dist/web/assets/sdbl-bTVj8UrX.js +1 -0
- package/dist/web/assets/shaderlab-TOUzSsQk.js +1 -0
- package/dist/web/assets/shellscript-OexWF5_J.js +1 -0
- package/dist/web/assets/shellsession-BvfMWV1u.js +1 -0
- package/dist/web/assets/slack-dark-DnToyrRv.js +1 -0
- package/dist/web/assets/slack-ochin-B2OO5cIa.js +1 -0
- package/dist/web/assets/smalltalk-B16xEiuN.js +1 -0
- package/dist/web/assets/snazzy-light-4G7pJPwS.js +1 -0
- package/dist/web/assets/solarized-dark-DV17i1UV.js +1 -0
- package/dist/web/assets/solarized-light-DSh2HLQt.js +1 -0
- package/dist/web/assets/solidity-CKzVLygQ.js +1 -0
- package/dist/web/assets/soy-1Ts8SqeB.js +1 -0
- package/dist/web/assets/sparql-D_iOobhT.js +1 -0
- package/dist/web/assets/splunk-BC2Px7Mm.js +1 -0
- package/dist/web/assets/sql-vTZBWSco.js +1 -0
- package/dist/web/assets/ssh-config-BgfXC-Er.js +1 -0
- package/dist/web/assets/stata-CJkN8qTo.js +1 -0
- package/dist/web/assets/stylus-B6D30XZt.js +1 -0
- package/dist/web/assets/surrealql-CUfiZDpi.js +1 -0
- package/dist/web/assets/svelte-DulJYIRC.js +1 -0
- package/dist/web/assets/swift-DonLKvLd.js +1 -0
- package/dist/web/assets/synthwave-84-nFMaYfgc.js +1 -0
- package/dist/web/assets/system-verilog-DJ5XKQeo.js +1 -0
- package/dist/web/assets/systemd-BxMlprV5.js +1 -0
- package/dist/web/assets/talonscript-CohzipZa.js +1 -0
- package/dist/web/assets/tasl-DMoTqEGO.js +1 -0
- package/dist/web/assets/tcl-CZd0xW_V.js +1 -0
- package/dist/web/assets/templ-BZ7ROlqu.js +1 -0
- package/dist/web/assets/terraform-DswuEJGm.js +1 -0
- package/dist/web/assets/tex-DcGBWEKZ.js +1 -0
- package/dist/web/assets/tokyo-night-oM2G3aXe.js +1 -0
- package/dist/web/assets/toml-CcmNWLt0.js +1 -0
- package/dist/web/assets/ts-tags-DouHFB1S.js +1 -0
- package/dist/web/assets/tsv-sltzmVWM.js +1 -0
- package/dist/web/assets/tsx-CiRUZd3K.js +1 -0
- package/dist/web/assets/turtle-ByJddavk.js +1 -0
- package/dist/web/assets/twig-BCjSdJxv.js +1 -0
- package/dist/web/assets/typescript-ADDIhQ1i.js +1 -0
- package/dist/web/assets/typespec-B88KGewJ.js +1 -0
- package/dist/web/assets/typst-DI99ib-x.js +1 -0
- package/dist/web/assets/v-DETTlOr0.js +1 -0
- package/dist/web/assets/vala-zf12oZj6.js +1 -0
- package/dist/web/assets/vb-Djn5o6TS.js +1 -0
- package/dist/web/assets/verilog-CiiDBU1e.js +1 -0
- package/dist/web/assets/vesper-D5bVUKB1.js +1 -0
- package/dist/web/assets/vhdl-BroJfC0k.js +1 -0
- package/dist/web/assets/viml-DvXPmvsu.js +1 -0
- package/dist/web/assets/vitesse-black-fwtXNY1n.js +1 -0
- package/dist/web/assets/vitesse-dark-BZCL-v6S.js +1 -0
- package/dist/web/assets/vitesse-light-VbXTXTou.js +1 -0
- package/dist/web/assets/vue-CX7K7OKr.js +1 -0
- package/dist/web/assets/vue-html-CF73fXni.js +1 -0
- package/dist/web/assets/vue-vine-Cn-S0gik.js +1 -0
- package/dist/web/assets/vyper-CgoNMtux.js +1 -0
- package/dist/web/assets/wasm-BnjxR4X6.js +1 -0
- package/dist/web/assets/wasm-ByWQv1Qj.js +1 -0
- package/dist/web/assets/wenyan-C8pVoKbM.js +1 -0
- package/dist/web/assets/wgsl-BsKzXJz4.js +1 -0
- package/dist/web/assets/wikitext-ClFFjSW2.js +1 -0
- package/dist/web/assets/wit-DdvCle-K.js +1 -0
- package/dist/web/assets/wolfram-DLL8P-h_.js +1 -0
- package/dist/web/assets/xml-B1waHz2v.js +1 -0
- package/dist/web/assets/xsl-Cv1v3TC6.js +1 -0
- package/dist/web/assets/yaml-DNjWMruY.js +1 -0
- package/dist/web/assets/zenscript-BnlCZFoB.js +1 -0
- package/dist/web/assets/zig-CMLA9XwU.js +1 -0
- package/dist/web/index.html +14 -0
- package/dist/workflow-cli.js +311 -0
- package/dist/workflow-context.js +88 -0
- package/dist/workflow-flag.js +8 -0
- package/dist/workflow-manager.js +572 -0
- package/dist/workflow-runner-child.js +437 -0
- package/dist/workflow-runner.js +329 -0
- package/dist/workflow-schema.js +47 -0
- package/dist/workflow-script.js +139 -0
- package/dist/workflow-store.js +69 -0
- package/dist/workflow-types.js +23 -0
- package/dist/workflow-workspaces.js +71 -0
- package/dist/workspace-activity-journal.js +221 -0
- package/dist/workspace-activity-store.js +227 -0
- package/dist/workspace-activity.js +49 -0
- package/dist/workspace-instruction-discovery.js +103 -0
- package/dist/workspace-store.js +225 -0
- package/dist/workspace-web.js +287 -0
- package/dist/workspaces.js +531 -0
- package/dist/worktree-prune.js +25 -0
- package/examples/agents/claude-implementer.md +30 -0
- package/examples/agents/codex-explorer.md +27 -0
- package/examples/agents/codex-qa-tester.md +29 -0
- package/examples/agents/codex-worker.md +25 -0
- package/examples/agents/copilot-reviewer.md +25 -0
- package/examples/agents/cursor-agent-worker.md +26 -0
- package/examples/agents/grok-builder.md +10 -0
- package/examples/agents/opencode-explorer.md +27 -0
- package/examples/agents/pi-reviewer.md +27 -0
- package/package.json +101 -4
- package/schema/v1/devspace.schema.json +390 -0
- package/scripts/dev-state.ts +176 -0
- package/scripts/dev.ts +35 -0
- package/scripts/generate-config-schema.ts +10 -0
- package/scripts/qa/host/host-styles.ts +49 -0
- package/scripts/qa/host/host.css +102 -0
- package/scripts/qa/host/index.html +14 -0
- package/scripts/qa/host/main.ts +248 -0
- package/scripts/qa/publish-evidence.sh +52 -0
- package/scripts/qa/run.ts +854 -0
- package/scripts/qa/scenario.ts +86 -0
- package/scripts/qa/scenarios/auto-surface-chatgpt.json +46 -0
- package/scripts/qa/scenarios/auto-surface-claude.json +60 -0
- package/scripts/qa/scenarios/auto-surface-unknown.json +60 -0
- package/scripts/qa/scenarios/claude-edit-review.json +71 -0
- package/scripts/qa/scenarios/code-mode-disabled.json +53 -0
- package/scripts/qa/scenarios/code-mode.json +54 -0
- package/scripts/qa/scenarios/codex-edit-review.json +54 -0
- package/scripts/qa/scenarios/workspace-turns.json +50 -0
- package/scripts/qa/scenarios/worktree-open.json +41 -0
- package/scripts/qa/transcript.ts +42 -0
- package/scripts/qa/tsconfig.json +13 -0
- package/skills/subagents/SKILL.md +142 -0
- package/skills/workflows/SKILL.md +59 -0
- package/skills/workflows/patterns.md +312 -0
- package/skills/workflows/reference.md +139 -0
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
import { isJsonString, isJsonNumber, isJsonBoolean, isObjectValue, optionalFields } from "./json-value.js";
|
|
2
|
+
import { LOCAL_AGENT_DAEMON_PROTOCOL_VERSION } from "./local-agent-daemon-lifecycle.js";
|
|
3
|
+
import { isLocalAgentDriverKind } from "./local-agent-provider.js";
|
|
4
|
+
export function encodeLocalAgentDaemonRequest(request) {
|
|
5
|
+
return `${JSON.stringify(request)}\n`;
|
|
6
|
+
}
|
|
7
|
+
export function encodeLocalAgentDaemonResponse(response) {
|
|
8
|
+
return `${JSON.stringify(response)}\n`;
|
|
9
|
+
}
|
|
10
|
+
export function decodeLocalAgentDaemonRequest(value) {
|
|
11
|
+
const record = asRecord(value);
|
|
12
|
+
const requestId = requiredString(record?.requestId, "requestId");
|
|
13
|
+
const protocolVersion = requiredInteger(record?.protocolVersion, "protocolVersion");
|
|
14
|
+
const authToken = requiredString(record?.authToken, "authToken");
|
|
15
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
16
|
+
const method = requiredString(record?.method, "method");
|
|
17
|
+
const params = record?.params;
|
|
18
|
+
switch (method) {
|
|
19
|
+
case "hello":
|
|
20
|
+
return {
|
|
21
|
+
requestId,
|
|
22
|
+
protocolVersion,
|
|
23
|
+
authToken,
|
|
24
|
+
method,
|
|
25
|
+
params: decodeEmptyParams(params),
|
|
26
|
+
configRevision: optionalString(record?.configRevision),
|
|
27
|
+
};
|
|
28
|
+
case "daemon.status":
|
|
29
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
30
|
+
return { requestId, protocolVersion, authToken, method, params: decodeEmptyParams(params) };
|
|
31
|
+
case "daemon.stop":
|
|
32
|
+
return {
|
|
33
|
+
requestId,
|
|
34
|
+
protocolVersion,
|
|
35
|
+
authToken,
|
|
36
|
+
method,
|
|
37
|
+
params: decodeStopParams(params),
|
|
38
|
+
};
|
|
39
|
+
case "agent.start":
|
|
40
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
41
|
+
return {
|
|
42
|
+
requestId,
|
|
43
|
+
protocolVersion,
|
|
44
|
+
authToken,
|
|
45
|
+
method,
|
|
46
|
+
params: decodeStartInput(params),
|
|
47
|
+
};
|
|
48
|
+
case "agent.continue":
|
|
49
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
50
|
+
return {
|
|
51
|
+
requestId,
|
|
52
|
+
protocolVersion,
|
|
53
|
+
authToken,
|
|
54
|
+
method,
|
|
55
|
+
params: decodeContinueInput(params),
|
|
56
|
+
};
|
|
57
|
+
case "agent.get":
|
|
58
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
59
|
+
return {
|
|
60
|
+
requestId,
|
|
61
|
+
protocolVersion,
|
|
62
|
+
method,
|
|
63
|
+
authToken,
|
|
64
|
+
params: {
|
|
65
|
+
id: requiredString(asRecord(params)?.id, "id"),
|
|
66
|
+
scope: decodeWorkspaceScope(asRecord(params)?.scope),
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
case "agent.list":
|
|
70
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
71
|
+
return {
|
|
72
|
+
requestId,
|
|
73
|
+
protocolVersion,
|
|
74
|
+
authToken,
|
|
75
|
+
method,
|
|
76
|
+
params: decodeListScope(params),
|
|
77
|
+
};
|
|
78
|
+
case "agent.wait":
|
|
79
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
80
|
+
return {
|
|
81
|
+
requestId,
|
|
82
|
+
protocolVersion,
|
|
83
|
+
authToken,
|
|
84
|
+
method,
|
|
85
|
+
params: decodeWaitParams(params),
|
|
86
|
+
};
|
|
87
|
+
case "agent.stop":
|
|
88
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
89
|
+
return {
|
|
90
|
+
requestId,
|
|
91
|
+
protocolVersion,
|
|
92
|
+
authToken,
|
|
93
|
+
method,
|
|
94
|
+
params: {
|
|
95
|
+
id: requiredString(asRecord(params)?.id, "id"),
|
|
96
|
+
scope: decodeWorkspaceScope(asRecord(params)?.scope),
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
case "agent.events":
|
|
100
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
101
|
+
return {
|
|
102
|
+
requestId,
|
|
103
|
+
protocolVersion,
|
|
104
|
+
authToken,
|
|
105
|
+
method,
|
|
106
|
+
params: decodeEventsParams(params),
|
|
107
|
+
};
|
|
108
|
+
case "workflow.run":
|
|
109
|
+
return { requestId, protocolVersion, authToken, method, params: decodeWorkflowRunInput(params) };
|
|
110
|
+
case "workflow.get":
|
|
111
|
+
case "workflow.calls":
|
|
112
|
+
case "workflow.cancel":
|
|
113
|
+
return { requestId, protocolVersion, authToken, method, params: decodeWorkflowLookup(params) };
|
|
114
|
+
case "workflow.events": {
|
|
115
|
+
const lookup = decodeWorkflowLookup(params);
|
|
116
|
+
const after = asRecord(params)?.after;
|
|
117
|
+
return {
|
|
118
|
+
requestId,
|
|
119
|
+
protocolVersion,
|
|
120
|
+
authToken,
|
|
121
|
+
method,
|
|
122
|
+
params: {
|
|
123
|
+
...lookup,
|
|
124
|
+
...optionalFields(after === undefined ? undefined : { after: requiredNonNegativeInteger(after, "after") }),
|
|
125
|
+
},
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
case "workflow.list":
|
|
129
|
+
return { requestId, protocolVersion, authToken, method, params: decodeWorkspaceScope(params) };
|
|
130
|
+
case "workflow.wait": {
|
|
131
|
+
const lookup = decodeWorkflowLookup(params);
|
|
132
|
+
return {
|
|
133
|
+
requestId,
|
|
134
|
+
protocolVersion,
|
|
135
|
+
authToken,
|
|
136
|
+
method,
|
|
137
|
+
params: { ...lookup, ...decodeOptionalTimeout(params, 60_000) },
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
case "workflow.call": {
|
|
141
|
+
const lookup = decodeWorkflowLookup(params);
|
|
142
|
+
return {
|
|
143
|
+
requestId,
|
|
144
|
+
protocolVersion,
|
|
145
|
+
authToken,
|
|
146
|
+
method,
|
|
147
|
+
params: {
|
|
148
|
+
...lookup,
|
|
149
|
+
index: requiredNonNegativeInteger(asRecord(params)?.index, "index"),
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
case "daemon.logs":
|
|
154
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
155
|
+
return {
|
|
156
|
+
requestId,
|
|
157
|
+
protocolVersion,
|
|
158
|
+
authToken,
|
|
159
|
+
method,
|
|
160
|
+
params: decodeLogsParams(params),
|
|
161
|
+
};
|
|
162
|
+
default:
|
|
163
|
+
throw new LocalAgentDaemonProtocolError("UNKNOWN_METHOD", `Unknown daemon method: ${method}`);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
export function decodeLocalAgentDaemonResponse(value) {
|
|
167
|
+
const record = asRecord(value);
|
|
168
|
+
const requestId = requiredString(record?.requestId, "requestId");
|
|
169
|
+
const protocolVersion = requiredInteger(record?.protocolVersion, "protocolVersion");
|
|
170
|
+
if (record?.ok === true) {
|
|
171
|
+
return { requestId, protocolVersion, ok: true, result: record.result };
|
|
172
|
+
}
|
|
173
|
+
if (record?.ok === false) {
|
|
174
|
+
const error = asRecord(record.error);
|
|
175
|
+
return {
|
|
176
|
+
requestId,
|
|
177
|
+
protocolVersion,
|
|
178
|
+
ok: false,
|
|
179
|
+
error: {
|
|
180
|
+
code: requiredString(error?.code, "error.code"),
|
|
181
|
+
message: requiredString(error?.message, "error.message"),
|
|
182
|
+
retryable: optionalBoolean(error?.retryable),
|
|
183
|
+
provider: optionalString(error?.provider),
|
|
184
|
+
agentId: optionalString(error?.agentId),
|
|
185
|
+
workspaceId: optionalString(error?.workspaceId),
|
|
186
|
+
operation: optionalString(error?.operation),
|
|
187
|
+
target: optionalString(error?.target),
|
|
188
|
+
},
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESPONSE", "Daemon returned an invalid response.");
|
|
192
|
+
}
|
|
193
|
+
export function decodeAgentRecord(value) {
|
|
194
|
+
const record = asRecord(value);
|
|
195
|
+
const status = requiredString(record?.status, "status");
|
|
196
|
+
if (!isLocalAgentStatus(status))
|
|
197
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RECORD", "Invalid agent status.");
|
|
198
|
+
const driver = requiredString(record?.driver, "driver");
|
|
199
|
+
if (!isLocalAgentDriverKind(driver)) {
|
|
200
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RECORD", "Invalid agent driver.");
|
|
201
|
+
}
|
|
202
|
+
return {
|
|
203
|
+
id: requiredString(record?.id, "id"),
|
|
204
|
+
workspaceId: optionalString(record?.workspaceId),
|
|
205
|
+
workspaceRoot: requiredString(record?.workspaceRoot, "workspaceRoot"),
|
|
206
|
+
worktreePath: optionalString(record?.worktreePath),
|
|
207
|
+
branch: optionalString(record?.branch),
|
|
208
|
+
profileName: requiredString(record?.profileName, "profileName"),
|
|
209
|
+
providerInstanceId: requiredString(record?.providerInstanceId, "providerInstanceId"),
|
|
210
|
+
driver,
|
|
211
|
+
model: optionalString(record?.model),
|
|
212
|
+
effort: optionalString(record?.effort),
|
|
213
|
+
writeMode: decodeWriteMode(record?.writeMode) ?? "allowed",
|
|
214
|
+
providerSessionId: optionalString(record?.providerSessionId),
|
|
215
|
+
status,
|
|
216
|
+
latestResponse: isJsonString(record?.latestResponse) ? record.latestResponse : undefined,
|
|
217
|
+
error: optionalContentString(record?.error),
|
|
218
|
+
errorCode: optionalString(record?.errorCode),
|
|
219
|
+
errorRetryable: optionalBoolean(record?.errorRetryable),
|
|
220
|
+
errorDetail: optionalContentString(record?.errorDetail),
|
|
221
|
+
latestTurnId: optionalString(record?.latestTurnId),
|
|
222
|
+
createdAt: requiredString(record?.createdAt, "createdAt"),
|
|
223
|
+
updatedAt: requiredString(record?.updatedAt, "updatedAt"),
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
export function decodeAgentRecordList(value) {
|
|
227
|
+
if (!Array.isArray(value))
|
|
228
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Daemon returned an invalid agent list.");
|
|
229
|
+
return value.map(decodeAgentRecord);
|
|
230
|
+
}
|
|
231
|
+
export function decodeAgentWaitResults(value) {
|
|
232
|
+
if (!Array.isArray(value)) {
|
|
233
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Daemon returned invalid agent wait results.");
|
|
234
|
+
}
|
|
235
|
+
return value.map((entry) => {
|
|
236
|
+
const record = asRecord(entry);
|
|
237
|
+
const turnId = optionalString(record?.turnId);
|
|
238
|
+
const worktree = optionalString(record?.worktree);
|
|
239
|
+
const branch = optionalString(record?.branch);
|
|
240
|
+
return {
|
|
241
|
+
...decodeWaitBody(record),
|
|
242
|
+
...optionalFields(turnId === undefined ? undefined : { turnId }),
|
|
243
|
+
...optionalFields(worktree === undefined ? undefined : { worktree }),
|
|
244
|
+
...optionalFields(branch === undefined ? undefined : { branch }),
|
|
245
|
+
};
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function decodeWaitBody(record) {
|
|
249
|
+
const id = requiredString(record?.id, "id");
|
|
250
|
+
const status = requiredString(record?.status, "status");
|
|
251
|
+
switch (status) {
|
|
252
|
+
case "running": {
|
|
253
|
+
const wait = optionalString(record?.wait);
|
|
254
|
+
if (wait !== undefined && wait !== "timeout") {
|
|
255
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Invalid agent wait state.");
|
|
256
|
+
}
|
|
257
|
+
return { id, status, ...optionalFields(wait ? { wait } : undefined) };
|
|
258
|
+
}
|
|
259
|
+
case "completed": {
|
|
260
|
+
const response = isJsonString(record?.response) ? record.response : undefined;
|
|
261
|
+
return { id, status, ...optionalFields(response === undefined ? undefined : { response }) };
|
|
262
|
+
}
|
|
263
|
+
case "failed":
|
|
264
|
+
return { id, status, error: decodeWaitError(record?.error) };
|
|
265
|
+
case "stopped":
|
|
266
|
+
return {
|
|
267
|
+
id,
|
|
268
|
+
status,
|
|
269
|
+
...optionalFields(record?.error === undefined ? undefined : { error: decodeWaitError(record.error) }),
|
|
270
|
+
};
|
|
271
|
+
default:
|
|
272
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Invalid agent wait result status.");
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
export function decodeTurnEvents(value) {
|
|
276
|
+
const record = asRecord(value);
|
|
277
|
+
const status = requiredString(record?.status, "status");
|
|
278
|
+
if (status !== "running" && status !== "completed" && status !== "failed" && status !== "stopped") {
|
|
279
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Invalid turn status.");
|
|
280
|
+
}
|
|
281
|
+
if (!Array.isArray(record?.events)) {
|
|
282
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Daemon returned invalid turn events.");
|
|
283
|
+
}
|
|
284
|
+
return {
|
|
285
|
+
agentId: requiredString(record.agentId, "agentId"),
|
|
286
|
+
turnId: requiredString(record.turnId, "turnId"),
|
|
287
|
+
status,
|
|
288
|
+
events: record.events.map(decodeTurnEvent),
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
function decodeTurnEvent(value) {
|
|
292
|
+
const record = asRecord(value);
|
|
293
|
+
const base = {
|
|
294
|
+
turnId: requiredString(record?.turnId, "event.turnId"),
|
|
295
|
+
seq: requiredInteger(record?.seq, "event.seq"),
|
|
296
|
+
at: requiredString(record?.at, "event.at"),
|
|
297
|
+
};
|
|
298
|
+
const type = requiredString(record?.type, "event.type");
|
|
299
|
+
const summary = optionalContentString(record?.summary);
|
|
300
|
+
switch (type) {
|
|
301
|
+
case "turn_started":
|
|
302
|
+
return { type, ...base };
|
|
303
|
+
case "message":
|
|
304
|
+
return { type, text: requiredContentString(record?.text, "event.text"), ...base };
|
|
305
|
+
case "tool_started":
|
|
306
|
+
return { type, tool: requiredString(record?.tool, "event.tool"), ...optionalFields(summary ? { summary } : undefined), ...base };
|
|
307
|
+
case "tool_completed": {
|
|
308
|
+
const status = requiredString(record?.status, "event.status");
|
|
309
|
+
if (status !== "completed" && status !== "failed")
|
|
310
|
+
break;
|
|
311
|
+
return { type, tool: requiredString(record?.tool, "event.tool"), ...optionalFields(summary ? { summary } : undefined), status, ...base };
|
|
312
|
+
}
|
|
313
|
+
case "turn_completed": {
|
|
314
|
+
const status = requiredString(record?.status, "event.status");
|
|
315
|
+
if (status !== "completed" && status !== "failed" && status !== "stopped")
|
|
316
|
+
break;
|
|
317
|
+
const errorCode = optionalString(record?.errorCode);
|
|
318
|
+
const droppedEvents = isJsonNumber(record?.droppedEvents) ? record.droppedEvents : undefined;
|
|
319
|
+
return {
|
|
320
|
+
type,
|
|
321
|
+
status,
|
|
322
|
+
...optionalFields(errorCode ? { errorCode } : undefined),
|
|
323
|
+
...optionalFields(droppedEvents ? { droppedEvents } : undefined),
|
|
324
|
+
...base,
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Invalid turn event.");
|
|
329
|
+
}
|
|
330
|
+
export function decodeWorkflowRun(value) {
|
|
331
|
+
const record = asRecord(value);
|
|
332
|
+
const status = requiredString(record?.status, "status");
|
|
333
|
+
if (!isWorkflowStatus(status)) {
|
|
334
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Invalid workflow status.");
|
|
335
|
+
}
|
|
336
|
+
const writeMode = requiredString(record?.writeMode, "writeMode");
|
|
337
|
+
if (!isWorkflowWriteMode(writeMode)) {
|
|
338
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Invalid workflow write mode.");
|
|
339
|
+
}
|
|
340
|
+
return {
|
|
341
|
+
id: requiredString(record?.id, "id"),
|
|
342
|
+
workspaceId: optionalString(record?.workspaceId),
|
|
343
|
+
workspaceRoot: requiredString(record?.workspaceRoot, "workspaceRoot"),
|
|
344
|
+
name: requiredString(record?.name, "name"),
|
|
345
|
+
status,
|
|
346
|
+
writeMode,
|
|
347
|
+
concurrency: requiredNonNegativeInteger(record?.concurrency, "concurrency"),
|
|
348
|
+
resumeOf: optionalString(record?.resumeOf),
|
|
349
|
+
...optionalFields(record && "result" in record ? { result: record.result } : undefined),
|
|
350
|
+
...optionalFields(record?.error === undefined ? undefined : { error: decodeWorkflowFailure(record.error) }),
|
|
351
|
+
createdAt: requiredString(record?.createdAt, "createdAt"),
|
|
352
|
+
updatedAt: requiredString(record?.updatedAt, "updatedAt"),
|
|
353
|
+
callCount: requiredNonNegativeInteger(record?.callCount, "callCount"),
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
export function decodeWorkflowRunList(value) {
|
|
357
|
+
if (!Array.isArray(value))
|
|
358
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Daemon returned an invalid workflow list.");
|
|
359
|
+
return value.map(decodeWorkflowRun);
|
|
360
|
+
}
|
|
361
|
+
export function decodeWorkflowCall(value) {
|
|
362
|
+
const record = asRecord(value);
|
|
363
|
+
const status = requiredString(record?.status, "status");
|
|
364
|
+
if (!isWorkflowCallStatus(status)) {
|
|
365
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Invalid workflow call status.");
|
|
366
|
+
}
|
|
367
|
+
const options = asRecord(record?.options);
|
|
368
|
+
if (!options)
|
|
369
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Invalid workflow call options.");
|
|
370
|
+
const decodedOptions = {
|
|
371
|
+
target: requiredString(options.target, "options.target"),
|
|
372
|
+
model: optionalString(options.model),
|
|
373
|
+
effort: optionalString(options.effort),
|
|
374
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
375
|
+
...optionalFields(asRecord(options.schema) ? { schema: options.schema } : undefined),
|
|
376
|
+
label: optionalString(options.label),
|
|
377
|
+
phase: optionalString(options.phase),
|
|
378
|
+
...optionalFields(isWorkflowWriteMode(options.writeMode) ? { writeMode: options.writeMode } : undefined),
|
|
379
|
+
...optionalFields(options.isolation === "worktree" ? { isolation: "worktree" } : undefined),
|
|
380
|
+
workspace: optionalString(options.workspace),
|
|
381
|
+
};
|
|
382
|
+
return {
|
|
383
|
+
runId: requiredString(record?.runId, "runId"),
|
|
384
|
+
index: requiredNonNegativeInteger(record?.index, "index"),
|
|
385
|
+
agentId: requiredString(record?.agentId, "agentId"),
|
|
386
|
+
...optionalFields(record?.turnId === undefined ? undefined : { turnId: requiredString(record.turnId, "turnId") }),
|
|
387
|
+
status,
|
|
388
|
+
prompt: requiredContentString(record?.prompt, "prompt"),
|
|
389
|
+
options: decodedOptions,
|
|
390
|
+
fingerprint: requiredString(record?.fingerprint, "fingerprint"),
|
|
391
|
+
workspaceRoot: requiredString(record?.workspaceRoot, "workspaceRoot"),
|
|
392
|
+
workspaceId: optionalString(record?.workspaceId),
|
|
393
|
+
...optionalFields(record && "result" in record ? { result: record.result } : undefined),
|
|
394
|
+
...optionalFields(record?.error === undefined ? undefined : { error: decodeWorkflowFailure(record.error) }),
|
|
395
|
+
reusedFrom: optionalString(record?.reusedFrom),
|
|
396
|
+
createdAt: requiredString(record?.createdAt, "createdAt"),
|
|
397
|
+
updatedAt: requiredString(record?.updatedAt, "updatedAt"),
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
export function decodeWorkflowCallList(value) {
|
|
401
|
+
if (!Array.isArray(value))
|
|
402
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Daemon returned an invalid workflow call list.");
|
|
403
|
+
return value.map(decodeWorkflowCall);
|
|
404
|
+
}
|
|
405
|
+
export function decodeWorkflowEventList(value) {
|
|
406
|
+
if (!Array.isArray(value) || value.length > 100) {
|
|
407
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Daemon returned an invalid workflow event page.");
|
|
408
|
+
}
|
|
409
|
+
return value.map((entry) => {
|
|
410
|
+
const record = asRecord(entry);
|
|
411
|
+
return {
|
|
412
|
+
sequence: requiredNonNegativeInteger(record?.sequence, "sequence"),
|
|
413
|
+
runId: requiredString(record?.runId, "runId"),
|
|
414
|
+
type: requiredString(record?.type, "type"),
|
|
415
|
+
data: record?.data,
|
|
416
|
+
createdAt: requiredString(record?.createdAt, "createdAt"),
|
|
417
|
+
};
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
export function decodeDaemonStatus(value) {
|
|
421
|
+
const record = asRecord(value);
|
|
422
|
+
const state = requiredString(record?.state, "state");
|
|
423
|
+
if (state !== "ready" && state !== "stopping") {
|
|
424
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Daemon returned an invalid status.");
|
|
425
|
+
}
|
|
426
|
+
return {
|
|
427
|
+
state,
|
|
428
|
+
protocolVersion: requiredInteger(record?.protocolVersion, "protocolVersion"),
|
|
429
|
+
pid: requiredInteger(record?.pid, "pid"),
|
|
430
|
+
endpoint: requiredString(record?.endpoint, "endpoint"),
|
|
431
|
+
startedAt: requiredString(record?.startedAt, "startedAt"),
|
|
432
|
+
activeTurns: requiredInteger(record?.activeTurns, "activeTurns"),
|
|
433
|
+
...optionalFields(record?.activeWorkflows === undefined ? undefined : {
|
|
434
|
+
activeWorkflows: requiredNonNegativeInteger(record.activeWorkflows, "activeWorkflows"),
|
|
435
|
+
}),
|
|
436
|
+
runtimeCount: requiredInteger(record?.runtimeCount, "runtimeCount"),
|
|
437
|
+
clientConnections: requiredInteger(record?.clientConnections, "clientConnections"),
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
export function decodeDaemonHello(value) {
|
|
441
|
+
const record = asRecord(value);
|
|
442
|
+
return {
|
|
443
|
+
status: decodeDaemonStatus(record?.status),
|
|
444
|
+
configMatches: requiredBoolean(record?.configMatches, "configMatches"),
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
export function decodeDaemonLogs(value) {
|
|
448
|
+
if (!isJsonString(value))
|
|
449
|
+
throw new LocalAgentDaemonProtocolError("INVALID_RESULT", "Daemon returned invalid logs.");
|
|
450
|
+
return value;
|
|
451
|
+
}
|
|
452
|
+
export class LocalAgentDaemonProtocolError extends Error {
|
|
453
|
+
code;
|
|
454
|
+
constructor(code, message, options) {
|
|
455
|
+
super(message, options);
|
|
456
|
+
this.code = code;
|
|
457
|
+
this.name = "LocalAgentDaemonProtocolError";
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
function decodeEmptyParams(value) {
|
|
461
|
+
if (value === undefined)
|
|
462
|
+
return {};
|
|
463
|
+
const record = asRecord(value);
|
|
464
|
+
if (!record || Object.keys(record).length > 0) {
|
|
465
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "This daemon method does not accept parameters.");
|
|
466
|
+
}
|
|
467
|
+
return {};
|
|
468
|
+
}
|
|
469
|
+
function decodeStartInput(value) {
|
|
470
|
+
const record = asRecord(value);
|
|
471
|
+
const worktree = asRecord(record?.worktree);
|
|
472
|
+
return {
|
|
473
|
+
agentId: optionalString(record?.agentId),
|
|
474
|
+
target: requiredString(record?.target, "target"),
|
|
475
|
+
prompt: requiredContentString(record?.prompt, "prompt"),
|
|
476
|
+
workspaceRoot: requiredString(record?.workspaceRoot, "workspaceRoot"),
|
|
477
|
+
workspaceId: optionalString(record?.workspaceId),
|
|
478
|
+
model: optionalString(record?.model),
|
|
479
|
+
effort: optionalString(record?.effort),
|
|
480
|
+
writeMode: decodeWriteMode(record?.writeMode),
|
|
481
|
+
...optionalFields(worktree ? { worktree: { branch: optionalString(worktree.branch) } } : undefined),
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
function decodeContinueInput(value) {
|
|
485
|
+
const record = asRecord(value);
|
|
486
|
+
const overrides = asRecord(record?.overrides);
|
|
487
|
+
return {
|
|
488
|
+
id: requiredString(record?.id, "id"),
|
|
489
|
+
prompt: requiredContentString(record?.prompt, "prompt"),
|
|
490
|
+
scope: decodeWorkspaceScope(record?.scope),
|
|
491
|
+
...optionalFields(overrides ? { overrides: {
|
|
492
|
+
model: optionalString(overrides.model),
|
|
493
|
+
effort: optionalString(overrides.effort),
|
|
494
|
+
writeMode: decodeWriteMode(overrides.writeMode),
|
|
495
|
+
} } : undefined),
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
function decodeWorkspaceScope(value) {
|
|
499
|
+
const record = asRecord(value);
|
|
500
|
+
if (!record)
|
|
501
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Workspace scope is required.");
|
|
502
|
+
return {
|
|
503
|
+
workspaceId: optionalString(record.workspaceId),
|
|
504
|
+
workspaceRoot: requiredString(record.workspaceRoot, "scope.workspaceRoot"),
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
function decodeListScope(value) {
|
|
508
|
+
return decodeWorkspaceScope(value);
|
|
509
|
+
}
|
|
510
|
+
function decodeStopParams(value) {
|
|
511
|
+
const record = asRecord(value);
|
|
512
|
+
if (!record)
|
|
513
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Daemon stop options must be an object.");
|
|
514
|
+
const ifIdle = optionalBoolean(record.ifIdle);
|
|
515
|
+
return ifIdle === undefined ? {} : { ifIdle };
|
|
516
|
+
}
|
|
517
|
+
function decodeWaitParams(value) {
|
|
518
|
+
const record = asRecord(value);
|
|
519
|
+
if (!record) {
|
|
520
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Agent wait options must be an object.");
|
|
521
|
+
}
|
|
522
|
+
const ids = record?.ids;
|
|
523
|
+
if (!Array.isArray(ids) || ids.length === 0) {
|
|
524
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "At least one subagent id is required.");
|
|
525
|
+
}
|
|
526
|
+
const timeoutMs = record.timeoutMs;
|
|
527
|
+
if (timeoutMs !== undefined
|
|
528
|
+
&& (!isJsonNumber(timeoutMs)
|
|
529
|
+
|| !Number.isSafeInteger(timeoutMs)
|
|
530
|
+
|| timeoutMs < 0
|
|
531
|
+
|| timeoutMs > 2_147_483_647)) {
|
|
532
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Wait timeout must be an integer between 0 and 2147483647 milliseconds.");
|
|
533
|
+
}
|
|
534
|
+
return {
|
|
535
|
+
ids: ids.map((id, index) => requiredString(id, `ids[${index}]`)),
|
|
536
|
+
scope: decodeWorkspaceScope(record.scope),
|
|
537
|
+
...optionalFields(timeoutMs === undefined ? undefined : { timeoutMs }),
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
function decodeWorkflowRunInput(value) {
|
|
541
|
+
const record = asRecord(value);
|
|
542
|
+
if (!record)
|
|
543
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Workflow input must be an object.");
|
|
544
|
+
const source = optionalContentString(record.source);
|
|
545
|
+
const name = optionalString(record.name);
|
|
546
|
+
const resume = optionalString(record.resume);
|
|
547
|
+
if ([source, name, resume].filter((entry) => entry !== undefined).length !== 1) {
|
|
548
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Exactly one workflow source, name, or resume id is required.");
|
|
549
|
+
}
|
|
550
|
+
const writeMode = record.writeMode;
|
|
551
|
+
if (writeMode !== undefined && writeMode !== "read_only" && writeMode !== "allowed") {
|
|
552
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Invalid workflow write mode.");
|
|
553
|
+
}
|
|
554
|
+
return {
|
|
555
|
+
...decodeWorkspaceScope(record),
|
|
556
|
+
...optionalFields(source === undefined ? undefined : { source }),
|
|
557
|
+
...optionalFields(name === undefined ? undefined : { name }),
|
|
558
|
+
...optionalFields(resume === undefined ? undefined : { resume }),
|
|
559
|
+
...optionalFields(record.args === undefined ? undefined : { args: record.args }),
|
|
560
|
+
...optionalFields(writeMode === undefined ? undefined : { writeMode }),
|
|
561
|
+
};
|
|
562
|
+
}
|
|
563
|
+
function decodeWorkflowLookup(value) {
|
|
564
|
+
const record = asRecord(value);
|
|
565
|
+
return {
|
|
566
|
+
id: requiredString(record?.id, "id"),
|
|
567
|
+
scope: decodeWorkspaceScope(record?.scope),
|
|
568
|
+
};
|
|
569
|
+
}
|
|
570
|
+
function decodeOptionalTimeout(value, max) {
|
|
571
|
+
const timeoutMs = asRecord(value)?.timeoutMs;
|
|
572
|
+
if (timeoutMs === undefined)
|
|
573
|
+
return {};
|
|
574
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
575
|
+
if (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > max) {
|
|
576
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", `Wait timeout must be an integer between 0 and ${max} milliseconds.`);
|
|
577
|
+
}
|
|
578
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
579
|
+
return { timeoutMs: timeoutMs };
|
|
580
|
+
}
|
|
581
|
+
function decodeWaitError(value) {
|
|
582
|
+
const record = asRecord(value);
|
|
583
|
+
const detail = optionalContentString(record?.detail);
|
|
584
|
+
return {
|
|
585
|
+
code: requiredString(record?.code, "error.code"),
|
|
586
|
+
message: requiredContentString(record?.message, "error.message"),
|
|
587
|
+
retryable: optionalBoolean(record?.retryable) ?? false,
|
|
588
|
+
...optionalFields(detail ? { detail } : undefined),
|
|
589
|
+
};
|
|
590
|
+
}
|
|
591
|
+
function decodeEventsParams(value) {
|
|
592
|
+
const record = asRecord(value);
|
|
593
|
+
const afterSeq = record?.afterSeq;
|
|
594
|
+
if (afterSeq !== undefined && (!isJsonNumber(afterSeq) || !Number.isSafeInteger(afterSeq) || afterSeq < 0)) {
|
|
595
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "afterSeq must be a non-negative integer.");
|
|
596
|
+
}
|
|
597
|
+
const turnId = optionalString(record?.turnId);
|
|
598
|
+
return {
|
|
599
|
+
id: requiredString(record?.id, "id"),
|
|
600
|
+
scope: decodeWorkspaceScope(record?.scope),
|
|
601
|
+
...optionalFields(turnId ? { turnId } : undefined),
|
|
602
|
+
...optionalFields(afterSeq === undefined ? undefined : { afterSeq }),
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
function decodeWorkflowFailure(value) {
|
|
606
|
+
return decodeWaitError(value);
|
|
607
|
+
}
|
|
608
|
+
function decodeLogsParams(value) {
|
|
609
|
+
if (value === undefined)
|
|
610
|
+
return {};
|
|
611
|
+
const record = asRecord(value);
|
|
612
|
+
if (!record)
|
|
613
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Log options must be an object.");
|
|
614
|
+
const lines = record.lines;
|
|
615
|
+
if (lines === undefined)
|
|
616
|
+
return {};
|
|
617
|
+
if (!isJsonNumber(lines) || !Number.isInteger(lines) || lines < 1 || lines > 10_000) {
|
|
618
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Log lines must be an integer between 1 and 10000.");
|
|
619
|
+
}
|
|
620
|
+
return { lines };
|
|
621
|
+
}
|
|
622
|
+
function decodeWriteMode(value) {
|
|
623
|
+
if (value === undefined)
|
|
624
|
+
return undefined;
|
|
625
|
+
if (value === "read_only" || value === "allowed" || value === "full_access")
|
|
626
|
+
return value;
|
|
627
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", "Invalid write mode.");
|
|
628
|
+
}
|
|
629
|
+
function isLocalAgentStatus(value) {
|
|
630
|
+
return value === "starting" || value === "running" || value === "idle" || value === "error" || value === "stopped";
|
|
631
|
+
}
|
|
632
|
+
function isWorkflowStatus(value) {
|
|
633
|
+
return value === "starting" || value === "running" || value === "stopping" || value === "completed"
|
|
634
|
+
|| value === "failed" || value === "cancelled" || value === "interrupted";
|
|
635
|
+
}
|
|
636
|
+
function isWorkflowWriteMode(value) {
|
|
637
|
+
return value === "read_only" || value === "allowed";
|
|
638
|
+
}
|
|
639
|
+
function isWorkflowCallStatus(value) {
|
|
640
|
+
return value === "queued" || value === "running" || value === "completed" || value === "failed"
|
|
641
|
+
|| value === "cancelled" || value === "interrupted";
|
|
642
|
+
}
|
|
643
|
+
function requiredString(value, field) {
|
|
644
|
+
const result = optionalString(value);
|
|
645
|
+
if (!result)
|
|
646
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", `Missing ${field}.`);
|
|
647
|
+
return result;
|
|
648
|
+
}
|
|
649
|
+
function requiredContentString(value, field) {
|
|
650
|
+
const result = optionalContentString(value);
|
|
651
|
+
if (result === undefined)
|
|
652
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", `Missing ${field}.`);
|
|
653
|
+
return result;
|
|
654
|
+
}
|
|
655
|
+
function requiredInteger(value, field) {
|
|
656
|
+
if (!isJsonNumber(value) || !Number.isSafeInteger(value)) {
|
|
657
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PROTOCOL", `Invalid ${field}.`);
|
|
658
|
+
}
|
|
659
|
+
return value;
|
|
660
|
+
}
|
|
661
|
+
function requiredNonNegativeInteger(value, field) {
|
|
662
|
+
const result = requiredInteger(value, field);
|
|
663
|
+
if (result < 0)
|
|
664
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PARAMS", `${field} must be non-negative.`);
|
|
665
|
+
return result;
|
|
666
|
+
}
|
|
667
|
+
function requiredBoolean(value, field) {
|
|
668
|
+
if (!isJsonBoolean(value)) {
|
|
669
|
+
throw new LocalAgentDaemonProtocolError("INVALID_PROTOCOL", `Invalid ${field}.`);
|
|
670
|
+
}
|
|
671
|
+
return value;
|
|
672
|
+
}
|
|
673
|
+
function optionalString(value) {
|
|
674
|
+
if (!isJsonString(value))
|
|
675
|
+
return undefined;
|
|
676
|
+
const trimmed = value.trim();
|
|
677
|
+
return trimmed || undefined;
|
|
678
|
+
}
|
|
679
|
+
function optionalContentString(value) {
|
|
680
|
+
if (!isJsonString(value) || !value.trim())
|
|
681
|
+
return undefined;
|
|
682
|
+
return value;
|
|
683
|
+
}
|
|
684
|
+
function optionalBoolean(value) {
|
|
685
|
+
return isJsonBoolean(value) ? value : undefined;
|
|
686
|
+
}
|
|
687
|
+
function asRecord(value) {
|
|
688
|
+
if (!value || !isObjectValue(value) || Array.isArray(value))
|
|
689
|
+
return undefined;
|
|
690
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
691
|
+
return value;
|
|
692
|
+
}
|
|
693
|
+
export function supportedDaemonProtocolVersion() {
|
|
694
|
+
return LOCAL_AGENT_DAEMON_PROTOCOL_VERSION;
|
|
695
|
+
}
|