Bump vendored T3 Code to 42c9107983 (v0.1.12-nightly) and catch up
- vendor/t3code submodule pinned to 42c9107983; deps in package.json aligned with the upstream catalog, including upstream's effect@4.1.5 patch via patchedDependencies (patches/effect@4.1.5.patch) - nix flake.nix devShell provides bun locally (no guix home install) - scripts/link-vendor.ts now copies the vendored packages into node_modules/@t3tools and applies tscPatches for the spots where classic tsc can't infer what upstream's Effect language service can, so `bun run typecheck` runs clean under full strict mode - protocol drift fixes across model/ui/client: usage-limit copy, context window snapshot, checkpoint totals, turn diff summaries, alert observation, "once" schedules, composer trigger kinds, PR keying, thread menu state, secret request answers, terminal summaries, snapshot-required shell events, revert checkpoint lookup - new parity features over the typed RPC: fork a turn into a new thread, rewind a message with its attachments restored to the composer, guest share links and turn-into-project in the thread menu - tests updated and added (301 pass); typecheck, lint and build clean Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
1 parent
3a93c35c41
commit
b40f09e56f
38 files changed
+4786
-63
No files matched your search
@@ -84,7 +84,7 @@ The scopes, the protocol and how to update for a newer T3 Code are in [docs/deve
|
||||
|
||||
## Not yet supported
|
||||
|
||||
Plan follow-ups, forking threads, reviewing or commenting on diffs, rewinding messages with attachments, project settings and guest sharing. Use the T3 Code app for those.
|
||||
Reviewing or commenting on pull request diffs, and the project settings editor. Use the T3 Code app for those.
|
||||
|
||||
## Licence
|
||||
|
||||
|
||||
@@ -7,12 +7,34 @@
|
||||
"dependencies": {
|
||||
"@opentui/core": "0.8.1",
|
||||
"@opentui/react": "0.8.1",
|
||||
"@pierre/diffs": "1.7.0-beta.4",
|
||||
"@pierre/trees": "1.0.0-beta.6",
|
||||
"@pierre/words": "file:vendor/t3code/apps/web/deps/pierre-words-0.2.2-t3.4-7c04b7f1.tgz",
|
||||
"diff": "9.0.0",
|
||||
"effect": "4.0.5",
|
||||
"effect": "4.1.5",
|
||||
"entities": "^6.0.1",
|
||||
"get-east-asian-width": "^1.6.0",
|
||||
"gt-i18n": "1.0.40",
|
||||
"gt-react": "11.4.18",
|
||||
"hast-util-sanitize": "^5.0.2",
|
||||
"hast-util-to-html": "^9.0.5",
|
||||
"mdast-util-directive": "^3.2.0",
|
||||
"mdast-util-to-hast": "13.2.1",
|
||||
"micromark-extension-directive": "^4.0.0",
|
||||
"micromark-util-character": "2.1.1",
|
||||
"micromark-util-decode-string": "2.0.1",
|
||||
"micromark-util-types": "2.0.2",
|
||||
"property-information": "^7.2.0",
|
||||
"react": "^19.2.0",
|
||||
"rehype-raw": "7.0.0",
|
||||
"rehype-sanitize": "6.0.0",
|
||||
"remark-breaks": "4.0.0",
|
||||
"remark-gfm": "4.0.1",
|
||||
"remark-math": "6.0.0",
|
||||
"remark-parse": "^11.0.0",
|
||||
"remark-rehype": "11.1.2",
|
||||
"unified": "11.0.5",
|
||||
"yaml": "^2.9.0",
|
||||
"zustand": "5.0.11",
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -25,6 +47,9 @@
|
||||
},
|
||||
},
|
||||
},
|
||||
"patchedDependencies": {
|
||||
"effect@4.1.5": "patches/effect@4.1.5.patch",
|
||||
},
|
||||
"packages": {
|
||||
"@biomejs/biome": ["@biomejs/biome@2.5.15", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.5.15", "@biomejs/cli-darwin-x64": "2.5.15", "@biomejs/cli-linux-arm64": "2.5.15", "@biomejs/cli-linux-arm64-musl": "2.5.15", "@biomejs/cli-linux-x64": "2.5.15", "@biomejs/cli-linux-x64-musl": "2.5.15", "@biomejs/cli-win32-arm64": "2.5.15", "@biomejs/cli-win32-x64": "2.5.15" }, "bin": { "biome": "bin/biome" } }, "sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ=="],
|
||||
|
||||
@@ -44,6 +69,14 @@
|
||||
|
||||
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.5.15", "", { "os": "win32", "cpu": "x64" }, "sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g=="],
|
||||
|
||||
"@generaltranslation/api": ["@generaltranslation/api@0.5.6", "", {}, "sha512-rPcqH7BomEIRQKX6oyOagfqrfHddi3EcOkgWC/dgs2qSRhkoZYcpn68RWCr3ZFnmCMib7uDtSR9v8BjUI7AZLQ=="],
|
||||
|
||||
"@generaltranslation/format": ["@generaltranslation/format@0.1.9", "", { "dependencies": { "@generaltranslation/icu": "0.1.2" } }, "sha512-GwXbdajc7pIBsnrxVXE4PqjBHRwgKef4GyauH7CLaXSormRLU8G58ahqfwmQRL6ie1xt5KMMb6UAekdj1i9Sxg=="],
|
||||
|
||||
"@generaltranslation/icu": ["@generaltranslation/icu@0.1.2", "", {}, "sha512-2A0txUrZdAWAc42N58/PtoWv7vNB0U1Iyl+nDzf7RSswLHPMsonp7OmPnSraQgkoRSVSlueARVQK4T+zanWsyA=="],
|
||||
|
||||
"@generaltranslation/react-core": ["@generaltranslation/react-core@11.4.18", "", { "dependencies": { "@generaltranslation/format": "0.1.9", "generaltranslation": "9.5.9", "gt-i18n": "1.0.40" }, "peerDependencies": { "react": ">=18.0.0" } }, "sha512-1fFrMeddHH0mUTvg2iCSzL2Bfsc34j2EtL9hc4wxI8Xkwh2umHHtuZcD2Z3H7uA94w2kXEShgXe1kX/HFxqlOg=="],
|
||||
|
||||
"@noble/hashes": ["@noble/hashes@1.8.0", "", {}, "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A=="],
|
||||
|
||||
"@opentui/core": ["@opentui/core@0.8.1", "", { "dependencies": { "bun-ffi-structs": "0.3.1", "diff": "9.0.0", "marked": "17.0.1", "string-width": "7.2.0" }, "optionalDependencies": { "@opentui/core-darwin-arm64": "0.8.1", "@opentui/core-darwin-x64": "0.8.1", "@opentui/core-linux-arm64": "0.8.1", "@opentui/core-linux-arm64-musl": "0.8.1", "@opentui/core-linux-x64": "0.8.1", "@opentui/core-linux-x64-musl": "0.8.1", "@opentui/core-win32-arm64": "0.8.1", "@opentui/core-win32-x64": "0.8.1" }, "peerDependencies": { "web-tree-sitter": "0.25.10" } }, "sha512-WmnpnVZn2MdyYNEahQNn4k3OrIkQKfcwPVrX/DjguLtl/S2g5fPeXCqHZjCg2GLMf1N4HJap0LEkTPJEvfrDXw=="],
|
||||
@@ -66,10 +99,44 @@
|
||||
|
||||
"@opentui/react": ["@opentui/react@0.8.1", "", { "dependencies": { "@opentui/core": "0.8.1", "react-reconciler": "^0.33.0" }, "peerDependencies": { "react": ">=19.2.0", "react-devtools-core": "^7.0.1", "ws": "^8.18.0" } }, "sha512-2Suc127MY7iLkgzFjyKJVsML4PZHhtc+lOXgQhP4bP6zxgNCBlGm/FxX0fDbp5RpuogKyIix9s57YnpxQB54nw=="],
|
||||
|
||||
"@pierre/diffs": ["@pierre/diffs@1.7.0-beta.4", "", { "dependencies": { "@pierre/highlights": "0.5.1", "@pierre/patches": "0.0.1", "@pierre/theme": "2.0.0", "@pierre/theming": "1.0.2", "diff": "9.0.0", "hast-util-to-html": "9.0.5", "lru_map": "0.4.1", "shiki": "^3.0.0 || ^4.0.0" }, "peerDependencies": { "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" }, "optionalPeers": ["react", "react-dom"] }, "sha512-QtsUN1eO1hfAie0SUBRZ8xfjzybetaOzq3xFPw7UYl/XLkx9KxQ1uRDXHat4B44S2SW8HBt63yWKCSzQ6OQmEQ=="],
|
||||
|
||||
"@pierre/highlights": ["@pierre/highlights@0.5.1", "", {}, "sha512-c2WF6sgwgKdxXU6FpWDLWUYHRca/cJy+3QJkWAqYqEAFxqlPf8eSH0ehHcFFjKBmT+9KBl9H7q6z7HMRU7+m6g=="],
|
||||
|
||||
"@pierre/patches": ["@pierre/patches@0.0.1", "", {}, "sha512-NycJQVQNuqmBdr7u1LsUcmkiIz1fRm9xhWZyRbm21oJYd0MVVCa45t9Lsuj5IKrTMBonxOuh4LMv+R3BpL4bmQ=="],
|
||||
|
||||
"@pierre/theme": ["@pierre/theme@2.0.0", "", {}, "sha512-yNDd9GYLQl1mEUJR8AneJ5e4ohLIHQd/wZLWr4fagt78vS2RwwZNW530vVgHqXFAyFVcFlRmGUD5ramXH46OXw=="],
|
||||
|
||||
"@pierre/theming": ["@pierre/theming@1.0.2", "", { "peerDependencies": { "@pierre/theme": "^1.1.0 || ^2.0.0", "@shikijs/themes": "^3.0.0 || ^4.0.0", "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0", "shiki": "^3.0.0 || ^4.0.0" }, "optionalPeers": ["@pierre/theme", "@shikijs/themes", "react", "react-dom", "shiki"] }, "sha512-RmXLLqtx31UGcR8kZyO5hGAQ1EXz6loT1Cu0BFAGsbnBboIxp2BlomkLfWyvdT4WZXnBGyu25onL1gKpFQuSUw=="],
|
||||
|
||||
"@pierre/trees": ["@pierre/trees@1.0.0-beta.6", "", { "dependencies": { "@pierre/theming": "1.0.0", "preact": "11.0.0-beta.0", "preact-render-to-string": "6.6.5" }, "peerDependencies": { "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" } }, "sha512-zxeuSFM9TveM7b5XofweJALCtm/tGYV9HZzdbf7Uf+kBxIlUyz24/EHaGRjB0dsmmfDQl2ETz7AWwJ15lhSnpw=="],
|
||||
|
||||
"@pierre/words": ["@pierre/words@vendor/t3code/apps/web/deps/pierre-words-0.2.2-t3.4-7c04b7f1.tgz", { "peerDependencies": { "@pierre/highlights": ">=0.5.1", "react": "^18.3.1 || ^19.0.0" }, "optionalPeers": ["@pierre/highlights", "react"] }, "sha512-EuIvU8imMY3c/deOHm9/gEh9VJga8R7jjWiIKfjKHbDXjgMo/O3NDN15H0dLc/vo+YTf/QpY0xinfnv7xpf7Rw=="],
|
||||
|
||||
"@shikijs/core": ["@shikijs/core@4.6.0", "", { "dependencies": { "@shikijs/primitive": "4.6.0", "@shikijs/types": "4.6.0", "@shikijs/vscode-textmate": "^10.1.0", "@types/hast": "^3.0.5", "hast-util-to-html": "^9.0.6" } }, "sha512-bfd4OKgvoyXYiYmMRuleA656P4V7M/Du9lcTl38Ngm6KszMj7bq4J1IGZwSYR4c95Tv5UQALtYNWUwaI9UT3xw=="],
|
||||
|
||||
"@shikijs/engine-javascript": ["@shikijs/engine-javascript@4.6.0", "", { "dependencies": { "@shikijs/types": "4.6.0", "@shikijs/vscode-textmate": "^10.1.0", "oniguruma-to-es": "^4.3.6" } }, "sha512-K0oqxFoL+kEMdz89mHLFO15Tsbv3kFZ6WR1cXZKMvLSc+oqaM00A6pyga1qSeXB22dP0tTiSApRcGBaKWsEccg=="],
|
||||
|
||||
"@shikijs/engine-oniguruma": ["@shikijs/engine-oniguruma@4.6.0", "", { "dependencies": { "@shikijs/types": "4.6.0", "@shikijs/vscode-textmate": "^10.1.0" } }, "sha512-aggd6Q7SuJOXNnsUbfG2XesxBJKBMAw/PDTUo9PyRjMaaJJ2dNrI+q0C+25ARXAK9yLHAlwxc9oRT2u68YKZ7w=="],
|
||||
|
||||
"@shikijs/langs": ["@shikijs/langs@4.6.0", "", { "dependencies": { "@shikijs/types": "4.6.0" } }, "sha512-1yMEX3oCVV54LUq/ovfpRkDQoYDkcvjSWFFa/YLUDMiSoRzMi2uxLJYbv41ahT8Lu9lFMaa7hecd3Q39trqUyg=="],
|
||||
|
||||
"@shikijs/primitive": ["@shikijs/primitive@4.6.0", "", { "dependencies": { "@shikijs/types": "4.6.0", "@shikijs/vscode-textmate": "^10.1.0", "@types/hast": "^3.0.5" } }, "sha512-c54+TQEo9ToqgfL/AU8FpjnV09+GA9Oa7M5ROkkXteZfp5XzpAJGXjjvZQFQioJOwm/w/6Z3lIzQstAkl8coag=="],
|
||||
|
||||
"@shikijs/themes": ["@shikijs/themes@4.6.0", "", { "dependencies": { "@shikijs/types": "4.6.0" } }, "sha512-qHAVAs80RiGD+IRuH9G+JPDOEc9A/kHsng4EzCUCwB9bLzW6Z0y9WETh2YyCcADJBmfrIaJ1Jp7KBNP6FHkgtQ=="],
|
||||
|
||||
"@shikijs/types": ["@shikijs/types@4.6.0", "", { "dependencies": { "@shikijs/vscode-textmate": "^10.1.0", "@types/hast": "^3.0.5" } }, "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw=="],
|
||||
|
||||
"@shikijs/vscode-textmate": ["@shikijs/vscode-textmate@10.1.0", "", {}, "sha512-cVBuhDQjBZaNMTwBquYfPydrUP+E3hE6oYGasx8h6ZrODIM7/r+gxLDXdd66oszbrggZHEntdE6j+5gYIVyMWQ=="],
|
||||
|
||||
"@types/bun": ["@types/bun@1.4.4", "", { "dependencies": { "bun-types": "1.4.4" } }, "sha512-9wkRDXUXK124pEnAutE6n/l18j+i9GC5IAHK8TmX/2nlySETmky0OU6yL5U8pW1AoKh++AN9auDCr647BfurjQ=="],
|
||||
|
||||
"@types/debug": ["@types/debug@4.1.13", "", { "dependencies": { "@types/ms": "*" } }, "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw=="],
|
||||
|
||||
"@types/hast": ["@types/hast@3.0.5", "", { "dependencies": { "@types/unist": "*" } }, "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g=="],
|
||||
|
||||
"@types/katex": ["@types/katex@0.16.8", "", {}, "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg=="],
|
||||
|
||||
"@types/mdast": ["@types/mdast@4.0.4", "", { "dependencies": { "@types/unist": "*" } }, "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA=="],
|
||||
|
||||
"@types/ms": ["@types/ms@2.1.0", "", {}, "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="],
|
||||
@@ -80,6 +147,8 @@
|
||||
|
||||
"@types/unist": ["@types/unist@3.0.3", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="],
|
||||
|
||||
"@ungap/structured-clone": ["@ungap/structured-clone@1.4.0", "", {}, "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ=="],
|
||||
|
||||
"ansi-regex": ["ansi-regex@6.5.0", "", {}, "sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ=="],
|
||||
|
||||
"bail": ["bail@2.0.2", "", {}, "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw=="],
|
||||
@@ -98,6 +167,10 @@
|
||||
|
||||
"character-reference-invalid": ["character-reference-invalid@2.0.1", "", {}, "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw=="],
|
||||
|
||||
"comma-separated-tokens": ["comma-separated-tokens@2.0.3", "", {}, "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg=="],
|
||||
|
||||
"commander": ["commander@8.3.0", "", {}, "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww=="],
|
||||
|
||||
"csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
|
||||
|
||||
"debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
|
||||
@@ -110,14 +183,42 @@
|
||||
|
||||
"diff": ["diff@9.0.0", "", {}, "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw=="],
|
||||
|
||||
"effect": ["effect@4.0.5", "", {}, "sha512-BY4/28NlpOd99yzmV741xbVGmp+1U7tks4oB7F/Png64bTa5tm5eCA6W0RiXsnuLDDoJpjfVSo4Dnq4BZb/89Q=="],
|
||||
"effect": ["effect@4.1.5", "", {}, "sha512-xyR20KhQI0vg2gD8ILUSQRTTESEYJ0JKdP+QD8J37xbwPTqXRxFM/l0+vUVD9fuSvoYruoTqyt33C4FZv1s4TQ=="],
|
||||
|
||||
"emoji-regex": ["emoji-regex@10.6.0", "", {}, "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A=="],
|
||||
|
||||
"entities": ["entities@6.0.1", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="],
|
||||
|
||||
"escape-string-regexp": ["escape-string-regexp@5.0.0", "", {}, "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw=="],
|
||||
|
||||
"extend": ["extend@3.0.2", "", {}, "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="],
|
||||
|
||||
"generaltranslation": ["generaltranslation@9.5.9", "", { "dependencies": { "@generaltranslation/api": "0.5.6", "@generaltranslation/format": "0.1.9", "@generaltranslation/icu": "0.1.2", "@noble/hashes": "^2.2.0" } }, "sha512-/R/MvEEiB+Us/fj/YfuSTfhvzUfmvFpiHxGx2f+C6Wv0O875T0yJI3RLGDopqZVbnKPimog9eXofJL7W0SOxJg=="],
|
||||
|
||||
"get-east-asian-width": ["get-east-asian-width@1.7.0", "", {}, "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q=="],
|
||||
|
||||
"gt-i18n": ["gt-i18n@1.0.40", "", { "dependencies": { "@generaltranslation/format": "0.1.9", "generaltranslation": "9.5.9" } }, "sha512-EbDhYhtyUrZI4iBSWpe1AMRoYrmEn52/hnVG6NAqVhVvY85t15JCJWMdVOkDoB1TRVH9nbSzAttaYwcv0LF3KQ=="],
|
||||
|
||||
"gt-react": ["gt-react@11.4.18", "", { "dependencies": { "@generaltranslation/react-core": "11.4.18", "generaltranslation": "9.5.9", "gt-i18n": "1.0.40" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-c6T+oqvXdT2DSW6kXDc3HYj4MA9fR4B1VgSXaIVG8emAWhZ9Dih4npJBjRWBJNr1D3KrG0nU/+1FPxJ1Zzkhnw=="],
|
||||
|
||||
"hast-util-from-parse5": ["hast-util-from-parse5@8.0.4", "", { "dependencies": { "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", "devlop": "^1.0.0", "hastscript": "^9.0.0", "property-information": "^7.0.0", "vfile": "^6.0.0", "vfile-location": "^5.0.0", "web-namespaces": "^2.0.0" } }, "sha512-Yq7XlXor0Cpb71sI2E0zpv8QxQ5a6rfhDEETk4bcgrFX2SvJAY2PHocWwFtL6U9qyfiyByW3wZ6sZEfP2kW81g=="],
|
||||
|
||||
"hast-util-parse-selector": ["hast-util-parse-selector@4.0.0", "", { "dependencies": { "@types/hast": "^3.0.0" } }, "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A=="],
|
||||
|
||||
"hast-util-raw": ["hast-util-raw@9.2.1", "", { "dependencies": { "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", "@ungap/structured-clone": "^1.0.0", "hast-util-from-parse5": "^8.0.0", "hast-util-to-parse5": "^8.0.0", "html-void-elements": "^3.0.0", "mdast-util-to-hast": "^13.0.0", "parse5": "^8.1.0", "unist-util-position": "^5.0.0", "unist-util-visit": "^5.0.0", "vfile": "^6.0.0", "web-namespaces": "^2.0.0", "zwitch": "^2.0.0" } }, "sha512-8P0PLAr5C7xCRb+tkhUTV4v6OSNcnccKwjBkH/r19R5CkVCgTWlv4vmTkxFH1CVCA2UJOvOPQdBBMC3c6qnuOg=="],
|
||||
|
||||
"hast-util-sanitize": ["hast-util-sanitize@5.0.2", "", { "dependencies": { "@types/hast": "^3.0.0", "@ungap/structured-clone": "^1.0.0", "unist-util-position": "^5.0.0" } }, "sha512-3yTWghByc50aGS7JlGhk61SPenfE/p1oaFeNwkOOyrscaOkMGrcW9+Cy/QAIOBpZxP1yqDIzFMR0+Np0i0+usg=="],
|
||||
|
||||
"hast-util-to-html": ["hast-util-to-html@9.0.7", "", { "dependencies": { "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", "ccount": "^2.0.0", "comma-separated-tokens": "^2.0.0", "hast-util-whitespace": "^3.0.0", "html-void-elements": "^3.0.0", "mdast-util-to-hast": "^13.0.0", "property-information": "^7.0.0", "space-separated-tokens": "^2.0.0", "stringify-entities": "^4.0.0", "zwitch": "^2.0.4" } }, "sha512-HYNDA3qdnzUPitY/LcQm1nWs8z0cWFNH1Nz09jdI/tXifAqF7h3+jrLl4S/b9Mi4VSjn0Dsn54ctuTV6zhBthA=="],
|
||||
|
||||
"hast-util-to-parse5": ["hast-util-to-parse5@8.0.1", "", { "dependencies": { "@types/hast": "^3.0.0", "comma-separated-tokens": "^2.0.0", "devlop": "^1.0.0", "property-information": "^7.0.0", "space-separated-tokens": "^2.0.0", "web-namespaces": "^2.0.0", "zwitch": "^2.0.0" } }, "sha512-MlWT6Pjt4CG9lFCjiz4BH7l9wmrMkfkJYCxFwKQic8+RTZgWPuWxwAfjJElsXkex7DJjfSJsQIt931ilUgmwdA=="],
|
||||
|
||||
"hast-util-whitespace": ["hast-util-whitespace@3.0.0", "", { "dependencies": { "@types/hast": "^3.0.0" } }, "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw=="],
|
||||
|
||||
"hastscript": ["hastscript@9.0.3", "", { "dependencies": { "@types/hast": "^3.0.0", "comma-separated-tokens": "^2.0.0", "hast-util-parse-selector": "^4.0.0", "property-information": "^7.0.0", "space-separated-tokens": "^2.0.0" } }, "sha512-1ALZXSmCGmW3h8AMz4R4+QKSKFi7sNgXLVwmwB8FYVtl1CwQ3WDkSAEY/d5tp1g/vbQgq2s1WlHgfO3jbw1TsA=="],
|
||||
|
||||
"html-void-elements": ["html-void-elements@3.0.0", "", {}, "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg=="],
|
||||
|
||||
"is-alphabetical": ["is-alphabetical@2.0.1", "", {}, "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ=="],
|
||||
|
||||
"is-alphanumerical": ["is-alphanumerical@2.0.1", "", { "dependencies": { "is-alphabetical": "^2.0.0", "is-decimal": "^2.0.0" } }, "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw=="],
|
||||
@@ -130,16 +231,42 @@
|
||||
|
||||
"jose": ["jose@6.2.14", "", {}, "sha512-3JasLuki1NRLQvY4wCoC37KZk4qxoBx2k2aFqLxT84IezqW0bkJKnNtxnZj/Fu1xsQivoc/lytxaRHJoGLjJ1A=="],
|
||||
|
||||
"katex": ["katex@0.16.47", "", { "dependencies": { "commander": "^8.3.0" }, "bin": { "katex": "cli.js" } }, "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg=="],
|
||||
|
||||
"longest-streak": ["longest-streak@3.1.0", "", {}, "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g=="],
|
||||
|
||||
"lru_map": ["lru_map@0.4.1", "", {}, "sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg=="],
|
||||
|
||||
"markdown-table": ["markdown-table@3.1.0", "", {}, "sha512-xpeSCdM+B+6P3ncfgaB7FoDbtJ30xAe6Z18TGT7AgXJsHqCElCICZovQqdRMm7kHgpTyYv36EupqewoFFSB8vw=="],
|
||||
|
||||
"marked": ["marked@17.0.1", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-boeBdiS0ghpWcSwoNm/jJBwdpFaMnZWRzjA6SkUMYb40SVaN1x7mmfGKp0jvexGcx+7y2La5zRZsYFZI6Qpypg=="],
|
||||
|
||||
"mdast-util-directive": ["mdast-util-directive@3.2.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "ccount": "^2.0.0", "devlop": "^1.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.2.0", "micromark-util-character": "^2.0.0", "parse-entities": "^4.0.0", "stringify-entities": "^4.0.0" } }, "sha512-Yxq+hH4pBEmtaLIJyMVcNbtBiCIKzdOK3HvDeM+JAqC8XVAT1e5PUYbHBpwFvQLIJuJfO2zCu7aNUXWoyZLmhw=="],
|
||||
|
||||
"mdast-util-find-and-replace": ["mdast-util-find-and-replace@3.0.5", "", { "dependencies": { "@types/mdast": "^4.0.0", "escape-string-regexp": "^5.0.0", "unist-util-is": "^6.0.0", "unist-util-visit-parents": "^6.1.0" } }, "sha512-of3wZLEBWpK8mSYy8wmKnwyxfUKjhCkXxGLz45DVBqfcahTP37LscCK+0oAZh+ReZ5OunPDkB2zdGMIxrojLhw=="],
|
||||
|
||||
"mdast-util-from-markdown": ["mdast-util-from-markdown@2.1.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "decode-named-character-reference": "^1.0.0", "devlop": "^1.0.0", "mdast-util-to-string": "^4.0.0", "micromark": "^4.0.0", "micromark-util-decode-numeric-character-reference": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0", "unist-util-stringify-position": "^4.0.0" } }, "sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A=="],
|
||||
|
||||
"mdast-util-gfm": ["mdast-util-gfm@3.1.0", "", { "dependencies": { "mdast-util-from-markdown": "^2.0.0", "mdast-util-gfm-autolink-literal": "^2.0.0", "mdast-util-gfm-footnote": "^2.0.0", "mdast-util-gfm-strikethrough": "^2.0.0", "mdast-util-gfm-table": "^2.0.0", "mdast-util-gfm-task-list-item": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ=="],
|
||||
|
||||
"mdast-util-gfm-autolink-literal": ["mdast-util-gfm-autolink-literal@2.1.2", "", { "dependencies": { "@types/mdast": "^4.0.0", "ccount": "^2.0.0", "devlop": "^1.0.0", "mdast-util-find-and-replace": "^3.0.0", "micromark-util-character": "^2.0.0" } }, "sha512-rAlbZBGZfv2YRr6lSFGHTN305KkNawOYRRlbldFyPHnTlHJZwlGdzVwyIDvr3fxbhRbmJOSZc06c8H5Fgfu8Ng=="],
|
||||
|
||||
"mdast-util-gfm-footnote": ["mdast-util-gfm-footnote@2.1.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "devlop": "^1.1.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0" } }, "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ=="],
|
||||
|
||||
"mdast-util-gfm-strikethrough": ["mdast-util-gfm-strikethrough@2.0.1", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw=="],
|
||||
|
||||
"mdast-util-gfm-table": ["mdast-util-gfm-table@2.0.1", "", { "dependencies": { "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "markdown-table": "^3.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0", "mdast-util-to-string": "^4.0.0", "unist-util-visit": "^5.0.0" } }, "sha512-fiIjPrAy4kz68/eFbPHhsiWDGHhqUSVoU1XsfLM5DsEPXw7MxgiVVyulUggFRckVWeT1KXQXkg5vm3kv4oMSOA=="],
|
||||
|
||||
"mdast-util-gfm-task-list-item": ["mdast-util-gfm-task-list-item@2.0.1", "", { "dependencies": { "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-jXVO1hvB2hs82g1esi7I9nIJDqiijbQLIyH2jDUb5s7jIAZMr/79h0VHSq7XHKTqpLARRm+DDNjduB7S9+6XZA=="],
|
||||
|
||||
"mdast-util-math": ["mdast-util-math@3.0.0", "", { "dependencies": { "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "longest-streak": "^3.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.1.0", "unist-util-remove-position": "^5.0.0" } }, "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w=="],
|
||||
|
||||
"mdast-util-newline-to-break": ["mdast-util-newline-to-break@2.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-find-and-replace": "^3.0.0" } }, "sha512-MbgeFca0hLYIEx/2zGsszCSEJJ1JSCdiY5xQxRcLDDGa8EPvlLPupJ4DSajbMPAnC0je8jfb9TiUATnxxrHUog=="],
|
||||
|
||||
"mdast-util-phrasing": ["mdast-util-phrasing@4.1.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "unist-util-is": "^6.0.0" } }, "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w=="],
|
||||
|
||||
"mdast-util-to-hast": ["mdast-util-to-hast@13.2.1", "", { "dependencies": { "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "@ungap/structured-clone": "^1.0.0", "devlop": "^1.0.0", "micromark-util-sanitize-uri": "^2.0.0", "trim-lines": "^3.0.0", "unist-util-position": "^5.0.0", "unist-util-visit": "^5.0.0", "vfile": "^6.0.0" } }, "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA=="],
|
||||
|
||||
"mdast-util-to-markdown": ["mdast-util-to-markdown@2.2.1", "", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "longest-streak": "^3.0.0", "mdast-util-phrasing": "^4.0.0", "mdast-util-to-string": "^4.0.0", "micromark-util-character": "^2.0.0", "micromark-util-classify-character": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "micromark-util-html-tag-name": "^2.0.0", "unist-util-visit": "^5.0.0", "zwitch": "^2.0.0" } }, "sha512-ThatlCBxG2GE+mljhNSfZPv56d3QrGiRh97jjYgIk80IzS4uU6d7cHAaexCYSAmUCCcOs3grJ07kX3oTGsFUOw=="],
|
||||
|
||||
"mdast-util-to-string": ["mdast-util-to-string@4.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0" } }, "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg=="],
|
||||
@@ -150,6 +277,22 @@
|
||||
|
||||
"micromark-extension-directive": ["micromark-extension-directive@4.0.0", "", { "dependencies": { "devlop": "^1.0.0", "micromark-factory-space": "^2.0.0", "micromark-factory-whitespace": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0", "parse-entities": "^4.0.0" } }, "sha512-/C2nqVmXXmiseSSuCdItCMho7ybwwop6RrrRPk0KbOHW21JKoCldC+8rFOaundDoRBUWBnJJcxeA/Kvi34WQXg=="],
|
||||
|
||||
"micromark-extension-gfm": ["micromark-extension-gfm@3.0.0", "", { "dependencies": { "micromark-extension-gfm-autolink-literal": "^2.0.0", "micromark-extension-gfm-footnote": "^2.0.0", "micromark-extension-gfm-strikethrough": "^2.0.0", "micromark-extension-gfm-table": "^2.0.0", "micromark-extension-gfm-tagfilter": "^2.0.0", "micromark-extension-gfm-task-list-item": "^2.0.0", "micromark-util-combine-extensions": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w=="],
|
||||
|
||||
"micromark-extension-gfm-autolink-literal": ["micromark-extension-gfm-autolink-literal@2.1.0", "", { "dependencies": { "micromark-util-character": "^2.0.0", "micromark-util-sanitize-uri": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw=="],
|
||||
|
||||
"micromark-extension-gfm-footnote": ["micromark-extension-gfm-footnote@2.1.0", "", { "dependencies": { "devlop": "^1.0.0", "micromark-core-commonmark": "^2.0.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-sanitize-uri": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw=="],
|
||||
|
||||
"micromark-extension-gfm-strikethrough": ["micromark-extension-gfm-strikethrough@2.1.0", "", { "dependencies": { "devlop": "^1.0.0", "micromark-util-chunked": "^2.0.0", "micromark-util-classify-character": "^2.0.0", "micromark-util-resolve-all": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw=="],
|
||||
|
||||
"micromark-extension-gfm-table": ["micromark-extension-gfm-table@2.1.2", "", { "dependencies": { "devlop": "^1.0.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA=="],
|
||||
|
||||
"micromark-extension-gfm-tagfilter": ["micromark-extension-gfm-tagfilter@2.0.0", "", { "dependencies": { "micromark-util-types": "^2.0.0" } }, "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg=="],
|
||||
|
||||
"micromark-extension-gfm-task-list-item": ["micromark-extension-gfm-task-list-item@2.1.0", "", { "dependencies": { "devlop": "^1.0.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw=="],
|
||||
|
||||
"micromark-extension-math": ["micromark-extension-math@3.1.0", "", { "dependencies": { "@types/katex": "^0.16.0", "devlop": "^1.0.0", "katex": "^0.16.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg=="],
|
||||
|
||||
"micromark-factory-destination": ["micromark-factory-destination@2.0.1", "", { "dependencies": { "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA=="],
|
||||
|
||||
"micromark-factory-label": ["micromark-factory-label@2.0.1", "", { "dependencies": { "devlop": "^1.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg=="],
|
||||
@@ -188,30 +331,70 @@
|
||||
|
||||
"micromark-util-symbol": ["micromark-util-symbol@2.0.1", "", {}, "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q=="],
|
||||
|
||||
"micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
"micromark-util-types": ["micromark-util-types@2.0.2", "", {}, "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA=="],
|
||||
|
||||
"ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
||||
|
||||
"oniguruma-parser": ["oniguruma-parser@0.12.2", "", {}, "sha512-6HVa5oIrgMC6aA6WF6XyyqbhRPJrKR02L20+2+zpDtO5QAzGHAUGw5TKQvwi5vctNnRHkJYmjAhRVQF2EKdTQw=="],
|
||||
|
||||
"oniguruma-to-es": ["oniguruma-to-es@4.3.6", "", { "dependencies": { "oniguruma-parser": "^0.12.2", "regex": "^6.1.0", "regex-recursion": "^6.0.2" } }, "sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA=="],
|
||||
|
||||
"parse-entities": ["parse-entities@4.0.2", "", { "dependencies": { "@types/unist": "^2.0.0", "character-entities-legacy": "^3.0.0", "character-reference-invalid": "^2.0.0", "decode-named-character-reference": "^1.0.0", "is-alphanumerical": "^2.0.0", "is-decimal": "^2.0.0", "is-hexadecimal": "^2.0.0" } }, "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw=="],
|
||||
|
||||
"parse5": ["parse5@8.1.1", "", { "dependencies": { "entities": "^9.0.0" } }, "sha512-EcR/6WDcU7b2N3vQSxKALCk9lXGtUMQxXio008OEMBE0kavu/7JLfBEeFPzi43nMqVDSbEn3QCK+BMCc9zO//w=="],
|
||||
|
||||
"preact": ["preact@11.0.0-beta.0", "", {}, "sha512-IcODoASASYwJ9kxz7+MJeiJhvLriwSb4y4mHIyxdgaRZp6kPUud7xytrk/6GZw8U3y6EFJaRb5wi9SrEK+8+lg=="],
|
||||
|
||||
"preact-render-to-string": ["preact-render-to-string@6.6.5", "", { "peerDependencies": { "preact": ">=10 || >= 11.0.0-0" } }, "sha512-O6MHzYNIKYaiSX3bOw0gGZfEbOmlIDtDfWwN1JJdc/T3ihzRT6tGGSEWE088dWrEDGa1u7101q+6fzQnO9XCPA=="],
|
||||
|
||||
"property-information": ["property-information@7.2.0", "", {}, "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg=="],
|
||||
|
||||
"react": ["react@19.3.1", "", {}, "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw=="],
|
||||
|
||||
"react-devtools-core": ["react-devtools-core@7.0.1", "", { "dependencies": { "shell-quote": "^1.6.1", "ws": "^7" } }, "sha512-C3yNvRHaizlpiASzy7b9vbnBGLrhvdhl1CbdU6EnZgxPNbai60szdLtl+VL76UNOt5bOoVTOz5rNWZxgGt+Gsw=="],
|
||||
|
||||
"react-dom": ["react-dom@19.3.1", "", { "dependencies": { "scheduler": "^0.28.0" }, "peerDependencies": { "react": "^19.3.1" } }, "sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ=="],
|
||||
|
||||
"react-reconciler": ["react-reconciler@0.33.0", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.0" } }, "sha512-KetWRytFv1epdpJc3J4G75I4WrplZE5jOL7Yq0p34+OVOKF4Se7WrdIdVC45XsSSmUTlht2FM/fM1FZb1mfQeA=="],
|
||||
|
||||
"regex": ["regex@6.1.0", "", { "dependencies": { "regex-utilities": "^2.3.0" } }, "sha512-6VwtthbV4o/7+OaAF9I5L5V3llLEsoPyq9P1JVXkedTP33c7MfCG0/5NOPcSJn0TzXcG9YUrR0gQSWioew3LDg=="],
|
||||
|
||||
"regex-recursion": ["regex-recursion@6.0.2", "", { "dependencies": { "regex-utilities": "^2.3.0" } }, "sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg=="],
|
||||
|
||||
"regex-utilities": ["regex-utilities@2.3.0", "", {}, "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng=="],
|
||||
|
||||
"rehype-raw": ["rehype-raw@7.0.0", "", { "dependencies": { "@types/hast": "^3.0.0", "hast-util-raw": "^9.0.0", "vfile": "^6.0.0" } }, "sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww=="],
|
||||
|
||||
"rehype-sanitize": ["rehype-sanitize@6.0.0", "", { "dependencies": { "@types/hast": "^3.0.0", "hast-util-sanitize": "^5.0.0" } }, "sha512-CsnhKNsyI8Tub6L4sm5ZFsme4puGfc6pYylvXo1AeqaGbjOYyzNv3qZPwvs0oMJ39eryyeOdmxwUIo94IpEhqg=="],
|
||||
|
||||
"remark-breaks": ["remark-breaks@4.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-newline-to-break": "^2.0.0", "unified": "^11.0.0" } }, "sha512-IjEjJOkH4FuJvHZVIW0QCDWxcG96kCq7An/KVH2NfJe6rKZU2AsHeB3OEjPNRxi4QC34Xdx7I2KGYn6IpT7gxQ=="],
|
||||
|
||||
"remark-gfm": ["remark-gfm@4.0.1", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-gfm": "^3.0.0", "micromark-extension-gfm": "^3.0.0", "remark-parse": "^11.0.0", "remark-stringify": "^11.0.0", "unified": "^11.0.0" } }, "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg=="],
|
||||
|
||||
"remark-math": ["remark-math@6.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-math": "^3.0.0", "micromark-extension-math": "^3.0.0", "unified": "^11.0.0" } }, "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA=="],
|
||||
|
||||
"remark-parse": ["remark-parse@11.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-from-markdown": "^2.0.0", "micromark-util-types": "^2.0.0", "unified": "^11.0.0" } }, "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA=="],
|
||||
|
||||
"remark-rehype": ["remark-rehype@11.1.2", "", { "dependencies": { "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "mdast-util-to-hast": "^13.0.0", "unified": "^11.0.0", "vfile": "^6.0.0" } }, "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw=="],
|
||||
|
||||
"remark-stringify": ["remark-stringify@11.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-to-markdown": "^2.0.0", "unified": "^11.0.0" } }, "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw=="],
|
||||
|
||||
"scheduler": ["scheduler@0.27.0", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
|
||||
|
||||
"shell-quote": ["shell-quote@1.12.0", "", {}, "sha512-PcByqNyT/38F2kDNi006HAMRJaULuBzq/FOsw3qdZvX/GA9W/jamDaRskgHjubHiftXK5sIFxLNkvrXUwcof6Q=="],
|
||||
|
||||
"shiki": ["shiki@4.6.0", "", { "dependencies": { "@shikijs/core": "4.6.0", "@shikijs/engine-javascript": "4.6.0", "@shikijs/engine-oniguruma": "4.6.0", "@shikijs/langs": "4.6.0", "@shikijs/themes": "4.6.0", "@shikijs/types": "4.6.0", "@shikijs/vscode-textmate": "^10.1.0", "@types/hast": "^3.0.5" } }, "sha512-imjLsVHgPuWhvpU3P+zOekvMYqnel7QmKsFC4Sn0fCuAvaaalBsxwKEsrU8Ko5BdFnZA6Go/8a0RzahS634UgA=="],
|
||||
|
||||
"space-separated-tokens": ["space-separated-tokens@2.0.2", "", {}, "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q=="],
|
||||
|
||||
"string-width": ["string-width@7.2.0", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="],
|
||||
|
||||
"stringify-entities": ["stringify-entities@4.0.4", "", { "dependencies": { "character-entities-html4": "^2.0.0", "character-entities-legacy": "^3.0.0" } }, "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg=="],
|
||||
|
||||
"strip-ansi": ["strip-ansi@7.1.2", "", { "dependencies": { "ansi-regex": "^6.0.1" } }, "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA=="],
|
||||
|
||||
"trim-lines": ["trim-lines@3.0.1", "", {}, "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg=="],
|
||||
|
||||
"trough": ["trough@2.2.0", "", {}, "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw=="],
|
||||
|
||||
"typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
|
||||
@@ -222,6 +405,10 @@
|
||||
|
||||
"unist-util-is": ["unist-util-is@6.0.1", "", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g=="],
|
||||
|
||||
"unist-util-position": ["unist-util-position@5.0.0", "", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA=="],
|
||||
|
||||
"unist-util-remove-position": ["unist-util-remove-position@5.0.0", "", { "dependencies": { "@types/unist": "^3.0.0", "unist-util-visit": "^5.0.0" } }, "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q=="],
|
||||
|
||||
"unist-util-stringify-position": ["unist-util-stringify-position@4.0.0", "", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ=="],
|
||||
|
||||
"unist-util-visit": ["unist-util-visit@5.2.0", "", { "dependencies": { "@types/unist": "^3.0.0", "unist-util-is": "^6.0.0", "unist-util-visit-parents": "^6.1.0" } }, "sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ=="],
|
||||
@@ -230,20 +417,84 @@
|
||||
|
||||
"vfile": ["vfile@6.0.3", "", { "dependencies": { "@types/unist": "^3.0.0", "vfile-message": "^4.0.0" } }, "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q=="],
|
||||
|
||||
"vfile-location": ["vfile-location@5.0.4", "", { "dependencies": { "@types/unist": "^3.0.0", "vfile": "^6.0.0" } }, "sha512-vEvxatYZCIpNvzGk2UD+u4I/sZkSKoOsdRCbkOIsN73QpJbriJ1qvvBAL1PeI0y55Leoqf7pORbaSPpG/smmOg=="],
|
||||
|
||||
"vfile-message": ["vfile-message@4.0.3", "", { "dependencies": { "@types/unist": "^3.0.0", "unist-util-stringify-position": "^4.0.0" } }, "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw=="],
|
||||
|
||||
"web-namespaces": ["web-namespaces@2.0.1", "", {}, "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ=="],
|
||||
|
||||
"web-tree-sitter": ["web-tree-sitter@0.25.10", "", { "peerDependencies": { "@types/emscripten": "^1.40.0" }, "optionalPeers": ["@types/emscripten"] }, "sha512-Y09sF44/13XvgVKgO2cNDw5rGk6s26MgoZPXLESvMXeefBf7i6/73eFurre0IsTW6E14Y0ArIzhUMmjoc7xyzA=="],
|
||||
|
||||
"ws": ["ws@8.22.1", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g=="],
|
||||
|
||||
"yaml": ["yaml@2.9.1", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw=="],
|
||||
|
||||
"zustand": ["zustand@5.0.11", "", { "peerDependencies": { "@types/react": ">=18.0.0", "immer": ">=9.0.6", "react": ">=18.0.0", "use-sync-external-store": ">=1.2.0" }, "optionalPeers": ["@types/react", "immer", "react", "use-sync-external-store"] }, "sha512-fdZY+dk7zn/vbWNCYmzZULHRrss0jx5pPFiOuMZ/5HJN6Yv3u+1Wswy/4MpZEkEGhtNH+pwxZB8OKgUBPzYAGg=="],
|
||||
|
||||
"zwitch": ["zwitch@2.0.4", "", {}, "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="],
|
||||
|
||||
"@pierre/diffs/hast-util-to-html": ["hast-util-to-html@9.0.5", "", { "dependencies": { "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", "ccount": "^2.0.0", "comma-separated-tokens": "^2.0.0", "hast-util-whitespace": "^3.0.0", "html-void-elements": "^3.0.0", "mdast-util-to-hast": "^13.0.0", "property-information": "^7.0.0", "space-separated-tokens": "^2.0.0", "stringify-entities": "^4.0.0", "zwitch": "^2.0.4" } }, "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw=="],
|
||||
|
||||
"@pierre/trees/@pierre/theming": ["@pierre/theming@1.0.0", "", { "peerDependencies": { "@pierre/theme": "^1.1.0", "@shikijs/themes": "^3.0.0 || ^4.0.0", "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0", "shiki": "^3.0.0 || ^4.0.0" }, "optionalPeers": ["@pierre/theme", "@shikijs/themes", "react", "react-dom", "shiki"] }, "sha512-WsdrnhKfjeyXGDikZmN9pkpeZ5S/cl6EE72feiSc0tlynT1tMYqXqouhuv/foK+PY9OEnebOAVRQn3+rAstR8g=="],
|
||||
|
||||
"@types/node/undici-types": ["undici-types@8.9.0", "", {}, "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg=="],
|
||||
|
||||
"generaltranslation/@noble/hashes": ["@noble/hashes@2.4.0", "", {}, "sha512-X5XaVWZIBCT7HHZGm5I7ZQXDwLG+bGXuSrMQAW+7Zvl87h1kmc1ZB1VSRJcpUfoUrGQp4Fkoxm5kZ+Ms+aW+eA=="],
|
||||
|
||||
"mdast-util-from-markdown/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-core-commonmark/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-directive/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-gfm/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-gfm-autolink-literal/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-gfm-footnote/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-gfm-strikethrough/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-gfm-table/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-gfm-tagfilter/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-gfm-task-list-item/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-extension-math/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-factory-destination/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-factory-label/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-factory-space/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-factory-title/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-factory-whitespace/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-util-character/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-util-classify-character/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-util-combine-extensions/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-util-edit-map/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-util-resolve-all/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"micromark-util-subtokenize/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
|
||||
"parse-entities/@types/unist": ["@types/unist@2.0.11", "", {}, "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA=="],
|
||||
|
||||
"parse5/entities": ["entities@9.0.0", "", {}, "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg=="],
|
||||
|
||||
"react-devtools-core/ws": ["ws@7.5.13", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": "^5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-rsKI6xDBFVf4r/x8XyChGK04QR/XHroxs/jUcoWvtEZM8TPU/X/uIY9B1CsSzYws9ZJb/6bbBu7dPhFW00CAoA=="],
|
||||
|
||||
"react-dom/scheduler": ["scheduler@0.28.0", "", {}, "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw=="],
|
||||
|
||||
"remark-parse/micromark-util-types": ["micromark-util-types@2.0.3", "", {}, "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg=="],
|
||||
}
|
||||
}
|
||||
+3
-1
@@ -10,7 +10,7 @@ Set `T3TUI_DEBUG=/path/to/log` to log thread subscriptions and snapshots.
|
||||
|
||||
- It finds the local server from `~/.t3/userdata/server-runtime.json` (override with `T3TUI_SERVER`).
|
||||
- On first run it mints its own bearer session with `t3 auth session issue --label t3tui`, scoped to `orchestration:read`, `orchestration:operate` (attachments and automations ride on it), `filesystem:read` (diffs), `source-control:write` (git actions), `terminal:read` and `terminal:operate` (terminals, stopping servers), `diagnostics:read` (usage totals) and `providers:manage` (reset credits), and stores it in `~/.config/t3tui/credentials.json` (mode 600). A stored credential missing any of these scopes is replaced with a new one. Revoke it any time with `t3 auth session revoke`. For a remote server, pass a token in `T3TUI_TOKEN`.
|
||||
- It speaks T3 Code's own WebSocket RPC protocol, typed by upstream's `@t3tools/contracts`, and applies thread updates with upstream's own reducers. Both come from `vendor/t3code`, a submodule pinned to the server version this was built against (`v0.1.6-nightly.20261030.3917`).
|
||||
- It speaks T3 Code's own WebSocket RPC protocol, typed by upstream's `@t3tools/contracts`, and applies thread updates with upstream's own reducers. Both come from `vendor/t3code`, a submodule pinned to the server version this was built against (commit `42c9107983`, v0.1.12-nightly).
|
||||
|
||||
## Following the web app
|
||||
|
||||
@@ -29,6 +29,8 @@ bun install && bun run typecheck && bun test
|
||||
|
||||
Type errors after a bump point at the protocol changes to adapt to.
|
||||
|
||||
Two patches ride along with a bump: upstream's `patches/effect@*.patch` is applied to the installed `effect` package through `patchedDependencies` in `package.json` (copy the current patch file into `patches/` when the effect version changes), and `tscPatches` in `scripts/link-vendor.ts` fixes the spots where classic `tsc` can't infer what upstream's Effect language service can — the vendored packages are copied into `node_modules/@t3tools` for this, so `vendor/` itself stays pristine.
|
||||
|
||||
## Releasing
|
||||
|
||||
Releases are standalone binaries built with `bun build --compile`, so users don't need Bun or a checkout. To cut one, bump `version` in `package.json`, commit, and push a matching tag:
|
||||
|
||||
+4
-2
@@ -101,7 +101,7 @@ The layout follows T3 Code's web app, and much of it uses the web app's own code
|
||||
|
||||
- **Sidebar:** the same sections as the app (Pinned, Active, Working, then Snoozed and Settled folded to a count) and the same status words: `Working 2m`, `Waiting`, `Approval`, `Input`, `Request`, `Limited`, `Failed`, `Done`. Threads that need you are bold.
|
||||
- **Conversation:** each finished turn's work folds into one line (`Worked for 3m 12s`), your messages sit in a raised block with a bar down the left, and a running turn shows its live step and `Working for 12s`. Replies render as markdown while they stream, tables included, and settle into their final form when done; at the bottom the newest line stays in view, and scrolled up the text you're reading stays put. Threads open scrolled to the bottom. Long threads load as a window of recent turns; press `o` for older ones.
|
||||
- **Turns:** `[`/`]` select a turn and mark its prompt. `R` or `Revert to this turn` asks `Edit from here?`, then rewinds the chat and returns the prompt to the message box, keeping file changes. `Revert files too` in the palette also restores files, including your own edits. Stop a running turn first. Rewinding messages with attachments still needs the app.
|
||||
- **Turns:** `[`/`]` select a turn and mark its prompt. `R` or `Revert to this turn` asks `Edit from here?`, then rewinds the chat and returns the prompt — and its attachments — to the message box, keeping file changes. `Revert files too` in the palette also restores files, including your own edits. `Fork from this turn` in the palette or the prompt's right-click menu copies the run into a new thread and opens it. Stop a running turn first.
|
||||
- **Command output:** expand work with `e` / `Expand all work`, or click a command. Output streams while its expanded row is in view; collapsing it, scrolling away or opening another thread stops it.
|
||||
- **Thread details:** a column beside the conversation with the workspace, model and mode, the branch with ahead/behind and its pull request, uncommitted changes per file, lineage (forks and subagents), background work and the goal. It opens by itself on terminals 160 columns or wider; on narrow ones `d` shows it in place of the conversation. A strip of tabs at its top reads `Details · Files`, then a tab for each file open in an editor or a preview and each terminal placed at the side: click one, or press `ctrl+\` then its number.
|
||||
- **Diffs:** pick `View diff` or a file under Changes to see uncommitted changes in place of the conversation: side by side when the conversation is at least 140 columns wide, unified otherwise. `Toggle split diff` in the palette switches between the two for the rest of the session. `D` (or `View changes from this turn`) reviews a turn's checkpoint; `View all changes in this thread` reviews the whole thread. `j`/`k` scroll, `[`/`]` choose a file, and `esc` closes. In uncommitted diffs, `x` or `enter` shows the whole file, including unchanged lines; press it again to collapse. Diffs of past checkpoints show only the changed lines.
|
||||
@@ -133,9 +133,11 @@ The layout follows T3 Code's web app, and much of it uses the web app's own code
|
||||
- Rename, regenerate the title, mark unread
|
||||
- Auto-settle on or off for the thread (on servers that support turning it off)
|
||||
- Copy the workspace path, branch, thread link or thread ID
|
||||
- Share with guest (a link, copied to the clipboard) when the server's Guest links beta is on
|
||||
- Turn into project, for a scratch thread with its own folder on a server that allows it
|
||||
- Archive or delete
|
||||
|
||||
Submenus open as their own list, and typing finds their items from the top (`thread id` finds `Copy › Thread ID`). A custom snooze takes a duration (`45m`, `3h`, `2d`, `1w`) or a time of day (`17:30`). Delete asks first; it leaves the thread's worktree alone, so remove that from the app or with `b`. Copying goes through the terminal (OSC 52, so it works over SSH), and through `wl-copy`, `xclip` or `pbcopy` on a local desktop. Project settings and guest sharing are only in the app.
|
||||
Submenus open as their own list, and typing finds their items from the top (`thread id` finds `Copy › Thread ID`). A custom snooze takes a duration (`45m`, `3h`, `2d`, `1w`) or a time of day (`17:30`). Delete asks first; it leaves the thread's worktree alone, so remove that from the app or with `b`. Copying goes through the terminal (OSC 52, so it works over SSH), and through `wl-copy`, `xclip` or `pbcopy` on a local desktop. Project settings are only in the app.
|
||||
|
||||
## New threads
|
||||
|
||||
|
||||
Generated
+27
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1795371335,
|
||||
"narHash": "sha256-oa2P5WZer1A4wuhatl92JyHHEjrrOdIyuvTuI5LUi9Q=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "619c39f6eac5d1ed6b8f073a9414baf7034b2356",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
description = "t3tui local development dependencies (bun)";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, ... }:
|
||||
let
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f (import nixpkgs { inherit system; }));
|
||||
in
|
||||
{
|
||||
devShells = forAllSystems (pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.bun
|
||||
];
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
+26
-1
@@ -22,12 +22,34 @@
|
||||
"dependencies": {
|
||||
"@opentui/core": "0.8.1",
|
||||
"@opentui/react": "0.8.1",
|
||||
"@pierre/diffs": "1.7.0-beta.4",
|
||||
"@pierre/trees": "1.0.0-beta.6",
|
||||
"@pierre/words": "file:vendor/t3code/apps/web/deps/pierre-words-0.2.2-t3.4-7c04b7f1.tgz",
|
||||
"diff": "9.0.0",
|
||||
"effect": "4.0.5",
|
||||
"effect": "4.1.5",
|
||||
"entities": "^6.0.1",
|
||||
"get-east-asian-width": "^1.6.0",
|
||||
"gt-i18n": "1.0.40",
|
||||
"gt-react": "11.4.18",
|
||||
"hast-util-sanitize": "^5.0.2",
|
||||
"hast-util-to-html": "^9.0.5",
|
||||
"mdast-util-directive": "^3.2.0",
|
||||
"mdast-util-to-hast": "13.2.1",
|
||||
"micromark-extension-directive": "^4.0.0",
|
||||
"micromark-util-character": "2.1.1",
|
||||
"micromark-util-decode-string": "2.0.1",
|
||||
"micromark-util-types": "2.0.2",
|
||||
"property-information": "^7.2.0",
|
||||
"react": "^19.2.0",
|
||||
"rehype-raw": "7.0.0",
|
||||
"rehype-sanitize": "6.0.0",
|
||||
"remark-breaks": "4.0.0",
|
||||
"remark-gfm": "4.0.1",
|
||||
"remark-math": "6.0.0",
|
||||
"remark-parse": "^11.0.0",
|
||||
"remark-rehype": "11.1.2",
|
||||
"unified": "11.0.5",
|
||||
"yaml": "^2.9.0",
|
||||
"zustand": "5.0.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -37,5 +59,8 @@
|
||||
"@types/react": "^19.3.0",
|
||||
"jose": "^6.2.14",
|
||||
"typescript": "^5.9.0"
|
||||
},
|
||||
"patchedDependencies": {
|
||||
"effect@4.1.5": "patches/effect@4.1.5.patch"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
+47
-5
@@ -1,14 +1,56 @@
|
||||
// Exposes the pinned T3 Code workspace packages under node_modules/@t3tools so
|
||||
// their package export maps resolve. They are TypeScript sources Bun runs as-is.
|
||||
import { lstat, mkdir, readdir, rm, symlink } from "node:fs/promises";
|
||||
import { join, relative } from "node:path";
|
||||
// The packages are copied (not symlinked) so the small set of classic-tsc
|
||||
// false positives below can be patched in the copy; vendor/ itself stays pristine.
|
||||
import { cp, lstat, mkdir, readFile, readdir, rm, writeFile } from "node:fs/promises";
|
||||
import { join } from "node:path";
|
||||
|
||||
const root = join(import.meta.dir, "..");
|
||||
const packagesDir = join(root, "vendor/t3code/packages");
|
||||
const scopeDir = join(root, "node_modules/@t3tools");
|
||||
await mkdir(scopeDir, { recursive: true });
|
||||
for (const name of await readdir(packagesDir)) {
|
||||
const link = join(scopeDir, name);
|
||||
await lstat(link).then(() => rm(link, { recursive: true, force: true }), () => {});
|
||||
await symlink(relative(scopeDir, join(packagesDir, name)), link, "dir");
|
||||
const dest = join(scopeDir, name);
|
||||
await lstat(dest).then(() => rm(dest, { recursive: true, force: true }), () => {});
|
||||
await cp(join(packagesDir, name), dest, { recursive: true });
|
||||
}
|
||||
|
||||
// Upstream type-checks these sources with effect-tsgo plus the Effect language
|
||||
// service, which infers callback parameter types classic tsc cannot. Patch the
|
||||
// copies so `bun run typecheck` (classic tsc) stays clean. Each entry is applied
|
||||
// only if the original text is still present; if an upstream bump changes the
|
||||
// code, re-run typecheck and update the list.
|
||||
const tscPatches: ReadonlyArray<{ file: string; from: string; to: string }> = [
|
||||
{
|
||||
file: "client-runtime/src/rpc/session.ts",
|
||||
from: "send: (clientId, request, transferables) =>",
|
||||
to: "send: (clientId: any, request: any, transferables: any) =>",
|
||||
},
|
||||
];
|
||||
for (const { file, from, to } of tscPatches) {
|
||||
const path = join(scopeDir, file);
|
||||
const source = await readFile(path, "utf8");
|
||||
if (source.includes(from)) await writeFile(path, source.replace(from, to));
|
||||
}
|
||||
|
||||
// Upstream resolves "@pierre/words/core" and "@pierre/words/wasm" through its web app's
|
||||
// tsconfig paths (apps/web/tsconfig.json), not through the package's exports map. Bun does
|
||||
// not apply those paths to files under vendor/, so add the two subpaths to the installed
|
||||
// package's exports here. The files ship in the tgz (dist/core.js, dist/words.wasm.mjs).
|
||||
const wordsManifest = join(root, "node_modules/@pierre/words/package.json");
|
||||
try {
|
||||
const manifest = JSON.parse(await readFile(wordsManifest, "utf8")) as {
|
||||
exports?: Record<string, unknown>;
|
||||
};
|
||||
if (manifest.exports && !("./core" in manifest.exports)) {
|
||||
manifest.exports["./core"] = {
|
||||
types: "./dist/core.d.ts",
|
||||
import: "./dist/core.js",
|
||||
default: "./dist/core.js",
|
||||
};
|
||||
manifest.exports["./wasm"] = "./dist/words.wasm.mjs";
|
||||
await writeFile(wordsManifest, `${JSON.stringify(manifest, null, 2)}\n`);
|
||||
}
|
||||
} catch {
|
||||
// @pierre/words not installed yet; nothing to patch.
|
||||
}
|
||||
+35
-1
@@ -22,7 +22,7 @@ import {
|
||||
type OrchestrationV2Subagent,
|
||||
type RunId,
|
||||
type SecretRequestAnswerInput,
|
||||
type ThreadId,
|
||||
ThreadId,
|
||||
type DiscoveredLocalServer,
|
||||
type GitActionProgressEvent,
|
||||
type GitRunStackedActionResult,
|
||||
@@ -71,6 +71,8 @@ import {
|
||||
type PullRequestReviewVerdict,
|
||||
type PullRequestUpdateMethod,
|
||||
type ThreadPullRequestKey,
|
||||
type GuestShareCreateResult,
|
||||
type ProjectCreateFromThreadResult,
|
||||
WS_METHODS,
|
||||
} from "@t3tools/contracts";
|
||||
import { applyOrchestrationV2ProjectionEvent } from "@t3tools/client-runtime/state/orchestration-v2-projection";
|
||||
@@ -430,6 +432,32 @@ export class T3Session {
|
||||
});
|
||||
}
|
||||
|
||||
/** Forks one run of a thread into a new thread, as the web's "fork from here" does; resolves with the new thread's id. */
|
||||
async forkThread(input: { readonly sourceThreadId: ThreadId; readonly runId: RunId; readonly title?: string }): Promise<ThreadId> {
|
||||
const targetThreadId = ThreadId.make(crypto.randomUUID());
|
||||
await this.dispatch({
|
||||
type: "thread.fork",
|
||||
commandId: newCommandId(),
|
||||
createdBy: "user",
|
||||
creationSource: "web",
|
||||
sourceThreadId: input.sourceThreadId,
|
||||
targetThreadId,
|
||||
sourcePoint: { type: "run", runId: input.runId },
|
||||
...(input.title === undefined ? {} : { title: input.title }),
|
||||
});
|
||||
return targetThreadId;
|
||||
}
|
||||
|
||||
/** Creates a guest share link for a thread, as the web's "Share with guest" does. */
|
||||
guestShareCreate(threadId: ThreadId): Promise<GuestShareCreateResult> {
|
||||
return Effect.runPromise(this.requireConnection().rpc[WS_METHODS.guestShareCreate]({ threadId }));
|
||||
}
|
||||
|
||||
/** Promotes a scratch thread's folder to a project, as the web's "Turn into project" does. */
|
||||
createProjectFromThread(threadId: ThreadId): Promise<ProjectCreateFromThreadResult> {
|
||||
return Effect.runPromise(this.requireConnection().rpc[WS_METHODS.projectsCreateFromThread]({ threadId }));
|
||||
}
|
||||
|
||||
/** Runs a commit / push / PR action, reporting progress as it goes. Rejects with the server's message on failure. */
|
||||
async runGitAction(request: GitActionRequest, onProgress: Listener<GitActionProgressEvent>): Promise<GitRunStackedActionResult> {
|
||||
const rpc = this.requireConnection().rpc;
|
||||
@@ -1059,6 +1087,12 @@ export class T3Session {
|
||||
: mergeShellSnapshotProjects(previous, item.snapshot, { resolvedRepositoryIdentityRoots: item.resolvedRepositoryIdentityRoots }),
|
||||
});
|
||||
return;
|
||||
case "snapshot-required":
|
||||
// t3tui never resumes with a cursor, so ask for a fresh full snapshot by
|
||||
// reconnecting; the new subscription gets a plain "snapshot" item.
|
||||
this.setShell({ snapshot: null });
|
||||
this.connectionLost("snapshot required");
|
||||
return;
|
||||
default:
|
||||
if (previous) this.setShell({ snapshot: applyShellStreamEvent(previous, item) });
|
||||
}
|
||||
|
||||
+22
-6
@@ -1,7 +1,9 @@
|
||||
import { presentThreadShell } from "@t3tools/client-runtime/state/models";
|
||||
import { monitorHoldsWakeCompletion } from "@t3tools/shared/orchestrationV2PendingBackgroundWork";
|
||||
import type { EnvironmentId, OrchestrationV2ShellSnapshot, OrchestrationV2ThreadShell, ThreadId } from "@t3tools/contracts";
|
||||
|
||||
import { createThreadNotificationGate, type ThreadNotificationKind, type ThreadNotificationObservation } from "../../vendor/t3code/apps/web/src/components/ThreadNotificationCoordinator.logic.ts";
|
||||
import { createThreadNotificationGate, isSnoozedForNotification, type ThreadNotificationKind, type ThreadNotificationObservation } from "../../vendor/t3code/apps/web/src/components/ThreadNotificationCoordinator.logic.ts";
|
||||
import { resolveBackgroundThreadRequest } from "../../vendor/t3code/apps/web/src/components/backgroundThreadAnnouncement.ts";
|
||||
import { resolveStatus, type ThreadStatus } from "./threads.ts";
|
||||
|
||||
export type { ThreadNotificationKind };
|
||||
@@ -17,6 +19,7 @@ export interface Alert {
|
||||
interface Observed extends ThreadNotificationObservation {
|
||||
readonly raw: OrchestrationV2ThreadShell;
|
||||
readonly status: ThreadStatus;
|
||||
readonly shell: ReturnType<typeof presentThreadShell>;
|
||||
}
|
||||
|
||||
const LOCAL_ENVIRONMENT = "local" as EnvironmentId;
|
||||
@@ -48,17 +51,30 @@ export function createAlerts(onAlert: (alert: Alert) => void) {
|
||||
const shell = presentThreadShell(LOCAL_ENVIRONMENT, raw);
|
||||
let status = resolveStatus(shell);
|
||||
if (status === "ready" && shell.latestRun?.status === "failed") status = "failed";
|
||||
const attention = status === "input" || status === "request" || status === "approval" || status === "failed" || status === "limited" ? `${shell.latestRun?.runId ?? ""}:${status}` : null;
|
||||
const completedAt = Date.parse(shell.latestRun?.completedAt ?? "");
|
||||
const settled = status === "ready" && shell.latestRun?.status === "completed";
|
||||
const state: Observed = { raw, status, attention, settled, completedAt: settled && Number.isFinite(completedAt) ? completedAt : null };
|
||||
const needsAttention = status === "input" || status === "request" || status === "approval" || status === "failed" || status === "limited";
|
||||
const requestId = needsAttention ? resolveBackgroundThreadRequest(shell).requestId : null;
|
||||
const attention = !needsAttention
|
||||
? null
|
||||
: requestId !== null
|
||||
? `${status}:${requestId}`
|
||||
: `${shell.latestRun?.runId ?? ""}:${status}`;
|
||||
const completed = status === "ready" && shell.latestRun?.status === "completed";
|
||||
const settled = completed && !monitorHoldsWakeCompletion(raw);
|
||||
const parsedCompletedAt = Date.parse(shell.latestRun?.completedAt ?? "");
|
||||
const completedAt = Number.isFinite(parsedCompletedAt) ? parsedCompletedAt : null;
|
||||
const state: Observed = { raw, status, shell, attention, requestId, settled, completedAt: settled ? completedAt : null, backgroundWake: raw.latestRunBackgroundWake === true };
|
||||
next.set(raw.id, state);
|
||||
changed.push([prior, state]);
|
||||
}
|
||||
previous = next;
|
||||
gate.retain(new Set(next.keys()));
|
||||
const now = Date.now();
|
||||
for (const [prior, state] of changed) {
|
||||
gate.observe(state.raw.id, prior, state, { archived: state.raw.archivedAt !== null, quiet: state.raw.latestRunStopRequested === true });
|
||||
gate.observe(state.raw.id, prior, state, {
|
||||
archived: state.raw.archivedAt !== null,
|
||||
quiet: state.raw.latestRunStopRequested === true,
|
||||
snoozed: isSnoozedForNotification(state.shell, state.completedAt, now),
|
||||
});
|
||||
}
|
||||
},
|
||||
/** The shell went away: the next snapshot counts as a first sighting again. */
|
||||
|
||||
@@ -117,6 +117,8 @@ function scheduleText(task: ScheduledTask): string {
|
||||
const days = weekdayNames.length > 0 && weekdayNames.length < 7 ? ` ${weekdayNames.join(",")}` : "";
|
||||
return `fixed ${schedule.timeOfDay}${days}`;
|
||||
}
|
||||
case "once":
|
||||
return `once ${schedule.runAt}`;
|
||||
case "webhook":
|
||||
return "webhook";
|
||||
}
|
||||
|
||||
@@ -34,11 +34,9 @@ export interface ComposerItem {
|
||||
const THREAD_LIMIT = 5;
|
||||
export const PATH_SEARCH_LIMIT = 80;
|
||||
|
||||
/** The trigger the cursor sits in, or null. `/model` is a command here, as t3tui has no model-name search. */
|
||||
/** The trigger the cursor sits in, or null. `/model` arrives as a plain slash-command, as t3tui has no model-name search. */
|
||||
export function composerTrigger(text: string, cursor: number): ComposerTrigger | null {
|
||||
const trigger = detectComposerTrigger(text, cursor);
|
||||
if (trigger?.kind === "slash-model") return { ...trigger, kind: "slash-command", query: "model" };
|
||||
return trigger;
|
||||
return detectComposerTrigger(text, cursor);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,7 +18,8 @@ import { tildify } from "./paths.ts";
|
||||
import type { VcsState } from "../client/session.ts";
|
||||
import { formatClock, type T3tuiConfig } from "../config.ts";
|
||||
import { buildMenuItems, resolveQuickAction } from "../../vendor/t3code/apps/web/src/components/GitActionsControl.logic.ts";
|
||||
import { deriveLatestContextWindowSnapshot, formatContextWindowTokens, latestProviderTurnTokenUsage } from "../../vendor/t3code/apps/web/src/lib/contextWindow.ts";
|
||||
import { formatContextWindowTokens } from "../../vendor/t3code/apps/web/src/lib/contextWindow.ts";
|
||||
import { deriveLatestContextWindowSnapshot, latestProviderTurnTokenUsage } from "@t3tools/client-runtime/state/context-window";
|
||||
import { statusLabel, threadState, type StatusTone } from "./threads.ts";
|
||||
import { providerLimits, type LimitWindowLine } from "./usage.ts";
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ import type {
|
||||
import { sourceControlClients } from "@t3tools/client-runtime/source-control-clients";
|
||||
import { pullRequestLinkProject, resolveLinkPullRequestInput } from "@t3tools/client-runtime/pull-request-link-input";
|
||||
import { composerPullRequestsFromLinks, filterComposerPullRequestMatches, withLinkedComposerPullRequestsFirst } from "@t3tools/shared/composerPullRequestMatches";
|
||||
import { threadPullRequestKeyOf } from "@t3tools/client-runtime/thread-pull-requests";
|
||||
import { formatComposerContextReference, sanitizeComposerContextLabel, toKindScopedComposerContextId } from "@t3tools/shared/composerContextReferences";
|
||||
import { visibleThreadPullRequests } from "@t3tools/shared/threadPullRequests";
|
||||
|
||||
@@ -87,6 +88,7 @@ export function rankComposerPullRequests(input: {
|
||||
repository,
|
||||
query,
|
||||
limit: COMPOSER_PULL_REQUEST_RESULT_LIMIT,
|
||||
keyOf: threadPullRequestKeyOf,
|
||||
});
|
||||
return filtered.map(toComposerPullRequest);
|
||||
}
|
||||
@@ -104,6 +106,7 @@ export function rankComposerPullRequests(input: {
|
||||
linked,
|
||||
query,
|
||||
limit: COMPOSER_PULL_REQUEST_RESULT_LIMIT,
|
||||
keyOf: threadPullRequestKeyOf,
|
||||
});
|
||||
return ranked.map(toComposerPullRequest);
|
||||
}
|
||||
@@ -413,6 +416,7 @@ export const MERGE_METHOD_LABELS: Record<PullRequestMergeMethod, string> = {
|
||||
merge: "Merge",
|
||||
squash: "Squash and merge",
|
||||
rebase: "Rebase and merge",
|
||||
"fast-forward": "Fast-forward",
|
||||
};
|
||||
|
||||
/** The runAction actions to offer: what the host can do and the viewer may, for this state. */
|
||||
|
||||
+14
-4
@@ -1,7 +1,9 @@
|
||||
import { EnvironmentId, type ContextMenuItem, type OrchestrationV2ShellSnapshot, type OrchestrationV2ThreadShell, type ServerConfig } from "@t3tools/contracts";
|
||||
import { EnvironmentId, type ContextMenuItem, type OrchestrationProjectShell, type OrchestrationV2ShellSnapshot, type OrchestrationV2ThreadShell, type ServerConfig } from "@t3tools/contracts";
|
||||
import { presentThreadShell, threadRuntimeCanArchive } from "@t3tools/client-runtime/state/models";
|
||||
import { canSnooze, effectiveSnoozed, pickSnoozePreset, resolveSnoozePresets, type SnoozePreset } from "@t3tools/client-runtime/state/thread-settled";
|
||||
import { pinOrderKeyBetween } from "@t3tools/client-runtime/state/thread-sort";
|
||||
import { isScratchProject } from "@t3tools/client-runtime/state/projects";
|
||||
import { managedCapabilityDenial } from "@t3tools/client-runtime/contract-labels";
|
||||
|
||||
import type { T3tuiConfig } from "../config.ts";
|
||||
import { buildThreadActionMenuItems, type ThreadActionMenuId } from "../../vendor/t3code/apps/web/src/components/threadActionMenu.logic.ts";
|
||||
@@ -10,8 +12,8 @@ export type { ThreadActionMenuId };
|
||||
|
||||
const LOCAL = EnvironmentId.make("local");
|
||||
|
||||
/** Web-only actions: project settings, guest links, turning into a project. */
|
||||
const UNSUPPORTED: ReadonlySet<ThreadActionMenuId> = new Set(["project-settings", "share-guest", "turn-into-project", "filter-by-project"]);
|
||||
/** Web-only actions: the project settings editor and the sidebar's project filter. */
|
||||
const UNSUPPORTED: ReadonlySet<ThreadActionMenuId> = new Set(["project-settings", "filter-by-project"]);
|
||||
|
||||
export interface ThreadMenu {
|
||||
readonly items: readonly ContextMenuItem<ThreadActionMenuId>[];
|
||||
@@ -19,7 +21,7 @@ export interface ThreadMenu {
|
||||
}
|
||||
|
||||
/** The web sidebar's thread menu (right-click), from the same builder, less what t3tui can't do. */
|
||||
export function threadMenu(input: { readonly thread: OrchestrationV2ThreadShell; readonly config: ServerConfig | null; readonly timestampFormat: T3tuiConfig["timestampFormat"]; readonly now?: Date }): ThreadMenu {
|
||||
export function threadMenu(input: { readonly thread: OrchestrationV2ThreadShell; readonly config: ServerConfig | null; readonly timestampFormat: T3tuiConfig["timestampFormat"]; readonly projects?: readonly OrchestrationProjectShell[]; readonly now?: Date }): ThreadMenu {
|
||||
const { config } = input;
|
||||
// The presented shell carries what the menu reads: pending requests, the runtime.
|
||||
const thread = presentThreadShell(config?.environment.environmentId ?? LOCAL, input.thread);
|
||||
@@ -38,8 +40,16 @@ export function threadMenu(input: { readonly thread: OrchestrationV2ThreadShell;
|
||||
canSnoozeNow: canSnooze(thread, { now: now.toISOString() }),
|
||||
isRegeneratingTitle: thread.titleRegeneration != null,
|
||||
isRunning: !threadRuntimeCanArchive(thread.runtime),
|
||||
hasCompletedRun: thread.latestRun?.completedAt != null,
|
||||
supports: { settlement: loaded, autoSettleOptOut: config?.environment.capabilities.threadAutoSettleOptOut === true, snooze: loaded, pinning: loaded, titleRegeneration: loaded },
|
||||
snoozePresets,
|
||||
// Guest links need the Labs beta on and Connect allowed, as the web's availability check reads them.
|
||||
canShareWithGuest: config?.settings.guestSharingEnabled === true && managedCapabilityDenial(config.managedPolicy, "connect") === undefined,
|
||||
// A scratch thread with its own folder can become a project, when the server allows it.
|
||||
canTurnIntoProject:
|
||||
thread.worktreePath != null &&
|
||||
config?.environment.capabilities.threadProjectFromScratch === true &&
|
||||
(input.projects ?? []).some((project) => project.id === thread.projectId && isScratchProject(project, config?.scratchWorkspaceRoot)),
|
||||
});
|
||||
return { items: items.filter((item) => !UNSUPPORTED.has(item.id)), snoozePresets };
|
||||
}
|
||||
|
||||
@@ -38,6 +38,8 @@ export interface Timeline {
|
||||
readonly rows: readonly MessagesTimelineRow[];
|
||||
readonly pending: PendingThreadRequests;
|
||||
readonly turns: readonly TurnTarget[];
|
||||
/** Checkpoint summaries by run; an assistant message's summary is the one whose `assistantMessageId` is its id. */
|
||||
readonly turnDiffSummaries: TurnDiffSummaries;
|
||||
readonly isWorking: boolean;
|
||||
/** When the current run started working, for "Working for 12s". */
|
||||
readonly workStartedAt: string | null;
|
||||
@@ -124,6 +126,7 @@ export function buildTimeline(
|
||||
return {
|
||||
rows: stable.result,
|
||||
pending,
|
||||
turnDiffSummaries,
|
||||
turns: turnTargets(projection, entries.entries, isWorking ? runtime?.activeRunId ?? null : null, options.historyComplete),
|
||||
isWorking,
|
||||
workStartedAt,
|
||||
|
||||
+19
-5
@@ -1,14 +1,28 @@
|
||||
import type { MessageId, OrchestrationV2ThreadProjection, RunId } from "@t3tools/contracts";
|
||||
import { checkpointFileTotals, deriveThreadCheckpointSummaries } from "@t3tools/client-runtime/state/thread-checkpoints";
|
||||
import type { ChatAttachment, MessageId, OrchestrationV2CheckpointFileTotals, OrchestrationV2ThreadProjection, RunId } from "@t3tools/contracts";
|
||||
import { deriveThreadCheckpointSummaries } from "@t3tools/client-runtime/state/thread-checkpoints";
|
||||
import { deriveRevertTurnCountByUserMessageId, findRevertCheckpoint, type TimelineEntriesProjection } from "../../vendor/t3code/apps/web/src/session-logic.ts";
|
||||
|
||||
export { findRevertCheckpoint };
|
||||
export type TurnCheckpoint = ReturnType<typeof deriveThreadCheckpointSummaries>[number];
|
||||
|
||||
/** Upstream inlined this into its diff views; the summary still carries `files`/`filesTotal`. */
|
||||
export function checkpointFileTotals(
|
||||
checkpoint: Pick<TurnCheckpoint, "files" | "filesTotal">,
|
||||
): OrchestrationV2CheckpointFileTotals {
|
||||
if (checkpoint.filesTotal !== undefined) return checkpoint.filesTotal;
|
||||
let additions = 0;
|
||||
let deletions = 0;
|
||||
for (const file of checkpoint.files) {
|
||||
additions += file.additions;
|
||||
deletions += file.deletions;
|
||||
}
|
||||
return { count: checkpoint.files.length, additions, deletions };
|
||||
}
|
||||
export interface TurnTarget {
|
||||
readonly messageId: MessageId;
|
||||
readonly runId: RunId;
|
||||
readonly text: string;
|
||||
readonly hasAttachments: boolean;
|
||||
readonly attachments: readonly ChatAttachment[];
|
||||
readonly checkpoint: TurnCheckpoint | undefined;
|
||||
readonly revertTurnCount: number | undefined;
|
||||
}
|
||||
@@ -19,7 +33,7 @@ export function turnTargets(projection: OrchestrationV2ThreadProjection, entries
|
||||
const revertCounts = deriveRevertTurnCountByUserMessageId({
|
||||
timelineEntries: entries,
|
||||
checkpoints,
|
||||
threadStartCheckpointReady: historyComplete && findRevertCheckpoint(projection.checkpoints, 0) !== undefined,
|
||||
threadStartCheckpointAvailable: historyComplete && findRevertCheckpoint(projection, 0) !== undefined,
|
||||
availableRevertTurnCounts: availableRevertTurnCounts(projection),
|
||||
unsettledRunId,
|
||||
});
|
||||
@@ -29,7 +43,7 @@ export function turnTargets(projection: OrchestrationV2ThreadProjection, entries
|
||||
const message = entry.message;
|
||||
const runId = entry.message.runId;
|
||||
seen.add(runId);
|
||||
return [{ messageId: message.id, runId, text: message.text, hasAttachments: (message.attachments?.length ?? 0) > 0,
|
||||
return [{ messageId: message.id, runId, text: message.text, attachments: message.attachments ?? [],
|
||||
checkpoint: checkpoints.findLast((checkpoint) => checkpoint.runId === message.runId), revertTurnCount: revertCounts.get(message.id) }];
|
||||
});
|
||||
}
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
import type { ProviderConsumeResetCreditInput, ProviderInstanceId, ServerConfig, ServerProviderResetCredits, UsageSummary } from "@t3tools/contracts";
|
||||
import { collectLimitAccounts, collectLimitNotices, collectProviderUsageLimits, formatDuration, limitsNotice, remainingPercent, type LimitPresentations } from "@t3tools/shared/usageLimits";
|
||||
import { collectLimitAccounts, collectProviderUsageLimits, remainingPercent, type LimitPresentations } from "@t3tools/shared/usageLimits";
|
||||
import { collectLimitNotices, formatDuration, limitsNotice } from "@t3tools/shared/usageLimitsCopy";
|
||||
import { formatTokens, formatUsd } from "@t3tools/shared/usageFormat";
|
||||
|
||||
/** At or above this much of a window used, the status line calls the limit near. */
|
||||
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// Upstream declares this in apps/web/src/markdown/wordsWasm.d.ts; the tgz ships the wasm as
|
||||
// an .mjs with no types, and t3tui's tsconfig has no `~/*` include root for that file.
|
||||
declare module "@pierre/words/wasm" {
|
||||
const bytes: Uint8Array<ArrayBuffer>;
|
||||
export default bytes;
|
||||
}
|
||||
+15
-1
@@ -8,7 +8,7 @@ import { isAbsolute, join, relative } from "node:path";
|
||||
import { parseFileUrlHref, resolvePathLinkTarget, splitFilePathPosition } from "@t3tools/shared/fileLinks";
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||
|
||||
import type { ChatAttachment, OrchestrationMessageContext } from "@t3tools/contracts";
|
||||
import type { AttachmentCreateUploadUrlInput, ChatAttachment, OrchestrationMessageContext } from "@t3tools/contracts";
|
||||
import type { ServerConfigState, ShellState, T3Session, ThreadState } from "../client/session.ts";
|
||||
import { createAlerts, type Alert } from "../model/alerts.ts";
|
||||
import { pastedImagePath } from "../model/attachments.ts";
|
||||
@@ -817,6 +817,20 @@ export function App(props: { readonly session: T3Session; readonly config: T3tui
|
||||
drafts.current.set(id, next);
|
||||
if (id === activeComposerKey.current && composerRef.current) { chips.replaceText(composerRef.current, next); setMode("input"); }
|
||||
},
|
||||
restoreAttachments: (id, attachments) => {
|
||||
// Re-upload each one from its signed URL, as the web's rewind does, then put them back on that composer.
|
||||
void (async () => {
|
||||
const restored: ChatAttachment[] = [];
|
||||
for (const attachment of attachments) {
|
||||
if (attachment.type !== "image" && attachment.type !== "file") continue;
|
||||
const bytes = await session.attachmentImage(attachment);
|
||||
restored.push(await session.uploadAttachment({ type: attachment.type, name: attachment.name, mimeType: attachment.mimeType, sizeBytes: bytes.length } as AttachmentCreateUploadUrlInput, bytes));
|
||||
}
|
||||
attach.restore(id, restored);
|
||||
say(restored.length > 0 ? `Restored ${restored.length} attachment${restored.length === 1 ? "" : "s"}` : "No attachments could be restored.", restored.length === 0);
|
||||
})().catch((error) => say(`Could not restore attachments: ${messageOf(error)}`, true));
|
||||
},
|
||||
openForkedThread: (id) => openThread(id),
|
||||
});
|
||||
|
||||
// Pull requests: the P view, link/unlink/watch, a draft checked out from one.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SECRET_REQUEST_DEFAULT_PLACEHOLDER, secretRequestPrivacyNote, type SecretRequestItem } from "@t3tools/client-runtime/secret-request";
|
||||
import { secretRequestInputs, secretRequestPrivacyNote, type SecretRequestItem } from "@t3tools/client-runtime/secret-request";
|
||||
|
||||
import { Button, Buttons } from "./Button.tsx";
|
||||
import { colors } from "./theme.ts";
|
||||
@@ -11,13 +11,14 @@ export function SecretPanel(props: { readonly request: SecretRequestItem; readon
|
||||
const { actions } = props;
|
||||
const { request, value } = props;
|
||||
const focused = value !== null;
|
||||
const placeholder = secretRequestInputs(request)[0]?.placeholder ?? "Paste the secret";
|
||||
return (
|
||||
<box border borderStyle="rounded" borderColor={focused ? colors.borderFocused : colors.warn} flexDirection="column" flexShrink={0} marginLeft={1} marginRight={1} paddingLeft={1} paddingRight={1}>
|
||||
<text fg={colors.warn}>
|
||||
<strong>{`🔒 ${request.label}`}</strong>
|
||||
</text>
|
||||
{request.reason.trim() ? <text fg={colors.muted}>{request.reason}</text> : null}
|
||||
{focused ? <text fg={value ? colors.text : colors.faint} selectable={false}>{value ? "•".repeat(Math.min(value.length, 64)) : (request.placeholder ?? SECRET_REQUEST_DEFAULT_PLACEHOLDER)}</text> : null}
|
||||
{focused ? <text fg={value ? colors.text : colors.faint} selectable={false}>{value ? "•".repeat(Math.min(value.length, 64)) : placeholder}</text> : null}
|
||||
{props.error ? <text fg={colors.bad}>{props.error}</text> : null}
|
||||
<text fg={colors.faint}>{props.busy ? "Saving…" : secretRequestPrivacyNote(request)}</text>
|
||||
<Buttons>
|
||||
|
||||
@@ -8,7 +8,8 @@ import { findThreadSearchOccurrences } from "@t3tools/shared/threadSearch";
|
||||
import type { OrchestrationV2SearchThreadResult } from "@t3tools/contracts";
|
||||
import { FindText } from "./FindText.tsx";
|
||||
import { isLeftClick, isRightClick, useHover } from "./Button.tsx";
|
||||
import { checkpointFileTotals, type ThreadCheckpointSummary } from "@t3tools/client-runtime/state/thread-checkpoints";
|
||||
import type { ThreadCheckpointSummary } from "@t3tools/client-runtime/state/thread-checkpoints";
|
||||
import { checkpointFileTotals } from "../model/turns.ts";
|
||||
import { formatDuration } from "@t3tools/shared/orchestrationTiming";
|
||||
import type { T3tuiConfig } from "../config.ts";
|
||||
|
||||
@@ -79,6 +80,7 @@ export function ThreadView(props: {
|
||||
<Row
|
||||
key={row.id}
|
||||
row={row}
|
||||
turnDiffSummaries={timeline?.turnDiffSummaries ?? []}
|
||||
selected={row.kind === "message" && row.message.id === props.selectedMessageId}
|
||||
session={props.session}
|
||||
streamCommandOutput={props.streamCommandOutput}
|
||||
@@ -150,6 +152,7 @@ function Divider({ label, color, onPress }: { readonly label: string; readonly c
|
||||
*/
|
||||
const Row = memo(function Row(props: {
|
||||
readonly row: MessagesTimelineRow;
|
||||
readonly turnDiffSummaries: readonly ThreadCheckpointSummary[];
|
||||
readonly selected: boolean;
|
||||
readonly session: T3Session;
|
||||
readonly streamCommandOutput: boolean;
|
||||
@@ -171,7 +174,7 @@ const Row = memo(function Row(props: {
|
||||
const segments = findTextSegments(message.text, message.role === "user");
|
||||
if (segments.some((segment) => findThreadSearchOccurrences(segment, props.findQuery).length > 0)) return <FindText segments={segments} query={props.findQuery} activeOccurrence={props.activeOccurrence} scrollRef={props.scrollRef} />;
|
||||
}
|
||||
const summary = row.assistantTurnDiffSummary;
|
||||
const summary = props.turnDiffSummaries.findLast((candidate) => candidate.assistantMessageId === message.id);
|
||||
const menu = { kind: "message", messageId: message.id, role: message.role, text: message.text, ...(summary && summary.files.length > 0 ? { checkpointTurnCount: summary.checkpointTurnCount } : {}) } as const;
|
||||
if (message.role === "user") return <UserMessage session={props.session} text={message.text} attachments={message.attachments ?? []} messageId={message.id} selected={props.selected} onSelect={() => mouse.selectTurn(message.id)} onMenu={() => mouse.menu(menu)} />;
|
||||
if (message.role === "system") return <text marginTop={1} fg={colors.muted} onMouseDown={(event: MouseEvent) => isRightClick(event) && mouse.menu(menu)}>{message.text}</text>;
|
||||
|
||||
@@ -16,6 +16,7 @@ export interface TerminalTarget {
|
||||
readonly cwd: string;
|
||||
readonly worktreePath: string | null;
|
||||
readonly label: string;
|
||||
readonly hasRunningSubprocess: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -60,7 +60,6 @@ export function useComposerMenu(deps: {
|
||||
if (!trigger || triggerKey === dismissed) return null;
|
||||
switch (trigger.kind) {
|
||||
case "slash-command":
|
||||
case "slash-model":
|
||||
return { items: slashItems({ provider, cwd, text: state.text, trigger }), empty: "No matching command.", loading: false };
|
||||
case "skill":
|
||||
return { items: skillItems(provider, cwd, trigger.query), empty: "No skills found. Try / to browse provider commands.", loading: false };
|
||||
|
||||
@@ -36,7 +36,7 @@ export function useSecretRequest(input: {
|
||||
setValue(value + decoder.decode(event.bytes).replace(/[\r\n]+/g, ""));
|
||||
});
|
||||
|
||||
const answer = (reply: { readonly type: "save"; readonly secret: string } | { readonly type: "decline" }) => {
|
||||
const answer = (reply: { readonly type: "save"; readonly values: Readonly<Record<string, string>> } | { readonly type: "decline" }) => {
|
||||
const answerInput = request ? secretRequestAnswerInput(request, reply) : null;
|
||||
if (!answerInput || busy) return;
|
||||
setBusy(true);
|
||||
@@ -59,7 +59,7 @@ export function useSecretRequest(input: {
|
||||
const actions = {
|
||||
focus: () => setValue(""),
|
||||
cancel: () => setValue(null),
|
||||
save: () => value !== null && answer({ type: "save", secret: value }),
|
||||
save: () => value !== null && answer({ type: "save", values: { "": value } }),
|
||||
decline: () => answer({ type: "decline" }),
|
||||
};
|
||||
|
||||
|
||||
+11
-1
@@ -115,6 +115,16 @@ export function useThreadMenu(deps: {
|
||||
}
|
||||
case "copy-thread-id":
|
||||
return copy(id, `Thread ID copied: ${id}`);
|
||||
case "share-guest":
|
||||
return run("Guest link created", async () => {
|
||||
const result = await session.guestShareCreate(id);
|
||||
copy(result.url, `Guest link copied: ${result.url}`);
|
||||
});
|
||||
case "turn-into-project":
|
||||
return run("Project created", async () => {
|
||||
await session.createProjectFromThread(id);
|
||||
say(`Project created from ${title}`);
|
||||
});
|
||||
case "archive":
|
||||
return run("Archived", async () => {
|
||||
await session.archiveThread(id);
|
||||
@@ -138,7 +148,7 @@ export function useThreadMenu(deps: {
|
||||
};
|
||||
|
||||
const open = (target: OrchestrationV2ThreadShell) => {
|
||||
const menu = threadMenu({ thread: target, config, timestampFormat: deps.timestampFormat });
|
||||
const menu = threadMenu({ thread: target, config, timestampFormat: deps.timestampFormat, projects: deps.snapshot?.projects ?? [] });
|
||||
const toPicker = (title: string, items: readonly ContextMenuItem<ThreadActionMenuId>[]): Picker => {
|
||||
const groups: { label: string; items: PickerItem[] }[] = [{ label: title, items: [] }];
|
||||
for (const item of items) {
|
||||
|
||||
+24
-4
@@ -1,5 +1,5 @@
|
||||
import type { ScrollBoxRenderable } from "@opentui/core";
|
||||
import type { OrchestrationV2ThreadProjection, ServerConfig, ThreadId } from "@t3tools/contracts";
|
||||
import type { ChatAttachment, OrchestrationV2ThreadProjection, ServerConfig, ThreadId } from "@t3tools/contracts";
|
||||
import { useEffect, useRef, useState, type Dispatch, type RefObject, type SetStateAction } from "react";
|
||||
import type { T3Session } from "../client/session.ts";
|
||||
import type { Binding } from "../model/keymap.ts";
|
||||
@@ -27,6 +27,10 @@ export function useTurns(input: {
|
||||
readonly say: (text: string, bad?: boolean) => void;
|
||||
readonly showConversation: () => void;
|
||||
readonly restorePrompt: (threadId: ThreadId, text: string) => void;
|
||||
/** Puts a rewound message's attachments back on that thread's composer. */
|
||||
readonly restoreAttachments: (threadId: ThreadId, attachments: readonly ChatAttachment[]) => void;
|
||||
/** Opens a thread forked from one of this thread's turns. */
|
||||
readonly openForkedThread: (threadId: ThreadId) => void;
|
||||
}) {
|
||||
const [cursor, setCursor] = useState<{ threadId: ThreadId; messageId: string } | null>(null);
|
||||
const [reverting, setReverting] = useState(false);
|
||||
@@ -78,23 +82,37 @@ export function useTurns(input: {
|
||||
if (!provider || provider.supportsConversationRollback === false) return input.say("This provider does not support reverting conversation history. Start a new thread instead.", true);
|
||||
if (input.timeline?.isWorking) return input.say("Interrupt the current turn before reverting checkpoints.", true);
|
||||
const turnCount = target.revertTurnCount;
|
||||
const checkpoint = turnCount === undefined ? undefined : findRevertCheckpoint(projection.checkpoints, turnCount);
|
||||
const checkpoint = turnCount === undefined ? undefined : findRevertCheckpoint(projection, turnCount);
|
||||
if (turnCount === undefined || !checkpoint) return input.say("This message has no available checkpoint to rewind to.", true);
|
||||
if (target.hasAttachments) return input.say("Use the T3 Code app to rewind a message with attachments.", true);
|
||||
input.confirm({
|
||||
title: "Edit from here?",
|
||||
detail: "Rewind chat to before this message. Your prompt returns to the composer. “Revert files too” also undoes your own edits.",
|
||||
detail: "Rewind chat to before this message. Your prompt returns to the composer, with its attachments. “Revert files too” also undoes your own edits.",
|
||||
confirmLabel: restoreFiles ? "Revert files too" : "Revert and keep changes",
|
||||
run: () => {
|
||||
setReverting(true);
|
||||
input.session.rewind(projection, checkpoint, turnCount, restoreFiles).then(() => {
|
||||
input.restorePrompt(projection.thread.id, recallableComposerPrompt(target.text));
|
||||
if (target.attachments.length > 0) input.restoreAttachments(projection.thread.id, target.attachments);
|
||||
if (currentThread.current === projection.thread.id) { setCursor(null); input.setDiff(null); }
|
||||
input.say("Thread rewound");
|
||||
}, (error) => input.say(`Could not rewind: ${messageOf(error)}`, true)).finally(() => setReverting(false));
|
||||
},
|
||||
});
|
||||
};
|
||||
/** Forks the selected turn's run into a new thread and opens it, as the web's "fork from here" does. */
|
||||
const fork = (target = selected) => {
|
||||
const projection = input.projection;
|
||||
if (!target || !projection) return input.say("Select a turn with [ or ] first.");
|
||||
if (input.timeline?.isWorking) return input.say("Interrupt the current turn before forking from a run.", true);
|
||||
input.say("Forking this turn…");
|
||||
input.session.forkThread({ sourceThreadId: projection.thread.id, runId: target.runId, title: `${projection.thread.title || "Thread"} fork` }).then(
|
||||
(forkedId) => {
|
||||
input.say("Forked");
|
||||
input.openForkedThread(forkedId);
|
||||
},
|
||||
(error) => input.say(`Could not fork: ${messageOf(error)}`, true),
|
||||
);
|
||||
};
|
||||
const turnKeys = input.enabled && turns.length > 0;
|
||||
/**
|
||||
* Turn keys in navigation. A diff's own keys come first: there, [ and ] step through its
|
||||
@@ -121,6 +139,7 @@ export function useTurns(input: {
|
||||
...(turnKeys && selected
|
||||
? [
|
||||
{ keys: [], run: () => revert(true), command: { id: "turn-revert-files", title: "Revert files too", keywords: ["rollback", "rewind", "turn"] } },
|
||||
{ keys: [], run: () => fork(), command: { id: "turn-fork", title: "Fork from this turn", keywords: ["fork", "branch", "copy", "new thread"] } },
|
||||
...(input.diff ? [] : [{ keys: ["esc"], run: () => setCursor(null), command: { id: "turn-clear", title: "Clear turn selection" } }]),
|
||||
]
|
||||
: []),
|
||||
@@ -137,6 +156,7 @@ export function useTurns(input: {
|
||||
{ id: "turn-revert", title: "Revert to before this prompt…", hint: "R", run: run(() => revert(false, turn)) },
|
||||
{ id: "turn-revert-files", title: "Revert files too…", run: run(() => revert(true, turn)) },
|
||||
] : []),
|
||||
{ id: "turn-fork", title: "Fork from this turn…", run: run(() => fork(turn)) },
|
||||
];
|
||||
};
|
||||
return { selectedMessageId, bindings, diffContext, select, menuFor, openTurnDiff };
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { CliRenderer, KeyEvent } from "@opentui/core";
|
||||
import type { OrchestrationProjectShell, OrchestrationV2ThreadShell, ServerConfig, ServerLifecycleStreamEvent, TerminalSummary, ThreadId, WorktreeSetupSnapshot } from "@t3tools/contracts";
|
||||
import { resolvePathLinkTarget } from "@t3tools/shared/fileLinks";
|
||||
import { deriveLocalBranchNameFromRemoteRef, sanitizeNewRefName } from "@t3tools/shared/git";
|
||||
import { resolveTerminalSessionLabel } from "@t3tools/shared/terminalLabels";
|
||||
import { resolveTerminalSessionLabel } from "@t3tools/shared/terminalLabelsCopy";
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
|
||||
import type { FeedState, T3Session } from "../client/session.ts";
|
||||
@@ -78,17 +78,18 @@ export function useWorkspace(input: {
|
||||
const threadTerminals = (terminals?.items ?? []).filter((terminal) => terminal.threadId === thread?.id);
|
||||
const cwd = thread?.worktreePath ?? project?.workspaceRoot;
|
||||
const label = (terminal: TerminalSummary) => resolveTerminalSessionLabel(terminal.terminalId, terminal);
|
||||
const targetOf = (threadId: ThreadId, terminal: Pick<TerminalSummary, "terminalId" | "cwd" | "worktreePath" | "label">): TerminalTarget => ({
|
||||
const targetOf = (threadId: ThreadId, terminal: Pick<TerminalSummary, "terminalId" | "cwd" | "worktreePath" | "label" | "hasRunningSubprocess">): TerminalTarget => ({
|
||||
threadId,
|
||||
terminalId: terminal.terminalId,
|
||||
cwd: terminal.cwd,
|
||||
worktreePath: terminal.worktreePath,
|
||||
label: resolveTerminalSessionLabel(terminal.terminalId, terminal),
|
||||
hasRunningSubprocess: terminal.hasRunningSubprocess,
|
||||
});
|
||||
/** The drawer's tabs: the thread's terminals that haven't exited. */
|
||||
const tabs = thread ? threadTerminals.filter((terminal) => terminal.status !== "exited").map((terminal) => targetOf(thread.id, terminal)) : [];
|
||||
/** In the drawer, or with the whole screen. */
|
||||
const enterTerminal = (terminal: Pick<TerminalSummary, "terminalId" | "cwd" | "worktreePath" | "label">, fullScreen = false) => {
|
||||
const enterTerminal = (terminal: Pick<TerminalSummary, "terminalId" | "cwd" | "worktreePath" | "label" | "hasRunningSubprocess">, fullScreen = false) => {
|
||||
if (!thread) return;
|
||||
const target = targetOf(thread.id, terminal);
|
||||
if (!fullScreen) return input.openPane(target);
|
||||
@@ -101,7 +102,7 @@ export function useWorkspace(input: {
|
||||
const request = newTerminalInput(thread.id, project.workspaceRoot, thread.worktreePath, threadTerminals, terminals?.status === "live");
|
||||
run("Terminal opened", async () => {
|
||||
await session.openTerminal(request);
|
||||
enterTerminal({ terminalId: request.terminalId, cwd: request.cwd, worktreePath: thread.worktreePath, label: "" }, fullScreen);
|
||||
enterTerminal({ terminalId: request.terminalId, cwd: request.cwd, worktreePath: thread.worktreePath, label: "", hasRunningSubprocess: false }, fullScreen);
|
||||
});
|
||||
};
|
||||
/** The old way in: the terminal takes the screen until ctrl+j. */
|
||||
@@ -115,7 +116,7 @@ export function useWorkspace(input: {
|
||||
});
|
||||
};
|
||||
/** Closing ends the shell and deletes its history, so it asks first. */
|
||||
const closeTerminal = (terminal: Pick<TerminalSummary, "terminalId" | "label">) => {
|
||||
const closeTerminal = (terminal: Pick<TerminalSummary, "terminalId" | "label" | "hasRunningSubprocess">) => {
|
||||
if (!thread) return;
|
||||
confirm({
|
||||
title: `Close ${resolveTerminalSessionLabel(terminal.terminalId, terminal)}?`,
|
||||
|
||||
@@ -180,6 +180,51 @@ describe("a finished turn", () => {
|
||||
// The date half is locale- and timezone-shaped; the model and duration are not.
|
||||
expect(app.frame()).toMatch(/gpt-5\.4 · 3m 12s · /);
|
||||
});
|
||||
|
||||
test("forking a turn dispatches thread.fork and opens the new thread", async () => {
|
||||
const app = await open({ session: fakeSession({ projection: withCompletedTurn(), results: { forkThread: "thread-fork-1" } }) });
|
||||
await app.press("]");
|
||||
await app.press("k", { ctrl: true });
|
||||
await app.type("fork from this turn");
|
||||
await app.press("return");
|
||||
await app.settle(50);
|
||||
expect(app.calls("forkThread").map((call) => call.args[0])).toEqual([{ sourceThreadId: v2ThreadId, runId: "run-1", title: "Thread fork" }]);
|
||||
});
|
||||
|
||||
test("rewinding a message with attachments puts the prompt and the attachments back", async () => {
|
||||
const attachment = { type: "image", id: "att-1", name: "shot.png", mimeType: "image/png", sizeBytes: 3 };
|
||||
const projection = structuredClone(withCompletedTurn()) as unknown as {
|
||||
messages: { attachments: unknown }[];
|
||||
turnItems: { type: string; attachments: unknown }[];
|
||||
visibleTurnItems: { item: { type?: string; attachments: unknown } }[];
|
||||
thread: Record<string, unknown>;
|
||||
checkpoints: Record<string, unknown>[];
|
||||
providerThreads: unknown[];
|
||||
};
|
||||
projection.messages[0]!.attachments = [attachment];
|
||||
projection.turnItems.find((item) => item.type === "user_message")!.attachments = [attachment];
|
||||
for (const visible of projection.visibleTurnItems) if (visible.item.type === "user_message") visible.item.attachments = [attachment];
|
||||
// A thread-start checkpoint and a provider thread make turn 0 rewindable.
|
||||
projection.thread.activeProviderThreadId = "pt-1";
|
||||
projection.providerThreads = [{ id: "pt-1", providerSessionId: "ps-1", providerInstanceId: "codex" }];
|
||||
projection.checkpoints.unshift({ id: "checkpoint-0", threadId: projection.thread.id, scopeId: "scope-1", runId: null, nodeId: null, parentCheckpointId: null, ordinalWithinScope: 0, appRunOrdinal: null, ref: "refs/t3/checkpoint-0", status: "ready", files: [], capturedAt: projection.checkpoints[0]!.capturedAt });
|
||||
const serverConfig = { providers: [{ instanceId: "codex", driver: "codex", enabled: true, auth: { status: "authenticated" }, models: [] }], settings: {}, environment: { capabilities: {} } };
|
||||
const app = await open({
|
||||
session: fakeSession({
|
||||
projection: projection as unknown as OrchestrationV2ThreadProjection,
|
||||
serverConfig,
|
||||
results: { attachmentImage: new Uint8Array([1, 2, 3]), uploadAttachment: { type: "image", id: "att-new", name: "shot.png", mimeType: "image/png", sizeBytes: 3 } },
|
||||
}),
|
||||
});
|
||||
await app.press("]");
|
||||
await app.press("R");
|
||||
await app.settle(30);
|
||||
await app.press("return");
|
||||
await app.settle(80);
|
||||
expect(app.calls("rewind")).toHaveLength(1);
|
||||
expect(app.calls("uploadAttachment").map((call) => call.args[0])).toEqual([{ type: "image", name: "shot.png", mimeType: "image/png", sizeBytes: 3 }]);
|
||||
expect(app.hints()).toBe("Restored 1 attachment");
|
||||
});
|
||||
});
|
||||
|
||||
describe("live status", () => {
|
||||
|
||||
@@ -247,7 +247,7 @@ describe("acting on a file", () => {
|
||||
await prefix(app, "k");
|
||||
await app.press("i");
|
||||
await app.press("return");
|
||||
expect(app.calls("sendMessage")[0]?.args[1]).toBe("[src](src) [debug.log](debug.log)");
|
||||
expect(app.calls("sendMessage")[0]?.args[1]).toBe("[src](./src) [debug.log](debug.log)");
|
||||
});
|
||||
|
||||
test("y copies the path", async () => {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { tmpdir } from "node:os";
|
||||
import { join } from "node:path";
|
||||
import { testRender } from "@opentui/react/test-utils";
|
||||
import { createMockKeys, type KeyInput } from "@opentui/core/testing";
|
||||
import type { OrchestrationV2ShellSnapshot, OrchestrationV2ThreadProjection, ThreadId } from "@t3tools/contracts";
|
||||
import { RunId, type OrchestrationV2ShellSnapshot, type OrchestrationV2ThreadProjection, type ThreadId } from "@t3tools/contracts";
|
||||
|
||||
import type { ConnectionStatus, T3Session } from "../../src/client/session.ts";
|
||||
import { DEFAULT_CONFIG, type T3tuiConfig } from "../../src/config.ts";
|
||||
@@ -52,7 +52,11 @@ export function fakeSession(
|
||||
) {
|
||||
const calls: Call[] = [];
|
||||
const threadListeners = new Set<(value: unknown) => void>();
|
||||
const snapshot = state.snapshot ?? v2ShellSnapshot;
|
||||
// The default thread has a finished run, as upstream's menu tests assume: "Mark unread"
|
||||
// only shows once the latest run completed.
|
||||
const snapshot =
|
||||
state.snapshot ??
|
||||
({ ...v2ShellSnapshot, threads: v2ShellSnapshot.threads.map((thread) => ({ ...thread, latestRunId: RunId.make("run-v2") })) } as OrchestrationV2ShellSnapshot);
|
||||
const projection = state.projection ?? v2Projection;
|
||||
const live = <T,>(value: T) => (listener: (value: T) => void) => {
|
||||
listener(value);
|
||||
|
||||
@@ -150,7 +150,7 @@ describe("threadDetails", () => {
|
||||
test("shows the run state, the context window left and the provider's limits", () => {
|
||||
const projection = { ...v2Projection, providerTurns: [{ tokenUsage: { usedTokens: 62_000, maxTokens: 100_000, updatedAt: "2026-06-20T00:00:00.000Z" } }] } as unknown as OrchestrationV2ThreadProjection;
|
||||
const serverConfig = {
|
||||
providers: [{ instanceId: "codex", driver: "codex", enabled: true, usageLimits: { checkedAt: "2026-06-20T00:00:00.000Z", windows: [{ id: "5h", kind: "session", label: "5h", usedPercent: 39 }, { id: "week", kind: "weekly", label: "week", usedPercent: 95 }] } }],
|
||||
providers: [{ instanceId: "codex", driver: "codex", enabled: true, auth: { status: "authenticated" }, usageLimits: { checkedAt: "2026-06-20T00:00:00.000Z", windows: [{ id: "5h", kind: "session", label: "5h", usedPercent: 39 }, { id: "week", kind: "weekly", label: "week", usedPercent: 95 }] } }],
|
||||
};
|
||||
const details = detailsOf(thread({ status: "running", activeRunId: "run-1", latestRunId: "run-1" }), null, null, { projection, serverConfig } as never);
|
||||
expect(details.context).toEqual({ left: 38, used: "62k" });
|
||||
|
||||
+17
-1
@@ -1,5 +1,5 @@
|
||||
import { describe, expect, test } from "bun:test";
|
||||
import { OrchestrationV2Command, ThreadId, type OrchestrationV2ShellSnapshot, type OrchestrationV2ThreadShell, type ServerConfig } from "@t3tools/contracts";
|
||||
import { OrchestrationV2Command, RunId, ThreadId, type OrchestrationProjectShell, type OrchestrationV2ShellSnapshot, type OrchestrationV2ThreadShell, type ServerConfig } from "@t3tools/contracts";
|
||||
import * as DateTime from "effect/DateTime";
|
||||
import * as Schema from "effect/Schema";
|
||||
|
||||
@@ -99,6 +99,7 @@ describe("thread menu", () => {
|
||||
await session.reorderThread(id, "pinned", "m");
|
||||
await session.reorderThread(id, "active", "t");
|
||||
await session.deleteThread(id, false);
|
||||
await session.forkThread({ sourceThreadId: id, runId: RunId.make("run-1"), title: "Thread fork" });
|
||||
expect(sent.filter((command) => !Schema.is(OrchestrationV2Command)(command))).toEqual([]);
|
||||
expect(sent.map((command) => (command as { type: string }).type)).toEqual([
|
||||
"thread.settle",
|
||||
@@ -116,6 +117,21 @@ describe("thread menu", () => {
|
||||
"thread.pin.reorder",
|
||||
"thread.active.reorder",
|
||||
"thread.delete",
|
||||
"thread.fork",
|
||||
]);
|
||||
});
|
||||
|
||||
test("guest sharing shows only when the server's Labs beta is on", () => {
|
||||
const guestConfig = { ...config, settings: { guestSharingEnabled: true } } as unknown as ServerConfig;
|
||||
expect(ids(threadMenu({ thread, config: guestConfig, timestampFormat: "24-hour" }).items)).toContain("share-guest");
|
||||
expect(ids(threadMenu({ thread, config, timestampFormat: "24-hour" }).items)).not.toContain("share-guest");
|
||||
});
|
||||
|
||||
test("a scratch thread with its own folder can turn into a project when the server allows it", () => {
|
||||
const scratch = { ...thread, worktreePath: "/tmp/scratch" } as unknown as OrchestrationV2ThreadShell;
|
||||
const capConfig = { ...config, scratchWorkspaceRoot: "/tmp/scratch", environment: { environmentId: "env-1", capabilities: { threadProjectFromScratch: true } } } as unknown as ServerConfig;
|
||||
const projects = [{ id: "p1", workspaceRoot: "/tmp/scratch" }] as unknown as OrchestrationProjectShell[];
|
||||
expect(ids(threadMenu({ thread: scratch, config: capConfig, timestampFormat: "24-hour", projects }).items)).toContain("turn-into-project");
|
||||
expect(ids(threadMenu({ thread, config, timestampFormat: "24-hour", projects }).items)).not.toContain("turn-into-project");
|
||||
});
|
||||
});
|
||||
+1
-1
@@ -33,7 +33,7 @@ describe("turn cursor and checkpoint targets", () => {
|
||||
test("rewinds before the prompt, using visible predecessors across ordinal gaps", () => {
|
||||
const turns = turnTargets(projection(), entries(), null, true);
|
||||
expect(turns.map((turn) => turn.revertTurnCount)).toEqual([0, 1, 2]);
|
||||
expect(findRevertCheckpoint(projection().checkpoints, turns[2]!.revertTurnCount!)?.id).toBe(CheckpointId.make("cp-2"));
|
||||
expect(findRevertCheckpoint(projection(), turns[2]!.revertTurnCount!)?.id).toBe(CheckpointId.make("cp-2"));
|
||||
});
|
||||
test("does not mistake the first message in paged history for the thread start", () => {
|
||||
const turns = turnTargets(projection(), entries().slice(1), null, false);
|
||||
|
||||
@@ -39,8 +39,8 @@ describe("workspace logic", () => {
|
||||
});
|
||||
|
||||
test("branch selection reuses worktrees and returns the default branch to the project", () => {
|
||||
expect(resolveBranchSelectionTarget({ activeProjectCwd: "/repo", activeWorktreePath: "/old", refName: { isDefault: false, worktreePath: "/existing" } })).toEqual({ checkoutCwd: "/existing", nextWorktreePath: "/existing", reuseExistingWorktree: true });
|
||||
expect(resolveBranchSelectionTarget({ activeProjectCwd: "/repo", activeWorktreePath: "/old", refName: { isDefault: true, worktreePath: null } })).toEqual({ checkoutCwd: "/repo", nextWorktreePath: null, reuseExistingWorktree: false });
|
||||
expect(resolveBranchSelectionTarget({ activeProjectCwd: "/repo", activeWorktreePath: "/old", refName: { isDefault: false, worktreePath: "/existing" } })).toEqual({ checkoutCwd: "/existing", nextWorktreePath: "/existing", reuseExistingWorktree: true, staysInActiveCheckout: false });
|
||||
expect(resolveBranchSelectionTarget({ activeProjectCwd: "/repo", activeWorktreePath: "/old", refName: { isDefault: true, worktreePath: null } })).toEqual({ checkoutCwd: "/repo", nextWorktreePath: null, reuseExistingWorktree: false, staysInActiveCheckout: false });
|
||||
});
|
||||
|
||||
test("setup progress names the web's stage, percent, details and failures", () => {
|
||||
|
||||
+6
-1
@@ -13,7 +13,12 @@
|
||||
"skipLibCheck": true,
|
||||
"types": [
|
||||
"bun"
|
||||
]
|
||||
],
|
||||
"preserveSymlinks": true,
|
||||
"paths": {
|
||||
"~/*": ["./vendor/t3code/apps/web/src/*"],
|
||||
"@pierre/words/core": ["./node_modules/@pierre/words/dist/core.d.ts"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src",
|
||||
|
||||
Vendored
+1
-1
Submodule vendor/t3code updated: 97e35bcf23...42c9107983.
Reference in new issue
Block a user