@renai-labs/sdk 0.1.18 → 0.1.20
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 +597 -35
- package/dist/generated/@tanstack/react-query.gen.js +521 -17
- package/dist/generated/internal/types.gen.d.ts +319 -1
- package/dist/generated/sdk.gen.d.ts +167 -17
- package/dist/generated/sdk.gen.js +349 -19
- package/dist/generated/types.gen.d.ts +2063 -1509
- package/dist/generated/zod.gen.d.ts +8497 -4855
- package/dist/generated/zod.gen.js +882 -783
- package/package.json +2 -2
|
@@ -14,6 +14,7 @@ export type SandboxManifest = {
|
|
|
14
14
|
globalOpencodeJson: {
|
|
15
15
|
[key: string]: unknown;
|
|
16
16
|
};
|
|
17
|
+
globalInstructions?: string;
|
|
17
18
|
projects: Array<SandboxManifestProject>;
|
|
18
19
|
environment: {
|
|
19
20
|
[key: string]: string;
|
|
@@ -62,7 +63,6 @@ export type SandboxManifestProjectSkillSource = {
|
|
|
62
63
|
path?: string;
|
|
63
64
|
};
|
|
64
65
|
export type SandboxManifestProjectSkillVersion = {
|
|
65
|
-
agentVersionId: string;
|
|
66
66
|
versionId: string;
|
|
67
67
|
version: string;
|
|
68
68
|
source: SandboxManifestProjectSkillSource | null;
|
|
@@ -143,6 +143,7 @@ export type SandboxManifestProject = {
|
|
|
143
143
|
opencodeJson: {
|
|
144
144
|
[key: string]: unknown;
|
|
145
145
|
};
|
|
146
|
+
instructions?: string;
|
|
146
147
|
skills: Array<SandboxManifestProjectSkill>;
|
|
147
148
|
volumes: Array<SandboxMountedVolume>;
|
|
148
149
|
};
|
|
@@ -166,12 +167,28 @@ export type ReplayPublicListItem = {
|
|
|
166
167
|
websiteMetadata: WebsiteMetadata | null;
|
|
167
168
|
updatedAt: string;
|
|
168
169
|
};
|
|
170
|
+
export type PublisherPublicView = {
|
|
171
|
+
id: string;
|
|
172
|
+
slug: string;
|
|
173
|
+
handle: string;
|
|
174
|
+
name: string;
|
|
175
|
+
description: string | null;
|
|
176
|
+
avatar: string | null;
|
|
177
|
+
url: string | null;
|
|
178
|
+
isVerified: boolean;
|
|
179
|
+
links: Array<PublisherLink>;
|
|
180
|
+
};
|
|
181
|
+
export type PublisherLink = {
|
|
182
|
+
label: string;
|
|
183
|
+
href: string;
|
|
184
|
+
};
|
|
169
185
|
export type BlueprintPublicListItem = {
|
|
170
186
|
id: string;
|
|
171
187
|
slug: string;
|
|
172
188
|
name: string;
|
|
173
189
|
description: string | null;
|
|
174
190
|
websiteMetadata: WebsiteMetadata | null;
|
|
191
|
+
publisherId: string | null;
|
|
175
192
|
updatedAt: string;
|
|
176
193
|
};
|
|
177
194
|
export type McpPublicView = {
|
|
@@ -278,6 +295,51 @@ export type AgentLatestVersion = {
|
|
|
278
295
|
};
|
|
279
296
|
}>;
|
|
280
297
|
};
|
|
298
|
+
export type Skill = {
|
|
299
|
+
id: string;
|
|
300
|
+
slug: string;
|
|
301
|
+
name: string;
|
|
302
|
+
description: string | null;
|
|
303
|
+
icon: string | null;
|
|
304
|
+
docUrl: string | null;
|
|
305
|
+
repository: Repository | null;
|
|
306
|
+
orgId: string;
|
|
307
|
+
userId: string | null;
|
|
308
|
+
publisherId: string | null;
|
|
309
|
+
parentId: string | null;
|
|
310
|
+
websiteMetadata: WebsiteMetadata | null;
|
|
311
|
+
sortOrder: number | null;
|
|
312
|
+
popularityScore: number | null;
|
|
313
|
+
trendingScore: number | null;
|
|
314
|
+
rank: number | null;
|
|
315
|
+
latestVersionId: string | null;
|
|
316
|
+
createdAt: string;
|
|
317
|
+
updatedAt: string;
|
|
318
|
+
archivedAt: string | null;
|
|
319
|
+
deprecatedAt: string | null;
|
|
320
|
+
deprecationMessage: string | null;
|
|
321
|
+
tags?: Array<string>;
|
|
322
|
+
};
|
|
323
|
+
export type McpAuthConfig = {
|
|
324
|
+
type: "oauth";
|
|
325
|
+
scopes?: Array<string>;
|
|
326
|
+
tokenEndpoint?: string;
|
|
327
|
+
authorizationEndpoint?: string;
|
|
328
|
+
tokenEndpointAuth?: "none" | "client_secret_basic" | "client_secret_post";
|
|
329
|
+
} | {
|
|
330
|
+
type: "api_key";
|
|
331
|
+
headerName?: string;
|
|
332
|
+
queryParam?: string;
|
|
333
|
+
} | {
|
|
334
|
+
type: "basic";
|
|
335
|
+
} | {
|
|
336
|
+
type: "none";
|
|
337
|
+
} | {
|
|
338
|
+
type: "mcp_provider";
|
|
339
|
+
provider: "composio";
|
|
340
|
+
toolkit: string;
|
|
341
|
+
authConfigId: string;
|
|
342
|
+
};
|
|
281
343
|
export type OpencodeSession = {
|
|
282
344
|
id: string;
|
|
283
345
|
createdById: string;
|
|
@@ -321,6 +383,62 @@ export type OpencodeSession = {
|
|
|
321
383
|
archivedAt: string | null;
|
|
322
384
|
compactingAt: string | null;
|
|
323
385
|
};
|
|
386
|
+
export type Mcp = {
|
|
387
|
+
id: string;
|
|
388
|
+
slug: string;
|
|
389
|
+
name: string;
|
|
390
|
+
description: string | null;
|
|
391
|
+
icon: string | null;
|
|
392
|
+
mcpServerUrl: string | null;
|
|
393
|
+
docUrl: string | null;
|
|
394
|
+
type: "remote" | "local";
|
|
395
|
+
transport: "streamable-http" | "sse" | "stdio";
|
|
396
|
+
command: string | null;
|
|
397
|
+
args: Array<string>;
|
|
398
|
+
version: string | null;
|
|
399
|
+
repository: Repository | null;
|
|
400
|
+
tools: Array<string>;
|
|
401
|
+
prompts: Array<string>;
|
|
402
|
+
auth: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
|
|
403
|
+
authConfig: McpAuthConfig | null;
|
|
404
|
+
env: {
|
|
405
|
+
[key: string]: string;
|
|
406
|
+
};
|
|
407
|
+
requiredCredentials: Array<RequiredCredential>;
|
|
408
|
+
orgId: string;
|
|
409
|
+
userId: string | null;
|
|
410
|
+
publisherId: string | null;
|
|
411
|
+
websiteMetadata: WebsiteMetadata | null;
|
|
412
|
+
sortOrder: number | null;
|
|
413
|
+
popularityScore: number | null;
|
|
414
|
+
trendingScore: number | null;
|
|
415
|
+
rank: number | null;
|
|
416
|
+
createdAt: string;
|
|
417
|
+
updatedAt: string;
|
|
418
|
+
archivedAt: string | null;
|
|
419
|
+
deprecatedAt: string | null;
|
|
420
|
+
deprecationMessage: string | null;
|
|
421
|
+
tags?: Array<string>;
|
|
422
|
+
};
|
|
423
|
+
export type Agent = {
|
|
424
|
+
id: string;
|
|
425
|
+
slug: string;
|
|
426
|
+
name: string;
|
|
427
|
+
icon: string | null;
|
|
428
|
+
orgId: string;
|
|
429
|
+
userId: string | null;
|
|
430
|
+
publisherId: string | null;
|
|
431
|
+
parentId: string | null;
|
|
432
|
+
websiteMetadata: WebsiteMetadata | null;
|
|
433
|
+
latestVersionId: string | null;
|
|
434
|
+
createdAt: string;
|
|
435
|
+
updatedAt: string;
|
|
436
|
+
archivedAt: string | null;
|
|
437
|
+
deprecatedAt: string | null;
|
|
438
|
+
deprecationMessage: string | null;
|
|
439
|
+
tags?: Array<string>;
|
|
440
|
+
latestVersion?: AgentLatestVersion | null;
|
|
441
|
+
};
|
|
324
442
|
export type OAuthCallbackInput = string;
|
|
325
443
|
export type HealthCheckData = {
|
|
326
444
|
body?: never;
|
|
@@ -354,6 +472,27 @@ export type ComposioOauthCallbackData = {
|
|
|
354
472
|
};
|
|
355
473
|
url: "/api/composio/oauth/callback";
|
|
356
474
|
};
|
|
475
|
+
export type InvitationUnsubscribeData = {
|
|
476
|
+
body?: never;
|
|
477
|
+
path: {
|
|
478
|
+
id: string;
|
|
479
|
+
};
|
|
480
|
+
query?: never;
|
|
481
|
+
url: "/api/invitations/{id}/unsubscribe";
|
|
482
|
+
};
|
|
483
|
+
export type InvitationUnsubscribeErrors = {
|
|
484
|
+
/**
|
|
485
|
+
* The request was not an RFC 8058 one-click unsubscribe
|
|
486
|
+
*/
|
|
487
|
+
400: unknown;
|
|
488
|
+
};
|
|
489
|
+
export type InvitationUnsubscribeResponses = {
|
|
490
|
+
/**
|
|
491
|
+
* The pending invitation was rejected, or was already unavailable
|
|
492
|
+
*/
|
|
493
|
+
204: void;
|
|
494
|
+
};
|
|
495
|
+
export type InvitationUnsubscribeResponse = InvitationUnsubscribeResponses[keyof InvitationUnsubscribeResponses];
|
|
357
496
|
export type GithubOauthCallbackData = {
|
|
358
497
|
body?: never;
|
|
359
498
|
path?: never;
|
|
@@ -375,6 +514,30 @@ export type GoogleOauthCallbackData = {
|
|
|
375
514
|
};
|
|
376
515
|
url: "/api/google/oauth/callback";
|
|
377
516
|
};
|
|
517
|
+
export type OrganizationLogoGetData = {
|
|
518
|
+
body?: never;
|
|
519
|
+
path: {
|
|
520
|
+
asset: string;
|
|
521
|
+
};
|
|
522
|
+
query?: never;
|
|
523
|
+
url: "/api/organization-logos/{asset}";
|
|
524
|
+
};
|
|
525
|
+
export type OrganizationLogoGetErrors = {
|
|
526
|
+
/**
|
|
527
|
+
* Not found
|
|
528
|
+
*/
|
|
529
|
+
404: {
|
|
530
|
+
error: string;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
export type OrganizationLogoGetError = OrganizationLogoGetErrors[keyof OrganizationLogoGetErrors];
|
|
534
|
+
export type OrganizationLogoGetResponses = {
|
|
535
|
+
/**
|
|
536
|
+
* Processed organization logo
|
|
537
|
+
*/
|
|
538
|
+
200: Blob | File;
|
|
539
|
+
};
|
|
540
|
+
export type OrganizationLogoGetResponse = OrganizationLogoGetResponses[keyof OrganizationLogoGetResponses];
|
|
378
541
|
export type RegistryAgentGetBySlugData = {
|
|
379
542
|
body?: never;
|
|
380
543
|
path: {
|
|
@@ -482,6 +645,156 @@ export type RegistryBlueprintListResponses = {
|
|
|
482
645
|
200: Array<BlueprintPublicListItem>;
|
|
483
646
|
};
|
|
484
647
|
export type RegistryBlueprintListResponse = RegistryBlueprintListResponses[keyof RegistryBlueprintListResponses];
|
|
648
|
+
export type RegistryPublisherListData = {
|
|
649
|
+
body?: never;
|
|
650
|
+
path?: never;
|
|
651
|
+
query?: {
|
|
652
|
+
limit?: number;
|
|
653
|
+
offset?: number;
|
|
654
|
+
includeDeprecated?: boolean;
|
|
655
|
+
};
|
|
656
|
+
url: "/api/registry/publishers";
|
|
657
|
+
};
|
|
658
|
+
export type RegistryPublisherListErrors = {
|
|
659
|
+
/**
|
|
660
|
+
* Bad request
|
|
661
|
+
*/
|
|
662
|
+
400: {
|
|
663
|
+
error: string;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
export type RegistryPublisherListError = RegistryPublisherListErrors[keyof RegistryPublisherListErrors];
|
|
667
|
+
export type RegistryPublisherListResponses = {
|
|
668
|
+
/**
|
|
669
|
+
* Published publisher list
|
|
670
|
+
*/
|
|
671
|
+
200: Array<PublisherPublicView>;
|
|
672
|
+
};
|
|
673
|
+
export type RegistryPublisherListResponse = RegistryPublisherListResponses[keyof RegistryPublisherListResponses];
|
|
674
|
+
export type RegistryPublisherBlueprintsData = {
|
|
675
|
+
body?: never;
|
|
676
|
+
path: {
|
|
677
|
+
/**
|
|
678
|
+
* URL-friendly identifier
|
|
679
|
+
*/
|
|
680
|
+
slug: string;
|
|
681
|
+
};
|
|
682
|
+
query?: {
|
|
683
|
+
limit?: number;
|
|
684
|
+
offset?: number;
|
|
685
|
+
includeDeprecated?: boolean;
|
|
686
|
+
};
|
|
687
|
+
url: "/api/registry/publishers/{slug}/blueprints";
|
|
688
|
+
};
|
|
689
|
+
export type RegistryPublisherBlueprintsErrors = {
|
|
690
|
+
/**
|
|
691
|
+
* Not found
|
|
692
|
+
*/
|
|
693
|
+
404: {
|
|
694
|
+
error: string;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
export type RegistryPublisherBlueprintsError = RegistryPublisherBlueprintsErrors[keyof RegistryPublisherBlueprintsErrors];
|
|
698
|
+
export type RegistryPublisherBlueprintsResponses = {
|
|
699
|
+
/**
|
|
700
|
+
* Published blueprint list for the publisher
|
|
701
|
+
*/
|
|
702
|
+
200: Array<BlueprintPublicListItem>;
|
|
703
|
+
};
|
|
704
|
+
export type RegistryPublisherBlueprintsResponse = RegistryPublisherBlueprintsResponses[keyof RegistryPublisherBlueprintsResponses];
|
|
705
|
+
export type RegistryPublisherSkillsData = {
|
|
706
|
+
body?: never;
|
|
707
|
+
path: {
|
|
708
|
+
/**
|
|
709
|
+
* URL-friendly identifier
|
|
710
|
+
*/
|
|
711
|
+
slug: string;
|
|
712
|
+
};
|
|
713
|
+
query?: {
|
|
714
|
+
limit?: number;
|
|
715
|
+
offset?: number;
|
|
716
|
+
includeDeprecated?: boolean;
|
|
717
|
+
};
|
|
718
|
+
url: "/api/registry/publishers/{slug}/skills";
|
|
719
|
+
};
|
|
720
|
+
export type RegistryPublisherSkillsErrors = {
|
|
721
|
+
/**
|
|
722
|
+
* Not found
|
|
723
|
+
*/
|
|
724
|
+
404: {
|
|
725
|
+
error: string;
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
export type RegistryPublisherSkillsError = RegistryPublisherSkillsErrors[keyof RegistryPublisherSkillsErrors];
|
|
729
|
+
export type RegistryPublisherSkillsResponses = {
|
|
730
|
+
/**
|
|
731
|
+
* Published skill list for the publisher
|
|
732
|
+
*/
|
|
733
|
+
200: Array<Skill>;
|
|
734
|
+
};
|
|
735
|
+
export type RegistryPublisherSkillsResponse = RegistryPublisherSkillsResponses[keyof RegistryPublisherSkillsResponses];
|
|
736
|
+
export type RegistryPublisherAgentsData = {
|
|
737
|
+
body?: never;
|
|
738
|
+
path: {
|
|
739
|
+
/**
|
|
740
|
+
* URL-friendly identifier
|
|
741
|
+
*/
|
|
742
|
+
slug: string;
|
|
743
|
+
};
|
|
744
|
+
query?: {
|
|
745
|
+
limit?: number;
|
|
746
|
+
offset?: number;
|
|
747
|
+
includeDeprecated?: boolean;
|
|
748
|
+
};
|
|
749
|
+
url: "/api/registry/publishers/{slug}/agents";
|
|
750
|
+
};
|
|
751
|
+
export type RegistryPublisherAgentsErrors = {
|
|
752
|
+
/**
|
|
753
|
+
* Not found
|
|
754
|
+
*/
|
|
755
|
+
404: {
|
|
756
|
+
error: string;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
export type RegistryPublisherAgentsError = RegistryPublisherAgentsErrors[keyof RegistryPublisherAgentsErrors];
|
|
760
|
+
export type RegistryPublisherAgentsResponses = {
|
|
761
|
+
/**
|
|
762
|
+
* Published agent list for the publisher
|
|
763
|
+
*/
|
|
764
|
+
200: Array<Agent>;
|
|
765
|
+
};
|
|
766
|
+
export type RegistryPublisherAgentsResponse = RegistryPublisherAgentsResponses[keyof RegistryPublisherAgentsResponses];
|
|
767
|
+
export type RegistryPublisherMcpsData = {
|
|
768
|
+
body?: never;
|
|
769
|
+
path: {
|
|
770
|
+
/**
|
|
771
|
+
* URL-friendly identifier
|
|
772
|
+
*/
|
|
773
|
+
slug: string;
|
|
774
|
+
};
|
|
775
|
+
query?: {
|
|
776
|
+
limit?: number;
|
|
777
|
+
offset?: number;
|
|
778
|
+
includeDeprecated?: boolean;
|
|
779
|
+
};
|
|
780
|
+
url: "/api/registry/publishers/{slug}/mcps";
|
|
781
|
+
};
|
|
782
|
+
export type RegistryPublisherMcpsErrors = {
|
|
783
|
+
/**
|
|
784
|
+
* Not found
|
|
785
|
+
*/
|
|
786
|
+
404: {
|
|
787
|
+
error: string;
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
export type RegistryPublisherMcpsError = RegistryPublisherMcpsErrors[keyof RegistryPublisherMcpsErrors];
|
|
791
|
+
export type RegistryPublisherMcpsResponses = {
|
|
792
|
+
/**
|
|
793
|
+
* Published MCP list for the publisher
|
|
794
|
+
*/
|
|
795
|
+
200: Array<Mcp>;
|
|
796
|
+
};
|
|
797
|
+
export type RegistryPublisherMcpsResponse = RegistryPublisherMcpsResponses[keyof RegistryPublisherMcpsResponses];
|
|
485
798
|
export type RegistryReplayListData = {
|
|
486
799
|
body?: never;
|
|
487
800
|
path?: never;
|
|
@@ -897,6 +1210,7 @@ export type SandboxSlackMessageData = {
|
|
|
897
1210
|
channelId: string;
|
|
898
1211
|
threadTs?: string;
|
|
899
1212
|
text: string;
|
|
1213
|
+
followUps?: Array<string>;
|
|
900
1214
|
sessionId?: string;
|
|
901
1215
|
};
|
|
902
1216
|
path?: never;
|
|
@@ -1604,6 +1918,7 @@ export type SandboxSlackReplyCurrentData = {
|
|
|
1604
1918
|
filename: string;
|
|
1605
1919
|
contentBase64: string;
|
|
1606
1920
|
}>;
|
|
1921
|
+
followUps?: Array<string>;
|
|
1607
1922
|
};
|
|
1608
1923
|
path?: never;
|
|
1609
1924
|
query?: never;
|
|
@@ -1653,6 +1968,7 @@ export type SandboxTelegramReplyCurrentData = {
|
|
|
1653
1968
|
filename: string;
|
|
1654
1969
|
contentBase64: string;
|
|
1655
1970
|
}>;
|
|
1971
|
+
followUps?: Array<string>;
|
|
1656
1972
|
};
|
|
1657
1973
|
path?: never;
|
|
1658
1974
|
query?: never;
|
|
@@ -1702,6 +2018,7 @@ export type SandboxEmailReplyCurrentData = {
|
|
|
1702
2018
|
filename: string;
|
|
1703
2019
|
contentBase64: string;
|
|
1704
2020
|
}>;
|
|
2021
|
+
followUps?: Array<string>;
|
|
1705
2022
|
};
|
|
1706
2023
|
path?: never;
|
|
1707
2024
|
query?: never;
|
|
@@ -1751,6 +2068,7 @@ export type SandboxLinearReplyCurrentData = {
|
|
|
1751
2068
|
filename: string;
|
|
1752
2069
|
contentBase64: string;
|
|
1753
2070
|
}>;
|
|
2071
|
+
followUps?: Array<string>;
|
|
1754
2072
|
};
|
|
1755
2073
|
path?: never;
|
|
1756
2074
|
query?: never;
|