Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/chatwork-adapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@chat-adapter/chatwork": minor
---

Add Chatwork adapter for chat SDK

Implements a new adapter for Chatwork with support for:
- Webhook handling with HMAC-SHA256 signature verification
- Sending, editing, and deleting messages via Chatwork REST API v2
- Chatwork-specific format conversion (info/code/hr/To tags to mdast AST)
- Zero-config factory function with environment variable support
55 changes: 55 additions & 0 deletions packages/adapter-chatwork/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"name": "@chat-adapter/chatwork",
"version": "4.14.0",
"description": "Chatwork adapter for chat",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist"
},
"dependencies": {
"@chat-adapter/shared": "workspace:*",
"chat": "workspace:*"
},
"devDependencies": {
"@types/node": "^22.10.2",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vercel/chat.git",
"directory": "packages/adapter-chatwork"
},
"homepage": "https://github.com/vercel/chat#readme",
"bugs": {
"url": "https://github.com/vercel/chat/issues"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"chat",
"chatwork",
"bot",
"adapter"
],
"license": "MIT"
}
Loading