{"_id":"@actana/sdk","_rev":"9-881a781b3bfa3884bcfc8369f6514407","name":"@actana/sdk","dist-tags":{"latest":"0.4.5"},"versions":{"0.2.2":{"name":"@actana/sdk","version":"0.2.2","keywords":["actana","core-link","sdk","agent","terminal"],"license":"MIT","_id":"@actana/sdk@0.2.2","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"dist":{"shasum":"f3b43f9a955233c0771036f2ce47576ac0e96c0d","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.2.2.tgz","fileCount":39,"integrity":"sha512-5GTzUREblXLcJHkzbEuNoSI7Ithe4R+Q+k9Pwy3kDq89FGDNJaUg2IJRKF/DhIUh9hqtHNb4vmE40kYHWv7+ow==","signatures":[{"sig":"MEYCIQCUESvbL7WxfroWM584coB1f47b5BQePFmUfo+w2wCw/wIhAOx7IOPtTzoN8H2HAQ5I7ZOHWx0dg4ChXndmbvSEHWo7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":419557},"type":"module","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.2.2.tgz","engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.2.2.tgz","_integrity":"sha512-5GTzUREblXLcJHkzbEuNoSI7Ithe4R+Q+k9Pwy3kDq89FGDNJaUg2IJRKF/DhIUh9hqtHNb4vmE40kYHWv7+ow==","repository":{"url":"git+https://github.com/actana/control.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.12.1","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"ws":"8.21.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.6","@types/ws":"8.18.1","typescript":"6.0.3","@types/node":"25.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.2_1786618468844_0.5054874891774657","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@actana/sdk","version":"0.3.0","keywords":["actana","core-link","sdk","agent","terminal"],"license":"MIT","_id":"@actana/sdk@0.3.0","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"dist":{"shasum":"7f501959c48d76e4ed0bbf7c96728ce61b9785c9","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.3.0.tgz","fileCount":51,"integrity":"sha512-8LOaH0P4y5MbYKEsJ4IsjuN1e/1nIYhjyiOXVa5bZNXjPbIUeXXSFp9r9FNm/Ku77r3bSDBXStDlUn4sE10Cag==","signatures":[{"sig":"MEQCIBvrw33+ojlkzn2bn+In2hdIsrsjdY9QecwlsCUGStSbAiB51xvNZr9gxTMO+L8eeMyDzsnwr5UcoFwgQ41XVa8VqQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":509652},"type":"module","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.3.0.tgz","engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.3.0.tgz","_integrity":"sha512-8LOaH0P4y5MbYKEsJ4IsjuN1e/1nIYhjyiOXVa5bZNXjPbIUeXXSFp9r9FNm/Ku77r3bSDBXStDlUn4sE10Cag==","repository":{"url":"git+https://github.com/actana/control.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.12.1","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"ws":"8.21.0","undici":"8.9.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.6","@types/ws":"8.18.1","typescript":"6.0.3","@types/node":"25.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.0_1786700620548_0.41344635879638125","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@actana/sdk","version":"0.3.2","keywords":["actana","core-link","sdk","agent","terminal"],"license":"MIT","_id":"@actana/sdk@0.3.2","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"dist":{"shasum":"3f4db449f84f67312db0e62986e18d7196a93727","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.3.2.tgz","fileCount":55,"integrity":"sha512-NzkT8Zrr6IZLzOxzrfl5hPskVwKNcoVIhKIhbIT9y8barEJjJVf3ky5Oy5K3ftVgkEETqsJWqTIeaQNJJUxU1Q==","signatures":[{"sig":"MEUCIC1nUEq97Q03MpOuM16ZRL1Hfir3hNb+63hrmLWhaYqNAiEAxN2a4dFrjWjHEsizpQYSje52FGQ4wuJrRZwdDoewr/E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":521969},"type":"module","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.3.2.tgz","engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.3.2.tgz","_integrity":"sha512-NzkT8Zrr6IZLzOxzrfl5hPskVwKNcoVIhKIhbIT9y8barEJjJVf3ky5Oy5K3ftVgkEETqsJWqTIeaQNJJUxU1Q==","repository":{"url":"git+https://github.com/actana/control.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.12.1","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"ws":"8.21.0","undici":"8.9.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.6","@types/ws":"8.18.1","typescript":"6.0.3","@types/node":"25.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.2_1787082152963_0.5359441702116765","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@actana/sdk","version":"0.3.3","keywords":["actana","core-link","sdk","agent","terminal"],"license":"MIT","_id":"@actana/sdk@0.3.3","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"dist":{"shasum":"7774a56b708aa4c1f214f9bf3a6fc389656dc73d","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.3.3.tgz","fileCount":55,"integrity":"sha512-dlvWhRHbQiD7Sn4Xi6t4SWuzRx0hNqc1u8uc3hXyWvBWllzJNFZ7k7rL4GFKGeiBFCasuReHc7tx9xjFF3jn9w==","signatures":[{"sig":"MEUCIQDoFoOWqtLWpZie5uqBWfIMk76uxEY5bFmVIGVDycjcQwIgPQxcJxaCtJYWQqkvoc9f7LAXoiJFgIR25oxLmipbCco=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":544436},"type":"module","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.3.3.tgz","engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.3.3.tgz","_integrity":"sha512-dlvWhRHbQiD7Sn4Xi6t4SWuzRx0hNqc1u8uc3hXyWvBWllzJNFZ7k7rL4GFKGeiBFCasuReHc7tx9xjFF3jn9w==","repository":{"url":"git+https://github.com/actana/control.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.12.1","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"ws":"8.21.0","undici":"8.9.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.6","@types/ws":"8.18.1","typescript":"6.0.3","@types/node":"25.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.3_1787158298720_0.21651359610801668","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@actana/sdk","version":"0.4.1","keywords":["actana","core-link","sdk","agent","terminal"],"license":"MIT","_id":"@actana/sdk@0.4.1","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"dist":{"shasum":"8fb2d149e3ba146a16460a8a08df25621f3377e9","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.4.1.tgz","fileCount":67,"integrity":"sha512-sWWSyxuEhx9eDZuJYb3XQ9Mmnd09xaKrjDM0j6ZP1ctFpdbBuT0zN+WJMrvbTsQIa9KsyalmHQ5tgIwATrbsdA==","signatures":[{"sig":"MEUCIANhFFG167RCAJQ7z15jIgOzZ/Lrq7VpNPaMqgtELo14AiEA4See3oKS/W3x+js/Qvqf+sX0NmlMN7eV7zYann8EWKI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":668122},"type":"module","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.1.tgz","engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.1.tgz","_integrity":"sha512-sWWSyxuEhx9eDZuJYb3XQ9Mmnd09xaKrjDM0j6ZP1ctFpdbBuT0zN+WJMrvbTsQIa9KsyalmHQ5tgIwATrbsdA==","repository":{"url":"git+https://github.com/actana/control.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.12.1","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"ws":"8.21.0","undici":"8.9.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.6","@types/ws":"8.18.1","typescript":"6.0.3","@types/node":"25.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.1_1787658924640_0.9259784524555359","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@actana/sdk","version":"0.4.2","keywords":["actana","core-link","sdk","agent","terminal"],"license":"MIT","_id":"@actana/sdk@0.4.2","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"dist":{"shasum":"5b71c189e8651c68321b6fc965e1c272b04633a9","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.4.2.tgz","fileCount":67,"integrity":"sha512-PPYxVEJHDDKf+PHs9Ak+SXRHba0dOpdgq2LL+YiuPoo5z1LhbtOCFvDdxkWP8NGKxeEj07crokth553Nq+yU0A==","signatures":[{"sig":"MEUCIQDkTpzIv90uaLMbKDxnUFyE/VnhdJYnOrX9jDgWNuoWZgIgWT+M2Phu/BMXSKFmSFxmRydVuzD6S3Q0PB2rv7ZhWL8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":668122},"type":"module","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.2.tgz","engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.2.tgz","_integrity":"sha512-PPYxVEJHDDKf+PHs9Ak+SXRHba0dOpdgq2LL+YiuPoo5z1LhbtOCFvDdxkWP8NGKxeEj07crokth553Nq+yU0A==","repository":{"url":"git+https://github.com/actana/control.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.12.1","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"ws":"8.21.0","undici":"8.9.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.6","@types/ws":"8.18.1","typescript":"6.0.3","@types/node":"25.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.2_1788178613410_0.5983394998623184","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@actana/sdk","version":"0.4.3","keywords":["actana","core-link","sdk","agent","terminal"],"license":"MIT","_id":"@actana/sdk@0.4.3","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"dist":{"shasum":"e4aa23bb5d9a762b81d74c97100bc7b2ef9590b7","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.4.3.tgz","fileCount":67,"integrity":"sha512-3uzmmTqkKkUrguX36Du8sxaS6HYQCOLEpZP1C81LDP0zwyo/1DFgNENEyJiFtX9I0mvPnckBU6cP81ikZIaybg==","signatures":[{"sig":"MEYCIQDCOB2LMugiwu1HHsFEOQTvelra/MB28+69aWzlmO2dVgIhAIgQXvW4o/0MzkOTHMOReOMXTlUL/JItDsodwncuvxCF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":668122},"type":"module","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.3.tgz","engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.3.tgz","_integrity":"sha512-3uzmmTqkKkUrguX36Du8sxaS6HYQCOLEpZP1C81LDP0zwyo/1DFgNENEyJiFtX9I0mvPnckBU6cP81ikZIaybg==","repository":{"url":"git+https://github.com/actana/control.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.12.1","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"ws":"8.21.0","undici":"8.9.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.6","@types/ws":"8.18.1","typescript":"6.0.3","@types/node":"25.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.3_1788252487121_0.8787301228062816","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"@actana/sdk","version":"0.4.4","keywords":["actana","core-link","sdk","agent","terminal"],"license":"MIT","_id":"@actana/sdk@0.4.4","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"dist":{"shasum":"29882472e33431750e73763f4e95d7dd23121c32","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.4.4.tgz","fileCount":67,"integrity":"sha512-TD1kkGUZcarkjjfms9E5sBMMMCr8uXl3KAeslVcrlmEtNBnFyZ3uwH0VdLRcq+yHKYToUN8PW9x6c3hRkDZEhw==","signatures":[{"sig":"MEYCIQDib6L/74+oGs+HvbimNhNDXF9+fimrS3eiDrIFSwRlHgIhAK80yBOkA1cfdgBa7dsM7DARRlseBAL9BX9okYKXNe5j","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":668122},"type":"module","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.4.tgz","engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.4.tgz","_integrity":"sha512-TD1kkGUZcarkjjfms9E5sBMMMCr8uXl3KAeslVcrlmEtNBnFyZ3uwH0VdLRcq+yHKYToUN8PW9x6c3hRkDZEhw==","repository":{"url":"git+https://github.com/actana/control.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.12.1","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"ws":"8.21.0","undici":"8.9.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.6","@types/ws":"8.18.1","typescript":"6.0.3","@types/node":"25.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.4_1788298845061_0.7927808016713762","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"@actana/sdk","version":"0.4.5","description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","license":"MIT","type":"module","keywords":["actana","core-link","sdk","agent","terminal"],"homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","bugs":{"url":"https://github.com/actana/control/issues"},"repository":{"type":"git","url":"git+https://github.com/actana/control.git","directory":"packages/sdk"},"engines":{"node":">=22"},"exports":{"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"publishConfig":{"access":"public","provenance":true},"dependencies":{"undici":"8.9.0","ws":"8.21.0"},"devDependencies":{"@types/node":"25.8.0","@types/ws":"8.18.1","typescript":"6.0.3","vitest":"4.1.6"},"scripts":{"build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test":"vitest run"},"_id":"@actana/sdk@0.4.5","_integrity":"sha512-CoxsenkfJL7LHOLW/vtk9qRUDVYzQ234D8fz+Lyw+zS4F71m2ckIsNWOeN4FfMyY8pmCN2q+VcJDaWiLGAt/Vg==","_resolved":"/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.5.tgz","_from":"file:/home/runner/work/control/control/artifacts/npm/actana-sdk-0.4.5.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-CoxsenkfJL7LHOLW/vtk9qRUDVYzQ234D8fz+Lyw+zS4F71m2ckIsNWOeN4FfMyY8pmCN2q+VcJDaWiLGAt/Vg==","shasum":"6736f62098c133a12b1e0e65f668130dc2fefb14","tarball":"https://registry.npmjs.org/@actana/sdk/-/sdk-0.4.5.tgz","fileCount":67,"unpackedSize":740600,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actana%2fsdk@0.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCLe6g4qsHh7tiO6/BnmV9RvPXqnZkq7tJpeN90cgdZkgIgHfGLCZDk1OLp77rmFeF4AoI7KHMhGK0WxkCozUvs7pE="}]},"_npmUser":{"name":"actana","email":"info+actana@qcentic.com"},"directories":{},"maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.4.5_1789487297992_0.21641568774434772"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-13T10:54:28.660Z","modified":"2026-09-15T15:48:18.450Z","0.2.2":"2026-08-13T10:54:29.026Z","0.3.0":"2026-08-14T09:43:40.751Z","0.3.2":"2026-08-18T19:42:33.146Z","0.3.3":"2026-08-19T16:51:38.854Z","0.4.1":"2026-08-25T11:55:24.781Z","0.4.2":"2026-08-31T12:16:53.572Z","0.4.3":"2026-09-01T08:48:07.246Z","0.4.4":"2026-09-01T21:40:45.234Z","0.4.5":"2026-09-15T15:48:18.123Z"},"bugs":{"url":"https://github.com/actana/control/issues"},"license":"MIT","homepage":"https://github.com/actana/control/tree/main/packages/sdk#readme","keywords":["actana","core-link","sdk","agent","terminal"],"repository":{"type":"git","url":"git+https://github.com/actana/control.git","directory":"packages/sdk"},"description":"Actana Control SDK — the Core client and the core-link wire protocol it speaks: frame schema, protocol version, codec, transport.","maintainers":[{"name":"actana","email":"info+actana@qcentic.com"}],"readme":"# @actana/sdk\n\nThe Core client for [Actana Control](https://github.com/actana/control), and the\n`core-link` wire protocol it speaks: frame schema, protocol version, codec,\ntransport.\n\nA **Core** is a machine that runs AI coding sessions. This package is what talks\nto one — over mutual TLS and a bearer, out of the credential a pairing issued\n(`@actana/sdk/core-pairing` redeems a short code for one). The\nprotocol ships with the client rather than beside it\n([ADR 0025](https://github.com/actana/control/blob/main/docs/adr/0025-the-protocol-ships-with-the-client.md)):\nthere is one definition of a frame, and it is here.\n\n```sh\nnpm install @actana/sdk\n```\n\nNode **22 or newer**. Published as compiled JavaScript with type declarations\nbeside it, with\n[provenance](https://docs.npmjs.com/generating-provenance-statements) — every\nrelease is attested to the workflow and the commit that built it.\n\n## Two layers, one socket\n\n```js\nimport { CoreClient } from \"@actana/sdk/core-client\";\nimport { CoreSession } from \"@actana/sdk/core-session\";\n\nconst client = CoreClient.fromRegistrationBlob(blob, { connectTimeoutMs: 15_000 });\nconst info = await client.connect();\n\nconst session = await CoreSession.start(client, {\n  projectId,\n  cwd,\n  harness: \"claude-code\",\n  prompt: \"summarise this repo\",\n});\nawait session.waitForIdle({ timeoutMs: 300_000 });\nconsole.log(session.screen());\n```\n\n- **Transport** — `@actana/sdk/core-client` connects, authenticates, correlates\n  requests to responses, and surfaces the unsolicited streams. `@actana/sdk/durable-core-client`\n  is the same surface with heartbeats, reconnection with backoff, and an event\n  cursor, for a long-lived consumer.\n- **Session** — `@actana/sdk/core-session` starts a session, waits for its\n  Harness to come up, delivers a prompt, and reads the result.\n\nI/O is programmatic and never a TTY: `send(text)`, `onData(…)`, `screen()`.\nRaw mode and terminal handling belong to a terminal program — see `@actana/cli`.\n\n`packages/sdk/examples/start-a-session.mjs` in the repository is a complete\nplain-Node script, start to finish.\n\n## Files\n\nA Project's files are reached over the Core's HTTPS routes — the same origin,\ncertificate and bearer as the socket, but not the socket itself. File bytes\nnever cross the core link, because chunking a multi-gigabyte upload into JSON\nframes would stutter every terminal pane sharing it\n([ADR 0028](https://github.com/actana/control/blob/main/docs/adr/0028-file-bytes-cross-https-not-the-core-link.md)).\n\n```js\nimport { createReadStream, createWriteStream } from \"node:fs\";\nimport { Writable } from \"node:stream\";\n\nconst project = client.project(projectId);\n\nfor await (const entry of project.files.list({ path: \"src\" })) {\n  console.log(entry.path, entry.size, entry.sha256);\n}\n\nfor await (const line of project.files.upload({\n  path: \"notes.txt\",\n  body: createReadStream(\"./notes.txt\"),\n})) {\n  if (line.type === \"entry\") console.log(line.result, line.path); // \"overwritten notes.txt\"\n}\n\nconst { stream, size } = await project.files.download({ path: \"dist/bundle.js\" });\nawait stream.pipeTo(Writable.toWeb(createWriteStream(\"./bundle.js\")));\n```\n\n**Everything streams, and nothing runs ahead of you.** `upload` takes a stream\nand gives back the Core's NDJSON progress as an async iterable — one line per\nentry, each saying whether it was `written` or `overwritten`. `download` returns\na **stream, never a buffer**: a gigabyte file is never resident. `list` is an\nasync iterable over the tree. All three are pull-driven, so a slow consumer\nbecomes backpressure all the way to the Core rather than a queue filling up in\nmemory here.\n\nTwo things worth knowing before you call them:\n\n- **Ask first.** `client.canUseFileRoutes()` is false against a Core that\n  predates the file surface, and every call throws\n  `CoreFilesUnavailableError` with the reason rather than sending a request such\n  a Core would answer with a bewildering 404. That Core is not broken and does\n  not need updating.\n- **One write per Project, and no retries.** A second concurrent write is\n  refused with `CoreFilesConflictError` (`code: \"transfer-in-progress\"`)\n  immediately. This package never retries it for you: the conflict is a\n  decision for you to make, and a silent retry would turn a clear refusal into a\n  hang.\n\nA folder crosses as one tar. This package does not build them — hand `upload` a\ntar stream with `kind: \"tar\"`, and `download` of a directory returns one with\n`kind: \"tar\"`.\n\n## Versioning\n\nOne version line across the Core, the Panel, this SDK and the CLI, published on\nthe same tag that builds the container images. Pre-1.0, **each minor is the\nbreaking-change unit** — a patch never changes a shape.\n\n`CORE_LINK_PROTOCOL_VERSION` is a separate number with its own compatibility\nrule, exported from `@actana/sdk/core-link-frames`. A Core and a client\nnegotiate on it at connect time; it does not move with the package version.\n\n## License\n\nMIT — see [LICENSE](https://github.com/actana/control/blob/main/LICENSE).\n","readmeFilename":"README.md"}