@tangle-network/agent-app 0.45.19 → 0.45.21
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/{auth-B69PcJjv.d.ts → auth-DJjJBtYw.d.ts} +3 -2
- package/dist/chat-routes/index.d.ts +1 -1
- package/dist/chat-routes/index.js +3 -3
- package/dist/{chunk-OS62B34S.js → chunk-7V2I3JGZ.js} +52 -4
- package/dist/chunk-7V2I3JGZ.js.map +1 -0
- package/dist/{chunk-YOFQO4R6.js → chunk-KBJL6LIW.js} +124 -115
- package/dist/chunk-KBJL6LIW.js.map +1 -0
- package/dist/{chunk-C5OIABSB.js → chunk-ZSGTG6PK.js} +81 -15
- package/dist/{chunk-C5OIABSB.js.map → chunk-ZSGTG6PK.js.map} +1 -1
- package/dist/design-canvas/index.d.ts +3 -3
- package/dist/design-canvas/index.js +1 -1
- package/dist/{mcp-Cy9ZXudB.d.ts → mcp-BiKqnsJV.d.ts} +1 -1
- package/dist/{mcp-rpc-CzU5LWWT.d.ts → mcp-rpc-DYwPlYbZ.d.ts} +10 -1
- package/dist/runtime/index.d.ts +2 -2
- package/dist/sandbox/index.d.ts +13 -3
- package/dist/sandbox/index.js +7 -3
- package/dist/sequences/index.d.ts +3 -3
- package/dist/sequences/index.js +1 -1
- package/dist/tools/index.d.ts +8 -4
- package/dist/tools/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-OS62B34S.js.map +0 -1
- package/dist/chunk-YOFQO4R6.js.map +0 -1
|
@@ -5,11 +5,11 @@ export { A as AddElementOperation, b as AddPageOperation, c as ApplyDataOperatio
|
|
|
5
5
|
import { a as SceneStore, N as NewSceneDecision, b as SceneDocumentRecord } from '../store-CqfDtnPQ.js';
|
|
6
6
|
export { c as SceneDecision, d as SceneExportFormat, e as SceneExportRecord, S as SceneStoreScope } from '../store-CqfDtnPQ.js';
|
|
7
7
|
export { C as CHANNEL_PRESETS, a as ChannelPreset, b as ChannelPresetId, c as ChannelScaleResult, E as EXPORT_PRESETS, d as ExportCropRect, e as ExportFormat, f as ExportPreset, S as SIZE_PRESETS, g as SizePreset, h as bleedAwareExportBounds, i as bleedAwareExportRect, j as findPreset, m as matchPreset, r as requireChannelPreset, s as scaleForPreset, k as scalePageForChannelPreset } from '../export-presets-mgVulRaV.js';
|
|
8
|
-
import { a as McpToolDefinition } from '../mcp-rpc-
|
|
9
|
-
import { S as ScopedMcpServerEntryOptions, A as AppToolMcpServer } from '../mcp-
|
|
8
|
+
import { a as McpToolDefinition } from '../mcp-rpc-DYwPlYbZ.js';
|
|
9
|
+
import { S as ScopedMcpServerEntryOptions, A as AppToolMcpServer } from '../mcp-BiKqnsJV.js';
|
|
10
10
|
import '@tangle-network/agent-interface';
|
|
11
11
|
import '../types-DbU-oO5h.js';
|
|
12
|
-
import '../auth-
|
|
12
|
+
import '../auth-DJjJBtYw.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Pre-write validation for scene operations. Every rule runs against a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgentProfileConfigValue } from '@tangle-network/agent-interface';
|
|
2
2
|
import { A as AppToolContext, a as AppToolName, b as AppToolDefinition } from './types-DbU-oO5h.js';
|
|
3
|
-
import { T as ToolHeaderNames } from './auth-
|
|
3
|
+
import { T as ToolHeaderNames } from './auth-DJjJBtYw.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The tagged-configuration contract for every MCP server this package emits.
|
|
@@ -43,6 +43,15 @@ interface CreateMcpToolHandlerOptions<TEnv = Record<string, never>> {
|
|
|
43
43
|
* stateless (or carry state through closure) pass an empty builder:
|
|
44
44
|
* `() => ({} as TEnv)`. */
|
|
45
45
|
buildEnv(request: Request): TEnv | Promise<TEnv>;
|
|
46
|
+
/** Optional result formatter for callers that need structured tool errors. */
|
|
47
|
+
formatResult?: (result: unknown, tool: McpToolDefinition<TEnv>) => McpToolCallContent;
|
|
48
|
+
}
|
|
49
|
+
interface McpToolCallContent {
|
|
50
|
+
content: Array<{
|
|
51
|
+
type: 'text';
|
|
52
|
+
text: string;
|
|
53
|
+
}>;
|
|
54
|
+
isError?: true;
|
|
46
55
|
}
|
|
47
56
|
/**
|
|
48
57
|
* Build a request handler for a tools-only MCP server. The returned function
|
|
@@ -55,4 +64,4 @@ interface CreateMcpToolHandlerOptions<TEnv = Record<string, never>> {
|
|
|
55
64
|
*/
|
|
56
65
|
declare function createMcpToolHandler<TEnv = Record<string, never>>(opts: CreateMcpToolHandlerOptions<TEnv>): (request: Request) => Promise<Response>;
|
|
57
66
|
|
|
58
|
-
export { type CreateMcpToolHandlerOptions as C, MCP_PROTOCOL_VERSIONS as M, type McpToolDefinition as a, type McpProtocolVersion as b, type McpServerInfo as c,
|
|
67
|
+
export { type CreateMcpToolHandlerOptions as C, MCP_PROTOCOL_VERSIONS as M, type McpToolDefinition as a, type McpProtocolVersion as b, type McpServerInfo as c, type McpToolCallContent as d, createMcpToolHandler as e };
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import * as _tangle_network_agent_runtime_tool_loop from '@tangle-network/agent-
|
|
|
4
4
|
import { ToolLoopMessage } from '@tangle-network/agent-runtime/tool-loop';
|
|
5
5
|
export { RunToolLoopOptions as AppToolLoopOptions, ToolLoopAssistantToolCall as LoopAssistantToolCall, ToolLoopMessage as LoopMessage, ToolLoopCall as LoopToolCall, StreamToolLoopOptions as StreamAppToolLoopOptions, StreamToolLoopYield as StreamLoopYield, ToolLoopEvent, ToolLoopResult, ToolLoopStopReason, runToolLoop as runAppToolLoop, streamToolLoop as streamAppToolLoop } from '@tangle-network/agent-runtime/tool-loop';
|
|
6
6
|
import { CertifiedProfile } from '@tangle-network/agent-runtime/intelligence';
|
|
7
|
-
import { A as AppToolMcpServer } from '../mcp-
|
|
7
|
+
import { A as AppToolMcpServer } from '../mcp-BiKqnsJV.js';
|
|
8
8
|
import '@tangle-network/agent-interface';
|
|
9
9
|
import '../types-DbU-oO5h.js';
|
|
10
|
-
import '../auth-
|
|
10
|
+
import '../auth-DJjJBtYw.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Events the app's OpenAI-compat stream adapter ({@link toLoopEvents}) yields.
|
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Sandbox } from '@tangle-network/sandbox/core';
|
|
|
2
2
|
import { SandboxInstance, ProvisionEvent, EgressPolicy, StorageConfig, ScopedTokenScope, TurnDriveResult, MintScopedTokenOptions } from '@tangle-network/sandbox';
|
|
3
3
|
export { StorageConfig } from '@tangle-network/sandbox';
|
|
4
4
|
import { ReasoningEffort, AgentProfileMcpServer, AgentProfileFileMount, AgentProfile } from '@tangle-network/agent-interface';
|
|
5
|
-
import { T as ToolHeaderNames } from '../auth-
|
|
5
|
+
import { T as ToolHeaderNames } from '../auth-DJjJBtYw.js';
|
|
6
6
|
import { a as AppToolName, A as AppToolContext } from '../types-DbU-oO5h.js';
|
|
7
7
|
import { Harness } from '../harness/index.js';
|
|
8
8
|
import { a as TangleExecutionEnvironment } from '../model-CdCDfBA9.js';
|
|
@@ -1066,6 +1066,9 @@ interface SandboxBuildContext {
|
|
|
1066
1066
|
connectedIntegrationIds: string[];
|
|
1067
1067
|
userId?: string;
|
|
1068
1068
|
}
|
|
1069
|
+
/** Hosts required when a product installs its pinned Python tooling at boot. */
|
|
1070
|
+
declare const PYPI_EGRESS_DOMAINS: readonly ["pypi.org", "files.pythonhosted.org", "pypi.python.org"];
|
|
1071
|
+
declare function buildProductEgressPolicy(publicOrigin: string | URL, extraDomains?: readonly string[]): EgressPolicy;
|
|
1069
1072
|
|
|
1070
1073
|
/** Define a scope containing workspace and optional user identifiers for sandbox environments */
|
|
1071
1074
|
interface SandboxScope {
|
|
@@ -1160,9 +1163,16 @@ interface SandboxRuntimeConfig {
|
|
|
1160
1163
|
* Product-declared outbound network policy. Applied when a sandbox is
|
|
1161
1164
|
* created. A reused or resumed sandbox is returned only when its explicit
|
|
1162
1165
|
* policy already matches; existing mismatches are rejected without updating
|
|
1163
|
-
* or deleting the sandbox.
|
|
1166
|
+
* or deleting the sandbox unless migration is explicitly enabled below.
|
|
1164
1167
|
*/
|
|
1165
1168
|
egressPolicy?: EgressPolicy;
|
|
1169
|
+
/**
|
|
1170
|
+
* Update an existing box to {@link egressPolicy} before reuse when its
|
|
1171
|
+
* recorded policy is absent or different. This is an explicit fleet
|
|
1172
|
+
* migration switch: the updated policy is read back and must match before
|
|
1173
|
+
* the box is returned. It never deletes the box.
|
|
1174
|
+
*/
|
|
1175
|
+
migrateEgressPolicy?: boolean;
|
|
1166
1176
|
storage?: (ctx: SandboxBuildContext) => StorageConfig | undefined;
|
|
1167
1177
|
restore?: (ctx: SandboxBuildContext) => SandboxRestoreSpec | undefined;
|
|
1168
1178
|
boxKey?: (scope: SandboxScope) => string;
|
|
@@ -1595,4 +1605,4 @@ declare function isTerminalPromptEvent(event: unknown): boolean;
|
|
|
1595
1605
|
/** Resolve the interactive question text from a structured event or return null if none found */
|
|
1596
1606
|
declare function detectInteractiveQuestion(event: unknown): string | null;
|
|
1597
1607
|
|
|
1598
|
-
export { type AppToolDescriptor, type BuildAppToolMcpServersOptions, type BuildSandboxToolFileMountsOptions, type D1PrewarmClaimStoreOptions, DEFAULT_PREWARM_CLAIM_TABLE, DEFAULT_PROVISION_TIMEOUT_MS, DEFAULT_SANDBOX_RESOURCES, DEFAULT_SIDECAR_PROCESS_PATTERN, type DriveSandboxTurnOptions, EGRESS_PROXY_RECOVERY_PHASE, EGRESS_PROXY_RECOVERY_REQUIRED, ENV_TOTAL_MAX_BYTES, ENV_VALUE_MAX_BYTES, type EnsureWorkspaceSandboxOptions, type LivenessProbeConfig, type MemberSyncSeam, type ModelSelection, type ModelSelectionError, type ModelSelectionFailure, type ModelSelectionSource, type Outcome, PREWARM_CLAIM_TABLE_DDL, PROVISION_PAYLOAD_MAX_BYTES, type PeekWorkspaceSandboxOutcome, type PrewarmClaimD1Like, type PrewarmClaimStore, type PrewarmDecision, type PrewarmEvent, type PrewarmOutcome, type PrewarmResult, type ProfileComposeOptions, type PromptInputPart, type ProviderResolutionConfig, type ProvisionPayloadSections, type ProvisionProfileSection, type ResolveSandboxClientCredentialsOptions, type ResolvedModel, type SafeSandboxErrorCause, type SafeSandboxErrorDiagnostics, type SandboxBuildContext, type SandboxClientCredentials, type SandboxCredentialEnvironment, SandboxEgressPolicyMismatchError, type SandboxEgressPolicySource, type SandboxExecChannel, type SandboxExecOptions, type SandboxExistingBoxStage, type SandboxFileBytesOutcome, type SandboxFileSizeOutcome, SandboxModelResolutionError, type SandboxPermissionLevel, type SandboxPrewarmScope, type SandboxPrewarmer, type SandboxPrewarmerOptions, type SandboxReadiness, SandboxRecoveryFailedError, type SandboxRecoveryPhase, type SandboxResourceConfig, type SandboxRestoreSpec, SandboxRuntimeAuthRefreshError, type SandboxRuntimeConfig, type SandboxScope, type SandboxStepTransition, type SandboxStreamEvent, type SandboxTerminalConnectionRouteOptions, type SandboxToolPathOptions, type SandboxToolSpec, type ScopedTokenResult, type SecretStore, type StoppedSandboxResumeFailure, type StoppedSandboxResumeRecovery, type StreamSandboxPromptOptions, type TerminalConnectionBoxLike, WORKSPACE_SANDBOX_HOST_EXHAUSTED, WORKSPACE_SANDBOX_MISSING, WORKSPACE_SANDBOX_RECOVERY_ACTIONS, WORKSPACE_SANDBOX_RECOVERY_CODES, WORKSPACE_SANDBOX_SNAPSHOT_MAX_AGE_MS, WORKSPACE_SANDBOX_UNRECOVERABLE, type WorkspaceSandboxEnsureContext, type WorkspaceSandboxInstanceLike, type WorkspaceSandboxManager, type WorkspaceSandboxManagerOptions, type WorkspaceSandboxRecoveryAction, type WorkspaceSandboxRecoveryCode, type WorkspaceSandboxRecoveryDecision, type WorkspaceSandboxRecoveryManager, WorkspaceSandboxRecoveryRequiredError, type WorkspaceSandboxRecoveryState, type WorkspaceSandboxRecoveryStore, type WorkspaceSandboxSnapshot, type WorkspaceSandboxSnapshotAssessment, type WorkspaceSandboxSnapshotAvailability, type WorkspaceSandboxSnapshotFreshness, type WriteProfileFilesOptions, adaptSandboxStream, assertEnvWithinLimits, assertProvisionPayloadWithinCap, assessWorkspaceSandboxSnapshot, attachReasoningEffort, buildAppToolMcpServers, buildSandboxToolFileMounts, buildSandboxToolPathSetupScript, classifySeveredStream, collectSandboxPromptText, createD1PrewarmClaimStore, createSandboxPrewarmer, createSandboxTerminalConnectionRoute, createWorkspaceSandboxManager, createWorkspaceSandboxRecoveryManager, deferredCorpusHash, deleteSecret, detectInteractiveQuestion, driveSandboxTurn, ensureWorkspaceSandbox, flattenHistory, formatSandboxProvisioningSupportDetails, formatSandboxProvisioningUserMessage, getClient, isEgressProxyRecoveryRequiredError, isSandboxApiBearerAuthFailure, isSandboxApiSandboxMissingFailure, isSandboxAuthFailure, isSandboxHostCapacityFailure, isTerminalPromptEvent, isWorkspaceSandboxRecoveryAction, isWorkspaceSandboxRecoveryCode, isWorkspaceSandboxRecoveryState, isWorkspaceSandboxSnapshotRestoreError, mergeExtraMcp, mergeHistoryIntoParts, mintSandboxScopedToken, peekWorkspaceSandbox, preferredWorkspaceSandboxRecoveryBoxKey, readSandboxBinaryBytes, readSecret, requireTransportableModel, resetClientCache, resolveModel, resolveModelSelection, resolveSandboxClientCredentials, runSandboxPrompt, runSandboxToolPathSetup, sandboxToolBinDir, sandboxToolPath, sandboxToolRootDir, secretStoreFromClient, serializeSandboxProvisioningError, shellQuote, shouldRestoreWorkspaceSandboxRecovery, splitDeferredProfileFiles, statSandboxFileSize, storeSecret, streamSandboxPrompt, syncSandboxMemberAdd, syncSandboxMemberRemove, syncSandboxMemberRole, workspaceSandboxRecoveryDiagnostic, workspaceSandboxRecoveryFromError, workspaceSandboxRecoveryMessage, workspaceSandboxRecoveryRecommendedActions, writeProfileFilesToBox };
|
|
1608
|
+
export { type AppToolDescriptor, type BuildAppToolMcpServersOptions, type BuildSandboxToolFileMountsOptions, type D1PrewarmClaimStoreOptions, DEFAULT_PREWARM_CLAIM_TABLE, DEFAULT_PROVISION_TIMEOUT_MS, DEFAULT_SANDBOX_RESOURCES, DEFAULT_SIDECAR_PROCESS_PATTERN, type DriveSandboxTurnOptions, EGRESS_PROXY_RECOVERY_PHASE, EGRESS_PROXY_RECOVERY_REQUIRED, ENV_TOTAL_MAX_BYTES, ENV_VALUE_MAX_BYTES, type EnsureWorkspaceSandboxOptions, type LivenessProbeConfig, type MemberSyncSeam, type ModelSelection, type ModelSelectionError, type ModelSelectionFailure, type ModelSelectionSource, type Outcome, PREWARM_CLAIM_TABLE_DDL, PROVISION_PAYLOAD_MAX_BYTES, PYPI_EGRESS_DOMAINS, type PeekWorkspaceSandboxOutcome, type PrewarmClaimD1Like, type PrewarmClaimStore, type PrewarmDecision, type PrewarmEvent, type PrewarmOutcome, type PrewarmResult, type ProfileComposeOptions, type PromptInputPart, type ProviderResolutionConfig, type ProvisionPayloadSections, type ProvisionProfileSection, type ResolveSandboxClientCredentialsOptions, type ResolvedModel, type SafeSandboxErrorCause, type SafeSandboxErrorDiagnostics, type SandboxBuildContext, type SandboxClientCredentials, type SandboxCredentialEnvironment, SandboxEgressPolicyMismatchError, type SandboxEgressPolicySource, type SandboxExecChannel, type SandboxExecOptions, type SandboxExistingBoxStage, type SandboxFileBytesOutcome, type SandboxFileSizeOutcome, SandboxModelResolutionError, type SandboxPermissionLevel, type SandboxPrewarmScope, type SandboxPrewarmer, type SandboxPrewarmerOptions, type SandboxReadiness, SandboxRecoveryFailedError, type SandboxRecoveryPhase, type SandboxResourceConfig, type SandboxRestoreSpec, SandboxRuntimeAuthRefreshError, type SandboxRuntimeConfig, type SandboxScope, type SandboxStepTransition, type SandboxStreamEvent, type SandboxTerminalConnectionRouteOptions, type SandboxToolPathOptions, type SandboxToolSpec, type ScopedTokenResult, type SecretStore, type StoppedSandboxResumeFailure, type StoppedSandboxResumeRecovery, type StreamSandboxPromptOptions, type TerminalConnectionBoxLike, WORKSPACE_SANDBOX_HOST_EXHAUSTED, WORKSPACE_SANDBOX_MISSING, WORKSPACE_SANDBOX_RECOVERY_ACTIONS, WORKSPACE_SANDBOX_RECOVERY_CODES, WORKSPACE_SANDBOX_SNAPSHOT_MAX_AGE_MS, WORKSPACE_SANDBOX_UNRECOVERABLE, type WorkspaceSandboxEnsureContext, type WorkspaceSandboxInstanceLike, type WorkspaceSandboxManager, type WorkspaceSandboxManagerOptions, type WorkspaceSandboxRecoveryAction, type WorkspaceSandboxRecoveryCode, type WorkspaceSandboxRecoveryDecision, type WorkspaceSandboxRecoveryManager, WorkspaceSandboxRecoveryRequiredError, type WorkspaceSandboxRecoveryState, type WorkspaceSandboxRecoveryStore, type WorkspaceSandboxSnapshot, type WorkspaceSandboxSnapshotAssessment, type WorkspaceSandboxSnapshotAvailability, type WorkspaceSandboxSnapshotFreshness, type WriteProfileFilesOptions, adaptSandboxStream, assertEnvWithinLimits, assertProvisionPayloadWithinCap, assessWorkspaceSandboxSnapshot, attachReasoningEffort, buildAppToolMcpServers, buildProductEgressPolicy, buildSandboxToolFileMounts, buildSandboxToolPathSetupScript, classifySeveredStream, collectSandboxPromptText, createD1PrewarmClaimStore, createSandboxPrewarmer, createSandboxTerminalConnectionRoute, createWorkspaceSandboxManager, createWorkspaceSandboxRecoveryManager, deferredCorpusHash, deleteSecret, detectInteractiveQuestion, driveSandboxTurn, ensureWorkspaceSandbox, flattenHistory, formatSandboxProvisioningSupportDetails, formatSandboxProvisioningUserMessage, getClient, isEgressProxyRecoveryRequiredError, isSandboxApiBearerAuthFailure, isSandboxApiSandboxMissingFailure, isSandboxAuthFailure, isSandboxHostCapacityFailure, isTerminalPromptEvent, isWorkspaceSandboxRecoveryAction, isWorkspaceSandboxRecoveryCode, isWorkspaceSandboxRecoveryState, isWorkspaceSandboxSnapshotRestoreError, mergeExtraMcp, mergeHistoryIntoParts, mintSandboxScopedToken, peekWorkspaceSandbox, preferredWorkspaceSandboxRecoveryBoxKey, readSandboxBinaryBytes, readSecret, requireTransportableModel, resetClientCache, resolveModel, resolveModelSelection, resolveSandboxClientCredentials, runSandboxPrompt, runSandboxToolPathSetup, sandboxToolBinDir, sandboxToolPath, sandboxToolRootDir, secretStoreFromClient, serializeSandboxProvisioningError, shellQuote, shouldRestoreWorkspaceSandboxRecovery, splitDeferredProfileFiles, statSandboxFileSize, storeSecret, streamSandboxPrompt, syncSandboxMemberAdd, syncSandboxMemberRemove, syncSandboxMemberRole, workspaceSandboxRecoveryDiagnostic, workspaceSandboxRecoveryFromError, workspaceSandboxRecoveryMessage, workspaceSandboxRecoveryRecommendedActions, writeProfileFilesToBox };
|
package/dist/sandbox/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
ENV_VALUE_MAX_BYTES,
|
|
10
10
|
PREWARM_CLAIM_TABLE_DDL,
|
|
11
11
|
PROVISION_PAYLOAD_MAX_BYTES,
|
|
12
|
+
PYPI_EGRESS_DOMAINS,
|
|
12
13
|
SandboxEgressPolicyMismatchError,
|
|
13
14
|
SandboxModelResolutionError,
|
|
14
15
|
SandboxRecoveryFailedError,
|
|
@@ -26,6 +27,7 @@ import {
|
|
|
26
27
|
assessWorkspaceSandboxSnapshot,
|
|
27
28
|
attachReasoningEffort,
|
|
28
29
|
buildAppToolMcpServers,
|
|
30
|
+
buildProductEgressPolicy,
|
|
29
31
|
buildSandboxToolFileMounts,
|
|
30
32
|
buildSandboxToolPathSetupScript,
|
|
31
33
|
classifySeveredStream,
|
|
@@ -87,11 +89,11 @@ import {
|
|
|
87
89
|
workspaceSandboxRecoveryMessage,
|
|
88
90
|
workspaceSandboxRecoveryRecommendedActions,
|
|
89
91
|
writeProfileFilesToBox
|
|
90
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-7V2I3JGZ.js";
|
|
91
93
|
import "../chunk-TH7L265V.js";
|
|
92
94
|
import "../chunk-LWSJK546.js";
|
|
93
|
-
import "../chunk-
|
|
94
|
-
import "../chunk-
|
|
95
|
+
import "../chunk-ZSGTG6PK.js";
|
|
96
|
+
import "../chunk-KBJL6LIW.js";
|
|
95
97
|
import "../chunk-YEFFHORB.js";
|
|
96
98
|
import "../chunk-S5SRJJQG.js";
|
|
97
99
|
import "../chunk-JML7WKWU.js";
|
|
@@ -106,6 +108,7 @@ export {
|
|
|
106
108
|
ENV_VALUE_MAX_BYTES,
|
|
107
109
|
PREWARM_CLAIM_TABLE_DDL,
|
|
108
110
|
PROVISION_PAYLOAD_MAX_BYTES,
|
|
111
|
+
PYPI_EGRESS_DOMAINS,
|
|
109
112
|
SandboxEgressPolicyMismatchError,
|
|
110
113
|
SandboxModelResolutionError,
|
|
111
114
|
SandboxRecoveryFailedError,
|
|
@@ -123,6 +126,7 @@ export {
|
|
|
123
126
|
assessWorkspaceSandboxSnapshot,
|
|
124
127
|
attachReasoningEffort,
|
|
125
128
|
buildAppToolMcpServers,
|
|
129
|
+
buildProductEgressPolicy,
|
|
126
130
|
buildSandboxToolFileMounts,
|
|
127
131
|
buildSandboxToolPathSetupScript,
|
|
128
132
|
classifySeveredStream,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as SequenceMediaKind, f as SequenceTimeline, k as TimelineInterval, b as SequenceStore } from '../store-B7LLlk9p.js';
|
|
2
2
|
export { M as MIN_SEQUENCE_CLIP_FRAMES, N as NewSequenceClip, l as NewSequenceDecision, m as NewSequenceTrack, g as SequenceClip, a as SequenceClipMedia, n as SequenceClipPatch, o as SequenceDecision, d as SequenceExportFormat, h as SequenceExportRecord, p as SequenceExportStatus, q as SequenceFrameSnapshot, i as SequenceMeta, r as SequenceStatus, S as SequenceStoreScope, e as SequenceTrack, c as SequenceTrackKind, T as TimelineClipBounds, s as assertClipFitsSequence, t as chooseCaptionPlacement, u as clampClipDuration, v as clampClipStart, w as formatSeconds, x as formatTimecode, y as framesToSeconds, z as secondsToFrames, A as snapshotFrame, B as trackIntervals } from '../store-B7LLlk9p.js';
|
|
3
3
|
export { A as AddCaptionOperation, C as CaptionTargetResolution, a as CreateTrackOperation, D as DeleteClipOperation, E as ExtendSequenceOperation, M as MoveClipOperation, P as PlaceClipOperation, Q as QueueExportOperation, S as SEQUENCE_OPERATION_TYPES, b as SequenceApplyResult, c as SequenceOperation, d as SequenceOperationContext, e as SequenceOperationType, f as SequencePlan, g as SetClipDisabledOperation, h as SetClipTextOperation, i as SplitClipOperation, T as TrimClipOperation, j as applySequenceOperation, k as applySequenceOperations, l as assertSequenceMediaUrl, m as captionTrackNameForLanguage, n as lastClipEndFrame, p as parseSequenceOperations, r as resolveCaptionPlacement, o as resolveCaptionTarget, q as resolvePlaceClipTrack, v as validateAddCaption, s as validateCreateTrack, t as validateDeleteClip, u as validateExtendSequence, w as validateMoveClip, x as validatePlaceClip, y as validateQueueExport, z as validateSequenceOperation, B as validateSequenceOperations, F as validateSetClipDisabled, G as validateSetClipText, H as validateSplitClip, I as validateTrimClip } from '../apply-6wlMOLf8.js';
|
|
4
|
-
import { S as ScopedMcpServerEntryOptions, A as AppToolMcpServer } from '../mcp-
|
|
5
|
-
export { M as SEQUENCES_MCP_PROTOCOL_VERSIONS } from '../mcp-rpc-
|
|
4
|
+
import { S as ScopedMcpServerEntryOptions, A as AppToolMcpServer } from '../mcp-BiKqnsJV.js';
|
|
5
|
+
export { M as SEQUENCES_MCP_PROTOCOL_VERSIONS } from '../mcp-rpc-DYwPlYbZ.js';
|
|
6
6
|
import '@tangle-network/agent-interface';
|
|
7
7
|
import '../types-DbU-oO5h.js';
|
|
8
|
-
import '../auth-
|
|
8
|
+
import '../auth-DJjJBtYw.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Pure interchange-format builders over `SequenceTimeline` — SRT, WebVTT,
|
package/dist/sequences/index.js
CHANGED
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { T as ToolHeaderNames } from '../auth-
|
|
2
|
-
export { A as AuthenticateOptions, C as CapabilitySubject, D as DEFAULT_HEADER_NAMES, a as ToolAuthResult, b as authenticateToolRequest, r as readToolArgs } from '../auth-
|
|
1
|
+
import { T as ToolHeaderNames } from '../auth-DJjJBtYw.js';
|
|
2
|
+
export { A as AuthenticateOptions, C as CapabilitySubject, D as DEFAULT_HEADER_NAMES, a as ToolAuthResult, b as authenticateToolRequest, r as readToolArgs } from '../auth-DJjJBtYw.js';
|
|
3
3
|
import { e as AppToolTaxonomy, d as AppToolHandlers, b as AppToolDefinition, A as AppToolContext, c as AppToolProducedEvent, f as AppToolOutcome, a as AppToolName } from '../types-DbU-oO5h.js';
|
|
4
4
|
export { g as APP_TOOL_NAMES, h as AddCitationArgs, i as AddCitationResult, B as BuildAppToolsOptions, O as OpenAIFunctionTool, R as RenderUiArgs, j as RenderUiResult, S as ScheduleFollowupArgs, k as ScheduleFollowupResult, l as SubmitProposalArgs, m as SubmitProposalResult, n as buildAppToolOpenAITools, o as customToolToOpenAI, p as defineAppTool, q as findCustomTool, r as isAppToolName } from '../types-DbU-oO5h.js';
|
|
5
|
-
export { A as AppToolMcpServer, B as BuildHttpMcpServerOptions, a as BuildMcpServerOptions, D as DEFAULT_APP_TOOL_PATHS, S as ScopedMcpServerEntryOptions, b as buildAppToolMcpServer, c as buildHttpMcpServer, d as buildScopedMcpServerEntry, u as unresolvableSurfaceCredential } from '../mcp-
|
|
6
|
-
export { C as CreateMcpToolHandlerOptions, M as MCP_PROTOCOL_VERSIONS, b as McpProtocolVersion, c as McpServerInfo, a as McpToolDefinition,
|
|
5
|
+
export { A as AppToolMcpServer, B as BuildHttpMcpServerOptions, a as BuildMcpServerOptions, D as DEFAULT_APP_TOOL_PATHS, S as ScopedMcpServerEntryOptions, b as buildAppToolMcpServer, c as buildHttpMcpServer, d as buildScopedMcpServerEntry, u as unresolvableSurfaceCredential } from '../mcp-BiKqnsJV.js';
|
|
6
|
+
export { C as CreateMcpToolHandlerOptions, M as MCP_PROTOCOL_VERSIONS, b as McpProtocolVersion, c as McpServerInfo, d as McpToolCallContent, a as McpToolDefinition, e as createMcpToolHandler } from '../mcp-rpc-DYwPlYbZ.js';
|
|
7
7
|
import '@tangle-network/agent-interface';
|
|
8
8
|
|
|
9
9
|
/** A correctable bad-input error a tool handler throws; the HTTP layer maps it
|
|
@@ -198,6 +198,10 @@ interface HandleToolRequestOptions extends DispatchOptions {
|
|
|
198
198
|
/** Verify the bearer capability token belongs to the header user. */
|
|
199
199
|
verifyToken: (userId: string, bearer: string) => Promise<boolean>;
|
|
200
200
|
headerNames?: ToolHeaderNames;
|
|
201
|
+
/** Optional model-facing description used by the MCP tools/list response. */
|
|
202
|
+
description?: string;
|
|
203
|
+
/** Product-specific values for the schedule_followup.priority schema. */
|
|
204
|
+
priorityValues?: readonly string[];
|
|
201
205
|
/** Optional success-message builder for a friendlier tool result. */
|
|
202
206
|
message?: (result: unknown) => string;
|
|
203
207
|
}
|
package/dist/tools/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
restrictTaxonomy,
|
|
10
10
|
verifyCapabilityToken,
|
|
11
11
|
verifyExpiringCapabilityToken
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-ZSGTG6PK.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_APP_TOOL_PATHS,
|
|
15
15
|
DEFAULT_HEADER_NAMES,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
createMcpToolHandler,
|
|
22
22
|
readToolArgs,
|
|
23
23
|
unresolvableSurfaceCredential
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-KBJL6LIW.js";
|
|
25
25
|
import {
|
|
26
26
|
APP_TOOL_NAMES,
|
|
27
27
|
ToolInputError,
|
package/package.json
CHANGED