@standardagents/builder 0.38.0 → 0.38.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/dist/built-in-routes.js +1165 -366
- package/dist/built-in-routes.js.map +1 -1
- package/dist/client/{ApiKeysView-L85eJb6G.js → ApiKeysView-AH5i-H6j.js} +1 -1
- package/dist/client/CenteredContentView-DaBp0K-A.js +1 -0
- package/dist/client/{CompositionView-BGp0EJCk.js → CompositionView-yY1Q4M23.js} +1 -1
- package/dist/client/{ConfirmDialog.vue_vue_type_script_setup_true_lang-DgwqZrLV.js → ConfirmDialog.vue_vue_type_script_setup_true_lang-Bwo5CJzF.js} +1 -1
- package/dist/client/{CopyButton.vue_vue_type_script_setup_true_lang-B8cGgU2J.js → CopyButton.vue_vue_type_script_setup_true_lang-D0WYwWyA.js} +1 -1
- package/dist/client/{DataTable.vue_vue_type_script_setup_true_lang-CRBXym9D.js → DataTable.vue_vue_type_script_setup_true_lang-1wwPn2aY.js} +1 -1
- package/dist/client/{JsonViewer-DkHnIfq3.js → JsonViewer-Bi8Zdmir.js} +1 -1
- package/dist/client/LoginView-BIKahEU6.js +1 -0
- package/dist/client/{MarketplaceView-DEnujUBs.js → MarketplaceView-DPDPVH68.js} +1 -1
- package/dist/client/{Modal.vue_vue_type_script_setup_true_lang-keKEwm3K.js → Modal.vue_vue_type_script_setup_true_lang-D1_rfOsy.js} +1 -1
- package/dist/client/{ModelModal.vue_vue_type_script_setup_true_lang-t1n0bbJe.js → ModelModal.vue_vue_type_script_setup_true_lang-DSLeOdxr.js} +1 -1
- package/dist/client/{ModelsView-BkCLr8sp.js → ModelsView-Q2WXu1Gw.js} +1 -1
- package/dist/client/{PromptEditView-BjCfsJQE.js → PromptEditView-BzA-3n1w.js} +1 -1
- package/dist/client/{PromptModal-nxu_LIv6.js → PromptModal-CJWh_cru.js} +1 -1
- package/dist/client/{PromptsView-1yXGCmEZ.js → PromptsView-BezNl-Et.js} +1 -1
- package/dist/client/{ProvidersView-DxF6gafk.js → ProvidersView-BuzSKxuT.js} +1 -1
- package/dist/client/ThreadInspectorPane.vue_vue_type_script_setup_true_lang-DOxNp_3C.js +22 -0
- package/dist/client/{ThreadsView-CBup_w8u.js → ThreadsView-DPCpZA4J.js} +1 -1
- package/dist/client/{ToolsView-B30TfXU9.js → ToolsView-DMjFMAhH.js} +1 -1
- package/dist/client/{UiCodeBlock.vue_vue_type_script_setup_true_lang-BdyzSxZZ.js → UiCodeBlock.vue_vue_type_script_setup_true_lang-7FgZmkfs.js} +1 -1
- package/dist/client/{UsersView-kE7Xr4f3.js → UsersView-B7jXLNQs.js} +1 -1
- package/dist/client/{VariablesView-yYuynG0M.js → VariablesView-CF7x0G8g.js} +1 -1
- package/dist/client/assets/{ThreadInspectorPane-BRGO_P0_.css → ThreadInspectorPane-CZMdV0Tb.css} +1 -1
- package/dist/client/assets/{index-B-69GGhJ.css → index-DAABRRAA.css} +1 -1
- package/dist/client/{check-YKi1o6p6.js → check-CD2lvcVi.js} +1 -1
- package/dist/client/{chevron-right-T0zzq_GX.js → chevron-right-bWZrmJ5a.js} +1 -1
- package/dist/client/{copy-C_gUGAj1.js → copy-B7nifl6a.js} +1 -1
- package/dist/client/{formkit-CE26dtFp.js → formkit-DJxUzqRQ.js} +1 -1
- package/dist/client/index-eGECJFYe.js +6 -0
- package/dist/client/index.html +6 -6
- package/dist/client/{package-B70IFSDB.js → package-Dyv7fTIQ.js} +1 -1
- package/dist/client/{plus-BN9IHYdt.js → plus-XkSslfF4.js} +1 -1
- package/dist/client/{syntax-D-ZcovVx.js → syntax-D68HCEYm.js} +1 -1
- package/dist/client/{timeAgo-G1ovbWPH.js → timeAgo-DRBdu9ed.js} +1 -1
- package/dist/client/{useActionFeedback-7pfPjKMi.js → useActionFeedback-FN4t6ezB.js} +1 -1
- package/dist/client/{vendor-TPZjEwCU.js → vendor-c_uwtQ-S.js} +13 -13
- package/dist/client/{vue-CZ-ORfS3.js → vue-BuvSxRmI.js} +1 -1
- package/dist/{index-BBu-Osn5.d.ts → index-CF-lgN47.d.ts} +74 -11
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1060 -303
- package/dist/index.js.map +1 -1
- package/dist/plugin.js +102 -68
- package/dist/plugin.js.map +1 -1
- package/dist/runtime.d.ts +68 -11
- package/dist/runtime.js +950 -225
- package/dist/runtime.js.map +1 -1
- package/dist/test.d.ts +1 -1
- package/package.json +7 -6
- package/dist/client/CenteredContentView-D9jkWoLc.js +0 -1
- package/dist/client/LoginView-BXD9Odc-.js +0 -1
- package/dist/client/ThreadInspectorPane.vue_vue_type_script_setup_true_lang-CjwWJ3uw.js +0 -22
- package/dist/client/index-AUGwDdSH.js +0 -6
|
@@ -1112,6 +1112,12 @@ interface FileStats {
|
|
|
1112
1112
|
fileCount: number;
|
|
1113
1113
|
}
|
|
1114
1114
|
|
|
1115
|
+
/** Internal storage scope. ThreadState uses its owner id and may read shared skills. */
|
|
1116
|
+
interface SkillStorageScope {
|
|
1117
|
+
ownerId: string;
|
|
1118
|
+
includeShared?: boolean;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1115
1121
|
/**
|
|
1116
1122
|
* Authentication middleware for protecting API routes
|
|
1117
1123
|
*
|
|
@@ -1139,6 +1145,8 @@ interface AuthUser {
|
|
|
1139
1145
|
interface AuthContext {
|
|
1140
1146
|
user: AuthUser;
|
|
1141
1147
|
authType: 'super_admin' | 'session' | 'api_key';
|
|
1148
|
+
/** Present only for API-key authentication; identifies the exact credential used. */
|
|
1149
|
+
credentialId?: string;
|
|
1142
1150
|
}
|
|
1143
1151
|
/**
|
|
1144
1152
|
* Project an authenticated request onto the spec's endpoint caller identity
|
|
@@ -1147,15 +1155,19 @@ interface AuthContext {
|
|
|
1147
1155
|
* never reach endpoint code.
|
|
1148
1156
|
*/
|
|
1149
1157
|
declare function endpointCallerFromAuth(auth: AuthContext | null | undefined): ThreadUser | null;
|
|
1158
|
+
type AuthenticationEnv = Pick<ThreadEnv, 'AGENT_BUILDER'> & {
|
|
1159
|
+
SUPER_ADMIN_PASSWORD?: unknown;
|
|
1160
|
+
ENCRYPTION_KEY?: unknown;
|
|
1161
|
+
};
|
|
1150
1162
|
/**
|
|
1151
1163
|
* Authenticate a request using various token types
|
|
1152
1164
|
*/
|
|
1153
|
-
declare function authenticate(request: Request, env:
|
|
1165
|
+
declare function authenticate(request: Request, env: AuthenticationEnv): Promise<AuthContext | null>;
|
|
1154
1166
|
/**
|
|
1155
1167
|
* Middleware to require authentication
|
|
1156
1168
|
* Returns 401 if not authenticated
|
|
1157
1169
|
*/
|
|
1158
|
-
declare function requireAuth(request: Request, env:
|
|
1170
|
+
declare function requireAuth(request: Request, env: AuthenticationEnv): Promise<AuthContext | Response>;
|
|
1159
1171
|
/**
|
|
1160
1172
|
* Middleware to require admin role
|
|
1161
1173
|
* Returns 401 if not authenticated, 403 if not admin
|
|
@@ -1184,7 +1196,7 @@ declare function requireAdmin(request: Request, env: any): Promise<AuthContext |
|
|
|
1184
1196
|
* lookup + access check.
|
|
1185
1197
|
* - Permission-specific checks stay at the operation boundary: reusing the
|
|
1186
1198
|
* authenticated identity never implies a permission; helpers re-evaluate
|
|
1187
|
-
* `
|
|
1199
|
+
* `hasPermissionInEnvironment`/role against the reused context on every call.
|
|
1188
1200
|
* - Controllers invoked WITHOUT router context (direct tests, standalone
|
|
1189
1201
|
* invocation, trusted-local public routes) execute their historical
|
|
1190
1202
|
* authentication path unchanged.
|
|
@@ -1534,6 +1546,18 @@ interface ThreadRegistryEntry {
|
|
|
1534
1546
|
/** Unix seconds of the newest message on this thread (never bumped by background activity). */
|
|
1535
1547
|
last_message_at?: number | null;
|
|
1536
1548
|
}
|
|
1549
|
+
/** Authentication fields returned by the instance user lookup RPC. */
|
|
1550
|
+
interface AuthenticationUser {
|
|
1551
|
+
id: string;
|
|
1552
|
+
username: string;
|
|
1553
|
+
password_hash: string;
|
|
1554
|
+
role: 'admin' | 'user' | 'api';
|
|
1555
|
+
permissions?: string | null;
|
|
1556
|
+
platform_user_id?: string | null;
|
|
1557
|
+
email?: string | null;
|
|
1558
|
+
display_name?: string | null;
|
|
1559
|
+
avatar_url?: string | null;
|
|
1560
|
+
}
|
|
1537
1561
|
/**
|
|
1538
1562
|
* RPC methods exposed by DurableAgentBuilder for external callers.
|
|
1539
1563
|
*/
|
|
@@ -1564,14 +1588,16 @@ interface DurableAgentBuilderRpc {
|
|
|
1564
1588
|
last_five: string;
|
|
1565
1589
|
key_name: string;
|
|
1566
1590
|
}): Promise<boolean>;
|
|
1567
|
-
|
|
1591
|
+
/** Delete one API key owned by the given user. */
|
|
1592
|
+
deleteApiKey(id: string, userId: string): Promise<boolean>;
|
|
1593
|
+
listSkills(scope: SkillStorageScope, options?: {
|
|
1568
1594
|
includeDisabled?: boolean;
|
|
1569
1595
|
}): Promise<SkillMetadata[]>;
|
|
1570
|
-
getSkill(name: string): Promise<SkillMetadata | null>;
|
|
1571
|
-
getSkillFile(name: string, path: string): Promise<string | null>;
|
|
1572
|
-
upsertSkill(files: SkillFileInput[]): Promise<SkillMetadata>;
|
|
1573
|
-
setSkillEnabled(name: string, enabled: boolean): Promise<boolean>;
|
|
1574
|
-
deleteSkill(name: string): Promise<boolean>;
|
|
1596
|
+
getSkill(scope: SkillStorageScope, name: string): Promise<SkillMetadata | null>;
|
|
1597
|
+
getSkillFile(scope: SkillStorageScope, name: string, path: string): Promise<string | null>;
|
|
1598
|
+
upsertSkill(scope: SkillStorageScope, files: SkillFileInput[]): Promise<SkillMetadata>;
|
|
1599
|
+
setSkillEnabled(scope: SkillStorageScope, name: string, enabled: boolean): Promise<boolean>;
|
|
1600
|
+
deleteSkill(scope: SkillStorageScope, name: string): Promise<boolean>;
|
|
1575
1601
|
resolveThreadEnv?(params: {
|
|
1576
1602
|
threadId: string;
|
|
1577
1603
|
property: string;
|
|
@@ -1749,12 +1775,47 @@ interface DurableAgentBuilderRpc {
|
|
|
1749
1775
|
}): Promise<void>;
|
|
1750
1776
|
getThreadTreeIds?(threadId: string): Promise<string[]>;
|
|
1751
1777
|
deleteThread(threadId: string): Promise<void>;
|
|
1752
|
-
getUserByUsername(username: string): Promise<
|
|
1778
|
+
getUserByUsername(username: string): Promise<AuthenticationUser | null>;
|
|
1779
|
+
getUserById(id: string): Promise<AuthenticationUser | null>;
|
|
1753
1780
|
createSession(session: {
|
|
1754
1781
|
user_id: string;
|
|
1755
1782
|
token_hash: string;
|
|
1756
1783
|
expires_at: number;
|
|
1757
1784
|
}): Promise<void>;
|
|
1785
|
+
validateSession(tokenHash: string): Promise<{
|
|
1786
|
+
user_id: string;
|
|
1787
|
+
expires_at: number;
|
|
1788
|
+
} | null>;
|
|
1789
|
+
deleteSession(tokenHash: string): Promise<void>;
|
|
1790
|
+
createSuperAdminSession(session: {
|
|
1791
|
+
token_hash: string;
|
|
1792
|
+
expires_at: number;
|
|
1793
|
+
}): Promise<void>;
|
|
1794
|
+
validateSuperAdminSession(tokenHash: string): Promise<boolean>;
|
|
1795
|
+
deleteSuperAdminSession(tokenHash: string): Promise<void>;
|
|
1796
|
+
createWebSocketTicket(params: {
|
|
1797
|
+
ticket_hash: string;
|
|
1798
|
+
pathname: string;
|
|
1799
|
+
auth_json: string;
|
|
1800
|
+
expires_at: number;
|
|
1801
|
+
}): Promise<void>;
|
|
1802
|
+
consumeWebSocketTicket(params: {
|
|
1803
|
+
ticket_hash: string;
|
|
1804
|
+
pathname: string;
|
|
1805
|
+
}): Promise<string | null>;
|
|
1806
|
+
validateApiKey(keyHash: string): Promise<{
|
|
1807
|
+
user_id: string;
|
|
1808
|
+
id: string;
|
|
1809
|
+
} | null>;
|
|
1810
|
+
consumeAuthRateLimit(params: {
|
|
1811
|
+
key: string;
|
|
1812
|
+
limit: number;
|
|
1813
|
+
window_seconds: number;
|
|
1814
|
+
}): Promise<{
|
|
1815
|
+
allowed: boolean;
|
|
1816
|
+
retry_after: number;
|
|
1817
|
+
remaining: number;
|
|
1818
|
+
}>;
|
|
1758
1819
|
loadAgent(name: string): Promise<AgentDefinition>;
|
|
1759
1820
|
}
|
|
1760
1821
|
/**
|
|
@@ -1766,6 +1827,8 @@ interface DurableAgentBuilderRpc {
|
|
|
1766
1827
|
interface ThreadEnv {
|
|
1767
1828
|
AGENT_BUILDER_THREAD: DurableObjectNamespace<DurableThreadRpc>;
|
|
1768
1829
|
AGENT_BUILDER: DurableObjectNamespace<DurableAgentBuilderRpc>;
|
|
1830
|
+
/** Exact public HTTPS hosts allowed for server-side linked-attachment fetches. */
|
|
1831
|
+
AGENT_BUILDER_ATTACHMENT_FETCH_HOSTS?: string;
|
|
1769
1832
|
/** Optional: deployments generated before 0.26.0 lack this binding. */
|
|
1770
1833
|
AGENT_BUILDER_WATCHDOG?: DurableObjectNamespace<ThreadWatchdogRpc>;
|
|
1771
1834
|
/** Optional: deployments generated before the per-user hub lack this binding. */
|
|
@@ -1859,4 +1922,4 @@ declare function defineController<Env extends ThreadEnv = ThreadEnv>(controller:
|
|
|
1859
1922
|
*/
|
|
1860
1923
|
declare function createThreadEndpointHandler<Env extends ThreadEnv = ThreadEnv>(handler: ThreadEndpointHandler): BuilderController<Env>;
|
|
1861
1924
|
|
|
1862
|
-
export { type AuthUser as A, type BuilderController as B, CLIENT_STREAM_CHUNK_BYTES as C, type FlowResult as D, type TelemetryEvent as E, type FlowState as F, type Env as G, type FileRecord as H, type ImageMetadata as I, type AttachmentRef as J, type GrepResult as K, type LLMResponse as L, type Message as M, type FileStats as N, type TextContentPart as O, type ImageContentPart as P, type MultimodalContent as Q, type RequestContext as R, type StorageBackend as S, type ToolCall as T, type MessageContent as U, type BuilderControllerContext as a, type ThreadEndpointContext as b, createThreadEndpointHandler as c, defineController as d, type ThreadEnv as e, type BuilderThreadEndpointHandler as f, authenticate as g, requireAdmin as h, endpointCallerFromAuth as i, type AuthContext as j, callClient as k, callClientStream as l, encodeStreamChunk as m, decodeStreamChunk as n, type ClientToolRequest as o, type ClientToolResponse as p, type ClientStreamRequest as q, requireAuth as r, supportsClientForwarding as s, type ClientStreamResponse as t, type ClientDuplex as u, type ClientForwarding as v, type Agent as w, type ThreadInstance as x, type ThreadMetadata as y, type ToolResult as z };
|
|
1925
|
+
export { type AuthUser as A, type BuilderController as B, CLIENT_STREAM_CHUNK_BYTES as C, type FlowResult as D, type TelemetryEvent as E, type FlowState as F, type Env as G, type FileRecord as H, type ImageMetadata as I, type AttachmentRef as J, type GrepResult as K, type LLMResponse as L, type Message as M, type FileStats as N, type TextContentPart as O, type ImageContentPart as P, type MultimodalContent as Q, type RequestContext as R, type StorageBackend as S, type ToolCall as T, type MessageContent as U, type SkillStorageScope as V, type BuilderControllerContext as a, type ThreadEndpointContext as b, createThreadEndpointHandler as c, defineController as d, type ThreadEnv as e, type BuilderThreadEndpointHandler as f, authenticate as g, requireAdmin as h, endpointCallerFromAuth as i, type AuthContext as j, callClient as k, callClientStream as l, encodeStreamChunk as m, decodeStreamChunk as n, type ClientToolRequest as o, type ClientToolResponse as p, type ClientStreamRequest as q, requireAuth as r, supportsClientForwarding as s, type ClientStreamResponse as t, type ClientDuplex as u, type ClientForwarding as v, type Agent as w, type ThreadInstance as x, type ThreadMetadata as y, type ToolResult as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModelDefinition, AgentDefinition } from './runtime.js';
|
|
2
|
-
export { AgentBuilderEnv, AgentBuilderEvent, BroadcastOptions, CodeExecutionBridge, DurableAgentBuilder, DurableThread, DurableUserHub, FlowStateSdk, FlowStateWithSdk, HubClientInfo, ImageContextConfig, InjectMessageOptions, LLMProviderInterface, NamespaceResolutionError, PromptContent, PromptDefinition, PromptIncludePart, PromptPart, PromptToolConfig, Provider, ProviderContentPart, ProviderFilePart, ProviderImagePart, ProviderRegistry, ProviderTextPart, SessionToolBinding, SessionToolConfig, SideConfig, SubagentToolConfig, SubpromptConfig, ThreadEventPayload, ThreadRegistryEntry, ThreadWatchdog, ThreadWatchdogState, ToolConfig, UpdateThreadParams, User, WatchdogCheckin, WatchdogProbeResult, buildImageDescription, canAccessThread, cat, createNamespaceContext, emitThreadEvent, enhanceFlowState, exists, find, forceTurn, generateImageDescription, getFileStats, getMessages, getMessagesToSummarize, getShortName, getThumbnail, getUnsummarizedImageAttachments, getVisibleAgentNames, getVisibleModelNames, getVisiblePromptNames, getVisibleToolNames, grep, hasImageAttachments, head, injectMessage, isAdminOnlyApiRoute, isHostedInstance, isPublicApiRoute, isQualifiedName, isTrustedLocalDevelopmentRequest, linkFile, mkdir, move, optimizeImageContext, parseQualifiedName, qualifyName, queueTool, readFile, readdir, reloadHistory, rename, replaceImagesWithDescriptions, resolveAgent, resolveHook, resolveModel, resolvePrompt, resolveTool, rmdir, stat, tail, unlink, updateThread, writeFile, writeImage } from './runtime.js';
|
|
2
|
+
export { AgentBuilderEnv, AgentBuilderEvent, BroadcastOptions, CodeExecutionBridge, DurableAgentBuilder, DurableThread, DurableUserHub, FlowStateSdk, FlowStateWithSdk, HubClientInfo, ImageContextConfig, InjectMessageOptions, LLMProviderInterface, NamespaceResolutionError, PromptContent, PromptDefinition, PromptIncludePart, PromptPart, PromptToolConfig, Provider, ProviderContentPart, ProviderFilePart, ProviderImagePart, ProviderRegistry, ProviderTextPart, SessionToolBinding, SessionToolConfig, SideConfig, SubagentToolConfig, SubpromptConfig, ThreadEventPayload, ThreadRegistryEntry, ThreadWatchdog, ThreadWatchdogState, ToolConfig, UpdateThreadParams, User, WatchdogCheckin, WatchdogProbeResult, applyRuntimeCors, buildImageDescription, canAccessThread, cat, createNamespaceContext, emitThreadEvent, enhanceFlowState, exists, find, forceTurn, generateImageDescription, getFileStats, getMessages, getMessagesToSummarize, getShortName, getThumbnail, getUnsummarizedImageAttachments, getVisibleAgentNames, getVisibleModelNames, getVisiblePromptNames, getVisibleToolNames, grep, hasImageAttachments, head, injectMessage, isAdminOnlyApiRoute, isHostedInstance, isPublicApiRoute, isQualifiedName, isSameOriginBrowserRequest, isTrustedLocalDevelopmentRequest, linkFile, mkdir, move, optimizeImageContext, parseQualifiedName, qualifyName, queueTool, readFile, readdir, reloadHistory, rename, replaceImagesWithDescriptions, resolveAgent, resolveHook, resolveModel, resolvePrompt, resolveTool, rmdir, runtimeCorsHeaders, runtimePreflightResponse, stat, tail, unlink, updateThread, writeFile, writeImage } from './runtime.js';
|
|
3
3
|
export { AgentPluginOptions, agentbuilder, builder } from './plugin.js';
|
|
4
|
-
export { w as Agent, J as AttachmentRef, j as AuthContext, A as AuthUser, f as BuilderThreadEndpointHandler, C as CLIENT_STREAM_CHUNK_BYTES, u as ClientDuplex, v as ClientForwarding, q as ClientStreamRequest, t as ClientStreamResponse, o as ClientToolRequest, p as ClientToolResponse, B as Controller, a as ControllerContext, G as Env, H as FileRecord, N as FileStats, D as FlowResult, F as FlowState, K as GrepResult, P as ImageContentPart, I as ImageMetadata, L as LLMResponse, M as Message, U as MessageContent, Q as MultimodalContent, R as RequestContext, S as StorageBackend, E as TelemetryEvent, O as TextContentPart, b as ThreadEndpointContext, e as ThreadEnv, x as ThreadInstance, y as ThreadMetadata, T as ToolCall, z as ToolResult, g as authenticate, k as callClient, l as callClientStream, c as createThreadEndpointHandler, n as decodeStreamChunk, d as defineController, m as encodeStreamChunk, i as endpointCallerFromAuth, h as requireAdmin, r as requireAuth, s as supportsClientForwarding } from './index-
|
|
4
|
+
export { w as Agent, J as AttachmentRef, j as AuthContext, A as AuthUser, f as BuilderThreadEndpointHandler, C as CLIENT_STREAM_CHUNK_BYTES, u as ClientDuplex, v as ClientForwarding, q as ClientStreamRequest, t as ClientStreamResponse, o as ClientToolRequest, p as ClientToolResponse, B as Controller, a as ControllerContext, G as Env, H as FileRecord, N as FileStats, D as FlowResult, F as FlowState, K as GrepResult, P as ImageContentPart, I as ImageMetadata, L as LLMResponse, M as Message, U as MessageContent, Q as MultimodalContent, R as RequestContext, S as StorageBackend, E as TelemetryEvent, O as TextContentPart, b as ThreadEndpointContext, e as ThreadEnv, x as ThreadInstance, y as ThreadMetadata, T as ToolCall, z as ToolResult, g as authenticate, k as callClient, l as callClientStream, c as createThreadEndpointHandler, n as decodeStreamChunk, d as defineController, m as encodeStreamChunk, i as endpointCallerFromAuth, h as requireAdmin, r as requireAuth, s as supportsClientForwarding } from './index-CF-lgN47.js';
|
|
5
5
|
export { AgentType, DefinitionLoader, GlobalNamespaceContext, HookSignatures, ImageContent, ModelCapabilities, ModelProvider, NamespaceContext, PackageSignature, PackedExports, PackedMeta, PackedMetadata, PackedNamespaceContext, PromptInput, PromptTextPart, ProviderAssistantMessage, ProviderConfigSlot, ProviderConfigSlots, ProviderConfigValueSource, ProviderDefinition, ProviderError, ProviderErrorCode, ProviderFactory, ProviderFactoryConfig, ProviderFinishReason, ProviderGeneratedImage, ProviderMessage, ProviderMessageContent, ProviderMethodOverrides, ModelCapabilities as ProviderModelCapabilities, ProviderOverride, ProviderOverrideContext, ProviderReasoningDetail, ProviderRequest, ProviderResponse, ProviderStreamChunk, ProviderSyncOverride, ProviderSystemMessage, ProviderTool, ProviderToolCallPart, ProviderToolMessage, ProviderToolResultContent, ProviderUsage, ProviderUserMessage, ReasoningConfig, StructuredPrompt, TextContent, Tool, ToolArgs, ToolArgsNode, ToolArgsRawShape, ToolContent, belongsToPackage, defineAgent, defineHook, defineModel, definePrompt, defineProvider, defineTool, isPacked, isVisibleInNamespace, mapReasoningLevel, providerConst, providerEnv, providerValue } from '@standardagents/spec';
|
|
6
6
|
export { C as ConstituentItem, D as DiscoveredPackage, N as NamespacedRegistry, P as PackingAnalysis, a as PackingOptions, b as PackingResult, c as UnpackOptions, d as UnpackResult } from './types-Bpe7IANZ.js';
|
|
7
7
|
export { D as DiscoveryConfig, P as PackageDiscoveryService, d as discoverPackages } from './discovery-DiMJWisl.js';
|