适配 DSH 0.1.2-alpha.1

This commit is contained in:
yexi committed 2026-08-30 14:54:48 +08:00
1 parent 62d0bcd274
commit 057e473a6c
45 files changed
+653 -468

No files matched your search

+2 -2
View File
@@ -152,7 +152,7 @@ try {
const perMode = {
standard: ['Use the read tool', 'Use the web_search tool'],
code: ['`run_code` is the only tool you can call directly', '## Writing code for run_code'],
ptc: ['`run_code` is the only tool you can call directly', '## Writing code for run_code'],
cordis: ['# Dynamic Cordis Plugins', 'NEVER edit or delete the shipped preset install'],
}
for (const [preset, needles] of Object.entries(perMode)) {
@@ -167,7 +167,7 @@ try {
console.log(` ${preset}: ${request.tools.length} tools on the wire [${request.tools.slice(0, 6).join(', ')}…]`)
}
// Code mode: run_code transport assertion happens inside the loop above.
// PTC mode: run_code transport assertion happens inside the loop above.
// A fresh minimal session (created while ON) must also be fused, with the
// same tools this machine's minimal preset had while OFF.