@wayai/cli 0.3.271 → 0.3.272
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.js +59 -52
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9375,7 +9375,7 @@ var init_chunk_EVXGKOJV = __esm({
|
|
|
9375
9375
|
}
|
|
9376
9376
|
});
|
|
9377
9377
|
|
|
9378
|
-
// ../../packages/core/dist/chunk-
|
|
9378
|
+
// ../../packages/core/dist/chunk-I42QJGJF.js
|
|
9379
9379
|
function spokenLineField(label2, description2) {
|
|
9380
9380
|
return { type: "text", label: label2, maxLength: SPOKEN_LINE_MAX_CHARS, default: "", description: description2 };
|
|
9381
9381
|
}
|
|
@@ -9385,8 +9385,8 @@ function byLowercaseName(a, b) {
|
|
|
9385
9385
|
return x < y ? -1 : x > y ? 1 : 0;
|
|
9386
9386
|
}
|
|
9387
9387
|
var CALLER_LANGUAGE, GIT_CHECKOUT_MAX_LENGTH, TTS_VOICE_REPLY_ENABLED_FIELD, decisionsImageInputField, COPILOT_TRIGGER_FIELD, SANDBOX_AGENT_FIELDS, AUDIO_LANGUAGE_OPTIONS, whatsapp, instagram, resend, telegram, API_CHANNEL_DELIVERY_EVENTS, apiChannel, OPENAI_REASONING_MODELS, openai, anthropic, googleAiStudio, openRouter, xai, typesafe, groqStt, openaiStt, elevenLabsStt, openaiTts, groqTts, elevenLabsTts, GEMINI_TTS_VOICES, googleTts, wayai, externalResources, restApiTool, mcpServer, REKOR_TOOLSET_SERVICE_NAME, rekorToolset, CLAUDE_HARNESS_MODELS, CLAUDE_HARNESS_MODEL_OPTIONS, HARNESS_EGRESS_FIELDS, claudeManagedAgents, SPOKEN_LINE_MAX_CHARS, gptLive, CONNECTORS;
|
|
9388
|
-
var
|
|
9389
|
-
"../../packages/core/dist/chunk-
|
|
9388
|
+
var init_chunk_I42QJGJF = __esm({
|
|
9389
|
+
"../../packages/core/dist/chunk-I42QJGJF.js"() {
|
|
9390
9390
|
"use strict";
|
|
9391
9391
|
CALLER_LANGUAGE = "caller";
|
|
9392
9392
|
GIT_CHECKOUT_MAX_LENGTH = 255;
|
|
@@ -10156,20 +10156,20 @@ var init_chunk_ECRNR7ET = __esm({
|
|
|
10156
10156
|
base_url: { type: "text", label: "Base URL", placeholder: "https://api.example.com", description: "Base URL for the API connection (used as prefix for all tool paths)" },
|
|
10157
10157
|
api_key: { type: "password", label: "API Key", placeholder: "Enter your API key", required: true, maskInEdit: true, useExistingPlaceholder: "__USE_EXISTING_API_KEY__" },
|
|
10158
10158
|
access_token: { type: "password", label: "Access Token / Service Key (Optional)", placeholder: "Enter if your API requires a second credential", description: "Optional: Some APIs require both an API key and an access token/service key", maskInEdit: true, useExistingPlaceholder: "__USE_EXISTING_ACCESS_TOKEN__" },
|
|
10159
|
-
connection_headers: { type: "custom", component: "KeyValueGrid", label: "Connection Headers", description: "
|
|
10159
|
+
connection_headers: { type: "custom", component: "KeyValueGrid", label: "Connection Headers", description: "Sent to the base URL's origin, else to a tool's fixed host" }
|
|
10160
10160
|
},
|
|
10161
10161
|
basic_auth: {
|
|
10162
10162
|
connection_display_name: { type: "text", label: "Connection Name", placeholder: "Enter a name for this connection", description: "This name will be used to identify the connection in the system", required: true },
|
|
10163
10163
|
base_url: { type: "text", label: "Base URL", placeholder: "https://api.example.com", description: "Base URL for the API connection (used as prefix for all tool paths)" },
|
|
10164
10164
|
username: { type: "text", label: "Username", placeholder: "Enter username", required: true },
|
|
10165
10165
|
password: { type: "password", label: "Password", placeholder: "Enter password", required: true, maskInEdit: true, useExistingPlaceholder: "__USE_EXISTING_PASSWORD__" },
|
|
10166
|
-
connection_headers: { type: "custom", component: "KeyValueGrid", label: "Connection Headers", description: "
|
|
10166
|
+
connection_headers: { type: "custom", component: "KeyValueGrid", label: "Connection Headers", description: "Sent to the base URL's origin, else to a tool's fixed host" }
|
|
10167
10167
|
},
|
|
10168
10168
|
bearer: {
|
|
10169
10169
|
connection_display_name: { type: "text", label: "Connection Name", placeholder: "Enter a name for this connection", description: "This name will be used to identify the connection in the system", required: true },
|
|
10170
10170
|
base_url: { type: "text", label: "Base URL", placeholder: "https://api.example.com", description: "Base URL for the API connection (used as prefix for all tool paths)" },
|
|
10171
10171
|
access_token: { type: "password", label: "Bearer Token", placeholder: "Enter your bearer token", required: true, maskInEdit: true, useExistingPlaceholder: "__USE_EXISTING_ACCESS_TOKEN__" },
|
|
10172
|
-
connection_headers: { type: "custom", component: "KeyValueGrid", label: "Connection Headers", description: "
|
|
10172
|
+
connection_headers: { type: "custom", component: "KeyValueGrid", label: "Connection Headers", description: "Sent to the base URL's origin, else to a tool's fixed host", defaultValue: { Authorization: "Bearer {{access_token}}" } }
|
|
10173
10173
|
}
|
|
10174
10174
|
},
|
|
10175
10175
|
token_refresh_config: { api_key: { strategy: "none" }, basic_auth: { strategy: "none" }, bearer: { strategy: "none" } },
|
|
@@ -10402,13 +10402,13 @@ var init_chunk_ECRNR7ET = __esm({
|
|
|
10402
10402
|
}
|
|
10403
10403
|
});
|
|
10404
10404
|
|
|
10405
|
-
// ../../packages/core/dist/chunk-
|
|
10405
|
+
// ../../packages/core/dist/chunk-ZUKC6A2W.js
|
|
10406
10406
|
var COUNTER_KEYS, STT_PRICING, CONTAINER_PRICING, connectorById, nativeToolById;
|
|
10407
|
-
var
|
|
10408
|
-
"../../packages/core/dist/chunk-
|
|
10407
|
+
var init_chunk_ZUKC6A2W = __esm({
|
|
10408
|
+
"../../packages/core/dist/chunk-ZUKC6A2W.js"() {
|
|
10409
10409
|
"use strict";
|
|
10410
10410
|
init_chunk_EVXGKOJV();
|
|
10411
|
-
|
|
10411
|
+
init_chunk_I42QJGJF();
|
|
10412
10412
|
init_chunk_MIWZOSPI();
|
|
10413
10413
|
COUNTER_KEYS = Object.keys({
|
|
10414
10414
|
input_tokens: true,
|
|
@@ -10531,7 +10531,7 @@ var init_chunk_L5F7ZOUJ = __esm({
|
|
|
10531
10531
|
}
|
|
10532
10532
|
});
|
|
10533
10533
|
|
|
10534
|
-
// ../../packages/core/dist/chunk-
|
|
10534
|
+
// ../../packages/core/dist/chunk-G4HTKQCL.js
|
|
10535
10535
|
function normalizeDecisionsModelId(modelId) {
|
|
10536
10536
|
return modelId.trim().toLowerCase();
|
|
10537
10537
|
}
|
|
@@ -10602,10 +10602,10 @@ function readAgentSettingsModel(agentSettings) {
|
|
|
10602
10602
|
return typeof model === "string" ? model : null;
|
|
10603
10603
|
}
|
|
10604
10604
|
var DECISIONS_MODEL_PREFIXES, DECISION_CAPABLE_AGENT_ROLES;
|
|
10605
|
-
var
|
|
10606
|
-
"../../packages/core/dist/chunk-
|
|
10605
|
+
var init_chunk_G4HTKQCL = __esm({
|
|
10606
|
+
"../../packages/core/dist/chunk-G4HTKQCL.js"() {
|
|
10607
10607
|
"use strict";
|
|
10608
|
-
|
|
10608
|
+
init_chunk_ZUKC6A2W();
|
|
10609
10609
|
init_chunk_L5F7ZOUJ();
|
|
10610
10610
|
DECISIONS_MODEL_PREFIXES = ["typesafe/jev-", "jev-"];
|
|
10611
10611
|
DECISION_CAPABLE_AGENT_ROLES = [
|
|
@@ -10616,7 +10616,7 @@ var init_chunk_Q3WAAJBA = __esm({
|
|
|
10616
10616
|
}
|
|
10617
10617
|
});
|
|
10618
10618
|
|
|
10619
|
-
// ../../packages/core/dist/chunk-
|
|
10619
|
+
// ../../packages/core/dist/chunk-MBXNS7SI.js
|
|
10620
10620
|
function resolveMonitorTrigger(monitorConfig) {
|
|
10621
10621
|
if (!monitorConfig || typeof monitorConfig !== "object") return "idle";
|
|
10622
10622
|
const raw = monitorConfig.trigger;
|
|
@@ -10922,14 +10922,14 @@ function refineMonitorRulesStructuredOutput(body, ctx) {
|
|
|
10922
10922
|
if (refusal2) ctx.addIssue({ code: external_exports.ZodIssueCode.custom, path: ["response_format"], message: refusal2 });
|
|
10923
10923
|
}
|
|
10924
10924
|
var NATIVE_TOOL_NAMES, previousConversationsCountField, summarizationThresholdField, flagConditionSchema, MONITOR_TRIGGERS, monitorTriggerSchema, AUTOMATION_GATE_TRIGGERS, NON_FIRING_TRIGGERS, MONITOR_FIRING_TRIGGERS, MONITOR_DELAY_SECONDS_MIN, MONITOR_IDLE_DELAY_REQUIRED_MESSAGE, MONITOR_HISTORY_MESSAGES_MAX, monitorHistoryMessagesSchema, monitorIncludeToolResultsSchema, MONITOR_INPUT_SHAPING_KEYS, MONITOR_INPUT_SHAPING_SCHEMAS, MONITOR_INPUT_SHAPING_IDLE_MESSAGE, monitorArgumentSourceSchema, MONITOR_NOTE_TEMPLATE_MAX, MONITOR_STEER_NOTE_MAX, MONITOR_GATE_AGENT_NAME_MAX, monitorActionSchema, monitorRuleSchema, MONITOR_RULE_KEYS, MONITOR_RULE_SCHEMAS, MONITOR_RULE_TRIGGERS, MONITOR_RULE_TRIGGER_MESSAGE, CALL_UTTERANCE_SPEAKERS, callUtteranceSpeakerSchema, MONITOR_CALL_KEYS, MONITOR_CALL_SCHEMAS, MONITOR_CALL_KEY_MESSAGE, CALL_STEERING_MIN_CONFIDENCE, CALL_UTTERANCE_RULE_NOT_CONFIDENT_MESSAGE, CALL_UTTERANCE_FALLBACK_MESSAGE, CALL_UTTERANCE_FLAG_CONDITIONS_MESSAGE, CALL_STEER_NOTE_BLANK_MESSAGE, MONITOR_USER_MESSAGE_ACTION_KINDS, MONITOR_ASSISTANT_REPLY_ACTION_KINDS, MONITOR_CALL_UTTERANCE_ACTION_KINDS, MONITOR_AUTOMATION_FIRE_ACTION_KINDS, MONITOR_AUTOMATION_ITEM_ACTION_KINDS, INSERT_NOTE_TOOL_NAME, RUN_MONITOR_TOOL_NAME, MONITOR_RULE_ALLOWED_NATIVE_TOOLS, MONITOR_RULE_REENTRY_TOOLS, MONITOR_RULE_REENTRY_TRACKS, AUTOMATION_FIRE_FLAG_CONDITIONS_MESSAGE, AUTOMATION_FIRE_INPUT_SHAPING_MESSAGE, AUTOMATION_ITEM_FLAG_CONDITIONS_MESSAGE, AUTOMATION_ITEM_INPUT_SHAPING_MESSAGE, AUTOMATION_GATE_KEY_MESSAGES, monitorConfigField, flagConditionsField, agentIdParam, listAgentsQuery, agentConnectionsQuery, createAgentBody, updateAgentBody, AGENT_PARAMETER_TYPES, AGENT_PARAMETER_NAME_REGEX, agentParameterCreateSchema, MAX_AGENT_PARAMETERS_PER_REQUEST, createAgentParametersBody;
|
|
10925
|
-
var
|
|
10926
|
-
"../../packages/core/dist/chunk-
|
|
10925
|
+
var init_chunk_MBXNS7SI = __esm({
|
|
10926
|
+
"../../packages/core/dist/chunk-MBXNS7SI.js"() {
|
|
10927
10927
|
"use strict";
|
|
10928
10928
|
init_chunk_IBL7FANV();
|
|
10929
10929
|
init_chunk_KB5RK3RP();
|
|
10930
10930
|
init_chunk_C2UEA2KW();
|
|
10931
10931
|
init_chunk_HZ6CADSY();
|
|
10932
|
-
|
|
10932
|
+
init_chunk_G4HTKQCL();
|
|
10933
10933
|
init_chunk_EVXGKOJV();
|
|
10934
10934
|
init_chunk_YROEDMVZ();
|
|
10935
10935
|
init_chunk_L5F7ZOUJ();
|
|
@@ -11148,12 +11148,12 @@ var init_chunk_5FTGVRDF = __esm({
|
|
|
11148
11148
|
}
|
|
11149
11149
|
});
|
|
11150
11150
|
|
|
11151
|
-
// ../../packages/core/dist/chunk-
|
|
11151
|
+
// ../../packages/core/dist/chunk-YGDHKCKK.js
|
|
11152
11152
|
var conversationIdParam, conversationHubQuery, claimBody, releaseBody, transferBody, closeBody, additionalContextPayloadSchema, kanbanUpdateBody, annotateConversationBody, observabilityParams, observabilityListParams, deleteUserConversationsBody, deleteUserConversationsResponse, sendMessageBody, listConversationsQuery, flagSourceSchema, getConversationsResponse, getConversationDetailParams, getConversationDetailQuery, getConversationDetailResponse, listWhatsAppTemplatesQuery, sendWhatsAppTemplateBody;
|
|
11153
|
-
var
|
|
11154
|
-
"../../packages/core/dist/chunk-
|
|
11153
|
+
var init_chunk_YGDHKCKK = __esm({
|
|
11154
|
+
"../../packages/core/dist/chunk-YGDHKCKK.js"() {
|
|
11155
11155
|
"use strict";
|
|
11156
|
-
|
|
11156
|
+
init_chunk_MBXNS7SI();
|
|
11157
11157
|
init_chunk_HZ6CADSY();
|
|
11158
11158
|
init_chunk_YROEDMVZ();
|
|
11159
11159
|
init_zod();
|
|
@@ -11682,14 +11682,14 @@ var init_chunk_E4DIIOOE = __esm({
|
|
|
11682
11682
|
}
|
|
11683
11683
|
});
|
|
11684
11684
|
|
|
11685
|
-
// ../../packages/core/dist/chunk-
|
|
11685
|
+
// ../../packages/core/dist/chunk-Y6NC5CH5.js
|
|
11686
11686
|
var evalCallInstant, EVAL_CALL_MIN_SECONDS, EVAL_CALL_MAX_SECONDS, EVAL_CALL_SPOKEN_LINE_MAX_CHARS, hubScoped2, createEvalCallBody, createEvalCallResponse, evalCallConversationQuery, evalCallRecordQuery, evalCallSpeaker, evalCallUtterance, evalCallTurn, evalCallRecording, evalCallRecordResponse, evalCallFinishResponse;
|
|
11687
|
-
var
|
|
11688
|
-
"../../packages/core/dist/chunk-
|
|
11687
|
+
var init_chunk_Y6NC5CH5 = __esm({
|
|
11688
|
+
"../../packages/core/dist/chunk-Y6NC5CH5.js"() {
|
|
11689
11689
|
"use strict";
|
|
11690
11690
|
init_chunk_E4DIIOOE();
|
|
11691
11691
|
init_chunk_HZ6CADSY();
|
|
11692
|
-
|
|
11692
|
+
init_chunk_I42QJGJF();
|
|
11693
11693
|
init_chunk_MIWZOSPI();
|
|
11694
11694
|
init_zod();
|
|
11695
11695
|
evalCallInstant = timestampSchema.refine(isIsoTimestamp, "Expected a canonical ISO timestamp");
|
|
@@ -13996,7 +13996,7 @@ var init_chunk_TU4Y4MEX = __esm({
|
|
|
13996
13996
|
}
|
|
13997
13997
|
});
|
|
13998
13998
|
|
|
13999
|
-
// ../../packages/core/dist/chunk-
|
|
13999
|
+
// ../../packages/core/dist/chunk-D7EMMHYQ.js
|
|
14000
14000
|
function refineHubAsCodeCustomTools(config, ctx) {
|
|
14001
14001
|
const agents = config.agents;
|
|
14002
14002
|
if (!Array.isArray(agents)) return;
|
|
@@ -14424,18 +14424,19 @@ function refineHubAsCodeDelegation(config, ctx) {
|
|
|
14424
14424
|
function refineHubAsCodeToolEnabled(config, ctx) {
|
|
14425
14425
|
const agents = config?.agents;
|
|
14426
14426
|
if (!Array.isArray(agents)) return;
|
|
14427
|
+
const label2 = (name) => typeof name === "string" || typeof name === "number" ? name : "<unnamed>";
|
|
14427
14428
|
agents.forEach((agent, agentIndex) => {
|
|
14428
|
-
const tools = agent
|
|
14429
|
-
for (const group of
|
|
14429
|
+
const { name: agentName, tools } = agent ?? {};
|
|
14430
|
+
for (const group of HUB_AS_CODE_AGENT_TOOL_KEYS) {
|
|
14430
14431
|
const entries = tools?.[group];
|
|
14431
14432
|
if (!Array.isArray(entries)) continue;
|
|
14432
14433
|
entries.forEach((entry, entryIndex) => {
|
|
14433
|
-
const enabled = entry
|
|
14434
|
+
const { enabled, name, tool } = entry ?? {};
|
|
14434
14435
|
if (enabled === void 0 || typeof enabled === "boolean") return;
|
|
14435
14436
|
ctx.addIssue({
|
|
14436
14437
|
code: external_exports.ZodIssueCode.custom,
|
|
14437
14438
|
path: ["agents", agentIndex, "tools", group, entryIndex, "enabled"],
|
|
14438
|
-
message: "enabled must be true or false
|
|
14439
|
+
message: `Agent "${label2(agentName)}", tool "${label2(name ?? tool)}": enabled must be true or false, got ${JSON.stringify(enabled).slice(0, 40)}`
|
|
14439
14440
|
});
|
|
14440
14441
|
});
|
|
14441
14442
|
}
|
|
@@ -14625,9 +14626,9 @@ function skillSectionsAsResources(scope) {
|
|
|
14625
14626
|
return out;
|
|
14626
14627
|
};
|
|
14627
14628
|
}
|
|
14628
|
-
var MAX_10MB_BASE64_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_CARRIERS, MAX_EVAL_ATTACHMENT_AGGREGATE_ENCODED_BYTES, MAX_RESOURCE_ENCODED_BYTES, MAX_HUB_AS_CODE_RESOURCES, MAX_HUB_AS_CODE_RESOURCE_FILES, MAX_RESOURCE_AGGREGATE_ENCODED_BYTES, MAX_CI_CONFIG_BODY_BYTES, MAX_HUB_AS_CODE_PAGE_MANIFEST_CHARS, hubAsCodePagesSchema, MAX_CALL_OPENING_CARRIERS, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES, hubAsCodeStateSchema, hubAsCodeResourceFileSchema, hubAsCodeResourceSchema, uuidPattern, ciUuidSchema, boundedHubAsCodeResourcesSchema, isPlainObject, MIN_SKILLS_LAYOUT_CLI, hubAsCodeConfigSchema, ciPullHubIdParam, ciBranchParam, ciPullQuery, ciHubsQuery, ciLookupQuery, ciBranchesQuery, ciSyncBody, ciPushBody, ciDiffBody, ciPublishBody, ciPublishPreviewBody, ciSyncMcpBody, ciOrgResourcesParam, orgResourcesConfigSchema, ciOrgResourcesPushBody, ciOrgResourcesDiffBody, CI_APPLY_ENTITY_KINDS, CI_APPLY_OPERATIONS, ciApplyErrorBaseSchema, ciApplyErrorSchema, ciSyncCountSchema, ciSyncChangesSchema, ciSyncWarningSchema, ciSyncResponseSchema;
|
|
14629
|
-
var
|
|
14630
|
-
"../../packages/core/dist/chunk-
|
|
14629
|
+
var MAX_10MB_BASE64_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_CARRIERS, MAX_EVAL_ATTACHMENT_AGGREGATE_ENCODED_BYTES, MAX_RESOURCE_ENCODED_BYTES, MAX_HUB_AS_CODE_RESOURCES, MAX_HUB_AS_CODE_RESOURCE_FILES, MAX_RESOURCE_AGGREGATE_ENCODED_BYTES, MAX_CI_CONFIG_BODY_BYTES, MAX_HUB_AS_CODE_PAGE_MANIFEST_CHARS, hubAsCodePagesSchema, MAX_CALL_OPENING_CARRIERS, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES, HUB_AS_CODE_AGENT_TOOL_KEYS, hubAsCodeStateSchema, hubAsCodeResourceFileSchema, hubAsCodeResourceSchema, uuidPattern, ciUuidSchema, boundedHubAsCodeResourcesSchema, isPlainObject, MIN_SKILLS_LAYOUT_CLI, hubAsCodeConfigSchema, ciPullHubIdParam, ciBranchParam, ciPullQuery, ciHubsQuery, ciLookupQuery, ciBranchesQuery, ciSyncBody, ciPushBody, ciDiffBody, ciPublishBody, ciPublishPreviewBody, ciSyncMcpBody, ciOrgResourcesParam, orgResourcesConfigSchema, ciOrgResourcesPushBody, ciOrgResourcesDiffBody, CI_APPLY_ENTITY_KINDS, CI_APPLY_OPERATIONS, ciApplyErrorBaseSchema, ciApplyErrorSchema, ciSyncCountSchema, ciSyncChangesSchema, ciSyncWarningSchema, ciSyncResponseSchema;
|
|
14630
|
+
var init_chunk_D7EMMHYQ = __esm({
|
|
14631
|
+
"../../packages/core/dist/chunk-D7EMMHYQ.js"() {
|
|
14631
14632
|
"use strict";
|
|
14632
14633
|
init_chunk_SARVKRZB();
|
|
14633
14634
|
init_chunk_HRKVCI5A();
|
|
@@ -14637,12 +14638,12 @@ var init_chunk_NEJLHNKX = __esm({
|
|
|
14637
14638
|
init_chunk_TU4Y4MEX();
|
|
14638
14639
|
init_chunk_2KNVPV7S();
|
|
14639
14640
|
init_chunk_K5UAZWFF();
|
|
14640
|
-
|
|
14641
|
+
init_chunk_MBXNS7SI();
|
|
14641
14642
|
init_chunk_S4VDZ7PZ();
|
|
14642
14643
|
init_chunk_C2UEA2KW();
|
|
14643
14644
|
init_chunk_FBV7NLKO();
|
|
14644
14645
|
init_chunk_WEXVYJ5H();
|
|
14645
|
-
|
|
14646
|
+
init_chunk_G4HTKQCL();
|
|
14646
14647
|
init_chunk_YROEDMVZ();
|
|
14647
14648
|
init_zod();
|
|
14648
14649
|
MAX_10MB_BASE64_ENCODED_BYTES = Math.ceil(MAX_RESOURCE_FILE_SIZE / 3) * 4 + 16;
|
|
@@ -14665,6 +14666,12 @@ var init_chunk_NEJLHNKX = __esm({
|
|
|
14665
14666
|
}).strict()).max(PAGES_PER_HUB_MAX, `a hub holds at most ${PAGES_PER_HUB_MAX} pages`);
|
|
14666
14667
|
MAX_CALL_OPENING_CARRIERS = 30;
|
|
14667
14668
|
MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES = 8 * 1024 * 1024;
|
|
14669
|
+
HUB_AS_CODE_AGENT_TOOL_KEYS = [
|
|
14670
|
+
"native",
|
|
14671
|
+
"delegation",
|
|
14672
|
+
"custom",
|
|
14673
|
+
"mcp"
|
|
14674
|
+
];
|
|
14668
14675
|
hubAsCodeStateSchema = external_exports.object({
|
|
14669
14676
|
id: external_exports.string().min(1).optional(),
|
|
14670
14677
|
slug: external_exports.string().optional(),
|
|
@@ -15722,16 +15729,16 @@ var init_chunk_ZU2FJGU3 = __esm({
|
|
|
15722
15729
|
}
|
|
15723
15730
|
});
|
|
15724
15731
|
|
|
15725
|
-
// ../../packages/core/dist/chunk-
|
|
15732
|
+
// ../../packages/core/dist/chunk-QUW6OYZR.js
|
|
15726
15733
|
var AUTOMATION_TRIGGER_TYPES, AUTOMATION_EVENT_TYPES, AUTOMATION_TARGET_TYPES, AUTOMATION_ACTION_TYPES, AUTOMATION_CHANNEL_TYPES, AUTOMATION_PURPOSES, AUTOMATION_NAME_MAX, AUTOMATION_DESCRIPTION_MAX, AUTOMATION_INSTRUCTIONS_MAX, AUTOMATION_TEXT_MAX, AUTOMATION_CRON_MAX, AUTOMATION_WEBHOOK_AUTHS, AUTOMATION_WEBHOOK_HEADERS, AUTOMATION_WEBHOOK_BODY_MAX_BYTES, AUTOMATION_WEBHOOK_HEADER_NAME_MAX, WEBHOOK_RESERVED_HEADERS, automationTriggerSchema, automationTargetSchema, automationActionSchema, automationGateSchema, automationName, automationDescription, automationIdParam, automationHubQuery, automationWebhookParams, AUTOMATION_RUNS_PAGE_MAX, listAutomationRunsQuery, createAutomationBody, updateAutomationBody, AUTOMATION_ALERT_CATEGORIES, AUTOMATION_BLOCKED_ALERT_CATEGORY, automationEventSubscriberParam;
|
|
15727
|
-
var
|
|
15728
|
-
"../../packages/core/dist/chunk-
|
|
15734
|
+
var init_chunk_QUW6OYZR = __esm({
|
|
15735
|
+
"../../packages/core/dist/chunk-QUW6OYZR.js"() {
|
|
15729
15736
|
"use strict";
|
|
15730
15737
|
init_chunk_ZU2FJGU3();
|
|
15731
15738
|
init_chunk_S5SVBLGT();
|
|
15732
|
-
|
|
15739
|
+
init_chunk_MBXNS7SI();
|
|
15733
15740
|
init_chunk_5XEJSR22();
|
|
15734
|
-
|
|
15741
|
+
init_chunk_G4HTKQCL();
|
|
15735
15742
|
init_chunk_YROEDMVZ();
|
|
15736
15743
|
init_zod();
|
|
15737
15744
|
AUTOMATION_TRIGGER_TYPES = ["schedule", "event", "webhook"];
|
|
@@ -16196,10 +16203,10 @@ var init_contracts = __esm({
|
|
|
16196
16203
|
init_chunk_OPETF4GS();
|
|
16197
16204
|
init_chunk_SY6PLCPK();
|
|
16198
16205
|
init_chunk_KMAC3O3L();
|
|
16199
|
-
|
|
16206
|
+
init_chunk_YGDHKCKK();
|
|
16200
16207
|
init_chunk_KSTYTQ7I();
|
|
16201
16208
|
init_chunk_LKBSHANA();
|
|
16202
|
-
|
|
16209
|
+
init_chunk_Y6NC5CH5();
|
|
16203
16210
|
init_chunk_C4HEZ7ZI();
|
|
16204
16211
|
init_chunk_IR2NOSI3();
|
|
16205
16212
|
init_chunk_MT4ITTI4();
|
|
@@ -16214,7 +16221,7 @@ var init_contracts = __esm({
|
|
|
16214
16221
|
init_chunk_E4DIIOOE();
|
|
16215
16222
|
init_chunk_7CYHPF35();
|
|
16216
16223
|
init_chunk_BPCNB5RT();
|
|
16217
|
-
|
|
16224
|
+
init_chunk_D7EMMHYQ();
|
|
16218
16225
|
init_chunk_SARVKRZB();
|
|
16219
16226
|
init_chunk_HRKVCI5A();
|
|
16220
16227
|
init_chunk_ICE6SQZO();
|
|
@@ -16235,10 +16242,10 @@ var init_contracts = __esm({
|
|
|
16235
16242
|
init_chunk_2PZIF56U();
|
|
16236
16243
|
init_chunk_UEJOG2Q7();
|
|
16237
16244
|
init_chunk_JO53JB35();
|
|
16238
|
-
|
|
16245
|
+
init_chunk_QUW6OYZR();
|
|
16239
16246
|
init_chunk_ZU2FJGU3();
|
|
16240
16247
|
init_chunk_S5SVBLGT();
|
|
16241
|
-
|
|
16248
|
+
init_chunk_MBXNS7SI();
|
|
16242
16249
|
init_chunk_IG6QBZMA();
|
|
16243
16250
|
init_chunk_OMPT4ZHR();
|
|
16244
16251
|
init_chunk_D7SSWNL3();
|
|
@@ -16261,10 +16268,10 @@ var init_contracts = __esm({
|
|
|
16261
16268
|
init_chunk_WEXVYJ5H();
|
|
16262
16269
|
init_chunk_6TSQ5HXC();
|
|
16263
16270
|
init_chunk_HZ6CADSY();
|
|
16264
|
-
|
|
16265
|
-
|
|
16271
|
+
init_chunk_G4HTKQCL();
|
|
16272
|
+
init_chunk_ZUKC6A2W();
|
|
16266
16273
|
init_chunk_EVXGKOJV();
|
|
16267
|
-
|
|
16274
|
+
init_chunk_I42QJGJF();
|
|
16268
16275
|
init_chunk_MIWZOSPI();
|
|
16269
16276
|
init_chunk_YROEDMVZ();
|
|
16270
16277
|
init_chunk_L5F7ZOUJ();
|
|
@@ -16421,10 +16428,10 @@ var init_dist = __esm({
|
|
|
16421
16428
|
init_chunk_6TSQ5HXC();
|
|
16422
16429
|
init_chunk_HZ6CADSY();
|
|
16423
16430
|
init_chunk_BF4WRSOQ();
|
|
16424
|
-
|
|
16425
|
-
|
|
16431
|
+
init_chunk_G4HTKQCL();
|
|
16432
|
+
init_chunk_ZUKC6A2W();
|
|
16426
16433
|
init_chunk_EVXGKOJV();
|
|
16427
|
-
|
|
16434
|
+
init_chunk_I42QJGJF();
|
|
16428
16435
|
init_chunk_MIWZOSPI();
|
|
16429
16436
|
init_chunk_YROEDMVZ();
|
|
16430
16437
|
init_chunk_L5F7ZOUJ();
|