@astralbeam/sdk 0.24.0 → 0.25.1

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 CHANGED
@@ -34,7 +34,7 @@ Without npm or a bundler, import the same entry from jsDelivr in a module script
34
34
  ```html
35
35
  <div id="sidebar" style="height:100dvh"></div>
36
36
  <script type="module">
37
- import { mountAstralBeamChat } from "https://cdn.jsdelivr.net/npm/@astralbeam/sdk@0.24.0/dist/client.js"
37
+ import { mountAstralBeamChat } from "https://cdn.jsdelivr.net/npm/@astralbeam/sdk@0.25.1/dist/client.js"
38
38
 
39
39
  mountAstralBeamChat(document.getElementById("sidebar"), {})
40
40
  </script>
@@ -154,6 +154,24 @@ const UploadChatFileBodyType = {
154
154
  };
155
155
  const UploadChatFileBodySourceType = { data: "data" };
156
156
  const GetThreadAttachmentDelivery = { direct: "direct" };
157
+ const getSearchDocumentationUrl = (params) => {
158
+ const normalizedParams = new URLSearchParams();
159
+ Object.entries(params || {}).forEach(([key, value]) => {
160
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
161
+ });
162
+ const stringifiedParams = normalizedParams.toString();
163
+ return stringifiedParams.length > 0 ? `/api/v1/docs/search?${stringifiedParams}` : `/api/v1/docs/search`;
164
+ };
165
+ /**
166
+ * Search the published guides and API reference. Returns up to five matching pages with relative URLs and the best matching section. Accepts the same credentials as the resource APIs.
167
+ * @summary Search documentation
168
+ */
169
+ const searchDocumentation = (params, options) => {
170
+ return astralBeamApiFetch(getSearchDocumentationUrl(params), {
171
+ ...options,
172
+ method: "GET"
173
+ });
174
+ };
157
175
  const getListTenantsUrl = (params) => {
158
176
  const normalizedParams = new URLSearchParams();
159
177
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -845,4 +863,4 @@ const personalMcpCompleteAuthorization = (id, personalMcpCompleteAuthorizationBo
845
863
  });
846
864
  };
847
865
  //#endregion
848
- export { getPersonalMcpGetCatalogUrl as $, getDeleteChatThreadUrl as A, removeChatParticipant as At, getListChatMessagesUrl as B, isAstralBeamApiError as Bt, getChatConfig as C, personalMcpBindBrowser as Ct, getCreateTenantUrl as D, personalMcpGetCatalog as Dt, getCreateChatThreadUrl as E, personalMcpDisconnectConnection as Et, getGetOrganizationUrl as F, updateChatThread as Ft, getListThreadsUrl as G, getListChatThreadsUrl as H, DEFAULT_API_URL as Ht, getGetTenantUrl as I, updateTenant as It, getPersonalMcpAuthorizeConnectionUrl as J, getListUsersForTenantUrl as K, getGetTenantUserUrl as L, updateTenantUser as Lt, getGetChatThreadUrl as M, runChat as Mt, getGetChatUsageUrl as N, searchChatTenantUsers as Nt, getCreateTenantUserUrl as O, personalMcpSetHeaders as Ot, getGetCurrentUserUrl as P, setChatParticipant as Pt, getPersonalMcpDisconnectConnectionUrl as Q, getGetTenantUserUsageUrl as R, uploadChatFile as Rt, deleteChatThread as S, personalMcpAuthorizeConnection as St, getChatUsage as T, personalMcpCreateConnection as Tt, getListTenantsUrl as U, DEFAULT_CHAT_AUTH_TOKEN_URL as Ut, getListChatParticipantsUrl as V, resolveApiUrl as Vt, getListThreadMessagesUrl as W, DEFAULT_COLOR_SCHEME as Wt, getPersonalMcpCompleteAuthorizationUrl as X, getPersonalMcpBindBrowserUrl as Y, getPersonalMcpCreateConnectionUrl as Z, UploadChatFileBodySourceType as _, listChatThreads as _t, ChatMessageEncodedRole as a, getSearchChatTenantUsersUrl as at, createTenant as b, listThreads as bt, ChatThreadEncodedRole as c, getTenantUser as ct, GetThreadAttachmentDelivery as d, getUpdateChatThreadUrl as dt, getPersonalMcpSetHeadersUrl as et, ListUsersForTenantFilterAdmin as f, getUpdateTenantUrl as ft, SetChatParticipantInputEncodedRole as g, listChatParticipants as gt, ResolveChatToolResultInputEncodedResultsItemOutcome as h, listChatMessages as ht, ChatHistoryPageEncodedThreadRole as i, getRunChatUrl as it, getGetChatConfigUrl as j, resolveChatToolResult as jt, getCurrentUser as k, personalMcpTestConnection as kt, ChatUsageUsageLimitsItemMetric as l, getTenantUserUsage as lt, McpServerEncodedAuthKind as m, getUploadChatFileUrl as mt, ChatHistoryPageEncodedMessagesItemState as n, getRemoveChatParticipantUrl as nt, ChatMessageEncodedState as o, getSetChatParticipantUrl as ot, McpConnectionEncodedAuthState as p, getUpdateTenantUserUrl as pt, getOrganization as q, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation as r, getResolveChatToolResultUrl as rt, ChatParticipantEncodedRole as s, getTenant as st, ChatHistoryPageEncodedMessagesItemRole as t, getPersonalMcpTestConnectionUrl as tt, ChatUsageUsageLimitsItemScope as u, getThreadAttachment as ut, UploadChatFileBodyType as v, listTenants as vt, getChatThread as w, personalMcpCompleteAuthorization as wt, createTenantUser as x, listUsersForTenant as xt, createChatThread as y, listThreadMessages as yt, getGetThreadAttachmentUrl as z, astralBeamChatFetch as zt };
866
+ export { getPersonalMcpGetCatalogUrl as $, getDeleteChatThreadUrl as A, personalMcpTestConnection as At, getListChatMessagesUrl as B, uploadChatFile as Bt, getChatConfig as C, personalMcpAuthorizeConnection as Ct, getCreateTenantUrl as D, personalMcpDisconnectConnection as Dt, getCreateChatThreadUrl as E, personalMcpCreateConnection as Et, getGetOrganizationUrl as F, searchDocumentation as Ft, getListThreadsUrl as G, DEFAULT_CHAT_AUTH_TOKEN_URL as Gt, getListChatThreadsUrl as H, isAstralBeamApiError as Ht, getGetTenantUrl as I, setChatParticipant as It, getPersonalMcpAuthorizeConnectionUrl as J, getListUsersForTenantUrl as K, DEFAULT_COLOR_SCHEME as Kt, getGetTenantUserUrl as L, updateChatThread as Lt, getGetChatThreadUrl as M, resolveChatToolResult as Mt, getGetChatUsageUrl as N, runChat as Nt, getCreateTenantUserUrl as O, personalMcpGetCatalog as Ot, getGetCurrentUserUrl as P, searchChatTenantUsers as Pt, getPersonalMcpDisconnectConnectionUrl as Q, getGetTenantUserUsageUrl as R, updateTenant as Rt, deleteChatThread as S, listUsersForTenant as St, getChatUsage as T, personalMcpCompleteAuthorization as Tt, getListTenantsUrl as U, resolveApiUrl as Ut, getListChatParticipantsUrl as V, astralBeamChatFetch as Vt, getListThreadMessagesUrl as W, DEFAULT_API_URL as Wt, getPersonalMcpCompleteAuthorizationUrl as X, getPersonalMcpBindBrowserUrl as Y, getPersonalMcpCreateConnectionUrl as Z, UploadChatFileBodySourceType as _, listChatParticipants as _t, ChatMessageEncodedRole as a, getSearchChatTenantUsersUrl as at, createTenant as b, listThreadMessages as bt, ChatThreadEncodedRole as c, getTenant as ct, GetThreadAttachmentDelivery as d, getThreadAttachment as dt, getPersonalMcpSetHeadersUrl as et, ListUsersForTenantFilterAdmin as f, getUpdateChatThreadUrl as ft, SetChatParticipantInputEncodedRole as g, listChatMessages as gt, ResolveChatToolResultInputEncodedResultsItemOutcome as h, getUploadChatFileUrl as ht, ChatHistoryPageEncodedThreadRole as i, getRunChatUrl as it, getGetChatConfigUrl as j, removeChatParticipant as jt, getCurrentUser as k, personalMcpSetHeaders as kt, ChatUsageUsageLimitsItemMetric as l, getTenantUser as lt, McpServerEncodedAuthKind as m, getUpdateTenantUserUrl as mt, ChatHistoryPageEncodedMessagesItemState as n, getRemoveChatParticipantUrl as nt, ChatMessageEncodedState as o, getSearchDocumentationUrl as ot, McpConnectionEncodedAuthState as p, getUpdateTenantUrl as pt, getOrganization as q, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation as r, getResolveChatToolResultUrl as rt, ChatParticipantEncodedRole as s, getSetChatParticipantUrl as st, ChatHistoryPageEncodedMessagesItemRole as t, getPersonalMcpTestConnectionUrl as tt, ChatUsageUsageLimitsItemScope as u, getTenantUserUsage as ut, UploadChatFileBodyType as v, listChatThreads as vt, getChatThread as w, personalMcpBindBrowser as wt, createTenantUser as x, listThreads as xt, createChatThread as y, listTenants as yt, getGetThreadAttachmentUrl as z, updateTenantUser as zt };
package/dist/api.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ListChatParticipantsParams, $n as personalMcpDisconnectConnection, $t as getCreateChatThreadUrl, A as ChatToolResultReceiptEncoded, An as getResolveChatToolResultUrl, At as TenantUserPage, B as CreateTenantUserInputMetadata, Bn as getUpdateTenantUserUrl, Bt as UploadChatFileBody, C as ChatRunInputForwardedProps, Cn as getPersonalMcpCompleteAuthorizationUrl, Ct as ResolveChatToolResultInputEncodedResultsItemOutcome, D as ChatThreadEncoded, Dn as getPersonalMcpSetHeadersUrl, Dt as TenantPage, E as ChatTenantUserPage, En as getPersonalMcpGetCatalogUrl, Et as SetChatParticipantInputEncodedRole, F as ChatUsageUsageLimitsItemScope, Fn as getTenantUser, Ft as UpdateChatThreadInputEncoded, G as DirectoryThreadHistoryPage, Gn as listTenants, Gt as UploadedChatFile, H as DeleteChatThreadParams, Hn as listChatMessages, Ht as UploadChatFileBodySource, I as CreateChatThreadInputEncoded, In as getTenantUserUsage, It as UpdateTenantInput, J as GetChatUsageParams, Jn as listUsersForTenant, Jt as createTenantUser, K as DirectoryThreadPage, Kn as listThreadMessages, Kt as createChatThread, L as CreateTenantInput, Ln as getThreadAttachment, Lt as UpdateTenantInputMetadata, M as ChatUsage, Mn as getSearchChatTenantUsersUrl, Mt as TenantUserRecordEncodedMetadata, N as ChatUsageUsageLimitsItem, Nn as getSetChatParticipantUrl, Nt as TenantUserUsage, O as ChatThreadEncodedRole, On as getPersonalMcpTestConnectionUrl, Ot as TenantRecordEncoded, P as ChatUsageUsageLimitsItemMetric, Pn as getTenant, Pt as TenantUserUsageItemsItem, Q as ListChatMessagesParams, Qn as personalMcpCreateConnection, Qt as getChatUsage, R as CreateTenantInputMetadata, Rn as getUpdateChatThreadUrl, Rt as UpdateTenantUserInput, S as ChatRunInput, Sn as getPersonalMcpBindBrowserUrl, St as ResolveChatToolResultInputEncodedResultsItem, T as ChatTenantUserEncoded, Tn as getPersonalMcpDisconnectConnectionUrl, Tt as SetChatParticipantInputEncoded, U as DirectoryThreadEncoded, Un as listChatParticipants, Ut as UploadChatFileBodySourceType, V as CurrentUser, Vn as getUploadChatFileUrl, Vt as UploadChatFileBodyMetadata, W as DirectoryThreadEncodedParticipantsItem, Wn as listChatThreads, Wt as UploadChatFileBodyType, X as GetThreadAttachmentDelivery, Xn as personalMcpBindBrowser, Xt as getChatConfig, Y as GetTenantUserUsageParams, Yn as personalMcpAuthorizeConnection, Yt as deleteChatThread, Z as GetThreadAttachmentParams, Zn as personalMcpCompleteAuthorization, Zt as getChatThread, _ as ChatMessageEncodedRole, _n as getListThreadMessagesUrl, _r as isAstralBeamApiError, _t as PersonalMcpSetHeadersBody, a as ChatConfigurationCapabilities, an as getGetChatThreadUrl, ar as runChat, at as ListUsersForTenantParams, b as ChatParticipantEncodedRole, bn as getOrganization, bt as RemoveChatParticipantParams, c as ChatHistoryPageEncodedMessagesItemPartsItem, cn as getGetOrganizationUrl, cr as updateChatThread, ct as McpServerEncoded, d as ChatHistoryPageEncodedPendingInteractionsItem, dn as getGetTenantUserUsageUrl, dr as uploadChatFile, dt as PersonalMcpAuthorizeConnection200, en as getCreateTenantUrl, er as personalMcpGetCatalog, et as ListChatThreadsParams, f as ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, fn as getGetThreadAttachmentUrl, fr as ApiKeyOptions, ft as PersonalMcpAuthorizeConnection200Attempt, g as ChatMessageEncodedPartsItem, gn as getListTenantsUrl, gr as JwtOptions, gt as PersonalMcpGetCatalog200, h as ChatMessageEncoded, hn as getListChatThreadsUrl, hr as AstralBeamApiError, ht as PersonalMcpCreateConnectionBody, i as ChatConfiguration, in as getGetChatConfigUrl, ir as resolveChatToolResult, it as ListUsersForTenantFilterAdmin, j as ChatToolResultReceiptEncodedUsageLimit, jn as getRunChatUrl, jt as TenantUserRecordEncoded, k as ChatThreadPage, kn as getRemoveChatParticipantUrl, kt as TenantRecordEncodedMetadata, l as ChatHistoryPageEncodedMessagesItemRole, ln as getGetTenantUrl, lr as updateTenant, lt as McpServerEncodedAuthKind, m as ChatHistoryPageEncodedThreadRole, mn as getListChatParticipantsUrl, mr as ApiRequestOptions, mt as PersonalMcpCompleteAuthorizationBody, n as AstralBeamApiErrorIssuesItem, nn as getCurrentUser, nr as personalMcpTestConnection, nt as ListThreadMessagesParams, o as ChatHistoryPageEncoded, on as getGetChatUsageUrl, or as searchChatTenantUsers, ot as McpConnectionEncoded, p as ChatHistoryPageEncodedThread, pn as getListChatMessagesUrl, pr as ApiOptions, pt as PersonalMcpBindBrowserBody, q as GetChatConfigParams, qn as listThreads, qt as createTenant, r as AstralBeamApiErrorUsageLimit, rn as getDeleteChatThreadUrl, rr as removeChatParticipant, rt as ListThreadsParams, s as ChatHistoryPageEncodedMessagesItem, sn as getGetCurrentUserUrl, sr as setChatParticipant, st as McpConnectionEncodedAuthState, t as AstralBeamApiError$1, tn as getCreateTenantUserUrl, tr as personalMcpSetHeaders, tt as ListTenantsParams, u as ChatHistoryPageEncodedMessagesItemState, un as getGetTenantUserUrl, ur as updateTenantUser, ut as Organization, v as ChatMessageEncodedState, vn as getListThreadsUrl, vt as PersonalMcpSetHeadersBodyHeaders, w as ChatSubmissionReceiptEncoded, wn as getPersonalMcpCreateConnectionUrl, wt as SearchChatTenantUsersParams, x as ChatParticipantPage, xn as getPersonalMcpAuthorizeConnectionUrl, xt as ResolveChatToolResultInputEncoded, y as ChatParticipantEncoded, yn as getListUsersForTenantUrl, yt as PersonalMcpTestConnection200, z as CreateTenantUserInput, zn as getUpdateTenantUrl, zt as UpdateTenantUserInputMetadata } from "./index-DF5gqYlY.js";
2
- export { type ApiKeyOptions, type ApiOptions, type ApiRequestOptions, AstralBeamApiError, type AstralBeamApiError$1 as AstralBeamApiErrorBody, AstralBeamApiErrorIssuesItem, AstralBeamApiErrorUsageLimit, ChatConfiguration, ChatConfigurationCapabilities, ChatHistoryPageEncoded, ChatHistoryPageEncodedMessagesItem, ChatHistoryPageEncodedMessagesItemPartsItem, ChatHistoryPageEncodedMessagesItemRole, ChatHistoryPageEncodedMessagesItemState, ChatHistoryPageEncodedPendingInteractionsItem, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, ChatHistoryPageEncodedThread, ChatHistoryPageEncodedThreadRole, ChatMessageEncoded, ChatMessageEncodedPartsItem, ChatMessageEncodedRole, ChatMessageEncodedState, ChatParticipantEncoded, ChatParticipantEncodedRole, ChatParticipantPage, ChatRunInput, ChatRunInputForwardedProps, ChatSubmissionReceiptEncoded, ChatTenantUserEncoded, ChatTenantUserPage, ChatThreadEncoded, ChatThreadEncodedRole, ChatThreadPage, ChatToolResultReceiptEncoded, ChatToolResultReceiptEncodedUsageLimit, ChatUsage, ChatUsageUsageLimitsItem, ChatUsageUsageLimitsItemMetric, ChatUsageUsageLimitsItemScope, CreateChatThreadInputEncoded, CreateTenantInput, CreateTenantInputMetadata, CreateTenantUserInput, CreateTenantUserInputMetadata, CurrentUser, DeleteChatThreadParams, DirectoryThreadEncoded, DirectoryThreadEncodedParticipantsItem, DirectoryThreadHistoryPage, DirectoryThreadPage, GetChatConfigParams, GetChatUsageParams, GetTenantUserUsageParams, GetThreadAttachmentDelivery, GetThreadAttachmentParams, type JwtOptions, ListChatMessagesParams, ListChatParticipantsParams, ListChatThreadsParams, ListTenantsParams, ListThreadMessagesParams, ListThreadsParams, ListUsersForTenantFilterAdmin, ListUsersForTenantParams, McpConnectionEncoded, McpConnectionEncodedAuthState, McpServerEncoded, McpServerEncodedAuthKind, Organization, PersonalMcpAuthorizeConnection200, PersonalMcpAuthorizeConnection200Attempt, PersonalMcpBindBrowserBody, PersonalMcpCompleteAuthorizationBody, PersonalMcpCreateConnectionBody, PersonalMcpGetCatalog200, PersonalMcpSetHeadersBody, PersonalMcpSetHeadersBodyHeaders, PersonalMcpTestConnection200, RemoveChatParticipantParams, ResolveChatToolResultInputEncoded, ResolveChatToolResultInputEncodedResultsItem, ResolveChatToolResultInputEncodedResultsItemOutcome, SearchChatTenantUsersParams, SetChatParticipantInputEncoded, SetChatParticipantInputEncodedRole, TenantPage, TenantRecordEncoded, TenantRecordEncodedMetadata, TenantUserPage, TenantUserRecordEncoded, TenantUserRecordEncodedMetadata, TenantUserUsage, TenantUserUsageItemsItem, UpdateChatThreadInputEncoded, UpdateTenantInput, UpdateTenantInputMetadata, UpdateTenantUserInput, UpdateTenantUserInputMetadata, UploadChatFileBody, UploadChatFileBodyMetadata, UploadChatFileBodySource, UploadChatFileBodySourceType, UploadChatFileBodyType, UploadedChatFile, createChatThread, createTenant, createTenantUser, deleteChatThread, getChatConfig, getChatThread, getChatUsage, getCreateChatThreadUrl, getCreateTenantUrl, getCreateTenantUserUrl, getCurrentUser, getDeleteChatThreadUrl, getGetChatConfigUrl, getGetChatThreadUrl, getGetChatUsageUrl, getGetCurrentUserUrl, getGetOrganizationUrl, getGetTenantUrl, getGetTenantUserUrl, getGetTenantUserUsageUrl, getGetThreadAttachmentUrl, getListChatMessagesUrl, getListChatParticipantsUrl, getListChatThreadsUrl, getListTenantsUrl, getListThreadMessagesUrl, getListThreadsUrl, getListUsersForTenantUrl, getOrganization, getPersonalMcpAuthorizeConnectionUrl, getPersonalMcpBindBrowserUrl, getPersonalMcpCompleteAuthorizationUrl, getPersonalMcpCreateConnectionUrl, getPersonalMcpDisconnectConnectionUrl, getPersonalMcpGetCatalogUrl, getPersonalMcpSetHeadersUrl, getPersonalMcpTestConnectionUrl, getRemoveChatParticipantUrl, getResolveChatToolResultUrl, getRunChatUrl, getSearchChatTenantUsersUrl, getSetChatParticipantUrl, getTenant, getTenantUser, getTenantUserUsage, getThreadAttachment, getUpdateChatThreadUrl, getUpdateTenantUrl, getUpdateTenantUserUrl, getUploadChatFileUrl, isAstralBeamApiError, listChatMessages, listChatParticipants, listChatThreads, listTenants, listThreadMessages, listThreads, listUsersForTenant, personalMcpAuthorizeConnection, personalMcpBindBrowser, personalMcpCompleteAuthorization, personalMcpCreateConnection, personalMcpDisconnectConnection, personalMcpGetCatalog, personalMcpSetHeaders, personalMcpTestConnection, removeChatParticipant, resolveChatToolResult, runChat, searchChatTenantUsers, setChatParticipant, updateChatThread, updateTenant, updateTenantUser, uploadChatFile };
1
+ import { $ as GetThreadAttachmentParams, $n as personalMcpAuthorizeConnection, $t as getChatConfig, A as ChatToolResultReceiptEncoded, An as getPersonalMcpSetHeadersUrl, At as TenantPage, B as CreateTenantUserInputMetadata, Bn as getTenantUserUsage, Bt as UpdateTenantInputMetadata, C as ChatRunInputForwardedProps, Cn as getOrganization, Ct as ResolveChatToolResultInputEncoded, D as ChatThreadEncoded, Dn as getPersonalMcpCreateConnectionUrl, Dt as SearchDocumentationParams, E as ChatTenantUserPage, En as getPersonalMcpCompleteAuthorizationUrl, Et as SearchChatTenantUsersParams, F as ChatUsageUsageLimitsItemScope, Fn as getSearchChatTenantUsersUrl, Ft as TenantUserRecordEncodedMetadata, G as DirectoryThreadHistoryPage, Gn as getUploadChatFileUrl, Gt as UploadChatFileBodySource, H as DeleteChatThreadParams, Hn as getUpdateChatThreadUrl, Ht as UpdateTenantUserInputMetadata, I as CreateChatThreadInputEncoded, In as getSearchDocumentationUrl, It as TenantUserUsage, J as DocumentationSearchResultsItem, Jn as listChatThreads, Jt as UploadedChatFile, K as DirectoryThreadPage, Kn as listChatMessages, Kt as UploadChatFileBodySourceType, L as CreateTenantInput, Ln as getSetChatParticipantUrl, Lt as TenantUserUsageItemsItem, M as ChatUsage, Mn as getRemoveChatParticipantUrl, Mt as TenantRecordEncodedMetadata, N as ChatUsageUsageLimitsItem, Nn as getResolveChatToolResultUrl, Nt as TenantUserPage, O as ChatThreadEncodedRole, On as getPersonalMcpDisconnectConnectionUrl, Ot as SetChatParticipantInputEncoded, P as ChatUsageUsageLimitsItemMetric, Pn as getRunChatUrl, Pt as TenantUserRecordEncoded, Q as GetThreadAttachmentDelivery, Qn as listUsersForTenant, Qt as deleteChatThread, R as CreateTenantInputMetadata, Rn as getTenant, Rt as UpdateChatThreadInputEncoded, S as ChatRunInput, Sn as getListUsersForTenantUrl, Sr as isAstralBeamApiError, St as RemoveChatParticipantParams, T as ChatTenantUserEncoded, Tn as getPersonalMcpBindBrowserUrl, Tt as ResolveChatToolResultInputEncodedResultsItemOutcome, U as DirectoryThreadEncoded, Un as getUpdateTenantUrl, Ut as UploadChatFileBody, V as CurrentUser, Vn as getThreadAttachment, Vt as UpdateTenantUserInput, W as DirectoryThreadEncodedParticipantsItem, Wn as getUpdateTenantUserUrl, Wt as UploadChatFileBodyMetadata, X as GetChatUsageParams, Xn as listThreadMessages, Xt as createTenant, Y as GetChatConfigParams, Yn as listTenants, Yt as createChatThread, Z as GetTenantUserUsageParams, Zn as listThreads, Zt as createTenantUser, _ as ChatMessageEncodedRole, _n as getListChatParticipantsUrl, _r as ApiKeyOptions, _t as PersonalMcpCreateConnectionBody, a as ChatConfigurationCapabilities, an as getCurrentUser, ar as personalMcpSetHeaders, at as ListThreadsParams, b as ChatParticipantEncodedRole, bn as getListThreadMessagesUrl, br as AstralBeamApiError, bt as PersonalMcpSetHeadersBodyHeaders, c as ChatHistoryPageEncodedMessagesItemPartsItem, cn as getGetChatThreadUrl, cr as resolveChatToolResult, ct as McpConnectionEncoded, d as ChatHistoryPageEncodedPendingInteractionsItem, dn as getGetOrganizationUrl, dr as searchDocumentation, dt as McpServerEncodedAuthKind, en as getChatThread, er as personalMcpBindBrowser, et as ListChatMessagesParams, f as ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, fn as getGetTenantUrl, fr as setChatParticipant, ft as Organization, g as ChatMessageEncodedPartsItem, gn as getListChatMessagesUrl, gr as uploadChatFile, gt as PersonalMcpCompleteAuthorizationBody, h as ChatMessageEncoded, hn as getGetThreadAttachmentUrl, hr as updateTenantUser, ht as PersonalMcpBindBrowserBody, i as ChatConfiguration, in as getCreateTenantUserUrl, ir as personalMcpGetCatalog, it as ListThreadMessagesParams, j as ChatToolResultReceiptEncodedUsageLimit, jn as getPersonalMcpTestConnectionUrl, jt as TenantRecordEncoded, k as ChatThreadPage, kn as getPersonalMcpGetCatalogUrl, kt as SetChatParticipantInputEncodedRole, l as ChatHistoryPageEncodedMessagesItemRole, ln as getGetChatUsageUrl, lr as runChat, lt as McpConnectionEncodedAuthState, m as ChatHistoryPageEncodedThreadRole, mn as getGetTenantUserUsageUrl, mr as updateTenant, mt as PersonalMcpAuthorizeConnection200Attempt, n as AstralBeamApiErrorIssuesItem, nn as getCreateChatThreadUrl, nr as personalMcpCreateConnection, nt as ListChatThreadsParams, o as ChatHistoryPageEncoded, on as getDeleteChatThreadUrl, or as personalMcpTestConnection, ot as ListUsersForTenantFilterAdmin, p as ChatHistoryPageEncodedThread, pn as getGetTenantUserUrl, pr as updateChatThread, pt as PersonalMcpAuthorizeConnection200, q as DocumentationSearch, qn as listChatParticipants, qt as UploadChatFileBodyType, r as AstralBeamApiErrorUsageLimit, rn as getCreateTenantUrl, rr as personalMcpDisconnectConnection, rt as ListTenantsParams, s as ChatHistoryPageEncodedMessagesItem, sn as getGetChatConfigUrl, sr as removeChatParticipant, st as ListUsersForTenantParams, t as AstralBeamApiError$1, tn as getChatUsage, tr as personalMcpCompleteAuthorization, tt as ListChatParticipantsParams, u as ChatHistoryPageEncodedMessagesItemState, un as getGetCurrentUserUrl, ur as searchChatTenantUsers, ut as McpServerEncoded, v as ChatMessageEncodedState, vn as getListChatThreadsUrl, vr as ApiOptions, vt as PersonalMcpGetCatalog200, w as ChatSubmissionReceiptEncoded, wn as getPersonalMcpAuthorizeConnectionUrl, wt as ResolveChatToolResultInputEncodedResultsItem, x as ChatParticipantPage, xn as getListThreadsUrl, xr as JwtOptions, xt as PersonalMcpTestConnection200, y as ChatParticipantEncoded, yn as getListTenantsUrl, yr as ApiRequestOptions, yt as PersonalMcpSetHeadersBody, z as CreateTenantUserInput, zn as getTenantUser, zt as UpdateTenantInput } from "./index-CI5Jut1h.js";
2
+ export { type ApiKeyOptions, type ApiOptions, type ApiRequestOptions, AstralBeamApiError, type AstralBeamApiError$1 as AstralBeamApiErrorBody, AstralBeamApiErrorIssuesItem, AstralBeamApiErrorUsageLimit, ChatConfiguration, ChatConfigurationCapabilities, ChatHistoryPageEncoded, ChatHistoryPageEncodedMessagesItem, ChatHistoryPageEncodedMessagesItemPartsItem, ChatHistoryPageEncodedMessagesItemRole, ChatHistoryPageEncodedMessagesItemState, ChatHistoryPageEncodedPendingInteractionsItem, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, ChatHistoryPageEncodedThread, ChatHistoryPageEncodedThreadRole, ChatMessageEncoded, ChatMessageEncodedPartsItem, ChatMessageEncodedRole, ChatMessageEncodedState, ChatParticipantEncoded, ChatParticipantEncodedRole, ChatParticipantPage, ChatRunInput, ChatRunInputForwardedProps, ChatSubmissionReceiptEncoded, ChatTenantUserEncoded, ChatTenantUserPage, ChatThreadEncoded, ChatThreadEncodedRole, ChatThreadPage, ChatToolResultReceiptEncoded, ChatToolResultReceiptEncodedUsageLimit, ChatUsage, ChatUsageUsageLimitsItem, ChatUsageUsageLimitsItemMetric, ChatUsageUsageLimitsItemScope, CreateChatThreadInputEncoded, CreateTenantInput, CreateTenantInputMetadata, CreateTenantUserInput, CreateTenantUserInputMetadata, CurrentUser, DeleteChatThreadParams, DirectoryThreadEncoded, DirectoryThreadEncodedParticipantsItem, DirectoryThreadHistoryPage, DirectoryThreadPage, DocumentationSearch, DocumentationSearchResultsItem, GetChatConfigParams, GetChatUsageParams, GetTenantUserUsageParams, GetThreadAttachmentDelivery, GetThreadAttachmentParams, type JwtOptions, ListChatMessagesParams, ListChatParticipantsParams, ListChatThreadsParams, ListTenantsParams, ListThreadMessagesParams, ListThreadsParams, ListUsersForTenantFilterAdmin, ListUsersForTenantParams, McpConnectionEncoded, McpConnectionEncodedAuthState, McpServerEncoded, McpServerEncodedAuthKind, Organization, PersonalMcpAuthorizeConnection200, PersonalMcpAuthorizeConnection200Attempt, PersonalMcpBindBrowserBody, PersonalMcpCompleteAuthorizationBody, PersonalMcpCreateConnectionBody, PersonalMcpGetCatalog200, PersonalMcpSetHeadersBody, PersonalMcpSetHeadersBodyHeaders, PersonalMcpTestConnection200, RemoveChatParticipantParams, ResolveChatToolResultInputEncoded, ResolveChatToolResultInputEncodedResultsItem, ResolveChatToolResultInputEncodedResultsItemOutcome, SearchChatTenantUsersParams, SearchDocumentationParams, SetChatParticipantInputEncoded, SetChatParticipantInputEncodedRole, TenantPage, TenantRecordEncoded, TenantRecordEncodedMetadata, TenantUserPage, TenantUserRecordEncoded, TenantUserRecordEncodedMetadata, TenantUserUsage, TenantUserUsageItemsItem, UpdateChatThreadInputEncoded, UpdateTenantInput, UpdateTenantInputMetadata, UpdateTenantUserInput, UpdateTenantUserInputMetadata, UploadChatFileBody, UploadChatFileBodyMetadata, UploadChatFileBodySource, UploadChatFileBodySourceType, UploadChatFileBodyType, UploadedChatFile, createChatThread, createTenant, createTenantUser, deleteChatThread, getChatConfig, getChatThread, getChatUsage, getCreateChatThreadUrl, getCreateTenantUrl, getCreateTenantUserUrl, getCurrentUser, getDeleteChatThreadUrl, getGetChatConfigUrl, getGetChatThreadUrl, getGetChatUsageUrl, getGetCurrentUserUrl, getGetOrganizationUrl, getGetTenantUrl, getGetTenantUserUrl, getGetTenantUserUsageUrl, getGetThreadAttachmentUrl, getListChatMessagesUrl, getListChatParticipantsUrl, getListChatThreadsUrl, getListTenantsUrl, getListThreadMessagesUrl, getListThreadsUrl, getListUsersForTenantUrl, getOrganization, getPersonalMcpAuthorizeConnectionUrl, getPersonalMcpBindBrowserUrl, getPersonalMcpCompleteAuthorizationUrl, getPersonalMcpCreateConnectionUrl, getPersonalMcpDisconnectConnectionUrl, getPersonalMcpGetCatalogUrl, getPersonalMcpSetHeadersUrl, getPersonalMcpTestConnectionUrl, getRemoveChatParticipantUrl, getResolveChatToolResultUrl, getRunChatUrl, getSearchChatTenantUsersUrl, getSearchDocumentationUrl, getSetChatParticipantUrl, getTenant, getTenantUser, getTenantUserUsage, getThreadAttachment, getUpdateChatThreadUrl, getUpdateTenantUrl, getUpdateTenantUserUrl, getUploadChatFileUrl, isAstralBeamApiError, listChatMessages, listChatParticipants, listChatThreads, listTenants, listThreadMessages, listThreads, listUsersForTenant, personalMcpAuthorizeConnection, personalMcpBindBrowser, personalMcpCompleteAuthorization, personalMcpCreateConnection, personalMcpDisconnectConnection, personalMcpGetCatalog, personalMcpSetHeaders, personalMcpTestConnection, removeChatParticipant, resolveChatToolResult, runChat, searchChatTenantUsers, searchDocumentation, setChatParticipant, updateChatThread, updateTenant, updateTenantUser, uploadChatFile };
package/dist/api.js CHANGED
@@ -1 +1 @@
1
- export { t as ChatHistoryPageEncodedMessagesItemRole, n as ChatHistoryPageEncodedMessagesItemState, r as ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, i as ChatHistoryPageEncodedThreadRole, a as ChatMessageEncodedRole, o as ChatMessageEncodedState, s as ChatParticipantEncodedRole, c as ChatThreadEncodedRole, l as ChatUsageUsageLimitsItemMetric, u as ChatUsageUsageLimitsItemScope, d as GetThreadAttachmentDelivery, f as ListUsersForTenantFilterAdmin, p as McpConnectionEncodedAuthState, m as McpServerEncodedAuthKind, h as ResolveChatToolResultInputEncodedResultsItemOutcome, g as SetChatParticipantInputEncodedRole, _ as UploadChatFileBodySourceType, v as UploadChatFileBodyType, y as createChatThread, b as createTenant, x as createTenantUser, S as deleteChatThread, C as getChatConfig, w as getChatThread, T as getChatUsage, E as getCreateChatThreadUrl, D as getCreateTenantUrl, O as getCreateTenantUserUrl, k as getCurrentUser, A as getDeleteChatThreadUrl, j as getGetChatConfigUrl, M as getGetChatThreadUrl, N as getGetChatUsageUrl, P as getGetCurrentUserUrl, F as getGetOrganizationUrl, I as getGetTenantUrl, L as getGetTenantUserUrl, R as getGetTenantUserUsageUrl, z as getGetThreadAttachmentUrl, B as getListChatMessagesUrl, V as getListChatParticipantsUrl, H as getListChatThreadsUrl, U as getListTenantsUrl, W as getListThreadMessagesUrl, G as getListThreadsUrl, K as getListUsersForTenantUrl, q as getOrganization, J as getPersonalMcpAuthorizeConnectionUrl, Y as getPersonalMcpBindBrowserUrl, X as getPersonalMcpCompleteAuthorizationUrl, Z as getPersonalMcpCreateConnectionUrl, Q as getPersonalMcpDisconnectConnectionUrl, $ as getPersonalMcpGetCatalogUrl, et as getPersonalMcpSetHeadersUrl, tt as getPersonalMcpTestConnectionUrl, nt as getRemoveChatParticipantUrl, rt as getResolveChatToolResultUrl, it as getRunChatUrl, at as getSearchChatTenantUsersUrl, ot as getSetChatParticipantUrl, st as getTenant, ct as getTenantUser, lt as getTenantUserUsage, ut as getThreadAttachment, dt as getUpdateChatThreadUrl, ft as getUpdateTenantUrl, pt as getUpdateTenantUserUrl, mt as getUploadChatFileUrl, Bt as isAstralBeamApiError, ht as listChatMessages, gt as listChatParticipants, _t as listChatThreads, vt as listTenants, yt as listThreadMessages, bt as listThreads, xt as listUsersForTenant, St as personalMcpAuthorizeConnection, Ct as personalMcpBindBrowser, wt as personalMcpCompleteAuthorization, Tt as personalMcpCreateConnection, Et as personalMcpDisconnectConnection, Dt as personalMcpGetCatalog, Ot as personalMcpSetHeaders, kt as personalMcpTestConnection, At as removeChatParticipant, jt as resolveChatToolResult, Mt as runChat, Nt as searchChatTenantUsers, Pt as setChatParticipant, Ft as updateChatThread, It as updateTenant, Lt as updateTenantUser, Rt as uploadChatFile } from "./api-BYkm7p8c.js";
1
+ export { t as ChatHistoryPageEncodedMessagesItemRole, n as ChatHistoryPageEncodedMessagesItemState, r as ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, i as ChatHistoryPageEncodedThreadRole, a as ChatMessageEncodedRole, o as ChatMessageEncodedState, s as ChatParticipantEncodedRole, c as ChatThreadEncodedRole, l as ChatUsageUsageLimitsItemMetric, u as ChatUsageUsageLimitsItemScope, d as GetThreadAttachmentDelivery, f as ListUsersForTenantFilterAdmin, p as McpConnectionEncodedAuthState, m as McpServerEncodedAuthKind, h as ResolveChatToolResultInputEncodedResultsItemOutcome, g as SetChatParticipantInputEncodedRole, _ as UploadChatFileBodySourceType, v as UploadChatFileBodyType, y as createChatThread, b as createTenant, x as createTenantUser, S as deleteChatThread, C as getChatConfig, w as getChatThread, T as getChatUsage, E as getCreateChatThreadUrl, D as getCreateTenantUrl, O as getCreateTenantUserUrl, k as getCurrentUser, A as getDeleteChatThreadUrl, j as getGetChatConfigUrl, M as getGetChatThreadUrl, N as getGetChatUsageUrl, P as getGetCurrentUserUrl, F as getGetOrganizationUrl, I as getGetTenantUrl, L as getGetTenantUserUrl, R as getGetTenantUserUsageUrl, z as getGetThreadAttachmentUrl, B as getListChatMessagesUrl, V as getListChatParticipantsUrl, H as getListChatThreadsUrl, U as getListTenantsUrl, W as getListThreadMessagesUrl, G as getListThreadsUrl, K as getListUsersForTenantUrl, q as getOrganization, J as getPersonalMcpAuthorizeConnectionUrl, Y as getPersonalMcpBindBrowserUrl, X as getPersonalMcpCompleteAuthorizationUrl, Z as getPersonalMcpCreateConnectionUrl, Q as getPersonalMcpDisconnectConnectionUrl, $ as getPersonalMcpGetCatalogUrl, et as getPersonalMcpSetHeadersUrl, tt as getPersonalMcpTestConnectionUrl, nt as getRemoveChatParticipantUrl, rt as getResolveChatToolResultUrl, it as getRunChatUrl, at as getSearchChatTenantUsersUrl, ot as getSearchDocumentationUrl, st as getSetChatParticipantUrl, ct as getTenant, lt as getTenantUser, ut as getTenantUserUsage, dt as getThreadAttachment, ft as getUpdateChatThreadUrl, pt as getUpdateTenantUrl, mt as getUpdateTenantUserUrl, ht as getUploadChatFileUrl, Ht as isAstralBeamApiError, gt as listChatMessages, _t as listChatParticipants, vt as listChatThreads, yt as listTenants, bt as listThreadMessages, xt as listThreads, St as listUsersForTenant, Ct as personalMcpAuthorizeConnection, wt as personalMcpBindBrowser, Tt as personalMcpCompleteAuthorization, Et as personalMcpCreateConnection, Dt as personalMcpDisconnectConnection, Ot as personalMcpGetCatalog, kt as personalMcpSetHeaders, At as personalMcpTestConnection, jt as removeChatParticipant, Mt as resolveChatToolResult, Nt as runChat, Pt as searchChatTenantUsers, Ft as searchDocumentation, It as setChatParticipant, Lt as updateChatThread, Rt as updateTenant, zt as updateTenantUser, Bt as uploadChatFile } from "./api-CzXKVU8Z.js";
package/dist/client.d.ts CHANGED
@@ -115,7 +115,7 @@ declare namespace StandardJSONSchemaV1 {
115
115
  type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
116
116
  }
117
117
  //#endregion
118
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/middleware/capabilities.d.ts
118
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/middleware/capabilities.d.ts
119
119
  /**
120
120
  * The minimal context shape a capability accessor needs. The full
121
121
  * `ChatMiddlewareContext` satisfies this (it has `capabilities`), so accessors
@@ -168,7 +168,7 @@ declare class CapabilityRegistry {
168
168
  has(handle: CapabilityHandle): boolean;
169
169
  }
170
170
  //#endregion
171
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/interrupts.d.ts
171
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/interrupts.d.ts
172
172
  interface InterruptCorrelation {
173
173
  threadId: string;
174
174
  interruptedRunId: string;
@@ -2872,11 +2872,11 @@ type SubagentInfo = {
2872
2872
  description?: string;
2873
2873
  };
2874
2874
  //#endregion
2875
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/ag-ui-usage.d.ts
2875
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/ag-ui-usage.d.ts
2876
2876
  /** TokenUsage fields that have no AG-UI `usage[]` equivalent. */
2877
2877
  type TokenUsageLeftover = Omit<TokenUsage$1, 'promptTokens' | 'completionTokens' | 'totalTokens'>;
2878
2878
  //#endregion
2879
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/subagent-wire.d.ts
2879
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/subagent-wire.d.ts
2880
2880
  /**
2881
2881
  * Card data that travels on each child wire message, in
2882
2882
  * `metadata.tanstack.subagent`. The messages carry the AG-UI `subagentRunId`.
@@ -2886,7 +2886,7 @@ interface SubagentWireInfo extends SubagentInfo, Pick<SubagentHandleData, 'statu
2886
2886
  placeholder?: true;
2887
2887
  }
2888
2888
  //#endregion
2889
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/types.d.ts
2889
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/types.d.ts
2890
2890
  /**
2891
2891
  * Tool call states - track the lifecycle of a tool call
2892
2892
  */
@@ -3912,7 +3912,7 @@ interface SubagentErrorEvent extends SubagentErrorEvent$1 {}
3912
3912
  */
3913
3913
  type StreamChunk = AGUIEvent;
3914
3914
  //#endregion
3915
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/interrupt-definition.d.ts
3915
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/interrupt-definition.d.ts
3916
3916
  type PortableSchema = StandardJSONSchemaV1<any, any> | StandardSchemaV1$1<any, any>;
3917
3917
  type InterruptInput<TPayloadSchema extends PortableSchema | undefined, TPayload = unknown> = {
3918
3918
  key: string;
@@ -3954,7 +3954,7 @@ interface InterruptDefinition<TId extends string, TPayloadSchema extends Portabl
3954
3954
  interrupt: InterruptRequestMethod<TId, TPayloadSchema, TResponseSchema, TPayload, TPayloadInput>;
3955
3955
  }
3956
3956
  //#endregion
3957
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/tool-definition.d.ts
3957
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/tool-definition.d.ts
3958
3958
  /**
3959
3959
  * Type-level brand key for {@link ToolApprovalCapabilityMarker}. Only ever used
3960
3960
  * in type positions, but it must stay exported: a `unique symbol` referenced by
@@ -4036,7 +4036,7 @@ type InferToolOutput<T> = T extends {
4036
4036
  outputSchema?: infer TOutput;
4037
4037
  } ? TOutput extends StandardJSONSchemaV1<any, any> ? InferSchemaType<TOutput> : TOutput extends StandardSchemaV1$1<any, any> ? InferSchemaType<TOutput> : TOutput extends JSONSchema ? unknown : InferSchemaType<TOutput> : unknown;
4038
4038
  //#endregion
4039
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/byok/define-provider.d.ts
4039
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/byok/define-provider.d.ts
4040
4040
  /**
4041
4041
  * A BYOK provider declared by an adapter. `id` is the `x-byok-<id>` slug and
4042
4042
  * is required — `{ id?: string }` is not a {@link ByokProvider}.
@@ -4056,14 +4056,14 @@ interface ByokProvider<TId extends string = string> {
4056
4056
  readonly with?: ReadonlyArray<ByokProvider>;
4057
4057
  }
4058
4058
  //#endregion
4059
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/byok/providers.d.ts
4059
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/byok/providers.d.ts
4060
4060
  /**
4061
4061
  * Provider ids are open slugs, not a closed catalog. `@tanstack/ai` does not
4062
4062
  * list adapters. Any matching string is a valid id and becomes `x-byok-<id>`.
4063
4063
  */
4064
4064
  type ProviderId = string;
4065
4065
  //#endregion
4066
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/types.d.ts
4066
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/types.d.ts
4067
4067
  /**
4068
4068
  * Strategy for determining when to emit text updates
4069
4069
  */
@@ -4081,7 +4081,7 @@ interface ChunkStrategy {
4081
4081
  reset?: () => void;
4082
4082
  }
4083
4083
  //#endregion
4084
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/byok/storage.d.ts
4084
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/byok/storage.d.ts
4085
4085
  type Keyring = Partial<Record<ProviderId, string>>;
4086
4086
  type KeyPreview = Partial<Record<ProviderId, string>>;
4087
4087
  interface KeyringStorage {
@@ -4096,7 +4096,7 @@ interface KeyringStorage {
4096
4096
  clear: () => void | Promise<void>;
4097
4097
  }
4098
4098
  //#endregion
4099
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/byok/client.d.ts
4099
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/byok/client.d.ts
4100
4100
  type KeyStatus = {
4101
4101
  state: 'empty';
4102
4102
  } | {
@@ -4151,7 +4151,7 @@ declare class ByokClient {
4151
4151
  unlock(): Promise<void>;
4152
4152
  }
4153
4153
  //#endregion
4154
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/events.d.ts
4154
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/events.d.ts
4155
4155
  interface ChatClientRunEventContext {
4156
4156
  threadId: string;
4157
4157
  runId: string;
@@ -4267,7 +4267,7 @@ declare abstract class ChatClientEventEmitter {
4267
4267
  toolFixtureApplied(fixture: ChatClientToolFixtureAppliedEvent): void;
4268
4268
  }
4269
4269
  //#endregion
4270
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/devtools.d.ts
4270
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/devtools.d.ts
4271
4271
  interface AIDevtoolsDisplayOptions {
4272
4272
  name?: string;
4273
4273
  }
@@ -4435,10 +4435,10 @@ declare class ChatDevtoolsBridge extends ClientDevtoolsBridge<AIDevtoolsChatSnap
4435
4435
  private findClientTool;
4436
4436
  }
4437
4437
  //#endregion
4438
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/devtools-noop.d.ts
4438
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/devtools-noop.d.ts
4439
4439
  type ChatDevtoolsBridgeFactory = (options: ChatDevtoolsBridgeOptions) => ChatDevtoolsBridge;
4440
4440
  //#endregion
4441
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/types.d.ts
4441
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/types.d.ts
4442
4442
  interface ChatResumeState {
4443
4443
  threadId: string;
4444
4444
  runId: string;
@@ -5233,7 +5233,7 @@ interface ChatClientBaseOptions<TTools extends ReadonlyArray<AnyClientTool> = an
5233
5233
  */
5234
5234
  type ChatClientOptions<TTools extends ReadonlyArray<AnyClientTool> = any, TContext = InferredClientContext<TTools>, TInterrupts extends ReadonlyArray<InterruptDefinition<any, any, any, any>> = readonly []> = DistributedOmit<ChatClientBaseOptions<TTools, TContext, TInterrupts>, 'context'> & ClientContextOptionFromTools<TTools, TContext> & ChatTransport & ChatPersistenceOptions<TTools>;
5235
5235
  //#endregion
5236
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/connection-adapters.d.ts
5236
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/connection-adapters.d.ts
5237
5237
  /**
5238
5238
  * Per-send context provided by the chat client to the connection adapter.
5239
5239
  * The adapter combines this with serialized messages to build a full
@@ -5402,7 +5402,7 @@ interface SubscribeConnectionAdapter {
5402
5402
  */
5403
5403
  type ConnectionAdapter = ConnectConnectionAdapter | SubscribeConnectionAdapter;
5404
5404
  //#endregion
5405
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/chat-client.d.ts
5405
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/chat-client.d.ts
5406
5406
  type ChatClientUpdateOptionsWithoutContext<TTools extends ReadonlyArray<AnyClientTool>, TInterrupts extends ReadonlyArray<InterruptDefinition<any, any, any, any>> = readonly []> = {
5407
5407
  connection?: ConnectionAdapter;
5408
5408
  fetcher?: ChatFetcher;
@@ -1,4 +1,4 @@
1
- import { Bt as isAstralBeamApiError, C as getChatConfig, Ct as personalMcpBindBrowser, Dt as personalMcpGetCatalog, Et as personalMcpDisconnectConnection, Ft as updateChatThread, Ot as personalMcpSetHeaders, Rt as uploadChatFile, S as deleteChatThread, St as personalMcpAuthorizeConnection, Tt as personalMcpCreateConnection, Vt as resolveApiUrl, _t as listChatThreads, ht as listChatMessages, it as getRunChatUrl, k as getCurrentUser, kt as personalMcpTestConnection, rt as getResolveChatToolResultUrl, ut as getThreadAttachment, wt as personalMcpCompleteAuthorization, y as createChatThread, zt as astralBeamChatFetch } from "./api-BYkm7p8c.js";
1
+ import { At as personalMcpTestConnection, Bt as uploadChatFile, C as getChatConfig, Ct as personalMcpAuthorizeConnection, Dt as personalMcpDisconnectConnection, Et as personalMcpCreateConnection, Ht as isAstralBeamApiError, Lt as updateChatThread, Ot as personalMcpGetCatalog, S as deleteChatThread, Tt as personalMcpCompleteAuthorization, Ut as resolveApiUrl, Vt as astralBeamChatFetch, dt as getThreadAttachment, gt as listChatMessages, it as getRunChatUrl, k as getCurrentUser, kt as personalMcpSetHeaders, rt as getResolveChatToolResultUrl, vt as listChatThreads, wt as personalMcpBindBrowser, y as createChatThread } from "./api-CzXKVU8Z.js";
2
2
  import { _ as strictDecoder, i as isObject, l as decode, p as JWTInvalid } from "./validate-BOw-BAyv.js";
3
3
  //#region \0rolldown/runtime.js
4
4
  var __defProp = Object.defineProperty;
@@ -366,7 +366,7 @@ function effect(fn) {
366
366
  return effectObj;
367
367
  }
368
368
  //#endregion
369
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/snapshot-atom.js
369
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/snapshot-atom.js
370
370
  function isPlainObject(value) {
371
371
  if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
372
372
  const proto = Object.getPrototypeOf(value);
@@ -471,7 +471,7 @@ function subscribeAtom(atom, listener) {
471
471
  new TextEncoder();
472
472
  new TextDecoder();
473
473
  //#endregion
474
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/response-stream.js
474
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/response-stream.js
475
475
  var UnsupportedResponseStreamError = class extends Error {
476
476
  missingFeature;
477
477
  constructor(missingFeature) {
@@ -493,14 +493,14 @@ function createResponseStreamTextDecoder() {
493
493
  return new globalThis.TextDecoder();
494
494
  }
495
495
  //#endregion
496
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/sse-utils.js
496
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/sse-utils.js
497
497
  function parseSseDataLine(line) {
498
498
  if (!line.startsWith("data:")) return line;
499
499
  const data = line.slice(5);
500
500
  return data.startsWith(" ") ? data.slice(1) : data;
501
501
  }
502
502
  //#endregion
503
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/message-date-normalizer.js
503
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/message-date-normalizer.js
504
504
  function validDate(value) {
505
505
  if (value instanceof Date) return Number.isNaN(value.getTime()) ? void 0 : value;
506
506
  if (typeof value !== "string") return void 0;
@@ -532,7 +532,7 @@ function normalizeMessagesDates(messages) {
532
532
  return messages.map(normalizeMessageDates);
533
533
  }
534
534
  //#endregion
535
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/ag-ui-usage.js
535
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/ag-ui-usage.js
536
536
  function definedDetails(value) {
537
537
  return Object.keys(value).length > 0 ? value : void 0;
538
538
  }
@@ -577,7 +577,7 @@ function fromSpecTokenUsage(usage, leftover) {
577
577
  };
578
578
  }
579
579
  //#endregion
580
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/merge-metadata.js
580
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/merge-metadata.js
581
581
  function isPlainRecord$1(value) {
582
582
  return value != null && typeof value === "object" && !Array.isArray(value);
583
583
  }
@@ -656,7 +656,7 @@ let EventType = /* @__PURE__ */ function(EventType) {
656
656
  return EventType;
657
657
  }({});
658
658
  //#endregion
659
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/tool-call-arguments.js
659
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/tool-call-arguments.js
660
660
  function sameJsonValue(left, right) {
661
661
  if (Object.is(left, right)) return true;
662
662
  if (Array.isArray(left) && Array.isArray(right)) return left.length === right.length && left.every((value, index) => sameJsonValue(value, right[index]));
@@ -821,7 +821,7 @@ function finishToolCallArguments(streamed, end) {
821
821
  };
822
822
  }
823
823
  //#endregion
824
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/reasoning-encrypted-value.js
824
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/reasoning-encrypted-value.js
825
825
  /**
826
826
  * Id prefix for the reasoning message of a redacted thinking block (Anthropic
827
827
  * `redacted_thinking`). AG-UI's `encryptedValue` does not say what kind of
@@ -833,7 +833,7 @@ function isRedactedThinkingId(id) {
833
833
  return typeof id === "string" && id.startsWith("redacted_thinking-");
834
834
  }
835
835
  //#endregion
836
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/interrupt-serialization.js
836
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/interrupt-serialization.js
837
837
  var SHA256_K = new Uint32Array([
838
838
  1116352408,
839
839
  1899447441,
@@ -1008,7 +1008,7 @@ function cloneAndDeepFreezeJson(value) {
1008
1008
  return clone;
1009
1009
  }
1010
1010
  //#endregion
1011
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/interrupts.js
1011
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/interrupts.js
1012
1012
  function canonicalizeInterruptResolutions(resolutions) {
1013
1013
  const frozen = cloneAndDeepFreezeJson([...resolutions].sort((left, right) => left.interruptId.localeCompare(right.interruptId)));
1014
1014
  const canonicalResolutions = canonicalInterruptJson(frozen);
@@ -1019,7 +1019,7 @@ function canonicalizeInterruptResolutions(resolutions) {
1019
1019
  });
1020
1020
  }
1021
1021
  //#endregion
1022
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/schema-converter.js
1022
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/schema-converter.js
1023
1023
  /**
1024
1024
  * Build a JSONSchema object from any plain key/value source. The `JSONSchema`
1025
1025
  * interface's `[key: string]: any` index signature makes every property
@@ -1287,7 +1287,7 @@ async function validateWithStandardSchema(schema, data) {
1287
1287
  };
1288
1288
  }
1289
1289
  //#endregion
1290
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/approval-schema.js
1290
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/approval-schema.js
1291
1291
  var jsonSchemaKeywords = /* @__PURE__ */ new Set([
1292
1292
  "$schema",
1293
1293
  "$id",
@@ -1401,7 +1401,7 @@ function hashSchemaInput(schema) {
1401
1401
  return digestInterruptJson(canonicalInterruptJson(schemaToWire(schema).jsonSchema ?? { standardValidator: "unserialized" }));
1402
1402
  }
1403
1403
  //#endregion
1404
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/interrupt-resume.js
1404
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/interrupt-resume.js
1405
1405
  /**
1406
1406
  * The `Interrupt.metadata` key under which this package's resume binding
1407
1407
  * travels.
@@ -1522,7 +1522,7 @@ function readInterruptBinding(descriptor) {
1522
1522
  };
1523
1523
  }
1524
1524
  //#endregion
1525
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/interrupt-definition.js
1525
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/interrupt-definition.js
1526
1526
  var INTERRUPT_PAYLOAD_METADATA_KEY = "tanstack:interruptPayload";
1527
1527
  function schemaJson(schema, name) {
1528
1528
  if (!isStandardJSONSchema(schema)) throw new TypeError(`${name} must be a Standard Schema with a JSON Schema converter.`);
@@ -1547,7 +1547,7 @@ function hashInterruptDefinitionSchema(schema) {
1547
1547
  return digestInterruptJson(schemaJson(schema, "Interrupt schema").canonicalJson);
1548
1548
  }
1549
1549
  //#endregion
1550
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/generic-interrupt-continuation.js
1550
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/generic-interrupt-continuation.js
1551
1551
  /**
1552
1552
  * `ResumeEntry.metadata` key for a first-party generic request.
1553
1553
  *
@@ -1586,7 +1586,7 @@ function genericInterruptContinuationFromDescriptor(interrupt) {
1586
1586
  };
1587
1587
  }
1588
1588
  //#endregion
1589
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/subagent-wire.js
1589
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/subagent-wire.js
1590
1590
  function isRecord$2(value) {
1591
1591
  return typeof value === "object" && value !== null && !Array.isArray(value);
1592
1592
  }
@@ -1700,7 +1700,7 @@ function splitSubagentWire(messages) {
1700
1700
  };
1701
1701
  }
1702
1702
  //#endregion
1703
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/provider-executed.js
1703
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/provider-executed.js
1704
1704
  /**
1705
1705
  * Narrow a tool call's opaque `metadata` to the provider-executed convention.
1706
1706
  * Returns the typed metadata when the call is provider-executed, else `null`.
@@ -1730,7 +1730,7 @@ function isAssistantSegmentOf(id, parentId) {
1730
1730
  return id?.startsWith(`${parentId}-segment-`) === true;
1731
1731
  }
1732
1732
  //#endregion
1733
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/tool-result.js
1733
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/tool-result.js
1734
1734
  var CONTENT_PART_TYPES = /* @__PURE__ */ new Set([
1735
1735
  "text",
1736
1736
  "image",
@@ -1791,7 +1791,7 @@ function normalizeToolResult(result) {
1791
1791
  return JSON.stringify(result);
1792
1792
  }
1793
1793
  //#endregion
1794
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/block-order.js
1794
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/block-order.js
1795
1795
  /**
1796
1796
  * The order map for these entries in produced order, or undefined when they
1797
1797
  * are in the default order (all thinking, then text, then tool calls).
@@ -1879,7 +1879,7 @@ function orderedAssistantBlocks(message) {
1879
1879
  return blocks;
1880
1880
  }
1881
1881
  //#endregion
1882
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/messages.js
1882
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/messages.js
1883
1883
  function isRecord$1(value) {
1884
1884
  return typeof value === "object" && value !== null && !Array.isArray(value);
1885
1885
  }
@@ -2591,7 +2591,7 @@ function generateMessageId() {
2591
2591
  return `msg-${Date.now()}-${Math.random().toString(36).substring(7)}`;
2592
2592
  }
2593
2593
  //#endregion
2594
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/ag-ui-wire.js
2594
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/ag-ui-wire.js
2595
2595
  function isRecord(value) {
2596
2596
  return typeof value === "object" && value !== null && !Array.isArray(value);
2597
2597
  }
@@ -2974,7 +2974,7 @@ function hashContent(s) {
2974
2974
  return Math.abs(h).toString(36);
2975
2975
  }
2976
2976
  //#endregion
2977
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/restore-inbound-chunk.js
2977
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/restore-inbound-chunk.js
2978
2978
  /**
2979
2979
  * Rebuild TanStack `TokenUsage` (`promptTokens`) from spec `usage[]` plus
2980
2980
  * leftover fields in `metadata.tanstack.usage`. Restore the in-process field
@@ -3011,7 +3011,7 @@ function restoreInboundChunk(chunk) {
3011
3011
  return next;
3012
3012
  }
3013
3013
  //#endregion
3014
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/tool-definition.js
3014
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/tool-definition.js
3015
3015
  /**
3016
3016
  * Create an isomorphic tool definition that can be used directly or instantiated for server/client
3017
3017
  *
@@ -3109,7 +3109,7 @@ function toolDefinition(config) {
3109
3109
  };
3110
3110
  }
3111
3111
  //#endregion
3112
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/chunk-ids.js
3112
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/chunk-ids.js
3113
3113
  function stringField(value) {
3114
3114
  return typeof value === "string" && value !== "" ? value : void 0;
3115
3115
  }
@@ -3212,7 +3212,7 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
3212
3212
  exports.default = exports.Allow;
3213
3213
  }));
3214
3214
  //#endregion
3215
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/json-parser.js
3215
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/json-parser.js
3216
3216
  var import_dist = (/* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
3217
3217
  var __createBinding = this$1 && this$1.__createBinding || (Object.create ? (function(o, m, k, k2) {
3218
3218
  if (k2 === void 0) k2 = k;
@@ -3434,7 +3434,7 @@ function parsePartialJSON(jsonString) {
3434
3434
  return defaultJSONParser.parse(jsonString);
3435
3435
  }
3436
3436
  //#endregion
3437
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/strategies.js
3437
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/strategies.js
3438
3438
  /**
3439
3439
  * Immediate Strategy - emit on every chunk (default behavior)
3440
3440
  */
@@ -3444,7 +3444,7 @@ var ImmediateStrategy = class {
3444
3444
  }
3445
3445
  };
3446
3446
  //#endregion
3447
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/errors.js
3447
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/errors.js
3448
3448
  /**
3449
3449
  * Convert an AG-UI RUN_ERROR event to the Error shape exposed to consumers.
3450
3450
  * Preserves the provider code and sanitized raw event when available.
@@ -4105,7 +4105,7 @@ var fast_json_patch_default = Object.assign({}, core_exports, duplex_exports, {
4105
4105
  unescapePathComponent
4106
4106
  });
4107
4107
  //#endregion
4108
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/activity-records.js
4108
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/activity-records.js
4109
4109
  function isActivityPart(part) {
4110
4110
  return part.type === "activity";
4111
4111
  }
@@ -4181,7 +4181,7 @@ function applyActivityDeltaToUIMessages(messages, chunk) {
4181
4181
  }
4182
4182
  }
4183
4183
  //#endregion
4184
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/message-updaters.js
4184
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/message-updaters.js
4185
4185
  /**
4186
4186
  * Message Updaters (Internal)
4187
4187
  *
@@ -4483,7 +4483,7 @@ function updateThinkingPart(messages, messageId, stepId, content, signature) {
4483
4483
  });
4484
4484
  }
4485
4485
  //#endregion
4486
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/processor.js
4486
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/processor.js
4487
4487
  /**
4488
4488
  * Unified Stream Processor
4489
4489
  *
@@ -6612,7 +6612,7 @@ function createReplayStream(recording) {
6612
6612
  } };
6613
6613
  }
6614
6614
  //#endregion
6615
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/byok/errors.js
6615
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/byok/errors.js
6616
6616
  var ByokMissingError = class extends Error {
6617
6617
  provider;
6618
6618
  constructor(provider) {
@@ -6638,14 +6638,14 @@ var ByokUnresolvedProviderError = class extends Error {
6638
6638
  }
6639
6639
  };
6640
6640
  //#endregion
6641
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/byok/providers.js
6641
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/byok/providers.js
6642
6642
  /** `[a-z][a-z0-9-]{0,63}` — lowercase, no underscores, max 64 chars. */
6643
6643
  var BYOK_PROVIDER_ID_PATTERN = /^[a-z][a-z0-9-]{0,63}$/;
6644
6644
  function isProviderId(value) {
6645
6645
  return typeof value === "string" && BYOK_PROVIDER_ID_PATTERN.test(value);
6646
6646
  }
6647
6647
  //#endregion
6648
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/byok/missing.js
6648
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/byok/missing.js
6649
6649
  function isByokMissingBody(value) {
6650
6650
  if (typeof value !== "object" || value === null) return false;
6651
6651
  if (!("error" in value)) return false;
@@ -6658,7 +6658,7 @@ function isByokMissingBody(value) {
6658
6658
  return true;
6659
6659
  }
6660
6660
  //#endregion
6661
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/connection-adapters.js
6661
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/connection-adapters.js
6662
6662
  /**
6663
6663
  * Associates connect-wrapped chunks with the run they were produced under.
6664
6664
  * Content events (TEXT_MESSAGE_CONTENT, TOOL_CALL_*, …) carry no `runId` of
@@ -7352,7 +7352,7 @@ async function* abortableIterable(iterable, signal) {
7352
7352
  }
7353
7353
  }
7354
7354
  //#endregion
7355
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/interrupt-manager.js
7355
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/interrupt-manager.js
7356
7356
  function isClientOwnedInterrupt(item) {
7357
7357
  return item.resumable;
7358
7358
  }
@@ -8270,7 +8270,7 @@ var InterruptManager = class {
8270
8270
  }
8271
8271
  };
8272
8272
  //#endregion
8273
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/byok/client.js
8273
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/byok/client.js
8274
8274
  var registeredProviderIds = /* @__PURE__ */ new WeakMap();
8275
8275
  /**
8276
8276
  * Provider to stamp when the caller did not pass a slug.
@@ -8283,7 +8283,7 @@ function byokFallbackProviderId(byok) {
8283
8283
  if (registered.length === 1) return registered[0];
8284
8284
  }
8285
8285
  //#endregion
8286
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/byok/resolve.js
8286
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/byok/resolve.js
8287
8287
  function resolveByokProviderId(byokProvider, ...candidates) {
8288
8288
  const fromFn = byokProvider?.();
8289
8289
  if (isProviderId(fromFn)) return fromFn;
@@ -8299,7 +8299,7 @@ async function prepareResolvedByokHeaders(byok, provider) {
8299
8299
  return byok.headers(provider);
8300
8300
  }
8301
8301
  //#endregion
8302
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/events.js
8302
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/events.js
8303
8303
  /**
8304
8304
  * Abstract base class for ChatClient event emission
8305
8305
  */
@@ -8462,7 +8462,7 @@ var ChatClientEventEmitter = class {
8462
8462
  }
8463
8463
  };
8464
8464
  //#endregion
8465
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/devtools-noop.js
8465
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/devtools-noop.js
8466
8466
  var NoOpChatClientEventEmitter = class extends ChatClientEventEmitter {
8467
8467
  emitEvent() {}
8468
8468
  };
@@ -8507,7 +8507,7 @@ var NoOpChatDevtoolsBridge = class {
8507
8507
  };
8508
8508
  var createNoOpChatDevtoolsBridge = (options) => new NoOpChatDevtoolsBridge(options);
8509
8509
  //#endregion
8510
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/client-persistor.js
8510
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/client-persistor.js
8511
8511
  function getChunkToolCallId$1(chunk) {
8512
8512
  return "toolCallId" in chunk && typeof chunk.toolCallId === "string" ? chunk.toolCallId : void 0;
8513
8513
  }
@@ -8779,7 +8779,7 @@ var ChatPersistor = class {
8779
8779
  }
8780
8780
  };
8781
8781
  //#endregion
8782
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/cleared-stream-tracker.js
8782
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/cleared-stream-tracker.js
8783
8783
  function getChunkToolCallId(chunk) {
8784
8784
  return "toolCallId" in chunk && typeof chunk.toolCallId === "string" ? chunk.toolCallId : void 0;
8785
8785
  }
@@ -8872,7 +8872,7 @@ var ClearedStreamTracker = class {
8872
8872
  }
8873
8873
  };
8874
8874
  //#endregion
8875
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/chat-client.js
8875
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/chat-client.js
8876
8876
  var STREAM_PROCESSING_BUDGET_MS = 8;
8877
8877
  function yieldToHost() {
8878
8878
  const { scheduler } = globalThis;
package/dist/core.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as ChatSubmissionCallbacks, B as RenderWidgetInput, C as lastPartInProgress, D as AstralBeamChatState, E as AstralBeamChatCoreOptions, F as McpCatalog, G as SandboxStatus, H as SandboxArtifact, I as McpConnectionOperation, J as ParametersSchema, K as InferParameters, L as ChatAuthenticationState, M as createAstralBeamChat, N as ChatPendingInteraction, O as ChatStreamCallbacks, P as ChatThread, R as WidgetDeclaration, S as isSettledToolCall, T as AstralBeamChatCore, U as SandboxCommandRun, V as SandboxActivity, W as SandboxFileWrite, X as ToolDefinition, Y as StandardSchemaV1, _ as readSandboxArtifact, a as defineTool, b as sandboxRefusal, c as SANDBOX_LIST_FILES_TOOL, d as SANDBOX_RUN_COMMAND_TOOL, f as SANDBOX_STATUS_EVENT, g as isSandboxTool, h as describeSandboxCommandRun, i as WebSource, j as WidgetRenderRequest, k as ChatSubmission, l as SANDBOX_PUBLISH_ARTIFACT_TOOL, m as collectSandboxActivity, n as WebEvidence, o as ASK_QUESTIONNAIRE_TOOL, p as SANDBOX_WRITE_FILE_TOOL, q as JsonSchemaObject, r as WebPartMetadata, s as RENDER_WIDGET_TOOL, t as WebCitation, u as SANDBOX_READ_FILE_TOOL, v as readSandboxCommandRun, w as AgentToolInfo, x as hasPendingToolRun, y as readSandboxFileWrite, z as buildAgentTools } from "./index-CXzO4-3C.js";
1
+ import { A as ChatSubmissionCallbacks, B as RenderWidgetInput, C as lastPartInProgress, D as AstralBeamChatState, E as AstralBeamChatCoreOptions, F as McpCatalog, G as SandboxStatus, H as SandboxArtifact, I as McpConnectionOperation, J as ParametersSchema, K as InferParameters, L as ChatAuthenticationState, M as createAstralBeamChat, N as ChatPendingInteraction, O as ChatStreamCallbacks, P as ChatThread, R as WidgetDeclaration, S as isSettledToolCall, T as AstralBeamChatCore, U as SandboxCommandRun, V as SandboxActivity, W as SandboxFileWrite, X as ToolDefinition, Y as StandardSchemaV1, _ as readSandboxArtifact, a as defineTool, b as sandboxRefusal, c as SANDBOX_LIST_FILES_TOOL, d as SANDBOX_RUN_COMMAND_TOOL, f as SANDBOX_STATUS_EVENT, g as isSandboxTool, h as describeSandboxCommandRun, i as WebSource, j as WidgetRenderRequest, k as ChatSubmission, l as SANDBOX_PUBLISH_ARTIFACT_TOOL, m as collectSandboxActivity, n as WebEvidence, o as ASK_QUESTIONNAIRE_TOOL, p as SANDBOX_WRITE_FILE_TOOL, q as JsonSchemaObject, r as WebPartMetadata, s as RENDER_WIDGET_TOOL, t as WebCitation, u as SANDBOX_READ_FILE_TOOL, v as readSandboxCommandRun, w as AgentToolInfo, x as hasPendingToolRun, y as readSandboxFileWrite, z as buildAgentTools } from "./index-Cg2qqahU.js";
2
2
  export { ASK_QUESTIONNAIRE_TOOL, type AgentToolInfo, type AstralBeamChatCore, type AstralBeamChatCoreOptions, type AstralBeamChatState, type ChatAuthenticationState, type ChatPendingInteraction, type ChatStreamCallbacks, type ChatSubmission, type ChatSubmissionCallbacks, type ChatThread, type InferParameters, type JsonSchemaObject, type McpCatalog, type McpConnectionOperation, type ParametersSchema, RENDER_WIDGET_TOOL, type RenderWidgetInput, SANDBOX_LIST_FILES_TOOL, SANDBOX_PUBLISH_ARTIFACT_TOOL, SANDBOX_READ_FILE_TOOL, SANDBOX_RUN_COMMAND_TOOL, SANDBOX_STATUS_EVENT, SANDBOX_WRITE_FILE_TOOL, type SandboxActivity, type SandboxArtifact, type SandboxCommandRun, type SandboxFileWrite, type SandboxStatus, type StandardSchemaV1, type ToolDefinition, type WebCitation, type WebEvidence, type WebPartMetadata, type WebSource, type WidgetDeclaration, type WidgetRenderRequest, buildAgentTools, collectSandboxActivity, createAstralBeamChat, defineTool, describeSandboxCommandRun, hasPendingToolRun, isSandboxTool, isSettledToolCall, lastPartInProgress, readSandboxArtifact, readSandboxCommandRun, readSandboxFileWrite, sandboxRefusal };
package/dist/core.js CHANGED
@@ -1 +1 @@
1
- export { h as ASK_QUESTIONNAIRE_TOOL, g as RENDER_WIDGET_TOOL, _ as SANDBOX_LIST_FILES_TOOL, v as SANDBOX_PUBLISH_ARTIFACT_TOOL, y as SANDBOX_READ_FILE_TOOL, b as SANDBOX_RUN_COMMAND_TOOL, x as SANDBOX_STATUS_EVENT, S as SANDBOX_WRITE_FILE_TOOL, m as buildAgentTools, i as collectSandboxActivity, r as createAstralBeamChat, t as defineTool, a as describeSandboxCommandRun, d as hasPendingToolRun, o as isSandboxTool, f as isSettledToolCall, p as lastPartInProgress, s as readSandboxArtifact, c as readSandboxCommandRun, l as readSandboxFileWrite, u as sandboxRefusal } from "./core-Vz6aUEaN.js";
1
+ export { h as ASK_QUESTIONNAIRE_TOOL, g as RENDER_WIDGET_TOOL, _ as SANDBOX_LIST_FILES_TOOL, v as SANDBOX_PUBLISH_ARTIFACT_TOOL, y as SANDBOX_READ_FILE_TOOL, b as SANDBOX_RUN_COMMAND_TOOL, x as SANDBOX_STATUS_EVENT, S as SANDBOX_WRITE_FILE_TOOL, m as buildAgentTools, i as collectSandboxActivity, r as createAstralBeamChat, t as defineTool, a as describeSandboxCommandRun, d as hasPendingToolRun, o as isSandboxTool, f as isSettledToolCall, p as lastPartInProgress, s as readSandboxArtifact, c as readSandboxCommandRun, l as readSandboxFileWrite, u as sandboxRefusal } from "./core-zgz5sorX.js";
@@ -582,6 +582,23 @@ interface TenantPage {
582
582
  /** Pass as page_before to fetch the previous page; null means no previous page. */
583
583
  page_before: string | null;
584
584
  }
585
+ type DocumentationSearchResultsItem = {
586
+ path: string;
587
+ url: string;
588
+ page: string;
589
+ heading: string;
590
+ text: string;
591
+ };
592
+ interface DocumentationSearch {
593
+ results: DocumentationSearchResultsItem[];
594
+ }
595
+ type SearchDocumentationParams = {
596
+ /**
597
+ * @minLength 1
598
+ * @maxLength 255
599
+ */
600
+ q: string;
601
+ };
585
602
  type ListTenantsParams = {
586
603
  /**
587
604
  * Case-insensitive literal substring of name or external_id. Trimmed, blank means no search.
@@ -652,13 +669,9 @@ type GetTenantUserUsageParams = {
652
669
  * @maxLength 3699
653
670
  */
654
671
  user_ids: string;
655
- /**
656
- * Inclusive start timestamp, with Z or a numeric timezone offset.
657
- */
672
+ /** Inclusive start timestamp, with Z or a numeric timezone offset. */
658
673
  start: string;
659
- /**
660
- * Exclusive end timestamp, with Z or a numeric timezone offset.
661
- */
674
+ /** Exclusive end timestamp, with Z or a numeric timezone offset. */
662
675
  end: string;
663
676
  };
664
677
  type ListThreadsParams = {
@@ -875,6 +888,12 @@ type PersonalMcpBindBrowserBody = {
875
888
  type PersonalMcpCompleteAuthorizationBody = {
876
889
  attempt_id: string;
877
890
  };
891
+ declare const getSearchDocumentationUrl: (params: SearchDocumentationParams) => string;
892
+ /**
893
+ * Search the published guides and API reference. Returns up to five matching pages with relative URLs and the best matching section. Accepts the same credentials as the resource APIs.
894
+ * @summary Search documentation
895
+ */
896
+ declare const searchDocumentation: (params: SearchDocumentationParams, options: Parameters<typeof astralBeamApiFetch>[1]) => Promise<DocumentationSearch>;
878
897
  declare const getListTenantsUrl: (params: ListTenantsParams) => string;
879
898
  /**
880
899
  * List Tenants in internal ID order. q searches name or external ID as a case-insensitive literal substring. filter[external_id] adds an exact match. Organization keys and organization-management JWTs see their organization; admin tenant JWTs see only their signed Tenant. Keep filters unchanged when reusing cursors. Live listing, not a snapshot.
@@ -1055,4 +1074,4 @@ declare const personalMcpBindBrowser: (id: string, personalMcpBindBrowserBody: P
1055
1074
  declare const getPersonalMcpCompleteAuthorizationUrl: (id: string) => string;
1056
1075
  declare const personalMcpCompleteAuthorization: (id: string, personalMcpCompleteAuthorizationBody: PersonalMcpCompleteAuthorizationBody, options: Parameters<typeof astralBeamJwtFetch>[1]) => Promise<boolean>;
1057
1076
  //#endregion
1058
- export { ListChatParticipantsParams as $, personalMcpDisconnectConnection as $n, getCreateChatThreadUrl as $t, ChatToolResultReceiptEncoded as A, getResolveChatToolResultUrl as An, TenantUserPage as At, CreateTenantUserInputMetadata as B, getUpdateTenantUserUrl as Bn, UploadChatFileBody as Bt, ChatRunInputForwardedProps as C, getPersonalMcpCompleteAuthorizationUrl as Cn, ResolveChatToolResultInputEncodedResultsItemOutcome as Ct, ChatThreadEncoded as D, getPersonalMcpSetHeadersUrl as Dn, TenantPage as Dt, ChatTenantUserPage as E, getPersonalMcpGetCatalogUrl as En, SetChatParticipantInputEncodedRole as Et, ChatUsageUsageLimitsItemScope as F, getTenantUser as Fn, UpdateChatThreadInputEncoded as Ft, DirectoryThreadHistoryPage as G, listTenants as Gn, UploadedChatFile as Gt, DeleteChatThreadParams as H, listChatMessages as Hn, UploadChatFileBodySource as Ht, CreateChatThreadInputEncoded as I, getTenantUserUsage as In, UpdateTenantInput as It, GetChatUsageParams as J, listUsersForTenant as Jn, createTenantUser as Jt, DirectoryThreadPage as K, listThreadMessages as Kn, createChatThread as Kt, CreateTenantInput as L, getThreadAttachment as Ln, UpdateTenantInputMetadata as Lt, ChatUsage as M, getSearchChatTenantUsersUrl as Mn, TenantUserRecordEncodedMetadata as Mt, ChatUsageUsageLimitsItem as N, getSetChatParticipantUrl as Nn, TenantUserUsage as Nt, ChatThreadEncodedRole as O, getPersonalMcpTestConnectionUrl as On, TenantRecordEncoded as Ot, ChatUsageUsageLimitsItemMetric as P, getTenant as Pn, TenantUserUsageItemsItem as Pt, ListChatMessagesParams as Q, personalMcpCreateConnection as Qn, getChatUsage as Qt, CreateTenantInputMetadata as R, getUpdateChatThreadUrl as Rn, UpdateTenantUserInput as Rt, ChatRunInput as S, getPersonalMcpBindBrowserUrl as Sn, ResolveChatToolResultInputEncodedResultsItem as St, ChatTenantUserEncoded as T, getPersonalMcpDisconnectConnectionUrl as Tn, SetChatParticipantInputEncoded as Tt, DirectoryThreadEncoded as U, listChatParticipants as Un, UploadChatFileBodySourceType as Ut, CurrentUser as V, getUploadChatFileUrl as Vn, UploadChatFileBodyMetadata as Vt, DirectoryThreadEncodedParticipantsItem as W, listChatThreads as Wn, UploadChatFileBodyType as Wt, GetThreadAttachmentDelivery as X, personalMcpBindBrowser as Xn, getChatConfig as Xt, GetTenantUserUsageParams as Y, personalMcpAuthorizeConnection as Yn, deleteChatThread as Yt, GetThreadAttachmentParams as Z, personalMcpCompleteAuthorization as Zn, getChatThread as Zt, ChatMessageEncodedRole as _, getListThreadMessagesUrl as _n, isAstralBeamApiError as _r, PersonalMcpSetHeadersBody as _t, ChatConfigurationCapabilities as a, getGetChatThreadUrl as an, runChat as ar, ListUsersForTenantParams as at, ChatParticipantEncodedRole as b, getOrganization as bn, RemoveChatParticipantParams as bt, ChatHistoryPageEncodedMessagesItemPartsItem as c, getGetOrganizationUrl as cn, updateChatThread as cr, McpServerEncoded as ct, ChatHistoryPageEncodedPendingInteractionsItem as d, getGetTenantUserUsageUrl as dn, uploadChatFile as dr, PersonalMcpAuthorizeConnection200 as dt, getCreateTenantUrl as en, personalMcpGetCatalog as er, ListChatThreadsParams as et, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation as f, getGetThreadAttachmentUrl as fn, ApiKeyOptions as fr, PersonalMcpAuthorizeConnection200Attempt as ft, ChatMessageEncodedPartsItem as g, getListTenantsUrl as gn, JwtOptions as gr, PersonalMcpGetCatalog200 as gt, ChatMessageEncoded as h, getListChatThreadsUrl as hn, AstralBeamApiError$1 as hr, PersonalMcpCreateConnectionBody as ht, ChatConfiguration as i, getGetChatConfigUrl as in, resolveChatToolResult as ir, ListUsersForTenantFilterAdmin as it, ChatToolResultReceiptEncodedUsageLimit as j, getRunChatUrl as jn, TenantUserRecordEncoded as jt, ChatThreadPage as k, getRemoveChatParticipantUrl as kn, TenantRecordEncodedMetadata as kt, ChatHistoryPageEncodedMessagesItemRole as l, getGetTenantUrl as ln, updateTenant as lr, McpServerEncodedAuthKind as lt, ChatHistoryPageEncodedThreadRole as m, getListChatParticipantsUrl as mn, ApiRequestOptions as mr, PersonalMcpCompleteAuthorizationBody as mt, AstralBeamApiErrorIssuesItem as n, getCurrentUser as nn, personalMcpTestConnection as nr, ListThreadMessagesParams as nt, ChatHistoryPageEncoded as o, getGetChatUsageUrl as on, searchChatTenantUsers as or, McpConnectionEncoded as ot, ChatHistoryPageEncodedThread as p, getListChatMessagesUrl as pn, ApiOptions as pr, PersonalMcpBindBrowserBody as pt, GetChatConfigParams as q, listThreads as qn, createTenant as qt, AstralBeamApiErrorUsageLimit as r, getDeleteChatThreadUrl as rn, removeChatParticipant as rr, ListThreadsParams as rt, ChatHistoryPageEncodedMessagesItem as s, getGetCurrentUserUrl as sn, setChatParticipant as sr, McpConnectionEncodedAuthState as st, AstralBeamApiError as t, getCreateTenantUserUrl as tn, personalMcpSetHeaders as tr, ListTenantsParams as tt, ChatHistoryPageEncodedMessagesItemState as u, getGetTenantUserUrl as un, updateTenantUser as ur, Organization as ut, ChatMessageEncodedState as v, getListThreadsUrl as vn, PersonalMcpSetHeadersBodyHeaders as vt, ChatSubmissionReceiptEncoded as w, getPersonalMcpCreateConnectionUrl as wn, SearchChatTenantUsersParams as wt, ChatParticipantPage as x, getPersonalMcpAuthorizeConnectionUrl as xn, ResolveChatToolResultInputEncoded as xt, ChatParticipantEncoded as y, getListUsersForTenantUrl as yn, PersonalMcpTestConnection200 as yt, CreateTenantUserInput as z, getUpdateTenantUrl as zn, UpdateTenantUserInputMetadata as zt };
1077
+ export { GetThreadAttachmentParams as $, personalMcpAuthorizeConnection as $n, getChatConfig as $t, ChatToolResultReceiptEncoded as A, getPersonalMcpSetHeadersUrl as An, TenantPage as At, CreateTenantUserInputMetadata as B, getTenantUserUsage as Bn, UpdateTenantInputMetadata as Bt, ChatRunInputForwardedProps as C, getOrganization as Cn, ResolveChatToolResultInputEncoded as Ct, ChatThreadEncoded as D, getPersonalMcpCreateConnectionUrl as Dn, SearchDocumentationParams as Dt, ChatTenantUserPage as E, getPersonalMcpCompleteAuthorizationUrl as En, SearchChatTenantUsersParams as Et, ChatUsageUsageLimitsItemScope as F, getSearchChatTenantUsersUrl as Fn, TenantUserRecordEncodedMetadata as Ft, DirectoryThreadHistoryPage as G, getUploadChatFileUrl as Gn, UploadChatFileBodySource as Gt, DeleteChatThreadParams as H, getUpdateChatThreadUrl as Hn, UpdateTenantUserInputMetadata as Ht, CreateChatThreadInputEncoded as I, getSearchDocumentationUrl as In, TenantUserUsage as It, DocumentationSearchResultsItem as J, listChatThreads as Jn, UploadedChatFile as Jt, DirectoryThreadPage as K, listChatMessages as Kn, UploadChatFileBodySourceType as Kt, CreateTenantInput as L, getSetChatParticipantUrl as Ln, TenantUserUsageItemsItem as Lt, ChatUsage as M, getRemoveChatParticipantUrl as Mn, TenantRecordEncodedMetadata as Mt, ChatUsageUsageLimitsItem as N, getResolveChatToolResultUrl as Nn, TenantUserPage as Nt, ChatThreadEncodedRole as O, getPersonalMcpDisconnectConnectionUrl as On, SetChatParticipantInputEncoded as Ot, ChatUsageUsageLimitsItemMetric as P, getRunChatUrl as Pn, TenantUserRecordEncoded as Pt, GetThreadAttachmentDelivery as Q, listUsersForTenant as Qn, deleteChatThread as Qt, CreateTenantInputMetadata as R, getTenant as Rn, UpdateChatThreadInputEncoded as Rt, ChatRunInput as S, getListUsersForTenantUrl as Sn, isAstralBeamApiError as Sr, RemoveChatParticipantParams as St, ChatTenantUserEncoded as T, getPersonalMcpBindBrowserUrl as Tn, ResolveChatToolResultInputEncodedResultsItemOutcome as Tt, DirectoryThreadEncoded as U, getUpdateTenantUrl as Un, UploadChatFileBody as Ut, CurrentUser as V, getThreadAttachment as Vn, UpdateTenantUserInput as Vt, DirectoryThreadEncodedParticipantsItem as W, getUpdateTenantUserUrl as Wn, UploadChatFileBodyMetadata as Wt, GetChatUsageParams as X, listThreadMessages as Xn, createTenant as Xt, GetChatConfigParams as Y, listTenants as Yn, createChatThread as Yt, GetTenantUserUsageParams as Z, listThreads as Zn, createTenantUser as Zt, ChatMessageEncodedRole as _, getListChatParticipantsUrl as _n, ApiKeyOptions as _r, PersonalMcpCreateConnectionBody as _t, ChatConfigurationCapabilities as a, getCurrentUser as an, personalMcpSetHeaders as ar, ListThreadsParams as at, ChatParticipantEncodedRole as b, getListThreadMessagesUrl as bn, AstralBeamApiError$1 as br, PersonalMcpSetHeadersBodyHeaders as bt, ChatHistoryPageEncodedMessagesItemPartsItem as c, getGetChatThreadUrl as cn, resolveChatToolResult as cr, McpConnectionEncoded as ct, ChatHistoryPageEncodedPendingInteractionsItem as d, getGetOrganizationUrl as dn, searchDocumentation as dr, McpServerEncodedAuthKind as dt, getChatThread as en, personalMcpBindBrowser as er, ListChatMessagesParams as et, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation as f, getGetTenantUrl as fn, setChatParticipant as fr, Organization as ft, ChatMessageEncodedPartsItem as g, getListChatMessagesUrl as gn, uploadChatFile as gr, PersonalMcpCompleteAuthorizationBody as gt, ChatMessageEncoded as h, getGetThreadAttachmentUrl as hn, updateTenantUser as hr, PersonalMcpBindBrowserBody as ht, ChatConfiguration as i, getCreateTenantUserUrl as in, personalMcpGetCatalog as ir, ListThreadMessagesParams as it, ChatToolResultReceiptEncodedUsageLimit as j, getPersonalMcpTestConnectionUrl as jn, TenantRecordEncoded as jt, ChatThreadPage as k, getPersonalMcpGetCatalogUrl as kn, SetChatParticipantInputEncodedRole as kt, ChatHistoryPageEncodedMessagesItemRole as l, getGetChatUsageUrl as ln, runChat as lr, McpConnectionEncodedAuthState as lt, ChatHistoryPageEncodedThreadRole as m, getGetTenantUserUsageUrl as mn, updateTenant as mr, PersonalMcpAuthorizeConnection200Attempt as mt, AstralBeamApiErrorIssuesItem as n, getCreateChatThreadUrl as nn, personalMcpCreateConnection as nr, ListChatThreadsParams as nt, ChatHistoryPageEncoded as o, getDeleteChatThreadUrl as on, personalMcpTestConnection as or, ListUsersForTenantFilterAdmin as ot, ChatHistoryPageEncodedThread as p, getGetTenantUserUrl as pn, updateChatThread as pr, PersonalMcpAuthorizeConnection200 as pt, DocumentationSearch as q, listChatParticipants as qn, UploadChatFileBodyType as qt, AstralBeamApiErrorUsageLimit as r, getCreateTenantUrl as rn, personalMcpDisconnectConnection as rr, ListTenantsParams as rt, ChatHistoryPageEncodedMessagesItem as s, getGetChatConfigUrl as sn, removeChatParticipant as sr, ListUsersForTenantParams as st, AstralBeamApiError as t, getChatUsage as tn, personalMcpCompleteAuthorization as tr, ListChatParticipantsParams as tt, ChatHistoryPageEncodedMessagesItemState as u, getGetCurrentUserUrl as un, searchChatTenantUsers as ur, McpServerEncoded as ut, ChatMessageEncodedState as v, getListChatThreadsUrl as vn, ApiOptions as vr, PersonalMcpGetCatalog200 as vt, ChatSubmissionReceiptEncoded as w, getPersonalMcpAuthorizeConnectionUrl as wn, ResolveChatToolResultInputEncodedResultsItem as wt, ChatParticipantPage as x, getListThreadsUrl as xn, JwtOptions as xr, PersonalMcpTestConnection200 as xt, ChatParticipantEncoded as y, getListTenantsUrl as yn, ApiRequestOptions as yr, PersonalMcpSetHeadersBody as yt, CreateTenantUserInput as z, getTenantUser as zn, UpdateTenantInput as zt };
@@ -1,4 +1,4 @@
1
- import { Gt as UploadedChatFile, V as CurrentUser, Z as GetThreadAttachmentParams, er as personalMcpGetCatalog, gr as JwtOptions, ot as McpConnectionEncoded, yt as PersonalMcpTestConnection200 } from "./index-DF5gqYlY.js";
1
+ import { $ as GetThreadAttachmentParams, Jt as UploadedChatFile, V as CurrentUser, ct as McpConnectionEncoded, ir as personalMcpGetCatalog, xr as JwtOptions, xt as PersonalMcpTestConnection200 } from "./index-CI5Jut1h.js";
2
2
  //#region ../node_modules/.bun/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts
3
3
  /** The Standard Typed interface. This is a base type extended by other specs. */
4
4
  interface StandardTypedV1<Input = unknown, Output = Input> {
@@ -116,7 +116,7 @@ declare namespace StandardJSONSchemaV1 {
116
116
  type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
117
117
  }
118
118
  //#endregion
119
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/middleware/capabilities.d.ts
119
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/middleware/capabilities.d.ts
120
120
  /**
121
121
  * The minimal context shape a capability accessor needs. The full
122
122
  * `ChatMiddlewareContext` satisfies this (it has `capabilities`), so accessors
@@ -169,7 +169,7 @@ declare class CapabilityRegistry {
169
169
  has(handle: CapabilityHandle): boolean;
170
170
  }
171
171
  //#endregion
172
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/interrupts.d.ts
172
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/interrupts.d.ts
173
173
  interface InterruptCorrelation {
174
174
  threadId: string;
175
175
  interruptedRunId: string;
@@ -2873,11 +2873,11 @@ type SubagentInfo = {
2873
2873
  description?: string;
2874
2874
  };
2875
2875
  //#endregion
2876
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/ag-ui-usage.d.ts
2876
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/ag-ui-usage.d.ts
2877
2877
  /** TokenUsage fields that have no AG-UI `usage[]` equivalent. */
2878
2878
  type TokenUsageLeftover = Omit<TokenUsage$1, 'promptTokens' | 'completionTokens' | 'totalTokens'>;
2879
2879
  //#endregion
2880
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/utilities/subagent-wire.d.ts
2880
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/utilities/subagent-wire.d.ts
2881
2881
  /**
2882
2882
  * Card data that travels on each child wire message, in
2883
2883
  * `metadata.tanstack.subagent`. The messages carry the AG-UI `subagentRunId`.
@@ -2887,7 +2887,7 @@ interface SubagentWireInfo extends SubagentInfo, Pick<SubagentHandleData, 'statu
2887
2887
  placeholder?: true;
2888
2888
  }
2889
2889
  //#endregion
2890
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/types.d.ts
2890
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/types.d.ts
2891
2891
  /**
2892
2892
  * Tool call states - track the lifecycle of a tool call
2893
2893
  */
@@ -3913,7 +3913,7 @@ interface SubagentErrorEvent extends SubagentErrorEvent$1 {}
3913
3913
  */
3914
3914
  type StreamChunk = AGUIEvent;
3915
3915
  //#endregion
3916
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/interrupt-definition.d.ts
3916
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/interrupt-definition.d.ts
3917
3917
  type PortableSchema = StandardJSONSchemaV1<any, any> | StandardSchemaV1$1<any, any>;
3918
3918
  type InterruptInput<TPayloadSchema extends PortableSchema | undefined, TPayload = unknown> = {
3919
3919
  key: string;
@@ -3955,7 +3955,7 @@ interface InterruptDefinition<TId extends string, TPayloadSchema extends Portabl
3955
3955
  interrupt: InterruptRequestMethod<TId, TPayloadSchema, TResponseSchema, TPayload, TPayloadInput>;
3956
3956
  }
3957
3957
  //#endregion
3958
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/tool-definition.d.ts
3958
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/tools/tool-definition.d.ts
3959
3959
  /**
3960
3960
  * Type-level brand key for {@link ToolApprovalCapabilityMarker}. Only ever used
3961
3961
  * in type positions, but it must stay exported: a `unique symbol` referenced by
@@ -4037,7 +4037,7 @@ type InferToolOutput<T> = T extends {
4037
4037
  outputSchema?: infer TOutput;
4038
4038
  } ? TOutput extends StandardJSONSchemaV1<any, any> ? InferSchemaType<TOutput> : TOutput extends StandardSchemaV1$1<any, any> ? InferSchemaType<TOutput> : TOutput extends JSONSchema ? unknown : InferSchemaType<TOutput> : unknown;
4039
4039
  //#endregion
4040
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/byok/define-provider.d.ts
4040
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/byok/define-provider.d.ts
4041
4041
  /**
4042
4042
  * A BYOK provider declared by an adapter. `id` is the `x-byok-<id>` slug and
4043
4043
  * is required — `{ id?: string }` is not a {@link ByokProvider}.
@@ -4057,14 +4057,14 @@ interface ByokProvider<TId extends string = string> {
4057
4057
  readonly with?: ReadonlyArray<ByokProvider>;
4058
4058
  }
4059
4059
  //#endregion
4060
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/byok/providers.d.ts
4060
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/byok/providers.d.ts
4061
4061
  /**
4062
4062
  * Provider ids are open slugs, not a closed catalog. `@tanstack/ai` does not
4063
4063
  * list adapters. Any matching string is a valid id and becomes `x-byok-<id>`.
4064
4064
  */
4065
4065
  type ProviderId = string;
4066
4066
  //#endregion
4067
- //#region ../node_modules/.bun/@tanstack+ai@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/types.d.ts
4067
+ //#region ../node_modules/.bun/@tanstack+ai@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai/dist/esm/activities/chat/stream/types.d.ts
4068
4068
  /**
4069
4069
  * Strategy for determining when to emit text updates
4070
4070
  */
@@ -4082,7 +4082,7 @@ interface ChunkStrategy {
4082
4082
  reset?: () => void;
4083
4083
  }
4084
4084
  //#endregion
4085
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/byok/storage.d.ts
4085
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/byok/storage.d.ts
4086
4086
  type Keyring = Partial<Record<ProviderId, string>>;
4087
4087
  type KeyPreview = Partial<Record<ProviderId, string>>;
4088
4088
  interface KeyringStorage {
@@ -4097,7 +4097,7 @@ interface KeyringStorage {
4097
4097
  clear: () => void | Promise<void>;
4098
4098
  }
4099
4099
  //#endregion
4100
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/byok/client.d.ts
4100
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/byok/client.d.ts
4101
4101
  type KeyStatus = {
4102
4102
  state: 'empty';
4103
4103
  } | {
@@ -4152,7 +4152,7 @@ declare class ByokClient {
4152
4152
  unlock(): Promise<void>;
4153
4153
  }
4154
4154
  //#endregion
4155
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/events.d.ts
4155
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/events.d.ts
4156
4156
  interface ChatClientRunEventContext {
4157
4157
  threadId: string;
4158
4158
  runId: string;
@@ -4268,7 +4268,7 @@ declare abstract class ChatClientEventEmitter {
4268
4268
  toolFixtureApplied(fixture: ChatClientToolFixtureAppliedEvent): void;
4269
4269
  }
4270
4270
  //#endregion
4271
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/devtools.d.ts
4271
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/devtools.d.ts
4272
4272
  interface AIDevtoolsDisplayOptions {
4273
4273
  name?: string;
4274
4274
  }
@@ -4436,10 +4436,10 @@ declare class ChatDevtoolsBridge extends ClientDevtoolsBridge<AIDevtoolsChatSnap
4436
4436
  private findClientTool;
4437
4437
  }
4438
4438
  //#endregion
4439
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/devtools-noop.d.ts
4439
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/devtools-noop.d.ts
4440
4440
  type ChatDevtoolsBridgeFactory = (options: ChatDevtoolsBridgeOptions) => ChatDevtoolsBridge;
4441
4441
  //#endregion
4442
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/types.d.ts
4442
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/types.d.ts
4443
4443
  interface ChatResumeState {
4444
4444
  threadId: string;
4445
4445
  runId: string;
@@ -5234,7 +5234,7 @@ interface ChatClientBaseOptions<TTools extends ReadonlyArray<AnyClientTool> = an
5234
5234
  */
5235
5235
  type ChatClientOptions<TTools extends ReadonlyArray<AnyClientTool> = any, TContext = InferredClientContext<TTools>, TInterrupts extends ReadonlyArray<InterruptDefinition<any, any, any, any>> = readonly []> = DistributedOmit<ChatClientBaseOptions<TTools, TContext, TInterrupts>, 'context'> & ClientContextOptionFromTools<TTools, TContext> & ChatTransport & ChatPersistenceOptions<TTools>;
5236
5236
  //#endregion
5237
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/connection-adapters.d.ts
5237
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/connection-adapters.d.ts
5238
5238
  /**
5239
5239
  * Per-send context provided by the chat client to the connection adapter.
5240
5240
  * The adapter combines this with serialized messages to build a full
@@ -5403,7 +5403,7 @@ interface SubscribeConnectionAdapter {
5403
5403
  */
5404
5404
  type ConnectionAdapter = ConnectConnectionAdapter | SubscribeConnectionAdapter;
5405
5405
  //#endregion
5406
- //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+367daa2260c029d6/node_modules/@tanstack/ai-client/dist/esm/chat-client.d.ts
5406
+ //#region ../node_modules/.bun/@tanstack+ai-client@1.0.0+ac75b968c23456b3/node_modules/@tanstack/ai-client/dist/esm/chat-client.d.ts
5407
5407
  type ChatClientUpdateOptionsWithoutContext<TTools extends ReadonlyArray<AnyClientTool>, TInterrupts extends ReadonlyArray<InterruptDefinition<any, any, any, any>> = readonly []> = {
5408
5408
  connection?: ConnectionAdapter;
5409
5409
  fetcher?: ChatFetcher;
package/dist/react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { D as AstralBeamChatState, E as AstralBeamChatCoreOptions, T as AstralBeamChatCore } from "./index-CXzO4-3C.js";
1
+ import { D as AstralBeamChatState, E as AstralBeamChatCoreOptions, T as AstralBeamChatCore } from "./index-Cg2qqahU.js";
2
2
  import { CSSProperties, ReactNode } from "react";
3
3
  import { AstralBeamChatAttachmentOptions, AstralBeamChatColorScheme, AstralBeamChatTheme, AstralBeamListingHandle, AstralBeamTokenRequest, AstralBeamTokenSource, InferParameters, JsonSchemaObject, MountAstralBeamChatOptions, MountAstralBeamMcpServersOptions, MountAstralBeamTenantListOptions, MountAstralBeamTenantUserListOptions, MountAstralBeamThreadListOptions, ParametersSchema, ToolDefinition, WidgetDefinition as WidgetDefinition$1, defineTool } from "@astralbeam/sdk/client";
4
4
  //#region src/react/listings.d.ts
package/dist/react.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as CORE_OPTION_KEYS, r as createAstralBeamChat } from "./core-Vz6aUEaN.js";
2
- import { Wt as DEFAULT_COLOR_SCHEME } from "./api-BYkm7p8c.js";
1
+ import { n as CORE_OPTION_KEYS, r as createAstralBeamChat } from "./core-zgz5sorX.js";
2
+ import { Kt as DEFAULT_COLOR_SCHEME } from "./api-CzXKVU8Z.js";
3
3
  import { forwardRef, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { defineTool, mountAstralBeamChat, mountAstralBeamMcpServers, mountAstralBeamTenantList, mountAstralBeamTenantUserList, mountAstralBeamThreadList } from "@astralbeam/sdk/client";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astralbeam/sdk",
3
- "version": "0.24.0",
3
+ "version": "0.25.1",
4
4
  "description": "Frontend SDK for AstralBeam: drop-in agent UI, chat streaming, and server helpers",
5
5
  "homepage": "https://astralbeam.ai",
6
6
  "bugs": "https://github.com/AstralBeamAI/astralbeam/issues",
@@ -61,8 +61,8 @@
61
61
  "access": "public"
62
62
  },
63
63
  "scripts": {
64
- "build": "bun run generate:styles && tsdown --platform browser && bun pm pack --dry-run --quiet",
65
- "dev": "bun run generate:styles && (tailwindcss --input src/styles.css --output .generated/styles.css --minify --watch=always & bun run scripts/embed-styles.ts --watch & tsdown --platform browser --watch --no-clean)",
64
+ "build": "bun run generate:styles && tsdown && bun pm pack --dry-run --quiet",
65
+ "dev": "bun run generate:styles && (tailwindcss --input src/styles.css --output .generated/styles.css --minify --watch=always & bun run scripts/embed-styles.ts --watch & tsdown --watch --no-clean)",
66
66
  "generate:styles": "tailwindcss --input src/styles.css --output .generated/styles.css --minify && bun run scripts/embed-styles.ts",
67
67
  "generate:api": "orval && oxfmt src/api/generated",
68
68
  "api:check": "bun run generate:api && git diff --exit-code -- src/api/generated",
@@ -107,7 +107,7 @@
107
107
  "eslint-plugin-regexp": "^3.3.1",
108
108
  "jose": "^6.2.9",
109
109
  "knip": "^6.32.2",
110
- "orval": "8.39.0",
110
+ "orval": "^8.46.0",
111
111
  "oxfmt": "^0.70.0",
112
112
  "oxlint": "^1.85.0",
113
113
  "oxlint-tsgolint": "^7.0.2002",
@@ -132,6 +132,5 @@
132
132
  "react-dom": {
133
133
  "optional": true
134
134
  }
135
- },
136
- "packageManager": "bun@1.4.4"
135
+ }
137
136
  }