- Add agentId label to preview containers (cw.agent-id) for tracking - Add startForAgent/stopByAgentId methods to PreviewManager - Auto-teardown: previews torn down on agent:stopped event - Conditional preview prompt injection for execute/refine/discuss agents - Agent-simplified CLI: cw preview start/stop --agent <id> - cw preview setup command with --auto mode for guided config generation - hasPreviewConfig hint on cw project register output - New tRPC procedures: startPreviewForAgent, stopPreviewByAgent
18 lines
891 B
TypeScript
18 lines
891 B
TypeScript
/**
|
|
* Agent Prompts — per-mode prompt builders and shared instructions.
|
|
*
|
|
* Each agent type lives in its own file. Shared instructions (signal format,
|
|
* input files, ID generation) are in shared.ts.
|
|
*/
|
|
|
|
export { SIGNAL_FORMAT, INPUT_FILES, ID_GENERATION, CODEBASE_EXPLORATION, CONTEXT_MANAGEMENT, DEVIATION_RULES, GIT_WORKFLOW, TEST_INTEGRITY, SESSION_STARTUP, PROGRESS_TRACKING, buildInterAgentCommunication } from './shared.js';
|
|
export { buildExecutePrompt } from './execute.js';
|
|
export { buildDiscussPrompt } from './discuss.js';
|
|
export { buildPlanPrompt } from './plan.js';
|
|
export { buildDetailPrompt } from './detail.js';
|
|
export { buildRefinePrompt } from './refine.js';
|
|
export { buildChatPrompt } from './chat.js';
|
|
export type { ChatHistoryEntry } from './chat.js';
|
|
export { buildWorkspaceLayout } from './workspace.js';
|
|
export { buildPreviewInstructions } from './preview.js';
|