@wayai/cli 0.3.294 → 0.3.296

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 CHANGED
@@ -9756,7 +9756,7 @@ var init_chunk_JHUTFQDO = __esm({
9756
9756
  }
9757
9757
  });
9758
9758
 
9759
- // ../../packages/core/dist/chunk-I42QJGJF.js
9759
+ // ../../packages/core/dist/chunk-5SDIIQVO.js
9760
9760
  function spokenLineField(label2, description2) {
9761
9761
  return { type: "text", label: label2, maxLength: SPOKEN_LINE_MAX_CHARS, default: "", description: description2 };
9762
9762
  }
@@ -9765,9 +9765,9 @@ function byLowercaseName(a, b) {
9765
9765
  const y = b.connector_name.toLowerCase();
9766
9766
  return x < y ? -1 : x > y ? 1 : 0;
9767
9767
  }
9768
- 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;
9769
- var init_chunk_I42QJGJF = __esm({
9770
- "../../packages/core/dist/chunk-I42QJGJF.js"() {
9768
+ var CALLER_LANGUAGE, GIT_CHECKOUT_MAX_LENGTH, TTS_VOICE_REPLY_ENABLED_FIELD, decisionsImageInputField, COPILOT_TRIGGER_FIELD, SANDBOX_AGENT_FIELDS, AUDIO_LANGUAGE_OPTIONS, WHATSAPP_CONNECTOR, INSTAGRAM_CONNECTOR, 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;
9769
+ var init_chunk_5SDIIQVO = __esm({
9770
+ "../../packages/core/dist/chunk-5SDIIQVO.js"() {
9771
9771
  "use strict";
9772
9772
  CALLER_LANGUAGE = "caller";
9773
9773
  GIT_CHECKOUT_MAX_LENGTH = 255;
@@ -9854,8 +9854,10 @@ var init_chunk_I42QJGJF = __esm({
9854
9854
  { value: "hi", label: "hi" },
9855
9855
  { value: "tr", label: "tr" }
9856
9856
  ];
9857
+ WHATSAPP_CONNECTOR = "5fb214cb-aaa8-4b3d-8c65-c9370b3e7c85";
9858
+ INSTAGRAM_CONNECTOR = "f9e8d7c6-5b4a-3210-9876-543210fedcba";
9857
9859
  whatsapp = {
9858
- connector_id: "5fb214cb-aaa8-4b3d-8c65-c9370b3e7c85",
9860
+ connector_id: WHATSAPP_CONNECTOR,
9859
9861
  service_name: "Whatsapp",
9860
9862
  connector_type: "Channel",
9861
9863
  connector_name: "WhatsApp",
@@ -9880,7 +9882,7 @@ var init_chunk_I42QJGJF = __esm({
9880
9882
  connector_description: "Send and receive WhatsApp messages via Meta Business API with embedded signup."
9881
9883
  };
9882
9884
  instagram = {
9883
- connector_id: "f9e8d7c6-5b4a-3210-9876-543210fedcba",
9885
+ connector_id: INSTAGRAM_CONNECTOR,
9884
9886
  service_name: "Instagram",
9885
9887
  connector_type: "Channel",
9886
9888
  connector_name: "Instagram",
@@ -10783,13 +10785,13 @@ var init_chunk_I42QJGJF = __esm({
10783
10785
  }
10784
10786
  });
10785
10787
 
10786
- // ../../packages/core/dist/chunk-DOGCOC6X.js
10788
+ // ../../packages/core/dist/chunk-BFX5K5TT.js
10787
10789
  var COUNTER_KEYS, STT_PRICING, CONTAINER_PRICING, connectorById, nativeToolById;
10788
- var init_chunk_DOGCOC6X = __esm({
10789
- "../../packages/core/dist/chunk-DOGCOC6X.js"() {
10790
+ var init_chunk_BFX5K5TT = __esm({
10791
+ "../../packages/core/dist/chunk-BFX5K5TT.js"() {
10790
10792
  "use strict";
10791
10793
  init_chunk_JHUTFQDO();
10792
- init_chunk_I42QJGJF();
10794
+ init_chunk_5SDIIQVO();
10793
10795
  init_chunk_MIWZOSPI();
10794
10796
  COUNTER_KEYS = Object.keys({
10795
10797
  input_tokens: true,
@@ -10912,7 +10914,7 @@ var init_chunk_L5F7ZOUJ = __esm({
10912
10914
  }
10913
10915
  });
10914
10916
 
10915
- // ../../packages/core/dist/chunk-BLPYDZAO.js
10917
+ // ../../packages/core/dist/chunk-R3OKBQMZ.js
10916
10918
  function normalizeDecisionsModelId(modelId) {
10917
10919
  return modelId.trim().toLowerCase();
10918
10920
  }
@@ -10983,10 +10985,10 @@ function readAgentSettingsModel(agentSettings) {
10983
10985
  return typeof model === "string" ? model : null;
10984
10986
  }
10985
10987
  var DECISIONS_MODEL_PREFIXES, DECISION_CAPABLE_AGENT_ROLES;
10986
- var init_chunk_BLPYDZAO = __esm({
10987
- "../../packages/core/dist/chunk-BLPYDZAO.js"() {
10988
+ var init_chunk_R3OKBQMZ = __esm({
10989
+ "../../packages/core/dist/chunk-R3OKBQMZ.js"() {
10988
10990
  "use strict";
10989
- init_chunk_DOGCOC6X();
10991
+ init_chunk_BFX5K5TT();
10990
10992
  init_chunk_L5F7ZOUJ();
10991
10993
  DECISIONS_MODEL_PREFIXES = ["typesafe/jev-", "jev-"];
10992
10994
  DECISION_CAPABLE_AGENT_ROLES = [
@@ -10997,7 +10999,7 @@ var init_chunk_BLPYDZAO = __esm({
10997
10999
  }
10998
11000
  });
10999
11001
 
11000
- // ../../packages/core/dist/chunk-OAWG66J3.js
11002
+ // ../../packages/core/dist/chunk-FGNMHILL.js
11001
11003
  function resolveMonitorTrigger(monitorConfig) {
11002
11004
  if (!monitorConfig || typeof monitorConfig !== "object") return "idle";
11003
11005
  const raw = monitorConfig.trigger;
@@ -11303,14 +11305,14 @@ function refineMonitorRulesStructuredOutput(body, ctx) {
11303
11305
  if (refusal2) ctx.addIssue({ code: external_exports.ZodIssueCode.custom, path: ["response_format"], message: refusal2 });
11304
11306
  }
11305
11307
  var 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;
11306
- var init_chunk_OAWG66J3 = __esm({
11307
- "../../packages/core/dist/chunk-OAWG66J3.js"() {
11308
+ var init_chunk_FGNMHILL = __esm({
11309
+ "../../packages/core/dist/chunk-FGNMHILL.js"() {
11308
11310
  "use strict";
11309
11311
  init_chunk_IBL7FANV();
11310
11312
  init_chunk_KB5RK3RP();
11311
11313
  init_chunk_C2UEA2KW();
11312
11314
  init_chunk_HZ6CADSY();
11313
- init_chunk_BLPYDZAO();
11315
+ init_chunk_R3OKBQMZ();
11314
11316
  init_chunk_JHUTFQDO();
11315
11317
  init_chunk_YROEDMVZ();
11316
11318
  init_chunk_L5F7ZOUJ();
@@ -11528,12 +11530,12 @@ var init_chunk_OAWG66J3 = __esm({
11528
11530
  }
11529
11531
  });
11530
11532
 
11531
- // ../../packages/core/dist/chunk-HL6QCLLK.js
11533
+ // ../../packages/core/dist/chunk-DZ3J5TJT.js
11532
11534
  var conversationIdParam, conversationHubQuery, claimBody, releaseBody, transferBody, closeBody, additionalContextPayloadSchema, kanbanUpdateBody, annotateConversationBody, observabilityParams, observabilityListParams, deleteUserConversationsBody, deleteUserConversationsResponse, sendMessageBody, listConversationsQuery, flagSourceSchema, getConversationsResponse, getConversationDetailParams, getConversationDetailQuery, getConversationDetailResponse, listWhatsAppTemplatesQuery, sendWhatsAppTemplateBody;
11533
- var init_chunk_HL6QCLLK = __esm({
11534
- "../../packages/core/dist/chunk-HL6QCLLK.js"() {
11535
+ var init_chunk_DZ3J5TJT = __esm({
11536
+ "../../packages/core/dist/chunk-DZ3J5TJT.js"() {
11535
11537
  "use strict";
11536
- init_chunk_OAWG66J3();
11538
+ init_chunk_FGNMHILL();
11537
11539
  init_chunk_HZ6CADSY();
11538
11540
  init_chunk_YROEDMVZ();
11539
11541
  init_zod();
@@ -12062,14 +12064,14 @@ var init_chunk_E4DIIOOE = __esm({
12062
12064
  }
12063
12065
  });
12064
12066
 
12065
- // ../../packages/core/dist/chunk-Y6NC5CH5.js
12067
+ // ../../packages/core/dist/chunk-WEXNHMSJ.js
12066
12068
  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;
12067
- var init_chunk_Y6NC5CH5 = __esm({
12068
- "../../packages/core/dist/chunk-Y6NC5CH5.js"() {
12069
+ var init_chunk_WEXNHMSJ = __esm({
12070
+ "../../packages/core/dist/chunk-WEXNHMSJ.js"() {
12069
12071
  "use strict";
12070
12072
  init_chunk_E4DIIOOE();
12071
12073
  init_chunk_HZ6CADSY();
12072
- init_chunk_I42QJGJF();
12074
+ init_chunk_5SDIIQVO();
12073
12075
  init_chunk_MIWZOSPI();
12074
12076
  init_zod();
12075
12077
  evalCallInstant = timestampSchema.refine(isIsoTimestamp, "Expected a canonical ISO timestamp");
@@ -14046,7 +14048,7 @@ var init_chunk_MO23HUAX = __esm({
14046
14048
  }
14047
14049
  });
14048
14050
 
14049
- // ../../packages/core/dist/chunk-YN7UXGAP.js
14051
+ // ../../packages/core/dist/chunk-7PQGCCKJ.js
14050
14052
  function declaresNoConnection(agent) {
14051
14053
  return agent.connection === null && !agent.connection_id;
14052
14054
  }
@@ -14778,8 +14780,8 @@ function skillSectionsAsResources(scope) {
14778
14780
  };
14779
14781
  }
14780
14782
  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, flagEntriesOf, boundedHubAsCodeResourcesSchema, isPlainObject, MIN_SKILLS_LAYOUT_CLI, MAX_HUB_AS_CODE_DEPTH, NAMED_DEPTH_SEGMENTS, NAMED_DEPTH_KEY_CHARS, fieldName, 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;
14781
- var init_chunk_YN7UXGAP = __esm({
14782
- "../../packages/core/dist/chunk-YN7UXGAP.js"() {
14783
+ var init_chunk_7PQGCCKJ = __esm({
14784
+ "../../packages/core/dist/chunk-7PQGCCKJ.js"() {
14783
14785
  "use strict";
14784
14786
  init_chunk_YI3ORIXJ();
14785
14787
  init_chunk_HRKVCI5A();
@@ -14789,13 +14791,13 @@ var init_chunk_YN7UXGAP = __esm({
14789
14791
  init_chunk_MO23HUAX();
14790
14792
  init_chunk_X5PZZVTS();
14791
14793
  init_chunk_K5UAZWFF();
14792
- init_chunk_OAWG66J3();
14794
+ init_chunk_FGNMHILL();
14793
14795
  init_chunk_S4VDZ7PZ();
14794
14796
  init_chunk_C2UEA2KW();
14795
14797
  init_chunk_FBV7NLKO();
14796
14798
  init_chunk_WEXVYJ5H();
14797
14799
  init_chunk_HZ6CADSY();
14798
- init_chunk_BLPYDZAO();
14800
+ init_chunk_R3OKBQMZ();
14799
14801
  init_chunk_YROEDMVZ();
14800
14802
  init_zod();
14801
14803
  MAX_10MB_BASE64_ENCODED_BYTES = Math.ceil(MAX_RESOURCE_FILE_SIZE / 3) * 4 + 16;
@@ -15902,16 +15904,16 @@ var init_chunk_R6Y377AW = __esm({
15902
15904
  }
15903
15905
  });
15904
15906
 
15905
- // ../../packages/core/dist/chunk-3QU3I3BQ.js
15907
+ // ../../packages/core/dist/chunk-ELBFOFQD.js
15906
15908
  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;
15907
- var init_chunk_3QU3I3BQ = __esm({
15908
- "../../packages/core/dist/chunk-3QU3I3BQ.js"() {
15909
+ var init_chunk_ELBFOFQD = __esm({
15910
+ "../../packages/core/dist/chunk-ELBFOFQD.js"() {
15909
15911
  "use strict";
15910
15912
  init_chunk_R6Y377AW();
15911
15913
  init_chunk_UAOHHCW5();
15912
- init_chunk_OAWG66J3();
15914
+ init_chunk_FGNMHILL();
15913
15915
  init_chunk_5FO3GNKP();
15914
- init_chunk_BLPYDZAO();
15916
+ init_chunk_R3OKBQMZ();
15915
15917
  init_chunk_YROEDMVZ();
15916
15918
  init_zod();
15917
15919
  AUTOMATION_TRIGGER_TYPES = ["schedule", "event", "webhook"];
@@ -16230,10 +16232,10 @@ var init_chunk_WFQDSQJK = __esm({
16230
16232
  }
16231
16233
  });
16232
16234
 
16233
- // ../../packages/core/dist/chunk-M53YHYIG.js
16235
+ // ../../packages/core/dist/chunk-M4VIWNVH.js
16234
16236
  var APP_ERROR_BRAND, AppError, PAGE_CUSTOMER_UNAVAILABLE_CODE, LLM_RATE_LIMIT_BRAND, LlmRateLimitError, LLM_PROVIDER_HTTP_BRAND, LlmProviderHttpError, LLM_PROVIDER_CONTENT_BRAND, LlmProviderContentError, LLM_PROVIDER_TIMEOUT_BRAND, LlmProviderTimeoutError, ExternalServiceError, CHANNEL_PROVIDER_HTTP_BRAND, ChannelProviderHttpError, MEDIA_PROVIDER_HTTP_BRAND, MediaProviderHttpError;
16235
- var init_chunk_M53YHYIG = __esm({
16236
- "../../packages/core/dist/chunk-M53YHYIG.js"() {
16237
+ var init_chunk_M4VIWNVH = __esm({
16238
+ "../../packages/core/dist/chunk-M4VIWNVH.js"() {
16237
16239
  "use strict";
16238
16240
  init_chunk_WFQDSQJK();
16239
16241
  APP_ERROR_BRAND = /* @__PURE__ */ Symbol.for("wayai.AppError");
@@ -16377,10 +16379,10 @@ var init_contracts = __esm({
16377
16379
  init_chunk_OPETF4GS();
16378
16380
  init_chunk_SY6PLCPK();
16379
16381
  init_chunk_KMAC3O3L();
16380
- init_chunk_HL6QCLLK();
16382
+ init_chunk_DZ3J5TJT();
16381
16383
  init_chunk_KSTYTQ7I();
16382
16384
  init_chunk_LKBSHANA();
16383
- init_chunk_Y6NC5CH5();
16385
+ init_chunk_WEXNHMSJ();
16384
16386
  init_chunk_C4HEZ7ZI();
16385
16387
  init_chunk_IR2NOSI3();
16386
16388
  init_chunk_UCYWGWQT();
@@ -16395,7 +16397,7 @@ var init_contracts = __esm({
16395
16397
  init_chunk_E4DIIOOE();
16396
16398
  init_chunk_7CYHPF35();
16397
16399
  init_chunk_NETRUHZF();
16398
- init_chunk_YN7UXGAP();
16400
+ init_chunk_7PQGCCKJ();
16399
16401
  init_chunk_YI3ORIXJ();
16400
16402
  init_chunk_HRKVCI5A();
16401
16403
  init_chunk_CZEJR5UE();
@@ -16416,10 +16418,10 @@ var init_contracts = __esm({
16416
16418
  init_chunk_2PZIF56U();
16417
16419
  init_chunk_UEJOG2Q7();
16418
16420
  init_chunk_JO53JB35();
16419
- init_chunk_3QU3I3BQ();
16421
+ init_chunk_ELBFOFQD();
16420
16422
  init_chunk_R6Y377AW();
16421
16423
  init_chunk_UAOHHCW5();
16422
- init_chunk_OAWG66J3();
16424
+ init_chunk_FGNMHILL();
16423
16425
  init_chunk_IG6QBZMA();
16424
16426
  init_chunk_OMPT4ZHR();
16425
16427
  init_chunk_WWLNKL2W();
@@ -16442,14 +16444,14 @@ var init_contracts = __esm({
16442
16444
  init_chunk_WEXVYJ5H();
16443
16445
  init_chunk_6TSQ5HXC();
16444
16446
  init_chunk_HZ6CADSY();
16445
- init_chunk_BLPYDZAO();
16446
- init_chunk_DOGCOC6X();
16447
+ init_chunk_R3OKBQMZ();
16448
+ init_chunk_BFX5K5TT();
16447
16449
  init_chunk_JHUTFQDO();
16448
- init_chunk_I42QJGJF();
16450
+ init_chunk_5SDIIQVO();
16449
16451
  init_chunk_MIWZOSPI();
16450
16452
  init_chunk_YROEDMVZ();
16451
16453
  init_chunk_L5F7ZOUJ();
16452
- init_chunk_M53YHYIG();
16454
+ init_chunk_M4VIWNVH();
16453
16455
  init_chunk_WFQDSQJK();
16454
16456
  }
16455
16457
  });
@@ -16605,14 +16607,14 @@ var init_dist = __esm({
16605
16607
  init_chunk_6TSQ5HXC();
16606
16608
  init_chunk_HZ6CADSY();
16607
16609
  init_chunk_FZ7BJJW7();
16608
- init_chunk_BLPYDZAO();
16609
- init_chunk_DOGCOC6X();
16610
+ init_chunk_R3OKBQMZ();
16611
+ init_chunk_BFX5K5TT();
16610
16612
  init_chunk_JHUTFQDO();
16611
- init_chunk_I42QJGJF();
16613
+ init_chunk_5SDIIQVO();
16612
16614
  init_chunk_MIWZOSPI();
16613
16615
  init_chunk_YROEDMVZ();
16614
16616
  init_chunk_L5F7ZOUJ();
16615
- init_chunk_M53YHYIG();
16617
+ init_chunk_M4VIWNVH();
16616
16618
  init_chunk_WFQDSQJK();
16617
16619
  UUID_RE2 = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
16618
16620
  WAYAI_WORKSPACE_LAYOUT = {
@@ -21678,7 +21680,7 @@ var init_pages = __esm({
21678
21680
  init_chunk_FBV7NLKO();
21679
21681
  init_chunk_WEXVYJ5H();
21680
21682
  init_chunk_HZ6CADSY();
21681
- init_chunk_M53YHYIG();
21683
+ init_chunk_M4VIWNVH();
21682
21684
  init_chunk_WFQDSQJK();
21683
21685
  }
21684
21686
  });
@@ -22772,7 +22774,7 @@ var init_hub_materializer = __esm({
22772
22774
  var init_ci = __esm({
22773
22775
  "../../packages/core/dist/contracts/ci.js"() {
22774
22776
  "use strict";
22775
- init_chunk_YN7UXGAP();
22777
+ init_chunk_7PQGCCKJ();
22776
22778
  init_chunk_YI3ORIXJ();
22777
22779
  init_chunk_HRKVCI5A();
22778
22780
  init_chunk_CZEJR5UE();
@@ -22784,7 +22786,7 @@ var init_ci = __esm({
22784
22786
  init_chunk_X5PZZVTS();
22785
22787
  init_chunk_D3EP4TDU();
22786
22788
  init_chunk_K5UAZWFF();
22787
- init_chunk_OAWG66J3();
22789
+ init_chunk_FGNMHILL();
22788
22790
  init_chunk_WTOA3ANF();
22789
22791
  init_chunk_IBL7FANV();
22790
22792
  init_chunk_S4VDZ7PZ();
@@ -22796,14 +22798,14 @@ var init_ci = __esm({
22796
22798
  init_chunk_WEXVYJ5H();
22797
22799
  init_chunk_6TSQ5HXC();
22798
22800
  init_chunk_HZ6CADSY();
22799
- init_chunk_BLPYDZAO();
22800
- init_chunk_DOGCOC6X();
22801
+ init_chunk_R3OKBQMZ();
22802
+ init_chunk_BFX5K5TT();
22801
22803
  init_chunk_JHUTFQDO();
22802
- init_chunk_I42QJGJF();
22804
+ init_chunk_5SDIIQVO();
22803
22805
  init_chunk_MIWZOSPI();
22804
22806
  init_chunk_YROEDMVZ();
22805
22807
  init_chunk_L5F7ZOUJ();
22806
- init_chunk_M53YHYIG();
22808
+ init_chunk_M4VIWNVH();
22807
22809
  init_chunk_WFQDSQJK();
22808
22810
  }
22809
22811
  });
@@ -38503,8 +38505,11 @@ async function runVaultImport(flagArgs) {
38503
38505
  console.log(`vault import (${data.connector}) \u2014 ${data.dry_run ? "DRY RUN \u2014 nothing written" : "written"}: gate=${data.gate_open ? "open" : "CLOSED"} hubs_scanned=${data.hubs_scanned} values_remaining=${data.values_remaining}`);
38504
38506
  if (data.rate_limited) console.log("The vault's per-org rate limit stopped the run \u2014 re-run in a minute.");
38505
38507
  for (const c of data.counts) console.log(` ${c.field} ${c.link} ${c.stored}: rows=${c.rows} values=${c.values}`);
38508
+ if (data.trimmed_rows !== void 0) console.log(` trimmed before the put (as a send trims a token): rows=${data.trimmed_rows}`);
38509
+ for (const l of data.legacy_rows ?? []) console.log(` ${l.field} ${l.stored}: rows=${l.rows} (stays as stored: the vault does not hold it)`);
38506
38510
  for (const v of data.values) {
38507
- console.log(` value ${v.field} \u2192 ${v.secret_id ?? "-"}: ${v.outcome}${v.code ? ` (${v.code})` : ""}`);
38511
+ const expiry = v.expires_at === void 0 ? "" : ` expires_at=${v.expires_at ?? "none"}`;
38512
+ console.log(` value ${v.field} \u2192 ${v.secret_id ?? "-"}: ${v.outcome}${v.code ? ` (${v.code})` : ""}${expiry}`);
38508
38513
  for (const r of v.rows) console.log(` hub=${r.hub_id} connection=${r.connection_id}: ${r.outcome}`);
38509
38514
  }
38510
38515
  const credentials = data.credentials ?? [];
@@ -39809,10 +39814,10 @@ Usage:
39809
39814
  Repair org-admin roster rows keyed by email with a NULL user_email (pre-#3922 platform-admin adds): grant the real access they never conferred, or drop the phantom seat. Idempotent \u2014 run --dry-run first
39810
39815
 
39811
39816
  wayai admin vault import --org <org_id> --connector <connector_id> [--max-puts <n>] [--apply] [--yes] [--json]
39812
- Move one org's stored credentials of one connector into the credentials vault, no re-entry (#5644). A dry run by default (counts by field, link kind and form); --apply needs the connector's gate open, puts each distinct value once for the direct rows holding it, moves each org credential with the rows it supplies when all of them may move (else names why it stays), and keeps the old ciphertext 30 days for revert. Re-run until values_remaining and credentials_remaining are 0. Lists Telegram bots to enable again
39817
+ Move one org's stored credentials of one connector into the credentials vault, no re-entry (#5644). A dry run by default (counts by field, link kind and form); --apply needs the connector's gate open, puts each distinct value once for the direct rows holding it, moves each org credential with the rows it supplies when all of them may move (else names why it stays), and keeps the old ciphertext 30 days for revert. Re-run until values_remaining and credentials_remaining are 0. Lists Telegram bots to enable again. WhatsApp and Instagram: trims each token as a send does (rows counted), puts it with its expiry, and counts the legacy api_key rows that stay
39813
39818
 
39814
39819
  wayai admin vault revert --org <org_id> --connector <connector_id> [--apply] [--yes] [--json]
39815
- Put back what vault import moved, within 30 days, and erase the vault entries no row names. A dry run by default
39820
+ Put back what vault import moved, within 30 days, and erase the vault entries no row names; a WhatsApp or Instagram token the vault renewed since stays (renewed). A dry run by default
39816
39821
 
39817
39822
  wayai admin harness disable Flip the platform harness_enabled flag OFF (break-glass: blocks harness-agent writes and the per-turn kill switch aborts each harness turn on its next invocation)
39818
39823
  wayai admin harness enable Flip the platform harness_enabled flag ON
@@ -39845,7 +39850,7 @@ Usage:
39845
39850
 
39846
39851
  wayai admin vault-gate status [--json] Print the connectors whose new credentials go to the credentials vault
39847
39852
  wayai admin vault-gate add <connector> [--yes] [--json]
39848
- List a connector: a vault connector's name (e.g. telegram, or openai for its LLM, STT and TTS ids, never GPT-Live's) or one catalog id (GPT-Live's only so); prints before and after, confirms unless --yes
39853
+ List a connector: a vault connector's name (e.g. telegram, whatsapp, instagram, or openai for its LLM, STT and TTS ids, never GPT-Live's) or one catalog id (GPT-Live's only so); prints before and after, confirms unless --yes
39849
39854
  wayai admin vault-gate remove <connector> [--yes] [--json]
39850
39855
  Stop listing it: its new credentials take the existing path again
39851
39856
 
@@ -40034,6 +40039,8 @@ var init_admin = __esm({
40034
40039
  PLATFORM_CONFIG_PROPAGATION_NOTE = "Takes effect within about 60 s (the platform-config cache is dropped; KV deletes propagate eventually).";
40035
40040
  VAULT_GATE_CONNECTORS = /* @__PURE__ */ new Map([
40036
40041
  ["telegram", ["a1b2c3d4-e5f6-4a89-b012-3e5e0d000002"]],
40042
+ ["whatsapp", ["5fb214cb-aaa8-4b3d-8c65-c9370b3e7c85"]],
40043
+ ["instagram", ["f9e8d7c6-5b4a-3210-9876-543210fedcba"]],
40037
40044
  ["openai", [
40038
40045
  "0cd6a292-895b-4667-b89e-dd298628c272",
40039
40046
  "c3d4e5f6-7a8b-4c9d-0e1f-2a3b4c5d6e7f",