@hattoriai/poney 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +23 -2
- package/bin/poney-mcp.mjs +3 -0
- package/bin/poney.mjs +3 -0
- package/brief-change.md +23 -0
- package/brief-tour.md +43 -0
- package/brief.md +133 -0
- package/dist/chunk-BCOS4LFB.js +1184 -0
- package/dist/chunk-BCOS4LFB.js.map +1 -0
- package/dist/chunk-TPJZDQG6.js +290 -0
- package/dist/chunk-TPJZDQG6.js.map +1 -0
- package/dist/chunk-YLKV6LIU.js +621 -0
- package/dist/chunk-YLKV6LIU.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +181 -0
- package/dist/cli.js.map +1 -0
- package/dist/hub-FERXNPJS.js +4 -0
- package/dist/hub-FERXNPJS.js.map +1 -0
- package/dist/live/types.d.ts +165 -0
- package/dist/live/types.js +3 -0
- package/dist/live/types.js.map +1 -0
- package/dist/mcp.d.ts +2 -0
- package/dist/mcp.js +288 -0
- package/dist/mcp.js.map +1 -0
- package/dist/ops.d.ts +1575 -0
- package/dist/ops.js +3 -0
- package/dist/ops.js.map +1 -0
- package/dist/plugins/index.d.ts +94 -0
- package/dist/plugins/index.js +3 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/run-25PP2HWH.js +3 -0
- package/dist/run-25PP2HWH.js.map +1 -0
- package/dist/types-N-oiuMYy.d.ts +77 -0
- package/examples/tour.poney +195 -0
- package/examples/walkthrough.poney +644 -0
- package/package.json +76 -4
- package/studio/assets/abap-BdImnpbu.js +1 -0
- package/studio/assets/actionscript-3-B3316cI-.js +1 -0
- package/studio/assets/ada-BIOnG6TC.js +1 -0
- package/studio/assets/ahk-BrbAagtO.js +1 -0
- package/studio/assets/ahk2-8Zs4aa1G.js +1 -0
- package/studio/assets/andromeeda-C4gqWexZ.js +1 -0
- package/studio/assets/angular-html-D_SYSyRt.js +1 -0
- package/studio/assets/angular-ts-DGq0tZX5.js +1 -0
- package/studio/assets/apache-Pmp26Uib.js +1 -0
- package/studio/assets/apex-DhZFqWV2.js +1 -0
- package/studio/assets/apl-ChzvTHjC.js +1 -0
- package/studio/assets/applescript-Co6uUVPk.js +1 -0
- package/studio/assets/ara-BRHolxvo.js +1 -0
- package/studio/assets/asciidoc-CSVQ5wI8.js +1 -0
- package/studio/assets/asm-D_Q5rh1f.js +1 -0
- package/studio/assets/astro-DTjqU0_L.js +1 -0
- package/studio/assets/aurora-x-D-2ljcwZ.js +1 -0
- package/studio/assets/awk-DMzUqQB5.js +1 -0
- package/studio/assets/ayu-dark-DYE7WIF3.js +1 -0
- package/studio/assets/ayu-light-BA47KaF1.js +1 -0
- package/studio/assets/ayu-mirage-32ctXXKs.js +1 -0
- package/studio/assets/ballerina-BFfxhgS-.js +1 -0
- package/studio/assets/bat-CickPsom.js +1 -0
- package/studio/assets/beancount-BgSHGh8x.js +1 -0
- package/studio/assets/berry-uYugtg8r.js +1 -0
- package/studio/assets/bibtex-CHM0blh-.js +1 -0
- package/studio/assets/bicep-Bmn6On1c.js +1 -0
- package/studio/assets/bird2-Bx8U0n9b.js +1 -0
- package/studio/assets/blade-k33SngOZ.js +1 -0
- package/studio/assets/bsl-DlhNcFeZ.js +1 -0
- package/studio/assets/c-BIGW1oBm.js +1 -0
- package/studio/assets/c3-Dp5svz6Z.js +1 -0
- package/studio/assets/cadence-Bv_4Rxtq.js +1 -0
- package/studio/assets/cairo-KRGpt6FW.js +1 -0
- package/studio/assets/catppuccin-frappe-CZL1YF0i.js +1 -0
- package/studio/assets/catppuccin-latte-DH-8KZSZ.js +1 -0
- package/studio/assets/catppuccin-macchiato-B7yYVSCf.js +1 -0
- package/studio/assets/catppuccin-mocha-Ct7hS0mc.js +1 -0
- package/studio/assets/chapel-DTp_pixX.js +1 -0
- package/studio/assets/clarity-Dn5IMItf.js +1 -0
- package/studio/assets/clojure-P80f7IUj.js +1 -0
- package/studio/assets/cmake-D1j8_8rp.js +1 -0
- package/studio/assets/cobol-BBKr1ja6.js +1 -0
- package/studio/assets/codeowners-Bp6g37R7.js +1 -0
- package/studio/assets/codeql-DsOJ9woJ.js +1 -0
- package/studio/assets/coffee-Ch7k5sss.js +1 -0
- package/studio/assets/common-lisp-Cg-RD9OK.js +1 -0
- package/studio/assets/coq-BqXF5kFF.js +1 -0
- package/studio/assets/cpp-BMRokrvK.js +1 -0
- package/studio/assets/crystal-LUwhHfY5.js +1 -0
- package/studio/assets/csharp-B_TYUkTI.js +1 -0
- package/studio/assets/css-Z72CF80r.js +1 -0
- package/studio/assets/csv-fuZLfV_i.js +1 -0
- package/studio/assets/cue-D82EKSYY.js +1 -0
- package/studio/assets/cypher-COkxafJQ.js +1 -0
- package/studio/assets/d-85-TOEBH.js +1 -0
- package/studio/assets/dark-plus-C3mMm8J8.js +1 -0
- package/studio/assets/dart-CtKP3W-j.js +1 -0
- package/studio/assets/dax-CEL-wOlO.js +1 -0
- package/studio/assets/desktop-BmXAJ9_W.js +1 -0
- package/studio/assets/diff-D97Zzqfu.js +1 -0
- package/studio/assets/dist-_ey1iXf6.js +153 -0
- package/studio/assets/docker-BcOcwvcX.js +1 -0
- package/studio/assets/dotenv-De0Btta0.js +1 -0
- package/studio/assets/dracula-BzJJZx-M.js +1 -0
- package/studio/assets/dracula-soft-BXkSAIEj.js +1 -0
- package/studio/assets/dream-maker-BtqSS_iP.js +1 -0
- package/studio/assets/edge-CJaD-t2L.js +1 -0
- package/studio/assets/elixir-DkJLSxtU.js +1 -0
- package/studio/assets/elk.bundled-Bw5WzyyE.js +26 -0
- package/studio/assets/elm-DbKCFpqz.js +1 -0
- package/studio/assets/emacs-lisp-DaIrSCgJ.js +1 -0
- package/studio/assets/erb-CSMaCouu.js +1 -0
- package/studio/assets/erlang-DsQrWhSR.js +1 -0
- package/studio/assets/everforest-dark-BgDCqdQA.js +1 -0
- package/studio/assets/everforest-light-C8M2exoo.js +1 -0
- package/studio/assets/fennel-BYunw83y.js +1 -0
- package/studio/assets/fish-BvzEVeQv.js +1 -0
- package/studio/assets/fluent-C4IJs8-o.js +1 -0
- package/studio/assets/fortran-fixed-form-CkoXwp7k.js +1 -0
- package/studio/assets/fortran-free-form-BxgE0vQu.js +1 -0
- package/studio/assets/fsharp-CXgrBDvD.js +1 -0
- package/studio/assets/gdresource-TyuKm33G.js +1 -0
- package/studio/assets/gdscript-DqcFQ5yU.js +1 -0
- package/studio/assets/gdshader-DkwncUOv.js +1 -0
- package/studio/assets/genie-D0YGMca9.js +1 -0
- package/studio/assets/gherkin-DyxjwDmM.js +1 -0
- package/studio/assets/git-commit-F4YmCXRG.js +1 -0
- package/studio/assets/git-rebase-r7XF79zn.js +1 -0
- package/studio/assets/github-dark-DHJKELXO.js +1 -0
- package/studio/assets/github-dark-default-Cuk6v7N8.js +1 -0
- package/studio/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
- package/studio/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
- package/studio/assets/github-light-DAi9KRSo.js +1 -0
- package/studio/assets/github-light-default-D7oLnXFd.js +1 -0
- package/studio/assets/github-light-high-contrast-BfjtVDDH.js +1 -0
- package/studio/assets/gleam-BspZqrRM.js +1 -0
- package/studio/assets/glimmer-js-Drrc9bTt.js +1 -0
- package/studio/assets/glimmer-ts-zeybXsvi.js +1 -0
- package/studio/assets/glsl-DplSGwfg.js +1 -0
- package/studio/assets/gn-8iBmfbXw.js +1 -0
- package/studio/assets/gnuplot-DdkO51Og.js +1 -0
- package/studio/assets/go-C27-OAKa.js +1 -0
- package/studio/assets/graphql-ChdNCCLP.js +1 -0
- package/studio/assets/groovy-gcz8RCvz.js +1 -0
- package/studio/assets/gruvbox-dark-hard-CFHQjOhq.js +1 -0
- package/studio/assets/gruvbox-dark-medium-GsRaNv29.js +1 -0
- package/studio/assets/gruvbox-dark-soft-CVdnzihN.js +1 -0
- package/studio/assets/gruvbox-light-hard-CH1njM8p.js +1 -0
- package/studio/assets/gruvbox-light-medium-DRw_LuNl.js +1 -0
- package/studio/assets/gruvbox-light-soft-hJgmCMqR.js +1 -0
- package/studio/assets/hack-Ck6-gGSS.js +1 -0
- package/studio/assets/haml-GN_XdMnF.js +1 -0
- package/studio/assets/handlebars-DPT5vKgj.js +1 -0
- package/studio/assets/hanken-grotesk-latin-ext-wght-normal-Dg-wlmqe.woff2 +0 -0
- package/studio/assets/hanken-grotesk-latin-wght-normal-CaVRRdDk.woff2 +0 -0
- package/studio/assets/hanken-grotesk-vietnamese-wght-normal-CHiFlh_0.woff2 +0 -0
- package/studio/assets/haskell-Df6bDoY_.js +1 -0
- package/studio/assets/haxe-CfZj7gIn.js +1 -0
- package/studio/assets/hcl-BWvSN4gD.js +1 -0
- package/studio/assets/hjson-D5-asLiD.js +1 -0
- package/studio/assets/hlsl-D3lLCCz7.js +1 -0
- package/studio/assets/horizon-BUw7H-hv.js +1 -0
- package/studio/assets/horizon-bright-CUuTKBJd.js +1 -0
- package/studio/assets/houston-DnULxvSX.js +1 -0
- package/studio/assets/html-BlS82ilI.js +1 -0
- package/studio/assets/html-derivative-DZhk3IEZ.js +1 -0
- package/studio/assets/http-jrhK8wxY.js +1 -0
- package/studio/assets/hurl-irOxFIW8.js +1 -0
- package/studio/assets/hxml-2-FPmUDs.js +1 -0
- package/studio/assets/hy-DFXneXwc.js +1 -0
- package/studio/assets/imba-DGztddWO.js +1 -0
- package/studio/assets/index-B-C2JUUu.css +1 -0
- package/studio/assets/index-DOjop_HJ.js +889 -0
- package/studio/assets/ini-BEwlwnbL.js +1 -0
- package/studio/assets/java-CylS5w8V.js +1 -0
- package/studio/assets/javascript-wDzz0qaB.js +1 -0
- package/studio/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
- package/studio/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
- package/studio/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
- package/studio/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/studio/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
- package/studio/assets/jinja-DFQZVq3b.js +1 -0
- package/studio/assets/jison-wvAkD_A8.js +1 -0
- package/studio/assets/json-Cp-IABpG.js +1 -0
- package/studio/assets/json5-C9tS-k6U.js +1 -0
- package/studio/assets/jsonc-Des-eS-w.js +1 -0
- package/studio/assets/jsonl-DcaNXYhu.js +1 -0
- package/studio/assets/jsonnet-DFQXde-d.js +1 -0
- package/studio/assets/jssm-C2t-YnRu.js +1 -0
- package/studio/assets/jsx-g9-lgVsj.js +1 -0
- package/studio/assets/julia-Cu79e8SL.js +1 -0
- package/studio/assets/just-CMxyWJJc.js +1 -0
- package/studio/assets/kanagawa-dragon-BuwD2xS4.js +1 -0
- package/studio/assets/kanagawa-lotus-C3DzagqV.js +1 -0
- package/studio/assets/kanagawa-wave-DFGoQZhC.js +1 -0
- package/studio/assets/kdl-DV7GczEv.js +1 -0
- package/studio/assets/kotlin-BdnUsdx6.js +1 -0
- package/studio/assets/kusto-wEQ09or8.js +1 -0
- package/studio/assets/laserwave-DUszq2jm.js +1 -0
- package/studio/assets/latex-DJVikpzR.js +1 -0
- package/studio/assets/lean-BZvkOJ9d.js +1 -0
- package/studio/assets/less-B1dDrJ26.js +1 -0
- package/studio/assets/light-plus-B7mTdjB0.js +1 -0
- package/studio/assets/liquid-B-duXHXw.js +1 -0
- package/studio/assets/llvm-BZoOZj88.js +1 -0
- package/studio/assets/log-2UxHyX5q.js +1 -0
- package/studio/assets/logo-BtOb2qkB.js +1 -0
- package/studio/assets/lua-BaeVxFsk.js +1 -0
- package/studio/assets/luau-nOZpfvQi.js +1 -0
- package/studio/assets/make-CHLpvVh8.js +1 -0
- package/studio/assets/markdown-Cvjx9yec.js +1 -0
- package/studio/assets/marko-BYgDmDgU.js +1 -0
- package/studio/assets/material-theme-D5KoaKCx.js +1 -0
- package/studio/assets/material-theme-darker-BfHTSMKl.js +1 -0
- package/studio/assets/material-theme-lighter-B0m2ddpp.js +1 -0
- package/studio/assets/material-theme-ocean-CyktbL80.js +1 -0
- package/studio/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
- package/studio/assets/matlab-D7o27uSR.js +1 -0
- package/studio/assets/mdc-DF4WjDMn.js +1 -0
- package/studio/assets/mdx-Cmh6b_Ma.js +1 -0
- package/studio/assets/mermaid-CQcHuHx7.js +1 -0
- package/studio/assets/min-dark-CafNBF8u.js +1 -0
- package/studio/assets/min-light-CTRr51gU.js +1 -0
- package/studio/assets/mipsasm-CKIfxQSi.js +1 -0
- package/studio/assets/mojo-DJz3ZmWd.js +1 -0
- package/studio/assets/monokai-CR4piiQ-.js +1 -0
- package/studio/assets/moonbit-Bag4Rp_g.js +1 -0
- package/studio/assets/move-el3G9tDJ.js +1 -0
- package/studio/assets/narrat-DRg8JJMk.js +1 -0
- package/studio/assets/nextflow-BCxp2Aob.js +1 -0
- package/studio/assets/nextflow-groovy-CedDknKX.js +1 -0
- package/studio/assets/nginx-BpAMiNFr.js +1 -0
- package/studio/assets/night-owl-C39BiMTA.js +1 -0
- package/studio/assets/night-owl-light-CMTm3GFP.js +1 -0
- package/studio/assets/nim-nV83PyhX.js +1 -0
- package/studio/assets/nix-CwoSXNpI.js +1 -0
- package/studio/assets/nord-Ddv68eIx.js +1 -0
- package/studio/assets/nsis-BlV79W_Q.js +1 -0
- package/studio/assets/nushell-BXD5iret.js +1 -0
- package/studio/assets/objective-c-DXmwc3jG.js +1 -0
- package/studio/assets/objective-cpp-CLxacb5B.js +1 -0
- package/studio/assets/ocaml-C0hk2d4L.js +1 -0
- package/studio/assets/odin-BBf5iR-q.js +1 -0
- package/studio/assets/one-dark-pro-CxGP3dtY.js +1 -0
- package/studio/assets/one-light-C3Wv6jpd.js +1 -0
- package/studio/assets/openscad-C4EeE6gA.js +1 -0
- package/studio/assets/org-6a7ccXN_.js +1 -0
- package/studio/assets/pascal-D93ZcfNL.js +1 -0
- package/studio/assets/perl-5klg-GXX.js +1 -0
- package/studio/assets/php-DoruYMF0.js +1 -0
- package/studio/assets/pkl-u5AG7uiY.js +1 -0
- package/studio/assets/plastic-3e1v2bzS.js +1 -0
- package/studio/assets/plsql-ChMvpjG-.js +1 -0
- package/studio/assets/po-BTJTHyun.js +1 -0
- package/studio/assets/poimandres-CS3Unz2-.js +1 -0
- package/studio/assets/polar-C0HS_06l.js +1 -0
- package/studio/assets/postcss-CXtECtnM.js +1 -0
- package/studio/assets/powerquery-CEu0bR-o.js +1 -0
- package/studio/assets/powershell-Dd0kTxKP.js +1 -0
- package/studio/assets/prisma-Vru482bI.js +1 -0
- package/studio/assets/prolog-CbFg5uaA.js +1 -0
- package/studio/assets/proto-C7zT0LnQ.js +1 -0
- package/studio/assets/pug-BtYPkAgq.js +1 -0
- package/studio/assets/puppet-BMWR74SV.js +1 -0
- package/studio/assets/purescript-CklMAg4u.js +1 -0
- package/studio/assets/python-B6aJPvgy.js +1 -0
- package/studio/assets/qml-3beO22l8.js +1 -0
- package/studio/assets/qmldir-C8lEn-DE.js +1 -0
- package/studio/assets/qss-IeuSbFQv.js +1 -0
- package/studio/assets/r-Cf5RLm7j.js +1 -0
- package/studio/assets/racket-BqYA7rlc.js +1 -0
- package/studio/assets/raku-DXvB9xmW.js +1 -0
- package/studio/assets/razor-CyjPwjZj.js +1 -0
- package/studio/assets/rbs-CpoqiR4B.js +1 -0
- package/studio/assets/red-DMbB5_pp.js +1 -0
- package/studio/assets/reg-C-SQnVFl.js +1 -0
- package/studio/assets/regexp-CDVJQ6XC.js +1 -0
- package/studio/assets/rel-C3B-1QV4.js +1 -0
- package/studio/assets/riscv-BM1_JUlF.js +1 -0
- package/studio/assets/ron-D8l8udqQ.js +1 -0
- package/studio/assets/rose-pine-5qJOZa0Y.js +1 -0
- package/studio/assets/rose-pine-dawn-zx0QlTCp.js +1 -0
- package/studio/assets/rose-pine-moon-C9pEdX9L.js +1 -0
- package/studio/assets/rosmsg-BJDFO7_C.js +1 -0
- package/studio/assets/rst-CVOjT0e7.js +1 -0
- package/studio/assets/ruby-C8rp0wew.js +1 -0
- package/studio/assets/rust-DPvrY3IQ.js +1 -0
- package/studio/assets/sas-BGn39htG.js +1 -0
- package/studio/assets/sass-Cj5Yp3dK.js +1 -0
- package/studio/assets/scala-CqE71os6.js +1 -0
- package/studio/assets/scheme-C98Dy4si.js +1 -0
- package/studio/assets/scss-Cw6XMfVs.js +1 -0
- package/studio/assets/sdbl-DVxCFoDh.js +1 -0
- package/studio/assets/shaderlab-Dg9Lc6iA.js +1 -0
- package/studio/assets/shellscript-Yzrsuije.js +1 -0
- package/studio/assets/shellsession-BADoaaVG.js +1 -0
- package/studio/assets/slack-dark-BthQWCQV.js +1 -0
- package/studio/assets/slack-ochin-DqwNpetd.js +1 -0
- package/studio/assets/smalltalk-BOQMe2GC.js +1 -0
- package/studio/assets/smithy-cds9vsN8.js +1 -0
- package/studio/assets/snazzy-light-Bw305WKR.js +1 -0
- package/studio/assets/solarized-dark-UcubFVte.js +1 -0
- package/studio/assets/solarized-light-DCG28T6R.js +1 -0
- package/studio/assets/solidity-DijEV5ha.js +1 -0
- package/studio/assets/soy-zscZBeg6.js +1 -0
- package/studio/assets/sparql-rVzFXLq3.js +1 -0
- package/studio/assets/splunk-BtCnVYZw.js +1 -0
- package/studio/assets/sql-DkvoVjww.js +1 -0
- package/studio/assets/src-Br__iChL.js +88 -0
- package/studio/assets/ssh-config-_ykCGR6B.js +1 -0
- package/studio/assets/stata-DACIj5bg.js +1 -0
- package/studio/assets/stylus-BEDo0Tqx.js +1 -0
- package/studio/assets/surrealql-Cjom0U5J.js +1 -0
- package/studio/assets/svelte-D84K1R2Q.js +1 -0
- package/studio/assets/swift-C2oV4EkX.js +1 -0
- package/studio/assets/synthwave-84-CbfX1IO0.js +1 -0
- package/studio/assets/system-verilog-0hqHdDBg.js +1 -0
- package/studio/assets/systemd-4A_iFExJ.js +1 -0
- package/studio/assets/talonscript-CkByrt1z.js +1 -0
- package/studio/assets/tasl-QIJgUcNo.js +1 -0
- package/studio/assets/tcl-dwOrl1Do.js +1 -0
- package/studio/assets/templ-Vpw5XpSW.js +1 -0
- package/studio/assets/terraform-BETggiCN.js +1 -0
- package/studio/assets/tex-D96PA37w.js +1 -0
- package/studio/assets/tokyo-night-hegEt444.js +1 -0
- package/studio/assets/toml-vGWfd6FD.js +1 -0
- package/studio/assets/ts-tags-Ls60c9xG.js +1 -0
- package/studio/assets/tsv-B_m7g4N7.js +1 -0
- package/studio/assets/tsx-COt5Ahok.js +1 -0
- package/studio/assets/turtle-BsS91CYL.js +1 -0
- package/studio/assets/twig-D9-LOF2p.js +1 -0
- package/studio/assets/typescript-BPQ3VLAy.js +1 -0
- package/studio/assets/typespec-ClX509-Q.js +1 -0
- package/studio/assets/typst-DamkJZ1Q.js +1 -0
- package/studio/assets/v-BGw2Nkan.js +1 -0
- package/studio/assets/vala-CsfeWuGM.js +1 -0
- package/studio/assets/vb-Cu-pLBUe.js +1 -0
- package/studio/assets/verilog-nZwndyjY.js +1 -0
- package/studio/assets/vesper-DRje8inN.js +1 -0
- package/studio/assets/vhdl-CeAyd5Ju.js +1 -0
- package/studio/assets/viml-CJc9bBzg.js +1 -0
- package/studio/assets/vitesse-black-Bkuqu6BP.js +1 -0
- package/studio/assets/vitesse-dark-D0r3Knsf.js +1 -0
- package/studio/assets/vitesse-light-CVO1_9PV.js +1 -0
- package/studio/assets/vue-DSqPwMUe.js +1 -0
- package/studio/assets/vue-html-AaS7Mt5G.js +1 -0
- package/studio/assets/vue-vine-C0RcJ6UU.js +1 -0
- package/studio/assets/vyper-CDx5xZoG.js +1 -0
- package/studio/assets/wasm-Cey7Y6ql.js +1 -0
- package/studio/assets/wasm-MzD3tlZU.js +1 -0
- package/studio/assets/wenyan-BV7otONQ.js +1 -0
- package/studio/assets/wgsl-Dx-B1_4e.js +1 -0
- package/studio/assets/wikitext-BhOHFoWU.js +1 -0
- package/studio/assets/wit-5i3qLPDT.js +1 -0
- package/studio/assets/wolfram-lXgVvXCa.js +1 -0
- package/studio/assets/xml-sdJ4AIDG.js +1 -0
- package/studio/assets/xsl-CtQFsRM5.js +1 -0
- package/studio/assets/yaml-Buea-lGh.js +1 -0
- package/studio/assets/zenscript-DVFEvuxE.js +1 -0
- package/studio/assets/zig-VOosw3JB.js +1 -0
- package/studio/favicon.svg +7 -0
- package/studio/index.html +15 -0
package/dist/ops.d.ts
ADDED
|
@@ -0,0 +1,1575 @@
|
|
|
1
|
+
import * as _hattoriai_poney_core from '@hattoriai/poney-core';
|
|
2
|
+
import { CheckResult } from '@hattoriai/poney-core';
|
|
3
|
+
export { toJSON } from '@hattoriai/poney-core';
|
|
4
|
+
import * as zod from 'zod';
|
|
5
|
+
|
|
6
|
+
declare const EXTENSIONS: ({
|
|
7
|
+
readonly name: "ownership";
|
|
8
|
+
readonly version: "0.1.0";
|
|
9
|
+
readonly description: "Teams, who owns what, and how to reach them.";
|
|
10
|
+
readonly entityKinds: {
|
|
11
|
+
readonly team: {
|
|
12
|
+
readonly label: "Team";
|
|
13
|
+
readonly description: "A group of people who own and run parts of the system.";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
readonly facets: {
|
|
17
|
+
readonly entity: zod.ZodObject<{
|
|
18
|
+
team: zod.ZodOptional<zod.ZodString>;
|
|
19
|
+
oncall: zod.ZodOptional<zod.ZodString>;
|
|
20
|
+
channel: zod.ZodOptional<zod.ZodString>;
|
|
21
|
+
mission: zod.ZodOptional<zod.ZodString>;
|
|
22
|
+
}, "strict", zod.ZodTypeAny, {
|
|
23
|
+
team?: string | undefined;
|
|
24
|
+
oncall?: string | undefined;
|
|
25
|
+
channel?: string | undefined;
|
|
26
|
+
mission?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
team?: string | undefined;
|
|
29
|
+
oncall?: string | undefined;
|
|
30
|
+
channel?: string | undefined;
|
|
31
|
+
mission?: string | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
34
|
+
readonly views: {
|
|
35
|
+
readonly 'team-map': {
|
|
36
|
+
readonly label: "Team map";
|
|
37
|
+
readonly description: "Every team and the parts of the system it owns.";
|
|
38
|
+
readonly schema: zod.ZodObject<{
|
|
39
|
+
teams: zod.ZodArray<zod.ZodString, "many">;
|
|
40
|
+
showUnowned: zod.ZodDefault<zod.ZodBoolean>;
|
|
41
|
+
}, "strip", zod.ZodTypeAny, {
|
|
42
|
+
teams: string[];
|
|
43
|
+
showUnowned: boolean;
|
|
44
|
+
}, {
|
|
45
|
+
teams: string[];
|
|
46
|
+
showUnowned?: boolean | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
readonly validate: (doc: {
|
|
51
|
+
views: ({
|
|
52
|
+
type: "architecture";
|
|
53
|
+
id: string;
|
|
54
|
+
description: string;
|
|
55
|
+
ext: Record<string, unknown>;
|
|
56
|
+
entities: string[];
|
|
57
|
+
title: string;
|
|
58
|
+
category: string;
|
|
59
|
+
positions: Record<string, {
|
|
60
|
+
x: number;
|
|
61
|
+
y: number;
|
|
62
|
+
}>;
|
|
63
|
+
groups: {
|
|
64
|
+
id: string;
|
|
65
|
+
label: string;
|
|
66
|
+
members: string[];
|
|
67
|
+
description?: string | undefined;
|
|
68
|
+
}[];
|
|
69
|
+
collapsed: string[];
|
|
70
|
+
layout: {
|
|
71
|
+
direction: "right" | "down";
|
|
72
|
+
};
|
|
73
|
+
relationships?: string[] | undefined;
|
|
74
|
+
} | {
|
|
75
|
+
type: "map";
|
|
76
|
+
id: string;
|
|
77
|
+
description: string;
|
|
78
|
+
ext: Record<string, unknown>;
|
|
79
|
+
entities: string[];
|
|
80
|
+
title: string;
|
|
81
|
+
category: string;
|
|
82
|
+
positions: Record<string, {
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
}>;
|
|
86
|
+
collapsed: string[];
|
|
87
|
+
layout: {
|
|
88
|
+
direction: "right" | "down";
|
|
89
|
+
};
|
|
90
|
+
passThrough: string[];
|
|
91
|
+
relationships?: string[] | undefined;
|
|
92
|
+
} | {
|
|
93
|
+
type: "sequence";
|
|
94
|
+
id: string;
|
|
95
|
+
description: string;
|
|
96
|
+
ext: Record<string, unknown>;
|
|
97
|
+
interaction: string;
|
|
98
|
+
title: string;
|
|
99
|
+
category: string;
|
|
100
|
+
positions: Record<string, {
|
|
101
|
+
x: number;
|
|
102
|
+
y: number;
|
|
103
|
+
}>;
|
|
104
|
+
} | {
|
|
105
|
+
type: "dataflow";
|
|
106
|
+
id: string;
|
|
107
|
+
description: string;
|
|
108
|
+
ext: Record<string, unknown>;
|
|
109
|
+
flows: string[];
|
|
110
|
+
title: string;
|
|
111
|
+
category: string;
|
|
112
|
+
positions: Record<string, {
|
|
113
|
+
x: number;
|
|
114
|
+
y: number;
|
|
115
|
+
}>;
|
|
116
|
+
showControlFlow: boolean;
|
|
117
|
+
} | {
|
|
118
|
+
type: "activity";
|
|
119
|
+
id: string;
|
|
120
|
+
description: string;
|
|
121
|
+
ext: Record<string, unknown>;
|
|
122
|
+
process: string;
|
|
123
|
+
title: string;
|
|
124
|
+
category: string;
|
|
125
|
+
positions: Record<string, {
|
|
126
|
+
x: number;
|
|
127
|
+
y: number;
|
|
128
|
+
}>;
|
|
129
|
+
swimlanes: boolean;
|
|
130
|
+
} | {
|
|
131
|
+
type: "erd";
|
|
132
|
+
id: string;
|
|
133
|
+
description: string;
|
|
134
|
+
ext: Record<string, unknown>;
|
|
135
|
+
dataTypes: string[];
|
|
136
|
+
title: string;
|
|
137
|
+
category: string;
|
|
138
|
+
positions: Record<string, {
|
|
139
|
+
x: number;
|
|
140
|
+
y: number;
|
|
141
|
+
}>;
|
|
142
|
+
groupByStore: boolean;
|
|
143
|
+
fieldLimit: number;
|
|
144
|
+
} | {
|
|
145
|
+
type: "state";
|
|
146
|
+
id: string;
|
|
147
|
+
description: string;
|
|
148
|
+
ext: Record<string, unknown>;
|
|
149
|
+
title: string;
|
|
150
|
+
category: string;
|
|
151
|
+
positions: Record<string, {
|
|
152
|
+
x: number;
|
|
153
|
+
y: number;
|
|
154
|
+
}>;
|
|
155
|
+
stateMachine: string;
|
|
156
|
+
} | {
|
|
157
|
+
type: "usecase";
|
|
158
|
+
id: string;
|
|
159
|
+
description: string;
|
|
160
|
+
ext: Record<string, unknown>;
|
|
161
|
+
capabilities: string[];
|
|
162
|
+
title: string;
|
|
163
|
+
category: string;
|
|
164
|
+
positions: Record<string, {
|
|
165
|
+
x: number;
|
|
166
|
+
y: number;
|
|
167
|
+
}>;
|
|
168
|
+
} | {
|
|
169
|
+
type: "dependency";
|
|
170
|
+
id: string;
|
|
171
|
+
description: string;
|
|
172
|
+
ext: Record<string, unknown>;
|
|
173
|
+
entities: string[];
|
|
174
|
+
title: string;
|
|
175
|
+
category: string;
|
|
176
|
+
positions: Record<string, {
|
|
177
|
+
x: number;
|
|
178
|
+
y: number;
|
|
179
|
+
}>;
|
|
180
|
+
layers: {
|
|
181
|
+
id: string;
|
|
182
|
+
label: string;
|
|
183
|
+
members: string[];
|
|
184
|
+
description?: string | undefined;
|
|
185
|
+
}[];
|
|
186
|
+
relationships?: string[] | undefined;
|
|
187
|
+
} | {
|
|
188
|
+
type: "extension";
|
|
189
|
+
id: string;
|
|
190
|
+
description: string;
|
|
191
|
+
ext: Record<string, unknown>;
|
|
192
|
+
entities: string[];
|
|
193
|
+
title: string;
|
|
194
|
+
category: string;
|
|
195
|
+
positions: Record<string, {
|
|
196
|
+
x: number;
|
|
197
|
+
y: number;
|
|
198
|
+
}>;
|
|
199
|
+
extension: string;
|
|
200
|
+
data?: unknown;
|
|
201
|
+
})[];
|
|
202
|
+
walkthroughs: {
|
|
203
|
+
overview: string | undefined;
|
|
204
|
+
scenes: {
|
|
205
|
+
view: string | undefined;
|
|
206
|
+
code: {
|
|
207
|
+
hunks: {
|
|
208
|
+
lines: {
|
|
209
|
+
kind: "add" | "del" | "ctx";
|
|
210
|
+
text: string;
|
|
211
|
+
new?: number | undefined;
|
|
212
|
+
old?: number | undefined;
|
|
213
|
+
}[];
|
|
214
|
+
header?: string | undefined;
|
|
215
|
+
}[];
|
|
216
|
+
path: string;
|
|
217
|
+
notes: {
|
|
218
|
+
line: number;
|
|
219
|
+
text: string;
|
|
220
|
+
}[];
|
|
221
|
+
title?: string | undefined;
|
|
222
|
+
}[];
|
|
223
|
+
id: string;
|
|
224
|
+
title: string;
|
|
225
|
+
text: string;
|
|
226
|
+
risk: "look" | "routine";
|
|
227
|
+
focus: string[];
|
|
228
|
+
callouts: {
|
|
229
|
+
target: string;
|
|
230
|
+
text: string;
|
|
231
|
+
}[];
|
|
232
|
+
cases: {
|
|
233
|
+
when: string;
|
|
234
|
+
then: string;
|
|
235
|
+
note?: string | undefined;
|
|
236
|
+
}[];
|
|
237
|
+
proof: {
|
|
238
|
+
text: string;
|
|
239
|
+
missing: boolean;
|
|
240
|
+
source?: string | undefined;
|
|
241
|
+
test?: string | undefined;
|
|
242
|
+
}[];
|
|
243
|
+
questions: string[];
|
|
244
|
+
trace: {
|
|
245
|
+
ref: string;
|
|
246
|
+
caption?: string | undefined;
|
|
247
|
+
}[];
|
|
248
|
+
effects: {
|
|
249
|
+
target: string;
|
|
250
|
+
as: "flow" | "attention" | "hot-path" | "slow" | "failing" | "blocked";
|
|
251
|
+
tone?: string | undefined;
|
|
252
|
+
}[];
|
|
253
|
+
badges: {
|
|
254
|
+
target: string;
|
|
255
|
+
text: string;
|
|
256
|
+
tone?: string | undefined;
|
|
257
|
+
}[];
|
|
258
|
+
question?: string | undefined;
|
|
259
|
+
}[];
|
|
260
|
+
id: string;
|
|
261
|
+
kind: "change" | "tour";
|
|
262
|
+
summary: string;
|
|
263
|
+
title: string;
|
|
264
|
+
removed: {
|
|
265
|
+
entities: {
|
|
266
|
+
id: string;
|
|
267
|
+
name: string;
|
|
268
|
+
kind: string;
|
|
269
|
+
summary: string;
|
|
270
|
+
tags: string[];
|
|
271
|
+
sourceRefs: {
|
|
272
|
+
path: string;
|
|
273
|
+
symbol?: string | undefined;
|
|
274
|
+
repository?: string | undefined;
|
|
275
|
+
line?: number | undefined;
|
|
276
|
+
}[];
|
|
277
|
+
metadata: Record<string, string | number | boolean>;
|
|
278
|
+
ext: Record<string, unknown>;
|
|
279
|
+
description?: string | undefined;
|
|
280
|
+
parent?: string | undefined;
|
|
281
|
+
technology?: string | undefined;
|
|
282
|
+
}[];
|
|
283
|
+
relationships: {
|
|
284
|
+
id: string;
|
|
285
|
+
kind: string;
|
|
286
|
+
metadata: Record<string, string | number | boolean>;
|
|
287
|
+
ext: Record<string, unknown>;
|
|
288
|
+
source: string;
|
|
289
|
+
target: string;
|
|
290
|
+
label: string;
|
|
291
|
+
data: string[];
|
|
292
|
+
description?: string | undefined;
|
|
293
|
+
protocol?: string | undefined;
|
|
294
|
+
}[];
|
|
295
|
+
transitions: {
|
|
296
|
+
stateMachine: string;
|
|
297
|
+
transition: {
|
|
298
|
+
id: string;
|
|
299
|
+
event: string;
|
|
300
|
+
from: string;
|
|
301
|
+
to: string;
|
|
302
|
+
actions: string[];
|
|
303
|
+
description?: string | undefined;
|
|
304
|
+
guard?: string | undefined;
|
|
305
|
+
triggeredBy?: string | undefined;
|
|
306
|
+
};
|
|
307
|
+
}[];
|
|
308
|
+
};
|
|
309
|
+
story: {
|
|
310
|
+
text: string;
|
|
311
|
+
before?: string | undefined;
|
|
312
|
+
after?: string | undefined;
|
|
313
|
+
};
|
|
314
|
+
marks: {
|
|
315
|
+
state: "removed" | "new" | "changed";
|
|
316
|
+
ref: string;
|
|
317
|
+
note?: string | undefined;
|
|
318
|
+
}[];
|
|
319
|
+
source?: {
|
|
320
|
+
kind: string;
|
|
321
|
+
repository?: string | undefined;
|
|
322
|
+
ref?: string | undefined;
|
|
323
|
+
head?: string | undefined;
|
|
324
|
+
url?: string | undefined;
|
|
325
|
+
base?: string | undefined;
|
|
326
|
+
author?: string | undefined;
|
|
327
|
+
files?: number | undefined;
|
|
328
|
+
added?: number | undefined;
|
|
329
|
+
removed?: number | undefined;
|
|
330
|
+
} | undefined;
|
|
331
|
+
verdict?: {
|
|
332
|
+
risk: "look" | "routine";
|
|
333
|
+
facts: {
|
|
334
|
+
value: string;
|
|
335
|
+
label: string;
|
|
336
|
+
}[];
|
|
337
|
+
findings: {
|
|
338
|
+
text: string;
|
|
339
|
+
severity: "risk" | "note";
|
|
340
|
+
scene?: string | undefined;
|
|
341
|
+
}[];
|
|
342
|
+
} | undefined;
|
|
343
|
+
}[];
|
|
344
|
+
poneyVersion: "0.1.0";
|
|
345
|
+
project: {
|
|
346
|
+
id: string;
|
|
347
|
+
name: string;
|
|
348
|
+
description: string;
|
|
349
|
+
repository?: string | undefined;
|
|
350
|
+
defaultView?: string | undefined;
|
|
351
|
+
};
|
|
352
|
+
extensions: {
|
|
353
|
+
name: string;
|
|
354
|
+
version: string;
|
|
355
|
+
required: boolean;
|
|
356
|
+
}[];
|
|
357
|
+
model: {
|
|
358
|
+
entities: {
|
|
359
|
+
id: string;
|
|
360
|
+
name: string;
|
|
361
|
+
kind: string;
|
|
362
|
+
summary: string;
|
|
363
|
+
tags: string[];
|
|
364
|
+
sourceRefs: {
|
|
365
|
+
path: string;
|
|
366
|
+
symbol?: string | undefined;
|
|
367
|
+
repository?: string | undefined;
|
|
368
|
+
line?: number | undefined;
|
|
369
|
+
}[];
|
|
370
|
+
metadata: Record<string, string | number | boolean>;
|
|
371
|
+
ext: Record<string, unknown>;
|
|
372
|
+
description?: string | undefined;
|
|
373
|
+
parent?: string | undefined;
|
|
374
|
+
technology?: string | undefined;
|
|
375
|
+
}[];
|
|
376
|
+
relationships: {
|
|
377
|
+
id: string;
|
|
378
|
+
kind: string;
|
|
379
|
+
metadata: Record<string, string | number | boolean>;
|
|
380
|
+
ext: Record<string, unknown>;
|
|
381
|
+
source: string;
|
|
382
|
+
target: string;
|
|
383
|
+
label: string;
|
|
384
|
+
data: string[];
|
|
385
|
+
description?: string | undefined;
|
|
386
|
+
protocol?: string | undefined;
|
|
387
|
+
}[];
|
|
388
|
+
dataTypes: {
|
|
389
|
+
id: string;
|
|
390
|
+
name: string;
|
|
391
|
+
kind: "table" | "record" | "event" | "document";
|
|
392
|
+
summary: string;
|
|
393
|
+
sourceRefs: {
|
|
394
|
+
path: string;
|
|
395
|
+
symbol?: string | undefined;
|
|
396
|
+
repository?: string | undefined;
|
|
397
|
+
line?: number | undefined;
|
|
398
|
+
}[];
|
|
399
|
+
ext: Record<string, unknown>;
|
|
400
|
+
fields: {
|
|
401
|
+
type: string;
|
|
402
|
+
name: string;
|
|
403
|
+
primaryKey: boolean;
|
|
404
|
+
nullable: boolean;
|
|
405
|
+
unique: boolean;
|
|
406
|
+
description?: string | undefined;
|
|
407
|
+
references?: {
|
|
408
|
+
dataType: string;
|
|
409
|
+
field: string;
|
|
410
|
+
} | undefined;
|
|
411
|
+
}[];
|
|
412
|
+
description?: string | undefined;
|
|
413
|
+
ownedBy?: string | undefined;
|
|
414
|
+
storedIn?: string | undefined;
|
|
415
|
+
}[];
|
|
416
|
+
dataRelations: {
|
|
417
|
+
id: string;
|
|
418
|
+
label: string;
|
|
419
|
+
from: string;
|
|
420
|
+
to: string;
|
|
421
|
+
fromCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
|
|
422
|
+
toCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
|
|
423
|
+
logical: boolean;
|
|
424
|
+
via?: string | undefined;
|
|
425
|
+
}[];
|
|
426
|
+
dataFlows: {
|
|
427
|
+
id: string;
|
|
428
|
+
source: string;
|
|
429
|
+
target: string;
|
|
430
|
+
label: string;
|
|
431
|
+
data: string[];
|
|
432
|
+
description?: string | undefined;
|
|
433
|
+
via?: string | undefined;
|
|
434
|
+
}[];
|
|
435
|
+
behaviors: ({
|
|
436
|
+
id: string;
|
|
437
|
+
name: string;
|
|
438
|
+
kind: "interaction";
|
|
439
|
+
summary: string;
|
|
440
|
+
participants: string[];
|
|
441
|
+
steps: _hattoriai_poney_core.Step[];
|
|
442
|
+
description?: string | undefined;
|
|
443
|
+
} | {
|
|
444
|
+
id: string;
|
|
445
|
+
name: string;
|
|
446
|
+
kind: "process";
|
|
447
|
+
summary: string;
|
|
448
|
+
nodes: {
|
|
449
|
+
id: string;
|
|
450
|
+
kind: "join" | "start" | "end" | "action" | "decision" | "merge" | "fork";
|
|
451
|
+
label: string;
|
|
452
|
+
description?: string | undefined;
|
|
453
|
+
performedBy?: string | undefined;
|
|
454
|
+
outcome?: "success" | "failure" | undefined;
|
|
455
|
+
}[];
|
|
456
|
+
flows: {
|
|
457
|
+
id: string;
|
|
458
|
+
from: string;
|
|
459
|
+
to: string;
|
|
460
|
+
guard?: string | undefined;
|
|
461
|
+
}[];
|
|
462
|
+
description?: string | undefined;
|
|
463
|
+
} | {
|
|
464
|
+
id: string;
|
|
465
|
+
name: string;
|
|
466
|
+
kind: "state-machine";
|
|
467
|
+
summary: string;
|
|
468
|
+
states: {
|
|
469
|
+
id: string;
|
|
470
|
+
name: string;
|
|
471
|
+
kind: "initial" | "normal" | "final";
|
|
472
|
+
outcome: "success" | "failure" | "neutral";
|
|
473
|
+
entryActions: string[];
|
|
474
|
+
description?: string | undefined;
|
|
475
|
+
}[];
|
|
476
|
+
transitions: {
|
|
477
|
+
id: string;
|
|
478
|
+
event: string;
|
|
479
|
+
from: string;
|
|
480
|
+
to: string;
|
|
481
|
+
actions: string[];
|
|
482
|
+
description?: string | undefined;
|
|
483
|
+
guard?: string | undefined;
|
|
484
|
+
triggeredBy?: string | undefined;
|
|
485
|
+
}[];
|
|
486
|
+
description?: string | undefined;
|
|
487
|
+
subject?: string | undefined;
|
|
488
|
+
owner?: string | undefined;
|
|
489
|
+
})[];
|
|
490
|
+
capabilities: {
|
|
491
|
+
includes: string[];
|
|
492
|
+
id: string;
|
|
493
|
+
name: string;
|
|
494
|
+
summary: string;
|
|
495
|
+
ext: Record<string, unknown>;
|
|
496
|
+
behaviors: string[];
|
|
497
|
+
area: string;
|
|
498
|
+
actors: string[];
|
|
499
|
+
supporting: string[];
|
|
500
|
+
realizedBy: string[];
|
|
501
|
+
}[];
|
|
502
|
+
};
|
|
503
|
+
presentation: {
|
|
504
|
+
relationships: Record<string, {
|
|
505
|
+
head: "arrow" | "open-arrow" | "none" | "triangle";
|
|
506
|
+
pattern: "solid" | "dashed" | "dotted";
|
|
507
|
+
}>;
|
|
508
|
+
views: Record<string, Record<string, {
|
|
509
|
+
tone?: string | undefined;
|
|
510
|
+
icon?: string | undefined;
|
|
511
|
+
width?: number | undefined;
|
|
512
|
+
height?: number | undefined;
|
|
513
|
+
emphasis?: boolean | undefined;
|
|
514
|
+
}>>;
|
|
515
|
+
kinds: Record<string, {
|
|
516
|
+
label: string;
|
|
517
|
+
shape: "person" | "card" | "cylinder" | "stack" | "frame" | "chip";
|
|
518
|
+
tone: string;
|
|
519
|
+
icon: string;
|
|
520
|
+
}>;
|
|
521
|
+
elements: Record<string, {
|
|
522
|
+
tone?: string | undefined;
|
|
523
|
+
icon?: string | undefined;
|
|
524
|
+
width?: number | undefined;
|
|
525
|
+
height?: number | undefined;
|
|
526
|
+
emphasis?: boolean | undefined;
|
|
527
|
+
}>;
|
|
528
|
+
};
|
|
529
|
+
}, { index, report }: _hattoriai_poney_core.ExtensionContext) => void;
|
|
530
|
+
} | {
|
|
531
|
+
readonly name: "security";
|
|
532
|
+
readonly version: "0.1.0";
|
|
533
|
+
readonly description: "Trust zones, sensitive data, and how connections are protected.";
|
|
534
|
+
readonly entityKinds: {
|
|
535
|
+
readonly zone: {
|
|
536
|
+
readonly label: "Trust zone";
|
|
537
|
+
readonly description: "Where parts trust each other. A line between zones crosses a trust boundary.";
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
readonly facets: {
|
|
541
|
+
readonly entity: zod.ZodObject<{
|
|
542
|
+
zone: zod.ZodOptional<zod.ZodString>;
|
|
543
|
+
trust: zod.ZodOptional<zod.ZodEnum<["public", "internal", "restricted"]>>;
|
|
544
|
+
}, "strict", zod.ZodTypeAny, {
|
|
545
|
+
zone?: string | undefined;
|
|
546
|
+
trust?: "public" | "internal" | "restricted" | undefined;
|
|
547
|
+
}, {
|
|
548
|
+
zone?: string | undefined;
|
|
549
|
+
trust?: "public" | "internal" | "restricted" | undefined;
|
|
550
|
+
}>;
|
|
551
|
+
readonly dataType: zod.ZodObject<{
|
|
552
|
+
classes: zod.ZodArray<zod.ZodEnum<["personal", "secret", "payment", "health"]>, "many">;
|
|
553
|
+
}, "strict", zod.ZodTypeAny, {
|
|
554
|
+
classes: ("personal" | "secret" | "payment" | "health")[];
|
|
555
|
+
}, {
|
|
556
|
+
classes: ("personal" | "secret" | "payment" | "health")[];
|
|
557
|
+
}>;
|
|
558
|
+
readonly relationship: zod.ZodObject<{
|
|
559
|
+
encrypted: zod.ZodOptional<zod.ZodBoolean>;
|
|
560
|
+
auth: zod.ZodOptional<zod.ZodString>;
|
|
561
|
+
}, "strict", zod.ZodTypeAny, {
|
|
562
|
+
encrypted?: boolean | undefined;
|
|
563
|
+
auth?: string | undefined;
|
|
564
|
+
}, {
|
|
565
|
+
encrypted?: boolean | undefined;
|
|
566
|
+
auth?: string | undefined;
|
|
567
|
+
}>;
|
|
568
|
+
};
|
|
569
|
+
readonly validate: (doc: {
|
|
570
|
+
views: ({
|
|
571
|
+
type: "architecture";
|
|
572
|
+
id: string;
|
|
573
|
+
description: string;
|
|
574
|
+
ext: Record<string, unknown>;
|
|
575
|
+
entities: string[];
|
|
576
|
+
title: string;
|
|
577
|
+
category: string;
|
|
578
|
+
positions: Record<string, {
|
|
579
|
+
x: number;
|
|
580
|
+
y: number;
|
|
581
|
+
}>;
|
|
582
|
+
groups: {
|
|
583
|
+
id: string;
|
|
584
|
+
label: string;
|
|
585
|
+
members: string[];
|
|
586
|
+
description?: string | undefined;
|
|
587
|
+
}[];
|
|
588
|
+
collapsed: string[];
|
|
589
|
+
layout: {
|
|
590
|
+
direction: "right" | "down";
|
|
591
|
+
};
|
|
592
|
+
relationships?: string[] | undefined;
|
|
593
|
+
} | {
|
|
594
|
+
type: "map";
|
|
595
|
+
id: string;
|
|
596
|
+
description: string;
|
|
597
|
+
ext: Record<string, unknown>;
|
|
598
|
+
entities: string[];
|
|
599
|
+
title: string;
|
|
600
|
+
category: string;
|
|
601
|
+
positions: Record<string, {
|
|
602
|
+
x: number;
|
|
603
|
+
y: number;
|
|
604
|
+
}>;
|
|
605
|
+
collapsed: string[];
|
|
606
|
+
layout: {
|
|
607
|
+
direction: "right" | "down";
|
|
608
|
+
};
|
|
609
|
+
passThrough: string[];
|
|
610
|
+
relationships?: string[] | undefined;
|
|
611
|
+
} | {
|
|
612
|
+
type: "sequence";
|
|
613
|
+
id: string;
|
|
614
|
+
description: string;
|
|
615
|
+
ext: Record<string, unknown>;
|
|
616
|
+
interaction: string;
|
|
617
|
+
title: string;
|
|
618
|
+
category: string;
|
|
619
|
+
positions: Record<string, {
|
|
620
|
+
x: number;
|
|
621
|
+
y: number;
|
|
622
|
+
}>;
|
|
623
|
+
} | {
|
|
624
|
+
type: "dataflow";
|
|
625
|
+
id: string;
|
|
626
|
+
description: string;
|
|
627
|
+
ext: Record<string, unknown>;
|
|
628
|
+
flows: string[];
|
|
629
|
+
title: string;
|
|
630
|
+
category: string;
|
|
631
|
+
positions: Record<string, {
|
|
632
|
+
x: number;
|
|
633
|
+
y: number;
|
|
634
|
+
}>;
|
|
635
|
+
showControlFlow: boolean;
|
|
636
|
+
} | {
|
|
637
|
+
type: "activity";
|
|
638
|
+
id: string;
|
|
639
|
+
description: string;
|
|
640
|
+
ext: Record<string, unknown>;
|
|
641
|
+
process: string;
|
|
642
|
+
title: string;
|
|
643
|
+
category: string;
|
|
644
|
+
positions: Record<string, {
|
|
645
|
+
x: number;
|
|
646
|
+
y: number;
|
|
647
|
+
}>;
|
|
648
|
+
swimlanes: boolean;
|
|
649
|
+
} | {
|
|
650
|
+
type: "erd";
|
|
651
|
+
id: string;
|
|
652
|
+
description: string;
|
|
653
|
+
ext: Record<string, unknown>;
|
|
654
|
+
dataTypes: string[];
|
|
655
|
+
title: string;
|
|
656
|
+
category: string;
|
|
657
|
+
positions: Record<string, {
|
|
658
|
+
x: number;
|
|
659
|
+
y: number;
|
|
660
|
+
}>;
|
|
661
|
+
groupByStore: boolean;
|
|
662
|
+
fieldLimit: number;
|
|
663
|
+
} | {
|
|
664
|
+
type: "state";
|
|
665
|
+
id: string;
|
|
666
|
+
description: string;
|
|
667
|
+
ext: Record<string, unknown>;
|
|
668
|
+
title: string;
|
|
669
|
+
category: string;
|
|
670
|
+
positions: Record<string, {
|
|
671
|
+
x: number;
|
|
672
|
+
y: number;
|
|
673
|
+
}>;
|
|
674
|
+
stateMachine: string;
|
|
675
|
+
} | {
|
|
676
|
+
type: "usecase";
|
|
677
|
+
id: string;
|
|
678
|
+
description: string;
|
|
679
|
+
ext: Record<string, unknown>;
|
|
680
|
+
capabilities: string[];
|
|
681
|
+
title: string;
|
|
682
|
+
category: string;
|
|
683
|
+
positions: Record<string, {
|
|
684
|
+
x: number;
|
|
685
|
+
y: number;
|
|
686
|
+
}>;
|
|
687
|
+
} | {
|
|
688
|
+
type: "dependency";
|
|
689
|
+
id: string;
|
|
690
|
+
description: string;
|
|
691
|
+
ext: Record<string, unknown>;
|
|
692
|
+
entities: string[];
|
|
693
|
+
title: string;
|
|
694
|
+
category: string;
|
|
695
|
+
positions: Record<string, {
|
|
696
|
+
x: number;
|
|
697
|
+
y: number;
|
|
698
|
+
}>;
|
|
699
|
+
layers: {
|
|
700
|
+
id: string;
|
|
701
|
+
label: string;
|
|
702
|
+
members: string[];
|
|
703
|
+
description?: string | undefined;
|
|
704
|
+
}[];
|
|
705
|
+
relationships?: string[] | undefined;
|
|
706
|
+
} | {
|
|
707
|
+
type: "extension";
|
|
708
|
+
id: string;
|
|
709
|
+
description: string;
|
|
710
|
+
ext: Record<string, unknown>;
|
|
711
|
+
entities: string[];
|
|
712
|
+
title: string;
|
|
713
|
+
category: string;
|
|
714
|
+
positions: Record<string, {
|
|
715
|
+
x: number;
|
|
716
|
+
y: number;
|
|
717
|
+
}>;
|
|
718
|
+
extension: string;
|
|
719
|
+
data?: unknown;
|
|
720
|
+
})[];
|
|
721
|
+
walkthroughs: {
|
|
722
|
+
overview: string | undefined;
|
|
723
|
+
scenes: {
|
|
724
|
+
view: string | undefined;
|
|
725
|
+
code: {
|
|
726
|
+
hunks: {
|
|
727
|
+
lines: {
|
|
728
|
+
kind: "add" | "del" | "ctx";
|
|
729
|
+
text: string;
|
|
730
|
+
new?: number | undefined;
|
|
731
|
+
old?: number | undefined;
|
|
732
|
+
}[];
|
|
733
|
+
header?: string | undefined;
|
|
734
|
+
}[];
|
|
735
|
+
path: string;
|
|
736
|
+
notes: {
|
|
737
|
+
line: number;
|
|
738
|
+
text: string;
|
|
739
|
+
}[];
|
|
740
|
+
title?: string | undefined;
|
|
741
|
+
}[];
|
|
742
|
+
id: string;
|
|
743
|
+
title: string;
|
|
744
|
+
text: string;
|
|
745
|
+
risk: "look" | "routine";
|
|
746
|
+
focus: string[];
|
|
747
|
+
callouts: {
|
|
748
|
+
target: string;
|
|
749
|
+
text: string;
|
|
750
|
+
}[];
|
|
751
|
+
cases: {
|
|
752
|
+
when: string;
|
|
753
|
+
then: string;
|
|
754
|
+
note?: string | undefined;
|
|
755
|
+
}[];
|
|
756
|
+
proof: {
|
|
757
|
+
text: string;
|
|
758
|
+
missing: boolean;
|
|
759
|
+
source?: string | undefined;
|
|
760
|
+
test?: string | undefined;
|
|
761
|
+
}[];
|
|
762
|
+
questions: string[];
|
|
763
|
+
trace: {
|
|
764
|
+
ref: string;
|
|
765
|
+
caption?: string | undefined;
|
|
766
|
+
}[];
|
|
767
|
+
effects: {
|
|
768
|
+
target: string;
|
|
769
|
+
as: "flow" | "attention" | "hot-path" | "slow" | "failing" | "blocked";
|
|
770
|
+
tone?: string | undefined;
|
|
771
|
+
}[];
|
|
772
|
+
badges: {
|
|
773
|
+
target: string;
|
|
774
|
+
text: string;
|
|
775
|
+
tone?: string | undefined;
|
|
776
|
+
}[];
|
|
777
|
+
question?: string | undefined;
|
|
778
|
+
}[];
|
|
779
|
+
id: string;
|
|
780
|
+
kind: "change" | "tour";
|
|
781
|
+
summary: string;
|
|
782
|
+
title: string;
|
|
783
|
+
removed: {
|
|
784
|
+
entities: {
|
|
785
|
+
id: string;
|
|
786
|
+
name: string;
|
|
787
|
+
kind: string;
|
|
788
|
+
summary: string;
|
|
789
|
+
tags: string[];
|
|
790
|
+
sourceRefs: {
|
|
791
|
+
path: string;
|
|
792
|
+
symbol?: string | undefined;
|
|
793
|
+
repository?: string | undefined;
|
|
794
|
+
line?: number | undefined;
|
|
795
|
+
}[];
|
|
796
|
+
metadata: Record<string, string | number | boolean>;
|
|
797
|
+
ext: Record<string, unknown>;
|
|
798
|
+
description?: string | undefined;
|
|
799
|
+
parent?: string | undefined;
|
|
800
|
+
technology?: string | undefined;
|
|
801
|
+
}[];
|
|
802
|
+
relationships: {
|
|
803
|
+
id: string;
|
|
804
|
+
kind: string;
|
|
805
|
+
metadata: Record<string, string | number | boolean>;
|
|
806
|
+
ext: Record<string, unknown>;
|
|
807
|
+
source: string;
|
|
808
|
+
target: string;
|
|
809
|
+
label: string;
|
|
810
|
+
data: string[];
|
|
811
|
+
description?: string | undefined;
|
|
812
|
+
protocol?: string | undefined;
|
|
813
|
+
}[];
|
|
814
|
+
transitions: {
|
|
815
|
+
stateMachine: string;
|
|
816
|
+
transition: {
|
|
817
|
+
id: string;
|
|
818
|
+
event: string;
|
|
819
|
+
from: string;
|
|
820
|
+
to: string;
|
|
821
|
+
actions: string[];
|
|
822
|
+
description?: string | undefined;
|
|
823
|
+
guard?: string | undefined;
|
|
824
|
+
triggeredBy?: string | undefined;
|
|
825
|
+
};
|
|
826
|
+
}[];
|
|
827
|
+
};
|
|
828
|
+
story: {
|
|
829
|
+
text: string;
|
|
830
|
+
before?: string | undefined;
|
|
831
|
+
after?: string | undefined;
|
|
832
|
+
};
|
|
833
|
+
marks: {
|
|
834
|
+
state: "removed" | "new" | "changed";
|
|
835
|
+
ref: string;
|
|
836
|
+
note?: string | undefined;
|
|
837
|
+
}[];
|
|
838
|
+
source?: {
|
|
839
|
+
kind: string;
|
|
840
|
+
repository?: string | undefined;
|
|
841
|
+
ref?: string | undefined;
|
|
842
|
+
head?: string | undefined;
|
|
843
|
+
url?: string | undefined;
|
|
844
|
+
base?: string | undefined;
|
|
845
|
+
author?: string | undefined;
|
|
846
|
+
files?: number | undefined;
|
|
847
|
+
added?: number | undefined;
|
|
848
|
+
removed?: number | undefined;
|
|
849
|
+
} | undefined;
|
|
850
|
+
verdict?: {
|
|
851
|
+
risk: "look" | "routine";
|
|
852
|
+
facts: {
|
|
853
|
+
value: string;
|
|
854
|
+
label: string;
|
|
855
|
+
}[];
|
|
856
|
+
findings: {
|
|
857
|
+
text: string;
|
|
858
|
+
severity: "risk" | "note";
|
|
859
|
+
scene?: string | undefined;
|
|
860
|
+
}[];
|
|
861
|
+
} | undefined;
|
|
862
|
+
}[];
|
|
863
|
+
poneyVersion: "0.1.0";
|
|
864
|
+
project: {
|
|
865
|
+
id: string;
|
|
866
|
+
name: string;
|
|
867
|
+
description: string;
|
|
868
|
+
repository?: string | undefined;
|
|
869
|
+
defaultView?: string | undefined;
|
|
870
|
+
};
|
|
871
|
+
extensions: {
|
|
872
|
+
name: string;
|
|
873
|
+
version: string;
|
|
874
|
+
required: boolean;
|
|
875
|
+
}[];
|
|
876
|
+
model: {
|
|
877
|
+
entities: {
|
|
878
|
+
id: string;
|
|
879
|
+
name: string;
|
|
880
|
+
kind: string;
|
|
881
|
+
summary: string;
|
|
882
|
+
tags: string[];
|
|
883
|
+
sourceRefs: {
|
|
884
|
+
path: string;
|
|
885
|
+
symbol?: string | undefined;
|
|
886
|
+
repository?: string | undefined;
|
|
887
|
+
line?: number | undefined;
|
|
888
|
+
}[];
|
|
889
|
+
metadata: Record<string, string | number | boolean>;
|
|
890
|
+
ext: Record<string, unknown>;
|
|
891
|
+
description?: string | undefined;
|
|
892
|
+
parent?: string | undefined;
|
|
893
|
+
technology?: string | undefined;
|
|
894
|
+
}[];
|
|
895
|
+
relationships: {
|
|
896
|
+
id: string;
|
|
897
|
+
kind: string;
|
|
898
|
+
metadata: Record<string, string | number | boolean>;
|
|
899
|
+
ext: Record<string, unknown>;
|
|
900
|
+
source: string;
|
|
901
|
+
target: string;
|
|
902
|
+
label: string;
|
|
903
|
+
data: string[];
|
|
904
|
+
description?: string | undefined;
|
|
905
|
+
protocol?: string | undefined;
|
|
906
|
+
}[];
|
|
907
|
+
dataTypes: {
|
|
908
|
+
id: string;
|
|
909
|
+
name: string;
|
|
910
|
+
kind: "table" | "record" | "event" | "document";
|
|
911
|
+
summary: string;
|
|
912
|
+
sourceRefs: {
|
|
913
|
+
path: string;
|
|
914
|
+
symbol?: string | undefined;
|
|
915
|
+
repository?: string | undefined;
|
|
916
|
+
line?: number | undefined;
|
|
917
|
+
}[];
|
|
918
|
+
ext: Record<string, unknown>;
|
|
919
|
+
fields: {
|
|
920
|
+
type: string;
|
|
921
|
+
name: string;
|
|
922
|
+
primaryKey: boolean;
|
|
923
|
+
nullable: boolean;
|
|
924
|
+
unique: boolean;
|
|
925
|
+
description?: string | undefined;
|
|
926
|
+
references?: {
|
|
927
|
+
dataType: string;
|
|
928
|
+
field: string;
|
|
929
|
+
} | undefined;
|
|
930
|
+
}[];
|
|
931
|
+
description?: string | undefined;
|
|
932
|
+
ownedBy?: string | undefined;
|
|
933
|
+
storedIn?: string | undefined;
|
|
934
|
+
}[];
|
|
935
|
+
dataRelations: {
|
|
936
|
+
id: string;
|
|
937
|
+
label: string;
|
|
938
|
+
from: string;
|
|
939
|
+
to: string;
|
|
940
|
+
fromCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
|
|
941
|
+
toCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
|
|
942
|
+
logical: boolean;
|
|
943
|
+
via?: string | undefined;
|
|
944
|
+
}[];
|
|
945
|
+
dataFlows: {
|
|
946
|
+
id: string;
|
|
947
|
+
source: string;
|
|
948
|
+
target: string;
|
|
949
|
+
label: string;
|
|
950
|
+
data: string[];
|
|
951
|
+
description?: string | undefined;
|
|
952
|
+
via?: string | undefined;
|
|
953
|
+
}[];
|
|
954
|
+
behaviors: ({
|
|
955
|
+
id: string;
|
|
956
|
+
name: string;
|
|
957
|
+
kind: "interaction";
|
|
958
|
+
summary: string;
|
|
959
|
+
participants: string[];
|
|
960
|
+
steps: _hattoriai_poney_core.Step[];
|
|
961
|
+
description?: string | undefined;
|
|
962
|
+
} | {
|
|
963
|
+
id: string;
|
|
964
|
+
name: string;
|
|
965
|
+
kind: "process";
|
|
966
|
+
summary: string;
|
|
967
|
+
nodes: {
|
|
968
|
+
id: string;
|
|
969
|
+
kind: "join" | "start" | "end" | "action" | "decision" | "merge" | "fork";
|
|
970
|
+
label: string;
|
|
971
|
+
description?: string | undefined;
|
|
972
|
+
performedBy?: string | undefined;
|
|
973
|
+
outcome?: "success" | "failure" | undefined;
|
|
974
|
+
}[];
|
|
975
|
+
flows: {
|
|
976
|
+
id: string;
|
|
977
|
+
from: string;
|
|
978
|
+
to: string;
|
|
979
|
+
guard?: string | undefined;
|
|
980
|
+
}[];
|
|
981
|
+
description?: string | undefined;
|
|
982
|
+
} | {
|
|
983
|
+
id: string;
|
|
984
|
+
name: string;
|
|
985
|
+
kind: "state-machine";
|
|
986
|
+
summary: string;
|
|
987
|
+
states: {
|
|
988
|
+
id: string;
|
|
989
|
+
name: string;
|
|
990
|
+
kind: "initial" | "normal" | "final";
|
|
991
|
+
outcome: "success" | "failure" | "neutral";
|
|
992
|
+
entryActions: string[];
|
|
993
|
+
description?: string | undefined;
|
|
994
|
+
}[];
|
|
995
|
+
transitions: {
|
|
996
|
+
id: string;
|
|
997
|
+
event: string;
|
|
998
|
+
from: string;
|
|
999
|
+
to: string;
|
|
1000
|
+
actions: string[];
|
|
1001
|
+
description?: string | undefined;
|
|
1002
|
+
guard?: string | undefined;
|
|
1003
|
+
triggeredBy?: string | undefined;
|
|
1004
|
+
}[];
|
|
1005
|
+
description?: string | undefined;
|
|
1006
|
+
subject?: string | undefined;
|
|
1007
|
+
owner?: string | undefined;
|
|
1008
|
+
})[];
|
|
1009
|
+
capabilities: {
|
|
1010
|
+
includes: string[];
|
|
1011
|
+
id: string;
|
|
1012
|
+
name: string;
|
|
1013
|
+
summary: string;
|
|
1014
|
+
ext: Record<string, unknown>;
|
|
1015
|
+
behaviors: string[];
|
|
1016
|
+
area: string;
|
|
1017
|
+
actors: string[];
|
|
1018
|
+
supporting: string[];
|
|
1019
|
+
realizedBy: string[];
|
|
1020
|
+
}[];
|
|
1021
|
+
};
|
|
1022
|
+
presentation: {
|
|
1023
|
+
relationships: Record<string, {
|
|
1024
|
+
head: "arrow" | "open-arrow" | "none" | "triangle";
|
|
1025
|
+
pattern: "solid" | "dashed" | "dotted";
|
|
1026
|
+
}>;
|
|
1027
|
+
views: Record<string, Record<string, {
|
|
1028
|
+
tone?: string | undefined;
|
|
1029
|
+
icon?: string | undefined;
|
|
1030
|
+
width?: number | undefined;
|
|
1031
|
+
height?: number | undefined;
|
|
1032
|
+
emphasis?: boolean | undefined;
|
|
1033
|
+
}>>;
|
|
1034
|
+
kinds: Record<string, {
|
|
1035
|
+
label: string;
|
|
1036
|
+
shape: "person" | "card" | "cylinder" | "stack" | "frame" | "chip";
|
|
1037
|
+
tone: string;
|
|
1038
|
+
icon: string;
|
|
1039
|
+
}>;
|
|
1040
|
+
elements: Record<string, {
|
|
1041
|
+
tone?: string | undefined;
|
|
1042
|
+
icon?: string | undefined;
|
|
1043
|
+
width?: number | undefined;
|
|
1044
|
+
height?: number | undefined;
|
|
1045
|
+
emphasis?: boolean | undefined;
|
|
1046
|
+
}>;
|
|
1047
|
+
};
|
|
1048
|
+
}, { index, report }: _hattoriai_poney_core.ExtensionContext) => void;
|
|
1049
|
+
readonly lint: (doc: {
|
|
1050
|
+
views: ({
|
|
1051
|
+
type: "architecture";
|
|
1052
|
+
id: string;
|
|
1053
|
+
description: string;
|
|
1054
|
+
ext: Record<string, unknown>;
|
|
1055
|
+
entities: string[];
|
|
1056
|
+
title: string;
|
|
1057
|
+
category: string;
|
|
1058
|
+
positions: Record<string, {
|
|
1059
|
+
x: number;
|
|
1060
|
+
y: number;
|
|
1061
|
+
}>;
|
|
1062
|
+
groups: {
|
|
1063
|
+
id: string;
|
|
1064
|
+
label: string;
|
|
1065
|
+
members: string[];
|
|
1066
|
+
description?: string | undefined;
|
|
1067
|
+
}[];
|
|
1068
|
+
collapsed: string[];
|
|
1069
|
+
layout: {
|
|
1070
|
+
direction: "right" | "down";
|
|
1071
|
+
};
|
|
1072
|
+
relationships?: string[] | undefined;
|
|
1073
|
+
} | {
|
|
1074
|
+
type: "map";
|
|
1075
|
+
id: string;
|
|
1076
|
+
description: string;
|
|
1077
|
+
ext: Record<string, unknown>;
|
|
1078
|
+
entities: string[];
|
|
1079
|
+
title: string;
|
|
1080
|
+
category: string;
|
|
1081
|
+
positions: Record<string, {
|
|
1082
|
+
x: number;
|
|
1083
|
+
y: number;
|
|
1084
|
+
}>;
|
|
1085
|
+
collapsed: string[];
|
|
1086
|
+
layout: {
|
|
1087
|
+
direction: "right" | "down";
|
|
1088
|
+
};
|
|
1089
|
+
passThrough: string[];
|
|
1090
|
+
relationships?: string[] | undefined;
|
|
1091
|
+
} | {
|
|
1092
|
+
type: "sequence";
|
|
1093
|
+
id: string;
|
|
1094
|
+
description: string;
|
|
1095
|
+
ext: Record<string, unknown>;
|
|
1096
|
+
interaction: string;
|
|
1097
|
+
title: string;
|
|
1098
|
+
category: string;
|
|
1099
|
+
positions: Record<string, {
|
|
1100
|
+
x: number;
|
|
1101
|
+
y: number;
|
|
1102
|
+
}>;
|
|
1103
|
+
} | {
|
|
1104
|
+
type: "dataflow";
|
|
1105
|
+
id: string;
|
|
1106
|
+
description: string;
|
|
1107
|
+
ext: Record<string, unknown>;
|
|
1108
|
+
flows: string[];
|
|
1109
|
+
title: string;
|
|
1110
|
+
category: string;
|
|
1111
|
+
positions: Record<string, {
|
|
1112
|
+
x: number;
|
|
1113
|
+
y: number;
|
|
1114
|
+
}>;
|
|
1115
|
+
showControlFlow: boolean;
|
|
1116
|
+
} | {
|
|
1117
|
+
type: "activity";
|
|
1118
|
+
id: string;
|
|
1119
|
+
description: string;
|
|
1120
|
+
ext: Record<string, unknown>;
|
|
1121
|
+
process: string;
|
|
1122
|
+
title: string;
|
|
1123
|
+
category: string;
|
|
1124
|
+
positions: Record<string, {
|
|
1125
|
+
x: number;
|
|
1126
|
+
y: number;
|
|
1127
|
+
}>;
|
|
1128
|
+
swimlanes: boolean;
|
|
1129
|
+
} | {
|
|
1130
|
+
type: "erd";
|
|
1131
|
+
id: string;
|
|
1132
|
+
description: string;
|
|
1133
|
+
ext: Record<string, unknown>;
|
|
1134
|
+
dataTypes: string[];
|
|
1135
|
+
title: string;
|
|
1136
|
+
category: string;
|
|
1137
|
+
positions: Record<string, {
|
|
1138
|
+
x: number;
|
|
1139
|
+
y: number;
|
|
1140
|
+
}>;
|
|
1141
|
+
groupByStore: boolean;
|
|
1142
|
+
fieldLimit: number;
|
|
1143
|
+
} | {
|
|
1144
|
+
type: "state";
|
|
1145
|
+
id: string;
|
|
1146
|
+
description: string;
|
|
1147
|
+
ext: Record<string, unknown>;
|
|
1148
|
+
title: string;
|
|
1149
|
+
category: string;
|
|
1150
|
+
positions: Record<string, {
|
|
1151
|
+
x: number;
|
|
1152
|
+
y: number;
|
|
1153
|
+
}>;
|
|
1154
|
+
stateMachine: string;
|
|
1155
|
+
} | {
|
|
1156
|
+
type: "usecase";
|
|
1157
|
+
id: string;
|
|
1158
|
+
description: string;
|
|
1159
|
+
ext: Record<string, unknown>;
|
|
1160
|
+
capabilities: string[];
|
|
1161
|
+
title: string;
|
|
1162
|
+
category: string;
|
|
1163
|
+
positions: Record<string, {
|
|
1164
|
+
x: number;
|
|
1165
|
+
y: number;
|
|
1166
|
+
}>;
|
|
1167
|
+
} | {
|
|
1168
|
+
type: "dependency";
|
|
1169
|
+
id: string;
|
|
1170
|
+
description: string;
|
|
1171
|
+
ext: Record<string, unknown>;
|
|
1172
|
+
entities: string[];
|
|
1173
|
+
title: string;
|
|
1174
|
+
category: string;
|
|
1175
|
+
positions: Record<string, {
|
|
1176
|
+
x: number;
|
|
1177
|
+
y: number;
|
|
1178
|
+
}>;
|
|
1179
|
+
layers: {
|
|
1180
|
+
id: string;
|
|
1181
|
+
label: string;
|
|
1182
|
+
members: string[];
|
|
1183
|
+
description?: string | undefined;
|
|
1184
|
+
}[];
|
|
1185
|
+
relationships?: string[] | undefined;
|
|
1186
|
+
} | {
|
|
1187
|
+
type: "extension";
|
|
1188
|
+
id: string;
|
|
1189
|
+
description: string;
|
|
1190
|
+
ext: Record<string, unknown>;
|
|
1191
|
+
entities: string[];
|
|
1192
|
+
title: string;
|
|
1193
|
+
category: string;
|
|
1194
|
+
positions: Record<string, {
|
|
1195
|
+
x: number;
|
|
1196
|
+
y: number;
|
|
1197
|
+
}>;
|
|
1198
|
+
extension: string;
|
|
1199
|
+
data?: unknown;
|
|
1200
|
+
})[];
|
|
1201
|
+
walkthroughs: {
|
|
1202
|
+
overview: string | undefined;
|
|
1203
|
+
scenes: {
|
|
1204
|
+
view: string | undefined;
|
|
1205
|
+
code: {
|
|
1206
|
+
hunks: {
|
|
1207
|
+
lines: {
|
|
1208
|
+
kind: "add" | "del" | "ctx";
|
|
1209
|
+
text: string;
|
|
1210
|
+
new?: number | undefined;
|
|
1211
|
+
old?: number | undefined;
|
|
1212
|
+
}[];
|
|
1213
|
+
header?: string | undefined;
|
|
1214
|
+
}[];
|
|
1215
|
+
path: string;
|
|
1216
|
+
notes: {
|
|
1217
|
+
line: number;
|
|
1218
|
+
text: string;
|
|
1219
|
+
}[];
|
|
1220
|
+
title?: string | undefined;
|
|
1221
|
+
}[];
|
|
1222
|
+
id: string;
|
|
1223
|
+
title: string;
|
|
1224
|
+
text: string;
|
|
1225
|
+
risk: "look" | "routine";
|
|
1226
|
+
focus: string[];
|
|
1227
|
+
callouts: {
|
|
1228
|
+
target: string;
|
|
1229
|
+
text: string;
|
|
1230
|
+
}[];
|
|
1231
|
+
cases: {
|
|
1232
|
+
when: string;
|
|
1233
|
+
then: string;
|
|
1234
|
+
note?: string | undefined;
|
|
1235
|
+
}[];
|
|
1236
|
+
proof: {
|
|
1237
|
+
text: string;
|
|
1238
|
+
missing: boolean;
|
|
1239
|
+
source?: string | undefined;
|
|
1240
|
+
test?: string | undefined;
|
|
1241
|
+
}[];
|
|
1242
|
+
questions: string[];
|
|
1243
|
+
trace: {
|
|
1244
|
+
ref: string;
|
|
1245
|
+
caption?: string | undefined;
|
|
1246
|
+
}[];
|
|
1247
|
+
effects: {
|
|
1248
|
+
target: string;
|
|
1249
|
+
as: "flow" | "attention" | "hot-path" | "slow" | "failing" | "blocked";
|
|
1250
|
+
tone?: string | undefined;
|
|
1251
|
+
}[];
|
|
1252
|
+
badges: {
|
|
1253
|
+
target: string;
|
|
1254
|
+
text: string;
|
|
1255
|
+
tone?: string | undefined;
|
|
1256
|
+
}[];
|
|
1257
|
+
question?: string | undefined;
|
|
1258
|
+
}[];
|
|
1259
|
+
id: string;
|
|
1260
|
+
kind: "change" | "tour";
|
|
1261
|
+
summary: string;
|
|
1262
|
+
title: string;
|
|
1263
|
+
removed: {
|
|
1264
|
+
entities: {
|
|
1265
|
+
id: string;
|
|
1266
|
+
name: string;
|
|
1267
|
+
kind: string;
|
|
1268
|
+
summary: string;
|
|
1269
|
+
tags: string[];
|
|
1270
|
+
sourceRefs: {
|
|
1271
|
+
path: string;
|
|
1272
|
+
symbol?: string | undefined;
|
|
1273
|
+
repository?: string | undefined;
|
|
1274
|
+
line?: number | undefined;
|
|
1275
|
+
}[];
|
|
1276
|
+
metadata: Record<string, string | number | boolean>;
|
|
1277
|
+
ext: Record<string, unknown>;
|
|
1278
|
+
description?: string | undefined;
|
|
1279
|
+
parent?: string | undefined;
|
|
1280
|
+
technology?: string | undefined;
|
|
1281
|
+
}[];
|
|
1282
|
+
relationships: {
|
|
1283
|
+
id: string;
|
|
1284
|
+
kind: string;
|
|
1285
|
+
metadata: Record<string, string | number | boolean>;
|
|
1286
|
+
ext: Record<string, unknown>;
|
|
1287
|
+
source: string;
|
|
1288
|
+
target: string;
|
|
1289
|
+
label: string;
|
|
1290
|
+
data: string[];
|
|
1291
|
+
description?: string | undefined;
|
|
1292
|
+
protocol?: string | undefined;
|
|
1293
|
+
}[];
|
|
1294
|
+
transitions: {
|
|
1295
|
+
stateMachine: string;
|
|
1296
|
+
transition: {
|
|
1297
|
+
id: string;
|
|
1298
|
+
event: string;
|
|
1299
|
+
from: string;
|
|
1300
|
+
to: string;
|
|
1301
|
+
actions: string[];
|
|
1302
|
+
description?: string | undefined;
|
|
1303
|
+
guard?: string | undefined;
|
|
1304
|
+
triggeredBy?: string | undefined;
|
|
1305
|
+
};
|
|
1306
|
+
}[];
|
|
1307
|
+
};
|
|
1308
|
+
story: {
|
|
1309
|
+
text: string;
|
|
1310
|
+
before?: string | undefined;
|
|
1311
|
+
after?: string | undefined;
|
|
1312
|
+
};
|
|
1313
|
+
marks: {
|
|
1314
|
+
state: "removed" | "new" | "changed";
|
|
1315
|
+
ref: string;
|
|
1316
|
+
note?: string | undefined;
|
|
1317
|
+
}[];
|
|
1318
|
+
source?: {
|
|
1319
|
+
kind: string;
|
|
1320
|
+
repository?: string | undefined;
|
|
1321
|
+
ref?: string | undefined;
|
|
1322
|
+
head?: string | undefined;
|
|
1323
|
+
url?: string | undefined;
|
|
1324
|
+
base?: string | undefined;
|
|
1325
|
+
author?: string | undefined;
|
|
1326
|
+
files?: number | undefined;
|
|
1327
|
+
added?: number | undefined;
|
|
1328
|
+
removed?: number | undefined;
|
|
1329
|
+
} | undefined;
|
|
1330
|
+
verdict?: {
|
|
1331
|
+
risk: "look" | "routine";
|
|
1332
|
+
facts: {
|
|
1333
|
+
value: string;
|
|
1334
|
+
label: string;
|
|
1335
|
+
}[];
|
|
1336
|
+
findings: {
|
|
1337
|
+
text: string;
|
|
1338
|
+
severity: "risk" | "note";
|
|
1339
|
+
scene?: string | undefined;
|
|
1340
|
+
}[];
|
|
1341
|
+
} | undefined;
|
|
1342
|
+
}[];
|
|
1343
|
+
poneyVersion: "0.1.0";
|
|
1344
|
+
project: {
|
|
1345
|
+
id: string;
|
|
1346
|
+
name: string;
|
|
1347
|
+
description: string;
|
|
1348
|
+
repository?: string | undefined;
|
|
1349
|
+
defaultView?: string | undefined;
|
|
1350
|
+
};
|
|
1351
|
+
extensions: {
|
|
1352
|
+
name: string;
|
|
1353
|
+
version: string;
|
|
1354
|
+
required: boolean;
|
|
1355
|
+
}[];
|
|
1356
|
+
model: {
|
|
1357
|
+
entities: {
|
|
1358
|
+
id: string;
|
|
1359
|
+
name: string;
|
|
1360
|
+
kind: string;
|
|
1361
|
+
summary: string;
|
|
1362
|
+
tags: string[];
|
|
1363
|
+
sourceRefs: {
|
|
1364
|
+
path: string;
|
|
1365
|
+
symbol?: string | undefined;
|
|
1366
|
+
repository?: string | undefined;
|
|
1367
|
+
line?: number | undefined;
|
|
1368
|
+
}[];
|
|
1369
|
+
metadata: Record<string, string | number | boolean>;
|
|
1370
|
+
ext: Record<string, unknown>;
|
|
1371
|
+
description?: string | undefined;
|
|
1372
|
+
parent?: string | undefined;
|
|
1373
|
+
technology?: string | undefined;
|
|
1374
|
+
}[];
|
|
1375
|
+
relationships: {
|
|
1376
|
+
id: string;
|
|
1377
|
+
kind: string;
|
|
1378
|
+
metadata: Record<string, string | number | boolean>;
|
|
1379
|
+
ext: Record<string, unknown>;
|
|
1380
|
+
source: string;
|
|
1381
|
+
target: string;
|
|
1382
|
+
label: string;
|
|
1383
|
+
data: string[];
|
|
1384
|
+
description?: string | undefined;
|
|
1385
|
+
protocol?: string | undefined;
|
|
1386
|
+
}[];
|
|
1387
|
+
dataTypes: {
|
|
1388
|
+
id: string;
|
|
1389
|
+
name: string;
|
|
1390
|
+
kind: "table" | "record" | "event" | "document";
|
|
1391
|
+
summary: string;
|
|
1392
|
+
sourceRefs: {
|
|
1393
|
+
path: string;
|
|
1394
|
+
symbol?: string | undefined;
|
|
1395
|
+
repository?: string | undefined;
|
|
1396
|
+
line?: number | undefined;
|
|
1397
|
+
}[];
|
|
1398
|
+
ext: Record<string, unknown>;
|
|
1399
|
+
fields: {
|
|
1400
|
+
type: string;
|
|
1401
|
+
name: string;
|
|
1402
|
+
primaryKey: boolean;
|
|
1403
|
+
nullable: boolean;
|
|
1404
|
+
unique: boolean;
|
|
1405
|
+
description?: string | undefined;
|
|
1406
|
+
references?: {
|
|
1407
|
+
dataType: string;
|
|
1408
|
+
field: string;
|
|
1409
|
+
} | undefined;
|
|
1410
|
+
}[];
|
|
1411
|
+
description?: string | undefined;
|
|
1412
|
+
ownedBy?: string | undefined;
|
|
1413
|
+
storedIn?: string | undefined;
|
|
1414
|
+
}[];
|
|
1415
|
+
dataRelations: {
|
|
1416
|
+
id: string;
|
|
1417
|
+
label: string;
|
|
1418
|
+
from: string;
|
|
1419
|
+
to: string;
|
|
1420
|
+
fromCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
|
|
1421
|
+
toCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
|
|
1422
|
+
logical: boolean;
|
|
1423
|
+
via?: string | undefined;
|
|
1424
|
+
}[];
|
|
1425
|
+
dataFlows: {
|
|
1426
|
+
id: string;
|
|
1427
|
+
source: string;
|
|
1428
|
+
target: string;
|
|
1429
|
+
label: string;
|
|
1430
|
+
data: string[];
|
|
1431
|
+
description?: string | undefined;
|
|
1432
|
+
via?: string | undefined;
|
|
1433
|
+
}[];
|
|
1434
|
+
behaviors: ({
|
|
1435
|
+
id: string;
|
|
1436
|
+
name: string;
|
|
1437
|
+
kind: "interaction";
|
|
1438
|
+
summary: string;
|
|
1439
|
+
participants: string[];
|
|
1440
|
+
steps: _hattoriai_poney_core.Step[];
|
|
1441
|
+
description?: string | undefined;
|
|
1442
|
+
} | {
|
|
1443
|
+
id: string;
|
|
1444
|
+
name: string;
|
|
1445
|
+
kind: "process";
|
|
1446
|
+
summary: string;
|
|
1447
|
+
nodes: {
|
|
1448
|
+
id: string;
|
|
1449
|
+
kind: "join" | "start" | "end" | "action" | "decision" | "merge" | "fork";
|
|
1450
|
+
label: string;
|
|
1451
|
+
description?: string | undefined;
|
|
1452
|
+
performedBy?: string | undefined;
|
|
1453
|
+
outcome?: "success" | "failure" | undefined;
|
|
1454
|
+
}[];
|
|
1455
|
+
flows: {
|
|
1456
|
+
id: string;
|
|
1457
|
+
from: string;
|
|
1458
|
+
to: string;
|
|
1459
|
+
guard?: string | undefined;
|
|
1460
|
+
}[];
|
|
1461
|
+
description?: string | undefined;
|
|
1462
|
+
} | {
|
|
1463
|
+
id: string;
|
|
1464
|
+
name: string;
|
|
1465
|
+
kind: "state-machine";
|
|
1466
|
+
summary: string;
|
|
1467
|
+
states: {
|
|
1468
|
+
id: string;
|
|
1469
|
+
name: string;
|
|
1470
|
+
kind: "initial" | "normal" | "final";
|
|
1471
|
+
outcome: "success" | "failure" | "neutral";
|
|
1472
|
+
entryActions: string[];
|
|
1473
|
+
description?: string | undefined;
|
|
1474
|
+
}[];
|
|
1475
|
+
transitions: {
|
|
1476
|
+
id: string;
|
|
1477
|
+
event: string;
|
|
1478
|
+
from: string;
|
|
1479
|
+
to: string;
|
|
1480
|
+
actions: string[];
|
|
1481
|
+
description?: string | undefined;
|
|
1482
|
+
guard?: string | undefined;
|
|
1483
|
+
triggeredBy?: string | undefined;
|
|
1484
|
+
}[];
|
|
1485
|
+
description?: string | undefined;
|
|
1486
|
+
subject?: string | undefined;
|
|
1487
|
+
owner?: string | undefined;
|
|
1488
|
+
})[];
|
|
1489
|
+
capabilities: {
|
|
1490
|
+
includes: string[];
|
|
1491
|
+
id: string;
|
|
1492
|
+
name: string;
|
|
1493
|
+
summary: string;
|
|
1494
|
+
ext: Record<string, unknown>;
|
|
1495
|
+
behaviors: string[];
|
|
1496
|
+
area: string;
|
|
1497
|
+
actors: string[];
|
|
1498
|
+
supporting: string[];
|
|
1499
|
+
realizedBy: string[];
|
|
1500
|
+
}[];
|
|
1501
|
+
};
|
|
1502
|
+
presentation: {
|
|
1503
|
+
relationships: Record<string, {
|
|
1504
|
+
head: "arrow" | "open-arrow" | "none" | "triangle";
|
|
1505
|
+
pattern: "solid" | "dashed" | "dotted";
|
|
1506
|
+
}>;
|
|
1507
|
+
views: Record<string, Record<string, {
|
|
1508
|
+
tone?: string | undefined;
|
|
1509
|
+
icon?: string | undefined;
|
|
1510
|
+
width?: number | undefined;
|
|
1511
|
+
height?: number | undefined;
|
|
1512
|
+
emphasis?: boolean | undefined;
|
|
1513
|
+
}>>;
|
|
1514
|
+
kinds: Record<string, {
|
|
1515
|
+
label: string;
|
|
1516
|
+
shape: "person" | "card" | "cylinder" | "stack" | "frame" | "chip";
|
|
1517
|
+
tone: string;
|
|
1518
|
+
icon: string;
|
|
1519
|
+
}>;
|
|
1520
|
+
elements: Record<string, {
|
|
1521
|
+
tone?: string | undefined;
|
|
1522
|
+
icon?: string | undefined;
|
|
1523
|
+
width?: number | undefined;
|
|
1524
|
+
height?: number | undefined;
|
|
1525
|
+
emphasis?: boolean | undefined;
|
|
1526
|
+
}>;
|
|
1527
|
+
};
|
|
1528
|
+
}, { warn }: _hattoriai_poney_core.ExtensionLintContext) => void;
|
|
1529
|
+
})[];
|
|
1530
|
+
/** What a walkthrough explains: one change, or a codebase as it is. */
|
|
1531
|
+
type Topic = 'change' | 'tour';
|
|
1532
|
+
/** The brief that teaches an agent to write a walkthrough: the common guide, then the part for the topic. */
|
|
1533
|
+
declare const brief: (topic?: Topic) => string;
|
|
1534
|
+
/** A complete, valid example document for the topic. */
|
|
1535
|
+
declare const example: (topic?: Topic) => string;
|
|
1536
|
+
/** The JSON Schema of the authoring form: what an agent may write. */
|
|
1537
|
+
declare function schema(): object;
|
|
1538
|
+
type Input = {
|
|
1539
|
+
document?: unknown;
|
|
1540
|
+
path?: string;
|
|
1541
|
+
text?: string;
|
|
1542
|
+
};
|
|
1543
|
+
/** Reads a document given as an object, as JSON text, or as a file path. Mermaid text is converted. */
|
|
1544
|
+
declare function readInput(input: Input): {
|
|
1545
|
+
value?: unknown;
|
|
1546
|
+
error?: string;
|
|
1547
|
+
converted?: string;
|
|
1548
|
+
};
|
|
1549
|
+
/** Where to prove the code and tests: a git repository and revision ("working" for files on disk), or a diff. */
|
|
1550
|
+
type Against = {
|
|
1551
|
+
repo?: string;
|
|
1552
|
+
rev?: string;
|
|
1553
|
+
diff?: string;
|
|
1554
|
+
};
|
|
1555
|
+
declare function check(input: Input, against?: Against): {
|
|
1556
|
+
result?: CheckResult;
|
|
1557
|
+
report: string;
|
|
1558
|
+
};
|
|
1559
|
+
/** Short summary of a valid document: what can be rendered. */
|
|
1560
|
+
declare function outline(result: CheckResult): string;
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* A code excerpt, copied from the file: what a scene's `code` takes. Lines
|
|
1564
|
+
* "from" to "to" (1-based, inclusive) of `path` in `repo` at `rev`.
|
|
1565
|
+
*/
|
|
1566
|
+
declare function excerpt(repo: string, path: string, from: number, to: number, rev?: string): {
|
|
1567
|
+
block?: {
|
|
1568
|
+
path: string;
|
|
1569
|
+
start: number;
|
|
1570
|
+
text: string;
|
|
1571
|
+
};
|
|
1572
|
+
error?: string;
|
|
1573
|
+
};
|
|
1574
|
+
|
|
1575
|
+
export { type Against, EXTENSIONS, type Input, type Topic, brief, check, example, excerpt, outline, readInput, schema };
|