Skip to content

Commit d43e4d0

Browse files
Update docs for SDK 0.10.0 Google integration naming
Add permanent redirects from legacy gcal/gmeet/etc. doc URLs to google_*, document the v0.10.0 migration on the installation page, refresh version callouts, and pin docs to integrate-sdk 0.10.0. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 60c7165 commit d43e4d0

4 files changed

Lines changed: 44 additions & 4 deletions

File tree

docs/bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/content/docs/getting-started/installation.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,27 @@ The SDK is built with TypeScript and includes type definitions out of the box. N
3838

3939
- Node.js 20.9+ or newer
4040
- TypeScript 5.6+ (for TypeScript projects)
41+
- `integrate-sdk` **0.10.0+** (Google integrations use `google_*` ids; see [migration note](#google-integration-ids-v0100) below)
42+
43+
## Google integration ids (v0.10.0+)
44+
45+
In **0.10.0**, short Google integration ids were renamed to `google_*` for consistency with blob assets and docs URLs. `gmail` is unchanged.
46+
47+
| Before (≤0.9.x) | Now (0.10.0+) |
48+
|-----------------|---------------|
49+
| `gcal` | `google_calendar` |
50+
| `gchat` | `google_chat` |
51+
| `gcontacts` | `google_contacts` |
52+
| `gdocs` | `google_docs` |
53+
| `gdrive` | `google_drive` |
54+
| `gkeep` | `google_keep` |
55+
| `gmeet` | `google_meet` |
56+
| `gsheets` | `google_sheets` |
57+
| `gslides` | `google_slides` |
58+
| `gtasks` | `google_tasks` |
59+
| `ga4` | `google_analytics` |
60+
61+
Update integration factories (`googleCalendarIntegration()`), client namespaces (`client.google_calendar`), env vars (`GOOGLE_CALENDAR_CLIENT_ID`), and tool names (`google_calendar_list_events`) when upgrading.
4162

4263
## Examples
4364

docs/content/docs/guides/performance.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Mitigations (use together):
2222
await serverClient.getEnabledToolsAsync({
2323
connectedOnly: true,
2424
context: { userId },
25-
fetchConcurrency: 8, // default in v0.9.57+
25+
fetchConcurrency: 8, // default in v0.10.0+
2626
});
2727
```
2828

@@ -38,7 +38,7 @@ await getVercelAITools(serverClient, {
3838

3939
Invalidate your app-level cache when tokens change (OAuth connect/disconnect).
4040

41-
## Built-in tool discovery cache (v0.9.60+)
41+
## Built-in tool discovery cache (v0.10.0+)
4242

4343
Pass a `cache` adapter to `getVercelAITools` instead of hand-rolling Redis + `hydrateToolCache`:
4444

docs/next.config.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,26 @@ const config = {
2323
];
2424
},
2525
async redirects() {
26+
const googleIntegrationRedirects = [
27+
["gcal", "google_calendar"],
28+
["gchat", "google_chat"],
29+
["gcontacts", "google_contacts"],
30+
["gdocs", "google_docs"],
31+
["gdrive", "google_drive"],
32+
["gkeep", "google_keep"],
33+
["gmeet", "google_meet"],
34+
["gsheets", "google_sheets"],
35+
["gslides", "google_slides"],
36+
["gtasks", "google_tasks"],
37+
["ga4", "google_analytics"],
38+
];
39+
2640
return [
41+
...googleIntegrationRedirects.map(([oldId, newId]) => ({
42+
source: `/docs/integrations/${oldId}`,
43+
destination: `/docs/integrations/${newId}`,
44+
permanent: true,
45+
})),
2746
{
2847
source: "/:path*",
2948
has: [{ type: "host", value: "app.integrate.dev" }],

0 commit comments

Comments
 (0)