{"_id":"@alter-ai/alter-sdk","_rev":"28-4a8bef1a8b63e7292ad86b364436d4ce","name":"@alter-ai/alter-sdk","dist-tags":{"latest":"0.25.0"},"versions":{"0.2.0":{"name":"@alter-ai/alter-sdk","version":"0.2.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.2.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"d195e430f9de087f6d282c972133e7309eaa3c92","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.2.0.tgz","fileCount":6,"integrity":"sha512-zOrMRNMB8hmBhrNnwB4fxppRN5lvsQzS5GSmcTGeKAUIhAkf8fx+TLb31RqLKLPtEkVDdGC8cQ7wkhKcgLHsmw==","signatures":[{"sig":"MEUCIAYF2iXnhxLyfdnHdHzjDZbq98bj48bbrJ+oprPOJX3NAiEA79nZpzHGyF/jyssMduWkzQnWWEehdBoHlqEFXwnEQho=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96375},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9de4d9f86b6ca99a41021640060f3d4ea4199d36","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.2.0_1771450137623_0.6510303678247169","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@alter-ai/alter-sdk","version":"0.2.1","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.2.1","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"8479f87eead5394d884a196933994f8411da1f3b","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.2.1.tgz","fileCount":6,"integrity":"sha512-Lfgrzv2KK15zh+rCwcMHbfFHZi4+olc7Tf2WATaFDN0nQIPtflLWGlA32/WeFg3F8QMAgSeQ/czlL2Ed5BOf/w==","signatures":[{"sig":"MEUCIQDN3M0Wj1h4xx6xfWS+x8uPkqZ7zlX4AdHa2sGbgdHiSAIgXF0wvviYUbFDouZnepE1SI+v+6n5D2IEBZ8Er7S2dIE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94448},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"47297073fb9b68462c0cb24558c17d5988deb26c","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.2.1_1771477704510_0.034734958391492654","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@alter-ai/alter-sdk","version":"0.2.2","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.2.2","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"634e7f84902696e69c1f72bf9c109cda655d4041","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.2.2.tgz","fileCount":6,"integrity":"sha512-rRA9090mvDiG0KyHy2y4dwyIJVtoDclwX9rMzLDB4h9VsB4w7tQQGAM1ilXLxbG8oTyZjX25BDrPgdDUSRRnuw==","signatures":[{"sig":"MEUCIQDTaZ4PIxqJNqWBnTkFAzpovX07av+Gu1AuS2K9p+lMGwIge8C9PXaKngfnm90HpzhM9cSNlmlq74aAQKdCpZR9bF0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115399},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"65ebca8e1137e47ae0a8fc7b55fa10a7f850db4b","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.2.2_1771553039734_0.8299246053653997","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@alter-ai/alter-sdk","version":"0.3.1","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.3.1","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"f946daaf7f7a51728304aea4ba9b959f9507a75f","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.3.1.tgz","fileCount":6,"integrity":"sha512-fxH8P42sZwpkEwR7iGIm0GVnwXlMP7beGYSBpeq7cGD45zwQtGoz9MQzOIKKpOEL40lIvakFJPlMPWXihvzt9A==","signatures":[{"sig":"MEQCIAVeufhAe/RfI/lOidQtzJGa3aBcUXwoPoTOWVA+RvHpAiAJ5dWIb5HRLZ2YMl6aJE3OzfC7mlWsNe7OF/1H458etg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124448},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"35ad15653fc6a55893fdb8ccaec5d3ff87073dc4","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.3.1_1772154195255_0.7557451587271287","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@alter-ai/alter-sdk","version":"0.4.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.4.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"27d40914cd462be1719a19f341fbece7d5eb4864","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.4.0.tgz","fileCount":6,"integrity":"sha512-A4WMarmdWL7VuSUJFYbHOWsyPUGgPGSiwvazqLmqoK9IlyllqpufnnmmdZXhFIwxm74drYenZ1ZNeXg2dqqZFg==","signatures":[{"sig":"MEUCIQC4liksLOZJXHNqa91c8nLsXZZtmRNiCyzXpwMvB+OWrQIgDtryvwjgWg/JYOB7t4jT6zaXbkA7LOQZ8fswSWvJN+o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":159674},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"629927bcc28a86e7c4a203acbe95b84031421087","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.4.0_1772388697874_0.09263776420794434","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@alter-ai/alter-sdk","version":"0.5.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.5.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"ce24f1b544404bb1df9e1eb6a8fb1c905e144c8b","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.5.0.tgz","fileCount":6,"integrity":"sha512-SkBdM5Ua/q7I0ODdl9abcacGy5GirfH18ijsLgxcdM1ONnS0xdwuX4KNw5g652A/FaOzZUuGRM0xTnmFsVB/hg==","signatures":[{"sig":"MEUCIQCqbCbLjeGCCJgK36kMQH/uDEMgBc25bPp210OE18g2tgIgPbomgP8zdnbJhJGSg2a68xI14WIIijE9pwsCSS1hucc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":201850},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"de408eb28950d73d8f3d448f940c1b9c5a68740f","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.5.0_1773357960594_0.5165120018386755","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@alter-ai/alter-sdk","version":"0.6.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.6.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"56dd2930575038bd34c3f15ad3e69542dbfb0216","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.6.0.tgz","fileCount":6,"integrity":"sha512-COS9PSrNnPz69+npzTdER4IXow22zUGUmYaQJgVWQD1IVt+5IIakpdLQTVf+FLrTnNtf0U/bTR9NjWD7I8eI6g==","signatures":[{"sig":"MEYCIQCepA7eGLKwJQBA0N9Dl8W96l1Q9JHVNrTbxYomrarLQwIhAJwa3Lt7fWAGCOHs1bDXYBZe6D4k2hD8wUemy7CgnzCt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203964},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"22ff978e88af73c239f31f4d69c50b1fab5a9da9","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.6.0_1773710158710_0.19462270103287782","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@alter-ai/alter-sdk","version":"0.7.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.7.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"a633fc713553bcb1c2b59d82d3ac51d973df4899","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.7.0.tgz","fileCount":6,"integrity":"sha512-wjX+OEsprtLZdjM9373Z1phqpiUn5bXK9NzOwS6/wKR9j8oskI8meEYylimKLOglqC9NXFOLIoUcMQoFIBNlWQ==","signatures":[{"sig":"MEUCIE2kChxOzgHUA/vUS42K9Uwt1KNmvEWiHFLbWeVprE+UAiEA0mziPdrgCnWhn8rt3QpIXkE+/NjK4VxIX43ZxB/yWgM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":225822},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a1434342109e222769aa2989b115041565e072d2","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.7.0_1775695172242_0.8604292960906315","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@alter-ai/alter-sdk","version":"0.8.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.8.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"8708dcc3737e5ec79a6c53d8e241f2e1d67b6efd","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.8.0.tgz","fileCount":6,"integrity":"sha512-d6U0sfjeZYXRqoSMvDiJunY5dWmQPuIFkfUULVQyV0uIepWxxXnyKFVhoCsRtNgg5L2FDQKmLB5QJaeVzJ6o/A==","signatures":[{"sig":"MEYCIQDDaFn0VheLfip34p7myCppL6zPjA2A6ZnOFu9PPkapPAIhAMd6gDdhYW/12pk9B2qlgDzUrKHK/BokAw2ugKZDHynZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":237887},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"852370a6102088c16681b36c065135145e0cc75c","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.8.0_1776030580442_0.2065228166043691","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@alter-ai/alter-sdk","version":"0.10.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.10.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"244554b56da41d38614d37291b632ea947bb3968","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.10.0.tgz","fileCount":6,"integrity":"sha512-FmkEveIkUyyAyD6VpLUe6w21bATYvYUZ1jpP6fCLaEYjcI4gzXnw62TSrdYX2b2rKJXXaR4ar0bU9yayRfBoWA==","signatures":[{"sig":"MEYCIQDC7D8jWgKEXxtddNN93NnLo679WFh4wW+5gSbf70gReAIhAOaT2WvCFKP4KYntvCjf0rUITYqRP7N+h92mMI9f4tQv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":258318},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"3dea06b8066e65e4b654ed2f2e2df741b3b00d3e","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.10.0_1776717186294_0.24992610877628252","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@alter-ai/alter-sdk","version":"0.11.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.11.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"d2e4775f8e3fdaf0c8172d2b1837ba090c1d2e2b","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.11.0.tgz","fileCount":6,"integrity":"sha512-JRgQRcwBTVxlblgqSEz6uV8lVeGLzsFU/tLd6CZMMLWHGPkspSRdUlVBz9dWYq7tUlrOR+6fXZHmBvs8PKpUrA==","signatures":[{"sig":"MEYCIQC9ljydynLY74pDkmFL8Pje6V/96ZixLSdvb7RANTd2OwIhAL1HTUjhu80PXv/jr3O8eIp1D1/8kpnmpjAVEHQA3xR2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":258318},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"b18856b268df0f0ad8d3328a4a4365bd2a5adafc","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"kdodhia","email":"kevan@alterai.dev"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.11.0_1776740277327_0.03616216644642445","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@alter-ai/alter-sdk","version":"0.12.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.12.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"4a7f870621384c76dbfc6a4e602ec286812be54a","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.12.0.tgz","fileCount":6,"integrity":"sha512-RykcWAt+4vguMarZ9+iFKMfVbVJtNLb5NJPFjR94JxAREe8VCw0kcIJQU9CUtWEF95smDP2QH4AwhzKjts3ngg==","signatures":[{"sig":"MEQCIHRdL/vTmf4RZgu6dxMS7NAfCdcmGwomQ9fmrsyGa2hLAiAov3OSEMHlPLhXePzQNVwle8IQ4KuVgfgFT4iG/a3qXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":676735},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"3e5ef815521eb8dfc3507a73bb91570fa794db45","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.12.0_1778481580890_0.8937206347660949","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@alter-ai/alter-sdk","version":"0.13.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.13.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"2975d7997ffa977d033e2e58ba1e9a6ef381f01f","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.13.0.tgz","fileCount":6,"integrity":"sha512-2lVdy3237yzkroEO67Je1k0vp7Fy1d0+nbYctJACj6lIDZhdNh3Euemo4liNhInu6RxcuSQbUvTOh/C61AMxUA==","signatures":[{"sig":"MEUCIATyUbhVBwJ7zt3UnVEv1S9H09cNLSP4XbrlrtkXDFWhAiEA+M3LLuglqDHdzhRehB+F806kbkCWOru9c9s7bDviEro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":644228},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ed3fc73c4b5f4a156744139952e4336623f0605d","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.13.0_1778551860993_0.7062364428460457","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"@alter-ai/alter-sdk","version":"0.14.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.14.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"5d29ed4eebb5b558c07debf4a01a47ad78106382","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.14.0.tgz","fileCount":6,"integrity":"sha512-3hXoD1x03eVPhU5F0GpFu1OCL14ER2Zkd7WdgDhh67t3paoOQUNQpAwqZcFnE0NSY3Z2wWuO6EoFdSM94ifgBg==","signatures":[{"sig":"MEQCIGB54k/rwiz4C4q7GmcCCKC0soe7RpqdlaPOphdKKct0AiAFxjQ5Z50upJZz7FA5XU1jeZshoIkBDqTJ+oAOdpSMsw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":735967},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"bb542d96a3a8e190584a0f3f9c7b1b5e915eea94","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.14.0_1779506709396_0.09363936978385712","host":"s3://npm-registry-packages-npm-production"}},"0.15.0":{"name":"@alter-ai/alter-sdk","version":"0.15.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.15.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"874cf966be037a2db42a81c9d419b9bf03328f1f","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.15.0.tgz","fileCount":6,"integrity":"sha512-6bjHDf8wUrAaWJwvzCrdD8tncXes5flg6ImHjltXg8cqVYuzxNwHID+Gj1Fgc/m06Z8P1k4fhU5mX5ecjL5URg==","signatures":[{"sig":"MEQCIBpMey0rdZP1BhrifXTu5GAggbyW+3bjBnI4kNkVl/a0AiAiAF7onaZA8Mbj+e9nzdnrnXc1C+ceNqJY1z6JeGonrw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":768302},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"043d557883a5f1053aade2324ae4082c71d7fd5a","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^3.0.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.15.0_1779693002364_0.3327592109904014","host":"s3://npm-registry-packages-npm-production"}},"0.16.0":{"name":"@alter-ai/alter-sdk","version":"0.16.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.16.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"d2f3474d91fc96ec953e15eddb1a1b640c94ab1e","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.16.0.tgz","fileCount":6,"integrity":"sha512-HxcTvUfr7EnGMICvWM/4TdPaXuNfXn1lwbV1IyTRyRyOxYcS/z42gbhhECE++l/udljmqPS2xYirX9ZgBoIeOQ==","signatures":[{"sig":"MEQCIEkrMPADzQDJDXvimluZFcWlwu1EncK09NoLW141XszhAiApVD55mduWy/88Eajlwq6PeGQbiss8Me5BRXatQrHQ+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":797574},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1d8e406f685a8caa4eb4d0c3b3634deda3cfae6e","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^4.1.8","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.16.0_1780462074309_0.4390321898123837","host":"s3://npm-registry-packages-npm-production"}},"0.17.0":{"name":"@alter-ai/alter-sdk","version":"0.17.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.17.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"7c051e2dd0f8b6752d7b3e2eec1dc002a4a90797","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.17.0.tgz","fileCount":6,"integrity":"sha512-T09sFIX87ER5is4u3LnJMguxjpp0dYOQjgNia/XJOrizirxhZ/fwpUWG2cS//fOj5qJ6sus+mksbLumr9yVFJg==","signatures":[{"sig":"MEUCIGDsgafZZxNofH/Ks9MgDC/v8zhuKLMhjQwX5IEQNAkvAiEA1j27meULulwwfGmB/VDNJYB+yNot+x2lC5W8wH4G6ik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":826904},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"303e1d9a8469f9ffcb54529f21ee8f79f225cf6a","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^4.1.8","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.17.0_1780892169005_0.6061339591465034","host":"s3://npm-registry-packages-npm-production"}},"0.18.0":{"name":"@alter-ai/alter-sdk","version":"0.18.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.18.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"ca1ede5695966c3d709549bfe58d186aee4d19d1","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.18.0.tgz","fileCount":6,"integrity":"sha512-GGYeuKwVQ1tlhxFqs1R9GjrfIeBjiMvY5xq1CU9SJXVqqFb+S34jZlw0sW1TqICTr1X0wKJqU5OIQk1DHkQgtw==","signatures":[{"sig":"MEUCIHDoJfKoE+0xefDuDI8t34WLBRfmYxb3IZ73eSFxqzELAiEA5R+GBreH1uUXKBNhxGBe6cNtlsynkeHpYkydoeDD/aM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":835556},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4cd81b2e1df201f6808da93a730f16762a8e7bb4","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^4.1.8","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.18.0_1780986170808_0.0794198560378312","host":"s3://npm-registry-packages-npm-production"}},"0.19.0":{"name":"@alter-ai/alter-sdk","version":"0.19.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.19.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"f9c226b56419ed743336aff13ed669e17caa0434","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.19.0.tgz","fileCount":6,"integrity":"sha512-aDDa2115Bl4sRVuM5YEhtliWYKj5AybD1sw8xaGruZyOLTMqN8G2ptnxhsBc6TLSXd7bYW9+920PKE8o84Kq8Q==","signatures":[{"sig":"MEUCIQDXLcJk8wRQevwI4pYPp0RZHBF/5IjsGDiidPIAFUtF3wIgPYjgc/bWrPQBo0MYXG4iznSVJsjjwpn24Xw3DCM7x74=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1011661},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9f41fcdb690b6cf3c92e32950173a1914aa3d13d","scripts":{"lint":"eslint src/ tests/ --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vitest":"^4.1.8","typescript":"^5.5.0","@types/node":"^20.0.0","@opentelemetry/api":"^1.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.19.0_1781769480798_0.737277575988144","host":"s3://npm-registry-packages-npm-production"}},"0.20.0":{"name":"@alter-ai/alter-sdk","version":"0.20.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.20.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"bb3aa63c6daf2aeba910386095c23f9975ec1b07","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.20.0.tgz","fileCount":6,"integrity":"sha512-XLWsfhXapNOJbwbTOEuzWvBYXv0P0xEgCDarilznn1HwtWKm/2LcmWnUK0tVvJL1t+zPBFaf5LO62Bnxp/4hhA==","signatures":[{"sig":"MEQCICQ6qc3wyqOl7MTQ++bBqU9paZUQO+TCbI/G+rm8FZZYAiBjVXCnoUCDi8S3zdek1NxkhrI30CYzhYGj/D8tpKmy5Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1061359},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"b6569801d48682815474b200965d02417adaac82","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","eslint":"^9.39.4","vitest":"^4.1.8","@eslint/js":"^9.39.4","typescript":"^5.5.0","@types/node":"^20.0.0","typescript-eslint":"^8.53.0","@opentelemetry/api":"^1.9.1","eslint-plugin-security":"^4.0.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.20.0_1783369580185_0.6699576404421939","host":"s3://npm-registry-packages-npm-production"}},"0.20.1":{"name":"@alter-ai/alter-sdk","version":"0.20.1","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.20.1","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"fc98347737446b79bb88b4252cd3b22d07fa7aa9","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.20.1.tgz","fileCount":6,"integrity":"sha512-r1XAVADmZ1yFFf6Mc0e0Y7ScPFQudymGNdPP3UXCY6mwjoYKmSeuDLGRchVfByNiukBKG9Y7d9oYo2h/Vl2Jlg==","signatures":[{"sig":"MEYCIQCHtNNJrGD8aRprv4wC1L6AlWMXoA2mS3qCmbsvFyGFhgIhAIdku6sYuR3dfcDijvi/Sznr3OdQIMw2trrBxP0agV5l","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1237379},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"b1f63c8ef38367035881093b6cd30c105b56d7a9","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.25.76"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","eslint":"^9.39.4","vitest":"^4.1.8","@eslint/js":"^9.39.4","typescript":"^5.5.0","@types/node":"^20.0.0","typescript-eslint":"^8.53.0","@opentelemetry/api":"^1.9.1","eslint-plugin-security":"^4.0.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.20.1_1784646872501_0.7897104107388804","host":"s3://npm-registry-packages-npm-production"}},"0.21.0":{"name":"@alter-ai/alter-sdk","version":"0.21.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.21.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"6a28af2af41cfbc5fb6aed73adeeb14db7b4d7e9","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.21.0.tgz","fileCount":6,"integrity":"sha512-0JsTdHFzsUkjyEiK6acFPFU0q9ueFjgvNxwag98+b3nvZDkCNAo9cGeKjWvwjv8B3jIyX/cZeCsM+0a6RaCLJA==","signatures":[{"sig":"MEYCIQDBlX9+dM0dgKkZTqVCGZdOtgta1tkyrngqQfmSsjumzQIhAPyVg824glKLQ9UW2m8mu+XLknh6cBuRa6kyr1Mm9crn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1273835},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"479df150da35822eafaee147c2f39c64586b2d53","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.25.76"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vite":"7.3.5","eslint":"^9.39.4","vitest":"^4.1.8","@eslint/js":"^9.39.4","typescript":"^5.5.0","@types/node":"^20.0.0","typescript-eslint":"^8.53.0","@opentelemetry/api":"^1.9.1","eslint-plugin-security":"^4.0.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.21.0_1785264020568_0.7470271839824971","host":"s3://npm-registry-packages-npm-production"}},"0.22.0":{"name":"@alter-ai/alter-sdk","version":"0.22.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.22.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"930f1c921b761b9c25dc4c782e843ec8f8d3b6f2","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.22.0.tgz","fileCount":8,"integrity":"sha512-6SO1JiQX7RchS1GxSdnxbfcUeHBcNh///J6yUzmPjTJ77Q+N3/PGu3Xg3Y0Z7G3iQm+3esnsbsiJLV2FIx/rVA==","signatures":[{"sig":"MEUCIQC85cvWt009Pb3sNCe/6TNBUCO8JdSrJX/pBp2m+qipKgIgGLkdG5NNbrYYfP6CSST1RmlC9lzL8Na8CBhlcRyYLjs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1336823},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"52077697f869eb1ab1753d345e2a0040b474df7f","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.25.76"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vite":"7.3.5","eslint":"^9.39.4","vitest":"^4.1.8","@eslint/js":"^9.39.4","typescript":"^5.5.0","@types/node":"^20.0.0","typescript-eslint":"^8.53.0","@opentelemetry/api":"^1.9.1","eslint-plugin-security":"^4.0.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.22.0_1785409772754_0.09804580158747722","host":"s3://npm-registry-packages-npm-production"}},"0.23.1":{"name":"@alter-ai/alter-sdk","version":"0.23.1","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter AI"},"license":"MIT","_id":"@alter-ai/alter-sdk@0.23.1","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"c4bbbf24cdf0a5f8e19b7089495edc9236a9629a","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.23.1.tgz","fileCount":8,"integrity":"sha512-T1fjy+hq7B3MLmkIcbM5Oo9okcSzvzoDzZSQjrSQ5KtuJX6wSIfLjGb7MvsGi3wylS44zc7CXR34luExlBbp5A==","signatures":[{"sig":"MEUCIQDOlRipYni4EptMQgTM3GsTOODJEVpjgBKl3CIdlmtiMwIgaO3vYi34tQsy7SPisKvpAuhWoz8txmlCMoNCaM1Hc/A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1349603},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"c0af9169031dfd73f635fef5a0ad1db6825c34a1","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.25.76"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.12.10","tsup":"^8.0.0","vite":"7.3.5","eslint":"^9.39.4","vitest":"^4.1.8","@eslint/js":"^9.39.4","typescript":"^5.5.0","@types/node":"^20.0.0","typescript-eslint":"^8.53.0","@opentelemetry/api":"^1.9.1","eslint-plugin-security":"^4.0.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.23.1_1785909916479_0.8757773155892614","host":"s3://npm-registry-packages-npm-production"}},"0.23.3":{"name":"@alter-ai/alter-sdk","version":"0.23.3","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter Labs, Inc."},"license":"MIT","_id":"@alter-ai/alter-sdk@0.23.3","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"8a120eabfe71c06778d93efc278a939d5bf22105","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.23.3.tgz","fileCount":8,"integrity":"sha512-EdY8LfXszElwwZt+5mOS0Ee/VOcXzP6mcaJ4dyNobrHwlYivhai+lJ4faFtlOQzvzrCPUOwfjBfoj1bafyF8xA==","signatures":[{"sig":"MEQCIFN3+iVqQaM3AJAMREcNgHJS4RVmmSK499kY3XMCqnVvAiAkCPYEPVWduP3W0FB6d8IYD/2xNFcHAkaZQPSJZEUqAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1398471},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"bf46771b6aba746e10d0f92d8b8a4fa2538a530f","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.25.76"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.12.10","tsup":"8.5.1","vite":"7.3.5","eslint":"9.39.4","vitest":"4.1.8","@eslint/js":"9.39.4","typescript":"5.9.3","@types/node":"20.19.39","typescript-eslint":"8.53.0","@opentelemetry/api":"1.9.1","eslint-plugin-security":"4.0.1","@opentelemetry/sdk-trace-node":"2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.23.3_1787550552751_0.8791664877964163","host":"s3://npm-registry-packages-npm-production"}},"0.24.0":{"name":"@alter-ai/alter-sdk","version":"0.24.0","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter Labs, Inc."},"license":"MIT","_id":"@alter-ai/alter-sdk@0.24.0","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"a54534e38d3ed6d8e8779303351f080b16fe7c55","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.24.0.tgz","fileCount":8,"integrity":"sha512-3C70dnoHUEjtfD6zqW0xJGKnIBiDpQMAjCtLJoAaR6LYtRCJHcw0tdi2sDwFnqOt1h9u3OfeCClS1dsEYTNWtA==","signatures":[{"sig":"MEYCIQCF1iMLD0aZfF+eOt8ReRwq57OizuIuK/Jn99D64rJaDQIhAKl6m2CtRSGXrWgGBzzYvSQoAA1KwT3/69OMCu+Nog7l","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1429746},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"6874c25f8c20fb4b4ed59513880ad2f9d4c0cb34","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.25.76"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.12.10","tsup":"8.5.1","vite":"7.3.5","eslint":"9.39.4","vitest":"4.1.8","@eslint/js":"9.39.4","typescript":"5.9.3","@types/node":"20.19.39","typescript-eslint":"8.53.0","@opentelemetry/api":"1.9.1","eslint-plugin-security":"4.0.1","@opentelemetry/sdk-trace-node":"2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.24.0_1788245500853_0.3126310610864207","host":"s3://npm-registry-packages-npm-production"}},"0.24.2":{"name":"@alter-ai/alter-sdk","version":"0.24.2","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"author":{"name":"Alter Labs, Inc."},"license":"MIT","_id":"@alter-ai/alter-sdk@0.24.2","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"dist":{"shasum":"57d5397b5f5a75c3dd9a3cef8d59e7f6cc501dbe","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.24.2.tgz","fileCount":8,"integrity":"sha512-LkZglaY8fdmfX7x8oQy/DrOWYeX/qmX6YlwnMBGAURn8bplkkGW83K3lmUmXR5BuhSQzVbGmDmBF5jGZiiLtFw==","signatures":[{"sig":"MEQCIFx8lZ1e+Gx48W9UE7pbUjA9d/EwqBW+xKSHjRGwvZa3AiB1DJOb2BNPXk7sm5Cu2klq+GdpCsXK/W0QG8OEVEQO9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCvWq26Sqn0QSpZ+bB0oqIvg01/dQ528JCz6YHGzkar6AIhAP2dlGjF8KhaupUUYc4iStcqqjaXoWL9mF3puhCfQzu6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1452389},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"517a2a6eb390104bd9c7fa619beb5a391d38505c","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.25.76"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.12.10","tsup":"8.5.1","vite":"7.3.5","eslint":"9.39.4","vitest":"4.1.8","@eslint/js":"9.39.4","typescript":"5.9.3","@types/node":"20.19.39","typescript-eslint":"8.53.0","@opentelemetry/api":"1.9.1","eslint-plugin-security":"4.0.1","@opentelemetry/sdk-trace-node":"2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/alter-sdk_0.24.2_1789544016810_0.4145564643197137","host":"s3://npm-registry-packages-npm-production"}},"0.25.0":{"_id":"@alter-ai/alter-sdk@0.25.0","dist":{"shasum":"1367a2c4331e8200215d8178a75203ea54a6469f","tarball":"https://registry.npmjs.org/@alter-ai/alter-sdk/-/alter-sdk-0.25.0.tgz","fileCount":8,"integrity":"sha512-iOCL8VmVXIR7+DhFaZqgKOF9LiSiTFrKoSGNx51KsBdBOhu6ZzIlva++Nd3OWtrnQCyViAE7pIYWoLeTLG9KlA==","signatures":[{"sig":"MEQCIBaW3Fpo93mtq0Bg8EQPSndUwMzfve5eO7BjK2U8PmtbAiAtfD3K6A9UqitYpDsT9ZaQP7q8gFWUFxuK0LxOuJB1VQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCDAez5BBKUQF81fOgJx0kfdEO4nP5y/DqmWfaWSwkyewIgcD4rKQxZksihv2KxITmb/t+3H6ObBCHP0U36CpAFYHA="}],"unpackedSize":1456433},"main":"dist/index.cjs","name":"@alter-ai/alter-sdk","type":"module","types":"dist/index.d.ts","author":{"name":"Alter Labs, Inc."},"module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a8a2cb3218f37a8130447f4f9698cc33f4386979","license":"MIT","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest"},"version":"0.25.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e22482c5-1029-4114-a40b-d3372eb11112"}},"keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"_npmVersion":"11.14.1","description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","directories":{},"maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.25.76"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.12.10","tsup":"8.5.1","vite":"7.3.5","eslint":"9.39.4","vitest":"4.1.8","@eslint/js":"9.39.4","typescript":"5.9.3","@types/node":"20.19.39","typescript-eslint":"8.53.0","@opentelemetry/api":"1.9.1","eslint-plugin-security":"4.0.1","@opentelemetry/sdk-trace-node":"2.8.0"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/alter-sdk_0.25.0_1789694121357_0.38001464420389564"}}},"time":{"created":"2026-02-18T21:28:57.220Z","modified":"2026-09-18T01:15:21.637Z","0.2.0":"2026-02-18T21:28:57.763Z","0.2.1":"2026-02-19T05:08:24.682Z","0.2.2":"2026-02-20T02:03:59.909Z","0.3.1":"2026-02-27T01:03:15.405Z","0.4.0":"2026-03-01T18:11:38.559Z","0.5.0":"2026-03-12T23:26:00.752Z","0.6.0":"2026-03-17T01:15:58.952Z","0.7.0":"2026-04-09T00:39:32.401Z","0.8.0":"2026-04-12T21:49:40.591Z","0.10.0":"2026-04-20T20:33:06.441Z","0.11.0":"2026-04-21T02:57:57.476Z","0.12.0":"2026-05-11T06:39:41.058Z","0.13.0":"2026-05-12T02:11:01.195Z","0.14.0":"2026-05-23T03:25:09.588Z","0.15.0":"2026-05-25T07:10:02.572Z","0.16.0":"2026-06-03T04:47:54.519Z","0.17.0":"2026-06-08T04:16:09.178Z","0.18.0":"2026-06-09T06:22:51.006Z","0.19.0":"2026-06-18T07:58:00.959Z","0.20.0":"2026-07-06T20:26:20.317Z","0.20.1":"2026-07-21T15:14:32.719Z","0.21.0":"2026-07-28T18:40:20.747Z","0.22.0":"2026-07-30T11:09:32.965Z","0.23.1":"2026-08-05T06:05:16.678Z","0.23.3":"2026-08-24T05:49:12.897Z","0.24.0":"2026-09-01T06:51:41.009Z","0.24.2":"2026-09-16T07:33:36.909Z","0.25.0":"2026-09-18T01:15:21.449Z"},"author":{"name":"Alter Labs, Inc."},"license":"MIT","keywords":["alter","vault","oauth","token","sdk","ai-agent","mcp"],"description":"Official TypeScript SDK for Alter Vault — OAuth token management with policy enforcement","maintainers":[{"name":"srikard","email":"srikar@alterai.dev"},{"name":"kdodhia","email":"kevan@alterai.dev"}],"readme":"# Alter SDK for TypeScript / Node.js\n\nOfficial TypeScript SDK for [Alter Vault](https://alterauth.com) — credential and authorization layer for apps and AI agents that call third-party APIs.\n\nCredentials are never returned as application-visible values. In retrieve mode, the SDK process obtains the credential long enough to inject it into the provider request; in proxy mode, the credential stays in the Alter backend. Application code calls `app.request()` or `app.proxyRequest()` and receives only the provider result.\n\n## Install\n\n```bash\nnpm install @alter-ai/alter-sdk\n```\n\nRuns on Node.js 20+ and is intended for server-side environments. For browser-side OAuth popup flows, see [`@alter-ai/connect`](https://www.npmjs.com/package/@alter-ai/connect).\n\n## Quick example\n\nMake an authenticated API call — no token ever touches application code.\n\n```typescript\nimport { App, HttpMethod } from \"@alter-ai/alter-sdk\";\n\nconst app = new App({ apiKey: \"<api-key>\" });\ntry {\n  const response = await app.request(\n    HttpMethod.POST,\n    \"https://api.example.com/resource\",\n    {\n      grantId: \"<grant-id>\",\n      json: { example: \"payload\" },\n    },\n  );\n  console.log(response.status, await response.json());\n} finally {\n  await app.close();\n}\n```\n\nFor a full walkthrough — sign-up, key minting, OAuth — see the [Quickstart](https://docs.alterauth.com/quickstart).\n\n## Two runtime modes\n\nThe SDK exposes two ways to reach a third-party API:\n\n- `app.request(...)` — **retrieve mode**. The SDK fetches the token from the backend and makes the outgoing call itself. Returns the third-party response.\n- `app.proxyRequest(...)` — **proxy mode**. The backend holds the token, makes the outgoing call, and returns the result. Application code and the SDK never observe the token. Required for any grant configured with human-in-the-loop approval; available for any other grant when wire-level audit, strong token isolation, or backend-side policy enforcement matter.\n\nProxy mode returns an `ApprovalResult` with `statusCode`, response headers/body,\n`bodyTruncated`, and `durationMs` (provider round-trip milliseconds; `null` for\nresults created by older workers). Managed-secret secondary header/query\ninjections and AWS SigV4—including query parameters, raw/JSON bodies, and\ntemporary session tokens—behave the same in retrieve and proxy modes.\n\nSee [runtime modes](https://docs.alterauth.com/concepts/runtime-modes) for the tradeoffs and when to pick each.\n\n## Policy rule helpers\n\n`contentMatchRule(...)` builds operation-aware request rules for `withConstraints({ rule })` with local validation before the first API call. It accepts attested operation ids and/or operation families, optional parameter conditions, and one of three effects: `deny`, `redact`, or `step_up`. Redaction strips named outbound request-body fields; step-up requires `maxSessionAgeSeconds` as an integer from `1` through `86400`.\n\n## Recovering from missing-grant errors\n\nWhen a request fails because the user hasn't authorized the provider yet, the SDK exposes recovery context on the typed error so you can drive a re-consent flow without re-deriving anything from the call site:\n\n```typescript\nimport { Agent, HttpMethod, NoDelegatedGrantError } from \"@alter-ai/alter-sdk\";\n\nconst agent = new Agent({ apiKey: \"<agent-api-key>\" });\ntry {\n  try {\n    await agent.request(HttpMethod.GET, \"https://api.example.com/v1/resources\", {\n      provider: \"<provider-id>\",\n      userToken: jwt,\n    });\n  } catch (e) {\n    if (e instanceof NoDelegatedGrantError) {\n      const session = await agent.createConnectSessionForError(e, {\n        allowedOrigin: \"https://app.example.com\",\n      });\n      // Surface session.connectUrl to the user, then wait for consent.\n      const results = await agent.pollConnectSession(session.sessionToken);\n      const response = await agent.request(\n        HttpMethod.GET,\n        \"https://api.example.com/v1/resources\",\n        { grantId: results[0].grantId, userToken: jwt },\n      );\n      console.log(response.status);\n    } else {\n      // Re-throw every other error class so network errors and\n      // programming bugs aren't silently swallowed.\n      throw e;\n    }\n  }\n} finally {\n  await agent.close();\n}\n```\n\n`createConnectSessionForError` and `pollConnectSession` are available on both `App` and `Agent` so the catch block can recover from whichever client raised.\nFor `CredentialRevokedError`, the helper binds the session to the error's exact\ngrant. A successful repair reports `operation === \"reauth\"` and the same\n`grantId` — as does any completion that returns an already-connected grant:\n`\"reauth\"` means an existing grant came back with its id preserved, not that\nit was necessarily broken. Naming a target is an optimization, not a requirement: an error carrying no\ngrant id (an older backend), a grant this caller cannot address (pass\n`userToken` to reach an end user's connection), or a grant that is no longer\nactive all fall back to an ordinary session that reports\n`operation === \"creation\"` with a new `grantId`. Read the id off the result.\n\nIf Alter observes the session pending but receives no callback before the local\ndeadline or server expiry, polling throws `ConnectTimeoutError`. Inspect\n`error.details.reason` (`poll_deadline_elapsed` or `session_expired`). A provider\nmay keep an authorization error on its own page and never redirect, so the\nexception lists that alongside browser closure or an abandoned flow rather\nthan claiming an exact provider error Alter did not receive.\n\nIf a fresh provider authorization cannot start, `pollConnectSession` throws\n`ConnectConfigError`. This includes the typed\n`provider_configuration_unavailable` and\n`shared_dev_credential_unavailable` terminals; show the error's safe message to\nthe caller and ask the app administrator to correct provider availability\nbefore creating a new session. Existing grants may remain usable.\n\n`ConnectConfigError` also carries a third terminal,\n`managed_oauth_scope_approval_required`, thrown by `createConnectSession`\n(HTTP 409) as well as by `pollConnectSession`: the scopes the application\nrequests exceed what Alter's managed OAuth client is approved for. The app\nadministrator cannot widen it — contact Alter to have the scopes approved, or\nnarrow the application's configured scopes to the approved set, and only then\ncreate a new session. The response is `retryable: false`, so every fresh\nsession fails identically until the approval changes. On the\n`createConnectSession` path the error's `details` is the full response body, so\n`details.details.unapproved_scopes` names exactly which scopes need approving.\n\n`NoDelegatedGrantError` and `GrantNotFoundError` carry `providerId` / `agentId` / `appUserId` recovery context when the original lookup was identity-mode; `CredentialRevokedError` carries `providerId` / `appUserId`. See the [error reference](https://docs.alterauth.com/reference/errors) for the full surface.\n\nOn the **agent** path, a `grant_not_found` for an explicit `grantId` surfaces as `AgentDelegationMissingError` — a subclass of `GrantNotFoundError`, so a catch on the base class still fires. It means the grant is not delegated to this agent, or a user/base grant id was passed where the agent's own delegation id is required (get it from `agent.listGrants`). Recover by delegating the agent through Connect (`agent.createConnectSession`), or resolve by provider instead of passing a `grantId`.\n\n## Onward delegation (agent to agent)\n\nAn agent that holds a grant can hand a scoped-down copy to another agent — without asking the credential owner to consent again. Use `agent.delegate()` to mint a child grant for the second agent:\n\n```typescript\nimport { Agent, GrantNotDelegableError } from \"@alter-ai/alter-sdk\";\n\nconst agent = new Agent({ apiKey: \"<agent-api-key>\" });\n\ntry {\n  const result = await agent.delegate(\n    \"<grant-id>\",                // a grant this agent already holds\n    \"<other-agent-id>\",          // the agent that should receive access\n    {\n      scopeConstraint: [\"resource:write\"], // optional: narrow to fewer scopes\n      ttlSeconds: 3600,                // optional: shorten the lifetime\n      delegable: false,                // may the recipient delegate onward? (default no)\n    },\n  );\n  console.log(result.grantId, result.depth, result.expiresAt);\n} catch (e) {\n  if (e instanceof GrantNotDelegableError) {\n    // The held grant was not marked delegable when it was created,\n    // so it cannot be passed on. Ask the owner for a delegable grant.\n  } else {\n    throw e;\n  }\n} finally {\n  await agent.close();\n}\n```\n\nThe held grant must have been created as **delegable** (chosen at connect time). The child can only narrow — fewer scopes, a shorter lifetime — never widen. A grant narrowed with `scopeConstraint` is proxy-only: call it with `agent.proxyRequest(...)`. Onward delegation is opt-in at every hop: pass `delegable: true` only when the recipient should be allowed to delegate further.\n\n`agent.listGrants()` returns each grant with `parentGrantId` (the grant it was minted under, or `null` for a root) and `depth` (its distance from the root), so the full delegation chain can be reconstructed from the flat list.\n\n## OpenTelemetry trace propagation\n\nWhen the application runs an OpenTelemetry SDK, Alter requests automatically carry the active span's W3C `traceparent`, so the audit trail — and any spans the organization streams to its own OTLP collector — join the application's traces. No configuration is required: `@opentelemetry/api` is an *optional* peer dependency that the SDK never installs or requires — when the application has it, the SDK uses it (including under pnpm's isolated mode and Yarn PnP); without it (or without an active span) the SDK behaves exactly as before.\n\n```typescript\nimport { trace } from \"@opentelemetry/api\";\nimport { App, HttpMethod } from \"@alter-ai/alter-sdk\";\n\nconst tracer = trace.getTracer(\"the-application\");\n\nconst tracedApp = new App({ apiKey: \"<api-key>\" });\ntry {\n  await tracer.startActiveSpan(\"handle-user-request\", async (span) => {\n    try {\n      // This call's audit events share the surrounding trace's ids.\n      const response = await tracedApp.request(\n        HttpMethod.GET,\n        \"https://api.example.com/v1/resources\",\n        { grantId: \"<grant-id>\" },\n      );\n      console.log(response.status);\n    } finally {\n      span.end();\n    }\n  });\n} finally {\n  await tracedApp.close();\n}\n```\n\n## Documentation\n\nFull docs are at **https://docs.alterauth.com**.\n\n| Topic | Page |\n|---|---|\n| Getting started end-to-end | [Quickstart](https://docs.alterauth.com/quickstart) |\n| The mental model | [How Alter works](https://docs.alterauth.com/how-it-works) |\n| Calling APIs on behalf of users (OAuth + JWT) | [Guide](https://docs.alterauth.com/guides/call-apis-on-behalf-of-users) |\n| Identity provider setup | [Guide](https://docs.alterauth.com/admin/identity-provider) |\n| Provisioning backend secrets | [Guide](https://docs.alterauth.com/guides/provision-secrets-for-backend-services) |\n| Scoped credentials for AI agents | [Guide](https://docs.alterauth.com/guides/give-an-agent-scoped-access) |\n| Embedding the Connect widget | [Guide](https://docs.alterauth.com/guides/embed-the-connect-widget) |\n| Human-in-the-loop approvals | [Guide](https://docs.alterauth.com/guides/add-human-in-the-loop-approvals) |\n| OpenTelemetry trace propagation | [Calling APIs](https://docs.alterauth.com/reference/typescript-sdk/calling-apis#opentelemetry-trace-propagation) |\n| Runtime modes (retrieve vs proxy) | [Concept](https://docs.alterauth.com/concepts/runtime-modes) |\n| Per-method API reference | [TypeScript SDK reference](https://docs.alterauth.com/reference/typescript-sdk) |\n| Browser popup SDK | [`@alter-ai/connect`](https://docs.alterauth.com/reference/connect-sdk) |\n| Errors | [Error reference](https://docs.alterauth.com/reference/errors) |\n\n## License\n\nMIT. See `LICENSE`.\n\n## Support\n\nEmail **founders@alterauth.com** or open an issue at https://github.com/alter-ai/alter-vault.\n","readmeFilename":"README.md"}