@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
package/dist/skills.js
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { existsSync, lstatSync, mkdirSync, readdirSync, readFileSync, renameSync, rmSync, writeFileSync, } from "node:fs";
|
|
2
|
+
import { homedir } from "node:os";
|
|
3
|
+
import { dirname, join, resolve, sep } from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
import { loadSkills, loadSkillsFromDir, } from "@earendil-works/pi-coding-agent";
|
|
6
|
+
import { expandHomePath, isPathInsideRoot } from "./roots.js";
|
|
7
|
+
import { workflowsEnabled } from "./workflow-flag.js";
|
|
8
|
+
const SUBAGENTS_SKILL_NAME = "subagents";
|
|
9
|
+
const WORKFLOWS_SKILL_NAME = "workflows";
|
|
10
|
+
// The workflows skill is part of the hidden DEVSPACE_EXPERIMENTAL_WORKFLOWS feature.
|
|
11
|
+
function managedSkillNames() {
|
|
12
|
+
return workflowsEnabled() ? [SUBAGENTS_SKILL_NAME, WORKFLOWS_SKILL_NAME] : [SUBAGENTS_SKILL_NAME];
|
|
13
|
+
}
|
|
14
|
+
function bundledSkillsDir() {
|
|
15
|
+
return fileURLToPath(new URL("../skills", import.meta.url));
|
|
16
|
+
}
|
|
17
|
+
// Sync every bundled file, not just SKILL.md, so references a skill points to (such as reference.md) ship with it.
|
|
18
|
+
function syncManagedSkill(config, name) {
|
|
19
|
+
const sourceDir = join(bundledSkillsDir(), name);
|
|
20
|
+
for (const file of readdirSync(sourceDir)) {
|
|
21
|
+
syncManagedFile(join(sourceDir, file), join(config.devspaceSkillsDir, name, file), name);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function syncManagedFile(sourcePath, targetPath, name) {
|
|
25
|
+
const source = readFileSync(sourcePath, "utf8");
|
|
26
|
+
if (existsSync(targetPath)) {
|
|
27
|
+
const stat = lstatSync(targetPath);
|
|
28
|
+
if (stat.isFile() && source === readFileSync(targetPath, "utf8")) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (stat.isDirectory()) {
|
|
32
|
+
// A broken supporting file must not stop the skill (or the workspace) from loading; SKILL.md must.
|
|
33
|
+
if (!targetPath.endsWith("SKILL.md"))
|
|
34
|
+
return;
|
|
35
|
+
throw new Error(`Managed ${name} skill path is a directory: ${targetPath}`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
mkdirSync(dirname(targetPath), { recursive: true });
|
|
39
|
+
const tempPath = `${targetPath}.${process.pid}.tmp`;
|
|
40
|
+
try {
|
|
41
|
+
writeFileSync(tempPath, source, { mode: 0o644 });
|
|
42
|
+
rmSync(targetPath, { force: true });
|
|
43
|
+
renameSync(tempPath, targetPath);
|
|
44
|
+
}
|
|
45
|
+
finally {
|
|
46
|
+
rmSync(tempPath, { force: true });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export function effectiveSkillPaths(config, cwd) {
|
|
50
|
+
const defaultPathCandidates = [
|
|
51
|
+
join(homedir(), ".agents", "skills"),
|
|
52
|
+
resolve(cwd, ".agents", "skills"),
|
|
53
|
+
config.devspaceSkillsDir,
|
|
54
|
+
join(config.agentDir, "skills"),
|
|
55
|
+
];
|
|
56
|
+
const defaultPaths = defaultPathCandidates.filter((path) => path !== undefined && existsSync(path));
|
|
57
|
+
const seen = new Set();
|
|
58
|
+
return [...defaultPaths, ...config.skillPaths].flatMap((path) => {
|
|
59
|
+
const resolved = resolveSkillPath(path, cwd);
|
|
60
|
+
if (seen.has(resolved))
|
|
61
|
+
return [];
|
|
62
|
+
seen.add(resolved);
|
|
63
|
+
return [resolved];
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function resolveSkillPath(path, cwd) {
|
|
67
|
+
return resolve(cwd, expandHomePath(path));
|
|
68
|
+
}
|
|
69
|
+
export function loadWorkspaceSkills(config, cwd) {
|
|
70
|
+
if (!config.skillsEnabled)
|
|
71
|
+
return { skills: [], diagnostics: [] };
|
|
72
|
+
const managedNames = managedSkillNames();
|
|
73
|
+
if (config.subagents.enabled) {
|
|
74
|
+
for (const name of managedNames)
|
|
75
|
+
syncManagedSkill(config, name);
|
|
76
|
+
}
|
|
77
|
+
const result = loadSkills({
|
|
78
|
+
cwd,
|
|
79
|
+
agentDir: config.agentDir,
|
|
80
|
+
skillPaths: effectiveSkillPaths(config, cwd),
|
|
81
|
+
includeDefaults: false,
|
|
82
|
+
});
|
|
83
|
+
const withoutManaged = withoutManagedSkills(config, result, managedNames);
|
|
84
|
+
if (!config.subagents.enabled)
|
|
85
|
+
return withoutManaged;
|
|
86
|
+
const managed = managedNames.map((name) => {
|
|
87
|
+
const managedDir = dirname(join(config.devspaceSkillsDir, name, "SKILL.md"));
|
|
88
|
+
const skill = loadSkillsFromDir({ dir: managedDir, source: "devspace" })
|
|
89
|
+
.skills.find((entry) => entry.name === name);
|
|
90
|
+
if (!skill)
|
|
91
|
+
throw new Error(`Managed ${name} skill could not be loaded.`);
|
|
92
|
+
return skill;
|
|
93
|
+
});
|
|
94
|
+
return {
|
|
95
|
+
skills: [...withoutManaged.skills, ...managed],
|
|
96
|
+
diagnostics: withoutManaged.diagnostics,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
function withoutManagedSkills(config, result, managedNames) {
|
|
100
|
+
// A managed workflows copy left behind while the feature was on must not be advertised once it is off.
|
|
101
|
+
const staleWorkflows = join(config.devspaceSkillsDir, WORKFLOWS_SKILL_NAME);
|
|
102
|
+
return {
|
|
103
|
+
skills: result.skills.filter((skill) => (
|
|
104
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
105
|
+
!managedNames.includes(skill.name)
|
|
106
|
+
&& !(skill.name === WORKFLOWS_SKILL_NAME && isPathInsideRoot(skill.filePath, staleWorkflows)))),
|
|
107
|
+
diagnostics: result.diagnostics.filter((diagnostic) => {
|
|
108
|
+
const collision = diagnostic.collision;
|
|
109
|
+
// SAFETY: The surrounding checks or construction already match this type.
|
|
110
|
+
return !(collision?.resourceType === "skill" && managedNames.includes(collision.name));
|
|
111
|
+
}),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
export function resolveSkillReadPath(skills, inputPath) {
|
|
115
|
+
const absolutePath = resolve(expandHomePath(inputPath));
|
|
116
|
+
for (const skill of skills) {
|
|
117
|
+
const skillFilePath = resolve(skill.filePath);
|
|
118
|
+
if (absolutePath === skillFilePath) {
|
|
119
|
+
return { absolutePath, skill };
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
for (const skill of skills) {
|
|
123
|
+
const baseDir = resolve(skill.baseDir);
|
|
124
|
+
if (!isPathInsideRoot(absolutePath, baseDir))
|
|
125
|
+
continue;
|
|
126
|
+
return { absolutePath, skill };
|
|
127
|
+
}
|
|
128
|
+
return undefined;
|
|
129
|
+
}
|
|
130
|
+
export function formatPathForPrompt(path) {
|
|
131
|
+
const home = resolve(homedir());
|
|
132
|
+
const resolvedPath = resolve(path);
|
|
133
|
+
if (resolvedPath === home)
|
|
134
|
+
return "~";
|
|
135
|
+
if (resolvedPath.startsWith(`${home}${sep}`)) {
|
|
136
|
+
return `~/${resolvedPath.slice(home.length + 1).split(sep).join("/")}`;
|
|
137
|
+
}
|
|
138
|
+
return resolvedPath.split(sep).join("/");
|
|
139
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { editFileTool, runShellTool, writeFileTool, } from "../pi-tools.js";
|
|
3
|
+
import { EDIT_TOOL_ANNOTATIONS, SHELL_TOOL_ANNOTATIONS, WRITE_TOOL_ANNOTATIONS, toolNames, workspaceIdDescription, } from "./types.js";
|
|
4
|
+
import { contentText, countDiffStats, logFailedToolResponse, logToolCall, resultOutputSchema, textBlock, } from "./shared.js";
|
|
5
|
+
const CLAUDE_INSTRUCTIONS = `Follow instructions returned by ${toolNames.openWorkspace}; read applicable instruction and skill files before working in their scope.`;
|
|
6
|
+
export function claudeInstructions({ agents, skills, }) {
|
|
7
|
+
return `${agents}${skills}${CLAUDE_INSTRUCTIONS}`;
|
|
8
|
+
}
|
|
9
|
+
export function registerClaudeTools(context) {
|
|
10
|
+
registerClaudeMutationTools(context);
|
|
11
|
+
registerShellTool(context);
|
|
12
|
+
}
|
|
13
|
+
const CLAUDE_SHELL_DESCRIPTION = "Run a shell command in a workspace with the user's local permissions.";
|
|
14
|
+
function registerClaudeMutationTools(context) {
|
|
15
|
+
const { server, config, workspaces } = context;
|
|
16
|
+
server.registerTool(toolNames.write, {
|
|
17
|
+
title: "Write file",
|
|
18
|
+
description: "Create or completely overwrite a file in a workspace.",
|
|
19
|
+
inputSchema: {
|
|
20
|
+
workspace_id: z.string().describe(workspaceIdDescription),
|
|
21
|
+
path: z
|
|
22
|
+
.string()
|
|
23
|
+
.describe("File path to write, relative to the workspace root."),
|
|
24
|
+
content: z.string().describe("Complete new file content."),
|
|
25
|
+
},
|
|
26
|
+
outputSchema: resultOutputSchema(),
|
|
27
|
+
annotations: WRITE_TOOL_ANNOTATIONS,
|
|
28
|
+
}, async ({ workspace_id, ...input }) => {
|
|
29
|
+
const startedAt = performance.now();
|
|
30
|
+
const workspaceId = workspace_id;
|
|
31
|
+
const workspace = await workspaces.getWorkspace(workspaceId);
|
|
32
|
+
const path = await workspaces.resolvePath(workspace, input.path);
|
|
33
|
+
const response = await writeFileTool({ ...input, path }, { cwd: workspace.root });
|
|
34
|
+
if (response.isError) {
|
|
35
|
+
logFailedToolResponse(config, {
|
|
36
|
+
tool: toolNames.write,
|
|
37
|
+
workspaceId,
|
|
38
|
+
path: input.path,
|
|
39
|
+
}, response.content, startedAt);
|
|
40
|
+
return response;
|
|
41
|
+
}
|
|
42
|
+
logToolCall(config, {
|
|
43
|
+
tool: toolNames.write,
|
|
44
|
+
workspaceId,
|
|
45
|
+
path: input.path,
|
|
46
|
+
success: true,
|
|
47
|
+
durationMs: Math.round(performance.now() - startedAt),
|
|
48
|
+
});
|
|
49
|
+
return {
|
|
50
|
+
...response,
|
|
51
|
+
structuredContent: {
|
|
52
|
+
result: contentText(response.content),
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
server.registerTool(toolNames.edit, {
|
|
57
|
+
title: "Edit file",
|
|
58
|
+
description: "Edit one file in a workspace by replacing exact text blocks. Each old_text must match a unique, non-overlapping region of the original file.",
|
|
59
|
+
inputSchema: {
|
|
60
|
+
workspace_id: z.string().describe(workspaceIdDescription),
|
|
61
|
+
path: z
|
|
62
|
+
.string()
|
|
63
|
+
.describe("File path to edit, relative to the workspace root."),
|
|
64
|
+
edits: z
|
|
65
|
+
.array(z.object({
|
|
66
|
+
old_text: z
|
|
67
|
+
.string()
|
|
68
|
+
.describe("Exact text to replace. Must match uniquely in the original file."),
|
|
69
|
+
new_text: z.string().describe("Replacement text."),
|
|
70
|
+
}))
|
|
71
|
+
.min(1),
|
|
72
|
+
},
|
|
73
|
+
outputSchema: resultOutputSchema({
|
|
74
|
+
status: z.literal("applied"),
|
|
75
|
+
}),
|
|
76
|
+
annotations: EDIT_TOOL_ANNOTATIONS,
|
|
77
|
+
}, async ({ workspace_id, edits, ...input }) => {
|
|
78
|
+
const startedAt = performance.now();
|
|
79
|
+
const workspaceId = workspace_id;
|
|
80
|
+
const workspace = await workspaces.getWorkspace(workspaceId);
|
|
81
|
+
const path = await workspaces.resolvePath(workspace, input.path);
|
|
82
|
+
const response = await editFileTool({
|
|
83
|
+
...input,
|
|
84
|
+
path,
|
|
85
|
+
edits: edits.map(({ old_text, new_text }) => ({
|
|
86
|
+
oldText: old_text,
|
|
87
|
+
newText: new_text,
|
|
88
|
+
})),
|
|
89
|
+
}, { cwd: workspace.root });
|
|
90
|
+
if (response.isError) {
|
|
91
|
+
logFailedToolResponse(config, {
|
|
92
|
+
tool: toolNames.edit,
|
|
93
|
+
workspaceId,
|
|
94
|
+
path: input.path,
|
|
95
|
+
}, response.content, startedAt);
|
|
96
|
+
return response;
|
|
97
|
+
}
|
|
98
|
+
const stats = countDiffStats(response.details?.patch ?? response.details?.diff);
|
|
99
|
+
const editResultText = `Edited ${input.path} (+${stats.additions} -${stats.removals}).`;
|
|
100
|
+
const editContent = [textBlock(editResultText)];
|
|
101
|
+
logToolCall(config, {
|
|
102
|
+
tool: toolNames.edit,
|
|
103
|
+
workspaceId,
|
|
104
|
+
path: input.path,
|
|
105
|
+
success: true,
|
|
106
|
+
durationMs: Math.round(performance.now() - startedAt),
|
|
107
|
+
});
|
|
108
|
+
return {
|
|
109
|
+
content: editContent,
|
|
110
|
+
structuredContent: {
|
|
111
|
+
status: "applied",
|
|
112
|
+
result: contentText(editContent),
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
function registerShellTool(context) {
|
|
118
|
+
const { server, config, workspaces } = context;
|
|
119
|
+
server.registerTool(toolNames.shell, {
|
|
120
|
+
title: "Bash",
|
|
121
|
+
description: CLAUDE_SHELL_DESCRIPTION,
|
|
122
|
+
inputSchema: {
|
|
123
|
+
workspace_id: z.string().describe(workspaceIdDescription),
|
|
124
|
+
command: z
|
|
125
|
+
.string()
|
|
126
|
+
.describe("Shell command to execute."),
|
|
127
|
+
working_directory: z
|
|
128
|
+
.string()
|
|
129
|
+
.optional()
|
|
130
|
+
.describe("Optional working directory relative to the workspace root. Defaults to the workspace root."),
|
|
131
|
+
timeout: z
|
|
132
|
+
.number()
|
|
133
|
+
.positive()
|
|
134
|
+
.max(300)
|
|
135
|
+
.optional()
|
|
136
|
+
.describe("Timeout in seconds. Defaults to 30, max 300."),
|
|
137
|
+
},
|
|
138
|
+
outputSchema: resultOutputSchema(),
|
|
139
|
+
annotations: SHELL_TOOL_ANNOTATIONS,
|
|
140
|
+
}, async ({ workspace_id, working_directory, ...input }) => {
|
|
141
|
+
const startedAt = performance.now();
|
|
142
|
+
const workspaceId = workspace_id;
|
|
143
|
+
const workingDirectory = working_directory;
|
|
144
|
+
const workspace = await workspaces.getWorkspace(workspaceId);
|
|
145
|
+
const cwd = await workspaces.resolveWorkingDirectory(workspace, workingDirectory);
|
|
146
|
+
const response = await runShellTool(input, {
|
|
147
|
+
cwd,
|
|
148
|
+
});
|
|
149
|
+
if (response.isError) {
|
|
150
|
+
logFailedToolResponse(config, {
|
|
151
|
+
tool: toolNames.shell,
|
|
152
|
+
workspaceId,
|
|
153
|
+
workingDirectory: workingDirectory ?? ".",
|
|
154
|
+
command: input.command,
|
|
155
|
+
commandLength: input.command.length,
|
|
156
|
+
}, response.content, startedAt);
|
|
157
|
+
return response;
|
|
158
|
+
}
|
|
159
|
+
logToolCall(config, {
|
|
160
|
+
tool: toolNames.shell,
|
|
161
|
+
workspaceId,
|
|
162
|
+
workingDirectory: workingDirectory ?? ".",
|
|
163
|
+
command: input.command,
|
|
164
|
+
commandLength: input.command.length,
|
|
165
|
+
success: true,
|
|
166
|
+
durationMs: Math.round(performance.now() - startedAt),
|
|
167
|
+
});
|
|
168
|
+
return {
|
|
169
|
+
...response,
|
|
170
|
+
structuredContent: {
|
|
171
|
+
result: contentText(response.content),
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
});
|
|
175
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { optionalFields } from "../json-value.js";
|
|
2
|
+
import * as z from "zod/v4";
|
|
3
|
+
import { applyPatch } from "../apply-patch.js";
|
|
4
|
+
import { MAX_PROCESS_YIELD_MS, } from "../process-sessions.js";
|
|
5
|
+
import { EDIT_TOOL_ANNOTATIONS, SHELL_TOOL_ANNOTATIONS, toolNames, workspaceIdDescription, } from "./types.js";
|
|
6
|
+
import { resultOutputSchema, runLoggedToolOperation, textBlock, } from "./shared.js";
|
|
7
|
+
const CODEX_INSTRUCTIONS = `Follow instructions returned by ${toolNames.openWorkspace}; read applicable instruction and skill files before working in their scope.`;
|
|
8
|
+
export function codexInstructions() {
|
|
9
|
+
return CODEX_INSTRUCTIONS;
|
|
10
|
+
}
|
|
11
|
+
export function registerCodexTools(context) {
|
|
12
|
+
for (const register of CODEX_REGISTRATIONS) {
|
|
13
|
+
register(context);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
const CODEX_REGISTRATIONS = [
|
|
17
|
+
registerApplyPatchTool,
|
|
18
|
+
registerCodexProcessTools,
|
|
19
|
+
];
|
|
20
|
+
function processResult(snapshot) {
|
|
21
|
+
const status = snapshot.running
|
|
22
|
+
? `Process running with session ID ${snapshot.sessionId}.`
|
|
23
|
+
: snapshot.signal
|
|
24
|
+
? `Process exited after signal ${snapshot.signal}.`
|
|
25
|
+
: `Process exited with code ${snapshot.exitCode ?? "unknown"}.`;
|
|
26
|
+
return snapshot.output
|
|
27
|
+
? `${snapshot.output.replace(/\n$/, "")}\n${status}`
|
|
28
|
+
: status;
|
|
29
|
+
}
|
|
30
|
+
function processOutputSchema() {
|
|
31
|
+
return resultOutputSchema({
|
|
32
|
+
session_id: z.number().optional(),
|
|
33
|
+
running: z.boolean(),
|
|
34
|
+
exit_code: z.number().int().optional(),
|
|
35
|
+
signal: z.string().optional(),
|
|
36
|
+
wall_time_ms: z.number().nonnegative(),
|
|
37
|
+
output_truncated: z.boolean(),
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function processToolResponse(snapshot) {
|
|
41
|
+
const result = processResult(snapshot);
|
|
42
|
+
const content = [textBlock(result)];
|
|
43
|
+
return {
|
|
44
|
+
content,
|
|
45
|
+
structuredContent: {
|
|
46
|
+
result,
|
|
47
|
+
session_id: snapshot.sessionId,
|
|
48
|
+
running: snapshot.running,
|
|
49
|
+
exit_code: snapshot.exitCode,
|
|
50
|
+
signal: snapshot.signal,
|
|
51
|
+
wall_time_ms: snapshot.wallTimeMs,
|
|
52
|
+
output_truncated: snapshot.outputTruncated,
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function registerApplyPatchTool(context) {
|
|
57
|
+
const { server, config, workspaces } = context;
|
|
58
|
+
server.registerTool("apply_patch", {
|
|
59
|
+
title: "Apply patch",
|
|
60
|
+
description: "Apply one Codex-style patch to add, overwrite, update, delete, or move workspace files. Paths must be relative to the workspace.",
|
|
61
|
+
inputSchema: {
|
|
62
|
+
workspace_id: z.string().describe(workspaceIdDescription),
|
|
63
|
+
patch: z
|
|
64
|
+
.string()
|
|
65
|
+
.describe("Patch text enclosed by *** Begin Patch and *** End Patch markers."),
|
|
66
|
+
},
|
|
67
|
+
outputSchema: resultOutputSchema({
|
|
68
|
+
additions: z.number(),
|
|
69
|
+
removals: z.number(),
|
|
70
|
+
files: z.array(z.object({
|
|
71
|
+
path: z.string(),
|
|
72
|
+
previous_path: z.string().optional(),
|
|
73
|
+
operation: z.enum(["add", "update", "delete", "move"]),
|
|
74
|
+
})),
|
|
75
|
+
}),
|
|
76
|
+
annotations: EDIT_TOOL_ANNOTATIONS,
|
|
77
|
+
}, async ({ workspace_id, patch }) => {
|
|
78
|
+
const startedAt = performance.now();
|
|
79
|
+
const workspaceId = workspace_id;
|
|
80
|
+
const applied = await runLoggedToolOperation(config, { tool: "apply_patch", workspaceId }, startedAt, async () => {
|
|
81
|
+
const workspace = await workspaces.getWorkspace(workspaceId);
|
|
82
|
+
return applyPatch(workspace.root, patch);
|
|
83
|
+
});
|
|
84
|
+
const paths = applied.files.map((file) => file.path).join(", ");
|
|
85
|
+
const result = `Applied patch to ${applied.files.length} file(s): ${paths}`;
|
|
86
|
+
const content = [textBlock(result)];
|
|
87
|
+
return {
|
|
88
|
+
content,
|
|
89
|
+
structuredContent: {
|
|
90
|
+
result,
|
|
91
|
+
additions: applied.additions,
|
|
92
|
+
removals: applied.removals,
|
|
93
|
+
files: applied.files.map(({ previousPath, ...file }) => ({
|
|
94
|
+
...file,
|
|
95
|
+
previous_path: previousPath,
|
|
96
|
+
})),
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
function registerCodexProcessTools(context) {
|
|
102
|
+
const { server, config, workspaces, processSessions } = context;
|
|
103
|
+
server.registerTool("exec_command", {
|
|
104
|
+
title: "Execute command",
|
|
105
|
+
description: "Run a shell command in a workspace with the user's local permissions. Returns the result when it exits during the yield window, otherwise returns a session_id for write_stdin.",
|
|
106
|
+
inputSchema: {
|
|
107
|
+
workspace_id: z.string().describe(workspaceIdDescription),
|
|
108
|
+
cmd: z.string().min(1).describe("Shell command to execute."),
|
|
109
|
+
tty: z
|
|
110
|
+
.boolean()
|
|
111
|
+
.optional()
|
|
112
|
+
.describe("Allocate a pseudo-terminal for interactive commands. Defaults to false."),
|
|
113
|
+
columns: z
|
|
114
|
+
.number()
|
|
115
|
+
.int()
|
|
116
|
+
.min(1)
|
|
117
|
+
.max(1_000)
|
|
118
|
+
.optional()
|
|
119
|
+
.describe("Initial PTY width. Defaults to 80."),
|
|
120
|
+
rows: z
|
|
121
|
+
.number()
|
|
122
|
+
.int()
|
|
123
|
+
.min(1)
|
|
124
|
+
.max(1_000)
|
|
125
|
+
.optional()
|
|
126
|
+
.describe("Initial PTY height. Defaults to 24."),
|
|
127
|
+
working_directory: z
|
|
128
|
+
.string()
|
|
129
|
+
.optional()
|
|
130
|
+
.describe("Working directory relative to the workspace root. Defaults to the workspace root."),
|
|
131
|
+
yield_time_ms: z
|
|
132
|
+
.number()
|
|
133
|
+
.int()
|
|
134
|
+
.min(0)
|
|
135
|
+
.max(MAX_PROCESS_YIELD_MS)
|
|
136
|
+
.optional()
|
|
137
|
+
.describe("Milliseconds to wait before returning a running session. Defaults to 10000, maximum 12000. Use write_stdin for work that runs longer."),
|
|
138
|
+
max_output_tokens: z
|
|
139
|
+
.number()
|
|
140
|
+
.int()
|
|
141
|
+
.positive()
|
|
142
|
+
.max(100_000)
|
|
143
|
+
.optional()
|
|
144
|
+
.describe("Approximate output token budget. Defaults to 10000."),
|
|
145
|
+
},
|
|
146
|
+
outputSchema: processOutputSchema(),
|
|
147
|
+
annotations: SHELL_TOOL_ANNOTATIONS,
|
|
148
|
+
}, async ({ workspace_id, cmd, tty, columns, rows, working_directory, yield_time_ms, max_output_tokens, }) => {
|
|
149
|
+
const startedAt = performance.now();
|
|
150
|
+
const workspaceId = workspace_id;
|
|
151
|
+
const workingDirectory = working_directory;
|
|
152
|
+
const yieldTimeMs = yield_time_ms;
|
|
153
|
+
const maxOutputTokens = max_output_tokens;
|
|
154
|
+
const snapshot = await runLoggedToolOperation(config, {
|
|
155
|
+
tool: "exec_command",
|
|
156
|
+
workspaceId,
|
|
157
|
+
workingDirectory: workingDirectory ?? ".",
|
|
158
|
+
command: cmd,
|
|
159
|
+
commandLength: cmd.length,
|
|
160
|
+
}, startedAt, async () => {
|
|
161
|
+
const workspace = await workspaces.getWorkspace(workspaceId);
|
|
162
|
+
const cwd = await workspaces.resolveWorkingDirectory(workspace, workingDirectory);
|
|
163
|
+
return processSessions.start({
|
|
164
|
+
workspaceId,
|
|
165
|
+
command: cmd,
|
|
166
|
+
cwd,
|
|
167
|
+
workspaceRoot: workspace.root,
|
|
168
|
+
tty,
|
|
169
|
+
columns,
|
|
170
|
+
rows,
|
|
171
|
+
yieldTimeMs,
|
|
172
|
+
maxOutputTokens,
|
|
173
|
+
});
|
|
174
|
+
}, processLogFields);
|
|
175
|
+
return processToolResponse(snapshot);
|
|
176
|
+
});
|
|
177
|
+
server.registerTool("write_stdin", {
|
|
178
|
+
title: "Write to process",
|
|
179
|
+
description: "Poll or write characters to a process returned by exec_command. Omit chars or pass an empty string to poll. Pass \\u0003 to send Ctrl-C.",
|
|
180
|
+
inputSchema: {
|
|
181
|
+
workspace_id: z
|
|
182
|
+
.string()
|
|
183
|
+
.describe("Workspace identifier used to start the process."),
|
|
184
|
+
session_id: z
|
|
185
|
+
.number()
|
|
186
|
+
.describe("Process session identifier returned by exec_command."),
|
|
187
|
+
chars: z
|
|
188
|
+
.string()
|
|
189
|
+
.optional()
|
|
190
|
+
.describe("Characters to write. Omit or pass an empty string to poll."),
|
|
191
|
+
columns: z
|
|
192
|
+
.number()
|
|
193
|
+
.int()
|
|
194
|
+
.min(1)
|
|
195
|
+
.max(1_000)
|
|
196
|
+
.optional()
|
|
197
|
+
.describe("Resize a PTY to this width."),
|
|
198
|
+
rows: z
|
|
199
|
+
.number()
|
|
200
|
+
.int()
|
|
201
|
+
.min(1)
|
|
202
|
+
.max(1_000)
|
|
203
|
+
.optional()
|
|
204
|
+
.describe("Resize a PTY to this height."),
|
|
205
|
+
yield_time_ms: z
|
|
206
|
+
.number()
|
|
207
|
+
.int()
|
|
208
|
+
.min(0)
|
|
209
|
+
.max(MAX_PROCESS_YIELD_MS)
|
|
210
|
+
.optional()
|
|
211
|
+
.describe("Milliseconds to wait for process output or completion. Maximum 12000; polling defaults to 5000 and interactive writes to 250."),
|
|
212
|
+
max_output_tokens: z
|
|
213
|
+
.number()
|
|
214
|
+
.int()
|
|
215
|
+
.positive()
|
|
216
|
+
.max(100_000)
|
|
217
|
+
.optional()
|
|
218
|
+
.describe("Approximate output token budget. Defaults to 10000."),
|
|
219
|
+
},
|
|
220
|
+
outputSchema: processOutputSchema(),
|
|
221
|
+
annotations: SHELL_TOOL_ANNOTATIONS,
|
|
222
|
+
}, async ({ workspace_id, session_id, chars, columns, rows, yield_time_ms, max_output_tokens, }) => {
|
|
223
|
+
const startedAt = performance.now();
|
|
224
|
+
const workspaceId = workspace_id;
|
|
225
|
+
const sessionId = session_id;
|
|
226
|
+
const yieldTimeMs = yield_time_ms;
|
|
227
|
+
const maxOutputTokens = max_output_tokens;
|
|
228
|
+
const snapshot = await runLoggedToolOperation(config, { tool: "write_stdin", workspaceId }, startedAt, async () => {
|
|
229
|
+
await workspaces.getWorkspace(workspaceId);
|
|
230
|
+
return processSessions.write({
|
|
231
|
+
workspaceId,
|
|
232
|
+
sessionId,
|
|
233
|
+
chars,
|
|
234
|
+
columns,
|
|
235
|
+
rows,
|
|
236
|
+
yieldTimeMs,
|
|
237
|
+
maxOutputTokens,
|
|
238
|
+
});
|
|
239
|
+
}, processLogFields);
|
|
240
|
+
return processToolResponse(snapshot);
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
export function processLogFields(result) {
|
|
244
|
+
const success = result.running || (!result.signal && result.exitCode === 0);
|
|
245
|
+
const termination = result.signal
|
|
246
|
+
? `Process terminated by signal ${result.signal}.`
|
|
247
|
+
: `Process exited with code ${result.exitCode ?? "unknown"}.`;
|
|
248
|
+
return {
|
|
249
|
+
sessionId: result.sessionId,
|
|
250
|
+
running: result.running,
|
|
251
|
+
exitCode: result.exitCode,
|
|
252
|
+
success,
|
|
253
|
+
...optionalFields(success ? undefined : { error: termination }),
|
|
254
|
+
};
|
|
255
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export const DEFAULT_TOOL_SURFACE = "claude";
|
|
2
|
+
const HOST_SIGNATURES = [
|
|
3
|
+
{
|
|
4
|
+
surface: "codex",
|
|
5
|
+
clientName: /chatgpt|openai/i,
|
|
6
|
+
redirectDomains: ["chatgpt.com", "openai.com"],
|
|
7
|
+
userAgent: /openai|chatgpt/i,
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
surface: "claude",
|
|
11
|
+
clientName: /claude|anthropic/i,
|
|
12
|
+
redirectDomains: ["claude.ai", "claude.com", "anthropic.com"],
|
|
13
|
+
userAgent: /claude|anthropic/i,
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
/**
|
|
17
|
+
* Pick the tool surface a host is trained on.
|
|
18
|
+
*
|
|
19
|
+
* The registered OAuth client identifies a connector and does not change between
|
|
20
|
+
* requests, so it decides first (name, then redirect host). The User-Agent only
|
|
21
|
+
* decides when the client says nothing. Unknown hosts get the Claude surface:
|
|
22
|
+
* plain edit/write/bash tools need no host-specific training.
|
|
23
|
+
*/
|
|
24
|
+
export function detectToolSurface(hints) {
|
|
25
|
+
const { clientName, redirectUris = [], userAgent } = hints;
|
|
26
|
+
const match = (test) => HOST_SIGNATURES.find(test)?.surface;
|
|
27
|
+
return (match((s) => clientName !== undefined && s.clientName.test(clientName))
|
|
28
|
+
?? match((s) => redirectUris.some((uri) => redirectDomainMatches(uri, s.redirectDomains)))
|
|
29
|
+
?? match((s) => userAgent !== undefined && s.userAgent.test(userAgent))
|
|
30
|
+
?? DEFAULT_TOOL_SURFACE);
|
|
31
|
+
}
|
|
32
|
+
function redirectDomainMatches(uri, domains) {
|
|
33
|
+
const hostname = URL.parse(uri)?.hostname;
|
|
34
|
+
if (!hostname)
|
|
35
|
+
return false;
|
|
36
|
+
return domains.some((domain) => hostname === domain || hostname.endsWith(`.${domain}`));
|
|
37
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { codexInstructions, registerCodexTools } from "./codex.js";
|
|
2
|
+
import { claudeInstructions, registerClaudeTools } from "./claude.js";
|
|
3
|
+
export { DEFAULT_TOOL_SURFACE, detectToolSurface } from "./detect.js";
|
|
4
|
+
const TOOL_SURFACES = {
|
|
5
|
+
claude: {
|
|
6
|
+
register: registerClaudeTools,
|
|
7
|
+
instructions: claudeInstructions,
|
|
8
|
+
},
|
|
9
|
+
codex: {
|
|
10
|
+
register: registerCodexTools,
|
|
11
|
+
instructions: codexInstructions,
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
export function getToolSurface(name) {
|
|
15
|
+
return TOOL_SURFACES[name];
|
|
16
|
+
}
|