@tangle-network/agent-app 0.60.227 → 0.60.229
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/chat-routes/index.js +1 -1
- package/dist/{chunk-YS2RYZQG.js → chunk-JILHXHJE.js} +789 -745
- package/dist/chunk-JILHXHJE.js.map +1 -0
- package/dist/chunk-NMZUW6VJ.js +29 -0
- package/dist/chunk-NMZUW6VJ.js.map +1 -0
- package/dist/design-canvas/index.js +42 -32
- package/dist/design-canvas/index.js.map +1 -1
- package/dist/design-canvas/mcp-context.d.ts +51 -0
- package/dist/design-canvas/mcp-elements-tools.d.ts +3 -0
- package/dist/design-canvas/mcp-input.d.ts +35 -0
- package/dist/design-canvas/mcp-pages-tools.d.ts +3 -0
- package/dist/design-canvas/mcp-read-tools.d.ts +3 -0
- package/dist/design-canvas/mcp-templates-tools.d.ts +3 -0
- package/dist/design-canvas/mcp-tools.d.ts +3 -9
- package/dist/public-consultation/index.d.ts +2 -2
- package/dist/sandbox/access.d.ts +46 -0
- package/dist/sandbox/app-tools.d.ts +129 -0
- package/dist/sandbox/box-health.d.ts +8 -0
- package/dist/sandbox/configuration.d.ts +280 -0
- package/dist/sandbox/credentials.d.ts +55 -0
- package/dist/sandbox/exec-failure.d.ts +9 -0
- package/dist/sandbox/existing-box.d.ts +43 -0
- package/dist/sandbox/index.d.ts +32 -950
- package/dist/sandbox/index.js +1 -1
- package/dist/sandbox/lifecycle-errors.d.ts +51 -0
- package/dist/sandbox/payload-limits.d.ts +55 -0
- package/dist/sandbox/product-egress.d.ts +4 -0
- package/dist/sandbox/profile-corpus.d.ts +16 -0
- package/dist/sandbox/profile-files.d.ts +16 -0
- package/dist/sandbox/prompt-dispatch.d.ts +14 -0
- package/dist/sandbox/prompt-events.d.ts +71 -0
- package/dist/sandbox/prompt-options.d.ts +79 -0
- package/dist/sandbox/prompt-profile.d.ts +61 -0
- package/dist/sandbox/prompt-result.d.ts +57 -0
- package/dist/sandbox/runtime-cache.d.ts +43 -0
- package/dist/sandbox/runtime-connection.d.ts +9 -0
- package/dist/sandbox/shell-path.d.ts +2 -0
- package/dist/sandbox/workspace-boxes.d.ts +76 -0
- package/dist/sandbox/workspace-claim.d.ts +13 -0
- package/dist/sandbox/workspace-provision.d.ts +9 -0
- package/dist/sequences/index.js +6 -20
- package/dist/sequences/index.js.map +1 -1
- package/dist/sequences/mcp-tools.d.ts +0 -18
- package/dist/tools/mcp-arguments.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chunk-YS2RYZQG.js.map +0 -1
package/dist/sequences/index.js
CHANGED
|
@@ -10,6 +10,12 @@ import {
|
|
|
10
10
|
snapshotFrame,
|
|
11
11
|
trackIntervals
|
|
12
12
|
} from "../chunk-SISVELAA.js";
|
|
13
|
+
import {
|
|
14
|
+
isRecord,
|
|
15
|
+
objectSchema,
|
|
16
|
+
requireEnum,
|
|
17
|
+
requireString
|
|
18
|
+
} from "../chunk-NMZUW6VJ.js";
|
|
13
19
|
import {
|
|
14
20
|
MCP_PROTOCOL_VERSIONS,
|
|
15
21
|
buildScopedMcpServerEntry,
|
|
@@ -950,16 +956,6 @@ var SEQUENCE_TRACK_KINDS = ["video", "audio", "caption", "reference", "agent"];
|
|
|
950
956
|
var SEQUENCE_MEDIA_KINDS = ["video", "image", "audio"];
|
|
951
957
|
var MAX_CAPTION_BATCH = 500;
|
|
952
958
|
var MAX_INSTRUCTION_ARG_CHARS = 400;
|
|
953
|
-
function isRecord(value) {
|
|
954
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
955
|
-
}
|
|
956
|
-
function requireString(args, name) {
|
|
957
|
-
const value = args[name];
|
|
958
|
-
if (typeof value !== "string" || value.trim().length === 0) {
|
|
959
|
-
throw new Error(`${name} is required and must be a non-empty string`);
|
|
960
|
-
}
|
|
961
|
-
return value;
|
|
962
|
-
}
|
|
963
959
|
function optionalString(args, name) {
|
|
964
960
|
const value = args[name];
|
|
965
961
|
if (value === void 0 || value === null) return void 0;
|
|
@@ -992,13 +988,6 @@ function optionalPositiveInteger(args, name, max) {
|
|
|
992
988
|
}
|
|
993
989
|
return value;
|
|
994
990
|
}
|
|
995
|
-
function requireEnum(args, name, values) {
|
|
996
|
-
const value = args[name];
|
|
997
|
-
if (typeof value !== "string" || !values.includes(value)) {
|
|
998
|
-
throw new Error(`${name} must be one of: ${values.join(", ")}`);
|
|
999
|
-
}
|
|
1000
|
-
return value;
|
|
1001
|
-
}
|
|
1002
991
|
function optionalEnum(args, name, values) {
|
|
1003
992
|
if (args[name] === void 0 || args[name] === null) return void 0;
|
|
1004
993
|
return requireEnum(args, name, values);
|
|
@@ -1145,9 +1134,6 @@ async function runMutation(toolName, args, env, build) {
|
|
|
1145
1134
|
function secondsSchema(description) {
|
|
1146
1135
|
return { type: "number", minimum: 0, description };
|
|
1147
1136
|
}
|
|
1148
|
-
function objectSchema(properties, required) {
|
|
1149
|
-
return { type: "object", properties, required, additionalProperties: false };
|
|
1150
|
-
}
|
|
1151
1137
|
var CLIP_ID_SCHEMA = { type: "string", description: "Clip id from get_timeline_state or get_clip" };
|
|
1152
1138
|
var SEQUENCE_MCP_TOOLS = [
|
|
1153
1139
|
{
|