@ash-cloud/ash-ai 0.1.11 → 0.1.13
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/index.cjs +204 -106
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +167 -20
- package/dist/index.d.ts +167 -20
- package/dist/index.js +204 -106
- package/dist/index.js.map +1 -1
- package/dist/playground.js +1275 -1126
- package/dist/{schema-B7RbjHWi.d.cts → schema-DSLyNeoS.d.cts} +3 -3
- package/dist/{schema-B7RbjHWi.d.ts → schema-DSLyNeoS.d.ts} +3 -3
- package/dist/schema.cjs +3 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +1 -1
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +3 -1
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ import * as _hono_node_server from '@hono/node-server';
|
|
|
9
9
|
export { serve } from '@hono/node-server';
|
|
10
10
|
import * as drizzle_orm_postgres_js from 'drizzle-orm/postgres-js';
|
|
11
11
|
import postgres from 'postgres';
|
|
12
|
-
export { A as AttachmentRow, M as MessageRow, b as NewAttachmentRow, a as NewMessageRow, c as NewQueueItemRow, e as NewSessionEventRow, N as NewSessionRow, Q as QueueItemRow, d as SessionEventRow, S as SessionRow, s as schema } from './schema-
|
|
12
|
+
export { A as AttachmentRow, M as MessageRow, b as NewAttachmentRow, a as NewMessageRow, c as NewQueueItemRow, e as NewSessionEventRow, N as NewSessionRow, Q as QueueItemRow, d as SessionEventRow, S as SessionRow, s as schema } from './schema-DSLyNeoS.cjs';
|
|
13
13
|
import { Writable } from 'stream';
|
|
14
14
|
import 'drizzle-orm';
|
|
15
15
|
import 'drizzle-orm/pg-core';
|
|
@@ -1312,35 +1312,76 @@ declare const EventCategory: {
|
|
|
1312
1312
|
readonly ERROR: "error";
|
|
1313
1313
|
readonly FILE: "file";
|
|
1314
1314
|
readonly INPUT: "input";
|
|
1315
|
+
readonly WEBHOOK: "webhook";
|
|
1315
1316
|
};
|
|
1316
1317
|
type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
|
|
1317
1318
|
/**
|
|
1318
1319
|
* File sync operation types
|
|
1319
1320
|
*/
|
|
1320
|
-
type FileSyncOperation = '
|
|
1321
|
+
type FileSyncOperation = 'client_uploaded_to_ash_storage' | 'agent_sandbox_saved_to_ash_storage' | 'ash_storage_synced_to_agent_sandbox' | 'read_from_agent_sandbox' | 'deleted_from_ash_storage' | 'deleted_from_agent_sandbox';
|
|
1321
1322
|
/**
|
|
1322
|
-
*
|
|
1323
|
+
* Who initiated the file sync operation
|
|
1323
1324
|
*/
|
|
1324
|
-
type
|
|
1325
|
-
/**
|
|
1326
|
-
* Source of the file sync operation
|
|
1327
|
-
*/
|
|
1328
|
-
type FileSyncSource = 'external' | 'internal';
|
|
1325
|
+
type FileSyncSource = 'client_api' | 'ash_file_sync';
|
|
1329
1326
|
/**
|
|
1330
1327
|
* Event data for file sync operations
|
|
1331
1328
|
*/
|
|
1332
1329
|
interface FileSyncEventData {
|
|
1330
|
+
/** The specific operation that occurred - fully describes source and destination */
|
|
1333
1331
|
operation: FileSyncOperation;
|
|
1334
|
-
|
|
1332
|
+
/** Who initiated this operation */
|
|
1335
1333
|
source: FileSyncSource;
|
|
1336
|
-
|
|
1334
|
+
/**
|
|
1335
|
+
* Canonical file path - the logical path used as S3 key
|
|
1336
|
+
* Example: "src/Root.tsx"
|
|
1337
|
+
*/
|
|
1338
|
+
canonicalPath: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* Base path / target path prefix used in the sandbox
|
|
1341
|
+
* Example: "." (root), ".claude/files" (default), "my-project"
|
|
1342
|
+
*/
|
|
1343
|
+
basePath: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* Full computed path in the sandbox
|
|
1346
|
+
* Example: "src/Root.tsx" (if basePath=".") or ".claude/files/src/Root.tsx" (if basePath=".claude/files")
|
|
1347
|
+
*/
|
|
1348
|
+
sandboxPath: string;
|
|
1349
|
+
/** Size of the file in bytes */
|
|
1337
1350
|
fileSize?: number;
|
|
1351
|
+
/** Whether the operation succeeded */
|
|
1338
1352
|
success: boolean;
|
|
1353
|
+
/** Error message if operation failed */
|
|
1339
1354
|
error?: string;
|
|
1355
|
+
/** Git unified diff for text files */
|
|
1340
1356
|
diff?: string;
|
|
1357
|
+
/** Whether this is a text file (vs binary) */
|
|
1341
1358
|
isTextFile?: boolean;
|
|
1359
|
+
/** Previous file size for showing size change */
|
|
1342
1360
|
previousSize?: number;
|
|
1343
1361
|
}
|
|
1362
|
+
/**
|
|
1363
|
+
* Event data for webhook delivery tracking
|
|
1364
|
+
*/
|
|
1365
|
+
interface WebhookDeliveryEventData {
|
|
1366
|
+
/** Type of webhook being delivered */
|
|
1367
|
+
webhookType: 'file_sync' | 'file_change';
|
|
1368
|
+
/** Target URL hostname (full URL not stored for security) */
|
|
1369
|
+
targetUrl: string;
|
|
1370
|
+
/** Whether the webhook was delivered successfully */
|
|
1371
|
+
success: boolean;
|
|
1372
|
+
/** HTTP status code from the webhook response */
|
|
1373
|
+
statusCode?: number;
|
|
1374
|
+
/** Error message if delivery failed */
|
|
1375
|
+
error?: string;
|
|
1376
|
+
/** Time taken to deliver the webhook in milliseconds */
|
|
1377
|
+
durationMs: number;
|
|
1378
|
+
/** Number of retry attempts made */
|
|
1379
|
+
retryCount?: number;
|
|
1380
|
+
/** File path that triggered this webhook (if applicable) */
|
|
1381
|
+
filePath?: string;
|
|
1382
|
+
/** Operation that triggered this webhook */
|
|
1383
|
+
operation?: string;
|
|
1384
|
+
}
|
|
1344
1385
|
/**
|
|
1345
1386
|
* A single event in the session timeline
|
|
1346
1387
|
*/
|
|
@@ -4502,14 +4543,31 @@ declare function createMinioFileStore(config: {
|
|
|
4502
4543
|
type FileChangeType = 'add' | 'change' | 'unlink' | 'addDir' | 'unlinkDir';
|
|
4503
4544
|
/**
|
|
4504
4545
|
* Event emitted when a file changes in the watched directory
|
|
4546
|
+
*
|
|
4547
|
+
* Path terminology:
|
|
4548
|
+
* - relativePath: Path relative to the watch directory (e.g., "src/Root.tsx")
|
|
4549
|
+
* - absolutePath: Full filesystem path (e.g., "/workspace/src/Root.tsx")
|
|
4550
|
+
* - basePath: The watch directory path (e.g., ".", ".claude/files")
|
|
4505
4551
|
*/
|
|
4506
4552
|
interface FileChangeEvent {
|
|
4507
4553
|
/** Type of change */
|
|
4508
4554
|
type: FileChangeType;
|
|
4509
|
-
/**
|
|
4555
|
+
/**
|
|
4556
|
+
* Relative path from the watched directory
|
|
4557
|
+
* This is the canonical path for storage purposes
|
|
4558
|
+
* Example: "src/Root.tsx"
|
|
4559
|
+
*/
|
|
4510
4560
|
relativePath: string;
|
|
4511
|
-
/**
|
|
4561
|
+
/**
|
|
4562
|
+
* Absolute filesystem path to the file
|
|
4563
|
+
* Example: "/workspace/src/Root.tsx" or "/vercel/sandbox/.claude/files/src/Root.tsx"
|
|
4564
|
+
*/
|
|
4512
4565
|
absolutePath: string;
|
|
4566
|
+
/**
|
|
4567
|
+
* The base path being watched (the watch directory)
|
|
4568
|
+
* Example: "." (root), ".claude/files" (default)
|
|
4569
|
+
*/
|
|
4570
|
+
basePath: string;
|
|
4513
4571
|
/** Session ID this watch is associated with */
|
|
4514
4572
|
sessionId: string;
|
|
4515
4573
|
/** File size (only for add/change events) */
|
|
@@ -4941,10 +4999,25 @@ interface FilePushResult {
|
|
|
4941
4999
|
interface PushOptions {
|
|
4942
5000
|
/**
|
|
4943
5001
|
* Override the sandbox target path for these files.
|
|
4944
|
-
*
|
|
4945
|
-
*
|
|
5002
|
+
* This REPLACES the default sandboxBasePath - it does NOT nest under it.
|
|
5003
|
+
*
|
|
5004
|
+
* Path resolution (for file path 'src/Root.tsx'):
|
|
5005
|
+
* - undefined (default) → .claude/files/src/Root.tsx
|
|
5006
|
+
* - '.' → src/Root.tsx (working dir root)
|
|
5007
|
+
* - 'my-project' → my-project/src/Root.tsx
|
|
5008
|
+
* - '.claude/files' → .claude/files/src/Root.tsx (same as undefined)
|
|
5009
|
+
*
|
|
5010
|
+
* Note: There is NO double-nesting. targetPath: '.claude/files' does NOT
|
|
5011
|
+
* result in .claude/files/.claude/files/path.
|
|
4946
5012
|
*/
|
|
4947
5013
|
targetPath?: string;
|
|
5014
|
+
/**
|
|
5015
|
+
* Who is initiating this push operation.
|
|
5016
|
+
* - 'client_api': External client/API is pushing files
|
|
5017
|
+
* - 'ash_file_sync': Ash's internal file sync system
|
|
5018
|
+
* Default: 'client_api'
|
|
5019
|
+
*/
|
|
5020
|
+
source?: 'client_api' | 'ash_file_sync';
|
|
4948
5021
|
}
|
|
4949
5022
|
/**
|
|
4950
5023
|
* Result of a file pull operation
|
|
@@ -4955,6 +5028,24 @@ interface FilePullResult {
|
|
|
4955
5028
|
s3Written: boolean;
|
|
4956
5029
|
error?: string;
|
|
4957
5030
|
}
|
|
5031
|
+
/**
|
|
5032
|
+
* Options for pull operations
|
|
5033
|
+
*/
|
|
5034
|
+
interface PullOptions {
|
|
5035
|
+
/**
|
|
5036
|
+
* Override the sandbox source path for reading files.
|
|
5037
|
+
* This REPLACES the default sandboxBasePath - it does NOT nest under it.
|
|
5038
|
+
*
|
|
5039
|
+
* Path resolution (for file path 'src/Root.tsx'):
|
|
5040
|
+
* - undefined (default) → reads from .claude/files/src/Root.tsx
|
|
5041
|
+
* - '.' → reads from src/Root.tsx (working dir root)
|
|
5042
|
+
* - 'my-project' → reads from my-project/src/Root.tsx
|
|
5043
|
+
*
|
|
5044
|
+
* This is useful when watching files edited by the agent,
|
|
5045
|
+
* which are at the sandbox root rather than in sandboxBasePath.
|
|
5046
|
+
*/
|
|
5047
|
+
targetPath?: string;
|
|
5048
|
+
}
|
|
4958
5049
|
/**
|
|
4959
5050
|
* Result of a sync operation
|
|
4960
5051
|
*/
|
|
@@ -4967,11 +5058,32 @@ interface SyncResult {
|
|
|
4967
5058
|
}
|
|
4968
5059
|
/**
|
|
4969
5060
|
* Event emitted during file sync operations
|
|
5061
|
+
* Operation names are fully explicit about source and destination
|
|
5062
|
+
*
|
|
5063
|
+
* Path terminology:
|
|
5064
|
+
* - canonicalPath: The logical file path (e.g., "src/Root.tsx") - used as S3 key
|
|
5065
|
+
* - basePath: The target prefix in sandbox (e.g., ".", ".claude/files", "my-project")
|
|
5066
|
+
* - sandboxPath: The computed path in sandbox (e.g., "src/Root.tsx" or ".claude/files/src/Root.tsx")
|
|
4970
5067
|
*/
|
|
4971
5068
|
interface FileSyncEvent {
|
|
4972
|
-
operation: '
|
|
4973
|
-
|
|
4974
|
-
|
|
5069
|
+
operation: 'client_uploaded_to_ash_storage' | 'agent_sandbox_saved_to_ash_storage' | 'ash_storage_synced_to_agent_sandbox' | 'read_from_agent_sandbox' | 'deleted_from_ash_storage' | 'deleted_from_agent_sandbox';
|
|
5070
|
+
/** Who initiated this operation */
|
|
5071
|
+
source: 'client_api' | 'ash_file_sync';
|
|
5072
|
+
/**
|
|
5073
|
+
* Canonical file path - the logical path used as S3 key
|
|
5074
|
+
* Example: "src/Root.tsx"
|
|
5075
|
+
*/
|
|
5076
|
+
canonicalPath: string;
|
|
5077
|
+
/**
|
|
5078
|
+
* Base path / target path prefix used in the sandbox
|
|
5079
|
+
* Example: "." (root), ".claude/files" (default), "my-project"
|
|
5080
|
+
*/
|
|
5081
|
+
basePath: string;
|
|
5082
|
+
/**
|
|
5083
|
+
* Full computed path in the sandbox
|
|
5084
|
+
* Example: "src/Root.tsx" (if basePath=".") or ".claude/files/src/Root.tsx" (if basePath=".claude/files")
|
|
5085
|
+
*/
|
|
5086
|
+
sandboxPath: string;
|
|
4975
5087
|
fileSize?: number;
|
|
4976
5088
|
success: boolean;
|
|
4977
5089
|
error?: string;
|
|
@@ -5007,6 +5119,16 @@ interface FileWatchOptions {
|
|
|
5007
5119
|
* Local path to watch (required if useLocalWatcher is true)
|
|
5008
5120
|
*/
|
|
5009
5121
|
localPath?: string;
|
|
5122
|
+
/**
|
|
5123
|
+
* Path(s) to watch in the sandbox.
|
|
5124
|
+
* Default: ['.'] (watch entire working directory to capture agent file edits)
|
|
5125
|
+
*
|
|
5126
|
+
* When watching '.', all file changes in the sandbox are detected,
|
|
5127
|
+
* including files edited by the agent (like src/Root.tsx).
|
|
5128
|
+
*
|
|
5129
|
+
* Set to [sandboxBasePath] to only watch files pushed via the API.
|
|
5130
|
+
*/
|
|
5131
|
+
watchPaths?: string[];
|
|
5010
5132
|
}
|
|
5011
5133
|
/**
|
|
5012
5134
|
* Options for creating a SandboxFileSync instance
|
|
@@ -5095,9 +5217,19 @@ declare class SandboxFileSync {
|
|
|
5095
5217
|
* Remove webhook configuration
|
|
5096
5218
|
*/
|
|
5097
5219
|
removeWebhook(): void;
|
|
5220
|
+
/**
|
|
5221
|
+
* Extract hostname from URL for display (security - don't expose full URL)
|
|
5222
|
+
*/
|
|
5223
|
+
private extractHostname;
|
|
5224
|
+
/**
|
|
5225
|
+
* Persist webhook delivery event to the session timeline
|
|
5226
|
+
*/
|
|
5227
|
+
private persistWebhookDelivery;
|
|
5098
5228
|
/**
|
|
5099
5229
|
* Send a webhook notification
|
|
5100
5230
|
* @param payload - The webhook payload to send
|
|
5231
|
+
* @param sessionId - Session ID for persisting delivery events
|
|
5232
|
+
* @returns WebhookDeliveryResult with success/failure info
|
|
5101
5233
|
*/
|
|
5102
5234
|
private sendWebhook;
|
|
5103
5235
|
/**
|
|
@@ -5126,18 +5258,29 @@ declare class SandboxFileSync {
|
|
|
5126
5258
|
* This is called by the cloud layer after creating the sync service
|
|
5127
5259
|
*/
|
|
5128
5260
|
setSandboxOperations(ops: SandboxFileOperations): void;
|
|
5261
|
+
/**
|
|
5262
|
+
* Get the effective base path for sandbox operations
|
|
5263
|
+
* @param targetPath - Optional override for the base path
|
|
5264
|
+
*/
|
|
5265
|
+
private getBasePath;
|
|
5129
5266
|
/**
|
|
5130
5267
|
* Get the full sandbox path for a file
|
|
5131
5268
|
* @param path - The relative file path
|
|
5132
5269
|
* @param targetPath - Optional override for the base path
|
|
5133
5270
|
*/
|
|
5134
5271
|
private getSandboxPath;
|
|
5272
|
+
/**
|
|
5273
|
+
* Build all path fields for a FileSyncEvent
|
|
5274
|
+
* @param path - The canonical file path (used as S3 key)
|
|
5275
|
+
* @param targetPath - Optional override for the base path
|
|
5276
|
+
*/
|
|
5277
|
+
private buildPathFields;
|
|
5135
5278
|
/**
|
|
5136
5279
|
* Push a file: writes to S3, then to sandbox if running
|
|
5137
5280
|
* @param sessionId - Session ID
|
|
5138
5281
|
* @param path - File path (stored in S3 and used as relative path in sandbox)
|
|
5139
5282
|
* @param content - File content
|
|
5140
|
-
* @param options - Push options (e.g., targetPath
|
|
5283
|
+
* @param options - Push options (e.g., targetPath, source)
|
|
5141
5284
|
* @param previousContent - Optional previous content for diff computation
|
|
5142
5285
|
*/
|
|
5143
5286
|
pushFile(sessionId: string, path: string, content: Buffer, options?: PushOptions, previousContent?: Buffer): Promise<FilePushResult>;
|
|
@@ -5156,8 +5299,12 @@ declare class SandboxFileSync {
|
|
|
5156
5299
|
/**
|
|
5157
5300
|
* Pull a file from sandbox to S3
|
|
5158
5301
|
* Reads from sandbox and writes to S3
|
|
5302
|
+
*
|
|
5303
|
+
* @param sessionId - Session ID
|
|
5304
|
+
* @param path - File path (relative to sandbox)
|
|
5305
|
+
* @param options - Pull options (e.g., targetPath to override sandbox location)
|
|
5159
5306
|
*/
|
|
5160
|
-
pullFile(sessionId: string, path: string): Promise<FilePullResult>;
|
|
5307
|
+
pullFile(sessionId: string, path: string, options?: PullOptions): Promise<FilePullResult>;
|
|
5161
5308
|
/**
|
|
5162
5309
|
* Read a file (tries sandbox first, falls back to S3)
|
|
5163
5310
|
*/
|
|
@@ -10412,4 +10559,4 @@ declare class AshCloud {
|
|
|
10412
10559
|
*/
|
|
10413
10560
|
declare function createAshCloud(options?: Partial<AshCloudOptions>): AshCloud;
|
|
10414
10561
|
|
|
10415
|
-
export { AVAILABLE_MODELS, type ActionType, type ActiveSession, type AgentBackend, type AgentConfig$1 as AgentConfig, AgentConfigSchema, AgentError, AgentHarness, type AgentHarnessConfig, type AgentHooks, type AgentId, AgentStatus, type AgentStorage, type AgentsRouterOptions$1 as AgentsRouterOptions, AshCloud, AshCloudApiError, AshCloudClient, type AshCloudConfig, type AshCloudError, type AshCloudOptions, type AssistantMessageEntry, type Attachment, type AttachmentConfig, AttachmentConfigSchema, type AttachmentId, AttachmentStorage, type AttachmentStorageConfig, type BackendConfig, type BulkStorage, type BundleStore, type ClaudeAgentOptions, type ClaudeContentBlock, type ClaudeMessage, ClaudeSdkClient, type ClaudeStreamEvent, type ClaudeV2Session, CloudSandbox, type CloudSandboxConfig, CloudStorage, type CloudStorageConfig, type CommandRunAction, type CommandRunResult, ConfigBuilder, ConfigError, type CreateAgentOptions, type CreateQueueItemOptions, type CreateSessionEventOptions, type CreateSessionOptions, CredentialManager, type CredentialManagerConfig, type CredentialStorage, type CustomExecutor, DEFAULT_MODELS, DEFAULT_SANDBOX_PROVIDER_CONFIG, type DiscoveredSkill, type DockerConfig, type EncryptedCredential, type EntryListener, type ErrorEntry, type ErrorEvent, EventCategory, type EventMiddleware, type EventStorage, type FileChangeCallback, type FileChangeEvent, type FileChangeType, type FileContent$1 as FileContent, type FileEditAction, type FileEntry, type FileMetadata, type FileProvider, type FileProviderOptions, type FilePullResult, type FilePushResult, type FileReadAction, type FileStore, type
|
|
10562
|
+
export { AVAILABLE_MODELS, type ActionType, type ActiveSession, type AgentBackend, type AgentConfig$1 as AgentConfig, AgentConfigSchema, AgentError, AgentHarness, type AgentHarnessConfig, type AgentHooks, type AgentId, AgentStatus, type AgentStorage, type AgentsRouterOptions$1 as AgentsRouterOptions, AshCloud, AshCloudApiError, AshCloudClient, type AshCloudConfig, type AshCloudError, type AshCloudOptions, type AssistantMessageEntry, type Attachment, type AttachmentConfig, AttachmentConfigSchema, type AttachmentId, AttachmentStorage, type AttachmentStorageConfig, type BackendConfig, type BulkStorage, type BundleStore, type ClaudeAgentOptions, type ClaudeContentBlock, type ClaudeMessage, ClaudeSdkClient, type ClaudeStreamEvent, type ClaudeV2Session, CloudSandbox, type CloudSandboxConfig, CloudStorage, type CloudStorageConfig, type CommandRunAction, type CommandRunResult, ConfigBuilder, ConfigError, type CreateAgentOptions, type CreateQueueItemOptions, type CreateSessionEventOptions, type CreateSessionOptions, CredentialManager, type CredentialManagerConfig, type CredentialStorage, type CustomExecutor, DEFAULT_MODELS, DEFAULT_SANDBOX_PROVIDER_CONFIG, type DiscoveredSkill, type DockerConfig, type EncryptedCredential, type EntryListener, type ErrorEntry, type ErrorEvent, EventCategory, type EventMiddleware, type EventStorage, type FileChangeCallback, type FileChangeEvent, type FileChangeType, type FileContent$1 as FileContent, type FileEditAction, type FileEntry, type FileMetadata, type FileProvider, type FileProviderOptions, type FilePullResult, type FilePushResult, type FileReadAction, type FileStore, type FileSyncEvent, type FileSyncEventData, type FileSyncOperation, type FileSyncSource, type FileWatchOptions, FileWatcherManager, type FileWatcherOptions, type FileWatcherStatus, type FileWriteAction, GCSBundleStore, type GCSBundleStoreConfig, GeminiCliClient, type GeminiCliOptions, type GenericToolAction, type GetOrCreateSandboxOptions, GitHubFileProvider, type GitHubSkillConfig, type GitHubSkillResult, type GitHubSkillSource, type GitRepo, type GlobAction, type AgentConfig as HarnessAgentConfig, type HarnessConfig, HarnessConfigSchema, HarnessError, HarnessErrorCode, type HarnessErrorOptions, HarnessEventEmitter, type HarnessEventHandler, type HarnessEventPayloads, type HarnessEventType, type HarnessServer, type HarnessServerConfig, type HarnessServerHooks, type ImageContent, InSandboxWatcher, InSandboxWatcherManager, type InSandboxWatcherOptions, type ListAgentsOptions, type ListMessagesOptions, type ListQueueItemsOptions, type ListSessionEventsOptions, type ListSessionsOptions, type LoadStateResult, LocalBundleStore, LocalFileProvider, LocalSandbox, type LocalSandboxConfig, type LocalSkillSource, type LogContext, type LogEntry, type LogLevel, type Logger, type LoggerConfig, type ManagedWorkspace, type McpAuth, McpConfigBuilder, type McpGenerationResult, type McpHttpServerConfig, McpPresets, type McpServerConfig, type McpServerInfo, type McpServerStatus, McpServers, type McpStatusEvent, type McpStdioServerConfig, type McpTool, type McpToolAction, type McpTransportType, MemoryBundleStore, MemoryCredentialStorage, MemoryQueueStorage, MemoryRateLimitStore, MemoryStorage, type Message, type MessageContent, type MessageEvent, type MessageId, MessageRole, type NormalizedEntry, type NormalizedEntryType, type NormalizedToolCall, NotFoundError, type OpenAPIServer, type OpenAPIServerConfig, type PaginatedResult, type PaginationOptions, type PooledSandbox, PostgresQueueStorage, type PostgresQueueStorageConfig, PostgresStorage, type PostgresStorageConfig, ProviderSandbox, type ProviderSandboxConfig, type ProxyConfig, type PullOptions, type PushOptions, type QueueItem, QueueItemStatus, QueueProcessor, type QueueProcessorCallbacks, type QueueProcessorConfig, type QueueRouterOptions, type QueueStats, type QueueStorage, type RateLimitConfig, type RateLimitResult, type RateLimitStore, RemoteFileWatcherManager, type RemoteFileWatcherOptions, RemoteSandboxFileWatcher, type RequestLoggerOptions, type ResumeSessionOptions, type RuntimeConfig, RuntimeConfigBuilder, RuntimePresets, S3BundleStore, type S3BundleStoreConfig, S3FileStore, type S3FileStoreConfig, SENSITIVE_PATHS, type SandboxConfig, type SandboxConnection, type SandboxFileOperations, SandboxFileSync, type SandboxFileSyncOptions, SandboxFileWatcher, SandboxGitRepo, type SandboxHeartbeatStatus, type SandboxLogCallback, type SandboxLogCategory$1 as SandboxLogCategory, type SandboxLogEntry$1 as SandboxLogEntry, type SandboxLogEvent, type SandboxLogLevel$1 as SandboxLogLevel, SandboxLogger, SandboxPool, type SandboxPoolConfig, type SandboxPoolMetricsCallback, type SandboxPoolStatus, type SandboxProviderConfig, type SandboxProviderType, type SandboxReadResult, type SandboxWithState, type SandboxWriteResult, type SaveStateResult, type SearchAction, type SendMessageOptions, type SendMessageRequest, type SendMessageResult, type ServerConfig, ServerConfigSchema, type Session, type SessionEndEvent, SessionError, type SessionEvent, type SessionId, SessionManager, type SessionQueueStatus, type SessionStartEvent, SessionStatus, type SessionStoppedEvent, type SessionStorage, type SessionsRouterOptions$1 as SessionsRouterOptions, SkillCatalog, type SkillConfig, SkillManager, type SkillManagerOptions, type SkillSource, type SkillsConfig, type StartServerOptions, type StopSessionResult, type StorageConfig$1 as StorageConfig, StorageConfigSchema, StorageError, type StoredAgent, type StreamEvent, StreamEventType, SupabaseBundleStore, type SupabaseBundleStoreConfig, SupabaseStorage, type SupabaseStorageConfig, type SyncResult, type TextContent, type TextDeltaEvent, type ThinkingDeltaEvent, type ThinkingEntry, type TodoItem, type TodoStatus, type TodoWriteAction, type ToolCallEntry, ToolCallProcessor, ToolError, type ToolResult, type ToolResultContent, type ToolResultEvent, type ToolStatus, type ToolUseContent, type ToolUseEvent, type TransactionalStorage, type TurnCompleteEvent, type UpdateAgentOptions, type UserMessageEntry, ValidationError, type WebFetchAction, type WebSearchAction, type WebhookConfig, type WebhookDeliveryEventData, type WebhookPayload, Workspace, type CommandResult as WorkspaceCommandResult, type WorkspaceConfig, type WorkspaceHook, type WorkspaceLoadResult, WorkspaceManager, type WorkspaceSaveResult, type WorkspaceSessionConfig, attachmentSchema, attachmentToDataUrl, checkSecurityConfig, claudeClient, cleanupAllSandboxes, configureMcp, configureRuntime, convertClaudeMessage, createAgentsRouter$1 as createAgentsRouter, createAshCloud, createBackendExecutor, createCloudSandbox, createConfig, createCredentialManager, createOpenAPIServer as createDocumentedServer, createE2BSandbox, createEventHandler, createEventMiddlewareChain, createFileWatcher, createFileWatcherManager, createGCSBundleStore, createGeminiExecutor, createGitHubFileProvider, createGitRepo, createHarnessServer, createInSandboxWatcher, createInSandboxWatcherManager, createLocalBundleStore, createLocalFileProvider, createLocalSandbox, createLogger, createMemoryBundleStore, createMinioBundleStore, createMinioFileStore, createModalSandbox, createAgentsRouter as createOpenAPIAgentsRouter, createOpenAPIServer, createSessionsRouter as createOpenAPISessionsRouter, createSkillsRouter as createOpenAPISkillsRouter, createProviderSandbox, createQueueProcessor, createQueueRouter, createR2BundleStore, createR2FileStore, createRemoteFileWatcher, createRemoteFileWatcherManager, createS3BundleStore, createS3FileStore, createSandboxFileOperations, createSandboxFileSync, createSandboxLogger, createSandboxOptions, createSessionWorkspace, createSessionsRouter$1 as createSessionsRouter, createSkillCatalog, createSkillManager, createSupabaseBundleStore, createSupabaseBundleStoreFromEnv, createToolCall, createToolCallProcessor, createVercelSandbox, createVercelSandboxExecutor, createWorkspace, createWorkspaceHooks, createWorkspaceManager, dataUrlToBuffer, defineAgent, defineConfig, ensureSandboxPoolInitialized, env, envOptional, extractTextContent, extractTextFromMessage, fileEntrySchema, formatToolName, generateDockerCommand, generateMcpServerPackage, generateMcpServers, generateProxyEnv, generateToolSummary, getActionIcon, getActionLabel, getAllHeartbeatStatuses, getApiKeyEnvVar, getDefaultModel, getFileWatcherManager, getHeartbeatStatus, getInSandboxWatcherManager, getOrCreateSandbox, getRemoteFileWatcherManager, getSandboxCacheStats, getSandboxPool, getWorkspaceManager, gitHubSkillSourceSchema, globalEventEmitter, hasErrorCode, hashStartupScript, httpMcpWithAuth, initializeSandboxPool, introspectMcpServer, invalidateSandbox, isCommandRunAction, isDocumentMimeType, isErrorEntry, isFileEditAction, isFileReadAction, isFileWriteAction, isGenericToolAction, isGlobAction, isHarnessError, isHttpMcpConfig, isImageMimeType, isMcpToolAction, isSandboxExpiredError, isSandboxRunning, isSearchAction, isSensitivePath, isStdioMcpConfig, isTodoWriteAction, isToolCallEntry, isValidModel, isWebFetchAction, isWebSearchAction, listFilesInSandbox, loadConfig, loadGitHubSkill, loadGitHubSkills, loadWorkspaceState, localSkillSourceSchema, log, mapClaudeOptionsToGemini, mapToolToActionType, markConfigInstalled, markSdkInstalled, markStartupScriptRan, mcpAuthToHeaders, messageContentSchema, messageSchema, needsStartupScriptRerun, normalizeGitHubConfigs, normalizeMcpServers, normalizeMessages, normalizeToolResult, onHeartbeat, schemas as openApiSchemas, parseCommandResult, parseGitHubUrl, parseMcpToolName, processStreamEvents, rateLimit, rateLimiters, readFileFromSandbox, rekeySessionId, releaseSandbox, requestLogger, saveWorkspaceState, sessionSchema, shouldUseSandbox, shutdownSandboxPool, skillConfigSchema, skillSourceSchema, sseMcpWithAuth, startServer, updateToolCallWithResult, writeFileToSandbox };
|