Skip to content

Commit de9e32d

Browse files
authored
Merge pull request #124 from chatbotkit/next
Release node-sdk
2 parents e10fdaa + 1bd0716 commit de9e32d

602 files changed

Lines changed: 67495 additions & 61310 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@chatbotkit/sdk": minor
3+
---
4+
5+
BREAKING: skillset ability link fields renamed. On create/update/fetch/list/export, `secretId` / `fileId` / `botId` / `spaceId` are now `linkedSecretId` / `linkedFileId` / `linkedBotId` / `linkedSpaceId`. Inline conversation `extensions.skillsets[].abilities[]` entries use `linkedSecretId` (and the new `linkedSpaceId`). GraphQL `Ability` relations `secret` / `file` / `bot` / `space` are now `linkedSecret` / `linkedFile` / `linkedBot` / `linkedSpace`. There are no compatibility aliases; upgrade together with the platform deploy.
6+
7+
Also in this release, from the regenerated `src/types/ability.d.ts`: the `'browser/dispatch'` ability name and the `BrowserDispatchParameters` export are gone (the ability was removed from the platform catalogue), and `BlueprintBulletinCreateParameters.ttl` is now `string` (seconds or a duration such as `"1 hour"`) instead of `number`. Both are breaking for code typed against those exports.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@chatbotkit/sdk': minor
3+
---
4+
5+
Refresh the generated platform API contract so SDK request and response types
6+
match the current GraphQL, task, integration, dataset, and space APIs.

.changeset/space-site-slug.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@chatbotkit/sdk': minor
3+
---
4+
5+
BREAKING: SpaceSite API request and response fields now use `slug` instead of `domain`. Create requests require `slug`; update requests accept an optional `slug`; fetch and list responses expose `slug`.

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
33

4-
"image": "mcr.microsoft.com/devcontainers/javascript-node:22-bookworm",
4+
"image": "mcr.microsoft.com/devcontainers/javascript-node:24-bookworm",
55

66
"features": {
77
"git-lfs": "latest"

.eslintignore

Whitespace-only changes.

.eslintrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/docs.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,28 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v7
2828

29-
- name: Setup Node.js
30-
uses: actions/setup-node@v3
29+
- name: Setup pnpm and Node.js
30+
uses: pnpm/setup@v2
3131
with:
32-
node-version: '22'
33-
34-
- name: Setup PNPM
35-
uses: pnpm/action-setup@v2
36-
with:
37-
version: 10.16.1
32+
version: 11.24.0
33+
runtime: node@24.20.0
34+
cache: true
35+
install: false
3836

3937
- run: pnpm install
4038
- run: npx typedoc
4139
- run: node scripts/create-docs-exports.js
4240

4341
- name: Setup Pages
44-
uses: actions/configure-pages@v3
42+
uses: actions/configure-pages@v6
4543

4644
- name: Upload artifact
47-
uses: actions/upload-pages-artifact@v3
45+
uses: actions/upload-pages-artifact@v5
4846
with:
4947
path: 'docs'
5048

5149
- name: Deploy to GitHub Pages
5250
id: deployment
53-
uses: actions/deploy-pages@v4
51+
uses: actions/deploy-pages@v5

.github/workflows/publish.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,15 @@ jobs:
1717
pull-requests: write
1818
steps:
1919
- name: Checkout Repo
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v7
2121

22-
- name: Setup Node.js
23-
uses: actions/setup-node@v4
22+
- name: Setup pnpm and Node.js
23+
uses: pnpm/setup@v2
2424
with:
25-
node-version: '22'
26-
27-
- name: Setup PNPM
28-
uses: pnpm/action-setup@v4
29-
with:
30-
version: 10.16.1
25+
version: 11.24.0
26+
runtime: node@24.20.0
27+
cache: true
28+
install: false
3129

3230
- name: Install Dependencies
3331
run: pnpm install

.npmrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

.vscode/mcp.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)