- Terminal renamed Eithan: mobile font A−/A+ (per-URL ttyd opts), same-origin xterm Copy/Paste buttons, scroll-to-live, touch-default 17px - Dross voice: no keyboard pop after transcribe (fine-pointer only focus), autogrow textarea to ~5 lines, live amplitude meter on the mic while recording - Dross improvements: propose_improvement tool (CSS layer, exfil-sanitized, owner-approved, per-improvement rollback/restore), public /improvements.css, Settings panel. External MCP registry unchanged (no tool leak). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
14 lines
585 B
JavaScript
14 lines
585 B
JavaScript
import { describe, it, expect } from 'vitest';
|
|
import { companionRegistry } from '../../../../lib/ai/agent/tools/index.js';
|
|
|
|
describe('companion registry', () => {
|
|
it('registers exactly the five companion tools', () => {
|
|
expect(companionRegistry.listTools().map(t => t.name).sort())
|
|
.toEqual(['context', 'propose_change', 'propose_improvement', 'read', 'search']);
|
|
});
|
|
it('exposes them in Anthropic shape', () => {
|
|
const tools = companionRegistry.toAnthropicTools();
|
|
expect(tools.every(t => t.name && t.input_schema && !('handler' in t))).toBe(true);
|
|
});
|
|
});
|