@renai-labs/sdk 0.1.14 → 0.1.16
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/README.md +3 -3
- package/dist/generated/@tanstack/react-query.gen.d.ts +63 -1
- package/dist/generated/@tanstack/react-query.gen.js +65 -0
- package/dist/generated/internal/types.gen.d.ts +185 -67
- package/dist/generated/sdk.gen.d.ts +17 -1
- package/dist/generated/sdk.gen.js +28 -0
- package/dist/generated/types.gen.d.ts +120 -23
- package/dist/generated/zod.gen.d.ts +114 -64
- package/dist/generated/zod.gen.js +47 -23
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ const client = createRenClient({
|
|
|
21
21
|
const { data: skills } = await client.skill.list()
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Calls are grouped by resource
|
|
24
|
+
Calls are grouped by resource: `client.skill`, `client.agent`, `client.pod`, `client.session`, `client.mcp`, `client.vault`, `client.credential`, `client.fileStore`, `client.memoryStore`, `client.environment`, `client.replay`, `client.registry`, `client.pat`. Each exposes the operations available on that resource.
|
|
25
25
|
|
|
26
26
|
Every method returns `{ data, error, request, response }`. `data` is typed to the success payload; `error` is the typed error body for non-2xx responses.
|
|
27
27
|
|
|
@@ -58,7 +58,7 @@ import type { Skill, SkillCreateData } from "@renai-labs/sdk/types"
|
|
|
58
58
|
|
|
59
59
|
## Errors
|
|
60
60
|
|
|
61
|
-
Non-2xx responses don't throw by default
|
|
61
|
+
Non-2xx responses don't throw by default. Check `error` or opt into throwing:
|
|
62
62
|
|
|
63
63
|
```ts
|
|
64
64
|
const { data, error } = await client.skill.get({ path: { id } })
|
|
@@ -74,7 +74,7 @@ const { data } = await client.skill.get({
|
|
|
74
74
|
|
|
75
75
|
## Configuration
|
|
76
76
|
|
|
77
|
-
`createRenClient` accepts any `@hey-api/client-fetch` `Config` option
|
|
77
|
+
`createRenClient` accepts any `@hey-api/client-fetch` `Config` option: `baseUrl`, `headers`, `fetch`, `credentials`, interceptors, etc.
|
|
78
78
|
|
|
79
79
|
```ts
|
|
80
80
|
createRenClient({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
|
|
2
2
|
import { type Options } from "../sdk.gen";
|
|
3
|
-
import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EmailListData, EmailListError, EmailSetData, EmailSetError, EmailSetResponse, EmailUnsetData, EmailUnsetError, EmailUnsetResponse, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, GoogleConfigDeleteData, GoogleConfigDeleteError, GoogleConfigDeleteResponse, GoogleConfigSaveData, GoogleConfigSaveError, GoogleConfigSaveResponse, GoogleConnectData, GoogleConnectError, GoogleConnectResponse, GoogleDisconnectData, GoogleDisconnectError, GoogleDisconnectResponse, GoogleStatusData, GoogleStatusError, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectAgentUpdateData, ProjectAgentUpdateError, ProjectAgentUpdateResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, RegistryTopologyShareGetData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSearchData, SkillSearchError, SkillSearchResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, TelegramChatListData, TelegramChatListError, TelegramChatSetData, TelegramChatSetError, TelegramChatSetResponse, TelegramChatUnsetData, TelegramChatUnsetError, TelegramChatUnsetResponse, TelegramClaimCodeData, TelegramClaimCodeError, TelegramClaimCodeResponse, TelegramLinkCodeData, TelegramLinkCodeError, TelegramLinkCodeResponse, TelegramMeData, TelegramMeError, TelegramUnlinkData, TelegramUnlinkError, TelegramUnlinkResponse, TopologyGetData, TopologyGetError, TopologyShareArchiveData, TopologyShareArchiveError, TopologyShareArchiveResponse, TopologyShareCreateData, TopologyShareCreateError, TopologyShareCreateResponse, TopologyShareListData, TopologyShareListError, TriggerArchiveData, TriggerArchiveError, TriggerArchiveResponse, TriggerCreateData, TriggerCreateError, TriggerCreateResponse, TriggerGetData, TriggerGetError, TriggerListData, TriggerListError, TriggerUpdateData, TriggerUpdateError, TriggerUpdateResponse, VaultArchiveData, VaultArchiveError, VaultArchiveResponse, VaultCreateData, VaultCreateError, VaultCreateResponse, VaultDeleteData, VaultDeleteError, VaultDeleteResponse, VaultGetData, VaultGetError, VaultListData, VaultListError, VaultUpdateData, VaultUpdateError, VaultUpdateResponse, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
|
|
3
|
+
import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EmailListData, EmailListError, EmailSetData, EmailSetError, EmailSetResponse, EmailUnsetData, EmailUnsetError, EmailUnsetResponse, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, GoogleConfigDeleteData, GoogleConfigDeleteError, GoogleConfigDeleteResponse, GoogleConfigSaveData, GoogleConfigSaveError, GoogleConfigSaveResponse, GoogleConnectData, GoogleConnectError, GoogleConnectResponse, GoogleDisconnectData, GoogleDisconnectError, GoogleDisconnectResponse, GoogleStatusData, GoogleStatusError, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodSandboxTeardownData, PodSandboxTeardownError, PodSandboxTeardownResponse2, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectAgentUpdateData, ProjectAgentUpdateError, ProjectAgentUpdateResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, RegistryTopologyShareGetData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionTracesListData, SessionTracesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSearchData, SkillSearchError, SkillSearchResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, TelegramChatListData, TelegramChatListError, TelegramChatSetData, TelegramChatSetError, TelegramChatSetResponse, TelegramChatUnsetData, TelegramChatUnsetError, TelegramChatUnsetResponse, TelegramClaimCodeData, TelegramClaimCodeError, TelegramClaimCodeResponse, TelegramLinkCodeData, TelegramLinkCodeError, TelegramLinkCodeResponse, TelegramMeData, TelegramMeError, TelegramUnlinkData, TelegramUnlinkError, TelegramUnlinkResponse, TopologyGetData, TopologyGetError, TopologyShareArchiveData, TopologyShareArchiveError, TopologyShareArchiveResponse, TopologyShareCreateData, TopologyShareCreateError, TopologyShareCreateResponse, TopologyShareListData, TopologyShareListError, TriggerArchiveData, TriggerArchiveError, TriggerArchiveResponse, TriggerCreateData, TriggerCreateError, TriggerCreateResponse, TriggerGetData, TriggerGetError, TriggerListData, TriggerListError, TriggerUpdateData, TriggerUpdateError, TriggerUpdateResponse, VaultArchiveData, VaultArchiveError, VaultArchiveResponse, VaultCreateData, VaultCreateError, VaultCreateResponse, VaultDeleteData, VaultDeleteError, VaultDeleteResponse, VaultGetData, VaultGetError, VaultListData, VaultListError, VaultUpdateData, VaultUpdateError, VaultUpdateResponse, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
6
6
|
_id: string;
|
|
@@ -1678,6 +1678,12 @@ export declare const podVaultRemoveMutation: (options?: Partial<Options<PodVault
|
|
|
1678
1678
|
* Starts a durable workflow that resumes the paused sandbox or provisions a fresh one. Idempotent: concurrent calls join the running workflow. Returns immediately; poll GET /status until status is 'ready'.
|
|
1679
1679
|
*/
|
|
1680
1680
|
export declare const podSandboxProvisionMutation: (options?: Partial<Options<PodSandboxProvisionData>>) => UseMutationOptions<PodSandboxProvisionResponse2, PodSandboxProvisionError, Options<PodSandboxProvisionData>>;
|
|
1681
|
+
/**
|
|
1682
|
+
* Destroy the pod's current sandbox
|
|
1683
|
+
*
|
|
1684
|
+
* Tears down the pod's current sandbox: aborts all running sessions and discards files not persisted to a store. Does not provision a replacement — the next session start (or POST /provision) brings up a fresh one.
|
|
1685
|
+
*/
|
|
1686
|
+
export declare const podSandboxTeardownMutation: (options?: Partial<Options<PodSandboxTeardownData>>) => UseMutationOptions<PodSandboxTeardownResponse2, PodSandboxTeardownError, Options<PodSandboxTeardownData>>;
|
|
1681
1687
|
export declare const podSandboxStatusQueryKey: (options: Options<PodSandboxStatusData>) => [Pick<Options<PodSandboxStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1682
1688
|
_id: string;
|
|
1683
1689
|
_infinite?: boolean;
|
|
@@ -2230,6 +2236,62 @@ export declare const sessionMessagesListOptions: (options: Options<SessionMessag
|
|
|
2230
2236
|
[dataTagErrorSymbol]: SessionMessagesListError;
|
|
2231
2237
|
};
|
|
2232
2238
|
};
|
|
2239
|
+
export declare const sessionTracesListQueryKey: (options: Options<SessionTracesListData>) => [Pick<Options<SessionTracesListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2240
|
+
_id: string;
|
|
2241
|
+
_infinite?: boolean;
|
|
2242
|
+
tags?: ReadonlyArray<string>;
|
|
2243
|
+
}];
|
|
2244
|
+
/**
|
|
2245
|
+
* Read a session's execution traces (Langfuse)
|
|
2246
|
+
*
|
|
2247
|
+
* Returns the Langfuse traces for a session the caller can access (model calls, tool calls, errors, latency, cost). Compact by default; pass fields=io,observations to expand. Returns configured=false when observability is not set up.
|
|
2248
|
+
*/
|
|
2249
|
+
export declare const sessionTracesListOptions: (options: Options<SessionTracesListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SessionTracesResponse, SessionTracesListError, import("../types.gen").SessionTracesResponse, [Pick<Options<SessionTracesListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2250
|
+
_id: string;
|
|
2251
|
+
_infinite?: boolean;
|
|
2252
|
+
tags?: ReadonlyArray<string>;
|
|
2253
|
+
}]>, "queryFn"> & {
|
|
2254
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SessionTracesResponse, [Pick<Options<SessionTracesListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2255
|
+
_id: string;
|
|
2256
|
+
_infinite?: boolean;
|
|
2257
|
+
tags?: ReadonlyArray<string>;
|
|
2258
|
+
}], never> | undefined;
|
|
2259
|
+
} & {
|
|
2260
|
+
queryKey: [Pick<Options<SessionTracesListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2261
|
+
_id: string;
|
|
2262
|
+
_infinite?: boolean;
|
|
2263
|
+
tags?: ReadonlyArray<string>;
|
|
2264
|
+
}] & {
|
|
2265
|
+
[dataTagSymbol]: import("../types.gen").SessionTracesResponse;
|
|
2266
|
+
[dataTagErrorSymbol]: SessionTracesListError;
|
|
2267
|
+
};
|
|
2268
|
+
};
|
|
2269
|
+
export declare const sessionTracesListInfiniteQueryKey: (options: Options<SessionTracesListData>) => QueryKey<Options<SessionTracesListData>>;
|
|
2270
|
+
/**
|
|
2271
|
+
* Read a session's execution traces (Langfuse)
|
|
2272
|
+
*
|
|
2273
|
+
* Returns the Langfuse traces for a session the caller can access (model calls, tool calls, errors, latency, cost). Compact by default; pass fields=io,observations to expand. Returns configured=false when observability is not set up.
|
|
2274
|
+
*/
|
|
2275
|
+
export declare const sessionTracesListInfiniteOptions: (options: Options<SessionTracesListData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<import("../types.gen").SessionTracesResponse, SessionTracesListError, InfiniteData<import("../types.gen").SessionTracesResponse, unknown>, QueryKey<Options<SessionTracesListData>>, number | Pick<Pick<Options<SessionTracesListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2276
|
+
_id: string;
|
|
2277
|
+
_infinite?: boolean;
|
|
2278
|
+
tags?: ReadonlyArray<string>;
|
|
2279
|
+
}, "headers" | "query" | "body" | "path">> & {
|
|
2280
|
+
initialData: InfiniteData<import("../types.gen").SessionTracesResponse, number | Pick<Pick<Options<SessionTracesListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2281
|
+
_id: string;
|
|
2282
|
+
_infinite?: boolean;
|
|
2283
|
+
tags?: ReadonlyArray<string>;
|
|
2284
|
+
}, "headers" | "query" | "body" | "path">> | (() => InfiniteData<import("../types.gen").SessionTracesResponse, number | Pick<Pick<Options<SessionTracesListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2285
|
+
_id: string;
|
|
2286
|
+
_infinite?: boolean;
|
|
2287
|
+
tags?: ReadonlyArray<string>;
|
|
2288
|
+
}, "headers" | "query" | "body" | "path">>) | undefined;
|
|
2289
|
+
} & {
|
|
2290
|
+
queryKey: QueryKey<Options<SessionTracesListData>> & {
|
|
2291
|
+
[dataTagSymbol]: InfiniteData<import("../types.gen").SessionTracesResponse, unknown>;
|
|
2292
|
+
[dataTagErrorSymbol]: SessionTracesListError;
|
|
2293
|
+
};
|
|
2294
|
+
};
|
|
2233
2295
|
export declare const sessionAuthRequirementsQueryKey: (options: Options<SessionAuthRequirementsData>) => [Pick<Options<SessionAuthRequirementsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2234
2296
|
_id: string;
|
|
2235
2297
|
_infinite?: boolean;
|
|
@@ -1840,6 +1840,24 @@ export const podSandboxProvisionMutation = (options) => {
|
|
|
1840
1840
|
};
|
|
1841
1841
|
return mutationOptions;
|
|
1842
1842
|
};
|
|
1843
|
+
/**
|
|
1844
|
+
* Destroy the pod's current sandbox
|
|
1845
|
+
*
|
|
1846
|
+
* Tears down the pod's current sandbox: aborts all running sessions and discards files not persisted to a store. Does not provision a replacement — the next session start (or POST /provision) brings up a fresh one.
|
|
1847
|
+
*/
|
|
1848
|
+
export const podSandboxTeardownMutation = (options) => {
|
|
1849
|
+
const mutationOptions = {
|
|
1850
|
+
mutationFn: async (fnOptions) => {
|
|
1851
|
+
const { data } = await RenClient.__registry.get().pod.sandbox.teardown({
|
|
1852
|
+
...options,
|
|
1853
|
+
...fnOptions,
|
|
1854
|
+
throwOnError: true,
|
|
1855
|
+
});
|
|
1856
|
+
return data;
|
|
1857
|
+
},
|
|
1858
|
+
};
|
|
1859
|
+
return mutationOptions;
|
|
1860
|
+
};
|
|
1843
1861
|
export const podSandboxStatusQueryKey = (options) => createQueryKey("podSandboxStatus", options);
|
|
1844
1862
|
/**
|
|
1845
1863
|
* Read the pod's sandbox provisioning status
|
|
@@ -2485,6 +2503,53 @@ export const sessionMessagesListOptions = (options) => queryOptions({
|
|
|
2485
2503
|
},
|
|
2486
2504
|
queryKey: sessionMessagesListQueryKey(options),
|
|
2487
2505
|
});
|
|
2506
|
+
export const sessionTracesListQueryKey = (options) => createQueryKey("sessionTracesList", options);
|
|
2507
|
+
/**
|
|
2508
|
+
* Read a session's execution traces (Langfuse)
|
|
2509
|
+
*
|
|
2510
|
+
* Returns the Langfuse traces for a session the caller can access (model calls, tool calls, errors, latency, cost). Compact by default; pass fields=io,observations to expand. Returns configured=false when observability is not set up.
|
|
2511
|
+
*/
|
|
2512
|
+
export const sessionTracesListOptions = (options) => queryOptions({
|
|
2513
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
2514
|
+
const { data } = await RenClient.__registry.get().session.traces.list({
|
|
2515
|
+
...options,
|
|
2516
|
+
...queryKey[0],
|
|
2517
|
+
signal,
|
|
2518
|
+
throwOnError: true,
|
|
2519
|
+
});
|
|
2520
|
+
return data;
|
|
2521
|
+
},
|
|
2522
|
+
queryKey: sessionTracesListQueryKey(options),
|
|
2523
|
+
});
|
|
2524
|
+
export const sessionTracesListInfiniteQueryKey = (options) => createQueryKey("sessionTracesList", options, true);
|
|
2525
|
+
/**
|
|
2526
|
+
* Read a session's execution traces (Langfuse)
|
|
2527
|
+
*
|
|
2528
|
+
* Returns the Langfuse traces for a session the caller can access (model calls, tool calls, errors, latency, cost). Compact by default; pass fields=io,observations to expand. Returns configured=false when observability is not set up.
|
|
2529
|
+
*/
|
|
2530
|
+
export const sessionTracesListInfiniteOptions = (options) => infiniteQueryOptions(
|
|
2531
|
+
// @ts-ignore
|
|
2532
|
+
{
|
|
2533
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
2534
|
+
// @ts-ignore
|
|
2535
|
+
const page = typeof pageParam === "object"
|
|
2536
|
+
? pageParam
|
|
2537
|
+
: {
|
|
2538
|
+
query: {
|
|
2539
|
+
page: pageParam,
|
|
2540
|
+
},
|
|
2541
|
+
};
|
|
2542
|
+
const params = createInfiniteParams(queryKey, page);
|
|
2543
|
+
const { data } = await RenClient.__registry.get().session.traces.list({
|
|
2544
|
+
...options,
|
|
2545
|
+
...params,
|
|
2546
|
+
signal,
|
|
2547
|
+
throwOnError: true,
|
|
2548
|
+
});
|
|
2549
|
+
return data;
|
|
2550
|
+
},
|
|
2551
|
+
queryKey: sessionTracesListInfiniteQueryKey(options),
|
|
2552
|
+
});
|
|
2488
2553
|
export const sessionAuthRequirementsQueryKey = (options) => createQueryKey("sessionAuthRequirements", options);
|
|
2489
2554
|
/**
|
|
2490
2555
|
* Compute MCP and skill credential requirements for a session
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type
|
|
5
|
-
id: string;
|
|
6
|
-
sessionId: string;
|
|
7
|
-
seq: number;
|
|
8
|
-
type: string;
|
|
9
|
-
data: {
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
receivedAt: string;
|
|
13
|
-
};
|
|
14
|
-
export type OpencodeSessionSyncEntry = {
|
|
4
|
+
export type OpencodeSessionSyncSeq = {
|
|
15
5
|
sessionId: string;
|
|
16
|
-
workspaceId: string | null;
|
|
17
|
-
projectSlug: string;
|
|
18
|
-
directory: string;
|
|
19
6
|
latestSeq: number;
|
|
20
7
|
};
|
|
21
8
|
export type SandboxManifestStaleResponse = {
|
|
@@ -31,6 +18,7 @@ export type SandboxManifest = {
|
|
|
31
18
|
environment: {
|
|
32
19
|
[key: string]: string;
|
|
33
20
|
};
|
|
21
|
+
runtimeSetup: SandboxManifestRuntimeSetup;
|
|
34
22
|
members: Array<SandboxManifestMember>;
|
|
35
23
|
podVolume: SandboxMountedVolume;
|
|
36
24
|
updatedAt: string;
|
|
@@ -40,6 +28,13 @@ export type SandboxManifestMember = {
|
|
|
40
28
|
memberId: string;
|
|
41
29
|
role: "owner" | "member";
|
|
42
30
|
};
|
|
31
|
+
export type SandboxManifestRuntimeSetupStep = {
|
|
32
|
+
manager: "apt" | "npm" | "pip" | "cargo" | "gem" | "go";
|
|
33
|
+
argv: Array<string>;
|
|
34
|
+
};
|
|
35
|
+
export type SandboxManifestRuntimeSetup = {
|
|
36
|
+
steps: Array<SandboxManifestRuntimeSetupStep>;
|
|
37
|
+
};
|
|
43
38
|
export type SandboxVolumeCreds = {
|
|
44
39
|
accessKeyId: string;
|
|
45
40
|
secretAccessKey: string;
|
|
@@ -77,11 +72,6 @@ export type SandboxManifestProjectSkill = {
|
|
|
77
72
|
skillSlug: string;
|
|
78
73
|
versions: Array<SandboxManifestProjectSkillVersion>;
|
|
79
74
|
};
|
|
80
|
-
export type ProjectGitRepo = {
|
|
81
|
-
url: string;
|
|
82
|
-
baseBranch?: string;
|
|
83
|
-
mountPath?: string;
|
|
84
|
-
};
|
|
85
75
|
export type PermissionConfig = {
|
|
86
76
|
__originalKeys?: Array<string>;
|
|
87
77
|
read?: "allow" | "deny" | "ask" | {
|
|
@@ -149,7 +139,6 @@ export type SandboxManifestProject = {
|
|
|
149
139
|
slug: string;
|
|
150
140
|
name: string;
|
|
151
141
|
permission: PermissionConfig;
|
|
152
|
-
gitRepo: ProjectGitRepo | null;
|
|
153
142
|
path: string;
|
|
154
143
|
opencodeJson: {
|
|
155
144
|
[key: string]: unknown;
|
|
@@ -642,15 +631,13 @@ export type SandboxInvalidateCompleteResponses = {
|
|
|
642
631
|
};
|
|
643
632
|
};
|
|
644
633
|
export type SandboxInvalidateCompleteResponse = SandboxInvalidateCompleteResponses[keyof SandboxInvalidateCompleteResponses];
|
|
645
|
-
export type
|
|
634
|
+
export type SandboxOtelTracesData = {
|
|
646
635
|
body?: never;
|
|
647
636
|
path?: never;
|
|
648
|
-
query?:
|
|
649
|
-
|
|
650
|
-
};
|
|
651
|
-
url: "/api/sandbox/manifest";
|
|
637
|
+
query?: never;
|
|
638
|
+
url: "/api/sandbox/otel/v1/traces";
|
|
652
639
|
};
|
|
653
|
-
export type
|
|
640
|
+
export type SandboxOtelTracesErrors = {
|
|
654
641
|
/**
|
|
655
642
|
* Unauthorized
|
|
656
643
|
*/
|
|
@@ -663,28 +650,23 @@ export type SandboxManifestGetErrors = {
|
|
|
663
650
|
403: {
|
|
664
651
|
error: string;
|
|
665
652
|
};
|
|
666
|
-
/**
|
|
667
|
-
* Not found
|
|
668
|
-
*/
|
|
669
|
-
404: {
|
|
670
|
-
error: string;
|
|
671
|
-
};
|
|
672
653
|
};
|
|
673
|
-
export type
|
|
674
|
-
export type
|
|
654
|
+
export type SandboxOtelTracesError = SandboxOtelTracesErrors[keyof SandboxOtelTracesErrors];
|
|
655
|
+
export type SandboxOtelTracesResponses = {
|
|
675
656
|
/**
|
|
676
|
-
*
|
|
657
|
+
* Spans accepted and forwarded (or dropped when tracing is not configured)
|
|
677
658
|
*/
|
|
678
|
-
|
|
659
|
+
202: unknown;
|
|
679
660
|
};
|
|
680
|
-
export type
|
|
681
|
-
export type SandboxSessionsListData = {
|
|
661
|
+
export type SandboxManifestGetData = {
|
|
682
662
|
body?: never;
|
|
683
663
|
path?: never;
|
|
684
|
-
query?:
|
|
685
|
-
|
|
664
|
+
query?: {
|
|
665
|
+
since?: string;
|
|
666
|
+
};
|
|
667
|
+
url: "/api/sandbox/manifest";
|
|
686
668
|
};
|
|
687
|
-
export type
|
|
669
|
+
export type SandboxManifestGetErrors = {
|
|
688
670
|
/**
|
|
689
671
|
* Unauthorized
|
|
690
672
|
*/
|
|
@@ -704,32 +686,21 @@ export type SandboxSessionsListErrors = {
|
|
|
704
686
|
error: string;
|
|
705
687
|
};
|
|
706
688
|
};
|
|
707
|
-
export type
|
|
708
|
-
export type
|
|
689
|
+
export type SandboxManifestGetError = SandboxManifestGetErrors[keyof SandboxManifestGetErrors];
|
|
690
|
+
export type SandboxManifestGetResponses = {
|
|
709
691
|
/**
|
|
710
|
-
*
|
|
692
|
+
* Manifest snapshot if stale, else { stale: false }
|
|
711
693
|
*/
|
|
712
|
-
200:
|
|
694
|
+
200: SandboxManifest | SandboxManifestStaleResponse;
|
|
713
695
|
};
|
|
714
|
-
export type
|
|
715
|
-
export type
|
|
696
|
+
export type SandboxManifestGetResponse = SandboxManifestGetResponses[keyof SandboxManifestGetResponses];
|
|
697
|
+
export type SandboxSessionsSeqsData = {
|
|
716
698
|
body?: never;
|
|
717
|
-
path
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
query: {
|
|
721
|
-
sessionId: string;
|
|
722
|
-
sinceSeq: number;
|
|
723
|
-
};
|
|
724
|
-
url: "/api/sandbox/{id}/sync/events";
|
|
699
|
+
path?: never;
|
|
700
|
+
query?: never;
|
|
701
|
+
url: "/api/sandbox/sessions/seqs";
|
|
725
702
|
};
|
|
726
|
-
export type
|
|
727
|
-
/**
|
|
728
|
-
* Bad request
|
|
729
|
-
*/
|
|
730
|
-
400: {
|
|
731
|
-
error: string;
|
|
732
|
-
};
|
|
703
|
+
export type SandboxSessionsSeqsErrors = {
|
|
733
704
|
/**
|
|
734
705
|
* Unauthorized
|
|
735
706
|
*/
|
|
@@ -749,14 +720,14 @@ export type SandboxSyncListErrors = {
|
|
|
749
720
|
error: string;
|
|
750
721
|
};
|
|
751
722
|
};
|
|
752
|
-
export type
|
|
753
|
-
export type
|
|
723
|
+
export type SandboxSessionsSeqsError = SandboxSessionsSeqsErrors[keyof SandboxSessionsSeqsErrors];
|
|
724
|
+
export type SandboxSessionsSeqsResponses = {
|
|
754
725
|
/**
|
|
755
|
-
*
|
|
726
|
+
* Per-session high-water seq fence for the pod
|
|
756
727
|
*/
|
|
757
|
-
200: Array<
|
|
728
|
+
200: Array<OpencodeSessionSyncSeq>;
|
|
758
729
|
};
|
|
759
|
-
export type
|
|
730
|
+
export type SandboxSessionsSeqsResponse = SandboxSessionsSeqsResponses[keyof SandboxSessionsSeqsResponses];
|
|
760
731
|
export type SandboxSyncAppendData = {
|
|
761
732
|
body?: {
|
|
762
733
|
sessionId: string;
|
|
@@ -1616,3 +1587,150 @@ export type SandboxTelegramDocumentResponses = {
|
|
|
1616
1587
|
};
|
|
1617
1588
|
};
|
|
1618
1589
|
export type SandboxTelegramDocumentResponse = SandboxTelegramDocumentResponses[keyof SandboxTelegramDocumentResponses];
|
|
1590
|
+
export type SandboxSlackReplyCurrentData = {
|
|
1591
|
+
body?: {
|
|
1592
|
+
sessionId: string;
|
|
1593
|
+
text: string;
|
|
1594
|
+
attachments?: Array<{
|
|
1595
|
+
filename: string;
|
|
1596
|
+
contentBase64: string;
|
|
1597
|
+
}>;
|
|
1598
|
+
};
|
|
1599
|
+
path?: never;
|
|
1600
|
+
query?: never;
|
|
1601
|
+
url: "/api/sandbox/slack/reply-current";
|
|
1602
|
+
};
|
|
1603
|
+
export type SandboxSlackReplyCurrentErrors = {
|
|
1604
|
+
/**
|
|
1605
|
+
* Bad request
|
|
1606
|
+
*/
|
|
1607
|
+
400: {
|
|
1608
|
+
error: string;
|
|
1609
|
+
};
|
|
1610
|
+
/**
|
|
1611
|
+
* Unauthorized
|
|
1612
|
+
*/
|
|
1613
|
+
401: {
|
|
1614
|
+
error: string;
|
|
1615
|
+
};
|
|
1616
|
+
/**
|
|
1617
|
+
* Forbidden
|
|
1618
|
+
*/
|
|
1619
|
+
403: {
|
|
1620
|
+
error: string;
|
|
1621
|
+
};
|
|
1622
|
+
/**
|
|
1623
|
+
* Not found
|
|
1624
|
+
*/
|
|
1625
|
+
404: {
|
|
1626
|
+
error: string;
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
export type SandboxSlackReplyCurrentError = SandboxSlackReplyCurrentErrors[keyof SandboxSlackReplyCurrentErrors];
|
|
1630
|
+
export type SandboxSlackReplyCurrentResponses = {
|
|
1631
|
+
/**
|
|
1632
|
+
* OK
|
|
1633
|
+
*/
|
|
1634
|
+
200: {
|
|
1635
|
+
ok: true;
|
|
1636
|
+
};
|
|
1637
|
+
};
|
|
1638
|
+
export type SandboxSlackReplyCurrentResponse = SandboxSlackReplyCurrentResponses[keyof SandboxSlackReplyCurrentResponses];
|
|
1639
|
+
export type SandboxTelegramReplyCurrentData = {
|
|
1640
|
+
body?: {
|
|
1641
|
+
sessionId: string;
|
|
1642
|
+
text: string;
|
|
1643
|
+
attachments?: Array<{
|
|
1644
|
+
filename: string;
|
|
1645
|
+
contentBase64: string;
|
|
1646
|
+
}>;
|
|
1647
|
+
};
|
|
1648
|
+
path?: never;
|
|
1649
|
+
query?: never;
|
|
1650
|
+
url: "/api/sandbox/telegram/reply-current";
|
|
1651
|
+
};
|
|
1652
|
+
export type SandboxTelegramReplyCurrentErrors = {
|
|
1653
|
+
/**
|
|
1654
|
+
* Bad request
|
|
1655
|
+
*/
|
|
1656
|
+
400: {
|
|
1657
|
+
error: string;
|
|
1658
|
+
};
|
|
1659
|
+
/**
|
|
1660
|
+
* Unauthorized
|
|
1661
|
+
*/
|
|
1662
|
+
401: {
|
|
1663
|
+
error: string;
|
|
1664
|
+
};
|
|
1665
|
+
/**
|
|
1666
|
+
* Forbidden
|
|
1667
|
+
*/
|
|
1668
|
+
403: {
|
|
1669
|
+
error: string;
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* Not found
|
|
1673
|
+
*/
|
|
1674
|
+
404: {
|
|
1675
|
+
error: string;
|
|
1676
|
+
};
|
|
1677
|
+
};
|
|
1678
|
+
export type SandboxTelegramReplyCurrentError = SandboxTelegramReplyCurrentErrors[keyof SandboxTelegramReplyCurrentErrors];
|
|
1679
|
+
export type SandboxTelegramReplyCurrentResponses = {
|
|
1680
|
+
/**
|
|
1681
|
+
* OK
|
|
1682
|
+
*/
|
|
1683
|
+
200: {
|
|
1684
|
+
ok: true;
|
|
1685
|
+
};
|
|
1686
|
+
};
|
|
1687
|
+
export type SandboxTelegramReplyCurrentResponse = SandboxTelegramReplyCurrentResponses[keyof SandboxTelegramReplyCurrentResponses];
|
|
1688
|
+
export type SandboxEmailReplyCurrentData = {
|
|
1689
|
+
body?: {
|
|
1690
|
+
sessionId: string;
|
|
1691
|
+
text: string;
|
|
1692
|
+
attachments?: Array<{
|
|
1693
|
+
filename: string;
|
|
1694
|
+
contentBase64: string;
|
|
1695
|
+
}>;
|
|
1696
|
+
};
|
|
1697
|
+
path?: never;
|
|
1698
|
+
query?: never;
|
|
1699
|
+
url: "/api/sandbox/email/reply-current";
|
|
1700
|
+
};
|
|
1701
|
+
export type SandboxEmailReplyCurrentErrors = {
|
|
1702
|
+
/**
|
|
1703
|
+
* Bad request
|
|
1704
|
+
*/
|
|
1705
|
+
400: {
|
|
1706
|
+
error: string;
|
|
1707
|
+
};
|
|
1708
|
+
/**
|
|
1709
|
+
* Unauthorized
|
|
1710
|
+
*/
|
|
1711
|
+
401: {
|
|
1712
|
+
error: string;
|
|
1713
|
+
};
|
|
1714
|
+
/**
|
|
1715
|
+
* Forbidden
|
|
1716
|
+
*/
|
|
1717
|
+
403: {
|
|
1718
|
+
error: string;
|
|
1719
|
+
};
|
|
1720
|
+
/**
|
|
1721
|
+
* Not found
|
|
1722
|
+
*/
|
|
1723
|
+
404: {
|
|
1724
|
+
error: string;
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
export type SandboxEmailReplyCurrentError = SandboxEmailReplyCurrentErrors[keyof SandboxEmailReplyCurrentErrors];
|
|
1728
|
+
export type SandboxEmailReplyCurrentResponses = {
|
|
1729
|
+
/**
|
|
1730
|
+
* OK
|
|
1731
|
+
*/
|
|
1732
|
+
200: {
|
|
1733
|
+
ok: true;
|
|
1734
|
+
};
|
|
1735
|
+
};
|
|
1736
|
+
export type SandboxEmailReplyCurrentResponse = SandboxEmailReplyCurrentResponses[keyof SandboxEmailReplyCurrentResponses];
|