@wayai/cli 0.3.258 → 0.3.259
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 +79 -76
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5700,10 +5700,10 @@ var init_chunk_ACKF2MVU = __esm({
|
|
|
5700
5700
|
}
|
|
5701
5701
|
});
|
|
5702
5702
|
|
|
5703
|
-
// ../../packages/core/dist/chunk-
|
|
5703
|
+
// ../../packages/core/dist/chunk-GPYAZPH7.js
|
|
5704
5704
|
var accessExplainQuery;
|
|
5705
|
-
var
|
|
5706
|
-
"../../packages/core/dist/chunk-
|
|
5705
|
+
var init_chunk_GPYAZPH7 = __esm({
|
|
5706
|
+
"../../packages/core/dist/chunk-GPYAZPH7.js"() {
|
|
5707
5707
|
"use strict";
|
|
5708
5708
|
init_chunk_HZ6CADSY();
|
|
5709
5709
|
init_zod();
|
|
@@ -6636,7 +6636,7 @@ var init_chunk_Y7CFCYX4 = __esm({
|
|
|
6636
6636
|
}
|
|
6637
6637
|
});
|
|
6638
6638
|
|
|
6639
|
-
// ../../packages/core/dist/chunk-
|
|
6639
|
+
// ../../packages/core/dist/chunk-LOCEO2KI.js
|
|
6640
6640
|
function normalizeContactPhone(raw) {
|
|
6641
6641
|
const compact = raw.trim().replace(/[\s\-.()]/g, "");
|
|
6642
6642
|
const withPlus = compact.startsWith("00") ? `+${compact.slice(2)}` : compact;
|
|
@@ -6649,8 +6649,8 @@ function importRowLabels(row, batchLabels) {
|
|
|
6649
6649
|
return [.../* @__PURE__ */ new Set([...row.labels ?? [], ...batchLabels ?? []])];
|
|
6650
6650
|
}
|
|
6651
6651
|
var CONTACT_ENVIRONMENTS, CONTACT_NAME_MAX, CONTACT_EMAIL_MAX, CONTACT_PHONE_INPUT_MAX, CONTACT_INSTAGRAM_SID_MAX, CONTACT_METADATA_MAX_BYTES, CONTACT_LABEL_MAX, CONTACT_LABELS_MAX, CONTACT_SCOPE_TAGS_MAX, CONTACT_PAGE_MAX, CONTACT_IMPORT_BATCH_MAX, CONTACT_SEARCH_MAX, CONTACT_LIST_NAME_MAX, CONTACT_LIST_NAME_REGEX, CONTACT_LIST_DESCRIPTION_MAX, CONTACT_LIST_FILTER_MAX, CONTACT_LIST_PINS_PER_REQUEST_MAX, SUPPRESSION_SCOPES, SUPPRESSION_ID_REGEX, contactName, contactPhone, contactEmail, contactInstagramSid, contactLabel, contactLabels, contactMetadata, scopeTagIds, contactVisibilitySchema, hasIdentity, IDENTITY_REQUIRED, contactBookOrgQuery, contactBookContactParam, contactBookListParam, contactBookHubParam, contactBookPageQuery, listContactBookContactsQuery, listHubContactBookContactsQuery, contactBookLinkCandidatesQuery, listContactBookListMembersQuery, contactRowFields, createContactBookContactBody, updateContactBookContactBody, contactImportRowSchema, importContactBookContactsBody, linkContactBookContactBody, CONTACT_CUSTOMER_BASE_ID_PATTERN, baseId, recordId, linkContactCustomerBody, unlinkContactCustomerQuery, listName, contactListFilterSchema, createContactBookListBody, updateContactBookListBody, updateContactBookListPinsBody, suppressionIdentitySchema, createContactBookSuppressionBody, contactBookSuppressionParam, listContactBookSuppressionsQuery, contactBookEmailUnsubscribeTokenSchema, contactBookEmailUnsubscribeQuery, orgListReferenceSchema;
|
|
6652
|
-
var
|
|
6653
|
-
"../../packages/core/dist/chunk-
|
|
6652
|
+
var init_chunk_LOCEO2KI = __esm({
|
|
6653
|
+
"../../packages/core/dist/chunk-LOCEO2KI.js"() {
|
|
6654
6654
|
"use strict";
|
|
6655
6655
|
init_zod();
|
|
6656
6656
|
CONTACT_ENVIRONMENTS = ["production", "preview", "all"];
|
|
@@ -6821,12 +6821,12 @@ var init_chunk_LIDKVVXZ = __esm({
|
|
|
6821
6821
|
}
|
|
6822
6822
|
});
|
|
6823
6823
|
|
|
6824
|
-
// ../../packages/core/dist/chunk-
|
|
6824
|
+
// ../../packages/core/dist/chunk-OZC45RYU.js
|
|
6825
6825
|
var PERSON_ID_PATTERN, CONTACT_PERSON_ID_PATTERN, PERSON_DENY_PAGE_MAX, PERSON_ID_FORM_MESSAGE, userPersonIdSchema, personIdSchema, personParam, personLinkParam, deniedPersonParam, listDeniedPersonsQuery;
|
|
6826
|
-
var
|
|
6827
|
-
"../../packages/core/dist/chunk-
|
|
6826
|
+
var init_chunk_OZC45RYU = __esm({
|
|
6827
|
+
"../../packages/core/dist/chunk-OZC45RYU.js"() {
|
|
6828
6828
|
"use strict";
|
|
6829
|
-
|
|
6829
|
+
init_chunk_LOCEO2KI();
|
|
6830
6830
|
init_zod();
|
|
6831
6831
|
PERSON_ID_PATTERN = /^prs_[a-z2-7]{52}$/;
|
|
6832
6832
|
CONTACT_PERSON_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
|
|
@@ -6998,10 +6998,10 @@ var init_chunk_FPSDNS2E = __esm({
|
|
|
6998
6998
|
}
|
|
6999
6999
|
});
|
|
7000
7000
|
|
|
7001
|
-
// ../../packages/core/dist/chunk-
|
|
7001
|
+
// ../../packages/core/dist/chunk-M4FCOW6Q.js
|
|
7002
7002
|
var REKOR_ACTOR_TYPE_HEADER, REKOR_ACTOR_ID_HEADER, REKOR_ACTOR_LABEL_HEADER, REKOR_ACTOR_ORG_HEADER, REKOR_ACTOR_ADMIN_HEADER, REKOR_CLIENT_HEADER, REKOR_TOOL_ID_HEADER, REKOR_CLIENTS, rekorClientSchema, MAX_REKOR_TOOL_ID_LENGTH, rekorToolIdSchema, REKOR_V1_PREFIX, DATA_PROXY_ORG_QUERY_PARAM, MAX_PROVISIONING_BODY_BYTES, dataProxyQuery, rekorAttestation, REQUIRED_REKOR_ATTESTATION_HEADERS, REKOR_BOUND_BASE_HEADER, REKOR_BOUND_TOOLSET_HEADER, REKOR_BOUND_TOKEN_HEADER, REKOR_BOUND_CUSTOMER_HEADER, REKOR_BOUND_ACCESS_HEADER, REKOR_BOUND_ACCESS_SCOPE_HEADER, REKOR_BOUND_PAGE_HEADER, REKOR_BOUND_PERSON_HEADER, REKOR_PERSON_AUDIENCE_STAFF, REKOR_PERSON_AUDIENCE_CUSTOMER, REKOR_PERSON_ALL, REKOR_ACCESS_SCOPE_CUSTOMER, DATA_BASE_GENERATION_HEADER, REKOR_MAX_ACTOR_ID_LENGTH, REKOR_MAX_ACTOR_LABEL_LENGTH, REKOR_MAX_ACCESS_DIMENSIONS, REKOR_MAX_ACCESS_VALUES, REKOR_MAX_ACCESS_ID_LENGTH, REKOR_MAX_ACCESS_HEADER_LENGTH, REKOR_MAX_PERSON_PARTIES, REKOR_MAX_PERSON_IDS, REKOR_MAX_PERSON_ID_LENGTH, REKOR_MAX_PERSON_HEADER_LENGTH;
|
|
7003
|
-
var
|
|
7004
|
-
"../../packages/core/dist/chunk-
|
|
7003
|
+
var init_chunk_M4FCOW6Q = __esm({
|
|
7004
|
+
"../../packages/core/dist/chunk-M4FCOW6Q.js"() {
|
|
7005
7005
|
"use strict";
|
|
7006
7006
|
init_zod();
|
|
7007
7007
|
REKOR_ACTOR_TYPE_HEADER = "X-Rekor-Actor-Type";
|
|
@@ -7057,7 +7057,7 @@ var init_chunk_LVTURR5A = __esm({
|
|
|
7057
7057
|
}
|
|
7058
7058
|
});
|
|
7059
7059
|
|
|
7060
|
-
// ../../packages/core/dist/chunk-
|
|
7060
|
+
// ../../packages/core/dist/chunk-P3S2WL7F.js
|
|
7061
7061
|
function isPersonAccessAll(lists) {
|
|
7062
7062
|
return lists !== void 0 && lists.read.length === 1 && lists.read[0] === ACCESS_UNRESTRICTED && lists.write.length === 1 && lists.write[0] === ACCESS_UNRESTRICTED;
|
|
7063
7063
|
}
|
|
@@ -7095,10 +7095,10 @@ function assignmentHasUnrestricted(assignment) {
|
|
|
7095
7095
|
return Object.values(assignment).some((lists) => lists.read.includes(ACCESS_UNRESTRICTED) || lists.write.includes(ACCESS_UNRESTRICTED));
|
|
7096
7096
|
}
|
|
7097
7097
|
var ACCESS_UNRESTRICTED, ACCESS_ID_REGEX, ACCESS_ID_MAX_LENGTH, MAX_ACCESS_DIMENSIONS_PER_ORG, MAX_ACCESS_VALUES_PER_DIMENSION, ACCESS_LABEL_MAX_LENGTH, accessIdSchema, accessLabelSchema, accessValueListSchema, accessListsSchema, accessAssignmentSchema, PERSON_ACCESS_KEY, heldAccessKeySchema, heldAccessAssignmentSchema, AGENT_PERSON_ACCESS_REFUSAL, accessSetSchema, accessDimensionParam, accessValueParam, orgMemberParam, orgHubParam, createAccessDimensionBody, updateAccessDimensionBody, createAccessValueBody, updateAccessValueBody, setMemberAccessValuesBody, HUB_PERSON_KINDS, ACCESS_PERSON_KINDS, setHubUserAccessValuesBody, setHubAccessValuesBody, setAgentAccessValuesBody;
|
|
7098
|
-
var
|
|
7099
|
-
"../../packages/core/dist/chunk-
|
|
7098
|
+
var init_chunk_P3S2WL7F = __esm({
|
|
7099
|
+
"../../packages/core/dist/chunk-P3S2WL7F.js"() {
|
|
7100
7100
|
"use strict";
|
|
7101
|
-
|
|
7101
|
+
init_chunk_M4FCOW6Q();
|
|
7102
7102
|
init_chunk_HZ6CADSY();
|
|
7103
7103
|
init_chunk_YROEDMVZ();
|
|
7104
7104
|
init_zod();
|
|
@@ -7189,7 +7189,7 @@ var init_chunk_R3YTRHDM = __esm({
|
|
|
7189
7189
|
}
|
|
7190
7190
|
});
|
|
7191
7191
|
|
|
7192
|
-
// ../../packages/core/dist/chunk-
|
|
7192
|
+
// ../../packages/core/dist/chunk-36EGVRCM.js
|
|
7193
7193
|
function isEncodedBoundPerson(raw) {
|
|
7194
7194
|
let parsed;
|
|
7195
7195
|
try {
|
|
@@ -7200,11 +7200,11 @@ function isEncodedBoundPerson(raw) {
|
|
|
7200
7200
|
return rekorBoundPersonSchema.safeParse(parsed).success;
|
|
7201
7201
|
}
|
|
7202
7202
|
var TOOLSET_SLUG_PATTERN, REKOR_STRUCTURAL_ID_PATTERN, baseEnvironmentSchema, toolsetFileToolSchema, toolsetSurfaceSchema, toolsetConnectionBindingSchema, rekorToolsetToolsSchema, rekorPersonIdSchema, rekorPersonAudienceSchema, rekorBoundPersonSchema, rekorBoundAttestation, rekorResolvedToolsetSchema, REKOR_TOOL_KINDS_PARAM, REKOR_TOOL_KINDS_RESOLVE_SEARCH, resolvedRecordTypeSchema, reviewWritersSchema, sharedScopeSchema, resolvedFileToolSchema, rekorToolsetFileSchema, rekorToolsetFileUrlAnswerSchema, rekorToolsetFileListSchema, rekorToolsetFileGetSchema, rekorToolsetFilePutSchema, TOOLSET_CUSTOMER_FACING_REFUSAL_MARK, TOOLSET_CUSTOMER_FACING_REFUSAL;
|
|
7203
|
-
var
|
|
7204
|
-
"../../packages/core/dist/chunk-
|
|
7203
|
+
var init_chunk_36EGVRCM = __esm({
|
|
7204
|
+
"../../packages/core/dist/chunk-36EGVRCM.js"() {
|
|
7205
7205
|
"use strict";
|
|
7206
|
-
|
|
7207
|
-
|
|
7206
|
+
init_chunk_P3S2WL7F();
|
|
7207
|
+
init_chunk_M4FCOW6Q();
|
|
7208
7208
|
init_zod();
|
|
7209
7209
|
TOOLSET_SLUG_PATTERN = /^[A-Za-z0-9_-]{1,128}$/;
|
|
7210
7210
|
REKOR_STRUCTURAL_ID_PATTERN = TOOLSET_SLUG_PATTERN;
|
|
@@ -7230,15 +7230,17 @@ var init_chunk_ZJQGHQEQ = __esm({
|
|
|
7230
7230
|
batch: external_exports.boolean(),
|
|
7231
7231
|
/**
|
|
7232
7232
|
* The toolset serves one customer per call (#5083 RK2): its every call names the customer it serves,
|
|
7233
|
-
* and reaches only that customer's records and shared ones.
|
|
7234
|
-
*
|
|
7235
|
-
*
|
|
7233
|
+
* and reaches only that customer's records and shared ones. Only a customer page and an eval run name
|
|
7234
|
+
* one; an agent's other calls name none (#5473 2b1), so they are refused it. Absent on a surface recorded
|
|
7235
|
+
* before it was, which reads as not scoped until the connection's next tool sync or token save records
|
|
7236
|
+
* it: its calls name no customer, and the customer-facing rule admits none of its record tools to a
|
|
7237
|
+
* customer page.
|
|
7236
7238
|
*/
|
|
7237
7239
|
customer_scoped: external_exports.boolean().optional(),
|
|
7238
7240
|
/**
|
|
7239
7241
|
* A key of the resolve this side neither describes nor classifies exposes something: a kind of tool
|
|
7240
|
-
* the data product added later, counted in `records`. The customer-facing rule never admits it,
|
|
7241
|
-
*
|
|
7242
|
+
* the data product added later, counted in `records`. The customer-facing rule never admits it, to
|
|
7243
|
+
* any holder, until it is classified here. Absent on a surface recorded before it was,
|
|
7242
7244
|
* which reads as present.
|
|
7243
7245
|
*/
|
|
7244
7246
|
unclassified_tools: external_exports.boolean().optional(),
|
|
@@ -7455,7 +7457,7 @@ var init_chunk_ZJQGHQEQ = __esm({
|
|
|
7455
7457
|
});
|
|
7456
7458
|
rekorToolsetFilePutSchema = external_exports.object({ data: rekorToolsetFileSchema });
|
|
7457
7459
|
TOOLSET_CUSTOMER_FACING_REFUSAL_MARK = "A customer-facing agent (a pilot, pilot specialist or pilot advisor) can use a toolset only when it exposes files alone: no record, composite or relationship tools, and neither sql_query nor batch";
|
|
7458
|
-
TOOLSET_CUSTOMER_FACING_REFUSAL = `${TOOLSET_CUSTOMER_FACING_REFUSAL_MARK}, nor a file put, delete or put_url, nor a write of a reviewed record type
|
|
7460
|
+
TOOLSET_CUSTOMER_FACING_REFUSAL = `${TOOLSET_CUSTOMER_FACING_REFUSAL_MARK}, nor a file put, delete or put_url, nor a write of a reviewed record type, nor a kind of tool WayAI does not classify. Its record, composite, relationship and SQL Action tools are admitted to a customer-facing agent, since the data product holds each of its calls to the record types that declare person rules or shared access; to a customer page only when the toolset is customer-scoped, or they only read approved records of reviewed shared record types`;
|
|
7459
7461
|
}
|
|
7460
7462
|
});
|
|
7461
7463
|
|
|
@@ -7843,12 +7845,12 @@ var init_chunk_VFDRJV2E = __esm({
|
|
|
7843
7845
|
}
|
|
7844
7846
|
});
|
|
7845
7847
|
|
|
7846
|
-
// ../../packages/core/dist/chunk-
|
|
7848
|
+
// ../../packages/core/dist/chunk-AAGIHNDX.js
|
|
7847
7849
|
var hubPageWatchParam, pageWatchedBaseSchema, hubPageWatchResponseSchema;
|
|
7848
|
-
var
|
|
7849
|
-
"../../packages/core/dist/chunk-
|
|
7850
|
+
var init_chunk_AAGIHNDX = __esm({
|
|
7851
|
+
"../../packages/core/dist/chunk-AAGIHNDX.js"() {
|
|
7850
7852
|
"use strict";
|
|
7851
|
-
|
|
7853
|
+
init_chunk_36EGVRCM();
|
|
7852
7854
|
init_chunk_VFDRJV2E();
|
|
7853
7855
|
init_chunk_HZ6CADSY();
|
|
7854
7856
|
init_zod();
|
|
@@ -12025,12 +12027,12 @@ var init_chunk_6J742GLA = __esm({
|
|
|
12025
12027
|
}
|
|
12026
12028
|
});
|
|
12027
12029
|
|
|
12028
|
-
// ../../packages/core/dist/chunk-
|
|
12030
|
+
// ../../packages/core/dist/chunk-NZU2FWVV.js
|
|
12029
12031
|
var COMMUNITIES_PER_ORG_MAX, COMMUNITY_NAME_MAX_LENGTH, COMMUNITY_REGISTRY_CLOSED_REASON, COMMUNITY_MEMBERS_MAX, COMMUNITY_ADMISSIONS, COMMUNITY_ACCESS_MAX, COMMUNITY_ACCESS_ADD_MAX, COMMUNITY_ACCESS_FULL_REASON, COMMUNITY_JOIN_SOURCE_MAX_LENGTH, COMMUNITY_JOIN_FLOW_TOKEN_MAX_LENGTH, COMMUNITY_ROOMS_MAX, COMMUNITY_ROOM_NAME_MAX_LENGTH, COMMUNITY_MESSAGE_MAX_LENGTH, COMMUNITY_MESSAGES_PAGE_SIZE, COMMUNITY_ATTACHMENT_URLS_MAX, COMMUNITY_POST_TITLE_MAX_LENGTH, COMMUNITY_POST_SEARCH_MAX_LENGTH, COMMUNITY_MEMBER_STATUSES, COMMUNITY_RULES_MAX_LENGTH, COMMUNITY_SLOW_MODE_MAX_SECONDS, COMMUNITY_COURSES_LABEL_MAX_LENGTH, COMMUNITY_LIVE_TICKET_PREFIX, COMMUNITY_STATS_DAYS, communityNameSchema, adminCreateCommunityBody, communityIdParam, communityJoinTokenSchema, communityJoinSourceSchema, communityJoinPreviewQuery, communityJoinBody, communityRoomKindSchema, communityRoomNameSchema, communityRoomIdParam, communityMessageIdParam, communityRoomCreateBody, communityRoomUpdateBody, communityMessagesQuery, communityMessageBodySchema, communityPostTitleSchema, communityAttachmentUploadSchema, communitySendBody, communityEditBody, communityPostIdParam, communityPostsQuery, communityAnswerBody, communityReadBody, communityAttachmentUrlsBody, communityPersonParam, communityOrgParam, communityPeopleQuery, communityCoursesLabelSchema, communityAdmissionSchema, communitySettingsBody, communityAccessEmailSchema, communityAccessAddBody, communityAccessQuery, communityAccessIdParam, communityBanBody, communityLockBody, communityPinBody, communityModLogQuery, communityReportsQuery, communityReportIdParam, communityLiveTicketSchema, communityLiveQuery, communityMuteBody, communityEmailUnsubscribeTokenSchema, communityEmailUnsubscribeQuery;
|
|
12030
|
-
var
|
|
12031
|
-
"../../packages/core/dist/chunk-
|
|
12032
|
+
var init_chunk_NZU2FWVV = __esm({
|
|
12033
|
+
"../../packages/core/dist/chunk-NZU2FWVV.js"() {
|
|
12032
12034
|
"use strict";
|
|
12033
|
-
|
|
12035
|
+
init_chunk_LOCEO2KI();
|
|
12034
12036
|
init_chunk_6J742GLA();
|
|
12035
12037
|
init_chunk_ZVXO3XL6();
|
|
12036
12038
|
init_chunk_HZ6CADSY();
|
|
@@ -12134,7 +12136,7 @@ var init_chunk_PIOPQ5UH = __esm({
|
|
|
12134
12136
|
}
|
|
12135
12137
|
});
|
|
12136
12138
|
|
|
12137
|
-
// ../../packages/core/dist/chunk-
|
|
12139
|
+
// ../../packages/core/dist/chunk-HUE3HZK5.js
|
|
12138
12140
|
function parseCommunityLessonVideoUrl(url) {
|
|
12139
12141
|
const parts = /^https?:\/\/([^/?#]+)([^?#]*)(?:\?([^#]*))?(?:#.*)?$/i.exec(url.trim());
|
|
12140
12142
|
if (!parts) return null;
|
|
@@ -12160,10 +12162,10 @@ function communityLessonVideoWatchUrl(video) {
|
|
|
12160
12162
|
}
|
|
12161
12163
|
}
|
|
12162
12164
|
var COMMUNITY_COURSES_MAX, COMMUNITY_COURSE_MODULES_MAX, COMMUNITY_COURSE_LESSONS_MAX, COMMUNITY_LESSONS_MAX, COMMUNITY_COURSE_TITLE_MAX_LENGTH, COMMUNITY_COURSE_DESCRIPTION_MAX_LENGTH, COMMUNITY_LESSON_BODY_MAX_LENGTH, COMMUNITY_LESSON_LINKS_MAX, COMMUNITY_LESSON_URL_MAX_LENGTH, YOUTUBE_ID, YOUTUBE_HOSTS, YOUTU_BE, YOUTUBE_ID_PATH, communityCourseIdParam, communityCourseModuleIdParam, communityLessonIdParam, communityCourseTitleSchema, communityCourseDescriptionSchema, communityCoursePositionSchema, communityLessonVideoUrlSchema, communityLessonLinkSchema, communityLessonLinksSchema, communityLessonBodySchema, communityCourseCreateBody, communityCourseUpdateBody, communityModuleCreateBody, communityModuleUpdateBody, communityLessonCreateBody, communityLessonUpdateBody;
|
|
12163
|
-
var
|
|
12164
|
-
"../../packages/core/dist/chunk-
|
|
12165
|
+
var init_chunk_HUE3HZK5 = __esm({
|
|
12166
|
+
"../../packages/core/dist/chunk-HUE3HZK5.js"() {
|
|
12165
12167
|
"use strict";
|
|
12166
|
-
|
|
12168
|
+
init_chunk_NZU2FWVV();
|
|
12167
12169
|
init_chunk_HZ6CADSY();
|
|
12168
12170
|
init_zod();
|
|
12169
12171
|
COMMUNITY_COURSES_MAX = 20;
|
|
@@ -12748,7 +12750,7 @@ var init_chunk_2ISUBJG7 = __esm({
|
|
|
12748
12750
|
}
|
|
12749
12751
|
});
|
|
12750
12752
|
|
|
12751
|
-
// ../../packages/core/dist/chunk-
|
|
12753
|
+
// ../../packages/core/dist/chunk-HSQZYXKA.js
|
|
12752
12754
|
function describeRole(role) {
|
|
12753
12755
|
if (typeof role === "string") {
|
|
12754
12756
|
return JSON.stringify(role.length > ROLE_ECHO_MAX ? `${role.slice(0, ROLE_ECHO_MAX)}\u2026` : role);
|
|
@@ -12922,8 +12924,8 @@ function terminalRunCount(counts) {
|
|
|
12922
12924
|
return counts.successful_runs + counts.failed_runs;
|
|
12923
12925
|
}
|
|
12924
12926
|
var evalIdParam, sessionIdParam, scenarioSetIdParam, hubIdQuery, EVAL_FIXTURE_NAME_MAX_LENGTH, evalFixtureOverrideSchema, runSessionQuery, runJourneyQuery, EVAL_INPUT_ROLES, EVAL_INPUT_ROLE_LIST, ROLE_ECHO_MAX, EVAL_INITIAL_STATE_SCOPES, MAX_INITIAL_STATE_ENTRIES, evalInitialStateEntry, evalCustomerContactIdSchema, evalBody, EVAL_LIST_MAX_LIMIT, evalListLimit, getEvalsQuery, toggleEvalBody, bulkToggleEvalsBody, pacingConfigSchema, EVAL_MAX_SELECTED_SCENARIOS, evalScenarioSelectionEntrySchema, evalScenarioSelectionSchema, sessionConfigSchema, createSessionBody, getSessionsQuery, getSessionResultsQuery, getSessionRunsQuery, evalAnalyticsQuery, getSessionCostQuery, compareSessionsQuery, evalsSqlBody, evalsSqlSchemaQuery, exportResultsQuery, validateEvalBody, hubAgentsQuery, createScenarioSetBody, updateScenarioSetBody, scenarioSetsHubQuery, createScenarioFromConversationBody, createJourneyFromConversationBody, evalAttachmentRef, turnMayCarryAttachments, ATTACHMENTS_USER_ONLY_MESSAGE, journeyIdParam, journeyToolCallSchema, journeyTurnSchema, journeyStepOverrideSchema, fixtureField, createJourneyBody, updateJourneyBody, evalSessionConfigResponseSchema, evalSessionResponseSchema, evalSessionListConfigSchema, evalSessionListItemSchema, seedReleaseStatusSchema, EVAL_SESSION_NOT_QUIESCENT;
|
|
12925
|
-
var
|
|
12926
|
-
"../../packages/core/dist/chunk-
|
|
12927
|
+
var init_chunk_HSQZYXKA = __esm({
|
|
12928
|
+
"../../packages/core/dist/chunk-HSQZYXKA.js"() {
|
|
12927
12929
|
"use strict";
|
|
12928
12930
|
init_chunk_4LXDRTO4();
|
|
12929
12931
|
init_chunk_WTOA3ANF();
|
|
@@ -13991,7 +13993,7 @@ var init_chunk_TU4Y4MEX = __esm({
|
|
|
13991
13993
|
}
|
|
13992
13994
|
});
|
|
13993
13995
|
|
|
13994
|
-
// ../../packages/core/dist/chunk-
|
|
13996
|
+
// ../../packages/core/dist/chunk-MK2PZAPE.js
|
|
13995
13997
|
function refineHubAsCodeCustomTools(config, ctx) {
|
|
13996
13998
|
const agents = config.agents;
|
|
13997
13999
|
if (!Array.isArray(agents)) return;
|
|
@@ -14601,12 +14603,12 @@ function skillSectionsAsResources(scope) {
|
|
|
14601
14603
|
};
|
|
14602
14604
|
}
|
|
14603
14605
|
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;
|
|
14604
|
-
var
|
|
14605
|
-
"../../packages/core/dist/chunk-
|
|
14606
|
+
var init_chunk_MK2PZAPE = __esm({
|
|
14607
|
+
"../../packages/core/dist/chunk-MK2PZAPE.js"() {
|
|
14606
14608
|
"use strict";
|
|
14607
14609
|
init_chunk_SARVKRZB();
|
|
14608
|
-
|
|
14609
|
-
|
|
14610
|
+
init_chunk_P3S2WL7F();
|
|
14611
|
+
init_chunk_HSQZYXKA();
|
|
14610
14612
|
init_chunk_LBDH7LCG();
|
|
14611
14613
|
init_chunk_4LXDRTO4();
|
|
14612
14614
|
init_chunk_TU4Y4MEX();
|
|
@@ -15662,15 +15664,15 @@ var init_chunk_JO53JB35 = __esm({
|
|
|
15662
15664
|
}
|
|
15663
15665
|
});
|
|
15664
15666
|
|
|
15665
|
-
// ../../packages/core/dist/chunk-
|
|
15667
|
+
// ../../packages/core/dist/chunk-4RUAEE3H.js
|
|
15666
15668
|
function filterNamesAnything(filter) {
|
|
15667
15669
|
return filter.labels.length + filter.scope_tag_ids.length > 0;
|
|
15668
15670
|
}
|
|
15669
15671
|
var hubListNameSchema, HUB_LIST_FILTER_REQUIRED, hubContactListFilterSchema, hubContactListIdParam, hubContactListHubQuery, description, createHubContactListBody, updateHubContactListBody;
|
|
15670
|
-
var
|
|
15671
|
-
"../../packages/core/dist/chunk-
|
|
15672
|
+
var init_chunk_4RUAEE3H = __esm({
|
|
15673
|
+
"../../packages/core/dist/chunk-4RUAEE3H.js"() {
|
|
15672
15674
|
"use strict";
|
|
15673
|
-
|
|
15675
|
+
init_chunk_LOCEO2KI();
|
|
15674
15676
|
init_zod();
|
|
15675
15677
|
hubListNameSchema = orgListReferenceSchema;
|
|
15676
15678
|
HUB_LIST_FILTER_REQUIRED = "A hub list names at least one label or scope tag";
|
|
@@ -15696,13 +15698,13 @@ var init_chunk_WJ7THIFJ = __esm({
|
|
|
15696
15698
|
}
|
|
15697
15699
|
});
|
|
15698
15700
|
|
|
15699
|
-
// ../../packages/core/dist/chunk-
|
|
15701
|
+
// ../../packages/core/dist/chunk-BLX7KXE6.js
|
|
15700
15702
|
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;
|
|
15701
|
-
var
|
|
15702
|
-
"../../packages/core/dist/chunk-
|
|
15703
|
+
var init_chunk_BLX7KXE6 = __esm({
|
|
15704
|
+
"../../packages/core/dist/chunk-BLX7KXE6.js"() {
|
|
15703
15705
|
"use strict";
|
|
15704
|
-
|
|
15705
|
-
|
|
15706
|
+
init_chunk_4RUAEE3H();
|
|
15707
|
+
init_chunk_LOCEO2KI();
|
|
15706
15708
|
init_chunk_5FTGVRDF();
|
|
15707
15709
|
init_chunk_5XEJSR22();
|
|
15708
15710
|
init_chunk_Q3WAAJBA();
|
|
@@ -16152,21 +16154,21 @@ var init_contracts = __esm({
|
|
|
16152
16154
|
init_chunk_MF2VVXBR();
|
|
16153
16155
|
init_chunk_ZC6YGHNX();
|
|
16154
16156
|
init_chunk_ACKF2MVU();
|
|
16155
|
-
|
|
16157
|
+
init_chunk_GPYAZPH7();
|
|
16156
16158
|
init_chunk_EKMLVJJ7();
|
|
16157
16159
|
init_chunk_IPDOHAZ5();
|
|
16158
16160
|
init_chunk_GPM7PE44();
|
|
16159
16161
|
init_chunk_VEERWOZ6();
|
|
16160
16162
|
init_chunk_ZXK6N2HN();
|
|
16161
16163
|
init_chunk_Y7CFCYX4();
|
|
16162
|
-
|
|
16164
|
+
init_chunk_OZC45RYU();
|
|
16163
16165
|
init_chunk_5DGHIY7L();
|
|
16164
16166
|
init_chunk_YUZFHVB2();
|
|
16165
16167
|
init_chunk_I3O2RACG();
|
|
16166
16168
|
init_chunk_34LE6P7E();
|
|
16167
16169
|
init_chunk_FPSDNS2E();
|
|
16168
|
-
|
|
16169
|
-
|
|
16170
|
+
init_chunk_AAGIHNDX();
|
|
16171
|
+
init_chunk_36EGVRCM();
|
|
16170
16172
|
init_chunk_OPETF4GS();
|
|
16171
16173
|
init_chunk_SY6PLCPK();
|
|
16172
16174
|
init_chunk_KMAC3O3L();
|
|
@@ -16176,8 +16178,8 @@ var init_contracts = __esm({
|
|
|
16176
16178
|
init_chunk_UI6YFSZL();
|
|
16177
16179
|
init_chunk_C4HEZ7ZI();
|
|
16178
16180
|
init_chunk_IR2NOSI3();
|
|
16179
|
-
|
|
16180
|
-
|
|
16181
|
+
init_chunk_HUE3HZK5();
|
|
16182
|
+
init_chunk_NZU2FWVV();
|
|
16181
16183
|
init_chunk_YULHXJ5M();
|
|
16182
16184
|
init_chunk_V4FRPRH5();
|
|
16183
16185
|
init_chunk_LWMLR2WI();
|
|
@@ -16188,11 +16190,11 @@ var init_contracts = __esm({
|
|
|
16188
16190
|
init_chunk_E4DIIOOE();
|
|
16189
16191
|
init_chunk_7CYHPF35();
|
|
16190
16192
|
init_chunk_BPCNB5RT();
|
|
16191
|
-
|
|
16193
|
+
init_chunk_MK2PZAPE();
|
|
16192
16194
|
init_chunk_SARVKRZB();
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16195
|
+
init_chunk_P3S2WL7F();
|
|
16196
|
+
init_chunk_M4FCOW6Q();
|
|
16197
|
+
init_chunk_HSQZYXKA();
|
|
16196
16198
|
init_chunk_LBDH7LCG();
|
|
16197
16199
|
init_chunk_4LXDRTO4();
|
|
16198
16200
|
init_chunk_JDJ4EUOL();
|
|
@@ -16208,9 +16210,9 @@ var init_contracts = __esm({
|
|
|
16208
16210
|
init_chunk_2PZIF56U();
|
|
16209
16211
|
init_chunk_UEJOG2Q7();
|
|
16210
16212
|
init_chunk_JO53JB35();
|
|
16211
|
-
|
|
16212
|
-
|
|
16213
|
-
|
|
16213
|
+
init_chunk_BLX7KXE6();
|
|
16214
|
+
init_chunk_4RUAEE3H();
|
|
16215
|
+
init_chunk_LOCEO2KI();
|
|
16214
16216
|
init_chunk_5FTGVRDF();
|
|
16215
16217
|
init_chunk_IG6QBZMA();
|
|
16216
16218
|
init_chunk_OMPT4ZHR();
|
|
@@ -35751,9 +35753,9 @@ Usage:
|
|
|
35751
35753
|
wayai contacts deny-person <person_id|contact_id> [--org <org_id>] [--json]
|
|
35752
35754
|
wayai contacts undeny-person <person_id|contact_id> [--org <org_id>] [--json]
|
|
35753
35755
|
|
|
35754
|
-
link-customer Make the record the contact's customer record:
|
|
35755
|
-
|
|
35756
|
-
|
|
35756
|
+
link-customer Make the record the contact's customer record: the contact's customer pages
|
|
35757
|
+
then serve that customer through a customer-scoped toolset (an agent's calls
|
|
35758
|
+
name no customer). The record is one of the base's
|
|
35757
35759
|
customer record type (x-customer-scope role root), holding no external key
|
|
35758
35760
|
or the contact id under another source. A record keyed under another
|
|
35759
35761
|
external_id is refused: re-keying it would orphan its owned records.
|
|
@@ -36021,7 +36023,7 @@ function formatExplanation(data) {
|
|
|
36021
36023
|
if (data.values_hub_id === null) lines.push("This preview hub was never published: it has no hub values, so it reaches nothing.");
|
|
36022
36024
|
else if (data.values_hub_id !== data.hub_id) lines.push(`Hub values are those of its production hub ${text3(data.values_hub_id)}.`);
|
|
36023
36025
|
if (data.customer_only) {
|
|
36024
|
-
lines.push("Customer-only: held only on record types customer
|
|
36026
|
+
lines.push("Customer-only: on an agent's call, held only on record types open to customer-facing calls (person rules or shared access); on a call naming its customer, only on record types customer scope narrows to that customer. Every other type that enforces a dimension reaches nothing.");
|
|
36025
36027
|
}
|
|
36026
36028
|
if (data.conversations_reach_nothing) {
|
|
36027
36029
|
lines.push("This person's own set reaches nothing, whatever the agent: every turn in their conversations, a team member's send or consult there included, reaches nothing either.");
|
|
@@ -36105,8 +36107,9 @@ removed it. Every layer only narrows:
|
|
|
36105
36107
|
app, WhatsApp, Instagram, Telegram); on any other they are everyone else.
|
|
36106
36108
|
- with a scoped API token and no --user: the hub's \u2229 the agent's, what a hub
|
|
36107
36109
|
automation's turn of the agent gets.
|
|
36108
|
-
Everyone else takes the hub's public values, customer-only: held only on
|
|
36109
|
-
|
|
36110
|
+
Everyone else takes the hub's public values, customer-only: on an agent's call, held only on
|
|
36111
|
+
record types open to customer-facing calls (person entries in enforce, or shared access); on a
|
|
36112
|
+
call naming its customer, only on record types customer scope narrows to that customer. A turn in another
|
|
36110
36113
|
person's conversation is also cut to that person's set, a delegated task's to its
|
|
36111
36114
|
delegation's, and a background agent's side-call's to its host turn's agent's values: those
|
|
36112
36115
|
are not shown here. Explaining someone else matches no unredeemed team invite by their
|