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
小橘 🍊
38 lines
812 B
JSON
38 lines
812 B
JSON
{
|
|
"name": "@uncaged/workflow-protocol",
|
|
"version": "0.5.0",
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"package.json"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"bun": "./src/index.ts",
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@uncaged/json-cas": "^0.5.3",
|
|
"@uncaged/json-cas-fs": "^0.5.3"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/shazhou-ww/uncaged-workflow.git",
|
|
"directory": "packages/workflow-protocol"
|
|
},
|
|
"homepage": "https://github.com/shazhou-ww/uncaged-workflow#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/shazhou-ww/uncaged-workflow/issues"
|
|
},
|
|
"license": "MIT"
|
|
}
|