@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,431 @@
|
|
|
1
|
+
import { transaction } from "./sqlite.js";
|
|
2
|
+
const migrations = [
|
|
3
|
+
{
|
|
4
|
+
version: 1,
|
|
5
|
+
name: "workspace-state",
|
|
6
|
+
up: migrateWorkspaceState,
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
version: 2,
|
|
10
|
+
name: "oauth-state",
|
|
11
|
+
up: migrateOAuthState,
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
version: 3,
|
|
15
|
+
name: "local-agent-sessions",
|
|
16
|
+
up: migrateLocalAgentSessions,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
version: 4,
|
|
20
|
+
name: "workspace-conversation-bindings",
|
|
21
|
+
up: migrateWorkspaceConversationBindings,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
version: 5,
|
|
25
|
+
name: "local-agent-structured-errors",
|
|
26
|
+
up: migrateLocalAgentStructuredErrors,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
version: 6,
|
|
30
|
+
name: "local-agent-effort-rename",
|
|
31
|
+
up: migrateLocalAgentEffortRename,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
version: 7,
|
|
35
|
+
name: "workspace-recovery-state",
|
|
36
|
+
up: migrateWorkspaceRecoveryState,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
version: 8,
|
|
40
|
+
name: "local-agent-turns",
|
|
41
|
+
up: migrateLocalAgentTurns,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
version: 9,
|
|
45
|
+
name: "local-agent-provider-instances",
|
|
46
|
+
up: migrateLocalAgentProviderInstances,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
version: 10,
|
|
50
|
+
name: "local-agent-generic-acp-driver",
|
|
51
|
+
up: migrateLocalAgentGenericAcpDriver,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
version: 11,
|
|
55
|
+
name: "local-agent-turn-events",
|
|
56
|
+
up: migrateLocalAgentTurnEvents,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
version: 12,
|
|
60
|
+
name: "local-agent-authority",
|
|
61
|
+
up: (sqlite) => {
|
|
62
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "write_mode", "text not null default 'allowed'");
|
|
63
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "dispatch_signature", "text");
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
version: 13,
|
|
68
|
+
name: "dynamic-workflows",
|
|
69
|
+
up: (sqlite) => sqlite.exec(`
|
|
70
|
+
create table workflow_runs (
|
|
71
|
+
id text primary key,
|
|
72
|
+
workspace_root text not null,
|
|
73
|
+
workspace_id text,
|
|
74
|
+
record_json text not null
|
|
75
|
+
);
|
|
76
|
+
create index workflow_runs_workspace_idx on workflow_runs(workspace_root, workspace_id);
|
|
77
|
+
create table workflow_calls (
|
|
78
|
+
run_id text not null references workflow_runs(id),
|
|
79
|
+
call_index integer not null,
|
|
80
|
+
agent_id text not null,
|
|
81
|
+
record_json text not null,
|
|
82
|
+
primary key (run_id, call_index)
|
|
83
|
+
);
|
|
84
|
+
create index workflow_calls_agent_idx on workflow_calls(agent_id);
|
|
85
|
+
create table workflow_events (
|
|
86
|
+
sequence integer primary key autoincrement,
|
|
87
|
+
run_id text not null references workflow_runs(id),
|
|
88
|
+
type text not null,
|
|
89
|
+
data_json text not null,
|
|
90
|
+
created_at text not null
|
|
91
|
+
);
|
|
92
|
+
create index workflow_events_run_idx on workflow_events(run_id, sequence);
|
|
93
|
+
`),
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
version: 14,
|
|
97
|
+
name: "local-agent-worktrees",
|
|
98
|
+
up: (sqlite) => {
|
|
99
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "worktree_path", "text");
|
|
100
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "branch", "text");
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
version: 15,
|
|
105
|
+
name: "workspace-activity",
|
|
106
|
+
up: migrateWorkspaceActivity,
|
|
107
|
+
},
|
|
108
|
+
];
|
|
109
|
+
export function migrateDatabase(sqlite) {
|
|
110
|
+
transaction(sqlite, () => {
|
|
111
|
+
sqlite.exec(`
|
|
112
|
+
create table if not exists devspace_schema_migrations (
|
|
113
|
+
version integer primary key,
|
|
114
|
+
name text not null,
|
|
115
|
+
applied_at text not null
|
|
116
|
+
);
|
|
117
|
+
`);
|
|
118
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
119
|
+
const appliedRows = sqlite
|
|
120
|
+
.prepare("select version, name from devspace_schema_migrations order by version")
|
|
121
|
+
.all();
|
|
122
|
+
const migrationsByVersion = new Map(migrations.map((migration) => [migration.version, migration]));
|
|
123
|
+
for (const row of appliedRows) {
|
|
124
|
+
const expected = migrationsByVersion.get(row.version);
|
|
125
|
+
if (!expected) {
|
|
126
|
+
throw new Error(`Database migration history is incompatible: version ${row.version} (${JSON.stringify(row.name)}) is unknown to this build.`);
|
|
127
|
+
}
|
|
128
|
+
if (row.name !== expected.name) {
|
|
129
|
+
throw new Error(`Database migration history is incompatible: version ${row.version} is recorded as ${JSON.stringify(row.name)}, but this build expects ${JSON.stringify(expected.name)}.`);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
const applied = new Set(appliedRows.map((row) => row.version));
|
|
133
|
+
const recordMigration = sqlite.prepare("insert into devspace_schema_migrations (version, name, applied_at) values (?, ?, ?)");
|
|
134
|
+
for (const migration of migrations) {
|
|
135
|
+
if (applied.has(migration.version))
|
|
136
|
+
continue;
|
|
137
|
+
migration.up(sqlite);
|
|
138
|
+
recordMigration.run(migration.version, migration.name, new Date().toISOString());
|
|
139
|
+
}
|
|
140
|
+
}, "immediate");
|
|
141
|
+
}
|
|
142
|
+
function migrateWorkspaceState(sqlite) {
|
|
143
|
+
sqlite.exec(`
|
|
144
|
+
create table if not exists workspace_sessions (
|
|
145
|
+
id text primary key,
|
|
146
|
+
root text not null,
|
|
147
|
+
status text not null default 'active',
|
|
148
|
+
mode text not null default 'checkout',
|
|
149
|
+
source_root text,
|
|
150
|
+
base_ref text,
|
|
151
|
+
base_sha text,
|
|
152
|
+
managed text not null default 'false',
|
|
153
|
+
created_at text not null,
|
|
154
|
+
last_used_at text not null
|
|
155
|
+
);
|
|
156
|
+
|
|
157
|
+
create index if not exists workspace_sessions_root_idx
|
|
158
|
+
on workspace_sessions(root, last_used_at desc);
|
|
159
|
+
|
|
160
|
+
create index if not exists workspace_sessions_status_idx
|
|
161
|
+
on workspace_sessions(status, last_used_at desc);
|
|
162
|
+
|
|
163
|
+
create table if not exists loaded_agent_files (
|
|
164
|
+
workspace_session_id text not null,
|
|
165
|
+
path text not null,
|
|
166
|
+
content_hash text not null,
|
|
167
|
+
content text not null,
|
|
168
|
+
loaded_at text not null,
|
|
169
|
+
last_seen_at text not null,
|
|
170
|
+
primary key (workspace_session_id, path),
|
|
171
|
+
foreign key (workspace_session_id)
|
|
172
|
+
references workspace_sessions(id)
|
|
173
|
+
on delete cascade
|
|
174
|
+
);
|
|
175
|
+
|
|
176
|
+
create index if not exists loaded_agent_files_path_idx
|
|
177
|
+
on loaded_agent_files(path);
|
|
178
|
+
`);
|
|
179
|
+
addColumnIfMissing(sqlite, "workspace_sessions", "mode", "text not null default 'checkout'");
|
|
180
|
+
addColumnIfMissing(sqlite, "workspace_sessions", "source_root", "text");
|
|
181
|
+
addColumnIfMissing(sqlite, "workspace_sessions", "base_ref", "text");
|
|
182
|
+
addColumnIfMissing(sqlite, "workspace_sessions", "base_sha", "text");
|
|
183
|
+
addColumnIfMissing(sqlite, "workspace_sessions", "managed", "text not null default 'false'");
|
|
184
|
+
}
|
|
185
|
+
function migrateOAuthState(sqlite) {
|
|
186
|
+
sqlite.exec(`
|
|
187
|
+
create table if not exists oauth_clients (
|
|
188
|
+
client_id text primary key,
|
|
189
|
+
client_json text not null,
|
|
190
|
+
issued_at integer not null
|
|
191
|
+
);
|
|
192
|
+
|
|
193
|
+
create index if not exists oauth_clients_issued_at_idx
|
|
194
|
+
on oauth_clients(issued_at desc);
|
|
195
|
+
|
|
196
|
+
create table if not exists oauth_access_tokens (
|
|
197
|
+
token_hash text primary key,
|
|
198
|
+
client_id text not null,
|
|
199
|
+
scopes_json text not null,
|
|
200
|
+
expires_at integer not null,
|
|
201
|
+
resource text,
|
|
202
|
+
foreign key (client_id) references oauth_clients(client_id) on delete cascade
|
|
203
|
+
);
|
|
204
|
+
|
|
205
|
+
create index if not exists oauth_access_tokens_client_id_idx
|
|
206
|
+
on oauth_access_tokens(client_id);
|
|
207
|
+
|
|
208
|
+
create index if not exists oauth_access_tokens_expires_at_idx
|
|
209
|
+
on oauth_access_tokens(expires_at);
|
|
210
|
+
|
|
211
|
+
create table if not exists oauth_refresh_tokens (
|
|
212
|
+
token_hash text primary key,
|
|
213
|
+
client_id text not null,
|
|
214
|
+
scopes_json text not null,
|
|
215
|
+
expires_at integer not null,
|
|
216
|
+
resource text,
|
|
217
|
+
foreign key (client_id) references oauth_clients(client_id) on delete cascade
|
|
218
|
+
);
|
|
219
|
+
|
|
220
|
+
create index if not exists oauth_refresh_tokens_client_id_idx
|
|
221
|
+
on oauth_refresh_tokens(client_id);
|
|
222
|
+
|
|
223
|
+
create index if not exists oauth_refresh_tokens_expires_at_idx
|
|
224
|
+
on oauth_refresh_tokens(expires_at);
|
|
225
|
+
`);
|
|
226
|
+
}
|
|
227
|
+
function migrateLocalAgentSessions(sqlite) {
|
|
228
|
+
sqlite.exec(`
|
|
229
|
+
create table if not exists local_agent_sessions (
|
|
230
|
+
id text primary key,
|
|
231
|
+
workspace_id text,
|
|
232
|
+
workspace_root text not null,
|
|
233
|
+
profile_name text not null,
|
|
234
|
+
provider text not null,
|
|
235
|
+
model text,
|
|
236
|
+
effort text,
|
|
237
|
+
provider_session_id text,
|
|
238
|
+
status text not null,
|
|
239
|
+
latest_response text,
|
|
240
|
+
error text,
|
|
241
|
+
created_at text not null,
|
|
242
|
+
updated_at text not null
|
|
243
|
+
);
|
|
244
|
+
|
|
245
|
+
create index if not exists local_agent_sessions_workspace_id_idx
|
|
246
|
+
on local_agent_sessions(workspace_id, updated_at desc);
|
|
247
|
+
|
|
248
|
+
create index if not exists local_agent_sessions_workspace_root_idx
|
|
249
|
+
on local_agent_sessions(workspace_root, updated_at desc);
|
|
250
|
+
|
|
251
|
+
create index if not exists local_agent_sessions_provider_session_id_idx
|
|
252
|
+
on local_agent_sessions(provider_session_id);
|
|
253
|
+
`);
|
|
254
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "effort", "text");
|
|
255
|
+
}
|
|
256
|
+
function migrateWorkspaceConversationBindings(sqlite) {
|
|
257
|
+
sqlite.exec(`
|
|
258
|
+
create table if not exists workspace_conversation_bindings (
|
|
259
|
+
conversation_scope_id text not null,
|
|
260
|
+
target_key text not null,
|
|
261
|
+
workspace_session_id text not null,
|
|
262
|
+
created_at text not null,
|
|
263
|
+
last_used_at text not null,
|
|
264
|
+
primary key (conversation_scope_id, target_key),
|
|
265
|
+
foreign key (workspace_session_id)
|
|
266
|
+
references workspace_sessions(id)
|
|
267
|
+
on delete cascade
|
|
268
|
+
);
|
|
269
|
+
|
|
270
|
+
create index if not exists workspace_conversation_bindings_workspace_idx
|
|
271
|
+
on workspace_conversation_bindings(workspace_session_id);
|
|
272
|
+
`);
|
|
273
|
+
}
|
|
274
|
+
function migrateLocalAgentStructuredErrors(sqlite) {
|
|
275
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "error_code", "text");
|
|
276
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "error_retryable", "text");
|
|
277
|
+
}
|
|
278
|
+
function migrateLocalAgentEffortRename(sqlite) {
|
|
279
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
280
|
+
const columns = sqlite.prepare("pragma table_info(local_agent_sessions)").all();
|
|
281
|
+
const names = new Set(columns.map((column) => column.name));
|
|
282
|
+
if (names.has("effort")) {
|
|
283
|
+
if (names.has("thinking")) {
|
|
284
|
+
sqlite.exec(`
|
|
285
|
+
update local_agent_sessions
|
|
286
|
+
set effort = thinking
|
|
287
|
+
where effort is null and thinking is not null
|
|
288
|
+
`);
|
|
289
|
+
}
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
if (!names.has("thinking")) {
|
|
293
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "effort", "text");
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
sqlite.exec("alter table local_agent_sessions rename column thinking to effort");
|
|
297
|
+
}
|
|
298
|
+
function migrateWorkspaceRecoveryState(sqlite) {
|
|
299
|
+
const workspaceStateExists = sqlite
|
|
300
|
+
.prepare("select 1 from sqlite_master where type = 'table' and name = 'workspace_sessions'")
|
|
301
|
+
.get();
|
|
302
|
+
if (!workspaceStateExists)
|
|
303
|
+
return;
|
|
304
|
+
addColumnIfMissing(sqlite, "workspace_sessions", "recovery_kind", "text");
|
|
305
|
+
}
|
|
306
|
+
function migrateLocalAgentTurns(sqlite) {
|
|
307
|
+
sqlite.exec(`
|
|
308
|
+
create table if not exists local_agent_turns (
|
|
309
|
+
id integer primary key autoincrement,
|
|
310
|
+
agent_id text not null,
|
|
311
|
+
prompt text not null,
|
|
312
|
+
status text not null,
|
|
313
|
+
response text,
|
|
314
|
+
error text,
|
|
315
|
+
error_code text,
|
|
316
|
+
error_retryable text,
|
|
317
|
+
created_at text not null,
|
|
318
|
+
completed_at text,
|
|
319
|
+
foreign key (agent_id) references local_agent_sessions(id) on delete cascade
|
|
320
|
+
);
|
|
321
|
+
|
|
322
|
+
create index if not exists local_agent_turns_agent_id_idx
|
|
323
|
+
on local_agent_turns(agent_id, id desc);
|
|
324
|
+
|
|
325
|
+
create index if not exists local_agent_turns_status_idx
|
|
326
|
+
on local_agent_turns(status);
|
|
327
|
+
`);
|
|
328
|
+
}
|
|
329
|
+
function migrateLocalAgentProviderInstances(sqlite) {
|
|
330
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
331
|
+
const columns = sqlite.prepare("pragma table_info(local_agent_sessions)").all();
|
|
332
|
+
const names = new Set(columns.map((column) => column.name));
|
|
333
|
+
if (names.has("provider") && !names.has("provider_instance_id")) {
|
|
334
|
+
sqlite.exec("alter table local_agent_sessions rename column provider to provider_instance_id");
|
|
335
|
+
}
|
|
336
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "driver", "text not null default ''");
|
|
337
|
+
sqlite.exec(`
|
|
338
|
+
update local_agent_sessions
|
|
339
|
+
set driver = provider_instance_id
|
|
340
|
+
where driver is null or driver = ''
|
|
341
|
+
`);
|
|
342
|
+
}
|
|
343
|
+
function migrateLocalAgentGenericAcpDriver(sqlite) {
|
|
344
|
+
sqlite.exec(`
|
|
345
|
+
update local_agent_sessions
|
|
346
|
+
set driver = 'acp'
|
|
347
|
+
where driver in ('cursor', 'copilot', 'grok')
|
|
348
|
+
`);
|
|
349
|
+
}
|
|
350
|
+
function migrateLocalAgentTurnEvents(sqlite) {
|
|
351
|
+
addColumnIfMissing(sqlite, "local_agent_turns", "turn_id", "text");
|
|
352
|
+
addColumnIfMissing(sqlite, "local_agent_turns", "error_detail", "text");
|
|
353
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "latest_turn_id", "text");
|
|
354
|
+
addColumnIfMissing(sqlite, "local_agent_sessions", "error_detail", "text");
|
|
355
|
+
sqlite.exec(`
|
|
356
|
+
update local_agent_turns set turn_id = 'trn_' || id where turn_id is null;
|
|
357
|
+
|
|
358
|
+
update local_agent_sessions
|
|
359
|
+
set latest_turn_id = (
|
|
360
|
+
select turn_id from local_agent_turns
|
|
361
|
+
where local_agent_turns.agent_id = local_agent_sessions.id
|
|
362
|
+
order by id desc limit 1
|
|
363
|
+
)
|
|
364
|
+
where latest_turn_id is null;
|
|
365
|
+
|
|
366
|
+
create unique index if not exists local_agent_turns_turn_id_idx
|
|
367
|
+
on local_agent_turns(turn_id);
|
|
368
|
+
|
|
369
|
+
create table if not exists local_agent_turn_events (
|
|
370
|
+
turn_row_id integer not null,
|
|
371
|
+
seq integer not null,
|
|
372
|
+
type text not null,
|
|
373
|
+
data text not null,
|
|
374
|
+
created_at text not null,
|
|
375
|
+
primary key (turn_row_id, seq),
|
|
376
|
+
foreign key (turn_row_id) references local_agent_turns(id) on delete cascade
|
|
377
|
+
);
|
|
378
|
+
`);
|
|
379
|
+
}
|
|
380
|
+
function migrateWorkspaceActivity(sqlite) {
|
|
381
|
+
sqlite.exec(`
|
|
382
|
+
create table if not exists workspace_turns (
|
|
383
|
+
id integer primary key autoincrement,
|
|
384
|
+
workspace_session_id text not null,
|
|
385
|
+
sequence integer not null,
|
|
386
|
+
status text not null default 'open',
|
|
387
|
+
review_ref text,
|
|
388
|
+
started_at text not null,
|
|
389
|
+
closed_at text,
|
|
390
|
+
foreign key (workspace_session_id)
|
|
391
|
+
references workspace_sessions(id)
|
|
392
|
+
on delete cascade
|
|
393
|
+
);
|
|
394
|
+
|
|
395
|
+
create unique index if not exists workspace_turns_sequence_idx
|
|
396
|
+
on workspace_turns(workspace_session_id, sequence);
|
|
397
|
+
|
|
398
|
+
create unique index if not exists workspace_turns_open_idx
|
|
399
|
+
on workspace_turns(workspace_session_id)
|
|
400
|
+
where status = 'open';
|
|
401
|
+
|
|
402
|
+
create table if not exists workspace_turn_tool_calls (
|
|
403
|
+
id integer primary key autoincrement,
|
|
404
|
+
turn_id integer not null,
|
|
405
|
+
origin text not null default 'model',
|
|
406
|
+
conversation_scope_id text,
|
|
407
|
+
request_id text,
|
|
408
|
+
tool_name text not null,
|
|
409
|
+
arguments_json text not null,
|
|
410
|
+
result_json text,
|
|
411
|
+
error_json text,
|
|
412
|
+
is_error integer not null default 0,
|
|
413
|
+
started_at text not null,
|
|
414
|
+
completed_at text not null,
|
|
415
|
+
duration_ms integer not null,
|
|
416
|
+
foreign key (turn_id)
|
|
417
|
+
references workspace_turns(id)
|
|
418
|
+
on delete cascade
|
|
419
|
+
);
|
|
420
|
+
|
|
421
|
+
create index if not exists workspace_turn_tool_calls_turn_idx
|
|
422
|
+
on workspace_turn_tool_calls(turn_id, started_at);
|
|
423
|
+
`);
|
|
424
|
+
}
|
|
425
|
+
function addColumnIfMissing(sqlite, table, column, definition) {
|
|
426
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
427
|
+
const columns = sqlite.prepare(`pragma table_info(${table})`).all();
|
|
428
|
+
if (columns.some((existingColumn) => existingColumn.name === column))
|
|
429
|
+
return;
|
|
430
|
+
sqlite.exec(`alter table ${table} add column ${column} ${definition}`);
|
|
431
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { index, integer, primaryKey, sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
2
|
+
export const workspaceSessions = sqliteTable("workspace_sessions", {
|
|
3
|
+
id: text("id").primaryKey(),
|
|
4
|
+
root: text("root").notNull(),
|
|
5
|
+
status: text("status").notNull().default("active"),
|
|
6
|
+
mode: text("mode").notNull().default("checkout"),
|
|
7
|
+
sourceRoot: text("source_root"),
|
|
8
|
+
baseRef: text("base_ref"),
|
|
9
|
+
baseSha: text("base_sha"),
|
|
10
|
+
managed: text("managed").notNull().default("false"),
|
|
11
|
+
recoveryKind: text("recovery_kind"),
|
|
12
|
+
createdAt: text("created_at").notNull(),
|
|
13
|
+
lastUsedAt: text("last_used_at").notNull(),
|
|
14
|
+
}, (table) => [
|
|
15
|
+
index("workspace_sessions_root_idx").on(table.root, table.lastUsedAt),
|
|
16
|
+
index("workspace_sessions_status_idx").on(table.status, table.lastUsedAt),
|
|
17
|
+
]);
|
|
18
|
+
export const loadedAgentFiles = sqliteTable("loaded_agent_files", {
|
|
19
|
+
workspaceSessionId: text("workspace_session_id")
|
|
20
|
+
.notNull()
|
|
21
|
+
.references(() => workspaceSessions.id, { onDelete: "cascade" }),
|
|
22
|
+
path: text("path").notNull(),
|
|
23
|
+
contentHash: text("content_hash").notNull(),
|
|
24
|
+
content: text("content").notNull(),
|
|
25
|
+
loadedAt: text("loaded_at").notNull(),
|
|
26
|
+
lastSeenAt: text("last_seen_at").notNull(),
|
|
27
|
+
}, (table) => [
|
|
28
|
+
primaryKey({ columns: [table.workspaceSessionId, table.path] }),
|
|
29
|
+
index("loaded_agent_files_path_idx").on(table.path),
|
|
30
|
+
]);
|
|
31
|
+
export const workspaceConversationBindings = sqliteTable("workspace_conversation_bindings", {
|
|
32
|
+
conversationScopeId: text("conversation_scope_id").notNull(),
|
|
33
|
+
targetKey: text("target_key").notNull(),
|
|
34
|
+
workspaceSessionId: text("workspace_session_id")
|
|
35
|
+
.notNull()
|
|
36
|
+
.references(() => workspaceSessions.id, { onDelete: "cascade" }),
|
|
37
|
+
createdAt: text("created_at").notNull(),
|
|
38
|
+
lastUsedAt: text("last_used_at").notNull(),
|
|
39
|
+
}, (table) => [
|
|
40
|
+
primaryKey({ columns: [table.conversationScopeId, table.targetKey] }),
|
|
41
|
+
index("workspace_conversation_bindings_workspace_idx").on(table.workspaceSessionId),
|
|
42
|
+
]);
|
|
43
|
+
export const workspaceTurns = sqliteTable("workspace_turns", {
|
|
44
|
+
id: integer("id").primaryKey({ autoIncrement: true }),
|
|
45
|
+
workspaceSessionId: text("workspace_session_id")
|
|
46
|
+
.notNull()
|
|
47
|
+
.references(() => workspaceSessions.id, { onDelete: "cascade" }),
|
|
48
|
+
sequence: integer("sequence").notNull(),
|
|
49
|
+
status: text("status").notNull().default("open"),
|
|
50
|
+
reviewRef: text("review_ref"),
|
|
51
|
+
startedAt: text("started_at").notNull(),
|
|
52
|
+
closedAt: text("closed_at"),
|
|
53
|
+
}, (table) => [
|
|
54
|
+
uniqueIndex("workspace_turns_sequence_idx").on(table.workspaceSessionId, table.sequence),
|
|
55
|
+
]);
|
|
56
|
+
export const workspaceTurnToolCalls = sqliteTable("workspace_turn_tool_calls", {
|
|
57
|
+
id: integer("id").primaryKey({ autoIncrement: true }),
|
|
58
|
+
turnId: integer("turn_id")
|
|
59
|
+
.notNull()
|
|
60
|
+
.references(() => workspaceTurns.id, { onDelete: "cascade" }),
|
|
61
|
+
origin: text("origin").notNull().default("model"),
|
|
62
|
+
conversationScopeId: text("conversation_scope_id"),
|
|
63
|
+
requestId: text("request_id"),
|
|
64
|
+
toolName: text("tool_name").notNull(),
|
|
65
|
+
argumentsJson: text("arguments_json").notNull(),
|
|
66
|
+
resultJson: text("result_json"),
|
|
67
|
+
errorJson: text("error_json"),
|
|
68
|
+
isError: integer("is_error").notNull().default(0),
|
|
69
|
+
startedAt: text("started_at").notNull(),
|
|
70
|
+
completedAt: text("completed_at").notNull(),
|
|
71
|
+
durationMs: integer("duration_ms").notNull(),
|
|
72
|
+
}, (table) => [
|
|
73
|
+
index("workspace_turn_tool_calls_turn_idx").on(table.turnId, table.startedAt),
|
|
74
|
+
]);
|
|
75
|
+
export const oauthClients = sqliteTable("oauth_clients", {
|
|
76
|
+
clientId: text("client_id").primaryKey(),
|
|
77
|
+
clientJson: text("client_json").notNull(),
|
|
78
|
+
issuedAt: integer("issued_at").notNull(),
|
|
79
|
+
});
|
|
80
|
+
export const oauthAccessTokens = sqliteTable("oauth_access_tokens", {
|
|
81
|
+
tokenHash: text("token_hash").primaryKey(),
|
|
82
|
+
clientId: text("client_id")
|
|
83
|
+
.notNull()
|
|
84
|
+
.references(() => oauthClients.clientId, { onDelete: "cascade" }),
|
|
85
|
+
scopesJson: text("scopes_json").notNull(),
|
|
86
|
+
expiresAt: integer("expires_at").notNull(),
|
|
87
|
+
resource: text("resource"),
|
|
88
|
+
});
|
|
89
|
+
export const oauthRefreshTokens = sqliteTable("oauth_refresh_tokens", {
|
|
90
|
+
tokenHash: text("token_hash").primaryKey(),
|
|
91
|
+
clientId: text("client_id")
|
|
92
|
+
.notNull()
|
|
93
|
+
.references(() => oauthClients.clientId, { onDelete: "cascade" }),
|
|
94
|
+
scopesJson: text("scopes_json").notNull(),
|
|
95
|
+
expiresAt: integer("expires_at").notNull(),
|
|
96
|
+
resource: text("resource"),
|
|
97
|
+
});
|
|
98
|
+
export const localAgentSessions = sqliteTable("local_agent_sessions", {
|
|
99
|
+
id: text("id").primaryKey(),
|
|
100
|
+
workspaceId: text("workspace_id"),
|
|
101
|
+
workspaceRoot: text("workspace_root").notNull(),
|
|
102
|
+
profileName: text("profile_name").notNull(),
|
|
103
|
+
providerInstanceId: text("provider_instance_id").notNull(),
|
|
104
|
+
driver: text("driver").notNull(),
|
|
105
|
+
writeMode: text("write_mode").notNull().default("allowed"),
|
|
106
|
+
dispatchSignature: text("dispatch_signature"),
|
|
107
|
+
worktreePath: text("worktree_path"),
|
|
108
|
+
branch: text("branch"),
|
|
109
|
+
model: text("model"),
|
|
110
|
+
effort: text("effort"),
|
|
111
|
+
providerSessionId: text("provider_session_id"),
|
|
112
|
+
status: text("status").notNull(),
|
|
113
|
+
latestResponse: text("latest_response"),
|
|
114
|
+
error: text("error"),
|
|
115
|
+
errorCode: text("error_code"),
|
|
116
|
+
errorRetryable: text("error_retryable"),
|
|
117
|
+
errorDetail: text("error_detail"),
|
|
118
|
+
latestTurnId: text("latest_turn_id"),
|
|
119
|
+
createdAt: text("created_at").notNull(),
|
|
120
|
+
updatedAt: text("updated_at").notNull(),
|
|
121
|
+
}, (table) => [
|
|
122
|
+
index("local_agent_sessions_workspace_id_idx").on(table.workspaceId, table.updatedAt),
|
|
123
|
+
index("local_agent_sessions_workspace_root_idx").on(table.workspaceRoot, table.updatedAt),
|
|
124
|
+
index("local_agent_sessions_provider_session_id_idx").on(table.providerSessionId),
|
|
125
|
+
]);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { backup, DatabaseSync } from "node:sqlite";
|
|
2
|
+
export function openSqlite(path, options = {}) {
|
|
3
|
+
return new DatabaseSync(path, options);
|
|
4
|
+
}
|
|
5
|
+
/** Copies a live database to `path` using SQLite's online backup API. */
|
|
6
|
+
export async function backupSqlite(source, path) {
|
|
7
|
+
await backup(source, path);
|
|
8
|
+
}
|
|
9
|
+
let savepointCount = 0;
|
|
10
|
+
/** Runs `run` atomically; nested calls become savepoints so an inner failure rolls back only its own work. */
|
|
11
|
+
export function transaction(database, run, mode = "deferred") {
|
|
12
|
+
if (database.isTransaction) {
|
|
13
|
+
const savepoint = `devspace_${++savepointCount}`;
|
|
14
|
+
database.exec(`savepoint ${savepoint}`);
|
|
15
|
+
try {
|
|
16
|
+
const result = run();
|
|
17
|
+
database.exec(`release ${savepoint}`);
|
|
18
|
+
return result;
|
|
19
|
+
}
|
|
20
|
+
catch (error) {
|
|
21
|
+
database.exec(`rollback to ${savepoint}`);
|
|
22
|
+
database.exec(`release ${savepoint}`);
|
|
23
|
+
throw error;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
database.exec(mode === "immediate" ? "begin immediate" : "begin");
|
|
27
|
+
try {
|
|
28
|
+
const result = run();
|
|
29
|
+
database.exec("commit");
|
|
30
|
+
return result;
|
|
31
|
+
}
|
|
32
|
+
catch (error) {
|
|
33
|
+
if (database.isTransaction)
|
|
34
|
+
database.exec("rollback");
|
|
35
|
+
throw error;
|
|
36
|
+
}
|
|
37
|
+
}
|