@wayai/cli 0.3.309 → 0.3.310
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 +71 -67
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6084,7 +6084,7 @@ var init_chunk_T6D3YZ6B = __esm({
|
|
|
6084
6084
|
}
|
|
6085
6085
|
});
|
|
6086
6086
|
|
|
6087
|
-
// ../../packages/core/dist/chunk-
|
|
6087
|
+
// ../../packages/core/dist/chunk-HBWJDXLP.js
|
|
6088
6088
|
function boundCustomerPartyIsValid(audience, parties, customer) {
|
|
6089
6089
|
return audience !== REKOR_PERSON_AUDIENCE_STAFF && customer < parties.length && Array.isArray(parties[customer]);
|
|
6090
6090
|
}
|
|
@@ -6098,8 +6098,8 @@ function isEncodedBoundPerson(raw) {
|
|
|
6098
6098
|
return rekorBoundPersonSchema.safeParse(parsed).success;
|
|
6099
6099
|
}
|
|
6100
6100
|
var TOOLSET_SLUG_PATTERN, REKOR_STRUCTURAL_ID_PATTERN, baseEnvironmentSchema, toolsetFileToolSchema, toolsetSurfaceSchema, toolsetConnectionBindingSchema, seedConnectionBindingSchema, rekorSeedBindingSchema, rekorToolsetToolsSchema, rekorPersonIdSchema, rekorPersonAudienceSchema, rekorBoundPersonSchema, STATED_GENERATION_PATTERN, rekorBoundAttestation, rekorSeedAttestation, 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, BASE_TOOLSET_ONLY_FOR_CUSTOMER_FACING, GENERIC_DATA_MCP_CUSTOMER_FACING_REFUSAL, GENERIC_DATA_API_CUSTOMER_FACING_REFUSAL;
|
|
6101
|
-
var
|
|
6102
|
-
"../../packages/core/dist/chunk-
|
|
6101
|
+
var init_chunk_HBWJDXLP = __esm({
|
|
6102
|
+
"../../packages/core/dist/chunk-HBWJDXLP.js"() {
|
|
6103
6103
|
"use strict";
|
|
6104
6104
|
init_chunk_T6D3YZ6B();
|
|
6105
6105
|
init_chunk_SDOG6762();
|
|
@@ -6185,8 +6185,8 @@ var init_chunk_XIVMA3EN = __esm({
|
|
|
6185
6185
|
* The id of the token the binding was resolved from, as its resolve reports it; a bound attested
|
|
6186
6186
|
* call names it (`REKOR_BOUND_TOKEN_HEADER`), so the data product refuses the binding once the token
|
|
6187
6187
|
* is revoked or expires (owner decision 41). Absent on a binding recorded before the report carried
|
|
6188
|
-
* it: its calls name none until a token save
|
|
6189
|
-
*
|
|
6188
|
+
* it: its calls name none until a token save records it. One that does not read is dropped rather than
|
|
6189
|
+
* failing the binding.
|
|
6190
6190
|
*/
|
|
6191
6191
|
token_id: external_exports.string().regex(REKOR_STRUCTURAL_ID_PATTERN).optional().catch(void 0)
|
|
6192
6192
|
});
|
|
@@ -6389,12 +6389,12 @@ var init_chunk_XIVMA3EN = __esm({
|
|
|
6389
6389
|
}
|
|
6390
6390
|
});
|
|
6391
6391
|
|
|
6392
|
-
// ../../packages/core/dist/chunk-
|
|
6392
|
+
// ../../packages/core/dist/chunk-CLYMQMQH.js
|
|
6393
6393
|
var TOOLSET_ANSWER_PERSON_PARTIES, toolsetAnswerPersonSchema, toolsetAnswerPersonsSchema;
|
|
6394
|
-
var
|
|
6395
|
-
"../../packages/core/dist/chunk-
|
|
6394
|
+
var init_chunk_CLYMQMQH = __esm({
|
|
6395
|
+
"../../packages/core/dist/chunk-CLYMQMQH.js"() {
|
|
6396
6396
|
"use strict";
|
|
6397
|
-
|
|
6397
|
+
init_chunk_HBWJDXLP();
|
|
6398
6398
|
init_chunk_SDOG6762();
|
|
6399
6399
|
init_zod();
|
|
6400
6400
|
TOOLSET_ANSWER_PERSON_PARTIES = ["requester", "originator", "initiator", "delegator"];
|
|
@@ -7749,12 +7749,12 @@ var init_chunk_FBV7NLKO = __esm({
|
|
|
7749
7749
|
}
|
|
7750
7750
|
});
|
|
7751
7751
|
|
|
7752
|
-
// ../../packages/core/dist/chunk-
|
|
7752
|
+
// ../../packages/core/dist/chunk-CHXSDXBE.js
|
|
7753
7753
|
var hubPageWatchParam, pageWatchedBaseSchema, hubPageWatchResponseSchema;
|
|
7754
|
-
var
|
|
7755
|
-
"../../packages/core/dist/chunk-
|
|
7754
|
+
var init_chunk_CHXSDXBE = __esm({
|
|
7755
|
+
"../../packages/core/dist/chunk-CHXSDXBE.js"() {
|
|
7756
7756
|
"use strict";
|
|
7757
|
-
|
|
7757
|
+
init_chunk_HBWJDXLP();
|
|
7758
7758
|
init_chunk_FBV7NLKO();
|
|
7759
7759
|
init_chunk_HZ6CADSY();
|
|
7760
7760
|
init_zod();
|
|
@@ -10103,7 +10103,7 @@ var init_chunk_JHUTFQDO = __esm({
|
|
|
10103
10103
|
}
|
|
10104
10104
|
});
|
|
10105
10105
|
|
|
10106
|
-
// ../../packages/core/dist/chunk-
|
|
10106
|
+
// ../../packages/core/dist/chunk-7IKO675N.js
|
|
10107
10107
|
function spokenLineField(label2, description2) {
|
|
10108
10108
|
return { type: "text", label: label2, maxLength: SPOKEN_LINE_MAX_CHARS, default: "", description: description2 };
|
|
10109
10109
|
}
|
|
@@ -10113,8 +10113,8 @@ function byLowercaseName(a, b) {
|
|
|
10113
10113
|
return x < y ? -1 : x > y ? 1 : 0;
|
|
10114
10114
|
}
|
|
10115
10115
|
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;
|
|
10116
|
-
var
|
|
10117
|
-
"../../packages/core/dist/chunk-
|
|
10116
|
+
var init_chunk_7IKO675N = __esm({
|
|
10117
|
+
"../../packages/core/dist/chunk-7IKO675N.js"() {
|
|
10118
10118
|
"use strict";
|
|
10119
10119
|
CALLER_LANGUAGE = "caller";
|
|
10120
10120
|
GIT_CHECKOUT_MAX_LENGTH = 255;
|
|
@@ -10996,7 +10996,7 @@ var init_chunk_5SDIIQVO = __esm({
|
|
|
10996
10996
|
connector_credential_schema: {
|
|
10997
10997
|
bearer: {
|
|
10998
10998
|
connection_display_name: { type: "text", label: "Connection Name", placeholder: "Support knowledge", description: "This name will be used to identify the connection in the system", required: true },
|
|
10999
|
-
access_token: { type: "password", label: "Toolset Token", placeholder: "rec_\u2026", description: "An API token bound to this toolset. It must be for a base of this hub's environment: a preview hub
|
|
10999
|
+
access_token: { type: "password", label: "Toolset Token", placeholder: "rec_\u2026", description: "An API token bound to this toolset. It must be for a base of this hub's environment: a preview hub takes a preview base's token, a production hub a production base's.", required: true, maskInEdit: true, useExistingPlaceholder: "__USE_EXISTING_ACCESS_TOKEN__" }
|
|
11000
11000
|
}
|
|
11001
11001
|
},
|
|
11002
11002
|
token_refresh_config: { bearer: { strategy: "none" } },
|
|
@@ -11132,13 +11132,13 @@ var init_chunk_5SDIIQVO = __esm({
|
|
|
11132
11132
|
}
|
|
11133
11133
|
});
|
|
11134
11134
|
|
|
11135
|
-
// ../../packages/core/dist/chunk-
|
|
11135
|
+
// ../../packages/core/dist/chunk-55RZ7YIF.js
|
|
11136
11136
|
var COUNTER_KEYS, STT_PRICING, CONTAINER_PRICING, connectorById, nativeToolById;
|
|
11137
|
-
var
|
|
11138
|
-
"../../packages/core/dist/chunk-
|
|
11137
|
+
var init_chunk_55RZ7YIF = __esm({
|
|
11138
|
+
"../../packages/core/dist/chunk-55RZ7YIF.js"() {
|
|
11139
11139
|
"use strict";
|
|
11140
11140
|
init_chunk_JHUTFQDO();
|
|
11141
|
-
|
|
11141
|
+
init_chunk_7IKO675N();
|
|
11142
11142
|
init_chunk_MIWZOSPI();
|
|
11143
11143
|
COUNTER_KEYS = Object.keys({
|
|
11144
11144
|
input_tokens: true,
|
|
@@ -11261,7 +11261,7 @@ var init_chunk_L5F7ZOUJ = __esm({
|
|
|
11261
11261
|
}
|
|
11262
11262
|
});
|
|
11263
11263
|
|
|
11264
|
-
// ../../packages/core/dist/chunk-
|
|
11264
|
+
// ../../packages/core/dist/chunk-7IXDF53E.js
|
|
11265
11265
|
function normalizeDecisionsModelId(modelId) {
|
|
11266
11266
|
return modelId.trim().toLowerCase();
|
|
11267
11267
|
}
|
|
@@ -11332,10 +11332,10 @@ function readAgentSettingsModel(agentSettings) {
|
|
|
11332
11332
|
return typeof model === "string" ? model : null;
|
|
11333
11333
|
}
|
|
11334
11334
|
var DECISIONS_MODEL_PREFIXES, DECISION_CAPABLE_AGENT_ROLES;
|
|
11335
|
-
var
|
|
11336
|
-
"../../packages/core/dist/chunk-
|
|
11335
|
+
var init_chunk_7IXDF53E = __esm({
|
|
11336
|
+
"../../packages/core/dist/chunk-7IXDF53E.js"() {
|
|
11337
11337
|
"use strict";
|
|
11338
|
-
|
|
11338
|
+
init_chunk_55RZ7YIF();
|
|
11339
11339
|
init_chunk_L5F7ZOUJ();
|
|
11340
11340
|
DECISIONS_MODEL_PREFIXES = ["typesafe/jev-", "jev-"];
|
|
11341
11341
|
DECISION_CAPABLE_AGENT_ROLES = [
|
|
@@ -11346,7 +11346,7 @@ var init_chunk_R3OKBQMZ = __esm({
|
|
|
11346
11346
|
}
|
|
11347
11347
|
});
|
|
11348
11348
|
|
|
11349
|
-
// ../../packages/core/dist/chunk-
|
|
11349
|
+
// ../../packages/core/dist/chunk-L4YFOZGK.js
|
|
11350
11350
|
function resolveMonitorTrigger(monitorConfig) {
|
|
11351
11351
|
if (!monitorConfig || typeof monitorConfig !== "object") return "idle";
|
|
11352
11352
|
const raw = monitorConfig.trigger;
|
|
@@ -11652,14 +11652,14 @@ function refineMonitorRulesStructuredOutput(body, ctx) {
|
|
|
11652
11652
|
if (refusal2) ctx.addIssue({ code: external_exports.ZodIssueCode.custom, path: ["response_format"], message: refusal2 });
|
|
11653
11653
|
}
|
|
11654
11654
|
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;
|
|
11655
|
-
var
|
|
11656
|
-
"../../packages/core/dist/chunk-
|
|
11655
|
+
var init_chunk_L4YFOZGK = __esm({
|
|
11656
|
+
"../../packages/core/dist/chunk-L4YFOZGK.js"() {
|
|
11657
11657
|
"use strict";
|
|
11658
11658
|
init_chunk_IBL7FANV();
|
|
11659
11659
|
init_chunk_KB5RK3RP();
|
|
11660
11660
|
init_chunk_C2UEA2KW();
|
|
11661
11661
|
init_chunk_HZ6CADSY();
|
|
11662
|
-
|
|
11662
|
+
init_chunk_7IXDF53E();
|
|
11663
11663
|
init_chunk_JHUTFQDO();
|
|
11664
11664
|
init_chunk_YROEDMVZ();
|
|
11665
11665
|
init_chunk_L5F7ZOUJ();
|
|
@@ -11877,12 +11877,12 @@ var init_chunk_FGNMHILL = __esm({
|
|
|
11877
11877
|
}
|
|
11878
11878
|
});
|
|
11879
11879
|
|
|
11880
|
-
// ../../packages/core/dist/chunk-
|
|
11880
|
+
// ../../packages/core/dist/chunk-65MH4JRN.js
|
|
11881
11881
|
var conversationIdParam, conversationHubQuery, claimBody, releaseBody, transferBody, closeBody, additionalContextPayloadSchema, kanbanUpdateBody, annotateConversationBody, observabilityParams, observabilityListParams, deleteUserConversationsBody, deleteUserConversationsResponse, sendMessageBody, listConversationsQuery, flagSourceSchema, getConversationsResponse, getConversationDetailParams, getConversationDetailQuery, getConversationDetailResponse, listWhatsAppTemplatesQuery, sendWhatsAppTemplateBody;
|
|
11882
|
-
var
|
|
11883
|
-
"../../packages/core/dist/chunk-
|
|
11882
|
+
var init_chunk_65MH4JRN = __esm({
|
|
11883
|
+
"../../packages/core/dist/chunk-65MH4JRN.js"() {
|
|
11884
11884
|
"use strict";
|
|
11885
|
-
|
|
11885
|
+
init_chunk_L4YFOZGK();
|
|
11886
11886
|
init_chunk_HZ6CADSY();
|
|
11887
11887
|
init_chunk_YROEDMVZ();
|
|
11888
11888
|
init_zod();
|
|
@@ -12411,14 +12411,14 @@ var init_chunk_E4DIIOOE = __esm({
|
|
|
12411
12411
|
}
|
|
12412
12412
|
});
|
|
12413
12413
|
|
|
12414
|
-
// ../../packages/core/dist/chunk-
|
|
12414
|
+
// ../../packages/core/dist/chunk-I2EVH3FR.js
|
|
12415
12415
|
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;
|
|
12416
|
-
var
|
|
12417
|
-
"../../packages/core/dist/chunk-
|
|
12416
|
+
var init_chunk_I2EVH3FR = __esm({
|
|
12417
|
+
"../../packages/core/dist/chunk-I2EVH3FR.js"() {
|
|
12418
12418
|
"use strict";
|
|
12419
12419
|
init_chunk_E4DIIOOE();
|
|
12420
12420
|
init_chunk_HZ6CADSY();
|
|
12421
|
-
|
|
12421
|
+
init_chunk_7IKO675N();
|
|
12422
12422
|
init_chunk_MIWZOSPI();
|
|
12423
12423
|
init_zod();
|
|
12424
12424
|
evalCallInstant = timestampSchema.refine(isIsoTimestamp, "Expected a canonical ISO timestamp");
|
|
@@ -14395,7 +14395,7 @@ var init_chunk_MO23HUAX = __esm({
|
|
|
14395
14395
|
}
|
|
14396
14396
|
});
|
|
14397
14397
|
|
|
14398
|
-
// ../../packages/core/dist/chunk-
|
|
14398
|
+
// ../../packages/core/dist/chunk-KOLSAPLZ.js
|
|
14399
14399
|
function declaresNoConnection(agent) {
|
|
14400
14400
|
return agent.connection === null && !agent.connection_id;
|
|
14401
14401
|
}
|
|
@@ -15127,8 +15127,8 @@ function skillSectionsAsResources(scope) {
|
|
|
15127
15127
|
};
|
|
15128
15128
|
}
|
|
15129
15129
|
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;
|
|
15130
|
-
var
|
|
15131
|
-
"../../packages/core/dist/chunk-
|
|
15130
|
+
var init_chunk_KOLSAPLZ = __esm({
|
|
15131
|
+
"../../packages/core/dist/chunk-KOLSAPLZ.js"() {
|
|
15132
15132
|
"use strict";
|
|
15133
15133
|
init_chunk_YI3ORIXJ();
|
|
15134
15134
|
init_chunk_T6D3YZ6B();
|
|
@@ -15138,13 +15138,13 @@ var init_chunk_KXYJ46BM = __esm({
|
|
|
15138
15138
|
init_chunk_MO23HUAX();
|
|
15139
15139
|
init_chunk_X5PZZVTS();
|
|
15140
15140
|
init_chunk_K5UAZWFF();
|
|
15141
|
-
|
|
15141
|
+
init_chunk_L4YFOZGK();
|
|
15142
15142
|
init_chunk_S4VDZ7PZ();
|
|
15143
15143
|
init_chunk_C2UEA2KW();
|
|
15144
15144
|
init_chunk_FBV7NLKO();
|
|
15145
15145
|
init_chunk_WEXVYJ5H();
|
|
15146
15146
|
init_chunk_HZ6CADSY();
|
|
15147
|
-
|
|
15147
|
+
init_chunk_7IXDF53E();
|
|
15148
15148
|
init_chunk_YROEDMVZ();
|
|
15149
15149
|
init_zod();
|
|
15150
15150
|
MAX_10MB_BASE64_ENCODED_BYTES = Math.ceil(MAX_RESOURCE_FILE_SIZE / 3) * 4 + 16;
|
|
@@ -16194,16 +16194,16 @@ var init_chunk_R6Y377AW = __esm({
|
|
|
16194
16194
|
}
|
|
16195
16195
|
});
|
|
16196
16196
|
|
|
16197
|
-
// ../../packages/core/dist/chunk-
|
|
16197
|
+
// ../../packages/core/dist/chunk-FXIVKOSV.js
|
|
16198
16198
|
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;
|
|
16199
|
-
var
|
|
16200
|
-
"../../packages/core/dist/chunk-
|
|
16199
|
+
var init_chunk_FXIVKOSV = __esm({
|
|
16200
|
+
"../../packages/core/dist/chunk-FXIVKOSV.js"() {
|
|
16201
16201
|
"use strict";
|
|
16202
16202
|
init_chunk_R6Y377AW();
|
|
16203
16203
|
init_chunk_UAOHHCW5();
|
|
16204
|
-
|
|
16204
|
+
init_chunk_L4YFOZGK();
|
|
16205
16205
|
init_chunk_5FO3GNKP();
|
|
16206
|
-
|
|
16206
|
+
init_chunk_7IXDF53E();
|
|
16207
16207
|
init_chunk_YROEDMVZ();
|
|
16208
16208
|
init_zod();
|
|
16209
16209
|
AUTOMATION_TRIGGER_TYPES = ["schedule", "event", "webhook"];
|
|
@@ -16445,15 +16445,15 @@ var init_contracts = __esm({
|
|
|
16445
16445
|
init_chunk_MF2VVXBR();
|
|
16446
16446
|
init_chunk_IPXBFWUU();
|
|
16447
16447
|
init_chunk_P5GJNS5R();
|
|
16448
|
-
|
|
16448
|
+
init_chunk_CLYMQMQH();
|
|
16449
16449
|
init_chunk_ZC6YGHNX();
|
|
16450
16450
|
init_chunk_5DGHIY7L();
|
|
16451
16451
|
init_chunk_UVGO72D6();
|
|
16452
16452
|
init_chunk_IPDOHAZ5();
|
|
16453
16453
|
init_chunk_PFGVH2CX();
|
|
16454
16454
|
init_chunk_GPM7PE44();
|
|
16455
|
-
|
|
16456
|
-
|
|
16455
|
+
init_chunk_CHXSDXBE();
|
|
16456
|
+
init_chunk_HBWJDXLP();
|
|
16457
16457
|
init_chunk_ZXK6N2HN();
|
|
16458
16458
|
init_chunk_Y7CFCYX4();
|
|
16459
16459
|
init_chunk_MGBAXT5Y();
|
|
@@ -16465,10 +16465,10 @@ var init_contracts = __esm({
|
|
|
16465
16465
|
init_chunk_OPETF4GS();
|
|
16466
16466
|
init_chunk_SY6PLCPK();
|
|
16467
16467
|
init_chunk_KMAC3O3L();
|
|
16468
|
-
|
|
16468
|
+
init_chunk_65MH4JRN();
|
|
16469
16469
|
init_chunk_KSTYTQ7I();
|
|
16470
16470
|
init_chunk_LKBSHANA();
|
|
16471
|
-
|
|
16471
|
+
init_chunk_I2EVH3FR();
|
|
16472
16472
|
init_chunk_C4HEZ7ZI();
|
|
16473
16473
|
init_chunk_IR2NOSI3();
|
|
16474
16474
|
init_chunk_UCYWGWQT();
|
|
@@ -16483,7 +16483,7 @@ var init_contracts = __esm({
|
|
|
16483
16483
|
init_chunk_E4DIIOOE();
|
|
16484
16484
|
init_chunk_7CYHPF35();
|
|
16485
16485
|
init_chunk_NETRUHZF();
|
|
16486
|
-
|
|
16486
|
+
init_chunk_KOLSAPLZ();
|
|
16487
16487
|
init_chunk_YI3ORIXJ();
|
|
16488
16488
|
init_chunk_T6D3YZ6B();
|
|
16489
16489
|
init_chunk_66EZQ7Y7();
|
|
@@ -16504,10 +16504,10 @@ var init_contracts = __esm({
|
|
|
16504
16504
|
init_chunk_2PZIF56U();
|
|
16505
16505
|
init_chunk_UEJOG2Q7();
|
|
16506
16506
|
init_chunk_KEN2DASI();
|
|
16507
|
-
|
|
16507
|
+
init_chunk_FXIVKOSV();
|
|
16508
16508
|
init_chunk_R6Y377AW();
|
|
16509
16509
|
init_chunk_UAOHHCW5();
|
|
16510
|
-
|
|
16510
|
+
init_chunk_L4YFOZGK();
|
|
16511
16511
|
init_chunk_ULQGJUXZ();
|
|
16512
16512
|
init_chunk_OMPT4ZHR();
|
|
16513
16513
|
init_chunk_DWJOFJEA();
|
|
@@ -16530,10 +16530,10 @@ var init_contracts = __esm({
|
|
|
16530
16530
|
init_chunk_WEXVYJ5H();
|
|
16531
16531
|
init_chunk_6TSQ5HXC();
|
|
16532
16532
|
init_chunk_HZ6CADSY();
|
|
16533
|
-
|
|
16534
|
-
|
|
16533
|
+
init_chunk_7IXDF53E();
|
|
16534
|
+
init_chunk_55RZ7YIF();
|
|
16535
16535
|
init_chunk_JHUTFQDO();
|
|
16536
|
-
|
|
16536
|
+
init_chunk_7IKO675N();
|
|
16537
16537
|
init_chunk_MIWZOSPI();
|
|
16538
16538
|
init_chunk_YROEDMVZ();
|
|
16539
16539
|
init_chunk_L5F7ZOUJ();
|
|
@@ -16693,10 +16693,10 @@ var init_dist = __esm({
|
|
|
16693
16693
|
init_chunk_6TSQ5HXC();
|
|
16694
16694
|
init_chunk_HZ6CADSY();
|
|
16695
16695
|
init_chunk_FZ7BJJW7();
|
|
16696
|
-
|
|
16697
|
-
|
|
16696
|
+
init_chunk_7IXDF53E();
|
|
16697
|
+
init_chunk_55RZ7YIF();
|
|
16698
16698
|
init_chunk_JHUTFQDO();
|
|
16699
|
-
|
|
16699
|
+
init_chunk_7IKO675N();
|
|
16700
16700
|
init_chunk_MIWZOSPI();
|
|
16701
16701
|
init_chunk_YROEDMVZ();
|
|
16702
16702
|
init_chunk_L5F7ZOUJ();
|
|
@@ -22927,7 +22927,7 @@ var init_hub_materializer = __esm({
|
|
|
22927
22927
|
var init_ci = __esm({
|
|
22928
22928
|
"../../packages/core/dist/contracts/ci.js"() {
|
|
22929
22929
|
"use strict";
|
|
22930
|
-
|
|
22930
|
+
init_chunk_KOLSAPLZ();
|
|
22931
22931
|
init_chunk_YI3ORIXJ();
|
|
22932
22932
|
init_chunk_T6D3YZ6B();
|
|
22933
22933
|
init_chunk_66EZQ7Y7();
|
|
@@ -22939,7 +22939,7 @@ var init_ci = __esm({
|
|
|
22939
22939
|
init_chunk_X5PZZVTS();
|
|
22940
22940
|
init_chunk_D3EP4TDU();
|
|
22941
22941
|
init_chunk_K5UAZWFF();
|
|
22942
|
-
|
|
22942
|
+
init_chunk_L4YFOZGK();
|
|
22943
22943
|
init_chunk_WTOA3ANF();
|
|
22944
22944
|
init_chunk_IBL7FANV();
|
|
22945
22945
|
init_chunk_S4VDZ7PZ();
|
|
@@ -22951,10 +22951,10 @@ var init_ci = __esm({
|
|
|
22951
22951
|
init_chunk_WEXVYJ5H();
|
|
22952
22952
|
init_chunk_6TSQ5HXC();
|
|
22953
22953
|
init_chunk_HZ6CADSY();
|
|
22954
|
-
|
|
22955
|
-
|
|
22954
|
+
init_chunk_7IXDF53E();
|
|
22955
|
+
init_chunk_55RZ7YIF();
|
|
22956
22956
|
init_chunk_JHUTFQDO();
|
|
22957
|
-
|
|
22957
|
+
init_chunk_7IKO675N();
|
|
22958
22958
|
init_chunk_MIWZOSPI();
|
|
22959
22959
|
init_chunk_YROEDMVZ();
|
|
22960
22960
|
init_chunk_L5F7ZOUJ();
|
|
@@ -42012,7 +42012,7 @@ MCP URL: ${toolsetMcpUrl(slug)}`);
|
|
|
42012
42012
|
}
|
|
42013
42013
|
});
|
|
42014
42014
|
tokens2.command("prune").description(
|
|
42015
|
-
"Revoke stale tokens, selected by staleness only (expired, or unused past --unused-since) \u2014 never by name. Previews by default; revoking requires --yes or an interactive confirmation."
|
|
42015
|
+
"Revoke stale tokens, selected by staleness only (expired, revoked, or unused past --unused-since) \u2014 never by name. Previews by default; revoking requires --yes or an interactive confirmation."
|
|
42016
42016
|
).option(
|
|
42017
42017
|
"--unused-since <duration>",
|
|
42018
42018
|
"Also prune tokens with no activity for this long (e.g. 30d). Skips toolset-bound and legacy usage-untracked tokens."
|
|
@@ -42029,6 +42029,10 @@ MCP URL: ${toolsetMcpUrl(slug)}`);
|
|
|
42029
42029
|
targets.push(pruneRow(t, "expired"));
|
|
42030
42030
|
continue;
|
|
42031
42031
|
}
|
|
42032
|
+
if (t.status === "revoked") {
|
|
42033
|
+
targets.push(pruneRow(t, "revoked: minted before only the owner could mint a token that writes bases"));
|
|
42034
|
+
continue;
|
|
42035
|
+
}
|
|
42032
42036
|
if (staleMs === void 0) continue;
|
|
42033
42037
|
const lastActivity = Date.parse(t.last_used_at ?? t.created_at);
|
|
42034
42038
|
if (!(now - lastActivity > staleMs)) continue;
|