v0-api 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/effect.mjs CHANGED
@@ -190,7 +190,7 @@ const resolveUrl = (url, queryParams = {})=>{
190
190
  }
191
191
  /**
192
192
  * @summary Fork Chat
193
- * @description Creates a new chat fork (duplicate) from a specific version within an existing chat. Useful for branching off alternate directions without modifying the original conversation.
193
+ * @description Creates a new chat fork (duplicate) from a specific version within a chat created through Platform API v1. To duplicate chats created in v0 web or Platform API v2, use POST /v2/chats/{chatId}/duplicate.
194
194
  * @link /chats/{chatId}/fork
195
195
  */ async function chatsFork({ pathParams, config } = {}) {
196
196
  const { client: request = client, ...requestConfig } = config ?? {};
@@ -1227,7 +1227,7 @@ const operationsByPath = {
1227
1227
  "POST /mcp-servers/{mcpServerId}/oauth/authorize": mcpServersCreateOAuthAuthorizationUrl
1228
1228
  };
1229
1229
  const operationsByTag = {
1230
- "chats": {
1230
+ chats: {
1231
1231
  chatsCreate,
1232
1232
  chatsFind,
1233
1233
  chatsInit,
@@ -1249,7 +1249,7 @@ const operationsByTag = {
1249
1249
  chatsResolveTask,
1250
1250
  chatsRestore
1251
1251
  },
1252
- "projects": {
1252
+ projects: {
1253
1253
  projectsGetByChatId,
1254
1254
  projectsFind,
1255
1255
  projectsCreate,
@@ -1263,7 +1263,7 @@ const operationsByTag = {
1263
1263
  projectsDeleteEnvVars,
1264
1264
  projectsGetEnvVar
1265
1265
  },
1266
- "deployments": {
1266
+ deployments: {
1267
1267
  deploymentsFind,
1268
1268
  deploymentsCreate,
1269
1269
  deploymentsGetById,
@@ -1271,32 +1271,32 @@ const operationsByTag = {
1271
1271
  deploymentsFindLogs,
1272
1272
  deploymentsFindErrors
1273
1273
  },
1274
- "hooks": {
1274
+ hooks: {
1275
1275
  hooksFind,
1276
1276
  hooksCreate,
1277
1277
  hooksGetById,
1278
1278
  hooksUpdate,
1279
1279
  hooksDelete
1280
1280
  },
1281
- "integrations": {
1281
+ integrations: {
1282
1282
  integrationsVercelProjectsFind,
1283
1283
  integrationsVercelProjectsCreate
1284
1284
  },
1285
- "ratelimits": {
1285
+ ratelimits: {
1286
1286
  rateLimitsFind
1287
1287
  },
1288
- "user": {
1288
+ user: {
1289
1289
  userGet,
1290
1290
  userGetBilling,
1291
1291
  userGetPlan,
1292
1292
  userGetScopes
1293
1293
  },
1294
- "reports": {
1294
+ reports: {
1295
1295
  reportsGetUsage,
1296
1296
  reportsGetAIUsage,
1297
1297
  reportsGetUserActivity
1298
1298
  },
1299
- "mcpservers": {
1299
+ mcpservers: {
1300
1300
  mcpServersFind,
1301
1301
  mcpServersCreate,
1302
1302
  mcpServersGetById,