@wayai/cli 0.3.358 → 0.3.359
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 +185 -39
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5530,7 +5530,7 @@ function normalizeAuthType(raw) {
|
|
|
5530
5530
|
function isCustomerFacingAgentRole(role) {
|
|
5531
5531
|
return typeof role === "string" && CUSTOMER_FACING_AGENT_ROLES.includes(role);
|
|
5532
5532
|
}
|
|
5533
|
-
var AUTH_TYPE, ORG_CREDENTIAL_AUTH_TYPES, AUTH_TYPE_DISPLAY, LEGACY_AUTH_TYPE_MAP, VALID_AUTH_TYPES, AGENT_ROLES, PILOT_TRACK_ROLES, COPILOT_TRACK_ROLES, CUSTOMER_FACING_AGENT_ROLES, AGENT_ROLE_DISPLAY, SAFE_USER_ID_REGEX, SUPPORTED_LOCALES, SKILL_INSTALL_COMMAND, CASE_TYPE_ABBREVIATION_PATTERN;
|
|
5533
|
+
var AUTH_TYPE, ORG_CREDENTIAL_AUTH_TYPES, AUTH_TYPE_DISPLAY, LEGACY_AUTH_TYPE_MAP, VALID_AUTH_TYPES, AGENT_ROLES, PILOT_TRACK_ROLES, COPILOT_TRACK_ROLES, CUSTOMER_FACING_AGENT_ROLES, AGENT_ROLE_DISPLAY, AI_MODES, SAFE_USER_ID_REGEX, SUPPORTED_LOCALES, SKILL_INSTALL_COMMAND, CASE_TYPE_ABBREVIATION_PATTERN;
|
|
5534
5534
|
var init_chunk_ZTNFLGW5 = __esm({
|
|
5535
5535
|
"../../packages/core/dist/chunk-ZTNFLGW5.js"() {
|
|
5536
5536
|
"use strict";
|
|
@@ -5594,6 +5594,7 @@ var init_chunk_ZTNFLGW5 = __esm({
|
|
|
5594
5594
|
consultant: "Consultant",
|
|
5595
5595
|
pilot_voice: "Pilot Voice"
|
|
5596
5596
|
};
|
|
5597
|
+
AI_MODES = ["pilot", "copilot", "pilot+copilot", "turned_off"];
|
|
5597
5598
|
SAFE_USER_ID_REGEX = /^[A-Za-z0-9_-]{1,64}$/;
|
|
5598
5599
|
SUPPORTED_LOCALES = ["en", "pt", "es"];
|
|
5599
5600
|
SKILL_INSTALL_COMMAND = "mkdir -p .claude && npx skills add wayai-pro/wayai-skill -y";
|
|
@@ -13875,7 +13876,7 @@ var init_chunk_D3EP4TDU = __esm({
|
|
|
13875
13876
|
}
|
|
13876
13877
|
});
|
|
13877
13878
|
|
|
13878
|
-
// ../../packages/core/dist/chunk-
|
|
13879
|
+
// ../../packages/core/dist/chunk-JP42Y3U2.js
|
|
13879
13880
|
function isEventRelativeFollowupType(type) {
|
|
13880
13881
|
return typeof type === "string" && EVENT_RELATIVE_FOLLOWUP_TYPES.includes(type);
|
|
13881
13882
|
}
|
|
@@ -13968,9 +13969,9 @@ function validateLaneReferences(lanes, statuses) {
|
|
|
13968
13969
|
});
|
|
13969
13970
|
return issues;
|
|
13970
13971
|
}
|
|
13971
|
-
var MAX_KANBAN_STATUSES, MAX_FOLLOWUPS_PER_STATUS, MAX_LANES, MAX_ADDITIONAL_CONTEXT_SCHEMA_BYTES, RESERVED_TEMPLATE_DUMP_NAME, kanbanStatusSlugSchema, followupTypeSchema, EVENT_RELATIVE_FOLLOWUP_TYPES, followupTimeUnitSchema, followupIdSchema, SELECTABLE_FOLLOWUP_TYPES, MAX_LINKED_FOLLOWUP_TARGETS_PER_STATUS, followupSchema, MAX_OUTCOMES_PER_STATUS, kanbanOutcomeSchema, EXCLUSIVE_FLAG_PAIRS, kanbanStatusSchema, kanbanStatusesArraySchema, laneSchema, lanesArraySchema;
|
|
13972
|
-
var
|
|
13973
|
-
"../../packages/core/dist/chunk-
|
|
13972
|
+
var MAX_KANBAN_STATUSES, MAX_FOLLOWUPS_PER_STATUS, MAX_LANES, MAX_ADDITIONAL_CONTEXT_SCHEMA_BYTES, RESERVED_TEMPLATE_DUMP_NAME, kanbanStatusSlugSchema, followupTypeSchema, EVENT_RELATIVE_FOLLOWUP_TYPES, followupTimeUnitSchema, followupIdSchema, SELECTABLE_FOLLOWUP_TYPES, MAX_LINKED_FOLLOWUP_TARGETS_PER_STATUS, followupSchema, MAX_OUTCOMES_PER_STATUS, kanbanOutcomeSchema, EXCLUSIVE_FLAG_PAIRS, kanbanStatusSchema, kanbanStatusesArraySchema, laneSchema, lanesArraySchema, kanbanLintWarningSchema;
|
|
13973
|
+
var init_chunk_JP42Y3U2 = __esm({
|
|
13974
|
+
"../../packages/core/dist/chunk-JP42Y3U2.js"() {
|
|
13974
13975
|
"use strict";
|
|
13975
13976
|
init_chunk_6TSQ5HXC();
|
|
13976
13977
|
init_chunk_HZ6CADSY();
|
|
@@ -14270,10 +14271,23 @@ var init_chunk_X5PZZVTS = __esm({
|
|
|
14270
14271
|
}
|
|
14271
14272
|
}
|
|
14272
14273
|
});
|
|
14274
|
+
kanbanLintWarningSchema = external_exports.object({
|
|
14275
|
+
code: external_exports.enum([
|
|
14276
|
+
"unreachable",
|
|
14277
|
+
"placeholder_unresolved",
|
|
14278
|
+
"unused_lane",
|
|
14279
|
+
"no_eligible_outcome",
|
|
14280
|
+
"terminal_outcomes_all_restricted",
|
|
14281
|
+
"duplicate_followup_id"
|
|
14282
|
+
]),
|
|
14283
|
+
slug: external_exports.string(),
|
|
14284
|
+
name: external_exports.string(),
|
|
14285
|
+
message: external_exports.string()
|
|
14286
|
+
});
|
|
14273
14287
|
}
|
|
14274
14288
|
});
|
|
14275
14289
|
|
|
14276
|
-
// ../../packages/core/dist/chunk-
|
|
14290
|
+
// ../../packages/core/dist/chunk-QT7R3TGR.js
|
|
14277
14291
|
function byLocale(entry) {
|
|
14278
14292
|
const shape = Object.fromEntries(SUPPORTED_LOCALES.map((locale) => [locale, entry.optional()]));
|
|
14279
14293
|
return external_exports.object(shape).strict();
|
|
@@ -14283,9 +14297,9 @@ function writeField(map) {
|
|
|
14283
14297
|
(value) => value && Object.keys(value).length === 0 ? null : value
|
|
14284
14298
|
);
|
|
14285
14299
|
}
|
|
14286
|
-
var HUB_DISPLAY_NAME_MAX_CHARS, HUB_WELCOME_MESSAGE_MAX_CHARS, HUB_STARTER_QUESTIONS_MAX, HUB_STARTER_QUESTION_MAX_CHARS, displayName, welcomeMessage, starterQuestions, hubDisplayNamesSchema, hubWelcomeMessagesSchema, hubStarterQuestionsSchema, hubDisplayNamesField, hubWelcomeMessagesField, hubStarterQuestionsField, HUB_PRESENTATION_FIELDS, HUB_PRESENTATION_SCHEMAS;
|
|
14287
|
-
var
|
|
14288
|
-
"../../packages/core/dist/chunk-
|
|
14300
|
+
var HUB_DISPLAY_NAME_MAX_CHARS, HUB_WELCOME_MESSAGE_MAX_CHARS, HUB_STARTER_QUESTIONS_MAX, HUB_STARTER_QUESTION_MAX_CHARS, displayName, welcomeMessage, starterQuestions, hubDisplayNamesSchema, hubWelcomeMessagesSchema, hubStarterQuestionsSchema, hubDisplayNamesField, hubWelcomeMessagesField, hubStarterQuestionsField, HUB_PRESENTATION_FIELDS, hubPresentationColumnsSchema, HUB_PRESENTATION_SCHEMAS;
|
|
14301
|
+
var init_chunk_QT7R3TGR = __esm({
|
|
14302
|
+
"../../packages/core/dist/chunk-QT7R3TGR.js"() {
|
|
14289
14303
|
"use strict";
|
|
14290
14304
|
init_chunk_ZTNFLGW5();
|
|
14291
14305
|
init_zod();
|
|
@@ -14303,6 +14317,11 @@ var init_chunk_PIZTARVG = __esm({
|
|
|
14303
14317
|
hubWelcomeMessagesField = writeField(hubWelcomeMessagesSchema);
|
|
14304
14318
|
hubStarterQuestionsField = writeField(hubStarterQuestionsSchema);
|
|
14305
14319
|
HUB_PRESENTATION_FIELDS = ["display_names", "welcome_messages", "starter_questions"];
|
|
14320
|
+
hubPresentationColumnsSchema = external_exports.object({
|
|
14321
|
+
display_names: byLocale(external_exports.string()).nullable(),
|
|
14322
|
+
welcome_messages: byLocale(external_exports.string()).nullable(),
|
|
14323
|
+
starter_questions: byLocale(external_exports.array(external_exports.string())).nullable()
|
|
14324
|
+
});
|
|
14306
14325
|
HUB_PRESENTATION_SCHEMAS = {
|
|
14307
14326
|
display_names: hubDisplayNamesSchema,
|
|
14308
14327
|
welcome_messages: hubWelcomeMessagesSchema,
|
|
@@ -14311,7 +14330,7 @@ var init_chunk_PIZTARVG = __esm({
|
|
|
14311
14330
|
}
|
|
14312
14331
|
});
|
|
14313
14332
|
|
|
14314
|
-
// ../../packages/core/dist/chunk-
|
|
14333
|
+
// ../../packages/core/dist/chunk-4NZTCAY5.js
|
|
14315
14334
|
function refineLaneReferences(val, ctx) {
|
|
14316
14335
|
const lanes = val.lanes;
|
|
14317
14336
|
const statuses = val.kanban_statuses;
|
|
@@ -14334,14 +14353,15 @@ function describeSyncWarning(warning) {
|
|
|
14334
14353
|
}
|
|
14335
14354
|
return `${label3}: ${parts.join("; ")}. Promote the base so production's tools match the preview's.`;
|
|
14336
14355
|
}
|
|
14337
|
-
var hubIdParam, hubAdminIdParam, hubUserIdParam, hubAgentIdParam, hubIdentityIdParam, hubTeamIdParam, hubTeamUserDeleteParam, hubSchemaQuery, HUB_USERS_PAGE_SIZE_MAX, HUB_USERS_SEARCH_MAX, HUB_USERS_CHANNEL_TYPES, getHubUsersQuery, PREVIEW_LABEL_MAX_LENGTH, MAX_ENDED_INDEX_RETENTION_DAYS, MAX_EVAL_RETENTION_DAYS, MAX_END_USER_DAILY_MESSAGE_LIMIT, endUserDailyMessageLimitField, previewLabelField, hubTagsField, createHubBody, updateHubBody, HUB_TAG_CHANGE_REFUSED, hubTagChangeRefusalSchema, addHubAdminBody, addHubIdentityAuthorizationBody, contactDecisionBody, approveContactBody, CONTACT_ACCESS_PAGE_SIZE_MAX, listContactAccessQuery, createHubTeamBody, updateHubTeamBody, addHubTeamUserBody, reassignHubUserBody, replicatePreviewBody, HUB_DIFF_SECTION_SET, HUB_DIFF_SECTIONS, updateChannelTestIdentitiesBody, claimCodeChannelParam, claimCodeDeleteParam;
|
|
14338
|
-
var
|
|
14339
|
-
"../../packages/core/dist/chunk-
|
|
14356
|
+
var hubIdParam, hubAdminIdParam, hubUserIdParam, hubAgentIdParam, hubIdentityIdParam, hubTeamIdParam, hubTeamUserDeleteParam, hubSchemaQuery, HUB_USERS_PAGE_SIZE_MAX, HUB_USERS_SEARCH_MAX, HUB_USERS_CHANNEL_TYPES, getHubUsersQuery, PREVIEW_LABEL_MAX_LENGTH, MAX_ENDED_INDEX_RETENTION_DAYS, MAX_EVAL_RETENTION_DAYS, MAX_END_USER_DAILY_MESSAGE_LIMIT, endUserDailyMessageLimitField, previewLabelField, hubTagsField, hubTypeSchema, supportModelSchema, unassignedPolicySchema, hubLanguageSchema, accessApprovalRoleSchema, createHubBody, updateHubBody, HUB_TAG_CHANGE_REFUSED, hubTagChangeRefusalSchema, addHubAdminBody, addHubIdentityAuthorizationBody, contactDecisionBody, approveContactBody, CONTACT_ACCESS_PAGE_SIZE_MAX, listContactAccessQuery, createHubTeamBody, updateHubTeamBody, addHubTeamUserBody, reassignHubUserBody, replicatePreviewBody, hubRowObjectListSchema, createdHubRowSchema, createHubResponseSchema, diffEntrySchema, diffEntriesSchema, hubDiffResultSchema, HUB_DIFF_SECTION_SET, HUB_DIFF_SECTIONS, getHubDiffResponseSchema, publishHubResponseSchema, syncWarningSchema, syncHubResponseSchema, replicatePreviewHubResponseSchema, updateChannelTestIdentitiesBody, claimCodeChannelParam, claimCodeDeleteParam;
|
|
14357
|
+
var init_chunk_4NZTCAY5 = __esm({
|
|
14358
|
+
"../../packages/core/dist/chunk-4NZTCAY5.js"() {
|
|
14340
14359
|
"use strict";
|
|
14341
14360
|
init_chunk_D3EP4TDU();
|
|
14342
|
-
|
|
14343
|
-
|
|
14361
|
+
init_chunk_JP42Y3U2();
|
|
14362
|
+
init_chunk_QT7R3TGR();
|
|
14344
14363
|
init_chunk_HZ6CADSY();
|
|
14364
|
+
init_chunk_ZTNFLGW5();
|
|
14345
14365
|
init_zod();
|
|
14346
14366
|
hubIdParam = external_exports.object({ id: uuidSchema });
|
|
14347
14367
|
hubAdminIdParam = external_exports.object({ id: uuidSchema, adminId: uuidSchema });
|
|
@@ -14371,11 +14391,16 @@ var init_chunk_ARK3766Q = __esm({
|
|
|
14371
14391
|
return trimmed || null;
|
|
14372
14392
|
});
|
|
14373
14393
|
hubTagsField = external_exports.array(external_exports.string()).nullable().optional();
|
|
14394
|
+
hubTypeSchema = external_exports.enum(["chat", "task"]);
|
|
14395
|
+
supportModelSchema = external_exports.enum(["conversation", "account"]);
|
|
14396
|
+
unassignedPolicySchema = external_exports.enum(["default_team", "auto_assign_random", "auto_assign_round_robin", "pull_queue"]);
|
|
14397
|
+
hubLanguageSchema = external_exports.enum(SUPPORTED_LOCALES);
|
|
14398
|
+
accessApprovalRoleSchema = external_exports.enum(["admin", "team"]);
|
|
14374
14399
|
createHubBody = external_exports.object({
|
|
14375
14400
|
organization_id: uuidSchema,
|
|
14376
14401
|
hub_name: external_exports.string().min(1, "hub_name is required"),
|
|
14377
14402
|
hub_description: external_exports.string().optional(),
|
|
14378
|
-
hub_type:
|
|
14403
|
+
hub_type: hubTypeSchema.optional(),
|
|
14379
14404
|
kanban_statuses: kanbanStatusesArraySchema.nullable().optional(),
|
|
14380
14405
|
lanes: lanesArraySchema.nullable().optional(),
|
|
14381
14406
|
// Optional preview label for the first preview. Server-owned thereafter
|
|
@@ -14393,8 +14418,8 @@ var init_chunk_ARK3766Q = __esm({
|
|
|
14393
14418
|
end_user_daily_message_limit: endUserDailyMessageLimitField
|
|
14394
14419
|
}).strict().superRefine(refineLaneReferences);
|
|
14395
14420
|
updateHubBody = external_exports.object({
|
|
14396
|
-
support_model:
|
|
14397
|
-
unassigned_policy:
|
|
14421
|
+
support_model: supportModelSchema.optional(),
|
|
14422
|
+
unassigned_policy: unassignedPolicySchema.optional(),
|
|
14398
14423
|
default_hub_team_id: uuidSchema.nullable().optional(),
|
|
14399
14424
|
kanban_statuses: kanbanStatusesArraySchema.nullable().optional(),
|
|
14400
14425
|
lanes: lanesArraySchema.nullable().optional(),
|
|
@@ -14416,9 +14441,9 @@ var init_chunk_ARK3766Q = __esm({
|
|
|
14416
14441
|
eval_retention_days: external_exports.number().int().min(0).max(MAX_EVAL_RETENTION_DAYS).nullable().optional(),
|
|
14417
14442
|
// Channel contact access control. Enum-validated explicitly (not via passthrough)
|
|
14418
14443
|
// so `language`/`access_approval_role` can't reach the DB with an invalid value.
|
|
14419
|
-
language:
|
|
14444
|
+
language: hubLanguageSchema.optional(),
|
|
14420
14445
|
access_request_message: external_exports.string().max(1e3).nullable().optional(),
|
|
14421
|
-
access_approval_role:
|
|
14446
|
+
access_approval_role: accessApprovalRoleSchema.optional(),
|
|
14422
14447
|
// AI-failure escalation. When an LLM provider outage persists past this many
|
|
14423
14448
|
// minutes the conversation escalates to the team; null → code default. The two
|
|
14424
14449
|
// message fields override the localized (hub.language) delay / hand-off notices;
|
|
@@ -14500,6 +14525,96 @@ var init_chunk_ARK3766Q = __esm({
|
|
|
14500
14525
|
replicatePreviewBody = external_exports.object({
|
|
14501
14526
|
preview_label: previewLabelField
|
|
14502
14527
|
});
|
|
14528
|
+
hubRowObjectListSchema = external_exports.array(external_exports.record(external_exports.string(), external_exports.unknown()));
|
|
14529
|
+
createdHubRowSchema = external_exports.object({
|
|
14530
|
+
hub_id: external_exports.string().min(1),
|
|
14531
|
+
hub_name: external_exports.string(),
|
|
14532
|
+
hub_type: hubTypeSchema,
|
|
14533
|
+
hub_description: external_exports.string().nullable(),
|
|
14534
|
+
ai_mode: external_exports.enum(AI_MODES),
|
|
14535
|
+
non_app_permission: external_exports.enum(["everyone", "require_permission", "not_allowed"]),
|
|
14536
|
+
hub_environment: external_exports.enum(["preview", "production"]),
|
|
14537
|
+
production_hub_id: external_exports.string().nullable(),
|
|
14538
|
+
branch_name: external_exports.string().nullable(),
|
|
14539
|
+
preview_label: external_exports.string().nullable(),
|
|
14540
|
+
tags: external_exports.array(external_exports.string()),
|
|
14541
|
+
org_id: external_exports.string(),
|
|
14542
|
+
created_by: external_exports.string(),
|
|
14543
|
+
kanban_statuses: hubRowObjectListSchema.nullable(),
|
|
14544
|
+
timezone: external_exports.string().nullable(),
|
|
14545
|
+
support_model: supportModelSchema,
|
|
14546
|
+
unassigned_policy: unassignedPolicySchema,
|
|
14547
|
+
default_hub_team_id: external_exports.string().nullable(),
|
|
14548
|
+
last_assigned_team_index: external_exports.number(),
|
|
14549
|
+
storage_retention_months: external_exports.number().nullable(),
|
|
14550
|
+
holidays: external_exports.array(external_exports.string()).nullable(),
|
|
14551
|
+
template_id: external_exports.string().nullable(),
|
|
14552
|
+
last_ci_activity_at: external_exports.string().nullable(),
|
|
14553
|
+
ci_commit_sha: external_exports.string().nullable(),
|
|
14554
|
+
config_version: external_exports.number(),
|
|
14555
|
+
created_at: external_exports.string(),
|
|
14556
|
+
updated_at: external_exports.string(),
|
|
14557
|
+
deleted_at: external_exports.string().nullable(),
|
|
14558
|
+
auto_close_inactive_days: external_exports.number(),
|
|
14559
|
+
primary_region: primaryRegionSchema.nullable(),
|
|
14560
|
+
placement_region: primaryRegionSchema.nullable(),
|
|
14561
|
+
placement_source: placementSourceSchema.nullable(),
|
|
14562
|
+
language: hubLanguageSchema,
|
|
14563
|
+
access_request_message: external_exports.string().nullable(),
|
|
14564
|
+
access_approval_role: accessApprovalRoleSchema,
|
|
14565
|
+
lanes: hubRowObjectListSchema.nullable(),
|
|
14566
|
+
conversation_retention_days: external_exports.number(),
|
|
14567
|
+
harness_enabled: external_exports.number(),
|
|
14568
|
+
fallback_connection_id: external_exports.string().nullable(),
|
|
14569
|
+
seed_connection_id: external_exports.string().nullable(),
|
|
14570
|
+
ended_index_retention_days: external_exports.number().nullable(),
|
|
14571
|
+
ai_failure_escalation_minutes: external_exports.number().nullable(),
|
|
14572
|
+
ai_delay_message: external_exports.string().nullable(),
|
|
14573
|
+
ai_handoff_message: external_exports.string().nullable(),
|
|
14574
|
+
eval_retention_days: external_exports.number().nullable(),
|
|
14575
|
+
end_user_daily_message_limit: external_exports.number().nullable()
|
|
14576
|
+
}).merge(hubPresentationColumnsSchema);
|
|
14577
|
+
createHubResponseSchema = external_exports.object({
|
|
14578
|
+
data: external_exports.array(createdHubRowSchema),
|
|
14579
|
+
/** Non-blocking lint warnings (e.g. unreachable kanban statuses). */
|
|
14580
|
+
warnings: external_exports.array(kanbanLintWarningSchema)
|
|
14581
|
+
});
|
|
14582
|
+
diffEntrySchema = external_exports.object({
|
|
14583
|
+
name: external_exports.string(),
|
|
14584
|
+
type: external_exports.string().optional(),
|
|
14585
|
+
status: external_exports.enum(["added", "removed", "updated"])
|
|
14586
|
+
});
|
|
14587
|
+
diffEntriesSchema = external_exports.array(diffEntrySchema);
|
|
14588
|
+
hubDiffResultSchema = external_exports.object({
|
|
14589
|
+
has_changes: external_exports.boolean(),
|
|
14590
|
+
is_first_publish: external_exports.boolean(),
|
|
14591
|
+
hub_changed: external_exports.boolean(),
|
|
14592
|
+
agents: diffEntriesSchema,
|
|
14593
|
+
connections: diffEntriesSchema,
|
|
14594
|
+
tools: diffEntriesSchema,
|
|
14595
|
+
channels: diffEntriesSchema,
|
|
14596
|
+
states: diffEntriesSchema,
|
|
14597
|
+
resources: diffEntriesSchema,
|
|
14598
|
+
/** A connection's message templates, which publish and sync copy too. Absent from a server older than wayai#4931 PR 4a. */
|
|
14599
|
+
message_templates: diffEntriesSchema.optional(),
|
|
14600
|
+
// Every other type publish and sync copy. Each is absent from a server older than wayai#4931 PR 1d.
|
|
14601
|
+
/** An agent's parameters; `type` names their agent. */
|
|
14602
|
+
agent_parameters: diffEntriesSchema.optional(),
|
|
14603
|
+
mcp_tools: diffEntriesSchema.optional(),
|
|
14604
|
+
teams: diffEntriesSchema.optional(),
|
|
14605
|
+
/** `type` names the resource a folder belongs to. */
|
|
14606
|
+
resource_folders: diffEntriesSchema.optional(),
|
|
14607
|
+
/** `type` names the resource a file belongs to. */
|
|
14608
|
+
resource_files: diffEntriesSchema.optional(),
|
|
14609
|
+
/** An agent's link to a resource: `name` is the resource, `type` the agent. */
|
|
14610
|
+
agent_resources: diffEntriesSchema.optional(),
|
|
14611
|
+
evals: diffEntriesSchema.optional(),
|
|
14612
|
+
/** The hub's own contact lists (wayai#4931 PR 2c). */
|
|
14613
|
+
contact_lists: diffEntriesSchema.optional(),
|
|
14614
|
+
automations: diffEntriesSchema.optional(),
|
|
14615
|
+
/** The hub's pages (wayai#5333), named by slug: a page is the same page in both hubs. Absent from a server older than its pages section. */
|
|
14616
|
+
pages: diffEntriesSchema.optional()
|
|
14617
|
+
});
|
|
14503
14618
|
HUB_DIFF_SECTION_SET = {
|
|
14504
14619
|
agents: true,
|
|
14505
14620
|
agent_parameters: true,
|
|
@@ -14520,6 +14635,37 @@ var init_chunk_ARK3766Q = __esm({
|
|
|
14520
14635
|
evals: true
|
|
14521
14636
|
};
|
|
14522
14637
|
HUB_DIFF_SECTIONS = Object.keys(HUB_DIFF_SECTION_SET);
|
|
14638
|
+
getHubDiffResponseSchema = external_exports.object({ data: hubDiffResultSchema });
|
|
14639
|
+
publishHubResponseSchema = external_exports.object({
|
|
14640
|
+
data: external_exports.object({ production_hub_id: external_exports.string().min(1) })
|
|
14641
|
+
});
|
|
14642
|
+
syncWarningSchema = external_exports.discriminatedUnion("kind", [
|
|
14643
|
+
external_exports.object({
|
|
14644
|
+
kind: external_exports.literal("toolset_tools_differ"),
|
|
14645
|
+
connection_name: external_exports.string(),
|
|
14646
|
+
toolset: external_exports.string(),
|
|
14647
|
+
/** Tools the preview's toolset publishes and production's does not, sorted. */
|
|
14648
|
+
missing_in_production: external_exports.array(external_exports.string()),
|
|
14649
|
+
/** Tools only production's toolset publishes, sorted. */
|
|
14650
|
+
only_in_production: external_exports.array(external_exports.string())
|
|
14651
|
+
}),
|
|
14652
|
+
external_exports.object({
|
|
14653
|
+
/** The tools could not be compared (the data service unreachable, or refusing a token). */
|
|
14654
|
+
kind: external_exports.literal("toolset_tools_unverified"),
|
|
14655
|
+
connection_name: external_exports.string(),
|
|
14656
|
+
toolset: external_exports.string()
|
|
14657
|
+
})
|
|
14658
|
+
]);
|
|
14659
|
+
syncHubResponseSchema = external_exports.object({
|
|
14660
|
+
data: external_exports.object({
|
|
14661
|
+
synced: external_exports.boolean(),
|
|
14662
|
+
/** Absent when there is nothing to say. */
|
|
14663
|
+
warnings: external_exports.array(syncWarningSchema).optional()
|
|
14664
|
+
})
|
|
14665
|
+
});
|
|
14666
|
+
replicatePreviewHubResponseSchema = external_exports.object({
|
|
14667
|
+
data: external_exports.object({ preview_hub_id: external_exports.string().min(1) })
|
|
14668
|
+
});
|
|
14523
14669
|
updateChannelTestIdentitiesBody = external_exports.object({
|
|
14524
14670
|
test_identities: external_exports.array(external_exports.string().max(320)).max(1e3)
|
|
14525
14671
|
});
|
|
@@ -14535,7 +14681,7 @@ var init_chunk_ARK3766Q = __esm({
|
|
|
14535
14681
|
}
|
|
14536
14682
|
});
|
|
14537
14683
|
|
|
14538
|
-
// ../../packages/core/dist/chunk-
|
|
14684
|
+
// ../../packages/core/dist/chunk-A3KD6FK4.js
|
|
14539
14685
|
function declaresNoConnection(agent) {
|
|
14540
14686
|
return agent.connection === null && !agent.connection_id;
|
|
14541
14687
|
}
|
|
@@ -15267,8 +15413,8 @@ function skillSectionsAsResources(scope) {
|
|
|
15267
15413
|
};
|
|
15268
15414
|
}
|
|
15269
15415
|
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, ciDiffDirectionSchema, ciSyncBody, ciPushBody, ciDiffBody, ciPublishBody, ciPublishPreviewBody, ciSyncMcpBody, ciOrgResourcesParam, orgResourcesConfigSchema, ciOrgResourcesPushBody, ciOrgResourcesDiffBody, ciDiffResponseSchema, ciHubIdentitySchema, ciLookupResponseSchema, ciOrganizationsResponseSchema, ciCreateOrganizationResponseSchema, ciHubListItemSchema, ciHubListResponseSchema, CI_APPLY_ENTITY_KINDS, CI_APPLY_OPERATIONS, ciApplyErrorBaseSchema, ciApplyErrorSchema, ciSyncCountSchema, ciSyncChangesSchema, ciSyncWarningSchema, ciSyncResponseSchema, ciOrgResourcesPushResponseSchema;
|
|
15270
|
-
var
|
|
15271
|
-
"../../packages/core/dist/chunk-
|
|
15416
|
+
var init_chunk_A3KD6FK4 = __esm({
|
|
15417
|
+
"../../packages/core/dist/chunk-A3KD6FK4.js"() {
|
|
15272
15418
|
"use strict";
|
|
15273
15419
|
init_chunk_QG3XMUEN();
|
|
15274
15420
|
init_chunk_EBUWHIFV();
|
|
@@ -15276,9 +15422,9 @@ var init_chunk_S24FZRPG = __esm({
|
|
|
15276
15422
|
init_chunk_QMQGGR7Q();
|
|
15277
15423
|
init_chunk_LBDH7LCG();
|
|
15278
15424
|
init_chunk_4LXDRTO4();
|
|
15279
|
-
|
|
15280
|
-
|
|
15281
|
-
|
|
15425
|
+
init_chunk_4NZTCAY5();
|
|
15426
|
+
init_chunk_JP42Y3U2();
|
|
15427
|
+
init_chunk_QT7R3TGR();
|
|
15282
15428
|
init_chunk_S4VDZ7PZ();
|
|
15283
15429
|
init_chunk_ZDTX3DG5();
|
|
15284
15430
|
init_chunk_C2UEA2KW();
|
|
@@ -17961,7 +18107,7 @@ var init_chunk_OMPT4ZHR = __esm({
|
|
|
17961
18107
|
}
|
|
17962
18108
|
});
|
|
17963
18109
|
|
|
17964
|
-
// ../../packages/core/dist/chunk-
|
|
18110
|
+
// ../../packages/core/dist/chunk-HLSE7OOG.js
|
|
17965
18111
|
function refineScopedTarget(data, ctx) {
|
|
17966
18112
|
if (data.scope === "org") {
|
|
17967
18113
|
if (!data.org_id) {
|
|
@@ -17987,13 +18133,13 @@ function refineScopedTarget(data, ctx) {
|
|
|
17987
18133
|
}
|
|
17988
18134
|
}
|
|
17989
18135
|
var adminOrgIdParam, adminOrgAdminIdParam, adminUserIdParam, PRICING_PLAN_ID_RE, adminPlanIdParam, adminOrganizationsQuery, adminUserSearchQuery, kanbanSlugMigrationQuery, adjustQuotaBody, updatePlanBody, addAdminUserBody, MAX_VOICE_CALL_MINUTE_OPS, voiceCallMinuteOps, AUTOMATION_GATE_EVALUATIONS_PER_OPERATION_BOUND, automationGateEvaluationsPerOperation, AUTOMATION_RUN_RETENTION_DAYS_MAX, automationRunRetentionDays, turnDeadlineSeconds, casesLimit, updatePlatformConfigBody, updateFreeOrgLimitBody, adminScopedTargetShape, adminScopedTargetBody, adminDryRunByDefaultTargetBody, WAYAI_HOST_TOKEN_TARGET_KINDS, WAYAI_HOST_TOKEN_MAX_TARGETS, adminClearWayaiHostTokensBody, BRANCHING_ORPHAN_ENTITY_TYPES, BRANCHING_ORPHAN_MAX_TARGETS, adminRepairBranchingOrphansBody, adminRepairLegacyOrgGrantsBody, adminRepairCredentialServicesBody, adminRepairCompedPlansBody, updatePricingPlanBody, dataExplorerSearchQuery, dataExplorerOrgIdParam, dataExplorerHubIdParam, dataExplorerConvIdParam, dataExplorerDoInstancesQuery, dataExplorerNsIdParam, dataExplorerKvKeysBody, dataExplorerKvKeyBody, uuidOrHexId, dataExplorerDeleteOrgParam, dataExplorerDeleteHubParam, dataExplorerDeleteConvParam, dataExplorerDeleteUserParam, dataExplorerDeleteQuery, dataExplorerKvDeleteBody, pitrDoNamespace, pitrBookmarkParam, pitrRestoreBody, healthSamplingTriggerBody, DEBUG_DO_HEX_PREFIX, debugDoEntityId, debugTableName, dataExplorerDebugTablesParam, dataExplorerDebugRowsParam, dataExplorerDebugRowsQuery, dataExplorerDebugAnalyticsTable, debugUuid, dataExplorerDebugAnalyticsRowsParam, dataExplorerDebugAnalyticsRowsQuery, dataExplorerDebugCountsDoType, dataExplorerDebugCountsParam, debugHubConvParam, debugMessageIdQuery;
|
|
17990
|
-
var
|
|
17991
|
-
"../../packages/core/dist/chunk-
|
|
18136
|
+
var init_chunk_HLSE7OOG = __esm({
|
|
18137
|
+
"../../packages/core/dist/chunk-HLSE7OOG.js"() {
|
|
17992
18138
|
"use strict";
|
|
17993
18139
|
init_chunk_FECLIZTY();
|
|
17994
18140
|
init_chunk_BFG4ZWR4();
|
|
17995
18141
|
init_chunk_UY32MQHG();
|
|
17996
|
-
|
|
18142
|
+
init_chunk_4NZTCAY5();
|
|
17997
18143
|
init_chunk_OMPT4ZHR();
|
|
17998
18144
|
init_chunk_MIWZOSPI();
|
|
17999
18145
|
init_chunk_HZ6CADSY();
|
|
@@ -18604,7 +18750,7 @@ var init_contracts = __esm({
|
|
|
18604
18750
|
init_chunk_ME6NL7FI();
|
|
18605
18751
|
init_chunk_7CYHPF35();
|
|
18606
18752
|
init_chunk_NETRUHZF();
|
|
18607
|
-
|
|
18753
|
+
init_chunk_A3KD6FK4();
|
|
18608
18754
|
init_chunk_QG3XMUEN();
|
|
18609
18755
|
init_chunk_EBUWHIFV();
|
|
18610
18756
|
init_chunk_5YZ3R7KF();
|
|
@@ -18644,14 +18790,14 @@ var init_contracts = __esm({
|
|
|
18644
18790
|
init_chunk_LBDH7LCG();
|
|
18645
18791
|
init_chunk_4LXDRTO4();
|
|
18646
18792
|
init_chunk_NVKU5PPQ();
|
|
18647
|
-
|
|
18793
|
+
init_chunk_HLSE7OOG();
|
|
18648
18794
|
init_chunk_FECLIZTY();
|
|
18649
18795
|
init_chunk_BFG4ZWR4();
|
|
18650
18796
|
init_chunk_UY32MQHG();
|
|
18651
|
-
|
|
18797
|
+
init_chunk_4NZTCAY5();
|
|
18652
18798
|
init_chunk_D3EP4TDU();
|
|
18653
|
-
|
|
18654
|
-
|
|
18799
|
+
init_chunk_JP42Y3U2();
|
|
18800
|
+
init_chunk_QT7R3TGR();
|
|
18655
18801
|
init_chunk_OMPT4ZHR();
|
|
18656
18802
|
init_chunk_2PZIF56U();
|
|
18657
18803
|
init_chunk_6J742GLA();
|
|
@@ -25459,7 +25605,7 @@ var init_hub_materializer = __esm({
|
|
|
25459
25605
|
var init_ci = __esm({
|
|
25460
25606
|
"../../packages/core/dist/contracts/ci.js"() {
|
|
25461
25607
|
"use strict";
|
|
25462
|
-
|
|
25608
|
+
init_chunk_A3KD6FK4();
|
|
25463
25609
|
init_chunk_QG3XMUEN();
|
|
25464
25610
|
init_chunk_EBUWHIFV();
|
|
25465
25611
|
init_chunk_5YZ3R7KF();
|
|
@@ -25468,10 +25614,10 @@ var init_ci = __esm({
|
|
|
25468
25614
|
init_chunk_QMQGGR7Q();
|
|
25469
25615
|
init_chunk_LBDH7LCG();
|
|
25470
25616
|
init_chunk_4LXDRTO4();
|
|
25471
|
-
|
|
25617
|
+
init_chunk_4NZTCAY5();
|
|
25472
25618
|
init_chunk_D3EP4TDU();
|
|
25473
|
-
|
|
25474
|
-
|
|
25619
|
+
init_chunk_JP42Y3U2();
|
|
25620
|
+
init_chunk_QT7R3TGR();
|
|
25475
25621
|
init_chunk_AMMLEB4T();
|
|
25476
25622
|
init_chunk_IBL7FANV();
|
|
25477
25623
|
init_chunk_S4VDZ7PZ();
|