{"_id":"@bpmnkit/casen-worker-ai","_rev":"10-82ec05b2949437f8222f8c3ebc001b42","name":"@bpmnkit/casen-worker-ai","dist-tags":{"latest":"0.1.11"},"versions":{"0.1.0":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.0","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.0","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"af6669c2dbc095464f3f70c41ee7098a305d4f71","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.0.tgz","fileCount":70,"integrity":"sha512-mCJrfSGnT6ktaIBFcgzGGS4MckpRXEIf+CuTX1WAlgDIQe5Wv5imz7SMMY/Rd8nQcjxxn7nTnKqMh6fNeDAT0g==","signatures":[{"sig":"MEUCIHHmfrVU/jzJv0w9eINy8z3eZvKkBm5v+gFcvBy5TqtVAiEA61LQVQcxFso8KvihhWsqQBCXPvVfwe8B3CGlXKfpTf8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":277287},"main":"./dist/index.js","type":"module","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4ffe6c2fcc1eecf42da5b8cbfd13d1ee126307a2","private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"urbanisierung","email":"adam.urban@gmail.com"},"repository":{"url":"git+https://github.com/bpmnkit/monorepo.git","type":"git"},"_npmVersion":"11.6.1","description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"_nodeVersion":"24.11.0","dependencies":{"@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.0_1774197830477_0.04974224122536519","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.3","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.3","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"50b4819499abc12a32b146eb1474d7685549564c","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.3.tgz","fileCount":67,"integrity":"sha512-JBxltiDh7CplRBK5NclRvdthNgRcK0Ne2vzqpWrrK2zCXQGtvoAD1pSwkDVKO+GFec+dRqUvTR5KNxEePlDDbg==","signatures":[{"sig":"MEUCICwRUvUM31zZrK1LwinhAZnfm0xb8Zv7vboCeEG70HTZAiEAzHNOswc2DolbBbqpJIkaHr2qlbJNqod3fuqPyGnXYT4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":279163},"main":"./dist/index.js","type":"module","_from":"file:bpmnkit-casen-worker-ai-0.1.3.tgz","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"_resolved":"/tmp/fc7bd2ab9b332297299d705e7526a7cb/bpmnkit-casen-worker-ai-0.1.3.tgz","_integrity":"sha512-JBxltiDh7CplRBK5NclRvdthNgRcK0Ne2vzqpWrrK2zCXQGtvoAD1pSwkDVKO+GFec+dRqUvTR5KNxEePlDDbg==","repository":{"url":"git+https://github.com/bpmnkit/monorepo.git","type":"git"},"_npmVersion":"11.11.0","description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"0.0.5"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.3_1775149517764_0.7417785688706207","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.4","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.4","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"7f6e1075c9391c717381a857af417f2552adf956","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.4.tgz","fileCount":67,"integrity":"sha512-Va6Ng8FPfEd5XZT5jlvKUkxLz1gZQFxHYmOZ/H7xiOe19c2kbb0FpdukWpBguWPwCBtHaEQQhYQv0DXWvoOFNw==","signatures":[{"sig":"MEUCIAX48tBUaemk3KYXkVmcESQbMIqjyfnnqHfAvBJwBqmNAiEAtsKF6y0q4ACLZg+oxnqJVqEWoiSnlL0yVNMzuNrin5I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":279671},"main":"./dist/index.js","type":"module","_from":"file:bpmnkit-casen-worker-ai-0.1.4.tgz","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"_resolved":"/tmp/dd9dde2b4a92e78805d6a3499ec47cd5/bpmnkit-casen-worker-ai-0.1.4.tgz","_integrity":"sha512-Va6Ng8FPfEd5XZT5jlvKUkxLz1gZQFxHYmOZ/H7xiOe19c2kbb0FpdukWpBguWPwCBtHaEQQhYQv0DXWvoOFNw==","repository":{"url":"git+https://github.com/bpmnkit/monorepo.git","type":"git"},"_npmVersion":"11.11.0","description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.4_1775310678332_0.8162899179506589","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.5","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.5","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"86f2e9fbacafa5eb1d8a75efadd44c1e6df2453f","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.5.tgz","fileCount":67,"integrity":"sha512-LMG9ulLLEms/a76QDhSYK8BNG8rpOrZJ4T9GBIS4D9wj19oUnC7sXD/XGxJR/ANB9DKAAtY3KHctn7QY7kPjLw==","signatures":[{"sig":"MEQCIGnuPStUA8h7rKZbSd+MgNelwI0K0iGhRE1x2/Xz9JmjAiAZKBZmo0J1Bomd04b1F1o1L4O6zkwVvsCki+CYtLkiog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":280045},"main":"./dist/index.js","type":"module","_from":"file:bpmnkit-casen-worker-ai-0.1.5.tgz","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"_resolved":"/tmp/06318e3d436e3a6804cd88f981a05615/bpmnkit-casen-worker-ai-0.1.5.tgz","_integrity":"sha512-LMG9ulLLEms/a76QDhSYK8BNG8rpOrZJ4T9GBIS4D9wj19oUnC7sXD/XGxJR/ANB9DKAAtY3KHctn7QY7kPjLw==","repository":{"url":"git+https://github.com/bpmnkit/monorepo.git","type":"git"},"_npmVersion":"11.11.0","description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"0.0.7"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.5_1776772364298_0.5037080384990971","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.6","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.6","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"5b420b576b2309c29544251ef717fd49eea10011","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.6.tgz","fileCount":67,"integrity":"sha512-t55sycox3KfqBdGXKqxX2lVsAZIM6vTc4HYucmAJGqgpSd5ACsdOfnhPmsuWDBipPneNvTMoGNW1tb5h8/WxPA==","signatures":[{"sig":"MEQCIFY0gq745i6E128Ud/EvN0iSMulTq2XXvMaNxP9MEhrpAiBRs+xiFdItXiMH35iV7MV9anVniSkCsID35PkrolzyCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":280155},"main":"./dist/index.js","type":"module","_from":"file:bpmnkit-casen-worker-ai-0.1.6.tgz","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"_resolved":"/tmp/5877a74459758eb35f52dc4be8500351/bpmnkit-casen-worker-ai-0.1.6.tgz","_integrity":"sha512-t55sycox3KfqBdGXKqxX2lVsAZIM6vTc4HYucmAJGqgpSd5ACsdOfnhPmsuWDBipPneNvTMoGNW1tb5h8/WxPA==","repository":{"url":"git+https://github.com/bpmnkit/monorepo.git","type":"git"},"_npmVersion":"11.13.0","description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"_nodeVersion":"24.17.0","dependencies":{"@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"0.0.8"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.6_1782537077816_0.8520990578775538","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.7","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.7","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"bcbfab6c6833ccd1d5755d014ed295eb0f1efe18","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.7.tgz","fileCount":67,"integrity":"sha512-u744252FavxEHJ1flmWbiYe5CCPPnMXBcIcfIltM8gn2lZw6gho+drp2cPoQHEK+AGF2QSDGHgkuGB63ixKwTA==","signatures":[{"sig":"MEUCIHzxgnlw7qQI/jMvgDkiCFZMIzaXOy0kdH1Dfu67tgxPAiEAnF8RedJ9Au033zyDbBJBEoMbQ//G6o2xtur4RjMuEpE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":280520},"main":"./dist/index.js","type":"module","_from":"file:bpmnkit-casen-worker-ai-0.1.7.tgz","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"_resolved":"/tmp/8338be37098fc38a7559b7e67925be82/bpmnkit-casen-worker-ai-0.1.7.tgz","_integrity":"sha512-u744252FavxEHJ1flmWbiYe5CCPPnMXBcIcfIltM8gn2lZw6gho+drp2cPoQHEK+AGF2QSDGHgkuGB63ixKwTA==","repository":{"url":"git+https://github.com/bpmnkit/monorepo.git","type":"git"},"_npmVersion":"11.17.0","description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"0.0.9"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.7_1787364093223_0.9222759990701539","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.8","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.8","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"acf9ca74d83e96d3732df95cff61c99f034c312c","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.8.tgz","fileCount":67,"integrity":"sha512-GFcV3gnpmdZyREuEAUC8RSmTEF1dAnY79J1N2TBNfqoIjumpApayG0KZzDAB5zR+j6fCJCiQALr1ZN6ozTq1yw==","signatures":[{"sig":"MEQCIGKeRBZDWo6OhWxSZYyI7rZHG2EAErIa73iYTWgfus9cAiBxEFcgXb5x6yulk8yVHh5Flp2KyWPkvBonMQK7GftXMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":281386},"main":"./dist/index.js","type":"module","_from":"file:bpmnkit-casen-worker-ai-0.1.8.tgz","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"_resolved":"/tmp/0cc8fa86610cf41887a1193b6e6048c7/bpmnkit-casen-worker-ai-0.1.8.tgz","_integrity":"sha512-GFcV3gnpmdZyREuEAUC8RSmTEF1dAnY79J1N2TBNfqoIjumpApayG0KZzDAB5zR+j6fCJCiQALr1ZN6ozTq1yw==","repository":{"url":"git+https://github.com/bpmnkit/monorepo.git","type":"git"},"_npmVersion":"11.19.0","description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@bpmnkit/cli-sdk":"0.0.9","@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"0.0.9"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.8_1788944302086_0.45864198904312814","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.9","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.9","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"7d4e6b8159c3025a63ba27c4bb2d8a3c4a32b209","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.9.tgz","fileCount":27,"integrity":"sha512-PhX5ncPzdg5/d+pmCKf8c2b4RH0kdQ3E1kzc69zaMDXKf/pECyzzauARzIMktJRJThVo13S7iXV9WGytylRVkw==","signatures":[{"sig":"MEUCIQDHXX+XrzFV4ewRb2jCUvbAm+fv6lyi/yQFpqFl0LfPvwIgYA0tvSL946h7oD/2dNL/0Zm5VzTYhpQTNmlIiVERxgo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCSfiDh/9h/HKrg3z6WDo5MEc+tXe2zwaBdp7oFI1l9MAIhAPfcaPJWNBM2/OXZmcW/ASBZxNG/PjFVtIISf5Y/Qajj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43480},"main":"./dist/index.js","type":"module","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"repository":{"url":"https://github.com/bpmnkit/monorepo","type":"git"},"description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"dependencies":{"@bpmnkit/cli-sdk":"0.0.10","@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"0.0.10"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.9_1789451925350_0.21425015552822746","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@bpmnkit/casen-worker-ai","version":"0.1.10","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"license":"MIT","_id":"@bpmnkit/casen-worker-ai@0.1.10","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://bpmnkit.com","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"ef25de24b1fb0d0aeca64e9f72c2377165dad6e2","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.10.tgz","fileCount":27,"integrity":"sha512-R5CppkmPkyHSGw03BhPsil52gtjSYhXeLjs+PizCUOICJ6d2KcdMkvrUma5bNRaGI2ZSsk9z88dVJPzMfNp/KQ==","signatures":[{"sig":"MEYCIQD6HdQRkL7sa02o9oUy+R279451LShs4K2oaam4boEt8wIhAPjRsaPMF5/ITJOnLOMedC9ut6p0r22Lq5MggG+4sfB1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIE09Ppxqks5SlriXMoE0a8COsJIUhip2kN4ARbTbRSeXAiEA3yqMpUICKTQIav+Qf8UxBBGNF1sFKz3JxAxNTZVrWPE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43651},"main":"./dist/index.js","type":"module","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"repository":{"url":"https://github.com/bpmnkit/monorepo","type":"git"},"description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"dependencies":{"@bpmnkit/cli-sdk":"^0.0.10","@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"^0.0.10"},"_npmOperationalInternal":{"tmp":"tmp/casen-worker-ai_0.1.10_1789818228283_0.2792300390172755","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"_id":"@bpmnkit/casen-worker-ai@0.1.11","bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"dist":{"shasum":"c421e28296ff77bd1bac643902d97be05df57262","tarball":"https://registry.npmjs.org/@bpmnkit/casen-worker-ai/-/casen-worker-ai-0.1.11.tgz","fileCount":27,"integrity":"sha512-oYpxKhcIH5kYaBLguoL4s6l1gBpze5mEdlmoV3igzov03pOGzaOvgKWnYw9NdROeoPoWoo/5GA7Gu7aNiadQJQ==","signatures":[{"sig":"MEYCIQDwA57hm8bC3ZeZkR67mbCrRkLbUGdwCA2FlXJRzzh91AIhANf0QsqP3RXVV/TpXXU0ORhIQyKjMhxozBbUDRn2S1Xl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBw/8Hg1TuqU31TMFMhN0E4ZAuJYJVz+zm3W7KNy14DbAiBoeIzalWlsusAGApa12RsX7XCT7Bmqe7nSmlZUanNuvw=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmnkit%2fcasen-worker-ai@0.1.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43991},"main":"./dist/index.js","name":"@bpmnkit/casen-worker-ai","type":"module","casen":{"group":"ai-worker","commands":[{"name":"classify","description":"Classify text into one of the given categories"},{"name":"summarize","description":"Summarize text to a given length and style"},{"name":"extract","description":"Extract structured fields from unstructured text"},{"name":"decide","description":"Make a boolean decision based on a question, context, and optional policy"}]},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"license":"MIT","private":false,"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"version":"0.1.11","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2b718736-8d49-498a-9624-8b0ba8de5a00"}},"homepage":"https://bpmnkit.com","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"repository":{"url":"https://github.com/bpmnkit/monorepo","type":"git"},"description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","directories":{},"maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"dependencies":{"@bpmnkit/cli-sdk":"^0.0.11","@anthropic-ai/sdk":"^0.40.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@bpmnkit/cli-sdk":"^0.0.11"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/casen-worker-ai_0.1.11_1790600839912_0.9363147287101876"}}},"time":{"created":"2026-03-22T16:43:50.416Z","modified":"2026-09-28T13:07:20.361Z","0.1.0":"2026-03-22T16:43:50.633Z","0.1.3":"2026-04-02T17:05:17.967Z","0.1.4":"2026-04-04T13:51:18.469Z","0.1.5":"2026-04-21T11:52:44.447Z","0.1.6":"2026-06-27T05:11:17.966Z","0.1.7":"2026-08-22T02:01:33.381Z","0.1.8":"2026-09-09T08:58:22.206Z","0.1.9":"2026-09-15T05:58:45.464Z","0.1.10":"2026-09-19T11:43:48.374Z","0.1.11":"2026-09-28T13:07:20.011Z"},"bugs":{"url":"https://github.com/bpmnkit/monorepo/issues"},"license":"MIT","homepage":"https://bpmnkit.com","keywords":["casen-plugin","casen-worker","camunda","worker","ai","claude","anthropic","bpmnkit"],"repository":{"url":"https://github.com/bpmnkit/monorepo","type":"git"},"description":"AI task worker plugin for casen — classify, summarize, extract, and decide using Claude","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"readme":"<div align=\"center\">\n  <a href=\"https://bpmnkit.com\"><img src=\"https://bpmnkit.com/favicon.svg\" width=\"72\" height=\"72\" alt=\"BPMN Kit logo\"></a>\n  <h1>@bpmnkit/casen-worker-ai</h1>\n  <p>AI task worker plugin for casen — classify, summarize, extract, and decide using Claude</p>\n\n  [![npm](https://img.shields.io/npm/v/@bpmnkit/casen-worker-ai?style=flat-square&color=6244d7)](https://www.npmjs.com/package/@bpmnkit/casen-worker-ai)\n  [![license](https://img.shields.io/npm/l/@bpmnkit/casen-worker-ai?style=flat-square)](https://github.com/bpmnkit/monorepo/blob/main/LICENSE)\n  [![typescript](https://img.shields.io/badge/TypeScript-strict-6244d7?style=flat-square&logo=typescript&logoColor=white)](https://github.com/bpmnkit/monorepo)\n  [![ai-assisted](https://img.shields.io/badge/AI--assisted-claude-8b5cf6?style=flat-square)](https://github.com/bpmnkit/monorepo)\n  [![tier: tools](https://img.shields.io/badge/tier-tools-2563eb?style=flat-square)](https://bpmnkit.com/docs/getting-started/stability#product-tiers)\n\n  [Website](https://bpmnkit.com) · [Documentation](https://bpmnkit.com/docs) · [GitHub](https://github.com/bpmnkit/monorepo) · [Changelog](https://github.com/bpmnkit/monorepo/blob/main/plugins-cli/casen-worker-ai/CHANGELOG.md)\n</div>\n\n> **Tools tier.** Maintained, on 0.x: a minor release can break, so pin a version. See [product tiers](https://bpmnkit.com/docs/getting-started/stability#product-tiers).\n\n---\n\n## Overview\n\n`casen-worker-ai` is an official `casen` CLI plugin that brings AI-powered task processing into Camunda 8 workflows. It subscribes to four job types and uses the [Anthropic Claude API](https://anthropic.com) to complete each job with structured output.\n\nThis is the right tool when you need AI logic in a process but don't want to build a full microservice — start the worker once and any process in your cluster can delegate AI tasks to it.\n\n## Why a worker instead of the HTTP connector?\n\nThe built-in Camunda HTTP connector can call any API but cannot:\n- Validate or parse the response and fail the job if the output is malformed\n- Route Anthropic rate-limit errors (429) to Camunda's retry budget with back-off\n- Throw a typed BPMN error that an error boundary event can catch\n\nThe worker handles all three via `failJob` and `throwJobError`, giving your process model clean error paths.\n\n## Installation\n\n```sh\ncasen plugin install casen-worker-ai\n```\n\nSet your Anthropic API key before starting:\n\n```sh\nexport ANTHROPIC_API_KEY=sk-ant-...\ncasen ai-worker\n```\n\n## Configuration\n\n| Environment variable | Default | Description |\n|---|---|---|\n| `ANTHROPIC_API_KEY` | **required** | Your Anthropic API key |\n| `AI_MODEL` | `claude-3-5-haiku-20241022` | Model ID to use |\n| `AI_MAX_TOKENS` | `1024` | Token budget per call |\n| `AI_TIMEOUT_MS` | `60000` | HTTP timeout in ms |\n\n## Operations\n\n### `com.bpmnkit.ai.classify` — Classify text\n\nClassifies text into one of the provided categories.\n\n**Input variables:**\n\n| Variable | Type | Required | Description |\n|---|---|---|---|\n| `input` | string | ✓ | Text to classify |\n| `categories` | string[] | ✓ | Allowed category names |\n| `context` | string | — | Optional domain context |\n\n**Output variables:** `category`, `confidence` (0–1), `rationale`, `aiModel`, `processedAt`\n\n**BPMN error codes:** `AI_INVALID_CATEGORY`, `AI_PARSE_ERROR`, `AI_API_ERROR`, `AI_INVALID_INPUT`\n\n```xml\n<bpmn:serviceTask id=\"ClassifyTicket\" name=\"Classify ticket\">\n  <bpmn:extensionElements>\n    <zeebe:taskDefinition type=\"com.bpmnkit.ai.classify\" retries=\"3\" />\n    <zeebe:taskHeaders>\n      <zeebe:header key=\"retryBackoff\" value=\"PT30S\" />\n    </zeebe:taskHeaders>\n    <zeebe:ioMapping>\n      <zeebe:input source=\"=ticket.body\" target=\"input\" />\n      <zeebe:input source='=[\"billing\",\"technical\",\"cancellation\",\"general\"]' target=\"categories\" />\n    </zeebe:ioMapping>\n  </bpmn:extensionElements>\n</bpmn:serviceTask>\n```\n\n### `com.bpmnkit.ai.summarize` — Summarize text\n\nSummarizes text to a target length and style.\n\n**Input variables:**\n\n| Variable | Type | Required | Description |\n|---|---|---|---|\n| `input` | string | ✓ | Text to summarize |\n| `maxWords` | number | — | Target word count (default: 100) |\n| `style` | `\"bullet\"` | `\"paragraph\"` | — | Output style (default: `\"paragraph\"`) |\n\n**Output variables:** `summary`, `wordCount`, `aiModel`, `processedAt`\n\n### `com.bpmnkit.ai.extract` — Extract structured fields\n\nExtracts named fields from unstructured text. Missing fields are reported but the job still completes — use a gateway on `=missingFields` to decide whether to auto-proceed or route to manual review.\n\n**Input variables:**\n\n| Variable | Type | Required | Description |\n|---|---|---|---|\n| `input` | string | ✓ | Unstructured text |\n| `fields` | string[] | ✓ | Field names to extract |\n| `schema` | object | — | Type hints per field, e.g. `{ amount: \"number\" }` |\n\n**Output variables:** `extracted` (object), `missingFields` (array), `aiModel`, `processedAt`\n\n### `com.bpmnkit.ai.decide` — Make a boolean decision\n\nAnswers a yes/no question based on context and an optional policy statement. Use `confidence` at a gateway to route low-confidence decisions to human review.\n\n**Input variables:**\n\n| Variable | Type | Required | Description |\n|---|---|---|---|\n| `question` | string | ✓ | The yes/no question |\n| `context` | string | ✓ | Relevant facts |\n| `policy` | string | — | Natural language policy the model must apply |\n\n**Output variables:** `decision` (boolean), `rationale`, `confidence` (0–1), `aiModel`, `processedAt`\n\n## Example workflow: Credit decision\n\n```\nStart Event\n  → summarize (summarize application notes, maxWords=150)\n  → decide     (question=\"Approve loan?\", policy=\"Score ≥ 680 and amount ≤ 50k\")\n  → Gateway: decision=true and confidence≥0.8 → Auto-approve\n             decision=false and confidence≥0.8 → Auto-deny\n             default                           → Human review\n```\n\n## Error handling\n\nAdd boundary events to your service tasks to handle AI failures gracefully:\n\n- **Error boundary** catching `AI_PARSE_ERROR` → route to a manual input fallback task\n- **Timer boundary** (PT5M) → escalation path if the worker is not running\n- Set `retries=\"3\"` and `retryBackoff=\"PT30S\"` on the task definition — the worker signals Camunda to retry via `failJob` on rate limits and network timeouts\n\n---\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@bpmnkit/core`](https://www.npmjs.com/package/@bpmnkit/core) | BPMN/DMN/Form parser, builder, layout engine |\n| [`@bpmnkit/canvas`](https://www.npmjs.com/package/@bpmnkit/canvas) | Zero-dependency SVG BPMN viewer |\n| [`@bpmnkit/editor`](https://www.npmjs.com/package/@bpmnkit/editor) | Full-featured interactive BPMN editor |\n| [`@bpmnkit/engine`](https://www.npmjs.com/package/@bpmnkit/engine) | Lightweight BPMN process simulator for tests and demos |\n| [`@bpmnkit/feel`](https://www.npmjs.com/package/@bpmnkit/feel) | FEEL expression language parser & evaluator |\n| [`@bpmnkit/plugins`](https://www.npmjs.com/package/@bpmnkit/plugins) | 34 composable canvas plugins |\n| [`@bpmnkit/api`](https://www.npmjs.com/package/@bpmnkit/api) | Camunda 8 REST API TypeScript client |\n| [`@bpmnkit/ascii`](https://www.npmjs.com/package/@bpmnkit/ascii) | Render BPMN diagrams as Unicode ASCII art |\n| [`@bpmnkit/markdown`](https://www.npmjs.com/package/@bpmnkit/markdown) | BPMN diagrams in Markdown — remark, markdown-it and README pre-rendering |\n| [`@bpmnkit/docspack`](https://www.npmjs.com/package/@bpmnkit/docspack) | BPMN Kit docs as an offline docspack package for AI agents |\n| [`@bpmnkit/camunda-docspack`](https://www.npmjs.com/package/@bpmnkit/camunda-docspack) | Camunda 8 docs as an offline docspack package for AI agents |\n| [`@bpmnkit/ui`](https://www.npmjs.com/package/@bpmnkit/ui) | Shared design tokens and UI components |\n| [`@bpmnkit/profiles`](https://www.npmjs.com/package/@bpmnkit/profiles) | Shared auth, profile storage, and client factories for CLI & proxy |\n| [`@bpmnkit/operate`](https://www.npmjs.com/package/@bpmnkit/operate) | Monitoring & operations frontend for Camunda clusters |\n| [`@bpmnkit/connector-gen`](https://www.npmjs.com/package/@bpmnkit/connector-gen) | Generate connector templates from OpenAPI specs |\n| [`@bpmnkit/connectors`](https://www.npmjs.com/package/@bpmnkit/connectors) | Camunda 8 OOTB connector catalog and deterministic template application |\n| [`@bpmnkit/cli`](https://www.npmjs.com/package/@bpmnkit/cli) | Camunda 8 command-line interface (casen) |\n| [`@bpmnkit/proxy`](https://www.npmjs.com/package/@bpmnkit/proxy) | Local AI bridge and Camunda API proxy server |\n| [`@bpmnkit/patterns`](https://www.npmjs.com/package/@bpmnkit/patterns) | Domain process patterns for BPMNKit AIKit |\n| [`@bpmnkit/reebe-wasm`](https://www.npmjs.com/package/@bpmnkit/reebe-wasm) | WebAssembly BPMN engine for browser simulation |\n| [`@bpmnkit/worker-client`](https://www.npmjs.com/package/@bpmnkit/worker-client) | Thin Zeebe REST client for standalone workers |\n| [`@bpmnkit/user-tasks`](https://www.npmjs.com/package/@bpmnkit/user-tasks) | Embeddable user task widget for Camunda 8 |\n| [`@bpmnkit/cli-sdk`](https://www.npmjs.com/package/@bpmnkit/cli-sdk) | Plugin authoring SDK for the casen CLI |\n| [`@bpmnkit/create-casen-plugin`](https://www.npmjs.com/package/@bpmnkit/create-casen-plugin) | Scaffold a new casen CLI plugin in seconds |\n| [`@bpmnkit/casen-report`](https://www.npmjs.com/package/@bpmnkit/casen-report) | HTML reports from Camunda 8 incident and SLA data |\n| [`@bpmnkit/casen-worker-http`](https://www.npmjs.com/package/@bpmnkit/casen-worker-http) | Example HTTP worker plugin — completes jobs with live JSONPlaceholder API data |\n\n## License\n\n[MIT](https://github.com/bpmnkit/monorepo/blob/main/LICENSE) © BPMN Kit — made by [u11g](https://u11g.com)\n\n<div align=\"center\">\n  <a href=\"https://bpmnkit.com\"><img src=\"https://bpmnkit.com/favicon.svg\" width=\"32\" height=\"32\" alt=\"BPMN Kit\"></a>\n</div>\n","readmeFilename":""}