Vishal Yathish
160f1f7d59
[chat] fetch event relatedMessage separately ( #25 )
...
* [chat] fetch event message separately
* add replay tests
* remove logs
* add changeset
* pass context between modal frames
* remove dividers
* remove unused export
2026-01-23 21:44:53 -08:00
Vishal Yathish
0b8822eb88
clean up
2026-01-22 15:45:27 -08:00
Vishal Yathish
660a84ee09
cleanup
2026-01-22 15:30:44 -08:00
Vishal Yathish
e84cbf4187
[chat] add relatedThread and relatedMessage props to modal events
2026-01-22 13:19:09 -08:00
Fernando Rojo
b03cbd7130
add <LinkButton>
2026-01-21 14:54:48 -05:00
Fernando Rojo
dbc65dfd39
Merge branch 'main' into ephemeral
2026-01-21 11:34:28 -05:00
Malte Ubl
9e8f9e7425
Serde for Thread and Message ( #10 )
...
* Serde for Thread and Message
* Refactor
* serde
* message
2026-01-20 19:24:12 -08:00
Vishal Yathish
85609315d7
[chat] add private metadata/threadId to onModalClose events
2026-01-20 16:57:02 -08:00
Fernando Rojo
8d4878ec7b
ephemeral messages
2026-01-20 19:50:20 -05:00
Vishal Yathish
a488dbf118
[chat] add support for modals and form inputs + add to slack adapter
2026-01-20 10:20:08 -08:00
Malte Ubl
7e8826f9c2
Required-logger
2026-01-04 09:12:45 -08:00
Malte Ubl
0363a04dab
More refactoring
2026-01-04 08:22:30 -08:00
Malte Ubl
fb7c41d3a5
Refactoring duplication
2026-01-03 20:32:35 -08:00
Malte Ubl
edf68fe63d
User names and teams fixes
2026-01-03 10:08:08 -08:00
Malte Ubl
0df823a7e4
Fix fetchMessages and allMessages
2026-01-03 09:12:22 -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
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
2026-01-02 13:56:55 -08:00
Malte Ubl
514b0281ac
DM tests
2026-01-02 10:50:32 -08:00
Malte Ubl
7d7277787d
bugs
2026-01-01 19:16:58 -08:00
Malte Ubl
da0b16fa9a
JSX
2026-01-01 19:01:37 -08:00
Malte Ubl
c75b9bc17d
features
2026-01-01 17:25:27 -08:00
Malte Ubl
39c7427b56
New properties
2026-01-01 14:19:50 -08:00
Malte Ubl
82c9e10d34
More logging
2026-01-01 13:09:42 -08:00
Malte Ubl
69b3ee7aa4
lint
2026-01-01 12:34:54 -08:00
Malte Ubl
08d740b4fc
type-safe
2026-01-01 12:27:36 -08:00
Malte Ubl
ce4baf2183
Type-safe emoji
2026-01-01 11:46:44 -08:00
Malte Ubl
ca0e91035d
permissions
2026-01-01 11:18:10 -08:00
Malte Ubl
8174bce544
emoji bug
2026-01-01 11:10:13 -08:00
Malte Ubl
02dd531545
Emoji support
2026-01-01 11:01:44 -08:00
Malte Ubl
092baf8fdb
Better tests
2026-01-01 09:38:22 -08:00
Malte Ubl
93a82ffc08
IORedis and better validate
2026-01-01 09:11:52 -08:00
Malte Ubl
d696201e98
Refactor
2025-12-31 16:25:22 -08:00
Malte Ubl
918f11ccdc
dedupe
2025-12-31 15:09:33 -08:00
Malte Ubl
159acca3f3
step
2025-12-31 15:02:39 -08:00
Malte Ubl
2c78cc1f78
step
2025-12-31 13:22:58 -08:00
Malte Ubl
89dad6a879
step
2025-12-31 13:14:26 -08:00
Malte Ubl
a36418732b
fix2
2025-12-22 18:45:40 -08:00
Malte Ubl
eeb393ab9f
fix
2025-12-22 18:38:02 -08:00
Malte Ubl
17bf5f9ecf
log3
2025-12-22 12:41:13 -08:00
Malte Ubl
1f401aacd0
initial cook
2025-12-21 20:48:14 -08:00