@renai-labs/sdk 0.1.15 → 0.1.17
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 +58 -2
- package/dist/generated/@tanstack/react-query.gen.js +48 -1
- package/dist/generated/internal/types.gen.d.ts +156 -73
- package/dist/generated/sdk.gen.d.ts +12 -2
- package/dist/generated/sdk.gen.js +18 -1
- package/dist/generated/types.gen.d.ts +71 -23
- package/dist/generated/zod.gen.d.ts +93 -64
- package/dist/generated/zod.gen.js +35 -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, 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, 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;
|
|
@@ -2186,7 +2186,7 @@ export declare const sessionUrlQueryKey: (options: Options<SessionUrlData>) => [
|
|
|
2186
2186
|
/**
|
|
2187
2187
|
* Get the OpenCode URL for a session
|
|
2188
2188
|
*
|
|
2189
|
-
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected)
|
|
2189
|
+
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) web-UI deep link; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverUrl` is the bare server origin — pass it to `opencode attach <serverUrl> --session <id>` (its URL arg is the SDK base, so a deep link would break). `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
|
|
2190
2190
|
*/
|
|
2191
2191
|
export declare const sessionUrlOptions: (options: Options<SessionUrlData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SessionUrlResponse, SessionUrlError, import("../types.gen").SessionUrlResponse, [Pick<Options<SessionUrlData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2192
2192
|
_id: string;
|
|
@@ -2236,6 +2236,62 @@ export declare const sessionMessagesListOptions: (options: Options<SessionMessag
|
|
|
2236
2236
|
[dataTagErrorSymbol]: SessionMessagesListError;
|
|
2237
2237
|
};
|
|
2238
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
|
+
};
|
|
2239
2295
|
export declare const sessionAuthRequirementsQueryKey: (options: Options<SessionAuthRequirementsData>) => [Pick<Options<SessionAuthRequirementsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2240
2296
|
_id: string;
|
|
2241
2297
|
_infinite?: boolean;
|
|
@@ -2473,7 +2473,7 @@ export const sessionUrlQueryKey = (options) => createQueryKey("sessionUrl", opti
|
|
|
2473
2473
|
/**
|
|
2474
2474
|
* Get the OpenCode URL for a session
|
|
2475
2475
|
*
|
|
2476
|
-
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected)
|
|
2476
|
+
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) web-UI deep link; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverUrl` is the bare server origin — pass it to `opencode attach <serverUrl> --session <id>` (its URL arg is the SDK base, so a deep link would break). `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
|
|
2477
2477
|
*/
|
|
2478
2478
|
export const sessionUrlOptions = (options) => queryOptions({
|
|
2479
2479
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -2503,6 +2503,53 @@ export const sessionMessagesListOptions = (options) => queryOptions({
|
|
|
2503
2503
|
},
|
|
2504
2504
|
queryKey: sessionMessagesListQueryKey(options),
|
|
2505
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
|
+
});
|
|
2506
2553
|
export const sessionAuthRequirementsQueryKey = (options) => createQueryKey("sessionAuthRequirements", options);
|
|
2507
2554
|
/**
|
|
2508
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 = {
|
|
@@ -85,11 +72,6 @@ export type SandboxManifestProjectSkill = {
|
|
|
85
72
|
skillSlug: string;
|
|
86
73
|
versions: Array<SandboxManifestProjectSkillVersion>;
|
|
87
74
|
};
|
|
88
|
-
export type ProjectGitRepo = {
|
|
89
|
-
url: string;
|
|
90
|
-
baseBranch?: string;
|
|
91
|
-
mountPath?: string;
|
|
92
|
-
};
|
|
93
75
|
export type PermissionConfig = {
|
|
94
76
|
__originalKeys?: Array<string>;
|
|
95
77
|
read?: "allow" | "deny" | "ask" | {
|
|
@@ -157,7 +139,6 @@ export type SandboxManifestProject = {
|
|
|
157
139
|
slug: string;
|
|
158
140
|
name: string;
|
|
159
141
|
permission: PermissionConfig;
|
|
160
|
-
gitRepo: ProjectGitRepo | null;
|
|
161
142
|
path: string;
|
|
162
143
|
opencodeJson: {
|
|
163
144
|
[key: string]: unknown;
|
|
@@ -713,58 +694,13 @@ export type SandboxManifestGetResponses = {
|
|
|
713
694
|
200: SandboxManifest | SandboxManifestStaleResponse;
|
|
714
695
|
};
|
|
715
696
|
export type SandboxManifestGetResponse = SandboxManifestGetResponses[keyof SandboxManifestGetResponses];
|
|
716
|
-
export type
|
|
697
|
+
export type SandboxSessionsSeqsData = {
|
|
717
698
|
body?: never;
|
|
718
699
|
path?: never;
|
|
719
700
|
query?: never;
|
|
720
|
-
url: "/api/sandbox/sessions";
|
|
721
|
-
};
|
|
722
|
-
export type SandboxSessionsListErrors = {
|
|
723
|
-
/**
|
|
724
|
-
* Unauthorized
|
|
725
|
-
*/
|
|
726
|
-
401: {
|
|
727
|
-
error: string;
|
|
728
|
-
};
|
|
729
|
-
/**
|
|
730
|
-
* Forbidden
|
|
731
|
-
*/
|
|
732
|
-
403: {
|
|
733
|
-
error: string;
|
|
734
|
-
};
|
|
735
|
-
/**
|
|
736
|
-
* Not found
|
|
737
|
-
*/
|
|
738
|
-
404: {
|
|
739
|
-
error: string;
|
|
740
|
-
};
|
|
741
|
-
};
|
|
742
|
-
export type SandboxSessionsListError = SandboxSessionsListErrors[keyof SandboxSessionsListErrors];
|
|
743
|
-
export type SandboxSessionsListResponses = {
|
|
744
|
-
/**
|
|
745
|
-
* Session sync entries for the pod
|
|
746
|
-
*/
|
|
747
|
-
200: Array<OpencodeSessionSyncEntry>;
|
|
748
|
-
};
|
|
749
|
-
export type SandboxSessionsListResponse = SandboxSessionsListResponses[keyof SandboxSessionsListResponses];
|
|
750
|
-
export type SandboxSyncListData = {
|
|
751
|
-
body?: never;
|
|
752
|
-
path: {
|
|
753
|
-
id: string;
|
|
754
|
-
};
|
|
755
|
-
query: {
|
|
756
|
-
sessionId: string;
|
|
757
|
-
sinceSeq: number;
|
|
758
|
-
};
|
|
759
|
-
url: "/api/sandbox/{id}/sync/events";
|
|
701
|
+
url: "/api/sandbox/sessions/seqs";
|
|
760
702
|
};
|
|
761
|
-
export type
|
|
762
|
-
/**
|
|
763
|
-
* Bad request
|
|
764
|
-
*/
|
|
765
|
-
400: {
|
|
766
|
-
error: string;
|
|
767
|
-
};
|
|
703
|
+
export type SandboxSessionsSeqsErrors = {
|
|
768
704
|
/**
|
|
769
705
|
* Unauthorized
|
|
770
706
|
*/
|
|
@@ -784,14 +720,14 @@ export type SandboxSyncListErrors = {
|
|
|
784
720
|
error: string;
|
|
785
721
|
};
|
|
786
722
|
};
|
|
787
|
-
export type
|
|
788
|
-
export type
|
|
723
|
+
export type SandboxSessionsSeqsError = SandboxSessionsSeqsErrors[keyof SandboxSessionsSeqsErrors];
|
|
724
|
+
export type SandboxSessionsSeqsResponses = {
|
|
789
725
|
/**
|
|
790
|
-
*
|
|
726
|
+
* Per-session high-water seq fence for the pod
|
|
791
727
|
*/
|
|
792
|
-
200: Array<
|
|
728
|
+
200: Array<OpencodeSessionSyncSeq>;
|
|
793
729
|
};
|
|
794
|
-
export type
|
|
730
|
+
export type SandboxSessionsSeqsResponse = SandboxSessionsSeqsResponses[keyof SandboxSessionsSeqsResponses];
|
|
795
731
|
export type SandboxSyncAppendData = {
|
|
796
732
|
body?: {
|
|
797
733
|
sessionId: string;
|
|
@@ -1651,3 +1587,150 @@ export type SandboxTelegramDocumentResponses = {
|
|
|
1651
1587
|
};
|
|
1652
1588
|
};
|
|
1653
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];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client";
|
|
2
|
-
import type { AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingDailyUsageData, BillingDailyUsageErrors, BillingDailyUsageResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingUpdatePlanData, BillingUpdatePlanErrors, BillingUpdatePlanResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialArchiveData, CredentialArchiveErrors, CredentialArchiveResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialOauthStartData, CredentialOauthStartErrors, CredentialOauthStartResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EmailListData, EmailListErrors, EmailListResponses, EmailSetData, EmailSetErrors, EmailSetResponses, EmailUnsetData, EmailUnsetErrors, EmailUnsetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentCreateData, EnvironmentCreateErrors, EnvironmentCreateResponses, EnvironmentDeleteData, EnvironmentDeleteErrors, EnvironmentDeleteResponses, EnvironmentGetData, EnvironmentGetErrors, EnvironmentGetResponses, EnvironmentListData, EnvironmentListErrors, EnvironmentListResponses, EnvironmentUpdateData, EnvironmentUpdateErrors, EnvironmentUpdateResponses, FileStoreArchiveData, FileStoreArchiveErrors, FileStoreArchiveResponses, FileStoreCreateData, FileStoreCreateErrors, FileStoreCreateResponses, FileStoreFilesDeleteData, FileStoreFilesDeleteErrors, FileStoreFilesDeleteResponses, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadErrors, FileStoreFilesFinalizeUploadResponses, FileStoreFilesListData, FileStoreFilesListErrors, FileStoreFilesListResponses, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadErrors, FileStoreFilesPresignDownloadResponses, FileStoreFilesStartUploadData, FileStoreFilesStartUploadErrors, FileStoreFilesStartUploadResponses, FileStoreGetData, FileStoreGetErrors, FileStoreGetResponses, FileStoreListData, FileStoreListErrors, FileStoreListResponses, FileStoreUpdateData, FileStoreUpdateErrors, FileStoreUpdateResponses, GithubConnectData, GithubConnectErrors, GithubConnectResponses, GithubInstallData, GithubInstallErrors, GithubInstallResponses, GithubReposData, GithubReposErrors, GithubReposResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, GithubUninstallData, GithubUninstallErrors, GithubUninstallResponses, GoogleConfigDeleteData, GoogleConfigDeleteErrors, GoogleConfigDeleteResponses, GoogleConfigSaveData, GoogleConfigSaveErrors, GoogleConfigSaveResponses, GoogleConnectData, GoogleConnectErrors, GoogleConnectResponses, GoogleDisconnectData, GoogleDisconnectErrors, GoogleDisconnectResponses, GoogleStatusData, GoogleStatusErrors, GoogleStatusResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodGetData, PodGetErrors, PodGetResponses, PodListData, PodListErrors, PodListResponses, PodMemberAddData, PodMemberAddErrors, PodMemberAddResponses, PodMemberListData, PodMemberListErrors, PodMemberListResponses, PodMemberRemoveData, PodMemberRemoveErrors, PodMemberRemoveResponses, PodSandboxProvisionData, PodSandboxProvisionErrors, PodSandboxProvisionResponses, PodSandboxStatusData, PodSandboxStatusErrors, PodSandboxStatusResponses, PodSandboxTeardownData, PodSandboxTeardownErrors, PodSandboxTeardownResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectAgentUpdateData, ProjectAgentUpdateErrors, ProjectAgentUpdateResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, RegistryTopologyShareGetData, RegistryTopologyShareGetErrors, RegistryTopologyShareGetResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayDeprecateData, ReplayDeprecateErrors, ReplayDeprecateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayPublishData, ReplayPublishErrors, ReplayPublishResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, ReplayUndeprecateData, ReplayUndeprecateErrors, ReplayUndeprecateResponses, ReplayUpdateData, ReplayUpdateErrors, ReplayUpdateResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackChannelListData, SlackChannelListErrors, SlackChannelListResponses, SlackChannelSetData, SlackChannelSetErrors, SlackChannelSetResponses, SlackChannelUnsetData, SlackChannelUnsetErrors, SlackChannelUnsetResponses, SlackInstallData, SlackInstallErrors, SlackInstallResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, TelegramChatListData, TelegramChatListErrors, TelegramChatListResponses, TelegramChatSetData, TelegramChatSetErrors, TelegramChatSetResponses, TelegramChatUnsetData, TelegramChatUnsetErrors, TelegramChatUnsetResponses, TelegramClaimCodeData, TelegramClaimCodeErrors, TelegramClaimCodeResponses, TelegramLinkCodeData, TelegramLinkCodeErrors, TelegramLinkCodeResponses, TelegramMeData, TelegramMeErrors, TelegramMeResponses, TelegramUnlinkData, TelegramUnlinkErrors, TelegramUnlinkResponses, TopologyGetData, TopologyGetErrors, TopologyGetResponses, TopologyShareArchiveData, TopologyShareArchiveErrors, TopologyShareArchiveResponses, TopologyShareCreateData, TopologyShareCreateErrors, TopologyShareCreateResponses, TopologyShareListData, TopologyShareListErrors, TopologyShareListResponses, TriggerArchiveData, TriggerArchiveErrors, TriggerArchiveResponses, TriggerCreateData, TriggerCreateErrors, TriggerCreateResponses, TriggerGetData, TriggerGetErrors, TriggerGetResponses, TriggerListData, TriggerListErrors, TriggerListResponses, TriggerUpdateData, TriggerUpdateErrors, TriggerUpdateResponses, VaultArchiveData, VaultArchiveErrors, VaultArchiveResponses, VaultCreateData, VaultCreateErrors, VaultCreateResponses, VaultDeleteData, VaultDeleteErrors, VaultDeleteResponses, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, VaultUpdateData, VaultUpdateErrors, VaultUpdateResponses, WebhookTriggerArchiveData, WebhookTriggerArchiveErrors, WebhookTriggerArchiveResponses, WebhookTriggerCreateData, WebhookTriggerCreateErrors, WebhookTriggerCreateResponses, WebhookTriggerGetData, WebhookTriggerGetErrors, WebhookTriggerGetResponses, WebhookTriggerListData, WebhookTriggerListErrors, WebhookTriggerListResponses, WebhookTriggerUpdateData, WebhookTriggerUpdateErrors, WebhookTriggerUpdateResponses } from "./types.gen";
|
|
2
|
+
import type { AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingDailyUsageData, BillingDailyUsageErrors, BillingDailyUsageResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingUpdatePlanData, BillingUpdatePlanErrors, BillingUpdatePlanResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialArchiveData, CredentialArchiveErrors, CredentialArchiveResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialOauthStartData, CredentialOauthStartErrors, CredentialOauthStartResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EmailListData, EmailListErrors, EmailListResponses, EmailSetData, EmailSetErrors, EmailSetResponses, EmailUnsetData, EmailUnsetErrors, EmailUnsetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentCreateData, EnvironmentCreateErrors, EnvironmentCreateResponses, EnvironmentDeleteData, EnvironmentDeleteErrors, EnvironmentDeleteResponses, EnvironmentGetData, EnvironmentGetErrors, EnvironmentGetResponses, EnvironmentListData, EnvironmentListErrors, EnvironmentListResponses, EnvironmentUpdateData, EnvironmentUpdateErrors, EnvironmentUpdateResponses, FileStoreArchiveData, FileStoreArchiveErrors, FileStoreArchiveResponses, FileStoreCreateData, FileStoreCreateErrors, FileStoreCreateResponses, FileStoreFilesDeleteData, FileStoreFilesDeleteErrors, FileStoreFilesDeleteResponses, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadErrors, FileStoreFilesFinalizeUploadResponses, FileStoreFilesListData, FileStoreFilesListErrors, FileStoreFilesListResponses, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadErrors, FileStoreFilesPresignDownloadResponses, FileStoreFilesStartUploadData, FileStoreFilesStartUploadErrors, FileStoreFilesStartUploadResponses, FileStoreGetData, FileStoreGetErrors, FileStoreGetResponses, FileStoreListData, FileStoreListErrors, FileStoreListResponses, FileStoreUpdateData, FileStoreUpdateErrors, FileStoreUpdateResponses, GithubConnectData, GithubConnectErrors, GithubConnectResponses, GithubInstallData, GithubInstallErrors, GithubInstallResponses, GithubReposData, GithubReposErrors, GithubReposResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, GithubUninstallData, GithubUninstallErrors, GithubUninstallResponses, GoogleConfigDeleteData, GoogleConfigDeleteErrors, GoogleConfigDeleteResponses, GoogleConfigSaveData, GoogleConfigSaveErrors, GoogleConfigSaveResponses, GoogleConnectData, GoogleConnectErrors, GoogleConnectResponses, GoogleDisconnectData, GoogleDisconnectErrors, GoogleDisconnectResponses, GoogleStatusData, GoogleStatusErrors, GoogleStatusResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodGetData, PodGetErrors, PodGetResponses, PodListData, PodListErrors, PodListResponses, PodMemberAddData, PodMemberAddErrors, PodMemberAddResponses, PodMemberListData, PodMemberListErrors, PodMemberListResponses, PodMemberRemoveData, PodMemberRemoveErrors, PodMemberRemoveResponses, PodSandboxProvisionData, PodSandboxProvisionErrors, PodSandboxProvisionResponses, PodSandboxStatusData, PodSandboxStatusErrors, PodSandboxStatusResponses, PodSandboxTeardownData, PodSandboxTeardownErrors, PodSandboxTeardownResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectAgentUpdateData, ProjectAgentUpdateErrors, ProjectAgentUpdateResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, RegistryTopologyShareGetData, RegistryTopologyShareGetErrors, RegistryTopologyShareGetResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayDeprecateData, ReplayDeprecateErrors, ReplayDeprecateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayPublishData, ReplayPublishErrors, ReplayPublishResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, ReplayUndeprecateData, ReplayUndeprecateErrors, ReplayUndeprecateResponses, ReplayUpdateData, ReplayUpdateErrors, ReplayUpdateResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionTracesListData, SessionTracesListErrors, SessionTracesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackChannelListData, SlackChannelListErrors, SlackChannelListResponses, SlackChannelSetData, SlackChannelSetErrors, SlackChannelSetResponses, SlackChannelUnsetData, SlackChannelUnsetErrors, SlackChannelUnsetResponses, SlackInstallData, SlackInstallErrors, SlackInstallResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, TelegramChatListData, TelegramChatListErrors, TelegramChatListResponses, TelegramChatSetData, TelegramChatSetErrors, TelegramChatSetResponses, TelegramChatUnsetData, TelegramChatUnsetErrors, TelegramChatUnsetResponses, TelegramClaimCodeData, TelegramClaimCodeErrors, TelegramClaimCodeResponses, TelegramLinkCodeData, TelegramLinkCodeErrors, TelegramLinkCodeResponses, TelegramMeData, TelegramMeErrors, TelegramMeResponses, TelegramUnlinkData, TelegramUnlinkErrors, TelegramUnlinkResponses, TopologyGetData, TopologyGetErrors, TopologyGetResponses, TopologyShareArchiveData, TopologyShareArchiveErrors, TopologyShareArchiveResponses, TopologyShareCreateData, TopologyShareCreateErrors, TopologyShareCreateResponses, TopologyShareListData, TopologyShareListErrors, TopologyShareListResponses, TriggerArchiveData, TriggerArchiveErrors, TriggerArchiveResponses, TriggerCreateData, TriggerCreateErrors, TriggerCreateResponses, TriggerGetData, TriggerGetErrors, TriggerGetResponses, TriggerListData, TriggerListErrors, TriggerListResponses, TriggerUpdateData, TriggerUpdateErrors, TriggerUpdateResponses, VaultArchiveData, VaultArchiveErrors, VaultArchiveResponses, VaultCreateData, VaultCreateErrors, VaultCreateResponses, VaultDeleteData, VaultDeleteErrors, VaultDeleteResponses, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, VaultUpdateData, VaultUpdateErrors, VaultUpdateResponses, WebhookTriggerArchiveData, WebhookTriggerArchiveErrors, WebhookTriggerArchiveResponses, WebhookTriggerCreateData, WebhookTriggerCreateErrors, WebhookTriggerCreateResponses, WebhookTriggerGetData, WebhookTriggerGetErrors, WebhookTriggerGetResponses, WebhookTriggerListData, WebhookTriggerListErrors, WebhookTriggerListResponses, WebhookTriggerUpdateData, WebhookTriggerUpdateErrors, WebhookTriggerUpdateResponses } from "./types.gen";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -625,6 +625,14 @@ export declare class Messages extends HeyApiClient {
|
|
|
625
625
|
*/
|
|
626
626
|
list<ThrowOnError extends boolean = false>(options: Options<SessionMessagesListData, ThrowOnError>): import("./client").RequestResult<SessionMessagesListResponses, SessionMessagesListErrors, ThrowOnError, "fields">;
|
|
627
627
|
}
|
|
628
|
+
export declare class Traces extends HeyApiClient {
|
|
629
|
+
/**
|
|
630
|
+
* Read a session's execution traces (Langfuse)
|
|
631
|
+
*
|
|
632
|
+
* 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.
|
|
633
|
+
*/
|
|
634
|
+
list<ThrowOnError extends boolean = false>(options: Options<SessionTracesListData, ThrowOnError>): import("./client").RequestResult<SessionTracesListResponses, SessionTracesListErrors, ThrowOnError, "fields">;
|
|
635
|
+
}
|
|
628
636
|
export declare class Files3 extends HeyApiClient {
|
|
629
637
|
/**
|
|
630
638
|
* Presign an upload URL for a file destined for the session's pod volume
|
|
@@ -655,7 +663,7 @@ export declare class Session extends HeyApiClient {
|
|
|
655
663
|
/**
|
|
656
664
|
* Get the OpenCode URL for a session
|
|
657
665
|
*
|
|
658
|
-
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected)
|
|
666
|
+
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) web-UI deep link; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverUrl` is the bare server origin — pass it to `opencode attach <serverUrl> --session <id>` (its URL arg is the SDK base, so a deep link would break). `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
|
|
659
667
|
*/
|
|
660
668
|
url<ThrowOnError extends boolean = false>(options: Options<SessionUrlData, ThrowOnError>): import("./client").RequestResult<SessionUrlResponses, SessionUrlErrors, ThrowOnError, "fields">;
|
|
661
669
|
/**
|
|
@@ -668,6 +676,8 @@ export declare class Session extends HeyApiClient {
|
|
|
668
676
|
archive<ThrowOnError extends boolean = false>(options: Options<SessionArchiveData, ThrowOnError>): import("./client").RequestResult<SessionArchiveResponses, SessionArchiveErrors, ThrowOnError, "fields">;
|
|
669
677
|
private _messages?;
|
|
670
678
|
get messages(): Messages;
|
|
679
|
+
private _traces?;
|
|
680
|
+
get traces(): Traces;
|
|
671
681
|
private _files?;
|
|
672
682
|
get files(): Files3;
|
|
673
683
|
}
|
|
@@ -1415,6 +1415,19 @@ export class Messages extends HeyApiClient {
|
|
|
1415
1415
|
});
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
|
+
export class Traces extends HeyApiClient {
|
|
1419
|
+
/**
|
|
1420
|
+
* Read a session's execution traces (Langfuse)
|
|
1421
|
+
*
|
|
1422
|
+
* 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.
|
|
1423
|
+
*/
|
|
1424
|
+
list(options) {
|
|
1425
|
+
return (options.client ?? this.client).get({
|
|
1426
|
+
url: "/api/sessions/{id}/traces",
|
|
1427
|
+
...options,
|
|
1428
|
+
});
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1418
1431
|
export class Files3 extends HeyApiClient {
|
|
1419
1432
|
/**
|
|
1420
1433
|
* Presign an upload URL for a file destined for the session's pod volume
|
|
@@ -1491,7 +1504,7 @@ export class Session extends HeyApiClient {
|
|
|
1491
1504
|
/**
|
|
1492
1505
|
* Get the OpenCode URL for a session
|
|
1493
1506
|
*
|
|
1494
|
-
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected)
|
|
1507
|
+
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) web-UI deep link; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverUrl` is the bare server origin — pass it to `opencode attach <serverUrl> --session <id>` (its URL arg is the SDK base, so a deep link would break). `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
|
|
1495
1508
|
*/
|
|
1496
1509
|
url(options) {
|
|
1497
1510
|
return (options.client ?? this.client).get({
|
|
@@ -1518,6 +1531,10 @@ export class Session extends HeyApiClient {
|
|
|
1518
1531
|
get messages() {
|
|
1519
1532
|
return (this._messages ??= new Messages({ client: this.client }));
|
|
1520
1533
|
}
|
|
1534
|
+
_traces;
|
|
1535
|
+
get traces() {
|
|
1536
|
+
return (this._traces ??= new Traces({ client: this.client }));
|
|
1537
|
+
}
|
|
1521
1538
|
_files;
|
|
1522
1539
|
get files() {
|
|
1523
1540
|
return (this._files ??= new Files3({ client: this.client }));
|