@standardagents/builder 0.37.8 → 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 +1246 -518
- 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-Lfan8QMN.d.ts → index-CF-lgN47.d.ts} +83 -12
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1155 -360
- package/dist/index.js.map +1 -1
- package/dist/plugin.js +131 -72
- package/dist/plugin.js.map +1 -1
- package/dist/runtime.d.ts +69 -11
- package/dist/runtime.js +1018 -280
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DurableObjectStorage } from '@cloudflare/workers-types';
|
|
2
2
|
import { ZodObject, ZodRawShape } from 'zod';
|
|
3
3
|
import { N as NamespacedRegistry } from './types-Bpe7IANZ.js';
|
|
4
|
-
import { ThreadState, ToolResult as ToolResult$1, VariableDefinition, HookName, HookSignatures, HookMessage, HookToolCall, HookToolResult, CodeExecutionOptions, CodeExecutionResult, InjectMessageInput, QueueMessageInput, SubagentRegistryEntry, ProviderUsagePricing, AgentDefinition, SkillMetadata, SkillFileInput, ControllerContext, Controller, ThreadEndpointHandler } from '@standardagents/spec';
|
|
4
|
+
import { ThreadState, ToolResult as ToolResult$1, VariableDefinition, HookName, HookSignatures, HookMessage, HookToolCall, HookToolResult, CodeExecutionOptions, CodeExecutionResult, InjectMessageInput, QueueMessageInput, SubagentRegistryEntry, ProviderUsagePricing, ThreadUser, AgentDefinition, SkillMetadata, SkillFileInput, ControllerContext, Controller, ThreadEndpointHandler } from '@standardagents/spec';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Callback function to execute before stream closes
|
|
@@ -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
|
*
|
|
@@ -1120,6 +1126,7 @@ interface FileStats {
|
|
|
1120
1126
|
* - User session token (validated against DurableAgentBuilder)
|
|
1121
1127
|
* - API key (validated against DurableAgentBuilder)
|
|
1122
1128
|
*/
|
|
1129
|
+
|
|
1123
1130
|
interface AuthUser {
|
|
1124
1131
|
id: string;
|
|
1125
1132
|
username: string;
|
|
@@ -1138,16 +1145,29 @@ interface AuthUser {
|
|
|
1138
1145
|
interface AuthContext {
|
|
1139
1146
|
user: AuthUser;
|
|
1140
1147
|
authType: 'super_admin' | 'session' | 'api_key';
|
|
1148
|
+
/** Present only for API-key authentication; identifies the exact credential used. */
|
|
1149
|
+
credentialId?: string;
|
|
1141
1150
|
}
|
|
1151
|
+
/**
|
|
1152
|
+
* Project an authenticated request onto the spec's endpoint caller identity
|
|
1153
|
+
* (`ThreadEndpointAuth.caller` / `ControllerContext.caller`). Returns exactly
|
|
1154
|
+
* the spec `ThreadUser` fields — internal extras like `platform_user_id`
|
|
1155
|
+
* never reach endpoint code.
|
|
1156
|
+
*/
|
|
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
|
+
};
|
|
1142
1162
|
/**
|
|
1143
1163
|
* Authenticate a request using various token types
|
|
1144
1164
|
*/
|
|
1145
|
-
declare function authenticate(request: Request, env:
|
|
1165
|
+
declare function authenticate(request: Request, env: AuthenticationEnv): Promise<AuthContext | null>;
|
|
1146
1166
|
/**
|
|
1147
1167
|
* Middleware to require authentication
|
|
1148
1168
|
* Returns 401 if not authenticated
|
|
1149
1169
|
*/
|
|
1150
|
-
declare function requireAuth(request: Request, env:
|
|
1170
|
+
declare function requireAuth(request: Request, env: AuthenticationEnv): Promise<AuthContext | Response>;
|
|
1151
1171
|
/**
|
|
1152
1172
|
* Middleware to require admin role
|
|
1153
1173
|
* Returns 401 if not authenticated, 403 if not admin
|
|
@@ -1176,7 +1196,7 @@ declare function requireAdmin(request: Request, env: any): Promise<AuthContext |
|
|
|
1176
1196
|
* lookup + access check.
|
|
1177
1197
|
* - Permission-specific checks stay at the operation boundary: reusing the
|
|
1178
1198
|
* authenticated identity never implies a permission; helpers re-evaluate
|
|
1179
|
-
* `
|
|
1199
|
+
* `hasPermissionInEnvironment`/role against the reused context on every call.
|
|
1180
1200
|
* - Controllers invoked WITHOUT router context (direct tests, standalone
|
|
1181
1201
|
* invocation, trusted-local public routes) execute their historical
|
|
1182
1202
|
* authentication path unchanged.
|
|
@@ -1526,6 +1546,18 @@ interface ThreadRegistryEntry {
|
|
|
1526
1546
|
/** Unix seconds of the newest message on this thread (never bumped by background activity). */
|
|
1527
1547
|
last_message_at?: number | null;
|
|
1528
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
|
+
}
|
|
1529
1561
|
/**
|
|
1530
1562
|
* RPC methods exposed by DurableAgentBuilder for external callers.
|
|
1531
1563
|
*/
|
|
@@ -1556,14 +1588,16 @@ interface DurableAgentBuilderRpc {
|
|
|
1556
1588
|
last_five: string;
|
|
1557
1589
|
key_name: string;
|
|
1558
1590
|
}): Promise<boolean>;
|
|
1559
|
-
|
|
1591
|
+
/** Delete one API key owned by the given user. */
|
|
1592
|
+
deleteApiKey(id: string, userId: string): Promise<boolean>;
|
|
1593
|
+
listSkills(scope: SkillStorageScope, options?: {
|
|
1560
1594
|
includeDisabled?: boolean;
|
|
1561
1595
|
}): Promise<SkillMetadata[]>;
|
|
1562
|
-
getSkill(name: string): Promise<SkillMetadata | null>;
|
|
1563
|
-
getSkillFile(name: string, path: string): Promise<string | null>;
|
|
1564
|
-
upsertSkill(files: SkillFileInput[]): Promise<SkillMetadata>;
|
|
1565
|
-
setSkillEnabled(name: string, enabled: boolean): Promise<boolean>;
|
|
1566
|
-
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>;
|
|
1567
1601
|
resolveThreadEnv?(params: {
|
|
1568
1602
|
threadId: string;
|
|
1569
1603
|
property: string;
|
|
@@ -1741,12 +1775,47 @@ interface DurableAgentBuilderRpc {
|
|
|
1741
1775
|
}): Promise<void>;
|
|
1742
1776
|
getThreadTreeIds?(threadId: string): Promise<string[]>;
|
|
1743
1777
|
deleteThread(threadId: string): Promise<void>;
|
|
1744
|
-
getUserByUsername(username: string): Promise<
|
|
1778
|
+
getUserByUsername(username: string): Promise<AuthenticationUser | null>;
|
|
1779
|
+
getUserById(id: string): Promise<AuthenticationUser | null>;
|
|
1745
1780
|
createSession(session: {
|
|
1746
1781
|
user_id: string;
|
|
1747
1782
|
token_hash: string;
|
|
1748
1783
|
expires_at: number;
|
|
1749
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
|
+
}>;
|
|
1750
1819
|
loadAgent(name: string): Promise<AgentDefinition>;
|
|
1751
1820
|
}
|
|
1752
1821
|
/**
|
|
@@ -1758,6 +1827,8 @@ interface DurableAgentBuilderRpc {
|
|
|
1758
1827
|
interface ThreadEnv {
|
|
1759
1828
|
AGENT_BUILDER_THREAD: DurableObjectNamespace<DurableThreadRpc>;
|
|
1760
1829
|
AGENT_BUILDER: DurableObjectNamespace<DurableAgentBuilderRpc>;
|
|
1830
|
+
/** Exact public HTTPS hosts allowed for server-side linked-attachment fetches. */
|
|
1831
|
+
AGENT_BUILDER_ATTACHMENT_FETCH_HOSTS?: string;
|
|
1761
1832
|
/** Optional: deployments generated before 0.26.0 lack this binding. */
|
|
1762
1833
|
AGENT_BUILDER_WATCHDOG?: DurableObjectNamespace<ThreadWatchdogRpc>;
|
|
1763
1834
|
/** Optional: deployments generated before the per-user hub lack this binding. */
|
|
@@ -1851,4 +1922,4 @@ declare function defineController<Env extends ThreadEnv = ThreadEnv>(controller:
|
|
|
1851
1922
|
*/
|
|
1852
1923
|
declare function createThreadEndpointHandler<Env extends ThreadEnv = ThreadEnv>(handler: ThreadEndpointHandler): BuilderController<Env>;
|
|
1853
1924
|
|
|
1854
|
-
export { type AuthUser as A, type BuilderController as B, CLIENT_STREAM_CHUNK_BYTES as C, type
|
|
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 {
|
|
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';
|