refactor: rename Tool.alpha to Tool.experimental

This commit is contained in:
Siddharth Kumar Sah
2026-03-26 01:10:51 +08:00
parent ab370a74fe
commit 585d66f0c9
178 changed files with 5637 additions and 4082 deletions
+13
View File
@@ -0,0 +1,13 @@
const fs = require("node:fs");
const input = JSON.parse(fs.readFileSync("/dev/stdin", "utf8"));
const cmd = input.tool_input?.command || "";
const devPattern = /\b(pnpm|npm|yarn|bun)\s+(run\s+)?dev\b/;
if (devPattern.test(cmd) && !/tmux/.test(cmd) && !/&\s*$/.test(cmd)) {
console.log(
"TIP: Dev servers block the session. Consider running in tmux instead:\n" +
` tmux new-session -d -s stirling-dev '${cmd}'\n` +
"Or append & to background the process.",
);
}