UNPKG

assistant-stream

Version:

Streaming utilities for AI assistants

112 lines • 3.15 kB
{ "name": "assistant-stream", "version": "0.3.57", "description": "Streaming utilities for AI assistants", "keywords": [ "ai", "streaming", "assistant", "chat", "openai", "llm", "assistant-ui" ], "author": "AgentbaseAI Inc.", "license": "MIT", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./internal": { "types": "./dist/internal.d.ts", "default": "./dist/internal.js" }, "./utils": { "types": "./dist/utils.d.ts", "default": "./dist/utils.js" }, "./ai-sdk": { "types": "./dist/ai-sdk/index.d.ts", "default": "./dist/ai-sdk/index.js" }, "./resumable": { "types": "./dist/resumable/index.d.ts", "default": "./dist/resumable/index.js" }, "./resumable/redis": { "types": "./dist/resumable/stores/redis.d.ts", "default": "./dist/resumable/stores/redis.js" }, "./resumable/ioredis": { "types": "./dist/resumable/stores/ioredis.d.ts", "default": "./dist/resumable/stores/ioredis.js" } }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "src", "utils", "README.md" ], "sideEffects": false, "dependencies": { "@standard-schema/spec": "^1.1.0", "@types/json-schema": "^7.0.15", "nanoid": "^6.0.2", "secure-json-parse": "^4.1.1" }, "peerDependencies": { "ai": "^6.0.0 || ^7.0.0", "ioredis": "^5.10.1 || ^6.0.0", "redis": "^5.12.1" }, "peerDependenciesMeta": { "ai": { "optional": true }, "ioredis": { "optional": true }, "redis": { "optional": true } }, "devDependencies": { "@assistant-ui/x-buildutils": "0.0.32", "ai": "^7.0.153", "ai-v6": "npm:ai@^6.0.277", "ioredis": "^6.0.0", "ioredis-v5": "npm:ioredis@^5.11.1", "redis": "^6.3.0", "vitest": "^5.0.5" }, "publishConfig": { "access": "public", "provenance": true }, "homepage": "https://www.assistant-ui.com/", "repository": { "type": "git", "url": "git+https://github.com/assistant-ui/assistant-ui.git", "directory": "packages/assistant-stream" }, "bugs": { "url": "https://github.com/assistant-ui/assistant-ui/issues" }, "scripts": { "build": "aui-build", "test": "pnpm run test:v6 && pnpm run test:peer-v5 && pnpm run test:types:peer-v5 && pnpm run test:peer-ai-v6 && pnpm run test:types:peer-ai-v6", "test:coverage": "vitest run --coverage --coverage.reporter=text --coverage.reporter=html --coverage.reporter=json-summary && pnpm run test:peer-v5 && pnpm run test:types:peer-v5 && pnpm run test:peer-ai-v6 && pnpm run test:types:peer-ai-v6", "typecheck": "tsc --noEmit", "test:v6": "vitest run", "test:peer-v5": "vitest run --config vitest.peer-v5.config.ts", "test:types:peer-v5": "tsc --noEmit --project tsconfig.peer-v5.json", "test:peer-ai-v6": "vitest run --config vitest.peer-ai-v6.config.ts", "test:types:peer-ai-v6": "tsc --noEmit --project tsconfig.peer-ai-v6.json", "test:watch": "vitest" } }