@renai-labs/sdk 0.1.23 → 0.1.25
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/generated/@tanstack/react-query.gen.d.ts +146 -68
- package/dist/generated/@tanstack/react-query.gen.js +134 -4
- package/dist/generated/internal/types.gen.d.ts +159 -126
- package/dist/generated/sdk.gen.d.ts +54 -4
- package/dist/generated/sdk.gen.js +109 -4
- package/dist/generated/types.gen.d.ts +1801 -1380
- package/dist/generated/zod.gen.d.ts +7711 -6589
- package/dist/generated/zod.gen.js +531 -345
- package/package.json +2 -2
|
@@ -395,12 +395,12 @@ export const blueprintPushMutation = (options) => {
|
|
|
395
395
|
return mutationOptions;
|
|
396
396
|
};
|
|
397
397
|
/**
|
|
398
|
-
*
|
|
398
|
+
* Add a blueprint to the caller's workspace
|
|
399
399
|
*/
|
|
400
|
-
export const
|
|
400
|
+
export const blueprintAddMutation = (options) => {
|
|
401
401
|
const mutationOptions = {
|
|
402
402
|
mutationFn: async (fnOptions) => {
|
|
403
|
-
const { data } = await RenClient.__registry.get().blueprint.
|
|
403
|
+
const { data } = await RenClient.__registry.get().blueprint.add({
|
|
404
404
|
...options,
|
|
405
405
|
...fnOptions,
|
|
406
406
|
throwOnError: true,
|
|
@@ -1347,6 +1347,118 @@ export const googleConnectMutation = (options) => {
|
|
|
1347
1347
|
};
|
|
1348
1348
|
return mutationOptions;
|
|
1349
1349
|
};
|
|
1350
|
+
export const inferenceSubscriptionsListQueryKey = (options) => createQueryKey("inferenceSubscriptionsList", options);
|
|
1351
|
+
/**
|
|
1352
|
+
* List organization subscription seats
|
|
1353
|
+
*/
|
|
1354
|
+
export const inferenceSubscriptionsListOptions = (options) => queryOptions({
|
|
1355
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1356
|
+
const { data } = await RenClient.__registry.get().inference.subscriptions.list({
|
|
1357
|
+
...options,
|
|
1358
|
+
...queryKey[0],
|
|
1359
|
+
signal,
|
|
1360
|
+
throwOnError: true,
|
|
1361
|
+
});
|
|
1362
|
+
return data;
|
|
1363
|
+
},
|
|
1364
|
+
queryKey: inferenceSubscriptionsListQueryKey(options),
|
|
1365
|
+
});
|
|
1366
|
+
/**
|
|
1367
|
+
* Connect an Anthropic subscription seat
|
|
1368
|
+
*/
|
|
1369
|
+
export const inferenceSubscriptionsConnectAnthropicMutation = (options) => {
|
|
1370
|
+
const mutationOptions = {
|
|
1371
|
+
mutationFn: async (fnOptions) => {
|
|
1372
|
+
const { data } = await RenClient.__registry.get().inference.subscriptions.connectAnthropic({
|
|
1373
|
+
...options,
|
|
1374
|
+
...fnOptions,
|
|
1375
|
+
throwOnError: true,
|
|
1376
|
+
});
|
|
1377
|
+
return data;
|
|
1378
|
+
},
|
|
1379
|
+
};
|
|
1380
|
+
return mutationOptions;
|
|
1381
|
+
};
|
|
1382
|
+
/**
|
|
1383
|
+
* Remove a subscription seat
|
|
1384
|
+
*/
|
|
1385
|
+
export const inferenceSubscriptionsRemoveMutation = (options) => {
|
|
1386
|
+
const mutationOptions = {
|
|
1387
|
+
mutationFn: async (fnOptions) => {
|
|
1388
|
+
const { data } = await RenClient.__registry.get().inference.subscriptions.remove({
|
|
1389
|
+
...options,
|
|
1390
|
+
...fnOptions,
|
|
1391
|
+
throwOnError: true,
|
|
1392
|
+
});
|
|
1393
|
+
return data;
|
|
1394
|
+
},
|
|
1395
|
+
};
|
|
1396
|
+
return mutationOptions;
|
|
1397
|
+
};
|
|
1398
|
+
/**
|
|
1399
|
+
* Rename a subscription seat
|
|
1400
|
+
*/
|
|
1401
|
+
export const inferenceSubscriptionsRenameMutation = (options) => {
|
|
1402
|
+
const mutationOptions = {
|
|
1403
|
+
mutationFn: async (fnOptions) => {
|
|
1404
|
+
const { data } = await RenClient.__registry.get().inference.subscriptions.rename({
|
|
1405
|
+
...options,
|
|
1406
|
+
...fnOptions,
|
|
1407
|
+
throwOnError: true,
|
|
1408
|
+
});
|
|
1409
|
+
return data;
|
|
1410
|
+
},
|
|
1411
|
+
};
|
|
1412
|
+
return mutationOptions;
|
|
1413
|
+
};
|
|
1414
|
+
export const inferenceKeysListQueryKey = (options) => createQueryKey("inferenceKeysList", options);
|
|
1415
|
+
/**
|
|
1416
|
+
* List inference keys
|
|
1417
|
+
*/
|
|
1418
|
+
export const inferenceKeysListOptions = (options) => queryOptions({
|
|
1419
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1420
|
+
const { data } = await RenClient.__registry.get().inference.keys.list({
|
|
1421
|
+
...options,
|
|
1422
|
+
...queryKey[0],
|
|
1423
|
+
signal,
|
|
1424
|
+
throwOnError: true,
|
|
1425
|
+
});
|
|
1426
|
+
return data;
|
|
1427
|
+
},
|
|
1428
|
+
queryKey: inferenceKeysListQueryKey(options),
|
|
1429
|
+
});
|
|
1430
|
+
/**
|
|
1431
|
+
* Create an inference key
|
|
1432
|
+
*/
|
|
1433
|
+
export const inferenceKeysCreateMutation = (options) => {
|
|
1434
|
+
const mutationOptions = {
|
|
1435
|
+
mutationFn: async (fnOptions) => {
|
|
1436
|
+
const { data } = await RenClient.__registry.get().inference.keys.create({
|
|
1437
|
+
...options,
|
|
1438
|
+
...fnOptions,
|
|
1439
|
+
throwOnError: true,
|
|
1440
|
+
});
|
|
1441
|
+
return data;
|
|
1442
|
+
},
|
|
1443
|
+
};
|
|
1444
|
+
return mutationOptions;
|
|
1445
|
+
};
|
|
1446
|
+
/**
|
|
1447
|
+
* Revoke an inference key
|
|
1448
|
+
*/
|
|
1449
|
+
export const inferenceKeysRevokeMutation = (options) => {
|
|
1450
|
+
const mutationOptions = {
|
|
1451
|
+
mutationFn: async (fnOptions) => {
|
|
1452
|
+
const { data } = await RenClient.__registry.get().inference.keys.revoke({
|
|
1453
|
+
...options,
|
|
1454
|
+
...fnOptions,
|
|
1455
|
+
throwOnError: true,
|
|
1456
|
+
});
|
|
1457
|
+
return data;
|
|
1458
|
+
},
|
|
1459
|
+
};
|
|
1460
|
+
return mutationOptions;
|
|
1461
|
+
};
|
|
1350
1462
|
export const oauthAppListQueryKey = (options) => createQueryKey("oauthAppList", options);
|
|
1351
1463
|
/**
|
|
1352
1464
|
* List the org's OAuth apps
|
|
@@ -1938,7 +2050,7 @@ export const modelListOptions = (options) => queryOptions({
|
|
|
1938
2050
|
/**
|
|
1939
2051
|
* Start onboarding chat with Ren agent
|
|
1940
2052
|
*
|
|
1941
|
-
* Creates a session on the user's private pod Ren project and
|
|
2053
|
+
* Creates a session on the user's private pod Ren project and prepares the initial prompt with selected MCP/skill context.
|
|
1942
2054
|
*/
|
|
1943
2055
|
export const onboardingStartMutation = (options) => {
|
|
1944
2056
|
const mutationOptions = {
|
|
@@ -3639,6 +3751,24 @@ export const skillArchiveMutation = (options) => {
|
|
|
3639
3751
|
};
|
|
3640
3752
|
return mutationOptions;
|
|
3641
3753
|
};
|
|
3754
|
+
/**
|
|
3755
|
+
* Update a git skill's source pointer
|
|
3756
|
+
*
|
|
3757
|
+
* Repoints a git-backed skill at a different repository, ref or subdirectory. Git skills are versionless — GitHub owns their history — so this replaces the pointer in place rather than cutting a version, and existing pins keep resolving. The new pointer is validated by mirroring it, and a published skill's repository must still be publicly cloneable. File-backed skills have no pointer; use versions instead.
|
|
3758
|
+
*/
|
|
3759
|
+
export const skillSourceUpdateMutation = (options) => {
|
|
3760
|
+
const mutationOptions = {
|
|
3761
|
+
mutationFn: async (fnOptions) => {
|
|
3762
|
+
const { data } = await RenClient.__registry.get().skill.source.update({
|
|
3763
|
+
...options,
|
|
3764
|
+
...fnOptions,
|
|
3765
|
+
throwOnError: true,
|
|
3766
|
+
});
|
|
3767
|
+
return data;
|
|
3768
|
+
},
|
|
3769
|
+
};
|
|
3770
|
+
return mutationOptions;
|
|
3771
|
+
};
|
|
3642
3772
|
/**
|
|
3643
3773
|
* Publish a skill
|
|
3644
3774
|
*
|