@dimi-agent/cli 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.mjs +793 -245
  2. package/package.json +1 -1
package/dist/main.mjs CHANGED
@@ -5264,11 +5264,11 @@ var init_errors$24 = __esmMin((() => {
5264
5264
  }));
5265
5265
  //#endregion
5266
5266
  //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.js
5267
- var parse$11, parseAsync, safeParse$1, safeParseAsync, encode$3, decode$4, encodeAsync, decodeAsync, safeEncode, safeDecode, safeEncodeAsync, safeDecodeAsync;
5267
+ var parse$12, parseAsync, safeParse$1, safeParseAsync, encode$3, decode$4, encodeAsync, decodeAsync, safeEncode, safeDecode, safeEncodeAsync, safeDecodeAsync;
5268
5268
  var init_parse$4 = __esmMin((() => {
5269
5269
  init_core$2();
5270
5270
  init_errors$24();
5271
- parse$11 = /* @__PURE__ */ _parse(ZodRealError);
5271
+ parse$12 = /* @__PURE__ */ _parse(ZodRealError);
5272
5272
  parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
5273
5273
  safeParse$1 = /* @__PURE__ */ _safeParse(ZodRealError);
5274
5274
  safeParseAsync = /* @__PURE__ */ _safeParseAsync(ZodRealError);
@@ -5506,7 +5506,7 @@ var init_schemas$1 = __esmMin((() => {
5506
5506
  reg.add(inst, meta);
5507
5507
  return inst;
5508
5508
  });
5509
- inst.parse = (data, params) => parse$11(inst, data, params, { callee: inst.parse });
5509
+ inst.parse = (data, params) => parse$12(inst, data, params, { callee: inst.parse });
5510
5510
  inst.safeParse = (data, params) => safeParse$1(inst, data, params);
5511
5511
  inst.parseAsync = async (data, params) => parseAsync(inst, data, params, { callee: inst.parseAsync });
5512
5512
  inst.safeParseAsync = async (data, params) => safeParseAsync(inst, data, params);
@@ -6855,7 +6855,7 @@ function normalizeString(path, allowAboveRoot) {
6855
6855
  }
6856
6856
  return res;
6857
6857
  }
6858
- var _lazyMatch, _match, zeptomatch, _DRIVE_LETTER_START_RE, _UNC_REGEX, _IS_ABSOLUTE_RE, _DRIVE_LETTER_RE, _ROOT_FOLDER_RE, _EXTNAME_RE, _PATH_ROOT_RE, normalize$1, join$5, resolve$2, isAbsolute$2, toNamespacedPath, extname$1, relative$1, dirname$4, format$5, basename$2, parse$10, matchesGlob, _path;
6858
+ var _lazyMatch, _match, zeptomatch, _DRIVE_LETTER_START_RE, _UNC_REGEX, _IS_ABSOLUTE_RE, _DRIVE_LETTER_RE, _ROOT_FOLDER_RE, _EXTNAME_RE, _PATH_ROOT_RE, normalize$1, join$5, resolve$2, isAbsolute$2, toNamespacedPath, extname$1, relative$1, dirname$4, format$5, basename$2, parse$11, matchesGlob, _path;
6859
6859
  var init_pathe_M_eThtNZ = __esmMin((() => {
6860
6860
  _lazyMatch = () => {
6861
6861
  var __lib__ = (() => {
@@ -7193,7 +7193,7 @@ var init_pathe_M_eThtNZ = __esmMin((() => {
7193
7193
  }
7194
7194
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
7195
7195
  };
7196
- parse$10 = function(p) {
7196
+ parse$11 = function(p) {
7197
7197
  const root = _PATH_ROOT_RE.exec(p)?.[0]?.replace(/\\/g, "/") || "";
7198
7198
  const base = basename$2(p);
7199
7199
  const extension = extname$1(base);
@@ -7219,7 +7219,7 @@ var init_pathe_M_eThtNZ = __esmMin((() => {
7219
7219
  matchesGlob,
7220
7220
  normalize: normalize$1,
7221
7221
  normalizeString,
7222
- parse: parse$10,
7222
+ parse: parse$11,
7223
7223
  relative: relative$1,
7224
7224
  resolve: resolve$2,
7225
7225
  sep: "/",
@@ -14024,8 +14024,8 @@ var require_client_h1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
14024
14024
  * @param {import('net').Socket} socket
14025
14025
  * @param {*} llhttp
14026
14026
  */
14027
- constructor(client, socket, { exports: exports$15 }) {
14028
- this.llhttp = exports$15;
14027
+ constructor(client, socket, { exports: exports$14 }) {
14028
+ this.llhttp = exports$14;
14029
14029
  this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE);
14030
14030
  this.client = client;
14031
14031
  /**
@@ -33257,8 +33257,8 @@ var require_build = /* @__PURE__ */ __commonJSMin(((exports) => {
33257
33257
  if (k2 === void 0) k2 = k;
33258
33258
  o[k2] = m[k];
33259
33259
  }));
33260
- var __exportStar = exports && exports.__exportStar || function(m, exports$14) {
33261
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$14, p)) __createBinding(exports$14, m, p);
33260
+ var __exportStar = exports && exports.__exportStar || function(m, exports$13) {
33261
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$13, p)) __createBinding(exports$13, m, p);
33262
33262
  };
33263
33263
  Object.defineProperty(exports, "__esModule", { value: true });
33264
33264
  __exportStar(require_socksclient(), exports);
@@ -38606,7 +38606,7 @@ function isRecord$15(value) {
38606
38606
  return typeof value === "object" && value !== null && !Array.isArray(value);
38607
38607
  }
38608
38608
  var FrontmatterError, SkillParseError, UnsupportedSkillTypeError, FENCE, METADATA_ALIASES;
38609
- var init_parser$2 = __esmMin((() => {
38609
+ var init_parser$3 = __esmMin((() => {
38610
38610
  init_dist$7();
38611
38611
  init_js_yaml();
38612
38612
  init_types$16();
@@ -38798,7 +38798,7 @@ var MAX_SKILL_SCAN_DEPTH, FileSkillDiscovery;
38798
38798
  var init_fileSkillDiscovery = __esmMin((() => {
38799
38799
  init_dist$7();
38800
38800
  init_log();
38801
- init_parser$2();
38801
+ init_parser$3();
38802
38802
  init_types$16();
38803
38803
  init_decorateParam();
38804
38804
  init_decorate();
@@ -41747,7 +41747,7 @@ var require_uint32ArrayFrom = /* @__PURE__ */ __commonJSMin(((exports) => {
41747
41747
  }));
41748
41748
  //#endregion
41749
41749
  //#region ../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/index.js
41750
- var require_main$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
41750
+ var require_main$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
41751
41751
  Object.defineProperty(exports, "__esModule", { value: true });
41752
41752
  exports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0;
41753
41753
  var convertToBuffer_1 = require_convertToBuffer();
@@ -41787,7 +41787,7 @@ var require_jsSha256 = /* @__PURE__ */ __commonJSMin(((exports) => {
41787
41787
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
41788
41788
  var constants_1 = require_constants$8();
41789
41789
  var RawSha256_1 = require_RawSha256();
41790
- var util_1 = require_main$3();
41790
+ var util_1 = require_main$2();
41791
41791
  exports.Sha256 = function() {
41792
41792
  function Sha256(secret) {
41793
41793
  this.secret = secret;
@@ -41849,7 +41849,7 @@ var require_jsSha256 = /* @__PURE__ */ __commonJSMin(((exports) => {
41849
41849
  }));
41850
41850
  //#endregion
41851
41851
  //#region ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/index.js
41852
- var require_main$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
41852
+ var require_main$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
41853
41853
  Object.defineProperty(exports, "__esModule", { value: true });
41854
41854
  (init_tslib_es6(), __toCommonJS(tslib_es6_exports)).__exportStar(require_jsSha256(), exports);
41855
41855
  }));
@@ -62600,8 +62600,8 @@ var require_dist$8 = /* @__PURE__ */ __commonJSMin(((exports) => {
62600
62600
  __setModuleDefault(result, mod);
62601
62601
  return result;
62602
62602
  };
62603
- var __exportStar = exports && exports.__exportStar || function(m, exports$13) {
62604
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$13, p)) __createBinding(exports$13, m, p);
62603
+ var __exportStar = exports && exports.__exportStar || function(m, exports$12) {
62604
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$12, p)) __createBinding(exports$12, m, p);
62605
62605
  };
62606
62606
  Object.defineProperty(exports, "__esModule", { value: true });
62607
62607
  exports.Agent = void 0;
@@ -62972,7 +62972,7 @@ var require_ponyfill_es2018 = /* @__PURE__ */ __commonJSMin(((exports, module) =
62972
62972
  */
62973
62973
  (function(global, factory) {
62974
62974
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.WebStreamsPolyfill = {}));
62975
- })(exports, (function(exports$12) {
62975
+ })(exports, (function(exports$11) {
62976
62976
  "use strict";
62977
62977
  function noop() {}
62978
62978
  function typeIsObject(x) {
@@ -66438,19 +66438,19 @@ var require_ponyfill_es2018 = /* @__PURE__ */ __commonJSMin(((exports, module) =
66438
66438
  function streamBrandCheckException(name) {
66439
66439
  return /* @__PURE__ */ new TypeError(`TransformStream.prototype.${name} can only be used on a TransformStream`);
66440
66440
  }
66441
- exports$12.ByteLengthQueuingStrategy = ByteLengthQueuingStrategy;
66442
- exports$12.CountQueuingStrategy = CountQueuingStrategy;
66443
- exports$12.ReadableByteStreamController = ReadableByteStreamController;
66444
- exports$12.ReadableStream = ReadableStream;
66445
- exports$12.ReadableStreamBYOBReader = ReadableStreamBYOBReader;
66446
- exports$12.ReadableStreamBYOBRequest = ReadableStreamBYOBRequest;
66447
- exports$12.ReadableStreamDefaultController = ReadableStreamDefaultController;
66448
- exports$12.ReadableStreamDefaultReader = ReadableStreamDefaultReader;
66449
- exports$12.TransformStream = TransformStream;
66450
- exports$12.TransformStreamDefaultController = TransformStreamDefaultController;
66451
- exports$12.WritableStream = WritableStream;
66452
- exports$12.WritableStreamDefaultController = WritableStreamDefaultController;
66453
- exports$12.WritableStreamDefaultWriter = WritableStreamDefaultWriter;
66441
+ exports$11.ByteLengthQueuingStrategy = ByteLengthQueuingStrategy;
66442
+ exports$11.CountQueuingStrategy = CountQueuingStrategy;
66443
+ exports$11.ReadableByteStreamController = ReadableByteStreamController;
66444
+ exports$11.ReadableStream = ReadableStream;
66445
+ exports$11.ReadableStreamBYOBReader = ReadableStreamBYOBReader;
66446
+ exports$11.ReadableStreamBYOBRequest = ReadableStreamBYOBRequest;
66447
+ exports$11.ReadableStreamDefaultController = ReadableStreamDefaultController;
66448
+ exports$11.ReadableStreamDefaultReader = ReadableStreamDefaultReader;
66449
+ exports$11.TransformStream = TransformStream;
66450
+ exports$11.TransformStreamDefaultController = TransformStreamDefaultController;
66451
+ exports$11.WritableStream = WritableStream;
66452
+ exports$11.WritableStreamDefaultController = WritableStreamDefaultController;
66453
+ exports$11.WritableStreamDefaultWriter = WritableStreamDefaultWriter;
66454
66454
  }));
66455
66455
  }));
66456
66456
  //#endregion
@@ -68688,8 +68688,8 @@ var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
68688
68688
  if (k2 === void 0) k2 = k;
68689
68689
  o[k2] = m[k];
68690
68690
  }));
68691
- var __exportStar = exports && exports.__exportStar || function(m, exports$11) {
68692
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$11, p)) __createBinding(exports$11, m, p);
68691
+ var __exportStar = exports && exports.__exportStar || function(m, exports$10) {
68692
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$10, p)) __createBinding(exports$10, m, p);
68693
68693
  };
68694
68694
  Object.defineProperty(exports, "__esModule", { value: true });
68695
68695
  exports.instance = exports.Gaxios = exports.GaxiosError = void 0;
@@ -70761,8 +70761,8 @@ var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
70761
70761
  if (k2 === void 0) k2 = k;
70762
70762
  o[k2] = m[k];
70763
70763
  }));
70764
- var __exportStar = exports && exports.__exportStar || function(m, exports$10) {
70765
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$10, p)) __createBinding(exports$10, m, p);
70764
+ var __exportStar = exports && exports.__exportStar || function(m, exports$9) {
70765
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$9, p)) __createBinding(exports$9, m, p);
70766
70766
  };
70767
70767
  Object.defineProperty(exports, "__esModule", { value: true });
70768
70768
  __exportStar(require_logging_utils(), exports);
@@ -70811,8 +70811,8 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
70811
70811
  return result;
70812
70812
  };
70813
70813
  })();
70814
- var __exportStar = exports && exports.__exportStar || function(m, exports$9) {
70815
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$9, p)) __createBinding(exports$9, m, p);
70814
+ var __exportStar = exports && exports.__exportStar || function(m, exports$8) {
70815
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$8, p)) __createBinding(exports$8, m, p);
70816
70816
  };
70817
70817
  Object.defineProperty(exports, "__esModule", { value: true });
70818
70818
  exports.gcpResidencyCache = exports.METADATA_SERVER_DETECTION = exports.HEADERS = exports.HEADER_VALUE = exports.HEADER_NAME = exports.SECONDARY_HOST_ADDRESS = exports.HOST_ADDRESS = exports.BASE_PATH = void 0;
@@ -71373,8 +71373,8 @@ var require_crypto = /* @__PURE__ */ __commonJSMin(((exports) => {
71373
71373
  if (k2 === void 0) k2 = k;
71374
71374
  o[k2] = m[k];
71375
71375
  }));
71376
- var __exportStar = exports && exports.__exportStar || function(m, exports$8) {
71377
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$8, p)) __createBinding(exports$8, m, p);
71376
+ var __exportStar = exports && exports.__exportStar || function(m, exports$7) {
71377
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$7, p)) __createBinding(exports$7, m, p);
71378
71378
  };
71379
71379
  Object.defineProperty(exports, "__esModule", { value: true });
71380
71380
  exports.createCrypto = createCrypto;
@@ -77542,8 +77542,8 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
77542
77542
  if (k2 === void 0) k2 = k;
77543
77543
  o[k2] = m[k];
77544
77544
  }));
77545
- var __exportStar = exports && exports.__exportStar || function(m, exports$7) {
77546
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$7, p)) __createBinding(exports$7, m, p);
77545
+ var __exportStar = exports && exports.__exportStar || function(m, exports$6) {
77546
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$6, p)) __createBinding(exports$6, m, p);
77547
77547
  };
77548
77548
  Object.defineProperty(exports, "__esModule", { value: true });
77549
77549
  exports.GoogleAuth = exports.auth = exports.GDCH_SERVICE_ACCOUNT_TYPE = exports.GdchClient = exports.PassThroughClient = exports.ExternalAccountAuthorizedUserClient = exports.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE = exports.ExecutableError = exports.PluggableAuthClient = exports.DownscopedClient = exports.BaseExternalAccountClient = exports.ExternalAccountClient = exports.IdentityPoolClient = exports.AwsRequestSigner = exports.AwsClient = exports.UserRefreshClient = exports.LoginTicket = exports.ClientAuthentication = exports.OAuth2Client = exports.CodeChallengeMethod = exports.Impersonated = exports.JWT = exports.JWTAccess = exports.IdTokenClient = exports.IAMAuth = exports.GCPEnv = exports.Compute = exports.DEFAULT_UNIVERSE = exports.AuthClient = exports.gaxios = exports.gcpMetadata = void 0;
@@ -77770,7 +77770,7 @@ async function authenticateProviderRequest(model, auth, url, headers, body) {
77770
77770
  credentials: (0, import_dist_cjs.defaultProvider)({ profile: auth.env?.["AWS_PROFILE"] }),
77771
77771
  region: bedrockRegion(model, resolvedUrl, auth.env),
77772
77772
  service: "bedrock",
77773
- sha256: import_main$1.Sha256
77773
+ sha256: import_main.Sha256
77774
77774
  }).sign(request);
77775
77775
  return {
77776
77776
  url,
@@ -77806,9 +77806,9 @@ function bedrockRegion(model, url, env) {
77806
77806
  const endpointRegion = /^bedrock-runtime\.([a-z0-9-]+)\.amazonaws\.com$/u.exec(url.hostname)?.[1];
77807
77807
  return env?.["AWS_REGION"] ?? env?.["AWS_DEFAULT_REGION"] ?? endpointRegion ?? "us-east-1";
77808
77808
  }
77809
- var import_main$1, import_dist_cjs, import_dist_cjs$1, import_dist_cjs$2, import_src$2;
77809
+ var import_main, import_dist_cjs, import_dist_cjs$1, import_dist_cjs$2, import_src$2;
77810
77810
  var init_requestAuth = __esmMin((() => {
77811
- import_main$1 = require_main$2();
77811
+ import_main = require_main$1();
77812
77812
  import_dist_cjs = require_dist_cjs$1();
77813
77813
  import_dist_cjs$1 = require_dist_cjs();
77814
77814
  import_dist_cjs$2 = require_dist_cjs$10();
@@ -81797,217 +81797,765 @@ var require_proper_lockfile = /* @__PURE__ */ __commonJSMin(((exports, module) =
81797
81797
  module.exports.checkSync = checkSync;
81798
81798
  }));
81799
81799
  //#endregion
81800
- //#region ../../node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/umd/main.js
81801
- var require_main$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
81802
- (function(factory) {
81803
- if (typeof module === "object" && typeof module.exports === "object") {
81804
- var v = factory(__require, exports);
81805
- if (v !== void 0) module.exports = v;
81806
- } else if (typeof define === "function" && define.amd) define([
81807
- "require",
81808
- "exports",
81809
- "./impl/format",
81810
- "./impl/edit",
81811
- "./impl/scanner",
81812
- "./impl/parser"
81813
- ], factory);
81814
- })(function(require, exports$6) {
81815
- "use strict";
81816
- Object.defineProperty(exports$6, "__esModule", { value: true });
81817
- exports$6.applyEdits = exports$6.modify = exports$6.format = exports$6.printParseErrorCode = exports$6.ParseErrorCode = exports$6.stripComments = exports$6.visit = exports$6.getNodeValue = exports$6.getNodePath = exports$6.findNodeAtOffset = exports$6.findNodeAtLocation = exports$6.parseTree = exports$6.parse = exports$6.getLocation = exports$6.SyntaxKind = exports$6.ScanError = exports$6.createScanner = void 0;
81818
- const formatter = require("./impl/format");
81819
- const edit = require("./impl/edit");
81820
- const scanner = require("./impl/scanner");
81821
- const parser = require("./impl/parser");
81822
- /**
81823
- * Creates a JSON scanner on the given text.
81824
- * If ignoreTrivia is set, whitespaces or comments are ignored.
81825
- */
81826
- exports$6.createScanner = scanner.createScanner;
81827
- var ScanError;
81828
- (function(ScanError) {
81829
- ScanError[ScanError["None"] = 0] = "None";
81830
- ScanError[ScanError["UnexpectedEndOfComment"] = 1] = "UnexpectedEndOfComment";
81831
- ScanError[ScanError["UnexpectedEndOfString"] = 2] = "UnexpectedEndOfString";
81832
- ScanError[ScanError["UnexpectedEndOfNumber"] = 3] = "UnexpectedEndOfNumber";
81833
- ScanError[ScanError["InvalidUnicode"] = 4] = "InvalidUnicode";
81834
- ScanError[ScanError["InvalidEscapeCharacter"] = 5] = "InvalidEscapeCharacter";
81835
- ScanError[ScanError["InvalidCharacter"] = 6] = "InvalidCharacter";
81836
- })(ScanError || (exports$6.ScanError = ScanError = {}));
81837
- var SyntaxKind;
81838
- (function(SyntaxKind) {
81839
- SyntaxKind[SyntaxKind["OpenBraceToken"] = 1] = "OpenBraceToken";
81840
- SyntaxKind[SyntaxKind["CloseBraceToken"] = 2] = "CloseBraceToken";
81841
- SyntaxKind[SyntaxKind["OpenBracketToken"] = 3] = "OpenBracketToken";
81842
- SyntaxKind[SyntaxKind["CloseBracketToken"] = 4] = "CloseBracketToken";
81843
- SyntaxKind[SyntaxKind["CommaToken"] = 5] = "CommaToken";
81844
- SyntaxKind[SyntaxKind["ColonToken"] = 6] = "ColonToken";
81845
- SyntaxKind[SyntaxKind["NullKeyword"] = 7] = "NullKeyword";
81846
- SyntaxKind[SyntaxKind["TrueKeyword"] = 8] = "TrueKeyword";
81847
- SyntaxKind[SyntaxKind["FalseKeyword"] = 9] = "FalseKeyword";
81848
- SyntaxKind[SyntaxKind["StringLiteral"] = 10] = "StringLiteral";
81849
- SyntaxKind[SyntaxKind["NumericLiteral"] = 11] = "NumericLiteral";
81850
- SyntaxKind[SyntaxKind["LineCommentTrivia"] = 12] = "LineCommentTrivia";
81851
- SyntaxKind[SyntaxKind["BlockCommentTrivia"] = 13] = "BlockCommentTrivia";
81852
- SyntaxKind[SyntaxKind["LineBreakTrivia"] = 14] = "LineBreakTrivia";
81853
- SyntaxKind[SyntaxKind["Trivia"] = 15] = "Trivia";
81854
- SyntaxKind[SyntaxKind["Unknown"] = 16] = "Unknown";
81855
- SyntaxKind[SyntaxKind["EOF"] = 17] = "EOF";
81856
- })(SyntaxKind || (exports$6.SyntaxKind = SyntaxKind = {}));
81857
- /**
81858
- * For a given offset, evaluate the location in the JSON document. Each segment in the location path is either a property name or an array index.
81859
- */
81860
- exports$6.getLocation = parser.getLocation;
81861
- /**
81862
- * Parses the given text and returns the object the JSON content represents. On invalid input, the parser tries to be as fault tolerant as possible, but still return a result.
81863
- * Therefore, always check the errors list to find out if the input was valid.
81864
- */
81865
- exports$6.parse = parser.parse;
81866
- /**
81867
- * Parses the given text and returns a tree representation the JSON content. On invalid input, the parser tries to be as fault tolerant as possible, but still return a result.
81868
- */
81869
- exports$6.parseTree = parser.parseTree;
81870
- /**
81871
- * Finds the node at the given path in a JSON DOM.
81872
- */
81873
- exports$6.findNodeAtLocation = parser.findNodeAtLocation;
81874
- /**
81875
- * Finds the innermost node at the given offset. If includeRightBound is set, also finds nodes that end at the given offset.
81876
- */
81877
- exports$6.findNodeAtOffset = parser.findNodeAtOffset;
81878
- /**
81879
- * Gets the JSON path of the given JSON DOM node
81880
- */
81881
- exports$6.getNodePath = parser.getNodePath;
81882
- /**
81883
- * Evaluates the JavaScript object of the given JSON DOM node
81884
- */
81885
- exports$6.getNodeValue = parser.getNodeValue;
81886
- /**
81887
- * Parses the given text and invokes the visitor functions for each object, array and literal reached.
81888
- */
81889
- exports$6.visit = parser.visit;
81890
- /**
81891
- * Takes JSON with JavaScript-style comments and remove
81892
- * them. Optionally replaces every none-newline character
81893
- * of comments with a replaceCharacter
81894
- */
81895
- exports$6.stripComments = parser.stripComments;
81896
- var ParseErrorCode;
81897
- (function(ParseErrorCode) {
81898
- ParseErrorCode[ParseErrorCode["InvalidSymbol"] = 1] = "InvalidSymbol";
81899
- ParseErrorCode[ParseErrorCode["InvalidNumberFormat"] = 2] = "InvalidNumberFormat";
81900
- ParseErrorCode[ParseErrorCode["PropertyNameExpected"] = 3] = "PropertyNameExpected";
81901
- ParseErrorCode[ParseErrorCode["ValueExpected"] = 4] = "ValueExpected";
81902
- ParseErrorCode[ParseErrorCode["ColonExpected"] = 5] = "ColonExpected";
81903
- ParseErrorCode[ParseErrorCode["CommaExpected"] = 6] = "CommaExpected";
81904
- ParseErrorCode[ParseErrorCode["CloseBraceExpected"] = 7] = "CloseBraceExpected";
81905
- ParseErrorCode[ParseErrorCode["CloseBracketExpected"] = 8] = "CloseBracketExpected";
81906
- ParseErrorCode[ParseErrorCode["EndOfFileExpected"] = 9] = "EndOfFileExpected";
81907
- ParseErrorCode[ParseErrorCode["InvalidCommentToken"] = 10] = "InvalidCommentToken";
81908
- ParseErrorCode[ParseErrorCode["UnexpectedEndOfComment"] = 11] = "UnexpectedEndOfComment";
81909
- ParseErrorCode[ParseErrorCode["UnexpectedEndOfString"] = 12] = "UnexpectedEndOfString";
81910
- ParseErrorCode[ParseErrorCode["UnexpectedEndOfNumber"] = 13] = "UnexpectedEndOfNumber";
81911
- ParseErrorCode[ParseErrorCode["InvalidUnicode"] = 14] = "InvalidUnicode";
81912
- ParseErrorCode[ParseErrorCode["InvalidEscapeCharacter"] = 15] = "InvalidEscapeCharacter";
81913
- ParseErrorCode[ParseErrorCode["InvalidCharacter"] = 16] = "InvalidCharacter";
81914
- })(ParseErrorCode || (exports$6.ParseErrorCode = ParseErrorCode = {}));
81915
- function printParseErrorCode(code) {
81916
- switch (code) {
81917
- case 1: return "InvalidSymbol";
81918
- case 2: return "InvalidNumberFormat";
81919
- case 3: return "PropertyNameExpected";
81920
- case 4: return "ValueExpected";
81921
- case 5: return "ColonExpected";
81922
- case 6: return "CommaExpected";
81923
- case 7: return "CloseBraceExpected";
81924
- case 8: return "CloseBracketExpected";
81925
- case 9: return "EndOfFileExpected";
81926
- case 10: return "InvalidCommentToken";
81927
- case 11: return "UnexpectedEndOfComment";
81928
- case 12: return "UnexpectedEndOfString";
81929
- case 13: return "UnexpectedEndOfNumber";
81930
- case 14: return "InvalidUnicode";
81931
- case 15: return "InvalidEscapeCharacter";
81932
- case 16: return "InvalidCharacter";
81933
- }
81934
- return "<unknown ParseErrorCode>";
81935
- }
81936
- exports$6.printParseErrorCode = printParseErrorCode;
81937
- /**
81938
- * Computes the edit operations needed to format a JSON document.
81939
- *
81940
- * @param documentText The input text
81941
- * @param range The range to format or `undefined` to format the full content
81942
- * @param options The formatting options
81943
- * @returns The edit operations describing the formatting changes to the original document following the format described in {@linkcode EditResult}.
81944
- * To apply the edit operations to the input, use {@linkcode applyEdits}.
81945
- */
81946
- function format(documentText, range, options) {
81947
- return formatter.format(documentText, range, options);
81800
+ //#region ../../node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/scanner.js
81801
+ /**
81802
+ * Creates a JSON scanner on the given text.
81803
+ * If ignoreTrivia is set, whitespaces or comments are ignored.
81804
+ */
81805
+ function createScanner(text, ignoreTrivia = false) {
81806
+ const len = text.length;
81807
+ let pos = 0, value = "", tokenOffset = 0, token = 16, lineNumber = 0, lineStartOffset = 0, tokenLineStartOffset = 0, prevTokenLineStartOffset = 0, scanError = 0;
81808
+ function scanHexDigits(count, exact) {
81809
+ let digits = 0;
81810
+ let value = 0;
81811
+ while (digits < count || !exact) {
81812
+ let ch = text.charCodeAt(pos);
81813
+ if (ch >= 48 && ch <= 57) value = value * 16 + ch - 48;
81814
+ else if (ch >= 65 && ch <= 70) value = value * 16 + ch - 65 + 10;
81815
+ else if (ch >= 97 && ch <= 102) value = value * 16 + ch - 97 + 10;
81816
+ else break;
81817
+ pos++;
81818
+ digits++;
81948
81819
  }
81949
- exports$6.format = format;
81950
- /**
81951
- * Computes the edit operations needed to modify a value in the JSON document.
81952
- *
81953
- * @param documentText The input text
81954
- * @param path The path of the value to change. The path represents either to the document root, a property or an array item.
81955
- * If the path points to an non-existing property or item, it will be created.
81956
- * @param value The new value for the specified property or item. If the value is undefined,
81957
- * the property or item will be removed.
81958
- * @param options Options
81959
- * @returns The edit operations describing the changes to the original document, following the format described in {@linkcode EditResult}.
81960
- * To apply the edit operations to the input, use {@linkcode applyEdits}.
81961
- */
81962
- function modify(text, path, value, options) {
81963
- return edit.setProperty(text, path, value, options);
81964
- }
81965
- exports$6.modify = modify;
81966
- /**
81967
- * Applies edits to an input string.
81968
- * @param text The input text
81969
- * @param edits Edit operations following the format described in {@linkcode EditResult}.
81970
- * @returns The text with the applied edits.
81971
- * @throws An error if the edit operations are not well-formed as described in {@linkcode EditResult}.
81972
- */
81973
- function applyEdits(text, edits) {
81974
- let sortedEdits = edits.slice(0).sort((a, b) => {
81975
- const diff = a.offset - b.offset;
81976
- if (diff === 0) return a.length - b.length;
81977
- return diff;
81820
+ if (digits < count) value = -1;
81821
+ return value;
81822
+ }
81823
+ function setPosition(newPosition) {
81824
+ pos = newPosition;
81825
+ value = "";
81826
+ tokenOffset = 0;
81827
+ token = 16;
81828
+ scanError = 0;
81829
+ }
81830
+ function scanNumber() {
81831
+ let start = pos;
81832
+ if (text.charCodeAt(pos) === 48) pos++;
81833
+ else {
81834
+ pos++;
81835
+ while (pos < text.length && isDigit(text.charCodeAt(pos))) pos++;
81836
+ }
81837
+ if (pos < text.length && text.charCodeAt(pos) === 46) {
81838
+ pos++;
81839
+ if (pos < text.length && isDigit(text.charCodeAt(pos))) {
81840
+ pos++;
81841
+ while (pos < text.length && isDigit(text.charCodeAt(pos))) pos++;
81842
+ } else {
81843
+ scanError = 3;
81844
+ return text.substring(start, pos);
81845
+ }
81846
+ }
81847
+ let end = pos;
81848
+ if (pos < text.length && (text.charCodeAt(pos) === 69 || text.charCodeAt(pos) === 101)) {
81849
+ pos++;
81850
+ if (pos < text.length && text.charCodeAt(pos) === 43 || text.charCodeAt(pos) === 45) pos++;
81851
+ if (pos < text.length && isDigit(text.charCodeAt(pos))) {
81852
+ pos++;
81853
+ while (pos < text.length && isDigit(text.charCodeAt(pos))) pos++;
81854
+ end = pos;
81855
+ } else scanError = 3;
81856
+ }
81857
+ return text.substring(start, end);
81858
+ }
81859
+ function scanString() {
81860
+ let result = "", start = pos;
81861
+ while (true) {
81862
+ if (pos >= len) {
81863
+ result += text.substring(start, pos);
81864
+ scanError = 2;
81865
+ break;
81866
+ }
81867
+ const ch = text.charCodeAt(pos);
81868
+ if (ch === 34) {
81869
+ result += text.substring(start, pos);
81870
+ pos++;
81871
+ break;
81872
+ }
81873
+ if (ch === 92) {
81874
+ result += text.substring(start, pos);
81875
+ pos++;
81876
+ if (pos >= len) {
81877
+ scanError = 2;
81878
+ break;
81879
+ }
81880
+ switch (text.charCodeAt(pos++)) {
81881
+ case 34:
81882
+ result += "\"";
81883
+ break;
81884
+ case 92:
81885
+ result += "\\";
81886
+ break;
81887
+ case 47:
81888
+ result += "/";
81889
+ break;
81890
+ case 98:
81891
+ result += "\b";
81892
+ break;
81893
+ case 102:
81894
+ result += "\f";
81895
+ break;
81896
+ case 110:
81897
+ result += "\n";
81898
+ break;
81899
+ case 114:
81900
+ result += "\r";
81901
+ break;
81902
+ case 116:
81903
+ result += " ";
81904
+ break;
81905
+ case 117:
81906
+ const ch3 = scanHexDigits(4, true);
81907
+ if (ch3 >= 0) result += String.fromCharCode(ch3);
81908
+ else scanError = 4;
81909
+ break;
81910
+ default: scanError = 5;
81911
+ }
81912
+ start = pos;
81913
+ continue;
81914
+ }
81915
+ if (ch >= 0 && ch <= 31) if (isLineBreak(ch)) {
81916
+ result += text.substring(start, pos);
81917
+ scanError = 2;
81918
+ break;
81919
+ } else scanError = 6;
81920
+ pos++;
81921
+ }
81922
+ return result;
81923
+ }
81924
+ function scanNext() {
81925
+ value = "";
81926
+ scanError = 0;
81927
+ tokenOffset = pos;
81928
+ lineStartOffset = lineNumber;
81929
+ prevTokenLineStartOffset = tokenLineStartOffset;
81930
+ if (pos >= len) {
81931
+ tokenOffset = len;
81932
+ return token = 17;
81933
+ }
81934
+ let code = text.charCodeAt(pos);
81935
+ if (isWhiteSpace(code)) {
81936
+ do {
81937
+ pos++;
81938
+ value += String.fromCharCode(code);
81939
+ code = text.charCodeAt(pos);
81940
+ } while (isWhiteSpace(code));
81941
+ return token = 15;
81942
+ }
81943
+ if (isLineBreak(code)) {
81944
+ pos++;
81945
+ value += String.fromCharCode(code);
81946
+ if (code === 13 && text.charCodeAt(pos) === 10) {
81947
+ pos++;
81948
+ value += "\n";
81949
+ }
81950
+ lineNumber++;
81951
+ tokenLineStartOffset = pos;
81952
+ return token = 14;
81953
+ }
81954
+ switch (code) {
81955
+ case 123:
81956
+ pos++;
81957
+ return token = 1;
81958
+ case 125:
81959
+ pos++;
81960
+ return token = 2;
81961
+ case 91:
81962
+ pos++;
81963
+ return token = 3;
81964
+ case 93:
81965
+ pos++;
81966
+ return token = 4;
81967
+ case 58:
81968
+ pos++;
81969
+ return token = 6;
81970
+ case 44:
81971
+ pos++;
81972
+ return token = 5;
81973
+ case 34:
81974
+ pos++;
81975
+ value = scanString();
81976
+ return token = 10;
81977
+ case 47:
81978
+ const start = pos - 1;
81979
+ if (text.charCodeAt(pos + 1) === 47) {
81980
+ pos += 2;
81981
+ while (pos < len) {
81982
+ if (isLineBreak(text.charCodeAt(pos))) break;
81983
+ pos++;
81984
+ }
81985
+ value = text.substring(start, pos);
81986
+ return token = 12;
81987
+ }
81988
+ if (text.charCodeAt(pos + 1) === 42) {
81989
+ pos += 2;
81990
+ const safeLength = len - 1;
81991
+ let commentClosed = false;
81992
+ while (pos < safeLength) {
81993
+ const ch = text.charCodeAt(pos);
81994
+ if (ch === 42 && text.charCodeAt(pos + 1) === 47) {
81995
+ pos += 2;
81996
+ commentClosed = true;
81997
+ break;
81998
+ }
81999
+ pos++;
82000
+ if (isLineBreak(ch)) {
82001
+ if (ch === 13 && text.charCodeAt(pos) === 10) pos++;
82002
+ lineNumber++;
82003
+ tokenLineStartOffset = pos;
82004
+ }
82005
+ }
82006
+ if (!commentClosed) {
82007
+ pos++;
82008
+ scanError = 1;
82009
+ }
82010
+ value = text.substring(start, pos);
82011
+ return token = 13;
82012
+ }
82013
+ value += String.fromCharCode(code);
82014
+ pos++;
82015
+ return token = 16;
82016
+ case 45:
82017
+ value += String.fromCharCode(code);
82018
+ pos++;
82019
+ if (pos === len || !isDigit(text.charCodeAt(pos))) return token = 16;
82020
+ case 48:
82021
+ case 49:
82022
+ case 50:
82023
+ case 51:
82024
+ case 52:
82025
+ case 53:
82026
+ case 54:
82027
+ case 55:
82028
+ case 56:
82029
+ case 57:
82030
+ value += scanNumber();
82031
+ return token = 11;
82032
+ default:
82033
+ while (pos < len && isUnknownContentCharacter(code)) {
82034
+ pos++;
82035
+ code = text.charCodeAt(pos);
82036
+ }
82037
+ if (tokenOffset !== pos) {
82038
+ value = text.substring(tokenOffset, pos);
82039
+ switch (value) {
82040
+ case "true": return token = 8;
82041
+ case "false": return token = 9;
82042
+ case "null": return token = 7;
82043
+ }
82044
+ return token = 16;
82045
+ }
82046
+ value += String.fromCharCode(code);
82047
+ pos++;
82048
+ return token = 16;
82049
+ }
82050
+ }
82051
+ function isUnknownContentCharacter(code) {
82052
+ if (isWhiteSpace(code) || isLineBreak(code)) return false;
82053
+ switch (code) {
82054
+ case 125:
82055
+ case 93:
82056
+ case 123:
82057
+ case 91:
82058
+ case 34:
82059
+ case 58:
82060
+ case 44:
82061
+ case 47: return false;
82062
+ }
82063
+ return true;
82064
+ }
82065
+ function scanNextNonTrivia() {
82066
+ let result;
82067
+ do
82068
+ result = scanNext();
82069
+ while (result >= 12 && result <= 15);
82070
+ return result;
82071
+ }
82072
+ return {
82073
+ setPosition,
82074
+ getPosition: () => pos,
82075
+ scan: ignoreTrivia ? scanNextNonTrivia : scanNext,
82076
+ getToken: () => token,
82077
+ getTokenValue: () => value,
82078
+ getTokenOffset: () => tokenOffset,
82079
+ getTokenLength: () => pos - tokenOffset,
82080
+ getTokenStartLine: () => lineStartOffset,
82081
+ getTokenStartCharacter: () => tokenOffset - prevTokenLineStartOffset,
82082
+ getTokenError: () => scanError
82083
+ };
82084
+ }
82085
+ function isWhiteSpace(ch) {
82086
+ return ch === 32 || ch === 9;
82087
+ }
82088
+ function isLineBreak(ch) {
82089
+ return ch === 10 || ch === 13;
82090
+ }
82091
+ function isDigit(ch) {
82092
+ return ch >= 48 && ch <= 57;
82093
+ }
82094
+ var CharacterCodes;
82095
+ var init_scanner = __esmMin((() => {
82096
+ (function(CharacterCodes) {
82097
+ CharacterCodes[CharacterCodes["lineFeed"] = 10] = "lineFeed";
82098
+ CharacterCodes[CharacterCodes["carriageReturn"] = 13] = "carriageReturn";
82099
+ CharacterCodes[CharacterCodes["space"] = 32] = "space";
82100
+ CharacterCodes[CharacterCodes["_0"] = 48] = "_0";
82101
+ CharacterCodes[CharacterCodes["_1"] = 49] = "_1";
82102
+ CharacterCodes[CharacterCodes["_2"] = 50] = "_2";
82103
+ CharacterCodes[CharacterCodes["_3"] = 51] = "_3";
82104
+ CharacterCodes[CharacterCodes["_4"] = 52] = "_4";
82105
+ CharacterCodes[CharacterCodes["_5"] = 53] = "_5";
82106
+ CharacterCodes[CharacterCodes["_6"] = 54] = "_6";
82107
+ CharacterCodes[CharacterCodes["_7"] = 55] = "_7";
82108
+ CharacterCodes[CharacterCodes["_8"] = 56] = "_8";
82109
+ CharacterCodes[CharacterCodes["_9"] = 57] = "_9";
82110
+ CharacterCodes[CharacterCodes["a"] = 97] = "a";
82111
+ CharacterCodes[CharacterCodes["b"] = 98] = "b";
82112
+ CharacterCodes[CharacterCodes["c"] = 99] = "c";
82113
+ CharacterCodes[CharacterCodes["d"] = 100] = "d";
82114
+ CharacterCodes[CharacterCodes["e"] = 101] = "e";
82115
+ CharacterCodes[CharacterCodes["f"] = 102] = "f";
82116
+ CharacterCodes[CharacterCodes["g"] = 103] = "g";
82117
+ CharacterCodes[CharacterCodes["h"] = 104] = "h";
82118
+ CharacterCodes[CharacterCodes["i"] = 105] = "i";
82119
+ CharacterCodes[CharacterCodes["j"] = 106] = "j";
82120
+ CharacterCodes[CharacterCodes["k"] = 107] = "k";
82121
+ CharacterCodes[CharacterCodes["l"] = 108] = "l";
82122
+ CharacterCodes[CharacterCodes["m"] = 109] = "m";
82123
+ CharacterCodes[CharacterCodes["n"] = 110] = "n";
82124
+ CharacterCodes[CharacterCodes["o"] = 111] = "o";
82125
+ CharacterCodes[CharacterCodes["p"] = 112] = "p";
82126
+ CharacterCodes[CharacterCodes["q"] = 113] = "q";
82127
+ CharacterCodes[CharacterCodes["r"] = 114] = "r";
82128
+ CharacterCodes[CharacterCodes["s"] = 115] = "s";
82129
+ CharacterCodes[CharacterCodes["t"] = 116] = "t";
82130
+ CharacterCodes[CharacterCodes["u"] = 117] = "u";
82131
+ CharacterCodes[CharacterCodes["v"] = 118] = "v";
82132
+ CharacterCodes[CharacterCodes["w"] = 119] = "w";
82133
+ CharacterCodes[CharacterCodes["x"] = 120] = "x";
82134
+ CharacterCodes[CharacterCodes["y"] = 121] = "y";
82135
+ CharacterCodes[CharacterCodes["z"] = 122] = "z";
82136
+ CharacterCodes[CharacterCodes["A"] = 65] = "A";
82137
+ CharacterCodes[CharacterCodes["B"] = 66] = "B";
82138
+ CharacterCodes[CharacterCodes["C"] = 67] = "C";
82139
+ CharacterCodes[CharacterCodes["D"] = 68] = "D";
82140
+ CharacterCodes[CharacterCodes["E"] = 69] = "E";
82141
+ CharacterCodes[CharacterCodes["F"] = 70] = "F";
82142
+ CharacterCodes[CharacterCodes["G"] = 71] = "G";
82143
+ CharacterCodes[CharacterCodes["H"] = 72] = "H";
82144
+ CharacterCodes[CharacterCodes["I"] = 73] = "I";
82145
+ CharacterCodes[CharacterCodes["J"] = 74] = "J";
82146
+ CharacterCodes[CharacterCodes["K"] = 75] = "K";
82147
+ CharacterCodes[CharacterCodes["L"] = 76] = "L";
82148
+ CharacterCodes[CharacterCodes["M"] = 77] = "M";
82149
+ CharacterCodes[CharacterCodes["N"] = 78] = "N";
82150
+ CharacterCodes[CharacterCodes["O"] = 79] = "O";
82151
+ CharacterCodes[CharacterCodes["P"] = 80] = "P";
82152
+ CharacterCodes[CharacterCodes["Q"] = 81] = "Q";
82153
+ CharacterCodes[CharacterCodes["R"] = 82] = "R";
82154
+ CharacterCodes[CharacterCodes["S"] = 83] = "S";
82155
+ CharacterCodes[CharacterCodes["T"] = 84] = "T";
82156
+ CharacterCodes[CharacterCodes["U"] = 85] = "U";
82157
+ CharacterCodes[CharacterCodes["V"] = 86] = "V";
82158
+ CharacterCodes[CharacterCodes["W"] = 87] = "W";
82159
+ CharacterCodes[CharacterCodes["X"] = 88] = "X";
82160
+ CharacterCodes[CharacterCodes["Y"] = 89] = "Y";
82161
+ CharacterCodes[CharacterCodes["Z"] = 90] = "Z";
82162
+ CharacterCodes[CharacterCodes["asterisk"] = 42] = "asterisk";
82163
+ CharacterCodes[CharacterCodes["backslash"] = 92] = "backslash";
82164
+ CharacterCodes[CharacterCodes["closeBrace"] = 125] = "closeBrace";
82165
+ CharacterCodes[CharacterCodes["closeBracket"] = 93] = "closeBracket";
82166
+ CharacterCodes[CharacterCodes["colon"] = 58] = "colon";
82167
+ CharacterCodes[CharacterCodes["comma"] = 44] = "comma";
82168
+ CharacterCodes[CharacterCodes["dot"] = 46] = "dot";
82169
+ CharacterCodes[CharacterCodes["doubleQuote"] = 34] = "doubleQuote";
82170
+ CharacterCodes[CharacterCodes["minus"] = 45] = "minus";
82171
+ CharacterCodes[CharacterCodes["openBrace"] = 123] = "openBrace";
82172
+ CharacterCodes[CharacterCodes["openBracket"] = 91] = "openBracket";
82173
+ CharacterCodes[CharacterCodes["plus"] = 43] = "plus";
82174
+ CharacterCodes[CharacterCodes["slash"] = 47] = "slash";
82175
+ CharacterCodes[CharacterCodes["formFeed"] = 12] = "formFeed";
82176
+ CharacterCodes[CharacterCodes["tab"] = 9] = "tab";
82177
+ })(CharacterCodes || (CharacterCodes = {}));
82178
+ })), maxCachedValues;
82179
+ var init_string_intern = __esmMin((() => {
82180
+ new Array(20).fill(0).map((_, index) => {
82181
+ return " ".repeat(index);
82182
+ });
82183
+ maxCachedValues = 200;
82184
+ new Array(maxCachedValues).fill(0).map((_, index) => {
82185
+ return "\n" + " ".repeat(index);
82186
+ }), new Array(maxCachedValues).fill(0).map((_, index) => {
82187
+ return "\r" + " ".repeat(index);
82188
+ }), new Array(maxCachedValues).fill(0).map((_, index) => {
82189
+ return "\r\n" + " ".repeat(index);
82190
+ }), new Array(maxCachedValues).fill(0).map((_, index) => {
82191
+ return "\n" + " ".repeat(index);
82192
+ }), new Array(maxCachedValues).fill(0).map((_, index) => {
82193
+ return "\r" + " ".repeat(index);
82194
+ }), new Array(maxCachedValues).fill(0).map((_, index) => {
82195
+ return "\r\n" + " ".repeat(index);
82196
+ });
82197
+ }));
82198
+ //#endregion
82199
+ //#region ../../node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/format.js
82200
+ var init_format$2 = __esmMin((() => {
82201
+ init_scanner();
82202
+ init_string_intern();
82203
+ }));
82204
+ //#endregion
82205
+ //#region ../../node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/parser.js
82206
+ /**
82207
+ * Parses the given text and returns the object the JSON content represents. On invalid input, the parser tries to be as fault tolerant as possible, but still return a result.
82208
+ * Therefore always check the errors list to find out if the input was valid.
82209
+ */
82210
+ function parse$10(text, errors = [], options = ParseOptions.DEFAULT) {
82211
+ let currentProperty = null;
82212
+ let currentParent = [];
82213
+ const previousParents = [];
82214
+ function onValue(value) {
82215
+ if (Array.isArray(currentParent)) currentParent.push(value);
82216
+ else if (currentProperty !== null) currentParent[currentProperty] = value;
82217
+ }
82218
+ visit$1(text, {
82219
+ onObjectBegin: () => {
82220
+ const object = {};
82221
+ onValue(object);
82222
+ previousParents.push(currentParent);
82223
+ currentParent = object;
82224
+ currentProperty = null;
82225
+ },
82226
+ onObjectProperty: (name) => {
82227
+ currentProperty = name;
82228
+ },
82229
+ onObjectEnd: () => {
82230
+ currentParent = previousParents.pop();
82231
+ },
82232
+ onArrayBegin: () => {
82233
+ const array = [];
82234
+ onValue(array);
82235
+ previousParents.push(currentParent);
82236
+ currentParent = array;
82237
+ currentProperty = null;
82238
+ },
82239
+ onArrayEnd: () => {
82240
+ currentParent = previousParents.pop();
82241
+ },
82242
+ onLiteralValue: onValue,
82243
+ onError: (error, offset, length) => {
82244
+ errors.push({
82245
+ error,
82246
+ offset,
82247
+ length
81978
82248
  });
81979
- let lastModifiedOffset = text.length;
81980
- for (let i = sortedEdits.length - 1; i >= 0; i--) {
81981
- let e = sortedEdits[i];
81982
- if (e.offset + e.length <= lastModifiedOffset) text = edit.applyEdit(text, e);
81983
- else throw new Error("Overlapping edit");
81984
- lastModifiedOffset = e.offset;
82249
+ }
82250
+ }, options);
82251
+ return currentParent[0];
82252
+ }
82253
+ /**
82254
+ * Parses the given text and invokes the visitor functions for each object, array and literal reached.
82255
+ */
82256
+ function visit$1(text, visitor, options = ParseOptions.DEFAULT) {
82257
+ const _scanner = createScanner(text, false);
82258
+ const _jsonPath = [];
82259
+ let suppressedCallbacks = 0;
82260
+ function toNoArgVisit(visitFunction) {
82261
+ return visitFunction ? () => suppressedCallbacks === 0 && visitFunction(_scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter()) : () => true;
82262
+ }
82263
+ function toOneArgVisit(visitFunction) {
82264
+ return visitFunction ? (arg) => suppressedCallbacks === 0 && visitFunction(arg, _scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter()) : () => true;
82265
+ }
82266
+ function toOneArgVisitWithPath(visitFunction) {
82267
+ return visitFunction ? (arg) => suppressedCallbacks === 0 && visitFunction(arg, _scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter(), () => _jsonPath.slice()) : () => true;
82268
+ }
82269
+ function toBeginVisit(visitFunction) {
82270
+ return visitFunction ? () => {
82271
+ if (suppressedCallbacks > 0) suppressedCallbacks++;
82272
+ else if (visitFunction(_scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter(), () => _jsonPath.slice()) === false) suppressedCallbacks = 1;
82273
+ } : () => true;
82274
+ }
82275
+ function toEndVisit(visitFunction) {
82276
+ return visitFunction ? () => {
82277
+ if (suppressedCallbacks > 0) suppressedCallbacks--;
82278
+ if (suppressedCallbacks === 0) visitFunction(_scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter());
82279
+ } : () => true;
82280
+ }
82281
+ const onObjectBegin = toBeginVisit(visitor.onObjectBegin), onObjectProperty = toOneArgVisitWithPath(visitor.onObjectProperty), onObjectEnd = toEndVisit(visitor.onObjectEnd), onArrayBegin = toBeginVisit(visitor.onArrayBegin), onArrayEnd = toEndVisit(visitor.onArrayEnd), onLiteralValue = toOneArgVisitWithPath(visitor.onLiteralValue), onSeparator = toOneArgVisit(visitor.onSeparator), onComment = toNoArgVisit(visitor.onComment), onError = toOneArgVisit(visitor.onError);
82282
+ const disallowComments = options && options.disallowComments;
82283
+ const allowTrailingComma = options && options.allowTrailingComma;
82284
+ function scanNext() {
82285
+ while (true) {
82286
+ const token = _scanner.scan();
82287
+ switch (_scanner.getTokenError()) {
82288
+ case 4:
82289
+ handleError(14);
82290
+ break;
82291
+ case 5:
82292
+ handleError(15);
82293
+ break;
82294
+ case 3:
82295
+ handleError(13);
82296
+ break;
82297
+ case 1:
82298
+ if (!disallowComments) handleError(11);
82299
+ break;
82300
+ case 2:
82301
+ handleError(12);
82302
+ break;
82303
+ case 6:
82304
+ handleError(16);
82305
+ break;
82306
+ }
82307
+ switch (token) {
82308
+ case 12:
82309
+ case 13:
82310
+ if (disallowComments) handleError(10);
82311
+ else onComment();
82312
+ break;
82313
+ case 16:
82314
+ handleError(1);
82315
+ break;
82316
+ case 15:
82317
+ case 14: break;
82318
+ default: return token;
81985
82319
  }
81986
- return text;
81987
82320
  }
81988
- exports$6.applyEdits = applyEdits;
81989
- });
82321
+ }
82322
+ function handleError(error, skipUntilAfter = [], skipUntil = []) {
82323
+ onError(error);
82324
+ if (skipUntilAfter.length + skipUntil.length > 0) {
82325
+ let token = _scanner.getToken();
82326
+ while (token !== 17) {
82327
+ if (skipUntilAfter.indexOf(token) !== -1) {
82328
+ scanNext();
82329
+ break;
82330
+ } else if (skipUntil.indexOf(token) !== -1) break;
82331
+ token = scanNext();
82332
+ }
82333
+ }
82334
+ }
82335
+ function parseString(isValue) {
82336
+ const value = _scanner.getTokenValue();
82337
+ if (isValue) onLiteralValue(value);
82338
+ else {
82339
+ onObjectProperty(value);
82340
+ _jsonPath.push(value);
82341
+ }
82342
+ scanNext();
82343
+ return true;
82344
+ }
82345
+ function parseLiteral() {
82346
+ switch (_scanner.getToken()) {
82347
+ case 11:
82348
+ const tokenValue = _scanner.getTokenValue();
82349
+ let value = Number(tokenValue);
82350
+ if (isNaN(value)) {
82351
+ handleError(2);
82352
+ value = 0;
82353
+ }
82354
+ onLiteralValue(value);
82355
+ break;
82356
+ case 7:
82357
+ onLiteralValue(null);
82358
+ break;
82359
+ case 8:
82360
+ onLiteralValue(true);
82361
+ break;
82362
+ case 9:
82363
+ onLiteralValue(false);
82364
+ break;
82365
+ default: return false;
82366
+ }
82367
+ scanNext();
82368
+ return true;
82369
+ }
82370
+ function parseProperty() {
82371
+ if (_scanner.getToken() !== 10) {
82372
+ handleError(3, [], [2, 5]);
82373
+ return false;
82374
+ }
82375
+ parseString(false);
82376
+ if (_scanner.getToken() === 6) {
82377
+ onSeparator(":");
82378
+ scanNext();
82379
+ if (!parseValue()) handleError(4, [], [2, 5]);
82380
+ } else handleError(5, [], [2, 5]);
82381
+ _jsonPath.pop();
82382
+ return true;
82383
+ }
82384
+ function parseObject() {
82385
+ onObjectBegin();
82386
+ scanNext();
82387
+ let needsComma = false;
82388
+ while (_scanner.getToken() !== 2 && _scanner.getToken() !== 17) {
82389
+ if (_scanner.getToken() === 5) {
82390
+ if (!needsComma) handleError(4, [], []);
82391
+ onSeparator(",");
82392
+ scanNext();
82393
+ if (_scanner.getToken() === 2 && allowTrailingComma) break;
82394
+ } else if (needsComma) handleError(6, [], []);
82395
+ if (!parseProperty()) handleError(4, [], [2, 5]);
82396
+ needsComma = true;
82397
+ }
82398
+ onObjectEnd();
82399
+ if (_scanner.getToken() !== 2) handleError(7, [2], []);
82400
+ else scanNext();
82401
+ return true;
82402
+ }
82403
+ function parseArray() {
82404
+ onArrayBegin();
82405
+ scanNext();
82406
+ let isFirstElement = true;
82407
+ let needsComma = false;
82408
+ while (_scanner.getToken() !== 4 && _scanner.getToken() !== 17) {
82409
+ if (_scanner.getToken() === 5) {
82410
+ if (!needsComma) handleError(4, [], []);
82411
+ onSeparator(",");
82412
+ scanNext();
82413
+ if (_scanner.getToken() === 4 && allowTrailingComma) break;
82414
+ } else if (needsComma) handleError(6, [], []);
82415
+ if (isFirstElement) {
82416
+ _jsonPath.push(0);
82417
+ isFirstElement = false;
82418
+ } else _jsonPath[_jsonPath.length - 1]++;
82419
+ if (!parseValue()) handleError(4, [], [4, 5]);
82420
+ needsComma = true;
82421
+ }
82422
+ onArrayEnd();
82423
+ if (!isFirstElement) _jsonPath.pop();
82424
+ if (_scanner.getToken() !== 4) handleError(8, [4], []);
82425
+ else scanNext();
82426
+ return true;
82427
+ }
82428
+ function parseValue() {
82429
+ switch (_scanner.getToken()) {
82430
+ case 3: return parseArray();
82431
+ case 1: return parseObject();
82432
+ case 10: return parseString(true);
82433
+ default: return parseLiteral();
82434
+ }
82435
+ }
82436
+ scanNext();
82437
+ if (_scanner.getToken() === 17) {
82438
+ if (options.allowEmptyContent) return true;
82439
+ handleError(4, [], []);
82440
+ return false;
82441
+ }
82442
+ if (!parseValue()) {
82443
+ handleError(4, [], []);
82444
+ return false;
82445
+ }
82446
+ if (_scanner.getToken() !== 17) handleError(9, [], []);
82447
+ return true;
82448
+ }
82449
+ var ParseOptions;
82450
+ var init_parser$2 = __esmMin((() => {
82451
+ init_scanner();
82452
+ (function(ParseOptions) {
82453
+ ParseOptions.DEFAULT = { allowTrailingComma: false };
82454
+ })(ParseOptions || (ParseOptions = {}));
82455
+ }));
82456
+ //#endregion
82457
+ //#region ../../node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/edit.js
82458
+ var init_edit$2 = __esmMin((() => {
82459
+ init_format$2();
82460
+ init_parser$2();
82461
+ }));
82462
+ //#endregion
82463
+ //#region ../../node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/main.js
82464
+ function printParseErrorCode(code) {
82465
+ switch (code) {
82466
+ case 1: return "InvalidSymbol";
82467
+ case 2: return "InvalidNumberFormat";
82468
+ case 3: return "PropertyNameExpected";
82469
+ case 4: return "ValueExpected";
82470
+ case 5: return "ColonExpected";
82471
+ case 6: return "CommaExpected";
82472
+ case 7: return "CloseBraceExpected";
82473
+ case 8: return "CloseBracketExpected";
82474
+ case 9: return "EndOfFileExpected";
82475
+ case 10: return "InvalidCommentToken";
82476
+ case 11: return "UnexpectedEndOfComment";
82477
+ case 12: return "UnexpectedEndOfString";
82478
+ case 13: return "UnexpectedEndOfNumber";
82479
+ case 14: return "InvalidUnicode";
82480
+ case 15: return "InvalidEscapeCharacter";
82481
+ case 16: return "InvalidCharacter";
82482
+ }
82483
+ return "<unknown ParseErrorCode>";
82484
+ }
82485
+ var ScanError, SyntaxKind, parse$9, ParseErrorCode;
82486
+ var init_main = __esmMin((() => {
82487
+ init_format$2();
82488
+ init_edit$2();
82489
+ init_scanner();
82490
+ init_parser$2();
82491
+ (function(ScanError) {
82492
+ ScanError[ScanError["None"] = 0] = "None";
82493
+ ScanError[ScanError["UnexpectedEndOfComment"] = 1] = "UnexpectedEndOfComment";
82494
+ ScanError[ScanError["UnexpectedEndOfString"] = 2] = "UnexpectedEndOfString";
82495
+ ScanError[ScanError["UnexpectedEndOfNumber"] = 3] = "UnexpectedEndOfNumber";
82496
+ ScanError[ScanError["InvalidUnicode"] = 4] = "InvalidUnicode";
82497
+ ScanError[ScanError["InvalidEscapeCharacter"] = 5] = "InvalidEscapeCharacter";
82498
+ ScanError[ScanError["InvalidCharacter"] = 6] = "InvalidCharacter";
82499
+ })(ScanError || (ScanError = {}));
82500
+ (function(SyntaxKind) {
82501
+ SyntaxKind[SyntaxKind["OpenBraceToken"] = 1] = "OpenBraceToken";
82502
+ SyntaxKind[SyntaxKind["CloseBraceToken"] = 2] = "CloseBraceToken";
82503
+ SyntaxKind[SyntaxKind["OpenBracketToken"] = 3] = "OpenBracketToken";
82504
+ SyntaxKind[SyntaxKind["CloseBracketToken"] = 4] = "CloseBracketToken";
82505
+ SyntaxKind[SyntaxKind["CommaToken"] = 5] = "CommaToken";
82506
+ SyntaxKind[SyntaxKind["ColonToken"] = 6] = "ColonToken";
82507
+ SyntaxKind[SyntaxKind["NullKeyword"] = 7] = "NullKeyword";
82508
+ SyntaxKind[SyntaxKind["TrueKeyword"] = 8] = "TrueKeyword";
82509
+ SyntaxKind[SyntaxKind["FalseKeyword"] = 9] = "FalseKeyword";
82510
+ SyntaxKind[SyntaxKind["StringLiteral"] = 10] = "StringLiteral";
82511
+ SyntaxKind[SyntaxKind["NumericLiteral"] = 11] = "NumericLiteral";
82512
+ SyntaxKind[SyntaxKind["LineCommentTrivia"] = 12] = "LineCommentTrivia";
82513
+ SyntaxKind[SyntaxKind["BlockCommentTrivia"] = 13] = "BlockCommentTrivia";
82514
+ SyntaxKind[SyntaxKind["LineBreakTrivia"] = 14] = "LineBreakTrivia";
82515
+ SyntaxKind[SyntaxKind["Trivia"] = 15] = "Trivia";
82516
+ SyntaxKind[SyntaxKind["Unknown"] = 16] = "Unknown";
82517
+ SyntaxKind[SyntaxKind["EOF"] = 17] = "EOF";
82518
+ })(SyntaxKind || (SyntaxKind = {}));
82519
+ parse$9 = parse$10;
82520
+ (function(ParseErrorCode) {
82521
+ ParseErrorCode[ParseErrorCode["InvalidSymbol"] = 1] = "InvalidSymbol";
82522
+ ParseErrorCode[ParseErrorCode["InvalidNumberFormat"] = 2] = "InvalidNumberFormat";
82523
+ ParseErrorCode[ParseErrorCode["PropertyNameExpected"] = 3] = "PropertyNameExpected";
82524
+ ParseErrorCode[ParseErrorCode["ValueExpected"] = 4] = "ValueExpected";
82525
+ ParseErrorCode[ParseErrorCode["ColonExpected"] = 5] = "ColonExpected";
82526
+ ParseErrorCode[ParseErrorCode["CommaExpected"] = 6] = "CommaExpected";
82527
+ ParseErrorCode[ParseErrorCode["CloseBraceExpected"] = 7] = "CloseBraceExpected";
82528
+ ParseErrorCode[ParseErrorCode["CloseBracketExpected"] = 8] = "CloseBracketExpected";
82529
+ ParseErrorCode[ParseErrorCode["EndOfFileExpected"] = 9] = "EndOfFileExpected";
82530
+ ParseErrorCode[ParseErrorCode["InvalidCommentToken"] = 10] = "InvalidCommentToken";
82531
+ ParseErrorCode[ParseErrorCode["UnexpectedEndOfComment"] = 11] = "UnexpectedEndOfComment";
82532
+ ParseErrorCode[ParseErrorCode["UnexpectedEndOfString"] = 12] = "UnexpectedEndOfString";
82533
+ ParseErrorCode[ParseErrorCode["UnexpectedEndOfNumber"] = 13] = "UnexpectedEndOfNumber";
82534
+ ParseErrorCode[ParseErrorCode["InvalidUnicode"] = 14] = "InvalidUnicode";
82535
+ ParseErrorCode[ParseErrorCode["InvalidEscapeCharacter"] = 15] = "InvalidEscapeCharacter";
82536
+ ParseErrorCode[ParseErrorCode["InvalidCharacter"] = 16] = "InvalidCharacter";
82537
+ })(ParseErrorCode || (ParseErrorCode = {}));
81990
82538
  }));
81991
82539
  //#endregion
81992
82540
  //#region ../../packages/agent-core-v2/src/app/providerRuntime/storage.ts
81993
82541
  /** Shared JSONC parser for models.json and provider import entry points. */
81994
82542
  function parseJsonc(input) {
81995
82543
  const errors = [];
81996
- const value = (0, import_main.parse)(input, errors, {
82544
+ const value = parse$9(input, errors, {
81997
82545
  allowTrailingComma: true,
81998
82546
  disallowComments: false
81999
82547
  });
82000
- if (errors.length > 0) throw new SyntaxError(errors.map((error) => (0, import_main.printParseErrorCode)(error.error)).join("; "));
82548
+ if (errors.length > 0) throw new SyntaxError(errors.map((error) => printParseErrorCode(error.error)).join("; "));
82001
82549
  return value;
82002
82550
  }
82003
82551
  function withoutId(definition) {
82004
82552
  const { id: _id, ...stored } = definition;
82005
82553
  return structuredClone(stored);
82006
82554
  }
82007
- var import_proper_lockfile, import_main, FILE_MODE, DIRECTORY_MODE, InMemoryCredentialStore, InMemoryModelsStore, LockedJsonFile, FileCredentialStore, FileModelsStore, FileCustomProvidersStore;
82555
+ var import_proper_lockfile, FILE_MODE, DIRECTORY_MODE, InMemoryCredentialStore, InMemoryModelsStore, LockedJsonFile, FileCredentialStore, FileModelsStore, FileCustomProvidersStore;
82008
82556
  var init_storage = __esmMin((() => {
82009
82557
  import_proper_lockfile = /* @__PURE__ */ __toESM(require_proper_lockfile(), 1);
82010
- import_main = require_main$1();
82558
+ init_main();
82011
82559
  init_fs$1();
82012
82560
  init_errors$30();
82013
82561
  init_errors$29();
@@ -103237,7 +103785,7 @@ function expandUserPath(value, pathClass, homeDir) {
103237
103785
  }
103238
103786
  function defaultCwdForPath(value) {
103239
103787
  if (!isAbsolute$2(value)) return void 0;
103240
- return parse$10(value).root;
103788
+ return parse$11(value).root;
103241
103789
  }
103242
103790
  function pathMatchSemantics(value, pattern, pathOptions) {
103243
103791
  return { pathClass: pathOptions?.pathClass ?? ([value, pattern].some((candidate) => {
@@ -112822,7 +113370,7 @@ function isRecord$11(value) {
112822
113370
  }
112823
113371
  var AgentFileParseError, AGENT_NAME_PATTERN;
112824
113372
  var init_agentFile = __esmMin((() => {
112825
- init_parser$2();
113373
+ init_parser$3();
112826
113374
  AgentFileParseError = class extends Error {
112827
113375
  reason;
112828
113376
  constructor(message, cause) {
@@ -113141,7 +113689,7 @@ function isRecord$10(value) {
113141
113689
  return typeof value === "object" && value !== null && !Array.isArray(value);
113142
113690
  }
113143
113691
  var init_commands = __esmMin((() => {
113144
- init_parser$2();
113692
+ init_parser$3();
113145
113693
  }));
113146
113694
  //#endregion
113147
113695
  //#region ../../packages/agent-core-v2/src/agent/externalHooks/types.ts
@@ -115569,7 +116117,7 @@ var init_check_dimi_docs$1 = __esmMin((() => {
115569
116117
  //#region ../../packages/agent-core-v2/src/app/skillCatalog/builtin/check-dimi-docs.ts
115570
116118
  var PSEUDO_PATH$5, parsed$5, CHECK_DIMI_DOCS_SKILL;
115571
116119
  var init_check_dimi_docs = __esmMin((() => {
115572
- init_parser$2();
116120
+ init_parser$3();
115573
116121
  init_check_dimi_docs$1();
115574
116122
  PSEUDO_PATH$5 = "builtin://check-dimi-docs";
115575
116123
  parsed$5 = parseSkillText({
@@ -115598,7 +116146,7 @@ var init_custom_theme$1 = __esmMin((() => {
115598
116146
  //#region ../../packages/agent-core-v2/src/app/skillCatalog/builtin/custom-theme.ts
115599
116147
  var PSEUDO_PATH$4, parsed$4, CUSTOM_THEME_SKILL;
115600
116148
  var init_custom_theme = __esmMin((() => {
115601
- init_parser$2();
116149
+ init_parser$3();
115602
116150
  init_custom_theme$1();
115603
116151
  PSEUDO_PATH$4 = "builtin://custom-theme";
115604
116152
  parsed$4 = parseSkillText({
@@ -115628,7 +116176,7 @@ var init_import_from_cc_codex$1 = __esmMin((() => {
115628
116176
  //#region ../../packages/agent-core-v2/src/app/skillCatalog/builtin/import-from-cc-codex.ts
115629
116177
  var PSEUDO_PATH$3, parsed$3, IMPORT_FROM_CC_CODEX_SKILL;
115630
116178
  var init_import_from_cc_codex = __esmMin((() => {
115631
- init_parser$2();
116179
+ init_parser$3();
115632
116180
  init_import_from_cc_codex$1();
115633
116181
  PSEUDO_PATH$3 = "builtin://import-from-cc-codex";
115634
116182
  parsed$3 = parseSkillText({
@@ -115658,7 +116206,7 @@ var init_mcp_config$1 = __esmMin((() => {
115658
116206
  //#region ../../packages/agent-core-v2/src/app/skillCatalog/builtin/mcp-config.ts
115659
116207
  var PSEUDO_PATH$2, parsed$2, MCP_CONFIG_SKILL;
115660
116208
  var init_mcp_config = __esmMin((() => {
115661
- init_parser$2();
116209
+ init_parser$3();
115662
116210
  init_mcp_config$1();
115663
116211
  PSEUDO_PATH$2 = "builtin://mcp-config";
115664
116212
  parsed$2 = parseSkillText({
@@ -115719,7 +116267,7 @@ function makeBuiltin(body, dirName, pseudoPath, extraMetadata = {}) {
115719
116267
  }
115720
116268
  var SUB_SKILL_PARENT, SUB_SKILL_REVIEW, SUB_SKILL_CONSOLIDATE;
115721
116269
  var init_sub_skill = __esmMin((() => {
115722
- init_parser$2();
116270
+ init_parser$3();
115723
116271
  init_SKILL$2();
115724
116272
  init_SKILL$1();
115725
116273
  init_SKILL();
@@ -115746,7 +116294,7 @@ var init_update_config$1 = __esmMin((() => {
115746
116294
  //#region ../../packages/agent-core-v2/src/app/skillCatalog/builtin/update-config.ts
115747
116295
  var PSEUDO_PATH$1, parsed$1, UPDATE_CONFIG_SKILL;
115748
116296
  var init_update_config = __esmMin((() => {
115749
- init_parser$2();
116297
+ init_parser$3();
115750
116298
  init_update_config$1();
115751
116299
  PSEUDO_PATH$1 = "builtin://update-config";
115752
116300
  parsed$1 = parseSkillText({
@@ -115775,7 +116323,7 @@ var init_write_goal$1 = __esmMin((() => {
115775
116323
  //#region ../../packages/agent-core-v2/src/app/skillCatalog/builtin/write-goal.ts
115776
116324
  var PSEUDO_PATH, parsed, WRITE_GOAL_SKILL;
115777
116325
  var init_write_goal = __esmMin((() => {
115778
- init_parser$2();
116326
+ init_parser$3();
115779
116327
  init_write_goal$1();
115780
116328
  PSEUDO_PATH = "builtin://write-goal";
115781
116329
  parsed = parseSkillText({
@@ -228347,7 +228895,7 @@ var init_src = __esmMin((() => {
228347
228895
  init_types$16();
228348
228896
  init_configSection$11();
228349
228897
  init_skillCatalogRuntimeOptions();
228350
- init_parser$2();
228898
+ init_parser$3();
228351
228899
  init_registry();
228352
228900
  init_errors$11();
228353
228901
  init_skillDiscovery();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimi-agent/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The Starting Point for Next-Gen Agents",
5
5
  "keywords": [
6
6
  "agent",