From f21014fcdd7f6ce60f9644bd76ae53fc5651bf02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Wed, 6 May 2026 06:54:24 +0000 Subject: [PATCH] feat: @uncaged/workflow-agent-cursor + @uncaged/workflow-agent-hermes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Cursor adapter: spawn cursor-agent CLI, auto/specified model - Hermes adapter: spawn hermes chat CLI - Both: AgentFn interface, no nerve-core deps, Result-based config validation - 93 tests pass, biome clean Closes #10, Closes #11 小橘 --- packages/cli-workflow/tsconfig.tsbuildinfo | 1 + .../__tests__/cursor-agent.test.ts | 86 +++++++++++++++++++ packages/workflow-agent-cursor/package.json | 14 +++ .../src/build-agent-prompt.ts | 17 ++++ packages/workflow-agent-cursor/src/index.ts | 62 +++++++++++++ .../workflow-agent-cursor/src/spawn-cli.ts | 63 ++++++++++++++ packages/workflow-agent-cursor/src/types.ts | 5 ++ .../src/validate-config.ts | 13 +++ packages/workflow-agent-cursor/tsconfig.json | 10 +++ .../tsconfig.tsbuildinfo | 1 + .../__tests__/hermes-agent.test.ts | 55 ++++++++++++ packages/workflow-agent-hermes/package.json | 14 +++ .../src/build-agent-prompt.ts | 17 ++++ packages/workflow-agent-hermes/src/index.ts | 61 +++++++++++++ .../workflow-agent-hermes/src/spawn-cli.ts | 63 ++++++++++++++ packages/workflow-agent-hermes/src/types.ts | 4 + .../src/validate-config.ts | 10 +++ packages/workflow-agent-hermes/tsconfig.json | 10 +++ .../tsconfig.tsbuildinfo | 1 + .../workflow-role-llm/tsconfig.tsbuildinfo | 1 + packages/workflow/tsconfig.tsbuildinfo | 1 + tsconfig.json | 2 + 22 files changed, 511 insertions(+) create mode 100644 packages/cli-workflow/tsconfig.tsbuildinfo create mode 100644 packages/workflow-agent-cursor/__tests__/cursor-agent.test.ts create mode 100644 packages/workflow-agent-cursor/package.json create mode 100644 packages/workflow-agent-cursor/src/build-agent-prompt.ts create mode 100644 packages/workflow-agent-cursor/src/index.ts create mode 100644 packages/workflow-agent-cursor/src/spawn-cli.ts create mode 100644 packages/workflow-agent-cursor/src/types.ts create mode 100644 packages/workflow-agent-cursor/src/validate-config.ts create mode 100644 packages/workflow-agent-cursor/tsconfig.json create mode 100644 packages/workflow-agent-cursor/tsconfig.tsbuildinfo create mode 100644 packages/workflow-agent-hermes/__tests__/hermes-agent.test.ts create mode 100644 packages/workflow-agent-hermes/package.json create mode 100644 packages/workflow-agent-hermes/src/build-agent-prompt.ts create mode 100644 packages/workflow-agent-hermes/src/index.ts create mode 100644 packages/workflow-agent-hermes/src/spawn-cli.ts create mode 100644 packages/workflow-agent-hermes/src/types.ts create mode 100644 packages/workflow-agent-hermes/src/validate-config.ts create mode 100644 packages/workflow-agent-hermes/tsconfig.json create mode 100644 packages/workflow-agent-hermes/tsconfig.tsbuildinfo create mode 100644 packages/workflow-role-llm/tsconfig.tsbuildinfo create mode 100644 packages/workflow/tsconfig.tsbuildinfo diff --git a/packages/cli-workflow/tsconfig.tsbuildinfo b/packages/cli-workflow/tsconfig.tsbuildinfo new file mode 100644 index 0000000..e827d6f --- /dev/null +++ b/packages/cli-workflow/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"fileNames":["../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../workflow/dist/result.d.ts","../workflow/dist/base32.d.ts","../workflow/dist/bundle-validator.d.ts","../workflow/dist/types.d.ts","../workflow/dist/create-role-moderator.d.ts","../workflow/dist/logger.d.ts","../workflow/dist/engine.d.ts","../workflow/dist/workflow-descriptor.d.ts","../workflow/dist/extract-bundle-exports.d.ts","../workflow/dist/fork-thread.d.ts","../workflow/dist/generate-descriptor.d.ts","../workflow/dist/hash.d.ts","../workflow/dist/registry-types.d.ts","../workflow/dist/registry.d.ts","../workflow/dist/storage-root.d.ts","../workflow/dist/thread-pause-gate.d.ts","../workflow/dist/ulid.d.ts","../workflow/dist/worker-entry-path.d.ts","../workflow/dist/index.d.ts","./src/bundle-store.ts","./src/cli-output.ts","./src/workflow-name.ts","./src/cmd-add.ts","./src/fs-utils.ts","./src/thread-scan.ts","./src/worker-spawn.ts","./src/cmd-fork.ts","./src/cmd-history.ts","./src/cmd-kill.ts","./src/cmd-list.ts","./src/cmd-pause.ts","./src/cmd-ps.ts","./src/cmd-remove.ts","./src/cmd-resume.ts","./src/cmd-rollback.ts","./src/cmd-run.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/line-counter.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/errors.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/doc/applyReviver.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/log.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/toJS.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Scalar.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/stringify/stringify.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Collection.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/YAMLSeq.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/types.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/common/map.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/common/seq.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/common/string.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/stringify/foldFlowLines.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyNumber.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyString.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/util.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/YAMLMap.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/identity.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/Schema.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/doc/createNode.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Pair.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/tags.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/options.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Node.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/cst-scalar.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/cst-stringify.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/cst-visit.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/cst.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Alias.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/doc/Document.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/doc/directives.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/compose/composer.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/lexer.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/parser.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/public-api.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/visit.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/index.d.ts","./src/cmd-show.ts","./src/cmd-thread.ts","./src/cmd-threads.ts","./src/run-argv.ts","./src/cli-dispatch.ts","./src/storage-env.ts","./src/cli.ts"],"fileIdsList":[[95,118,119,123,125,126],[95,99,102,111,112,113,116,118,119,124,126],[103,113,119,125],[125],[94],[94,95,99,102,103,111,112,113,116,117,118,119,123,124,125,127,128,129,130,131,132,133],[98,99,100,102,111,119,123,125],[112,113,119],[98,99,100,102,111,112,118,123,124,125],[98,100,112,113,114,115,119,123],[98,119,123],[98,99,100,101,110,113,116,119,123],[98,99,100,101,113,114,116,119,123],[98,111,116],[99,102,111,116,119,124,125],[119,125],[94,96,97,99,103,113,116,117,119,126],[95,99,119,123],[123],[120,121,122],[96,118,119,125,127],[103,112,116,118],[103],[103,118],[99,100,102,111,113,114,118,119],[98,102,103,110,111,113],[98,99,100,103,110,111,113,116],[118,124,125],[99],[99,100],[97,98,100,104,105,106,107,108,109,111,114,116],[76],[78,80,84,85,86,87,88,89,90,91,92,93,135,136,137,138],[139,140],[76,77,79],[76,81,82,83],[76,79],[76,81,83],[82],[76,79,81],[76,79,83],[76,79,134],[76,81,82],[76,79,82],[81],[76,81],[58],[61],[61,63],[58,61,65],[58,61],[65],[58,59,60,61,62,63,64,65,66,67,68,69,71,72,73,74,75],[58,70]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"4edc2a2b62429c384fb2ba139c39f1a43b96af5f93291c84a6ac9776b47c3ba1","impliedFormat":99},{"version":"992ded501959b1693fcb637eb5b48522988c0df853bfedc925bd6afc18eaaf77","impliedFormat":99},{"version":"d0836624fcdcbb735bf480f1deb714c3cab7a8ddeae1c35c6a35bb9e8a45e86d","impliedFormat":99},{"version":"b6927e1abf52466b51028c42e44bd88bfeb410fe2225f187e82bade88c3d76f4","impliedFormat":99},{"version":"c67c095283936c1daa6f531cb653de48bec38bfc76ded66313f9cdc9fa41fcae","impliedFormat":99},{"version":"b65685775336f2b8058b04b273f8f2017dc7ea83225d5a85dde2c99afbdf8ec8","impliedFormat":99},{"version":"92648e5ea3195972ce89424ecfa54e088936e2b7801433f61b2c5c72231ad684","impliedFormat":99},{"version":"233b4095d8e5a60d7d9f6fe73457c6e5294dc60a43ae5f672f753a21a317e53b","impliedFormat":99},{"version":"a504500068b08ac0c8dcf6c75ac80a563554cb64c39e1ba0e8afd5eb474deed3","impliedFormat":99},{"version":"7931a3f4da303db1ca82a4cfe29affeb359d366d36504a0e21fd6862877b0015","impliedFormat":99},{"version":"bb52fde5f53c0c1eb1a72d75cf46eafc305e1c54d90ddc236c91afbb2f3d93da","impliedFormat":99},{"version":"1477988abd65547d132126f335b380e200a0706dbc3a125d4ac6fe18dbc03d0e","impliedFormat":99},{"version":"ddb2b11c3b5b33a6ee5278623c73a0696cfd20e802f48f1a59d063bb91fca9f8","impliedFormat":99},{"version":"8c70d0ecaf6126ae97224e7293316a1146b7ed4eb438e09f60ed24c57ac6f6aa","impliedFormat":99},{"version":"d191748e209d788e576441214eea630e7bc4e777b1024216e7e753297f6806ee","impliedFormat":99},{"version":"248fdfcf1aa6df88c1affa05f5a6aa6b205d03d0da538592c266163fd005fddf","impliedFormat":99},{"version":"eaaf70ad623fd2e476a1ed926badde1dd18da4e193cec2f379add18189f0bf2e","impliedFormat":99},{"version":"e94b40901c0cfbd84af67c66cc6d431c17b6768db48c3d32afdb44cf67c530a8","impliedFormat":99},{"version":"18210800194d8bc2a06c704aa21fc5d5e56344f0a83ffdcfc6d5d39c7fb4755c","impliedFormat":99},{"version":"94128aa341a96eb4e72e5581a052370f168519e215e292c6d6a7146332d96808","signature":"a7c45e70c085ee2fd8a9b72d459c59830cc6a6dbaa9a698359305641843ce2d6","impliedFormat":99},{"version":"d5ca66f41a1b891e062029200e128e2e6a4030772bc757d3a3efc3b4b90bc3a1","signature":"962bd49e7ee2a717961a792aa01b92c9cb433c7d3863fedd2e6edaa0bda5b125","impliedFormat":99},{"version":"d0dda1291cd22e8bcc73d3b9b1563a92be2c9fa4d1814dc4b313efb5bb2d74a5","signature":"68a4317c8217d3fcb48adeabec879218e3d1d674516fdc93258c018d0bfc007e","impliedFormat":99},{"version":"e25b86723bf5dafbf3778c713b2063cfb4f05958729acf81a94e5059b419b0f5","signature":"d0f76c451085bbfce0bd686ad3a53e636908a950d0fb30ae41e826a56a306092","impliedFormat":99},{"version":"06a6e7ffd15916d9bb32f3d709430c0711bd94c83f5d0fe2673312aabed3294b","signature":"0f4e84c28bbaebefaf43b3ce7f4e42b3c15fd23b1a703971b38ba2820a907a0d","impliedFormat":99},{"version":"8d834d31f849cc80ecbb3917030e03456060f50bca2e41be2d7e161eb9dbd705","signature":"d3dead6941078f847d336ea66b4f7071d40fb08d3069ef0e31ccf564abf4b666","impliedFormat":99},{"version":"fd2dbc1b516c6ee68521f6ad40afe3e45a845db08fd77171939a0cea8286ccd5","signature":"7fb1b63ac5d95c9e83469b4e70b2ce923d84783b5fce0d4c6a584963a66c6b7d","impliedFormat":99},{"version":"7f14481ee948214473278ba407ea6a0bd106f76bd742c8e3368d4c7ff825f49e","signature":"fe32957eb106cbf69c85829bf40a1835420a72e8c3e4cf134fc77ac9a25a4ba2","impliedFormat":99},{"version":"c5af467223ccadac3b872248ee39515b62abde7c78dbe8df35b344f6306dfca0","signature":"6d8fb326bf611e2b6cc57e17dbaaf354d32e1ce9fbe5da733ee62c14885f0fa7","impliedFormat":99},{"version":"04fd92fa3fafcc40f2d16f29f22fd09cbc596866a1220be2172d2e4c91a0297e","signature":"1286823d5219fd1c4fd10351085e384ce513dbbb3def56e0990a805d28673829","impliedFormat":99},{"version":"052189be2faabb3c3926accbad6e49cb3df11c676c7f268d88e8c750675b2100","signature":"9709f7423714682d9e30bc5d0b9f1e873a62e63786b7000ec33f4360f9dedb46","impliedFormat":99},{"version":"8ab86ced7d033adb2cf4e16795ec2d8fad0a21d84624bd752046290df9f12f1a","signature":"207353794e961c4f7baebe6e340bec64737497575bb0c49cd534b6f9483a4218","impliedFormat":99},{"version":"bdf87ef4b34f28555238ac8322f15352c3584b26a19c3d2017db405b6e2fc0c6","signature":"b5364e319cbc674ad185ee9e1e7bb6d228e654e47a8a39bbf62a9f3fbb92e547","impliedFormat":99},{"version":"af47655c8e89cc754835630c040dc91ac0b94791205ece3a155fec64a718d783","signature":"c7874e3b71c971d3fc342f98065347b0436d6d98d295c8920bb21bfcc4305c71","impliedFormat":99},{"version":"2f20721b0cb3f322d244e3976433f362442c9e15779831bdf0c68aa5fbb64729","signature":"79ee70d9e1e64b6b248636ff88d757f5cbc8ef858a5eebc9b5a30c284ab24bfe","impliedFormat":99},{"version":"b308f82ad576de37fab5b37ea95217fbe982f65e4b56fd115f4b88bf8658d8a0","signature":"35485308b5358d7149012cec0cd6fde79becbec07ea83d46d6963d776c97bb0d","impliedFormat":99},{"version":"a3778e08b929cf8fa073a24627fc581316d0a08151ab6f3bb569086168a1223d","signature":"007e014e1592f7ec0f2a5cac2946a0f4719008125576ef6e888daadb18f15924","impliedFormat":99},{"version":"3dfcd0a3bfa70b53135db3cf2e4ddcb7eccc3e4418ce833ae24eecd06928328f","impliedFormat":1},{"version":"bea7cae6a8b2d41fd1a9d70475b54d741dd7ca2103904934858108eec0336a69","impliedFormat":1},{"version":"bc41a8e33caf4d193b0c49ec70d1e8db5ce3312eafe5447c6c1d5a2084fece12","impliedFormat":1},{"version":"7c33f11a56ba4e79efc4ddae85f8a4a888e216d2bf66c863f344d403437ffc74","impliedFormat":1},{"version":"cbef1abd1f8987dee5c9ed8c768a880fbfbff7f7053e063403090f48335c8e4e","impliedFormat":1},{"version":"afb5e9a110ff72b60783e0fe65ce1a28adbe6ab5f30d2dc31e2fb099e0f86de4","impliedFormat":1},{"version":"0132f67b7f128d4a47324f48d0918ec73cf4220a5e9ea8bd92b115397911254f","impliedFormat":1},{"version":"06b37153d512000a91cad6fcbae75ca795ecec00469effaa8916101a00d5b9e2","impliedFormat":1},{"version":"8a641e3402f2988bf993007bd814faba348b813fc4058fce5b06de3e81ed511a","impliedFormat":1},{"version":"281744305ba2dcb2d80e2021fae211b1b07e5d85cfc8e36f4520325fcf698dbb","impliedFormat":1},{"version":"e1b042779d17b69719d34f31822ddba8aa6f5eb15f221b02105785f4447e7f5b","impliedFormat":1},{"version":"6858337936b90bd31f1674c43bedda2edbab2a488d04adc02512aef47c792fd0","impliedFormat":1},{"version":"15cb3deecc635efb26133990f521f7f1cc95665d5db8d87e5056beaea564b0ce","impliedFormat":1},{"version":"e27605c8932e75b14e742558a4c3101d9f4fdd32e7e9a056b2ca83f37f973945","impliedFormat":1},{"version":"f0443725119ecde74b0d75c82555b1f95ee1c3cd371558e5528a83d1de8109de","impliedFormat":1},{"version":"7794810c4b3f03d2faa81189504b953a73eb80e5662a90e9030ea9a9a359a66f","impliedFormat":1},{"version":"b074516a691a30279f0fe6dff33cd76359c1daacf4ae024659e44a68756de602","impliedFormat":1},{"version":"57cbeb55ec95326d068a2ce33403e1b795f2113487f07c1f53b1eaf9c21ff2ce","impliedFormat":1},{"version":"a00362ee43d422bcd8239110b8b5da39f1122651a1809be83a518b1298fa6af8","impliedFormat":1},{"version":"a820499a28a5fcdbf4baec05cc069362041d735520ab5a94c38cc44db7df614c","impliedFormat":1},{"version":"33a6d7b07c85ac0cef9a021b78b52e2d901d2ebfd5458db68f229ca482c1910c","impliedFormat":1},{"version":"8f648847b52020c1c0cdfcc40d7bcab72ea470201a631004fde4d85ccbc0c4c7","impliedFormat":1},{"version":"7821d3b702e0c672329c4d036c7037ecf2e5e758eceb5e740dde1355606dc9f2","impliedFormat":1},{"version":"213e4f26ee5853e8ba314ecad3a73cd06ab244a0809749bb777cbc1619aa07d8","impliedFormat":1},{"version":"1720be851bdb7cdbff68061522a71d9ddaa69db1fe90c6819a26953da05942f2","impliedFormat":1},{"version":"961fa18e1658f3f8e38c23e1a9bc3f4d7be75b056a94700291d5f82f57524ff0","impliedFormat":1},{"version":"079c02dc397960da2786db71d7c9e716475377bcedd81dede034f8a9f94c71b8","impliedFormat":1},{"version":"a7595cbb1b354b54dff14a6bb87d471e6d53b63de101a1b4d9d82d3d3f6eddec","impliedFormat":1},{"version":"1f49a85a97e01a26245fd74232b3b301ebe408fb4e969e72e537aa6ffbd3fe14","impliedFormat":1},{"version":"9c38563e4eabfffa597c4d6b9aa16e11e7f9a636f0dd80dd0a8bce1f6f0b2108","impliedFormat":1},{"version":"a971cba9f67e1c87014a2a544c24bc58bad1983970dfa66051b42ae441da1f46","impliedFormat":1},{"version":"df9b266bceb94167c2e8ae25db37d31a28de02ae89ff58e8174708afdec26738","impliedFormat":1},{"version":"9e5b8137b7ee679d31b35221503282561e764116d8b007c5419b6f9d60765683","impliedFormat":1},{"version":"3e7ae921a43416e155d7bbe5b4229b7686cfa6a20af0a3ae5a79dfe127355c21","impliedFormat":1},{"version":"c7200ae85e414d5ed1d3c9507ae38c097050161f57eb1a70bef021d796af87a7","impliedFormat":1},{"version":"4edb4ff36b17b2cf19014b2c901a6bdcdd0d8f732bcf3a11aa6fd0a111198e27","impliedFormat":1},{"version":"810f0d14ce416a343dcdd0d3074c38c094505e664c90636b113d048471c292e2","impliedFormat":1},{"version":"9c37dc73c97cd17686edc94cc534486509e479a1b8809ef783067b7dde5c6713","impliedFormat":1},{"version":"5fe2ef29b33889d3279d5bc92f8e554ffd32145a02f48d272d30fc1eea8b4c89","impliedFormat":1},{"version":"e39090ffe9c45c59082c3746e2aa2546dc53e3c5eeb4ad83f8210be7e2e58022","impliedFormat":1},{"version":"9f85a1810d42f75e1abb4fc94be585aae1fdac8ae752c76b912d95aef61bf5de","impliedFormat":1},{"version":"0f36a7fea4be114a5905bf63ef57436cf522c5e8e8523e246a162f82b27eef09","signature":"c0f9cde082b3abd8510ceccf4779b13500776be7db8d098a1595a7ae0fadf13d","impliedFormat":99},{"version":"2e545c293b848ff3e3c79342bce4d2ee304fc89a312eb1a29a354591d062f9f3","signature":"2d67728920eec542241be0ea1d11eee45959c8d73f90fc78b0901609310efd59","impliedFormat":99},{"version":"a1eb6bc9e327173f199a8aceed2c06a2c38a9c3a0d2b2919098fa213eadec467","signature":"3eb7be282c84eb0fd20866f8544a8d6ffd73c51fd80954e3239c4c6db0c4012e","impliedFormat":99},{"version":"9326dface0a6d8840babb838da60eea80a36507bc4e14ebd4a6ba3b52e5573c6","signature":"c99177f7537d167142c6801ddcbfbc162c41cf63fe356798724b4891d7c0b451","impliedFormat":99},{"version":"ae2bf511d6331e166a54f305acc7a2bd8d3b2596cf8e9261def188255346a4b2","signature":"47ac49dca362b2272fb1aafc44820dcc2a9fd339987f565bbf0bd09410ffda5d","impliedFormat":99},{"version":"37482f57f911e73cd4034dbfe27e3cbc2d2a6a5dc81c575859f0a4c966fc4d0a","signature":"ac9bbef9b28af32d8220386998127160b98f726ac9bcb1c0e946076aa44ade8a","impliedFormat":99},{"version":"803cff9135effdc29d6aef797273d8197013bf9acdf89be6b50f8e6a5fec8095","signature":"f3b2989724efbf7b154b10283b87780d53ee348055b20c76f86634ee512a2f93","impliedFormat":99}],"root":[[77,93],[135,141]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[127,1],[125,2],[114,3],[126,4],[95,5],[134,6],[124,7],[101,8],[119,9],[116,10],[99,11],[111,12],[102,13],[115,14],[112,15],[98,16],[118,17],[120,18],[121,19],[122,19],[123,20],[129,19],[130,21],[113,22],[104,23],[105,23],[106,23],[117,24],[103,25],[131,26],[132,27],[100,28],[108,29],[109,30],[110,31],[133,15],[77,32],[139,33],[141,34],[80,35],[84,36],[85,37],[86,38],[87,32],[88,38],[89,39],[90,37],[91,38],[92,40],[93,41],[135,42],[136,43],[137,44],[138,32],[140,32],[82,45],[83,46],[79,32],[59,47],[60,47],[62,48],[64,49],[66,50],[67,51],[68,52],[76,53],[71,54],[73,47],[65,47]],"semanticDiagnosticsPerFile":[[77,[{"start":49,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":90,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[78,[{"start":121,"length":7,"messageText":"Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.","category":1,"code":2584},{"start":265,"length":7,"messageText":"Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.","category":1,"code":2584},{"start":412,"length":7,"messageText":"Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.","category":1,"code":2584}]],[80,[{"start":31,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":85,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":5243,"length":11,"messageText":"Cannot find name 'TextEncoder'.","category":1,"code":2304}]],[81,[{"start":31,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":224,"length":6,"messageText":"Cannot find namespace 'NodeJS'.","category":1,"code":2503}]],[82,[{"start":24,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":65,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[83,[{"start":59,"length":20,"messageText":"Cannot find name 'node:child_process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":131,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":184,"length":10,"messageText":"Cannot find name 'node:net'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":217,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":503,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":627,"length":6,"messageText":"Cannot find namespace 'NodeJS'.","category":1,"code":2503},{"start":1015,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":2366,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":5687,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":5908,"length":1,"messageText":"Parameter 'e' implicitly has an 'any' type.","category":1,"code":7006}]],[84,[{"start":21,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[86,[{"start":21,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[88,[{"start":21,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[91,[{"start":21,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[92,[{"start":21,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[93,[{"start":21,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[136,[{"start":23,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":73,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[140,[{"start":229,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[141,[{"start":141,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":260,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]]],"latestChangedDtsFile":"./dist/cli.d.ts","version":"6.0.2"} \ No newline at end of file diff --git a/packages/workflow-agent-cursor/__tests__/cursor-agent.test.ts b/packages/workflow-agent-cursor/__tests__/cursor-agent.test.ts new file mode 100644 index 0000000..197c35f --- /dev/null +++ b/packages/workflow-agent-cursor/__tests__/cursor-agent.test.ts @@ -0,0 +1,86 @@ +import { describe, expect, test } from "bun:test"; +import { START, type ThreadContext } from "@uncaged/workflow"; + +import { buildAgentPrompt, createCursorAgent, validateCursorAgentConfig } from "../src/index.js"; + +function makeCtx(): ThreadContext { + return { + start: { + role: START, + content: "user task", + meta: { maxRounds: 5 }, + timestamp: 1, + }, + steps: [ + { + role: "coder", + content: "first draft", + meta: {}, + timestamp: 2, + }, + ], + }; +} + +describe("validateCursorAgentConfig", () => { + test("accepts valid config", () => { + const r = validateCursorAgentConfig({ + workdir: "/tmp", + model: null, + timeout: null, + }); + expect(r.ok).toBe(true); + }); + + test("rejects empty workdir", () => { + const r = validateCursorAgentConfig({ + workdir: " ", + model: null, + timeout: null, + }); + expect(r.ok).toBe(false); + if (!r.ok) { + expect(r.error).toContain("workdir"); + } + }); + + test("rejects negative timeout", () => { + const r = validateCursorAgentConfig({ + workdir: "/tmp", + model: null, + timeout: -1, + }); + expect(r.ok).toBe(false); + }); +}); + +describe("buildAgentPrompt", () => { + test("includes system prompt, start, and steps", () => { + const text = buildAgentPrompt(makeCtx(), "Be helpful."); + expect(text).toContain("Be helpful."); + expect(text).toContain("user task"); + expect(text).toContain("coder"); + expect(text).toContain("first draft"); + }); +}); + +describe("createCursorAgent", () => { + test("returns an AgentFn", () => { + const agent = createCursorAgent({ + workdir: "/tmp", + model: null, + timeout: null, + }); + expect(typeof agent).toBe("function"); + }); + + test("throws on invalid config at construction", () => { + expect(() => + createCursorAgent({ + workdir: "", + model: null, + timeout: null, + }), + ).toThrow(); + }); +}); diff --git a/packages/workflow-agent-cursor/package.json b/packages/workflow-agent-cursor/package.json new file mode 100644 index 0000000..47aa5e5 --- /dev/null +++ b/packages/workflow-agent-cursor/package.json @@ -0,0 +1,14 @@ +{ + "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:*" + } +} diff --git a/packages/workflow-agent-cursor/src/build-agent-prompt.ts b/packages/workflow-agent-cursor/src/build-agent-prompt.ts new file mode 100644 index 0000000..9c6f9f1 --- /dev/null +++ b/packages/workflow-agent-cursor/src/build-agent-prompt.ts @@ -0,0 +1,17 @@ +import type { ThreadContext } from "@uncaged/workflow"; + +/** Combines the role system prompt with thread start content and prior role outputs. */ +export function buildAgentPrompt(ctx: ThreadContext, systemPrompt: string): string { + const blocks: string[] = []; + blocks.push("# System instructions"); + blocks.push(systemPrompt); + blocks.push(""); + blocks.push("# Thread"); + blocks.push("## Start"); + blocks.push(ctx.start.content); + for (const step of ctx.steps) { + blocks.push(`## Role: ${step.role}`); + blocks.push(step.content); + } + return blocks.join("\n"); +} diff --git a/packages/workflow-agent-cursor/src/index.ts b/packages/workflow-agent-cursor/src/index.ts new file mode 100644 index 0000000..c0e96b7 --- /dev/null +++ b/packages/workflow-agent-cursor/src/index.ts @@ -0,0 +1,62 @@ +import type { AgentFn } from "@uncaged/workflow"; + +import { buildAgentPrompt } from "./build-agent-prompt.js"; +import { type SpawnCliError, spawnCli } from "./spawn-cli.js"; +import type { CursorAgentConfig } from "./types.js"; +import { validateCursorAgentConfig } from "./validate-config.js"; + +export { buildAgentPrompt } from "./build-agent-prompt.js"; +export type { CursorAgentConfig } from "./types.js"; +export { validateCursorAgentConfig } from "./validate-config.js"; + +function throwCursorSpawnError(error: SpawnCliError): never { + if (error.kind === "non_zero_exit") { + throw new Error( + `cursor-agent: exitCode=${error.exitCode} stdout=${error.stdout} stderr=${error.stderr}`, + ); + } + if (error.kind === "timeout") { + throw new Error("cursor-agent: timeout"); + } + if (error.kind === "spawn_failed") { + throw new Error(`cursor-agent: ${error.message}`); + } + throw new Error("cursor-agent: unknown spawn error"); +} + +function resolveCursorModel(model: string | null): string { + return model === null ? "auto" : model; +} + +/** Runs `cursor-agent` in {@link CursorAgentConfig.workdir} with a prompt built from context + system prompt. */ +export function createCursorAgent(config: CursorAgentConfig): AgentFn { + const validated = validateCursorAgentConfig(config); + if (!validated.ok) { + throw new Error(validated.error); + } + + const modelFlag = resolveCursorModel(config.model); + const timeoutMs = config.timeout; + + return async (ctx, systemPrompt) => { + const fullPrompt = buildAgentPrompt(ctx, systemPrompt); + const args = [ + "-p", + fullPrompt, + "--model", + modelFlag, + "--output-format", + "text", + "--trust", + "--force", + ]; + const run = await spawnCli("cursor-agent", args, { + cwd: config.workdir, + timeoutMs, + }); + if (!run.ok) { + throwCursorSpawnError(run.error); + } + return run.value; + }; +} diff --git a/packages/workflow-agent-cursor/src/spawn-cli.ts b/packages/workflow-agent-cursor/src/spawn-cli.ts new file mode 100644 index 0000000..613caf4 --- /dev/null +++ b/packages/workflow-agent-cursor/src/spawn-cli.ts @@ -0,0 +1,63 @@ +import { spawn } from "node:child_process"; + +import { err, ok, type Result } from "@uncaged/workflow"; + +export type SpawnCliError = + | { kind: "non_zero_exit"; exitCode: number | null; stdout: string; stderr: string } + | { kind: "timeout" } + | { kind: "spawn_failed"; message: string }; + +export function spawnCli( + command: string, + args: string[], + options: { cwd: string | null; timeoutMs: number | null }, +): Promise> { + return new Promise((resolve) => { + const child = spawn(command, args, { + cwd: options.cwd === null ? undefined : options.cwd, + shell: false, + stdio: ["ignore", "pipe", "pipe"], + }); + + let stdout = ""; + let stderr = ""; + child.stdout?.on("data", (chunk: Buffer) => { + stdout += chunk.toString(); + }); + child.stderr?.on("data", (chunk: Buffer) => { + stderr += chunk.toString(); + }); + + let timedOut = false; + let timeoutId: ReturnType | null = null; + if (options.timeoutMs !== null) { + timeoutId = setTimeout(() => { + timedOut = true; + child.kill("SIGTERM"); + }, options.timeoutMs); + } + + child.on("error", (cause) => { + if (timeoutId !== null) { + clearTimeout(timeoutId); + } + const message = cause instanceof Error ? cause.message : String(cause); + resolve(err({ kind: "spawn_failed", message })); + }); + + child.on("close", (code) => { + if (timeoutId !== null) { + clearTimeout(timeoutId); + } + if (timedOut) { + resolve(err({ kind: "timeout" })); + return; + } + if (code === 0) { + resolve(ok(stdout)); + return; + } + resolve(err({ kind: "non_zero_exit", exitCode: code, stdout, stderr })); + }); + }); +} diff --git a/packages/workflow-agent-cursor/src/types.ts b/packages/workflow-agent-cursor/src/types.ts new file mode 100644 index 0000000..05ca08b --- /dev/null +++ b/packages/workflow-agent-cursor/src/types.ts @@ -0,0 +1,5 @@ +export type CursorAgentConfig = { + workdir: string; + model: string | null; + timeout: number | null; +}; diff --git a/packages/workflow-agent-cursor/src/validate-config.ts b/packages/workflow-agent-cursor/src/validate-config.ts new file mode 100644 index 0000000..9181205 --- /dev/null +++ b/packages/workflow-agent-cursor/src/validate-config.ts @@ -0,0 +1,13 @@ +import { err, ok, type Result } from "@uncaged/workflow"; + +import type { CursorAgentConfig } from "./types.js"; + +export function validateCursorAgentConfig(config: CursorAgentConfig): Result { + if (config.workdir.trim() === "") { + return err("workdir must be a non-empty string"); + } + if (config.timeout !== null && config.timeout < 0) { + return err("timeout must be null or a non-negative number (milliseconds)"); + } + return ok(undefined); +} diff --git a/packages/workflow-agent-cursor/tsconfig.json b/packages/workflow-agent-cursor/tsconfig.json new file mode 100644 index 0000000..2816fef --- /dev/null +++ b/packages/workflow-agent-cursor/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "composite": true + }, + "include": ["src/**/*.ts"], + "references": [{ "path": "../workflow" }] +} diff --git a/packages/workflow-agent-cursor/tsconfig.tsbuildinfo b/packages/workflow-agent-cursor/tsconfig.tsbuildinfo new file mode 100644 index 0000000..b55d461 --- /dev/null +++ b/packages/workflow-agent-cursor/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"fileNames":["../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../workflow/dist/result.d.ts","../workflow/dist/base32.d.ts","../workflow/dist/bundle-validator.d.ts","../workflow/dist/types.d.ts","../workflow/dist/create-role-moderator.d.ts","../workflow/dist/logger.d.ts","../workflow/dist/engine.d.ts","../workflow/dist/workflow-descriptor.d.ts","../workflow/dist/extract-bundle-exports.d.ts","../workflow/dist/fork-thread.d.ts","../workflow/dist/generate-descriptor.d.ts","../workflow/dist/hash.d.ts","../workflow/dist/registry-types.d.ts","../workflow/dist/registry.d.ts","../workflow/dist/storage-root.d.ts","../workflow/dist/thread-pause-gate.d.ts","../workflow/dist/ulid.d.ts","../workflow/dist/worker-entry-path.d.ts","../workflow/dist/index.d.ts","./src/build-agent-prompt.ts","./src/spawn-cli.ts","./src/types.ts","./src/validate-config.ts","./src/index.ts"],"fileIdsList":[[76],[76,77,78,79,80],[76,79],[58],[61],[61,63],[58,61,65],[58,61],[65],[58,59,60,61,62,63,64,65,66,67,68,69,71,72,73,74,75],[58,70]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"4edc2a2b62429c384fb2ba139c39f1a43b96af5f93291c84a6ac9776b47c3ba1","impliedFormat":99},{"version":"992ded501959b1693fcb637eb5b48522988c0df853bfedc925bd6afc18eaaf77","impliedFormat":99},{"version":"d0836624fcdcbb735bf480f1deb714c3cab7a8ddeae1c35c6a35bb9e8a45e86d","impliedFormat":99},{"version":"b6927e1abf52466b51028c42e44bd88bfeb410fe2225f187e82bade88c3d76f4","impliedFormat":99},{"version":"c67c095283936c1daa6f531cb653de48bec38bfc76ded66313f9cdc9fa41fcae","impliedFormat":99},{"version":"b65685775336f2b8058b04b273f8f2017dc7ea83225d5a85dde2c99afbdf8ec8","impliedFormat":99},{"version":"92648e5ea3195972ce89424ecfa54e088936e2b7801433f61b2c5c72231ad684","impliedFormat":99},{"version":"233b4095d8e5a60d7d9f6fe73457c6e5294dc60a43ae5f672f753a21a317e53b","impliedFormat":99},{"version":"a504500068b08ac0c8dcf6c75ac80a563554cb64c39e1ba0e8afd5eb474deed3","impliedFormat":99},{"version":"7931a3f4da303db1ca82a4cfe29affeb359d366d36504a0e21fd6862877b0015","impliedFormat":99},{"version":"bb52fde5f53c0c1eb1a72d75cf46eafc305e1c54d90ddc236c91afbb2f3d93da","impliedFormat":99},{"version":"1477988abd65547d132126f335b380e200a0706dbc3a125d4ac6fe18dbc03d0e","impliedFormat":99},{"version":"ddb2b11c3b5b33a6ee5278623c73a0696cfd20e802f48f1a59d063bb91fca9f8","impliedFormat":99},{"version":"8c70d0ecaf6126ae97224e7293316a1146b7ed4eb438e09f60ed24c57ac6f6aa","impliedFormat":99},{"version":"d191748e209d788e576441214eea630e7bc4e777b1024216e7e753297f6806ee","impliedFormat":99},{"version":"248fdfcf1aa6df88c1affa05f5a6aa6b205d03d0da538592c266163fd005fddf","impliedFormat":99},{"version":"eaaf70ad623fd2e476a1ed926badde1dd18da4e193cec2f379add18189f0bf2e","impliedFormat":99},{"version":"e94b40901c0cfbd84af67c66cc6d431c17b6768db48c3d32afdb44cf67c530a8","impliedFormat":99},{"version":"18210800194d8bc2a06c704aa21fc5d5e56344f0a83ffdcfc6d5d39c7fb4755c","impliedFormat":99},{"version":"8d1a7dd74b0aad60d01a8865081364891abb310c9e26522bf1b6f55935323873","signature":"4f3a4f1b92fbf6a6919b44231ca472b0bcc9eec1294824653e08d48bc958fc32","impliedFormat":99},{"version":"85783f26c50c733538c43cae7548177e61a69d5415958ed1d696f08f6b5ff1b4","signature":"0e6d8849e85291637427c1f1798a5a98e5f26965bd5f5fc0948ea8942f494f22","impliedFormat":99},{"version":"b71b86c9738ee8868b2561aa6c5ad72a157ccd3decfc38092a5665b710c96c7c","signature":"dec7f62274d46ef94a126f48ff68ec8526ab661d24e9243a736701d6ebe9b107","impliedFormat":99},{"version":"721a1d94093ab25ab63182f4f53e3e29fd9d1be5f9b2ae03981555dd81683c9e","signature":"8a8944a54344106027054954fb02eca47eac4055268a30be74c10ba6e9d45ada","impliedFormat":99},{"version":"c81194e22008e61b3fd634b539764e92a20e68da8c3ef8bb1e054f9df43a8c32","signature":"42af90b6f95a79f4fdd774e6aa0b0c647626fd7b9c0272f78b7d23c9a48a6257","impliedFormat":99}],"root":[[77,81]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[77,1],[81,2],[78,1],[80,3],[59,4],[60,4],[62,5],[64,6],[66,7],[67,8],[68,9],[76,10],[71,11],[73,4],[65,4]],"semanticDiagnosticsPerFile":[[78,[{"start":22,"length":20,"messageText":"Cannot find name 'node:child_process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":744,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":836,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":955,"length":10,"messageText":"Cannot find name 'setTimeout'. Did you mean 'timedOut'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'setTimeout'."},"relatedInformation":[{"start":900,"length":8,"messageText":"'timedOut' is declared here.","category":3,"code":2728}]},{"start":1038,"length":10,"messageText":"Cannot find name 'setTimeout'. Did you mean 'timedOut'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'setTimeout'."},"relatedInformation":[{"start":900,"length":8,"messageText":"'timedOut' is declared here.","category":3,"code":2728}]},{"start":1172,"length":5,"messageText":"Parameter 'cause' implicitly has an 'any' type.","category":1,"code":7006},{"start":1224,"length":12,"messageText":"Cannot find name 'clearTimeout'.","category":1,"code":2304},{"start":1422,"length":4,"messageText":"Parameter 'code' implicitly has an 'any' type.","category":1,"code":7006},{"start":1473,"length":12,"messageText":"Cannot find name 'clearTimeout'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./dist/index.d.ts","version":"6.0.2"} \ No newline at end of file diff --git a/packages/workflow-agent-hermes/__tests__/hermes-agent.test.ts b/packages/workflow-agent-hermes/__tests__/hermes-agent.test.ts new file mode 100644 index 0000000..75f44b0 --- /dev/null +++ b/packages/workflow-agent-hermes/__tests__/hermes-agent.test.ts @@ -0,0 +1,55 @@ +import { describe, expect, test } from "bun:test"; +import { START, type ThreadContext } from "@uncaged/workflow"; + +import { buildAgentPrompt, createHermesAgent, validateHermesAgentConfig } from "../src/index.js"; + +function makeCtx(): ThreadContext { + return { + start: { + role: START, + content: "plan the migration", + meta: { maxRounds: 8 }, + timestamp: 1, + }, + steps: [], + }; +} + +describe("validateHermesAgentConfig", () => { + test("accepts valid config", () => { + const r = validateHermesAgentConfig({ + model: null, + timeout: null, + }); + expect(r.ok).toBe(true); + }); + + test("rejects negative timeout", () => { + const r = validateHermesAgentConfig({ + model: null, + timeout: -5, + }); + expect(r.ok).toBe(false); + if (!r.ok) { + expect(r.error).toContain("timeout"); + } + }); +}); + +describe("buildAgentPrompt", () => { + test("includes system and thread start", () => { + const text = buildAgentPrompt(makeCtx(), "You are a planner."); + expect(text).toContain("You are a planner."); + expect(text).toContain("plan the migration"); + }); +}); + +describe("createHermesAgent", () => { + test("returns an AgentFn", () => { + const agent = createHermesAgent({ + model: null, + timeout: null, + }); + expect(typeof agent).toBe("function"); + }); +}); diff --git a/packages/workflow-agent-hermes/package.json b/packages/workflow-agent-hermes/package.json new file mode 100644 index 0000000..5455ded --- /dev/null +++ b/packages/workflow-agent-hermes/package.json @@ -0,0 +1,14 @@ +{ + "name": "@uncaged/workflow-agent-hermes", + "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:*" + } +} diff --git a/packages/workflow-agent-hermes/src/build-agent-prompt.ts b/packages/workflow-agent-hermes/src/build-agent-prompt.ts new file mode 100644 index 0000000..9c6f9f1 --- /dev/null +++ b/packages/workflow-agent-hermes/src/build-agent-prompt.ts @@ -0,0 +1,17 @@ +import type { ThreadContext } from "@uncaged/workflow"; + +/** Combines the role system prompt with thread start content and prior role outputs. */ +export function buildAgentPrompt(ctx: ThreadContext, systemPrompt: string): string { + const blocks: string[] = []; + blocks.push("# System instructions"); + blocks.push(systemPrompt); + blocks.push(""); + blocks.push("# Thread"); + blocks.push("## Start"); + blocks.push(ctx.start.content); + for (const step of ctx.steps) { + blocks.push(`## Role: ${step.role}`); + blocks.push(step.content); + } + return blocks.join("\n"); +} diff --git a/packages/workflow-agent-hermes/src/index.ts b/packages/workflow-agent-hermes/src/index.ts new file mode 100644 index 0000000..a2dd3a1 --- /dev/null +++ b/packages/workflow-agent-hermes/src/index.ts @@ -0,0 +1,61 @@ +import type { AgentFn } from "@uncaged/workflow"; + +import { buildAgentPrompt } from "./build-agent-prompt.js"; +import { type SpawnCliError, spawnCli } from "./spawn-cli.js"; +import type { HermesAgentConfig } from "./types.js"; +import { validateHermesAgentConfig } from "./validate-config.js"; + +const HERMES_DEFAULT_MAX_TURNS = 90; + +export { buildAgentPrompt } from "./build-agent-prompt.js"; +export type { HermesAgentConfig } from "./types.js"; +export { validateHermesAgentConfig } from "./validate-config.js"; + +function throwHermesSpawnError(error: SpawnCliError): never { + if (error.kind === "non_zero_exit") { + throw new Error( + `hermes: exitCode=${error.exitCode} stdout=${error.stdout} stderr=${error.stderr}`, + ); + } + if (error.kind === "timeout") { + throw new Error("hermes: timeout"); + } + if (error.kind === "spawn_failed") { + throw new Error(`hermes: ${error.message}`); + } + throw new Error("hermes: unknown spawn error"); +} + +/** Runs `hermes chat` non-interactively with the Nerve-style argv contract (`-q`, `--yolo`, `--quiet`). */ +export function createHermesAgent(config: HermesAgentConfig): AgentFn { + const validated = validateHermesAgentConfig(config); + if (!validated.ok) { + throw new Error(validated.error); + } + + const timeoutMs = config.timeout; + + return async (ctx, systemPrompt) => { + const fullPrompt = buildAgentPrompt(ctx, systemPrompt); + const args = [ + "chat", + "-q", + fullPrompt, + "--yolo", + "--max-turns", + String(HERMES_DEFAULT_MAX_TURNS), + "--quiet", + ]; + if (config.model !== null) { + args.push("--model", config.model); + } + const run = await spawnCli("hermes", args, { + cwd: null, + timeoutMs, + }); + if (!run.ok) { + throwHermesSpawnError(run.error); + } + return run.value; + }; +} diff --git a/packages/workflow-agent-hermes/src/spawn-cli.ts b/packages/workflow-agent-hermes/src/spawn-cli.ts new file mode 100644 index 0000000..613caf4 --- /dev/null +++ b/packages/workflow-agent-hermes/src/spawn-cli.ts @@ -0,0 +1,63 @@ +import { spawn } from "node:child_process"; + +import { err, ok, type Result } from "@uncaged/workflow"; + +export type SpawnCliError = + | { kind: "non_zero_exit"; exitCode: number | null; stdout: string; stderr: string } + | { kind: "timeout" } + | { kind: "spawn_failed"; message: string }; + +export function spawnCli( + command: string, + args: string[], + options: { cwd: string | null; timeoutMs: number | null }, +): Promise> { + return new Promise((resolve) => { + const child = spawn(command, args, { + cwd: options.cwd === null ? undefined : options.cwd, + shell: false, + stdio: ["ignore", "pipe", "pipe"], + }); + + let stdout = ""; + let stderr = ""; + child.stdout?.on("data", (chunk: Buffer) => { + stdout += chunk.toString(); + }); + child.stderr?.on("data", (chunk: Buffer) => { + stderr += chunk.toString(); + }); + + let timedOut = false; + let timeoutId: ReturnType | null = null; + if (options.timeoutMs !== null) { + timeoutId = setTimeout(() => { + timedOut = true; + child.kill("SIGTERM"); + }, options.timeoutMs); + } + + child.on("error", (cause) => { + if (timeoutId !== null) { + clearTimeout(timeoutId); + } + const message = cause instanceof Error ? cause.message : String(cause); + resolve(err({ kind: "spawn_failed", message })); + }); + + child.on("close", (code) => { + if (timeoutId !== null) { + clearTimeout(timeoutId); + } + if (timedOut) { + resolve(err({ kind: "timeout" })); + return; + } + if (code === 0) { + resolve(ok(stdout)); + return; + } + resolve(err({ kind: "non_zero_exit", exitCode: code, stdout, stderr })); + }); + }); +} diff --git a/packages/workflow-agent-hermes/src/types.ts b/packages/workflow-agent-hermes/src/types.ts new file mode 100644 index 0000000..d298848 --- /dev/null +++ b/packages/workflow-agent-hermes/src/types.ts @@ -0,0 +1,4 @@ +export type HermesAgentConfig = { + model: string | null; + timeout: number | null; +}; diff --git a/packages/workflow-agent-hermes/src/validate-config.ts b/packages/workflow-agent-hermes/src/validate-config.ts new file mode 100644 index 0000000..d3de272 --- /dev/null +++ b/packages/workflow-agent-hermes/src/validate-config.ts @@ -0,0 +1,10 @@ +import { err, ok, type Result } from "@uncaged/workflow"; + +import type { HermesAgentConfig } from "./types.js"; + +export function validateHermesAgentConfig(config: HermesAgentConfig): Result { + if (config.timeout !== null && config.timeout < 0) { + return err("timeout must be null or a non-negative number (milliseconds)"); + } + return ok(undefined); +} diff --git a/packages/workflow-agent-hermes/tsconfig.json b/packages/workflow-agent-hermes/tsconfig.json new file mode 100644 index 0000000..2816fef --- /dev/null +++ b/packages/workflow-agent-hermes/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "composite": true + }, + "include": ["src/**/*.ts"], + "references": [{ "path": "../workflow" }] +} diff --git a/packages/workflow-agent-hermes/tsconfig.tsbuildinfo b/packages/workflow-agent-hermes/tsconfig.tsbuildinfo new file mode 100644 index 0000000..a764e4b --- /dev/null +++ b/packages/workflow-agent-hermes/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"fileNames":["../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../workflow/dist/result.d.ts","../workflow/dist/base32.d.ts","../workflow/dist/bundle-validator.d.ts","../workflow/dist/types.d.ts","../workflow/dist/create-role-moderator.d.ts","../workflow/dist/logger.d.ts","../workflow/dist/engine.d.ts","../workflow/dist/workflow-descriptor.d.ts","../workflow/dist/extract-bundle-exports.d.ts","../workflow/dist/fork-thread.d.ts","../workflow/dist/generate-descriptor.d.ts","../workflow/dist/hash.d.ts","../workflow/dist/registry-types.d.ts","../workflow/dist/registry.d.ts","../workflow/dist/storage-root.d.ts","../workflow/dist/thread-pause-gate.d.ts","../workflow/dist/ulid.d.ts","../workflow/dist/worker-entry-path.d.ts","../workflow/dist/index.d.ts","./src/build-agent-prompt.ts","./src/spawn-cli.ts","./src/types.ts","./src/validate-config.ts","./src/index.ts"],"fileIdsList":[[76],[76,77,78,79,80],[76,79],[58],[61],[61,63],[58,61,65],[58,61],[65],[58,59,60,61,62,63,64,65,66,67,68,69,71,72,73,74,75],[58,70]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"4edc2a2b62429c384fb2ba139c39f1a43b96af5f93291c84a6ac9776b47c3ba1","impliedFormat":99},{"version":"992ded501959b1693fcb637eb5b48522988c0df853bfedc925bd6afc18eaaf77","impliedFormat":99},{"version":"d0836624fcdcbb735bf480f1deb714c3cab7a8ddeae1c35c6a35bb9e8a45e86d","impliedFormat":99},{"version":"b6927e1abf52466b51028c42e44bd88bfeb410fe2225f187e82bade88c3d76f4","impliedFormat":99},{"version":"c67c095283936c1daa6f531cb653de48bec38bfc76ded66313f9cdc9fa41fcae","impliedFormat":99},{"version":"b65685775336f2b8058b04b273f8f2017dc7ea83225d5a85dde2c99afbdf8ec8","impliedFormat":99},{"version":"92648e5ea3195972ce89424ecfa54e088936e2b7801433f61b2c5c72231ad684","impliedFormat":99},{"version":"233b4095d8e5a60d7d9f6fe73457c6e5294dc60a43ae5f672f753a21a317e53b","impliedFormat":99},{"version":"a504500068b08ac0c8dcf6c75ac80a563554cb64c39e1ba0e8afd5eb474deed3","impliedFormat":99},{"version":"7931a3f4da303db1ca82a4cfe29affeb359d366d36504a0e21fd6862877b0015","impliedFormat":99},{"version":"bb52fde5f53c0c1eb1a72d75cf46eafc305e1c54d90ddc236c91afbb2f3d93da","impliedFormat":99},{"version":"1477988abd65547d132126f335b380e200a0706dbc3a125d4ac6fe18dbc03d0e","impliedFormat":99},{"version":"ddb2b11c3b5b33a6ee5278623c73a0696cfd20e802f48f1a59d063bb91fca9f8","impliedFormat":99},{"version":"8c70d0ecaf6126ae97224e7293316a1146b7ed4eb438e09f60ed24c57ac6f6aa","impliedFormat":99},{"version":"d191748e209d788e576441214eea630e7bc4e777b1024216e7e753297f6806ee","impliedFormat":99},{"version":"248fdfcf1aa6df88c1affa05f5a6aa6b205d03d0da538592c266163fd005fddf","impliedFormat":99},{"version":"eaaf70ad623fd2e476a1ed926badde1dd18da4e193cec2f379add18189f0bf2e","impliedFormat":99},{"version":"e94b40901c0cfbd84af67c66cc6d431c17b6768db48c3d32afdb44cf67c530a8","impliedFormat":99},{"version":"18210800194d8bc2a06c704aa21fc5d5e56344f0a83ffdcfc6d5d39c7fb4755c","impliedFormat":99},{"version":"8d1a7dd74b0aad60d01a8865081364891abb310c9e26522bf1b6f55935323873","signature":"4f3a4f1b92fbf6a6919b44231ca472b0bcc9eec1294824653e08d48bc958fc32","impliedFormat":99},{"version":"85783f26c50c733538c43cae7548177e61a69d5415958ed1d696f08f6b5ff1b4","signature":"0e6d8849e85291637427c1f1798a5a98e5f26965bd5f5fc0948ea8942f494f22","impliedFormat":99},{"version":"20f29b8f7ae756a21c671eeee97516e03a104bb4f2d734f37a31f5d36cf8d5cc","signature":"94b001f7b61b7d6a20e20ca93a55ac84faaaf03dc3081708f96471be21d4527d","impliedFormat":99},{"version":"43c30cd66f10ec615a9743d7fae76ee42a9d9b764deb4c96a79d73ca833c7fe5","signature":"aa7b3b2a31e957fc9cf1b92e66f93993e08c65cedd724b8013cc316c83936876","impliedFormat":99},{"version":"e943c4fb150b7ddf6eb9b1b10398e3de043a7bc828ba3cb076fb2a53474dd10a","signature":"56e8a8d48dfe90e59a3a5841f7513656b9bc0da0dc6af7f1b7d000a254107276","impliedFormat":99}],"root":[[77,81]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[77,1],[81,2],[78,1],[80,3],[59,4],[60,4],[62,5],[64,6],[66,7],[67,8],[68,9],[76,10],[71,11],[73,4],[65,4]],"semanticDiagnosticsPerFile":[[78,[{"start":22,"length":20,"messageText":"Cannot find name 'node:child_process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":744,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":836,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":955,"length":10,"messageText":"Cannot find name 'setTimeout'. Did you mean 'timedOut'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'setTimeout'."},"relatedInformation":[{"start":900,"length":8,"messageText":"'timedOut' is declared here.","category":3,"code":2728}]},{"start":1038,"length":10,"messageText":"Cannot find name 'setTimeout'. Did you mean 'timedOut'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'setTimeout'."},"relatedInformation":[{"start":900,"length":8,"messageText":"'timedOut' is declared here.","category":3,"code":2728}]},{"start":1172,"length":5,"messageText":"Parameter 'cause' implicitly has an 'any' type.","category":1,"code":7006},{"start":1224,"length":12,"messageText":"Cannot find name 'clearTimeout'.","category":1,"code":2304},{"start":1422,"length":4,"messageText":"Parameter 'code' implicitly has an 'any' type.","category":1,"code":7006},{"start":1473,"length":12,"messageText":"Cannot find name 'clearTimeout'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./dist/index.d.ts","version":"6.0.2"} \ No newline at end of file diff --git a/packages/workflow-role-llm/tsconfig.tsbuildinfo b/packages/workflow-role-llm/tsconfig.tsbuildinfo new file mode 100644 index 0000000..3a953e1 --- /dev/null +++ b/packages/workflow-role-llm/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"fileNames":["../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../workflow/dist/result.d.ts","../workflow/dist/base32.d.ts","../workflow/dist/bundle-validator.d.ts","../workflow/dist/types.d.ts","../workflow/dist/create-role-moderator.d.ts","../workflow/dist/logger.d.ts","../workflow/dist/engine.d.ts","../workflow/dist/workflow-descriptor.d.ts","../workflow/dist/extract-bundle-exports.d.ts","../workflow/dist/fork-thread.d.ts","../workflow/dist/generate-descriptor.d.ts","../workflow/dist/hash.d.ts","../workflow/dist/registry-types.d.ts","../workflow/dist/registry.d.ts","../workflow/dist/storage-root.d.ts","../workflow/dist/thread-pause-gate.d.ts","../workflow/dist/ulid.d.ts","../workflow/dist/worker-entry-path.d.ts","../workflow/dist/index.d.ts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/json-schema.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/standard-schema.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/registries.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/util.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/versions.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/schemas.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/checks.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/errors.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/core.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/parse.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/regexes.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ar.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/az.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/be.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/bg.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ca.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/cs.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/da.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/de.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/el.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/en.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/eo.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/es.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/fa.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/fi.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/fr.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/fr-CA.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/he.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/hr.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/hu.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/hy.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/id.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/is.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/it.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ja.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ka.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/kh.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/km.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ko.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/lt.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/mk.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ms.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/nl.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/no.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ota.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ps.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/pl.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/pt.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ro.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ru.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/sl.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/sv.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ta.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/th.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/tr.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ua.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/uk.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ur.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/uz.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/vi.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/zh-CN.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/zh-TW.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/yo.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/index.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/doc.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/api.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/json-schema-generator.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/index.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/errors.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/parse.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/schemas.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/checks.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/compat.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/from-json-schema.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/iso.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/coerce.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/external.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/index.d.cts","../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/index.d.cts","./src/build-descriptor.ts","./src/types.ts","./src/create-llm-adapter.ts","./src/schema-defaults.ts","./src/llm-extract.ts","./src/create-role.ts","./src/decorators.ts","./src/index.ts"],"fileIdsList":[[146],[146,149],[81,141,144,146,147,148,149,150,151,152,153,154],[77,79,149],[155],[146,147],[78,146,148],[79,81,83,84,85,86],[81,83,85,86],[81,83,85],[78,81,83,84,86],[77,79,80,81,82,83,84,85,86,87,88,141,142,143,144,145],[77,79,80,83],[79,80,83],[83,86],[77,78,80,81,82,84,85,86],[77,78,79,83,146],[83,84,85,86],[156],[85],[89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140],[76,157],[76,159],[76,157,159,162],[76],[158,159,160,161,162,163,164],[76,157,159,161],[157],[58],[61],[61,63],[58,61,65],[58,61],[65],[58,59,60,61,62,63,64,65,66,67,68,69,71,72,73,74,75],[58,70]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"4edc2a2b62429c384fb2ba139c39f1a43b96af5f93291c84a6ac9776b47c3ba1","impliedFormat":99},{"version":"992ded501959b1693fcb637eb5b48522988c0df853bfedc925bd6afc18eaaf77","impliedFormat":99},{"version":"d0836624fcdcbb735bf480f1deb714c3cab7a8ddeae1c35c6a35bb9e8a45e86d","impliedFormat":99},{"version":"b6927e1abf52466b51028c42e44bd88bfeb410fe2225f187e82bade88c3d76f4","impliedFormat":99},{"version":"c67c095283936c1daa6f531cb653de48bec38bfc76ded66313f9cdc9fa41fcae","impliedFormat":99},{"version":"b65685775336f2b8058b04b273f8f2017dc7ea83225d5a85dde2c99afbdf8ec8","impliedFormat":99},{"version":"92648e5ea3195972ce89424ecfa54e088936e2b7801433f61b2c5c72231ad684","impliedFormat":99},{"version":"233b4095d8e5a60d7d9f6fe73457c6e5294dc60a43ae5f672f753a21a317e53b","impliedFormat":99},{"version":"a504500068b08ac0c8dcf6c75ac80a563554cb64c39e1ba0e8afd5eb474deed3","impliedFormat":99},{"version":"7931a3f4da303db1ca82a4cfe29affeb359d366d36504a0e21fd6862877b0015","impliedFormat":99},{"version":"bb52fde5f53c0c1eb1a72d75cf46eafc305e1c54d90ddc236c91afbb2f3d93da","impliedFormat":99},{"version":"1477988abd65547d132126f335b380e200a0706dbc3a125d4ac6fe18dbc03d0e","impliedFormat":99},{"version":"ddb2b11c3b5b33a6ee5278623c73a0696cfd20e802f48f1a59d063bb91fca9f8","impliedFormat":99},{"version":"8c70d0ecaf6126ae97224e7293316a1146b7ed4eb438e09f60ed24c57ac6f6aa","impliedFormat":99},{"version":"d191748e209d788e576441214eea630e7bc4e777b1024216e7e753297f6806ee","impliedFormat":99},{"version":"248fdfcf1aa6df88c1affa05f5a6aa6b205d03d0da538592c266163fd005fddf","impliedFormat":99},{"version":"eaaf70ad623fd2e476a1ed926badde1dd18da4e193cec2f379add18189f0bf2e","impliedFormat":99},{"version":"e94b40901c0cfbd84af67c66cc6d431c17b6768db48c3d32afdb44cf67c530a8","impliedFormat":99},{"version":"18210800194d8bc2a06c704aa21fc5d5e56344f0a83ffdcfc6d5d39c7fb4755c","impliedFormat":99},{"version":"c1a2e05eb6d7ca8d7e4a7f4c93ccf0c2857e842a64c98eaee4d85841ee9855e6","impliedFormat":1},{"version":"835fb2909ce458740fb4a49fc61709896c6864f5ce3db7f0a88f06c720d74d02","impliedFormat":1},{"version":"6e5857f38aa297a859cab4ec891408659218a5a2610cd317b6dcbef9979459cc","impliedFormat":1},{"version":"ead8e39c2e11891f286b06ae2aa71f208b1802661fcdb2425cffa4f494a68854","impliedFormat":1},{"version":"40ba6c32eb732a09e4446ade5cb6ad0c147f186f9c9dc6878b90b4418ad9f6ea","impliedFormat":1},{"version":"fdd814741843f85c98281522c58f5a646590ba9019fad2efaa95987655e0611b","impliedFormat":1},{"version":"c78aff4fb58b28b8f642d5095fc7eeb79f00e652a67caa19693af1adabb833c9","impliedFormat":1},{"version":"f80a08ced8818dc99359c0acd5b3f12762e1ce53758007759b0d4e503cbf4a5e","impliedFormat":1},{"version":"37935fa7564bcc6e0bc845b766a24391098d26f7c8245d6e8ab37bc016816e94","impliedFormat":1},{"version":"68add36d9632bc096d7245d24d6b0b8ad5f125183016102a3dad4c9c2438ccb0","impliedFormat":1},{"version":"3a819c2928ee06bbcc84e2797fd3558ae2ebb7e0ed8d87f71732fb2e2acc87b4","impliedFormat":1},{"version":"0f8a263f4c8595c8a07de52e3f3927640c44386c1aa2984de9eae50d75e613b2","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"346fffde7c32da87c2196eb7494422449dc2ca82d3b4e6bf55be1d1a33ffc2b0","impliedFormat":1},{"version":"add0ce7b77ba5b308492fa68f77f24d1ed1d9148534bdf05ac17c30763fc1a79","impliedFormat":1},{"version":"8b5875e4958528042103fdd775e106a7f76bafc29709f0690df9a7d2241d52a7","impliedFormat":1},{"version":"2f67911e4bf4e0717dc2ded248ce2d5e4398d945ee13889a6852c1233ea41508","impliedFormat":1},{"version":"d8430c275b0f59417ea8e173cfb888a4477b430ec35b595bf734f3ec7a7d729f","impliedFormat":1},{"version":"69364df1c776372d7df1fb46a6cb3a6bf7f55e700f533a104e3f9d70a32bec18","impliedFormat":1},{"version":"6042774c61ece4ba77b3bf375f15942eb054675b7957882a00c22c0e4fe5865c","impliedFormat":1},{"version":"5a3bd57ed7a9d9afef74c75f77fce79ba3c786401af9810cdf45907c4e93f30e","impliedFormat":1},{"version":"aef26cf95593c8ace1c62c4724f9afac77bdfa756fb8a00613cd152117cb2f43","impliedFormat":1},{"version":"30db853bb2e60170ba11e39ab48bacecb32d06d4def89eedf17e58ebab762a65","impliedFormat":1},{"version":"e27451b24234dfed45f6cf22112a04955183a99c42a2691fb4936d63cfe42761","impliedFormat":1},{"version":"2316301dd223d31962d917999acf8e543e0119c5d24ec984c9f22cb23247160c","impliedFormat":1},{"version":"58d65a2803c3b6629b0e18c8bf1bc883a686fcf0333230dd0151ab6e85b74307","impliedFormat":1},{"version":"e818471014c77c103330aee11f00a7a00b37b35500b53ea6f337aefacd6174c9","impliedFormat":1},{"version":"268fd6d9f2e807a39a6c5aa654b00f949feb63d3faa7dd0f9bba7dde9172159c","impliedFormat":1},{"version":"d8bc0c5487582c6d887c32c92d8b4ffb23310146fcb1d82adf4b15c77f57c4ac","impliedFormat":1},{"version":"8cb31102790372bebfd78dd56d6752913b0f3e2cefbeb08375acd9f5ba737155","impliedFormat":1},{"version":"39dbf68e9257540ed23a0001ae1619fd5bd9ce8005d3d7ee658a4f5a18d8090c","signature":"d4e310694c372ce4292ebd759a15337719adf891306232c5bf4475e30a4ca9dd","impliedFormat":99},{"version":"13240e792e5af68a4a1e6898b9a3c7019900cb8b42ece61a0b2773ab64976384","signature":"087230be51288e212007181824b22fcf6867fda24cd3ad6f17b52cd332858ef5","impliedFormat":99},{"version":"8c2e140db18f51f298a51999ed01a579247c597add9121cc5cda380a9503e3df","signature":"d6519a54f1d28ef2db4f1ca5258cc4ba5b52d1e139e7b25c433c84bd037a0afd","impliedFormat":99},{"version":"5365311d3ef8fb9746b280e2ee218b3ccae0baae44ba4033a7ded29a530e0bb4","signature":"8176bd99a93025a82c5a0ae1a8bdd8c1bcfbe1353cb4690f207cebe04b096672","impliedFormat":99},{"version":"f39cb80c8d1b3af6eb9b41e2abaad1405f0518fb4ea41a3d99c0a9d4c8642e47","signature":"2cebc60619494159ff0b30baeab7cb5eaeb67eb0a3c0ca9737f92a5adf4b9e9d","impliedFormat":99},{"version":"55f6391a7687731f61aefcc54f0886d4a5b39b035a0776cb000d29e13a09f404","signature":"36da05b0412a59fbd53a1dcaa0ebf605583cbfd1b50882e46532b9812899eeeb","impliedFormat":99},{"version":"5661fbeaa72d9ff30ab3f90187b7c5d70a8bf583045c386e4bf1854d2eeb4542","signature":"0944927dd803944ac8d525747401524841b425a08703bfe3325c6d15de9dbbca","impliedFormat":99},{"version":"640e5c85d2d08a8592085fbfa90e1e959c4a3ea602d681c82632e0967dbe2b8a","signature":"2b44ab9eccdadc7fb1d6beefb3531b47def7b5afb072eb7afd619e1b6173a248","impliedFormat":99}],"root":[[158,165]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[150,1],[154,2],[151,2],[147,1],[155,3],[152,4],[156,5],[153,2],[148,6],[149,7],[143,8],[84,9],[86,10],[85,11],[146,12],[145,13],[144,14],[87,9],[79,15],[83,16],[80,17],[81,18],[157,19],[89,20],[90,20],[91,20],[92,20],[93,20],[94,20],[95,20],[96,20],[97,20],[98,20],[99,20],[100,20],[101,20],[102,20],[104,20],[103,20],[105,20],[106,20],[107,20],[108,20],[109,20],[141,21],[110,20],[111,20],[112,20],[113,20],[114,20],[115,20],[116,20],[117,20],[118,20],[119,20],[120,20],[121,20],[122,20],[124,20],[123,20],[125,20],[126,20],[127,20],[128,20],[129,20],[130,20],[131,20],[132,20],[133,20],[134,20],[135,20],[136,20],[137,20],[140,20],[138,20],[139,20],[158,22],[160,23],[163,24],[164,25],[165,26],[162,27],[161,28],[159,28],[59,29],[60,29],[62,30],[64,31],[66,32],[67,33],[68,34],[76,35],[71,36],[73,29],[65,29]],"semanticDiagnosticsPerFile":[[160,[{"start":925,"length":8,"messageText":"Cannot find name 'Response'.","category":1,"code":2304},{"start":964,"length":5,"messageText":"Cannot find name 'fetch'.","category":1,"code":2304}]],[161,[{"start":4913,"length":4,"messageText":"Cannot find name 'File'.","category":1,"code":2304}]],[162,[{"start":5076,"length":8,"messageText":"Cannot find name 'Response'.","category":1,"code":2304},{"start":5115,"length":5,"messageText":"Cannot find name 'fetch'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./dist/index.d.ts","version":"6.0.2"} \ No newline at end of file diff --git a/packages/workflow/tsconfig.tsbuildinfo b/packages/workflow/tsconfig.tsbuildinfo new file mode 100644 index 0000000..3ab6c26 --- /dev/null +++ b/packages/workflow/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"fileNames":["../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../.local/share/npm/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/result.ts","./src/base32.ts","../../node_modules/.bun/acorn@8.16.0/node_modules/acorn/dist/acorn.d.mts","./src/bundle-validator.ts","./src/types.ts","./src/create-role-moderator.ts","./src/logger.ts","./src/engine.ts","./src/workflow-descriptor.ts","./src/extract-bundle-exports.ts","./src/fork-thread.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/line-counter.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/errors.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/doc/applyReviver.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/log.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/toJS.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Scalar.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/stringify/stringify.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Collection.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/YAMLSeq.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/types.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/common/map.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/common/seq.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/common/string.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/stringify/foldFlowLines.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyNumber.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyString.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/util.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/YAMLMap.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/identity.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/Schema.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/doc/createNode.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Pair.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/tags.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/options.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Node.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/cst-scalar.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/cst-stringify.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/cst-visit.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/cst.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/nodes/Alias.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/doc/Document.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/doc/directives.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/compose/composer.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/lexer.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/parse/parser.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/public-api.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/visit.d.ts","../../node_modules/.bun/yaml@2.8.4/node_modules/yaml/dist/index.d.ts","./src/generate-descriptor.ts","./src/hash.ts","./src/registry-types.ts","./src/registry-normalize.ts","./src/registry.ts","./src/storage-root.ts","./src/thread-pause-gate.ts","./src/ulid.ts","./src/worker-entry-path.ts","./src/index.ts","./src/worker.ts"],"fileIdsList":[[70,93,94,98,100,101],[70,74,77,86,87,88,91,93,94,99,101],[78,88,94,100],[100],[69],[69,70,74,77,78,86,87,88,91,92,93,94,98,99,100,102,103,104,105,106,107,108],[73,74,75,77,86,94,98,100],[87,88,94],[73,74,75,77,86,87,93,98,99,100],[73,75,87,88,89,90,94,98],[73,94,98],[73,74,75,76,85,88,91,94,98],[73,74,75,76,88,89,91,94,98],[73,86,91],[74,77,86,91,94,99,100],[94,100],[69,71,72,74,78,88,91,92,94,101],[70,74,94,98],[98],[95,96,97],[71,93,94,100,102],[78,87,91,93],[78],[78,93],[74,75,77,86,88,89,93,94],[73,77,78,85,86,88],[73,74,75,78,85,86,88,91],[93,99,100],[74],[74,75],[72,73,75,79,80,81,82,83,84,86,89,91],[58],[58,60],[62],[62,64],[58,62,66],[58,62],[66,109],[59],[58,59,61,62,63,64,65,66,67,68,110,111,114,115,116,117,118],[58,112],[58,109,112,113],[58,62,64,65,116]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"87133f1b4ce2ebc15ba81a7dc6d39dba11796525a4ab3db6044a14026ab892c8","signature":"4edc2a2b62429c384fb2ba139c39f1a43b96af5f93291c84a6ac9776b47c3ba1","impliedFormat":99},{"version":"7701e7177426f6f7c28feb32f654d6ee64ffa2199503e85cea9880abd542f4de","signature":"992ded501959b1693fcb637eb5b48522988c0df853bfedc925bd6afc18eaaf77","impliedFormat":99},{"version":"d7c9a381dab2b83a38bae15fcf5c6e04ebac46770d4b18a05044fbe64833b73e","impliedFormat":99},{"version":"286232b60d392b4a2e1036164bcc8b8de5dcd096b3c9cd5d4047fd1c6d242643","signature":"d0836624fcdcbb735bf480f1deb714c3cab7a8ddeae1c35c6a35bb9e8a45e86d","impliedFormat":99},{"version":"abd29fbdbb5f1b10382a306e09fd3c50a0c7c4537edca26da9441827f7c9d8f7","signature":"b6927e1abf52466b51028c42e44bd88bfeb410fe2225f187e82bade88c3d76f4","impliedFormat":99},{"version":"0d5b05ed310f51fb82e7cf0e3d34f083bba2e3eefeaad31fa5c841a87e766f69","signature":"c67c095283936c1daa6f531cb653de48bec38bfc76ded66313f9cdc9fa41fcae","impliedFormat":99},{"version":"2268ba8387d1908209514be083af0f00ea19e2af0d1b0e06de982334e5611819","signature":"b65685775336f2b8058b04b273f8f2017dc7ea83225d5a85dde2c99afbdf8ec8","impliedFormat":99},{"version":"15ee413bc262b4a90b0d56ebe48720d34b14354b3793c7ac90a402d34a1e4f17","signature":"92648e5ea3195972ce89424ecfa54e088936e2b7801433f61b2c5c72231ad684","impliedFormat":99},{"version":"fdeffffcc42d055b548a3d8e611f8616430b86b6f8cc419ddb343b4abe2d1f3d","signature":"233b4095d8e5a60d7d9f6fe73457c6e5294dc60a43ae5f672f753a21a317e53b","impliedFormat":99},{"version":"1880d659164460c2b76b91a2a3b818cb991b6835aecd01c225a8125669ee587f","signature":"a504500068b08ac0c8dcf6c75ac80a563554cb64c39e1ba0e8afd5eb474deed3","impliedFormat":99},{"version":"27650f9410b6c84438b4a7ab79441c88e09551fb153280ceb889e4d161a44b96","signature":"7931a3f4da303db1ca82a4cfe29affeb359d366d36504a0e21fd6862877b0015","impliedFormat":99},{"version":"3dfcd0a3bfa70b53135db3cf2e4ddcb7eccc3e4418ce833ae24eecd06928328f","impliedFormat":1},{"version":"bea7cae6a8b2d41fd1a9d70475b54d741dd7ca2103904934858108eec0336a69","impliedFormat":1},{"version":"bc41a8e33caf4d193b0c49ec70d1e8db5ce3312eafe5447c6c1d5a2084fece12","impliedFormat":1},{"version":"7c33f11a56ba4e79efc4ddae85f8a4a888e216d2bf66c863f344d403437ffc74","impliedFormat":1},{"version":"cbef1abd1f8987dee5c9ed8c768a880fbfbff7f7053e063403090f48335c8e4e","impliedFormat":1},{"version":"afb5e9a110ff72b60783e0fe65ce1a28adbe6ab5f30d2dc31e2fb099e0f86de4","impliedFormat":1},{"version":"0132f67b7f128d4a47324f48d0918ec73cf4220a5e9ea8bd92b115397911254f","impliedFormat":1},{"version":"06b37153d512000a91cad6fcbae75ca795ecec00469effaa8916101a00d5b9e2","impliedFormat":1},{"version":"8a641e3402f2988bf993007bd814faba348b813fc4058fce5b06de3e81ed511a","impliedFormat":1},{"version":"281744305ba2dcb2d80e2021fae211b1b07e5d85cfc8e36f4520325fcf698dbb","impliedFormat":1},{"version":"e1b042779d17b69719d34f31822ddba8aa6f5eb15f221b02105785f4447e7f5b","impliedFormat":1},{"version":"6858337936b90bd31f1674c43bedda2edbab2a488d04adc02512aef47c792fd0","impliedFormat":1},{"version":"15cb3deecc635efb26133990f521f7f1cc95665d5db8d87e5056beaea564b0ce","impliedFormat":1},{"version":"e27605c8932e75b14e742558a4c3101d9f4fdd32e7e9a056b2ca83f37f973945","impliedFormat":1},{"version":"f0443725119ecde74b0d75c82555b1f95ee1c3cd371558e5528a83d1de8109de","impliedFormat":1},{"version":"7794810c4b3f03d2faa81189504b953a73eb80e5662a90e9030ea9a9a359a66f","impliedFormat":1},{"version":"b074516a691a30279f0fe6dff33cd76359c1daacf4ae024659e44a68756de602","impliedFormat":1},{"version":"57cbeb55ec95326d068a2ce33403e1b795f2113487f07c1f53b1eaf9c21ff2ce","impliedFormat":1},{"version":"a00362ee43d422bcd8239110b8b5da39f1122651a1809be83a518b1298fa6af8","impliedFormat":1},{"version":"a820499a28a5fcdbf4baec05cc069362041d735520ab5a94c38cc44db7df614c","impliedFormat":1},{"version":"33a6d7b07c85ac0cef9a021b78b52e2d901d2ebfd5458db68f229ca482c1910c","impliedFormat":1},{"version":"8f648847b52020c1c0cdfcc40d7bcab72ea470201a631004fde4d85ccbc0c4c7","impliedFormat":1},{"version":"7821d3b702e0c672329c4d036c7037ecf2e5e758eceb5e740dde1355606dc9f2","impliedFormat":1},{"version":"213e4f26ee5853e8ba314ecad3a73cd06ab244a0809749bb777cbc1619aa07d8","impliedFormat":1},{"version":"1720be851bdb7cdbff68061522a71d9ddaa69db1fe90c6819a26953da05942f2","impliedFormat":1},{"version":"961fa18e1658f3f8e38c23e1a9bc3f4d7be75b056a94700291d5f82f57524ff0","impliedFormat":1},{"version":"079c02dc397960da2786db71d7c9e716475377bcedd81dede034f8a9f94c71b8","impliedFormat":1},{"version":"a7595cbb1b354b54dff14a6bb87d471e6d53b63de101a1b4d9d82d3d3f6eddec","impliedFormat":1},{"version":"1f49a85a97e01a26245fd74232b3b301ebe408fb4e969e72e537aa6ffbd3fe14","impliedFormat":1},{"version":"9c38563e4eabfffa597c4d6b9aa16e11e7f9a636f0dd80dd0a8bce1f6f0b2108","impliedFormat":1},{"version":"a971cba9f67e1c87014a2a544c24bc58bad1983970dfa66051b42ae441da1f46","impliedFormat":1},{"version":"df9b266bceb94167c2e8ae25db37d31a28de02ae89ff58e8174708afdec26738","impliedFormat":1},{"version":"9e5b8137b7ee679d31b35221503282561e764116d8b007c5419b6f9d60765683","impliedFormat":1},{"version":"3e7ae921a43416e155d7bbe5b4229b7686cfa6a20af0a3ae5a79dfe127355c21","impliedFormat":1},{"version":"c7200ae85e414d5ed1d3c9507ae38c097050161f57eb1a70bef021d796af87a7","impliedFormat":1},{"version":"4edb4ff36b17b2cf19014b2c901a6bdcdd0d8f732bcf3a11aa6fd0a111198e27","impliedFormat":1},{"version":"810f0d14ce416a343dcdd0d3074c38c094505e664c90636b113d048471c292e2","impliedFormat":1},{"version":"9c37dc73c97cd17686edc94cc534486509e479a1b8809ef783067b7dde5c6713","impliedFormat":1},{"version":"5fe2ef29b33889d3279d5bc92f8e554ffd32145a02f48d272d30fc1eea8b4c89","impliedFormat":1},{"version":"e39090ffe9c45c59082c3746e2aa2546dc53e3c5eeb4ad83f8210be7e2e58022","impliedFormat":1},{"version":"9f85a1810d42f75e1abb4fc94be585aae1fdac8ae752c76b912d95aef61bf5de","impliedFormat":1},{"version":"f0e87ad4368755d78cb1a4730de2483bc49ae458161b04886cbc814d8f49e54f","signature":"bb52fde5f53c0c1eb1a72d75cf46eafc305e1c54d90ddc236c91afbb2f3d93da","impliedFormat":99},{"version":"461ec37b63e22bc425a7579d8fd5b4d0de1de499e11d411720b0cbc2ce204092","signature":"1477988abd65547d132126f335b380e200a0706dbc3a125d4ac6fe18dbc03d0e","impliedFormat":99},{"version":"403e96698fcd2da07d7988dbf1afbe18fc9d171081476f2c2faeca7a62b33b04","signature":"ddb2b11c3b5b33a6ee5278623c73a0696cfd20e802f48f1a59d063bb91fca9f8","impliedFormat":99},{"version":"de993f1a23192c31b7c24423a1a7ae649b4e7c5ff65a1aaebfcc335a6a676d03","signature":"16e5476dca32f97da1088364cb73f10acd12065d817dca6a09d825c1f34c1a1a","impliedFormat":99},{"version":"b852654e3cc2a32d6564b271db88fba16167ecf87ba23f357826f3f9bc845ee0","signature":"8c70d0ecaf6126ae97224e7293316a1146b7ed4eb438e09f60ed24c57ac6f6aa","impliedFormat":99},{"version":"da91fb944d6fbb7ec9f114a283031a639776f06eaa68d09db466a6796d52aaf5","signature":"d191748e209d788e576441214eea630e7bc4e777b1024216e7e753297f6806ee","impliedFormat":99},{"version":"0d48f2a01a20684fdd2f0d5dab85affac290827382ad2de9b98cc12a2f002d8a","signature":"248fdfcf1aa6df88c1affa05f5a6aa6b205d03d0da538592c266163fd005fddf","impliedFormat":99},{"version":"5c02f65e95a750965a6fed481334fcbd0fb3efc12501d6a0a1d9c8e1aa576551","signature":"eaaf70ad623fd2e476a1ed926badde1dd18da4e193cec2f379add18189f0bf2e","impliedFormat":99},{"version":"22f283d7bd8b9afc29863c18f75ad9efd0cb7cc8815879777dda8e48554f2b84","signature":"e94b40901c0cfbd84af67c66cc6d431c17b6768db48c3d32afdb44cf67c530a8","impliedFormat":99},{"version":"f2a98350dcea6388c60a533e4973cd16d514154c25a29111809c5beb322a7ff6","signature":"18210800194d8bc2a06c704aa21fc5d5e56344f0a83ffdcfc6d5d39c7fb4755c","impliedFormat":99},{"version":"a9d2ef07d97e910de29405a69faba0bf8fe52684f471df5926dc2bf534bb730f","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99}],"root":[58,59,[61,68],[110,120]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[102,1],[100,2],[89,3],[101,4],[70,5],[109,6],[99,7],[76,8],[94,9],[91,10],[74,11],[86,12],[77,13],[90,14],[87,15],[73,16],[93,17],[95,18],[96,19],[97,19],[98,20],[104,19],[105,21],[88,22],[79,23],[80,23],[81,23],[92,24],[78,25],[106,26],[107,27],[75,28],[83,29],[84,30],[85,31],[108,15],[59,32],[61,33],[63,34],[65,35],[67,36],[68,37],[110,38],[111,39],[119,40],[64,39],[113,41],[114,42],[116,32],[117,39],[120,43],[66,32]],"semanticDiagnosticsPerFile":[[61,[{"start":26,"length":13,"messageText":"Cannot find name 'node:module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":1378,"length":31,"code":2352,"category":1,"messageText":{"messageText":"Conversion of type 'Node' to type 'Record' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.","category":1,"code":2352,"next":[{"messageText":"Index signature for type 'string' is missing in type 'Node'.","category":1,"code":2329}]}},{"start":7612,"length":5,"code":2339,"category":1,"messageText":"Property 'value' does not exist on type 'Node'."},{"start":7668,"length":5,"code":2339,"category":1,"messageText":"Property 'value' does not exist on type 'Node'."},{"start":9479,"length":4,"code":2379,"category":1,"messageText":{"messageText":"Argument of type 'Node' is not assignable to parameter of type 'ImportDeclaration' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.","category":1,"code":2379,"next":[{"messageText":"Type 'Node' is missing the following properties from type 'ImportDeclaration': specifiers, source, attributes","category":1,"code":2739}]}},{"start":9580,"length":4,"code":2379,"category":1,"messageText":{"messageText":"Argument of type 'Node' is not assignable to parameter of type 'ExportNamedDeclaration' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.","category":1,"code":2379,"next":[{"messageText":"Type 'Node' is missing the following properties from type 'ExportNamedDeclaration': specifiers, attributes","category":1,"code":2739}]}},{"start":9677,"length":4,"code":2379,"category":1,"messageText":{"messageText":"Argument of type 'Node' is not assignable to parameter of type 'ExportAllDeclaration' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.","category":1,"code":2379,"next":[{"messageText":"Type 'Node' is missing the following properties from type 'ExportAllDeclaration': source, attributes","category":1,"code":2739}]}},{"start":9759,"length":4,"code":2379,"category":1,"messageText":{"messageText":"Argument of type 'Node' is not assignable to parameter of type 'CallExpression' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.","category":1,"code":2379,"next":[{"messageText":"Type 'Node' is missing the following properties from type 'CallExpression': callee, arguments, optional","category":1,"code":2739}]}}]],[63,[{"start":1923,"length":3,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'ThreadContext' is not assignable to parameter of type 'ThreadContext'.","category":1,"code":2345,"next":[{"messageText":"Type 'RoleMeta' is not assignable to type 'M'.","category":1,"code":2322,"next":[{"messageText":"'RoleMeta' is assignable to the constraint of type 'M', but 'M' could be instantiated with a different subtype of constraint 'RoleMeta'.","category":1,"code":5075}]}]}}]],[64,[{"start":31,"length":9,"messageText":"Cannot find name 'node:fs'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":1290,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[65,[{"start":34,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":78,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":681,"length":11,"messageText":"Cannot find name 'AbortSignal'.","category":1,"code":2304}]],[67,[{"start":30,"length":10,"messageText":"Cannot find name 'node:url'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[111,[{"start":23,"length":13,"messageText":"Cannot find name 'node:buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":55,"length":10,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'xxhashjs'. '/home/azureuser/repos/uncaged-workflow/node_modules/.bun/xxhashjs@0.2.2/node_modules/xxhashjs/lib/index.js' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"xxhashjs","mode":99}}]}}]],[114,[{"start":43,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":93,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":1526,"length":6,"messageText":"Cannot find namespace 'NodeJS'.","category":1,"code":2503}]],[115,[{"start":24,"length":9,"messageText":"Cannot find name 'node:os'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":56,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]],[117,[{"start":191,"length":6,"messageText":"Cannot find name 'crypto'.","category":1,"code":2304}]],[118,[{"start":30,"length":10,"messageText":"Cannot find name 'node:url'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":201,"length":3,"messageText":"Cannot find name 'URL'.","category":1,"code":2304},{"start":232,"length":3,"code":2339,"category":1,"messageText":"Property 'url' does not exist on type 'ImportMeta'."}]],[120,[{"start":41,"length":18,"messageText":"Cannot find name 'node:fs/promises'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":103,"length":10,"messageText":"Cannot find name 'node:net'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":145,"length":11,"messageText":"Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":188,"length":10,"messageText":"Cannot find name 'node:url'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":1290,"length":15,"messageText":"Cannot find name 'AbortController'.","category":1,"code":2304},{"start":6848,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":7494,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":7533,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":7565,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":7841,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":8248,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":8429,"length":10,"messageText":"Cannot find name 'setTimeout'.","category":1,"code":2304},{"start":8609,"length":12,"messageText":"Cannot find name 'clearTimeout'.","category":1,"code":2304},{"start":8762,"length":10,"messageText":"Cannot find name 'setTimeout'.","category":1,"code":2304},{"start":8837,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":9943,"length":15,"messageText":"Cannot find name 'AbortController'.","category":1,"code":2304},{"start":11451,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":11486,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":11705,"length":6,"messageText":"Parameter 'socket' implicitly has an 'any' type.","category":1,"code":7006},{"start":12063,"length":6,"messageText":"Parameter 'errObj' implicitly has an 'any' type.","category":1,"code":7006},{"start":12147,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":12436,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591},{"start":12472,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.","category":1,"code":2591}]]],"latestChangedDtsFile":"./dist/worker.d.ts","version":"6.0.2"} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 5e2a04e..1dd8c4e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,6 +18,8 @@ "references": [ { "path": "packages/workflow" }, { "path": "packages/workflow-role-llm" }, + { "path": "packages/workflow-agent-cursor" }, + { "path": "packages/workflow-agent-hermes" }, { "path": "packages/cli-workflow" } ] }