{"_id":"@amigo-ai/scribe-typescript-sdk","_rev":"16-afd5268593f30ef0b918a04f91c1b84f","name":"@amigo-ai/scribe-typescript-sdk","dist-tags":{"latest":"0.14.0"},"versions":{"0.1.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.1.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.1.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"9e5bc7b8ea4bbd3a2f8dbdff4a4d14f6ef4770b6","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.1.0.tgz","fileCount":20,"integrity":"sha512-ImO9TrXyB7gw4bEynPP7uUHTmXDtPAlcm/JFZhXV3zHYyxzHPOdG2ePtP/RqFJFmnZKkz09H9J338pESmQ0oTQ==","signatures":[{"sig":"MEUCIQDv4d7H7KZ+ddNs/fWyN9WaQL0V8a1ZvyshbACiKuDO7AIgfpK5xEUanamqVbDTYw4GcM36cCMkt8kgW0J6jjFKbsM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":273501},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"2b0c3ad76075492ad7754d31c3e8579ffbad285d","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.1.0_1784910359560_0.5712695104915995","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.2.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.2.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"902f4f39931a9879b585250c8f8f686bc82085cf","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.2.0.tgz","fileCount":20,"integrity":"sha512-+MdnSqQTP3WaJGYwdZyM7BkgSKvjlBaqZ6/2zq8F0MxBobzy4R/tYnGRq0iHoeQ0mmLXxYStVlpvkl59U+ZBvg==","signatures":[{"sig":"MEQCIEdeMMbgq6PyEcycBM7PpH3BnkhTlVRBroUjtPOeGQ2xAiBbfwlffGv+bDHPI4HKAioFDfAL756lQml5ddVhXCFhrQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":311158},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"9d5d3d8f7bca3c8f0320816c84db9dae52cb9484","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.2.0_1784946259981_0.2092432458240372","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.3.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.3.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"5df4ed4c1f56e913bb3371828972a51dce7c6c13","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.3.0.tgz","fileCount":20,"integrity":"sha512-hwo09xQZx7Ai1fJhu03LNb875DEzr41CwLUGPlU2Re+YEXQTDyuQvfbCKaao+7p9a2tHpjki7Yix8bbMaD2zoA==","signatures":[{"sig":"MEUCID8pyhtAV2OamRYTIk8sLi1Rjrl49QMUrdFmcBLpD+PGAiEAoziabrFWLZxX4G8so2mHNWWR3xV7xhGeNrS2eJD51XA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":326320},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"26e2f18f885713205721693e58552781fb4eb493","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.3.0_1785026843620_0.5677068093411382","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.4.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.4.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"7076c55382e4a6451bf68533e90117d172ac11ac","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.4.0.tgz","fileCount":21,"integrity":"sha512-KHfJJF3MqsisWcRgsXGpD/120zdtmJ4pDSooKpMLuDon9OqI3GO/TNQ5XDmCZNoqZZ2OyEAk9K3Os19/dvlI7w==","signatures":[{"sig":"MEYCIQDAUVDcEjSt0K+lo9kGz50JvOq4iqQfP8q/dVhs5RbkRAIhAJhANg+c7sCutB9XytBOBgkcUfDR5dTbQKFJFc4rfhOn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":486860},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"36acbad2b1521a95d233e99ed9593c07a420f3aa","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.4.0_1785450755701_0.4144915434207892","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.5.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.5.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"1b427258ea2da19924dbff662da6708e91762b13","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.5.0.tgz","fileCount":22,"integrity":"sha512-75yGxPXg9xQuWXpqiWt5U7j+Aosf+LeZUtqmpC3r7vxcMqttL+FNArmLTeKWcPYd6Zn3SsmIbMFv68xXl/M/OA==","signatures":[{"sig":"MEQCIAj0JrFsBUirenonfeARVIERN0HEzJukQMJ8bFVv+kPxAiBBArpWW4kF9ipuaOTojeJ4mCXaRvbSzRfZpokgpD/t0w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":565986},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"c6c0565bd10109f7b80f2a245f2dd877481a0769","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.5.0_1785515671990_0.2538936712129969","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.6.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.6.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"b81ed83716cc54bdf8455b434fbc92bc3e754dd3","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.6.0.tgz","fileCount":22,"integrity":"sha512-z15S/zo18cDLJ131zlii13MlZbW09uV3fULhG7yOc1wC3Rav3ug5rOhJC2FK7//QvWfXu23BQO6YN88x9xAhSQ==","signatures":[{"sig":"MEQCIGK+dur679I+cvnKdalBpQzh+ur9QXSfCPMDrUXC2WmPAiA1RETwFk+2qhlCHDUclvTmGMIUw3+by1g72qC6BNhG5A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":570632},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"f305db10ef045b3ed84a02d291adb8d98a179077","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.6.0_1785547155244_0.8907354389622522","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.7.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.7.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"c71f377a1f8170c424574a891d75e24fa9fb4035","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.7.0.tgz","fileCount":22,"integrity":"sha512-quoixiC/2b159+8Ttsb1WipsLsN3xEUctJyBWyrxmJD4Nkk6utNq4ZrRMmCnLeiG+WxqUFWkh/gom6NkrE0goQ==","signatures":[{"sig":"MEYCIQDlcsGY3CIyii36HC3hvDjtPuzAcdQz5VOOOJEBRginuQIhAKM2RRZSzuX3FFCDFXgttnD4Y5PnDU5nc1nXUeSpkjtx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":565045},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"172168f0217078a05640749158a35b5a74e26304","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.7.0_1785599177013_0.992038049043972","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.8.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.8.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"1530feafafbd6fdf3e3ce7de3aaf60bd34049cba","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.8.0.tgz","fileCount":22,"integrity":"sha512-ImPJZQow9sDdC5+W21Uw1YaR6b2tmUu2p4a9iEmxS3tFo3fDvgc02tj2SgNTMX8JrGrzBz7F6DY1bl2zgpwgBw==","signatures":[{"sig":"MEUCIQD7yoMVElGaIGlxRJS2FIFNp1JYgBzGSo6MvNZGzQeWegIgI+WsKfj815xzaSVx/zyIou3Bt4RtjlApAHHyV2V6mGk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":565928},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"97bb29556b94343f79245d770ba28df237cd3151","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.8.0_1785630793079_0.7403456843339864","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.9.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.9.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"29678f6843373edfc60284993ef76f2a04667aba","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.9.0.tgz","fileCount":22,"integrity":"sha512-HZ7CotAQRBlO8RtoQDtp1stGNzSXzhdOsqC0I30mngLTiEZmWM3RTtLNkRmFPQDREXdV4zZj9eRlCOFhfSoxUw==","signatures":[{"sig":"MEYCIQCQp6xskjWcc8lXR8U2TvePsd+5lySeDcqARcunEBiLKAIhAMA2cPjFHS9Ka54K/+4IljUj6XbN0AiEdzrbsUFffRVt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":581058},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"6043cc5be30b2fc430bacf040d187d8eb473d8cb","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.9.0_1785690321263_0.008711405182382448","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.10.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.10.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"a69cbffd8d70233b5529b602b1a8464d67cfadb5","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.10.0.tgz","fileCount":22,"integrity":"sha512-RgxCousi+Zs2L9k8Wf4F/AyuLTnZDC7kp3vOgv+ZpQZluTfmKOAU7sTCbta4UymxBeazZ+PNWLiu0hkIVqkd/g==","signatures":[{"sig":"MEUCIQCrFeOd1CZ6TuXGWXeNK2lwOY9YZa8JMyd0BNBzW53rnwIgWAWsFIERGFa4t20V/IU2bMsxmjWJ5t/uyjyOI2WQKXY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":581059},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"31a5e61cb96746d72709a1ffa740f6086d474a97","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.10.0_1785690364767_0.764825189529079","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.11.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.11.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"f95e74b69c77e3c38d1fa13e2780af4197c9780f","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.11.0.tgz","fileCount":22,"integrity":"sha512-/01cxEvi+EOBMnWTtFE0nAgzJZUtz8BAApNd97b5ihQm5ppM4GUUjCM5R1uysYNZDDsHDLQACv3l1JOOyVxo4Q==","signatures":[{"sig":"MEUCIQDG2x4hY28WNd0D/aq9gAaP8m2vCjc+Q6/OenSMJxSU3wIgJcKdOrvqphjTJ6gKUFbPrimgZGk21hm4mOWQRNX6x5w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":592468},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"b116f4a3e44795c99064f97e764a15a3010d8cb0","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.11.0_1785785817375_0.014773096054722545","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.12.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.12.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"8fb4722c33c1687c4c7c461baf9a85cf955d0bc5","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.12.0.tgz","fileCount":25,"integrity":"sha512-5q7mhkaocKpCaD6eveMFnEHiQt9CDtGFGzEsJXvTOWyMw+6BjynObA9rYxecAH7QEB64OKraMAI0jxJYKzSm2A==","signatures":[{"sig":"MEYCIQC+cONkF1jWJtn3v2xekuwSWFKTQaGwTO3fHx/leMgD1AIhANUzxO7OogAQ0oDsn6tvpHzLWt21usiNaVQlBFvBRb+U","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.12.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":641157},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"0d3ff791bb3d1f7b284502d6161986c855cd3456","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.12.0_1786489249322_0.17778188155985974","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.13.0","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"author":{"name":"Amigo Inc."},"license":"MIT","_id":"@amigo-ai/scribe-typescript-sdk@0.13.0","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"dist":{"shasum":"0d6c4fca54d5054c23c40358cde007019c8c312f","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.13.0.tgz","fileCount":25,"integrity":"sha512-UBtEG7qr5u1+tdG+Ckl/UX8b5dkbVUvWkz+rrQLbPfFiAiW+kTC9oFnuIXLf5ibymxiEy3WXc6KiaCMgKKaqxg==","signatures":[{"sig":"MEYCIQDyfeFZe/yIhb1L0BqyCS6Vyl5J98NKeslm17bPAcTNOgIhANCeIaXp3CVH2xg1S6NgrsoNr9L3ABKU9VS82R3qkqf4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.13.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":643041},"type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"gitHead":"0cdd727a2f51d74a4438eea0c520fdef22d7479e","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","test":"vitest run --project unit","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","clean":"rm -rf dist","format":"prettier --check .","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","test:e2e":"vitest run --project e2e","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","typecheck":"tsc --noEmit","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","test:watch":"vitest","format:write":"prettier --write .","openapi:sync":"node scripts/sync-openapi.mjs","test:coverage":"vitest run --coverage --project unit","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","validate:publint":"publint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"repository":{"url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git","type":"git"},"_npmVersion":"11.13.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.1","eslint":"^9.32.0","vitest":"^3.2.4","esbuild":"^0.25.8","globals":"^16.3.0","publint":"0.3.14","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^24.2.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^3.2.4","@arethetypeswrong/cli":"0.18.2","@andrewbranch/untar.js":"1.0.3","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/scribe-typescript-sdk_0.13.0_1787236171207_0.6464194171812718","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"@amigo-ai/scribe-typescript-sdk","version":"0.14.0","description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","publishConfig":{"access":"public","provenance":true},"keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git"},"license":"MIT","author":{"name":"Amigo Inc."},"type":"module","exports":{".":{"types":"./dist/types/index.d.ts","import":{"types":"./dist/types/index.d.ts","default":"./dist/index.mjs"}},"./package.json":"./package.json"},"types":"./dist/types/index.d.ts","sideEffects":false,"engines":{"node":">=20.0.0"},"scripts":{"clean":"rm -rf dist","build":"node scripts/build.mjs && tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs","dev":"node scripts/build.mjs --watch","openapi:sync":"node scripts/sync-openapi.mjs","generate:schema":"openapi-typescript openapi/scribe.json -o src/generated/openapi.ts","test":"vitest run --project unit","test:watch":"vitest","test:coverage":"vitest run --coverage --project unit","test:e2e":"vitest run --project e2e","typecheck":"tsc --noEmit","format":"prettier --check .","format:write":"prettier --write .","lint":"eslint 'src/**/*.{ts,tsx}' --max-warnings 0","lint:fix":"eslint 'src/**/*.{ts,tsx}' --fix","validate:publint":"publint","validate:attw":"node scripts/check-attw.mjs","validate:pack":"npm pack --dry-run","validate":"npm run validate:publint && npm run validate:attw && npm run validate:pack","pack:local":"npm run build && rm -rf artifacts && mkdir -p artifacts && TARBALL=$(npm pack) && mv \"$TARBALL\" artifacts/ && echo Packed: artifacts/$TARBALL","prepublishOnly":"npm run build && npm run typecheck && npm test && npm run validate"},"devDependencies":{"@andrewbranch/untar.js":"1.0.3","@arethetypeswrong/cli":"0.18.2","@eslint/js":"^9.32.0","@types/node":"^24.2.0","@typescript-eslint/eslint-plugin":"^8.39.0","@typescript-eslint/parser":"^8.39.0","@vitest/coverage-v8":"^3.2.4","dotenv":"^17.2.1","esbuild":"^0.25.8","eslint":"^9.32.0","eslint-config-prettier":"^10.1.8","globals":"^16.3.0","openapi-typescript":"^7.13.0","prettier":"^3.6.2","publint":"0.3.14","typescript":"^5.9.2","vitest":"^3.2.4"},"gitHead":"ba0fbb5bd59fe8e3e6053ae3b68eabc339be1d36","_id":"@amigo-ai/scribe-typescript-sdk@0.14.0","_nodeVersion":"24.20.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-nFWJ0rcAGgmSBOExUlEUwIh4gn1Q0a+CiRtz1xEelR8gMZpbhgwvYtZ6gKVY0Mc92nazQ62KYf9thYpjhELV/w==","shasum":"d4d695026401248e607acf43a69b429440217388","tarball":"https://registry.npmjs.org/@amigo-ai/scribe-typescript-sdk/-/scribe-typescript-sdk-0.14.0.tgz","fileCount":26,"unpackedSize":649965,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amigo-ai%2fscribe-typescript-sdk@0.14.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHugP4R3+23QHKMdyoUGn+vJQICUJ1uxTNceTAR19/afAiAZyCc5BXTtUwm0LkqY8tkPqCljpJffBiwWyRiqhV/xiw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:992e6f33-ea3a-45c6-889b-9cc912d462e3"}},"directories":{},"maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/scribe-typescript-sdk_0.14.0_1788834740711_0.389675912030953"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-24T16:21:50.346Z","modified":"2026-09-08T02:32:21.186Z","0.0.1":"2026-07-24T16:21:50.731Z","0.1.0":"2026-07-24T16:25:59.687Z","0.2.0":"2026-07-25T02:24:20.154Z","0.3.0":"2026-07-26T00:47:23.761Z","0.4.0":"2026-07-30T22:32:35.892Z","0.5.0":"2026-07-31T16:34:32.171Z","0.6.0":"2026-08-01T01:19:15.395Z","0.7.0":"2026-08-01T15:46:17.145Z","0.8.0":"2026-08-02T00:33:13.235Z","0.9.0":"2026-08-02T17:05:21.428Z","0.10.0":"2026-08-02T17:06:04.913Z","0.11.0":"2026-08-03T19:36:57.534Z","0.12.0":"2026-08-11T23:00:49.455Z","0.13.0":"2026-08-20T14:29:31.365Z","0.14.0":"2026-09-08T02:32:20.856Z"},"bugs":{"url":"https://github.com/amigo-ai/scribe-typescript-sdk/issues"},"author":{"name":"Amigo Inc."},"license":"MIT","homepage":"https://github.com/amigo-ai/scribe-typescript-sdk#readme","keywords":["amigo","scribe","sdk","ai","transcription","streaming","websocket"],"repository":{"type":"git","url":"git+https://github.com/amigo-ai/scribe-typescript-sdk.git"},"description":"Framework-agnostic TypeScript SDK for the Amigo Scribe streaming service","maintainers":[{"name":"johnxing-amigo-ai","email":"john@amigo.ai"},{"name":"acchindra","email":"acchindra@amigo.ai"},{"name":"cory_amigo","email":"cory@amigo.ai"},{"name":"leothedog","email":"ccrowley96@gmail.com"},{"name":"ezeugo-amigo","email":"ezeugo@amigo.ai"},{"name":"caly_amigo","email":"caly@amigo.ai"}],"readme":"# @amigo-ai/scribe-typescript-sdk\n\nFramework-agnostic TypeScript SDK for the Amigo **Scribe** streaming service.\n\n[Developer Guide](https://docs.amigo.ai/developer-guide/platform-api/scribe) · [API Reference](https://docs.amigo.ai/api-reference/readme/scribe) · [Contributing](CONTRIBUTING.md) · [Security](SECURITY.md)\n\nUse this package for provider Scribe sessions, audio capture, transcription, and note workflows. Scribe has separate service hosts and credentials from the general Platform and Classic APIs. Obtain workspace access, an authorized clinician, and a visit type with a configured note template before making requests.\n\nThis release ships the **CRUD REST client** for the full session lifecycle and\nits per-session artifacts:\n\nSession lifecycle:\n\n- `createSession` — `POST /v1/{workspace_id}/sessions`\n- `allocate` — `POST /v1/{workspace_id}/sessions/{session_id}/allocate` → `{ host, expires_at }`\n- `listSessions` — `GET /v1/{workspace_id}/sessions` (cursor-paginated: `limit`, `continuation_token`)\n- `getSession` — `GET /v1/{workspace_id}/sessions/{session_id}`\n- `updateSession` — `PATCH /v1/{workspace_id}/sessions/{session_id}` (update supported appointment, metadata, patient-name, and visit-template fields; mode is fixed at creation)\n- `endSession` — `POST /v1/{workspace_id}/sessions/{session_id}/end` (guarded → `in-review`)\n- `cancelSession` — `POST /v1/{workspace_id}/sessions/{session_id}/cancel` (guarded → `cancelled`)\n- `getTranscript` — `GET /v1/{workspace_id}/sessions/{session_id}/transcript`\n\nAppointments (read-only; each carries a nested `session` object):\n\n- `listAppointments` — `GET /v1/{workspace_id}/appointments` (cursor-paginated: `limit`, `continuation_token`)\n- `getAppointment` — `GET /v1/{workspace_id}/appointments/{appointment_id}`\n\nArtifacts (note / summary / checklist / codes):\n\n- `getNote` — `GET /v1/{workspace_id}/sessions/{session_id}/note`\n- `generateNote` — `POST /v1/{workspace_id}/sessions/{session_id}/note` (pass a `note_type` `NoteTemplate`; `amd-*` templates emit the `StructuredNote` envelope, `structured` populated / `body` null)\n- `putNote` — `PUT /v1/{workspace_id}/sessions/{session_id}/note` — versioned autosave; send the full `StructuredNote` envelope in `structured` + `base_version` (complete-document replacement). `body` is **deprecated**: a `body` write is rejected with `422 deprecated_field`. Stale `base_version` → `409 version_conflict`, post-finalize → `409 invalid_session_state`\n- `finalizeNote` — `POST /v1/{workspace_id}/sessions/{session_id}/note/finalize` (send the reviewed note's `base_version`; stale versions conflict and missing required template fields fail validation)\n- `getSummary` — `GET /v1/{workspace_id}/sessions/{session_id}/summary`\n- `generateSummary` — `POST /v1/{workspace_id}/sessions/{session_id}/summary`\n- `getChecklist` — `GET /v1/{workspace_id}/sessions/{session_id}/checklist`\n- `getCodes` — `GET /v1/{workspace_id}/sessions/{session_id}/codes`\n- `generateCodes` — `POST /v1/{workspace_id}/sessions/{session_id}/codes`\n\nAssist (in-visit + post-visit AI helpers):\n\n- `getActions` — `GET /v1/{workspace_id}/sessions/{session_id}/actions` (reload-safe poller)\n- `generateActions` — `POST /v1/{workspace_id}/sessions/{session_id}/actions` (async `202`/`200`; auto-enqueued when the note job succeeds)\n- `regenerateSection` — `POST /v1/{workspace_id}/sessions/{session_id}/note/regenerate-section` (`{ section_id, instructions?, base_version }` → `202`; stale `base_version` → `409 version_conflict`, post-finalize → `409 invalid_session_state`)\n- `autoCheckChecklist` — `POST /v1/{workspace_id}/sessions/{session_id}/checklist/auto-check` → `200 { matches }` (persists `source='auto'` state; coexists with manual toggles)\n- `askSession` — `POST /v1/{workspace_id}/sessions/{session_id}/ask` — a header-authenticated **SSE** streaming Q&A helper (an async generator of `delta {text}` frames then a terminal `done {generation_id}`; not `EventSource`, not persisted as an artifact)\n\nIt also ships the **recording-independent streaming WebSocket API client**\n(`ScribeStreamClient`) — the WS transport/protocol layer that attaches with a\nshort-lived **attach ticket**, streams **caller-supplied PCM16 bytes**, receives\ntranscript frames, and handles control frames, app-level keepalive, and\nresumable reconnect. It has **no audio-capture code** (no `getUserMedia`,\n`AudioContext`, or mic): a caller feeds it PCM16 via `sendAudio`.\n\nThe **browser recording layer** (`ScribeRecorder` + the `AudioCapture` pipeline)\ndrives the mic into that client — see [Browser recording](#browser-recording).\nPlus the pure transcript core: the wire contract (`CLIENT_FRAME`,\n`SERVER_MESSAGE`, `CLOSE_CODE`), `normalizeTurn`, the `transcriptReducer` (keyed\non the server-owned ordinal), and `buildWsUrl`.\n\nThe package is browser-first (esbuild `platform: 'neutral'`, `lib` = `ES2022`+`DOM`,\nno Node-only imports) but the REST client runs anywhere `fetch` exists.\n\n> Scribe sessions follow **REST-create → REST-allocate → WS-attach**: create a\n> session, allocate a streaming host, then attach a WebSocket to `host`. After\n> the session ends, read the transcript and the generated artifacts (note,\n> summary, checklist, codes) via the REST client covered here.\n\nFor the **browser vs. server split-trust** model there are two higher-level\nclients:\n\n- **`ScribeServerClient`** (backend) — holds the M2M secret; mints per-clinician\n  provider tokens (act-as-by-email), does create/allocate, and mints WS-only\n  attach tickets. Exposes `allocate` and `mintAttachTicket` separately plus a\n  `prepareConnection` helper. Server-side only.\n- **`ScribeStreamClient`** (browser) — given a host + attach ticket, manages the\n  WebSocket audio connection.\n\n> **Integrating as an external customer?** See the end-to-end\n> [customer integration guide](docs/customer-integration.md) — the split-trust\n> model, copy-pasteable backend + browser examples, security, hosts, and\n> troubleshooting.\n\n## Install\n\n```bash\nnpm i @amigo-ai/scribe-typescript-sdk\n```\n\nRequires Node.js ≥ 20 (or any modern browser / runtime with `fetch` +\n`WebSocket`). The package is **ESM-only** — use `import`, not `require`.\n\n## Usage\n\n```ts\nimport { ScribeClient, ServiceUnavailableError } from '@amigo-ai/scribe-typescript-sdk'\n\nconst scribe = new ScribeClient({\n  // Scribe API (CRUD) host — production. (Staging: https://scribe-staging.platform.amigo.ai)\n  baseUrl: 'https://scribe.platform.amigo.ai',\n  // A provider JWT carrying `scribe:sessions:write` (+ `scribe:sessions:read_own`\n  // for transcripts). Pass a string, or a (possibly async) supplier to refresh\n  // a short-lived token per request.\n  token: async () => getFreshProviderJwt(),\n  workspaceId: 'ws_123',\n})\n\n// 1. Create a session\nconst session = await scribe.createSession({\n  external_id: 'appointment-42',\n  visit_type: 'medical', // use the canonical visit type configured for this workspace\n  metadata: { clinic: 'north' },\n})\n\n// 2. Allocate a streaming host\ntry {\n  const { host, expires_at } = await scribe.allocate(session.id)\n  // attach your WebSocket to `wss://${host}/agent/stream/connect?session_id=...`\n} catch (err) {\n  if (err instanceof ServiceUnavailableError) {\n    // Fleet at capacity / cooldown — retry after err.retryAfterSeconds\n  }\n}\n\n// 3. Read the persisted transcript (after the session is finalized)\nconst { segments } = await scribe.getTranscript(session.id)\n```\n\n### Server client (backend)\n\n`ScribeServerClient` is the confidential, backend half: it holds the M2M\ncredentials and encapsulates the two mints + CRUD. **Never import it into a\nbrowser bundle.**\n\n```ts\nimport { ScribeServerClient } from '@amigo-ai/scribe-typescript-sdk'\n\nconst server = new ScribeServerClient({\n  identityBaseUrl: 'https://api.platform.amigo.ai', // identity /token (mints)\n  scribeBaseUrl: 'https://scribe.platform.amigo.ai', // Scribe CRUD\n  workspaceId: 'ws_123',\n  clientId: process.env.AMIGO_M2M_CLIENT_ID!,\n  clientSecret: process.env.AMIGO_M2M_CLIENT_SECRET!, // server-side only\n})\n\n// `clinicianEmail` comes from YOUR authenticated app session (never the browser).\nconst session = await server.createSession(clinicianEmail, {\n  external_id: 'appointment-42',\n  visit_type: 'medical', // requires a matching configured note template\n})\n\n// Encapsulating helper: one allocate + one ticket mint → the browser-safe bundle.\nconst { host, ticket } = await server.prepareConnection(clinicianEmail, session.id)\n\n// ...or the pieces separately:\nconst allocation = await server.allocate(clinicianEmail, session.id) // { host, expiresAt }\nconst attach = await server.mintAttachTicket(clinicianEmail, session.id) // { ticket, expiresAt }\n\n// Reads (transcript / note / summary / checklist / codes) as the clinician:\nconst { segments } = await server.scribe(clinicianEmail).getTranscript(session.id)\n```\n\nA `400` `invalid_target` (`BadRequestError` with `errorCode === 'invalid_target'`)\nmeans the clinician has no active Scribe grant in the workspace.\n\n### Streaming WebSocket client (browser)\n\n`ScribeStreamClient` owns the worker WebSocket: it attaches with an **attach\nticket**, streams caller-supplied PCM16, and handles keepalive + resumable\nreconnect. Auth is a purpose-built, WS-only attach ticket (aud `scribe-streaming`,\nscope `scribe:streams:connect`, ~5-min TTL) — **not** a raw provider JWT. The SDK\nnever holds a provider credential or mints tickets; it resolves a host + ticket\nfrom your backend via one of three seams (re-invoked on every reconnect):\n\n```ts\nimport { ScribeStreamClient } from '@amigo-ai/scribe-typescript-sdk'\n\nconst client = new ScribeStreamClient({\n  sessionId: session.id,\n  // PREFERRED: one call to your backend route returning { host, ticket }\n  // (backed by ScribeServerClient.prepareConnection).\n  connectionProvider: async sessionId => fetchConnectionFromYourBackend(sessionId),\n  onTurn: segment => render(segment), // normalized SttTranscriptSegment (server ordinal)\n  onStateChange: state => console.log(state),\n  onReconnect: () => console.log('resumed'),\n  onError: err => console.error(err),\n})\n\nawait client.connect() // resolves connection setup; observe onStateChange for streaming\n// Send only once onStateChange reports streaming (or use ScribeRecorder below).\n// client.sendAudio(pcm16) accepts ArrayBuffer | Uint8Array; you own capture.\nclient.pause()\nclient.resume()\nclient.end() // finalize + clean close (1000)\n```\n\nInstead of `connectionProvider` you can pass the split `allocateProvider` +\n`ticketProvider` seams, or static `host` + `ticket` for a one-shot (not\nreconnect-safe) connection.\n\nReconnect is automatic on `1012` / `1006` (never on `1000` / `4009` / `4001`):\nthe client re-resolves a fresh host + ticket, reconnects the same session, sends\n`resume_from{acked_offset_bytes}`, and resends only the unacked ring-buffer\naudio. Pair `normalizeTurn` + `transcriptReducer` (or your own store) to render\nby the server-owned ordinal.\n\n### Browser recording\n\n`ScribeRecorder` is the browser-facing surface: it owns the Web Audio /\n`getUserMedia` PCM16 capture pipeline and drives a `ScribeStreamClient` for you.\nIt adds **no** wire-protocol logic — reconnect, ring buffer, keepalive, and\nattach-ticket auth all live in `ScribeStreamClient`; the attach-ticket seams are\npassed straight through. `start()` connects + opens the mic and pipes each PCM16\nchunk to `sendAudio`; `pause`/`resume`/`end` drive both capture and the client.\nBrowser-only (needs `getUserMedia`/`AudioContext`).\n\n```ts\nimport { ScribeRecorder } from '@amigo-ai/scribe-typescript-sdk'\n\nconst recorder = new ScribeRecorder({\n  sessionId: session.id,\n  ticketProvider: async sessionId => ({ ticket: await mintAttachTicket(sessionId) }),\n  allocateProvider: async sessionId => allocateHost(sessionId), // → { host, expiresAt }\n  audioCaptureMode: 'mic', // or 'mic+system' (adds tab/window audio via getDisplayMedia)\n  onTurn: segment => render(segment),\n  onStateChange: ({ state, streamState, micPermission, capturing }) => update(state),\n  onReconnect: () => console.log('resumed'),\n  onError: err => console.error(err),\n})\n\nawait recorder.start() // connect + open mic; pipes PCM16 → client.sendAudio\nrecorder.pause() // stops the mic; the WS stays open\nawait recorder.resume() // re-opens the mic\nrecorder.end() // stop the mic + finalize + clean close\n```\n\nOn reconnect the mic keeps running — the client re-allocates, re-mints a ticket,\nand resends unacked audio while the recorder keeps feeding new chunks. The\nrecorder state matrix is `idle → recording ⇄ paused → ended` (plus `failed`,\ne.g. the mic-permission-denied path, which also surfaces via `onError`).\nLower-level building blocks are exported too: `floatToPcm16`, `STT_SAMPLE_RATE`,\n`AudioCapture`, and the `captureStreamsForMode` / `createPcmCapturePipeline` /\n`stopCapturedStreams` helpers.\n\n### Configuration\n\n| Option           | Type                                        | Notes                                                    |\n| ---------------- | ------------------------------------------- | -------------------------------------------------------- |\n| `baseUrl`        | `string`                                    | Base URL of the Scribe/platform API.                     |\n| `token`          | `string \\| () => string \\| Promise<string>` | Bearer token or supplier. Needs `scribe:sessions:write`. |\n| `workspaceId`    | `string`                                    | Scopes every request; can be overridden per call.        |\n| `fetch`          | `FetchLike?`                                | Injectable transport (defaults to global `fetch`).       |\n| `defaultHeaders` | `Record<string,string>?`                    | Extra headers merged into every request.                 |\n\n### Errors\n\nNon-2xx responses throw typed errors (all extend `ScribeError`):\n`BadRequestError` (400), `AuthenticationError` (401), `PermissionError` (403),\n`NotFoundError` (404), `ConflictError` (409), `ValidationError` (422),\n`RateLimitError` (429), `ServerError` (500), `ServiceUnavailableError` (503,\nwith `retryAfterSeconds`). Transport failures throw `NetworkError`.\n\nMachine-readable domain error codes are surfaced on `ScribeError.errorCode`.\nStructured-note codes: `version_conflict` / `invalid_session_state` (409),\n`deprecated_field` (a `body` write on the deprecated compatibility field),\n`unsupported_note_template` (unknown/mismatched pinned template),\n`note_template_required` (session create/patch with no resolvable `visit_type`),\n`validation_error` (structured document failed template validation, per-field\n`details`), and `finalize_validation_failed` (finalize with a required\nAMD/template field missing) — all `422`. Async structured generation that fails\nvalidation after a bounded repair leaves the note `generation_status === 'failed'`\nwith an `error` (`ErrorDetail`) describing the `structured_generation_invalid`\nfailure.\n\n## Development\n\n```bash\nnpm ci\nnpm run openapi:sync     # refresh openapi/scribe.json from production (network)\nnpm run generate:schema  # regenerate src/generated/openapi.ts from openapi/scribe.json\nnpm run build            # esbuild (ESM) + tsc (.d.ts) + NodeNext .js-extension fixup\nnpm run lint\nnpm test                 # unit tests (mocked transport)\nnpm run test:e2e         # gated E2E — see tests/e2e/README.md (skips without creds)\nnpm run validate         # publint + attw + npm pack --dry-run (pre-publish checks)\n```\n\n**Packaging.** The SDK is **ESM-only** (`\"type\": \"module\"`): a single ESM entry\npoint (`dist/index.mjs`) built with esbuild plus `tsc` for the `.d.ts` types,\nexported through the `exports` map (`types`/`import`). There is no CommonJS build.\n`tsc` emits declarations with extensionless relative imports, which Node's\nNodeNext ESM resolver rejects; `scripts/fix-dts-extensions.mjs` rewrites those to\nexplicit `.js` specifiers post-build so `@arethetypeswrong/cli` (attw) resolves\nthe types cleanly. Validate with `npm run validate` (publint + attw + `npm pack\n--dry-run`).\n\n**Wire types.** The REST wire types in `src/types.ts` are derived from the Scribe\nservice's **production OpenAPI document**\n(`https://scribe.platform.amigo.ai/v1/openapi.json`, vendored at\n`openapi/scribe.json`) via [`openapi-typescript`](https://github.com/openapi-ts/openapi-typescript).\nTo refresh types after the API schema changes:\n\n```bash\nnpm run openapi:sync     # re-fetch the spec into openapi/scribe.json\nnpm run generate:schema  # regenerate src/generated/openapi.ts from that snapshot\n```\n\nBoth `openapi/scribe.json` and the generated `src/generated/openapi.ts` are\ncommitted so the build needs no network. CI runs `generate:schema` and fails the\nPR if `src/generated/openapi.ts` is out of sync with the vendored spec (the\n\"Verify generated API types are committed\" step). `openapi:sync` accepts\n`--url <https url>` or `--spec <local file>` overrides; the default source is the\nproduction URL. The generated module is types-only — nothing is added to the\nruntime bundle.\n\n## Versioning & releases\n\nThe SDK follows [semver](https://semver.org). It is published to npm as\n[`@amigo-ai/scribe-typescript-sdk`](https://www.npmjs.com/package/@amigo-ai/scribe-typescript-sdk) with\n[npm provenance](https://docs.npmjs.com/generating-provenance-statements).\n\nReleases are automated directly by `.github/workflows/release.yml`, without a\nthird-party release action:\n\n1. Merge source-code changes under `src/` to `main` using\n   [Conventional Commit](https://www.conventionalcommits.org/) titles. `fix:`\n   produces a patch release, `feat:` a minor release, and a breaking-change\n   marker (`feat!:` or a `BREAKING CHANGE:` footer) a major release. Do not\n   change the `package.json` version in a source PR; CI enforces that the\n   release workflow remains the sole owner of version bumps.\n2. The workflow examines commit subjects and bodies since the latest `vX.Y.Z`\n   tag, calculates the next version, and creates a tag-only commit containing\n   the corresponding `package.json` / `package-lock.json` version bump. Changes\n   outside `src/` do not trigger the automated release flow.\n3. The workflow pushes the annotated tag and creates a GitHub Release whose\n   generated notes cover the commits since the previous release tag. It then\n   re-validates the package\n   (`build → typecheck → test → publint + attw + npm pack`) and runs\n   `npm publish --provenance --access public` automatically.\n\nThe workflow can still be dispatched manually from a `vX.Y.Z` tag as a recovery\npath. The tag must match the version in `package.json`.\n\nPublishing uses **npm [trusted publishing](https://docs.npmjs.com/trusted-publishers)\n(OIDC)** — there is no npm token. The workflow authenticates with its\n`id-token: write` OIDC token, which also produces the provenance attestation.\n\nBefore the first publish can succeed, two one-time setup steps are required (no\nrepo secrets):\n\n- **Configure a trusted publisher** for `@amigo-ai/scribe-typescript-sdk` on npmjs.com\n  (Package → Settings → Trusted Publisher) pointing at this repository\n  (`amigo-ai/scribe-typescript-sdk`) and workflow (`.github/workflows/release.yml`).\n  This is the account/ops action that replaces provisioning a token.\n- The repository must be **public** for OIDC trusted publishing + provenance.\n\nPre-publish validation can be run locally at any time:\n\n```bash\nnpm run build\nnpm run validate   # publint + attw (are-the-types-wrong) + npm pack --dry-run\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}