@dudko.dev/agent-web 0.0.22 → 0.0.24

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.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as ai from 'ai';
2
2
  import { LanguageModel, ToolSet, Tool, FilePart, SystemModelMessage, ModelMessage, generateText, streamText } from 'ai';
3
- import { V as VaultOptions } from './vault-BHlMmKXM.cjs';
4
- export { I as IndexedDBVault } from './vault-BHlMmKXM.cjs';
3
+ import { V as VaultOptions } from './vault-BatBaRQP.cjs';
4
+ export { I as IndexedDBVault } from './vault-BatBaRQP.cjs';
5
5
  import { z, ZodType } from 'zod';
6
6
  import { IDBPDatabase } from 'idb';
7
7
 
@@ -1158,9 +1158,9 @@ declare const PlanSchema: z.ZodObject<{
1158
1158
  }, z.core.$strip>;
1159
1159
  declare const ReplanSchema: z.ZodObject<{
1160
1160
  decision: z.ZodEnum<{
1161
- finish: "finish";
1162
1161
  continue: "continue";
1163
1162
  revise: "revise";
1163
+ finish: "finish";
1164
1164
  }>;
1165
1165
  reason: z.ZodString;
1166
1166
  plan: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -2020,4 +2020,5 @@ declare class IndexedDBStore implements ContextStore {
2020
2020
  listSessions(): Promise<string[]>;
2021
2021
  }
2022
2022
 
2023
- export { type Agent, type AgentContext, type AgentEvent, type AgentEventHandler, type AgentLogger, type AgentLoggerSink, type AgentTool, type AgentToolSet, type AgentWebDBOptions, type AttachmentKind, AttachmentsNotSupportedError, type BrowserAgentConfig, type ClearedInfo, type CompactOptions, type CompactResult, type CompactionConfig, type CompressOptions, type ContextStore, ContextWindowExceededError, type CredentialStore, type EffectiveToolStrategy, type EncryptedBlob, type ExecutorPromptContext, type ExecutorResult, FILES_STORE, FIND_TOOLS_NAME, type FileToolsOptions, type GenerateOptions, type IPlan, type IPlanStep, type IStepResult, type IToolCall, type IUsage, ImagesNotSupportedError, IndexedDBStore, type IndexedDBStoreOptions, KEYS_STORE, type LimitBreach, type LimitKind, type LoadSkillOptions, type LogLevel, MemoryCredentialStore, MemoryStore, type MessageEndpoint, type ModelInput, type ParentToWorker, type Phase, type PhaseBudgets, PlanSchema, type PlanShape, PlanStepSchema, type PlannerPromptContext, type PlannerResult, type PromptCachingSetting, type PromptParts, type Prompts, type ProviderModelSpec, type ProviderOptionsMap, type ProviderType, type ProxiedToolSpec, type RawAction, type ReplanDecision, type ReplanMode, ReplanSchema, type ReplanShape, type ReplanTrigger, type ReplannerPromptContext, type ReplannerResult, type ResolvedCaching, type ResolvedCompaction, type ResolvedConfig, type ResolvedStage, type ResolvedThinking, type RunFile, type RunImage, type RunOptions, type RunResult, SECRETS_STORE, SESSIONS_STORE, SKILL_TOOL_NAMES, type SearchToolsOptions, type ServeSubagentOptions, type Skill, type StageInput, type StageOverride, type StoredMessage, type SubagentToolOptions, type SubagentWorkerConfig, type SynthesizerPromptContext, TOOL_APPROVAL_MODES, TOOL_SEARCH_WINDOW_SHARE, type ThinkingConfig, type ThinkingLevel, type ThinkingSetting, type ThinkingStage, type TokenLimits, type ToolApprovalConfig, type ToolApprovalDecision, type ToolApprovalMode, type ToolApprovalRequest, ToolBudgetError, type ToolCallMode, type ToolCatalogEntry, ToolDeniedError, type ToolLoopCallbacks, type ToolLoopOptions, type ToolLoopResult, type ToolMode, type ToolPermission, type ToolResultClearing, type ToolRunContext, type ToolSelectionStrategy, type UsagePhase, VaultCredentialStore, VaultOptions, type VfsListener, type VirtualFile, type VirtualFileInfo, VirtualFileSystem, type VirtualFileSystemOptions, WEBLLM_DEFAULT_CONTEXT_WINDOW, type WebLLMAppConfigLike, type WebLLMModelOptions, type WorkerLike, type WorkerToParent, attachmentKind, buildModelFromStage, bytesToBase64, checkLimits, compactHistory, compactSteps, compressHistory, contextOverflowOf, contextWindowOf, createAgent, createFileTools, createFindToolsTool, createLogger, createPlan, createSkillTools, createSubagentTool, createToolResultClearer, createWebLLMModel, decideReplan, decideToolPermission, decryptJSON, defaultPrompts, defineSkill, defineTool, directBrowserOk, dispatch, encryptJSON, messageTokens as estimateMessagesTokens, estimateTokens, executeStep, fitCompactionToWindow, generate, generateStructured, getOrCreateVaultKey, isAttachmentRefusal, isDirectModel, isImageRefusal, isProviderSpec, isReadOnlyTool, isTextMime, isWebGPUAvailable, limitModelOutput, loadSkillFromUrl, looksLikeJson, markReadOnly, matchRule, mediaTypeOf, mergeProviderOptions, mimeFromPath, normalizePath, normalizeSteps, normalizeUsage, openAgentWebDB, parseExecutorResponse, parsePlainText, parsePlannerResponse, parseReplannerResponse, parseSkillMarkdown, preloadWebLLMModel, promptHintOf, renderActiveSkills, renderCatalog, renderSearchCatalog, renderSkillIndex, replanWanted, resolveCaching, resolveCompaction, resolveConfig, resolveModel, resolveStage, resolveThinking, runToolLoop, schemaHintOf, searchTools, selectToolMode, serveSubagentWorker, shouldReplan, splitBlocker, stream, supportsImages, supportsNativeTools, supportsPdf, supportsStructuredOutput, synthesizeAnswer, thinkingFor, toFilePart, toImagePart, tokenize, toolCatalogOf, toolDefinitionTokens, toolRunContextOf, unloadWebLLMModel, webLLMContextWindow, withRollingBreakpoint, withSystem, withWebLLMContextWindow };
2023
+ export { AttachmentsNotSupportedError, ContextWindowExceededError, FILES_STORE, FIND_TOOLS_NAME, ImagesNotSupportedError, IndexedDBStore, KEYS_STORE, MemoryCredentialStore, MemoryStore, PlanSchema, PlanStepSchema, ReplanSchema, SECRETS_STORE, SESSIONS_STORE, SKILL_TOOL_NAMES, TOOL_APPROVAL_MODES, TOOL_SEARCH_WINDOW_SHARE, ToolBudgetError, ToolDeniedError, VaultCredentialStore, VaultOptions, VirtualFileSystem, WEBLLM_DEFAULT_CONTEXT_WINDOW, attachmentKind, buildModelFromStage, bytesToBase64, checkLimits, compactHistory, compactSteps, compressHistory, contextOverflowOf, contextWindowOf, createAgent, createFileTools, createFindToolsTool, createLogger, createPlan, createSkillTools, createSubagentTool, createToolResultClearer, createWebLLMModel, decideReplan, decideToolPermission, decryptJSON, defaultPrompts, defineSkill, defineTool, directBrowserOk, dispatch, encryptJSON, messageTokens as estimateMessagesTokens, estimateTokens, executeStep, fitCompactionToWindow, generate, generateStructured, getOrCreateVaultKey, isAttachmentRefusal, isDirectModel, isImageRefusal, isProviderSpec, isReadOnlyTool, isTextMime, isWebGPUAvailable, limitModelOutput, loadSkillFromUrl, looksLikeJson, markReadOnly, matchRule, mediaTypeOf, mergeProviderOptions, mimeFromPath, normalizePath, normalizeSteps, normalizeUsage, openAgentWebDB, parseExecutorResponse, parsePlainText, parsePlannerResponse, parseReplannerResponse, parseSkillMarkdown, preloadWebLLMModel, promptHintOf, renderActiveSkills, renderCatalog, renderSearchCatalog, renderSkillIndex, replanWanted, resolveCaching, resolveCompaction, resolveConfig, resolveModel, resolveStage, resolveThinking, runToolLoop, schemaHintOf, searchTools, selectToolMode, serveSubagentWorker, shouldReplan, splitBlocker, stream, supportsImages, supportsNativeTools, supportsPdf, supportsStructuredOutput, synthesizeAnswer, thinkingFor, toFilePart, toImagePart, tokenize, toolCatalogOf, toolDefinitionTokens, toolRunContextOf, unloadWebLLMModel, webLLMContextWindow, withRollingBreakpoint, withSystem, withWebLLMContextWindow };
2024
+ export type { Agent, AgentContext, AgentEvent, AgentEventHandler, AgentLogger, AgentLoggerSink, AgentTool, AgentToolSet, AgentWebDBOptions, AttachmentKind, BrowserAgentConfig, ClearedInfo, CompactOptions, CompactResult, CompactionConfig, CompressOptions, ContextStore, CredentialStore, EffectiveToolStrategy, EncryptedBlob, ExecutorPromptContext, ExecutorResult, FileToolsOptions, GenerateOptions, IPlan, IPlanStep, IStepResult, IToolCall, IUsage, IndexedDBStoreOptions, LimitBreach, LimitKind, LoadSkillOptions, LogLevel, MessageEndpoint, ModelInput, ParentToWorker, Phase, PhaseBudgets, PlanShape, PlannerPromptContext, PlannerResult, PromptCachingSetting, PromptParts, Prompts, ProviderModelSpec, ProviderOptionsMap, ProviderType, ProxiedToolSpec, RawAction, ReplanDecision, ReplanMode, ReplanShape, ReplanTrigger, ReplannerPromptContext, ReplannerResult, ResolvedCaching, ResolvedCompaction, ResolvedConfig, ResolvedStage, ResolvedThinking, RunFile, RunImage, RunOptions, RunResult, SearchToolsOptions, ServeSubagentOptions, Skill, StageInput, StageOverride, StoredMessage, SubagentToolOptions, SubagentWorkerConfig, SynthesizerPromptContext, ThinkingConfig, ThinkingLevel, ThinkingSetting, ThinkingStage, TokenLimits, ToolApprovalConfig, ToolApprovalDecision, ToolApprovalMode, ToolApprovalRequest, ToolCallMode, ToolCatalogEntry, ToolLoopCallbacks, ToolLoopOptions, ToolLoopResult, ToolMode, ToolPermission, ToolResultClearing, ToolRunContext, ToolSelectionStrategy, UsagePhase, VfsListener, VirtualFile, VirtualFileInfo, VirtualFileSystemOptions, WebLLMAppConfigLike, WebLLMModelOptions, WorkerLike, WorkerToParent };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as ai from 'ai';
2
2
  import { LanguageModel, ToolSet, Tool, FilePart, SystemModelMessage, ModelMessage, generateText, streamText } from 'ai';
3
- import { V as VaultOptions } from './vault-BHlMmKXM.js';
4
- export { I as IndexedDBVault } from './vault-BHlMmKXM.js';
3
+ import { V as VaultOptions } from './vault-BatBaRQP.js';
4
+ export { I as IndexedDBVault } from './vault-BatBaRQP.js';
5
5
  import { z, ZodType } from 'zod';
6
6
  import { IDBPDatabase } from 'idb';
7
7
 
@@ -1158,9 +1158,9 @@ declare const PlanSchema: z.ZodObject<{
1158
1158
  }, z.core.$strip>;
1159
1159
  declare const ReplanSchema: z.ZodObject<{
1160
1160
  decision: z.ZodEnum<{
1161
- finish: "finish";
1162
1161
  continue: "continue";
1163
1162
  revise: "revise";
1163
+ finish: "finish";
1164
1164
  }>;
1165
1165
  reason: z.ZodString;
1166
1166
  plan: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -2020,4 +2020,5 @@ declare class IndexedDBStore implements ContextStore {
2020
2020
  listSessions(): Promise<string[]>;
2021
2021
  }
2022
2022
 
2023
- export { type Agent, type AgentContext, type AgentEvent, type AgentEventHandler, type AgentLogger, type AgentLoggerSink, type AgentTool, type AgentToolSet, type AgentWebDBOptions, type AttachmentKind, AttachmentsNotSupportedError, type BrowserAgentConfig, type ClearedInfo, type CompactOptions, type CompactResult, type CompactionConfig, type CompressOptions, type ContextStore, ContextWindowExceededError, type CredentialStore, type EffectiveToolStrategy, type EncryptedBlob, type ExecutorPromptContext, type ExecutorResult, FILES_STORE, FIND_TOOLS_NAME, type FileToolsOptions, type GenerateOptions, type IPlan, type IPlanStep, type IStepResult, type IToolCall, type IUsage, ImagesNotSupportedError, IndexedDBStore, type IndexedDBStoreOptions, KEYS_STORE, type LimitBreach, type LimitKind, type LoadSkillOptions, type LogLevel, MemoryCredentialStore, MemoryStore, type MessageEndpoint, type ModelInput, type ParentToWorker, type Phase, type PhaseBudgets, PlanSchema, type PlanShape, PlanStepSchema, type PlannerPromptContext, type PlannerResult, type PromptCachingSetting, type PromptParts, type Prompts, type ProviderModelSpec, type ProviderOptionsMap, type ProviderType, type ProxiedToolSpec, type RawAction, type ReplanDecision, type ReplanMode, ReplanSchema, type ReplanShape, type ReplanTrigger, type ReplannerPromptContext, type ReplannerResult, type ResolvedCaching, type ResolvedCompaction, type ResolvedConfig, type ResolvedStage, type ResolvedThinking, type RunFile, type RunImage, type RunOptions, type RunResult, SECRETS_STORE, SESSIONS_STORE, SKILL_TOOL_NAMES, type SearchToolsOptions, type ServeSubagentOptions, type Skill, type StageInput, type StageOverride, type StoredMessage, type SubagentToolOptions, type SubagentWorkerConfig, type SynthesizerPromptContext, TOOL_APPROVAL_MODES, TOOL_SEARCH_WINDOW_SHARE, type ThinkingConfig, type ThinkingLevel, type ThinkingSetting, type ThinkingStage, type TokenLimits, type ToolApprovalConfig, type ToolApprovalDecision, type ToolApprovalMode, type ToolApprovalRequest, ToolBudgetError, type ToolCallMode, type ToolCatalogEntry, ToolDeniedError, type ToolLoopCallbacks, type ToolLoopOptions, type ToolLoopResult, type ToolMode, type ToolPermission, type ToolResultClearing, type ToolRunContext, type ToolSelectionStrategy, type UsagePhase, VaultCredentialStore, VaultOptions, type VfsListener, type VirtualFile, type VirtualFileInfo, VirtualFileSystem, type VirtualFileSystemOptions, WEBLLM_DEFAULT_CONTEXT_WINDOW, type WebLLMAppConfigLike, type WebLLMModelOptions, type WorkerLike, type WorkerToParent, attachmentKind, buildModelFromStage, bytesToBase64, checkLimits, compactHistory, compactSteps, compressHistory, contextOverflowOf, contextWindowOf, createAgent, createFileTools, createFindToolsTool, createLogger, createPlan, createSkillTools, createSubagentTool, createToolResultClearer, createWebLLMModel, decideReplan, decideToolPermission, decryptJSON, defaultPrompts, defineSkill, defineTool, directBrowserOk, dispatch, encryptJSON, messageTokens as estimateMessagesTokens, estimateTokens, executeStep, fitCompactionToWindow, generate, generateStructured, getOrCreateVaultKey, isAttachmentRefusal, isDirectModel, isImageRefusal, isProviderSpec, isReadOnlyTool, isTextMime, isWebGPUAvailable, limitModelOutput, loadSkillFromUrl, looksLikeJson, markReadOnly, matchRule, mediaTypeOf, mergeProviderOptions, mimeFromPath, normalizePath, normalizeSteps, normalizeUsage, openAgentWebDB, parseExecutorResponse, parsePlainText, parsePlannerResponse, parseReplannerResponse, parseSkillMarkdown, preloadWebLLMModel, promptHintOf, renderActiveSkills, renderCatalog, renderSearchCatalog, renderSkillIndex, replanWanted, resolveCaching, resolveCompaction, resolveConfig, resolveModel, resolveStage, resolveThinking, runToolLoop, schemaHintOf, searchTools, selectToolMode, serveSubagentWorker, shouldReplan, splitBlocker, stream, supportsImages, supportsNativeTools, supportsPdf, supportsStructuredOutput, synthesizeAnswer, thinkingFor, toFilePart, toImagePart, tokenize, toolCatalogOf, toolDefinitionTokens, toolRunContextOf, unloadWebLLMModel, webLLMContextWindow, withRollingBreakpoint, withSystem, withWebLLMContextWindow };
2023
+ export { AttachmentsNotSupportedError, ContextWindowExceededError, FILES_STORE, FIND_TOOLS_NAME, ImagesNotSupportedError, IndexedDBStore, KEYS_STORE, MemoryCredentialStore, MemoryStore, PlanSchema, PlanStepSchema, ReplanSchema, SECRETS_STORE, SESSIONS_STORE, SKILL_TOOL_NAMES, TOOL_APPROVAL_MODES, TOOL_SEARCH_WINDOW_SHARE, ToolBudgetError, ToolDeniedError, VaultCredentialStore, VaultOptions, VirtualFileSystem, WEBLLM_DEFAULT_CONTEXT_WINDOW, attachmentKind, buildModelFromStage, bytesToBase64, checkLimits, compactHistory, compactSteps, compressHistory, contextOverflowOf, contextWindowOf, createAgent, createFileTools, createFindToolsTool, createLogger, createPlan, createSkillTools, createSubagentTool, createToolResultClearer, createWebLLMModel, decideReplan, decideToolPermission, decryptJSON, defaultPrompts, defineSkill, defineTool, directBrowserOk, dispatch, encryptJSON, messageTokens as estimateMessagesTokens, estimateTokens, executeStep, fitCompactionToWindow, generate, generateStructured, getOrCreateVaultKey, isAttachmentRefusal, isDirectModel, isImageRefusal, isProviderSpec, isReadOnlyTool, isTextMime, isWebGPUAvailable, limitModelOutput, loadSkillFromUrl, looksLikeJson, markReadOnly, matchRule, mediaTypeOf, mergeProviderOptions, mimeFromPath, normalizePath, normalizeSteps, normalizeUsage, openAgentWebDB, parseExecutorResponse, parsePlainText, parsePlannerResponse, parseReplannerResponse, parseSkillMarkdown, preloadWebLLMModel, promptHintOf, renderActiveSkills, renderCatalog, renderSearchCatalog, renderSkillIndex, replanWanted, resolveCaching, resolveCompaction, resolveConfig, resolveModel, resolveStage, resolveThinking, runToolLoop, schemaHintOf, searchTools, selectToolMode, serveSubagentWorker, shouldReplan, splitBlocker, stream, supportsImages, supportsNativeTools, supportsPdf, supportsStructuredOutput, synthesizeAnswer, thinkingFor, toFilePart, toImagePart, tokenize, toolCatalogOf, toolDefinitionTokens, toolRunContextOf, unloadWebLLMModel, webLLMContextWindow, withRollingBreakpoint, withSystem, withWebLLMContextWindow };
2024
+ export type { Agent, AgentContext, AgentEvent, AgentEventHandler, AgentLogger, AgentLoggerSink, AgentTool, AgentToolSet, AgentWebDBOptions, AttachmentKind, BrowserAgentConfig, ClearedInfo, CompactOptions, CompactResult, CompactionConfig, CompressOptions, ContextStore, CredentialStore, EffectiveToolStrategy, EncryptedBlob, ExecutorPromptContext, ExecutorResult, FileToolsOptions, GenerateOptions, IPlan, IPlanStep, IStepResult, IToolCall, IUsage, IndexedDBStoreOptions, LimitBreach, LimitKind, LoadSkillOptions, LogLevel, MessageEndpoint, ModelInput, ParentToWorker, Phase, PhaseBudgets, PlanShape, PlannerPromptContext, PlannerResult, PromptCachingSetting, PromptParts, Prompts, ProviderModelSpec, ProviderOptionsMap, ProviderType, ProxiedToolSpec, RawAction, ReplanDecision, ReplanMode, ReplanShape, ReplanTrigger, ReplannerPromptContext, ReplannerResult, ResolvedCaching, ResolvedCompaction, ResolvedConfig, ResolvedStage, ResolvedThinking, RunFile, RunImage, RunOptions, RunResult, SearchToolsOptions, ServeSubagentOptions, Skill, StageInput, StageOverride, StoredMessage, SubagentToolOptions, SubagentWorkerConfig, SynthesizerPromptContext, ThinkingConfig, ThinkingLevel, ThinkingSetting, ThinkingStage, TokenLimits, ToolApprovalConfig, ToolApprovalDecision, ToolApprovalMode, ToolApprovalRequest, ToolCallMode, ToolCatalogEntry, ToolLoopCallbacks, ToolLoopOptions, ToolLoopResult, ToolMode, ToolPermission, ToolResultClearing, ToolRunContext, ToolSelectionStrategy, UsagePhase, VfsListener, VirtualFile, VirtualFileInfo, VirtualFileSystemOptions, WebLLMAppConfigLike, WebLLMModelOptions, WorkerLike, WorkerToParent };
package/dist/mcp.d.cts CHANGED
@@ -4,7 +4,7 @@ import { StreamableHTTPReconnectionOptions } from '@modelcontextprotocol/sdk/cli
4
4
  import { FetchLike } from '@modelcontextprotocol/sdk/shared/transport.js';
5
5
  import { ToolSet } from 'ai';
6
6
  import { OAuthClientMetadata, OAuthClientInformationMixed, OAuthTokens } from '@modelcontextprotocol/sdk/shared/auth.js';
7
- import { V as VaultOptions } from './vault-BHlMmKXM.cjs';
7
+ import { VaultOptions } from './index.cjs';
8
8
 
9
9
  /**
10
10
  * A remote MCP server reached over StreamableHTTP. Browsers can ONLY speak the
@@ -265,4 +265,5 @@ declare const finishMcpOAuth: (provider: BrowserOAuthProvider, callback: McpOAut
265
265
  */
266
266
  declare const beginMcpOAuth: (provider: BrowserOAuthProvider, opts?: McpOAuthRequestOptions) => Promise<"AUTHORIZED" | "REDIRECT">;
267
267
 
268
- export { BrowserOAuthProvider, type BrowserOAuthProviderOptions, type ConnectMcpOptions, type ConnectedMcp, type McpCatalogEntry, type McpHttpServerConfig, type McpOAuthCallback, type McpOAuthRequestOptions, type McpOAuthStorage, type McpServerResult, MemoryOAuthStorage, VaultOAuthStorage, beginMcpOAuth, connectMcpHttp, diagnoseMcpCors, finishMcpOAuth, flattenContent, readOAuthCallback };
268
+ export { BrowserOAuthProvider, MemoryOAuthStorage, VaultOAuthStorage, beginMcpOAuth, connectMcpHttp, diagnoseMcpCors, finishMcpOAuth, flattenContent, readOAuthCallback };
269
+ export type { BrowserOAuthProviderOptions, ConnectMcpOptions, ConnectedMcp, McpCatalogEntry, McpHttpServerConfig, McpOAuthCallback, McpOAuthRequestOptions, McpOAuthStorage, McpServerResult };
package/dist/mcp.d.ts CHANGED
@@ -4,7 +4,7 @@ import { StreamableHTTPReconnectionOptions } from '@modelcontextprotocol/sdk/cli
4
4
  import { FetchLike } from '@modelcontextprotocol/sdk/shared/transport.js';
5
5
  import { ToolSet } from 'ai';
6
6
  import { OAuthClientMetadata, OAuthClientInformationMixed, OAuthTokens } from '@modelcontextprotocol/sdk/shared/auth.js';
7
- import { V as VaultOptions } from './vault-BHlMmKXM.js';
7
+ import { VaultOptions } from './index.js';
8
8
 
9
9
  /**
10
10
  * A remote MCP server reached over StreamableHTTP. Browsers can ONLY speak the
@@ -265,4 +265,5 @@ declare const finishMcpOAuth: (provider: BrowserOAuthProvider, callback: McpOAut
265
265
  */
266
266
  declare const beginMcpOAuth: (provider: BrowserOAuthProvider, opts?: McpOAuthRequestOptions) => Promise<"AUTHORIZED" | "REDIRECT">;
267
267
 
268
- export { BrowserOAuthProvider, type BrowserOAuthProviderOptions, type ConnectMcpOptions, type ConnectedMcp, type McpCatalogEntry, type McpHttpServerConfig, type McpOAuthCallback, type McpOAuthRequestOptions, type McpOAuthStorage, type McpServerResult, MemoryOAuthStorage, VaultOAuthStorage, beginMcpOAuth, connectMcpHttp, diagnoseMcpCors, finishMcpOAuth, flattenContent, readOAuthCallback };
268
+ export { BrowserOAuthProvider, MemoryOAuthStorage, VaultOAuthStorage, beginMcpOAuth, connectMcpHttp, diagnoseMcpCors, finishMcpOAuth, flattenContent, readOAuthCallback };
269
+ export type { BrowserOAuthProviderOptions, ConnectMcpOptions, ConnectedMcp, McpCatalogEntry, McpHttpServerConfig, McpOAuthCallback, McpOAuthRequestOptions, McpOAuthStorage, McpServerResult };
@@ -32,4 +32,5 @@ declare class IndexedDBVault {
32
32
  listSecretIds(): Promise<string[]>;
33
33
  }
34
34
 
35
- export { IndexedDBVault as I, type VaultOptions as V };
35
+ export { IndexedDBVault as I };
36
+ export type { VaultOptions as V };
@@ -32,4 +32,5 @@ declare class IndexedDBVault {
32
32
  listSecretIds(): Promise<string[]>;
33
33
  }
34
34
 
35
- export { IndexedDBVault as I, type VaultOptions as V };
35
+ export { IndexedDBVault as I };
36
+ export type { VaultOptions as V };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudko.dev/agent-web",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "description": "Headless, configurable in-browser LLM agent on the Vercel AI SDK: multi-provider bring-your-own-key (OpenAI, Anthropic, Google, xAI, DeepSeek, gateway, openai-compatible) AND local WebGPU/WebLLM, native + prompted tool-calling, structured output, an encrypted IndexedDB token vault, and a plan → execute → replan → synthesize loop. UI-agnostic.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -125,9 +125,9 @@
125
125
  "node": ">=18"
126
126
  },
127
127
  "dependencies": {
128
- "ai": "^7.0.127",
129
- "idb": "^8.0.3",
130
- "zod": "^4.6.5"
128
+ "ai": "^7.0.143",
129
+ "idb": "^8.0.4",
130
+ "zod": "^4.6.7"
131
131
  },
132
132
  "peerDependencies": {
133
133
  "@ai-sdk/anthropic": "^4.0.0",
@@ -174,20 +174,20 @@
174
174
  }
175
175
  },
176
176
  "devDependencies": {
177
- "@ai-sdk/anthropic": "^4.0.71",
178
- "@ai-sdk/deepseek": "^3.0.58",
179
- "@ai-sdk/google": "^4.0.87",
180
- "@ai-sdk/openai": "^4.0.83",
181
- "@ai-sdk/openai-compatible": "^3.0.62",
182
- "@ai-sdk/xai": "^5.0.14",
177
+ "@ai-sdk/anthropic": "^4.0.82",
178
+ "@ai-sdk/deepseek": "^3.0.67",
179
+ "@ai-sdk/google": "^4.0.99",
180
+ "@ai-sdk/openai": "^4.0.96",
181
+ "@ai-sdk/openai-compatible": "^3.0.71",
182
+ "@ai-sdk/xai": "^5.0.24",
183
183
  "@browser-ai/core": "^3.0.4",
184
184
  "@browser-ai/web-llm": "^3.0.4",
185
- "@mlc-ai/web-llm": "^0.2.85",
186
- "@modelcontextprotocol/sdk": "^1.32.0",
185
+ "@mlc-ai/web-llm": "^0.2.86",
186
+ "@modelcontextprotocol/sdk": "^1.32.1",
187
187
  "@types/node": "^22.9.0",
188
- "fake-indexeddb": "^6.2.5",
189
- "prettier": "^3.9.9",
190
- "tsup": "^8.5.1",
188
+ "fake-indexeddb": "^6.2.6",
189
+ "prettier": "^3.9.10",
190
+ "tsup": "^9.0.0",
191
191
  "typescript": "^6.0.3"
192
192
  }
193
193
  }