@wayai/cli 0.3.239 → 0.3.241
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 +68 -57
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6485,10 +6485,10 @@ var init_chunk_BEOHBREG = __esm({
|
|
|
6485
6485
|
}
|
|
6486
6486
|
});
|
|
6487
6487
|
|
|
6488
|
-
// ../../packages/core/dist/chunk-
|
|
6488
|
+
// ../../packages/core/dist/chunk-C2BKAZB7.js
|
|
6489
6489
|
var TOOLSET_SLUG_PATTERN, REKOR_STRUCTURAL_ID_PATTERN, baseEnvironmentSchema, toolsetFileToolSchema, toolsetSurfaceSchema, toolsetConnectionBindingSchema, rekorToolsetToolsSchema, rekorBoundAttestation, rekorResolvedToolsetSchema, resolvedRecordTypeSchema, reviewWritersSchema, sharedScopeSchema, resolvedFileToolSchema, rekorToolsetFileSchema, rekorToolsetFileUrlAnswerSchema, rekorToolsetFileListSchema, rekorToolsetFileGetSchema, rekorToolsetFilePutSchema, TOOLSET_CUSTOMER_FACING_REFUSAL_MARK, TOOLSET_CUSTOMER_FACING_REFUSAL;
|
|
6490
|
-
var
|
|
6491
|
-
"../../packages/core/dist/chunk-
|
|
6490
|
+
var init_chunk_C2BKAZB7 = __esm({
|
|
6491
|
+
"../../packages/core/dist/chunk-C2BKAZB7.js"() {
|
|
6492
6492
|
"use strict";
|
|
6493
6493
|
init_chunk_BEOHBREG();
|
|
6494
6494
|
init_chunk_DHPUPI4Y();
|
|
@@ -6511,7 +6511,7 @@ var init_chunk_TPFTFBLF = __esm({
|
|
|
6511
6511
|
})
|
|
6512
6512
|
});
|
|
6513
6513
|
toolsetSurfaceSchema = external_exports.object({
|
|
6514
|
-
/** Any record, composite or
|
|
6514
|
+
/** Any record, composite, relationship or SQL Action tool: the toolset reaches records. */
|
|
6515
6515
|
records: external_exports.boolean(),
|
|
6516
6516
|
sql_query: external_exports.boolean(),
|
|
6517
6517
|
batch: external_exports.boolean(),
|
|
@@ -6550,7 +6550,8 @@ var init_chunk_TPFTFBLF = __esm({
|
|
|
6550
6550
|
/**
|
|
6551
6551
|
* Every record type the toolset reaches, at least one, is reviewed (`x-review`), holds no customer data
|
|
6552
6552
|
* (`shared`), and does not name it among its writers: each call reads only that type's approved
|
|
6553
|
-
* records (#5083 decision 182, Q9).
|
|
6553
|
+
* records (#5083 decision 182, Q9). Never with a SQL Action, whose query reads its types' every
|
|
6554
|
+
* record, drafts included. Absent on a surface recorded before it was, which reads as false.
|
|
6554
6555
|
*/
|
|
6555
6556
|
approved_reads_only: external_exports.boolean().optional(),
|
|
6556
6557
|
/**
|
|
@@ -6631,6 +6632,11 @@ var init_chunk_TPFTFBLF = __esm({
|
|
|
6631
6632
|
actions: external_exports.array(external_exports.unknown()).optional(),
|
|
6632
6633
|
composites: external_exports.array(external_exports.unknown()).optional(),
|
|
6633
6634
|
relationships: external_exports.array(external_exports.unknown()).optional(),
|
|
6635
|
+
/**
|
|
6636
|
+
* The toolset's SQL Actions (#5311): each a fixed, read-only query over the record types it
|
|
6637
|
+
* declares, which the resolve also carries in `record_types` and `record_type_scopes`.
|
|
6638
|
+
*/
|
|
6639
|
+
sql_actions: external_exports.array(external_exports.unknown()).optional(),
|
|
6634
6640
|
files: external_exports.array(external_exports.unknown()).optional(),
|
|
6635
6641
|
batch: external_exports.object({ enabled: external_exports.boolean().optional() }).passthrough().nullable().optional(),
|
|
6636
6642
|
sql_query: external_exports.boolean().optional(),
|
|
@@ -6638,14 +6644,14 @@ var init_chunk_TPFTFBLF = __esm({
|
|
|
6638
6644
|
customer_scope: external_exports.boolean().optional(),
|
|
6639
6645
|
/**
|
|
6640
6646
|
* Record types the toolset reaches, by id, as the data product stores them (`json_schema`
|
|
6641
|
-
* included): each one its actions
|
|
6647
|
+
* included): each one its actions, composite record steps and SQL Actions reach, and each reviewed one it
|
|
6642
6648
|
* reaches otherwise (relationship ends, `batch` entries, every one through `sql_query`; #5083
|
|
6643
6649
|
* decision 198). An unreviewed type it reaches only otherwise is not here. A reviewed type's
|
|
6644
6650
|
* `x-review` names its writers (RK4).
|
|
6645
6651
|
*/
|
|
6646
6652
|
record_types: external_exports.record(external_exports.unknown()).optional(),
|
|
6647
6653
|
/**
|
|
6648
|
-
* What each record type the toolset's actions, composite steps and relationship tools reach is to a
|
|
6654
|
+
* What each record type the toolset's actions, composite steps, SQL Actions and relationship tools reach is to a
|
|
6649
6655
|
* customer scope (`{ role }`, or null), by id (#5083 RK2). A reviewed type `record_types` carries
|
|
6650
6656
|
* because only a `batch` entry or `sql_query` reaches it has none.
|
|
6651
6657
|
*/
|
|
@@ -6685,7 +6691,7 @@ var init_chunk_TPFTFBLF = __esm({
|
|
|
6685
6691
|
});
|
|
6686
6692
|
rekorToolsetFilePutSchema = external_exports.object({ data: rekorToolsetFileSchema });
|
|
6687
6693
|
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";
|
|
6688
|
-
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 \u2014 unless the toolset is customer-scoped, which admits its record, composite and
|
|
6694
|
+
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 \u2014 unless the toolset is customer-scoped, which admits its record, composite, relationship and SQL Action tools, since each of their calls reaches only the conversation's customer and shared records, or they only read approved records of reviewed shared record types`;
|
|
6689
6695
|
}
|
|
6690
6696
|
});
|
|
6691
6697
|
|
|
@@ -8434,15 +8440,15 @@ var init_chunk_MH4O3YEX = __esm({
|
|
|
8434
8440
|
}
|
|
8435
8441
|
});
|
|
8436
8442
|
|
|
8437
|
-
// ../../packages/core/dist/chunk-
|
|
8443
|
+
// ../../packages/core/dist/chunk-VZTO5ZM7.js
|
|
8438
8444
|
function catalogToolSideEffects(toolName) {
|
|
8439
8445
|
const sideEffects = CATALOG_SIDE_EFFECTS.get(toolName);
|
|
8440
8446
|
if (sideEffects === void 0) return "unknown";
|
|
8441
8447
|
return sideEffects ? "side_effects" : "none";
|
|
8442
8448
|
}
|
|
8443
8449
|
var NATIVE_TOOL_SCHEMAS, WAYAI_CONNECTOR, SANDBOX_AGENT_ROLES, BASE_NATIVE_TOOLS, NATIVE_TOOLS, CATALOG_SIDE_EFFECTS;
|
|
8444
|
-
var
|
|
8445
|
-
"../../packages/core/dist/chunk-
|
|
8450
|
+
var init_chunk_VZTO5ZM7 = __esm({
|
|
8451
|
+
"../../packages/core/dist/chunk-VZTO5ZM7.js"() {
|
|
8446
8452
|
"use strict";
|
|
8447
8453
|
init_chunk_DHPUPI4Y();
|
|
8448
8454
|
NATIVE_TOOL_SCHEMAS = {
|
|
@@ -8667,7 +8673,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
8667
8673
|
},
|
|
8668
8674
|
"file_id": {
|
|
8669
8675
|
"type": "string",
|
|
8670
|
-
"description": "The file ID to retrieve, from a conversation message or a file listing. Still supported, but prefer path for
|
|
8676
|
+
"description": "The file ID to retrieve, from a conversation message or a file listing. Still supported, but prefer path for skill files."
|
|
8671
8677
|
},
|
|
8672
8678
|
"skill_id": {
|
|
8673
8679
|
"type": "string",
|
|
@@ -8685,7 +8691,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
8685
8691
|
"additionalProperties": false
|
|
8686
8692
|
}
|
|
8687
8693
|
},
|
|
8688
|
-
"tool_instructions": "Use this tool to read a file for AI analysis. Provide either path (preferred \u2014 the exact paths appear in your
|
|
8694
|
+
"tool_instructions": "Use this tool to read a file for AI analysis. Provide either path (preferred \u2014 the exact paths appear in your skill structure and in list_files output) or file_id. The file will be injected into the conversation context."
|
|
8689
8695
|
},
|
|
8690
8696
|
"write_file": {
|
|
8691
8697
|
"tool_config": {
|
|
@@ -8697,7 +8703,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
8697
8703
|
"properties": {
|
|
8698
8704
|
"path": {
|
|
8699
8705
|
"type": "string",
|
|
8700
|
-
"description": `The document's full path, e.g. "data/policies/eu/refunds.md", as list_files gives it. Files outside "data/" (
|
|
8706
|
+
"description": `The document's full path, e.g. "data/policies/eu/refunds.md", as list_files gives it. Files outside "data/" (skill files and conversation files) are read-only.`
|
|
8701
8707
|
},
|
|
8702
8708
|
"content": {
|
|
8703
8709
|
"type": "string",
|
|
@@ -8727,7 +8733,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
8727
8733
|
"properties": {
|
|
8728
8734
|
"path": {
|
|
8729
8735
|
"type": "string",
|
|
8730
|
-
"description": `The document's full path, e.g. "data/policies/eu/refunds.md", as list_files gives it. Files outside "data/" (
|
|
8736
|
+
"description": `The document's full path, e.g. "data/policies/eu/refunds.md", as list_files gives it. Files outside "data/" (skill files and conversation files) are read-only.`
|
|
8731
8737
|
},
|
|
8732
8738
|
"old_str": {
|
|
8733
8739
|
"type": "string",
|
|
@@ -8790,7 +8796,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
8790
8796
|
"copy_to_sandbox": {
|
|
8791
8797
|
"tool_config": {
|
|
8792
8798
|
"name": "copy_to_sandbox",
|
|
8793
|
-
"description": `Copy one of this conversation's files, or one of your documents, into the code sandbox, so commands run with bash can read or edit it there. path names the file as read_file does: this conversation's attachments under "conversation/" (e.g. "conversation/report.xlsx"), an earlier conversation's under "conversations/<conversation_id>/<name>", or a document under "data/<file-type>/" (e.g. "data/contracts/acme/msa.docx"), whose result gives the version you copied: pass it to copy_from_sandbox to copy the document back.
|
|
8799
|
+
"description": `Copy one of this conversation's files, or one of your documents, into the code sandbox, so commands run with bash can read or edit it there. path names the file as read_file does: this conversation's attachments under "conversation/" (e.g. "conversation/report.xlsx"), an earlier conversation's under "conversations/<conversation_id>/<name>", or a document under "data/<file-type>/" (e.g. "data/contracts/acme/msa.docx"), whose result gives the version you copied: pass it to copy_from_sandbox to copy the document back. Skill files cannot be copied. The copy lands at sandbox_path, replacing any file there; a file larger than 25 MiB is refused, and a document larger than 1 MiB. If no sandbox is running, the copy starts one, with the /workspace files from the last save.`,
|
|
8794
8800
|
"strict": false,
|
|
8795
8801
|
"parameters": {
|
|
8796
8802
|
"type": "object",
|
|
@@ -8865,7 +8871,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
8865
8871
|
"items": {
|
|
8866
8872
|
"type": "string"
|
|
8867
8873
|
},
|
|
8868
|
-
"description": "Array of
|
|
8874
|
+
"description": "Array of skill folder IDs to send all files from. Alternative to file_ids."
|
|
8869
8875
|
},
|
|
8870
8876
|
"message_text": {
|
|
8871
8877
|
"type": "string",
|
|
@@ -8892,18 +8898,18 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
8892
8898
|
},
|
|
8893
8899
|
"query": {
|
|
8894
8900
|
"type": "string",
|
|
8895
|
-
"description": "Search text. Matched against a file's title and its file name. Under a
|
|
8901
|
+
"description": "Search text. Matched against a file's title and its file name. Under a skills/ or data/ path this searches the WHOLE subtree below it, not just the level named, and every result is returned as a full path."
|
|
8896
8902
|
},
|
|
8897
8903
|
"tags": {
|
|
8898
8904
|
"type": "array",
|
|
8899
8905
|
"items": {
|
|
8900
8906
|
"type": "string"
|
|
8901
8907
|
},
|
|
8902
|
-
"description": "Return files carrying ANY of these tags. Applies to
|
|
8908
|
+
"description": "Return files carrying ANY of these tags. Applies to skill and data/ files \u2014 conversation attachments carry no tags. Searches the whole subtree, like query."
|
|
8903
8909
|
},
|
|
8904
8910
|
"metadata_filter": {
|
|
8905
8911
|
"type": "object",
|
|
8906
|
-
"description": `Filter
|
|
8912
|
+
"description": `Filter skill and data/ files by their metadata using MongoDB-style operators. Supported: $eq (equal), $ne (not equal), $gt/$gte/$lt/$lte (comparisons), $in/$nin (in/not in array), $contains (substring for text, membership for a list), $and/$or/$not (logical). Nested paths like "location.city" are supported, and a bare value means equality. Examples: {"status": "active"}, {"priority": {"$gte": 5}}, {"location.city": "Miami"}, {"$and": [{"status": "active"}, {"priority": {"$gt": 3}}]}, {"$not": {"status": "archived"}}. A comparison between different types simply does not match. Under data/, the file type's metadata schema refuses a field it does not declare. Searches the whole subtree, like query.`
|
|
8907
8913
|
},
|
|
8908
8914
|
"limit": {
|
|
8909
8915
|
"type": "integer",
|
|
@@ -8998,7 +9004,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
8998
9004
|
"properties": {
|
|
8999
9005
|
"skill_id": {
|
|
9000
9006
|
"type": "string",
|
|
9001
|
-
"description": "The skill's
|
|
9007
|
+
"description": "The skill's id. Must be one of the skills linked to this agent (the available ids are listed here at runtime)."
|
|
9002
9008
|
}
|
|
9003
9009
|
},
|
|
9004
9010
|
"required": [
|
|
@@ -9019,7 +9025,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
9019
9025
|
"properties": {
|
|
9020
9026
|
"skill_id": {
|
|
9021
9027
|
"type": "string",
|
|
9022
|
-
"description": "The skill's
|
|
9028
|
+
"description": "The skill's id. Must be one of the skills linked to this agent (the available ids are listed here at runtime)."
|
|
9023
9029
|
},
|
|
9024
9030
|
"file_path": {
|
|
9025
9031
|
"type": "string",
|
|
@@ -9266,7 +9272,7 @@ var init_chunk_FQZRBIAQ = __esm({
|
|
|
9266
9272
|
{ tool_native_id: "nt-011", tool_name: "consult_agent", tool_display_name: "Consult Agent", tool_description: "Consult an advisor agent for advice without transferring", connector_id: WAYAI_CONNECTOR, operation: "consult_agent", tool_method: "internal", tool_group: "Native Tools", is_delegation: false, is_auto_set: false, execution_config: null, side_effects: false, replay: "keyed", hosted: false },
|
|
9267
9273
|
{ tool_native_id: "nt-013", tool_name: "read_skill", tool_display_name: "Read Skill", tool_description: "Read the full specification of a skill", connector_id: WAYAI_CONNECTOR, operation: "read_skill", tool_method: "internal", tool_group: "Native Tools", is_delegation: false, is_auto_set: false, execution_config: null, side_effects: false, replay: "rerun", hosted: false },
|
|
9268
9274
|
{ tool_native_id: "nt-014", tool_name: "read_skill_file", tool_display_name: "Read Skill File", tool_description: "Read a specific file within a skill", connector_id: WAYAI_CONNECTOR, operation: "read_skill_file", tool_method: "internal", tool_group: "Native Tools", is_delegation: false, is_auto_set: false, execution_config: null, side_effects: false, replay: "rerun", hosted: false },
|
|
9269
|
-
{ tool_native_id: "nt-015", tool_name: "read_file", tool_display_name: "Read File", tool_description: "Read the contents of a
|
|
9275
|
+
{ tool_native_id: "nt-015", tool_name: "read_file", tool_display_name: "Read File", tool_description: "Read the contents of a file", connector_id: WAYAI_CONNECTOR, operation: "read_file", tool_method: "internal", tool_group: "Native Tools", is_delegation: false, is_auto_set: false, execution_config: null, side_effects: false, replay: "rerun", hosted: false },
|
|
9270
9276
|
{ tool_native_id: "nt-018", tool_name: "get_conversations_summary", tool_display_name: "Get Conversations Summary", tool_description: "Get a summary of recent conversations", connector_id: WAYAI_CONNECTOR, operation: "get_conversations_summary", tool_method: "internal", tool_group: "Native Tools", is_delegation: false, is_auto_set: false, execution_config: null, side_effects: false, replay: "rerun", hosted: true },
|
|
9271
9277
|
{ tool_native_id: "nt-019", tool_name: "get_conversation", tool_display_name: "Get Conversation", tool_description: "Retrieve full conversation history", connector_id: WAYAI_CONNECTOR, operation: "get_conversation", tool_method: "internal", tool_group: "Native Tools", is_delegation: false, is_auto_set: false, execution_config: null, side_effects: false, replay: "rerun", hosted: true },
|
|
9272
9278
|
{ tool_native_id: "nt-020", tool_name: "get_tool_schema", tool_display_name: "Get Tool Schema", tool_description: "Retrieve the JSON schema for a tool", connector_id: WAYAI_CONNECTOR, operation: "get_tool_schema", tool_method: "internal", tool_group: "Native Tools", is_delegation: false, is_auto_set: false, execution_config: null, side_effects: false, replay: "rerun", hosted: false },
|
|
@@ -9569,7 +9575,7 @@ var init_chunk_T7KQKDET = __esm({
|
|
|
9569
9575
|
}
|
|
9570
9576
|
});
|
|
9571
9577
|
|
|
9572
|
-
// ../../packages/core/dist/chunk-
|
|
9578
|
+
// ../../packages/core/dist/chunk-E32ZC76C.js
|
|
9573
9579
|
function resolveMonitorTrigger(monitorConfig) {
|
|
9574
9580
|
if (!monitorConfig || typeof monitorConfig !== "object") return "idle";
|
|
9575
9581
|
const raw = monitorConfig.trigger;
|
|
@@ -9875,10 +9881,10 @@ function refineMonitorRulesStructuredOutput(body, ctx) {
|
|
|
9875
9881
|
if (refusal2) ctx.addIssue({ code: external_exports.ZodIssueCode.custom, path: ["response_format"], message: refusal2 });
|
|
9876
9882
|
}
|
|
9877
9883
|
var NATIVE_TOOL_NAMES, previousConversationsCountField, summarizationThresholdField, flagConditionSchema, MONITOR_TRIGGERS, monitorTriggerSchema, AUTOMATION_GATE_TRIGGERS, NON_FIRING_TRIGGERS, MONITOR_FIRING_TRIGGERS, MONITOR_DELAY_SECONDS_MIN, MONITOR_IDLE_DELAY_REQUIRED_MESSAGE, MONITOR_HISTORY_MESSAGES_MAX, monitorHistoryMessagesSchema, monitorIncludeToolResultsSchema, MONITOR_INPUT_SHAPING_KEYS, MONITOR_INPUT_SHAPING_SCHEMAS, MONITOR_INPUT_SHAPING_IDLE_MESSAGE, monitorArgumentSourceSchema, MONITOR_NOTE_TEMPLATE_MAX, MONITOR_STEER_NOTE_MAX, MONITOR_GATE_AGENT_NAME_MAX, monitorActionSchema, monitorRuleSchema, MONITOR_RULE_KEYS, MONITOR_RULE_SCHEMAS, MONITOR_RULE_TRIGGERS, MONITOR_RULE_TRIGGER_MESSAGE, CALL_UTTERANCE_SPEAKERS, callUtteranceSpeakerSchema, MONITOR_CALL_KEYS, MONITOR_CALL_SCHEMAS, MONITOR_CALL_KEY_MESSAGE, CALL_STEERING_MIN_CONFIDENCE, CALL_UTTERANCE_RULE_NOT_CONFIDENT_MESSAGE, CALL_UTTERANCE_FALLBACK_MESSAGE, CALL_UTTERANCE_FLAG_CONDITIONS_MESSAGE, CALL_STEER_NOTE_BLANK_MESSAGE, MONITOR_USER_MESSAGE_ACTION_KINDS, MONITOR_ASSISTANT_REPLY_ACTION_KINDS, MONITOR_CALL_UTTERANCE_ACTION_KINDS, MONITOR_AUTOMATION_FIRE_ACTION_KINDS, MONITOR_AUTOMATION_ITEM_ACTION_KINDS, INSERT_NOTE_TOOL_NAME, RUN_MONITOR_TOOL_NAME, MONITOR_RULE_ALLOWED_NATIVE_TOOLS, MONITOR_RULE_REENTRY_TOOLS, MONITOR_RULE_REENTRY_TRACKS, AUTOMATION_FIRE_FLAG_CONDITIONS_MESSAGE, AUTOMATION_FIRE_INPUT_SHAPING_MESSAGE, AUTOMATION_ITEM_FLAG_CONDITIONS_MESSAGE, AUTOMATION_ITEM_INPUT_SHAPING_MESSAGE, AUTOMATION_GATE_KEY_MESSAGES, monitorConfigField, flagConditionsField, agentIdParam, listAgentsQuery, agentConnectionsQuery, createAgentBody, updateAgentBody, AGENT_PARAMETER_TYPES, AGENT_PARAMETER_NAME_REGEX, agentParameterCreateSchema, MAX_AGENT_PARAMETERS_PER_REQUEST, createAgentParametersBody;
|
|
9878
|
-
var
|
|
9879
|
-
"../../packages/core/dist/chunk-
|
|
9884
|
+
var init_chunk_E32ZC76C = __esm({
|
|
9885
|
+
"../../packages/core/dist/chunk-E32ZC76C.js"() {
|
|
9880
9886
|
"use strict";
|
|
9881
|
-
|
|
9887
|
+
init_chunk_VZTO5ZM7();
|
|
9882
9888
|
init_chunk_IBL7FANV();
|
|
9883
9889
|
init_chunk_HZ6CADSY();
|
|
9884
9890
|
init_chunk_C2UEA2KW();
|
|
@@ -10101,12 +10107,12 @@ var init_chunk_WFQU5HXK = __esm({
|
|
|
10101
10107
|
}
|
|
10102
10108
|
});
|
|
10103
10109
|
|
|
10104
|
-
// ../../packages/core/dist/chunk-
|
|
10110
|
+
// ../../packages/core/dist/chunk-SURLRMEK.js
|
|
10105
10111
|
var conversationIdParam, conversationHubQuery, claimBody, releaseBody, transferBody, closeBody, additionalContextPayloadSchema, kanbanUpdateBody, annotateConversationBody, observabilityParams, observabilityListParams, deleteUserConversationsBody, deleteUserConversationsResponse, sendMessageBody, listConversationsQuery, flagSourceSchema, getConversationsResponse, getConversationDetailParams, getConversationDetailQuery, getConversationDetailResponse, listWhatsAppTemplatesQuery, sendWhatsAppTemplateBody;
|
|
10106
|
-
var
|
|
10107
|
-
"../../packages/core/dist/chunk-
|
|
10112
|
+
var init_chunk_SURLRMEK = __esm({
|
|
10113
|
+
"../../packages/core/dist/chunk-SURLRMEK.js"() {
|
|
10108
10114
|
"use strict";
|
|
10109
|
-
|
|
10115
|
+
init_chunk_E32ZC76C();
|
|
10110
10116
|
init_chunk_HZ6CADSY();
|
|
10111
10117
|
init_chunk_DHPUPI4Y();
|
|
10112
10118
|
init_zod();
|
|
@@ -10562,7 +10568,7 @@ var init_chunk_BPCNB5RT = __esm({
|
|
|
10562
10568
|
}
|
|
10563
10569
|
});
|
|
10564
10570
|
|
|
10565
|
-
// ../../packages/core/dist/chunk-
|
|
10571
|
+
// ../../packages/core/dist/chunk-CGQWQYWY.js
|
|
10566
10572
|
function idempotencyHeaderRefusal(value) {
|
|
10567
10573
|
if (typeof value !== "string" || !/^[A-Za-z0-9][A-Za-z0-9-]{0,63}$/.test(value)) {
|
|
10568
10574
|
return "idempotency_header must be a header name: letters, digits and dashes, at most 64";
|
|
@@ -10573,10 +10579,10 @@ function idempotencyHeaderRefusal(value) {
|
|
|
10573
10579
|
return null;
|
|
10574
10580
|
}
|
|
10575
10581
|
var CATALOG_REPLAY, REPLAY_OVERRIDES, RESERVED_HEADERS;
|
|
10576
|
-
var
|
|
10577
|
-
"../../packages/core/dist/chunk-
|
|
10582
|
+
var init_chunk_CGQWQYWY = __esm({
|
|
10583
|
+
"../../packages/core/dist/chunk-CGQWQYWY.js"() {
|
|
10578
10584
|
"use strict";
|
|
10579
|
-
|
|
10585
|
+
init_chunk_VZTO5ZM7();
|
|
10580
10586
|
CATALOG_REPLAY = new Map(
|
|
10581
10587
|
NATIVE_TOOLS.map((tool) => [tool.tool_name, tool.replay])
|
|
10582
10588
|
);
|
|
@@ -10809,7 +10815,7 @@ var init_chunk_WEXVYJ5H = __esm({
|
|
|
10809
10815
|
}
|
|
10810
10816
|
});
|
|
10811
10817
|
|
|
10812
|
-
// ../../packages/core/dist/chunk-
|
|
10818
|
+
// ../../packages/core/dist/chunk-O65PHXK6.js
|
|
10813
10819
|
function refineToolConfig(value, ctx) {
|
|
10814
10820
|
const raw = value.tool_config;
|
|
10815
10821
|
if (raw == null) return;
|
|
@@ -10845,10 +10851,10 @@ function refineToolConfig(value, ctx) {
|
|
|
10845
10851
|
}
|
|
10846
10852
|
}
|
|
10847
10853
|
var toolIdParam, listToolsQuery, toolAgentQuery, deleteToolQuery, toolConnectionsQuery, nativeToolIdSchema, CONTEXT_BOUNDARIES, contextBoundarySchema, addNativeToolBody, addMcpToolBody, toolReplaySettingsFields, toolReplaySettingsSchema, createCustomToolBody, updateCustomToolBody, updateToolExecutionConfigBody;
|
|
10848
|
-
var
|
|
10849
|
-
"../../packages/core/dist/chunk-
|
|
10854
|
+
var init_chunk_O65PHXK6 = __esm({
|
|
10855
|
+
"../../packages/core/dist/chunk-O65PHXK6.js"() {
|
|
10850
10856
|
"use strict";
|
|
10851
|
-
|
|
10857
|
+
init_chunk_CGQWQYWY();
|
|
10852
10858
|
init_chunk_WEXVYJ5H();
|
|
10853
10859
|
init_chunk_HZ6CADSY();
|
|
10854
10860
|
init_zod();
|
|
@@ -12197,7 +12203,7 @@ var init_chunk_T4Q5COKJ = __esm({
|
|
|
12197
12203
|
}
|
|
12198
12204
|
});
|
|
12199
12205
|
|
|
12200
|
-
// ../../packages/core/dist/chunk-
|
|
12206
|
+
// ../../packages/core/dist/chunk-6PAEFCFT.js
|
|
12201
12207
|
function refineHubAsCodeCustomTools(config, ctx) {
|
|
12202
12208
|
const agents = config.agents;
|
|
12203
12209
|
if (!Array.isArray(agents)) return;
|
|
@@ -12781,12 +12787,12 @@ function skillSectionsAsResources(scope) {
|
|
|
12781
12787
|
};
|
|
12782
12788
|
}
|
|
12783
12789
|
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_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;
|
|
12784
|
-
var
|
|
12785
|
-
"../../packages/core/dist/chunk-
|
|
12790
|
+
var init_chunk_6PAEFCFT = __esm({
|
|
12791
|
+
"../../packages/core/dist/chunk-6PAEFCFT.js"() {
|
|
12786
12792
|
"use strict";
|
|
12787
|
-
|
|
12793
|
+
init_chunk_O65PHXK6();
|
|
12788
12794
|
init_chunk_EE5FYMSX();
|
|
12789
|
-
|
|
12795
|
+
init_chunk_E32ZC76C();
|
|
12790
12796
|
init_chunk_LBDH7LCG();
|
|
12791
12797
|
init_chunk_4LXDRTO4();
|
|
12792
12798
|
init_chunk_T4Q5COKJ();
|
|
@@ -13800,13 +13806,13 @@ var init_chunk_LQY2OCQL = __esm({
|
|
|
13800
13806
|
}
|
|
13801
13807
|
});
|
|
13802
13808
|
|
|
13803
|
-
// ../../packages/core/dist/chunk-
|
|
13809
|
+
// ../../packages/core/dist/chunk-7FHUVBQ2.js
|
|
13804
13810
|
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;
|
|
13805
|
-
var
|
|
13806
|
-
"../../packages/core/dist/chunk-
|
|
13811
|
+
var init_chunk_7FHUVBQ2 = __esm({
|
|
13812
|
+
"../../packages/core/dist/chunk-7FHUVBQ2.js"() {
|
|
13807
13813
|
"use strict";
|
|
13808
13814
|
init_chunk_LQY2OCQL();
|
|
13809
|
-
|
|
13815
|
+
init_chunk_E32ZC76C();
|
|
13810
13816
|
init_chunk_3HSB6J4J();
|
|
13811
13817
|
init_chunk_5XEJSR22();
|
|
13812
13818
|
init_chunk_DHPUPI4Y();
|
|
@@ -15073,7 +15079,7 @@ var init_contracts = __esm({
|
|
|
15073
15079
|
init_chunk_Y7CFCYX4();
|
|
15074
15080
|
init_chunk_5DGHIY7L();
|
|
15075
15081
|
init_chunk_N4FMK4UY();
|
|
15076
|
-
|
|
15082
|
+
init_chunk_C2BKAZB7();
|
|
15077
15083
|
init_chunk_BEOHBREG();
|
|
15078
15084
|
init_chunk_IPDOHAZ5();
|
|
15079
15085
|
init_chunk_YUZFHVB2();
|
|
@@ -15088,12 +15094,12 @@ var init_contracts = __esm({
|
|
|
15088
15094
|
init_chunk_LWMLR2WI();
|
|
15089
15095
|
init_chunk_ACGAI25T();
|
|
15090
15096
|
init_chunk_MH4O3YEX();
|
|
15091
|
-
|
|
15097
|
+
init_chunk_SURLRMEK();
|
|
15092
15098
|
init_chunk_KSTYTQ7I();
|
|
15093
15099
|
init_chunk_LKBSHANA();
|
|
15094
15100
|
init_chunk_BPCNB5RT();
|
|
15095
|
-
|
|
15096
|
-
|
|
15101
|
+
init_chunk_6PAEFCFT();
|
|
15102
|
+
init_chunk_O65PHXK6();
|
|
15097
15103
|
init_chunk_EE5FYMSX();
|
|
15098
15104
|
init_chunk_JDJ4EUOL();
|
|
15099
15105
|
init_chunk_ZLJP22IA();
|
|
@@ -15103,9 +15109,9 @@ var init_contracts = __esm({
|
|
|
15103
15109
|
init_chunk_YULHXJ5M();
|
|
15104
15110
|
init_chunk_V4FRPRH5();
|
|
15105
15111
|
init_chunk_ZHJEQBXJ();
|
|
15106
|
-
|
|
15112
|
+
init_chunk_7FHUVBQ2();
|
|
15107
15113
|
init_chunk_LQY2OCQL();
|
|
15108
|
-
|
|
15114
|
+
init_chunk_E32ZC76C();
|
|
15109
15115
|
init_chunk_3HSB6J4J();
|
|
15110
15116
|
init_chunk_IG6QBZMA();
|
|
15111
15117
|
init_chunk_ZJJ5ODOD();
|
|
@@ -15115,8 +15121,8 @@ var init_contracts = __esm({
|
|
|
15115
15121
|
init_chunk_E4DIIOOE();
|
|
15116
15122
|
init_chunk_7CYHPF35();
|
|
15117
15123
|
init_chunk_VMAX5YRT();
|
|
15118
|
-
|
|
15119
|
-
|
|
15124
|
+
init_chunk_CGQWQYWY();
|
|
15125
|
+
init_chunk_VZTO5ZM7();
|
|
15120
15126
|
init_chunk_NVKU5PPQ();
|
|
15121
15127
|
init_chunk_7LN3OG3F();
|
|
15122
15128
|
init_chunk_FECLIZTY();
|
|
@@ -22061,7 +22067,12 @@ var init_config_writer = __esm({
|
|
|
22061
22067
|
"expose_fields",
|
|
22062
22068
|
"default_fields",
|
|
22063
22069
|
"agent_minimal",
|
|
22064
|
-
"base_filter"
|
|
22070
|
+
"base_filter",
|
|
22071
|
+
// A SQL Action: `sql` last, so its query reads as one block at the end of the file.
|
|
22072
|
+
"record_types",
|
|
22073
|
+
"params",
|
|
22074
|
+
"limit",
|
|
22075
|
+
"sql"
|
|
22065
22076
|
],
|
|
22066
22077
|
seeds: ["id", "description", "records", "relationships", "exclusive_record_types"]
|
|
22067
22078
|
};
|