cfe4543d39
BREAKING CHANGES:
- Remove AgentFn, AgentFnResult, AgentBinding from workflow-protocol
- Remove wrapAgentAsAdapter from workflow-util-agent
- workflowAsAgent → workflowAdapter (old name kept as deprecated re-export)
New APIs:
- createTextAdapter(producer) — bridges text-producing functions to AdapterFn
- TextProducerFn, TextAdapterResult types
- workflowAdapter() — direct AdapterFn for child workflow delegation
All agent packages (cursor, hermes, llm) now return AdapterFn directly,
no wrapping needed. Bundle entries simplified accordingly.
小橘 🍊(NEKO Team)
22 lines
403 B
JSON
22 lines
403 B
JSON
{
|
|
"name": "@uncaged/workflow-agent-llm",
|
|
"version": "0.3.16",
|
|
"files": [
|
|
"dist",
|
|
"package.json"
|
|
],
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"scripts": {
|
|
"test": "bun test"
|
|
},
|
|
"dependencies": {
|
|
"@uncaged/workflow-runtime": "workspace:*",
|
|
"@uncaged/workflow-util-agent": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"zod": "^4.0.0"
|
|
}
|
|
}
|