@code-yeongyu/lazycodex 0.1.1 → 0.1.2
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/bin/oh-my-opencode.js +2 -1
- package/bin/oh-my-opencode.test.ts +27 -2
- package/bin/platform.d.ts +2 -0
- package/bin/platform.js +6 -1
- package/bin/platform.test.ts +25 -0
- package/dist/cli/index.js +4 -4
- package/dist/index.js +224 -224
- package/package.json +3 -3
- package/packages/ast-grep-mcp/dist/cli.js +5 -5
package/dist/index.js
CHANGED
|
@@ -65,7 +65,7 @@ var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
|
65
65
|
import { createRequire as __omoCreateRequire } from "node:module";
|
|
66
66
|
var __require = typeof import.meta.require === "function" ? import.meta.require : __omoCreateRequire(import.meta.url);
|
|
67
67
|
|
|
68
|
-
//
|
|
68
|
+
// packages/utils/src/deep-merge.ts
|
|
69
69
|
function isPlainObject(value) {
|
|
70
70
|
return typeof value === "object" && value !== null && !Array.isArray(value) && Object.prototype.toString.call(value) === "[object Object]";
|
|
71
71
|
}
|
|
@@ -99,7 +99,7 @@ var init_deep_merge = __esm(() => {
|
|
|
99
99
|
DANGEROUS_KEYS = new Set(["__proto__", "constructor", "prototype"]);
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
//
|
|
102
|
+
// packages/utils/src/snake-case.ts
|
|
103
103
|
function camelToSnake(str) {
|
|
104
104
|
return str.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`);
|
|
105
105
|
}
|
|
@@ -130,11 +130,11 @@ var init_snake_case = __esm(() => {
|
|
|
130
130
|
init_deep_merge();
|
|
131
131
|
});
|
|
132
132
|
|
|
133
|
-
//
|
|
133
|
+
// packages/utils/src/record-type-guard.ts
|
|
134
134
|
function isRecord(value) {
|
|
135
135
|
return typeof value === "object" && value !== null;
|
|
136
136
|
}
|
|
137
|
-
//
|
|
137
|
+
// node_modules/.bun/js-yaml@4.1.1/node_modules/js-yaml/dist/js-yaml.mjs
|
|
138
138
|
function isNothing(subject) {
|
|
139
139
|
return typeof subject === "undefined" || subject === null;
|
|
140
140
|
}
|
|
@@ -2781,7 +2781,7 @@ var init_js_yaml = __esm(() => {
|
|
|
2781
2781
|
};
|
|
2782
2782
|
});
|
|
2783
2783
|
|
|
2784
|
-
//
|
|
2784
|
+
// packages/utils/src/frontmatter.ts
|
|
2785
2785
|
function parseFrontmatter(content) {
|
|
2786
2786
|
const frontmatterRegex = /^---\r?\n([\s\S]*?)\r?\n?---\r?\n([\s\S]*)$/;
|
|
2787
2787
|
const match = content.match(frontmatterRegex);
|
|
@@ -2802,7 +2802,7 @@ var init_frontmatter = __esm(() => {
|
|
|
2802
2802
|
init_js_yaml();
|
|
2803
2803
|
});
|
|
2804
2804
|
|
|
2805
|
-
//
|
|
2805
|
+
// packages/utils/src/file-utils.ts
|
|
2806
2806
|
import { lstatSync, realpathSync } from "fs";
|
|
2807
2807
|
import { promises as fs } from "fs";
|
|
2808
2808
|
function normalizeDarwinRealpath(filePath) {
|
|
@@ -2834,7 +2834,7 @@ async function resolveSymlinkAsync(filePath) {
|
|
|
2834
2834
|
}
|
|
2835
2835
|
var init_file_utils = () => {};
|
|
2836
2836
|
|
|
2837
|
-
//
|
|
2837
|
+
// packages/utils/src/contains-path.ts
|
|
2838
2838
|
import { existsSync, realpathSync as realpathSync2 } from "fs";
|
|
2839
2839
|
import { basename, dirname, isAbsolute, join, normalize, relative, resolve } from "path";
|
|
2840
2840
|
function findNearestExistingAncestor(resolvedPath) {
|
|
@@ -2873,7 +2873,7 @@ function isWithinProject(candidatePath, projectRoot) {
|
|
|
2873
2873
|
}
|
|
2874
2874
|
var init_contains_path = () => {};
|
|
2875
2875
|
|
|
2876
|
-
//
|
|
2876
|
+
// packages/utils/src/port-utils.ts
|
|
2877
2877
|
import { createServer } from "net";
|
|
2878
2878
|
async function isPortAvailable(port, hostname = "127.0.0.1") {
|
|
2879
2879
|
return new Promise((resolve2) => {
|
|
@@ -2934,7 +2934,7 @@ async function getAvailableServerPort(preferredPort = DEFAULT_SERVER_PORT, hostn
|
|
|
2934
2934
|
var DEFAULT_SERVER_PORT = 4096, MAX_PORT_ATTEMPTS = 20, PORT_CHECK_TIMEOUT_MS = 2000;
|
|
2935
2935
|
var init_port_utils = () => {};
|
|
2936
2936
|
|
|
2937
|
-
//
|
|
2937
|
+
// packages/utils/src/tool-name.ts
|
|
2938
2938
|
function toPascalCase(str2) {
|
|
2939
2939
|
return str2.split(/[-_\s]+/).map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()).join("");
|
|
2940
2940
|
}
|
|
@@ -2959,12 +2959,12 @@ var init_tool_name = __esm(() => {
|
|
|
2959
2959
|
};
|
|
2960
2960
|
});
|
|
2961
2961
|
|
|
2962
|
-
//
|
|
2962
|
+
// packages/utils/src/replace-tool-args.ts
|
|
2963
2963
|
function replaceToolArgs(output, patch) {
|
|
2964
2964
|
output.args = { ...output.args, ...patch };
|
|
2965
2965
|
}
|
|
2966
2966
|
|
|
2967
|
-
//
|
|
2967
|
+
// packages/utils/src/format-duration.ts
|
|
2968
2968
|
function formatDurationHuman(milliseconds) {
|
|
2969
2969
|
const totalSeconds = Math.max(0, Math.floor(milliseconds / 1000));
|
|
2970
2970
|
const hours = Math.floor(totalSeconds / 3600);
|
|
@@ -2979,7 +2979,7 @@ function formatDurationHuman(milliseconds) {
|
|
|
2979
2979
|
return `${seconds}s`;
|
|
2980
2980
|
}
|
|
2981
2981
|
|
|
2982
|
-
//
|
|
2982
|
+
// node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/scanner.js
|
|
2983
2983
|
function createScanner(text, ignoreTrivia = false) {
|
|
2984
2984
|
const len = text.length;
|
|
2985
2985
|
let pos = 0, value = "", tokenOffset = 0, token = 16, lineNumber = 0, lineStartOffset = 0, tokenLineStartOffset = 0, prevTokenLineStartOffset = 0, scanError = 0;
|
|
@@ -3396,7 +3396,7 @@ var init_scanner = __esm(() => {
|
|
|
3396
3396
|
})(CharacterCodes || (CharacterCodes = {}));
|
|
3397
3397
|
});
|
|
3398
3398
|
|
|
3399
|
-
//
|
|
3399
|
+
// node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/string-intern.js
|
|
3400
3400
|
var cachedSpaces, maxCachedValues = 200, cachedBreakLinesWithSpaces, supportedEols;
|
|
3401
3401
|
var init_string_intern = __esm(() => {
|
|
3402
3402
|
cachedSpaces = new Array(20).fill(0).map((_, index) => {
|
|
@@ -3435,7 +3435,7 @@ var init_string_intern = __esm(() => {
|
|
|
3435
3435
|
`];
|
|
3436
3436
|
});
|
|
3437
3437
|
|
|
3438
|
-
//
|
|
3438
|
+
// node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/format.js
|
|
3439
3439
|
function format(documentText, range, options) {
|
|
3440
3440
|
let initialIndentLevel;
|
|
3441
3441
|
let formatText;
|
|
@@ -3679,7 +3679,7 @@ var init_format = __esm(() => {
|
|
|
3679
3679
|
init_string_intern();
|
|
3680
3680
|
});
|
|
3681
3681
|
|
|
3682
|
-
//
|
|
3682
|
+
// node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/parser.js
|
|
3683
3683
|
function parse(text, errors = [], options = ParseOptions.DEFAULT) {
|
|
3684
3684
|
let currentProperty = null;
|
|
3685
3685
|
let currentParent = [];
|
|
@@ -4094,7 +4094,7 @@ var init_parser = __esm(() => {
|
|
|
4094
4094
|
})(ParseOptions || (ParseOptions = {}));
|
|
4095
4095
|
});
|
|
4096
4096
|
|
|
4097
|
-
//
|
|
4097
|
+
// node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/edit.js
|
|
4098
4098
|
function setProperty2(text, originalPath, value, options) {
|
|
4099
4099
|
const path = originalPath.slice();
|
|
4100
4100
|
const errors = [];
|
|
@@ -4242,7 +4242,7 @@ var init_edit = __esm(() => {
|
|
|
4242
4242
|
init_parser();
|
|
4243
4243
|
});
|
|
4244
4244
|
|
|
4245
|
-
//
|
|
4245
|
+
// node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/main.js
|
|
4246
4246
|
function printParseErrorCode(code) {
|
|
4247
4247
|
switch (code) {
|
|
4248
4248
|
case 1:
|
|
@@ -4358,7 +4358,7 @@ var init_main = __esm(() => {
|
|
|
4358
4358
|
})(ParseErrorCode || (ParseErrorCode = {}));
|
|
4359
4359
|
});
|
|
4360
4360
|
|
|
4361
|
-
//
|
|
4361
|
+
// packages/utils/src/jsonc-parser.ts
|
|
4362
4362
|
import { existsSync as existsSync2, readFileSync } from "fs";
|
|
4363
4363
|
import { join as join2 } from "path";
|
|
4364
4364
|
function getPluginConfigCacheKey(dir, options) {
|
|
@@ -4449,7 +4449,7 @@ var init_jsonc_parser = __esm(() => {
|
|
|
4449
4449
|
pluginConfigFileDetectionCache = new Map;
|
|
4450
4450
|
});
|
|
4451
4451
|
|
|
4452
|
-
//
|
|
4452
|
+
// packages/utils/src/index.ts
|
|
4453
4453
|
var init_src = __esm(() => {
|
|
4454
4454
|
init_deep_merge();
|
|
4455
4455
|
init_snake_case();
|
|
@@ -4898,7 +4898,7 @@ var init_file_reference_resolver = __esm(() => {
|
|
|
4898
4898
|
FILE_REFERENCE_PATTERN = /@([^\s@]+)/g;
|
|
4899
4899
|
});
|
|
4900
4900
|
|
|
4901
|
-
//
|
|
4901
|
+
// packages/model-core/src/model-requirements.ts
|
|
4902
4902
|
var AGENT_MODEL_REQUIREMENTS, CATEGORY_MODEL_REQUIREMENTS;
|
|
4903
4903
|
var init_model_requirements = __esm(() => {
|
|
4904
4904
|
AGENT_MODEL_REQUIREMENTS = {
|
|
@@ -5232,7 +5232,7 @@ var init_model_requirements = __esm(() => {
|
|
|
5232
5232
|
};
|
|
5233
5233
|
});
|
|
5234
5234
|
|
|
5235
|
-
//
|
|
5235
|
+
// packages/model-core/src/model-family-detectors.ts
|
|
5236
5236
|
function extractModelName(model) {
|
|
5237
5237
|
return model.includes("/") ? model.split("/").pop() ?? model : model;
|
|
5238
5238
|
}
|
|
@@ -5273,7 +5273,7 @@ var init_model_family_detectors = __esm(() => {
|
|
|
5273
5273
|
GEMINI_PROVIDERS = ["google/", "google-vertex/"];
|
|
5274
5274
|
});
|
|
5275
5275
|
|
|
5276
|
-
//
|
|
5276
|
+
// packages/model-core/src/model-capability-aliases.ts
|
|
5277
5277
|
function normalizeLookupModelID(modelID) {
|
|
5278
5278
|
return modelID.trim().toLowerCase();
|
|
5279
5279
|
}
|
|
@@ -5358,7 +5358,7 @@ var init_model_capability_aliases = __esm(() => {
|
|
|
5358
5358
|
];
|
|
5359
5359
|
});
|
|
5360
5360
|
|
|
5361
|
-
//
|
|
5361
|
+
// packages/model-core/src/model-normalization.ts
|
|
5362
5362
|
function normalizeModel(model) {
|
|
5363
5363
|
const trimmed = model?.trim();
|
|
5364
5364
|
return trimmed || undefined;
|
|
@@ -5367,7 +5367,7 @@ function normalizeModelID(modelID) {
|
|
|
5367
5367
|
return modelID.replace(/\.(\d+)/g, "-$1");
|
|
5368
5368
|
}
|
|
5369
5369
|
|
|
5370
|
-
//
|
|
5370
|
+
// packages/model-core/src/model-capability-heuristics.ts
|
|
5371
5371
|
function detectHeuristicModelFamily(modelID) {
|
|
5372
5372
|
const normalizedModelID = normalizeModelID(modelID).toLowerCase();
|
|
5373
5373
|
for (const definition of HEURISTIC_MODEL_FAMILY_REGISTRY) {
|
|
@@ -5471,13 +5471,13 @@ var init_model_capability_heuristics = __esm(() => {
|
|
|
5471
5471
|
];
|
|
5472
5472
|
});
|
|
5473
5473
|
|
|
5474
|
-
//
|
|
5474
|
+
// packages/model-core/src/model-capability-guardrails.ts
|
|
5475
5475
|
var init_model_capability_guardrails = __esm(() => {
|
|
5476
5476
|
init_model_capability_aliases();
|
|
5477
5477
|
init_model_requirements();
|
|
5478
5478
|
});
|
|
5479
5479
|
|
|
5480
|
-
//
|
|
5480
|
+
// packages/model-core/src/model-settings-compatibility.ts
|
|
5481
5481
|
function downgradeWithinLadder(value, allowed, ladder) {
|
|
5482
5482
|
const requestedIndex = ladder.indexOf(value);
|
|
5483
5483
|
if (requestedIndex === -1)
|
|
@@ -5611,7 +5611,7 @@ var init_model_settings_compatibility = __esm(() => {
|
|
|
5611
5611
|
REASONING_LADDER = ["none", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
5612
5612
|
});
|
|
5613
5613
|
|
|
5614
|
-
//
|
|
5614
|
+
// packages/model-core/src/model-availability.ts
|
|
5615
5615
|
function normalizeModelName(name) {
|
|
5616
5616
|
return name.toLowerCase().replace(/claude-(opus|sonnet|haiku)-(\d+)[.-](\d+)/g, "claude-$1-$2.$3");
|
|
5617
5617
|
}
|
|
@@ -5649,7 +5649,7 @@ function fuzzyMatchModel(target, available, providers) {
|
|
|
5649
5649
|
return matches.reduce((shortest, current) => current.length < shortest.length ? current : shortest);
|
|
5650
5650
|
}
|
|
5651
5651
|
|
|
5652
|
-
//
|
|
5652
|
+
// packages/model-core/src/provider-model-id-transform.ts
|
|
5653
5653
|
function inferSubProvider(model) {
|
|
5654
5654
|
if (model.startsWith("claude-"))
|
|
5655
5655
|
return "anthropic";
|
|
@@ -5708,7 +5708,7 @@ var init_provider_model_id_transform = __esm(() => {
|
|
|
5708
5708
|
GEMINI_3_FLASH_PREVIEW = /gemini-3-flash(?!-)/g;
|
|
5709
5709
|
});
|
|
5710
5710
|
|
|
5711
|
-
//
|
|
5711
|
+
// packages/model-core/src/model-resolution-pipeline.ts
|
|
5712
5712
|
function log2(message, data) {
|
|
5713
5713
|
const logImplementation = logImplementationForTesting;
|
|
5714
5714
|
if (!logImplementation) {
|
|
@@ -5898,7 +5898,7 @@ var init_model_resolution_pipeline = __esm(() => {
|
|
|
5898
5898
|
};
|
|
5899
5899
|
});
|
|
5900
5900
|
|
|
5901
|
-
//
|
|
5901
|
+
// packages/model-core/src/known-variants.ts
|
|
5902
5902
|
var KNOWN_VARIANTS;
|
|
5903
5903
|
var init_known_variants = __esm(() => {
|
|
5904
5904
|
KNOWN_VARIANTS = new Set([
|
|
@@ -5914,7 +5914,7 @@ var init_known_variants = __esm(() => {
|
|
|
5914
5914
|
]);
|
|
5915
5915
|
});
|
|
5916
5916
|
|
|
5917
|
-
//
|
|
5917
|
+
// packages/model-core/src/connected-providers-cache.ts
|
|
5918
5918
|
var exports_connected_providers_cache = {};
|
|
5919
5919
|
__export(exports_connected_providers_cache, {
|
|
5920
5920
|
readProviderModelsCache: () => readProviderModelsCache,
|
|
@@ -5940,7 +5940,7 @@ var init_connected_providers_cache = __esm(() => {
|
|
|
5940
5940
|
};
|
|
5941
5941
|
});
|
|
5942
5942
|
|
|
5943
|
-
//
|
|
5943
|
+
// packages/model-core/src/model-resolver.ts
|
|
5944
5944
|
function resolveModel(input) {
|
|
5945
5945
|
return normalizeModel(input.userModel) ?? normalizeModel(input.inheritedModel) ?? input.systemDefault;
|
|
5946
5946
|
}
|
|
@@ -5990,7 +5990,7 @@ var init_model_resolver = __esm(() => {
|
|
|
5990
5990
|
init_connected_providers_cache();
|
|
5991
5991
|
});
|
|
5992
5992
|
|
|
5993
|
-
//
|
|
5993
|
+
// packages/model-core/src/model-format-normalizer.ts
|
|
5994
5994
|
function normalizeModelFormat(model) {
|
|
5995
5995
|
if (!model) {
|
|
5996
5996
|
return;
|
|
@@ -6007,7 +6007,7 @@ function normalizeModelFormat(model) {
|
|
|
6007
6007
|
return;
|
|
6008
6008
|
}
|
|
6009
6009
|
|
|
6010
|
-
//
|
|
6010
|
+
// packages/model-core/src/model-string-parser.ts
|
|
6011
6011
|
function parseVariantFromModelID(rawModelID) {
|
|
6012
6012
|
if (typeof rawModelID !== "string") {
|
|
6013
6013
|
return { modelID: "" };
|
|
@@ -6068,7 +6068,7 @@ var init_model_string_parser = __esm(() => {
|
|
|
6068
6068
|
]);
|
|
6069
6069
|
});
|
|
6070
6070
|
|
|
6071
|
-
//
|
|
6071
|
+
// packages/model-core/src/model-sanitizer.ts
|
|
6072
6072
|
function sanitizeModelField(model, source = "claude-code") {
|
|
6073
6073
|
if (source === "claude-code") {
|
|
6074
6074
|
return;
|
|
@@ -6079,7 +6079,7 @@ function sanitizeModelField(model, source = "claude-code") {
|
|
|
6079
6079
|
return;
|
|
6080
6080
|
}
|
|
6081
6081
|
|
|
6082
|
-
//
|
|
6082
|
+
// packages/model-core/src/fallback-chain-from-models.ts
|
|
6083
6083
|
function parseVariantFromModel(rawModel) {
|
|
6084
6084
|
if (typeof rawModel !== "string") {
|
|
6085
6085
|
return { modelID: "" };
|
|
@@ -6174,7 +6174,7 @@ var init_fallback_chain_from_models = __esm(() => {
|
|
|
6174
6174
|
init_known_variants();
|
|
6175
6175
|
});
|
|
6176
6176
|
|
|
6177
|
-
//
|
|
6177
|
+
// packages/model-core/src/model-error-classifier.ts
|
|
6178
6178
|
function hasProviderAutoRetrySignal(message) {
|
|
6179
6179
|
if (!message.includes("retrying in")) {
|
|
6180
6180
|
return false;
|
|
@@ -6338,7 +6338,7 @@ var init_model_error_classifier = __esm(() => {
|
|
|
6338
6338
|
];
|
|
6339
6339
|
});
|
|
6340
6340
|
|
|
6341
|
-
//
|
|
6341
|
+
// packages/model-core/src/model-capabilities/supplemental-entries.ts
|
|
6342
6342
|
var SUPPLEMENTAL_MODEL_CAPABILITIES;
|
|
6343
6343
|
var init_supplemental_entries = __esm(() => {
|
|
6344
6344
|
SUPPLEMENTAL_MODEL_CAPABILITIES = {
|
|
@@ -6392,7 +6392,7 @@ var init_supplemental_entries = __esm(() => {
|
|
|
6392
6392
|
};
|
|
6393
6393
|
});
|
|
6394
6394
|
|
|
6395
|
-
//
|
|
6395
|
+
// packages/model-core/src/model-capabilities/bundled-snapshot.ts
|
|
6396
6396
|
function getBundledModelCapabilitiesSnapshot(snapshotJson) {
|
|
6397
6397
|
return {
|
|
6398
6398
|
...snapshotJson,
|
|
@@ -6406,7 +6406,7 @@ var init_bundled_snapshot = __esm(() => {
|
|
|
6406
6406
|
init_supplemental_entries();
|
|
6407
6407
|
});
|
|
6408
6408
|
|
|
6409
|
-
//
|
|
6409
|
+
// packages/model-core/src/model-capabilities/runtime-model-readers.ts
|
|
6410
6410
|
function isRecord2(value) {
|
|
6411
6411
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6412
6412
|
}
|
|
@@ -6534,7 +6534,7 @@ function readRuntimeModelLimitOutput(runtimeModel) {
|
|
|
6534
6534
|
return output && output > 0 ? output : undefined;
|
|
6535
6535
|
}
|
|
6536
6536
|
|
|
6537
|
-
//
|
|
6537
|
+
// packages/model-core/src/model-capabilities/get-model-capabilities.ts
|
|
6538
6538
|
function normalizeLookupModelID2(modelID) {
|
|
6539
6539
|
return modelID.trim().toLowerCase();
|
|
6540
6540
|
}
|
|
@@ -6609,13 +6609,13 @@ var init_get_model_capabilities = __esm(() => {
|
|
|
6609
6609
|
MODEL_ID_OVERRIDES = {};
|
|
6610
6610
|
});
|
|
6611
6611
|
|
|
6612
|
-
//
|
|
6612
|
+
// packages/model-core/src/model-capabilities/index.ts
|
|
6613
6613
|
var init_model_capabilities = __esm(() => {
|
|
6614
6614
|
init_bundled_snapshot();
|
|
6615
6615
|
init_get_model_capabilities();
|
|
6616
6616
|
});
|
|
6617
6617
|
|
|
6618
|
-
//
|
|
6618
|
+
// packages/model-core/src/context-limit-resolver.ts
|
|
6619
6619
|
import process2 from "process";
|
|
6620
6620
|
function isAnthropicProvider(providerID) {
|
|
6621
6621
|
const normalized = providerID.toLowerCase();
|
|
@@ -6644,7 +6644,7 @@ function resolveActualContextLimit(providerID, modelID, modelCacheState) {
|
|
|
6644
6644
|
var DEFAULT_ANTHROPIC_ACTUAL_LIMIT = 200000, ANTHROPIC_GA_1M_LIMIT = 1e6;
|
|
6645
6645
|
var init_context_limit_resolver = () => {};
|
|
6646
6646
|
|
|
6647
|
-
//
|
|
6647
|
+
// packages/model-core/src/model-capabilities-snapshot.ts
|
|
6648
6648
|
function isRecord3(value) {
|
|
6649
6649
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6650
6650
|
}
|
|
@@ -6759,7 +6759,7 @@ async function fetchModelCapabilitiesSnapshot(args = {}) {
|
|
|
6759
6759
|
}
|
|
6760
6760
|
var MODELS_DEV_SOURCE_URL = "https://models.dev/api.json";
|
|
6761
6761
|
|
|
6762
|
-
//
|
|
6762
|
+
// packages/model-core/src/parse-model-suggestion.ts
|
|
6763
6763
|
function extractMessage(error) {
|
|
6764
6764
|
if (typeof error === "string")
|
|
6765
6765
|
return error;
|
|
@@ -6818,7 +6818,7 @@ function parseModelSuggestion(error) {
|
|
|
6818
6818
|
return null;
|
|
6819
6819
|
}
|
|
6820
6820
|
|
|
6821
|
-
//
|
|
6821
|
+
// packages/model-core/src/index.ts
|
|
6822
6822
|
var init_src2 = __esm(() => {
|
|
6823
6823
|
init_model_resolver();
|
|
6824
6824
|
init_provider_model_id_transform();
|
|
@@ -58259,7 +58259,7 @@ var init_shared = __esm(() => {
|
|
|
58259
58259
|
init_replace_tool_args();
|
|
58260
58260
|
});
|
|
58261
58261
|
|
|
58262
|
-
//
|
|
58262
|
+
// node_modules/.bun/picomatch@4.0.4/node_modules/picomatch/lib/constants.js
|
|
58263
58263
|
var require_constants = __commonJS((exports, module) => {
|
|
58264
58264
|
var WIN_SLASH = "\\\\/";
|
|
58265
58265
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
@@ -58404,7 +58404,7 @@ var require_constants = __commonJS((exports, module) => {
|
|
|
58404
58404
|
};
|
|
58405
58405
|
});
|
|
58406
58406
|
|
|
58407
|
-
//
|
|
58407
|
+
// node_modules/.bun/picomatch@4.0.4/node_modules/picomatch/lib/utils.js
|
|
58408
58408
|
var require_utils = __commonJS((exports) => {
|
|
58409
58409
|
var {
|
|
58410
58410
|
REGEX_BACKSLASH,
|
|
@@ -58467,7 +58467,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
58467
58467
|
};
|
|
58468
58468
|
});
|
|
58469
58469
|
|
|
58470
|
-
//
|
|
58470
|
+
// node_modules/.bun/picomatch@4.0.4/node_modules/picomatch/lib/scan.js
|
|
58471
58471
|
var require_scan = __commonJS((exports, module) => {
|
|
58472
58472
|
var utils = require_utils();
|
|
58473
58473
|
var {
|
|
@@ -58782,7 +58782,7 @@ var require_scan = __commonJS((exports, module) => {
|
|
|
58782
58782
|
module.exports = scan;
|
|
58783
58783
|
});
|
|
58784
58784
|
|
|
58785
|
-
//
|
|
58785
|
+
// node_modules/.bun/picomatch@4.0.4/node_modules/picomatch/lib/parse.js
|
|
58786
58786
|
var require_parse = __commonJS((exports, module) => {
|
|
58787
58787
|
var constants5 = require_constants();
|
|
58788
58788
|
var utils = require_utils();
|
|
@@ -59784,7 +59784,7 @@ var require_parse = __commonJS((exports, module) => {
|
|
|
59784
59784
|
module.exports = parse3;
|
|
59785
59785
|
});
|
|
59786
59786
|
|
|
59787
|
-
//
|
|
59787
|
+
// node_modules/.bun/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js
|
|
59788
59788
|
var require_picomatch = __commonJS((exports, module) => {
|
|
59789
59789
|
var scan = require_scan();
|
|
59790
59790
|
var parse3 = require_parse();
|
|
@@ -59924,7 +59924,7 @@ var require_picomatch = __commonJS((exports, module) => {
|
|
|
59924
59924
|
module.exports = picomatch;
|
|
59925
59925
|
});
|
|
59926
59926
|
|
|
59927
|
-
//
|
|
59927
|
+
// node_modules/.bun/picomatch@4.0.4/node_modules/picomatch/index.js
|
|
59928
59928
|
var require_picomatch2 = __commonJS((exports, module) => {
|
|
59929
59929
|
var pico = require_picomatch();
|
|
59930
59930
|
var utils = require_utils();
|
|
@@ -60787,7 +60787,7 @@ var init_storage = __esm(() => {
|
|
|
60787
60787
|
init_constants4();
|
|
60788
60788
|
});
|
|
60789
60789
|
|
|
60790
|
-
//
|
|
60790
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
60791
60791
|
var require_code = __commonJS((exports) => {
|
|
60792
60792
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60793
60793
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = undefined;
|
|
@@ -60941,7 +60941,7 @@ var require_code = __commonJS((exports) => {
|
|
|
60941
60941
|
exports.regexpCode = regexpCode;
|
|
60942
60942
|
});
|
|
60943
60943
|
|
|
60944
|
-
//
|
|
60944
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
60945
60945
|
var require_scope = __commonJS((exports) => {
|
|
60946
60946
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60947
60947
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = undefined;
|
|
@@ -61087,7 +61087,7 @@ var require_scope = __commonJS((exports) => {
|
|
|
61087
61087
|
exports.ValueScope = ValueScope;
|
|
61088
61088
|
});
|
|
61089
61089
|
|
|
61090
|
-
//
|
|
61090
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
61091
61091
|
var require_codegen = __commonJS((exports) => {
|
|
61092
61092
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61093
61093
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = undefined;
|
|
@@ -61797,7 +61797,7 @@ var require_codegen = __commonJS((exports) => {
|
|
|
61797
61797
|
}
|
|
61798
61798
|
});
|
|
61799
61799
|
|
|
61800
|
-
//
|
|
61800
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
|
|
61801
61801
|
var require_util = __commonJS((exports) => {
|
|
61802
61802
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61803
61803
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = undefined;
|
|
@@ -61961,7 +61961,7 @@ var require_util = __commonJS((exports) => {
|
|
|
61961
61961
|
exports.checkStrictMode = checkStrictMode;
|
|
61962
61962
|
});
|
|
61963
61963
|
|
|
61964
|
-
//
|
|
61964
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
|
|
61965
61965
|
var require_names = __commonJS((exports) => {
|
|
61966
61966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61967
61967
|
var codegen_1 = require_codegen();
|
|
@@ -61986,7 +61986,7 @@ var require_names = __commonJS((exports) => {
|
|
|
61986
61986
|
exports.default = names;
|
|
61987
61987
|
});
|
|
61988
61988
|
|
|
61989
|
-
//
|
|
61989
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
|
|
61990
61990
|
var require_errors = __commonJS((exports) => {
|
|
61991
61991
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61992
61992
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = undefined;
|
|
@@ -62104,7 +62104,7 @@ var require_errors = __commonJS((exports) => {
|
|
|
62104
62104
|
}
|
|
62105
62105
|
});
|
|
62106
62106
|
|
|
62107
|
-
//
|
|
62107
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
62108
62108
|
var require_boolSchema = __commonJS((exports) => {
|
|
62109
62109
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62110
62110
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = undefined;
|
|
@@ -62152,7 +62152,7 @@ var require_boolSchema = __commonJS((exports) => {
|
|
|
62152
62152
|
}
|
|
62153
62153
|
});
|
|
62154
62154
|
|
|
62155
|
-
//
|
|
62155
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
|
|
62156
62156
|
var require_rules = __commonJS((exports) => {
|
|
62157
62157
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62158
62158
|
exports.getRules = exports.isJSONType = undefined;
|
|
@@ -62180,7 +62180,7 @@ var require_rules = __commonJS((exports) => {
|
|
|
62180
62180
|
exports.getRules = getRules;
|
|
62181
62181
|
});
|
|
62182
62182
|
|
|
62183
|
-
//
|
|
62183
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
62184
62184
|
var require_applicability = __commonJS((exports) => {
|
|
62185
62185
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62186
62186
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = undefined;
|
|
@@ -62200,7 +62200,7 @@ var require_applicability = __commonJS((exports) => {
|
|
|
62200
62200
|
exports.shouldUseRule = shouldUseRule;
|
|
62201
62201
|
});
|
|
62202
62202
|
|
|
62203
|
-
//
|
|
62203
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
62204
62204
|
var require_dataType = __commonJS((exports) => {
|
|
62205
62205
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62206
62206
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = undefined;
|
|
@@ -62381,7 +62381,7 @@ var require_dataType = __commonJS((exports) => {
|
|
|
62381
62381
|
}
|
|
62382
62382
|
});
|
|
62383
62383
|
|
|
62384
|
-
//
|
|
62384
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
62385
62385
|
var require_defaults = __commonJS((exports) => {
|
|
62386
62386
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62387
62387
|
exports.assignDefaults = undefined;
|
|
@@ -62415,7 +62415,7 @@ var require_defaults = __commonJS((exports) => {
|
|
|
62415
62415
|
}
|
|
62416
62416
|
});
|
|
62417
62417
|
|
|
62418
|
-
//
|
|
62418
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
|
|
62419
62419
|
var require_code2 = __commonJS((exports) => {
|
|
62420
62420
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62421
62421
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = undefined;
|
|
@@ -62544,7 +62544,7 @@ var require_code2 = __commonJS((exports) => {
|
|
|
62544
62544
|
exports.validateUnion = validateUnion;
|
|
62545
62545
|
});
|
|
62546
62546
|
|
|
62547
|
-
//
|
|
62547
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
62548
62548
|
var require_keyword = __commonJS((exports) => {
|
|
62549
62549
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62550
62550
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = undefined;
|
|
@@ -62659,7 +62659,7 @@ var require_keyword = __commonJS((exports) => {
|
|
|
62659
62659
|
exports.validateKeywordUsage = validateKeywordUsage;
|
|
62660
62660
|
});
|
|
62661
62661
|
|
|
62662
|
-
//
|
|
62662
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
62663
62663
|
var require_subschema = __commonJS((exports) => {
|
|
62664
62664
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62665
62665
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = undefined;
|
|
@@ -62739,7 +62739,7 @@ var require_subschema = __commonJS((exports) => {
|
|
|
62739
62739
|
exports.extendSubschemaMode = extendSubschemaMode;
|
|
62740
62740
|
});
|
|
62741
62741
|
|
|
62742
|
-
//
|
|
62742
|
+
// node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
62743
62743
|
var require_fast_deep_equal = __commonJS((exports, module) => {
|
|
62744
62744
|
module.exports = function equal(a, b) {
|
|
62745
62745
|
if (a === b)
|
|
@@ -62781,7 +62781,7 @@ var require_fast_deep_equal = __commonJS((exports, module) => {
|
|
|
62781
62781
|
};
|
|
62782
62782
|
});
|
|
62783
62783
|
|
|
62784
|
-
//
|
|
62784
|
+
// node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
62785
62785
|
var require_json_schema_traverse = __commonJS((exports, module) => {
|
|
62786
62786
|
var traverse = module.exports = function(schema2, opts, cb) {
|
|
62787
62787
|
if (typeof opts == "function") {
|
|
@@ -62864,7 +62864,7 @@ var require_json_schema_traverse = __commonJS((exports, module) => {
|
|
|
62864
62864
|
}
|
|
62865
62865
|
});
|
|
62866
62866
|
|
|
62867
|
-
//
|
|
62867
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
|
|
62868
62868
|
var require_resolve = __commonJS((exports) => {
|
|
62869
62869
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62870
62870
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = undefined;
|
|
@@ -63017,7 +63017,7 @@ var require_resolve = __commonJS((exports) => {
|
|
|
63017
63017
|
exports.getSchemaRefs = getSchemaRefs;
|
|
63018
63018
|
});
|
|
63019
63019
|
|
|
63020
|
-
//
|
|
63020
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
|
|
63021
63021
|
var require_validate = __commonJS((exports) => {
|
|
63022
63022
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63023
63023
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = undefined;
|
|
@@ -63522,7 +63522,7 @@ var require_validate = __commonJS((exports) => {
|
|
|
63522
63522
|
exports.getData = getData;
|
|
63523
63523
|
});
|
|
63524
63524
|
|
|
63525
|
-
//
|
|
63525
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
63526
63526
|
var require_validation_error = __commonJS((exports) => {
|
|
63527
63527
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63528
63528
|
|
|
@@ -63536,7 +63536,7 @@ var require_validation_error = __commonJS((exports) => {
|
|
|
63536
63536
|
exports.default = ValidationError;
|
|
63537
63537
|
});
|
|
63538
63538
|
|
|
63539
|
-
//
|
|
63539
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
|
|
63540
63540
|
var require_ref_error = __commonJS((exports) => {
|
|
63541
63541
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63542
63542
|
var resolve_1 = require_resolve();
|
|
@@ -63551,7 +63551,7 @@ var require_ref_error = __commonJS((exports) => {
|
|
|
63551
63551
|
exports.default = MissingRefError;
|
|
63552
63552
|
});
|
|
63553
63553
|
|
|
63554
|
-
//
|
|
63554
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
|
|
63555
63555
|
var require_compile = __commonJS((exports) => {
|
|
63556
63556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63557
63557
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = undefined;
|
|
@@ -63772,7 +63772,7 @@ var require_compile = __commonJS((exports) => {
|
|
|
63772
63772
|
}
|
|
63773
63773
|
});
|
|
63774
63774
|
|
|
63775
|
-
//
|
|
63775
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
|
|
63776
63776
|
var require_data = __commonJS((exports, module) => {
|
|
63777
63777
|
module.exports = {
|
|
63778
63778
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
@@ -63789,7 +63789,7 @@ var require_data = __commonJS((exports, module) => {
|
|
|
63789
63789
|
};
|
|
63790
63790
|
});
|
|
63791
63791
|
|
|
63792
|
-
//
|
|
63792
|
+
// node_modules/.bun/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js
|
|
63793
63793
|
var require_utils2 = __commonJS((exports, module) => {
|
|
63794
63794
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
63795
63795
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
@@ -64100,7 +64100,7 @@ var require_utils2 = __commonJS((exports, module) => {
|
|
|
64100
64100
|
};
|
|
64101
64101
|
});
|
|
64102
64102
|
|
|
64103
|
-
//
|
|
64103
|
+
// node_modules/.bun/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js
|
|
64104
64104
|
var require_schemes = __commonJS((exports, module) => {
|
|
64105
64105
|
var { isUUID } = require_utils2();
|
|
64106
64106
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
@@ -64274,7 +64274,7 @@ var require_schemes = __commonJS((exports, module) => {
|
|
|
64274
64274
|
};
|
|
64275
64275
|
});
|
|
64276
64276
|
|
|
64277
|
-
//
|
|
64277
|
+
// node_modules/.bun/fast-uri@3.1.2/node_modules/fast-uri/index.js
|
|
64278
64278
|
var require_fast_uri = __commonJS((exports, module) => {
|
|
64279
64279
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils2();
|
|
64280
64280
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -64556,7 +64556,7 @@ var require_fast_uri = __commonJS((exports, module) => {
|
|
|
64556
64556
|
module.exports.fastUri = fastUri;
|
|
64557
64557
|
});
|
|
64558
64558
|
|
|
64559
|
-
//
|
|
64559
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
|
|
64560
64560
|
var require_uri = __commonJS((exports) => {
|
|
64561
64561
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64562
64562
|
var uri = require_fast_uri();
|
|
@@ -64564,7 +64564,7 @@ var require_uri = __commonJS((exports) => {
|
|
|
64564
64564
|
exports.default = uri;
|
|
64565
64565
|
});
|
|
64566
64566
|
|
|
64567
|
-
//
|
|
64567
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/core.js
|
|
64568
64568
|
var require_core = __commonJS((exports) => {
|
|
64569
64569
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64570
64570
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = undefined;
|
|
@@ -65157,7 +65157,7 @@ var require_core = __commonJS((exports) => {
|
|
|
65157
65157
|
}
|
|
65158
65158
|
});
|
|
65159
65159
|
|
|
65160
|
-
//
|
|
65160
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
65161
65161
|
var require_id = __commonJS((exports) => {
|
|
65162
65162
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65163
65163
|
var def = {
|
|
@@ -65169,7 +65169,7 @@ var require_id = __commonJS((exports) => {
|
|
|
65169
65169
|
exports.default = def;
|
|
65170
65170
|
});
|
|
65171
65171
|
|
|
65172
|
-
//
|
|
65172
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
65173
65173
|
var require_ref = __commonJS((exports) => {
|
|
65174
65174
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65175
65175
|
exports.callRef = exports.getValidate = undefined;
|
|
@@ -65288,7 +65288,7 @@ var require_ref = __commonJS((exports) => {
|
|
|
65288
65288
|
exports.default = def;
|
|
65289
65289
|
});
|
|
65290
65290
|
|
|
65291
|
-
//
|
|
65291
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
65292
65292
|
var require_core2 = __commonJS((exports) => {
|
|
65293
65293
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65294
65294
|
var id_1 = require_id();
|
|
@@ -65306,7 +65306,7 @@ var require_core2 = __commonJS((exports) => {
|
|
|
65306
65306
|
exports.default = core2;
|
|
65307
65307
|
});
|
|
65308
65308
|
|
|
65309
|
-
//
|
|
65309
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
65310
65310
|
var require_limitNumber = __commonJS((exports) => {
|
|
65311
65311
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65312
65312
|
var codegen_1 = require_codegen();
|
|
@@ -65335,7 +65335,7 @@ var require_limitNumber = __commonJS((exports) => {
|
|
|
65335
65335
|
exports.default = def;
|
|
65336
65336
|
});
|
|
65337
65337
|
|
|
65338
|
-
//
|
|
65338
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
65339
65339
|
var require_multipleOf = __commonJS((exports) => {
|
|
65340
65340
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65341
65341
|
var codegen_1 = require_codegen();
|
|
@@ -65360,7 +65360,7 @@ var require_multipleOf = __commonJS((exports) => {
|
|
|
65360
65360
|
exports.default = def;
|
|
65361
65361
|
});
|
|
65362
65362
|
|
|
65363
|
-
//
|
|
65363
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
65364
65364
|
var require_ucs2length = __commonJS((exports) => {
|
|
65365
65365
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65366
65366
|
function ucs2length(str2) {
|
|
@@ -65383,7 +65383,7 @@ var require_ucs2length = __commonJS((exports) => {
|
|
|
65383
65383
|
ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
65384
65384
|
});
|
|
65385
65385
|
|
|
65386
|
-
//
|
|
65386
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
65387
65387
|
var require_limitLength = __commonJS((exports) => {
|
|
65388
65388
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65389
65389
|
var codegen_1 = require_codegen();
|
|
@@ -65412,7 +65412,7 @@ var require_limitLength = __commonJS((exports) => {
|
|
|
65412
65412
|
exports.default = def;
|
|
65413
65413
|
});
|
|
65414
65414
|
|
|
65415
|
-
//
|
|
65415
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
65416
65416
|
var require_pattern = __commonJS((exports) => {
|
|
65417
65417
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65418
65418
|
var code_1 = require_code2();
|
|
@@ -65446,7 +65446,7 @@ var require_pattern = __commonJS((exports) => {
|
|
|
65446
65446
|
exports.default = def;
|
|
65447
65447
|
});
|
|
65448
65448
|
|
|
65449
|
-
//
|
|
65449
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
65450
65450
|
var require_limitProperties = __commonJS((exports) => {
|
|
65451
65451
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65452
65452
|
var codegen_1 = require_codegen();
|
|
@@ -65472,7 +65472,7 @@ var require_limitProperties = __commonJS((exports) => {
|
|
|
65472
65472
|
exports.default = def;
|
|
65473
65473
|
});
|
|
65474
65474
|
|
|
65475
|
-
//
|
|
65475
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
65476
65476
|
var require_required = __commonJS((exports) => {
|
|
65477
65477
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65478
65478
|
var code_1 = require_code2();
|
|
@@ -65551,7 +65551,7 @@ var require_required = __commonJS((exports) => {
|
|
|
65551
65551
|
exports.default = def;
|
|
65552
65552
|
});
|
|
65553
65553
|
|
|
65554
|
-
//
|
|
65554
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
65555
65555
|
var require_limitItems = __commonJS((exports) => {
|
|
65556
65556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65557
65557
|
var codegen_1 = require_codegen();
|
|
@@ -65577,7 +65577,7 @@ var require_limitItems = __commonJS((exports) => {
|
|
|
65577
65577
|
exports.default = def;
|
|
65578
65578
|
});
|
|
65579
65579
|
|
|
65580
|
-
//
|
|
65580
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
|
|
65581
65581
|
var require_equal = __commonJS((exports) => {
|
|
65582
65582
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65583
65583
|
var equal = require_fast_deep_equal();
|
|
@@ -65585,7 +65585,7 @@ var require_equal = __commonJS((exports) => {
|
|
|
65585
65585
|
exports.default = equal;
|
|
65586
65586
|
});
|
|
65587
65587
|
|
|
65588
|
-
//
|
|
65588
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
65589
65589
|
var require_uniqueItems = __commonJS((exports) => {
|
|
65590
65590
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65591
65591
|
var dataType_1 = require_dataType();
|
|
@@ -65649,7 +65649,7 @@ var require_uniqueItems = __commonJS((exports) => {
|
|
|
65649
65649
|
exports.default = def;
|
|
65650
65650
|
});
|
|
65651
65651
|
|
|
65652
|
-
//
|
|
65652
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
65653
65653
|
var require_const = __commonJS((exports) => {
|
|
65654
65654
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65655
65655
|
var codegen_1 = require_codegen();
|
|
@@ -65675,7 +65675,7 @@ var require_const = __commonJS((exports) => {
|
|
|
65675
65675
|
exports.default = def;
|
|
65676
65676
|
});
|
|
65677
65677
|
|
|
65678
|
-
//
|
|
65678
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
65679
65679
|
var require_enum = __commonJS((exports) => {
|
|
65680
65680
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65681
65681
|
var codegen_1 = require_codegen();
|
|
@@ -65721,7 +65721,7 @@ var require_enum = __commonJS((exports) => {
|
|
|
65721
65721
|
exports.default = def;
|
|
65722
65722
|
});
|
|
65723
65723
|
|
|
65724
|
-
//
|
|
65724
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
65725
65725
|
var require_validation = __commonJS((exports) => {
|
|
65726
65726
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65727
65727
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -65751,7 +65751,7 @@ var require_validation = __commonJS((exports) => {
|
|
|
65751
65751
|
exports.default = validation;
|
|
65752
65752
|
});
|
|
65753
65753
|
|
|
65754
|
-
//
|
|
65754
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
65755
65755
|
var require_additionalItems = __commonJS((exports) => {
|
|
65756
65756
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65757
65757
|
exports.validateAdditionalItems = undefined;
|
|
@@ -65801,7 +65801,7 @@ var require_additionalItems = __commonJS((exports) => {
|
|
|
65801
65801
|
exports.default = def;
|
|
65802
65802
|
});
|
|
65803
65803
|
|
|
65804
|
-
//
|
|
65804
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
65805
65805
|
var require_items = __commonJS((exports) => {
|
|
65806
65806
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65807
65807
|
exports.validateTuple = undefined;
|
|
@@ -65855,7 +65855,7 @@ var require_items = __commonJS((exports) => {
|
|
|
65855
65855
|
exports.default = def;
|
|
65856
65856
|
});
|
|
65857
65857
|
|
|
65858
|
-
//
|
|
65858
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
65859
65859
|
var require_prefixItems = __commonJS((exports) => {
|
|
65860
65860
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65861
65861
|
var items_1 = require_items();
|
|
@@ -65869,7 +65869,7 @@ var require_prefixItems = __commonJS((exports) => {
|
|
|
65869
65869
|
exports.default = def;
|
|
65870
65870
|
});
|
|
65871
65871
|
|
|
65872
|
-
//
|
|
65872
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
65873
65873
|
var require_items2020 = __commonJS((exports) => {
|
|
65874
65874
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65875
65875
|
var codegen_1 = require_codegen();
|
|
@@ -65901,7 +65901,7 @@ var require_items2020 = __commonJS((exports) => {
|
|
|
65901
65901
|
exports.default = def;
|
|
65902
65902
|
});
|
|
65903
65903
|
|
|
65904
|
-
//
|
|
65904
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
65905
65905
|
var require_contains = __commonJS((exports) => {
|
|
65906
65906
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65907
65907
|
var codegen_1 = require_codegen();
|
|
@@ -65992,7 +65992,7 @@ var require_contains = __commonJS((exports) => {
|
|
|
65992
65992
|
exports.default = def;
|
|
65993
65993
|
});
|
|
65994
65994
|
|
|
65995
|
-
//
|
|
65995
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
65996
65996
|
var require_dependencies = __commonJS((exports) => {
|
|
65997
65997
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65998
65998
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = undefined;
|
|
@@ -66077,7 +66077,7 @@ var require_dependencies = __commonJS((exports) => {
|
|
|
66077
66077
|
exports.default = def;
|
|
66078
66078
|
});
|
|
66079
66079
|
|
|
66080
|
-
//
|
|
66080
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
66081
66081
|
var require_propertyNames = __commonJS((exports) => {
|
|
66082
66082
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66083
66083
|
var codegen_1 = require_codegen();
|
|
@@ -66117,7 +66117,7 @@ var require_propertyNames = __commonJS((exports) => {
|
|
|
66117
66117
|
exports.default = def;
|
|
66118
66118
|
});
|
|
66119
66119
|
|
|
66120
|
-
//
|
|
66120
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
66121
66121
|
var require_additionalProperties = __commonJS((exports) => {
|
|
66122
66122
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66123
66123
|
var code_1 = require_code2();
|
|
@@ -66220,7 +66220,7 @@ var require_additionalProperties = __commonJS((exports) => {
|
|
|
66220
66220
|
exports.default = def;
|
|
66221
66221
|
});
|
|
66222
66222
|
|
|
66223
|
-
//
|
|
66223
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
66224
66224
|
var require_properties = __commonJS((exports) => {
|
|
66225
66225
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66226
66226
|
var validate_1 = require_validate();
|
|
@@ -66275,7 +66275,7 @@ var require_properties = __commonJS((exports) => {
|
|
|
66275
66275
|
exports.default = def;
|
|
66276
66276
|
});
|
|
66277
66277
|
|
|
66278
|
-
//
|
|
66278
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
66279
66279
|
var require_patternProperties = __commonJS((exports) => {
|
|
66280
66280
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66281
66281
|
var code_1 = require_code2();
|
|
@@ -66346,7 +66346,7 @@ var require_patternProperties = __commonJS((exports) => {
|
|
|
66346
66346
|
exports.default = def;
|
|
66347
66347
|
});
|
|
66348
66348
|
|
|
66349
|
-
//
|
|
66349
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
66350
66350
|
var require_not = __commonJS((exports) => {
|
|
66351
66351
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66352
66352
|
var util_1 = require_util();
|
|
@@ -66374,7 +66374,7 @@ var require_not = __commonJS((exports) => {
|
|
|
66374
66374
|
exports.default = def;
|
|
66375
66375
|
});
|
|
66376
66376
|
|
|
66377
|
-
//
|
|
66377
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
66378
66378
|
var require_anyOf = __commonJS((exports) => {
|
|
66379
66379
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66380
66380
|
var code_1 = require_code2();
|
|
@@ -66388,7 +66388,7 @@ var require_anyOf = __commonJS((exports) => {
|
|
|
66388
66388
|
exports.default = def;
|
|
66389
66389
|
});
|
|
66390
66390
|
|
|
66391
|
-
//
|
|
66391
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
66392
66392
|
var require_oneOf = __commonJS((exports) => {
|
|
66393
66393
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66394
66394
|
var codegen_1 = require_codegen();
|
|
@@ -66443,7 +66443,7 @@ var require_oneOf = __commonJS((exports) => {
|
|
|
66443
66443
|
exports.default = def;
|
|
66444
66444
|
});
|
|
66445
66445
|
|
|
66446
|
-
//
|
|
66446
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
66447
66447
|
var require_allOf = __commonJS((exports) => {
|
|
66448
66448
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66449
66449
|
var util_1 = require_util();
|
|
@@ -66467,7 +66467,7 @@ var require_allOf = __commonJS((exports) => {
|
|
|
66467
66467
|
exports.default = def;
|
|
66468
66468
|
});
|
|
66469
66469
|
|
|
66470
|
-
//
|
|
66470
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
66471
66471
|
var require_if = __commonJS((exports) => {
|
|
66472
66472
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66473
66473
|
var codegen_1 = require_codegen();
|
|
@@ -66533,7 +66533,7 @@ var require_if = __commonJS((exports) => {
|
|
|
66533
66533
|
exports.default = def;
|
|
66534
66534
|
});
|
|
66535
66535
|
|
|
66536
|
-
//
|
|
66536
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
66537
66537
|
var require_thenElse = __commonJS((exports) => {
|
|
66538
66538
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66539
66539
|
var util_1 = require_util();
|
|
@@ -66548,7 +66548,7 @@ var require_thenElse = __commonJS((exports) => {
|
|
|
66548
66548
|
exports.default = def;
|
|
66549
66549
|
});
|
|
66550
66550
|
|
|
66551
|
-
//
|
|
66551
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
66552
66552
|
var require_applicator = __commonJS((exports) => {
|
|
66553
66553
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66554
66554
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -66591,7 +66591,7 @@ var require_applicator = __commonJS((exports) => {
|
|
|
66591
66591
|
exports.default = getApplicator;
|
|
66592
66592
|
});
|
|
66593
66593
|
|
|
66594
|
-
//
|
|
66594
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
66595
66595
|
var require_format = __commonJS((exports) => {
|
|
66596
66596
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66597
66597
|
var codegen_1 = require_codegen();
|
|
@@ -66678,7 +66678,7 @@ var require_format = __commonJS((exports) => {
|
|
|
66678
66678
|
exports.default = def;
|
|
66679
66679
|
});
|
|
66680
66680
|
|
|
66681
|
-
//
|
|
66681
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
66682
66682
|
var require_format2 = __commonJS((exports) => {
|
|
66683
66683
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66684
66684
|
var format_1 = require_format();
|
|
@@ -66686,7 +66686,7 @@ var require_format2 = __commonJS((exports) => {
|
|
|
66686
66686
|
exports.default = format2;
|
|
66687
66687
|
});
|
|
66688
66688
|
|
|
66689
|
-
//
|
|
66689
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
66690
66690
|
var require_metadata = __commonJS((exports) => {
|
|
66691
66691
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66692
66692
|
exports.contentVocabulary = exports.metadataVocabulary = undefined;
|
|
@@ -66706,7 +66706,7 @@ var require_metadata = __commonJS((exports) => {
|
|
|
66706
66706
|
];
|
|
66707
66707
|
});
|
|
66708
66708
|
|
|
66709
|
-
//
|
|
66709
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
66710
66710
|
var require_draft7 = __commonJS((exports) => {
|
|
66711
66711
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66712
66712
|
var core_1 = require_core2();
|
|
@@ -66725,7 +66725,7 @@ var require_draft7 = __commonJS((exports) => {
|
|
|
66725
66725
|
exports.default = draft7Vocabularies;
|
|
66726
66726
|
});
|
|
66727
66727
|
|
|
66728
|
-
//
|
|
66728
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
66729
66729
|
var require_types = __commonJS((exports) => {
|
|
66730
66730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66731
66731
|
exports.DiscrError = undefined;
|
|
@@ -66736,7 +66736,7 @@ var require_types = __commonJS((exports) => {
|
|
|
66736
66736
|
})(DiscrError || (exports.DiscrError = DiscrError = {}));
|
|
66737
66737
|
});
|
|
66738
66738
|
|
|
66739
|
-
//
|
|
66739
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
66740
66740
|
var require_discriminator = __commonJS((exports) => {
|
|
66741
66741
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66742
66742
|
var codegen_1 = require_codegen();
|
|
@@ -66838,7 +66838,7 @@ var require_discriminator = __commonJS((exports) => {
|
|
|
66838
66838
|
exports.default = def;
|
|
66839
66839
|
});
|
|
66840
66840
|
|
|
66841
|
-
//
|
|
66841
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
66842
66842
|
var require_json_schema_draft_07 = __commonJS((exports, module) => {
|
|
66843
66843
|
module.exports = {
|
|
66844
66844
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
@@ -66993,7 +66993,7 @@ var require_json_schema_draft_07 = __commonJS((exports, module) => {
|
|
|
66993
66993
|
};
|
|
66994
66994
|
});
|
|
66995
66995
|
|
|
66996
|
-
//
|
|
66996
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/ajv.js
|
|
66997
66997
|
var require_ajv = __commonJS((exports, module) => {
|
|
66998
66998
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66999
66999
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = undefined;
|
|
@@ -67061,7 +67061,7 @@ var require_ajv = __commonJS((exports, module) => {
|
|
|
67061
67061
|
} });
|
|
67062
67062
|
});
|
|
67063
67063
|
|
|
67064
|
-
//
|
|
67064
|
+
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
|
|
67065
67065
|
var require_formats = __commonJS((exports) => {
|
|
67066
67066
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67067
67067
|
exports.formatNames = exports.fastFormats = exports.fullFormats = undefined;
|
|
@@ -67238,7 +67238,7 @@ var require_formats = __commonJS((exports) => {
|
|
|
67238
67238
|
}
|
|
67239
67239
|
});
|
|
67240
67240
|
|
|
67241
|
-
//
|
|
67241
|
+
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
|
|
67242
67242
|
var require_limit = __commonJS((exports) => {
|
|
67243
67243
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67244
67244
|
exports.formatLimitDefinition = undefined;
|
|
@@ -67307,7 +67307,7 @@ var require_limit = __commonJS((exports) => {
|
|
|
67307
67307
|
exports.default = formatLimitPlugin;
|
|
67308
67308
|
});
|
|
67309
67309
|
|
|
67310
|
-
//
|
|
67310
|
+
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
|
|
67311
67311
|
var require_dist = __commonJS((exports, module) => {
|
|
67312
67312
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67313
67313
|
var formats_1 = require_formats();
|
|
@@ -67346,7 +67346,7 @@ var require_dist = __commonJS((exports, module) => {
|
|
|
67346
67346
|
exports.default = formatsPlugin;
|
|
67347
67347
|
});
|
|
67348
67348
|
|
|
67349
|
-
//
|
|
67349
|
+
// node_modules/.bun/isexe@2.0.0/node_modules/isexe/windows.js
|
|
67350
67350
|
var require_windows = __commonJS((exports, module) => {
|
|
67351
67351
|
module.exports = isexe;
|
|
67352
67352
|
isexe.sync = sync;
|
|
@@ -67384,7 +67384,7 @@ var require_windows = __commonJS((exports, module) => {
|
|
|
67384
67384
|
}
|
|
67385
67385
|
});
|
|
67386
67386
|
|
|
67387
|
-
//
|
|
67387
|
+
// node_modules/.bun/isexe@2.0.0/node_modules/isexe/mode.js
|
|
67388
67388
|
var require_mode = __commonJS((exports, module) => {
|
|
67389
67389
|
module.exports = isexe;
|
|
67390
67390
|
isexe.sync = sync;
|
|
@@ -67415,7 +67415,7 @@ var require_mode = __commonJS((exports, module) => {
|
|
|
67415
67415
|
}
|
|
67416
67416
|
});
|
|
67417
67417
|
|
|
67418
|
-
//
|
|
67418
|
+
// node_modules/.bun/isexe@2.0.0/node_modules/isexe/index.js
|
|
67419
67419
|
var require_isexe = __commonJS((exports, module) => {
|
|
67420
67420
|
var fs22 = __require("fs");
|
|
67421
67421
|
var core2;
|
|
@@ -67468,7 +67468,7 @@ var require_isexe = __commonJS((exports, module) => {
|
|
|
67468
67468
|
}
|
|
67469
67469
|
});
|
|
67470
67470
|
|
|
67471
|
-
//
|
|
67471
|
+
// node_modules/.bun/which@2.0.2/node_modules/which/which.js
|
|
67472
67472
|
var require_which = __commonJS((exports, module) => {
|
|
67473
67473
|
var isWindows2 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
67474
67474
|
var path21 = __require("path");
|
|
@@ -67559,7 +67559,7 @@ var require_which = __commonJS((exports, module) => {
|
|
|
67559
67559
|
which.sync = whichSync;
|
|
67560
67560
|
});
|
|
67561
67561
|
|
|
67562
|
-
//
|
|
67562
|
+
// node_modules/.bun/path-key@3.1.1/node_modules/path-key/index.js
|
|
67563
67563
|
var require_path_key = __commonJS((exports, module) => {
|
|
67564
67564
|
var pathKey = (options = {}) => {
|
|
67565
67565
|
const environment = options.env || process.env;
|
|
@@ -67573,7 +67573,7 @@ var require_path_key = __commonJS((exports, module) => {
|
|
|
67573
67573
|
module.exports.default = pathKey;
|
|
67574
67574
|
});
|
|
67575
67575
|
|
|
67576
|
-
//
|
|
67576
|
+
// node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
67577
67577
|
var require_resolveCommand = __commonJS((exports, module) => {
|
|
67578
67578
|
var path21 = __require("path");
|
|
67579
67579
|
var which = require_which();
|
|
@@ -67610,7 +67610,7 @@ var require_resolveCommand = __commonJS((exports, module) => {
|
|
|
67610
67610
|
module.exports = resolveCommand2;
|
|
67611
67611
|
});
|
|
67612
67612
|
|
|
67613
|
-
//
|
|
67613
|
+
// node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
67614
67614
|
var require_escape = __commonJS((exports, module) => {
|
|
67615
67615
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
67616
67616
|
function escapeCommand(arg) {
|
|
@@ -67632,12 +67632,12 @@ var require_escape = __commonJS((exports, module) => {
|
|
|
67632
67632
|
exports.argument = escapeArgument;
|
|
67633
67633
|
});
|
|
67634
67634
|
|
|
67635
|
-
//
|
|
67635
|
+
// node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
67636
67636
|
var require_shebang_regex = __commonJS((exports, module) => {
|
|
67637
67637
|
module.exports = /^#!(.*)/;
|
|
67638
67638
|
});
|
|
67639
67639
|
|
|
67640
|
-
//
|
|
67640
|
+
// node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
67641
67641
|
var require_shebang_command = __commonJS((exports, module) => {
|
|
67642
67642
|
var shebangRegex = require_shebang_regex();
|
|
67643
67643
|
module.exports = (string4 = "") => {
|
|
@@ -67654,7 +67654,7 @@ var require_shebang_command = __commonJS((exports, module) => {
|
|
|
67654
67654
|
};
|
|
67655
67655
|
});
|
|
67656
67656
|
|
|
67657
|
-
//
|
|
67657
|
+
// node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
67658
67658
|
var require_readShebang = __commonJS((exports, module) => {
|
|
67659
67659
|
var fs22 = __require("fs");
|
|
67660
67660
|
var shebangCommand = require_shebang_command();
|
|
@@ -67672,7 +67672,7 @@ var require_readShebang = __commonJS((exports, module) => {
|
|
|
67672
67672
|
module.exports = readShebang;
|
|
67673
67673
|
});
|
|
67674
67674
|
|
|
67675
|
-
//
|
|
67675
|
+
// node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
67676
67676
|
var require_parse2 = __commonJS((exports, module) => {
|
|
67677
67677
|
var path21 = __require("path");
|
|
67678
67678
|
var resolveCommand2 = require_resolveCommand();
|
|
@@ -67731,7 +67731,7 @@ var require_parse2 = __commonJS((exports, module) => {
|
|
|
67731
67731
|
module.exports = parse3;
|
|
67732
67732
|
});
|
|
67733
67733
|
|
|
67734
|
-
//
|
|
67734
|
+
// node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
67735
67735
|
var require_enoent = __commonJS((exports, module) => {
|
|
67736
67736
|
var isWin = process.platform === "win32";
|
|
67737
67737
|
function notFoundError(original, syscall) {
|
|
@@ -67778,7 +67778,7 @@ var require_enoent = __commonJS((exports, module) => {
|
|
|
67778
67778
|
};
|
|
67779
67779
|
});
|
|
67780
67780
|
|
|
67781
|
-
//
|
|
67781
|
+
// node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
67782
67782
|
var require_cross_spawn = __commonJS((exports, module) => {
|
|
67783
67783
|
var cp = __require("child_process");
|
|
67784
67784
|
var parse3 = require_parse2();
|
|
@@ -71655,7 +71655,7 @@ import { existsSync as existsSync35 } from "fs";
|
|
|
71655
71655
|
import * as fs8 from "fs";
|
|
71656
71656
|
import { tmpdir as tmpdir4 } from "os";
|
|
71657
71657
|
|
|
71658
|
-
//
|
|
71658
|
+
// packages/comment-checker-core/src/apply-patch-edits.ts
|
|
71659
71659
|
function extractApplyPatchEdits(details, args) {
|
|
71660
71660
|
const metadataEdits = getApplyPatchMetadataFiles(details).filter((file) => file.type?.toLowerCase() !== "delete").map((file) => ({
|
|
71661
71661
|
filePath: file.movePath ?? file.filePath,
|
|
@@ -71795,7 +71795,7 @@ function joinPatchLines(lines) {
|
|
|
71795
71795
|
function isRecord10(value) {
|
|
71796
71796
|
return typeof value === "object" && value !== null;
|
|
71797
71797
|
}
|
|
71798
|
-
//
|
|
71798
|
+
// packages/comment-checker-core/src/runner.ts
|
|
71799
71799
|
import { createRequire } from "module";
|
|
71800
71800
|
import { dirname as dirname9, join as join36 } from "path";
|
|
71801
71801
|
var EMPTY_RESULT = { hasComments: false, message: "" };
|
|
@@ -72395,7 +72395,7 @@ function createToolOutputTruncatorHook(ctx, options) {
|
|
|
72395
72395
|
"tool.execute.after": toolExecuteAfter
|
|
72396
72396
|
};
|
|
72397
72397
|
}
|
|
72398
|
-
//
|
|
72398
|
+
// packages/rules-engine/src/cache.ts
|
|
72399
72399
|
function createRuleScanCache() {
|
|
72400
72400
|
const candidateCache = new Map;
|
|
72401
72401
|
const directoryCache = new Map;
|
|
@@ -72419,11 +72419,11 @@ function createAgentsMdCache() {
|
|
|
72419
72419
|
clear: () => cache.clear()
|
|
72420
72420
|
};
|
|
72421
72421
|
}
|
|
72422
|
-
//
|
|
72422
|
+
// packages/rules-engine/src/agents-md.ts
|
|
72423
72423
|
import { existsSync as existsSync37, statSync as statSync4 } from "fs";
|
|
72424
72424
|
import { dirname as dirname10, isAbsolute as isAbsolute6, join as join40, relative as relative5, resolve as resolve9 } from "path";
|
|
72425
72425
|
|
|
72426
|
-
//
|
|
72426
|
+
// packages/rules-engine/src/constants.ts
|
|
72427
72427
|
var PROJECT_MARKERS = [".git", "pyproject.toml", "package.json", "Cargo.toml", "go.mod", ".venv"];
|
|
72428
72428
|
var PROJECT_RULE_SUBDIRS = [
|
|
72429
72429
|
[".omo", "rules"],
|
|
@@ -72453,7 +72453,7 @@ var SOURCE_PRIORITY = new Map([
|
|
|
72453
72453
|
["~/.sisyphus/rules", 103]
|
|
72454
72454
|
]);
|
|
72455
72455
|
|
|
72456
|
-
//
|
|
72456
|
+
// packages/rules-engine/src/agents-md.ts
|
|
72457
72457
|
async function findAgentsMdUp(input) {
|
|
72458
72458
|
const startDir = resolve9(input.startDir);
|
|
72459
72459
|
const rootDir = resolve9(input.rootDir);
|
|
@@ -72495,12 +72495,12 @@ function isSameOrChildPath(childPath, parentPath) {
|
|
|
72495
72495
|
const relativePath = relative5(parentPath, childPath);
|
|
72496
72496
|
return relativePath === "" || !relativePath.startsWith("..") && !isAbsolute6(relativePath);
|
|
72497
72497
|
}
|
|
72498
|
-
//
|
|
72498
|
+
// packages/rules-engine/src/finder.ts
|
|
72499
72499
|
import { existsSync as existsSync39, statSync as statSync5 } from "fs";
|
|
72500
72500
|
import { homedir as homedir11 } from "os";
|
|
72501
72501
|
import { dirname as dirname11, isAbsolute as isAbsolute8, join as join42, relative as relative7, resolve as resolve10 } from "path";
|
|
72502
72502
|
|
|
72503
|
-
//
|
|
72503
|
+
// packages/rules-engine/src/ordering.ts
|
|
72504
72504
|
function sortCandidates(candidates) {
|
|
72505
72505
|
return candidates.map((candidate, index) => ({ candidate, index })).sort((left, right) => compareCandidates(left.candidate, right.candidate) || left.index - right.index).map(({ candidate }) => candidate);
|
|
72506
72506
|
}
|
|
@@ -72515,7 +72515,7 @@ function compareString(left, right) {
|
|
|
72515
72515
|
return 0;
|
|
72516
72516
|
}
|
|
72517
72517
|
|
|
72518
|
-
//
|
|
72518
|
+
// packages/rules-engine/src/scanner.ts
|
|
72519
72519
|
import { existsSync as existsSync38, readdirSync as readdirSync13, realpathSync as realpathSync6 } from "fs";
|
|
72520
72520
|
import { isAbsolute as isAbsolute7, join as join41, relative as relative6 } from "path";
|
|
72521
72521
|
function isGitHubInstructionsDir(dir) {
|
|
@@ -72569,7 +72569,7 @@ function findRuleFilesRecursive(dir, results, visited = new Set, boundaryRoot) {
|
|
|
72569
72569
|
}
|
|
72570
72570
|
}
|
|
72571
72571
|
|
|
72572
|
-
//
|
|
72572
|
+
// packages/rules-engine/src/finder.ts
|
|
72573
72573
|
var noopSisyphusRuleDeprecationLogger = () => {};
|
|
72574
72574
|
var SISYPHUS_DEPRECATION_MESSAGE = "[rules] .sisyphus/rules is deprecated and will be removed in v4.3.0; migrate to .omo/rules";
|
|
72575
72575
|
var SISYPHUS_LEGACY_RULE_SOURCES = new Set([".sisyphus/rules", "~/.sisyphus/rules"]);
|
|
@@ -72717,7 +72717,7 @@ function isSameOrChildPath2(childPath, parentPath) {
|
|
|
72717
72717
|
function normalizePath3(path8) {
|
|
72718
72718
|
return path8.replaceAll("\\", "/");
|
|
72719
72719
|
}
|
|
72720
|
-
//
|
|
72720
|
+
// packages/rules-engine/src/parser.ts
|
|
72721
72721
|
function parseRuleFrontmatter(content) {
|
|
72722
72722
|
const normalized = stripBom2(content);
|
|
72723
72723
|
const openingLength = openingDelimiterLength(normalized);
|
|
@@ -72898,7 +72898,7 @@ function findClosingDelimiter(content, openingLength) {
|
|
|
72898
72898
|
}
|
|
72899
72899
|
return null;
|
|
72900
72900
|
}
|
|
72901
|
-
//
|
|
72901
|
+
// packages/rules-engine/src/matcher.ts
|
|
72902
72902
|
var import_picomatch = __toESM(require_picomatch2(), 1);
|
|
72903
72903
|
import { createHash } from "crypto";
|
|
72904
72904
|
import { basename as basename6, relative as relative8 } from "path";
|
|
@@ -72965,7 +72965,7 @@ function matcherFor(pattern) {
|
|
|
72965
72965
|
function toPosix(path8) {
|
|
72966
72966
|
return path8.replaceAll("\\", "/");
|
|
72967
72967
|
}
|
|
72968
|
-
//
|
|
72968
|
+
// packages/rules-engine/src/project-root.ts
|
|
72969
72969
|
import { existsSync as existsSync40, statSync as statSync6 } from "fs";
|
|
72970
72970
|
import { dirname as dirname12, join as join43 } from "path";
|
|
72971
72971
|
var projectRootCache = new Map;
|
|
@@ -73020,12 +73020,12 @@ function hasProjectMarker(directory) {
|
|
|
73020
73020
|
init_dynamic_truncator();
|
|
73021
73021
|
init_event_session_id();
|
|
73022
73022
|
|
|
73023
|
-
//
|
|
73023
|
+
// packages/agents-md-core/src/constants.ts
|
|
73024
73024
|
var TRUNCATION_NOTICE_PREFIX = `
|
|
73025
73025
|
|
|
73026
73026
|
[Note: Content was truncated to save context window space. For full context, please read the file directly: `;
|
|
73027
73027
|
var TRUNCATION_NOTICE_SUFFIX = "]";
|
|
73028
|
-
//
|
|
73028
|
+
// packages/agents-md-core/src/finder.ts
|
|
73029
73029
|
import { isAbsolute as isAbsolute9, resolve as resolve11 } from "path";
|
|
73030
73030
|
function resolveFilePath2(rootDirectory, path8) {
|
|
73031
73031
|
if (!path8)
|
|
@@ -73034,7 +73034,7 @@ function resolveFilePath2(rootDirectory, path8) {
|
|
|
73034
73034
|
return path8;
|
|
73035
73035
|
return resolve11(rootDirectory, path8);
|
|
73036
73036
|
}
|
|
73037
|
-
//
|
|
73037
|
+
// packages/agents-md-core/src/formatter.ts
|
|
73038
73038
|
function formatAgentsMdContextBlock(input) {
|
|
73039
73039
|
const truncationNotice = input.truncated ? `${TRUNCATION_NOTICE_PREFIX}${input.agentsPath}${TRUNCATION_NOTICE_SUFFIX}` : "";
|
|
73040
73040
|
return `
|
|
@@ -73042,7 +73042,7 @@ function formatAgentsMdContextBlock(input) {
|
|
|
73042
73042
|
[Directory Context: ${input.agentsPath}]
|
|
73043
73043
|
${input.content}${truncationNotice}`;
|
|
73044
73044
|
}
|
|
73045
|
-
//
|
|
73045
|
+
// packages/agents-md-core/src/injection-cache.ts
|
|
73046
73046
|
function getSessionCache(input) {
|
|
73047
73047
|
const existing = input.sessionCaches.get(input.sessionID);
|
|
73048
73048
|
if (existing)
|
|
@@ -73051,7 +73051,7 @@ function getSessionCache(input) {
|
|
|
73051
73051
|
input.sessionCaches.set(input.sessionID, loaded);
|
|
73052
73052
|
return loaded;
|
|
73053
73053
|
}
|
|
73054
|
-
//
|
|
73054
|
+
// packages/agents-md-core/src/injector.ts
|
|
73055
73055
|
import { promises as fsPromises } from "fs";
|
|
73056
73056
|
import { dirname as dirname13 } from "path";
|
|
73057
73057
|
async function processFilePathForAgentsInjection(input) {
|
|
@@ -80100,7 +80100,7 @@ function getUltraworkMessage(agentName, modelID) {
|
|
|
80100
80100
|
}
|
|
80101
80101
|
}
|
|
80102
80102
|
|
|
80103
|
-
//
|
|
80103
|
+
// packages/prompts-core/prompts/atlas/default.md
|
|
80104
80104
|
var default_default2 = `<identity>
|
|
80105
80105
|
You are Atlas - the Master Orchestrator from OhMyOpenCode.
|
|
80106
80106
|
|
|
@@ -80603,7 +80603,7 @@ The nudge fires at most once per work. If you missed it (compaction, session res
|
|
|
80603
80603
|
</boulder_completion_response>
|
|
80604
80604
|
`;
|
|
80605
80605
|
|
|
80606
|
-
//
|
|
80606
|
+
// packages/prompts-core/prompts/atlas/gemini.md
|
|
80607
80607
|
var gemini_default2 = `<identity>
|
|
80608
80608
|
You are Atlas - Master Orchestrator from OhMyOpenCode.
|
|
80609
80609
|
Role: Conductor, not musician. General, not soldier.
|
|
@@ -81129,7 +81129,7 @@ The nudge fires at most once per work. If you missed it (compaction, session res
|
|
|
81129
81129
|
</boulder_completion_response>
|
|
81130
81130
|
`;
|
|
81131
81131
|
|
|
81132
|
-
//
|
|
81132
|
+
// packages/prompts-core/prompts/atlas/gpt.md
|
|
81133
81133
|
var gpt_default2 = `<identity>
|
|
81134
81134
|
You are Atlas - Master Orchestrator from OhMyOpenCode, calibrated for GPT-5.5.
|
|
81135
81135
|
Conductor, not musician. General, not soldier. You DELEGATE, COORDINATE, and VERIFY. You never write code yourself.
|
|
@@ -81590,7 +81590,7 @@ The nudge fires at most once per work. If you missed it (compaction, session res
|
|
|
81590
81590
|
</boulder_completion_response>
|
|
81591
81591
|
`;
|
|
81592
81592
|
|
|
81593
|
-
//
|
|
81593
|
+
// packages/prompts-core/prompts/atlas/kimi.md
|
|
81594
81594
|
var kimi_default = `<identity>
|
|
81595
81595
|
You are Atlas - the Master Orchestrator from OhMyOpenCode, running on Kimi K2.6.
|
|
81596
81596
|
|
|
@@ -82068,7 +82068,7 @@ The nudge fires at most once per work. If you missed it (compaction, session res
|
|
|
82068
82068
|
</boulder_completion_response>
|
|
82069
82069
|
`;
|
|
82070
82070
|
|
|
82071
|
-
//
|
|
82071
|
+
// packages/prompts-core/prompts/atlas/opus-4-7.md
|
|
82072
82072
|
var opus_4_7_default = `<identity>
|
|
82073
82073
|
You are Atlas - the Master Orchestrator from OhMyOpenCode, running on Claude Opus 4.7.
|
|
82074
82074
|
|
|
@@ -82562,7 +82562,7 @@ The nudge fires at most once per work. If you missed it (compaction, session res
|
|
|
82562
82562
|
</boulder_completion_response>
|
|
82563
82563
|
`;
|
|
82564
82564
|
|
|
82565
|
-
//
|
|
82565
|
+
// packages/prompts-core/src/atlas-prompts.ts
|
|
82566
82566
|
var atlasPromptVariants = {
|
|
82567
82567
|
"opus-4-7": {
|
|
82568
82568
|
kind: "bundled",
|
|
@@ -82590,7 +82590,7 @@ var atlasPromptVariants = {
|
|
|
82590
82590
|
filePath: "packages/prompts-core/prompts/atlas/default.md"
|
|
82591
82591
|
}
|
|
82592
82592
|
};
|
|
82593
|
-
//
|
|
82593
|
+
// packages/prompts-core/prompts/prometheus/default.md
|
|
82594
82594
|
var default_default3 = `<system-reminder>
|
|
82595
82595
|
# Prometheus - Strategic Planning Consultant
|
|
82596
82596
|
|
|
@@ -84150,7 +84150,7 @@ This will:
|
|
|
84150
84150
|
</system-reminder>
|
|
84151
84151
|
`;
|
|
84152
84152
|
|
|
84153
|
-
//
|
|
84153
|
+
// packages/prompts-core/prompts/prometheus/gemini.md
|
|
84154
84154
|
var gemini_default3 = `
|
|
84155
84155
|
<identity>
|
|
84156
84156
|
You are Prometheus - Strategic Planning Consultant from OhMyOpenCode.
|
|
@@ -84525,7 +84525,7 @@ After plan complete:
|
|
|
84525
84525
|
You are Prometheus, the strategic planning consultant. You bring foresight and structure to complex work through thorough exploration and thoughtful consultation.
|
|
84526
84526
|
`;
|
|
84527
84527
|
|
|
84528
|
-
//
|
|
84528
|
+
// packages/prompts-core/prompts/prometheus/gpt.md
|
|
84529
84529
|
var gpt_default3 = `
|
|
84530
84530
|
<identity>
|
|
84531
84531
|
You are Prometheus - Strategic Planning Consultant from OhMyOpenCode.
|
|
@@ -85036,7 +85036,7 @@ Wave 2: [dependent tasks with categories]
|
|
|
85036
85036
|
You are Prometheus, the strategic planning consultant. You bring foresight and structure to complex work through thoughtful consultation.
|
|
85037
85037
|
`;
|
|
85038
85038
|
|
|
85039
|
-
//
|
|
85039
|
+
// packages/prompts-core/src/prometheus-prompts.ts
|
|
85040
85040
|
var prometheusPromptVariants = {
|
|
85041
85041
|
gpt: {
|
|
85042
85042
|
kind: "bundled",
|
|
@@ -85054,7 +85054,7 @@ var prometheusPromptVariants = {
|
|
|
85054
85054
|
filePath: "packages/prompts-core/prompts/prometheus/default.md"
|
|
85055
85055
|
}
|
|
85056
85056
|
};
|
|
85057
|
-
//
|
|
85057
|
+
// packages/prompts-core/src/variant-resolver.ts
|
|
85058
85058
|
init_src2();
|
|
85059
85059
|
var PLANNER_AGENT_NAMES = new Set(["prometheus"]);
|
|
85060
85060
|
var MODEL_MATCHERS = {
|
|
@@ -85090,7 +85090,7 @@ function matchesModelVariant(variantName, modelID) {
|
|
|
85090
85090
|
const matcher = MODEL_MATCHERS[variantName];
|
|
85091
85091
|
return matcher?.(modelID) ?? false;
|
|
85092
85092
|
}
|
|
85093
|
-
//
|
|
85093
|
+
// packages/prompts-core/src/loader.ts
|
|
85094
85094
|
init_src();
|
|
85095
85095
|
function loadPromptSync(input) {
|
|
85096
85096
|
return loadBundledPrompt(input);
|
|
@@ -85113,10 +85113,10 @@ function applyRuntimeInjectionsSync(body, injections) {
|
|
|
85113
85113
|
}
|
|
85114
85114
|
return renderedBody;
|
|
85115
85115
|
}
|
|
85116
|
-
//
|
|
85116
|
+
// packages/prompts-core/prompts/mode/hyperplan.md
|
|
85117
85117
|
var hyperplan_default = '<hyperplan-mode>\n**MANDATORY**: Say "HYPERPLAN MODE ENABLED!" as your first response, exactly once.\n\nThe user invoked **hyperplan mode** \u2014 adversarial multi-agent planning via team-mode.\n\nLOAD THE HYPERPLAN SKILL IMMEDIATELY:\n\n```\nskill(name="hyperplan")\n```\n\nAfter loading, follow the skill\'s full workflow EXACTLY:\n1. Acknowledge and capture the planning request\n2. Spawn the adversarial team via `team_create` with category members `unspecified-low`, `unspecified-high`, `ultrabrain`, and `artistry`; include `deep` only if the category is enabled\n3. Round 1 \u2014 Independent analysis (each member produces findings)\n4. Round 2 \u2014 Cross-attack (each member ruthlessly attacks the other 4\'s findings)\n5. Round 3 \u2014 Defend, refine, or concede\n6. Distill defensible insights into a structured bundle (Lead does NOT write the plan)\n7. MANDATORY: hand the bundle to the `plan` agent via `task(subagent_type="plan", ...)` \u2014 the plan agent owns sequencing, parallelization, and verification gates\n8. Present the plan agent\'s output verbatim with provenance line, then clean up the team\n\nDo NOT improvise. Do NOT skip rounds. Do NOT write the plan yourself in step 6 \u2014 the handoff to the plan agent in step 7 is non-negotiable. Be the lead orchestrator and let the adversarial members do the cross-critique.\n\nIf team-mode is unavailable (`team_*` tools missing), instruct the user to set `team_mode.enabled: true` in `~/.config/opencode/oh-my-opencode.jsonc` and restart opencode.\n</hyperplan-mode>\n';
|
|
85118
85118
|
|
|
85119
|
-
//
|
|
85119
|
+
// packages/prompts-core/prompts/mode/analyze.md
|
|
85120
85120
|
var analyze_default = `[analyze-mode]
|
|
85121
85121
|
ANALYSIS MODE. Gather context before diving deep:
|
|
85122
85122
|
|
|
@@ -85135,7 +85135,7 @@ MANDATORY delegate_task params: ALWAYS include load_skills and run_in_background
|
|
|
85135
85135
|
Example: delegate_task(subagent_type="explore", prompt="...", run_in_background=true, load_skills=[])
|
|
85136
85136
|
`;
|
|
85137
85137
|
|
|
85138
|
-
//
|
|
85138
|
+
// packages/prompts-core/prompts/mode/search.md
|
|
85139
85139
|
var search_default = `[search-mode]
|
|
85140
85140
|
MAXIMIZE SEARCH EFFORT. Launch multiple background agents IN PARALLEL:
|
|
85141
85141
|
- explore agents (codebase patterns, file structures, ast-grep)
|
|
@@ -85144,12 +85144,12 @@ Plus direct tools: Grep, ripgrep (rg), ast-grep (sg)
|
|
|
85144
85144
|
NEVER stop at first result - be exhaustive.
|
|
85145
85145
|
`;
|
|
85146
85146
|
|
|
85147
|
-
//
|
|
85147
|
+
// packages/prompts-core/prompts/mode/team.md
|
|
85148
85148
|
var team_default = `[team-mode]
|
|
85149
85149
|
Team-mode reference detected. Orchestrate via team_* tools (team_create -> team_task_create + team_send_message); NEVER substitute with delegate_task \u2014 it is not equivalent. After every team_task_update that completes or fails a task, re-check team_task_list: if every task is terminal, run the closure sequence (team_shutdown_request + team_approve_shutdown per active member, then team_delete) in the same turn. Closing the team is the lead's responsibility, not the user's. If the team_* tools are absent, team_mode is disabled \u2014 tell the user to set team_mode.enabled=true and restart opencode.
|
|
85150
85150
|
`;
|
|
85151
85151
|
|
|
85152
|
-
//
|
|
85152
|
+
// packages/prompts-core/src/mode-prompts.ts
|
|
85153
85153
|
var ANALYZE_MODE_PROMPT = stripFinalLineFeed(analyze_default);
|
|
85154
85154
|
var HYPERPLAN_MODE_PROMPT = stripFinalLineFeed(hyperplan_default);
|
|
85155
85155
|
var SEARCH_MODE_PROMPT = stripFinalLineFeed(search_default);
|
|
@@ -94457,14 +94457,14 @@ init_replace_tool_args();
|
|
|
94457
94457
|
// src/hooks/prometheus-md-only/agent-resolution.ts
|
|
94458
94458
|
init_hook_message_injector();
|
|
94459
94459
|
init_hook_message_injector();
|
|
94460
|
-
//
|
|
94460
|
+
// packages/boulder-state/src/constants.ts
|
|
94461
94461
|
var BOULDER_DIR = ".omo";
|
|
94462
94462
|
var BOULDER_FILE = "boulder.json";
|
|
94463
94463
|
var BOULDER_STATE_PATH = `${BOULDER_DIR}/${BOULDER_FILE}`;
|
|
94464
94464
|
var NOTEPAD_DIR = "notepads";
|
|
94465
94465
|
var NOTEPAD_BASE_PATH = `${BOULDER_DIR}/${NOTEPAD_DIR}`;
|
|
94466
94466
|
var PROMETHEUS_PLANS_DIR = ".omo/plans";
|
|
94467
|
-
//
|
|
94467
|
+
// packages/boulder-state/src/top-level-task.ts
|
|
94468
94468
|
import { existsSync as existsSync64, readFileSync as readFileSync47 } from "fs";
|
|
94469
94469
|
var TODO_HEADING_PATTERN = /^##\s+TODOs\b/i;
|
|
94470
94470
|
var FINAL_VERIFICATION_HEADING_PATTERN = /^##\s+Final Verification Wave\b/i;
|
|
@@ -94516,7 +94516,7 @@ function readCurrentTopLevelTask(planPath) {
|
|
|
94516
94516
|
return null;
|
|
94517
94517
|
}
|
|
94518
94518
|
}
|
|
94519
|
-
//
|
|
94519
|
+
// packages/boulder-state/src/storage/path.ts
|
|
94520
94520
|
import { existsSync as existsSync65 } from "fs";
|
|
94521
94521
|
import { isAbsolute as isAbsolute13, join as join76, relative as relative11, resolve as resolve15 } from "path";
|
|
94522
94522
|
function getBoulderFilePath(directory) {
|
|
@@ -94543,7 +94543,7 @@ function resolveBoulderPlanPath(directory, state3) {
|
|
|
94543
94543
|
function resolveBoulderPlanPathForWork(directory, work) {
|
|
94544
94544
|
return resolveBoulderPlanPath(directory, work);
|
|
94545
94545
|
}
|
|
94546
|
-
//
|
|
94546
|
+
// packages/boulder-state/src/storage/plan-progress.ts
|
|
94547
94547
|
import { existsSync as existsSync66, readFileSync as readFileSync48, readdirSync as readdirSync20, statSync as statSync10 } from "fs";
|
|
94548
94548
|
import { basename as basename10, join as join77 } from "path";
|
|
94549
94549
|
var TODO_HEADING_PATTERN2 = /^##\s+TODOs\b/i;
|
|
@@ -94624,7 +94624,7 @@ function getSimplePlanProgress(content) {
|
|
|
94624
94624
|
const completed = checkedMatches.length;
|
|
94625
94625
|
return { total, completed, isComplete: total > 0 && completed === total };
|
|
94626
94626
|
}
|
|
94627
|
-
//
|
|
94627
|
+
// packages/boulder-state/src/storage/shared.ts
|
|
94628
94628
|
var RESERVED_KEYS = new Set(["__proto__", "prototype", "constructor"]);
|
|
94629
94629
|
var SESSION_ID_PREFIX_PATTERN = /^(codex|opencode):/;
|
|
94630
94630
|
function normalizeSessionId(sessionId, platform2 = "opencode") {
|
|
@@ -94705,7 +94705,7 @@ function selectMirrorWork(state3) {
|
|
|
94705
94705
|
});
|
|
94706
94706
|
return sorted[0] ?? null;
|
|
94707
94707
|
}
|
|
94708
|
-
//
|
|
94708
|
+
// packages/boulder-state/src/storage/read-state.ts
|
|
94709
94709
|
import { existsSync as existsSync67, readFileSync as readFileSync49 } from "fs";
|
|
94710
94710
|
function readBoulderState(directory) {
|
|
94711
94711
|
const filePath = getBoulderFilePath(directory);
|
|
@@ -94843,7 +94843,7 @@ function getTaskSessionState(directory, taskKey) {
|
|
|
94843
94843
|
}
|
|
94844
94844
|
return state3.task_sessions[taskKey] ?? null;
|
|
94845
94845
|
}
|
|
94846
|
-
//
|
|
94846
|
+
// packages/boulder-state/src/storage/write-state.ts
|
|
94847
94847
|
import { existsSync as existsSync68, mkdirSync as mkdirSync17, unlinkSync as unlinkSync13, writeFileSync as writeFileSync18 } from "fs";
|
|
94848
94848
|
import { dirname as dirname25 } from "path";
|
|
94849
94849
|
function writeBoulderState(directory, state3) {
|
|
@@ -95008,7 +95008,7 @@ function completeBoulder(directory, workId, endedAt) {
|
|
|
95008
95008
|
return writeBoulderState(directory, state3) ? state3 : null;
|
|
95009
95009
|
}
|
|
95010
95010
|
|
|
95011
|
-
//
|
|
95011
|
+
// packages/boulder-state/src/storage/session.ts
|
|
95012
95012
|
function appendSessionId(directory, sessionId, origin = "direct") {
|
|
95013
95013
|
const normalizedSessionId = normalizeSessionId(sessionId);
|
|
95014
95014
|
const activeWorkId = readBoulderState(directory)?.active_work_id;
|
|
@@ -95075,7 +95075,7 @@ function appendSessionIdForWork(directory, workId, sessionId, origin = "direct")
|
|
|
95075
95075
|
}
|
|
95076
95076
|
return writeBoulderState(directory, nextState) ? nextState : null;
|
|
95077
95077
|
}
|
|
95078
|
-
//
|
|
95078
|
+
// packages/boulder-state/src/storage/task.ts
|
|
95079
95079
|
function upsertTaskSessionState(directory, input) {
|
|
95080
95080
|
const stateForWork = readBoulderState(directory);
|
|
95081
95081
|
if (stateForWork?.active_work_id) {
|
|
@@ -101795,7 +101795,7 @@ function createBashFileReadGuardHook() {
|
|
|
101795
101795
|
// src/hooks/hashline-read-enhancer/hook.ts
|
|
101796
101796
|
init_bun_file_shim();
|
|
101797
101797
|
|
|
101798
|
-
//
|
|
101798
|
+
// packages/hashline-core/src/constants.ts
|
|
101799
101799
|
var NIBBLE_STR = "ZPMQVRWSNKTXJBYH";
|
|
101800
101800
|
var HASHLINE_DICT = Array.from({ length: 256 }, (_, i2) => {
|
|
101801
101801
|
const high = i2 >>> 4;
|
|
@@ -101803,7 +101803,7 @@ var HASHLINE_DICT = Array.from({ length: 256 }, (_, i2) => {
|
|
|
101803
101803
|
return `${NIBBLE_STR[high]}${NIBBLE_STR[low]}`;
|
|
101804
101804
|
});
|
|
101805
101805
|
var HASHLINE_REF_PATTERN = /^([0-9]+)#([ZPMQVRWSNKTXJBYH]{2})$/;
|
|
101806
|
-
//
|
|
101806
|
+
// packages/hashline-core/src/xxhash32.ts
|
|
101807
101807
|
var runtime4 = globalThis;
|
|
101808
101808
|
var encoder = new TextEncoder;
|
|
101809
101809
|
var PRIME32_1 = 2654435761;
|
|
@@ -101872,7 +101872,7 @@ function hashXxh32(input, seed) {
|
|
|
101872
101872
|
return xxHash32Js(encoder.encode(input), seed >>> 0);
|
|
101873
101873
|
}
|
|
101874
101874
|
|
|
101875
|
-
//
|
|
101875
|
+
// packages/hashline-core/src/hash-computation.ts
|
|
101876
101876
|
var RE_SIGNIFICANT = /[\p{L}\p{N}]/u;
|
|
101877
101877
|
function computeNormalizedLineHash(lineNumber, normalizedContent) {
|
|
101878
101878
|
const stripped = normalizedContent;
|
|
@@ -101887,7 +101887,7 @@ function computeLineHash(lineNumber, content) {
|
|
|
101887
101887
|
function computeLegacyLineHash(lineNumber, content) {
|
|
101888
101888
|
return computeNormalizedLineHash(lineNumber, content.replace(/\r/g, "").replace(/\s+/g, ""));
|
|
101889
101889
|
}
|
|
101890
|
-
//
|
|
101890
|
+
// packages/hashline-core/src/validation.ts
|
|
101891
101891
|
var MISMATCH_CONTEXT = 2;
|
|
101892
101892
|
var LINE_REF_EXTRACT_PATTERN = /([0-9]+#[ZPMQVRWSNKTXJBYH]{2})/;
|
|
101893
101893
|
function isCompatibleLineHash(line, content, hash) {
|
|
@@ -102028,7 +102028,7 @@ function validateLineRefs(lines, refs) {
|
|
|
102028
102028
|
throw new HashlineMismatchError(mismatches, lines);
|
|
102029
102029
|
}
|
|
102030
102030
|
}
|
|
102031
|
-
//
|
|
102031
|
+
// packages/hashline-core/src/edit-text-normalization.ts
|
|
102032
102032
|
var HASHLINE_PREFIX_RE = /^\s*(?:>>>|>>)?\s*\d+\s*#\s*[ZPMQVRWSNKTXJBYH]{2}\|/;
|
|
102033
102033
|
var DIFF_PLUS_RE = /^[+](?![+])/;
|
|
102034
102034
|
function equalsIgnoringWhitespace(a, b) {
|
|
@@ -102123,7 +102123,7 @@ function stripRangeBoundaryEcho(lines, startLine, endLine, newLines) {
|
|
|
102123
102123
|
return out;
|
|
102124
102124
|
}
|
|
102125
102125
|
|
|
102126
|
-
//
|
|
102126
|
+
// packages/hashline-core/src/edit-deduplication.ts
|
|
102127
102127
|
function normalizeEditPayload(payload) {
|
|
102128
102128
|
return toNewLines(payload).join(`
|
|
102129
102129
|
`);
|
|
@@ -102161,7 +102161,7 @@ function dedupeEdits(edits) {
|
|
|
102161
102161
|
return { edits: deduped, deduplicatedEdits };
|
|
102162
102162
|
}
|
|
102163
102163
|
|
|
102164
|
-
//
|
|
102164
|
+
// packages/hashline-core/src/edit-ordering.ts
|
|
102165
102165
|
function getEditLineNumber(edit) {
|
|
102166
102166
|
switch (edit.op) {
|
|
102167
102167
|
case "replace":
|
|
@@ -102210,7 +102210,7 @@ function detectOverlappingRanges(edits) {
|
|
|
102210
102210
|
return null;
|
|
102211
102211
|
}
|
|
102212
102212
|
|
|
102213
|
-
//
|
|
102213
|
+
// packages/hashline-core/src/autocorrect-replacement-lines.ts
|
|
102214
102214
|
function normalizeTokens(text) {
|
|
102215
102215
|
return text.replace(/\s+/g, "");
|
|
102216
102216
|
}
|
|
@@ -102369,7 +102369,7 @@ function autocorrectReplacementLines(originalLines, replacementLines) {
|
|
|
102369
102369
|
return next;
|
|
102370
102370
|
}
|
|
102371
102371
|
|
|
102372
|
-
//
|
|
102372
|
+
// packages/hashline-core/src/edit-operation-primitives.ts
|
|
102373
102373
|
function shouldValidate(options) {
|
|
102374
102374
|
return options?.skipValidation !== true;
|
|
102375
102375
|
}
|
|
@@ -102455,7 +102455,7 @@ function applyPrepend(lines, text) {
|
|
|
102455
102455
|
return [...normalized, ...lines];
|
|
102456
102456
|
}
|
|
102457
102457
|
|
|
102458
|
-
//
|
|
102458
|
+
// packages/hashline-core/src/edit-operations.ts
|
|
102459
102459
|
function arraysEqual(a, b) {
|
|
102460
102460
|
if (a.length !== b.length)
|
|
102461
102461
|
return false;
|
|
@@ -102528,7 +102528,7 @@ function applyHashlineEditsWithReport(content, edits) {
|
|
|
102528
102528
|
deduplicatedEdits: dedupeResult.deduplicatedEdits
|
|
102529
102529
|
};
|
|
102530
102530
|
}
|
|
102531
|
-
//
|
|
102531
|
+
// packages/hashline-core/src/file-text-canonicalization.ts
|
|
102532
102532
|
function detectLineEnding(content) {
|
|
102533
102533
|
const crlfIndex = content.indexOf(`\r
|
|
102534
102534
|
`);
|
|
@@ -102576,7 +102576,7 @@ function restoreFileText(content, envelope) {
|
|
|
102576
102576
|
return withLineEnding;
|
|
102577
102577
|
return `\uFEFF${withLineEnding}`;
|
|
102578
102578
|
}
|
|
102579
|
-
//
|
|
102579
|
+
// packages/hashline-core/src/normalize-edits.ts
|
|
102580
102580
|
function normalizeAnchor(value) {
|
|
102581
102581
|
if (typeof value !== "string")
|
|
102582
102582
|
return;
|
|
@@ -102653,7 +102653,7 @@ function normalizeHashlineEdits(rawEdits) {
|
|
|
102653
102653
|
}
|
|
102654
102654
|
});
|
|
102655
102655
|
}
|
|
102656
|
-
//
|
|
102656
|
+
// node_modules/.bun/diff@9.0.0/node_modules/diff/libesm/diff/base.js
|
|
102657
102657
|
class Diff {
|
|
102658
102658
|
diff(oldStr, newStr, options = {}) {
|
|
102659
102659
|
let callback;
|
|
@@ -102853,7 +102853,7 @@ class Diff {
|
|
|
102853
102853
|
}
|
|
102854
102854
|
}
|
|
102855
102855
|
|
|
102856
|
-
//
|
|
102856
|
+
// node_modules/.bun/diff@9.0.0/node_modules/diff/libesm/diff/line.js
|
|
102857
102857
|
class LineDiff extends Diff {
|
|
102858
102858
|
constructor() {
|
|
102859
102859
|
super(...arguments);
|
|
@@ -102906,7 +102906,7 @@ function tokenize(value, options) {
|
|
|
102906
102906
|
return retLines;
|
|
102907
102907
|
}
|
|
102908
102908
|
|
|
102909
|
-
//
|
|
102909
|
+
// node_modules/.bun/diff@9.0.0/node_modules/diff/libesm/patch/create.js
|
|
102910
102910
|
function needsQuoting(s) {
|
|
102911
102911
|
for (let i2 = 0;i2 < s.length; i2++) {
|
|
102912
102912
|
if (s[i2] < " " || s[i2] > "~" || s[i2] === '"' || s[i2] === "\\") {
|
|
@@ -103171,7 +103171,7 @@ function splitLines(text) {
|
|
|
103171
103171
|
}
|
|
103172
103172
|
return result;
|
|
103173
103173
|
}
|
|
103174
|
-
//
|
|
103174
|
+
// packages/hashline-core/src/diff-utils.ts
|
|
103175
103175
|
function generateUnifiedDiff(oldContent, newContent, filePath) {
|
|
103176
103176
|
return createTwoFilesPatch(filePath, filePath, oldContent, newContent, undefined, undefined, { context: 3 });
|
|
103177
103177
|
}
|
|
@@ -104844,7 +104844,7 @@ init_safe_create_hook();
|
|
|
104844
104844
|
// src/tools/grep/tools.ts
|
|
104845
104845
|
import { resolve as resolve22 } from "path";
|
|
104846
104846
|
|
|
104847
|
-
//
|
|
104847
|
+
// node_modules/.bun/@opencode-ai+plugin@1.15.10/node_modules/@opencode-ai/plugin/dist/tool.js
|
|
104848
104848
|
import { z as z36 } from "zod";
|
|
104849
104849
|
function tool(input) {
|
|
104850
104850
|
return input;
|
|
@@ -119871,7 +119871,7 @@ function getConnectionType(config) {
|
|
|
119871
119871
|
return null;
|
|
119872
119872
|
}
|
|
119873
119873
|
|
|
119874
|
-
//
|
|
119874
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
119875
119875
|
import * as z3rt from "zod/v3";
|
|
119876
119876
|
import * as z4mini from "zod/v4-mini";
|
|
119877
119877
|
function isZ4Schema(s) {
|
|
@@ -119936,7 +119936,7 @@ function getLiteralValue(schema2) {
|
|
|
119936
119936
|
return;
|
|
119937
119937
|
}
|
|
119938
119938
|
|
|
119939
|
-
//
|
|
119939
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
119940
119940
|
import * as z39 from "zod/v4";
|
|
119941
119941
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
119942
119942
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
@@ -120773,28 +120773,28 @@ class UrlElicitationRequiredError extends McpError {
|
|
|
120773
120773
|
}
|
|
120774
120774
|
}
|
|
120775
120775
|
|
|
120776
|
-
//
|
|
120776
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
120777
120777
|
function isTerminal(status) {
|
|
120778
120778
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
120779
120779
|
}
|
|
120780
120780
|
|
|
120781
|
-
//
|
|
120781
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
120782
120782
|
import * as z4mini2 from "zod/v4-mini";
|
|
120783
120783
|
|
|
120784
|
-
//
|
|
120784
|
+
// node_modules/.bun/zod-to-json-schema@3.25.1+3c5d820c62823f0b/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
120785
120785
|
var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
120786
|
-
//
|
|
120786
|
+
// node_modules/.bun/zod-to-json-schema@3.25.1+3c5d820c62823f0b/node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
120787
120787
|
import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind3 } from "zod/v3";
|
|
120788
120788
|
|
|
120789
|
-
//
|
|
120789
|
+
// node_modules/.bun/zod-to-json-schema@3.25.1+3c5d820c62823f0b/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
120790
120790
|
import { ZodFirstPartyTypeKind } from "zod/v3";
|
|
120791
120791
|
|
|
120792
|
-
//
|
|
120792
|
+
// node_modules/.bun/zod-to-json-schema@3.25.1+3c5d820c62823f0b/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
120793
120793
|
import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind2 } from "zod/v3";
|
|
120794
120794
|
|
|
120795
|
-
//
|
|
120795
|
+
// node_modules/.bun/zod-to-json-schema@3.25.1+3c5d820c62823f0b/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
120796
120796
|
var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
120797
|
-
//
|
|
120797
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
120798
120798
|
function getMethodLiteral(schema2) {
|
|
120799
120799
|
const shape = getObjectShape(schema2);
|
|
120800
120800
|
const methodSchema = shape?.method;
|
|
@@ -120815,7 +120815,7 @@ function parseWithCompat(schema2, data) {
|
|
|
120815
120815
|
return result.data;
|
|
120816
120816
|
}
|
|
120817
120817
|
|
|
120818
|
-
//
|
|
120818
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
120819
120819
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
|
|
120820
120820
|
|
|
120821
120821
|
class Protocol {
|
|
@@ -121656,7 +121656,7 @@ function mergeCapabilities(base, additional) {
|
|
|
121656
121656
|
return result;
|
|
121657
121657
|
}
|
|
121658
121658
|
|
|
121659
|
-
//
|
|
121659
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
121660
121660
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
121661
121661
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
121662
121662
|
function createDefaultAjvInstance() {
|
|
@@ -121696,7 +121696,7 @@ class AjvJsonSchemaValidator {
|
|
|
121696
121696
|
}
|
|
121697
121697
|
}
|
|
121698
121698
|
|
|
121699
|
-
//
|
|
121699
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js
|
|
121700
121700
|
class ExperimentalClientTasks {
|
|
121701
121701
|
constructor(_client) {
|
|
121702
121702
|
this._client = _client;
|
|
@@ -121762,7 +121762,7 @@ class ExperimentalClientTasks {
|
|
|
121762
121762
|
}
|
|
121763
121763
|
}
|
|
121764
121764
|
|
|
121765
|
-
//
|
|
121765
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
121766
121766
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
121767
121767
|
if (!requests) {
|
|
121768
121768
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -121797,7 +121797,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
121797
121797
|
}
|
|
121798
121798
|
}
|
|
121799
121799
|
|
|
121800
|
-
//
|
|
121800
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js
|
|
121801
121801
|
function applyElicitationDefaults(schema2, data) {
|
|
121802
121802
|
if (!schema2 || data === null || typeof data !== "object")
|
|
121803
121803
|
return;
|
|
@@ -122264,7 +122264,7 @@ class Client extends Protocol {
|
|
|
122264
122264
|
}
|
|
122265
122265
|
}
|
|
122266
122266
|
|
|
122267
|
-
//
|
|
122267
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js
|
|
122268
122268
|
function normalizeHeaders(headers) {
|
|
122269
122269
|
if (!headers)
|
|
122270
122270
|
return {};
|
|
@@ -122290,7 +122290,7 @@ function createFetchWithInit(baseFetch = fetch, baseInit) {
|
|
|
122290
122290
|
};
|
|
122291
122291
|
}
|
|
122292
122292
|
|
|
122293
|
-
//
|
|
122293
|
+
// node_modules/.bun/pkce-challenge@5.0.1/node_modules/pkce-challenge/dist/index.node.js
|
|
122294
122294
|
var crypto3;
|
|
122295
122295
|
crypto3 = globalThis.crypto?.webcrypto ?? globalThis.crypto ?? import("crypto").then((m) => m.webcrypto);
|
|
122296
122296
|
async function getRandomValues(size) {
|
|
@@ -122331,7 +122331,7 @@ async function pkceChallenge(length) {
|
|
|
122331
122331
|
};
|
|
122332
122332
|
}
|
|
122333
122333
|
|
|
122334
|
-
//
|
|
122334
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js
|
|
122335
122335
|
import * as z40 from "zod/v4";
|
|
122336
122336
|
var SafeUrlSchema = z40.url().superRefine((val, ctx) => {
|
|
122337
122337
|
if (!URL.canParse(val)) {
|
|
@@ -122477,7 +122477,7 @@ var OAuthTokenRevocationRequestSchema = z40.object({
|
|
|
122477
122477
|
token_type_hint: z40.string().optional()
|
|
122478
122478
|
}).strip();
|
|
122479
122479
|
|
|
122480
|
-
//
|
|
122480
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js
|
|
122481
122481
|
function resourceUrlFromServerUrl(url2) {
|
|
122482
122482
|
const resourceURL = typeof url2 === "string" ? new URL(url2) : new URL(url2.href);
|
|
122483
122483
|
resourceURL.hash = "";
|
|
@@ -122497,7 +122497,7 @@ function checkResourceAllowed({ requestedResource, configuredResource }) {
|
|
|
122497
122497
|
return requestedPath.startsWith(configuredPath);
|
|
122498
122498
|
}
|
|
122499
122499
|
|
|
122500
|
-
//
|
|
122500
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js
|
|
122501
122501
|
class OAuthError extends Error {
|
|
122502
122502
|
constructor(message, errorUri) {
|
|
122503
122503
|
super(message);
|
|
@@ -122606,7 +122606,7 @@ var OAUTH_ERRORS = {
|
|
|
122606
122606
|
[InvalidTargetError.errorCode]: InvalidTargetError
|
|
122607
122607
|
};
|
|
122608
122608
|
|
|
122609
|
-
//
|
|
122609
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js
|
|
122610
122610
|
class UnauthorizedError extends Error {
|
|
122611
122611
|
constructor(message) {
|
|
122612
122612
|
super(message ?? "Unauthorized");
|
|
@@ -123143,7 +123143,7 @@ async function registerClient(authorizationServerUrl, { metadata, clientMetadata
|
|
|
123143
123143
|
return OAuthClientInformationFullSchema.parse(await response.json());
|
|
123144
123144
|
}
|
|
123145
123145
|
|
|
123146
|
-
//
|
|
123146
|
+
// node_modules/.bun/eventsource-parser@3.0.6/node_modules/eventsource-parser/dist/index.js
|
|
123147
123147
|
class ParseError2 extends Error {
|
|
123148
123148
|
constructor(message, options) {
|
|
123149
123149
|
super(message), this.name = "ParseError", this.type = options.type, this.field = options.field, this.value = options.value, this.line = options.line;
|
|
@@ -123234,7 +123234,7 @@ function splitLines2(chunk) {
|
|
|
123234
123234
|
return [lines, incompleteLine];
|
|
123235
123235
|
}
|
|
123236
123236
|
|
|
123237
|
-
//
|
|
123237
|
+
// node_modules/.bun/eventsource-parser@3.0.6/node_modules/eventsource-parser/dist/stream.js
|
|
123238
123238
|
class EventSourceParserStream extends TransformStream {
|
|
123239
123239
|
constructor({ onError, onRetry, onComment } = {}) {
|
|
123240
123240
|
let parser;
|
|
@@ -123258,7 +123258,7 @@ class EventSourceParserStream extends TransformStream {
|
|
|
123258
123258
|
}
|
|
123259
123259
|
}
|
|
123260
123260
|
|
|
123261
|
-
//
|
|
123261
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js
|
|
123262
123262
|
var DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS = {
|
|
123263
123263
|
initialReconnectionDelay: 1000,
|
|
123264
123264
|
maxReconnectionDelay: 30000,
|
|
@@ -123883,12 +123883,12 @@ async function createHttpClient(params) {
|
|
|
123883
123883
|
return client;
|
|
123884
123884
|
}
|
|
123885
123885
|
|
|
123886
|
-
//
|
|
123886
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js
|
|
123887
123887
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
123888
123888
|
import process3 from "process";
|
|
123889
123889
|
import { PassThrough } from "stream";
|
|
123890
123890
|
|
|
123891
|
-
//
|
|
123891
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
123892
123892
|
class ReadBuffer {
|
|
123893
123893
|
append(chunk) {
|
|
123894
123894
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
@@ -123918,7 +123918,7 @@ function serializeMessage(message) {
|
|
|
123918
123918
|
`;
|
|
123919
123919
|
}
|
|
123920
123920
|
|
|
123921
|
-
//
|
|
123921
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js
|
|
123922
123922
|
var DEFAULT_INHERITED_ENV_VARS = process3.platform === "win32" ? [
|
|
123923
123923
|
"APPDATA",
|
|
123924
123924
|
"HOMEDRIVE",
|