@agent-facets/adapter-claude-code 0.4.6 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +13 -4
- package/dist/index.mjs +111 -93
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -78,15 +78,24 @@ interface Adapter {
|
|
|
78
78
|
* applies adapter-specific defaults, and returns the enriched object.
|
|
79
79
|
*/
|
|
80
80
|
buildAssetMetadata(data: unknown): Validated<AdapterMetadata>;
|
|
81
|
-
/**
|
|
82
|
-
|
|
81
|
+
/**
|
|
82
|
+
* Install an asset at the given scope. Returns the absolute path the
|
|
83
|
+
* asset was written to, if available — used for verbose diagnostic
|
|
84
|
+
* logging. Returning `void` is backward-compatible (older adapters
|
|
85
|
+
* that don't return a path still satisfy the contract).
|
|
86
|
+
*/
|
|
87
|
+
installAsset(scope: Scope, assetType: AssetType, name: string, content: string, metadata: unknown): Promise<string | undefined>;
|
|
83
88
|
/** Read an asset's content from the given scope */
|
|
84
89
|
readAsset(scope: Scope, assetType: AssetType, name: string): Promise<{
|
|
85
90
|
content: string;
|
|
86
91
|
metadata?: AdapterMetadata;
|
|
87
92
|
}>;
|
|
88
|
-
/**
|
|
89
|
-
|
|
93
|
+
/**
|
|
94
|
+
* Delete an asset from the given scope. Returns the absolute path of
|
|
95
|
+
* the deleted asset, if available — used for verbose diagnostic
|
|
96
|
+
* logging. Returning `void` is backward-compatible.
|
|
97
|
+
*/
|
|
98
|
+
deleteAsset(scope: Scope, assetType: AssetType, name: string): Promise<string | undefined>;
|
|
90
99
|
}
|
|
91
100
|
//#endregion
|
|
92
101
|
//#region src/index.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { mkdir, readFile, rm, writeFile } from "node:fs/promises";
|
|
|
6
6
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
7
7
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
9
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
|
|
10
10
|
var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11
11
|
const ALIAS = Symbol.for("yaml.alias");
|
|
12
12
|
const DOC = Symbol.for("yaml.document");
|
|
@@ -56,7 +56,7 @@ var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
56
56
|
exports.isSeq = isSeq;
|
|
57
57
|
}));
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
59
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
|
|
60
60
|
var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
61
61
|
var identity = require_identity();
|
|
62
62
|
const BREAK = Symbol("break visit");
|
|
@@ -246,7 +246,7 @@ var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
246
246
|
exports.visitAsync = visitAsync;
|
|
247
247
|
}));
|
|
248
248
|
//#endregion
|
|
249
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
249
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
|
|
250
250
|
var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
251
251
|
var identity = require_identity();
|
|
252
252
|
var visit = require_visit();
|
|
@@ -411,7 +411,7 @@ var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
411
411
|
exports.Directives = Directives;
|
|
412
412
|
}));
|
|
413
413
|
//#endregion
|
|
414
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
414
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
|
|
415
415
|
var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
416
416
|
var identity = require_identity();
|
|
417
417
|
var visit = require_visit();
|
|
@@ -478,7 +478,7 @@ var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
478
478
|
exports.findNewAnchor = findNewAnchor;
|
|
479
479
|
}));
|
|
480
480
|
//#endregion
|
|
481
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
481
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
|
|
482
482
|
var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
483
483
|
/**
|
|
484
484
|
* Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
|
@@ -518,7 +518,7 @@ var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
518
518
|
exports.applyReviver = applyReviver;
|
|
519
519
|
}));
|
|
520
520
|
//#endregion
|
|
521
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
521
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
|
|
522
522
|
var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
523
523
|
var identity = require_identity();
|
|
524
524
|
/**
|
|
@@ -555,7 +555,7 @@ var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
555
555
|
exports.toJS = toJS;
|
|
556
556
|
}));
|
|
557
557
|
//#endregion
|
|
558
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
558
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
|
|
559
559
|
var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
560
560
|
var applyReviver = require_applyReviver();
|
|
561
561
|
var identity = require_identity();
|
|
@@ -589,7 +589,7 @@ var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
589
589
|
exports.NodeBase = NodeBase;
|
|
590
590
|
}));
|
|
591
591
|
//#endregion
|
|
592
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
592
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
|
|
593
593
|
var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
594
594
|
var anchors = require_anchors();
|
|
595
595
|
var visit = require_visit();
|
|
@@ -683,7 +683,7 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
683
683
|
exports.Alias = Alias;
|
|
684
684
|
}));
|
|
685
685
|
//#endregion
|
|
686
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
686
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
|
|
687
687
|
var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
688
688
|
var identity = require_identity();
|
|
689
689
|
var Node = require_Node();
|
|
@@ -710,7 +710,7 @@ var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
710
710
|
exports.isScalarValue = isScalarValue;
|
|
711
711
|
}));
|
|
712
712
|
//#endregion
|
|
713
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
713
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
|
|
714
714
|
var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
715
715
|
var Alias = require_Alias();
|
|
716
716
|
var identity = require_identity();
|
|
@@ -773,7 +773,7 @@ var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
773
773
|
exports.createNode = createNode;
|
|
774
774
|
}));
|
|
775
775
|
//#endregion
|
|
776
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
776
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
|
|
777
777
|
var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
778
778
|
var createNode = require_createNode();
|
|
779
779
|
var identity = require_identity();
|
|
@@ -894,7 +894,7 @@ var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
894
894
|
exports.isEmptyPath = isEmptyPath;
|
|
895
895
|
}));
|
|
896
896
|
//#endregion
|
|
897
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
897
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
898
898
|
var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
899
899
|
/**
|
|
900
900
|
* Stringifies a comment.
|
|
@@ -914,7 +914,7 @@ var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
914
914
|
exports.stringifyComment = stringifyComment;
|
|
915
915
|
}));
|
|
916
916
|
//#endregion
|
|
917
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
917
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
918
918
|
var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
919
919
|
const FOLD_FLOW = "flow";
|
|
920
920
|
const FOLD_BLOCK = "block";
|
|
@@ -1030,7 +1030,7 @@ var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1030
1030
|
exports.foldFlowLines = foldFlowLines;
|
|
1031
1031
|
}));
|
|
1032
1032
|
//#endregion
|
|
1033
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1033
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
|
|
1034
1034
|
var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1035
1035
|
var Scalar = require_Scalar();
|
|
1036
1036
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1254,7 +1254,7 @@ var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1254
1254
|
exports.stringifyString = stringifyString;
|
|
1255
1255
|
}));
|
|
1256
1256
|
//#endregion
|
|
1257
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1257
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
|
|
1258
1258
|
var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1259
1259
|
var anchors = require_anchors();
|
|
1260
1260
|
var identity = require_identity();
|
|
@@ -1362,7 +1362,7 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1362
1362
|
exports.stringify = stringify;
|
|
1363
1363
|
}));
|
|
1364
1364
|
//#endregion
|
|
1365
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1365
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1366
1366
|
var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1367
1367
|
var identity = require_identity();
|
|
1368
1368
|
var Scalar = require_Scalar();
|
|
@@ -1459,7 +1459,7 @@ var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1459
1459
|
exports.stringifyPair = stringifyPair;
|
|
1460
1460
|
}));
|
|
1461
1461
|
//#endregion
|
|
1462
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1462
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
|
|
1463
1463
|
var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1464
1464
|
var node_process$2 = __require("process");
|
|
1465
1465
|
function debug(logLevel, ...messages) {
|
|
@@ -1473,7 +1473,7 @@ var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1473
1473
|
exports.warn = warn;
|
|
1474
1474
|
}));
|
|
1475
1475
|
//#endregion
|
|
1476
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1476
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1477
1477
|
var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1478
1478
|
var identity = require_identity();
|
|
1479
1479
|
var Scalar = require_Scalar();
|
|
@@ -1516,7 +1516,7 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1516
1516
|
exports.merge = merge;
|
|
1517
1517
|
}));
|
|
1518
1518
|
//#endregion
|
|
1519
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1519
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1520
1520
|
var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1521
1521
|
var log = require_log();
|
|
1522
1522
|
var merge = require_merge();
|
|
@@ -1567,7 +1567,7 @@ var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1567
1567
|
exports.addPairToJSMap = addPairToJSMap;
|
|
1568
1568
|
}));
|
|
1569
1569
|
//#endregion
|
|
1570
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1570
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
|
|
1571
1571
|
var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1572
1572
|
var createNode = require_createNode();
|
|
1573
1573
|
var stringifyPair = require_stringifyPair();
|
|
@@ -1600,7 +1600,7 @@ var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1600
1600
|
exports.createPair = createPair;
|
|
1601
1601
|
}));
|
|
1602
1602
|
//#endregion
|
|
1603
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1603
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
1604
1604
|
var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1605
1605
|
var identity = require_identity();
|
|
1606
1606
|
var stringify = require_stringify();
|
|
@@ -1718,7 +1718,7 @@ var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1718
1718
|
exports.stringifyCollection = stringifyCollection;
|
|
1719
1719
|
}));
|
|
1720
1720
|
//#endregion
|
|
1721
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1721
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
1722
1722
|
var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1723
1723
|
var stringifyCollection = require_stringifyCollection();
|
|
1724
1724
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -1827,7 +1827,7 @@ var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1827
1827
|
exports.findPair = findPair;
|
|
1828
1828
|
}));
|
|
1829
1829
|
//#endregion
|
|
1830
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1830
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
|
|
1831
1831
|
var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1832
1832
|
var identity = require_identity();
|
|
1833
1833
|
var YAMLMap = require_YAMLMap();
|
|
@@ -1844,7 +1844,7 @@ var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1844
1844
|
};
|
|
1845
1845
|
}));
|
|
1846
1846
|
//#endregion
|
|
1847
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1847
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
1848
1848
|
var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1849
1849
|
var createNode = require_createNode();
|
|
1850
1850
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -1950,7 +1950,7 @@ var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1950
1950
|
exports.YAMLSeq = YAMLSeq;
|
|
1951
1951
|
}));
|
|
1952
1952
|
//#endregion
|
|
1953
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1953
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
|
|
1954
1954
|
var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1955
1955
|
var identity = require_identity();
|
|
1956
1956
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -1967,7 +1967,7 @@ var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1967
1967
|
};
|
|
1968
1968
|
}));
|
|
1969
1969
|
//#endregion
|
|
1970
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1970
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
|
|
1971
1971
|
var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1972
1972
|
var stringifyString = require_stringifyString();
|
|
1973
1973
|
exports.string = {
|
|
@@ -1982,7 +1982,7 @@ var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1982
1982
|
};
|
|
1983
1983
|
}));
|
|
1984
1984
|
//#endregion
|
|
1985
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
1985
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
|
|
1986
1986
|
var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1987
1987
|
var Scalar = require_Scalar();
|
|
1988
1988
|
const nullTag = {
|
|
@@ -1997,7 +1997,7 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1997
1997
|
exports.nullTag = nullTag;
|
|
1998
1998
|
}));
|
|
1999
1999
|
//#endregion
|
|
2000
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2000
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
|
|
2001
2001
|
var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2002
2002
|
var Scalar = require_Scalar();
|
|
2003
2003
|
const boolTag = {
|
|
@@ -2016,7 +2016,7 @@ var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2016
2016
|
exports.boolTag = boolTag;
|
|
2017
2017
|
}));
|
|
2018
2018
|
//#endregion
|
|
2019
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2019
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2020
2020
|
var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2021
2021
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
2022
2022
|
if (typeof value === "bigint") return String(value);
|
|
@@ -2037,7 +2037,7 @@ var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2037
2037
|
exports.stringifyNumber = stringifyNumber;
|
|
2038
2038
|
}));
|
|
2039
2039
|
//#endregion
|
|
2040
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2040
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
|
|
2041
2041
|
var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2042
2042
|
var Scalar = require_Scalar();
|
|
2043
2043
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2078,7 +2078,7 @@ var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2078
2078
|
exports.floatNaN = floatNaN;
|
|
2079
2079
|
}));
|
|
2080
2080
|
//#endregion
|
|
2081
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2081
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
|
|
2082
2082
|
var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2083
2083
|
var stringifyNumber = require_stringifyNumber();
|
|
2084
2084
|
const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2119,7 +2119,7 @@ var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2119
2119
|
exports.intOct = intOct;
|
|
2120
2120
|
}));
|
|
2121
2121
|
//#endregion
|
|
2122
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2122
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
|
|
2123
2123
|
var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2124
2124
|
var map = require_map();
|
|
2125
2125
|
var _null = require_null();
|
|
@@ -2143,7 +2143,7 @@ var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2143
2143
|
];
|
|
2144
2144
|
}));
|
|
2145
2145
|
//#endregion
|
|
2146
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2146
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
|
|
2147
2147
|
var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2148
2148
|
var Scalar = require_Scalar();
|
|
2149
2149
|
var map = require_map();
|
|
@@ -2205,7 +2205,7 @@ var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2205
2205
|
});
|
|
2206
2206
|
}));
|
|
2207
2207
|
//#endregion
|
|
2208
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2208
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2209
2209
|
var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2210
2210
|
var node_buffer = __require("buffer");
|
|
2211
2211
|
var Scalar = require_Scalar();
|
|
@@ -2261,7 +2261,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2261
2261
|
};
|
|
2262
2262
|
}));
|
|
2263
2263
|
//#endregion
|
|
2264
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2264
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2265
2265
|
var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2266
2266
|
var identity = require_identity();
|
|
2267
2267
|
var Pair = require_Pair();
|
|
@@ -2321,7 +2321,7 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2321
2321
|
exports.resolvePairs = resolvePairs;
|
|
2322
2322
|
}));
|
|
2323
2323
|
//#endregion
|
|
2324
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2324
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2325
2325
|
var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2326
2326
|
var identity = require_identity();
|
|
2327
2327
|
var toJS = require_toJS();
|
|
@@ -2384,7 +2384,7 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2384
2384
|
exports.omap = omap;
|
|
2385
2385
|
}));
|
|
2386
2386
|
//#endregion
|
|
2387
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2387
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2388
2388
|
var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2389
2389
|
var Scalar = require_Scalar();
|
|
2390
2390
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -2411,7 +2411,7 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2411
2411
|
exports.trueTag = trueTag;
|
|
2412
2412
|
}));
|
|
2413
2413
|
//#endregion
|
|
2414
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2414
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2415
2415
|
var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2416
2416
|
var Scalar = require_Scalar();
|
|
2417
2417
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2455,7 +2455,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2455
2455
|
exports.floatNaN = floatNaN;
|
|
2456
2456
|
}));
|
|
2457
2457
|
//#endregion
|
|
2458
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2458
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
2459
2459
|
var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2460
2460
|
var stringifyNumber = require_stringifyNumber();
|
|
2461
2461
|
const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2530,7 +2530,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2530
2530
|
exports.intOct = intOct;
|
|
2531
2531
|
}));
|
|
2532
2532
|
//#endregion
|
|
2533
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2533
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
2534
2534
|
var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2535
2535
|
var identity = require_identity();
|
|
2536
2536
|
var Pair = require_Pair();
|
|
@@ -2598,7 +2598,7 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2598
2598
|
exports.set = set;
|
|
2599
2599
|
}));
|
|
2600
2600
|
//#endregion
|
|
2601
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2601
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
2602
2602
|
var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2603
2603
|
var stringifyNumber = require_stringifyNumber();
|
|
2604
2604
|
/** Internal types handle bigint as number, because TS can't figure it out. */
|
|
@@ -2681,7 +2681,7 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2681
2681
|
exports.timestamp = timestamp;
|
|
2682
2682
|
}));
|
|
2683
2683
|
//#endregion
|
|
2684
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2684
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
2685
2685
|
var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2686
2686
|
var map = require_map();
|
|
2687
2687
|
var _null = require_null();
|
|
@@ -2721,7 +2721,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2721
2721
|
];
|
|
2722
2722
|
}));
|
|
2723
2723
|
//#endregion
|
|
2724
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2724
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
|
|
2725
2725
|
var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2726
2726
|
var map = require_map();
|
|
2727
2727
|
var _null = require_null();
|
|
@@ -2805,7 +2805,7 @@ var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2805
2805
|
exports.getTags = getTags;
|
|
2806
2806
|
}));
|
|
2807
2807
|
//#endregion
|
|
2808
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2808
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
|
|
2809
2809
|
var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2810
2810
|
var identity = require_identity();
|
|
2811
2811
|
var map = require_map();
|
|
@@ -2833,7 +2833,7 @@ var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2833
2833
|
};
|
|
2834
2834
|
}));
|
|
2835
2835
|
//#endregion
|
|
2836
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2836
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
2837
2837
|
var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2838
2838
|
var identity = require_identity();
|
|
2839
2839
|
var stringify = require_stringify();
|
|
@@ -2894,7 +2894,7 @@ var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2894
2894
|
exports.stringifyDocument = stringifyDocument;
|
|
2895
2895
|
}));
|
|
2896
2896
|
//#endregion
|
|
2897
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
2897
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
|
|
2898
2898
|
var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2899
2899
|
var Alias = require_Alias();
|
|
2900
2900
|
var Collection = require_Collection();
|
|
@@ -3175,7 +3175,7 @@ var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3175
3175
|
exports.Document = Document;
|
|
3176
3176
|
}));
|
|
3177
3177
|
//#endregion
|
|
3178
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3178
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
|
|
3179
3179
|
var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3180
3180
|
var YAMLError = class extends Error {
|
|
3181
3181
|
constructor(name, pos, code, message) {
|
|
@@ -3228,7 +3228,7 @@ var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3228
3228
|
exports.prettifyError = prettifyError;
|
|
3229
3229
|
}));
|
|
3230
3230
|
//#endregion
|
|
3231
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3231
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
|
|
3232
3232
|
var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3233
3233
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3234
3234
|
let spaceBefore = false;
|
|
@@ -3335,7 +3335,7 @@ var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3335
3335
|
exports.resolveProps = resolveProps;
|
|
3336
3336
|
}));
|
|
3337
3337
|
//#endregion
|
|
3338
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3338
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3339
3339
|
var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3340
3340
|
function containsNewline(key) {
|
|
3341
3341
|
if (!key) return null;
|
|
@@ -3364,7 +3364,7 @@ var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
3364
3364
|
exports.containsNewline = containsNewline;
|
|
3365
3365
|
}));
|
|
3366
3366
|
//#endregion
|
|
3367
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3367
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3368
3368
|
var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3369
3369
|
var utilContainsNewline = require_util_contains_newline();
|
|
3370
3370
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -3376,7 +3376,7 @@ var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
3376
3376
|
exports.flowIndentCheck = flowIndentCheck;
|
|
3377
3377
|
}));
|
|
3378
3378
|
//#endregion
|
|
3379
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3379
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
|
|
3380
3380
|
var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3381
3381
|
var identity = require_identity();
|
|
3382
3382
|
function mapIncludes(ctx, items, search) {
|
|
@@ -3388,7 +3388,7 @@ var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3388
3388
|
exports.mapIncludes = mapIncludes;
|
|
3389
3389
|
}));
|
|
3390
3390
|
//#endregion
|
|
3391
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3391
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
3392
3392
|
var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3393
3393
|
var Pair = require_Pair();
|
|
3394
3394
|
var YAMLMap = require_YAMLMap();
|
|
@@ -3472,7 +3472,7 @@ var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3472
3472
|
exports.resolveBlockMap = resolveBlockMap;
|
|
3473
3473
|
}));
|
|
3474
3474
|
//#endregion
|
|
3475
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3475
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
3476
3476
|
var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3477
3477
|
var YAMLSeq = require_YAMLSeq();
|
|
3478
3478
|
var resolveProps = require_resolve_props();
|
|
@@ -3514,7 +3514,7 @@ var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3514
3514
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
3515
3515
|
}));
|
|
3516
3516
|
//#endregion
|
|
3517
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3517
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
|
|
3518
3518
|
var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3519
3519
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
3520
3520
|
let comment = "";
|
|
@@ -3552,7 +3552,7 @@ var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3552
3552
|
exports.resolveEnd = resolveEnd;
|
|
3553
3553
|
}));
|
|
3554
3554
|
//#endregion
|
|
3555
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3555
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
3556
3556
|
var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3557
3557
|
var identity = require_identity();
|
|
3558
3558
|
var Pair = require_Pair();
|
|
@@ -3707,7 +3707,7 @@ var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
3707
3707
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
3708
3708
|
}));
|
|
3709
3709
|
//#endregion
|
|
3710
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3710
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
|
|
3711
3711
|
var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3712
3712
|
var identity = require_identity();
|
|
3713
3713
|
var Scalar = require_Scalar();
|
|
@@ -3759,7 +3759,7 @@ var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3759
3759
|
exports.composeCollection = composeCollection;
|
|
3760
3760
|
}));
|
|
3761
3761
|
//#endregion
|
|
3762
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3762
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
3763
3763
|
var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3764
3764
|
var Scalar = require_Scalar();
|
|
3765
3765
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -3935,7 +3935,7 @@ var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3935
3935
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
3936
3936
|
}));
|
|
3937
3937
|
//#endregion
|
|
3938
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
3938
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
3939
3939
|
var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3940
3940
|
var Scalar = require_Scalar();
|
|
3941
3941
|
var resolveEnd = require_resolve_end();
|
|
@@ -4140,7 +4140,7 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4140
4140
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
4141
4141
|
}));
|
|
4142
4142
|
//#endregion
|
|
4143
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4143
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
|
|
4144
4144
|
var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4145
4145
|
var identity = require_identity();
|
|
4146
4146
|
var Scalar = require_Scalar();
|
|
@@ -4199,7 +4199,7 @@ var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4199
4199
|
exports.composeScalar = composeScalar;
|
|
4200
4200
|
}));
|
|
4201
4201
|
//#endregion
|
|
4202
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4202
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4203
4203
|
var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4204
4204
|
function emptyScalarPosition(offset, before, pos) {
|
|
4205
4205
|
if (before) {
|
|
@@ -4226,7 +4226,7 @@ var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports
|
|
|
4226
4226
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
4227
4227
|
}));
|
|
4228
4228
|
//#endregion
|
|
4229
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4229
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
|
|
4230
4230
|
var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4231
4231
|
var Alias = require_Alias();
|
|
4232
4232
|
var identity = require_identity();
|
|
@@ -4315,7 +4315,7 @@ var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4315
4315
|
exports.composeNode = composeNode;
|
|
4316
4316
|
}));
|
|
4317
4317
|
//#endregion
|
|
4318
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4318
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
|
|
4319
4319
|
var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4320
4320
|
var Document = require_Document();
|
|
4321
4321
|
var composeNode = require_compose_node();
|
|
@@ -4357,7 +4357,7 @@ var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4357
4357
|
exports.composeDoc = composeDoc;
|
|
4358
4358
|
}));
|
|
4359
4359
|
//#endregion
|
|
4360
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4360
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
|
|
4361
4361
|
var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4362
4362
|
var node_process$1 = __require("process");
|
|
4363
4363
|
var directives = require_directives();
|
|
@@ -4441,8 +4441,8 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4441
4441
|
}
|
|
4442
4442
|
}
|
|
4443
4443
|
if (afterDoc) {
|
|
4444
|
-
|
|
4445
|
-
|
|
4444
|
+
for (let i = 0; i < this.errors.length; ++i) doc.errors.push(this.errors[i]);
|
|
4445
|
+
for (let i = 0; i < this.warnings.length; ++i) doc.warnings.push(this.warnings[i]);
|
|
4446
4446
|
} else {
|
|
4447
4447
|
doc.errors = this.errors;
|
|
4448
4448
|
doc.warnings = this.warnings;
|
|
@@ -4555,7 +4555,7 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4555
4555
|
exports.Composer = Composer;
|
|
4556
4556
|
}));
|
|
4557
4557
|
//#endregion
|
|
4558
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4558
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
|
|
4559
4559
|
var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4560
4560
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
4561
4561
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -4822,7 +4822,7 @@ var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4822
4822
|
exports.setScalarValue = setScalarValue;
|
|
4823
4823
|
}));
|
|
4824
4824
|
//#endregion
|
|
4825
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4825
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
|
|
4826
4826
|
var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4827
4827
|
/**
|
|
4828
4828
|
* Stringify a CST document, token, or collection item
|
|
@@ -4873,7 +4873,7 @@ var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4873
4873
|
exports.stringify = stringify;
|
|
4874
4874
|
}));
|
|
4875
4875
|
//#endregion
|
|
4876
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4876
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
|
|
4877
4877
|
var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4878
4878
|
const BREAK = Symbol("break visit");
|
|
4879
4879
|
const SKIP = Symbol("skip children");
|
|
@@ -4964,7 +4964,7 @@ var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4964
4964
|
exports.visit = visit;
|
|
4965
4965
|
}));
|
|
4966
4966
|
//#endregion
|
|
4967
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
4967
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
|
|
4968
4968
|
var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4969
4969
|
var cstScalar = require_cst_scalar();
|
|
4970
4970
|
var cstStringify = require_cst_stringify();
|
|
@@ -5043,7 +5043,7 @@ var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5043
5043
|
exports.tokenType = tokenType;
|
|
5044
5044
|
}));
|
|
5045
5045
|
//#endregion
|
|
5046
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
5046
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
|
|
5047
5047
|
var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5048
5048
|
var cst = require_cst();
|
|
5049
5049
|
function isEmpty(ch) {
|
|
@@ -5257,7 +5257,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5257
5257
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
5258
5258
|
this.indentNext = this.indentValue + 1;
|
|
5259
5259
|
this.indentValue += n;
|
|
5260
|
-
return
|
|
5260
|
+
return "block-start";
|
|
5261
5261
|
}
|
|
5262
5262
|
return "doc";
|
|
5263
5263
|
}
|
|
@@ -5501,22 +5501,34 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5501
5501
|
return 0;
|
|
5502
5502
|
}
|
|
5503
5503
|
*pushIndicators() {
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5504
|
+
let n = 0;
|
|
5505
|
+
loop: while (true) {
|
|
5506
|
+
switch (this.charAt(0)) {
|
|
5507
|
+
case "!":
|
|
5508
|
+
n += yield* this.pushTag();
|
|
5509
|
+
n += yield* this.pushSpaces(true);
|
|
5510
|
+
continue loop;
|
|
5511
|
+
case "&":
|
|
5512
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
5513
|
+
n += yield* this.pushSpaces(true);
|
|
5514
|
+
continue loop;
|
|
5515
|
+
case "-":
|
|
5516
|
+
case "?":
|
|
5517
|
+
case ":": {
|
|
5518
|
+
const inFlow = this.flowLevel > 0;
|
|
5519
|
+
const ch1 = this.charAt(1);
|
|
5520
|
+
if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
|
|
5521
|
+
if (!inFlow) this.indentNext = this.indentValue + 1;
|
|
5522
|
+
else if (this.flowKey) this.flowKey = false;
|
|
5523
|
+
n += yield* this.pushCount(1);
|
|
5524
|
+
n += yield* this.pushSpaces(true);
|
|
5525
|
+
continue loop;
|
|
5526
|
+
}
|
|
5516
5527
|
}
|
|
5517
5528
|
}
|
|
5529
|
+
break loop;
|
|
5518
5530
|
}
|
|
5519
|
-
return
|
|
5531
|
+
return n;
|
|
5520
5532
|
}
|
|
5521
5533
|
*pushTag() {
|
|
5522
5534
|
if (this.charAt(1) === "<") {
|
|
@@ -5562,7 +5574,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5562
5574
|
exports.Lexer = Lexer;
|
|
5563
5575
|
}));
|
|
5564
5576
|
//#endregion
|
|
5565
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
5577
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
|
|
5566
5578
|
var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5567
5579
|
/**
|
|
5568
5580
|
* Tracks newlines during parsing in order to provide an efficient API for
|
|
@@ -5609,7 +5621,7 @@ var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5609
5621
|
exports.LineCounter = LineCounter;
|
|
5610
5622
|
}));
|
|
5611
5623
|
//#endregion
|
|
5612
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
5624
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
|
|
5613
5625
|
var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5614
5626
|
var node_process = __require("process");
|
|
5615
5627
|
var cst = require_cst();
|
|
@@ -5663,14 +5675,18 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5663
5675
|
while (prev[++i]?.type === "space");
|
|
5664
5676
|
return prev.splice(i, prev.length);
|
|
5665
5677
|
}
|
|
5678
|
+
function arrayPushArray(target, source) {
|
|
5679
|
+
if (source.length < 1e5) Array.prototype.push.apply(target, source);
|
|
5680
|
+
else for (let i = 0; i < source.length; ++i) target.push(source[i]);
|
|
5681
|
+
}
|
|
5666
5682
|
function fixFlowSeqItems(fc) {
|
|
5667
5683
|
if (fc.start.type === "flow-seq-start") {
|
|
5668
5684
|
for (const it of fc.items) if (it.sep && !it.value && !includesToken(it.start, "explicit-key-ind") && !includesToken(it.sep, "map-value-ind")) {
|
|
5669
5685
|
if (it.key) it.value = it.key;
|
|
5670
5686
|
delete it.key;
|
|
5671
|
-
if (isFlowToken(it.value)) if (it.value.end)
|
|
5687
|
+
if (isFlowToken(it.value)) if (it.value.end) arrayPushArray(it.value.end, it.sep);
|
|
5672
5688
|
else it.value.end = it.sep;
|
|
5673
|
-
else
|
|
5689
|
+
else arrayPushArray(it.start, it.sep);
|
|
5674
5690
|
delete it.sep;
|
|
5675
5691
|
}
|
|
5676
5692
|
}
|
|
@@ -6042,7 +6058,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6042
6058
|
if (this.atIndentedComment(it.start, map.indent)) {
|
|
6043
6059
|
const end = map.items[map.items.length - 2]?.value?.end;
|
|
6044
6060
|
if (Array.isArray(end)) {
|
|
6045
|
-
|
|
6061
|
+
arrayPushArray(end, it.start);
|
|
6046
6062
|
end.push(this.sourceToken);
|
|
6047
6063
|
map.items.pop();
|
|
6048
6064
|
return;
|
|
@@ -6240,7 +6256,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6240
6256
|
if (this.atIndentedComment(it.start, seq.indent)) {
|
|
6241
6257
|
const end = seq.items[seq.items.length - 2]?.value?.end;
|
|
6242
6258
|
if (Array.isArray(end)) {
|
|
6243
|
-
|
|
6259
|
+
arrayPushArray(end, it.start);
|
|
6244
6260
|
end.push(this.sourceToken);
|
|
6245
6261
|
seq.items.pop();
|
|
6246
6262
|
return;
|
|
@@ -6468,7 +6484,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6468
6484
|
exports.Parser = Parser;
|
|
6469
6485
|
}));
|
|
6470
6486
|
//#endregion
|
|
6471
|
-
//#region ../../../node_modules/.bun/yaml@2.
|
|
6487
|
+
//#region ../../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
|
|
6472
6488
|
var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6473
6489
|
var composer = require_composer();
|
|
6474
6490
|
var Document = require_Document();
|
|
@@ -6680,6 +6696,7 @@ async function installAssetFile(path, body, metadata) {
|
|
|
6680
6696
|
await mkdir(dirname(path.file), { recursive: true });
|
|
6681
6697
|
const combined = assembleAssetContent(body, metadata);
|
|
6682
6698
|
await writeFile(path.file, combined, "utf8");
|
|
6699
|
+
return path.file;
|
|
6683
6700
|
}
|
|
6684
6701
|
/**
|
|
6685
6702
|
* Read the asset file at `path.file` and split it into body content +
|
|
@@ -6697,6 +6714,7 @@ async function readAssetFile(path) {
|
|
|
6697
6714
|
async function deleteAssetFile(path) {
|
|
6698
6715
|
await rm(path.file, { force: true });
|
|
6699
6716
|
await rm(`${path.file}.meta.json`, { force: true });
|
|
6717
|
+
return path.file;
|
|
6700
6718
|
}
|
|
6701
6719
|
/**
|
|
6702
6720
|
* Assemble a full file string from optional front-matter metadata + body.
|
|
@@ -14110,13 +14128,13 @@ var src_default = defineAdapter({
|
|
|
14110
14128
|
};
|
|
14111
14129
|
},
|
|
14112
14130
|
async installAsset(scope, assetType, name, content, metadata) {
|
|
14113
|
-
|
|
14131
|
+
return installAssetFile({ file: resolvePath(scope, assetType, name) }, content, metadata);
|
|
14114
14132
|
},
|
|
14115
14133
|
async readAsset(scope, assetType, name) {
|
|
14116
14134
|
return readAssetFile({ file: resolvePath(scope, assetType, name) });
|
|
14117
14135
|
},
|
|
14118
14136
|
async deleteAsset(scope, assetType, name) {
|
|
14119
|
-
|
|
14137
|
+
return deleteAssetFile({ file: resolvePath(scope, assetType, name) });
|
|
14120
14138
|
}
|
|
14121
14139
|
});
|
|
14122
14140
|
/**
|