@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
package/dist/runtime.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as AuthContext, e as ThreadEnv, w as Agent, y as ThreadMetadata, z as ToolResult, M as Message, o as ClientToolRequest, p as ClientToolResponse, q as ClientStreamRequest, t as ClientStreamResponse, H as FileRecord, F as FlowState, N as FileStats, K as GrepResult, J as AttachmentRef, U as MessageContent, G as Env, x as ThreadInstance } from './index-
|
|
2
|
-
export { A as AuthUser, f as BuilderThreadEndpointHandler, C as CLIENT_STREAM_CHUNK_BYTES, u as ClientDuplex, v as ClientForwarding, B as Controller, a as ControllerContext, D as FlowResult, P as ImageContentPart, I as ImageMetadata, L as LLMResponse, Q as MultimodalContent, R as RequestContext, S as StorageBackend, E as TelemetryEvent, O as TextContentPart, b as ThreadEndpointContext, T as ToolCall, 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-
|
|
1
|
+
import { j as AuthContext, e as ThreadEnv, w as Agent, y as ThreadMetadata, z as ToolResult, M as Message, o as ClientToolRequest, p as ClientToolResponse, q as ClientStreamRequest, t as ClientStreamResponse, H as FileRecord, V as SkillStorageScope, F as FlowState, N as FileStats, K as GrepResult, J as AttachmentRef, U as MessageContent, G as Env, x as ThreadInstance } from './index-CF-lgN47.js';
|
|
2
|
+
export { A as AuthUser, f as BuilderThreadEndpointHandler, C as CLIENT_STREAM_CHUNK_BYTES, u as ClientDuplex, v as ClientForwarding, B as Controller, a as ControllerContext, D as FlowResult, P as ImageContentPart, I as ImageMetadata, L as LLMResponse, Q as MultimodalContent, R as RequestContext, S as StorageBackend, E as TelemetryEvent, O as TextContentPart, b as ThreadEndpointContext, T as ToolCall, 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';
|
|
3
3
|
import { CodeExecutionOptions, CodeExecutionResult, SubagentRegistryEntry, InjectMessageInput, QueueMessageInput, CredentialGrant, SkillMetadata, SkillFileInput, ModelDefinition as ModelDefinition$1, ToolArgs, PromptTextPart, PromptEnvPart, VariableDefinition, SubpromptConfig as SubpromptConfig$1, PromptToolConfig as PromptToolConfig$1, SubagentToolConfig as SubagentToolConfig$1, ReasoningConfig, SideConfig as SideConfig$1, LLMProviderInterface, ContentPart, TextPart, ImagePart, FilePart, ThreadState, NamespaceContext, DefinitionLoader } from '@standardagents/spec';
|
|
4
4
|
export { AgentType, DefinitionLoader, GlobalNamespaceContext, HookSignatures, ImageContent, ModelCapabilities, ModelProvider, NamespaceContext, PackageSignature, PackedExports, PackedMeta, PackedMetadata, PackedNamespaceContext, PromptInput, PromptTextPart, ProviderAssistantMessage, ProviderError, ProviderErrorCode, ProviderFactory, ProviderFactoryConfig, ProviderFinishReason, ProviderGeneratedImage, ProviderMessage, ProviderMessageContent, ModelCapabilities as ProviderModelCapabilities, ProviderReasoningDetail, ProviderRequest, ProviderResponse, ProviderStreamChunk, ProviderSystemMessage, ProviderTool, ProviderToolCallPart, ProviderToolMessage, ProviderToolResultContent, ProviderUsage, ProviderUserMessage, ReasoningConfig, StructuredPrompt, TextContent, Tool, ToolArgs, ToolArgsNode, ToolArgsRawShape, ToolContent, belongsToPackage, defineAgent, defineHook, defineModel, definePrompt, defineTool, isPacked, isVisibleInNamespace, mapReasoningLevel } from '@standardagents/spec';
|
|
5
5
|
import { DurableObject, WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -117,7 +117,7 @@ declare function canAccessThread(auth: AuthContext, thread: {
|
|
|
117
117
|
}): boolean;
|
|
118
118
|
|
|
119
119
|
/** Central API exposure policy shared by the generated Worker router and tests. */
|
|
120
|
-
declare function isHostedInstance(env:
|
|
120
|
+
declare function isHostedInstance(env: unknown): boolean;
|
|
121
121
|
/**
|
|
122
122
|
* Local-only conveniences are enabled by the request destination, not merely
|
|
123
123
|
* by the absence of a deployment flag. This makes an incorrectly configured
|
|
@@ -125,9 +125,23 @@ declare function isHostedInstance(env: Record<string, unknown> | undefined): boo
|
|
|
125
125
|
*/
|
|
126
126
|
declare function isTrustedLocalDevelopmentRequest(request: Request, env: Record<string, unknown> | undefined): boolean;
|
|
127
127
|
declare function isPublicApiRoute(routePath: string, request: Request, env: Record<string, unknown> | undefined): boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Reject browser requests initiated by another origin. Requests without
|
|
130
|
+
* browser provenance headers remain available to local CLI/test clients; they
|
|
131
|
+
* still need the normal route credential once bootstrap has completed.
|
|
132
|
+
*
|
|
133
|
+
* `Sec-Fetch-Site: same-origin` is a forbidden header, so a real browser that
|
|
134
|
+
* sends it is attesting same-origin even when a local reverse proxy rewrote
|
|
135
|
+
* `request.url`. Page JavaScript cannot forge that header.
|
|
136
|
+
*/
|
|
137
|
+
declare function isSameOriginBrowserRequest(request: Request): boolean;
|
|
128
138
|
/** Instance-global authoring and package-management surfaces are admin-only. */
|
|
129
139
|
declare function isAdminOnlyApiRoute(routePath: string, method?: string): boolean;
|
|
130
140
|
|
|
141
|
+
declare function runtimeCorsHeaders(request: Request, env: Record<string, unknown> | undefined): Record<string, string>;
|
|
142
|
+
declare function applyRuntimeCors(response: Response, request: Request, env: Record<string, unknown> | undefined): Response;
|
|
143
|
+
declare function runtimePreflightResponse(request: Request, env: Record<string, unknown> | undefined): Response;
|
|
144
|
+
|
|
131
145
|
type AlarmQueueStatus = "pending" | "processing" | "completed" | "failed" | "agent_canceled" | "user_canceled";
|
|
132
146
|
type EffectCancelSource = "agent" | "user";
|
|
133
147
|
interface EffectRunRecord {
|
|
@@ -183,6 +197,7 @@ interface CodeExecutionBridgeRegistration {
|
|
|
183
197
|
call(functionId: string, encodedArgs: unknown[]): Promise<unknown>;
|
|
184
198
|
}
|
|
185
199
|
|
|
200
|
+
declare const INTERNAL_TOOL_DELIVERY: unique symbol;
|
|
186
201
|
type ThreadEndpointCodeOptions = Pick<CodeExecutionOptions, "language" | "filename" | "execute" | "modules" | "memoryLimitBytes">;
|
|
187
202
|
/**
|
|
188
203
|
* Result of one watchdog assessment (see performWatchdogAssessment). Returned
|
|
@@ -1208,7 +1223,7 @@ declare class DurableThread<Env extends ThreadEnv = ThreadEnv> extends DurableOb
|
|
|
1208
1223
|
* call resolved. Returns the side to continue, or null if there is no pending
|
|
1209
1224
|
* call (unknown id or already resolved — the delivery is idempotent).
|
|
1210
1225
|
*/
|
|
1211
|
-
deliverClientToolResult(toolCallId: string, ok: boolean, result?: string, error?: string, deliveredByClientId?: string, deliveredGeneration?: number): Promise<{
|
|
1226
|
+
deliverClientToolResult(toolCallId: string, ok: boolean, result?: string, error?: string, deliveredByClientId?: string, deliveredGeneration?: number, deliveryToken?: string, internalAuthorization?: typeof INTERNAL_TOOL_DELIVERY): Promise<{
|
|
1212
1227
|
side: "a" | "b";
|
|
1213
1228
|
} | null>;
|
|
1214
1229
|
/** Default time to wait for the client to accept a stream open. */
|
|
@@ -2583,6 +2598,48 @@ declare class DurableAgentBuilder<Env extends AgentBuilderEnv = AgentBuilderEnv>
|
|
|
2583
2598
|
* Delete a session.
|
|
2584
2599
|
*/
|
|
2585
2600
|
deleteSession(tokenHash: string): Promise<void>;
|
|
2601
|
+
/** Register a short-lived super-admin token so it can be revoked alone. */
|
|
2602
|
+
createSuperAdminSession(params: {
|
|
2603
|
+
token_hash: string;
|
|
2604
|
+
expires_at: number;
|
|
2605
|
+
}): Promise<void>;
|
|
2606
|
+
/** A valid signature is insufficient: the session must still be registered. */
|
|
2607
|
+
validateSuperAdminSession(tokenHash: string): Promise<boolean>;
|
|
2608
|
+
/** Revoke only the presented super-admin session; no key rotation required. */
|
|
2609
|
+
deleteSuperAdminSession(tokenHash: string): Promise<void>;
|
|
2610
|
+
/** Register a path-bound bearer ticket for one WebSocket handshake. */
|
|
2611
|
+
createWebSocketTicket(params: {
|
|
2612
|
+
ticket_hash: string;
|
|
2613
|
+
pathname: string;
|
|
2614
|
+
auth_json: string;
|
|
2615
|
+
expires_at: number;
|
|
2616
|
+
}): Promise<void>;
|
|
2617
|
+
/**
|
|
2618
|
+
* Atomically consume a WebSocket ticket. Deleting before validating its path
|
|
2619
|
+
* means even a mistaken or malicious first presentation burns the bearer.
|
|
2620
|
+
*/
|
|
2621
|
+
consumeWebSocketTicket(params: {
|
|
2622
|
+
ticket_hash: string;
|
|
2623
|
+
pathname: string;
|
|
2624
|
+
}): Promise<string | null>;
|
|
2625
|
+
/** Atomically accept an unexpired platform handoff identifier once. */
|
|
2626
|
+
consumePlatformHandoffJti(params: {
|
|
2627
|
+
jti: string;
|
|
2628
|
+
expires_at: number;
|
|
2629
|
+
}): Promise<boolean>;
|
|
2630
|
+
/**
|
|
2631
|
+
* Atomically consume one attempt from a fixed-window authentication bucket.
|
|
2632
|
+
* The singleton Durable Object serializes calls, preventing parallel bypass.
|
|
2633
|
+
*/
|
|
2634
|
+
consumeAuthRateLimit(params: {
|
|
2635
|
+
key: string;
|
|
2636
|
+
limit: number;
|
|
2637
|
+
window_seconds: number;
|
|
2638
|
+
}): Promise<{
|
|
2639
|
+
allowed: boolean;
|
|
2640
|
+
retry_after: number;
|
|
2641
|
+
remaining: number;
|
|
2642
|
+
}>;
|
|
2586
2643
|
/**
|
|
2587
2644
|
* Create an API key.
|
|
2588
2645
|
*/
|
|
@@ -2699,22 +2756,22 @@ declare class DurableAgentBuilder<Env extends AgentBuilderEnv = AgentBuilderEnv>
|
|
|
2699
2756
|
*/
|
|
2700
2757
|
webSocketError(ws: WebSocket, error: unknown): Promise<void>;
|
|
2701
2758
|
/** Installed skills, metadata only (no file contents). */
|
|
2702
|
-
listSkills(options?: {
|
|
2759
|
+
listSkills(scope: SkillStorageScope, options?: {
|
|
2703
2760
|
includeDisabled?: boolean;
|
|
2704
2761
|
}): Promise<SkillMetadata[]>;
|
|
2705
2762
|
/** One skill's metadata (null when not installed). */
|
|
2706
|
-
getSkill(name: string): Promise<SkillMetadata | null>;
|
|
2763
|
+
getSkill(scope: SkillStorageScope, name: string): Promise<SkillMetadata | null>;
|
|
2707
2764
|
/** One bundled file's text (null when the skill or file is missing). */
|
|
2708
|
-
getSkillFile(name: string, path: string): Promise<string | null>;
|
|
2765
|
+
getSkillFile(scope: SkillStorageScope, name: string, path: string): Promise<string | null>;
|
|
2709
2766
|
/**
|
|
2710
2767
|
* Install (or replace) a skill from its file set. Validates the payload and
|
|
2711
2768
|
* the root SKILL.md frontmatter; the skill's identity always comes from
|
|
2712
2769
|
* that frontmatter. Throws SkillValidationError with an actionable message
|
|
2713
2770
|
* on any standard violation.
|
|
2714
2771
|
*/
|
|
2715
|
-
upsertSkill(files: SkillFileInput[]): Promise<SkillMetadata>;
|
|
2772
|
+
upsertSkill(scope: SkillStorageScope, files: SkillFileInput[]): Promise<SkillMetadata>;
|
|
2716
2773
|
/** Enable/disable an installed skill. Returns false when not installed. */
|
|
2717
|
-
setSkillEnabled(name: string, enabled: boolean): Promise<boolean>;
|
|
2774
|
+
setSkillEnabled(scope: SkillStorageScope, name: string, enabled: boolean): Promise<boolean>;
|
|
2718
2775
|
private sweepDeviceLogins;
|
|
2719
2776
|
startDeviceLogin(codeHash: string): Promise<void>;
|
|
2720
2777
|
/** Poll a device login. An approved row returns its token exactly once. */
|
|
@@ -2735,7 +2792,7 @@ declare class DurableAgentBuilder<Env extends AgentBuilderEnv = AgentBuilderEnv>
|
|
|
2735
2792
|
key_name: string;
|
|
2736
2793
|
}): Promise<boolean>;
|
|
2737
2794
|
/** Uninstall a skill and its files. Returns false when not installed. */
|
|
2738
|
-
deleteSkill(name: string): Promise<boolean>;
|
|
2795
|
+
deleteSkill(scope: SkillStorageScope, name: string): Promise<boolean>;
|
|
2739
2796
|
}
|
|
2740
2797
|
|
|
2741
2798
|
interface CodeExecutionBridgeProps {
|
|
@@ -4303,4 +4360,4 @@ declare function createNamespaceContext(agentDef: {
|
|
|
4303
4360
|
*/
|
|
4304
4361
|
declare function isQualifiedName(name: string): boolean;
|
|
4305
4362
|
|
|
4306
|
-
export { Agent, type AgentBuilderEnv, type AgentBuilderEvent, type AgentDefinition, AttachmentRef, AuthContext, type BroadcastOptions, ClientStreamRequest, ClientStreamResponse, ClientToolRequest, ClientToolResponse, CodeExecutionBridge, DurableAgentBuilder, DurableThread, DurableUserHub, Env, FileRecord, FileStats, FlowState, FlowStateSdk, type FlowStateWithSdk, GrepResult, type HubClientInfo, type ImageContextConfig, type InjectMessageOptions$1 as InjectMessageOptions, type Provider as LLMProviderInterface, Message, MessageContent, type ModelDefinition, NamespaceResolutionError, NamespacedRegistry, type PromptContent, type PromptDefinition, type PromptIncludePart, type PromptPart, type PromptToolConfig, type Provider$1 as Provider, type ProviderContentPart, type ProviderFilePart, type ProviderImagePart, ProviderRegistry, type ProviderTextPart, type SessionToolBinding, type SessionToolConfig, type SideConfig, type SubagentToolConfig, type SubpromptConfig, ThreadEnv, type ThreadEventPayload, ThreadInstance, ThreadMetadata, type ThreadRegistryEntry, ThreadWatchdog, type ThreadWatchdogState, type ToolConfig, ToolResult, type UpdateThreadParams, type User, type WatchdogCheckin, type 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 };
|
|
4363
|
+
export { Agent, type AgentBuilderEnv, type AgentBuilderEvent, type AgentDefinition, AttachmentRef, AuthContext, type BroadcastOptions, ClientStreamRequest, ClientStreamResponse, ClientToolRequest, ClientToolResponse, CodeExecutionBridge, DurableAgentBuilder, DurableThread, DurableUserHub, Env, FileRecord, FileStats, FlowState, FlowStateSdk, type FlowStateWithSdk, GrepResult, type HubClientInfo, type ImageContextConfig, type InjectMessageOptions$1 as InjectMessageOptions, type Provider as LLMProviderInterface, Message, MessageContent, type ModelDefinition, NamespaceResolutionError, NamespacedRegistry, type PromptContent, type PromptDefinition, type PromptIncludePart, type PromptPart, type PromptToolConfig, type Provider$1 as Provider, type ProviderContentPart, type ProviderFilePart, type ProviderImagePart, ProviderRegistry, type ProviderTextPart, type SessionToolBinding, type SessionToolConfig, type SideConfig, type SubagentToolConfig, type SubpromptConfig, ThreadEnv, type ThreadEventPayload, ThreadInstance, ThreadMetadata, type ThreadRegistryEntry, ThreadWatchdog, type ThreadWatchdogState, type ToolConfig, ToolResult, type UpdateThreadParams, type User, type WatchdogCheckin, type 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 };
|