Skip to content

Commit 5433b87

Browse files
chore: update SDK from production OpenAPI (#248)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4e1613d commit 5433b87

4 files changed

Lines changed: 183 additions & 15 deletions

File tree

‎packages/ai-tools/src/generated/tools.ts‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,18 @@ const chatsCreateInputSchema = z.object({
204204
"Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
205205
)
206206
.optional(),
207+
vercel: z
208+
.boolean()
209+
.describe(
210+
"Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
211+
)
212+
.optional(),
213+
github: z
214+
.boolean()
215+
.describe(
216+
"Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
217+
)
218+
.optional(),
207219
})
208220
.describe("Credentials the chat's sandbox may use. Not supported for Vercel OIDC principals.")
209221
.optional(),
@@ -289,6 +301,18 @@ const chatsCreateAsyncInputSchema = z.object({
289301
"Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
290302
)
291303
.optional(),
304+
vercel: z
305+
.boolean()
306+
.describe(
307+
"Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
308+
)
309+
.optional(),
310+
github: z
311+
.boolean()
312+
.describe(
313+
"Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
314+
)
315+
.optional(),
292316
})
293317
.describe("Credentials the chat's sandbox may use. Not supported for Vercel OIDC principals.")
294318
.optional(),
@@ -455,6 +479,18 @@ const chatsCreateStreamInputSchema = z.object({
455479
"Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
456480
)
457481
.optional(),
482+
vercel: z
483+
.boolean()
484+
.describe(
485+
"Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
486+
)
487+
.optional(),
488+
github: z
489+
.boolean()
490+
.describe(
491+
"Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
492+
)
493+
.optional(),
458494
})
459495
.describe("Credentials the chat's sandbox may use. Not supported for Vercel OIDC principals.")
460496
.optional(),
@@ -730,6 +766,7 @@ const messagesResolveInputSchema = z.object({
730766
'Contentful',
731767
'Mobbin',
732768
'Slack',
769+
'Nitrosend',
733770
]),
734771
)
735772
.describe(
@@ -873,6 +910,7 @@ const messagesResolveAsyncInputSchema = z.object({
873910
'Contentful',
874911
'Mobbin',
875912
'Slack',
913+
'Nitrosend',
876914
]),
877915
)
878916
.describe(
@@ -1016,6 +1054,7 @@ const messagesResolveStreamInputSchema = z.object({
10161054
'Contentful',
10171055
'Mobbin',
10181056
'Slack',
1057+
'Nitrosend',
10191058
]),
10201059
)
10211060
.describe(

‎packages/v0-sdk/openapi.json‎

Lines changed: 90 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5092,6 +5092,14 @@
50925092
"sharedNpm": {
50935093
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
50945094
"type": "boolean"
5095+
},
5096+
"vercel": {
5097+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
5098+
"type": "boolean"
5099+
},
5100+
"github": {
5101+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
5102+
"type": "boolean"
50955103
}
50965104
},
50975105
"additionalProperties": false
@@ -5308,6 +5316,14 @@
53085316
"sharedNpm": {
53095317
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
53105318
"type": "boolean"
5319+
},
5320+
"vercel": {
5321+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
5322+
"type": "boolean"
5323+
},
5324+
"github": {
5325+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
5326+
"type": "boolean"
53115327
}
53125328
},
53135329
"additionalProperties": false
@@ -5524,6 +5540,14 @@
55245540
"sharedNpm": {
55255541
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
55265542
"type": "boolean"
5543+
},
5544+
"vercel": {
5545+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
5546+
"type": "boolean"
5547+
},
5548+
"github": {
5549+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
5550+
"type": "boolean"
55275551
}
55285552
},
55295553
"additionalProperties": false
@@ -7014,6 +7038,14 @@
70147038
"sharedNpm": {
70157039
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
70167040
"type": "boolean"
7041+
},
7042+
"vercel": {
7043+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
7044+
"type": "boolean"
7045+
},
7046+
"github": {
7047+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
7048+
"type": "boolean"
70177049
}
70187050
},
70197051
"additionalProperties": false
@@ -7230,6 +7262,14 @@
72307262
"sharedNpm": {
72317263
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
72327264
"type": "boolean"
7265+
},
7266+
"vercel": {
7267+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
7268+
"type": "boolean"
7269+
},
7270+
"github": {
7271+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
7272+
"type": "boolean"
72337273
}
72347274
},
72357275
"additionalProperties": false
@@ -7446,6 +7486,14 @@
74467486
"sharedNpm": {
74477487
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
74487488
"type": "boolean"
7489+
},
7490+
"vercel": {
7491+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
7492+
"type": "boolean"
7493+
},
7494+
"github": {
7495+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
7496+
"type": "boolean"
74497497
}
74507498
},
74517499
"additionalProperties": false
@@ -7739,6 +7787,14 @@
77397787
"sharedNpm": {
77407788
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
77417789
"type": "boolean"
7790+
},
7791+
"vercel": {
7792+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
7793+
"type": "boolean"
7794+
},
7795+
"github": {
7796+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
7797+
"type": "boolean"
77427798
}
77437799
},
77447800
"additionalProperties": false
@@ -7955,6 +8011,14 @@
79558011
"sharedNpm": {
79568012
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
79578013
"type": "boolean"
8014+
},
8015+
"vercel": {
8016+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
8017+
"type": "boolean"
8018+
},
8019+
"github": {
8020+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
8021+
"type": "boolean"
79588022
}
79598023
},
79608024
"additionalProperties": false
@@ -8171,6 +8235,14 @@
81718235
"sharedNpm": {
81728236
"description": "Let the chat's sandbox install private packages with the team's shared npm credentials (`NPM_RC` / `NPM_TOKEN`). Defaults to `false`.",
81738237
"type": "boolean"
8238+
},
8239+
"vercel": {
8240+
"description": "Let the chat's sandbox use the requesting user's Vercel credentials instead of a project-only token. Defaults to `false`.",
8241+
"type": "boolean"
8242+
},
8243+
"github": {
8244+
"description": "Let the chat's sandbox use the requesting user's GitHub credentials. Defaults to `false`.",
8245+
"type": "boolean"
81748246
}
81758247
},
81768248
"additionalProperties": false
@@ -10384,7 +10456,8 @@
1038410456
"PostHog",
1038510457
"Contentful",
1038610458
"Mobbin",
10387-
"Slack"
10459+
"Slack",
10460+
"Nitrosend"
1038810461
]
1038910462
}
1039010463
},
@@ -10716,7 +10789,8 @@
1071610789
"PostHog",
1071710790
"Contentful",
1071810791
"Mobbin",
10719-
"Slack"
10792+
"Slack",
10793+
"Nitrosend"
1072010794
]
1072110795
}
1072210796
},
@@ -11048,7 +11122,8 @@
1104811122
"PostHog",
1104911123
"Contentful",
1105011124
"Mobbin",
11051-
"Slack"
11125+
"Slack",
11126+
"Nitrosend"
1105211127
]
1105311128
}
1105411129
},
@@ -11479,7 +11554,8 @@
1147911554
"PostHog",
1148011555
"Contentful",
1148111556
"Mobbin",
11482-
"Slack"
11557+
"Slack",
11558+
"Nitrosend"
1148311559
]
1148411560
}
1148511561
},
@@ -11811,7 +11887,8 @@
1181111887
"PostHog",
1181211888
"Contentful",
1181311889
"Mobbin",
11814-
"Slack"
11890+
"Slack",
11891+
"Nitrosend"
1181511892
]
1181611893
}
1181711894
},
@@ -12143,7 +12220,8 @@
1214312220
"PostHog",
1214412221
"Contentful",
1214512222
"Mobbin",
12146-
"Slack"
12223+
"Slack",
12224+
"Nitrosend"
1214712225
]
1214812226
}
1214912227
},
@@ -12574,7 +12652,8 @@
1257412652
"PostHog",
1257512653
"Contentful",
1257612654
"Mobbin",
12577-
"Slack"
12655+
"Slack",
12656+
"Nitrosend"
1257812657
]
1257912658
}
1258012659
},
@@ -12906,7 +12985,8 @@
1290612985
"PostHog",
1290712986
"Contentful",
1290812987
"Mobbin",
12909-
"Slack"
12988+
"Slack",
12989+
"Nitrosend"
1291012990
]
1291112991
}
1291212992
},
@@ -13238,7 +13318,8 @@
1323813318
"PostHog",
1323913319
"Contentful",
1324013320
"Mobbin",
13241-
"Slack"
13321+
"Slack",
13322+
"Nitrosend"
1324213323
]
1324313324
}
1324413325
},

‎packages/v0-sdk/src/generated/sdk.gen.ts‎

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

0 commit comments

Comments
 (0)