feat: uwf cas put-text for storing plain text in CAS #382
Reference in New Issue
Block a user
Delete Branch "feat/cas-put-text"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add
uwf cas put-text <text>command for storing plain text strings in CAS.Why
Dogfood 发现 planner agent 尝试
uwf cas put存 markdown 时失败 — CAS 需要 typed schema,agent 不知道怎么创建 string schema,最终放弃存储,导致下游拿不到完整 plan。Changes
packages/cli-workflow/src/schemas.ts— 预注册{"type": "string"}text schemapackages/cli-workflow/src/commands/cas.ts— 新增cmdCasPutText,自动用 text schema 存储packages/cli-workflow/src/cli.ts— 注册cas put-text子命令packages/workflow-util/src/cli-reference.ts— CLI reference 加入 put-text 说明.workflows/solve-issue.yaml— planner procedure 改用put-textRef
Refs #380
- Register built-in text schema ({type: 'string'}) alongside workflow schemas - Add cmdCasPutText command: uwf cas put-text <text> - Update CLI reference in workflow-util - Update solve-issue.yaml procedure to use put-text Refs #380LGTM ✅
— 小墨 🖊️