{"_id":"@autocodeflow/sdk","_rev":"13-3d714954369f77a34c40e21d6393eadc","name":"@autocodeflow/sdk","dist-tags":{"latest":"1.5.3"},"versions":{"1.0.0":{"name":"@autocodeflow/sdk","version":"1.0.0","license":"MIT","_id":"@autocodeflow/sdk@1.0.0","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"dist":{"shasum":"0e284c91620ed891d62ebfd86f3ec3fba39a9eda","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.0.0.tgz","fileCount":6,"integrity":"sha512-DbWmtFYZOOciMYWiwbP47W940dBPXmquTqmYFXf2VWSXQey2oq9vIDRFh1X3Ffvo1pPP717YHSykifnYxX6Q0A==","signatures":[{"sig":"MEUCIGOzxguyLivW9fmHdqdGVgFobZHN53tVZq4lYjgdxFrxAiEA3dQCTXEG3e6U2QkPnGMCtm+Zwxh+h2YLZyNvQ60U3xk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46349},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"f0f8b96a92dead7f4714bc2cba69ce4624aa4fae","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"_npmVersion":"11.17.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.19.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.0_1788509989152_0.7433004190829933","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@autocodeflow/sdk","version":"1.0.1","license":"MIT","_id":"@autocodeflow/sdk@1.0.1","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"490498ada1ffe6bf2bb9259a271e3cb15e6db534","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.0.1.tgz","fileCount":6,"integrity":"sha512-0ddp44Z/PDir2B+DhJ0suhgf7iwSq6U1X2ec1P1nyrGMGxfnjvVdjJtWIQVF9HqAe/qhg2vT8811LYdgFjKZew==","signatures":[{"sig":"MEUCIQD9Wv/+Z2IRS1z0Fs62Nkntgo2+L7iyAeYqn58FEYWvDwIgNzoKMPK0XcDtC5mxuLiPRBpXVKndZiqgZGI2z88MDng=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46706},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"cd744fb62c8f20dbad1cad32b887bddc5fa2e604","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.1_1788540539314_0.9962236304595964","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@autocodeflow/sdk","version":"1.1.0","license":"MIT","_id":"@autocodeflow/sdk@1.1.0","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"ddddb189664ef37e240f6a3b72b24fcda151f012","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.1.0.tgz","fileCount":6,"integrity":"sha512-PhUgddWmh017bXdL2bBzrBGyebk+PjUGaQfAjjbzcrnjMy+Jlj5rImQdJQKLnZYyo8oN+gh5LvOXQVaFj5pwmg==","signatures":[{"sig":"MEQCIFI/OU6RHpXNsuFJMo++17Ni/9C8ZFt73kcu4VqtS/L7AiBUUWxd7pw3yUm9ORNgQa0ld4NQzdHXU0rXJbB9v8+KSQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62575},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"f041bff935fa88f27688a2a912f836be298c1923","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.0_1789000287884_0.5841704124781084","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@autocodeflow/sdk","version":"1.1.1","license":"MIT","_id":"@autocodeflow/sdk@1.1.1","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"c72a35ef416840017d34a2b36323a2998ce6ae7c","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.1.1.tgz","fileCount":6,"integrity":"sha512-vUvbtkZYhHHkfIWYaqfyV0L7pRTngYGUou310Ia97ZKqyVVKqbt/RkRqRwlQ+Eu3gVw6qqMESd5Cies/rffy1Q==","signatures":[{"sig":"MEUCIQDEETl/C08phqMOpDAKMQ42dz6SqG6xJEJb43CWW/n7agIgVFq6Tni7Het/avBLAvJzOIQy5QN8XmG1uJQ7v3EClmM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62575},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"ee3f0c891c39ab6f30353135566600db25397902","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.1_1789115083482_0.5682702177839416","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@autocodeflow/sdk","version":"1.2.0","license":"MIT","_id":"@autocodeflow/sdk@1.2.0","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"96620f2f34cc5fbc4456e3707d5d5912232f4dcc","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.2.0.tgz","fileCount":6,"integrity":"sha512-/QjNli8782rWgcxUHmUXU3Uh1SJ1rr3TL+wVCphP9FwEZNu21RzIzJYw/aBYwq23dd7E9ONRvxcw8/bGFWqm/g==","signatures":[{"sig":"MEYCIQCXaKnFIhzL4WALhPfK2JwZVFbG0ID6Gkh1/pZ4IFHS9wIhANzUVtegXdYCO/Iwr9G3TqNFW0PiDZJuFkiBB38rKl34","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62575},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"96b4679784ea9cb7e4382c34949c7e2283841e70","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.0_1789231369760_0.9419636518742551","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@autocodeflow/sdk","version":"1.3.0","license":"MIT","_id":"@autocodeflow/sdk@1.3.0","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"968a31f188e132a2d020dba697667480c79102b1","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.3.0.tgz","fileCount":6,"integrity":"sha512-WIbzxpEhkg3Yvh/fZ+fkT6gU3JUElEcVc+3mu+rGPbe59ww3il18IbX+xSxMVg5G/RoYiR/LAaPu0cSYcmbaLA==","signatures":[{"sig":"MEMCIDgJS0kQ0wRNnAklkUDWaAbtGs+ziaN6zmbiQBo1UyUCAh8hGVCkhfh2cc0Eg5ETmWkXAxz3AR/gUnBt0WEL2BUL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62575},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"e974e2328ac645881b92ccdffa480b011df494cf","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.3.0_1789300619707_0.24684549869635375","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@autocodeflow/sdk","version":"1.4.0","license":"MIT","_id":"@autocodeflow/sdk@1.4.0","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"d595e5957fed0b7a7a46b63a88e93e7dcf8fe86c","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.4.0.tgz","fileCount":6,"integrity":"sha512-HHlLvABXhzrjAhIq1qwzCFwNG6yT/j1swxN1CZLNyt3/x9vIVrUs2AfYUn/p4W/ZKxAI3bC9/Y7YeGFFXpMy7Q==","signatures":[{"sig":"MEUCIQDlY6wa/LCj7ospQLccPuBCNrsSK9lT25TdvaHMFvduugIgeI13FO68+UL/LfdHpucpHlAA6vNt6iL/VzWe/5ZIOdM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGmj7UDNsDRppDpdPdJ9gBUdHWcZTjLESF0qsyN5QHmkAiEA29JJ9RmbE7ZWRY6Uv9mToflG/J6g4QmxA+B0KVXKzjw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69253},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"5db5857b2865bfd969a72d44eda3a7d63bc46f02","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.0_1789493077841_0.9110383491549787","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@autocodeflow/sdk","version":"1.4.1","license":"MIT","_id":"@autocodeflow/sdk@1.4.1","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"d681bf3add3e9510a7aff6f0a925599bbc605a63","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.4.1.tgz","fileCount":6,"integrity":"sha512-3Le2tV24Bt2bxj1HskFZktehXyR02QHppUV3tRWSDjjXzAzrZz7RJhAAq8F3wmPU/jHzFfRlfNh/4eWkJYqW6A==","signatures":[{"sig":"MEYCIQDdzKkpvG6UeiRUTbldHVDdW/y2ZVl3zqDIYEY4SwV1WgIhANj6f8odru88QHsen4qIbRhdTcIcGqObl+KtB/9gy3DI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIB1ZkBalwkGTrzRGRxMlN0dGmIggKefKmpm1DEkyYhveAiEA4yQZmqc/m7RgdBfg7vEhb9M0R1bHFHOo2aDFLqK/q1s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69253},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"3ba24a7e3b726bda0d5f96c0de07ea43a9f3afa8","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.1_1789499404506_0.6415851711097713","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@autocodeflow/sdk","version":"1.4.3","license":"MIT","_id":"@autocodeflow/sdk@1.4.3","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"eb8a592d414596192a0f47031b7e3fe37e083263","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.4.3.tgz","fileCount":6,"integrity":"sha512-2PwECb8VuUT1QJ4rP6snutWM5z8bVe8kKJcB6TuKAWn6CpQo2kOypbqXgGQMkvDfvqeyNydbRcPUeom/R/S0iA==","signatures":[{"sig":"MEUCIQD2HhneSPJb8dNObfZc7DaH3hwikGIW7VH3AmjcdE+xYgIgHiCZ8wC1tQvFqSkrX7AdiIBw33RkdlYe12WR/cQ8r0g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGQzFZqo8F9cncBbvWIGiW2XEfbpq/rwbziSpL6FPRIYAiBtIqweKY1rIVStcRshlEeOSpJf03lwmgJNKalIJunDzw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69253},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"810e980602d92e648add646e358a6f3c8069e208","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.3_1789502545550_0.9431389038179339","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@autocodeflow/sdk","version":"1.5.0","license":"MIT","_id":"@autocodeflow/sdk@1.5.0","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"b5d8a1fcc573b6bff213b81f603a653fb81be458","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.5.0.tgz","fileCount":6,"integrity":"sha512-8GrUnqxsxQ8HkLsa9QkbZwlApl2ptKvMQ16DUEFvOmGQ6VDJobhXRmujrtC7eZSXac62VZoW7kgmmkn8Yk0NZQ==","signatures":[{"sig":"MEQCIHgqxoqEBazsPIiTUxrEduzqgHP2FQvXKBjhT13t4XdTAiBMh8MmdyJ9bFEFKL6XtV/ztcsUqRnNQMsQrFRqo1gzzA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAErrggj/QRt4LlyUByRCPsCMiVxEuI2TqjHM4/SgZYCAiApExykPLz376cakDA7TqWmr/9QX4JiRKVcw+IzFSe8+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":84739},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"db2c0f12f154707ec746b98d2b1523de610d57a3","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.5.0_1789808737238_0.031087857749250825","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@autocodeflow/sdk","version":"1.5.1","license":"MIT","_id":"@autocodeflow/sdk@1.5.1","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"9811a32991e0ad1e9fffc1a16c77114c46f16aa3","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.5.1.tgz","fileCount":6,"integrity":"sha512-JC6cfw+grjzuEvu+lA/B/l3GGUiPhvXySODsLabCMDmXTEY1LPKD9A90/vw3IoZ+JisteQgGtWvrjh1AWsEB4A==","signatures":[{"sig":"MEQCIEOf8qSx4kLfefkpYMyPdpLdzRWGs05PyLs2GQbZyScbAiB2pwfNPuk58lqwrh7yOAHVCTG+r21yhFEIVm6MX4aa6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIA2oUsVEC3ftnDdYLwK3VUap1tZZfg8NvhEa+uIZbRTkAiAKDp2CxoaI2AAErmFVU2hFfwDuA/YnanWKOjEJO06JTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90521},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"7e851b9c8efb30171407780d125d06a29d24485e","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.5.1_1789912946219_0.3966153449005503","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"@autocodeflow/sdk","version":"1.5.2","license":"MIT","_id":"@autocodeflow/sdk@1.5.2","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"afdf94706b165cf4376ff62c8576647f58804512","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.5.2.tgz","fileCount":6,"integrity":"sha512-iiyl8CiFanZDOPe1Ufv/TanCWth5P5+f7lJYhAYHr57B+pmOdZpKsSOQDwAiGAgjLxHiWtuv3/NJTRKT/upWJg==","signatures":[{"sig":"MEYCIQDfMSVCE8e0AQANmBx5kZA6Ft/X4zPjEf0QPf/LsxTjygIhAMxtvg+NEkukzVSpST5S4FS6IHnLaIh4zNUqYkA8dMyr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDammkILH7YXWjqzzuOrTsPWwgNUbA/yecP3rCFwJYPNwIgZzyogvD02Kwsxvvcr/yioSFfMwRNbUVerduyC4oWn/k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90521},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"300a688ceddc5e7584db5a16e985b038857ed773","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"_nodeVersion":"24.20.0","dependencies":{"axios":"^1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","tsup":"^8.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.5.2_1790056207944_0.411938326317689","host":"s3://npm-registry-packages-npm-production"}},"1.5.3":{"_id":"@autocodeflow/sdk@1.5.3","bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"dist":{"shasum":"9477251df9e0dcd9244948ef293cd7caf354de05","tarball":"https://registry.npmjs.org/@autocodeflow/sdk/-/sdk-1.5.3.tgz","fileCount":6,"integrity":"sha512-a8xFmnaB28I/jpjvupfWDk9OainEiGjOWckluqEZENey2a0hGkOMrBbM/6i6V9AnxBwJbOulXIXQonjDqG5cQw==","signatures":[{"sig":"MEUCIQDFEbJdJZe2mVLToW4PLSsEF4CzGmwFeI2vm/IW5OtIwgIgTAX2Am6Tt8HlXxSnoK3gGnr7BVKB1Jozv9ieMRRbTN8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAm8+qFCZJIUDXvFhzq5om35eYUd5F9ajOSCbq0PD2F3AiEAonGsA0OY2sbJnney9MVgjcYYw4zckzX8ifIveNPzpGQ="}],"unpackedSize":90523},"main":"dist/index.js","name":"@autocodeflow/sdk","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20"},"gitHead":"a532aab24057333dcb16da5b3bc53cb5c24271a5","license":"MIT","scripts":{"test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","prepublishOnly":"npm run build"},"version":"1.5.3","_npmUser":{"name":"kirdeer","email":"gt-man@foxmail.com"},"homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","overrides":{"esbuild":"^0.28.2"},"repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"_npmVersion":"11.19.0","description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","directories":{},"maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"axios":"^1.20.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.5.2","tsup":"^8.5.1","ts-jest":"^29.4.13","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^24.13.6"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_1.5.3_1790678817570_0.9983539117112368"}}},"time":{"created":"2026-09-04T08:19:49.003Z","modified":"2026-09-29T10:46:57.872Z","1.0.0":"2026-09-04T08:19:49.271Z","1.0.1":"2026-09-04T16:48:59.450Z","1.1.0":"2026-09-10T00:31:28.026Z","1.1.1":"2026-09-11T08:24:43.606Z","1.2.0":"2026-09-12T16:42:49.894Z","1.3.0":"2026-09-13T11:56:59.841Z","1.4.0":"2026-09-15T17:24:37.916Z","1.4.1":"2026-09-15T19:10:04.621Z","1.4.3":"2026-09-15T20:02:25.617Z","1.5.0":"2026-09-19T09:05:37.313Z","1.5.1":"2026-09-20T14:02:26.309Z","1.5.2":"2026-09-22T05:50:08.040Z","1.5.3":"2026-09-29T10:46:57.654Z"},"bugs":{"url":"https://github.com/LuluDeer/AutoCodeFlow/issues"},"license":"MIT","homepage":"https://github.com/LuluDeer/AutoCodeFlow#readme","repository":{"url":"git+https://github.com/LuluDeer/AutoCodeFlow.git","type":"git","directory":"packages/autocodeflow-node-sdk"},"description":"AutoCodeFlow Node.js/TypeScript SDK — TaskContext, structured logging and Admin API callback client for task executors","maintainers":[{"name":"kirdeer","email":"gt-man@foxmail.com"}],"readme":"# @autocodeflow/sdk — AutoCodeFlow Node.js SDK\n\nAutoCodeFlow 任务执行器（executor-node）侧的 Node.js/TypeScript SDK：\n提供任务上下文（`TaskContext`）、结构化日志（`TaskLogger`）与 Admin API\n回调客户端（`HttpClient`）。回调契约与 Python SDK\n[`autoflow-sdk`](../autoflow-sdk/README.md) 完全对齐（第九轮），双端共用\n`CallbackItemDto` 字段。平台侧完整说明见\n[docs/sdk-guide.md](../../docs/sdk-guide.md)。\n\n## 安装\n\n```bash\nnpm install @autocodeflow/sdk\n```\n\n包为 scoped 公开包（`publishConfig.access = \"public\"`），产物为 tsup 构建的\nCJS + ESM + d.ts（`dist/`）。\n\n## Quickstart\n\n任务脚本由执行器以子进程运行，环境变量注入见下表。`TaskContext.fromEnv()`\n读取 `EXECUTION_ID` / `TASK_ID` / `TASK_NAME`（缺失即抛错）与\n`AUTOFLOW_*` 回调凭证：\n\n```ts\n// tasks/sendReport.ts\nimport { TaskContext } from '@autocodeflow/sdk';\n\nexport default async function main() {\n  const ctx = TaskContext.fromEnv();\n  ctx.logger.info('task started', { executionId: ctx.executionId });\n\n  const rows = await doWork();\n\n  // 主动回调 Admin API（N23 per-execution token）。旧版执行器不注入凭证，\n  // 此时 ctx.http.enabled === false，结果仍由执行器统一上报。\n  if (ctx.http.enabled) {\n    // executorAddress 由 SDK 用 AUTOFLOW_EXECUTOR_ADDRESS 自动补齐（N27），\n    // 显式书写的值不会被覆盖；executionId 必须为本次执行。\n    await ctx.http.post('/api/executions/callback', [\n      {\n        executionId: ctx.executionId,\n        status: 'success',\n        logs: `report done: ${rows} rows`,\n        durationMs: 1200,\n      },\n    ]);\n  }\n\n  // success()/failure() 构造 TaskResult（自动附带 logger 收集的结构化日志）\n  return ctx.success('all done', { rows });\n}\n```\n\n失败上报：\n\n```ts\ntry {\n  await doWork();\n} catch (e) {\n  await ctx.http.post('/api/executions/callback', [\n    {\n      executionId: ctx.executionId,\n      status: 'failed',\n      errorMessage: String(e),\n      failureReason: 'script_error', // timeout / killed / unknown 等\n    },\n  ]);\n  return ctx.failure('work failed');\n}\n```\n\n### HttpClient 直用\n\n不经 `TaskContext` 也可独立构造（如自托管/测试环境显式给凭证）：\n\n```ts\nimport { HttpClient } from '@autocodeflow/sdk';\n\n// new HttpClient(baseURL?, token?, traceId?, executorAddress?)\nconst http = new HttpClient(process.env.ADMIN_API_URL, process.env.EXECUTOR_TOKEN);\n// 或从 TaskEnv 派生：HttpClient.forAdminApi(ctx.env)\n\nif (!http.enabled) throw new Error(http.disabledReason);\nconst tasks = await http.get('/api/tasks');\n```\n\n凭证缺失时构造不报错，但任何请求方法抛出带 `disabledReason` 的明确错误\n（N23 fail-closed 语义，与 Python `CallbackDisabledError` 对齐）。HTTP 调用由 axios\n的 10 秒超时控制；SDK 不做隐式重试，401/403/timeout 等错误会保留后端 message 后\n原样传播给任务代码，避免重复上报或重复触发外部副作用。\n\n## 执行器注入的环境变量\n\n与 [docs/sdk-guide.md](../../docs/sdk-guide.md) 的注入表逐字一致：\n\n| 变量名 | 说明 | 示例值 |\n|--------|------|--------|\n| `TASK_ID` | 当前任务的唯一标识 | `task_abc123` |\n| `TASK_NAME` | 当前任务名称 | `fetch_data` |\n| `EXECUTION_ID` | 本次执行记录的唯一标识 | `exec_xyz789` |\n| `AUTOFLOW_<KEY>` | 触发参数，按参数名转大写后注入 | `AUTOFLOW_SOURCE_URL=https://api.example.com` |\n| `AUTOFLOW_ADMIN_API_URL` | Admin API 基地址（非机密路由信息，N23 起注入） | `AUTOFLOW_ADMIN_API_URL=http://admin-api:3105` |\n| `AUTOFLOW_CALLBACK_TOKEN` | 本次执行的一次性回调 token（`v1.` HMAC，绑定 executionId、随 TTL 过期，N23 起注入） | `AUTOFLOW_CALLBACK_TOKEN=v1.<uuid>.<exp>.<hmac>` |\n| `AUTOFLOW_EXECUTOR_ADDRESS` | 当前执行器注册地址（非机密路由信息，N27 起注入；SDK 经 `ctx.executorAddress`（Node）/ `ctx.executor_address`（Python）暴露并自动填入回调请求） | `AUTOFLOW_EXECUTOR_ADDRESS=executor-node:8002` |\n\n兼容的旧式/手动覆盖变量（显式设置时优先）：`ADMIN_API_URL`、\n`EXECUTOR_TOKEN`、`TRACE_ID`。\n\n## 版本与发布\n\n- 版本策略：与 `autoflow-sdk`（PyPI）、`autocodeflow-mcp-server` 走\n  **lockstep** 单版本线，当前 `1.0.0`。\n- 发布管道：[.github/workflows/release.yml](../../.github/workflows/release.yml)。\n  push tag `vX.Y.Z` 触发：版本一致性守卫（tag 必须等于本包\n  `package.json` version，不一致直接 fail）→ `publish-npm` job\n  （node 24，`npm ci && npm run build && npm publish --dry-run &&\n  npm publish`），发布前经 GitHub `environment: release` 人工审批闸门。\n- 凭证与 scope：GitHub secret `NPM_TOKEN`（npmjs Automation token），经\n  `setup-node` 的 `registry-url` + `NODE_AUTH_TOKEN` 写入 `~/.npmrc`；\n  包发布在 `@autocodeflow` scope 下，公开可见由\n  `publishConfig.access = \"public\"` 保证（scoped 包默认 private）。\n- 本地演练（不真发布）：\n\n  ```bash\n  cd packages/autocodeflow-node-sdk\n  npm run build && npm publish --access public --dry-run\n  ```\n\n- 发布流程与矩阵说明见\n  [docs/sdk-guide.md「SDK 矩阵」](../../docs/sdk-guide.md)。\n","readmeFilename":"README.md"}