refactor: simplify ExtractFn to (schema, contentHash)

- Remove extractPrompt from RoleDefinition
- Remove ExtractContext type
- ExtractFn now takes (schema, contentHash) instead of (schema, prompt, ExtractContext)
- createExtract reads CAS content by hash, keeps ReAct loop with cas_get
- Coder schema uses .describe() for phase hash hint
- All role definitions, CLI templates, and skill output updated

Refs #180, closes #174, closes #181
This commit is contained in:
2026-05-11 07:53:04 +00:00
parent da6bcb10d6
commit 1742ced6df
22 changed files with 27 additions and 134 deletions
-1
View File
@@ -14,7 +14,6 @@ export type {
AgentContext,
AgentFn,
CasStore,
ExtractContext,
ExtractFn,
ExtractResult,
FALLBACK,