@dudko.dev/agent-web-react 0.0.30 → 0.0.31
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/README.md +18 -3
- package/dist/{elicitation-CcZe5-EK.d.cts → elicitation-DbW6QKxS.d.cts} +4 -2
- package/dist/{elicitation-CcZe5-EK.d.ts → elicitation-DbW6QKxS.d.ts} +4 -2
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp.cjs +9 -2
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.d.cts +9 -6
- package/dist/mcp.d.ts +9 -6
- package/dist/mcp.js +9 -2
- package/dist/mcp.js.map +1 -1
- package/dist/styles.css +2 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ import * as react from 'react';
|
|
|
2
2
|
import { DependencyList, ReactNode, RefObject, ComponentType, CSSProperties } from 'react';
|
|
3
3
|
import { RunFile, RunResult, Agent, ToolApprovalMode, AppToolCallRequest, AppSamplingRequest, AppSamplingView, AppSamplingResult, CompactResult, IUsage, AgentEventHandler, BrowserAgentConfig, VirtualFileInfo, VirtualFileSystem, CredentialStore, createWebLLMModel, WebLLMModelOptions, ModelTier, TierReason, EscalationReason, DecisionFallbackReason, AgentEvent, Skill, IPlan, ToolApprovalRequest, ToolApprovalContext, ToolApprovalDecision } from '@dudko.dev/agent-web';
|
|
4
4
|
export { Agent, AgentEvent, AgentEventHandler, AgentLoggerSink, AgentTool, AgentToolSet, AppToolCallRequest, AttachmentsNotSupportedError, BrowserAgentConfig, CompactResult, CompactionConfig, CredentialStore, FileToolsOptions, IPlan, IPlanStep, IStepResult, IToolCall, IUsage, ImagesNotSupportedError, IndexedDBStore, LearningConfig, LogLevel, McpAppCsp, McpAppResource, McpAppToolResult, MemoryCredentialStore, MemorySkillStore, MemoryStore, ModelInput, ProviderModelSpec, ProviderType, RunControl, RunFile, RunOptions, RunResult, Skill, SkillStore, SubagentInfo, SubagentToolOptions, SubagentWorkerConfig, ThinkingLevel, ThinkingSetting, TokenLimits, ToolApprovalConfig, ToolApprovalContext, ToolApprovalMode, ToolApprovalRequest, VaultCredentialStore, VfsSkillStore, VirtualFile, VirtualFileInfo, VirtualFileSystem, createAgent, createFileTools, createRunControl, createSubagentTool, createWebLLMModel, defineSkill, defineTool, isWebGPUAvailable, loadSkillFromUrl, markReadOnly, parseSkillMarkdown, preloadWebLLMModel, serveSubagentWorker, supportsImages, supportsPdf, unloadWebLLMModel } from '@dudko.dev/agent-web';
|
|
5
|
-
import { A as AgentUiState, C as ChatAttachment, a as ApprovalView, b as ChatMessage, c as AgentStatus, E as ElicitationIssueKind, d as ElicitationOutcomeReason, M as McpAppSandboxReason, L as LessonView, S as SubagentView, e as SubagentNode, P as PendingElicitation, f as McpElicitationResult, g as ElicitationView, W as WrittenFileView, T as ToolCallView, h as StepView, U as UserNoteView, D as DecisionView, i as MediaView, j as AppView, k as McpAppsConnectionLike, l as McpAppSandboxOptions, m as AppRequestView, n as TranscriptView, B as BudgetView, o as CompactionView, p as ModelLoadState, q as McpAppHost, r as AppRequestAnswerOptions } from './elicitation-
|
|
6
|
-
export { s as APP_DEFAULT_HEIGHT, t as APP_MAX_HEIGHT, u as APP_MIN_HEIGHT, v as AppDownload, w as AppDownloadView, x as AppFileSaverEnv, y as AppLink, z as AppReadyDownload, F as AppResourceReader, G as ElicitationControl, H as ElicitationDraft, I as ElicitationDraftValue, J as ElicitationField, K as ElicitationFormOutcome, N as ElicitationIssue, O as ElicitationLink, Q as ElicitationOption, R as FetchView, V as MCP_APP_DISPLAY_MODES, X as MCP_APP_MAX_ARGS_CHARS, Y as MCP_APP_MAX_DOWNLOAD_BYTES, Z as MCP_APP_MAX_FILE_NAME_CHARS, _ as MCP_APP_MAX_IN_FLIGHT, $ as MCP_APP_MAX_MESSAGE_CHARS, a0 as MCP_APP_MAX_URL_CHARS, a1 as MCP_APP_NOTIFICATIONS, a2 as MCP_APP_OPTIONAL_REQUESTS, a3 as MCP_APP_PROTOCOL_VERSION, a4 as MCP_APP_REFUSED, a5 as MCP_APP_REFUSED_DOWNLOAD_EXTENSIONS, a6 as MCP_APP_REFUSED_DOWNLOAD_TYPES, a7 as MCP_APP_RELAY, a8 as MCP_APP_REQUESTS, a9 as MCP_APP_SANDBOX_FRAME_TOKENS, aa as MCP_APP_SANDBOX_GRACE_MS, ab as MCP_APP_SANDBOX_SERVER, ac as MCP_APP_SANDBOX_TIMEOUT_MS, ad as McpAppBridge, ae as McpAppBridgeHandlers, af as McpAppBridgeOptions, ag as McpAppDisplayMode, ah as McpAppRpcError, ai as McpAppRpcMessage, aj as McpAppSandboxInput, ak as McpAppSandboxLink, al as McpAppSandboxLinkOptions, am as McpAppSandboxTarget, an as McpElicitationFieldSchema, ao as McpElicitationRequest, ap as McpElicitationSchema, aq as QueuedMessageView, ar as ReplanState, as as SkillConsentView, at as StepEscalationView, au as UseMcpAppHostOptions, av as appDisplayModeAllowed, aw as appDownloadOf, ax as appDownloadRefusal, ay as appFileExtensionOf, az as appFileNameOf, aA as appGestureOf, aB as appLinkOf, aC as appMessageTextOf, aD as appMimeTypeOf, aE as appSamplingErrorOf, aF as buildMcpAppDocument, aG as buildMcpAppSandboxShell, aH as clampAppHeight, aI as elicitationFields, aJ as elicitationFormAnswer, aK as elicitationInitialDraft, aL as elicitationLink, aM as formatCountdown, aN as grantedAppCsp, aO as mcpAppCsp, aP as mcpAppHostCapabilities, aQ as mcpAppSandboxProxyUrl, aR as mcpAppSandboxShellCsp, aS as mcpAppSandboxTarget, aT as resolveAppDownload, aU as saveAppFile, aV as useMcpAppHost } from './elicitation-
|
|
5
|
+
import { A as AgentUiState, C as ChatAttachment, a as ApprovalView, b as ChatMessage, c as AgentStatus, E as ElicitationIssueKind, d as ElicitationOutcomeReason, M as McpAppSandboxReason, L as LessonView, S as SubagentView, e as SubagentNode, P as PendingElicitation, f as McpElicitationResult, g as ElicitationView, W as WrittenFileView, T as ToolCallView, h as StepView, U as UserNoteView, D as DecisionView, i as MediaView, j as AppView, k as McpAppsConnectionLike, l as McpAppSandboxOptions, m as AppRequestView, n as TranscriptView, B as BudgetView, o as CompactionView, p as ModelLoadState, q as McpAppHost, r as AppRequestAnswerOptions } from './elicitation-DbW6QKxS.cjs';
|
|
6
|
+
export { s as APP_DEFAULT_HEIGHT, t as APP_MAX_HEIGHT, u as APP_MIN_HEIGHT, v as AppDownload, w as AppDownloadView, x as AppFileSaverEnv, y as AppLink, z as AppReadyDownload, F as AppResourceReader, G as ElicitationControl, H as ElicitationDraft, I as ElicitationDraftValue, J as ElicitationField, K as ElicitationFormOutcome, N as ElicitationIssue, O as ElicitationLink, Q as ElicitationOption, R as FetchView, V as MCP_APP_DISPLAY_MODES, X as MCP_APP_MAX_ARGS_CHARS, Y as MCP_APP_MAX_DOWNLOAD_BYTES, Z as MCP_APP_MAX_FILE_NAME_CHARS, _ as MCP_APP_MAX_IN_FLIGHT, $ as MCP_APP_MAX_MESSAGE_CHARS, a0 as MCP_APP_MAX_URL_CHARS, a1 as MCP_APP_NOTIFICATIONS, a2 as MCP_APP_OPTIONAL_REQUESTS, a3 as MCP_APP_PROTOCOL_VERSION, a4 as MCP_APP_REFUSED, a5 as MCP_APP_REFUSED_DOWNLOAD_EXTENSIONS, a6 as MCP_APP_REFUSED_DOWNLOAD_TYPES, a7 as MCP_APP_RELAY, a8 as MCP_APP_REQUESTS, a9 as MCP_APP_SANDBOX_FRAME_TOKENS, aa as MCP_APP_SANDBOX_GRACE_MS, ab as MCP_APP_SANDBOX_SERVER, ac as MCP_APP_SANDBOX_TIMEOUT_MS, ad as McpAppBridge, ae as McpAppBridgeHandlers, af as McpAppBridgeOptions, ag as McpAppDisplayMode, ah as McpAppRpcError, ai as McpAppRpcMessage, aj as McpAppSandboxInput, ak as McpAppSandboxLink, al as McpAppSandboxLinkOptions, am as McpAppSandboxTarget, an as McpElicitationFieldSchema, ao as McpElicitationRequest, ap as McpElicitationSchema, aq as QueuedMessageView, ar as ReplanState, as as SkillConsentView, at as StepEscalationView, au as UseMcpAppHostOptions, av as appDisplayModeAllowed, aw as appDownloadOf, ax as appDownloadRefusal, ay as appFileExtensionOf, az as appFileNameOf, aA as appGestureOf, aB as appLinkOf, aC as appMessageTextOf, aD as appMimeTypeOf, aE as appSamplingErrorOf, aF as buildMcpAppDocument, aG as buildMcpAppSandboxShell, aH as clampAppHeight, aI as elicitationFields, aJ as elicitationFormAnswer, aK as elicitationInitialDraft, aL as elicitationLink, aM as formatCountdown, aN as grantedAppCsp, aO as mcpAppCsp, aP as mcpAppHostCapabilities, aQ as mcpAppSandboxProxyUrl, aR as mcpAppSandboxShellCsp, aS as mcpAppSandboxTarget, aT as resolveAppDownload, aU as saveAppFile, aV as useMcpAppHost } from './elicitation-DbW6QKxS.cjs';
|
|
7
7
|
export { M as MCP_APP_POLICY_TOKEN_MAX_CHARS, a as MCP_APP_SANDBOX_PROXY_READY, b as MCP_APP_SANDBOX_RESOURCE_READY, i as isMcpAppSandboxMessage, m as mcpAppPolicyToken } from './mcp-app-policy-DIUmGPJP.cjs';
|
|
8
8
|
|
|
9
9
|
interface UseAgentOptions {
|
|
@@ -984,6 +984,13 @@ interface AgentLabels {
|
|
|
984
984
|
skillConsentByUri: string;
|
|
985
985
|
/** It sits inside another skill of the same server. */
|
|
986
986
|
skillConsentNested: (enclosing: string) => string;
|
|
987
|
+
/**
|
|
988
|
+
* A generated skill (`skill.dynamic`): the server publishes no checksums - the person approves
|
|
989
|
+
* the copy the agent just read, and only that copy is used.
|
|
990
|
+
*/
|
|
991
|
+
skillConsentDynamic: string;
|
|
992
|
+
/** (with `skillConsentDynamic`) The server cannot list the skill's files: SKILL.md alone. */
|
|
993
|
+
skillConsentNoFileListing: string;
|
|
987
994
|
/** The summary of the collapsible preview of its instructions. */
|
|
988
995
|
skillConsentPreview: string;
|
|
989
996
|
/** Under the preview: its other files, and how many more there are than are shown. */
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as react from 'react';
|
|
|
2
2
|
import { DependencyList, ReactNode, RefObject, ComponentType, CSSProperties } from 'react';
|
|
3
3
|
import { RunFile, RunResult, Agent, ToolApprovalMode, AppToolCallRequest, AppSamplingRequest, AppSamplingView, AppSamplingResult, CompactResult, IUsage, AgentEventHandler, BrowserAgentConfig, VirtualFileInfo, VirtualFileSystem, CredentialStore, createWebLLMModel, WebLLMModelOptions, ModelTier, TierReason, EscalationReason, DecisionFallbackReason, AgentEvent, Skill, IPlan, ToolApprovalRequest, ToolApprovalContext, ToolApprovalDecision } from '@dudko.dev/agent-web';
|
|
4
4
|
export { Agent, AgentEvent, AgentEventHandler, AgentLoggerSink, AgentTool, AgentToolSet, AppToolCallRequest, AttachmentsNotSupportedError, BrowserAgentConfig, CompactResult, CompactionConfig, CredentialStore, FileToolsOptions, IPlan, IPlanStep, IStepResult, IToolCall, IUsage, ImagesNotSupportedError, IndexedDBStore, LearningConfig, LogLevel, McpAppCsp, McpAppResource, McpAppToolResult, MemoryCredentialStore, MemorySkillStore, MemoryStore, ModelInput, ProviderModelSpec, ProviderType, RunControl, RunFile, RunOptions, RunResult, Skill, SkillStore, SubagentInfo, SubagentToolOptions, SubagentWorkerConfig, ThinkingLevel, ThinkingSetting, TokenLimits, ToolApprovalConfig, ToolApprovalContext, ToolApprovalMode, ToolApprovalRequest, VaultCredentialStore, VfsSkillStore, VirtualFile, VirtualFileInfo, VirtualFileSystem, createAgent, createFileTools, createRunControl, createSubagentTool, createWebLLMModel, defineSkill, defineTool, isWebGPUAvailable, loadSkillFromUrl, markReadOnly, parseSkillMarkdown, preloadWebLLMModel, serveSubagentWorker, supportsImages, supportsPdf, unloadWebLLMModel } from '@dudko.dev/agent-web';
|
|
5
|
-
import { A as AgentUiState, C as ChatAttachment, a as ApprovalView, b as ChatMessage, c as AgentStatus, E as ElicitationIssueKind, d as ElicitationOutcomeReason, M as McpAppSandboxReason, L as LessonView, S as SubagentView, e as SubagentNode, P as PendingElicitation, f as McpElicitationResult, g as ElicitationView, W as WrittenFileView, T as ToolCallView, h as StepView, U as UserNoteView, D as DecisionView, i as MediaView, j as AppView, k as McpAppsConnectionLike, l as McpAppSandboxOptions, m as AppRequestView, n as TranscriptView, B as BudgetView, o as CompactionView, p as ModelLoadState, q as McpAppHost, r as AppRequestAnswerOptions } from './elicitation-
|
|
6
|
-
export { s as APP_DEFAULT_HEIGHT, t as APP_MAX_HEIGHT, u as APP_MIN_HEIGHT, v as AppDownload, w as AppDownloadView, x as AppFileSaverEnv, y as AppLink, z as AppReadyDownload, F as AppResourceReader, G as ElicitationControl, H as ElicitationDraft, I as ElicitationDraftValue, J as ElicitationField, K as ElicitationFormOutcome, N as ElicitationIssue, O as ElicitationLink, Q as ElicitationOption, R as FetchView, V as MCP_APP_DISPLAY_MODES, X as MCP_APP_MAX_ARGS_CHARS, Y as MCP_APP_MAX_DOWNLOAD_BYTES, Z as MCP_APP_MAX_FILE_NAME_CHARS, _ as MCP_APP_MAX_IN_FLIGHT, $ as MCP_APP_MAX_MESSAGE_CHARS, a0 as MCP_APP_MAX_URL_CHARS, a1 as MCP_APP_NOTIFICATIONS, a2 as MCP_APP_OPTIONAL_REQUESTS, a3 as MCP_APP_PROTOCOL_VERSION, a4 as MCP_APP_REFUSED, a5 as MCP_APP_REFUSED_DOWNLOAD_EXTENSIONS, a6 as MCP_APP_REFUSED_DOWNLOAD_TYPES, a7 as MCP_APP_RELAY, a8 as MCP_APP_REQUESTS, a9 as MCP_APP_SANDBOX_FRAME_TOKENS, aa as MCP_APP_SANDBOX_GRACE_MS, ab as MCP_APP_SANDBOX_SERVER, ac as MCP_APP_SANDBOX_TIMEOUT_MS, ad as McpAppBridge, ae as McpAppBridgeHandlers, af as McpAppBridgeOptions, ag as McpAppDisplayMode, ah as McpAppRpcError, ai as McpAppRpcMessage, aj as McpAppSandboxInput, ak as McpAppSandboxLink, al as McpAppSandboxLinkOptions, am as McpAppSandboxTarget, an as McpElicitationFieldSchema, ao as McpElicitationRequest, ap as McpElicitationSchema, aq as QueuedMessageView, ar as ReplanState, as as SkillConsentView, at as StepEscalationView, au as UseMcpAppHostOptions, av as appDisplayModeAllowed, aw as appDownloadOf, ax as appDownloadRefusal, ay as appFileExtensionOf, az as appFileNameOf, aA as appGestureOf, aB as appLinkOf, aC as appMessageTextOf, aD as appMimeTypeOf, aE as appSamplingErrorOf, aF as buildMcpAppDocument, aG as buildMcpAppSandboxShell, aH as clampAppHeight, aI as elicitationFields, aJ as elicitationFormAnswer, aK as elicitationInitialDraft, aL as elicitationLink, aM as formatCountdown, aN as grantedAppCsp, aO as mcpAppCsp, aP as mcpAppHostCapabilities, aQ as mcpAppSandboxProxyUrl, aR as mcpAppSandboxShellCsp, aS as mcpAppSandboxTarget, aT as resolveAppDownload, aU as saveAppFile, aV as useMcpAppHost } from './elicitation-
|
|
5
|
+
import { A as AgentUiState, C as ChatAttachment, a as ApprovalView, b as ChatMessage, c as AgentStatus, E as ElicitationIssueKind, d as ElicitationOutcomeReason, M as McpAppSandboxReason, L as LessonView, S as SubagentView, e as SubagentNode, P as PendingElicitation, f as McpElicitationResult, g as ElicitationView, W as WrittenFileView, T as ToolCallView, h as StepView, U as UserNoteView, D as DecisionView, i as MediaView, j as AppView, k as McpAppsConnectionLike, l as McpAppSandboxOptions, m as AppRequestView, n as TranscriptView, B as BudgetView, o as CompactionView, p as ModelLoadState, q as McpAppHost, r as AppRequestAnswerOptions } from './elicitation-DbW6QKxS.js';
|
|
6
|
+
export { s as APP_DEFAULT_HEIGHT, t as APP_MAX_HEIGHT, u as APP_MIN_HEIGHT, v as AppDownload, w as AppDownloadView, x as AppFileSaverEnv, y as AppLink, z as AppReadyDownload, F as AppResourceReader, G as ElicitationControl, H as ElicitationDraft, I as ElicitationDraftValue, J as ElicitationField, K as ElicitationFormOutcome, N as ElicitationIssue, O as ElicitationLink, Q as ElicitationOption, R as FetchView, V as MCP_APP_DISPLAY_MODES, X as MCP_APP_MAX_ARGS_CHARS, Y as MCP_APP_MAX_DOWNLOAD_BYTES, Z as MCP_APP_MAX_FILE_NAME_CHARS, _ as MCP_APP_MAX_IN_FLIGHT, $ as MCP_APP_MAX_MESSAGE_CHARS, a0 as MCP_APP_MAX_URL_CHARS, a1 as MCP_APP_NOTIFICATIONS, a2 as MCP_APP_OPTIONAL_REQUESTS, a3 as MCP_APP_PROTOCOL_VERSION, a4 as MCP_APP_REFUSED, a5 as MCP_APP_REFUSED_DOWNLOAD_EXTENSIONS, a6 as MCP_APP_REFUSED_DOWNLOAD_TYPES, a7 as MCP_APP_RELAY, a8 as MCP_APP_REQUESTS, a9 as MCP_APP_SANDBOX_FRAME_TOKENS, aa as MCP_APP_SANDBOX_GRACE_MS, ab as MCP_APP_SANDBOX_SERVER, ac as MCP_APP_SANDBOX_TIMEOUT_MS, ad as McpAppBridge, ae as McpAppBridgeHandlers, af as McpAppBridgeOptions, ag as McpAppDisplayMode, ah as McpAppRpcError, ai as McpAppRpcMessage, aj as McpAppSandboxInput, ak as McpAppSandboxLink, al as McpAppSandboxLinkOptions, am as McpAppSandboxTarget, an as McpElicitationFieldSchema, ao as McpElicitationRequest, ap as McpElicitationSchema, aq as QueuedMessageView, ar as ReplanState, as as SkillConsentView, at as StepEscalationView, au as UseMcpAppHostOptions, av as appDisplayModeAllowed, aw as appDownloadOf, ax as appDownloadRefusal, ay as appFileExtensionOf, az as appFileNameOf, aA as appGestureOf, aB as appLinkOf, aC as appMessageTextOf, aD as appMimeTypeOf, aE as appSamplingErrorOf, aF as buildMcpAppDocument, aG as buildMcpAppSandboxShell, aH as clampAppHeight, aI as elicitationFields, aJ as elicitationFormAnswer, aK as elicitationInitialDraft, aL as elicitationLink, aM as formatCountdown, aN as grantedAppCsp, aO as mcpAppCsp, aP as mcpAppHostCapabilities, aQ as mcpAppSandboxProxyUrl, aR as mcpAppSandboxShellCsp, aS as mcpAppSandboxTarget, aT as resolveAppDownload, aU as saveAppFile, aV as useMcpAppHost } from './elicitation-DbW6QKxS.js';
|
|
7
7
|
export { M as MCP_APP_POLICY_TOKEN_MAX_CHARS, a as MCP_APP_SANDBOX_PROXY_READY, b as MCP_APP_SANDBOX_RESOURCE_READY, i as isMcpAppSandboxMessage, m as mcpAppPolicyToken } from './mcp-app-policy-DIUmGPJP.js';
|
|
8
8
|
|
|
9
9
|
interface UseAgentOptions {
|
|
@@ -984,6 +984,13 @@ interface AgentLabels {
|
|
|
984
984
|
skillConsentByUri: string;
|
|
985
985
|
/** It sits inside another skill of the same server. */
|
|
986
986
|
skillConsentNested: (enclosing: string) => string;
|
|
987
|
+
/**
|
|
988
|
+
* A generated skill (`skill.dynamic`): the server publishes no checksums - the person approves
|
|
989
|
+
* the copy the agent just read, and only that copy is used.
|
|
990
|
+
*/
|
|
991
|
+
skillConsentDynamic: string;
|
|
992
|
+
/** (with `skillConsentDynamic`) The server cannot list the skill's files: SKILL.md alone. */
|
|
993
|
+
skillConsentNoFileListing: string;
|
|
987
994
|
/** The summary of the collapsible preview of its instructions. */
|
|
988
995
|
skillConsentPreview: string;
|
|
989
996
|
/** Under the preview: its other files, and how many more there are than are shown. */
|
package/dist/index.js
CHANGED
|
@@ -2285,6 +2285,8 @@ var defaultLabels = {
|
|
|
2285
2285
|
skillConsentSize: (bytes, files) => `SKILL.md ${kb(bytes)}${files ? ` \xB7 ${plural(files, "more file", "more files")}` : ""}`,
|
|
2286
2286
|
skillConsentByUri: "Not in the server\u2019s list: the agent asked for it by its address.",
|
|
2287
2287
|
skillConsentNested: (enclosing) => `It sits inside the skill \u201C${enclosing}\u201D: allowing that one did not allow this one.`,
|
|
2288
|
+
skillConsentDynamic: "This server publishes no checksums for this skill: you approve the copy the agent just read, and only that copy is used.",
|
|
2289
|
+
skillConsentNoFileListing: "The server cannot list this skill\u2019s files: that copy is its SKILL.md alone.",
|
|
2288
2290
|
skillConsentPreview: "Show what the agent would read",
|
|
2289
2291
|
skillConsentFiles: (paths, more) => `Its files, read as text and never run: ${paths}${more ? ` and ${more} more` : ""}`,
|
|
2290
2292
|
skillConsentNote: (server, consent) => `Instructions written by the server \u201C${server}\u201D, not by you. They reach the agent only if you allow it${consent === "ask" ? ", and you are asked again in every task that loads them." : " - you are asked again if the server changes them."} They cannot change the agent\u2019s rules or approvals.`,
|
|
@@ -6702,6 +6704,8 @@ var SkillConsentCard = ({
|
|
|
6702
6704
|
] }),
|
|
6703
6705
|
skill.byUri && /* @__PURE__ */ jsx17("p", { className: "awr-approval__from", children: L.skillConsentByUri }),
|
|
6704
6706
|
skill.nestedIn && /* @__PURE__ */ jsx17("p", { className: "awr-approval__from awr-approval__nested", children: L.skillConsentNested(skill.nestedIn) }),
|
|
6707
|
+
skill.dynamic && /* @__PURE__ */ jsx17("p", { className: "awr-approval__from awr-approval__dynamic", children: L.skillConsentDynamic }),
|
|
6708
|
+
skill.dynamic && skill.noFileListing && /* @__PURE__ */ jsx17("p", { className: "awr-approval__from", children: L.skillConsentNoFileListing }),
|
|
6705
6709
|
showPreview && skill.body !== void 0 && /* @__PURE__ */ jsxs15("details", { className: "awr-approval__preview", children: [
|
|
6706
6710
|
/* @__PURE__ */ jsx17("summary", { children: L.skillConsentPreview }),
|
|
6707
6711
|
/* @__PURE__ */ jsx17("pre", { className: "awr-approval__quote awr-approval__body", children: skill.body }),
|