6f000512d2
- Add StartNode, StateNode, ContentMerkleNode types to workflow-protocol - Add collectRefs() to workflow-cas — extracts CAS hashes from StateNode payload - Add findReachableHashes() to workflow-cas — recursive mark traversal via refs[] - Tests: 7 pass (collect-refs + reachable) Refs #155, closes #156 小橘 <xiaoju@shazhou.work>
24 lines
450 B
JSON
24 lines
450 B
JSON
{
|
|
"name": "@uncaged/workflow-cas",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "bun test"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./src/index.ts"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@uncaged/workflow-protocol": "workspace:*",
|
|
"@uncaged/workflow-util": "workspace:*",
|
|
"xxhashjs": "^0.2.2",
|
|
"yaml": "^2.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest"
|
|
}
|
|
}
|