release 1.0.0: cost control, 41 tools, 29 skills, custom commands, auto-load

This commit is contained in:
Muhammad Zakir Ramadhan
2026-09-07 19:59:58 +07:00
parent a22d8e13b1
commit ffa9a02c26
97 changed files with 4791 additions and 788 deletions
+3 -2
View File
@@ -104,6 +104,7 @@ test('omitting every section leaves no dangling markers', () => {
test('the prompt stays a reasonable size with everything on', () => {
const prompt = systemPrompt({ cwd: '/repo', availableTools: ALL, canAsk: true });
// Sent on every request, so a runaway prompt is a direct cost.
expect(prompt.length).toBeLessThan(5000);
// Sent on every request, so a runaway prompt is a direct cost. The budget scales
// with the documented-tool count: a new tool earns its own line, the rest must not.
expect(prompt.length).toBeLessThan(5000 + (TOOL_DOCS.length - 22) * 120);
});