@probelabs/visor 0.1.70 → 0.1.72

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.
Files changed (38) hide show
  1. package/README.md +124 -30
  2. package/dist/ai-review-service.d.ts +1 -0
  3. package/dist/ai-review-service.d.ts.map +1 -1
  4. package/dist/check-execution-engine.d.ts +13 -0
  5. package/dist/check-execution-engine.d.ts.map +1 -1
  6. package/dist/cli-main.d.ts.map +1 -1
  7. package/dist/config.d.ts.map +1 -1
  8. package/dist/failure-condition-evaluator.d.ts +1 -1
  9. package/dist/failure-condition-evaluator.d.ts.map +1 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +4003 -44
  12. package/dist/providers/command-check-provider.d.ts +1 -1
  13. package/dist/providers/command-check-provider.d.ts.map +1 -1
  14. package/dist/sdk/check-execution-engine-RXV4MUD2.mjs +9 -0
  15. package/dist/sdk/check-execution-engine-RXV4MUD2.mjs.map +1 -0
  16. package/dist/sdk/chunk-FIL2OGF6.mjs +68 -0
  17. package/dist/sdk/chunk-FIL2OGF6.mjs.map +1 -0
  18. package/dist/sdk/chunk-J355UUEI.mjs +8301 -0
  19. package/dist/sdk/chunk-J355UUEI.mjs.map +1 -0
  20. package/dist/sdk/chunk-U5D2LY66.mjs +245 -0
  21. package/dist/sdk/chunk-U5D2LY66.mjs.map +1 -0
  22. package/dist/sdk/chunk-WMJKH4XE.mjs +34 -0
  23. package/dist/sdk/chunk-WMJKH4XE.mjs.map +1 -0
  24. package/dist/sdk/config-merger-TWUBWFC2.mjs +8 -0
  25. package/dist/sdk/config-merger-TWUBWFC2.mjs.map +1 -0
  26. package/dist/sdk/liquid-extensions-KDECAJTV.mjs +12 -0
  27. package/dist/sdk/liquid-extensions-KDECAJTV.mjs.map +1 -0
  28. package/dist/sdk/sdk.d.mts +568 -0
  29. package/dist/sdk/sdk.d.ts +568 -0
  30. package/dist/sdk/sdk.js +9827 -0
  31. package/dist/sdk/sdk.js.map +1 -0
  32. package/dist/sdk/sdk.mjs +1006 -0
  33. package/dist/sdk/sdk.mjs.map +1 -0
  34. package/dist/sdk.d.ts +28 -0
  35. package/dist/sdk.d.ts.map +1 -0
  36. package/dist/types/config.d.ts +63 -0
  37. package/dist/types/config.d.ts.map +1 -1
  38. package/package.json +20 -3
@@ -0,0 +1,245 @@
1
+ // src/utils/config-merger.ts
2
+ var ConfigMerger = class {
3
+ /**
4
+ * Merge two configurations with child overriding parent
5
+ * @param parent - Base configuration
6
+ * @param child - Configuration to merge on top
7
+ * @returns Merged configuration
8
+ */
9
+ merge(parent, child) {
10
+ const result = this.deepCopy(parent);
11
+ if (child.version !== void 0) result.version = child.version;
12
+ if (child.ai_model !== void 0) result.ai_model = child.ai_model;
13
+ if (child.ai_provider !== void 0) result.ai_provider = child.ai_provider;
14
+ if (child.max_parallelism !== void 0) result.max_parallelism = child.max_parallelism;
15
+ if (child.fail_fast !== void 0) result.fail_fast = child.fail_fast;
16
+ if (child.fail_if !== void 0) result.fail_if = child.fail_if;
17
+ if (child.failure_conditions !== void 0)
18
+ result.failure_conditions = child.failure_conditions;
19
+ if (child.env) {
20
+ result.env = this.mergeObjects(parent.env || {}, child.env);
21
+ }
22
+ if (child.output) {
23
+ result.output = this.mergeOutputConfig(parent.output, child.output);
24
+ }
25
+ if (child.checks) {
26
+ result.checks = this.mergeChecks(parent.checks || {}, child.checks);
27
+ }
28
+ return result;
29
+ }
30
+ /**
31
+ * Deep copy an object
32
+ */
33
+ deepCopy(obj) {
34
+ if (obj === null || obj === void 0) {
35
+ return obj;
36
+ }
37
+ if (obj instanceof Date) {
38
+ return new Date(obj.getTime());
39
+ }
40
+ if (obj instanceof Array) {
41
+ const copy = [];
42
+ for (const item of obj) {
43
+ copy.push(this.deepCopy(item));
44
+ }
45
+ return copy;
46
+ }
47
+ if (obj instanceof Object) {
48
+ const copy = {};
49
+ for (const key in obj) {
50
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
51
+ copy[key] = this.deepCopy(obj[key]);
52
+ }
53
+ }
54
+ return copy;
55
+ }
56
+ return obj;
57
+ }
58
+ /**
59
+ * Merge two objects (child overrides parent)
60
+ */
61
+ mergeObjects(parent, child) {
62
+ const result = { ...parent };
63
+ for (const key in child) {
64
+ if (Object.prototype.hasOwnProperty.call(child, key)) {
65
+ const parentValue = parent[key];
66
+ const childValue = child[key];
67
+ if (childValue === null || childValue === void 0) {
68
+ delete result[key];
69
+ } else if (typeof parentValue === "object" && typeof childValue === "object" && !Array.isArray(parentValue) && !Array.isArray(childValue) && parentValue !== null && childValue !== null) {
70
+ result[key] = this.mergeObjects(
71
+ parentValue,
72
+ childValue
73
+ );
74
+ } else {
75
+ result[key] = this.deepCopy(childValue);
76
+ }
77
+ }
78
+ }
79
+ return result;
80
+ }
81
+ /**
82
+ * Merge output configurations
83
+ */
84
+ mergeOutputConfig(parent, child) {
85
+ if (!child) return parent;
86
+ if (!parent) return child;
87
+ const result = this.deepCopy(parent);
88
+ if (child.pr_comment) {
89
+ result.pr_comment = this.mergeObjects(
90
+ parent.pr_comment || {},
91
+ child.pr_comment
92
+ );
93
+ }
94
+ if (child.file_comment !== void 0) {
95
+ if (child.file_comment === null) {
96
+ delete result.file_comment;
97
+ } else {
98
+ result.file_comment = this.mergeObjects(
99
+ parent.file_comment || {},
100
+ child.file_comment
101
+ );
102
+ }
103
+ }
104
+ if (child.github_checks !== void 0) {
105
+ if (child.github_checks === null) {
106
+ delete result.github_checks;
107
+ } else {
108
+ result.github_checks = this.mergeObjects(
109
+ parent.github_checks || {},
110
+ child.github_checks
111
+ );
112
+ }
113
+ }
114
+ return result;
115
+ }
116
+ /**
117
+ * Merge check configurations with special handling
118
+ */
119
+ mergeChecks(parent, child) {
120
+ const result = {};
121
+ for (const [checkName, checkConfig] of Object.entries(parent)) {
122
+ result[checkName] = this.deepCopy(checkConfig);
123
+ }
124
+ for (const [checkName, childConfig] of Object.entries(child)) {
125
+ const parentConfig = parent[checkName];
126
+ if (!parentConfig) {
127
+ const copiedConfig = this.deepCopy(childConfig);
128
+ if (!copiedConfig.type) {
129
+ copiedConfig.type = "ai";
130
+ }
131
+ if (!copiedConfig.on) {
132
+ copiedConfig.on = ["manual"];
133
+ }
134
+ if (copiedConfig.appendPrompt !== void 0) {
135
+ if (!copiedConfig.prompt) {
136
+ copiedConfig.prompt = copiedConfig.appendPrompt;
137
+ } else {
138
+ copiedConfig.prompt = copiedConfig.prompt + "\n\n" + copiedConfig.appendPrompt;
139
+ }
140
+ delete copiedConfig.appendPrompt;
141
+ }
142
+ result[checkName] = copiedConfig;
143
+ } else {
144
+ result[checkName] = this.mergeCheckConfig(parentConfig, childConfig);
145
+ }
146
+ }
147
+ return result;
148
+ }
149
+ /**
150
+ * Merge individual check configurations
151
+ */
152
+ mergeCheckConfig(parent, child) {
153
+ const result = this.deepCopy(parent);
154
+ if (child.type !== void 0) result.type = child.type;
155
+ if (!result.type) {
156
+ result.type = "ai";
157
+ }
158
+ if (child.prompt !== void 0) result.prompt = child.prompt;
159
+ if (child.appendPrompt !== void 0) {
160
+ if (result.prompt) {
161
+ result.prompt = result.prompt + "\n\n" + child.appendPrompt;
162
+ } else {
163
+ result.prompt = child.appendPrompt;
164
+ }
165
+ delete result.appendPrompt;
166
+ }
167
+ if (child.exec !== void 0) result.exec = child.exec;
168
+ if (child.stdin !== void 0) result.stdin = child.stdin;
169
+ if (child.url !== void 0) result.url = child.url;
170
+ if (child.focus !== void 0) result.focus = child.focus;
171
+ if (child.command !== void 0) result.command = child.command;
172
+ if (child.ai_model !== void 0) result.ai_model = child.ai_model;
173
+ if (child.ai_provider !== void 0) result.ai_provider = child.ai_provider;
174
+ if (child.group !== void 0) result.group = child.group;
175
+ if (child.schema !== void 0) result.schema = child.schema;
176
+ if (child.if !== void 0) result.if = child.if;
177
+ if (child.reuse_ai_session !== void 0) result.reuse_ai_session = child.reuse_ai_session;
178
+ if (child.fail_if !== void 0) result.fail_if = child.fail_if;
179
+ if (child.failure_conditions !== void 0)
180
+ result.failure_conditions = child.failure_conditions;
181
+ if (child.on !== void 0) {
182
+ if (Array.isArray(child.on) && child.on.length === 0) {
183
+ result.on = [];
184
+ } else {
185
+ result.on = [...child.on];
186
+ }
187
+ }
188
+ if (!result.on) {
189
+ result.on = ["manual"];
190
+ }
191
+ if (child.triggers !== void 0) {
192
+ result.triggers = child.triggers ? [...child.triggers] : void 0;
193
+ }
194
+ if (child.depends_on !== void 0) {
195
+ result.depends_on = child.depends_on ? [...child.depends_on] : void 0;
196
+ }
197
+ if (child.env) {
198
+ result.env = this.mergeObjects(
199
+ parent.env || {},
200
+ child.env
201
+ );
202
+ }
203
+ if (child.ai) {
204
+ result.ai = this.mergeObjects(
205
+ parent.ai || {},
206
+ child.ai
207
+ );
208
+ }
209
+ if (child.template) {
210
+ result.template = this.mergeObjects(
211
+ parent.template || {},
212
+ child.template
213
+ );
214
+ }
215
+ return result;
216
+ }
217
+ /**
218
+ * Check if a check is disabled (has empty 'on' array)
219
+ */
220
+ isCheckDisabled(check) {
221
+ return Array.isArray(check.on) && check.on.length === 0;
222
+ }
223
+ /**
224
+ * Remove disabled checks from the configuration
225
+ */
226
+ removeDisabledChecks(config) {
227
+ if (!config.checks) return config;
228
+ const result = this.deepCopy(config);
229
+ const enabledChecks = {};
230
+ for (const [checkName, checkConfig] of Object.entries(result.checks)) {
231
+ if (!this.isCheckDisabled(checkConfig)) {
232
+ enabledChecks[checkName] = checkConfig;
233
+ } else {
234
+ console.log(`\u2139\uFE0F Check '${checkName}' is disabled (empty 'on' array)`);
235
+ }
236
+ }
237
+ result.checks = enabledChecks;
238
+ return result;
239
+ }
240
+ };
241
+
242
+ export {
243
+ ConfigMerger
244
+ };
245
+ //# sourceMappingURL=chunk-U5D2LY66.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/config-merger.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { VisorConfig, CheckConfig } from '../types/config';\n\n/**\n * Utility class for merging Visor configurations with proper override semantics\n */\nexport class ConfigMerger {\n /**\n * Merge two configurations with child overriding parent\n * @param parent - Base configuration\n * @param child - Configuration to merge on top\n * @returns Merged configuration\n */\n public merge(parent: Partial<VisorConfig>, child: Partial<VisorConfig>): Partial<VisorConfig> {\n // Start with a deep copy of parent\n const result: Partial<VisorConfig> = this.deepCopy(parent);\n\n // Merge simple properties (child overrides parent)\n if (child.version !== undefined) result.version = child.version;\n if (child.ai_model !== undefined) result.ai_model = child.ai_model;\n if (child.ai_provider !== undefined) result.ai_provider = child.ai_provider;\n if (child.max_parallelism !== undefined) result.max_parallelism = child.max_parallelism;\n if (child.fail_fast !== undefined) result.fail_fast = child.fail_fast;\n if (child.fail_if !== undefined) result.fail_if = child.fail_if;\n if (child.failure_conditions !== undefined)\n result.failure_conditions = child.failure_conditions;\n\n // Merge environment variables (deep merge)\n if (child.env) {\n result.env = this.mergeObjects(parent.env || {}, child.env);\n }\n\n // Merge output configuration (deep merge)\n if (child.output) {\n result.output = this.mergeOutputConfig(parent.output, child.output);\n }\n\n // Merge checks (special handling)\n if (child.checks) {\n result.checks = this.mergeChecks(parent.checks || {}, child.checks);\n }\n\n // Note: extends should not be in the final merged config\n // It's only used during the loading process\n\n return result;\n }\n\n /**\n * Deep copy an object\n */\n private deepCopy<T>(obj: T): T {\n if (obj === null || obj === undefined) {\n return obj;\n }\n if (obj instanceof Date) {\n return new Date(obj.getTime()) as unknown as T;\n }\n if (obj instanceof Array) {\n const copy: unknown[] = [];\n for (const item of obj) {\n copy.push(this.deepCopy(item));\n }\n return copy as unknown as T;\n }\n if (obj instanceof Object) {\n const copy = {} as Record<string, unknown>;\n for (const key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n copy[key] = this.deepCopy((obj as any)[key]);\n }\n }\n return copy as T;\n }\n return obj;\n }\n\n /**\n * Merge two objects (child overrides parent)\n */\n private mergeObjects<T extends Record<string, any>>(parent: T, child: T): T {\n const result: any = { ...parent };\n\n for (const key in child) {\n if (Object.prototype.hasOwnProperty.call(child, key)) {\n const parentValue = parent[key];\n const childValue = child[key];\n\n if (childValue === null || childValue === undefined) {\n // null/undefined in child removes the key\n delete result[key];\n } else if (\n typeof parentValue === 'object' &&\n typeof childValue === 'object' &&\n !Array.isArray(parentValue) &&\n !Array.isArray(childValue) &&\n parentValue !== null &&\n childValue !== null\n ) {\n // Deep merge objects\n result[key] = this.mergeObjects(\n parentValue as Record<string, any>,\n childValue as Record<string, any>\n );\n } else {\n // Child overrides parent (including arrays)\n result[key] = this.deepCopy(childValue);\n }\n }\n }\n\n return result;\n }\n\n /**\n * Merge output configurations\n */\n private mergeOutputConfig(\n parent?: Partial<VisorConfig>['output'],\n child?: Partial<VisorConfig>['output']\n ): Partial<VisorConfig>['output'] {\n if (!child) return parent;\n if (!parent) return child;\n\n const result: any = this.deepCopy(parent);\n\n // Merge pr_comment\n if (child.pr_comment) {\n result.pr_comment = this.mergeObjects(\n (parent.pr_comment || {}) as Record<string, any>,\n child.pr_comment as Record<string, any>\n ) as any;\n }\n\n // Merge file_comment\n if (child.file_comment !== undefined) {\n if (child.file_comment === null) {\n delete result.file_comment;\n } else {\n result.file_comment = this.mergeObjects(\n (parent.file_comment || {}) as Record<string, any>,\n child.file_comment as Record<string, any>\n ) as any;\n }\n }\n\n // Merge github_checks\n if (child.github_checks !== undefined) {\n if (child.github_checks === null) {\n delete result.github_checks;\n } else {\n result.github_checks = this.mergeObjects(\n (parent.github_checks || {}) as Record<string, any>,\n child.github_checks as Record<string, any>\n ) as any;\n }\n }\n\n return result;\n }\n\n /**\n * Merge check configurations with special handling\n */\n private mergeChecks(\n parent: Record<string, CheckConfig>,\n child: Record<string, CheckConfig>\n ): Record<string, CheckConfig> {\n const result: Record<string, CheckConfig> = {};\n\n // Start with all parent checks\n for (const [checkName, checkConfig] of Object.entries(parent)) {\n result[checkName] = this.deepCopy(checkConfig);\n }\n\n // Process child checks\n for (const [checkName, childConfig] of Object.entries(child)) {\n const parentConfig = parent[checkName];\n\n if (!parentConfig) {\n // New check - need to process appendPrompt even without parent\n const copiedConfig = this.deepCopy(childConfig);\n\n // Default to 'ai' type if not specified\n if (!copiedConfig.type) {\n copiedConfig.type = 'ai';\n }\n\n // Default 'on' to ['manual'] if not specified\n if (!copiedConfig.on) {\n copiedConfig.on = ['manual'];\n }\n\n // Handle appendPrompt for new checks (convert to prompt)\n if (copiedConfig.appendPrompt !== undefined) {\n // If there's no parent, appendPrompt becomes the prompt\n if (!copiedConfig.prompt) {\n copiedConfig.prompt = copiedConfig.appendPrompt;\n } else {\n // If both prompt and appendPrompt exist in child, append them\n copiedConfig.prompt = copiedConfig.prompt + '\\n\\n' + copiedConfig.appendPrompt;\n }\n // Remove appendPrompt from final config\n delete copiedConfig.appendPrompt;\n }\n\n result[checkName] = copiedConfig;\n } else {\n // Merge existing check\n result[checkName] = this.mergeCheckConfig(parentConfig, childConfig);\n }\n }\n\n return result;\n }\n\n /**\n * Merge individual check configurations\n */\n private mergeCheckConfig(parent: CheckConfig, child: CheckConfig): CheckConfig {\n const result: CheckConfig = this.deepCopy(parent);\n\n // Simple properties (child overrides parent)\n if (child.type !== undefined) result.type = child.type;\n\n // Default to 'ai' type if not specified in either parent or child\n if (!result.type) {\n result.type = 'ai';\n }\n if (child.prompt !== undefined) result.prompt = child.prompt;\n\n // Handle appendPrompt - append to existing prompt\n if (child.appendPrompt !== undefined) {\n if (result.prompt) {\n // Append with a newline separator if parent has a prompt\n result.prompt = result.prompt + '\\n\\n' + child.appendPrompt;\n } else {\n // If no parent prompt, appendPrompt becomes the prompt\n result.prompt = child.appendPrompt;\n }\n // Don't carry forward appendPrompt to avoid re-appending\n delete result.appendPrompt;\n }\n\n if (child.exec !== undefined) result.exec = child.exec;\n if (child.stdin !== undefined) result.stdin = child.stdin;\n if (child.url !== undefined) result.url = child.url;\n if (child.focus !== undefined) result.focus = child.focus;\n if (child.command !== undefined) result.command = child.command;\n if (child.ai_model !== undefined) result.ai_model = child.ai_model;\n if (child.ai_provider !== undefined) result.ai_provider = child.ai_provider;\n if (child.group !== undefined) result.group = child.group;\n if (child.schema !== undefined) result.schema = child.schema;\n if (child.if !== undefined) result.if = child.if;\n if (child.reuse_ai_session !== undefined) result.reuse_ai_session = child.reuse_ai_session;\n if (child.fail_if !== undefined) result.fail_if = child.fail_if;\n if (child.failure_conditions !== undefined)\n result.failure_conditions = child.failure_conditions;\n\n // Special handling for 'on' array\n if (child.on !== undefined) {\n if (Array.isArray(child.on) && child.on.length === 0) {\n // Empty array disables the check\n result.on = [];\n } else {\n // Replace parent's on array\n result.on = [...child.on];\n }\n }\n\n // Default 'on' to ['manual'] if still not specified\n if (!result.on) {\n result.on = ['manual'];\n }\n\n // Arrays that get replaced (not concatenated)\n if (child.triggers !== undefined) {\n result.triggers = child.triggers ? [...child.triggers] : undefined;\n }\n if (child.depends_on !== undefined) {\n result.depends_on = child.depends_on ? [...child.depends_on] : undefined;\n }\n\n // Deep merge objects\n if (child.env) {\n result.env = this.mergeObjects(\n (parent.env || {}) as Record<string, any>,\n child.env as Record<string, any>\n );\n }\n if (child.ai) {\n result.ai = this.mergeObjects(\n (parent.ai || {}) as Record<string, any>,\n child.ai as Record<string, any>\n );\n }\n if (child.template) {\n result.template = this.mergeObjects(\n (parent.template || {}) as Record<string, any>,\n child.template as Record<string, any>\n );\n }\n\n return result;\n }\n\n /**\n * Check if a check is disabled (has empty 'on' array)\n */\n public isCheckDisabled(check: CheckConfig): boolean {\n return Array.isArray(check.on) && check.on.length === 0;\n }\n\n /**\n * Remove disabled checks from the configuration\n */\n public removeDisabledChecks(config: Partial<VisorConfig>): Partial<VisorConfig> {\n if (!config.checks) return config;\n\n const result = this.deepCopy(config);\n const enabledChecks: Record<string, CheckConfig> = {};\n\n for (const [checkName, checkConfig] of Object.entries(result.checks!)) {\n if (!this.isCheckDisabled(checkConfig)) {\n enabledChecks[checkName] = checkConfig;\n } else {\n console.log(`ℹ️ Check '${checkName}' is disabled (empty 'on' array)`);\n }\n }\n\n result.checks = enabledChec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getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
6
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
7
+ }) : x)(function(x) {
8
+ if (typeof require !== "undefined") return require.apply(this, arguments);
9
+ throw Error('Dynamic require of "' + x + '" is not supported');
10
+ });
11
+ var __esm = (fn, res) => function __init() {
12
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
13
+ };
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+
28
+ export {
29
+ __require,
30
+ __esm,
31
+ __export,
32
+ __toCommonJS
33
+ };
34
+ //# sourceMappingURL=chunk-WMJKH4XE.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,8 @@
1
+ import {
2
+ ConfigMerger
3
+ } from "./chunk-U5D2LY66.mjs";
4
+ import "./chunk-WMJKH4XE.mjs";
5
+ export {
6
+ ConfigMerger
7
+ };
8
+ //# sourceMappingURL=config-merger-TWUBWFC2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,12 @@
1
+ import {
2
+ ReadFileTag,
3
+ configureLiquidWithExtensions,
4
+ createExtendedLiquid
5
+ } from "./chunk-FIL2OGF6.mjs";
6
+ import "./chunk-WMJKH4XE.mjs";
7
+ export {
8
+ ReadFileTag,
9
+ configureLiquidWithExtensions,
10
+ createExtendedLiquid
11
+ };
12
+ //# sourceMappingURL=liquid-extensions-KDECAJTV.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}