99a137422c
- New ExtractFn = <T>(schema, prompt) => (ctx) => Promise<T> - createExtract(provider) creates an LLM-backed ExtractFn - CursorAgent removes workdir config, uses ExtractFn to resolve workspace from ThreadContext at runtime - buildAgentPrompt(ctx) — reads systemPrompt from ctx.currentRole 小橘 <xiaoju@shazhou.work>
17 lines
349 B
JSON
17 lines
349 B
JSON
{
|
|
"name": "@uncaged/workflow-agent-cursor",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"scripts": {
|
|
"build": "echo 'TODO'",
|
|
"test": "bun test"
|
|
},
|
|
"dependencies": {
|
|
"@uncaged/workflow": "workspace:*",
|
|
"@uncaged/workflow-util-agent": "workspace:*",
|
|
"zod": "^4.0.0"
|
|
}
|
|
}
|