@songtonyli/dsh-cli 0.1.20 → 0.1.22
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 +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +30 -22
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +30 -22
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +1037 -181
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +4 -1
- package/node_modules/@shikijs/core/LICENSE +22 -0
- package/node_modules/@shikijs/core/README.md +5 -0
- package/node_modules/@shikijs/core/dist/index.mjs +1425 -0
- package/node_modules/@shikijs/core/dist/textmate.mjs +2 -0
- package/node_modules/@shikijs/core/dist/types.mjs +2 -0
- package/node_modules/@shikijs/core/package.json +55 -0
- package/node_modules/@shikijs/engine-javascript/LICENSE +22 -0
- package/node_modules/@shikijs/engine-javascript/README.md +9 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +47 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +27 -0
- package/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
- package/node_modules/@shikijs/engine-javascript/dist/scanner-DX8LRFGE.mjs +77 -0
- package/node_modules/@shikijs/engine-javascript/package.json +38 -0
- package/node_modules/@shikijs/engine-oniguruma/LICENSE +22 -0
- package/node_modules/@shikijs/engine-oniguruma/README.md +9 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +449 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
- package/node_modules/@shikijs/engine-oniguruma/package.json +41 -0
- package/node_modules/@shikijs/langs/LICENSE +22 -0
- package/node_modules/@shikijs/langs/README.md +7 -0
- package/node_modules/@shikijs/langs/dist/1c-query.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/1c.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/abap.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/actionscript-3.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/actionscript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ada.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/adoc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ahk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ahk1.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ahk2.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/angular-expression.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/angular-html.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-style.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-template.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/angular-let-declaration.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-template-blocks.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/angular-template.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-ts.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/apache.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/apex.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/apl.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/applescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ara.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/as3.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/asciidoc.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/asm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/astro.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/awk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ballerina.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bash.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/bat.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/batch.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/be.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/beancount.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/berry.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bibtex.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bicep.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bird.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/bird2.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/blade.mjs +20 -0
- package/node_modules/@shikijs/langs/dist/bsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/c.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/c3.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cadence.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cairo.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/cdc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/chapel.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/chpl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/clarity.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/clj.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/clojure.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/closure-templates.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cmake.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cmd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cobol.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/codeowners.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/codeql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/coffee.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/coffeescript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/common-lisp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/console.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/coq.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cpp-macro.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/cpp.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/cql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/crystal.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/cs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/csharp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/css.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/csv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cue.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cypher.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/d.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dart.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dax.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/desktop.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/diff.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/docker.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dockerfile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/dotenv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dream-maker.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/edge.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/elisp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/elixir.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/elm.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/erb.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/erl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/erlang.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/es-tag-css.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-glsl.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-html.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-sql.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/es-tag-xml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/f.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f03.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f08.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f18.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f77.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f90.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f95.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fennel.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fish.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fluent.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/for.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fortran-fixed-form.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/fortran-free-form.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fsharp.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/fsl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ftl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gdresource.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/gdscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gdshader.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/genie.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gherkin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/git-commit.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/git-rebase.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/gjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gleam.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/glimmer-js.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/glimmer-ts.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/glsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/gn.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gnuplot.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/go.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/graphql.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/groovy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/hack.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/haml.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/handlebars.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/haskell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/haxe.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hbs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/hcl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hjson.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hlsl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/html.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/http.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/hurl.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/hxml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/hy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/imba.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/index.mjs +367 -0
- package/node_modules/@shikijs/langs/dist/ini.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jade.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/java.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jinja-html.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jinja.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jison.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/js.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/json.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/json5.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonc.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonnet.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jssm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/julia.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/just.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/justfile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kdl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/kotlin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/kql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kt.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kusto.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/latex.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/lean.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/lean4.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/less.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/liquid.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/lisp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/lit.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/llvm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/log.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/logo.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/lua.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/luau.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/make.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/makefile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/markdown-nix.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/marko.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/matlab.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mbt.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mbti.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/md.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/mdx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mediawiki.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mermaid.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mips.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mipsasm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mmd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mojo.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/moonbit.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/move.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nar.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/narrat.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nextflow-groovy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nextflow.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nginx.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nim.mjs +20 -0
- package/node_modules/@shikijs/langs/dist/nix.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nsis.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nu.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nushell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/objc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/objective-c.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/objective-cpp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ocaml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/odin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/openscad.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/org.mjs +100 -0
- package/node_modules/@shikijs/langs/dist/pascal.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/perl.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/perl6.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/php.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/pkl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/plsql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/po.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/polar.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/postcss.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/pot.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/potx.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/powerquery.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/powershell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/prisma.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/prolog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/properties.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/proto.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/protobuf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ps.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ps1.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/pug.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/puppet.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/purescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/pwsh.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/py.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/python.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/qml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/qmldir.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/qss.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/r.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/racket.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/raku.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/razor.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/rb.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/rbs.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/reg.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/regex.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/regexp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rel.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/riscv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ron.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rosmsg.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/rst.mjs +22 -0
- package/node_modules/@shikijs/langs/dist/ruby-signature.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ruby.mjs +30 -0
- package/node_modules/@shikijs/langs/dist/rust.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sas.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sass.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scad.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/scala.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scheme.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scss.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sdbl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sh.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shader.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shaderlab.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/shell.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/shellsession.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/smalltalk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/smithy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/solidity.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/soy.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sparql.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/spl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/splunk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ssh-config.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/stata.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/styl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/stylus.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/surql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/surrealql.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/svelte.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/swift.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/system-verilog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/systemd.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/talon.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/talonscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tasl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tcl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/templ.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/terraform.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tex.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/tf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tfvars.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/toml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tres.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ts-tags.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/ts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tscn.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tsp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tsv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/turtle.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/twig.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/typ.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/typespec.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/typst.mjs +120 -0
- package/node_modules/@shikijs/langs/dist/v.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vala.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vb.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/verilog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vhdl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vim.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/viml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vimscript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vue-html.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/vue-vine.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
- package/node_modules/@shikijs/langs/dist/vy.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/vyper.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wasm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wenyan.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wgsl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wiki.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/wikitext.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wit.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/wolfram.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/xml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/xsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/yml.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/zenscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/zig.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/zsh.mjs +2 -0
- package/node_modules/@shikijs/langs/package.json +398 -0
- package/node_modules/@shikijs/primitive/LICENSE +22 -0
- package/node_modules/@shikijs/primitive/dist/index.mjs +834 -0
- package/node_modules/@shikijs/primitive/dist/textmate.mjs +2 -0
- package/node_modules/@shikijs/primitive/dist/types.mjs +2 -0
- package/node_modules/@shikijs/primitive/package.json +51 -0
- package/node_modules/@shikijs/themes/LICENSE +22 -0
- package/node_modules/@shikijs/themes/README.md +7 -0
- package/node_modules/@shikijs/themes/dist/andromeeda.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/aurora-x.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-mirage.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-frappe.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-latte.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-macchiato.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-mocha.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dark-plus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dracula-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dracula.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/everforest-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/everforest-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-default.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-dimmed.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-high-contrast.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light-default.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light-high-contrast.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-hard.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-medium.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/horizon-bright.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/horizon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/houston.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/index.mjs +67 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-dragon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-lotus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-wave.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/laserwave.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/light-plus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-darker.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-ocean.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/min-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/min-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/monokai.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/night-owl-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/night-owl.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/nord.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/one-dark-pro.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/one-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/plastic.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/poimandres.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/red.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-dawn.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-moon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/slack-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/slack-ochin.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/snazzy-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/solarized-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/solarized-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/synthwave-84.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/tokyo-night.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vesper.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-black.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-light.mjs +2 -0
- package/node_modules/@shikijs/themes/package.json +103 -0
- package/node_modules/@shikijs/types/LICENSE +22 -0
- package/node_modules/@shikijs/types/README.md +7 -0
- package/node_modules/@shikijs/types/dist/index.mjs +9 -0
- package/node_modules/@shikijs/types/package.json +35 -0
- package/node_modules/@shikijs/vscode-textmate/LICENSE.md +21 -0
- package/node_modules/@shikijs/vscode-textmate/README.md +9 -0
- package/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
- package/node_modules/@shikijs/vscode-textmate/package.json +35 -0
- package/node_modules/@types/hast/LICENSE +21 -0
- package/node_modules/@types/hast/README.md +15 -0
- package/node_modules/@types/hast/package.json +47 -0
- package/node_modules/@types/mdast/LICENSE +21 -0
- package/node_modules/@types/mdast/README.md +15 -0
- package/node_modules/@types/mdast/package.json +46 -0
- package/node_modules/@types/unist/LICENSE +21 -0
- package/node_modules/@types/unist/README.md +15 -0
- package/node_modules/@types/unist/package.json +59 -0
- package/node_modules/@ungap/structured-clone/.github/workflows/node.js.yml +31 -0
- package/node_modules/@ungap/structured-clone/LICENSE +15 -0
- package/node_modules/@ungap/structured-clone/README.md +95 -0
- package/node_modules/@ungap/structured-clone/cjs/deserialize.js +112 -0
- package/node_modules/@ungap/structured-clone/cjs/index.js +27 -0
- package/node_modules/@ungap/structured-clone/cjs/json.js +24 -0
- package/node_modules/@ungap/structured-clone/cjs/package.json +1 -0
- package/node_modules/@ungap/structured-clone/cjs/serialize.js +174 -0
- package/node_modules/@ungap/structured-clone/cjs/types.js +22 -0
- package/node_modules/@ungap/structured-clone/esm/deserialize.js +113 -0
- package/node_modules/@ungap/structured-clone/esm/index.js +25 -0
- package/node_modules/@ungap/structured-clone/esm/json.js +21 -0
- package/node_modules/@ungap/structured-clone/esm/serialize.js +175 -0
- package/node_modules/@ungap/structured-clone/esm/types.js +11 -0
- package/node_modules/@ungap/structured-clone/package.json +52 -0
- package/node_modules/@ungap/structured-clone/structured-json.js +1 -0
- package/node_modules/ccount/index.js +27 -0
- package/node_modules/ccount/license +22 -0
- package/node_modules/ccount/package.json +63 -0
- package/node_modules/ccount/readme.md +149 -0
- package/node_modules/character-entities-html4/index.js +259 -0
- package/node_modules/character-entities-html4/license +22 -0
- package/node_modules/character-entities-html4/package.json +70 -0
- package/node_modules/character-entities-html4/readme.md +153 -0
- package/node_modules/character-entities-legacy/index.js +113 -0
- package/node_modules/character-entities-legacy/license +22 -0
- package/node_modules/character-entities-legacy/package.json +68 -0
- package/node_modules/character-entities-legacy/readme.md +157 -0
- package/node_modules/comma-separated-tokens/index.js +74 -0
- package/node_modules/comma-separated-tokens/license +22 -0
- package/node_modules/comma-separated-tokens/package.json +64 -0
- package/node_modules/comma-separated-tokens/readme.md +167 -0
- package/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/dequal/license +21 -0
- package/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/dequal/package.json +51 -0
- package/node_modules/dequal/readme.md +112 -0
- package/node_modules/devlop/lib/default.js +9 -0
- package/node_modules/devlop/lib/development.js +238 -0
- package/node_modules/devlop/license +22 -0
- package/node_modules/devlop/package.json +70 -0
- package/node_modules/devlop/readme.md +360 -0
- package/node_modules/hast-util-to-html/index.js +8 -0
- package/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
- package/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
- package/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
- package/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
- package/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
- package/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
- package/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
- package/node_modules/hast-util-to-html/lib/index.js +257 -0
- package/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
- package/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
- package/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
- package/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
- package/node_modules/hast-util-to-html/license +22 -0
- package/node_modules/hast-util-to-html/package.json +99 -0
- package/node_modules/hast-util-to-html/readme.md +486 -0
- package/node_modules/hast-util-whitespace/index.js +1 -0
- package/node_modules/hast-util-whitespace/lib/index.js +34 -0
- package/node_modules/hast-util-whitespace/license +22 -0
- package/node_modules/hast-util-whitespace/package.json +75 -0
- package/node_modules/hast-util-whitespace/readme.md +231 -0
- package/node_modules/html-void-elements/index.js +27 -0
- package/node_modules/html-void-elements/license +22 -0
- package/node_modules/html-void-elements/package.json +70 -0
- package/node_modules/html-void-elements/readme.md +164 -0
- package/node_modules/mdast-util-to-hast/index.js +7 -0
- package/node_modules/mdast-util-to-hast/lib/footer.js +250 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/break.js +22 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/code.js +49 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/delete.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +70 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/heading.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/html.js +28 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +39 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image.js +35 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/index.js +68 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +31 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +44 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link.js +36 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +119 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list.js +52 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/root.js +22 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/strong.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +29 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +63 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table.js +61 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/text.js +24 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/index.js +106 -0
- package/node_modules/mdast-util-to-hast/lib/revert.js +49 -0
- package/node_modules/mdast-util-to-hast/lib/state.js +476 -0
- package/node_modules/mdast-util-to-hast/license +22 -0
- package/node_modules/mdast-util-to-hast/package.json +111 -0
- package/node_modules/mdast-util-to-hast/readme.md +1725 -0
- package/node_modules/micromark-util-character/dev/index.js +252 -0
- package/node_modules/micromark-util-character/index.js +246 -0
- package/node_modules/micromark-util-character/license +22 -0
- package/node_modules/micromark-util-character/package.json +54 -0
- package/node_modules/micromark-util-character/readme.md +446 -0
- package/node_modules/micromark-util-encode/index.js +33 -0
- package/node_modules/micromark-util-encode/license +22 -0
- package/node_modules/micromark-util-encode/package.json +47 -0
- package/node_modules/micromark-util-encode/readme.md +176 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.js +124 -0
- package/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/node_modules/micromark-util-sanitize-uri/license +22 -0
- package/node_modules/micromark-util-sanitize-uri/package.json +56 -0
- package/node_modules/micromark-util-sanitize-uri/readme.md +214 -0
- package/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/node_modules/micromark-util-symbol/license +22 -0
- package/node_modules/micromark-util-symbol/package.json +43 -0
- package/node_modules/micromark-util-symbol/readme.md +168 -0
- package/node_modules/micromark-util-types/index.js +2 -0
- package/node_modules/micromark-util-types/license +22 -0
- package/node_modules/micromark-util-types/package.json +71 -0
- package/node_modules/micromark-util-types/readme.md +151 -0
- package/node_modules/oniguruma-parser/LICENSE +21 -0
- package/node_modules/oniguruma-parser/README.md +310 -0
- package/node_modules/oniguruma-parser/dist/bundle.js +2 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.js +2 -0
- package/node_modules/oniguruma-parser/dist/index.js +2 -0
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js +904 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.js +2 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
- package/node_modules/oniguruma-parser/dist/unicode.js +872 -0
- package/node_modules/oniguruma-parser/dist/utils.js +2 -0
- package/node_modules/oniguruma-parser/package.json +56 -0
- package/node_modules/oniguruma-to-es/LICENSE +21 -0
- package/node_modules/oniguruma-to-es/README.md +1110 -0
- package/node_modules/oniguruma-to-es/dist/cjs/index.js +3145 -0
- package/node_modules/oniguruma-to-es/dist/cjs/package.json +1 -0
- package/node_modules/oniguruma-to-es/dist/esm/index.js +1878 -0
- package/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
- package/node_modules/oniguruma-to-es/dist/index.min.js +142 -0
- package/node_modules/oniguruma-to-es/package.json +49 -0
- package/node_modules/property-information/index.js +17 -0
- package/node_modules/property-information/lib/aria.js +61 -0
- package/node_modules/property-information/lib/find.js +97 -0
- package/node_modules/property-information/lib/hast-to-react.js +30 -0
- package/node_modules/property-information/lib/html.js +332 -0
- package/node_modules/property-information/lib/normalize.js +12 -0
- package/node_modules/property-information/lib/svg.js +569 -0
- package/node_modules/property-information/lib/util/case-insensitive-transform.js +13 -0
- package/node_modules/property-information/lib/util/case-sensitive-transform.js +11 -0
- package/node_modules/property-information/lib/util/create.js +69 -0
- package/node_modules/property-information/lib/util/defined-info.js +60 -0
- package/node_modules/property-information/lib/util/info.js +32 -0
- package/node_modules/property-information/lib/util/merge.js +27 -0
- package/node_modules/property-information/lib/util/schema.js +29 -0
- package/node_modules/property-information/lib/util/types.js +13 -0
- package/node_modules/property-information/lib/xlink.js +17 -0
- package/node_modules/property-information/lib/xml.js +9 -0
- package/node_modules/property-information/lib/xmlns.js +9 -0
- package/node_modules/property-information/license +22 -0
- package/node_modules/property-information/package.json +76 -0
- package/node_modules/property-information/readme.md +1073 -0
- package/node_modules/regex/LICENSE +21 -0
- package/node_modules/regex/README.md +972 -0
- package/node_modules/regex/dist/cjs/package.json +1 -0
- package/node_modules/regex/dist/cjs/regex.js +1335 -0
- package/node_modules/regex/dist/esm/package.json +1 -0
- package/node_modules/regex/dist/esm/regex.js +1313 -0
- package/node_modules/regex/dist/regex.min.js +76 -0
- package/node_modules/regex/package.json +49 -0
- package/node_modules/regex/src/atomic.js +224 -0
- package/node_modules/regex/src/backcompat.js +64 -0
- package/node_modules/regex/src/flag-n.js +49 -0
- package/node_modules/regex/src/flag-x.js +198 -0
- package/node_modules/regex/src/internals.js +2 -0
- package/node_modules/regex/src/pattern.js +45 -0
- package/node_modules/regex/src/regex.js +389 -0
- package/node_modules/regex/src/subclass.js +98 -0
- package/node_modules/regex/src/subroutines.js +375 -0
- package/node_modules/regex/src/utils-internals.js +33 -0
- package/node_modules/regex/src/utils.js +401 -0
- package/node_modules/regex-recursion/LICENSE +21 -0
- package/node_modules/regex-recursion/README.md +151 -0
- package/node_modules/regex-recursion/dist/regex-recursion.min.js +2 -0
- package/node_modules/regex-recursion/package.json +39 -0
- package/node_modules/regex-recursion/src/index.js +365 -0
- package/node_modules/regex-utilities/LICENSE +21 -0
- package/node_modules/regex-utilities/README.md +78 -0
- package/node_modules/regex-utilities/package.json +27 -0
- package/node_modules/regex-utilities/src/index.js +170 -0
- package/node_modules/shiki/LICENSE +22 -0
- package/node_modules/shiki/README.md +15 -0
- package/node_modules/shiki/dist/bundle-full.mjs +25 -0
- package/node_modules/shiki/dist/bundle-web.mjs +347 -0
- package/node_modules/shiki/dist/core-unwasm.mjs +10 -0
- package/node_modules/shiki/dist/core.mjs +3 -0
- package/node_modules/shiki/dist/engine-javascript.mjs +2 -0
- package/node_modules/shiki/dist/engine-oniguruma.mjs +8 -0
- package/node_modules/shiki/dist/index.mjs +8 -0
- package/node_modules/shiki/dist/langs/1c-query.mjs +1 -0
- package/node_modules/shiki/dist/langs/1c.mjs +1 -0
- package/node_modules/shiki/dist/langs/abap.mjs +1 -0
- package/node_modules/shiki/dist/langs/actionscript-3.mjs +1 -0
- package/node_modules/shiki/dist/langs/actionscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/ada.mjs +1 -0
- package/node_modules/shiki/dist/langs/adoc.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk1.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk2.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-expression.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-style.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-template.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-let-declaration.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-template-blocks.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-template.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/apache.mjs +1 -0
- package/node_modules/shiki/dist/langs/apex.mjs +1 -0
- package/node_modules/shiki/dist/langs/apl.mjs +1 -0
- package/node_modules/shiki/dist/langs/applescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/ara.mjs +1 -0
- package/node_modules/shiki/dist/langs/as3.mjs +1 -0
- package/node_modules/shiki/dist/langs/asciidoc.mjs +1 -0
- package/node_modules/shiki/dist/langs/asm.mjs +1 -0
- package/node_modules/shiki/dist/langs/astro.mjs +1 -0
- package/node_modules/shiki/dist/langs/awk.mjs +1 -0
- package/node_modules/shiki/dist/langs/ballerina.mjs +1 -0
- package/node_modules/shiki/dist/langs/bash.mjs +1 -0
- package/node_modules/shiki/dist/langs/bat.mjs +1 -0
- package/node_modules/shiki/dist/langs/batch.mjs +1 -0
- package/node_modules/shiki/dist/langs/be.mjs +1 -0
- package/node_modules/shiki/dist/langs/beancount.mjs +1 -0
- package/node_modules/shiki/dist/langs/berry.mjs +1 -0
- package/node_modules/shiki/dist/langs/bibtex.mjs +1 -0
- package/node_modules/shiki/dist/langs/bicep.mjs +1 -0
- package/node_modules/shiki/dist/langs/bird.mjs +1 -0
- package/node_modules/shiki/dist/langs/bird2.mjs +1 -0
- package/node_modules/shiki/dist/langs/blade.mjs +1 -0
- package/node_modules/shiki/dist/langs/bsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/c.mjs +1 -0
- package/node_modules/shiki/dist/langs/c3.mjs +1 -0
- package/node_modules/shiki/dist/langs/cadence.mjs +1 -0
- package/node_modules/shiki/dist/langs/cairo.mjs +1 -0
- package/node_modules/shiki/dist/langs/cdc.mjs +1 -0
- package/node_modules/shiki/dist/langs/chapel.mjs +1 -0
- package/node_modules/shiki/dist/langs/chpl.mjs +1 -0
- package/node_modules/shiki/dist/langs/cjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/clarity.mjs +1 -0
- package/node_modules/shiki/dist/langs/clj.mjs +1 -0
- package/node_modules/shiki/dist/langs/clojure.mjs +1 -0
- package/node_modules/shiki/dist/langs/closure-templates.mjs +1 -0
- package/node_modules/shiki/dist/langs/cmake.mjs +1 -0
- package/node_modules/shiki/dist/langs/cmd.mjs +1 -0
- package/node_modules/shiki/dist/langs/cobol.mjs +1 -0
- package/node_modules/shiki/dist/langs/codeowners.mjs +1 -0
- package/node_modules/shiki/dist/langs/codeql.mjs +1 -0
- package/node_modules/shiki/dist/langs/coffee.mjs +1 -0
- package/node_modules/shiki/dist/langs/coffeescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/common-lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/console.mjs +1 -0
- package/node_modules/shiki/dist/langs/coq.mjs +1 -0
- package/node_modules/shiki/dist/langs/cpp-macro.mjs +1 -0
- package/node_modules/shiki/dist/langs/cpp.mjs +1 -0
- package/node_modules/shiki/dist/langs/cql.mjs +1 -0
- package/node_modules/shiki/dist/langs/crystal.mjs +1 -0
- package/node_modules/shiki/dist/langs/cs.mjs +1 -0
- package/node_modules/shiki/dist/langs/csharp.mjs +1 -0
- package/node_modules/shiki/dist/langs/css.mjs +1 -0
- package/node_modules/shiki/dist/langs/csv.mjs +1 -0
- package/node_modules/shiki/dist/langs/cts.mjs +1 -0
- package/node_modules/shiki/dist/langs/cue.mjs +1 -0
- package/node_modules/shiki/dist/langs/cypher.mjs +1 -0
- package/node_modules/shiki/dist/langs/d.mjs +1 -0
- package/node_modules/shiki/dist/langs/dart.mjs +1 -0
- package/node_modules/shiki/dist/langs/dax.mjs +1 -0
- package/node_modules/shiki/dist/langs/desktop.mjs +1 -0
- package/node_modules/shiki/dist/langs/diff.mjs +1 -0
- package/node_modules/shiki/dist/langs/docker.mjs +1 -0
- package/node_modules/shiki/dist/langs/dockerfile.mjs +1 -0
- package/node_modules/shiki/dist/langs/dotenv.mjs +1 -0
- package/node_modules/shiki/dist/langs/dream-maker.mjs +1 -0
- package/node_modules/shiki/dist/langs/edge.mjs +1 -0
- package/node_modules/shiki/dist/langs/elisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/elixir.mjs +1 -0
- package/node_modules/shiki/dist/langs/elm.mjs +1 -0
- package/node_modules/shiki/dist/langs/emacs-lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/erb.mjs +1 -0
- package/node_modules/shiki/dist/langs/erl.mjs +1 -0
- package/node_modules/shiki/dist/langs/erlang.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-css.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-glsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-sql.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-xml.mjs +1 -0
- package/node_modules/shiki/dist/langs/f.mjs +1 -0
- package/node_modules/shiki/dist/langs/f03.mjs +1 -0
- package/node_modules/shiki/dist/langs/f08.mjs +1 -0
- package/node_modules/shiki/dist/langs/f18.mjs +1 -0
- package/node_modules/shiki/dist/langs/f77.mjs +1 -0
- package/node_modules/shiki/dist/langs/f90.mjs +1 -0
- package/node_modules/shiki/dist/langs/f95.mjs +1 -0
- package/node_modules/shiki/dist/langs/fennel.mjs +1 -0
- package/node_modules/shiki/dist/langs/fish.mjs +1 -0
- package/node_modules/shiki/dist/langs/fluent.mjs +1 -0
- package/node_modules/shiki/dist/langs/for.mjs +1 -0
- package/node_modules/shiki/dist/langs/fortran-fixed-form.mjs +1 -0
- package/node_modules/shiki/dist/langs/fortran-free-form.mjs +1 -0
- package/node_modules/shiki/dist/langs/fs.mjs +1 -0
- package/node_modules/shiki/dist/langs/fsharp.mjs +1 -0
- package/node_modules/shiki/dist/langs/fsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/ftl.mjs +1 -0
- package/node_modules/shiki/dist/langs/gd.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdresource.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdshader.mjs +1 -0
- package/node_modules/shiki/dist/langs/genie.mjs +1 -0
- package/node_modules/shiki/dist/langs/gherkin.mjs +1 -0
- package/node_modules/shiki/dist/langs/git-commit.mjs +1 -0
- package/node_modules/shiki/dist/langs/git-rebase.mjs +1 -0
- package/node_modules/shiki/dist/langs/gjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/gleam.mjs +1 -0
- package/node_modules/shiki/dist/langs/glimmer-js.mjs +1 -0
- package/node_modules/shiki/dist/langs/glimmer-ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/glsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/gn.mjs +1 -0
- package/node_modules/shiki/dist/langs/gnuplot.mjs +1 -0
- package/node_modules/shiki/dist/langs/go.mjs +1 -0
- package/node_modules/shiki/dist/langs/gql.mjs +1 -0
- package/node_modules/shiki/dist/langs/graphql.mjs +1 -0
- package/node_modules/shiki/dist/langs/groovy.mjs +1 -0
- package/node_modules/shiki/dist/langs/gts.mjs +1 -0
- package/node_modules/shiki/dist/langs/hack.mjs +1 -0
- package/node_modules/shiki/dist/langs/haml.mjs +1 -0
- package/node_modules/shiki/dist/langs/handlebars.mjs +1 -0
- package/node_modules/shiki/dist/langs/haskell.mjs +1 -0
- package/node_modules/shiki/dist/langs/haxe.mjs +1 -0
- package/node_modules/shiki/dist/langs/hbs.mjs +1 -0
- package/node_modules/shiki/dist/langs/hcl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hjson.mjs +1 -0
- package/node_modules/shiki/dist/langs/hlsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hs.mjs +1 -0
- package/node_modules/shiki/dist/langs/html-derivative.mjs +1 -0
- package/node_modules/shiki/dist/langs/html.mjs +1 -0
- package/node_modules/shiki/dist/langs/http.mjs +1 -0
- package/node_modules/shiki/dist/langs/hurl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hxml.mjs +1 -0
- package/node_modules/shiki/dist/langs/hy.mjs +1 -0
- package/node_modules/shiki/dist/langs/imba.mjs +1 -0
- package/node_modules/shiki/dist/langs/ini.mjs +1 -0
- package/node_modules/shiki/dist/langs/jade.mjs +1 -0
- package/node_modules/shiki/dist/langs/java.mjs +1 -0
- package/node_modules/shiki/dist/langs/javascript.mjs +1 -0
- package/node_modules/shiki/dist/langs/jinja-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/jinja.mjs +1 -0
- package/node_modules/shiki/dist/langs/jison.mjs +1 -0
- package/node_modules/shiki/dist/langs/jl.mjs +1 -0
- package/node_modules/shiki/dist/langs/js.mjs +1 -0
- package/node_modules/shiki/dist/langs/json.mjs +1 -0
- package/node_modules/shiki/dist/langs/json5.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonc.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonl.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonnet.mjs +1 -0
- package/node_modules/shiki/dist/langs/jssm.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsx.mjs +1 -0
- package/node_modules/shiki/dist/langs/julia.mjs +1 -0
- package/node_modules/shiki/dist/langs/just.mjs +1 -0
- package/node_modules/shiki/dist/langs/justfile.mjs +1 -0
- package/node_modules/shiki/dist/langs/kdl.mjs +1 -0
- package/node_modules/shiki/dist/langs/kotlin.mjs +1 -0
- package/node_modules/shiki/dist/langs/kql.mjs +1 -0
- package/node_modules/shiki/dist/langs/kt.mjs +1 -0
- package/node_modules/shiki/dist/langs/kts.mjs +1 -0
- package/node_modules/shiki/dist/langs/kusto.mjs +1 -0
- package/node_modules/shiki/dist/langs/latex.mjs +1 -0
- package/node_modules/shiki/dist/langs/lean.mjs +1 -0
- package/node_modules/shiki/dist/langs/lean4.mjs +1 -0
- package/node_modules/shiki/dist/langs/less.mjs +1 -0
- package/node_modules/shiki/dist/langs/liquid.mjs +1 -0
- package/node_modules/shiki/dist/langs/lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/lit.mjs +1 -0
- package/node_modules/shiki/dist/langs/llvm.mjs +1 -0
- package/node_modules/shiki/dist/langs/log.mjs +1 -0
- package/node_modules/shiki/dist/langs/logo.mjs +1 -0
- package/node_modules/shiki/dist/langs/lua.mjs +1 -0
- package/node_modules/shiki/dist/langs/luau.mjs +1 -0
- package/node_modules/shiki/dist/langs/make.mjs +1 -0
- package/node_modules/shiki/dist/langs/makefile.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown-nix.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown-vue.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown.mjs +1 -0
- package/node_modules/shiki/dist/langs/marko.mjs +1 -0
- package/node_modules/shiki/dist/langs/matlab.mjs +1 -0
- package/node_modules/shiki/dist/langs/mbt.mjs +1 -0
- package/node_modules/shiki/dist/langs/mbti.mjs +1 -0
- package/node_modules/shiki/dist/langs/md.mjs +1 -0
- package/node_modules/shiki/dist/langs/mdc.mjs +1 -0
- package/node_modules/shiki/dist/langs/mdx.mjs +1 -0
- package/node_modules/shiki/dist/langs/mediawiki.mjs +1 -0
- package/node_modules/shiki/dist/langs/mermaid.mjs +1 -0
- package/node_modules/shiki/dist/langs/mips.mjs +1 -0
- package/node_modules/shiki/dist/langs/mipsasm.mjs +1 -0
- package/node_modules/shiki/dist/langs/mjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/mmd.mjs +1 -0
- package/node_modules/shiki/dist/langs/mojo.mjs +1 -0
- package/node_modules/shiki/dist/langs/moonbit.mjs +1 -0
- package/node_modules/shiki/dist/langs/move.mjs +1 -0
- package/node_modules/shiki/dist/langs/mts.mjs +1 -0
- package/node_modules/shiki/dist/langs/nar.mjs +1 -0
- package/node_modules/shiki/dist/langs/narrat.mjs +1 -0
- package/node_modules/shiki/dist/langs/nextflow-groovy.mjs +1 -0
- package/node_modules/shiki/dist/langs/nextflow.mjs +1 -0
- package/node_modules/shiki/dist/langs/nf.mjs +1 -0
- package/node_modules/shiki/dist/langs/nginx.mjs +1 -0
- package/node_modules/shiki/dist/langs/nim.mjs +1 -0
- package/node_modules/shiki/dist/langs/nix.mjs +1 -0
- package/node_modules/shiki/dist/langs/nsis.mjs +1 -0
- package/node_modules/shiki/dist/langs/nu.mjs +1 -0
- package/node_modules/shiki/dist/langs/nushell.mjs +1 -0
- package/node_modules/shiki/dist/langs/objc.mjs +1 -0
- package/node_modules/shiki/dist/langs/objective-c.mjs +1 -0
- package/node_modules/shiki/dist/langs/objective-cpp.mjs +1 -0
- package/node_modules/shiki/dist/langs/ocaml.mjs +1 -0
- package/node_modules/shiki/dist/langs/odin.mjs +1 -0
- package/node_modules/shiki/dist/langs/openscad.mjs +1 -0
- package/node_modules/shiki/dist/langs/org.mjs +1 -0
- package/node_modules/shiki/dist/langs/pascal.mjs +1 -0
- package/node_modules/shiki/dist/langs/perl.mjs +1 -0
- package/node_modules/shiki/dist/langs/perl6.mjs +1 -0
- package/node_modules/shiki/dist/langs/php.mjs +1 -0
- package/node_modules/shiki/dist/langs/pkl.mjs +1 -0
- package/node_modules/shiki/dist/langs/plsql.mjs +1 -0
- package/node_modules/shiki/dist/langs/po.mjs +1 -0
- package/node_modules/shiki/dist/langs/polar.mjs +1 -0
- package/node_modules/shiki/dist/langs/postcss.mjs +1 -0
- package/node_modules/shiki/dist/langs/pot.mjs +1 -0
- package/node_modules/shiki/dist/langs/potx.mjs +1 -0
- package/node_modules/shiki/dist/langs/powerquery.mjs +1 -0
- package/node_modules/shiki/dist/langs/powershell.mjs +1 -0
- package/node_modules/shiki/dist/langs/prisma.mjs +1 -0
- package/node_modules/shiki/dist/langs/prolog.mjs +1 -0
- package/node_modules/shiki/dist/langs/properties.mjs +1 -0
- package/node_modules/shiki/dist/langs/proto.mjs +1 -0
- package/node_modules/shiki/dist/langs/protobuf.mjs +1 -0
- package/node_modules/shiki/dist/langs/ps.mjs +1 -0
- package/node_modules/shiki/dist/langs/ps1.mjs +1 -0
- package/node_modules/shiki/dist/langs/pug.mjs +1 -0
- package/node_modules/shiki/dist/langs/puppet.mjs +1 -0
- package/node_modules/shiki/dist/langs/purescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/pwsh.mjs +1 -0
- package/node_modules/shiki/dist/langs/py.mjs +1 -0
- package/node_modules/shiki/dist/langs/python.mjs +1 -0
- package/node_modules/shiki/dist/langs/ql.mjs +1 -0
- package/node_modules/shiki/dist/langs/qml.mjs +1 -0
- package/node_modules/shiki/dist/langs/qmldir.mjs +1 -0
- package/node_modules/shiki/dist/langs/qss.mjs +1 -0
- package/node_modules/shiki/dist/langs/r.mjs +1 -0
- package/node_modules/shiki/dist/langs/racket.mjs +1 -0
- package/node_modules/shiki/dist/langs/raku.mjs +1 -0
- package/node_modules/shiki/dist/langs/razor.mjs +1 -0
- package/node_modules/shiki/dist/langs/rb.mjs +1 -0
- package/node_modules/shiki/dist/langs/rbs.mjs +1 -0
- package/node_modules/shiki/dist/langs/reg.mjs +1 -0
- package/node_modules/shiki/dist/langs/regex.mjs +1 -0
- package/node_modules/shiki/dist/langs/regexp.mjs +1 -0
- package/node_modules/shiki/dist/langs/rel.mjs +1 -0
- package/node_modules/shiki/dist/langs/riscv.mjs +1 -0
- package/node_modules/shiki/dist/langs/ron.mjs +1 -0
- package/node_modules/shiki/dist/langs/rosmsg.mjs +1 -0
- package/node_modules/shiki/dist/langs/rs.mjs +1 -0
- package/node_modules/shiki/dist/langs/rst.mjs +1 -0
- package/node_modules/shiki/dist/langs/ruby-signature.mjs +1 -0
- package/node_modules/shiki/dist/langs/ruby.mjs +1 -0
- package/node_modules/shiki/dist/langs/rust.mjs +1 -0
- package/node_modules/shiki/dist/langs/sas.mjs +1 -0
- package/node_modules/shiki/dist/langs/sass.mjs +1 -0
- package/node_modules/shiki/dist/langs/scad.mjs +1 -0
- package/node_modules/shiki/dist/langs/scala.mjs +1 -0
- package/node_modules/shiki/dist/langs/scheme.mjs +1 -0
- package/node_modules/shiki/dist/langs/scss.mjs +1 -0
- package/node_modules/shiki/dist/langs/sdbl.mjs +1 -0
- package/node_modules/shiki/dist/langs/sh.mjs +1 -0
- package/node_modules/shiki/dist/langs/shader.mjs +1 -0
- package/node_modules/shiki/dist/langs/shaderlab.mjs +1 -0
- package/node_modules/shiki/dist/langs/shell.mjs +1 -0
- package/node_modules/shiki/dist/langs/shellscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/shellsession.mjs +1 -0
- package/node_modules/shiki/dist/langs/smalltalk.mjs +1 -0
- package/node_modules/shiki/dist/langs/smithy.mjs +1 -0
- package/node_modules/shiki/dist/langs/solidity.mjs +1 -0
- package/node_modules/shiki/dist/langs/soy.mjs +1 -0
- package/node_modules/shiki/dist/langs/sparql.mjs +1 -0
- package/node_modules/shiki/dist/langs/spl.mjs +1 -0
- package/node_modules/shiki/dist/langs/splunk.mjs +1 -0
- package/node_modules/shiki/dist/langs/sql.mjs +1 -0
- package/node_modules/shiki/dist/langs/ssh-config.mjs +1 -0
- package/node_modules/shiki/dist/langs/stata.mjs +1 -0
- package/node_modules/shiki/dist/langs/styl.mjs +1 -0
- package/node_modules/shiki/dist/langs/stylus.mjs +1 -0
- package/node_modules/shiki/dist/langs/surql.mjs +1 -0
- package/node_modules/shiki/dist/langs/surrealql.mjs +1 -0
- package/node_modules/shiki/dist/langs/svelte.mjs +1 -0
- package/node_modules/shiki/dist/langs/swift.mjs +1 -0
- package/node_modules/shiki/dist/langs/system-verilog.mjs +1 -0
- package/node_modules/shiki/dist/langs/systemd.mjs +1 -0
- package/node_modules/shiki/dist/langs/talon.mjs +1 -0
- package/node_modules/shiki/dist/langs/talonscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/tasl.mjs +1 -0
- package/node_modules/shiki/dist/langs/tcl.mjs +1 -0
- package/node_modules/shiki/dist/langs/templ.mjs +1 -0
- package/node_modules/shiki/dist/langs/terraform.mjs +1 -0
- package/node_modules/shiki/dist/langs/tex.mjs +1 -0
- package/node_modules/shiki/dist/langs/tf.mjs +1 -0
- package/node_modules/shiki/dist/langs/tfvars.mjs +1 -0
- package/node_modules/shiki/dist/langs/toml.mjs +1 -0
- package/node_modules/shiki/dist/langs/tres.mjs +1 -0
- package/node_modules/shiki/dist/langs/ts-tags.mjs +1 -0
- package/node_modules/shiki/dist/langs/ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/tscn.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsp.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsv.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsx.mjs +1 -0
- package/node_modules/shiki/dist/langs/turtle.mjs +1 -0
- package/node_modules/shiki/dist/langs/twig.mjs +1 -0
- package/node_modules/shiki/dist/langs/typ.mjs +1 -0
- package/node_modules/shiki/dist/langs/typescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/typespec.mjs +1 -0
- package/node_modules/shiki/dist/langs/typst.mjs +1 -0
- package/node_modules/shiki/dist/langs/v.mjs +1 -0
- package/node_modules/shiki/dist/langs/vala.mjs +1 -0
- package/node_modules/shiki/dist/langs/vb.mjs +1 -0
- package/node_modules/shiki/dist/langs/verilog.mjs +1 -0
- package/node_modules/shiki/dist/langs/vhdl.mjs +1 -0
- package/node_modules/shiki/dist/langs/vim.mjs +1 -0
- package/node_modules/shiki/dist/langs/viml.mjs +1 -0
- package/node_modules/shiki/dist/langs/vimscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-directives.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-interpolations.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-sfc-style-variable-injection.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-vine.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue.mjs +1 -0
- package/node_modules/shiki/dist/langs/vy.mjs +1 -0
- package/node_modules/shiki/dist/langs/vyper.mjs +1 -0
- package/node_modules/shiki/dist/langs/wasm.mjs +1 -0
- package/node_modules/shiki/dist/langs/wenyan.mjs +1 -0
- package/node_modules/shiki/dist/langs/wgsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/wiki.mjs +1 -0
- package/node_modules/shiki/dist/langs/wikitext.mjs +1 -0
- package/node_modules/shiki/dist/langs/wit.mjs +1 -0
- package/node_modules/shiki/dist/langs/wl.mjs +1 -0
- package/node_modules/shiki/dist/langs/wolfram.mjs +1 -0
- package/node_modules/shiki/dist/langs/xml.mjs +1 -0
- package/node_modules/shiki/dist/langs/xsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/yaml.mjs +1 -0
- package/node_modules/shiki/dist/langs/yml.mjs +1 -0
- package/node_modules/shiki/dist/langs/zenscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/zig.mjs +1 -0
- package/node_modules/shiki/dist/langs/zsh.mjs +1 -0
- package/node_modules/shiki/dist/langs-bundle-full-xQVO1Cek.mjs +1326 -0
- package/node_modules/shiki/dist/langs.mjs +2 -0
- package/node_modules/shiki/dist/onig.wasm +0 -0
- package/node_modules/shiki/dist/rolldown-runtime-BBjsoOtd.mjs +27 -0
- package/node_modules/shiki/dist/textmate.mjs +2 -0
- package/node_modules/shiki/dist/themes/andromeeda.mjs +1 -0
- package/node_modules/shiki/dist/themes/aurora-x.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-mirage.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-frappe.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-latte.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-macchiato.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-mocha.mjs +1 -0
- package/node_modules/shiki/dist/themes/dark-plus.mjs +1 -0
- package/node_modules/shiki/dist/themes/dracula-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/dracula.mjs +1 -0
- package/node_modules/shiki/dist/themes/everforest-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/everforest-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-default.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-dimmed.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-high-contrast.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light-default.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light-high-contrast.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-hard.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-medium.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-hard.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-medium.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/horizon-bright.mjs +1 -0
- package/node_modules/shiki/dist/themes/horizon.mjs +1 -0
- package/node_modules/shiki/dist/themes/houston.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-dragon.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-lotus.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-wave.mjs +1 -0
- package/node_modules/shiki/dist/themes/laserwave.mjs +1 -0
- package/node_modules/shiki/dist/themes/light-plus.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-darker.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-lighter.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-ocean.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-palenight.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme.mjs +1 -0
- package/node_modules/shiki/dist/themes/min-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/min-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/monokai.mjs +1 -0
- package/node_modules/shiki/dist/themes/night-owl-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/night-owl.mjs +1 -0
- package/node_modules/shiki/dist/themes/nord.mjs +1 -0
- package/node_modules/shiki/dist/themes/one-dark-pro.mjs +1 -0
- package/node_modules/shiki/dist/themes/one-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/plastic.mjs +1 -0
- package/node_modules/shiki/dist/themes/poimandres.mjs +1 -0
- package/node_modules/shiki/dist/themes/red.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-dawn.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-moon.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine.mjs +1 -0
- package/node_modules/shiki/dist/themes/slack-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/slack-ochin.mjs +1 -0
- package/node_modules/shiki/dist/themes/snazzy-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/solarized-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/solarized-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/synthwave-84.mjs +1 -0
- package/node_modules/shiki/dist/themes/tokyo-night.mjs +1 -0
- package/node_modules/shiki/dist/themes/vesper.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-black.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-light.mjs +1 -0
- package/node_modules/shiki/dist/themes.mjs +396 -0
- package/node_modules/shiki/dist/types.mjs +1 -0
- package/node_modules/shiki/dist/wasm.mjs +3 -0
- package/node_modules/shiki/package.json +67 -0
- package/node_modules/space-separated-tokens/index.js +24 -0
- package/node_modules/space-separated-tokens/license +22 -0
- package/node_modules/space-separated-tokens/package.json +59 -0
- package/node_modules/space-separated-tokens/readme.md +156 -0
- package/node_modules/stringify-entities/index.js +6 -0
- package/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
- package/node_modules/stringify-entities/lib/core.js +117 -0
- package/node_modules/stringify-entities/lib/index.js +36 -0
- package/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
- package/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
- package/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
- package/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
- package/node_modules/stringify-entities/lib/util/to-named.js +57 -0
- package/node_modules/stringify-entities/license +22 -0
- package/node_modules/stringify-entities/package.json +77 -0
- package/node_modules/stringify-entities/readme.md +233 -0
- package/node_modules/trim-lines/index.js +69 -0
- package/node_modules/trim-lines/license +22 -0
- package/node_modules/trim-lines/package.json +58 -0
- package/node_modules/trim-lines/readme.md +125 -0
- package/node_modules/unist-util-is/index.js +7 -0
- package/node_modules/unist-util-is/lib/index.js +296 -0
- package/node_modules/unist-util-is/license +22 -0
- package/node_modules/unist-util-is/package.json +95 -0
- package/node_modules/unist-util-is/readme.md +351 -0
- package/node_modules/unist-util-position/index.js +1 -0
- package/node_modules/unist-util-position/lib/index.js +95 -0
- package/node_modules/unist-util-position/license +22 -0
- package/node_modules/unist-util-position/package.json +68 -0
- package/node_modules/unist-util-position/readme.md +243 -0
- package/node_modules/unist-util-stringify-position/index.js +1 -0
- package/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/node_modules/unist-util-stringify-position/license +22 -0
- package/node_modules/unist-util-stringify-position/package.json +72 -0
- package/node_modules/unist-util-stringify-position/readme.md +206 -0
- package/node_modules/unist-util-visit/index.js +2 -0
- package/node_modules/unist-util-visit/lib/index.js +312 -0
- package/node_modules/unist-util-visit/license +22 -0
- package/node_modules/unist-util-visit/package.json +100 -0
- package/node_modules/unist-util-visit/readme.md +313 -0
- package/node_modules/unist-util-visit-parents/index.js +2 -0
- package/node_modules/unist-util-visit-parents/lib/color.js +7 -0
- package/node_modules/unist-util-visit-parents/lib/color.node.js +7 -0
- package/node_modules/unist-util-visit-parents/lib/index.js +399 -0
- package/node_modules/unist-util-visit-parents/license +22 -0
- package/node_modules/unist-util-visit-parents/package.json +98 -0
- package/node_modules/unist-util-visit-parents/readme.md +388 -0
- package/node_modules/vfile/index.js +2 -0
- package/node_modules/vfile/lib/index.js +643 -0
- package/node_modules/vfile/lib/minpath.browser.js +426 -0
- package/node_modules/vfile/lib/minpath.js +1 -0
- package/node_modules/vfile/lib/minproc.browser.js +8 -0
- package/node_modules/vfile/lib/minproc.js +1 -0
- package/node_modules/vfile/lib/minurl.browser.js +76 -0
- package/node_modules/vfile/lib/minurl.js +2 -0
- package/node_modules/vfile/lib/minurl.shared.js +31 -0
- package/node_modules/vfile/license +21 -0
- package/node_modules/vfile/package.json +126 -0
- package/node_modules/vfile/readme.md +785 -0
- package/node_modules/vfile-message/index.js +5 -0
- package/node_modules/vfile-message/lib/index.js +314 -0
- package/node_modules/vfile-message/license +22 -0
- package/node_modules/vfile-message/package.json +72 -0
- package/node_modules/vfile-message/readme.md +252 -0
- package/node_modules/zwitch/index.js +118 -0
- package/node_modules/zwitch/license +22 -0
- package/node_modules/zwitch/package.json +64 -0
- package/node_modules/zwitch/readme.md +226 -0
- package/package.json +93 -3
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ workspace and no build step. Native packages that ship one build per platform
|
|
|
26
26
|
ripgrep, the PTY backend's addons, sharp, koffi, and the Landlock launcher — are
|
|
27
27
|
ordinary optional dependencies, so npm resolves the right one for your machine.
|
|
28
28
|
|
|
29
|
-
Requires Node `^22.19.0 || >=24.0.0`. Version 0.1.
|
|
29
|
+
Requires Node `^22.19.0 || >=24.0.0`. Version 0.1.22; `dsh --version`
|
|
30
30
|
also reports the harness build the package was assembled from.
|
|
31
31
|
|
|
32
32
|
## License
|
package/bin/dsh.mjs
CHANGED
|
@@ -18,7 +18,7 @@ const argv = process.argv.slice(2)
|
|
|
18
18
|
// version this package publishes. Reporting only one of the two would make an
|
|
19
19
|
// ordinary `npm install @songtonyli/dsh-cli@x` look like it installed something else.
|
|
20
20
|
if (argv.length === 1 && (argv[0] === '--version' || argv[0] === '-V')) {
|
|
21
|
-
console.log('@songtonyli/dsh-cli 0.1.
|
|
21
|
+
console.log('@songtonyli/dsh-cli 0.1.22 (deepseek-harness 0.1.6-alpha.2)')
|
|
22
22
|
process.exit(0)
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -160,7 +160,7 @@ window.__ModuleLoader__.load({
|
|
|
160
160
|
const SCROLLBAR_LINGER_MS = 2e3;
|
|
161
161
|
/** Format complete-build metadata for the local brand badge. */
|
|
162
162
|
function localBuildVersion() {
|
|
163
|
-
return `0.1.6-alpha.2-
|
|
163
|
+
return `0.1.6-alpha.2-37b4881-dirty`;
|
|
164
164
|
}
|
|
165
165
|
/** Each panel row subscribes only to its own selection state. */
|
|
166
166
|
function PanelRow({ id, label, wide, usePanelInfo, selectPanel, renderSlot }) {
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/bundle/tui-app/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: b96a38f5e0d042e701f0e994aa508474316fddda
|
|
6
|
+
README.zh.md: 537d1b8aae4006b2050a9aa29810d53cdb5af9e4
|
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
`dsh-tui-app` is the terminal surface of dsh: `dsh tui` starts a multi-turn session in your terminal, with no browser and no server. Replies stream, tool calls become foldable cards, approvals and `ask_user_question` questions appear above the input, `@` completes paths and sessions, and `/`-commands share the Web registry. Arrow keys walk the conversation through a docked inspector; `Ctrl+G` reads it full screen, turns side by side.
|
|
12
|
+
`dsh-tui-app` is the terminal surface of dsh: `dsh tui` starts a multi-turn session in your terminal, with no browser and no server. Replies stream, tool calls become foldable cards, approvals and `ask_user_question` questions appear above the input, `@` completes paths and sessions, and `/`-commands share the Web registry. Arrow keys walk the conversation through a docked inspector; `Ctrl+G` reads it full screen, turns side by side. Persisted sessions reopen through `/resume`, `/sessions`, or startup `--resume`; `/new` and `/fork` create them, and `/export` writes ZIPs. It runs `dsh web`'s model, tools, and safety defaults, one session at a time.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -36,11 +36,11 @@ dsh tui --resume <session-id> # continue an earlier session
|
|
|
36
36
|
dsh tui --no-open # print sign-in URLs without opening a browser
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
On quit the app prints `dsh: session <id> saved; resume with: dsh --profile tui --resume <id>` on stderr for the session bound at that moment. A resumed session redraws its persisted history before accepting input; inside the terminal, `/sessions`
|
|
39
|
+
On quit the app prints `dsh: session <id> saved; resume with: dsh --profile tui --resume <id>` on stderr for the session bound at that moment. A resumed session redraws its persisted history before accepting input; inside the terminal, `/resume` and `/sessions` open the same picker over every persisted root session and resume the selected previous session, `/new` starts a fresh one, and `/fork` copies the current session up to its last completed turn into a new one, the same cut the browser's fork takes. Switching releases the previous Agent and redraws the transcript of the next.
|
|
40
40
|
|
|
41
41
|
### The screen
|
|
42
42
|
|
|
43
|
-
The header names the session by its title once one is generated or set, with the id beside it. The transcript grows in the terminal's own scrollback: your prompts start with `›` (attachments listed under them), assistant reasoning is dim above the Markdown reply, and each tool call is a card with a status glyph, the tool name, the presenter headline, and a body folded to `toolPreviewLines` rows. A nonempty system prompt and each injected context — instructions, catalogs, snapshots, notices, relays, and recalls — draw as a dim `⬡` title over the first `contextPreviewLines` rows of their model-facing text, with each snapshot contribution named above its own rows; an empty system prompt and a compaction replacement are omitted. A tool card and a context block that carry more rows than they draw end on one marker: `… <n> more rows · Space expands` while the conversation's focus holds that block, and `… <n> more rows · Ctrl+O expands` otherwise. Streamed reply text fades in and every word keeps its own clock: a word enters near the terminal's background color and brightens to the color it settles in over `streamFadeSteps` ticks of `streamFadeStepMs` each, so a fast stream leaves a longer trail of brightening words rather than a darker one. Streamed reasoning and a tool card float out over the same duration: they appear at a lifted color and recede to the dim italic or palette colors they settle in; a card redrawn from persisted history carries no fade, and text that has settled is never dimmed again.
|
|
43
|
+
The header names the session by its title once one is generated or set, with the id beside it. The transcript grows in the terminal's own scrollback: your prompts start with `›` (attachments listed under them), assistant reasoning is dim above the Markdown reply, and each tool call is a card with a status glyph, the tool name, the presenter headline, and a body folded to `toolPreviewLines` rows. A nonempty system prompt and each injected context — instructions, catalogs, snapshots, notices, relays, and recalls — draw as a dim `⬡` title over the first `contextPreviewLines` rows of their model-facing text, with each snapshot contribution named above its own rows; an empty system prompt and a compaction replacement are omitted. A tool card and a context block that carry more rows than they draw end on one marker: `… <n> more rows · Space expands` while the conversation's focus holds that block, and `… <n> more rows · Ctrl+O expands` otherwise. Fenced code in a reply, the file rows of a `read` card, and the changed rows of an `edit` or `write` diff card — behind their line numbers and `+` / `-` signs, in the language the file's extension names — are drawn in syntax colours from a theme the terminal's own background picks, light or dark; the grammar of a language loads on the first block that asks for it, so that block draws plain and is repainted in colour a moment later, and a language with no grammar here, a terminal that reports neither 24-bit nor 256 colours, and `codeHighlight: false` each draw every block plain. Streamed reply text fades in and every word keeps its own clock: a word enters near the terminal's background color and brightens to the color it settles in over `streamFadeSteps` ticks of `streamFadeStepMs` each, so a fast stream leaves a longer trail of brightening words rather than a darker one. Streamed reasoning and a tool card float out over the same duration: they appear at a lifted color and recede to the dim italic or palette colors they settle in; a card redrawn from persisted history carries no fade, and text that has settled is never dimmed again.
|
|
44
44
|
|
|
45
45
|
Below the transcript sit a spinner while the agent works, any open prompt, the editor, the subagent panel, and the footer: a status bar that, unfocused, is one line built from both ends inward. The editor's caret is the terminal's own blinking bar: the app asks for that shape at start, gives your default back on quit, and draws no caret at all while the status bar or the panel holds the keyboard. The model is anchored at the left edge and is never dropped — past 20 columns it falls back to the bare model name, and only a label still too wide for that is ellipsized — and the two keys that leave the input are anchored at the right edge as `Shift+↑ read · Shift+↓ status`, narrowing to `Shift+↑↓ nav` and dropped below 40 columns. The key facts fill whatever middle is left, in bar order: effort (`effort default` when the selection leaves reasoning to the model), the running turn's elapsed time, the context window percentage, the todo counts, and the workspace path (shortened with `~` and `…/` when long). Every segment that middle cannot hold folds into a trailing `+N`, together with the segments the unfocused line never draws — the permission preset, cumulative token usage, the goal and plan-mode markers from the projection seam, and the count of pending attachments. Compaction and model-request retries appear as notices, the same facts the browser's markers carry.
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ While the keyboard walks the conversation a framed inspector is docked directly
|
|
|
48
48
|
|
|
49
49
|
The focused block is also marked where it stands, with a two-column gutter that is dim beside the block's other lines and accented beside the focused section's own — or beside the fold marker, when the fold left that section out of the drawn rows entirely — and its content wraps two columns narrower while the mark is drawn. That mark reaches only the lines pi-tui still repaints differentially — the last `rows` lines of the last frame it wrote, a window a taller frame raises and a shorter one never lowers — because changing anything above them would clear the terminal's scrollback. A block that has scrolled past that point keeps no gutter, the inspector heading appends ` · off screen`, and the frame's own rules draw dim instead of accent, so the frame itself reports that the mark cannot be drawn where the block stands. A fade whose rows reach that edge settles them to their final colors in the frame that writes them, so nothing stays dim in the scrollback.
|
|
50
50
|
|
|
51
|
-
`Ctrl+G` from any region, `Enter` on a conversation section, and `/turns` read the conversation full screen. The reader is an overlay composited into the viewport, so it costs the conversation no line and leaves the repaint window where it was. It draws two panels under a top rule carrying a ` ● READER ` chip and `turn <n> of <total>`: the left panel lists one row per turn —
|
|
51
|
+
`Ctrl+G` from any region, `Enter` on a conversation section, and `/turns` read the conversation full screen. The reader is an overlay composited into the viewport, so it costs the conversation no line and leaves the repaint window where it was; where a frame that has since shrunk put the top of the viewport out of the renderer's reach, blank rows at the foot of the frame give it back and the reader covers the whole terminal. It draws two panels under a top rule carrying a ` ● READER ` chip and `turn <n> of <total>`: the left panel lists one row per turn — the turn number, the first line of its prompt, and right-aligned markers, `⬡<n>` injected context blocks, `✻` any reasoning, `¶` any reply, `⚒<n>` tool calls — with the sections of the turn being read listed under it, `▸` on the one the reader holds, so any turn's own context is one step away; the right panel scrolls that turn end to end, its sections stacked under `── <label> · turn <n> ` headers with the section the top row belongs to accented. Rows are never folded there: the reader is where the full model-facing text of a system prompt, an injected snapshot, a long reply, or a tool result is read. `Right` opens the selected turn and `Left` goes back to the list; in the list `Up` / `Down` step one section at a time and cross into the turn either side while `PageUp` / `PageDown` step a whole turn, in the turn they scroll one row at a time, and the section the top row belongs to is where the conversation resumes when the reader closes. `/` opens a query line in place of the legend and narrows the list to the turns whose prompt or text matches, with the readout reading `<kept>/<total> turns`; otherwise the legend rule reports `turn 3/12 · row 14/212` at its right, which no width drops. Below `readerMinColumns` the body draws one panel at a time — the list, or the turn `Right` opens from it — and below 24 columns or 8 rows it draws one dim line, `terminal too small for the reader (needs 24×8)`, and answers only `Esc`, `Ctrl+G`, and `Ctrl+C`. It re-reads the conversation on every render, so a streaming reply grows inside it, a landing tool result appears, and a new turn joins the list; a rewrap re-anchors on the section being read rather than on a row number; an approval or a question steps it aside for that prompt's lifetime; and a session switch takes it down with the notice `the transcript changed · reader closed`.
|
|
52
52
|
|
|
53
53
|
Transient key feedback floats as a dim framed line in the top-right corner of the viewport: `press Esc again to stop turn <n>`, `press Ctrl+C again to quit`, `nothing in the transcript to read yet`, and `above the repaint window · opened in the reader`. It holds at full strength for `toastMs`, fades out, costs the conversation no row of its own, and takes no keyboard; where the renderer can no longer repaint the top of the viewport it is printed into the conversation instead, which keeps it. Facts worth keeping are notices in the conversation: `stopping the turn…`, `wait for the session switch to finish`, and every command result.
|
|
54
54
|
|
|
@@ -58,18 +58,19 @@ The subagent panel is drawn while a subagent session under the bound one is resi
|
|
|
58
58
|
|
|
59
59
|
### Keys and commands
|
|
60
60
|
|
|
61
|
-
The conversation, the input, the subagent panel, and the status bar stack in the order the screen draws them, and `Up` / `Down` walk that stack through the input: `Down` at the newest section, `Up` on the panel's first row, and `Up` on the status bar with no panel drawn all land at the caret. `Tab` and `Shift+Tab` walk the regions that are drawn, wrapping at both ends. A printable key pressed in any of them returns to the input and types there, so a sentence started while reading lands where it was aimed; `Space` in the conversation is the one exception, and folds the marked tool card or context block. `Ctrl+G` and `Ctrl+O` mean the same thing in every one of those regions, and `Ctrl+C` and `Ctrl+D` return the keyboard to the input before they act. A prompt and the reader own their whole key stream instead, and answer `Ctrl+C` by giving the keyboard back.
|
|
61
|
+
The conversation, the input, the subagent panel, and the status bar stack in the order the screen draws them, and `Up` / `Down` walk that stack through the input: `Down` at the newest section, `Up` on the panel's first row, and `Up` on the status bar with no panel drawn all land at the caret. While a region other than the editor has the keyboard, `Tab` and `Shift+Tab` walk the regions that are drawn, wrapping at both ends; in the editor, `Tab` takes the offered completion and `Shift+Tab` opens the reasoning-effort picker. A printable key pressed in any of them returns to the input and types there, so a sentence started while reading lands where it was aimed; `Space` in the conversation is the one exception, and folds the marked tool card or context block. `Ctrl+G` and `Ctrl+O` mean the same thing in every one of those regions, and `Ctrl+C` and `Ctrl+D` return the keyboard to the input before they act. A prompt and the reader own their whole key stream instead, and answer `Ctrl+C` by giving the keyboard back.
|
|
62
62
|
|
|
63
63
|
While the input has the keyboard:
|
|
64
64
|
|
|
65
65
|
| Key | Effect |
|
|
66
66
|
|---|---|
|
|
67
|
-
| `Enter` | Send the editor text; while a turn runs it is queued for the next turn |
|
|
67
|
+
| `Enter` | Send the editor text; while a turn runs it is queued for the next turn and waits as a dim `⏳ next turn` row above the editor until the loop claims it, entering the conversation then |
|
|
68
68
|
| `Shift+Enter` | Insert a newline |
|
|
69
69
|
| `Ctrl+S` | While a turn runs, steer the editor text into the running turn's next step |
|
|
70
70
|
| `Up` / `Down` | Recall earlier prompts |
|
|
71
|
+
| `Shift+Left` / `Shift+Right` | Move one word left / right with pi-tui's editor navigation; from the end of `I want to do`, `Shift+Left` lands before `do` |
|
|
71
72
|
| `Tab` | Take the completion the editor offers |
|
|
72
|
-
| `Shift+Tab` |
|
|
73
|
+
| `Shift+Tab` | Open the current model's reasoning-effort picker for the next request, the same picker as empty `/effort` |
|
|
73
74
|
| `Shift+Up` | Focus the conversation on the section the walk stopped at; a first entry, and the entry after a session switch, land on the newest section |
|
|
74
75
|
| `Shift+Down` | Focus the subagent panel's first row while it is drawn, and the status bar otherwise |
|
|
75
76
|
| `Ctrl+G` | Read the conversation full screen, on its newest section |
|
|
@@ -128,9 +129,9 @@ While the reader is open:
|
|
|
128
129
|
|
|
129
130
|
| Key | Effect |
|
|
130
131
|
|---|---|
|
|
131
|
-
| `Up` / `Down` | In the turn list, the previous / next turn; in the turn, one row up / down |
|
|
132
|
-
| `PageUp` / `PageDown` |
|
|
133
|
-
| `Home` / `End` | The first / last
|
|
132
|
+
| `Up` / `Down` | In the turn list, the previous / next section, crossing into the turn either side; in the turn, one row up / down |
|
|
133
|
+
| `PageUp` / `PageDown` | The previous / next turn, or a page of rows with one row of overlap |
|
|
134
|
+
| `Home` / `End` | The first / last section of the conversation, or the first / last row of the turn |
|
|
134
135
|
| `Right`, `Tab`, `Enter` | From the list, read the turn beside it |
|
|
135
136
|
| `Left`, `Tab`, `Shift+Tab` | From the turn, return to the list |
|
|
136
137
|
| `/` | In the list, open the turn filter: printable keys extend the query, `Backspace` drops one character, `Ctrl+U` clears it, `Enter` keeps the narrowed list and closes the line, and `Esc` clears a non-empty query and then closes the line |
|
|
@@ -139,20 +140,22 @@ While the reader is open:
|
|
|
139
140
|
|
|
140
141
|
Every other key reaching the reader is consumed, and closing it opens the same 750 ms handoff window, so no number of consecutive `Esc` presses reaches the input's stop.
|
|
141
142
|
|
|
142
|
-
Every focused segment expands its most important facts on the second line. `Enter` prints those facts into the transcript for every segment except `todo`, stating what they are and what changes them: the model segment names `/model`, the effort segment `Shift+Tab`, and the permission segment its preset, the `turn` segment — drawn as `turn <elapsed>` between the permission and usage segments, and only while a turn runs — gives the turn number, its start time, its elapsed time, and the queued-message counts, while the usage, context, goal, and plan segments print the matching sections of the `/status` report, the workspace segment the full path, and the attachments segment the pending attachments. The `todo` segment expands the counts by status and the item being worked on, or the next pending item when none is in progress, and `Enter` opens the agent's todo list, the same list `/todos` opens.
|
|
143
|
+
Every focused segment expands its most important facts on the second line. `Enter` prints those facts into the transcript for every segment except `todo`, stating what they are and what changes them: the model segment names `/model`, the effort segment names the picker shared by `Shift+Tab` and `/effort`, and the permission segment names its preset, the `turn` segment — drawn as `turn <elapsed>` between the permission and usage segments, and only while a turn runs — gives the turn number, its start time, its elapsed time, and the queued-message counts, while the usage, context, goal, and plan segments print the matching sections of the `/status` report, the workspace segment the full path, and the attachments segment the pending attachments. The `todo` segment expands the counts by status and the item being worked on, or the next pending item when none is in progress, and `Enter` opens the agent's todo list, the same list `/todos` opens.
|
|
143
144
|
|
|
144
145
|
Typing `/` at the start of the editor completes the terminal's own commands and the shared registry's; `@` anywhere completes references.
|
|
145
146
|
|
|
146
147
|
| Command | Effect |
|
|
147
148
|
|---|---|
|
|
148
149
|
| `/help` | List the commands, and the keys each focus state answers |
|
|
149
|
-
| `/model` | Pick the model (type to filter the rows), then its reasoning effort when the model declares more than one, for the next request; `/model <provider>/<model>` selects directly
|
|
150
|
-
| `/
|
|
150
|
+
| `/model` | Pick the model (type to filter the rows), then its reasoning effort when the model declares more than one, for the next request; `/model <provider>/<model>` selects directly, `/model save` stores the current selection as the default, and `Ctrl+S` in the model list stores the highlighted model as the default for the next launch without closing the list |
|
|
151
|
+
| `/effort [id]` | With no argument, open the current model's reasoning-effort picker for the next request, the same picker as editor `Shift+Tab`; an id selects directly and `/effort default` restores the provider default |
|
|
152
|
+
| `/resume` | Open the same persisted-session picker as `/sessions` and resume the selected previous session |
|
|
153
|
+
| `/sessions` | Open the persisted-session picker and switch to the selected session |
|
|
151
154
|
| `/new` | Start a new session |
|
|
152
155
|
| `/fork [turn]` | Fork this session at its last completed turn, or after turn `turn` |
|
|
153
156
|
| `/title <text>` | Rename this session; alone it shows the current title |
|
|
154
157
|
| `/attach <path>` | Attach an image or file to the next prompt; `/attach` lists, `/attach clear` drops them |
|
|
155
|
-
| `/queue` | Show the messages queued for the next turn and step; `/queue clear` drops them |
|
|
158
|
+
| `/queue` | Show the messages queued for the next turn and step; `/queue clear` drops them, and the rows above the editor with them |
|
|
156
159
|
| `/skills` | List the skills the agent can load |
|
|
157
160
|
| `/signin` | Sign in to a provider through its notices and prompts; `/signin <key>` skips the picker |
|
|
158
161
|
| `/login` | Sign in with a provider subscription (hides key-collecting logins); `/login <key>` skips the picker |
|
|
@@ -171,7 +174,7 @@ Typing `/` at the start of the editor completes the terminal's own commands and
|
|
|
171
174
|
|
|
172
175
|
Every other `/name` line goes to the shared command registry, so `/compact`, `/permission`, `/goal`, and plugin commands work as they do in the browser.
|
|
173
176
|
|
|
174
|
-
Every picker the terminal opens —
|
|
177
|
+
Every picker the terminal opens — `/model`'s model and reasoning-effort lists, the current-model effort list shared by empty `/effort` and editor `Shift+Tab`, the persisted-session list shared by `/resume` and `/sessions`, the `/subagents` and `/todos` lists, and the rows `/signin` and `/login` raise — filters its rows as you type: the query matches each row's label and description together, its whitespace- and slash-separated tokens must all match, and the rows are ordered best match first, so `dsk chat` and `deepseek/chat` both find `deepseek/deepseek-chat` and `gpt5` finds `gpt-5`. `Backspace` drops the last character, `Ctrl+U` clears the query, `Esc` clears a non-empty query and cancels the picker once the query is empty, `Up` / `Down` move within the matches, and `Enter` picks the highlighted row. The dim line above the rows reads `type to filter · Enter selects · Esc cancels` while the query is empty and `filter: <query> · <kept>/<total>` afterwards; a query nothing matches draws `no row matches "<query>"` in place of the rows, and the `✓` on the row in force — the row a picker opens on — shows only while the query is empty.
|
|
175
178
|
|
|
176
179
|
`/subagents`, `/todos`, and the `todo` status-bar segment share one list-then-details interaction: the picker lists the entries, `Enter` opens the highlighted entry as a read-only page, `Up` / `Down` and `PageUp` / `PageDown` scroll that page, and `Enter`, `Esc`, or `Left` returns to the list on the entry just read, so walking several entries costs no retyped command; `Esc` at the list returns to the editor. An entry whose details cannot be read says so on its page instead of closing the list.
|
|
177
180
|
|
|
@@ -197,9 +200,10 @@ An approval request draws `Allow <tool>?` with the asker's reason, the logged ca
|
|
|
197
200
|
| `contextPreviewLines` | `4` | Rows a system prompt or an injected `⬡` context block draws before `Space` on the marked block, or `Ctrl+O`, expands it |
|
|
198
201
|
| `focusPreviewLines` | `12` | Rows of the focused section the docked inspector shows before its fold marker sends the rest to the reader, for every section kind |
|
|
199
202
|
| `readerMinColumns` | `60` | Columns the reader needs before it draws the selected turn beside the turn list; below it one panel is drawn at a time |
|
|
203
|
+
| `codeHighlight` | `true` | Draw fenced code in a reply and the file rows of `read` and diff tool cards in syntax colours, from a theme the terminal's background picks |
|
|
200
204
|
| `toastMs` | `2000` | How long a transient key-feedback line holds at full strength before it fades out, which is also the window in which a second `Esc` stops the running turn |
|
|
201
205
|
| `liveRefreshMs` | `1000` | Period of the redraw that advances the `turn` segment and the panel's elapsed values and re-reads a stale subagent listing |
|
|
202
|
-
| `streamFadeSteps` | `
|
|
206
|
+
| `streamFadeSteps` | `12` | How many ticks a fade lasts: reply text fades in, reasoning and tool cards float out, over `streamFadeSteps × streamFadeStepMs` |
|
|
203
207
|
| `streamFadeStepMs` | `33` | One fade tick, and the repaint period while anything is still moving; duration is `streamFadeSteps × streamFadeStepMs` |
|
|
204
208
|
| `reducedMotion` | `false` | Draw streamed text, streamed reasoning, tool cards, and the chrome in their settled colors, with no fade, no lift, no reader reveal, and no repeating repaint |
|
|
205
209
|
| `openBrowser` | `true` | Hand marked authorization pages to the local default browser |
|
|
@@ -218,7 +222,7 @@ The runner is a direct driver over the core API carrier, like `dsh-headless`, th
|
|
|
218
222
|
|
|
219
223
|
### Run flow
|
|
220
224
|
|
|
221
|
-
The runner awaits the complete application (`ctx.get('loader')?.await()`) and builds a session host over the core registry with three operations: `create` makes one fresh persisted Agent with the shared [`agentDefaultModel`](../../core/agent-default-model/README.md) selection, `resume` reads the persisted log in pages through a read handle of `ctx.sessionPersistence` and resumes the Agent through the registry, and `fork` observes the source through `ctx.sessionQuery`, cuts after the chosen (by default the last) `turn/end` up to the next `turn/start`, and creates a seeded Agent with `parentSession` and `isSeeded` metadata. Every operation installs a `ModelSelectionRef` in the Agent's scoped setup so `/model` changes the next request. The terminal application starts on the session `--resume` or a fresh `create` yields, subscribes to `session/event`, `agent/assistant-stream`, and `agent/status`, answers the `approval/request` and `user-questions/request` waterfalls for the bound Agent only, and switches sessions by binding the next one and disposing the previous handle; while the host opens the next session the editor refuses input, and a quit during that wait releases the session that arrives afterwards. Quitting cancels any running turn, waits for quiescence, flushes the bound Session, disposes its handle, and requests exit 0; a driver failure writes `dsh: <message>` to stderr and requests exit 1. Shift+Tab
|
|
225
|
+
The runner awaits the complete application (`ctx.get('loader')?.await()`) and builds a session host over the core registry with three operations: `create` makes one fresh persisted Agent with the shared [`agentDefaultModel`](../../core/agent-default-model/README.md) selection, `resume` reads the persisted log in pages through a read handle of `ctx.sessionPersistence` and resumes the Agent through the registry, and `fork` observes the source through `ctx.sessionQuery`, cuts after the chosen (by default the last) `turn/end` up to the next `turn/start`, and creates a seeded Agent with `parentSession` and `isSeeded` metadata. Every operation installs a `ModelSelectionRef` in the Agent's scoped setup so `/model` changes the next request. The terminal application starts on the session `--resume` or a fresh `create` yields, subscribes to `session/event`, `agent/assistant-stream`, and `agent/status`, answers the `approval/request` and `user-questions/request` waterfalls for the bound Agent only, and switches sessions by binding the next one and disposing the previous handle; while the host opens the next session the editor refuses input, and a quit during that wait releases the session that arrives afterwards. Quitting cancels any running turn, waits for quiescence, flushes the bound Session, disposes its handle, and requests exit 0; a driver failure writes `dsh: <message>` to stderr and requests exit 1. `/resume` and `/sessions` share the persisted-session chooser. Editor `Shift+Tab` dispatches empty `/effort` to open its current-model picker, and editor `Shift+Left` / `Shift+Right` use pi-tui's word navigation. `/login` starts `authorization.begin` with only subscription methods (every method except a key-collecting `api-key` login). A notice the flow marks with `openInBrowser` is handed to the default browser through `dsh-native-command`'s credential-scrubbed helper while the URL stays printed; the handoff is suppressed when `openBrowser` is false, the launch came through SSH, or the host has no desktop, and an opener failure becomes a notice beside the URL rather than a sign-in failure.
|
|
222
226
|
|
|
223
227
|
### Rendering model
|
|
224
228
|
|
|
@@ -236,7 +240,8 @@ The patch rides over `dsh-base`: it sets the coding persona prefix and cwd suffi
|
|
|
236
240
|
| [`src/startup.ts`](src/startup.ts) | The `tui-app-startup` provider: prompt positional, `--resume`, `--no-open`, and `--help` |
|
|
237
241
|
| [`src/app.ts`](src/app.ts) | The terminal application: layout, the key router, commands, session binding, seams, log and stream folding, the stop arm, and the overlays it mounts |
|
|
238
242
|
| [`src/keys.ts`](src/keys.ts) | The key model: the focus regions, what one press means in each, the legends they degrade through, the entry keys, the `/help` lines, and the handoff window |
|
|
239
|
-
| [`src/sessions.ts`](src/sessions.ts) | The
|
|
243
|
+
| [`src/sessions.ts`](src/sessions.ts) | The persisted-session list and picker rows shared by `/resume` and `/sessions` |
|
|
244
|
+
| [`src/effort.ts`](src/effort.ts) | Reasoning-effort names and picker rows shared by `/model`, `/effort`, and editor `Shift+Tab` |
|
|
240
245
|
| [`src/attach.ts`](src/attach.ts) | `/attach`: local files into image or file blocks through the attachment store |
|
|
241
246
|
| [`src/export.ts`](src/export.ts) | `/export`: the session-log ZIP written through the export package's archive helpers |
|
|
242
247
|
| [`src/blocks.ts`](src/blocks.ts) | Transcript components: user prompt, assistant reply, tool card, system prompt and injected context, notice; the navigable blocks expose their sections and draw the focus gutter, and the foldable ones carry the marker both fold keys name |
|
|
@@ -254,8 +259,9 @@ The patch rides over `dsh-base`: it sets the coding persona prefix and cwd suffi
|
|
|
254
259
|
| [`src/transcript.ts`](src/transcript.ts) | Pure text folding of presentation views, usage, and turn-end reasons, and the one fold grammar every marker is written in |
|
|
255
260
|
| [`src/diff.ts`](src/diff.ts) | Line diff and hunk selection for diff cards |
|
|
256
261
|
| [`src/style.ts`](src/style.ts) | The palette and the derived pi-tui themes |
|
|
262
|
+
| [`src/highlight.ts`](src/highlight.ts) | Syntax colour for fenced code: the grammars a fence may load, the theme the background picks, and the SGR one token is drawn with |
|
|
257
263
|
| [`src/completion.ts`](src/completion.ts) | Slash-command and `@`-reference completion for the editor |
|
|
258
|
-
| [`src/editor.ts`](src/editor.ts) | The prompt editor
|
|
264
|
+
| [`src/editor.ts`](src/editor.ts) | The prompt editor's terminal caret and its `Shift+Left` / `Shift+Right` mapping to pi-tui word navigation |
|
|
259
265
|
| [`src/status.ts`](src/status.ts) | Projection-seam facts and the sections the `/status` report and the segment details share; compaction and retry notices |
|
|
260
266
|
| [`src/footer.ts`](src/footer.ts) | The status bar: the ordered segments, each segment's detail rows, the unfocused line built from both ends, and the focused sliding window |
|
|
261
267
|
| [`src/subagent-panel.ts`](src/subagent-panel.ts) | The live subagent panel: one descendant listing plus sampled live facts become its rows, the unfocused summary line, and the focused listing |
|
|
@@ -263,14 +269,16 @@ The patch rides over `dsh-base`: it sets the coding persona prefix and cwd suffi
|
|
|
263
269
|
| [`src/todos.ts`](src/todos.ts) | The todo list: the status glyphs, the picker rows, and one item's detail rows |
|
|
264
270
|
| [`cordis.patch.yml`](cordis.patch.yml) | The terminal patch over `dsh-base` |
|
|
265
271
|
| — | No runtime invariant companion is published; the app registers listeners on one Agent and holds no mutable relation another observer could contradict. |
|
|
266
|
-
| [`tests/app.spec.ts`](tests/app.spec.ts) | Rendering, keys, commands, the stop arm, and both seams over a fake terminal |
|
|
272
|
+
| [`tests/app.spec.ts`](tests/app.spec.ts) | Rendering, keys, commands, the stop arm, the queued-prompt rows above the editor, and both seams over a fake terminal |
|
|
267
273
|
| [`tests/keys.spec.ts`](tests/keys.spec.ts) | What each region claims for a key, the legend steps, and the text one press types |
|
|
274
|
+
| [`tests/editor.spec.ts`](tests/editor.spec.ts) | The terminal caret and `Shift+Left` / `Shift+Right` word navigation against pi-tui's editor behavior |
|
|
268
275
|
| [`tests/frame.spec.ts`](tests/frame.spec.ts) | The rules, the chip, the body rows, and the legend a width holds |
|
|
269
276
|
| [`tests/motion.spec.ts`](tests/motion.spec.ts) | The motion clock's levels, its repaint demand, and the lift each level draws |
|
|
270
277
|
| [`tests/toast.spec.ts`](tests/toast.spec.ts) | The transient line's box, its hold, its fade, and its early settlement |
|
|
271
278
|
| [`tests/reader.spec.ts`](tests/reader.spec.ts) | The reader's geometry, its state machine, its filter, and the rows it returns |
|
|
272
279
|
| [`tests/reader-overlay.spec.ts`](tests/reader-overlay.spec.ts) | The mounted pane: its key map, its reveal, its re-anchoring, and its exit |
|
|
273
|
-
| [`tests/commands.spec.ts`](tests/commands.spec.ts) |
|
|
280
|
+
| [`tests/commands.spec.ts`](tests/commands.spec.ts) | The `/resume` and `/sessions` picker, attachments, queues, skills, sign-in, export, references, the picker shared by `/effort` and `Shift+Tab`, and `Ctrl+S` in the model list over scripted services |
|
|
281
|
+
| [`tests/effort.spec.ts`](tests/effort.spec.ts) | Shared effort names, picker rows, the current-effort hint, and typed argument matching |
|
|
274
282
|
| [`tests/panels.spec.ts`](tests/panels.spec.ts) | Status footer and report, the navigable subagent and todo lists, catalog commands, command hints, and the approval detail |
|
|
275
283
|
| [`tests/transcript-focus.spec.ts`](tests/transcript-focus.spec.ts) | Walking the conversation, the region stack, the inspector, the reader over a live session, and the in-place gutter inside the repaint window |
|
|
276
284
|
| [`tests/context.spec.ts`](tests/context.spec.ts) | Projection of system prompts and injected context into transcript sections |
|
|
@@ -319,7 +327,7 @@ The runner adds nothing to the request prefix; a `/model` switch starts a new re
|
|
|
319
327
|
|
|
320
328
|
These limits describe the terminal surface as shipped; they are not a general CLI comparison or a task backlog.
|
|
321
329
|
|
|
322
|
-
- **One session at a time** — `/sessions`, `/new`, and `/fork`
|
|
330
|
+
- **One session at a time** — `/resume`, `/sessions`, `/new`, and `/fork` move the terminal between sessions, but only the bound Agent streams; the browser shows several sessions side by side.
|
|
323
331
|
- **Approvals are one-shot** — the prompt offers allow once or reject, matching the approval seam's vocabulary; there is no remembered grant.
|
|
324
332
|
- **Browser-only pages stay in the browser** — workspace and directory pickers, open-in-app links, the trajectory ledger, and per-message like/dislike have no terminal counterpart; `/settings`, `/plugins`, `/subagents`, `/outline`, and the shared `/feedback` cover their facts as text, and subagent transcripts are read by switching to the child session.
|
|
325
333
|
- **Deliverables are named, not opened** — `/deliverables` lists the presented paths and `/changes` shows line comparisons; the browser previews the files.
|
|
@@ -9,7 +9,7 @@ kind: "package-bundle"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
`dsh-tui-app` 是 dsh 的终端表层:`dsh tui` 在你的终端里启动一个多轮会话,没有浏览器、也没有服务器。回复流式显示,工具调用变成可折叠的卡片,审批与 `ask_user_question` 的问题出现在输入框上方,`@` 补全路径与会话,`/` 命令与 Web 共用注册表。方向键在停靠的检视面板中走遍对话记录;`Ctrl+G`
|
|
12
|
+
`dsh-tui-app` 是 dsh 的终端表层:`dsh tui` 在你的终端里启动一个多轮会话,没有浏览器、也没有服务器。回复流式显示,工具调用变成可折叠的卡片,审批与 `ask_user_question` 的问题出现在输入框上方,`@` 补全路径与会话,`/` 命令与 Web 共用注册表。方向键在停靠的检视面板中走遍对话记录;`Ctrl+G` 把它整屏读出、各轮次并排。持久化会话可通过 `/resume`、`/sessions` 或启动参数 `--resume` 恢复;`/new` 与 `/fork` 创建会话,`/export` 写出 ZIP。它运行 `dsh web` 的模型、工具与安全默认值,同一时间一个会话。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -36,11 +36,11 @@ dsh tui --resume <session-id> # continue an earlier session
|
|
|
36
36
|
dsh tui --no-open # print sign-in URLs without opening a browser
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
退出时应用在 stderr 为当时绑定的会话打印 `dsh: session <id> saved; resume with: dsh --profile tui --resume <id>`。恢复的会话会在接受输入前先重绘其持久化历史;在终端内,`/sessions`
|
|
39
|
+
退出时应用在 stderr 为当时绑定的会话打印 `dsh: session <id> saved; resume with: dsh --profile tui --resume <id>`。恢复的会话会在接受输入前先重绘其持久化历史;在终端内,`/resume` 与 `/sessions` 打开覆盖所有持久化根会话的同一个选择器,并恢复选中的先前会话,`/new` 开始一个新会话,`/fork` 把当前会话复制到其最后一个完成轮次并作为新会话,切割点与浏览器的 fork 相同。切换会释放先前的 Agent 并重绘下一个会话的对话记录。
|
|
40
40
|
|
|
41
41
|
### 屏幕布局
|
|
42
42
|
|
|
43
|
-
页眉在标题生成或设置后以标题命名会话,并在旁边显示 id。对话记录在终端自身的回滚区中增长:你的提示以 `›` 开头(附件列在其下),assistant 的推理以暗色显示在 Markdown 回复上方,每次工具调用是一张卡片,含状态符号、工具名、呈现器标题,以及折叠到 `toolPreviewLines` 行的正文。非空的系统提示词与每一条注入的上下文——instructions、catalogs、snapshots、notices、relays 与 recalls——绘制为暗色 `⬡` 标题,其下是面向模型文本的前 `contextPreviewLines` 行,快照的每一份贡献具名写在其自身各行上方;空的系统提示词与压缩替换则省略。承载的行数多于其绘制行数的工具卡片与上下文块,结尾都是同一条标记:该块被对话记录的焦点持有时为 `… <n> more rows · Space expands`,否则为 `… <n> more rows · Ctrl+O expands
|
|
43
|
+
页眉在标题生成或设置后以标题命名会话,并在旁边显示 id。对话记录在终端自身的回滚区中增长:你的提示以 `›` 开头(附件列在其下),assistant 的推理以暗色显示在 Markdown 回复上方,每次工具调用是一张卡片,含状态符号、工具名、呈现器标题,以及折叠到 `toolPreviewLines` 行的正文。非空的系统提示词与每一条注入的上下文——instructions、catalogs、snapshots、notices、relays 与 recalls——绘制为暗色 `⬡` 标题,其下是面向模型文本的前 `contextPreviewLines` 行,快照的每一份贡献具名写在其自身各行上方;空的系统提示词与压缩替换则省略。承载的行数多于其绘制行数的工具卡片与上下文块,结尾都是同一条标记:该块被对话记录的焦点持有时为 `… <n> more rows · Space expands`,否则为 `… <n> more rows · Ctrl+O expands`。回复中的围栏代码、`read` 卡片的文件行,以及 `edit` 或 `write` diff 卡片的变更行——在其行号与 `+` / `-` 符号之后,按文件扩展名对应的语言——都以语法高亮绘制,配色主题由终端自身的背景在明暗之间选定;某种语言的语法会在第一个用到它的代码块出现时才加载,因此该块先以纯文本绘制、随后被重绘为彩色;这里没有对应语法的语言、既不支持 24 位也不支持 256 色的终端,以及 `codeHighlight: false`,都会把每个代码块画成纯文本。流式回复文字会淡入,而且每个词各走各的时钟:一个词以接近终端背景色的亮度出现,并经 `streamFadeSteps` 次、每次 `streamFadeStepMs` 提亮到它最终稳定的颜色,因此流得更快只会留下更长的一串正在提亮的词,而不会更暗。流式推理与工具卡片在同一时长内浮出:它们以抬高的颜色出现,再退回到稳定时的暗色斜体或调色板颜色;从持久化历史重绘的卡片不带淡入,已经稳定下来的文字也不会再被调暗。
|
|
44
44
|
|
|
45
45
|
对话记录下方依次是 agent 工作时的旋转指示、任何打开的提示、编辑器、子 agent 面板,以及页脚:未聚焦时是一行由两端向内构建的状态栏。编辑器的光标是终端自身的闪烁竖条:应用在启动时请求这一形状,退出时把你的默认形状还回去,而状态栏或面板持有键盘期间完全不绘制光标。模型锚定在左端且永不丢弃——超过 20 列时退回到裸模型名,只有仍然过宽的标签才会被省略号截断——离开编辑器的那两个按键则锚定在右端,写作 `Shift+↑ read · Shift+↓ status`,窄到一定程度收缩为 `Shift+↑↓ nav`,不足 40 列时整体丢弃。关键事实填满剩下的中间部分,按状态栏顺序排列:推理强度(选择把推理交给模型时标为 `effort default`)、进行中轮次的已用时间、上下文窗口百分比、todo 计数,以及 workspace 路径(过长时以 `~` 与 `…/` 缩短)。中间部分容纳不下的每个分段都折进末尾的 `+N`,未聚焦行从不绘制的那些分段也一并折入——权限预设、累计 token 用量、来自投影接缝的目标与计划模式标记,以及待发送附件的数量。压缩与模型请求重试以通知形式出现,与浏览器标记承载的事实相同。
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ dsh tui --no-open # print sign-in URLs without opening a
|
|
|
48
48
|
|
|
49
49
|
被聚焦的块也会在原地被标记:一条两列宽的标记条,在块的其他行旁为暗色、在被聚焦小节自身的行旁为强调色——若折叠把该小节整个留在了绘出的行之外,强调色便落在那一行折叠标记旁——标记绘制期间该块的内容按窄两列换行。这个标记只能落在 pi-tui 仍以差分方式重绘的行上——也就是它写出的上一帧的最后 `rows` 行,这条边界只会被更高的帧抬高、不会被更矮的帧降低——因为改动其上方的任何一行都会清空终端的回滚区。已经滚过该位置的块不带标记条,检视面板的标题追加 ` · off screen`,其边框线也改画暗色而非强调色,于是边框本身就报告出标记无法画在该块所在之处。淡入中的各行抵达这一边界时,会在写出它们的同一帧内被结算为最终颜色,因此回滚区里不会留下暗色文字。
|
|
50
50
|
|
|
51
|
-
在任一区域按 `Ctrl+G`、在对话记录的某个小节上按 `Enter`,以及 `/turns
|
|
51
|
+
在任一区域按 `Ctrl+G`、在对话记录的某个小节上按 `Enter`,以及 `/turns`,都会整屏读出对话记录。阅读器是合成进视口的浮层,因此不占用对话记录的任何一行,也让重绘边界保持原位;若某一帧此后变短,使视口顶部落到渲染器够不着的地方,帧尾的若干空行会把它还回来,于是阅读器铺满整个终端。它在带有 ` ● READER ` 徽标与 `turn <n> of <total>` 的顶边线之下画两个面板:左面板每个轮次一行——轮次编号、其提示的首行,以及右对齐的标记 `⬡<n>` 注入上下文块数、`✻` 有推理、`¶` 有回复、`⚒<n>` 工具调用数——并在正在阅读的那个轮次之下列出它的各小节,`▸` 落在阅读器所持的那一个上,因此任何轮次自己的上下文都只有一步之遥;右面板把该轮次从头到尾滚动读出,各小节堆叠在 `── <label> · turn <n> ` 标题之下,顶行所属的那个小节带强调色。那里的行从不折叠:阅读器正是读取系统提示词、注入快照、长回复或工具结果完整面向模型文本的地方。`Right` 打开被选中的轮次,`Left` 回到轮次列表;在列表中 `Up` / `Down` 每次步进一个小节并跨入相邻的轮次,而 `PageUp` / `PageDown` 步进整个轮次;在轮次面板中它们逐行滚动,而顶行所属的小节就是阅读器关闭后对话记录恢复到的位置。`/` 在按键提示的位置打开一行查询,把轮次列表收窄到提示或文本匹配的轮次,读数写作 `<kept>/<total> turns`;其余时候提示边线在右端报告 `turn 3/12 · row 14/212`,任何宽度都不会丢弃它。列数不足 `readerMinColumns` 时正文一次只画一个面板——轮次列表,或由 `Right` 从中打开的那个轮次——不足 24 列或 8 行时只画一行暗色文字 `terminal too small for the reader (needs 24×8)`,并且只应答 `Esc`、`Ctrl+G` 与 `Ctrl+C`。它在每一帧都重新读取对话记录,因此流式回复会在其中增长、落地的工具结果会出现、新轮次会加入轮次列表;重新换行时它按正在阅读的小节重新锚定,而不是按行号;审批或提问出现时它在该提示存续期间让位;切换会话会让它随通知 `the transcript changed · reader closed` 一同关闭。
|
|
52
52
|
|
|
53
53
|
临时按键反馈以一行暗色带框文字浮在视口右上角:`press Esc again to stop turn <n>`、`press Ctrl+C again to quit`、`nothing in the transcript to read yet` 与 `above the repaint window · opened in the reader`。它以全亮度保持 `toastMs`、随后淡出,不占用对话记录自身的任何一行,也不接管键盘;渲染器已无法重绘视口顶部时,它改为打印进对话记录,从而被保留下来。值得留存的事实则是对话记录中的通知:`stopping the turn…`、`wait for the session switch to finish` 以及每一条命令结果。
|
|
54
54
|
|
|
@@ -58,18 +58,19 @@ dsh tui --no-open # print sign-in URLs without opening a
|
|
|
58
58
|
|
|
59
59
|
### 按键与命令
|
|
60
60
|
|
|
61
|
-
对话记录、编辑器、子 agent 面板与状态栏按屏幕绘制它们的顺序排布,`Up` / `Down` 穿过编辑器走遍这一序列:在最新小节上按 `Down`、在面板第一行上按 `Up`、在没有绘制面板时于状态栏上按 `Up
|
|
61
|
+
对话记录、编辑器、子 agent 面板与状态栏按屏幕绘制它们的顺序排布,`Up` / `Down` 穿过编辑器走遍这一序列:在最新小节上按 `Down`、在面板第一行上按 `Up`、在没有绘制面板时于状态栏上按 `Up`,都会落到光标处。编辑器以外的区域持有键盘时,`Tab` 与 `Shift+Tab` 走遍已绘制的各区域,并在两端环绕;在编辑器中,`Tab` 采用给出的补全,`Shift+Tab` 打开推理强度选择器。在其中任何一个区域按下可打印键都会回到编辑器并在那里输入,因此在阅读时开始写的句子会落在它所指向的地方;对话记录中的 `Space` 是唯一的例外,它折叠被标记的工具卡片或上下文块。`Ctrl+G` 与 `Ctrl+O` 在这些区域中含义完全相同,而 `Ctrl+C` 与 `Ctrl+D` 会先把键盘交还编辑器再行动。提示与阅读器则各自持有整条按键流,并以交还键盘的方式应答 `Ctrl+C`。
|
|
62
62
|
|
|
63
63
|
编辑器持有键盘时:
|
|
64
64
|
|
|
65
65
|
| 按键 | 效果 |
|
|
66
66
|
|---|---|
|
|
67
|
-
| `Enter` |
|
|
67
|
+
| `Enter` | 发送编辑器文本;轮次进行中时它排队到下一轮次,并作为一行暗色的 `⏳ next turn` 停在编辑器上方,直到循环领取它后才进入对话 |
|
|
68
68
|
| `Shift+Enter` | 插入换行 |
|
|
69
69
|
| `Ctrl+S` | 轮次进行中时,把编辑器文本引导(steer)进当前轮次的下一步 |
|
|
70
70
|
| `Up` / `Down` | 调出先前的提示 |
|
|
71
|
+
| `Shift+Left` / `Shift+Right` | 用 pi-tui 的编辑器导航向左 / 右移动一个词;在 `I want to do` 末尾按 `Shift+Left` 会落在 `do` 之前 |
|
|
71
72
|
| `Tab` | 采用编辑器给出的补全 |
|
|
72
|
-
| `Shift+Tab` |
|
|
73
|
+
| `Shift+Tab` | 打开当前模型的推理强度选择器,从下一次请求生效;与空参数 `/effort` 打开的是同一个选择器 |
|
|
73
74
|
| `Shift+Up` | 把焦点放到对话记录上、停在走查上次停下的小节;首次进入以及切换会话后的首次进入停在最新小节 |
|
|
74
75
|
| `Shift+Down` | 面板已绘制时把焦点放到子 agent 面板的第一行,否则放到状态栏 |
|
|
75
76
|
| `Ctrl+G` | 整屏读出对话记录,停在其最新小节 |
|
|
@@ -128,9 +129,9 @@ dsh tui --no-open # print sign-in URLs without opening a
|
|
|
128
129
|
|
|
129
130
|
| 按键 | 效果 |
|
|
130
131
|
|---|---|
|
|
131
|
-
| `Up` / `Down` | 在轮次列表中是上一个 /
|
|
132
|
-
| `PageUp` / `PageDown` |
|
|
133
|
-
| `Home` / `End` |
|
|
132
|
+
| `Up` / `Down` | 在轮次列表中是上一个 / 下一个小节,并跨入相邻的轮次;在轮次面板中是上滚 / 下滚一行 |
|
|
133
|
+
| `PageUp` / `PageDown` | 上一个 / 下一个轮次,或翻一页行并重叠一行 |
|
|
134
|
+
| `Home` / `End` | 整个对话的第一个 / 最后一个小节,或该轮次的第一行 / 最后一行 |
|
|
134
135
|
| `Right`、`Tab`、`Enter` | 从轮次列表进入旁边的那个轮次 |
|
|
135
136
|
| `Left`、`Tab`、`Shift+Tab` | 从轮次面板回到轮次列表 |
|
|
136
137
|
| `/` | 在轮次列表中打开轮次过滤:可打印键扩展查询,`Backspace` 删除一个字符,`Ctrl+U` 清空,`Enter` 保留收窄后的列表并关闭该行,`Esc` 先清空非空查询、再关闭该行 |
|
|
@@ -139,20 +140,22 @@ dsh tui --no-open # print sign-in URLs without opening a
|
|
|
139
140
|
|
|
140
141
|
到达阅读器的其他每个按键都被消费,而关闭它同样打开那 750 ms 的交接窗口,因此连按多少次 `Esc` 都到不了编辑器的停止。
|
|
141
142
|
|
|
142
|
-
每个聚焦的分段都在第二行展开其最重要的事实。除 `todo` 之外,`Enter` 把这些事实打印到对话记录,并指出改变它们的方式:模型分段指出 `/model`,推理强度分段指出 `Shift+Tab
|
|
143
|
+
每个聚焦的分段都在第二行展开其最重要的事实。除 `todo` 之外,`Enter` 把这些事实打印到对话记录,并指出改变它们的方式:模型分段指出 `/model`,推理强度分段指出 `Shift+Tab` 与 `/effort` 共用的选择器,权限分段指出其预设;`turn` 分段——绘制在权限与用量分段之间、形如 `turn <elapsed>`,且只在轮次进行时出现——给出轮次编号、其开始时间、已用时间与排队消息数量;用量、上下文、目标与计划分段打印 `/status` 报告中对应的小节,workspace 分段显示完整路径,附件分段列出待发送的附件。`todo` 分段展开按状态统计的计数以及正在进行的条目(若无正在进行的条目则为下一条待办),`Enter` 打开 agent 的 todo 列表,与 `/todos` 打开的是同一个列表。
|
|
143
144
|
|
|
144
145
|
在编辑器开头输入 `/` 会补全终端自身的命令与共享注册表的命令;任意位置的 `@` 补全引用。
|
|
145
146
|
|
|
146
147
|
| 命令 | 效果 |
|
|
147
148
|
|---|---|
|
|
148
149
|
| `/help` | 列出命令,以及每个焦点状态所应答的按键 |
|
|
149
|
-
| `/model` | 为下一次请求选择模型(输入即可过滤行),若模型声明多于一种推理强度则接着选择强度;`/model <provider>/<model>` 直接选择,`/model save`
|
|
150
|
-
| `/
|
|
150
|
+
| `/model` | 为下一次请求选择模型(输入即可过滤行),若模型声明多于一种推理强度则接着选择强度;`/model <provider>/<model>` 直接选择,`/model save` 把当前选择存为默认,在模型列表中按 `Ctrl+S` 则把高亮的模型存为下次启动的默认而不关闭列表 |
|
|
151
|
+
| `/effort [id]` | 不带参数时为下一次请求打开当前模型的推理强度选择器,与编辑器中的 `Shift+Tab` 打开的是同一个;id 直接选择,`/effort default` 恢复提供方默认值 |
|
|
152
|
+
| `/resume` | 打开与 `/sessions` 相同的持久化会话选择器,并恢复选中的先前会话 |
|
|
153
|
+
| `/sessions` | 打开持久化会话选择器,并切换到选中的会话 |
|
|
151
154
|
| `/new` | 开始新会话 |
|
|
152
155
|
| `/fork [turn]` | 在本会话最后一个完成轮次处 fork,或在第 `turn` 轮之后 fork |
|
|
153
156
|
| `/title <text>` | 重命名本会话;单独使用时显示当前标题 |
|
|
154
157
|
| `/attach <path>` | 把图片或文件附加到下一条提示;`/attach` 列出,`/attach clear` 丢弃 |
|
|
155
|
-
| `/queue` | 显示为下一轮次与下一步排队的消息;`/queue clear`
|
|
158
|
+
| `/queue` | 显示为下一轮次与下一步排队的消息;`/queue clear` 丢弃它们,编辑器上方的对应行也随之消失 |
|
|
156
159
|
| `/skills` | 列出 agent 可加载的技能 |
|
|
157
160
|
| `/signin` | 通过提供方的通知与提示登录;`/signin <key>` 跳过选择器 |
|
|
158
161
|
| `/login` | 用提供方订阅登录(隐藏仅收集密钥的登录);`/login <key>` 跳过选择器 |
|
|
@@ -171,7 +174,7 @@ dsh tui --no-open # print sign-in URLs without opening a
|
|
|
171
174
|
|
|
172
175
|
其他每条 `/name` 行都交给共享命令注册表,因此 `/compact`、`/permission`、`/goal` 与插件命令的行为和浏览器中一致。
|
|
173
176
|
|
|
174
|
-
终端打开的每个选择器——`/model`
|
|
177
|
+
终端打开的每个选择器——`/model` 的模型列表与推理强度列表、空参数 `/effort` 与编辑器 `Shift+Tab` 共用的当前模型推理强度列表、`/resume` 与 `/sessions` 共用的持久化会话列表、`/subagents` 与 `/todos` 的列表,以及 `/signin` 与 `/login` 引出的各行——都随输入过滤其行:查询同时匹配每行的标签与描述,其以空白与斜杠分隔的各段必须全部匹配,各行按最佳匹配在前排序,因此 `dsk chat` 与 `deepseek/chat` 都能找到 `deepseek/deepseek-chat`,`gpt5` 能找到 `gpt-5`。`Backspace` 删除最后一个字符,`Ctrl+U` 清空查询,`Esc` 在查询非空时清空查询、在查询为空时取消选择器,`Up` / `Down` 在匹配行之间移动,`Enter` 选中高亮行。行上方的暗色行在查询为空时显示 `type to filter · Enter selects · Esc cancels`,此后显示 `filter: <query> · <kept>/<total>`;无任何行匹配的查询会以 `no row matches "<query>"` 取代这些行,而生效行上的 `✓`——也就是选择器打开时定位的那一行——只在查询为空时显示。
|
|
175
178
|
|
|
176
179
|
`/subagents`、`/todos` 与状态栏的 `todo` 分段共用同一套先列表、后详情的交互:选择器列出各条目,`Enter` 把高亮条目作为只读页面打开,`Up` / `Down` 与 `PageUp` / `PageDown` 滚动该页面,`Enter`、`Esc` 或 `Left` 返回列表并停在刚读过的条目上,因此连续查看多个条目无需重新输入命令;在列表上按 `Esc` 返回编辑器。详情无法读取的条目会在其页面上说明原因,而不会关闭列表。
|
|
177
180
|
|
|
@@ -197,9 +200,10 @@ dsh tui --no-open # print sign-in URLs without opening a
|
|
|
197
200
|
| `contextPreviewLines` | `4` | 在被标记的块上按 `Space` 或按 `Ctrl+O` 展开之前,系统提示词或注入的 `⬡` 上下文块绘制的行数 |
|
|
198
201
|
| `focusPreviewLines` | `12` | 停靠的检视面板为聚焦小节显示的行数,其后由折叠标记把剩余部分交给阅读器;对每一种小节都适用 |
|
|
199
202
|
| `readerMinColumns` | `60` | 阅读器把被选中的轮次画在轮次列表旁边所需的列数;不足时一次只画一个面板 |
|
|
203
|
+
| `codeHighlight` | `true` | 以语法高亮绘制回复中的围栏代码以及 `read` 与 diff 工具卡片的文件行,配色主题由终端背景选定 |
|
|
200
204
|
| `toastMs` | `2000` | 临时按键提示行以全亮度保持多久后淡出,这同时也是第二次 `Esc` 停止正在进行轮次的窗口 |
|
|
201
205
|
| `liveRefreshMs` | `1000` | 重绘周期:推进 `turn` 分段与面板中的已用时间,并重新读取已过期的子 agent 列表 |
|
|
202
|
-
| `streamFadeSteps` | `
|
|
206
|
+
| `streamFadeSteps` | `12` | 一次淡入或浮出持续多少拍:回复文字淡入,推理与工具卡片浮出,时长为 `streamFadeSteps × streamFadeStepMs` |
|
|
203
207
|
| `streamFadeStepMs` | `33` | 一拍淡入或浮出的时长,也是仍在变化时的重绘周期;总时长为 `streamFadeSteps × streamFadeStepMs` |
|
|
204
208
|
| `reducedMotion` | `false` | 以稳定颜色绘制流式文本、流式推理、工具卡片与应用自身的边框装饰,不做淡入、不做抬亮、不做阅读器展开,也不重复重绘 |
|
|
205
209
|
| `openBrowser` | `true` | 把被标记的授权页面交给本地默认浏览器 |
|
|
@@ -218,7 +222,7 @@ runner 与 `dsh-headless` 一样是核心 API 载体之上的直接驱动器,
|
|
|
218
222
|
|
|
219
223
|
### 运行流程
|
|
220
224
|
|
|
221
|
-
runner 等待完整应用就绪(`ctx.get('loader')?.await()`),并在核心注册表之上构建含三个操作的会话宿主:`create` 用共享的 [`agentDefaultModel`](../../core/agent-default-model/README.zh.md) 选择创建一个全新的持久化 Agent,`resume` 通过 `ctx.sessionPersistence` 的只读句柄分页读取持久化日志并经注册表恢复 Agent,`fork` 通过 `ctx.sessionQuery` 观察源会话、在所选(默认最后一个)`turn/end` 之后直到下一个 `turn/start` 处切割,并创建带 `parentSession` 与 `isSeeded` 元数据的种子 Agent。每个操作都在 Agent 的作用域 setup 中安装 `ModelSelectionRef`,因此 `/model` 会改变下一次请求。终端应用从 `--resume` 或一次新的 `create` 产生的会话开始,订阅 `session/event`、`agent/assistant-stream` 与 `agent/status`,只为绑定的 Agent 应答 `approval/request` 与 `user-questions/request` waterfall,并通过绑定下一个会话、dispose 先前句柄来切换会话;宿主打开下一个会话期间编辑器拒绝输入,等待期间退出会释放随后到达的会话。退出时取消任何进行中的轮次、等待完全停稳、flush 绑定的会话、dispose 其句柄并请求以 0 退出;驱动器失败会向 stderr 写入 `dsh: <message>` 并请求以 1
|
|
225
|
+
runner 等待完整应用就绪(`ctx.get('loader')?.await()`),并在核心注册表之上构建含三个操作的会话宿主:`create` 用共享的 [`agentDefaultModel`](../../core/agent-default-model/README.zh.md) 选择创建一个全新的持久化 Agent,`resume` 通过 `ctx.sessionPersistence` 的只读句柄分页读取持久化日志并经注册表恢复 Agent,`fork` 通过 `ctx.sessionQuery` 观察源会话、在所选(默认最后一个)`turn/end` 之后直到下一个 `turn/start` 处切割,并创建带 `parentSession` 与 `isSeeded` 元数据的种子 Agent。每个操作都在 Agent 的作用域 setup 中安装 `ModelSelectionRef`,因此 `/model` 会改变下一次请求。终端应用从 `--resume` 或一次新的 `create` 产生的会话开始,订阅 `session/event`、`agent/assistant-stream` 与 `agent/status`,只为绑定的 Agent 应答 `approval/request` 与 `user-questions/request` waterfall,并通过绑定下一个会话、dispose 先前句柄来切换会话;宿主打开下一个会话期间编辑器拒绝输入,等待期间退出会释放随后到达的会话。退出时取消任何进行中的轮次、等待完全停稳、flush 绑定的会话、dispose 其句柄并请求以 0 退出;驱动器失败会向 stderr 写入 `dsh: <message>` 并请求以 1 退出。`/resume` 与 `/sessions` 共用持久化会话选择器。编辑器中的 `Shift+Tab` 会派发空参数 `/effort` 以打开当前模型的推理强度选择器,而编辑器中的 `Shift+Left` / `Shift+Right` 使用 pi-tui 的词导航。`/login` 只带着订阅方法(除收集密钥的 `api-key` 登录外的每一种方法)启动 `authorization.begin`。flow 用 `openInBrowser` 标记的 notice 会经 `dsh-native-command` 的凭据擦除辅助进程交给默认浏览器,URL 同时保持打印;当 `openBrowser` 为 false、启动经过 SSH 或宿主没有桌面时抑制该交接,打开器失败则成为 URL 旁的一条通知,而非登录失败。
|
|
222
226
|
|
|
223
227
|
### 渲染模型
|
|
224
228
|
|
|
@@ -236,7 +240,8 @@ runner 等待完整应用就绪(`ctx.get('loader')?.await()`),并在核心
|
|
|
236
240
|
| [`src/startup.ts`](src/startup.ts) | `tui-app-startup` 提供方:提示位置参数、`--resume`、`--no-open` 与 `--help` |
|
|
237
241
|
| [`src/app.ts`](src/app.ts) | 终端应用:布局、按键路由、命令、会话绑定、接缝、日志与流的折叠、停止装填,以及它挂载的各浮层 |
|
|
238
242
|
| [`src/keys.ts`](src/keys.ts) | 按键模型:各焦点区域、一次按键在每个区域中的含义、它们逐级收缩的按键提示、进入用的按键、`/help` 的各行,以及交接窗口 |
|
|
239
|
-
| [`src/sessions.ts`](src/sessions.ts) |
|
|
243
|
+
| [`src/sessions.ts`](src/sessions.ts) | `/resume` 与 `/sessions` 共用的持久化会话列表及选择器行 |
|
|
244
|
+
| [`src/effort.ts`](src/effort.ts) | `/model`、`/effort` 与编辑器 `Shift+Tab` 共用的推理强度名称及选择器行 |
|
|
240
245
|
| [`src/attach.ts`](src/attach.ts) | `/attach`:本地文件经附件存储成为图片或文件块 |
|
|
241
246
|
| [`src/export.ts`](src/export.ts) | `/export`:通过导出包的归档辅助函数写出会话日志 ZIP |
|
|
242
247
|
| [`src/blocks.ts`](src/blocks.ts) | 对话记录组件:用户提示、assistant 回复、工具卡片、系统提示词与注入上下文、通知;可导航的块暴露其各小节并绘制焦点标记条,可折叠的块则承载两个折叠键共用的那条标记 |
|
|
@@ -254,8 +259,9 @@ runner 等待完整应用就绪(`ctx.get('loader')?.await()`),并在核心
|
|
|
254
259
|
| [`src/transcript.ts`](src/transcript.ts) | 呈现视图、用量与轮次结束原因的纯文本折叠,以及每条标记共用的那一套折叠措辞 |
|
|
255
260
|
| [`src/diff.ts`](src/diff.ts) | diff 卡片的行 diff 与 hunk 选择 |
|
|
256
261
|
| [`src/style.ts`](src/style.ts) | 调色板与派生的 pi-tui 主题 |
|
|
262
|
+
| [`src/highlight.ts`](src/highlight.ts) | 围栏代码的语法高亮:某个围栏可能加载的语法、由背景选定的配色主题,以及一个 token 所用的 SGR |
|
|
257
263
|
| [`src/completion.ts`](src/completion.ts) | 编辑器的斜杠命令与 `@` 引用补全 |
|
|
258
|
-
| [`src/editor.ts`](src/editor.ts) |
|
|
264
|
+
| [`src/editor.ts`](src/editor.ts) | 提示编辑器的终端光标,以及把 `Shift+Left` / `Shift+Right` 映射到 pi-tui 词导航的逻辑 |
|
|
259
265
|
| [`src/status.ts`](src/status.ts) | 投影接缝的事实,以及 `/status` 报告与分段详情共享的小节;压缩与重试通知 |
|
|
260
266
|
| [`src/footer.ts`](src/footer.ts) | 状态栏:有序的各分段、每个分段的详情行、未聚焦时由两端向内构建的一行,以及聚焦时的滑动窗口 |
|
|
261
267
|
| [`src/subagent-panel.ts`](src/subagent-panel.ts) | 实时子 agent 面板:一次后代列表加上采样到的实时事实构成其各行、未聚焦时的摘要行,以及聚焦时的列表 |
|
|
@@ -263,14 +269,16 @@ runner 等待完整应用就绪(`ctx.get('loader')?.await()`),并在核心
|
|
|
263
269
|
| [`src/todos.ts`](src/todos.ts) | todo 列表:状态符号、选择器行与单个条目的详情行 |
|
|
264
270
|
| [`cordis.patch.yml`](cordis.patch.yml) | 基于 `dsh-base` 的终端 patch |
|
|
265
271
|
| — | 不发布运行时不变量伴随模块;应用只在一个 Agent 上注册监听器,不持有其他观察者可能与之矛盾的可变关系。 |
|
|
266
|
-
| [`tests/app.spec.ts`](tests/app.spec.ts) |
|
|
272
|
+
| [`tests/app.spec.ts`](tests/app.spec.ts) | 基于伪终端的渲染、按键、命令、停止装填、编辑器上方的排队提示行与两个接缝 |
|
|
267
273
|
| [`tests/keys.spec.ts`](tests/keys.spec.ts) | 每个区域为一个按键认领什么、按键提示的各级,以及一次按键输入的文字 |
|
|
274
|
+
| [`tests/editor.spec.ts`](tests/editor.spec.ts) | 对照 pi-tui 编辑器行为验证终端光标与 `Shift+Left` / `Shift+Right` 词导航 |
|
|
268
275
|
| [`tests/frame.spec.ts`](tests/frame.spec.ts) | 边框线、徽标、正文行,以及某个宽度容纳得下的按键提示 |
|
|
269
276
|
| [`tests/motion.spec.ts`](tests/motion.spec.ts) | 动效时钟的各个级别、它对重绘的要求,以及每一级所绘的抬亮 |
|
|
270
277
|
| [`tests/toast.spec.ts`](tests/toast.spec.ts) | 临时提示行的方框、其保持、其淡出与其提前结算 |
|
|
271
278
|
| [`tests/reader.spec.ts`](tests/reader.spec.ts) | 阅读器的几何布局、其状态机、其过滤,以及它返回的各行 |
|
|
272
279
|
| [`tests/reader-overlay.spec.ts`](tests/reader-overlay.spec.ts) | 挂载的面板:其按键映射、其展开动效、其重新锚定与其退出 |
|
|
273
|
-
| [`tests/commands.spec.ts`](tests/commands.spec.ts) |
|
|
280
|
+
| [`tests/commands.spec.ts`](tests/commands.spec.ts) | 基于脚本化服务的 `/resume` 与 `/sessions` 选择器、附件、队列、技能、登录、导出、引用、`/effort` 与 `Shift+Tab` 共用的选择器,以及模型列表中的 `Ctrl+S` |
|
|
281
|
+
| [`tests/effort.spec.ts`](tests/effort.spec.ts) | 共用的推理强度名称、选择器行、当前强度提示与输入参数匹配 |
|
|
274
282
|
| [`tests/panels.spec.ts`](tests/panels.spec.ts) | 状态页脚与报告、可导航的子 agent 与 todo 列表、目录命令、命令提示与审批详情 |
|
|
275
283
|
| [`tests/transcript-focus.spec.ts`](tests/transcript-focus.spec.ts) | 走遍对话记录、区域序列、检视面板、实时会话上的阅读器,以及重绘窗口内的原地标记条 |
|
|
276
284
|
| [`tests/context.spec.ts`](tests/context.spec.ts) | 把系统提示词与注入上下文投影为对话记录小节 |
|
|
@@ -319,7 +327,7 @@ runner 不向请求前缀添加任何内容;`/model` 切换像在浏览器中
|
|
|
319
327
|
|
|
320
328
|
这些限制描述随发行版交付的终端表层;它们不是一般的 CLI 比较,也不是任务积压。
|
|
321
329
|
|
|
322
|
-
- **同一时间一个会话**——`/sessions`、`/new` 与 `/fork`
|
|
330
|
+
- **同一时间一个会话**——`/resume`、`/sessions`、`/new` 与 `/fork` 在会话间移动终端,但只有绑定的 Agent 流式显示;浏览器可并排展示多个会话。
|
|
323
331
|
- **审批为一次性**——提示只提供允许一次或拒绝,与审批接缝的词汇一致;没有记忆的授权。
|
|
324
332
|
- **仅浏览器的页面留在浏览器**——workspace 与目录选择器、在应用中打开的链接、轨迹账本与逐条消息的点赞/点踩没有终端对应物;`/settings`、`/plugins`、`/subagents`、`/outline` 与共享的 `/feedback` 以文本覆盖其事实,子 agent 的对话记录通过切换到子会话来阅读。
|
|
325
333
|
- **交付物只列名、不打开**——`/deliverables` 列出交付路径,`/changes` 显示逐行对比;浏览器会预览这些文件。
|