switchroom 0.14.34 → 0.14.35
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/agent-scheduler/index.js +80 -80
- package/dist/auth-broker/index.js +80 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +84 -83
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +456 -370
- package/dist/host-control/main.js +148 -148
- package/dist/vault/approvals/kernel-server.js +104 -89
- package/dist/vault/broker/server.js +126 -89
- package/package.json +2 -2
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +193 -192
- package/telegram-plugin/dist/server.js +160 -160
|
@@ -17,7 +17,7 @@ var __export = (target, all) => {
|
|
|
17
17
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
18
18
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
19
19
|
|
|
20
|
-
//
|
|
20
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
21
21
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
22
22
|
const t = typeof data;
|
|
23
23
|
switch (t) {
|
|
@@ -148,7 +148,7 @@ var init_util = __esm(() => {
|
|
|
148
148
|
]);
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
//
|
|
151
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
152
152
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
153
153
|
const json = JSON.stringify(obj, null, 2);
|
|
154
154
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -269,7 +269,7 @@ var init_ZodError = __esm(() => {
|
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
//
|
|
272
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
273
273
|
var errorMap = (issue, _ctx) => {
|
|
274
274
|
let message;
|
|
275
275
|
switch (issue.code) {
|
|
@@ -376,7 +376,7 @@ var init_en = __esm(() => {
|
|
|
376
376
|
en_default = errorMap;
|
|
377
377
|
});
|
|
378
378
|
|
|
379
|
-
//
|
|
379
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
380
380
|
function setErrorMap(map) {
|
|
381
381
|
overrideErrorMap = map;
|
|
382
382
|
}
|
|
@@ -389,7 +389,7 @@ var init_errors = __esm(() => {
|
|
|
389
389
|
overrideErrorMap = en_default;
|
|
390
390
|
});
|
|
391
391
|
|
|
392
|
-
//
|
|
392
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
393
393
|
function addIssueToContext(ctx, issueData) {
|
|
394
394
|
const overrideMap = getErrorMap();
|
|
395
395
|
const issue = makeIssue({
|
|
@@ -494,10 +494,10 @@ var init_parseUtil = __esm(() => {
|
|
|
494
494
|
});
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
//
|
|
497
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
498
498
|
var init_typeAliases = () => {};
|
|
499
499
|
|
|
500
|
-
//
|
|
500
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
501
501
|
var errorUtil;
|
|
502
502
|
var init_errorUtil = __esm(() => {
|
|
503
503
|
(function(errorUtil2) {
|
|
@@ -506,7 +506,7 @@ var init_errorUtil = __esm(() => {
|
|
|
506
506
|
})(errorUtil || (errorUtil = {}));
|
|
507
507
|
});
|
|
508
508
|
|
|
509
|
-
//
|
|
509
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
510
510
|
class ParseInputLazyPath {
|
|
511
511
|
constructor(parent, value, path, key) {
|
|
512
512
|
this._cachedPath = [];
|
|
@@ -3857,7 +3857,7 @@ var init_types = __esm(() => {
|
|
|
3857
3857
|
NEVER = INVALID;
|
|
3858
3858
|
});
|
|
3859
3859
|
|
|
3860
|
-
//
|
|
3860
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
3861
3861
|
var exports_external = {};
|
|
3862
3862
|
__export(exports_external, {
|
|
3863
3863
|
void: () => voidType,
|
|
@@ -3977,7 +3977,7 @@ var init_external = __esm(() => {
|
|
|
3977
3977
|
init_ZodError();
|
|
3978
3978
|
});
|
|
3979
3979
|
|
|
3980
|
-
//
|
|
3980
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
3981
3981
|
var init_zod = __esm(() => {
|
|
3982
3982
|
init_external();
|
|
3983
3983
|
init_external();
|
|
@@ -4312,7 +4312,7 @@ var init_merge = __esm(() => {
|
|
|
4312
4312
|
})(mergeAgentConfig ||= {});
|
|
4313
4313
|
});
|
|
4314
4314
|
|
|
4315
|
-
//
|
|
4315
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
4316
4316
|
var require_identity = __commonJS((exports) => {
|
|
4317
4317
|
var ALIAS = Symbol.for("yaml.alias");
|
|
4318
4318
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -4366,7 +4366,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
4366
4366
|
exports.isSeq = isSeq;
|
|
4367
4367
|
});
|
|
4368
4368
|
|
|
4369
|
-
//
|
|
4369
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
4370
4370
|
var require_visit = __commonJS((exports) => {
|
|
4371
4371
|
var identity = require_identity();
|
|
4372
4372
|
var BREAK = Symbol("break visit");
|
|
@@ -4521,7 +4521,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
4521
4521
|
exports.visitAsync = visitAsync;
|
|
4522
4522
|
});
|
|
4523
4523
|
|
|
4524
|
-
//
|
|
4524
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
4525
4525
|
var require_directives = __commonJS((exports) => {
|
|
4526
4526
|
var identity = require_identity();
|
|
4527
4527
|
var visit = require_visit();
|
|
@@ -4673,7 +4673,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
4673
4673
|
exports.Directives = Directives;
|
|
4674
4674
|
});
|
|
4675
4675
|
|
|
4676
|
-
//
|
|
4676
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
4677
4677
|
var require_anchors = __commonJS((exports) => {
|
|
4678
4678
|
var identity = require_identity();
|
|
4679
4679
|
var visit = require_visit();
|
|
@@ -4735,7 +4735,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
4735
4735
|
exports.findNewAnchor = findNewAnchor;
|
|
4736
4736
|
});
|
|
4737
4737
|
|
|
4738
|
-
//
|
|
4738
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
4739
4739
|
var require_applyReviver = __commonJS((exports) => {
|
|
4740
4740
|
function applyReviver(reviver, obj, key, val) {
|
|
4741
4741
|
if (val && typeof val === "object") {
|
|
@@ -4782,7 +4782,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
4782
4782
|
exports.applyReviver = applyReviver;
|
|
4783
4783
|
});
|
|
4784
4784
|
|
|
4785
|
-
//
|
|
4785
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
4786
4786
|
var require_toJS = __commonJS((exports) => {
|
|
4787
4787
|
var identity = require_identity();
|
|
4788
4788
|
function toJS(value, arg, ctx) {
|
|
@@ -4809,7 +4809,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
4809
4809
|
exports.toJS = toJS;
|
|
4810
4810
|
});
|
|
4811
4811
|
|
|
4812
|
-
//
|
|
4812
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
4813
4813
|
var require_Node = __commonJS((exports) => {
|
|
4814
4814
|
var applyReviver = require_applyReviver();
|
|
4815
4815
|
var identity = require_identity();
|
|
@@ -4846,7 +4846,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
4846
4846
|
exports.NodeBase = NodeBase;
|
|
4847
4847
|
});
|
|
4848
4848
|
|
|
4849
|
-
//
|
|
4849
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
4850
4850
|
var require_Alias = __commonJS((exports) => {
|
|
4851
4851
|
var anchors = require_anchors();
|
|
4852
4852
|
var visit = require_visit();
|
|
@@ -4954,7 +4954,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
4954
4954
|
exports.Alias = Alias;
|
|
4955
4955
|
});
|
|
4956
4956
|
|
|
4957
|
-
//
|
|
4957
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
4958
4958
|
var require_Scalar = __commonJS((exports) => {
|
|
4959
4959
|
var identity = require_identity();
|
|
4960
4960
|
var Node = require_Node();
|
|
@@ -4982,7 +4982,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
4982
4982
|
exports.isScalarValue = isScalarValue;
|
|
4983
4983
|
});
|
|
4984
4984
|
|
|
4985
|
-
//
|
|
4985
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
4986
4986
|
var require_createNode = __commonJS((exports) => {
|
|
4987
4987
|
var Alias = require_Alias();
|
|
4988
4988
|
var identity = require_identity();
|
|
@@ -5054,7 +5054,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
5054
5054
|
exports.createNode = createNode;
|
|
5055
5055
|
});
|
|
5056
5056
|
|
|
5057
|
-
//
|
|
5057
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
5058
5058
|
var require_Collection = __commonJS((exports) => {
|
|
5059
5059
|
var createNode = require_createNode();
|
|
5060
5060
|
var identity = require_identity();
|
|
@@ -5169,7 +5169,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
5169
5169
|
exports.isEmptyPath = isEmptyPath;
|
|
5170
5170
|
});
|
|
5171
5171
|
|
|
5172
|
-
//
|
|
5172
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
5173
5173
|
var require_stringifyComment = __commonJS((exports) => {
|
|
5174
5174
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
5175
5175
|
function indentComment(comment, indent) {
|
|
@@ -5186,7 +5186,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
5186
5186
|
exports.stringifyComment = stringifyComment;
|
|
5187
5187
|
});
|
|
5188
5188
|
|
|
5189
|
-
//
|
|
5189
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
5190
5190
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
5191
5191
|
var FOLD_FLOW = "flow";
|
|
5192
5192
|
var FOLD_BLOCK = "block";
|
|
@@ -5323,7 +5323,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
5323
5323
|
exports.foldFlowLines = foldFlowLines;
|
|
5324
5324
|
});
|
|
5325
5325
|
|
|
5326
|
-
//
|
|
5326
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
5327
5327
|
var require_stringifyString = __commonJS((exports) => {
|
|
5328
5328
|
var Scalar = require_Scalar();
|
|
5329
5329
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -5621,7 +5621,7 @@ ${indent}`);
|
|
|
5621
5621
|
exports.stringifyString = stringifyString;
|
|
5622
5622
|
});
|
|
5623
5623
|
|
|
5624
|
-
//
|
|
5624
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
5625
5625
|
var require_stringify = __commonJS((exports) => {
|
|
5626
5626
|
var anchors = require_anchors();
|
|
5627
5627
|
var identity = require_identity();
|
|
@@ -5742,7 +5742,7 @@ ${ctx.indent}${str}`;
|
|
|
5742
5742
|
exports.stringify = stringify;
|
|
5743
5743
|
});
|
|
5744
5744
|
|
|
5745
|
-
//
|
|
5745
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
5746
5746
|
var require_stringifyPair = __commonJS((exports) => {
|
|
5747
5747
|
var identity = require_identity();
|
|
5748
5748
|
var Scalar = require_Scalar();
|
|
@@ -5878,7 +5878,7 @@ ${ctx.indent}`;
|
|
|
5878
5878
|
exports.stringifyPair = stringifyPair;
|
|
5879
5879
|
});
|
|
5880
5880
|
|
|
5881
|
-
//
|
|
5881
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
5882
5882
|
var require_log = __commonJS((exports) => {
|
|
5883
5883
|
var node_process = __require("process");
|
|
5884
5884
|
function debug(logLevel, ...messages) {
|
|
@@ -5897,7 +5897,7 @@ var require_log = __commonJS((exports) => {
|
|
|
5897
5897
|
exports.warn = warn;
|
|
5898
5898
|
});
|
|
5899
5899
|
|
|
5900
|
-
//
|
|
5900
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
5901
5901
|
var require_merge = __commonJS((exports) => {
|
|
5902
5902
|
var identity = require_identity();
|
|
5903
5903
|
var Scalar = require_Scalar();
|
|
@@ -5951,7 +5951,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
5951
5951
|
exports.merge = merge;
|
|
5952
5952
|
});
|
|
5953
5953
|
|
|
5954
|
-
//
|
|
5954
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
5955
5955
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
5956
5956
|
var log = require_log();
|
|
5957
5957
|
var merge = require_merge();
|
|
@@ -6012,7 +6012,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
6012
6012
|
exports.addPairToJSMap = addPairToJSMap;
|
|
6013
6013
|
});
|
|
6014
6014
|
|
|
6015
|
-
//
|
|
6015
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
6016
6016
|
var require_Pair = __commonJS((exports) => {
|
|
6017
6017
|
var createNode = require_createNode();
|
|
6018
6018
|
var stringifyPair = require_stringifyPair();
|
|
@@ -6050,7 +6050,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
6050
6050
|
exports.createPair = createPair;
|
|
6051
6051
|
});
|
|
6052
6052
|
|
|
6053
|
-
//
|
|
6053
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
6054
6054
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
6055
6055
|
var identity = require_identity();
|
|
6056
6056
|
var stringify = require_stringify();
|
|
@@ -6202,7 +6202,7 @@ ${indent}${end}`;
|
|
|
6202
6202
|
exports.stringifyCollection = stringifyCollection;
|
|
6203
6203
|
});
|
|
6204
6204
|
|
|
6205
|
-
//
|
|
6205
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
6206
6206
|
var require_YAMLMap = __commonJS((exports) => {
|
|
6207
6207
|
var stringifyCollection = require_stringifyCollection();
|
|
6208
6208
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -6329,7 +6329,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
6329
6329
|
exports.findPair = findPair;
|
|
6330
6330
|
});
|
|
6331
6331
|
|
|
6332
|
-
//
|
|
6332
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
6333
6333
|
var require_map = __commonJS((exports) => {
|
|
6334
6334
|
var identity = require_identity();
|
|
6335
6335
|
var YAMLMap = require_YAMLMap();
|
|
@@ -6348,7 +6348,7 @@ var require_map = __commonJS((exports) => {
|
|
|
6348
6348
|
exports.map = map;
|
|
6349
6349
|
});
|
|
6350
6350
|
|
|
6351
|
-
//
|
|
6351
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
6352
6352
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
6353
6353
|
var createNode = require_createNode();
|
|
6354
6354
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -6441,7 +6441,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
6441
6441
|
exports.YAMLSeq = YAMLSeq;
|
|
6442
6442
|
});
|
|
6443
6443
|
|
|
6444
|
-
//
|
|
6444
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
6445
6445
|
var require_seq = __commonJS((exports) => {
|
|
6446
6446
|
var identity = require_identity();
|
|
6447
6447
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -6460,7 +6460,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
6460
6460
|
exports.seq = seq;
|
|
6461
6461
|
});
|
|
6462
6462
|
|
|
6463
|
-
//
|
|
6463
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
6464
6464
|
var require_string = __commonJS((exports) => {
|
|
6465
6465
|
var stringifyString = require_stringifyString();
|
|
6466
6466
|
var string = {
|
|
@@ -6476,7 +6476,7 @@ var require_string = __commonJS((exports) => {
|
|
|
6476
6476
|
exports.string = string;
|
|
6477
6477
|
});
|
|
6478
6478
|
|
|
6479
|
-
//
|
|
6479
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
6480
6480
|
var require_null = __commonJS((exports) => {
|
|
6481
6481
|
var Scalar = require_Scalar();
|
|
6482
6482
|
var nullTag = {
|
|
@@ -6491,7 +6491,7 @@ var require_null = __commonJS((exports) => {
|
|
|
6491
6491
|
exports.nullTag = nullTag;
|
|
6492
6492
|
});
|
|
6493
6493
|
|
|
6494
|
-
//
|
|
6494
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
6495
6495
|
var require_bool = __commonJS((exports) => {
|
|
6496
6496
|
var Scalar = require_Scalar();
|
|
6497
6497
|
var boolTag = {
|
|
@@ -6512,7 +6512,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
6512
6512
|
exports.boolTag = boolTag;
|
|
6513
6513
|
});
|
|
6514
6514
|
|
|
6515
|
-
//
|
|
6515
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
6516
6516
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
6517
6517
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
6518
6518
|
if (typeof value === "bigint")
|
|
@@ -6536,7 +6536,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
6536
6536
|
exports.stringifyNumber = stringifyNumber;
|
|
6537
6537
|
});
|
|
6538
6538
|
|
|
6539
|
-
//
|
|
6539
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
6540
6540
|
var require_float = __commonJS((exports) => {
|
|
6541
6541
|
var Scalar = require_Scalar();
|
|
6542
6542
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -6579,7 +6579,7 @@ var require_float = __commonJS((exports) => {
|
|
|
6579
6579
|
exports.floatNaN = floatNaN;
|
|
6580
6580
|
});
|
|
6581
6581
|
|
|
6582
|
-
//
|
|
6582
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
6583
6583
|
var require_int = __commonJS((exports) => {
|
|
6584
6584
|
var stringifyNumber = require_stringifyNumber();
|
|
6585
6585
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -6621,7 +6621,7 @@ var require_int = __commonJS((exports) => {
|
|
|
6621
6621
|
exports.intOct = intOct;
|
|
6622
6622
|
});
|
|
6623
6623
|
|
|
6624
|
-
//
|
|
6624
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
6625
6625
|
var require_schema = __commonJS((exports) => {
|
|
6626
6626
|
var map = require_map();
|
|
6627
6627
|
var _null = require_null();
|
|
@@ -6646,7 +6646,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
6646
6646
|
exports.schema = schema;
|
|
6647
6647
|
});
|
|
6648
6648
|
|
|
6649
|
-
//
|
|
6649
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
6650
6650
|
var require_schema2 = __commonJS((exports) => {
|
|
6651
6651
|
var Scalar = require_Scalar();
|
|
6652
6652
|
var map = require_map();
|
|
@@ -6710,7 +6710,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
6710
6710
|
exports.schema = schema;
|
|
6711
6711
|
});
|
|
6712
6712
|
|
|
6713
|
-
//
|
|
6713
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
6714
6714
|
var require_binary = __commonJS((exports) => {
|
|
6715
6715
|
var node_buffer = __require("buffer");
|
|
6716
6716
|
var Scalar = require_Scalar();
|
|
@@ -6765,7 +6765,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
6765
6765
|
exports.binary = binary;
|
|
6766
6766
|
});
|
|
6767
6767
|
|
|
6768
|
-
//
|
|
6768
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
6769
6769
|
var require_pairs = __commonJS((exports) => {
|
|
6770
6770
|
var identity = require_identity();
|
|
6771
6771
|
var Pair = require_Pair();
|
|
@@ -6840,7 +6840,7 @@ ${cn.comment}` : item.comment;
|
|
|
6840
6840
|
exports.resolvePairs = resolvePairs;
|
|
6841
6841
|
});
|
|
6842
6842
|
|
|
6843
|
-
//
|
|
6843
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
6844
6844
|
var require_omap = __commonJS((exports) => {
|
|
6845
6845
|
var identity = require_identity();
|
|
6846
6846
|
var toJS = require_toJS();
|
|
@@ -6912,7 +6912,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
6912
6912
|
exports.omap = omap;
|
|
6913
6913
|
});
|
|
6914
6914
|
|
|
6915
|
-
//
|
|
6915
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
6916
6916
|
var require_bool2 = __commonJS((exports) => {
|
|
6917
6917
|
var Scalar = require_Scalar();
|
|
6918
6918
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -6941,7 +6941,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
6941
6941
|
exports.trueTag = trueTag;
|
|
6942
6942
|
});
|
|
6943
6943
|
|
|
6944
|
-
//
|
|
6944
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
6945
6945
|
var require_float2 = __commonJS((exports) => {
|
|
6946
6946
|
var Scalar = require_Scalar();
|
|
6947
6947
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -6987,7 +6987,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
6987
6987
|
exports.floatNaN = floatNaN;
|
|
6988
6988
|
});
|
|
6989
6989
|
|
|
6990
|
-
//
|
|
6990
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
6991
6991
|
var require_int2 = __commonJS((exports) => {
|
|
6992
6992
|
var stringifyNumber = require_stringifyNumber();
|
|
6993
6993
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -7063,7 +7063,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
7063
7063
|
exports.intOct = intOct;
|
|
7064
7064
|
});
|
|
7065
7065
|
|
|
7066
|
-
//
|
|
7066
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
7067
7067
|
var require_set = __commonJS((exports) => {
|
|
7068
7068
|
var identity = require_identity();
|
|
7069
7069
|
var Pair = require_Pair();
|
|
@@ -7146,7 +7146,7 @@ var require_set = __commonJS((exports) => {
|
|
|
7146
7146
|
exports.set = set;
|
|
7147
7147
|
});
|
|
7148
7148
|
|
|
7149
|
-
//
|
|
7149
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
7150
7150
|
var require_timestamp = __commonJS((exports) => {
|
|
7151
7151
|
var stringifyNumber = require_stringifyNumber();
|
|
7152
7152
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -7228,7 +7228,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
7228
7228
|
exports.timestamp = timestamp;
|
|
7229
7229
|
});
|
|
7230
7230
|
|
|
7231
|
-
//
|
|
7231
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
7232
7232
|
var require_schema3 = __commonJS((exports) => {
|
|
7233
7233
|
var map = require_map();
|
|
7234
7234
|
var _null = require_null();
|
|
@@ -7269,7 +7269,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
7269
7269
|
exports.schema = schema;
|
|
7270
7270
|
});
|
|
7271
7271
|
|
|
7272
|
-
//
|
|
7272
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
7273
7273
|
var require_tags = __commonJS((exports) => {
|
|
7274
7274
|
var map = require_map();
|
|
7275
7275
|
var _null = require_null();
|
|
@@ -7360,7 +7360,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
7360
7360
|
exports.getTags = getTags;
|
|
7361
7361
|
});
|
|
7362
7362
|
|
|
7363
|
-
//
|
|
7363
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
7364
7364
|
var require_Schema = __commonJS((exports) => {
|
|
7365
7365
|
var identity = require_identity();
|
|
7366
7366
|
var map = require_map();
|
|
@@ -7390,7 +7390,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
7390
7390
|
exports.Schema = Schema;
|
|
7391
7391
|
});
|
|
7392
7392
|
|
|
7393
|
-
//
|
|
7393
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
7394
7394
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
7395
7395
|
var identity = require_identity();
|
|
7396
7396
|
var stringify = require_stringify();
|
|
@@ -7470,7 +7470,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
7470
7470
|
exports.stringifyDocument = stringifyDocument;
|
|
7471
7471
|
});
|
|
7472
7472
|
|
|
7473
|
-
//
|
|
7473
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
7474
7474
|
var require_Document = __commonJS((exports) => {
|
|
7475
7475
|
var Alias = require_Alias();
|
|
7476
7476
|
var Collection = require_Collection();
|
|
@@ -7705,7 +7705,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
7705
7705
|
exports.Document = Document;
|
|
7706
7706
|
});
|
|
7707
7707
|
|
|
7708
|
-
//
|
|
7708
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
7709
7709
|
var require_errors = __commonJS((exports) => {
|
|
7710
7710
|
class YAMLError extends Error {
|
|
7711
7711
|
constructor(name, pos, code, message) {
|
|
@@ -7770,7 +7770,7 @@ ${pointer}
|
|
|
7770
7770
|
exports.prettifyError = prettifyError;
|
|
7771
7771
|
});
|
|
7772
7772
|
|
|
7773
|
-
//
|
|
7773
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
7774
7774
|
var require_resolve_props = __commonJS((exports) => {
|
|
7775
7775
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
7776
7776
|
let spaceBefore = false;
|
|
@@ -7900,7 +7900,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
7900
7900
|
exports.resolveProps = resolveProps;
|
|
7901
7901
|
});
|
|
7902
7902
|
|
|
7903
|
-
//
|
|
7903
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
7904
7904
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
7905
7905
|
function containsNewline(key) {
|
|
7906
7906
|
if (!key)
|
|
@@ -7940,7 +7940,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
7940
7940
|
exports.containsNewline = containsNewline;
|
|
7941
7941
|
});
|
|
7942
7942
|
|
|
7943
|
-
//
|
|
7943
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
7944
7944
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
7945
7945
|
var utilContainsNewline = require_util_contains_newline();
|
|
7946
7946
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -7955,7 +7955,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
7955
7955
|
exports.flowIndentCheck = flowIndentCheck;
|
|
7956
7956
|
});
|
|
7957
7957
|
|
|
7958
|
-
//
|
|
7958
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
7959
7959
|
var require_util_map_includes = __commonJS((exports) => {
|
|
7960
7960
|
var identity = require_identity();
|
|
7961
7961
|
function mapIncludes(ctx, items, search) {
|
|
@@ -7968,7 +7968,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
7968
7968
|
exports.mapIncludes = mapIncludes;
|
|
7969
7969
|
});
|
|
7970
7970
|
|
|
7971
|
-
//
|
|
7971
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
7972
7972
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
7973
7973
|
var Pair = require_Pair();
|
|
7974
7974
|
var YAMLMap = require_YAMLMap();
|
|
@@ -8075,7 +8075,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
8075
8075
|
exports.resolveBlockMap = resolveBlockMap;
|
|
8076
8076
|
});
|
|
8077
8077
|
|
|
8078
|
-
//
|
|
8078
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
8079
8079
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
8080
8080
|
var YAMLSeq = require_YAMLSeq();
|
|
8081
8081
|
var resolveProps = require_resolve_props();
|
|
@@ -8123,7 +8123,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
8123
8123
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
8124
8124
|
});
|
|
8125
8125
|
|
|
8126
|
-
//
|
|
8126
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
8127
8127
|
var require_resolve_end = __commonJS((exports) => {
|
|
8128
8128
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
8129
8129
|
let comment = "";
|
|
@@ -8163,7 +8163,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
8163
8163
|
exports.resolveEnd = resolveEnd;
|
|
8164
8164
|
});
|
|
8165
8165
|
|
|
8166
|
-
//
|
|
8166
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
8167
8167
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
8168
8168
|
var identity = require_identity();
|
|
8169
8169
|
var Pair = require_Pair();
|
|
@@ -8354,7 +8354,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
8354
8354
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
8355
8355
|
});
|
|
8356
8356
|
|
|
8357
|
-
//
|
|
8357
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
8358
8358
|
var require_compose_collection = __commonJS((exports) => {
|
|
8359
8359
|
var identity = require_identity();
|
|
8360
8360
|
var Scalar = require_Scalar();
|
|
@@ -8416,7 +8416,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
8416
8416
|
exports.composeCollection = composeCollection;
|
|
8417
8417
|
});
|
|
8418
8418
|
|
|
8419
|
-
//
|
|
8419
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
8420
8420
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
8421
8421
|
var Scalar = require_Scalar();
|
|
8422
8422
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -8609,7 +8609,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
8609
8609
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
8610
8610
|
});
|
|
8611
8611
|
|
|
8612
|
-
//
|
|
8612
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
8613
8613
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
8614
8614
|
var Scalar = require_Scalar();
|
|
8615
8615
|
var resolveEnd = require_resolve_end();
|
|
@@ -8825,7 +8825,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
8825
8825
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
8826
8826
|
});
|
|
8827
8827
|
|
|
8828
|
-
//
|
|
8828
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
8829
8829
|
var require_compose_scalar = __commonJS((exports) => {
|
|
8830
8830
|
var identity = require_identity();
|
|
8831
8831
|
var Scalar = require_Scalar();
|
|
@@ -8903,7 +8903,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
8903
8903
|
exports.composeScalar = composeScalar;
|
|
8904
8904
|
});
|
|
8905
8905
|
|
|
8906
|
-
//
|
|
8906
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
8907
8907
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
8908
8908
|
function emptyScalarPosition(offset, before, pos) {
|
|
8909
8909
|
if (before) {
|
|
@@ -8930,7 +8930,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
8930
8930
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
8931
8931
|
});
|
|
8932
8932
|
|
|
8933
|
-
//
|
|
8933
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
8934
8934
|
var require_compose_node = __commonJS((exports) => {
|
|
8935
8935
|
var Alias = require_Alias();
|
|
8936
8936
|
var identity = require_identity();
|
|
@@ -9033,7 +9033,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
9033
9033
|
exports.composeNode = composeNode;
|
|
9034
9034
|
});
|
|
9035
9035
|
|
|
9036
|
-
//
|
|
9036
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
9037
9037
|
var require_compose_doc = __commonJS((exports) => {
|
|
9038
9038
|
var Document = require_Document();
|
|
9039
9039
|
var composeNode = require_compose_node();
|
|
@@ -9073,7 +9073,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
9073
9073
|
exports.composeDoc = composeDoc;
|
|
9074
9074
|
});
|
|
9075
9075
|
|
|
9076
|
-
//
|
|
9076
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
9077
9077
|
var require_composer = __commonJS((exports) => {
|
|
9078
9078
|
var node_process = __require("process");
|
|
9079
9079
|
var directives = require_directives();
|
|
@@ -9262,7 +9262,7 @@ ${end.comment}` : end.comment;
|
|
|
9262
9262
|
exports.Composer = Composer;
|
|
9263
9263
|
});
|
|
9264
9264
|
|
|
9265
|
-
//
|
|
9265
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
9266
9266
|
var require_cst_scalar = __commonJS((exports) => {
|
|
9267
9267
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
9268
9268
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -9452,7 +9452,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
9452
9452
|
exports.setScalarValue = setScalarValue;
|
|
9453
9453
|
});
|
|
9454
9454
|
|
|
9455
|
-
//
|
|
9455
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
9456
9456
|
var require_cst_stringify = __commonJS((exports) => {
|
|
9457
9457
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
9458
9458
|
function stringifyToken(token) {
|
|
@@ -9510,7 +9510,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
9510
9510
|
exports.stringify = stringify;
|
|
9511
9511
|
});
|
|
9512
9512
|
|
|
9513
|
-
//
|
|
9513
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
9514
9514
|
var require_cst_visit = __commonJS((exports) => {
|
|
9515
9515
|
var BREAK = Symbol("break visit");
|
|
9516
9516
|
var SKIP = Symbol("skip children");
|
|
@@ -9569,7 +9569,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
9569
9569
|
exports.visit = visit;
|
|
9570
9570
|
});
|
|
9571
9571
|
|
|
9572
|
-
//
|
|
9572
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
9573
9573
|
var require_cst = __commonJS((exports) => {
|
|
9574
9574
|
var cstScalar = require_cst_scalar();
|
|
9575
9575
|
var cstStringify = require_cst_stringify();
|
|
@@ -9670,7 +9670,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
9670
9670
|
exports.tokenType = tokenType;
|
|
9671
9671
|
});
|
|
9672
9672
|
|
|
9673
|
-
//
|
|
9673
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
9674
9674
|
var require_lexer = __commonJS((exports) => {
|
|
9675
9675
|
var cst = require_cst();
|
|
9676
9676
|
function isEmpty(ch) {
|
|
@@ -10256,7 +10256,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
10256
10256
|
exports.Lexer = Lexer;
|
|
10257
10257
|
});
|
|
10258
10258
|
|
|
10259
|
-
//
|
|
10259
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
10260
10260
|
var require_line_counter = __commonJS((exports) => {
|
|
10261
10261
|
class LineCounter {
|
|
10262
10262
|
constructor() {
|
|
@@ -10284,7 +10284,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
10284
10284
|
exports.LineCounter = LineCounter;
|
|
10285
10285
|
});
|
|
10286
10286
|
|
|
10287
|
-
//
|
|
10287
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
10288
10288
|
var require_parser = __commonJS((exports) => {
|
|
10289
10289
|
var node_process = __require("process");
|
|
10290
10290
|
var cst = require_cst();
|
|
@@ -11133,7 +11133,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
11133
11133
|
exports.Parser = Parser;
|
|
11134
11134
|
});
|
|
11135
11135
|
|
|
11136
|
-
//
|
|
11136
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
11137
11137
|
var require_public_api = __commonJS((exports) => {
|
|
11138
11138
|
var composer = require_composer();
|
|
11139
11139
|
var Document = require_Document();
|
|
@@ -11227,7 +11227,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
11227
11227
|
exports.stringify = stringify;
|
|
11228
11228
|
});
|
|
11229
11229
|
|
|
11230
|
-
//
|
|
11230
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
11231
11231
|
var composer, Document, Schema, errors2, Alias, identity, Pair, Scalar, YAMLMap, YAMLSeq, cst, lexer, lineCounter, parser, publicApi, visit, $Composer, $Document, $Schema, $YAMLError, $YAMLParseError, $YAMLWarning, $Alias, $isAlias, $isCollection, $isDocument, $isMap, $isNode, $isPair, $isScalar, $isSeq, $Pair, $Scalar, $YAMLMap, $YAMLSeq, $Lexer, $LineCounter, $Parser, $parse, $parseAllDocuments, $parseDocument, $stringify, $visit, $visitAsync;
|
|
11232
11232
|
var init_dist = __esm(() => {
|
|
11233
11233
|
composer = require_composer();
|
|
@@ -12280,7 +12280,8 @@ var MintGrantRequestSchema = exports_external.object({
|
|
|
12280
12280
|
description: exports_external.string().optional(),
|
|
12281
12281
|
write_keys: exports_external.array(exports_external.string().min(1)).optional(),
|
|
12282
12282
|
passphrase: exports_external.string().optional(),
|
|
12283
|
-
attest_via_posture: exports_external.boolean().optional()
|
|
12283
|
+
attest_via_posture: exports_external.boolean().optional(),
|
|
12284
|
+
decision_id: exports_external.string().optional()
|
|
12284
12285
|
});
|
|
12285
12286
|
var ListGrantsRequestSchema = exports_external.object({
|
|
12286
12287
|
v: exports_external.literal(1),
|
|
@@ -12595,9 +12596,20 @@ function migrateApprovalSchema(db) {
|
|
|
12595
12596
|
approver_set_canonical TEXT NOT NULL,
|
|
12596
12597
|
last_used_at INTEGER,
|
|
12597
12598
|
revoked_at INTEGER,
|
|
12598
|
-
revoke_reason TEXT
|
|
12599
|
+
revoke_reason TEXT,
|
|
12600
|
+
-- Provenance of the operator-authorization (RFC vault-approval-hard-
|
|
12601
|
+
-- boundary). 'agent': recorded on a per-agent socket — claude shares
|
|
12602
|
+
-- that socket, so it is FORGEABLE and must NOT be trusted as proof an
|
|
12603
|
+
-- operator tapped. 'operator': recorded via the host-side verifier on a
|
|
12604
|
+
-- claude-unreachable channel — the only value the broker's mint gate
|
|
12605
|
+
-- trusts. Default 'agent' (fail-closed for the new gate).
|
|
12606
|
+
origin TEXT NOT NULL DEFAULT 'agent'
|
|
12599
12607
|
)
|
|
12600
12608
|
`);
|
|
12609
|
+
const decisionCols = db.query("PRAGMA table_info(approval_decisions)").all();
|
|
12610
|
+
if (!decisionCols.some((c) => c.name === "origin")) {
|
|
12611
|
+
db.run(`ALTER TABLE approval_decisions ADD COLUMN origin TEXT NOT NULL DEFAULT 'agent'`);
|
|
12612
|
+
}
|
|
12601
12613
|
db.run(`
|
|
12602
12614
|
CREATE INDEX IF NOT EXISTS approval_decisions_lookup
|
|
12603
12615
|
ON approval_decisions(agent_unit, scope, action)
|
|
@@ -12673,7 +12685,8 @@ function rowToDecision(row) {
|
|
|
12673
12685
|
approver_set_canonical: row.approver_set_canonical,
|
|
12674
12686
|
last_used_at: row.last_used_at ?? null,
|
|
12675
12687
|
revoked_at: row.revoked_at ?? null,
|
|
12676
|
-
revoke_reason: row.revoke_reason ?? null
|
|
12688
|
+
revoke_reason: row.revoke_reason ?? null,
|
|
12689
|
+
origin: row.origin === "operator" ? "operator" : "agent"
|
|
12677
12690
|
};
|
|
12678
12691
|
}
|
|
12679
12692
|
var MAX_PENDING_PER_AGENT = 2;
|
|
@@ -12839,8 +12852,8 @@ function recordDecision(db, input, now = Date.now()) {
|
|
|
12839
12852
|
db.run(`INSERT INTO approval_decisions
|
|
12840
12853
|
(id, agent_unit, scope, action, decision,
|
|
12841
12854
|
ttl_expires_at, granted_at, granted_by_user_id,
|
|
12842
|
-
approver_set_canonical, last_used_at, revoked_at, revoke_reason)
|
|
12843
|
-
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, NULL, NULL, NULL)`, [
|
|
12855
|
+
approver_set_canonical, last_used_at, revoked_at, revoke_reason, origin)
|
|
12856
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, NULL, NULL, NULL, ?)`, [
|
|
12844
12857
|
id,
|
|
12845
12858
|
input.nonce.agent_unit,
|
|
12846
12859
|
input.nonce.scope,
|
|
@@ -12849,7 +12862,8 @@ function recordDecision(db, input, now = Date.now()) {
|
|
|
12849
12862
|
ttl_expires_at,
|
|
12850
12863
|
now,
|
|
12851
12864
|
input.granted_by_user_id,
|
|
12852
|
-
canonical
|
|
12865
|
+
canonical,
|
|
12866
|
+
input.origin ?? "agent"
|
|
12853
12867
|
]);
|
|
12854
12868
|
db.run(`UPDATE approval_nonces SET decision_id = ? WHERE request_id = ?`, [id, input.nonce.request_id]);
|
|
12855
12869
|
const granted = input.decision === "allow_once" || input.decision === "allow_always" || input.decision === "allow_ttl";
|
|
@@ -12877,7 +12891,8 @@ function consumeAndRecord(db, input, now = Date.now()) {
|
|
|
12877
12891
|
decision: input.decision,
|
|
12878
12892
|
approver_set: input.approver_set,
|
|
12879
12893
|
granted_by_user_id: input.granted_by_user_id,
|
|
12880
|
-
ttl_ms: input.ttl_ms
|
|
12894
|
+
ttl_ms: input.ttl_ms,
|
|
12895
|
+
origin: input.origin
|
|
12881
12896
|
}, now);
|
|
12882
12897
|
return { consumed: true, decision_id, nonce };
|
|
12883
12898
|
});
|