import { describeToolForVerbose } from "../agents/tool-description-summary.js"; import { normalizeToolName } from "../agents/tool-policy-shared.js"; import type { EffectiveToolInventoryResult } from "../agents/tools-effective-inventory.types.js";
export {
buildCommandsMessage,
buildCommandsMessagePaginated,
buildHelpMessage,
type CommandsMessageOptions,
type CommandsMessageResult,
} from "./command-status-builders.js";
export {
buildStatusMessage,
formatContextUsageShort,
formatTokenCount,
type StatusArgs,
} from "../status/status-message.js";
if (groups.length === 0) { const lines = [ "No tools are available for this agent right now.", "",
`Profile: ${result.profile}`,
]; return lines.join("\n");
}
const verbose = options?.verbose === true; const lines = verbose
? ["Available tools", "", `Profile: ${result.profile}`, "What this agent can use right now:"]
: ["Available tools", "", `Profile: ${result.profile}`];
for (const group of groups) {
lines.push("", group.label); if (verbose) { for (const tool of group.tools) {
lines.push(` ${tool.name} - ${formatVerboseToolDescription(tool)}`);
} continue;
}
lines.push(` ${group.tools.map((tool) => formatCompactToolEntry(tool)).join(", ")}`);
}
if (verbose) {
lines.push("", "Tool availability depends on this agent's configuration.");
} else {
lines.push("", "Use /tools verbose for descriptions.");
} return lines.join("\n");
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.