@mastra/slack 1.7.3-alpha.0 → 1.8.0-alpha.0
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.cjs +76 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -28
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +40 -28
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +75 -34
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -16,7 +16,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
}
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
20
20
|
value: mod,
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
@@ -293,6 +293,7 @@ const DEFAULT_BOT_SCOPES = [
|
|
|
293
293
|
"users:read",
|
|
294
294
|
"reactions:write",
|
|
295
295
|
"files:read",
|
|
296
|
+
"files:write",
|
|
296
297
|
"assistant:write"
|
|
297
298
|
];
|
|
298
299
|
/**
|
|
@@ -315,7 +316,7 @@ function buildManifest(options) {
|
|
|
315
316
|
if (slashCommands.length > 0) scopes.push("commands");
|
|
316
317
|
const MAX_DESC = 139;
|
|
317
318
|
const rawDescription = description ?? `${name} - Powered by Mastra`;
|
|
318
|
-
const shortDescription = rawDescription.length > MAX_DESC ? rawDescription.slice(0,
|
|
319
|
+
const shortDescription = rawDescription.length > MAX_DESC ? rawDescription.slice(0, 136) + "..." : rawDescription;
|
|
319
320
|
const manifest = {
|
|
320
321
|
display_information: {
|
|
321
322
|
name,
|
|
@@ -360,7 +361,7 @@ function buildManifest(options) {
|
|
|
360
361
|
return manifest;
|
|
361
362
|
}
|
|
362
363
|
//#endregion
|
|
363
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
364
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/util.js
|
|
364
365
|
function getEnumValues(entries) {
|
|
365
366
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
366
367
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -660,6 +661,17 @@ function prefixIssues(path, issues) {
|
|
|
660
661
|
function unwrapMessage(message) {
|
|
661
662
|
return typeof message === "string" ? message : message?.message;
|
|
662
663
|
}
|
|
664
|
+
/** The leading size checks of `defChecks` that set an upper bound, each paired with it. */
|
|
665
|
+
function sizeCaps(defChecks) {
|
|
666
|
+
const caps = [];
|
|
667
|
+
for (const ch of defChecks ?? []) {
|
|
668
|
+
const d = ch._zod.def;
|
|
669
|
+
if (!/_(length|size)$|_equals$/.test(d.check)) break;
|
|
670
|
+
const max = d.maximum ?? d.length ?? d.size;
|
|
671
|
+
if (max >= 0) caps.push([max, ch]);
|
|
672
|
+
}
|
|
673
|
+
return caps;
|
|
674
|
+
}
|
|
663
675
|
function attachSchema(issues, start, inst) {
|
|
664
676
|
var _a;
|
|
665
677
|
for (let i = start; i < issues.length; i++) (_a = issues[i]).schema ?? (_a.schema = inst);
|
|
@@ -667,8 +679,10 @@ function attachSchema(issues, start, inst) {
|
|
|
667
679
|
function finalizeIssue(iss, ctx, config) {
|
|
668
680
|
var _a;
|
|
669
681
|
const traits = iss.inst?._zod?.traits;
|
|
670
|
-
if (traits?.has("$ZodType"))
|
|
671
|
-
|
|
682
|
+
if (traits?.has("$ZodType")) {
|
|
683
|
+
if (traits.has("$ZodCheck")) (_a = iss).schema ?? (_a.schema = iss.inst);
|
|
684
|
+
else iss.schema = iss.inst;
|
|
685
|
+
}
|
|
672
686
|
const schemaError = iss.schema !== iss.inst ? iss.schema?._zod.def?.error : void 0;
|
|
673
687
|
const message = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(schemaError?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config.customError?.(iss)) ?? unwrapMessage(config.localeError?.(iss)) ?? "Invalid input";
|
|
674
688
|
const full = {};
|
|
@@ -750,6 +764,7 @@ function hide(inst, key, value) {
|
|
|
750
764
|
return own(inst, key, value, false);
|
|
751
765
|
}
|
|
752
766
|
/** Adds members a table derives from the instance: each builds on first read and shadows as own data, and assignment shadows the same way, as when these were own properties. */
|
|
767
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
753
768
|
function derived(computes, table) {
|
|
754
769
|
for (const key in computes) {
|
|
755
770
|
const compute = computes[key];
|
|
@@ -874,7 +889,7 @@ function constantCatch(value) {
|
|
|
874
889
|
return fn;
|
|
875
890
|
}
|
|
876
891
|
//#endregion
|
|
877
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
892
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/core.js
|
|
878
893
|
var _a$1;
|
|
879
894
|
const _zodDesc = {
|
|
880
895
|
value: void 0,
|
|
@@ -901,6 +916,7 @@ function newError(Definition) {
|
|
|
901
916
|
}
|
|
902
917
|
return new Definition();
|
|
903
918
|
}
|
|
919
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
904
920
|
function $constructor(name, initializer, proto, params) {
|
|
905
921
|
const zodProto = {};
|
|
906
922
|
function Internals(def) {
|
|
@@ -980,7 +996,7 @@ function config(newConfig) {
|
|
|
980
996
|
return globalConfig;
|
|
981
997
|
}
|
|
982
998
|
//#endregion
|
|
983
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
999
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/errors.js
|
|
984
1000
|
function _getMessage() {
|
|
985
1001
|
const internals = this._zod;
|
|
986
1002
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -1031,19 +1047,20 @@ const initializer$1 = (inst, def) => {
|
|
|
1031
1047
|
});
|
|
1032
1048
|
}
|
|
1033
1049
|
};
|
|
1034
|
-
const $ZodError = $constructor("$ZodError", initializer$1);
|
|
1035
|
-
$constructor("$ZodError", initializer$1, void 0, { Parent: Error });
|
|
1050
|
+
const $ZodError = /* @__PURE__ */ $constructor("$ZodError", initializer$1);
|
|
1036
1051
|
/** Get-or-create `obj[key]` as an own data property. A path segment naming an inherited member
|
|
1037
1052
|
* ("toString", "constructor") would otherwise read through to the prototype, and assigning
|
|
1038
1053
|
* "__proto__" would hit the setter instead of creating a key. */
|
|
1039
1054
|
function node(obj, key, make) {
|
|
1040
|
-
if (!Object.prototype.hasOwnProperty.call(obj, key))
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1055
|
+
if (!Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
1056
|
+
if (key === "__proto__") Object.defineProperty(obj, key, {
|
|
1057
|
+
value: make(),
|
|
1058
|
+
writable: true,
|
|
1059
|
+
enumerable: true,
|
|
1060
|
+
configurable: true
|
|
1061
|
+
});
|
|
1062
|
+
else obj[key] = make();
|
|
1063
|
+
}
|
|
1047
1064
|
return obj[key];
|
|
1048
1065
|
}
|
|
1049
1066
|
function flattenError(error, mapper = (issue) => issue.message) {
|
|
@@ -1094,7 +1111,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
1094
1111
|
return fieldErrors;
|
|
1095
1112
|
}
|
|
1096
1113
|
//#endregion
|
|
1097
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
1114
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/parse.js
|
|
1098
1115
|
function finalizeParams(callee, params) {
|
|
1099
1116
|
return {
|
|
1100
1117
|
callee: params?.callee ?? callee,
|
|
@@ -1297,7 +1314,7 @@ const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1297
1314
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
1298
1315
|
};
|
|
1299
1316
|
//#endregion
|
|
1300
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
1317
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/regexes.js
|
|
1301
1318
|
/**
|
|
1302
1319
|
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
1303
1320
|
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
@@ -1366,7 +1383,7 @@ const anyString = /^[\s\S]{0,}$/;
|
|
|
1366
1383
|
const lowercase = /^[^A-Z]*$/;
|
|
1367
1384
|
const uppercase = /^[^a-z]*$/;
|
|
1368
1385
|
//#endregion
|
|
1369
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
1386
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/checks.js
|
|
1370
1387
|
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
1371
1388
|
var _a;
|
|
1372
1389
|
inst._zod ?? (inst._zod = {});
|
|
@@ -1546,7 +1563,7 @@ const $ZodCheckOverwrite = /*@__PURE__*/ $constructor("$ZodCheckOverwrite", (ins
|
|
|
1546
1563
|
};
|
|
1547
1564
|
});
|
|
1548
1565
|
//#endregion
|
|
1549
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
1566
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/doc.js
|
|
1550
1567
|
var Doc = class {
|
|
1551
1568
|
constructor(args = [], closed = {}) {
|
|
1552
1569
|
this.content = [];
|
|
@@ -1580,14 +1597,14 @@ var Doc = class {
|
|
|
1580
1597
|
}
|
|
1581
1598
|
};
|
|
1582
1599
|
//#endregion
|
|
1583
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
1600
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/versions.js
|
|
1584
1601
|
const version = {
|
|
1585
1602
|
major: 4,
|
|
1586
1603
|
minor: 6,
|
|
1587
|
-
patch:
|
|
1604
|
+
patch: 7
|
|
1588
1605
|
};
|
|
1589
1606
|
//#endregion
|
|
1590
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
1607
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/schemas.js
|
|
1591
1608
|
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
1592
1609
|
var _a;
|
|
1593
1610
|
inst ?? (inst = {});
|
|
@@ -2042,6 +2059,26 @@ const $ZodNever = /*@__PURE__*/ $constructor("$ZodNever", (inst, def) => {
|
|
|
2042
2059
|
return payload;
|
|
2043
2060
|
};
|
|
2044
2061
|
});
|
|
2062
|
+
function capSize(inst, size) {
|
|
2063
|
+
const caps = sizeCaps(inst._zod.def.checks);
|
|
2064
|
+
if (!caps.length) return;
|
|
2065
|
+
const cap = Math.min(...caps.map((c) => c[0]));
|
|
2066
|
+
const parse = inst._zod.parse;
|
|
2067
|
+
inst._zod.parse = (payload, ctx) => {
|
|
2068
|
+
const n = size(payload.value);
|
|
2069
|
+
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
2070
|
+
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) if (n > max && ch._zod.def.when(payload)) {
|
|
2071
|
+
const start = payload.issues.length;
|
|
2072
|
+
ch._zod.check(payload);
|
|
2073
|
+
payload.issues[start].continue = false;
|
|
2074
|
+
attachSchema(payload.issues, start, inst);
|
|
2075
|
+
return payload;
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
return parse(payload, ctx);
|
|
2079
|
+
};
|
|
2080
|
+
}
|
|
2081
|
+
const arraySize = (input) => Array.isArray(input) ? input.length : -1;
|
|
2045
2082
|
function handleArrayResult(result, final, index) {
|
|
2046
2083
|
if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
|
|
2047
2084
|
final.value[index] = result.value;
|
|
@@ -2079,6 +2116,7 @@ const $ZodArray = /*@__PURE__*/ $constructor("$ZodArray", (inst, def) => {
|
|
|
2079
2116
|
if (proms.length) return Promise.all(proms).then(() => payload);
|
|
2080
2117
|
return payload;
|
|
2081
2118
|
};
|
|
2119
|
+
capSize(inst, arraySize);
|
|
2082
2120
|
});
|
|
2083
2121
|
function handlePropertyResult(result, final, key, input, optin, optout) {
|
|
2084
2122
|
const isPresent = key in input;
|
|
@@ -2763,7 +2801,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
2763
2801
|
}
|
|
2764
2802
|
}
|
|
2765
2803
|
//#endregion
|
|
2766
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
2804
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/memoizer.js
|
|
2767
2805
|
var $ZodCyclicError = class extends Error {
|
|
2768
2806
|
constructor() {
|
|
2769
2807
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -3016,7 +3054,7 @@ function isBackEdge(ctx, value) {
|
|
|
3016
3054
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
3017
3055
|
}
|
|
3018
3056
|
//#endregion
|
|
3019
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
3057
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/locales/en.js
|
|
3020
3058
|
const error = () => {
|
|
3021
3059
|
const Sizable = {
|
|
3022
3060
|
string: {
|
|
@@ -3124,7 +3162,7 @@ function en_default() {
|
|
|
3124
3162
|
return { localeError: error() };
|
|
3125
3163
|
}
|
|
3126
3164
|
//#endregion
|
|
3127
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
3165
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/registries.js
|
|
3128
3166
|
var _a;
|
|
3129
3167
|
var $ZodRegistry = class {
|
|
3130
3168
|
constructor() {
|
|
@@ -3171,7 +3209,7 @@ function registry() {
|
|
|
3171
3209
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
3172
3210
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
3173
3211
|
//#endregion
|
|
3174
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
3212
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/api.js
|
|
3175
3213
|
function snapshotChecks(def) {
|
|
3176
3214
|
if (def.checks) def.checks = [...def.checks];
|
|
3177
3215
|
return def;
|
|
@@ -3611,7 +3649,7 @@ function _check(fn, params) {
|
|
|
3611
3649
|
return ch;
|
|
3612
3650
|
}
|
|
3613
3651
|
//#endregion
|
|
3614
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
3652
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/to-json-schema.js
|
|
3615
3653
|
function assignProps(target, ...sources) {
|
|
3616
3654
|
for (const source of sources) for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProp(target, key, source[key]);
|
|
3617
3655
|
return target;
|
|
@@ -3976,8 +4014,10 @@ function finalize(ctx, schema) {
|
|
|
3976
4014
|
}
|
|
3977
4015
|
}
|
|
3978
4016
|
if (ctx.external) ctx.sharedEmitDoneFor = ctx.external;
|
|
3979
|
-
if (ctx.external) {} else if (Object.keys(defs).length > 0)
|
|
3980
|
-
|
|
4017
|
+
if (ctx.external) {} else if (Object.keys(defs).length > 0) {
|
|
4018
|
+
if (ctx.target === "draft-2020-12") result.$defs = defs;
|
|
4019
|
+
else result.definitions = defs;
|
|
4020
|
+
}
|
|
3981
4021
|
try {
|
|
3982
4022
|
const finalized = JSON.parse(JSON.stringify(result));
|
|
3983
4023
|
Object.defineProperty(finalized, "~standard", {
|
|
@@ -4053,7 +4093,7 @@ const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params)
|
|
|
4053
4093
|
return finalize(ctx, schema);
|
|
4054
4094
|
};
|
|
4055
4095
|
//#endregion
|
|
4056
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
4096
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/core/json-schema-processors.js
|
|
4057
4097
|
const narrowMin = (agg, key, value) => {
|
|
4058
4098
|
if (agg[key] === void 0 || value > agg[key]) agg[key] = value;
|
|
4059
4099
|
};
|
|
@@ -4343,7 +4383,7 @@ const optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
4343
4383
|
seen.ref = def.innerType;
|
|
4344
4384
|
};
|
|
4345
4385
|
//#endregion
|
|
4346
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
4386
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/classic/errors.js
|
|
4347
4387
|
const _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
4348
4388
|
function _lazyMethod(proto, key, make) {
|
|
4349
4389
|
Object.defineProperty(proto, key, {
|
|
@@ -4393,7 +4433,7 @@ const initializer = (inst, issues) => {
|
|
|
4393
4433
|
};
|
|
4394
4434
|
const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, void 0, { Parent: Error });
|
|
4395
4435
|
//#endregion
|
|
4396
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
4436
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/classic/parse.js
|
|
4397
4437
|
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
4398
4438
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
4399
4439
|
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -4407,7 +4447,7 @@ const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
4407
4447
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
4408
4448
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
4409
4449
|
//#endregion
|
|
4410
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.
|
|
4450
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/zod/4.6.7/4c9f15c99caaca8b83ba8ab68f247a75121c86fb7e498876ed36daccd0f3d3ce/node_modules/zod/v4/classic/schemas.js
|
|
4411
4451
|
function _ensureDefaultLocale() {
|
|
4412
4452
|
if (!globalConfig.localeError) config(en_default());
|
|
4413
4453
|
}
|
|
@@ -5218,13 +5258,14 @@ function stripTrailingSlash(url) {
|
|
|
5218
5258
|
* fallback or preserved options.
|
|
5219
5259
|
*/
|
|
5220
5260
|
function resolveSlackAdapterConfig(channelConfig) {
|
|
5221
|
-
const { adapterConfig, cors, gateway, formatError, streaming: topLevelStreaming, textFormat, typingStatus, toolDisplay: topLevelToolDisplay } = channelConfig;
|
|
5261
|
+
const { adapterConfig, cors, gateway, formatError, streaming: topLevelStreaming, textFormat, textDisplay, typingStatus, toolDisplay: topLevelToolDisplay } = channelConfig;
|
|
5222
5262
|
const filteredTopLevel = Object.fromEntries(Object.entries({
|
|
5223
5263
|
cors,
|
|
5224
5264
|
gateway,
|
|
5225
5265
|
formatError,
|
|
5226
5266
|
streaming: topLevelStreaming,
|
|
5227
5267
|
textFormat,
|
|
5268
|
+
textDisplay,
|
|
5228
5269
|
typingStatus,
|
|
5229
5270
|
toolDisplay: topLevelToolDisplay
|
|
5230
5271
|
}).filter(([, value]) => value !== void 0));
|