54dc8fcb39
Two fixes for 'uwf thread start solve-issue' failures:
1. json-cas 0.5.2 (npm) was missing oneOf in ALLOWED_SCHEMA_KEYS.
Published json-cas 0.5.3 with the fix, bumped all packages to ^0.5.3.
2. Semantic validator only recognized oneOf-based multi-exit schemas.
Roles using $status with enum (e.g. enum: [approved, rejected]) were
incorrectly treated as single-exit. Added isEnumMultiExit() support.
Changes:
- validate-semantic.ts: isEnumMultiExit(), getEnumStatuses(), checkSingleExitMustache()
- All package.json: @uncaged/json-cas ^0.5.2 → ^0.5.3
- validate-semantic.test.ts: 5 new enum multi-exit tests (Suite 3b)
- solve-issue-tea-worktree.test.ts: updated for current workflow structure
小橘 🍊
46 lines
1000 B
JSON
46 lines
1000 B
JSON
{
|
|
"name": "@uncaged/workflow-agent-builtin",
|
|
"version": "0.5.0",
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"package.json"
|
|
],
|
|
"type": "module",
|
|
"bin": {
|
|
"uwf-builtin": "./src/cli.ts"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"bun": "./src/index.ts",
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "bun test",
|
|
"test:ci": "bun test"
|
|
},
|
|
"dependencies": {
|
|
"@uncaged/json-cas": "^0.5.3",
|
|
"@uncaged/workflow-util-agent": "workspace:^",
|
|
"@uncaged/workflow-util": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/shazhou-ww/uncaged-workflow.git",
|
|
"directory": "packages/workflow-agent-builtin"
|
|
},
|
|
"homepage": "https://github.com/shazhou-ww/uncaged-workflow#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/shazhou-ww/uncaged-workflow/issues"
|
|
},
|
|
"license": "MIT"
|
|
}
|