@zuzuucodes/cli 1.0.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/bin/zuzuu-web.mjs +15 -0
- package/bin/zuzuu.mjs +6 -3
- package/package.json +17 -4
- package/web-app/dist/browse.js +48 -0
- package/web-app/dist/config.js +52 -0
- package/web-app/dist/file-list.js +87 -0
- package/web-app/dist/frames.js +16 -0
- package/web-app/dist/fs-api.js +226 -0
- package/web-app/dist/git.js +73 -0
- package/web-app/dist/history.js +45 -0
- package/web-app/dist/index.js +160 -0
- package/web-app/dist/protocol/index.js +53 -0
- package/web-app/dist/protocol/zuzuu.js +2 -0
- package/web-app/dist/safe-path.js +60 -0
- package/web-app/dist/search.js +145 -0
- package/web-app/dist/server.js +407 -0
- package/web-app/dist/sessions.js +334 -0
- package/web-app/dist/shell-integration/inject.js +70 -0
- package/web-app/dist/shell-integration/webcode.bash +41 -0
- package/web-app/dist/shell-integration/webcode.fish +28 -0
- package/web-app/dist/shell-integration/webcode.zsh +35 -0
- package/web-app/dist/workflows.js +48 -0
- package/web-app/dist/ws-fs.js +69 -0
- package/web-app/dist/ws-term.js +42 -0
- package/web-app/dist/zuzuu-api.js +348 -0
- package/web-app/package.json +6 -0
- package/web-app/web-dist/assets/DiffTab-NYcg0Jn6.js +1 -0
- package/web-app/web-dist/assets/MonacoFile-C_nBCUL-.js +1 -0
- package/web-app/web-dist/assets/abap-08VXUWAP.js +1 -0
- package/web-app/web-dist/assets/abap-CLvhMVsD.js +1 -0
- package/web-app/web-dist/assets/actionscript-3--17pq3dv.js +1 -0
- package/web-app/web-dist/assets/ada-C5qYipkI.js +1 -0
- package/web-app/web-dist/assets/andromeeda-vGVdxbeo.js +1 -0
- package/web-app/web-dist/assets/angular-html-CmT26mqM.js +1 -0
- package/web-app/web-dist/assets/angular-ts-CD_OonCa.js +1 -0
- package/web-app/web-dist/assets/apache-U0d_L8uA.js +1 -0
- package/web-app/web-dist/assets/apex-BWPQTe0t.js +1 -0
- package/web-app/web-dist/assets/apex-VAyPSnFM.js +1 -0
- package/web-app/web-dist/assets/apl-uOGC3x4e.js +1 -0
- package/web-app/web-dist/assets/applescript-CCn79oCD.js +1 -0
- package/web-app/web-dist/assets/ara-4CJ0cIlV.js +1 -0
- package/web-app/web-dist/assets/asciidoc-DE70LPWp.js +1 -0
- package/web-app/web-dist/assets/asciinema-player-CZa1Uf8p.css +1 -0
- package/web-app/web-dist/assets/asm-Cmm7eHzH.js +1 -0
- package/web-app/web-dist/assets/astro-B6ybQmWG.js +1 -0
- package/web-app/web-dist/assets/aurora-x-CDeNXAV0.js +1 -0
- package/web-app/web-dist/assets/awk-BWXHIvNe.js +1 -0
- package/web-app/web-dist/assets/ayu-dark-DluEY0Gj.js +1 -0
- package/web-app/web-dist/assets/ayu-light-C3h-C4tm.js +1 -0
- package/web-app/web-dist/assets/ayu-mirage-Bqwy1Gya.js +1 -0
- package/web-app/web-dist/assets/azcli-Bc_sGQ0U.js +1 -0
- package/web-app/web-dist/assets/ballerina-B7ZEbQpA.js +1 -0
- package/web-app/web-dist/assets/bat-Bo4NYOV-.js +1 -0
- package/web-app/web-dist/assets/bat-i0X4ZdIN.js +1 -0
- package/web-app/web-dist/assets/beancount-D-usSTwE.js +1 -0
- package/web-app/web-dist/assets/berry-DKpUyyne.js +1 -0
- package/web-app/web-dist/assets/bibtex-Ci_nEsc7.js +1 -0
- package/web-app/web-dist/assets/bicep-B5-_aFwp.js +2 -0
- package/web-app/web-dist/assets/bicep-CUHmPFLl.js +1 -0
- package/web-app/web-dist/assets/bird2-C6vDhewU.js +1 -0
- package/web-app/web-dist/assets/blade-B1QGRlVx.js +1 -0
- package/web-app/web-dist/assets/bsl-BkkzgIyY.js +1 -0
- package/web-app/web-dist/assets/c-BvoqrSVH.js +1 -0
- package/web-app/web-dist/assets/c3-BFHwR3_K.js +1 -0
- package/web-app/web-dist/assets/cadence-CQ2zXKGN.js +1 -0
- package/web-app/web-dist/assets/cairo-DLTphjLi.js +1 -0
- package/web-app/web-dist/assets/cameligo-DMUM7wLl.js +1 -0
- package/web-app/web-dist/assets/catppuccin-frappe-3VR1Za6u.js +1 -0
- package/web-app/web-dist/assets/catppuccin-latte-DwIHMF0Q.js +1 -0
- package/web-app/web-dist/assets/catppuccin-macchiato-DYnBP6_5.js +1 -0
- package/web-app/web-dist/assets/catppuccin-mocha-DYhrFGRu.js +1 -0
- package/web-app/web-dist/assets/chunk-QTnfLwEv.js +1 -0
- package/web-app/web-dist/assets/clarity-SemFz856.js +1 -0
- package/web-app/web-dist/assets/clojure-Cm7r79vr.js +1 -0
- package/web-app/web-dist/assets/clojure-DqKBuwfJ.js +1 -0
- package/web-app/web-dist/assets/cmake-Bj61d0ZC.js +1 -0
- package/web-app/web-dist/assets/cobol-BgqgtYWn.js +1 -0
- package/web-app/web-dist/assets/codeowners-C8r90Shi.js +1 -0
- package/web-app/web-dist/assets/codeql-oeQT6MSM.js +1 -0
- package/web-app/web-dist/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/web-app/web-dist/assets/coffee-0wIRKYlr.js +1 -0
- package/web-app/web-dist/assets/coffee-Ba7i2nA0.js +1 -0
- package/web-app/web-dist/assets/common-lisp-Cv5bFMCO.js +1 -0
- package/web-app/web-dist/assets/coq-BrsZFFmf.js +1 -0
- package/web-app/web-dist/assets/cpp-BXsk94m0.js +1 -0
- package/web-app/web-dist/assets/cpp-C7h46wYY.js +1 -0
- package/web-app/web-dist/assets/crystal-CyTK3qFN.js +1 -0
- package/web-app/web-dist/assets/csharp-BKxtCVv1.js +1 -0
- package/web-app/web-dist/assets/csharp-oqKa8noW.js +1 -0
- package/web-app/web-dist/assets/csp-bTuwJoIa.js +1 -0
- package/web-app/web-dist/assets/css-DIMkf-bt.js +3 -0
- package/web-app/web-dist/assets/css-Z8oOGxII.js +1 -0
- package/web-app/web-dist/assets/css.worker-CvXBzhp8.js +89 -0
- package/web-app/web-dist/assets/cssMode-BXZOx0fG.js +1 -0
- package/web-app/web-dist/assets/csv-Dx-8-gkx.js +1 -0
- package/web-app/web-dist/assets/cue-CE9AQfxI.js +1 -0
- package/web-app/web-dist/assets/cypher-CVaqCwHa.js +1 -0
- package/web-app/web-dist/assets/cypher-ClKdZ_lG.js +1 -0
- package/web-app/web-dist/assets/d-qD-0Kul2.js +1 -0
- package/web-app/web-dist/assets/dark-plus-Cs2F2srj.js +1 -0
- package/web-app/web-dist/assets/dart-CnvKMtbv.js +1 -0
- package/web-app/web-dist/assets/dart-onAF5SnQ.js +1 -0
- package/web-app/web-dist/assets/dax-BkyTk9wS.js +1 -0
- package/web-app/web-dist/assets/desktop-Dlh5hvp9.js +1 -0
- package/web-app/web-dist/assets/diff-woXpYk--.js +1 -0
- package/web-app/web-dist/assets/dist-Cj6v7Kj8.js +153 -0
- package/web-app/web-dist/assets/dist-DNelLewU.js +4 -0
- package/web-app/web-dist/assets/docker-IyjqRm3v.js +1 -0
- package/web-app/web-dist/assets/dockerfile-DZFCIeNp.js +1 -0
- package/web-app/web-dist/assets/dotenv-_5a1GRtc.js +1 -0
- package/web-app/web-dist/assets/dracula-BHWKrbxM.js +1 -0
- package/web-app/web-dist/assets/dracula-soft-5eyTD99u.js +1 -0
- package/web-app/web-dist/assets/dream-maker-DW3nJb8Q.js +1 -0
- package/web-app/web-dist/assets/ecl-D05T4iGw.js +1 -0
- package/web-app/web-dist/assets/edge-CvML9pwC.js +1 -0
- package/web-app/web-dist/assets/editor-Br_kD0ds.css +1 -0
- package/web-app/web-dist/assets/editor.api2-BmGoRSl4.js +872 -0
- package/web-app/web-dist/assets/editor.worker-Cn2oRESe.js +26 -0
- package/web-app/web-dist/assets/elixir-6RTg0lbw.js +1 -0
- package/web-app/web-dist/assets/elixir-CrjqTiSc.js +1 -0
- package/web-app/web-dist/assets/elm-C4JtJ0Au.js +1 -0
- package/web-app/web-dist/assets/emacs-lisp-B4R74twV.js +1 -0
- package/web-app/web-dist/assets/erb-Cmeb-29V.js +1 -0
- package/web-app/web-dist/assets/erlang-Cphh6RMH.js +1 -0
- package/web-app/web-dist/assets/everforest-dark-sB-x3p7T.js +1 -0
- package/web-app/web-dist/assets/everforest-light-Df2xbC6M.js +1 -0
- package/web-app/web-dist/assets/fennel-DQxkIbk2.js +1 -0
- package/web-app/web-dist/assets/fish-BJitypiv.js +1 -0
- package/web-app/web-dist/assets/flow9-C5_-GSwl.js +1 -0
- package/web-app/web-dist/assets/fluent-C03EYrpw.js +1 -0
- package/web-app/web-dist/assets/fortran-fixed-form-DEKoE2YW.js +1 -0
- package/web-app/web-dist/assets/fortran-free-form-CYNrtFtB.js +1 -0
- package/web-app/web-dist/assets/freemarker2-B5LAi19B.js +3 -0
- package/web-app/web-dist/assets/fsharp-C8Ef5oNN.js +1 -0
- package/web-app/web-dist/assets/fsharp-D13ZGOAj.js +1 -0
- package/web-app/web-dist/assets/gdresource-C0sCabJj.js +1 -0
- package/web-app/web-dist/assets/gdscript-Cp2uCuqX.js +1 -0
- package/web-app/web-dist/assets/gdshader-CBce3t8t.js +1 -0
- package/web-app/web-dist/assets/genie-CV2tkWYe.js +1 -0
- package/web-app/web-dist/assets/gherkin-DExj1W_8.js +1 -0
- package/web-app/web-dist/assets/git-commit-BSykSTBG.js +1 -0
- package/web-app/web-dist/assets/git-rebase-CXqdToiP.js +1 -0
- package/web-app/web-dist/assets/github-dark-C-LZuMrd.js +1 -0
- package/web-app/web-dist/assets/github-dark-default-DXG-b-1a.js +1 -0
- package/web-app/web-dist/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/web-app/web-dist/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
- package/web-app/web-dist/assets/github-light-EUqPIrTm.js +1 -0
- package/web-app/web-dist/assets/github-light-default-BXViO-2h.js +1 -0
- package/web-app/web-dist/assets/github-light-high-contrast-B68TUdTA.js +1 -0
- package/web-app/web-dist/assets/gleam-CSRkHgEL.js +1 -0
- package/web-app/web-dist/assets/glimmer-js-Kq-kdTyV.js +1 -0
- package/web-app/web-dist/assets/glimmer-ts-D0RKLJNf.js +1 -0
- package/web-app/web-dist/assets/glsl-KwyfU2aa.js +1 -0
- package/web-app/web-dist/assets/gn-ilITqXS6.js +1 -0
- package/web-app/web-dist/assets/gnuplot-7GGW24-e.js +1 -0
- package/web-app/web-dist/assets/go-C-y9NEjX.js +1 -0
- package/web-app/web-dist/assets/go-rLFTqkRN.js +1 -0
- package/web-app/web-dist/assets/graphql-DSeOUAa2.js +1 -0
- package/web-app/web-dist/assets/graphql-fmXr3nnJ.js +1 -0
- package/web-app/web-dist/assets/groovy-CacY0gHj.js +1 -0
- package/web-app/web-dist/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
- package/web-app/web-dist/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
- package/web-app/web-dist/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
- package/web-app/web-dist/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
- package/web-app/web-dist/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
- package/web-app/web-dist/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
- package/web-app/web-dist/assets/hack-trjVF3Po.js +1 -0
- package/web-app/web-dist/assets/haml-azVoxQRV.js +1 -0
- package/web-app/web-dist/assets/handlebars-B8_x7Zx7.js +1 -0
- package/web-app/web-dist/assets/handlebars-g7ZhGhI_.js +1 -0
- package/web-app/web-dist/assets/haskell-D8IpX4py.js +1 -0
- package/web-app/web-dist/assets/haxe-OTjmBuCE.js +1 -0
- package/web-app/web-dist/assets/hcl-CpzslTdj.js +1 -0
- package/web-app/web-dist/assets/hcl-Dh228itO.js +1 -0
- package/web-app/web-dist/assets/hjson-CxZEssPk.js +1 -0
- package/web-app/web-dist/assets/hlsl-Cvrh5tZx.js +1 -0
- package/web-app/web-dist/assets/horizon-CE9ld1lL.js +1 -0
- package/web-app/web-dist/assets/horizon-bright-DSNQnXHK.js +1 -0
- package/web-app/web-dist/assets/houston-CsvMBhTu.js +1 -0
- package/web-app/web-dist/assets/html-CfvRMgoC.js +1 -0
- package/web-app/web-dist/assets/html-D_7P5S4m.js +1 -0
- package/web-app/web-dist/assets/html-derivative-BYX_F_XH.js +1 -0
- package/web-app/web-dist/assets/html.worker-BO6WuOEO.js +502 -0
- package/web-app/web-dist/assets/htmlMode-CScDVtoR.js +1 -0
- package/web-app/web-dist/assets/http-BIVDpHT-.js +1 -0
- package/web-app/web-dist/assets/hurl-CFsshMju.js +1 -0
- package/web-app/web-dist/assets/hxml-B0Qn7Nwc.js +1 -0
- package/web-app/web-dist/assets/hy-CZbG8q4J.js +1 -0
- package/web-app/web-dist/assets/imba-DsUTQ-LC.js +1 -0
- package/web-app/web-dist/assets/index--lqPz7z2.css +2 -0
- package/web-app/web-dist/assets/index-BTchnWPZ.js +270 -0
- package/web-app/web-dist/assets/ini-B5eOa1yu.js +1 -0
- package/web-app/web-dist/assets/ini-sBoK_t0W.js +1 -0
- package/web-app/web-dist/assets/java-BEtHBSE6.js +1 -0
- package/web-app/web-dist/assets/java-D4RbCvBe.js +1 -0
- package/web-app/web-dist/assets/javascript-Bxx2wV4w.js +1 -0
- package/web-app/web-dist/assets/javascript-Cb010CKM.js +1 -0
- package/web-app/web-dist/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
- package/web-app/web-dist/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
- package/web-app/web-dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
- package/web-app/web-dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/web-app/web-dist/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
- package/web-app/web-dist/assets/jinja-_ZS5zWwe.js +1 -0
- package/web-app/web-dist/assets/jison-D8mMEpcs.js +1 -0
- package/web-app/web-dist/assets/json-DWgqV4D1.js +1 -0
- package/web-app/web-dist/assets/json.worker-BkJRGcCJ.js +58 -0
- package/web-app/web-dist/assets/json5-BR5RXkoi.js +1 -0
- package/web-app/web-dist/assets/jsonMode-BMZXTtiq.js +7 -0
- package/web-app/web-dist/assets/jsonc-CYpm1nAK.js +1 -0
- package/web-app/web-dist/assets/jsonl-CmCQp5Yx.js +1 -0
- package/web-app/web-dist/assets/jsonnet-CJTPZ8u_.js +1 -0
- package/web-app/web-dist/assets/jssm-DXw9l8Rf.js +1 -0
- package/web-app/web-dist/assets/jsx-CZjSJa1f.js +1 -0
- package/web-app/web-dist/assets/julia-Bri6UV-V.js +1 -0
- package/web-app/web-dist/assets/julia-D4h2DZrs.js +1 -0
- package/web-app/web-dist/assets/just-bMqQi3xg.js +1 -0
- package/web-app/web-dist/assets/kanagawa-dragon-CXtmUGW6.js +1 -0
- package/web-app/web-dist/assets/kanagawa-lotus-BN08jTvb.js +1 -0
- package/web-app/web-dist/assets/kanagawa-wave-CTweb8Dz.js +1 -0
- package/web-app/web-dist/assets/kdl-CsD5j6eV.js +1 -0
- package/web-app/web-dist/assets/kotlin-BOotOW0E.js +1 -0
- package/web-app/web-dist/assets/kotlin-DhhofPvG.js +1 -0
- package/web-app/web-dist/assets/kusto-C7mF5XQf.js +1 -0
- package/web-app/web-dist/assets/laserwave-C_8bwKvT.js +1 -0
- package/web-app/web-dist/assets/latex-DThYi3CX.js +1 -0
- package/web-app/web-dist/assets/lean-CewbzKMR.js +1 -0
- package/web-app/web-dist/assets/less-B9JPFI3C.js +2 -0
- package/web-app/web-dist/assets/less-DVTAwKKz.js +1 -0
- package/web-app/web-dist/assets/lexon-CfSJPG6W.js +1 -0
- package/web-app/web-dist/assets/light-plus-DVQuIRkW.js +1 -0
- package/web-app/web-dist/assets/liquid-CUjzzP4r.js +1 -0
- package/web-app/web-dist/assets/liquid-CesB-zzl.js +1 -0
- package/web-app/web-dist/assets/llvm-Cm23YOpf.js +1 -0
- package/web-app/web-dist/assets/log-BNLmms1o.js +1 -0
- package/web-app/web-dist/assets/logo-Cluzi2Zq.js +1 -0
- package/web-app/web-dist/assets/lspLanguageFeatures-gTnJsses.js +4 -0
- package/web-app/web-dist/assets/lua-CsQS60Ue.js +1 -0
- package/web-app/web-dist/assets/lua-TGj_6NzO.js +1 -0
- package/web-app/web-dist/assets/luau-FMPmPwt6.js +1 -0
- package/web-app/web-dist/assets/m3-D-oSqn_W.js +1 -0
- package/web-app/web-dist/assets/make-Dixweg8N.js +1 -0
- package/web-app/web-dist/assets/markdown-BYOwaDjH.js +1 -0
- package/web-app/web-dist/assets/markdown-Cimd5fb3.js +1 -0
- package/web-app/web-dist/assets/marko-yoGoLK2m.js +1 -0
- package/web-app/web-dist/assets/material-theme-Bm3Qr25_.js +1 -0
- package/web-app/web-dist/assets/material-theme-darker-2IIEA8gg.js +1 -0
- package/web-app/web-dist/assets/material-theme-lighter-uhdI0v04.js +1 -0
- package/web-app/web-dist/assets/material-theme-ocean-CHQ94UKr.js +1 -0
- package/web-app/web-dist/assets/material-theme-palenight-B5W6OYN7.js +1 -0
- package/web-app/web-dist/assets/matlab-D7qyCx1q.js +1 -0
- package/web-app/web-dist/assets/mdc-BvtXU6eH.js +1 -0
- package/web-app/web-dist/assets/mdx-DQZ5AkYe.js +1 -0
- package/web-app/web-dist/assets/mdx-DrXGQbNB.js +1 -0
- package/web-app/web-dist/assets/mermaid-Bk4SNUv9.js +1 -0
- package/web-app/web-dist/assets/min-dark-BSWPekZh.js +1 -0
- package/web-app/web-dist/assets/min-light-DDpmG2fV.js +1 -0
- package/web-app/web-dist/assets/mips-CIPQ_RoX.js +1 -0
- package/web-app/web-dist/assets/mipsasm-BMqwQI7S.js +1 -0
- package/web-app/web-dist/assets/mojo-BgCJLMeH.js +1 -0
- package/web-app/web-dist/assets/monaco-setup-DAY1k6DB.js +16 -0
- package/web-app/web-dist/assets/monokai-CdkpiU2Y.js +1 -0
- package/web-app/web-dist/assets/moonbit-CaWjb8XO.js +1 -0
- package/web-app/web-dist/assets/move-B1IS1UjX.js +1 -0
- package/web-app/web-dist/assets/msdax-DauUninz.js +1 -0
- package/web-app/web-dist/assets/mysql-SOo6toE5.js +1 -0
- package/web-app/web-dist/assets/narrat-_X_XdTYD.js +1 -0
- package/web-app/web-dist/assets/nextflow-BJtWHP5T.js +1 -0
- package/web-app/web-dist/assets/nextflow-groovy-DJMQeKeT.js +1 -0
- package/web-app/web-dist/assets/nginx-DoUz032F.js +1 -0
- package/web-app/web-dist/assets/night-owl-DhmEMT88.js +1 -0
- package/web-app/web-dist/assets/night-owl-light-eJ-hLW7d.js +1 -0
- package/web-app/web-dist/assets/nim-B0Pl8B4R.js +1 -0
- package/web-app/web-dist/assets/nix-IvuFDN5E.js +1 -0
- package/web-app/web-dist/assets/nord-Cb4Vim4T.js +1 -0
- package/web-app/web-dist/assets/nushell-DcLAeLz5.js +1 -0
- package/web-app/web-dist/assets/objective-c-D1A_Heim.js +1 -0
- package/web-app/web-dist/assets/objective-c-FvmIjYaQ.js +1 -0
- package/web-app/web-dist/assets/objective-cpp-BsSzOQcm.js +1 -0
- package/web-app/web-dist/assets/ocaml-O90oeIOV.js +1 -0
- package/web-app/web-dist/assets/odin-B1RWQWA5.js +1 -0
- package/web-app/web-dist/assets/one-dark-pro-CLwyXe_n.js +1 -0
- package/web-app/web-dist/assets/one-light-D7Lr4KcI.js +1 -0
- package/web-app/web-dist/assets/openscad-BUDT5pXO.js +1 -0
- package/web-app/web-dist/assets/pascal-4ZHwLPI5.js +1 -0
- package/web-app/web-dist/assets/pascal-DrH0SRf2.js +1 -0
- package/web-app/web-dist/assets/pascaligo-D-ptJ9y-.js +1 -0
- package/web-app/web-dist/assets/perl-D2tfAALb.js +1 -0
- package/web-app/web-dist/assets/perl-oz_6vUea.js +1 -0
- package/web-app/web-dist/assets/pgsql-DTj74zXo.js +1 -0
- package/web-app/web-dist/assets/php-BImCcX5X.js +1 -0
- package/web-app/web-dist/assets/php-nr791fC2.js +1 -0
- package/web-app/web-dist/assets/pkl-ot-7Btpt.js +1 -0
- package/web-app/web-dist/assets/pla-CopQ2nXW.js +1 -0
- package/web-app/web-dist/assets/plastic-DQwYfKfQ.js +1 -0
- package/web-app/web-dist/assets/plsql-DGHpHOYJ.js +1 -0
- package/web-app/web-dist/assets/po-BiJDBrnU.js +1 -0
- package/web-app/web-dist/assets/poimandres-DRFjx7u4.js +1 -0
- package/web-app/web-dist/assets/polar-C7UOKdEL.js +1 -0
- package/web-app/web-dist/assets/postcss-BXeXVLqQ.js +1 -0
- package/web-app/web-dist/assets/postiats-43DmfD33.js +1 -0
- package/web-app/web-dist/assets/powerquery-D3hlyOfw.js +1 -0
- package/web-app/web-dist/assets/powerquery-DNMTfnFr.js +1 -0
- package/web-app/web-dist/assets/powershell-DmHpPYUd.js +1 -0
- package/web-app/web-dist/assets/powershell-DshXNtvi.js +1 -0
- package/web-app/web-dist/assets/prisma-BsRQq5mF.js +1 -0
- package/web-app/web-dist/assets/prolog-iXnhIJG7.js +1 -0
- package/web-app/web-dist/assets/proto-DB4EqR-F.js +1 -0
- package/web-app/web-dist/assets/protobuf-C531GsRP.js +2 -0
- package/web-app/web-dist/assets/pug-BcnpC8P_.js +1 -0
- package/web-app/web-dist/assets/pug-Z5eAx3Zn.js +1 -0
- package/web-app/web-dist/assets/puppet-CDv2pdJW.js +1 -0
- package/web-app/web-dist/assets/purescript-9MfHhQsQ.js +1 -0
- package/web-app/web-dist/assets/python-gzcpVVnB.js +1 -0
- package/web-app/web-dist/assets/python-ypRCBnvu.js +1 -0
- package/web-app/web-dist/assets/qml-DFDAunHY.js +1 -0
- package/web-app/web-dist/assets/qmldir-DCQb3MpD.js +1 -0
- package/web-app/web-dist/assets/qsharp-DkqhCAOL.js +1 -0
- package/web-app/web-dist/assets/qss-Fe1Jh2GI.js +1 -0
- package/web-app/web-dist/assets/r-BwWrilGY.js +1 -0
- package/web-app/web-dist/assets/r-fCpuAR7u.js +1 -0
- package/web-app/web-dist/assets/racket-DcIDlBhZ.js +1 -0
- package/web-app/web-dist/assets/raku-B3gFvitq.js +1 -0
- package/web-app/web-dist/assets/razor-1_376SZM.js +1 -0
- package/web-app/web-dist/assets/razor-aqrhpwqZ.js +1 -0
- package/web-app/web-dist/assets/red-CJ3rzSJv.js +1 -0
- package/web-app/web-dist/assets/redis-ClamHrr6.js +1 -0
- package/web-app/web-dist/assets/redshift-DT7zqm-g.js +1 -0
- package/web-app/web-dist/assets/reg-CRGYupPL.js +1 -0
- package/web-app/web-dist/assets/regexp-B4yxx-Ty.js +1 -0
- package/web-app/web-dist/assets/rel-BtDbiS_P.js +1 -0
- package/web-app/web-dist/assets/restructuredtext-BYgofb2h.js +1 -0
- package/web-app/web-dist/assets/riscv-Ckw8ddFX.js +1 -0
- package/web-app/web-dist/assets/ron-VUp2lXgN.js +1 -0
- package/web-app/web-dist/assets/rose-pine-BthvhNj6.js +1 -0
- package/web-app/web-dist/assets/rose-pine-dawn-Dg85fqjY.js +1 -0
- package/web-app/web-dist/assets/rose-pine-moon-hon4tzzS.js +1 -0
- package/web-app/web-dist/assets/rosmsg-CAekHB0j.js +1 -0
- package/web-app/web-dist/assets/rst-2vG6f11Y.js +1 -0
- package/web-app/web-dist/assets/ruby-DezsRK8O.js +1 -0
- package/web-app/web-dist/assets/ruby-Dj6bCFXR.js +1 -0
- package/web-app/web-dist/assets/rust-Cfkwpbl8.js +1 -0
- package/web-app/web-dist/assets/rust-DdL9SqIa.js +1 -0
- package/web-app/web-dist/assets/sas-BhVZ4qL2.js +1 -0
- package/web-app/web-dist/assets/sass-DXrisJhu.js +1 -0
- package/web-app/web-dist/assets/sb-CcwsVR0C.js +1 -0
- package/web-app/web-dist/assets/scala-DHpiXF5c.js +1 -0
- package/web-app/web-dist/assets/scala-DKOlJaKm.js +1 -0
- package/web-app/web-dist/assets/scheme-BeGwcela.js +1 -0
- package/web-app/web-dist/assets/scheme-DQCgrYNe.js +1 -0
- package/web-app/web-dist/assets/scss-QdjMO_xV.js +1 -0
- package/web-app/web-dist/assets/scss-gp-XZpBa.js +3 -0
- package/web-app/web-dist/assets/sdbl-bTVj8UrX.js +1 -0
- package/web-app/web-dist/assets/shaderlab-TOUzSsQk.js +1 -0
- package/web-app/web-dist/assets/shell-CC2rA5mh.js +1 -0
- package/web-app/web-dist/assets/shellscript-BnlgeVVx.js +1 -0
- package/web-app/web-dist/assets/shellsession-CyO2fnhB.js +1 -0
- package/web-app/web-dist/assets/slack-dark-DnToyrRv.js +1 -0
- package/web-app/web-dist/assets/slack-ochin-B2OO5cIa.js +1 -0
- package/web-app/web-dist/assets/smalltalk-B16xEiuN.js +1 -0
- package/web-app/web-dist/assets/snazzy-light-4G7pJPwS.js +1 -0
- package/web-app/web-dist/assets/solarized-dark-DV17i1UV.js +1 -0
- package/web-app/web-dist/assets/solarized-light-DSh2HLQt.js +1 -0
- package/web-app/web-dist/assets/solidity-BEEn4gHE.js +1 -0
- package/web-app/web-dist/assets/solidity-CKzVLygQ.js +1 -0
- package/web-app/web-dist/assets/sophia-CRfGWb83.js +1 -0
- package/web-app/web-dist/assets/soy-DIkw6E88.js +1 -0
- package/web-app/web-dist/assets/sparql-D_Lu-MrJ.js +1 -0
- package/web-app/web-dist/assets/sparql-D_iOobhT.js +1 -0
- package/web-app/web-dist/assets/splunk-BC2Px7Mm.js +1 -0
- package/web-app/web-dist/assets/sql-DGnQv6iD.js +1 -0
- package/web-app/web-dist/assets/sql-NEE52Syq.js +1 -0
- package/web-app/web-dist/assets/ssh-config-BgfXC-Er.js +1 -0
- package/web-app/web-dist/assets/st-DbInun42.js +1 -0
- package/web-app/web-dist/assets/stata-DvkM932O.js +1 -0
- package/web-app/web-dist/assets/stylus-B6D30XZt.js +1 -0
- package/web-app/web-dist/assets/surrealql-B4-Q8tqV.js +1 -0
- package/web-app/web-dist/assets/svelte-p6yBy-Ki.js +1 -0
- package/web-app/web-dist/assets/swift-Bxkupp3x.js +1 -0
- package/web-app/web-dist/assets/swift-DonLKvLd.js +1 -0
- package/web-app/web-dist/assets/synthwave-84-nFMaYfgc.js +1 -0
- package/web-app/web-dist/assets/system-verilog-DJ5XKQeo.js +1 -0
- package/web-app/web-dist/assets/systemd-BxMlprV5.js +1 -0
- package/web-app/web-dist/assets/systemverilog-Bz4Y3fRF.js +1 -0
- package/web-app/web-dist/assets/talonscript-CohzipZa.js +1 -0
- package/web-app/web-dist/assets/tasl-DMoTqEGO.js +1 -0
- package/web-app/web-dist/assets/tcl-CZd0xW_V.js +1 -0
- package/web-app/web-dist/assets/tcl-DISqw1ZD.js +1 -0
- package/web-app/web-dist/assets/templ-C7EkuiZr.js +1 -0
- package/web-app/web-dist/assets/terraform-DswuEJGm.js +1 -0
- package/web-app/web-dist/assets/tex-DkmD8uFC.js +1 -0
- package/web-app/web-dist/assets/tokyo-night-oM2G3aXe.js +1 -0
- package/web-app/web-dist/assets/toml-CcmNWLt0.js +1 -0
- package/web-app/web-dist/assets/ts-tags-U-hncHg4.js +1 -0
- package/web-app/web-dist/assets/ts.worker-B0J26iPs.js +67734 -0
- package/web-app/web-dist/assets/tsMode-D--bqr5b.js +11 -0
- package/web-app/web-dist/assets/tsv-sltzmVWM.js +1 -0
- package/web-app/web-dist/assets/tsx-MJ0-9sYG.js +1 -0
- package/web-app/web-dist/assets/turtle-ByJddavk.js +1 -0
- package/web-app/web-dist/assets/twig-CU0OP-IA.js +1 -0
- package/web-app/web-dist/assets/twig-De2hgUGE.js +1 -0
- package/web-app/web-dist/assets/typescript-C17ZkDe8.js +1 -0
- package/web-app/web-dist/assets/typescript-DnLjiKtn.js +1 -0
- package/web-app/web-dist/assets/typespec-B8J7ngcE.js +1 -0
- package/web-app/web-dist/assets/typespec-BRdr0IET.js +1 -0
- package/web-app/web-dist/assets/typst-DI99ib-x.js +1 -0
- package/web-app/web-dist/assets/v-DETTlOr0.js +1 -0
- package/web-app/web-dist/assets/vala-zf12oZj6.js +1 -0
- package/web-app/web-dist/assets/vb-DV3o63ZY.js +1 -0
- package/web-app/web-dist/assets/vb-Djn5o6TS.js +1 -0
- package/web-app/web-dist/assets/verilog-CiiDBU1e.js +1 -0
- package/web-app/web-dist/assets/vesper-DdrHHSXu.js +1 -0
- package/web-app/web-dist/assets/vhdl-BroJfC0k.js +1 -0
- package/web-app/web-dist/assets/viml-DvXPmvsu.js +1 -0
- package/web-app/web-dist/assets/vitesse-black-fwtXNY1n.js +1 -0
- package/web-app/web-dist/assets/vitesse-dark-BZCL-v6S.js +1 -0
- package/web-app/web-dist/assets/vitesse-light-VbXTXTou.js +1 -0
- package/web-app/web-dist/assets/vue-Db7nY3ba.js +1 -0
- package/web-app/web-dist/assets/vue-html-BvAbiAw1.js +1 -0
- package/web-app/web-dist/assets/vue-vine-BEaIQIlA.js +1 -0
- package/web-app/web-dist/assets/vyper-CgoNMtux.js +1 -0
- package/web-app/web-dist/assets/wasm-BnjxR4X6.js +1 -0
- package/web-app/web-dist/assets/wasm-ByWQv1Qj.js +1 -0
- package/web-app/web-dist/assets/wenyan-C8pVoKbM.js +1 -0
- package/web-app/web-dist/assets/wgsl-BsKzXJz4.js +1 -0
- package/web-app/web-dist/assets/wgsl-DpFanUEy.js +298 -0
- package/web-app/web-dist/assets/wikitext-ClFFjSW2.js +1 -0
- package/web-app/web-dist/assets/wit-DdvCle-K.js +1 -0
- package/web-app/web-dist/assets/wolfram-DLL8P-h_.js +1 -0
- package/web-app/web-dist/assets/xml-CA9lHFQV.js +1 -0
- package/web-app/web-dist/assets/xml-an4Nuuqq.js +1 -0
- package/web-app/web-dist/assets/xsl-D3NQgH22.js +1 -0
- package/web-app/web-dist/assets/yaml-CwRYMJka.js +1 -0
- package/web-app/web-dist/assets/yaml-Diiu6O9P.js +1 -0
- package/web-app/web-dist/assets/zenscript-BnlCZFoB.js +1 -0
- package/web-app/web-dist/assets/zig-CMLA9XwU.js +1 -0
- package/web-app/web-dist/index.html +16 -0
- package/zuzuu/actions/adapter.mjs +2 -2
- package/zuzuu/actions/inbox.mjs +4 -4
- package/zuzuu/actions/manifest.mjs +3 -3
- package/zuzuu/actions/trail.mjs +1 -1
- package/zuzuu/commands/act-author.mjs +3 -3
- package/zuzuu/commands/act.mjs +58 -13
- package/zuzuu/commands/code.mjs +1 -1
- package/zuzuu/commands/digest.mjs +1 -1
- package/zuzuu/commands/doctor.mjs +3 -3
- package/zuzuu/commands/eval.mjs +44 -19
- package/zuzuu/commands/generation.mjs +40 -5
- package/zuzuu/commands/hook.mjs +6 -6
- package/zuzuu/commands/init.mjs +43 -18
- package/zuzuu/commands/knowledge.mjs +1 -1
- package/zuzuu/commands/migrate.mjs +109 -9
- package/zuzuu/commands/review.mjs +72 -5
- package/zuzuu/commands/status.mjs +3 -3
- package/zuzuu/commands/web.mjs +79 -0
- package/zuzuu/digest.mjs +2 -2
- package/zuzuu/faculty/generation.mjs +2 -2
- package/zuzuu/faculty/proposal.mjs +1 -1
- package/zuzuu/faculty/trail.mjs +2 -2
- package/zuzuu/guardrails/adapter.mjs +1 -1
- package/zuzuu/guardrails.mjs +1 -1
- package/zuzuu/inject.mjs +6 -6
- package/zuzuu/instructions/adapter.mjs +1 -1
- package/zuzuu/knowledge/inbox.mjs +1 -1
- package/zuzuu/knowledge/items.mjs +1 -1
- package/zuzuu/knowledge/proposals.mjs +1 -1
- package/zuzuu/knowledge/registry.mjs +2 -2
- package/zuzuu/live/install.mjs +3 -3
- package/zuzuu/live/live-store.mjs +2 -2
- package/zuzuu/memory/adapter.mjs +1 -1
- package/zuzuu/miners/guardrails.mjs +1 -1
- package/zuzuu/miners/instructions.mjs +1 -1
- package/zuzuu/miners/memory.mjs +3 -3
- package/zuzuu/scaffold.mjs +27 -22
- package/zuzuu/store.mjs +6 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-QTnfLwEv.js";import{t}from"./java-D4RbCvBe.js";var n=e({default:()=>i}),r=Object.freeze(JSON.parse(`{"displayName":"XML","name":"xml","patterns":[{"begin":"(<\\\\?)\\\\s*([-0-9A-Z_a-z]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml","patterns":[{"match":" ([-A-Za-z]+)","name":"entity.other.attribute-name.xml"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"begin":"(<!)(DOCTYPE)\\\\s+([:A-Z_a-z][-.0-:A-Z_a-z]*)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.doctype.xml"},"3":{"name":"variable.language.documentroot.xml"}},"end":"\\\\s*(>)","name":"meta.tag.sgml.doctype.xml","patterns":[{"include":"#internalSubset"}]},{"include":"#comments"},{"begin":"(<)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(?=(\\\\s[^>]*)?></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"},"3":{"name":"entity.name.tag.namespace.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)(</)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"punctuation.definition.tag.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"entity.name.tag.namespace.xml"},"5":{"name":"punctuation.separator.namespace.xml"},"6":{"name":"entity.name.tag.localname.xml"},"7":{"name":"punctuation.definition.tag.xml"}},"name":"meta.tag.no-content.xml","patterns":[{"include":"#tagStuff"}]},{"begin":"(</?)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(/?>)","name":"meta.tag.xml","patterns":[{"include":"#tagStuff"}]},{"include":"#entity"},{"include":"#bare-ampersand"},{"begin":"<%@","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java-props.embedded.xml","patterns":[{"match":"page|include|taglib","name":"keyword.other.page-props.xml"}]},{"begin":"<%[!=]?(?!--)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"(?!--)%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java.embedded.xml","patterns":[{"include":"source.java"}]},{"begin":"<!\\\\[CDATA\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"]]>","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.unquoted.cdata.xml"}],"repository":{"EntityDecl":{"begin":"(<!)(ENTITY)\\\\s+(%\\\\s+)?([:A-Z_a-z][-.0-:A-Z_a-z]*)(\\\\s+(?:SYSTEM|PUBLIC)\\\\s+)?","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.entity.xml"},"3":{"name":"punctuation.definition.entity.xml"},"4":{"name":"variable.language.entity.xml"},"5":{"name":"keyword.other.entitytype.xml"}},"end":"(>)","patterns":[{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},"bare-ampersand":{"match":"&","name":"invalid.illegal.bad-ampersand.xml"},"comments":{"patterns":[{"begin":"<%--","captures":{"0":{"name":"punctuation.definition.comment.xml"},"end":"--%>","name":"comment.block.xml"}},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.xml"}},"end":"-->","name":"comment.block.xml","patterns":[{"begin":"--(?!>)","captures":{"0":{"name":"invalid.illegal.bad-comments-or-CDATA.xml"}}}]}]},"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"entity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(&)([:A-Z_a-z][-.0-:A-Z_a-z]*|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.xml"},"internalSubset":{"begin":"(\\\\[)","captures":{"1":{"name":"punctuation.definition.constant.xml"}},"end":"(])","name":"meta.internalsubset.xml","patterns":[{"include":"#EntityDecl"},{"include":"#parameterEntity"},{"include":"#comments"}]},"parameterEntity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(%)([:A-Z_a-z][-.0-:A-Z_a-z]*)(;)","name":"constant.character.parameter-entity.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"tagStuff":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":"(?:^|\\\\s+)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\\\\s*="},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]}},"scopeName":"text.xml","embeddedLangs":["java"]}`)),i=[...t,r];export{n,i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e}from"./editor.api2-BmGoRSl4.js";var t={comments:{blockComment:[`<!--`,`-->`]},brackets:[[`<`,`>`]],autoClosingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],surroundingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],onEnterRules:[{beforeText:RegExp(`<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),action:{indentAction:e.IndentAction.Indent}}]},n={defaultToken:``,tokenPostfix:`.xml`,ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,``],{include:`@whitespace`},[/(<)(@qualifiedName)/,[{token:`delimiter`},{token:`tag`,next:`@tag`}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:`delimiter`},{token:`tag`},``,{token:`delimiter`}]],[/(<\?)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/(<\!)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/<\!\[CDATA\[/,{token:`delimiter.cdata`,next:`@cdata`}],[/&\w+;/,`string.escape`]],cdata:[[/[^\]]+/,``],[/\]\]>/,{token:`delimiter.cdata`,next:`@pop`}],[/\]/,``]],tag:[[/[ \t\r\n]+/,``],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,[`attribute.name`,``,`attribute.value`]],[/@qualifiedName/,`attribute.name`],[/\?>/,{token:`delimiter`,next:`@pop`}],[/(\/)(>)/,[{token:`tag`},{token:`delimiter`,next:`@pop`}]],[/>/,{token:`delimiter`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,``],[/<!--/,{token:`comment`,next:`@comment`}]],comment:[[/[^<\-]+/,`comment.content`],[/-->/,{token:`comment`,next:`@pop`}],[/<!--/,`comment.content.invalid`],[/[<\-]/,`comment.content`]]}};export{t as conf,n as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./xml-CA9lHFQV.js";var t=Object.freeze(JSON.parse(`{"displayName":"XSL","name":"xsl","patterns":[{"begin":"(<)(xsl)((:))(template)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)","name":"meta.tag.xml.template","patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"include":"text.xml"}],"repository":{"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml"}},"scopeName":"text.xml.xsl","embeddedLangs":["xml"]}`)),n=[...e,t];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-QTnfLwEv.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"YAML","fileTypes":["yaml","yml","rviz","reek","clang-format","yaml-tmlanguage","syntax","sublime-syntax"],"firstLineMatch":"^%YAML( ?1.\\\\d+)?","name":"yaml","patterns":[{"include":"#comment"},{"include":"#property"},{"include":"#directive"},{"match":"^---","name":"entity.other.document.begin.yaml"},{"match":"^\\\\.{3}","name":"entity.other.document.end.yaml"},{"include":"#node"}],"repository":{"block-collection":{"patterns":[{"include":"#block-sequence"},{"include":"#block-mapping"}]},"block-mapping":{"patterns":[{"include":"#block-pair"}]},"block-node":{"patterns":[{"include":"#prototype"},{"include":"#block-scalar"},{"include":"#block-collection"},{"include":"#flow-scalar-plain-out"},{"include":"#flow-node"}]},"block-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"1":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=\\\\?)|^ *(:)|(:)","endCaptures":{"1":{"name":"punctuation.separator.key-value.mapping.yaml"},"2":{"name":"invalid.illegal.expected-newline.yaml"}},"name":"meta.block-mapping.yaml","patterns":[{"include":"#block-node"}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S)([^:\\\\s]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},{"match":":(?=\\\\s|$)","name":"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{"begin":"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)","beginCaptures":{"1":{"name":"keyword.control.flow.block-scalar.literal.yaml"},"2":{"name":"keyword.control.flow.block-scalar.folded.yaml"},"3":{"name":"constant.numeric.indentation-indicator.yaml"},"4":{"name":"storage.modifier.chomping-indicator.yaml"},"5":{"patterns":[{"include":"#comment"},{"match":".+","name":"invalid.illegal.expected-comment-or-newline.yaml"}]}},"end":"^(?=\\\\S)|(?!\\\\G)","patterns":[{"begin":"^( +)(?! )","end":"^(?!\\\\1|\\\\s*$)","name":"string.unquoted.block.yaml"}]},"block-sequence":{"match":"(-)(?!\\\\S)","name":"punctuation.definition.block.sequence.item.yaml"},"comment":{"begin":"(?:^([\\\\t ]*)|[\\\\t ]+)(?=#\\\\p{print}*$)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.yaml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}},"end":"\\\\n","name":"comment.line.number-sign.yaml"}]},"directive":{"begin":"^%","beginCaptures":{"0":{"name":"punctuation.definition.directive.begin.yaml"}},"end":"(?=$|[\\\\t ]+($|#))","name":"meta.directive.yaml","patterns":[{"captures":{"1":{"name":"keyword.other.directive.yaml.yaml"},"2":{"name":"constant.numeric.yaml-version.yaml"}},"match":"\\\\G(YAML)[\\\\t ]+(\\\\d+\\\\.\\\\d+)"},{"captures":{"1":{"name":"keyword.other.directive.tag.yaml"},"2":{"name":"storage.type.tag-handle.yaml"},"3":{"name":"support.type.tag-prefix.yaml"}},"match":"\\\\G(TAG)(?:[\\\\t ]+(!(?:[-0-9A-Za-z]*!)?)(?:[\\\\t ]+(!(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])*|(?![]!,\\\\[{}])(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+))?)?"},{"captures":{"1":{"name":"support.other.directive.reserved.yaml"},"2":{"name":"string.unquoted.directive-name.yaml"},"3":{"name":"string.unquoted.directive-parameter.yaml"}},"match":"\\\\G(\\\\w+)(?:[\\\\t ]+(\\\\w+)(?:[\\\\t ]+(\\\\w+))?)?"},{"match":"\\\\S+","name":"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{"captures":{"1":{"name":"keyword.control.flow.alias.yaml"},"2":{"name":"punctuation.definition.alias.yaml"},"3":{"name":"variable.other.alias.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"((\\\\*))([^],/\\\\[{}\\\\s]+)([^],}\\\\s]\\\\S*)?"},"flow-collection":{"patterns":[{"include":"#flow-sequence"},{"include":"#flow-mapping"}]},"flow-mapping":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.mapping.begin.yaml"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.mapping.end.yaml"}},"name":"meta.flow-mapping.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.mapping.yaml"},{"include":"#flow-pair"}]},"flow-node":{"patterns":[{"include":"#prototype"},{"include":"#flow-alias"},{"include":"#flow-collection"},{"include":"#flow-scalar"}]},"flow-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.explicit.yaml","patterns":[{"include":"#prototype"},{"include":"#flow-pair"},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","beginCaptures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","patterns":[{"include":"#flow-value"}]}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s])([^],:\\\\[{}\\\\s]|:[^],\\\\[{}\\\\s]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"meta.flow-pair.key.yaml","patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","captures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.yaml","patterns":[{"include":"#flow-value"}]}]},"flow-scalar":{"patterns":[{"include":"#flow-scalar-double-quoted"},{"include":"#flow-scalar-single-quoted"},{"include":"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.double.yaml","patterns":[{"match":"\\\\\\\\([ \\"/0LN\\\\\\\\_abefnprtv]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})","name":"constant.character.escape.yaml"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{"patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])"}]},"flow-scalar-plain-out":{"patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))"}]},"flow-scalar-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.single.yaml","patterns":[{"match":"''","name":"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.sequence.begin.yaml"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.sequence.end.yaml"}},"name":"meta.flow-sequence.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.sequence.yaml"},{"include":"#flow-pair"},{"include":"#flow-node"}]},"flow-value":{"patterns":[{"begin":"\\\\G(?![],}])","end":"(?=[],}])","name":"meta.flow-pair.value.yaml","patterns":[{"include":"#flow-node"}]}]},"node":{"patterns":[{"include":"#block-node"}]},"property":{"begin":"(?=[!\\\\&])","end":"(?!\\\\G)","name":"meta.property.yaml","patterns":[{"captures":{"1":{"name":"keyword.control.property.anchor.yaml"},"2":{"name":"punctuation.definition.anchor.yaml"},"3":{"name":"entity.name.type.anchor.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"\\\\G((&))([^],/\\\\[{}\\\\s]+)(\\\\S+)?"},{"match":"\\\\G!(?:<(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+>|(?:[-0-9A-Za-z]*!)?(?:%\\\\h{2}|[#$\\\\&-+\\\\--;=?-Z_a-z~])+|)(?=[\\\\t ]|$)","name":"storage.type.tag-handle.yaml"},{"match":"\\\\S+","name":"invalid.illegal.tag-handle.yaml"}]},"prototype":{"patterns":[{"include":"#comment"},{"include":"#property"}]}},"scopeName":"source.yaml","aliases":["yml"]}`))];export{t as n,n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e}from"./editor.api2-BmGoRSl4.js";var t={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.IndentAction.Indent}}]},n={tokenPostfix:`.yaml`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:[`true`,`True`,`TRUE`,`false`,`False`,`FALSE`,`null`,`Null`,`Null`,`~`],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:`@whitespace`},{include:`@comment`},[/%[^ ]+.*$/,`meta.directive`],[/---/,`operators.directivesEnd`],[/\.{3}/,`operators.documentEnd`],[/[-?:](?= )/,`operators`],{include:`@anchor`},{include:`@tagHandle`},{include:`@flowCollections`},{include:`@blockStyle`},[/@numberInteger(?![ \t]*\S+)/,`number`],[/@numberFloat(?![ \t]*\S+)/,`number.float`],[/@numberOctal(?![ \t]*\S+)/,`number.octal`],[/@numberHex(?![ \t]*\S+)/,`number.hex`],[/@numberInfinity(?![ \t]*\S+)/,`number.infinity`],[/@numberNaN(?![ \t]*\S+)/,`number.nan`],[/@numberDate(?![ \t]*\S+)/,`number.date`],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,[`type`,`white`,`operators`,`white`]],{include:`@flowScalars`},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],object:[{include:`@whitespace`},{include:`@comment`},[/\}/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],[/:(?= )/,`operators`],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,`type`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\},]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],array:[{include:`@whitespace`},{include:`@comment`},[/\]/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\],]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],multiString:[[/^( +).+$/,`string`,`@multiStringContinued.$1`]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":`string`,"@default":{token:`@rematch`,next:`@popall`}}}]],whitespace:[[/[ \t\r\n]+/,`white`]],comment:[[/#.*$/,`comment`]],flowCollections:[[/\[/,`@brackets`,`@array`],[/\{/,`@brackets`,`@object`]],flowScalars:[[/"([^"\\]|\\.)*$/,`string.invalid`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/'[^']*'/,`string`],[/"/,`string`,`@doubleQuotedString`]],doubleQuotedString:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],blockStyle:[[/[>|][0-9]*[+-]?$/,`operators`,`@multiString`]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,`number`],[/@numberFloat(?=[ \t]*[,\]\}])/,`number.float`],[/@numberOctal(?=[ \t]*[,\]\}])/,`number.octal`],[/@numberHex(?=[ \t]*[,\]\}])/,`number.hex`],[/@numberInfinity(?=[ \t]*[,\]\}])/,`number.infinity`],[/@numberNaN(?=[ \t]*[,\]\}])/,`number.nan`],[/@numberDate(?=[ \t]*[,\]\}])/,`number.date`]],tagHandle:[[/\![^ ]*/,`tag`]],anchor:[[/[&*][^ ]+/,`namespace`]]}};export{t as conf,n as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[Object.freeze(JSON.parse(`{"displayName":"ZenScript","fileTypes":["zs"],"name":"zenscript","patterns":[{"match":"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([DFLUdflu]|UL|ul)?\\\\b","name":"constant.numeric.zenscript"},{"match":"\\\\b-?(0[BOXbox])(0|[1-9A-Fa-f][_\\\\h]*)[A-Z_a-z]*\\\\b","name":"constant.numeric.zenscript"},{"include":"#code"},{"match":"\\\\b((?:[a-z]\\\\w*\\\\.)*[A-Z]+\\\\w*)(?=\\\\[)","name":"storage.type.object.array.zenscript"}],"repository":{"brackets":{"patterns":[{"captures":{"1":{"name":"keyword.control.zenscript"},"2":{"name":"keyword.other.zenscript"},"3":{"name":"keyword.control.zenscript"},"4":{"name":"variable.other.zenscript"},"5":{"name":"keyword.control.zenscript"},"6":{"name":"constant.numeric.zenscript"},"7":{"name":"keyword.control.zenscript"}},"match":"(<)\\\\b(.*?)(:(.*?(:(\\\\*|\\\\d+)?)?)?)(>)","name":"keyword.other.zenscript"}]},"class":{"captures":{"1":{"name":"storage.type.zenscript"},"2":{"name":"entity.name.type.class.zenscript"}},"match":"(zenClass)\\\\s+(\\\\w+)","name":"meta.class.zenscript"},"code":{"patterns":[{"include":"#class"},{"include":"#functions"},{"include":"#dots"},{"include":"#quotes"},{"include":"#brackets"},{"include":"#comments"},{"include":"#var"},{"include":"#keywords"},{"include":"#constants"},{"include":"#operators"}]},"comments":{"patterns":[{"match":"//[^\\\\n]*","name":"comment.line.double=slash"},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"comment.block"}},"end":"\\\\*/","endCaptures":{"0":{"name":"comment.block"}},"name":"comment.block"}]},"dots":{"captures":{"1":{"name":"storage.type.zenscript"},"2":{"name":"keyword.control.zenscript"},"5":{"name":"keyword.control.zenscript"}},"match":"\\\\b(\\\\w+)(\\\\.)(\\\\w+)((\\\\.)(\\\\w+))*","name":"plain.text.zenscript"},"functions":{"captures":{"0":{"name":"storage.type.function.zenscript"},"1":{"name":"entity.name.function.zenscript"}},"match":"function\\\\s+([$A-Z_a-z][$\\\\w]*)\\\\s*(?=\\\\()","name":"meta.function.zenscript"},"keywords":{"patterns":[{"match":"\\\\b(instanceof|get|implements|set|import|function|override|const|if|else|do|while|for|throw|panic|lock|try|catch|finally|return|break|continue|switch|case|default|in|is|as|match|throws|super|new)\\\\b","name":"keyword.control.zenscript"},{"match":"\\\\b(zenClass|zenConstructor|alias|class|interface|enum|struct|expand|variant|set|void|bool|byte|sbyte|short|ushort|int|uint|long|ulong|usize|float|double|char|string)\\\\b","name":"storage.type.zenscript"},{"match":"\\\\b(variant|abstract|final|private|public|export|internal|static|protected|implicit|virtual|extern|immutable)\\\\b","name":"storage.modifier.zenscript"},{"match":"\\\\b(Native|Precondition)\\\\b","name":"entity.other.attribute-name"},{"match":"\\\\b(null|true|false)\\\\b","name":"constant.language"}]},"operators":{"patterns":[{"match":"\\\\b(\\\\.\\\\.??|\\\\.\\\\.\\\\.|[+,]|\\\\+=|\\\\+\\\\+|-=??|--|~=??|\\\\*=??|/=??|%=??|\\\\|=??|\\\\|\\\\||&=??|&&|\\\\^=??|\\\\?\\\\.??|\\\\?\\\\?|<=??|<<=??|>=??|>>=??|>>>=??|=>?|===??|!=??|!==|[$\`])\\\\b","name":"keyword.control"},{"match":"\\\\b([:;])\\\\b","name":"keyword.control"}]},"quotes":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.zenscript"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.zenscript"}},"name":"string.quoted.double.zenscript","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.zenscript"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.zenscript"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.zenscript"}},"name":"string.quoted.single.zenscript","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.zenscript"}]}]},"var":{"match":"\\\\b(va[lr])\\\\b","name":"storage.type"}},"scopeName":"source.zenscript"}`))];export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[Object.freeze(JSON.parse(`{"displayName":"Zig","fileTypes":["zig","zon"],"name":"zig","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#keywords"},{"include":"#operators"},{"include":"#punctuation"},{"include":"#numbers"},{"include":"#support"},{"include":"#variables"}],"repository":{"commentContents":{"patterns":[{"match":"\\\\b(TODO|FIXME|XXX|NOTE)\\\\b:?","name":"keyword.todo.zig"}]},"comments":{"patterns":[{"begin":"//[!/](?=[^/])","end":"$","name":"comment.line.documentation.zig","patterns":[{"include":"#commentContents"}]},{"begin":"//","end":"$","name":"comment.line.double-slash.zig","patterns":[{"include":"#commentContents"}]}]},"keywords":{"patterns":[{"match":"\\\\binline\\\\b(?!\\\\s*\\\\bfn\\\\b)","name":"keyword.control.repeat.zig"},{"match":"\\\\b(while|for)\\\\b","name":"keyword.control.repeat.zig"},{"match":"\\\\b(extern|packed|export|pub|noalias|inline|comptime|volatile|align|linksection|threadlocal|allowzero|noinline|callconv)\\\\b","name":"keyword.storage.zig"},{"match":"\\\\b(struct|enum|union|opaque)\\\\b","name":"keyword.structure.zig"},{"match":"\\\\b(asm|unreachable)\\\\b","name":"keyword.statement.zig"},{"match":"\\\\b(break|return|continue|defer|errdefer)\\\\b","name":"keyword.control.flow.zig"},{"match":"\\\\b(resume|suspend|nosuspend)\\\\b","name":"keyword.control.async.zig"},{"match":"\\\\b(try|catch)\\\\b","name":"keyword.control.trycatch.zig"},{"match":"\\\\b(if|else|switch|orelse)\\\\b","name":"keyword.control.conditional.zig"},{"match":"\\\\b(null|undefined)\\\\b","name":"keyword.constant.default.zig"},{"match":"\\\\b(true|false)\\\\b","name":"keyword.constant.bool.zig"},{"match":"\\\\b(test|and|or)\\\\b","name":"keyword.default.zig"},{"match":"\\\\b(bool|void|noreturn|type|error|anyerror|anyframe|anytype|anyopaque)\\\\b","name":"keyword.type.zig"},{"match":"\\\\b(f16|f32|f64|f80|f128|u\\\\d+|i\\\\d+|isize|usize|comptime_int|comptime_float)\\\\b","name":"keyword.type.integer.zig"},{"match":"\\\\b(c_(?:char|short|ushort|int|uint|long|ulong|longlong|ulonglong|longdouble))\\\\b","name":"keyword.type.c.zig"}]},"numbers":{"patterns":[{"match":"\\\\b0x\\\\h[_\\\\h]*(\\\\.\\\\h[_\\\\h]*)?([Pp][-+]?[_\\\\h]+)?\\\\b","name":"constant.numeric.hexfloat.zig"},{"match":"\\\\b[0-9][0-9_]*(\\\\.[0-9][0-9_]*)?([Ee][-+]?[0-9_]+)?\\\\b","name":"constant.numeric.float.zig"},{"match":"\\\\b[0-9][0-9_]*\\\\b","name":"constant.numeric.decimal.zig"},{"match":"\\\\b0x[_\\\\h]+\\\\b","name":"constant.numeric.hexadecimal.zig"},{"match":"\\\\b0o[0-7_]+\\\\b","name":"constant.numeric.octal.zig"},{"match":"\\\\b0b[01_]+\\\\b","name":"constant.numeric.binary.zig"},{"match":"\\\\b[0-9](([EPep][-+])|[0-9A-Z_a-z])*(\\\\.(([EPep][-+])|[0-9A-Z_a-z])*)?([EPep][-+])?[0-9A-Z_a-z]*\\\\b","name":"constant.numeric.invalid.zig"}]},"operators":{"patterns":[{"match":"(?<=\\\\[)\\\\*c(?=])","name":"keyword.operator.c-pointer.zig"},{"match":"\\\\b((and|or))\\\\b|(==|!=|<=|>=|[<>])","name":"keyword.operator.comparison.zig"},{"match":"(-%?|\\\\+%?|\\\\*%?|[%/])=?","name":"keyword.operator.arithmetic.zig"},{"match":"(<<%?|>>|[!\\\\&^|~])=?","name":"keyword.operator.bitwise.zig"},{"match":"(==|\\\\+\\\\+|\\\\*\\\\*|->)","name":"keyword.operator.special.zig"},{"match":"=","name":"keyword.operator.assignment.zig"},{"match":"\\\\?","name":"keyword.operator.question.zig"}]},"punctuation":{"patterns":[{"match":"\\\\.","name":"punctuation.accessor.zig"},{"match":",","name":"punctuation.comma.zig"},{"match":":","name":"punctuation.separator.key-value.zig"},{"match":";","name":"punctuation.terminator.statement.zig"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\([\\"'\\\\\\\\nrt]|(x\\\\h{2})|(u\\\\{\\\\h+}))","name":"constant.character.escape.zig"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.zig"}]},"strings":{"patterns":[{"begin":"\\"","end":"\\"","name":"string.quoted.double.zig","patterns":[{"include":"#stringcontent"}]},{"begin":"\\\\\\\\\\\\\\\\","end":"$","name":"string.multiline.zig"},{"match":"'([^'\\\\\\\\]|\\\\\\\\(x\\\\h{2}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.))'","name":"string.quoted.single.zig"}]},"support":{"patterns":[{"match":"@[A-Z_a-z][0-9A-Z_a-z]*","name":"support.function.builtin.zig"}]},"variables":{"patterns":[{"name":"meta.function.declaration.zig","patterns":[{"captures":{"1":{"name":"storage.type.function.zig"},"2":{"name":"entity.name.type.zig"}},"match":"\\\\b(fn)\\\\s+([A-Z][0-9A-Za-z]*)\\\\b"},{"captures":{"1":{"name":"storage.type.function.zig"},"2":{"name":"entity.name.function.zig"}},"match":"\\\\b(fn)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b"},{"begin":"\\\\b(fn)\\\\s+@\\"","beginCaptures":{"1":{"name":"storage.type.function.zig"}},"end":"\\"","name":"entity.name.function.string.zig","patterns":[{"include":"#stringcontent"}]},{"match":"\\\\b(const|var|fn)\\\\b","name":"keyword.default.zig"}]},{"name":"meta.function.call.zig","patterns":[{"match":"([A-Z][0-9A-Za-z]*)(?=\\\\s*\\\\()","name":"entity.name.type.zig"},{"match":"([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\()","name":"entity.name.function.zig"}]},{"name":"meta.variable.zig","patterns":[{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*\\\\b","name":"variable.zig"},{"begin":"@\\"","end":"\\"","name":"variable.string.zig","patterns":[{"include":"#stringcontent"}]}]}]}},"scopeName":"source.zig"}`))];export{e as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" class="dark">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<meta name="color-scheme" content="dark" />
|
|
7
|
+
<title>zuzuu-web</title>
|
|
8
|
+
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%230d1117'/%3E%3Ctext x='6' y='22' font-family='monospace' font-size='16' fill='%2358e6c0'%3E%E2%9D%AF_%3C/text%3E%3C/svg%3E" />
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-BTchnWPZ.js"></script>
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/chunk-QTnfLwEv.js">
|
|
11
|
+
<link rel="stylesheet" crossorigin href="/assets/index--lqPz7z2.css">
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// zuzuu/actions/adapter.mjs
|
|
2
2
|
// The Actions faculty adapter (WS2-T3). Wraps the EXISTING Actions inbox gate
|
|
3
|
-
// (proposed dirs under
|
|
3
|
+
// (proposed dirs under .zuzuu/actions/inbox/<slug>/) behind the faculty-spine
|
|
4
4
|
// adapter contract — { name, ingest, validate, apply, render } — so the generic
|
|
5
5
|
// `zuzuu review` gate can drive Actions the same way it drives Knowledge.
|
|
6
6
|
//
|
|
@@ -42,7 +42,7 @@ function recordFor(a) {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* Pending action proposals (dirs in
|
|
45
|
+
* Pending action proposals (dirs in .zuzuu/actions/inbox/), surfaced as
|
|
46
46
|
* spine-shaped records so the gate can render/approve/reject them uniformly.
|
|
47
47
|
*/
|
|
48
48
|
function listProposals(agentDir) {
|
package/zuzuu/actions/inbox.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// zuzuu/actions/inbox.mjs
|
|
2
2
|
// The Actions crystallization gate (the same governed pipeline as Knowledge
|
|
3
3
|
// promotion, kept out of the knowledge ER/registry machinery). A proposed action
|
|
4
|
-
// is a real dir under
|
|
5
|
-
//
|
|
4
|
+
// is a real dir under .zuzuu/actions/inbox/<slug>/. A human activates it (move to
|
|
5
|
+
// .zuzuu/actions/<slug>/) or rejects it (remove). Never auto-activates.
|
|
6
6
|
|
|
7
7
|
import { join } from 'node:path';
|
|
8
8
|
import { existsSync, readFileSync, renameSync, mkdirSync, rmSync } from 'node:fs';
|
|
9
9
|
import { actionsDir, inboxDir, listActions, isSafeSlug } from './manifest.mjs';
|
|
10
10
|
|
|
11
|
-
/** Archive dir for rejected action proposals:
|
|
11
|
+
/** Archive dir for rejected action proposals: .zuzuu/actions/proposals/archive/. */
|
|
12
12
|
const archiveBaseDir = (agentDir) => join(actionsDir(agentDir), 'proposals', 'archive');
|
|
13
13
|
|
|
14
|
-
/** Proposed actions awaiting review (in
|
|
14
|
+
/** Proposed actions awaiting review (in .zuzuu/actions/inbox/). */
|
|
15
15
|
export function listProposedActions(agentDir) {
|
|
16
16
|
return listActions(inboxDir(agentDir));
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// zuzuu/actions/manifest.mjs
|
|
2
|
-
// Reads the Actions faculty off disk: one action per dir under
|
|
2
|
+
// Reads the Actions faculty off disk: one action per dir under .zuzuu/actions/.
|
|
3
3
|
// Two kinds — `script` (has run.mjs + action.json) and `runbook` (SKILL.md prose).
|
|
4
4
|
// Pure-ish: filesystem reads only, no logging, no process control.
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import { join } from 'node:path';
|
|
|
7
7
|
import { existsSync, readFileSync, readdirSync, statSync } from 'node:fs';
|
|
8
8
|
|
|
9
9
|
// Action slugs: letters/digits start, then letters/digits/-/_. No dots or slashes
|
|
10
|
-
// → cannot escape
|
|
10
|
+
// → cannot escape .zuzuu/actions/ via path traversal.
|
|
11
11
|
export const SAFE_SLUG = /^[a-zA-Z0-9][a-zA-Z0-9_-]*$/;
|
|
12
12
|
export function isSafeSlug(slug) {
|
|
13
13
|
return typeof slug === 'string' && SAFE_SLUG.test(slug);
|
|
@@ -66,7 +66,7 @@ export function listActions(baseDir) {
|
|
|
66
66
|
return out;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
/** Active actions under
|
|
69
|
+
/** Active actions under .zuzuu/actions/ (the inbox subdir is excluded). */
|
|
70
70
|
export function allActions(agentDir) {
|
|
71
71
|
return listActions(actionsDir(agentDir)).filter((a) => a.slug !== 'inbox');
|
|
72
72
|
}
|
package/zuzuu/actions/trail.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// zuzuu/actions/trail.mjs
|
|
2
2
|
// The actions observability trail (A7): every `zuzuu act` run appends an outcome
|
|
3
|
-
// record to
|
|
3
|
+
// record to .zuzuu/.live/actions.jsonl. This is the "details" side of the result —
|
|
4
4
|
// the agent sees the marker value; the trace keeps the metadata. Fail-soft: a
|
|
5
5
|
// logging failure must never affect the action (mirrors the guardrails decision log).
|
|
6
6
|
|
|
@@ -46,12 +46,12 @@ function scaffoldInto(baseDir, slug) {
|
|
|
46
46
|
return { created };
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
/** Scaffold a live action (
|
|
49
|
+
/** Scaffold a live action (.zuzuu/actions/<slug>/). Humans author here directly. */
|
|
50
50
|
export function scaffoldAction(agentDir, slug) {
|
|
51
51
|
return scaffoldInto(actionsDir(agentDir), slug);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
/** Scaffold a PROPOSED action (
|
|
54
|
+
/** Scaffold a PROPOSED action (.zuzuu/actions/inbox/<slug>/) — agents propose here. */
|
|
55
55
|
export function proposeAction(agentDir, slug) {
|
|
56
56
|
return scaffoldInto(inboxDir(agentDir), slug);
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@ export function proposeAction(agentDir, slug) {
|
|
|
59
59
|
export function newAction(agentDir, slug) {
|
|
60
60
|
if (!slug) { console.error('usage: zuzuu act new <slug>'); process.exit(1); }
|
|
61
61
|
const { created } = scaffoldAction(agentDir, slug);
|
|
62
|
-
if (created.length) console.log(`scaffolded action '${slug}' → ${created.join(', ')} in
|
|
62
|
+
if (created.length) console.log(`scaffolded action '${slug}' → ${created.join(', ')} in .zuzuu/actions/${slug}/`);
|
|
63
63
|
else console.log(`action '${slug}' already complete — nothing to do`);
|
|
64
64
|
}
|
|
65
65
|
|
package/zuzuu/commands/act.mjs
CHANGED
|
@@ -60,11 +60,48 @@ function run(agentDir, slug, args) {
|
|
|
60
60
|
|
|
61
61
|
function propose(agentDir, slug) {
|
|
62
62
|
const { created } = proposeAction(agentDir, slug);
|
|
63
|
-
if (created.length) console.log(`proposed action '${slug}' → ${created.join(', ')} in
|
|
63
|
+
if (created.length) console.log(`proposed action '${slug}' → ${created.join(', ')} in .zuzuu/actions/inbox/${slug}/ (review with \`zuzuu review\`)`);
|
|
64
64
|
else console.log(`proposed action '${slug}' already complete — nothing to do`);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
/**
|
|
68
|
+
* Pure: data for `act inbox --json`.
|
|
69
|
+
* @param {string} agentDir
|
|
70
|
+
* @returns {{ pending: Array }}
|
|
71
|
+
*/
|
|
72
|
+
export function actInboxData(agentDir) {
|
|
73
|
+
return { pending: listProposedActions(agentDir) };
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Pure: data for `act approve --json`.
|
|
78
|
+
* Calls activateAction and returns the printed object.
|
|
79
|
+
* @param {string} agentDir
|
|
80
|
+
* @param {string} slug
|
|
81
|
+
* @returns {{ ok: boolean, action: string, slug: string }}
|
|
82
|
+
*/
|
|
83
|
+
export function actApproveData(agentDir, slug) {
|
|
84
|
+
const r = activateAction(agentDir, slug);
|
|
85
|
+
return { ok: r.ok, action: r.ok ? `activated ${slug}` : r.error, slug };
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Pure: data for `act reject --json`.
|
|
90
|
+
* Calls rejectAction and returns the printed object.
|
|
91
|
+
* @param {string} agentDir
|
|
92
|
+
* @param {string} slug
|
|
93
|
+
* @returns {{ ok: boolean, action: string, slug: string }}
|
|
94
|
+
*/
|
|
95
|
+
export function actRejectData(agentDir, slug) {
|
|
96
|
+
const r = rejectAction(agentDir, slug);
|
|
97
|
+
return { ok: r.ok, action: r.ok ? `rejected ${slug}` : r.error, slug };
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function inbox(agentDir, args = {}) {
|
|
101
|
+
if (args.json) {
|
|
102
|
+
console.log(JSON.stringify(actInboxData(agentDir)));
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
68
105
|
const pending = listProposedActions(agentDir);
|
|
69
106
|
if (!pending.length) return console.log('no proposed actions — inbox empty');
|
|
70
107
|
for (const a of pending.sort((x, y) => x.slug.localeCompare(y.slug))) {
|
|
@@ -72,16 +109,24 @@ function inbox(agentDir) {
|
|
|
72
109
|
}
|
|
73
110
|
}
|
|
74
111
|
|
|
75
|
-
function approve(agentDir, slug) {
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
|
|
112
|
+
function approve(agentDir, slug, args = {}) {
|
|
113
|
+
const result = actApproveData(agentDir, slug);
|
|
114
|
+
if (args.json) {
|
|
115
|
+
console.log(JSON.stringify(result));
|
|
116
|
+
} else {
|
|
117
|
+
console.log(result.ok ? `✓ activated '${slug}'` : `✗ ${result.action}`);
|
|
118
|
+
}
|
|
119
|
+
process.exit(result.ok ? 0 : 1);
|
|
79
120
|
}
|
|
80
121
|
|
|
81
|
-
function reject(agentDir, slug) {
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
122
|
+
function reject(agentDir, slug, args = {}) {
|
|
123
|
+
const result = actRejectData(agentDir, slug);
|
|
124
|
+
if (args.json) {
|
|
125
|
+
console.log(JSON.stringify(result));
|
|
126
|
+
} else {
|
|
127
|
+
console.log(result.ok ? `✓ rejected '${slug}'` : `✗ ${result.action}`);
|
|
128
|
+
}
|
|
129
|
+
process.exit(result.ok ? 0 : 1);
|
|
85
130
|
}
|
|
86
131
|
|
|
87
132
|
export function act(args) {
|
|
@@ -92,9 +137,9 @@ export function act(args) {
|
|
|
92
137
|
if (sub === 'new') return newAction(agentDir, requireSlug(args._[1], 'usage: zuzuu act new <slug>'));
|
|
93
138
|
if (sub === 'schema') return schemaCmd(agentDir, requireSlug(args._[1], 'usage: zuzuu act schema <slug> [--openai|--anthropic]'), args);
|
|
94
139
|
if (sub === 'propose') return propose(agentDir, requireSlug(args._[1], 'usage: zuzuu act propose <slug>'));
|
|
95
|
-
if (sub === 'inbox') return inbox(agentDir);
|
|
96
|
-
if (sub === 'approve') return approve(agentDir, requireSlug(args._[1], 'usage: zuzuu act approve <slug>'));
|
|
97
|
-
if (sub === 'reject') return reject(agentDir, requireSlug(args._[1], 'usage: zuzuu act reject <slug>'));
|
|
140
|
+
if (sub === 'inbox') return inbox(agentDir, args);
|
|
141
|
+
if (sub === 'approve') return approve(agentDir, requireSlug(args._[1], 'usage: zuzuu act approve <slug>'), args);
|
|
142
|
+
if (sub === 'reject') return reject(agentDir, requireSlug(args._[1], 'usage: zuzuu act reject <slug>'), args);
|
|
98
143
|
// future-reserved guard: extend RESERVED + add a handler above in tandem
|
|
99
144
|
if (RESERVED.has(sub)) { console.error(`unknown: zuzuu act ${sub}`); process.exit(1); }
|
|
100
145
|
return run(agentDir, requireSlug(sub, 'usage: zuzuu act <slug> [--args JSON]'), args);
|
package/zuzuu/commands/code.mjs
CHANGED
|
@@ -76,7 +76,7 @@ export function code(args = {}, deps = {}) {
|
|
|
76
76
|
|
|
77
77
|
// a clean one-screen summary of what the newcomer just got (vs. the verbose enable output)
|
|
78
78
|
d.log('zuzuu code → OpenCode, faculty-equipped');
|
|
79
|
-
d.log(` ✓ faculty home (
|
|
79
|
+
d.log(` ✓ faculty home (.zuzuu/) ${wired ? '✓ capture + guardrails gate ✓ session grounding' : '⚠ plugin not wired (degraded)'}`);
|
|
80
80
|
d.log(` → launching OpenCode in ${dir} …`);
|
|
81
81
|
|
|
82
82
|
// 5. launch the real OpenCode (configure + launch, never drive)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { paths } from '../store.mjs';
|
|
7
7
|
import { computeDigest } from '../digest.mjs';
|
|
8
8
|
|
|
9
|
-
/** Pure: the digest payload — the zuzuu-web /digest source (the daemon also reads
|
|
9
|
+
/** Pure: the digest payload — the zuzuu-web /digest source (the daemon also reads .zuzuu/.live/digest.md directly). */
|
|
10
10
|
export function digestData(agentDir, opts = {}) {
|
|
11
11
|
const d = computeDigest(agentDir, opts);
|
|
12
12
|
return { text: d.text ?? '' };
|
|
@@ -123,14 +123,14 @@ export async function doctor() {
|
|
|
123
123
|
if (commit) ok(`git repo on ${branch} @ ${commit.slice(0, 8)}`);
|
|
124
124
|
else info("not a git repo — capture works; sessions just won’t link to a commit");
|
|
125
125
|
|
|
126
|
-
//
|
|
126
|
+
// .zuzuu/ writable
|
|
127
127
|
const { dir } = paths();
|
|
128
128
|
try {
|
|
129
129
|
mkdirSync(dir, { recursive: true });
|
|
130
130
|
accessSync(dir, constants.W_OK);
|
|
131
|
-
ok(
|
|
131
|
+
ok(`.zuzuu/ writable (${dir})`);
|
|
132
132
|
} catch {
|
|
133
|
-
bad(
|
|
133
|
+
bad(`.zuzuu/ not writable (${dir})`);
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
// faculty home (served by `zuzuu init`)
|
package/zuzuu/commands/eval.mjs
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// Also exports `evalLine` — a small pure helper used by `zuzuu review` to render
|
|
7
7
|
// a one-line eval annotation per proposal card.
|
|
8
8
|
|
|
9
|
+
import { join } from 'node:path';
|
|
9
10
|
import { paths, readIndex } from '../store.mjs';
|
|
10
11
|
import * as registry from '../faculty/registry.mjs';
|
|
11
12
|
import { listProposals as spineListProposals } from '../faculty/proposal.mjs';
|
|
@@ -58,20 +59,21 @@ function collectProposals(agentDir, adapter) {
|
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
/**
|
|
61
|
-
*
|
|
62
|
+
* Pure: gather + rank all pending proposals, returning structured data for JSON output.
|
|
63
|
+
* The zuzuu-web /eval source.
|
|
64
|
+
* Touches FS via buildSessionMtimes (fail-open) and collectProposals.
|
|
62
65
|
*
|
|
63
|
-
* @param {
|
|
64
|
-
* @param {
|
|
66
|
+
* @param {string} agentDir Resolved .zuzuu/ path.
|
|
67
|
+
* @param {object} [opts]
|
|
68
|
+
* @param {string} [opts.faculty] Filter to a single faculty name.
|
|
69
|
+
* @returns {{ ranked: Array<{id,faculty,title,score,confidence,rationale}> }}
|
|
65
70
|
*/
|
|
66
|
-
export function
|
|
67
|
-
const agentDir = paths().dir;
|
|
68
|
-
const onlyFaculty = args?.faculty ?? null;
|
|
71
|
+
export function evalData(agentDir, { faculty: onlyFaculty = null } = {}) {
|
|
69
72
|
const adapters = registry.all();
|
|
70
|
-
const sessionMtimes = buildSessionMtimes();
|
|
73
|
+
const sessionMtimes = buildSessionMtimes(join(agentDir, '..'));
|
|
71
74
|
const now = Date.now();
|
|
72
75
|
const scorer = getScorer();
|
|
73
76
|
|
|
74
|
-
// Gather proposals from all (or the one filtered) faculty adapters.
|
|
75
77
|
const allEntries = [];
|
|
76
78
|
for (const adapter of adapters) {
|
|
77
79
|
if (onlyFaculty && adapter.name !== onlyFaculty) continue;
|
|
@@ -81,21 +83,44 @@ export function evalCmd(args, log = console.log) {
|
|
|
81
83
|
}
|
|
82
84
|
}
|
|
83
85
|
|
|
84
|
-
if (!allEntries.length) {
|
|
85
|
-
log('no pending proposals');
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
86
|
+
if (!allEntries.length) return { ranked: [] };
|
|
88
87
|
|
|
89
|
-
// Rank all entries together.
|
|
90
88
|
const rawProposals = allEntries.map((e) => e.proposal);
|
|
91
|
-
const
|
|
92
|
-
|
|
93
|
-
// Build faculty lookup for display: proposal.id → faculty name.
|
|
89
|
+
const rankResults = rank(rawProposals, scorer, { now, sessionMtimes });
|
|
94
90
|
const facultyByProposalId = new Map(allEntries.map((e) => [e.proposal.id, e.faculty]));
|
|
95
91
|
|
|
96
|
-
|
|
97
|
-
const
|
|
92
|
+
const ranked = rankResults.map(({ proposal, score, confidence, rationale }) => {
|
|
93
|
+
const fac = facultyByProposalId.get(proposal.id) ?? '?';
|
|
94
|
+
const title = proposal.title
|
|
95
|
+
?? proposal.candidate?.body?.slice(0, 80)
|
|
96
|
+
?? proposal.payload?.body?.slice(0, 80)
|
|
97
|
+
?? proposal.id;
|
|
98
|
+
return { id: proposal.id, faculty: fac, title, score, confidence, rationale };
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
return { ranked };
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Core of `zuzuu eval` — exported so tests can inject a custom log fn.
|
|
106
|
+
*
|
|
107
|
+
* @param {object} args Parsed CLI args.
|
|
108
|
+
* @param {Function} [log=console.log] Output sink (injectable for tests).
|
|
109
|
+
*/
|
|
110
|
+
export function evalCmd(args, log = console.log) {
|
|
111
|
+
const agentDir = paths().dir;
|
|
112
|
+
const onlyFaculty = args?.faculty ?? null;
|
|
113
|
+
|
|
114
|
+
if (args?.json) {
|
|
115
|
+
const d = evalData(agentDir, { faculty: onlyFaculty });
|
|
116
|
+
log(JSON.stringify(d));
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const { ranked } = evalData(agentDir, { faculty: onlyFaculty });
|
|
121
|
+
if (!ranked.length) { log('no pending proposals'); return; }
|
|
122
|
+
for (const { id, faculty, score, confidence, rationale } of ranked) {
|
|
98
123
|
const warn = confidence === 'low' ? ' ⚠' : '';
|
|
99
|
-
log(`${String(score).padEnd(6)} [${confidence}] ${faculty}/${
|
|
124
|
+
log(`${String(score).padEnd(6)} [${confidence}] ${faculty}/${id} — ${rationale}${warn}`);
|
|
100
125
|
}
|
|
101
126
|
}
|
|
@@ -25,9 +25,39 @@ function list(dir) {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Pure: mint a new generation and return structured data.
|
|
30
|
+
* @param {string} dir
|
|
31
|
+
* @param {object} [opts]
|
|
32
|
+
* @param {string[]} [opts.mintedFrom] proposal ids this generation is built from
|
|
33
|
+
* @returns {{ id: string, mintedFrom: string[], forkedFrom: string|null }}
|
|
34
|
+
*/
|
|
35
|
+
export function mintGenerationData(dir, { mintedFrom = [] } = {}) {
|
|
29
36
|
const forkedFrom = activeGeneration(dir);
|
|
30
|
-
const lf = mintGeneration(dir, { forkedFrom });
|
|
37
|
+
const lf = mintGeneration(dir, { forkedFrom, mintedFrom });
|
|
38
|
+
return { id: lf.id, mintedFrom: lf.mintedFrom ?? [], forkedFrom: lf.forkedFrom ?? null };
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Pure: rollback to a generation and return structured data.
|
|
43
|
+
* @param {string} dir
|
|
44
|
+
* @param {string} id
|
|
45
|
+
* @returns {{ ok: boolean, restored: number, active: string }}
|
|
46
|
+
*/
|
|
47
|
+
export function rollbackData(dir, id) {
|
|
48
|
+
const r = rollback(dir, id);
|
|
49
|
+
return { ok: r.ok, restored: r.restored, active: id };
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function mint(dir, args = {}) {
|
|
53
|
+
const mintedFrom = args.from ? String(args.from).split(',').map((s) => s.trim()).filter(Boolean) : [];
|
|
54
|
+
if (args.json) {
|
|
55
|
+
const d = mintGenerationData(dir, { mintedFrom });
|
|
56
|
+
console.log(JSON.stringify(d));
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const forkedFrom = activeGeneration(dir);
|
|
60
|
+
const lf = mintGeneration(dir, { forkedFrom, mintedFrom });
|
|
31
61
|
console.log(`✓ minted ${lf.id}${forkedFrom ? ` (forkedFrom ${forkedFrom})` : ''} — now active`);
|
|
32
62
|
}
|
|
33
63
|
|
|
@@ -78,9 +108,14 @@ function show(dir, id) {
|
|
|
78
108
|
console.log(out);
|
|
79
109
|
}
|
|
80
110
|
|
|
81
|
-
function doRollback(dir, id) {
|
|
111
|
+
function doRollback(dir, id, args = {}) {
|
|
82
112
|
if (!id) { console.error('usage: zuzuu generation rollback <id>'); process.exit(1); }
|
|
83
113
|
if (!readGeneration(dir, id)) { console.error(`no generation '${id}'`); process.exit(1); }
|
|
114
|
+
if (args.json) {
|
|
115
|
+
const d = rollbackData(dir, id);
|
|
116
|
+
console.log(JSON.stringify(d));
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
84
119
|
const r = rollback(dir, id);
|
|
85
120
|
console.log(`✓ rolled back to ${id} — restored ${r.restored} item(s); active=${id}`);
|
|
86
121
|
}
|
|
@@ -92,7 +127,7 @@ export function generation(args) {
|
|
|
92
127
|
if (args.json) { console.log(JSON.stringify(generationListData(dir))); return; }
|
|
93
128
|
return list(dir);
|
|
94
129
|
}
|
|
95
|
-
if (sub === 'mint') return mint(dir);
|
|
130
|
+
if (sub === 'mint') return mint(dir, args);
|
|
96
131
|
if (sub === 'show') {
|
|
97
132
|
if (args.json) {
|
|
98
133
|
const d = generationShowData(dir, args._[1]);
|
|
@@ -101,7 +136,7 @@ export function generation(args) {
|
|
|
101
136
|
}
|
|
102
137
|
return show(dir, args._[1]);
|
|
103
138
|
}
|
|
104
|
-
if (sub === 'rollback') return doRollback(dir, args._[1]);
|
|
139
|
+
if (sub === 'rollback') return doRollback(dir, args._[1], args);
|
|
105
140
|
console.error(`unknown: zuzuu generation ${sub}\nusage: zuzuu generation [list|show <id>|mint|rollback <id>]`);
|
|
106
141
|
process.exit(1);
|
|
107
142
|
}
|
package/zuzuu/commands/hook.mjs
CHANGED
|
@@ -73,7 +73,7 @@ export function handleHook({ event, payload = {}, cwd = process.cwd(), now = Dat
|
|
|
73
73
|
openLive({ id, host, transcriptPath: ref, startedAt: new Date(now).toISOString(), now, generation }, cwd);
|
|
74
74
|
safeCapture(adapter, ref, SessionState.ACTIVE, cwd, generation);
|
|
75
75
|
} catch { /* live/capture hiccup must not block grounding below */ }
|
|
76
|
-
writeLiveDigest(cwd); // universal grounding channel — every host reads
|
|
76
|
+
writeLiveDigest(cwd); // universal grounding channel — every host reads .zuzuu/.live/digest.md
|
|
77
77
|
} else if (TURN.has(event)) {
|
|
78
78
|
touchLive({ id, host, transcriptPath: ref, now }, cwd);
|
|
79
79
|
safeCapture(adapter, ref, SessionState.ACTIVE, cwd);
|
|
@@ -88,7 +88,7 @@ export function handleHook({ event, payload = {}, cwd = process.cwd(), now = Dat
|
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* The Guardrails gate (PreToolUse). Evaluates the tool call against
|
|
91
|
-
*
|
|
91
|
+
* .zuzuu/guardrails/rules.json and prints Claude's hookSpecificOutput decision —
|
|
92
92
|
* or NOTHING (exit 0, no JSON = defer to the host's normal permission flow).
|
|
93
93
|
* That silence is the fail-open: engine errors and rule-file problems can slow
|
|
94
94
|
* nothing down and block nothing. Matched decisions are logged for the trace.
|
|
@@ -132,11 +132,11 @@ export function gateDecision({ host = 'claude-code', payload = {}, cwd = process
|
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* Universal digest delivery (Design B side effect, not a span builder). Computes
|
|
135
|
-
* the faculty digest and writes it to
|
|
135
|
+
* the faculty digest and writes it to `.zuzuu/.live/digest.md` — the ONE channel
|
|
136
136
|
* every host can read at session start (the faculty block points here). Claude
|
|
137
137
|
* also gets it inline via sessionStartContext; the other 4 hosts rely on this
|
|
138
138
|
* file. Fail-open: any error is swallowed (never break the host).
|
|
139
|
-
* @param {string} cwd repo cwd; paths() resolves the
|
|
139
|
+
* @param {string} cwd repo cwd; paths() resolves the .zuzuu/ home under it
|
|
140
140
|
*/
|
|
141
141
|
export function writeLiveDigest(cwd = process.cwd()) {
|
|
142
142
|
try {
|
|
@@ -155,7 +155,7 @@ export function writeLiveDigest(cwd = process.cwd()) {
|
|
|
155
155
|
* Build Claude Code's SessionStart additionalContext payload from the faculty
|
|
156
156
|
* digest. Returns null on ANY failure (fail-open: the session proceeds with no
|
|
157
157
|
* injected context, never a broken hook).
|
|
158
|
-
* @param {string} cwd repo cwd; paths() resolves the
|
|
158
|
+
* @param {string} cwd repo cwd; paths() resolves the .zuzuu/ home under it
|
|
159
159
|
*/
|
|
160
160
|
export function sessionStartContext(cwd = process.cwd()) {
|
|
161
161
|
try {
|
|
@@ -193,7 +193,7 @@ export function runHook(event, { host = 'claude-code', session } = {}) {
|
|
|
193
193
|
} else {
|
|
194
194
|
try { handleHook({ event, payload, host }); } catch { /* capture failure is silent — never blocks the digest or the host */ }
|
|
195
195
|
// Claude consumes additionalContext inline; the other hosts read
|
|
196
|
-
//
|
|
196
|
+
// .zuzuu/.live/digest.md (written by handleHook's OPEN branch). Scoping the
|
|
197
197
|
// stdout push to Claude avoids emitting an unread schema to Gemini/Codex.
|
|
198
198
|
if (event === 'SessionStart' && host === 'claude-code') {
|
|
199
199
|
try {
|