Malte Ubl
fb7c41d3a5
Refactoring duplication
@chat-adapter/shared@4.1.0
2026-01-03 20:32:35 -08:00
github-actions[bot]
3c4e07973c
Version Packages ( #5 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@chat-adapter/gchat@4.2.0
chat@4.2.0
@chat-adapter/teams@4.2.0
@chat-adapter/state-redis@4.2.0
@chat-adapter/state-memory@4.2.0
@chat-adapter/state-ioredis@4.2.0
@chat-adapter/slack@4.2.0
2026-01-03 14:01:53 -08:00
Malte Ubl
0b5197a988
changset
2026-01-03 13:55:15 -08:00
Malte Ubl
4ef6e98b65
Test refactor
2026-01-03 13:48:05 -08:00
Malte Ubl
56d7c58f91
Teams original message
2026-01-03 13:33:59 -08:00
Malte Ubl
bed9113fc8
Fix teams again8
2026-01-03 13:19:54 -08:00
Malte Ubl
45c4f8b14d
Fix teams again7
2026-01-03 13:17:06 -08:00
Malte Ubl
0c13ed5320
Fix teams again6
2026-01-03 13:04:24 -08:00
Malte Ubl
143af459f4
Fix teams again5
2026-01-03 12:20:34 -08:00
Malte Ubl
9821f052e2
Fix teams again4
2026-01-03 11:37:05 -08:00
Malte Ubl
6d8039950e
Fix teams again3
2026-01-03 11:25:14 -08:00
Malte Ubl
7c2586bbcd
Fix teams again2
2026-01-03 10:58:05 -08:00
Malte Ubl
568a88590a
Fix teams again
2026-01-03 10:46:49 -08:00
Malte Ubl
63cc5c85f1
Replay tests for fetchMessages and allMessages
2026-01-03 10:42:49 -08:00
Malte Ubl
edf68fe63d
User names and teams fixes
2026-01-03 10:08:08 -08:00
Malte Ubl
1eaf7a55c1
Fix-teams
2026-01-03 09:54:33 -08:00
Malte Ubl
e8b98347d0
teams-and-gchat-bugs
2026-01-03 09:48:10 -08:00
Malte Ubl
1abaee2dcd
Teams and GChat fixes
2026-01-03 09:32:52 -08:00
Malte Ubl
fb786253a1
Don't limit all
2026-01-03 09:16:39 -08:00
Malte Ubl
0df823a7e4
Fix fetchMessages and allMessages
2026-01-03 09:12:22 -08:00
Malte Ubl
09bb779f70
Make only one recording entry per sha
2026-01-03 08:32:24 -08:00
Malte Ubl
518d9c85c8
Fix fetchMessages in gchat
2026-01-03 08:12:17 -08:00
Malte Ubl
344f352882
log-history
2026-01-03 08:04:52 -08:00
github-actions[bot]
2f45d20e41
Version Packages ( #4 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@chat-adapter/slack@4.1.0
@chat-adapter/gchat@4.1.0
@chat-adapter/teams@4.1.0
@chat-adapter/state-redis@4.1.0
@chat-adapter/state-memory@4.1.0
@chat-adapter/state-ioredis@4.1.0
chat@4.1.0
2026-01-02 19:19:47 -08:00
Malte Ubl
a020b8054a
record-more
2026-01-02 19:19:25 -08:00
Vishal Yathish
9b95317750
[chat-sdk] add support for streamed messages + example of AI bot ( #1 )
...
* [chat-sdk] add support for streamed messages + example of AI bot
* Refactor to just post AI
* Permissions
* Permissions teams
* empty
* Replay tests
* Better fake stream
* fix-slack-bug
* changeset
---------
Co-authored-by: Malte Ubl <malte.ubl@gmail.com >
2026-01-02 18:58:07 -08:00
Malte Ubl
3de5ee3537
style
2026-01-02 17:21:35 -08:00
Malte Ubl
9108e32089
DX for testing
2026-01-02 17:19:09 -08:00
Malte Ubl
d0e6abef24
Skip in middleware
2026-01-02 17:10:04 -08:00
Malte Ubl
80400c0ac8
Make previews testable
2026-01-02 17:05:44 -08:00
Malte Ubl
1922517855
chat-sdk to chat director rename
2026-01-02 16:11:31 -08:00
github-actions[bot]
364c38b404
Version Packages ( #3 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@chat-adapter/state-memory@4.0.2
@chat-adapter/gchat@4.0.2
@chat-adapter/teams@4.0.2
@chat-adapter/state-redis@4.0.2
chat@4.0.2
@chat-adapter/state-ioredis@4.0.2
@chat-adapter/slack@4.0.2
2026-01-02 15:45:57 -08:00
Malte Ubl
c72b37a91f
Fix gchat actions
2026-01-02 15:40:52 -08:00
Malte Ubl
6993352d9a
respond-google
2026-01-02 15:30:52 -08:00
Malte Ubl
870a1f5418
Maybe fix Google Cards2
2026-01-02 15:24:22 -08:00
Malte Ubl
0d8bfd5d15
Maybe fix Google Cards
2026-01-02 15:15:38 -08:00
Malte Ubl
107a246fd7
Refactor replay tests
2026-01-02 14:46:23 -08:00
github-actions[bot]
85d35c0516
Merge pull request #2 from vercel-labs/changeset-release/main
...
Version Packages
@chat-adapter/slack@4.0.1
chat@4.0.1
@chat-adapter/teams@4.0.1
@chat-adapter/state-redis@4.0.1
@chat-adapter/state-memory@4.0.1
@chat-adapter/state-ioredis@4.0.1
@chat-adapter/gchat@4.0.1
2026-01-02 14:33:31 -08:00
Malte Ubl
b27ea10bce
READMEs
2026-01-02 14:20:41 -08:00
Malte Ubl
d2ffcc2cbe
The great rename
...
We've acquired `chat` on npm. This plan covers renaming all packages and setting up automated publishing.
| Current Name | New Name | Version |
|--------------|----------|---------|
| `chat-sdk` | `chat` | 4.0.0 |
| `@chat-sdk/slack` | `@chat-adapter/slack` | 4.0.0 |
| `@chat-sdk/gchat` | `@chat-adapter/gchat` | 4.0.0 |
| `@chat-sdk/teams` | `@chat-adapter/teams` | 4.0.0 |
| `@chat-sdk/state-memory` | `@chat-adapter/state-memory` | 4.0.0 |
| `@chat-sdk/state-redis` | `@chat-adapter/state-redis` | 4.0.0 |
| `@chat-sdk/state-ioredis` | `@chat-adapter/state-ioredis` | 4.0.0 |
1. **Main package** (`packages/chat-sdk/package.json`):
- Change `"name": "chat-sdk"` → `"name": "chat"`
- Change `"version": "0.1.0"` → `"version": "4.0.0"`
2. **Adapter packages**:
- `packages/adapter-slack/package.json`: `@chat-sdk/slack` → `@chat-adapter/slack`
- `packages/adapter-gchat/package.json`: `@chat-sdk/gchat` → `@chat-adapter/gchat`
- `packages/adapter-teams/package.json`: `@chat-sdk/teams` → `@chat-adapter/teams`
- Update all versions to `4.0.0`
- Update dependency on `chat-sdk` → `chat`
3. **State packages**:
- `packages/state-memory/package.json`: `@chat-sdk/state-memory` → `@chat-adapter/state-memory`
- `packages/state-redis/package.json`: `@chat-sdk/state-redis` → `@chat-adapter/state-redis`
- `packages/state-ioredis/package.json`: `@chat-sdk/state-ioredis` → `@chat-adapter/state-ioredis`
- Update all versions to `4.0.0`
- Update dependency on `chat-sdk` → `chat`
Update `peerDependencies` and `dependencies` in each package:
```json
// Before
"peerDependencies": {
"chat-sdk": "workspace:*"
}
// After
"peerDependencies": {
"chat": "workspace:*"
}
```
Search and replace across the codebase:
| Find | Replace |
|------|---------|
| `from "chat-sdk"` | `from "chat"` |
| `from 'chat-sdk'` | `from 'chat'` |
| `import("chat-sdk")` | `import("chat")` |
| `from "@chat-sdk/slack"` | `from "@chat-adapter/slack"` |
| `from "@chat-sdk/gchat"` | `from "@chat-adapter/gchat"` |
| `from "@chat-sdk/teams"` | `from "@chat-adapter/teams"` |
| `from "@chat-sdk/state-memory"` | `from "@chat-adapter/state-memory"` |
| `from "@chat-sdk/state-redis"` | `from "@chat-adapter/state-redis"` |
| `from "@chat-sdk/state-ioredis"` | `from "@chat-adapter/state-ioredis"` |
Update any references to old package names in:
- `pnpm-workspace.yaml`
- `turbo.json` (task filters)
- Root `package.json` scripts
1. **README.md files** in each package
2. **Examples** (`examples/nextjs-chat/`)
3. **AGENTS.md** and other docs
4. **JSDoc comments** referencing package names
1. **Install changesets**:
```bash
pnpm add -D @changesets/cli
pnpm changeset init
```
2. **Configure `.changeset/config.json`**:
```json
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json ",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [
["chat", "@chat-adapter/*"]
],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["example-nextjs-chat"]
}
```
3. **Add GitHub Action** (`.github/workflows/release.yml`):
```yaml
name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- run: pnpm install
- run: pnpm build
- run: pnpm test
- name: Create Release Pull Request or Publish
uses: changesets/action@v1
with:
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
```
4. **Add publish config to each package.json**:
```json
"publishConfig": {
"access": "public"
}
```
1. Run full build: `pnpm build`
2. Run typecheck: `pnpm typecheck`
3. Run lint: `pnpm lint`
4. Run tests: `pnpm test`
5. Test local linking in example app
| File | Changes |
|------|---------|
| `packages/chat-sdk/package.json` | Rename to `chat`, version 4.0.0 |
| `packages/adapter-slack/package.json` | Rename to `@chat-adapter/slack`, update deps |
| `packages/adapter-gchat/package.json` | Rename to `@chat-adapter/gchat`, update deps |
| `packages/adapter-teams/package.json` | Rename to `@chat-adapter/teams`, update deps |
| `packages/state-memory/package.json` | Rename to `@chat-adapter/state-memory`, update deps |
| `packages/state-redis/package.json` | Rename to `@chat-adapter/state-redis`, update deps |
| `packages/state-ioredis/package.json` | Rename to `@chat-adapter/state-ioredis`, update deps |
| `examples/nextjs-chat/package.json` | Update all dependencies |
| `packages/integration-tests/package.json` | Update all dependencies |
| `turbo.json` | Update package references |
| All `*.ts` files | Update import statements |
| All `README.md` files | Update package names in docs |
| `.changeset/config.json` | Create new |
| `.github/workflows/release.yml` | Create new |
1. Update all `package.json` files (names, versions, dependencies)
2. Run `pnpm install` to update lockfile
3. Update all import statements in source files
4. Update all import statements in test files
5. Update documentation
6. Set up changesets
7. Run full validation
8. Create initial changeset for 4.0.0 release
9. Commit and push
If issues arise:
1. Git revert the rename commit
2. Run `pnpm install` to restore lockfile
3. Previous npm versions remain available
@chat-adapter/gchat@4.0.0
chat@4.0.0
@chat-adapter/teams@4.0.0
@chat-adapter/state-redis@4.0.0
@chat-adapter/state-memory@4.0.0
@chat-adapter/state-ioredis@4.0.0
@chat-adapter/slack@4.0.0
2026-01-02 13:56:55 -08:00
Malte Ubl
514b0281ac
DM tests
2026-01-02 10:50:32 -08:00
Malte Ubl
494772cf73
teams-test
2026-01-02 10:35:46 -08:00
Malte Ubl
7712b529b2
teams-dm
2026-01-02 10:26:50 -08:00
Malte Ubl
a4ec15e792
replay-dm
2026-01-02 10:21:07 -08:00
Malte Ubl
3785643146
fixes
2026-01-02 06:35:14 -08:00
Malte Ubl
b749049b3a
dmn
2026-01-02 06:04:14 -08:00
Malte Ubl
21b7581cd6
errror
2026-01-02 06:00:29 -08:00
Malte Ubl
09fa4efaab
impersonate
2026-01-02 05:53:29 -08:00
Malte Ubl
ec90937f5b
teams
2026-01-01 20:37:54 -08:00
Malte Ubl
39270b8b5d
DM
2026-01-01 20:28:14 -08:00