Files
windmill/chat-sdk/package.json
T
Ruben FiszelandClaude Fable 5.1 e8c02c04cd feat: windmill-chat sdk for chat-mode flows in external frontends and raw apps (#11117)
* feat: windmill-chat sdk for chat-mode flows in external frontends and raw apps

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018aQiZNAU8g17kWkyTryS5J

* fix: keep streamed answers until persisted, finish turns after history fallback

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018aQiZNAU8g17kWkyTryS5J

* feat: ai sdk transport and assistant-ui runtime for windmill-chat

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix: finish a turn from the flow result until its answer row lands, hash chat ids without crypto.subtle

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix: judge a turn answered by a persisted assistant row, wherever it was fetched

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix: attribute a turn's answer to its own jobs, keep a local turn when switching conversations

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix: mirror local history on every change, attribute failure-handler answers to the turn

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix: new chat per token string in the React hook, idle after destroy, no reorder on view

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix: recreate the hook's chat on any credential change, namespace local history per user

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix: send the latest inputs from the React hook

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 22:32:45 +02:00

109 lines
2.5 KiB
JSON

{
"name": "windmill-chat",
"description": "Build chat interfaces on Windmill flows deployed in chat mode, from any frontend or raw app",
"version": "1.810.0",
"author": "Ruben Fiszel",
"license": "Apache-2.0",
"homepage": "https://github.com/windmill-labs/windmill/tree/main/chat-sdk#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/windmill-labs/windmill.git",
"directory": "chat-sdk"
},
"bugs": {
"url": "https://github.com/windmill-labs/windmill/issues"
},
"keywords": [
"windmill",
"chat",
"ai",
"agent",
"react"
],
"sideEffects": false,
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"./react": {
"import": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
},
"require": {
"types": "./dist/react.d.ts",
"default": "./dist/react.cjs"
}
},
"./ai-sdk": {
"import": {
"types": "./dist/ai-sdk.d.ts",
"default": "./dist/ai-sdk.js"
},
"require": {
"types": "./dist/ai-sdk.d.ts",
"default": "./dist/ai-sdk.cjs"
}
},
"./assistant-ui": {
"import": {
"types": "./dist/assistant-ui.d.ts",
"default": "./dist/assistant-ui.js"
},
"require": {
"types": "./dist/assistant-ui.d.ts",
"default": "./dist/assistant-ui.cjs"
}
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsdown && tsc -p tsconfig.build.json",
"check": "tsc --noEmit",
"test": "bun test"
},
"peerDependencies": {
"@assistant-ui/react": ">=0.15",
"ai": ">=5",
"react": ">=18"
},
"peerDependenciesMeta": {
"@assistant-ui/react": {
"optional": true
},
"ai": {
"optional": true
},
"react": {
"optional": true
}
},
"devDependencies": {
"@ai-sdk/react": "^4.0.102",
"@assistant-ui/react": "^0.15.19",
"@happy-dom/global-registrator": "^20.14.5",
"@types/bun": "^1.3.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.3.0",
"ai": "^7.0.99",
"react": "^19.0.0",
"react-dom": "^19.3.0",
"tsdown": "^0.12.9",
"typescript": "^5.4.5"
}
}