peerband 0.2.2 → 0.2.4

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/peerband.mjs CHANGED
@@ -36,9 +36,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
36
36
  mod
37
37
  ));
38
38
 
39
- // node_modules/ws/lib/constants.js
39
+ // ../peerband-cli/node_modules/ws/lib/constants.js
40
40
  var require_constants = __commonJS({
41
- "node_modules/ws/lib/constants.js"(exports, module) {
41
+ "../peerband-cli/node_modules/ws/lib/constants.js"(exports, module) {
42
42
  "use strict";
43
43
  var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
44
44
  var hasBlob = typeof Blob !== "undefined";
@@ -59,9 +59,9 @@ var require_constants = __commonJS({
59
59
  }
60
60
  });
61
61
 
62
- // node_modules/ws/lib/buffer-util.js
62
+ // ../peerband-cli/node_modules/ws/lib/buffer-util.js
63
63
  var require_buffer_util = __commonJS({
64
- "node_modules/ws/lib/buffer-util.js"(exports, module) {
64
+ "../peerband-cli/node_modules/ws/lib/buffer-util.js"(exports, module) {
65
65
  "use strict";
66
66
  var { EMPTY_BUFFER } = require_constants();
67
67
  var FastBuffer = Buffer[Symbol.species];
@@ -134,9 +134,9 @@ var require_buffer_util = __commonJS({
134
134
  }
135
135
  });
136
136
 
137
- // node_modules/ws/lib/limiter.js
137
+ // ../peerband-cli/node_modules/ws/lib/limiter.js
138
138
  var require_limiter = __commonJS({
139
- "node_modules/ws/lib/limiter.js"(exports, module) {
139
+ "../peerband-cli/node_modules/ws/lib/limiter.js"(exports, module) {
140
140
  "use strict";
141
141
  var kDone = /* @__PURE__ */ Symbol("kDone");
142
142
  var kRun = /* @__PURE__ */ Symbol("kRun");
@@ -184,9 +184,9 @@ var require_limiter = __commonJS({
184
184
  }
185
185
  });
186
186
 
187
- // node_modules/ws/lib/permessage-deflate.js
187
+ // ../peerband-cli/node_modules/ws/lib/permessage-deflate.js
188
188
  var require_permessage_deflate = __commonJS({
189
- "node_modules/ws/lib/permessage-deflate.js"(exports, module) {
189
+ "../peerband-cli/node_modules/ws/lib/permessage-deflate.js"(exports, module) {
190
190
  "use strict";
191
191
  var zlib = __require("zlib");
192
192
  var bufferUtil = require_buffer_util();
@@ -567,9 +567,9 @@ var require_permessage_deflate = __commonJS({
567
567
  }
568
568
  });
569
569
 
570
- // node_modules/ws/lib/validation.js
570
+ // ../peerband-cli/node_modules/ws/lib/validation.js
571
571
  var require_validation = __commonJS({
572
- "node_modules/ws/lib/validation.js"(exports, module) {
572
+ "../peerband-cli/node_modules/ws/lib/validation.js"(exports, module) {
573
573
  "use strict";
574
574
  var { isUtf8 } = __require("buffer");
575
575
  var { hasBlob } = require_constants();
@@ -768,9 +768,9 @@ var require_validation = __commonJS({
768
768
  }
769
769
  });
770
770
 
771
- // node_modules/ws/lib/receiver.js
771
+ // ../peerband-cli/node_modules/ws/lib/receiver.js
772
772
  var require_receiver = __commonJS({
773
- "node_modules/ws/lib/receiver.js"(exports, module) {
773
+ "../peerband-cli/node_modules/ws/lib/receiver.js"(exports, module) {
774
774
  "use strict";
775
775
  var { Writable } = __require("stream");
776
776
  var PerMessageDeflate2 = require_permessage_deflate();
@@ -1391,9 +1391,9 @@ var require_receiver = __commonJS({
1391
1391
  }
1392
1392
  });
1393
1393
 
1394
- // node_modules/ws/lib/sender.js
1394
+ // ../peerband-cli/node_modules/ws/lib/sender.js
1395
1395
  var require_sender = __commonJS({
1396
- "node_modules/ws/lib/sender.js"(exports, module) {
1396
+ "../peerband-cli/node_modules/ws/lib/sender.js"(exports, module) {
1397
1397
  "use strict";
1398
1398
  var { Duplex } = __require("stream");
1399
1399
  var { randomFillSync } = __require("crypto");
@@ -1884,9 +1884,9 @@ var require_sender = __commonJS({
1884
1884
  }
1885
1885
  });
1886
1886
 
1887
- // node_modules/ws/lib/event-target.js
1887
+ // ../peerband-cli/node_modules/ws/lib/event-target.js
1888
1888
  var require_event_target = __commonJS({
1889
- "node_modules/ws/lib/event-target.js"(exports, module) {
1889
+ "../peerband-cli/node_modules/ws/lib/event-target.js"(exports, module) {
1890
1890
  "use strict";
1891
1891
  var { kForOnEventAttribute, kListener } = require_constants();
1892
1892
  var kCode = /* @__PURE__ */ Symbol("kCode");
@@ -2113,9 +2113,9 @@ var require_event_target = __commonJS({
2113
2113
  }
2114
2114
  });
2115
2115
 
2116
- // node_modules/ws/lib/extension.js
2116
+ // ../peerband-cli/node_modules/ws/lib/extension.js
2117
2117
  var require_extension = __commonJS({
2118
- "node_modules/ws/lib/extension.js"(exports, module) {
2118
+ "../peerband-cli/node_modules/ws/lib/extension.js"(exports, module) {
2119
2119
  "use strict";
2120
2120
  var { tokenChars } = require_validation();
2121
2121
  function push(dest, name, elem) {
@@ -2266,9 +2266,9 @@ var require_extension = __commonJS({
2266
2266
  }
2267
2267
  });
2268
2268
 
2269
- // node_modules/ws/lib/websocket.js
2269
+ // ../peerband-cli/node_modules/ws/lib/websocket.js
2270
2270
  var require_websocket = __commonJS({
2271
- "node_modules/ws/lib/websocket.js"(exports, module) {
2271
+ "../peerband-cli/node_modules/ws/lib/websocket.js"(exports, module) {
2272
2272
  "use strict";
2273
2273
  var EventEmitter = __require("events");
2274
2274
  var https = __require("https");
@@ -3175,9 +3175,9 @@ var require_websocket = __commonJS({
3175
3175
  }
3176
3176
  });
3177
3177
 
3178
- // node_modules/ws/lib/stream.js
3178
+ // ../peerband-cli/node_modules/ws/lib/stream.js
3179
3179
  var require_stream = __commonJS({
3180
- "node_modules/ws/lib/stream.js"(exports, module) {
3180
+ "../peerband-cli/node_modules/ws/lib/stream.js"(exports, module) {
3181
3181
  "use strict";
3182
3182
  var WebSocket2 = require_websocket();
3183
3183
  var { Duplex } = __require("stream");
@@ -3273,9 +3273,9 @@ var require_stream = __commonJS({
3273
3273
  }
3274
3274
  });
3275
3275
 
3276
- // node_modules/ws/lib/subprotocol.js
3276
+ // ../peerband-cli/node_modules/ws/lib/subprotocol.js
3277
3277
  var require_subprotocol = __commonJS({
3278
- "node_modules/ws/lib/subprotocol.js"(exports, module) {
3278
+ "../peerband-cli/node_modules/ws/lib/subprotocol.js"(exports, module) {
3279
3279
  "use strict";
3280
3280
  var { tokenChars } = require_validation();
3281
3281
  function parse(header) {
@@ -3318,9 +3318,9 @@ var require_subprotocol = __commonJS({
3318
3318
  }
3319
3319
  });
3320
3320
 
3321
- // node_modules/ws/lib/websocket-server.js
3321
+ // ../peerband-cli/node_modules/ws/lib/websocket-server.js
3322
3322
  var require_websocket_server = __commonJS({
3323
- "node_modules/ws/lib/websocket-server.js"(exports, module) {
3323
+ "../peerband-cli/node_modules/ws/lib/websocket-server.js"(exports, module) {
3324
3324
  "use strict";
3325
3325
  var EventEmitter = __require("events");
3326
3326
  var http = __require("http");
@@ -3719,9 +3719,9 @@ var require_websocket_server = __commonJS({
3719
3719
  }
3720
3720
  });
3721
3721
 
3722
- // node_modules/ajv-formats/dist/formats.js
3722
+ // ../peerband-cli/node_modules/ajv-formats/dist/formats.js
3723
3723
  var require_formats = __commonJS({
3724
- "node_modules/ajv-formats/dist/formats.js"(exports) {
3724
+ "../peerband-cli/node_modules/ajv-formats/dist/formats.js"(exports) {
3725
3725
  "use strict";
3726
3726
  Object.defineProperty(exports, "__esModule", { value: true });
3727
3727
  exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
@@ -3922,9 +3922,9 @@ var require_formats = __commonJS({
3922
3922
  }
3923
3923
  });
3924
3924
 
3925
- // node_modules/ajv/dist/compile/codegen/code.js
3925
+ // ../peerband-cli/node_modules/ajv/dist/compile/codegen/code.js
3926
3926
  var require_code = __commonJS({
3927
- "node_modules/ajv/dist/compile/codegen/code.js"(exports) {
3927
+ "../peerband-cli/node_modules/ajv/dist/compile/codegen/code.js"(exports) {
3928
3928
  "use strict";
3929
3929
  Object.defineProperty(exports, "__esModule", { value: true });
3930
3930
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
@@ -4076,9 +4076,9 @@ var require_code = __commonJS({
4076
4076
  }
4077
4077
  });
4078
4078
 
4079
- // node_modules/ajv/dist/compile/codegen/scope.js
4079
+ // ../peerband-cli/node_modules/ajv/dist/compile/codegen/scope.js
4080
4080
  var require_scope = __commonJS({
4081
- "node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
4081
+ "../peerband-cli/node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
4082
4082
  "use strict";
4083
4083
  Object.defineProperty(exports, "__esModule", { value: true });
4084
4084
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
@@ -4221,9 +4221,9 @@ var require_scope = __commonJS({
4221
4221
  }
4222
4222
  });
4223
4223
 
4224
- // node_modules/ajv/dist/compile/codegen/index.js
4224
+ // ../peerband-cli/node_modules/ajv/dist/compile/codegen/index.js
4225
4225
  var require_codegen = __commonJS({
4226
- "node_modules/ajv/dist/compile/codegen/index.js"(exports) {
4226
+ "../peerband-cli/node_modules/ajv/dist/compile/codegen/index.js"(exports) {
4227
4227
  "use strict";
4228
4228
  Object.defineProperty(exports, "__esModule", { value: true });
4229
4229
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
@@ -4941,9 +4941,9 @@ var require_codegen = __commonJS({
4941
4941
  }
4942
4942
  });
4943
4943
 
4944
- // node_modules/ajv/dist/compile/util.js
4944
+ // ../peerband-cli/node_modules/ajv/dist/compile/util.js
4945
4945
  var require_util = __commonJS({
4946
- "node_modules/ajv/dist/compile/util.js"(exports) {
4946
+ "../peerband-cli/node_modules/ajv/dist/compile/util.js"(exports) {
4947
4947
  "use strict";
4948
4948
  Object.defineProperty(exports, "__esModule", { value: true });
4949
4949
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
@@ -5108,9 +5108,9 @@ var require_util = __commonJS({
5108
5108
  }
5109
5109
  });
5110
5110
 
5111
- // node_modules/ajv/dist/compile/names.js
5111
+ // ../peerband-cli/node_modules/ajv/dist/compile/names.js
5112
5112
  var require_names = __commonJS({
5113
- "node_modules/ajv/dist/compile/names.js"(exports) {
5113
+ "../peerband-cli/node_modules/ajv/dist/compile/names.js"(exports) {
5114
5114
  "use strict";
5115
5115
  Object.defineProperty(exports, "__esModule", { value: true });
5116
5116
  var codegen_1 = require_codegen();
@@ -5147,9 +5147,9 @@ var require_names = __commonJS({
5147
5147
  }
5148
5148
  });
5149
5149
 
5150
- // node_modules/ajv/dist/compile/errors.js
5150
+ // ../peerband-cli/node_modules/ajv/dist/compile/errors.js
5151
5151
  var require_errors = __commonJS({
5152
- "node_modules/ajv/dist/compile/errors.js"(exports) {
5152
+ "../peerband-cli/node_modules/ajv/dist/compile/errors.js"(exports) {
5153
5153
  "use strict";
5154
5154
  Object.defineProperty(exports, "__esModule", { value: true });
5155
5155
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
@@ -5269,9 +5269,9 @@ var require_errors = __commonJS({
5269
5269
  }
5270
5270
  });
5271
5271
 
5272
- // node_modules/ajv/dist/compile/validate/boolSchema.js
5272
+ // ../peerband-cli/node_modules/ajv/dist/compile/validate/boolSchema.js
5273
5273
  var require_boolSchema = __commonJS({
5274
- "node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
5274
+ "../peerband-cli/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
5275
5275
  "use strict";
5276
5276
  Object.defineProperty(exports, "__esModule", { value: true });
5277
5277
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
@@ -5320,9 +5320,9 @@ var require_boolSchema = __commonJS({
5320
5320
  }
5321
5321
  });
5322
5322
 
5323
- // node_modules/ajv/dist/compile/rules.js
5323
+ // ../peerband-cli/node_modules/ajv/dist/compile/rules.js
5324
5324
  var require_rules = __commonJS({
5325
- "node_modules/ajv/dist/compile/rules.js"(exports) {
5325
+ "../peerband-cli/node_modules/ajv/dist/compile/rules.js"(exports) {
5326
5326
  "use strict";
5327
5327
  Object.defineProperty(exports, "__esModule", { value: true });
5328
5328
  exports.getRules = exports.isJSONType = void 0;
@@ -5351,9 +5351,9 @@ var require_rules = __commonJS({
5351
5351
  }
5352
5352
  });
5353
5353
 
5354
- // node_modules/ajv/dist/compile/validate/applicability.js
5354
+ // ../peerband-cli/node_modules/ajv/dist/compile/validate/applicability.js
5355
5355
  var require_applicability = __commonJS({
5356
- "node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
5356
+ "../peerband-cli/node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
5357
5357
  "use strict";
5358
5358
  Object.defineProperty(exports, "__esModule", { value: true });
5359
5359
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
@@ -5374,9 +5374,9 @@ var require_applicability = __commonJS({
5374
5374
  }
5375
5375
  });
5376
5376
 
5377
- // node_modules/ajv/dist/compile/validate/dataType.js
5377
+ // ../peerband-cli/node_modules/ajv/dist/compile/validate/dataType.js
5378
5378
  var require_dataType = __commonJS({
5379
- "node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
5379
+ "../peerband-cli/node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
5380
5380
  "use strict";
5381
5381
  Object.defineProperty(exports, "__esModule", { value: true });
5382
5382
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
@@ -5558,9 +5558,9 @@ var require_dataType = __commonJS({
5558
5558
  }
5559
5559
  });
5560
5560
 
5561
- // node_modules/ajv/dist/compile/validate/defaults.js
5561
+ // ../peerband-cli/node_modules/ajv/dist/compile/validate/defaults.js
5562
5562
  var require_defaults = __commonJS({
5563
- "node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
5563
+ "../peerband-cli/node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
5564
5564
  "use strict";
5565
5565
  Object.defineProperty(exports, "__esModule", { value: true });
5566
5566
  exports.assignDefaults = void 0;
@@ -5595,9 +5595,9 @@ var require_defaults = __commonJS({
5595
5595
  }
5596
5596
  });
5597
5597
 
5598
- // node_modules/ajv/dist/vocabularies/code.js
5598
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/code.js
5599
5599
  var require_code2 = __commonJS({
5600
- "node_modules/ajv/dist/vocabularies/code.js"(exports) {
5600
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/code.js"(exports) {
5601
5601
  "use strict";
5602
5602
  Object.defineProperty(exports, "__esModule", { value: true });
5603
5603
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
@@ -5728,9 +5728,9 @@ var require_code2 = __commonJS({
5728
5728
  }
5729
5729
  });
5730
5730
 
5731
- // node_modules/ajv/dist/compile/validate/keyword.js
5731
+ // ../peerband-cli/node_modules/ajv/dist/compile/validate/keyword.js
5732
5732
  var require_keyword = __commonJS({
5733
- "node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
5733
+ "../peerband-cli/node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
5734
5734
  "use strict";
5735
5735
  Object.defineProperty(exports, "__esModule", { value: true });
5736
5736
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
@@ -5846,9 +5846,9 @@ var require_keyword = __commonJS({
5846
5846
  }
5847
5847
  });
5848
5848
 
5849
- // node_modules/ajv/dist/compile/validate/subschema.js
5849
+ // ../peerband-cli/node_modules/ajv/dist/compile/validate/subschema.js
5850
5850
  var require_subschema = __commonJS({
5851
- "node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
5851
+ "../peerband-cli/node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
5852
5852
  "use strict";
5853
5853
  Object.defineProperty(exports, "__esModule", { value: true });
5854
5854
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
@@ -5929,9 +5929,9 @@ var require_subschema = __commonJS({
5929
5929
  }
5930
5930
  });
5931
5931
 
5932
- // node_modules/fast-deep-equal/index.js
5932
+ // ../peerband-cli/node_modules/fast-deep-equal/index.js
5933
5933
  var require_fast_deep_equal = __commonJS({
5934
- "node_modules/fast-deep-equal/index.js"(exports, module) {
5934
+ "../peerband-cli/node_modules/fast-deep-equal/index.js"(exports, module) {
5935
5935
  "use strict";
5936
5936
  module.exports = function equal(a, b) {
5937
5937
  if (a === b) return true;
@@ -5964,9 +5964,9 @@ var require_fast_deep_equal = __commonJS({
5964
5964
  }
5965
5965
  });
5966
5966
 
5967
- // node_modules/json-schema-traverse/index.js
5967
+ // ../peerband-cli/node_modules/json-schema-traverse/index.js
5968
5968
  var require_json_schema_traverse = __commonJS({
5969
- "node_modules/json-schema-traverse/index.js"(exports, module) {
5969
+ "../peerband-cli/node_modules/json-schema-traverse/index.js"(exports, module) {
5970
5970
  "use strict";
5971
5971
  var traverse = module.exports = function(schema, opts, cb) {
5972
5972
  if (typeof opts == "function") {
@@ -6052,9 +6052,9 @@ var require_json_schema_traverse = __commonJS({
6052
6052
  }
6053
6053
  });
6054
6054
 
6055
- // node_modules/ajv/dist/compile/resolve.js
6055
+ // ../peerband-cli/node_modules/ajv/dist/compile/resolve.js
6056
6056
  var require_resolve = __commonJS({
6057
- "node_modules/ajv/dist/compile/resolve.js"(exports) {
6057
+ "../peerband-cli/node_modules/ajv/dist/compile/resolve.js"(exports) {
6058
6058
  "use strict";
6059
6059
  Object.defineProperty(exports, "__esModule", { value: true });
6060
6060
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
@@ -6208,9 +6208,9 @@ var require_resolve = __commonJS({
6208
6208
  }
6209
6209
  });
6210
6210
 
6211
- // node_modules/ajv/dist/compile/validate/index.js
6211
+ // ../peerband-cli/node_modules/ajv/dist/compile/validate/index.js
6212
6212
  var require_validate = __commonJS({
6213
- "node_modules/ajv/dist/compile/validate/index.js"(exports) {
6213
+ "../peerband-cli/node_modules/ajv/dist/compile/validate/index.js"(exports) {
6214
6214
  "use strict";
6215
6215
  Object.defineProperty(exports, "__esModule", { value: true });
6216
6216
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
@@ -6716,9 +6716,9 @@ var require_validate = __commonJS({
6716
6716
  }
6717
6717
  });
6718
6718
 
6719
- // node_modules/ajv/dist/runtime/validation_error.js
6719
+ // ../peerband-cli/node_modules/ajv/dist/runtime/validation_error.js
6720
6720
  var require_validation_error = __commonJS({
6721
- "node_modules/ajv/dist/runtime/validation_error.js"(exports) {
6721
+ "../peerband-cli/node_modules/ajv/dist/runtime/validation_error.js"(exports) {
6722
6722
  "use strict";
6723
6723
  Object.defineProperty(exports, "__esModule", { value: true });
6724
6724
  var ValidationError = class extends Error {
@@ -6732,9 +6732,9 @@ var require_validation_error = __commonJS({
6732
6732
  }
6733
6733
  });
6734
6734
 
6735
- // node_modules/ajv/dist/compile/ref_error.js
6735
+ // ../peerband-cli/node_modules/ajv/dist/compile/ref_error.js
6736
6736
  var require_ref_error = __commonJS({
6737
- "node_modules/ajv/dist/compile/ref_error.js"(exports) {
6737
+ "../peerband-cli/node_modules/ajv/dist/compile/ref_error.js"(exports) {
6738
6738
  "use strict";
6739
6739
  Object.defineProperty(exports, "__esModule", { value: true });
6740
6740
  var resolve_1 = require_resolve();
@@ -6749,9 +6749,9 @@ var require_ref_error = __commonJS({
6749
6749
  }
6750
6750
  });
6751
6751
 
6752
- // node_modules/ajv/dist/compile/index.js
6752
+ // ../peerband-cli/node_modules/ajv/dist/compile/index.js
6753
6753
  var require_compile = __commonJS({
6754
- "node_modules/ajv/dist/compile/index.js"(exports) {
6754
+ "../peerband-cli/node_modules/ajv/dist/compile/index.js"(exports) {
6755
6755
  "use strict";
6756
6756
  Object.defineProperty(exports, "__esModule", { value: true });
6757
6757
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
@@ -6973,9 +6973,9 @@ var require_compile = __commonJS({
6973
6973
  }
6974
6974
  });
6975
6975
 
6976
- // node_modules/ajv/dist/refs/data.json
6976
+ // ../peerband-cli/node_modules/ajv/dist/refs/data.json
6977
6977
  var require_data = __commonJS({
6978
- "node_modules/ajv/dist/refs/data.json"(exports, module) {
6978
+ "../peerband-cli/node_modules/ajv/dist/refs/data.json"(exports, module) {
6979
6979
  module.exports = {
6980
6980
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
6981
6981
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -6992,9 +6992,9 @@ var require_data = __commonJS({
6992
6992
  }
6993
6993
  });
6994
6994
 
6995
- // node_modules/fast-uri/lib/utils.js
6995
+ // ../peerband-cli/node_modules/fast-uri/lib/utils.js
6996
6996
  var require_utils = __commonJS({
6997
- "node_modules/fast-uri/lib/utils.js"(exports, module) {
6997
+ "../peerband-cli/node_modules/fast-uri/lib/utils.js"(exports, module) {
6998
6998
  "use strict";
6999
6999
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
7000
7000
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
@@ -7494,9 +7494,9 @@ var require_utils = __commonJS({
7494
7494
  }
7495
7495
  });
7496
7496
 
7497
- // node_modules/fast-uri/lib/schemes.js
7497
+ // ../peerband-cli/node_modules/fast-uri/lib/schemes.js
7498
7498
  var require_schemes = __commonJS({
7499
- "node_modules/fast-uri/lib/schemes.js"(exports, module) {
7499
+ "../peerband-cli/node_modules/fast-uri/lib/schemes.js"(exports, module) {
7500
7500
  "use strict";
7501
7501
  var { isUUID } = require_utils();
7502
7502
  var URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
@@ -7705,9 +7705,9 @@ var require_schemes = __commonJS({
7705
7705
  }
7706
7706
  });
7707
7707
 
7708
- // node_modules/fast-uri/index.js
7708
+ // ../peerband-cli/node_modules/fast-uri/index.js
7709
7709
  var require_fast_uri = __commonJS({
7710
- "node_modules/fast-uri/index.js"(exports, module) {
7710
+ "../peerband-cli/node_modules/fast-uri/index.js"(exports, module) {
7711
7711
  "use strict";
7712
7712
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
7713
7713
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -8111,9 +8111,9 @@ var require_fast_uri = __commonJS({
8111
8111
  }
8112
8112
  });
8113
8113
 
8114
- // node_modules/ajv/dist/runtime/uri.js
8114
+ // ../peerband-cli/node_modules/ajv/dist/runtime/uri.js
8115
8115
  var require_uri = __commonJS({
8116
- "node_modules/ajv/dist/runtime/uri.js"(exports) {
8116
+ "../peerband-cli/node_modules/ajv/dist/runtime/uri.js"(exports) {
8117
8117
  "use strict";
8118
8118
  Object.defineProperty(exports, "__esModule", { value: true });
8119
8119
  var uri = require_fast_uri();
@@ -8122,9 +8122,9 @@ var require_uri = __commonJS({
8122
8122
  }
8123
8123
  });
8124
8124
 
8125
- // node_modules/ajv/dist/core.js
8125
+ // ../peerband-cli/node_modules/ajv/dist/core.js
8126
8126
  var require_core = __commonJS({
8127
- "node_modules/ajv/dist/core.js"(exports) {
8127
+ "../peerband-cli/node_modules/ajv/dist/core.js"(exports) {
8128
8128
  "use strict";
8129
8129
  Object.defineProperty(exports, "__esModule", { value: true });
8130
8130
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
@@ -8733,9 +8733,9 @@ var require_core = __commonJS({
8733
8733
  }
8734
8734
  });
8735
8735
 
8736
- // node_modules/ajv/dist/vocabularies/core/id.js
8736
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/core/id.js
8737
8737
  var require_id = __commonJS({
8738
- "node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
8738
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
8739
8739
  "use strict";
8740
8740
  Object.defineProperty(exports, "__esModule", { value: true });
8741
8741
  var def = {
@@ -8748,9 +8748,9 @@ var require_id = __commonJS({
8748
8748
  }
8749
8749
  });
8750
8750
 
8751
- // node_modules/ajv/dist/vocabularies/core/ref.js
8751
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/core/ref.js
8752
8752
  var require_ref = __commonJS({
8753
- "node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
8753
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
8754
8754
  "use strict";
8755
8755
  Object.defineProperty(exports, "__esModule", { value: true });
8756
8756
  exports.callRef = exports.getValidate = void 0;
@@ -8870,9 +8870,9 @@ var require_ref = __commonJS({
8870
8870
  }
8871
8871
  });
8872
8872
 
8873
- // node_modules/ajv/dist/vocabularies/core/index.js
8873
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/core/index.js
8874
8874
  var require_core2 = __commonJS({
8875
- "node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
8875
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
8876
8876
  "use strict";
8877
8877
  Object.defineProperty(exports, "__esModule", { value: true });
8878
8878
  var id_1 = require_id();
@@ -8891,9 +8891,9 @@ var require_core2 = __commonJS({
8891
8891
  }
8892
8892
  });
8893
8893
 
8894
- // node_modules/ajv/dist/vocabularies/validation/limitNumber.js
8894
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
8895
8895
  var require_limitNumber = __commonJS({
8896
- "node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
8896
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
8897
8897
  "use strict";
8898
8898
  Object.defineProperty(exports, "__esModule", { value: true });
8899
8899
  var codegen_1 = require_codegen();
@@ -8923,9 +8923,9 @@ var require_limitNumber = __commonJS({
8923
8923
  }
8924
8924
  });
8925
8925
 
8926
- // node_modules/ajv/dist/vocabularies/validation/multipleOf.js
8926
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
8927
8927
  var require_multipleOf = __commonJS({
8928
- "node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
8928
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
8929
8929
  "use strict";
8930
8930
  Object.defineProperty(exports, "__esModule", { value: true });
8931
8931
  var codegen_1 = require_codegen();
@@ -8943,17 +8943,17 @@ var require_multipleOf = __commonJS({
8943
8943
  const { gen, data, schemaCode, it } = cxt;
8944
8944
  const prec = it.opts.multipleOfPrecision;
8945
8945
  const res = gen.let("res");
8946
- const invalid = prec ? (0, codegen_1._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1._)`${res} !== parseInt(${res})`;
8947
- cxt.fail$data((0, codegen_1._)`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);
8946
+ const invalid2 = prec ? (0, codegen_1._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1._)`${res} !== parseInt(${res})`;
8947
+ cxt.fail$data((0, codegen_1._)`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid2}))`);
8948
8948
  }
8949
8949
  };
8950
8950
  exports.default = def;
8951
8951
  }
8952
8952
  });
8953
8953
 
8954
- // node_modules/ajv/dist/runtime/ucs2length.js
8954
+ // ../peerband-cli/node_modules/ajv/dist/runtime/ucs2length.js
8955
8955
  var require_ucs2length = __commonJS({
8956
- "node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
8956
+ "../peerband-cli/node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
8957
8957
  "use strict";
8958
8958
  Object.defineProperty(exports, "__esModule", { value: true });
8959
8959
  function ucs2length(str2) {
@@ -8977,9 +8977,9 @@ var require_ucs2length = __commonJS({
8977
8977
  }
8978
8978
  });
8979
8979
 
8980
- // node_modules/ajv/dist/vocabularies/validation/limitLength.js
8980
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitLength.js
8981
8981
  var require_limitLength = __commonJS({
8982
- "node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
8982
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
8983
8983
  "use strict";
8984
8984
  Object.defineProperty(exports, "__esModule", { value: true });
8985
8985
  var codegen_1 = require_codegen();
@@ -9009,9 +9009,9 @@ var require_limitLength = __commonJS({
9009
9009
  }
9010
9010
  });
9011
9011
 
9012
- // node_modules/ajv/dist/vocabularies/validation/pattern.js
9012
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/pattern.js
9013
9013
  var require_pattern = __commonJS({
9014
- "node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
9014
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
9015
9015
  "use strict";
9016
9016
  Object.defineProperty(exports, "__esModule", { value: true });
9017
9017
  var code_1 = require_code2();
@@ -9046,9 +9046,9 @@ var require_pattern = __commonJS({
9046
9046
  }
9047
9047
  });
9048
9048
 
9049
- // node_modules/ajv/dist/vocabularies/validation/limitProperties.js
9049
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
9050
9050
  var require_limitProperties = __commonJS({
9051
- "node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
9051
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
9052
9052
  "use strict";
9053
9053
  Object.defineProperty(exports, "__esModule", { value: true });
9054
9054
  var codegen_1 = require_codegen();
@@ -9075,9 +9075,9 @@ var require_limitProperties = __commonJS({
9075
9075
  }
9076
9076
  });
9077
9077
 
9078
- // node_modules/ajv/dist/vocabularies/validation/required.js
9078
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/required.js
9079
9079
  var require_required = __commonJS({
9080
- "node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
9080
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
9081
9081
  "use strict";
9082
9082
  Object.defineProperty(exports, "__esModule", { value: true });
9083
9083
  var code_1 = require_code2();
@@ -9157,9 +9157,9 @@ var require_required = __commonJS({
9157
9157
  }
9158
9158
  });
9159
9159
 
9160
- // node_modules/ajv/dist/vocabularies/validation/limitItems.js
9160
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitItems.js
9161
9161
  var require_limitItems = __commonJS({
9162
- "node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
9162
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
9163
9163
  "use strict";
9164
9164
  Object.defineProperty(exports, "__esModule", { value: true });
9165
9165
  var codegen_1 = require_codegen();
@@ -9186,9 +9186,9 @@ var require_limitItems = __commonJS({
9186
9186
  }
9187
9187
  });
9188
9188
 
9189
- // node_modules/ajv/dist/runtime/equal.js
9189
+ // ../peerband-cli/node_modules/ajv/dist/runtime/equal.js
9190
9190
  var require_equal = __commonJS({
9191
- "node_modules/ajv/dist/runtime/equal.js"(exports) {
9191
+ "../peerband-cli/node_modules/ajv/dist/runtime/equal.js"(exports) {
9192
9192
  "use strict";
9193
9193
  Object.defineProperty(exports, "__esModule", { value: true });
9194
9194
  var equal = require_fast_deep_equal();
@@ -9197,9 +9197,9 @@ var require_equal = __commonJS({
9197
9197
  }
9198
9198
  });
9199
9199
 
9200
- // node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
9200
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
9201
9201
  var require_uniqueItems = __commonJS({
9202
- "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
9202
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
9203
9203
  "use strict";
9204
9204
  Object.defineProperty(exports, "__esModule", { value: true });
9205
9205
  var dataType_1 = require_dataType();
@@ -9264,9 +9264,9 @@ var require_uniqueItems = __commonJS({
9264
9264
  }
9265
9265
  });
9266
9266
 
9267
- // node_modules/ajv/dist/vocabularies/validation/const.js
9267
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/const.js
9268
9268
  var require_const = __commonJS({
9269
- "node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
9269
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
9270
9270
  "use strict";
9271
9271
  Object.defineProperty(exports, "__esModule", { value: true });
9272
9272
  var codegen_1 = require_codegen();
@@ -9293,9 +9293,9 @@ var require_const = __commonJS({
9293
9293
  }
9294
9294
  });
9295
9295
 
9296
- // node_modules/ajv/dist/vocabularies/validation/enum.js
9296
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/enum.js
9297
9297
  var require_enum = __commonJS({
9298
- "node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
9298
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
9299
9299
  "use strict";
9300
9300
  Object.defineProperty(exports, "__esModule", { value: true });
9301
9301
  var codegen_1 = require_codegen();
@@ -9342,9 +9342,9 @@ var require_enum = __commonJS({
9342
9342
  }
9343
9343
  });
9344
9344
 
9345
- // node_modules/ajv/dist/vocabularies/validation/index.js
9345
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/index.js
9346
9346
  var require_validation2 = __commonJS({
9347
- "node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
9347
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
9348
9348
  "use strict";
9349
9349
  Object.defineProperty(exports, "__esModule", { value: true });
9350
9350
  var limitNumber_1 = require_limitNumber();
@@ -9380,9 +9380,9 @@ var require_validation2 = __commonJS({
9380
9380
  }
9381
9381
  });
9382
9382
 
9383
- // node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
9383
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
9384
9384
  var require_additionalItems = __commonJS({
9385
- "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
9385
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
9386
9386
  "use strict";
9387
9387
  Object.defineProperty(exports, "__esModule", { value: true });
9388
9388
  exports.validateAdditionalItems = void 0;
@@ -9433,9 +9433,9 @@ var require_additionalItems = __commonJS({
9433
9433
  }
9434
9434
  });
9435
9435
 
9436
- // node_modules/ajv/dist/vocabularies/applicator/items.js
9436
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/items.js
9437
9437
  var require_items = __commonJS({
9438
- "node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
9438
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
9439
9439
  "use strict";
9440
9440
  Object.defineProperty(exports, "__esModule", { value: true });
9441
9441
  exports.validateTuple = void 0;
@@ -9490,9 +9490,9 @@ var require_items = __commonJS({
9490
9490
  }
9491
9491
  });
9492
9492
 
9493
- // node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
9493
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
9494
9494
  var require_prefixItems = __commonJS({
9495
- "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
9495
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
9496
9496
  "use strict";
9497
9497
  Object.defineProperty(exports, "__esModule", { value: true });
9498
9498
  var items_1 = require_items();
@@ -9507,9 +9507,9 @@ var require_prefixItems = __commonJS({
9507
9507
  }
9508
9508
  });
9509
9509
 
9510
- // node_modules/ajv/dist/vocabularies/applicator/items2020.js
9510
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/items2020.js
9511
9511
  var require_items2020 = __commonJS({
9512
- "node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
9512
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
9513
9513
  "use strict";
9514
9514
  Object.defineProperty(exports, "__esModule", { value: true });
9515
9515
  var codegen_1 = require_codegen();
@@ -9542,9 +9542,9 @@ var require_items2020 = __commonJS({
9542
9542
  }
9543
9543
  });
9544
9544
 
9545
- // node_modules/ajv/dist/vocabularies/applicator/contains.js
9545
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/contains.js
9546
9546
  var require_contains = __commonJS({
9547
- "node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
9547
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
9548
9548
  "use strict";
9549
9549
  Object.defineProperty(exports, "__esModule", { value: true });
9550
9550
  var codegen_1 = require_codegen();
@@ -9636,9 +9636,9 @@ var require_contains = __commonJS({
9636
9636
  }
9637
9637
  });
9638
9638
 
9639
- // node_modules/ajv/dist/vocabularies/applicator/dependencies.js
9639
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
9640
9640
  var require_dependencies = __commonJS({
9641
- "node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
9641
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
9642
9642
  "use strict";
9643
9643
  Object.defineProperty(exports, "__esModule", { value: true });
9644
9644
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
@@ -9730,9 +9730,9 @@ var require_dependencies = __commonJS({
9730
9730
  }
9731
9731
  });
9732
9732
 
9733
- // node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
9733
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
9734
9734
  var require_propertyNames = __commonJS({
9735
- "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
9735
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
9736
9736
  "use strict";
9737
9737
  Object.defineProperty(exports, "__esModule", { value: true });
9738
9738
  var codegen_1 = require_codegen();
@@ -9773,9 +9773,9 @@ var require_propertyNames = __commonJS({
9773
9773
  }
9774
9774
  });
9775
9775
 
9776
- // node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
9776
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
9777
9777
  var require_additionalProperties = __commonJS({
9778
- "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
9778
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
9779
9779
  "use strict";
9780
9780
  Object.defineProperty(exports, "__esModule", { value: true });
9781
9781
  var code_1 = require_code2();
@@ -9879,9 +9879,9 @@ var require_additionalProperties = __commonJS({
9879
9879
  }
9880
9880
  });
9881
9881
 
9882
- // node_modules/ajv/dist/vocabularies/applicator/properties.js
9882
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/properties.js
9883
9883
  var require_properties = __commonJS({
9884
- "node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
9884
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
9885
9885
  "use strict";
9886
9886
  Object.defineProperty(exports, "__esModule", { value: true });
9887
9887
  var validate_1 = require_validate();
@@ -9937,9 +9937,9 @@ var require_properties = __commonJS({
9937
9937
  }
9938
9938
  });
9939
9939
 
9940
- // node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
9940
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
9941
9941
  var require_patternProperties = __commonJS({
9942
- "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
9942
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
9943
9943
  "use strict";
9944
9944
  Object.defineProperty(exports, "__esModule", { value: true });
9945
9945
  var code_1 = require_code2();
@@ -10011,9 +10011,9 @@ var require_patternProperties = __commonJS({
10011
10011
  }
10012
10012
  });
10013
10013
 
10014
- // node_modules/ajv/dist/vocabularies/applicator/not.js
10014
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/not.js
10015
10015
  var require_not = __commonJS({
10016
- "node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
10016
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
10017
10017
  "use strict";
10018
10018
  Object.defineProperty(exports, "__esModule", { value: true });
10019
10019
  var util_1 = require_util();
@@ -10042,9 +10042,9 @@ var require_not = __commonJS({
10042
10042
  }
10043
10043
  });
10044
10044
 
10045
- // node_modules/ajv/dist/vocabularies/applicator/anyOf.js
10045
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
10046
10046
  var require_anyOf = __commonJS({
10047
- "node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
10047
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
10048
10048
  "use strict";
10049
10049
  Object.defineProperty(exports, "__esModule", { value: true });
10050
10050
  var code_1 = require_code2();
@@ -10059,9 +10059,9 @@ var require_anyOf = __commonJS({
10059
10059
  }
10060
10060
  });
10061
10061
 
10062
- // node_modules/ajv/dist/vocabularies/applicator/oneOf.js
10062
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
10063
10063
  var require_oneOf = __commonJS({
10064
- "node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
10064
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
10065
10065
  "use strict";
10066
10066
  Object.defineProperty(exports, "__esModule", { value: true });
10067
10067
  var codegen_1 = require_codegen();
@@ -10117,9 +10117,9 @@ var require_oneOf = __commonJS({
10117
10117
  }
10118
10118
  });
10119
10119
 
10120
- // node_modules/ajv/dist/vocabularies/applicator/allOf.js
10120
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/allOf.js
10121
10121
  var require_allOf = __commonJS({
10122
- "node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
10122
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
10123
10123
  "use strict";
10124
10124
  Object.defineProperty(exports, "__esModule", { value: true });
10125
10125
  var util_1 = require_util();
@@ -10144,9 +10144,9 @@ var require_allOf = __commonJS({
10144
10144
  }
10145
10145
  });
10146
10146
 
10147
- // node_modules/ajv/dist/vocabularies/applicator/if.js
10147
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/if.js
10148
10148
  var require_if = __commonJS({
10149
- "node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
10149
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
10150
10150
  "use strict";
10151
10151
  Object.defineProperty(exports, "__esModule", { value: true });
10152
10152
  var codegen_1 = require_codegen();
@@ -10213,9 +10213,9 @@ var require_if = __commonJS({
10213
10213
  }
10214
10214
  });
10215
10215
 
10216
- // node_modules/ajv/dist/vocabularies/applicator/thenElse.js
10216
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
10217
10217
  var require_thenElse = __commonJS({
10218
- "node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
10218
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
10219
10219
  "use strict";
10220
10220
  Object.defineProperty(exports, "__esModule", { value: true });
10221
10221
  var util_1 = require_util();
@@ -10231,9 +10231,9 @@ var require_thenElse = __commonJS({
10231
10231
  }
10232
10232
  });
10233
10233
 
10234
- // node_modules/ajv/dist/vocabularies/applicator/index.js
10234
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/index.js
10235
10235
  var require_applicator = __commonJS({
10236
- "node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
10236
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
10237
10237
  "use strict";
10238
10238
  Object.defineProperty(exports, "__esModule", { value: true });
10239
10239
  var additionalItems_1 = require_additionalItems();
@@ -10279,9 +10279,9 @@ var require_applicator = __commonJS({
10279
10279
  }
10280
10280
  });
10281
10281
 
10282
- // node_modules/ajv/dist/vocabularies/format/format.js
10282
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/format/format.js
10283
10283
  var require_format = __commonJS({
10284
- "node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
10284
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
10285
10285
  "use strict";
10286
10286
  Object.defineProperty(exports, "__esModule", { value: true });
10287
10287
  var codegen_1 = require_codegen();
@@ -10369,9 +10369,9 @@ var require_format = __commonJS({
10369
10369
  }
10370
10370
  });
10371
10371
 
10372
- // node_modules/ajv/dist/vocabularies/format/index.js
10372
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/format/index.js
10373
10373
  var require_format2 = __commonJS({
10374
- "node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
10374
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
10375
10375
  "use strict";
10376
10376
  Object.defineProperty(exports, "__esModule", { value: true });
10377
10377
  var format_1 = require_format();
@@ -10380,9 +10380,9 @@ var require_format2 = __commonJS({
10380
10380
  }
10381
10381
  });
10382
10382
 
10383
- // node_modules/ajv/dist/vocabularies/metadata.js
10383
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/metadata.js
10384
10384
  var require_metadata = __commonJS({
10385
- "node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
10385
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
10386
10386
  "use strict";
10387
10387
  Object.defineProperty(exports, "__esModule", { value: true });
10388
10388
  exports.contentVocabulary = exports.metadataVocabulary = void 0;
@@ -10403,9 +10403,9 @@ var require_metadata = __commonJS({
10403
10403
  }
10404
10404
  });
10405
10405
 
10406
- // node_modules/ajv/dist/vocabularies/draft7.js
10406
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/draft7.js
10407
10407
  var require_draft7 = __commonJS({
10408
- "node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
10408
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
10409
10409
  "use strict";
10410
10410
  Object.defineProperty(exports, "__esModule", { value: true });
10411
10411
  var core_1 = require_core2();
@@ -10425,9 +10425,9 @@ var require_draft7 = __commonJS({
10425
10425
  }
10426
10426
  });
10427
10427
 
10428
- // node_modules/ajv/dist/vocabularies/discriminator/types.js
10428
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/discriminator/types.js
10429
10429
  var require_types = __commonJS({
10430
- "node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
10430
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
10431
10431
  "use strict";
10432
10432
  Object.defineProperty(exports, "__esModule", { value: true });
10433
10433
  exports.DiscrError = void 0;
@@ -10439,9 +10439,9 @@ var require_types = __commonJS({
10439
10439
  }
10440
10440
  });
10441
10441
 
10442
- // node_modules/ajv/dist/vocabularies/discriminator/index.js
10442
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/discriminator/index.js
10443
10443
  var require_discriminator = __commonJS({
10444
- "node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
10444
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
10445
10445
  "use strict";
10446
10446
  Object.defineProperty(exports, "__esModule", { value: true });
10447
10447
  var codegen_1 = require_codegen();
@@ -10544,9 +10544,9 @@ var require_discriminator = __commonJS({
10544
10544
  }
10545
10545
  });
10546
10546
 
10547
- // node_modules/ajv/dist/refs/json-schema-draft-07.json
10547
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-draft-07.json
10548
10548
  var require_json_schema_draft_07 = __commonJS({
10549
- "node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
10549
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
10550
10550
  module.exports = {
10551
10551
  $schema: "http://json-schema.org/draft-07/schema#",
10552
10552
  $id: "http://json-schema.org/draft-07/schema#",
@@ -10701,9 +10701,9 @@ var require_json_schema_draft_07 = __commonJS({
10701
10701
  }
10702
10702
  });
10703
10703
 
10704
- // node_modules/ajv/dist/ajv.js
10704
+ // ../peerband-cli/node_modules/ajv/dist/ajv.js
10705
10705
  var require_ajv = __commonJS({
10706
- "node_modules/ajv/dist/ajv.js"(exports, module) {
10706
+ "../peerband-cli/node_modules/ajv/dist/ajv.js"(exports, module) {
10707
10707
  "use strict";
10708
10708
  Object.defineProperty(exports, "__esModule", { value: true });
10709
10709
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
@@ -10771,9 +10771,9 @@ var require_ajv = __commonJS({
10771
10771
  }
10772
10772
  });
10773
10773
 
10774
- // node_modules/ajv-formats/dist/limit.js
10774
+ // ../peerband-cli/node_modules/ajv-formats/dist/limit.js
10775
10775
  var require_limit = __commonJS({
10776
- "node_modules/ajv-formats/dist/limit.js"(exports) {
10776
+ "../peerband-cli/node_modules/ajv-formats/dist/limit.js"(exports) {
10777
10777
  "use strict";
10778
10778
  Object.defineProperty(exports, "__esModule", { value: true });
10779
10779
  exports.formatLimitDefinition = void 0;
@@ -10843,9 +10843,9 @@ var require_limit = __commonJS({
10843
10843
  }
10844
10844
  });
10845
10845
 
10846
- // node_modules/ajv-formats/dist/index.js
10846
+ // ../peerband-cli/node_modules/ajv-formats/dist/index.js
10847
10847
  var require_dist = __commonJS({
10848
- "node_modules/ajv-formats/dist/index.js"(exports, module) {
10848
+ "../peerband-cli/node_modules/ajv-formats/dist/index.js"(exports, module) {
10849
10849
  "use strict";
10850
10850
  Object.defineProperty(exports, "__esModule", { value: true });
10851
10851
  var formats_1 = require_formats();
@@ -10885,9 +10885,9 @@ var require_dist = __commonJS({
10885
10885
  }
10886
10886
  });
10887
10887
 
10888
- // node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
10888
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
10889
10889
  var require_dynamicAnchor = __commonJS({
10890
- "node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports) {
10890
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports) {
10891
10891
  "use strict";
10892
10892
  Object.defineProperty(exports, "__esModule", { value: true });
10893
10893
  exports.dynamicAnchor = void 0;
@@ -10920,9 +10920,9 @@ var require_dynamicAnchor = __commonJS({
10920
10920
  }
10921
10921
  });
10922
10922
 
10923
- // node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
10923
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
10924
10924
  var require_dynamicRef = __commonJS({
10925
- "node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports) {
10925
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports) {
10926
10926
  "use strict";
10927
10927
  Object.defineProperty(exports, "__esModule", { value: true });
10928
10928
  exports.dynamicRef = void 0;
@@ -10966,9 +10966,9 @@ var require_dynamicRef = __commonJS({
10966
10966
  }
10967
10967
  });
10968
10968
 
10969
- // node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
10969
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
10970
10970
  var require_recursiveAnchor = __commonJS({
10971
- "node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports) {
10971
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports) {
10972
10972
  "use strict";
10973
10973
  Object.defineProperty(exports, "__esModule", { value: true });
10974
10974
  var dynamicAnchor_1 = require_dynamicAnchor();
@@ -10987,9 +10987,9 @@ var require_recursiveAnchor = __commonJS({
10987
10987
  }
10988
10988
  });
10989
10989
 
10990
- // node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
10990
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
10991
10991
  var require_recursiveRef = __commonJS({
10992
- "node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports) {
10992
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports) {
10993
10993
  "use strict";
10994
10994
  Object.defineProperty(exports, "__esModule", { value: true });
10995
10995
  var dynamicRef_1 = require_dynamicRef();
@@ -11002,9 +11002,9 @@ var require_recursiveRef = __commonJS({
11002
11002
  }
11003
11003
  });
11004
11004
 
11005
- // node_modules/ajv/dist/vocabularies/dynamic/index.js
11005
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/index.js
11006
11006
  var require_dynamic = __commonJS({
11007
- "node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports) {
11007
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports) {
11008
11008
  "use strict";
11009
11009
  Object.defineProperty(exports, "__esModule", { value: true });
11010
11010
  var dynamicAnchor_1 = require_dynamicAnchor();
@@ -11016,9 +11016,9 @@ var require_dynamic = __commonJS({
11016
11016
  }
11017
11017
  });
11018
11018
 
11019
- // node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
11019
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
11020
11020
  var require_dependentRequired = __commonJS({
11021
- "node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports) {
11021
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports) {
11022
11022
  "use strict";
11023
11023
  Object.defineProperty(exports, "__esModule", { value: true });
11024
11024
  var dependencies_1 = require_dependencies();
@@ -11033,9 +11033,9 @@ var require_dependentRequired = __commonJS({
11033
11033
  }
11034
11034
  });
11035
11035
 
11036
- // node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
11036
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
11037
11037
  var require_dependentSchemas = __commonJS({
11038
- "node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports) {
11038
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports) {
11039
11039
  "use strict";
11040
11040
  Object.defineProperty(exports, "__esModule", { value: true });
11041
11041
  var dependencies_1 = require_dependencies();
@@ -11049,9 +11049,9 @@ var require_dependentSchemas = __commonJS({
11049
11049
  }
11050
11050
  });
11051
11051
 
11052
- // node_modules/ajv/dist/vocabularies/validation/limitContains.js
11052
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitContains.js
11053
11053
  var require_limitContains = __commonJS({
11054
- "node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports) {
11054
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports) {
11055
11055
  "use strict";
11056
11056
  Object.defineProperty(exports, "__esModule", { value: true });
11057
11057
  var util_1 = require_util();
@@ -11069,9 +11069,9 @@ var require_limitContains = __commonJS({
11069
11069
  }
11070
11070
  });
11071
11071
 
11072
- // node_modules/ajv/dist/vocabularies/next.js
11072
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/next.js
11073
11073
  var require_next = __commonJS({
11074
- "node_modules/ajv/dist/vocabularies/next.js"(exports) {
11074
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/next.js"(exports) {
11075
11075
  "use strict";
11076
11076
  Object.defineProperty(exports, "__esModule", { value: true });
11077
11077
  var dependentRequired_1 = require_dependentRequired();
@@ -11082,9 +11082,9 @@ var require_next = __commonJS({
11082
11082
  }
11083
11083
  });
11084
11084
 
11085
- // node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
11085
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
11086
11086
  var require_unevaluatedProperties = __commonJS({
11087
- "node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports) {
11087
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports) {
11088
11088
  "use strict";
11089
11089
  Object.defineProperty(exports, "__esModule", { value: true });
11090
11090
  var codegen_1 = require_codegen();
@@ -11148,9 +11148,9 @@ var require_unevaluatedProperties = __commonJS({
11148
11148
  }
11149
11149
  });
11150
11150
 
11151
- // node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
11151
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
11152
11152
  var require_unevaluatedItems = __commonJS({
11153
- "node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports) {
11153
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports) {
11154
11154
  "use strict";
11155
11155
  Object.defineProperty(exports, "__esModule", { value: true });
11156
11156
  var codegen_1 = require_codegen();
@@ -11192,9 +11192,9 @@ var require_unevaluatedItems = __commonJS({
11192
11192
  }
11193
11193
  });
11194
11194
 
11195
- // node_modules/ajv/dist/vocabularies/unevaluated/index.js
11195
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/unevaluated/index.js
11196
11196
  var require_unevaluated = __commonJS({
11197
- "node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports) {
11197
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports) {
11198
11198
  "use strict";
11199
11199
  Object.defineProperty(exports, "__esModule", { value: true });
11200
11200
  var unevaluatedProperties_1 = require_unevaluatedProperties();
@@ -11204,9 +11204,9 @@ var require_unevaluated = __commonJS({
11204
11204
  }
11205
11205
  });
11206
11206
 
11207
- // node_modules/ajv/dist/vocabularies/draft2020.js
11207
+ // ../peerband-cli/node_modules/ajv/dist/vocabularies/draft2020.js
11208
11208
  var require_draft2020 = __commonJS({
11209
- "node_modules/ajv/dist/vocabularies/draft2020.js"(exports) {
11209
+ "../peerband-cli/node_modules/ajv/dist/vocabularies/draft2020.js"(exports) {
11210
11210
  "use strict";
11211
11211
  Object.defineProperty(exports, "__esModule", { value: true });
11212
11212
  var core_1 = require_core2();
@@ -11232,9 +11232,9 @@ var require_draft2020 = __commonJS({
11232
11232
  }
11233
11233
  });
11234
11234
 
11235
- // node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
11235
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
11236
11236
  var require_schema = __commonJS({
11237
- "node_modules/ajv/dist/refs/json-schema-2020-12/schema.json"(exports, module) {
11237
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json"(exports, module) {
11238
11238
  module.exports = {
11239
11239
  $schema: "https://json-schema.org/draft/2020-12/schema",
11240
11240
  $id: "https://json-schema.org/draft/2020-12/schema",
@@ -11292,9 +11292,9 @@ var require_schema = __commonJS({
11292
11292
  }
11293
11293
  });
11294
11294
 
11295
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
11295
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
11296
11296
  var require_applicator2 = __commonJS({
11297
- "node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json"(exports, module) {
11297
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json"(exports, module) {
11298
11298
  module.exports = {
11299
11299
  $schema: "https://json-schema.org/draft/2020-12/schema",
11300
11300
  $id: "https://json-schema.org/draft/2020-12/meta/applicator",
@@ -11345,9 +11345,9 @@ var require_applicator2 = __commonJS({
11345
11345
  }
11346
11346
  });
11347
11347
 
11348
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
11348
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
11349
11349
  var require_unevaluated2 = __commonJS({
11350
- "node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json"(exports, module) {
11350
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json"(exports, module) {
11351
11351
  module.exports = {
11352
11352
  $schema: "https://json-schema.org/draft/2020-12/schema",
11353
11353
  $id: "https://json-schema.org/draft/2020-12/meta/unevaluated",
@@ -11365,9 +11365,9 @@ var require_unevaluated2 = __commonJS({
11365
11365
  }
11366
11366
  });
11367
11367
 
11368
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
11368
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
11369
11369
  var require_content = __commonJS({
11370
- "node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json"(exports, module) {
11370
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json"(exports, module) {
11371
11371
  module.exports = {
11372
11372
  $schema: "https://json-schema.org/draft/2020-12/schema",
11373
11373
  $id: "https://json-schema.org/draft/2020-12/meta/content",
@@ -11386,9 +11386,9 @@ var require_content = __commonJS({
11386
11386
  }
11387
11387
  });
11388
11388
 
11389
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
11389
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
11390
11390
  var require_core3 = __commonJS({
11391
- "node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json"(exports, module) {
11391
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json"(exports, module) {
11392
11392
  module.exports = {
11393
11393
  $schema: "https://json-schema.org/draft/2020-12/schema",
11394
11394
  $id: "https://json-schema.org/draft/2020-12/meta/core",
@@ -11442,9 +11442,9 @@ var require_core3 = __commonJS({
11442
11442
  }
11443
11443
  });
11444
11444
 
11445
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
11445
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
11446
11446
  var require_format_annotation = __commonJS({
11447
- "node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json"(exports, module) {
11447
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json"(exports, module) {
11448
11448
  module.exports = {
11449
11449
  $schema: "https://json-schema.org/draft/2020-12/schema",
11450
11450
  $id: "https://json-schema.org/draft/2020-12/meta/format-annotation",
@@ -11461,9 +11461,9 @@ var require_format_annotation = __commonJS({
11461
11461
  }
11462
11462
  });
11463
11463
 
11464
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
11464
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
11465
11465
  var require_meta_data = __commonJS({
11466
- "node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json"(exports, module) {
11466
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json"(exports, module) {
11467
11467
  module.exports = {
11468
11468
  $schema: "https://json-schema.org/draft/2020-12/schema",
11469
11469
  $id: "https://json-schema.org/draft/2020-12/meta/meta-data",
@@ -11502,9 +11502,9 @@ var require_meta_data = __commonJS({
11502
11502
  }
11503
11503
  });
11504
11504
 
11505
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
11505
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
11506
11506
  var require_validation3 = __commonJS({
11507
- "node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json"(exports, module) {
11507
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json"(exports, module) {
11508
11508
  module.exports = {
11509
11509
  $schema: "https://json-schema.org/draft/2020-12/schema",
11510
11510
  $id: "https://json-schema.org/draft/2020-12/meta/validation",
@@ -11597,9 +11597,9 @@ var require_validation3 = __commonJS({
11597
11597
  }
11598
11598
  });
11599
11599
 
11600
- // node_modules/ajv/dist/refs/json-schema-2020-12/index.js
11600
+ // ../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/index.js
11601
11601
  var require_json_schema_2020_12 = __commonJS({
11602
- "node_modules/ajv/dist/refs/json-schema-2020-12/index.js"(exports) {
11602
+ "../peerband-cli/node_modules/ajv/dist/refs/json-schema-2020-12/index.js"(exports) {
11603
11603
  "use strict";
11604
11604
  Object.defineProperty(exports, "__esModule", { value: true });
11605
11605
  var metaSchema = require_schema();
@@ -11608,7 +11608,7 @@ var require_json_schema_2020_12 = __commonJS({
11608
11608
  var content = require_content();
11609
11609
  var core = require_core3();
11610
11610
  var format = require_format_annotation();
11611
- var metadata = require_meta_data();
11611
+ var metadata2 = require_meta_data();
11612
11612
  var validation = require_validation3();
11613
11613
  var META_SUPPORT_DATA = ["/properties"];
11614
11614
  function addMetaSchema2020($data) {
@@ -11620,7 +11620,7 @@ var require_json_schema_2020_12 = __commonJS({
11620
11620
  content,
11621
11621
  core,
11622
11622
  with$data(this, format),
11623
- metadata,
11623
+ metadata2,
11624
11624
  with$data(this, validation)
11625
11625
  ].forEach((sch) => this.addMetaSchema(sch, void 0, false));
11626
11626
  return this;
@@ -11632,9 +11632,9 @@ var require_json_schema_2020_12 = __commonJS({
11632
11632
  }
11633
11633
  });
11634
11634
 
11635
- // node_modules/ajv/dist/2020.js
11635
+ // ../peerband-cli/node_modules/ajv/dist/2020.js
11636
11636
  var require__ = __commonJS({
11637
- "node_modules/ajv/dist/2020.js"(exports, module) {
11637
+ "../peerband-cli/node_modules/ajv/dist/2020.js"(exports, module) {
11638
11638
  "use strict";
11639
11639
  Object.defineProperty(exports, "__esModule", { value: true });
11640
11640
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv2020 = void 0;
@@ -11709,6 +11709,68 @@ var require__ = __commonJS({
11709
11709
  }
11710
11710
  });
11711
11711
 
11712
+ // src/core/environment.ts
11713
+ var ENVIRONMENT_ACTIONS = [
11714
+ "workspace.create",
11715
+ "workspace.rename",
11716
+ "workspace.focus",
11717
+ "tab.create",
11718
+ "tab.rename",
11719
+ "tab.focus",
11720
+ "pane.split",
11721
+ "pane.rename",
11722
+ "pane.focus",
11723
+ "agent.start",
11724
+ "agent.rename"
11725
+ ];
11726
+ var FIELDS = {
11727
+ "workspace.create": ["cwd", "label"],
11728
+ "workspace.rename": ["workspaceId", "label"],
11729
+ "workspace.focus": ["workspaceId"],
11730
+ "tab.create": ["workspaceId", "cwd", "label"],
11731
+ "tab.rename": ["tabId", "label"],
11732
+ "tab.focus": ["tabId"],
11733
+ "pane.split": ["paneId", "direction", "cwd"],
11734
+ "pane.rename": ["paneId", "label"],
11735
+ "pane.focus": ["paneId"],
11736
+ "agent.start": ["paneId", "name", "kind"],
11737
+ "agent.rename": ["paneId", "name"]
11738
+ };
11739
+ var REQUIRED = {
11740
+ "workspace.create": ["cwd"],
11741
+ "workspace.rename": ["workspaceId", "label"],
11742
+ "workspace.focus": ["workspaceId"],
11743
+ "tab.create": ["workspaceId", "cwd"],
11744
+ "tab.rename": ["tabId", "label"],
11745
+ "tab.focus": ["tabId"],
11746
+ "pane.split": ["paneId", "direction", "cwd"],
11747
+ "pane.rename": ["paneId", "label"],
11748
+ "pane.focus": ["paneId"],
11749
+ "agent.start": ["paneId", "name", "kind"],
11750
+ "agent.rename": ["paneId", "name"]
11751
+ };
11752
+ var KINDS = new Set("pi claude codex gemini cursor devin agy cline omp mastracode opencode copilot kimi kiro droid amp grok hermes kilo qodercli qwen letta maki muse".split(" "));
11753
+ function invalid(message) {
11754
+ throw new ConnectError("invalid_argument", message, "Use an action and explicit IDs from list_environment; no shell commands or native agent arguments are accepted.");
11755
+ }
11756
+ function environmentCommand(args) {
11757
+ const action = args.action;
11758
+ if (!ENVIRONMENT_ACTIONS.includes(action)) invalid("Unsupported environment action.");
11759
+ for (const key of Object.keys(args)) {
11760
+ if (key !== "action" && !FIELDS[action].includes(key)) invalid(`Unexpected argument: ${key}.`);
11761
+ const value = args[key];
11762
+ const max = key === "cwd" ? 2048 : key === "label" ? 128 : 256;
11763
+ if (typeof value !== "string" || !value.trim() || value.length > max || /[\u0000-\u001f\u007f-\u009f]/.test(value)) invalid(`Invalid ${key}.`);
11764
+ if (key.endsWith("Id") && !/^[A-Za-z0-9][A-Za-z0-9:_-]{0,255}$/.test(value)) invalid(`Invalid ${key}.`);
11765
+ }
11766
+ for (const key of REQUIRED[action]) if (args[key] === void 0) invalid(`${key} is required.`);
11767
+ if (args.cwd !== void 0 && !/^(?:\/|[A-Za-z]:[\\/]|\\\\)/.test(args.cwd)) invalid("cwd must be an absolute path on the remote machine.");
11768
+ if (args.direction !== void 0 && !["right", "down", "left", "up"].includes(args.direction)) invalid("Invalid split direction.");
11769
+ if (args.name !== void 0 && !/^[a-z][a-z0-9_-]{0,31}$/.test(args.name)) invalid("Invalid agent name.");
11770
+ if (args.kind !== void 0 && !KINDS.has(args.kind)) invalid("Unsupported agent kind.");
11771
+ return Object.fromEntries(["action", ...FIELDS[action]].filter((key) => args[key] !== void 0).map((key) => [key, args[key]]));
11772
+ }
11773
+
11712
11774
  // src/core/core.ts
11713
11775
  import { createHash, randomUUID } from "node:crypto";
11714
11776
  import { mkdir, readFile, rename, rm, rmdir, unlink, writeFile } from "node:fs/promises";
@@ -11902,6 +11964,7 @@ var ConnectorCore = class {
11902
11964
  constructor(adapter, options = {}) {
11903
11965
  this.adapter = adapter;
11904
11966
  this.writesEnabled = options.writesEnabled ?? false;
11967
+ this.environmentControlEnabled = options.environmentControlEnabled ?? false;
11905
11968
  this.labelMessages = options.labelMessages ?? false;
11906
11969
  this.allowedAgents = options.allowedAgents ? new Set(options.allowedAgents) : void 0;
11907
11970
  this.allowedWorkspaces = options.allowedWorkspaces ? new Set(options.allowedWorkspaces) : void 0;
@@ -11919,6 +11982,7 @@ var ConnectorCore = class {
11919
11982
  receipts = /* @__PURE__ */ new Map();
11920
11983
  idempotency = /* @__PURE__ */ new Map();
11921
11984
  writesEnabled;
11985
+ environmentControlEnabled;
11922
11986
  labelMessages;
11923
11987
  allowedAgents;
11924
11988
  allowedWorkspaces;
@@ -11949,6 +12013,12 @@ var ConnectorCore = class {
11949
12013
  this.validatePrincipal(principal);
11950
12014
  if (!isRecord(args)) throw new ConnectError("invalid_argument", "Tool arguments must be an object.", "Check the tool input and try again.");
11951
12015
  switch (tool) {
12016
+ case "list_environment":
12017
+ assertKeys(args, []);
12018
+ this.authorizeEnvironment(principal);
12019
+ return await this.adapter.listEnvironment();
12020
+ case "control_environment":
12021
+ return await this.controlEnvironment(args, principal);
11952
12022
  case "list_agents":
11953
12023
  return await this.listAgents(args, principal);
11954
12024
  case "get_agent_status":
@@ -12103,6 +12173,71 @@ var ConnectorCore = class {
12103
12173
  return this.publicReceipt(receipt);
12104
12174
  });
12105
12175
  }
12176
+ authorizeEnvironment(principal) {
12177
+ this.requireScope(principal, "environment:control");
12178
+ if (principal.role !== "owner") throw new ConnectError("forbidden", "Environment controls are owner-only.", "Use the account that owns this machine.");
12179
+ if (!this.environmentControlEnabled || !this.writesEnabled) throw new ConnectError("write_disabled", "Environment control is disabled on this machine.", 'Set "enableEnvironmentControl": true in connector.json and restart the relay without --read-only.');
12180
+ if (this.allowedAgents || this.allowedWorkspaces) throw new ConnectError("forbidden", "Environment control is unavailable with agent or workspace allowlists.", "Use a dedicated unrestricted connector after reviewing its environment-control permission.");
12181
+ if (!this.adapter.listEnvironment || !this.adapter.controlEnvironment) throw new ConnectError("unsupported_capability", "This runtime does not support environment control.", "Use a compatible Herdr runtime.");
12182
+ }
12183
+ async controlEnvironment(args, principal) {
12184
+ this.authorizeEnvironment(principal);
12185
+ const { idempotencyKey: key, ...input } = args;
12186
+ const command = environmentCommand(input);
12187
+ if (typeof key !== "string" || key.length < 16 || key.length > 256) throw new ConnectError("invalid_argument", "idempotencyKey must be 16 to 256 characters.", "Provide a random key and reuse it only for the same operation.");
12188
+ const principalHash = hash(principal.id);
12189
+ const payloadHash = hash(canonical(command));
12190
+ const requestKeyHash = hash(canonical([principalHash, "control_environment", key]));
12191
+ return this.withSubmissionLock(requestKeyHash, async () => {
12192
+ const prior = this.idempotency.get(requestKeyHash);
12193
+ if (prior) {
12194
+ if (prior.payloadHash !== payloadHash) throw new ConnectError("idempotency_conflict", "This key was used for a different operation.", "Use a new key for a new operation.");
12195
+ return this.publicReceipt(prior);
12196
+ }
12197
+ this.pruneReceipts();
12198
+ if (this.receipts.size >= MAX_RECEIPTS) throw new ConnectError("receipt_limit", "The receipt store is full.", "Wait for old receipts to expire.");
12199
+ const now = Date.now();
12200
+ const receipt = {
12201
+ requestId: randomUUID(),
12202
+ principalHash,
12203
+ machineId: "local-environment",
12204
+ targetId: command.paneId ?? command.tabId ?? command.workspaceId ?? "new-workspace",
12205
+ workspace: "",
12206
+ tool: "control_environment",
12207
+ idempotencyHash: requestKeyHash,
12208
+ requestKeyHash,
12209
+ payloadHash,
12210
+ state: "queued",
12211
+ createdAt: now,
12212
+ updatedAt: now
12213
+ };
12214
+ this.receipts.set(receipt.requestId, receipt);
12215
+ this.idempotency.set(requestKeyHash, receipt);
12216
+ try {
12217
+ await this.persist();
12218
+ } catch {
12219
+ this.receipts.delete(receipt.requestId);
12220
+ this.idempotency.delete(requestKeyHash);
12221
+ throw new ConnectError("receipt_store_unavailable", "Could not save the receipt; nothing was dispatched.", "Check local storage access.");
12222
+ }
12223
+ const job = (async () => {
12224
+ receipt.state = "dispatching";
12225
+ try {
12226
+ await this.persist();
12227
+ receipt.result = await this.adapter.controlEnvironment(command);
12228
+ receipt.state = "delivered";
12229
+ } catch (error) {
12230
+ receipt.state = "delivery_unknown";
12231
+ receipt.errorCode = error instanceof ConnectError && SAFE_RECEIPT_ERRORS.has(error.code) ? error.code : "runtime_unavailable";
12232
+ }
12233
+ receipt.updatedAt = Date.now();
12234
+ await this.persist();
12235
+ })().catch(() => void 0);
12236
+ this.inFlight.add(job);
12237
+ void job.finally(() => this.inFlight.delete(job));
12238
+ return this.publicReceipt(receipt);
12239
+ });
12240
+ }
12106
12241
  async withSubmissionLock(key, action) {
12107
12242
  const previous = this.submissionLocks.get(key) ?? Promise.resolve();
12108
12243
  let release;
@@ -12139,15 +12274,17 @@ var ConnectorCore = class {
12139
12274
  }
12140
12275
  async getRequestStatus(args, principal) {
12141
12276
  assertKeys(args, ["requestId"]);
12142
- this.requireScope(principal, "agents:read");
12277
+ if (!principal.scopes.includes("environment:control")) this.requireScope(principal, "agents:read");
12143
12278
  if (typeof args.requestId !== "string" || args.requestId.length > 256) throw new ConnectError("invalid_argument", "requestId is required.", "Use the request ID returned by send_agent_message.");
12144
12279
  this.pruneReceipts();
12145
12280
  const receipt = this.receipts.get(args.requestId);
12146
12281
  if (!receipt || receipt.principalHash !== hash(principal.id)) throw new ConnectError("request_not_found", "No request receipt is available for this caller.", "Check the request ID or submit a new authorized request.");
12282
+ if (receipt.tool === "control_environment") this.authorizeEnvironment(principal);
12283
+ else this.requireScope(principal, "agents:read");
12147
12284
  return this.publicReceipt(receipt);
12148
12285
  }
12149
12286
  publicReceipt(receipt) {
12150
- return { requestId: receipt.requestId, state: receipt.state, createdAt: new Date(receipt.createdAt).toISOString(), updatedAt: new Date(receipt.updatedAt).toISOString(), ...receipt.errorCode ? { errorCode: receipt.errorCode } : {} };
12287
+ return { ...receipt.result ? { result: receipt.result } : {}, requestId: receipt.requestId, state: receipt.state, createdAt: new Date(receipt.createdAt).toISOString(), updatedAt: new Date(receipt.updatedAt).toISOString(), ...receipt.errorCode ? { errorCode: receipt.errorCode } : {} };
12151
12288
  }
12152
12289
  pruneReceipts() {
12153
12290
  const cutoff = Date.now() - this.retentionMs;
@@ -12268,9 +12405,9 @@ var ConnectorCore = class {
12268
12405
  }
12269
12406
  isValidReceipt(value) {
12270
12407
  if (!isRecord(value)) return false;
12271
- const receiptKeys = ["requestId", "principalHash", "machineId", "targetId", "workspace", "tool", "idempotencyHash", "requestKeyHash", "payloadHash", "state", "createdAt", "updatedAt", "errorCode"];
12408
+ const receiptKeys = ["requestId", "principalHash", "machineId", "targetId", "workspace", "tool", "idempotencyHash", "requestKeyHash", "payloadHash", "state", "createdAt", "updatedAt", "errorCode", "result"];
12272
12409
  if (Object.keys(value).some((key) => !receiptKeys.includes(key))) return false;
12273
- return typeof value.requestId === "string" && value.requestId.length > 0 && value.requestId.length <= 256 && typeof value.principalHash === "string" && HASH_PATTERN.test(value.principalHash) && typeof value.machineId === "string" && value.machineId.length > 0 && value.machineId.length <= 512 && typeof value.targetId === "string" && value.targetId.length > 0 && value.targetId.length <= 256 && typeof value.workspace === "string" && value.workspace.length <= 2048 && value.tool === "send_agent_message" && typeof value.idempotencyHash === "string" && HASH_PATTERN.test(value.idempotencyHash) && typeof value.requestKeyHash === "string" && HASH_PATTERN.test(value.requestKeyHash) && typeof value.payloadHash === "string" && HASH_PATTERN.test(value.payloadHash) && typeof value.state === "string" && RECEIPT_STATES.includes(value.state) && Number.isSafeInteger(value.createdAt) && Number.isSafeInteger(value.updatedAt) && value.updatedAt >= value.createdAt && (value.errorCode === void 0 || typeof value.errorCode === "string" && SAFE_RECEIPT_ERRORS.has(value.errorCode));
12410
+ return typeof value.requestId === "string" && value.requestId.length > 0 && value.requestId.length <= 256 && typeof value.principalHash === "string" && HASH_PATTERN.test(value.principalHash) && typeof value.machineId === "string" && value.machineId.length > 0 && value.machineId.length <= 512 && typeof value.targetId === "string" && value.targetId.length > 0 && value.targetId.length <= 256 && typeof value.workspace === "string" && value.workspace.length <= 2048 && (value.tool === "send_agent_message" || value.tool === "control_environment") && (value.result === void 0 || isRecord(value.result) && JSON.stringify(value.result).length <= 16384) && typeof value.idempotencyHash === "string" && HASH_PATTERN.test(value.idempotencyHash) && typeof value.requestKeyHash === "string" && HASH_PATTERN.test(value.requestKeyHash) && typeof value.payloadHash === "string" && HASH_PATTERN.test(value.payloadHash) && typeof value.state === "string" && RECEIPT_STATES.includes(value.state) && Number.isSafeInteger(value.createdAt) && Number.isSafeInteger(value.updatedAt) && value.updatedAt >= value.createdAt && (value.errorCode === void 0 || typeof value.errorCode === "string" && SAFE_RECEIPT_ERRORS.has(value.errorCode));
12274
12411
  }
12275
12412
  persist() {
12276
12413
  if (!this.receiptPath) return Promise.resolve();
@@ -12430,7 +12567,7 @@ function stringList(record, key, where) {
12430
12567
  }
12431
12568
  function parseConnectorConfig(value, source = "connector config") {
12432
12569
  if (!isRecord2(value)) throw new ConfigError(`${source}: expected a JSON object.`);
12433
- rejectUnknown(value, ["allowedAgents", "allowedWorkspaces", "stateDirectory", "herdr", "enableWrites"], source);
12570
+ rejectUnknown(value, ["allowedAgents", "allowedWorkspaces", "stateDirectory", "herdr", "enableWrites", "enableEnvironmentControl"], source);
12434
12571
  const config = {};
12435
12572
  const agents = stringList(value, "allowedAgents", source);
12436
12573
  if (agents) config.allowedAgents = agents;
@@ -12442,6 +12579,10 @@ function parseConnectorConfig(value, source = "connector config") {
12442
12579
  if (typeof value.enableWrites !== "boolean") throw new ConfigError(`${source}.enableWrites must be true or false.`);
12443
12580
  config.enableWrites = value.enableWrites;
12444
12581
  }
12582
+ if (value.enableEnvironmentControl !== void 0) {
12583
+ if (typeof value.enableEnvironmentControl !== "boolean") throw new ConfigError(`${source}.enableEnvironmentControl must be a boolean.`);
12584
+ config.enableEnvironmentControl = value.enableEnvironmentControl;
12585
+ }
12445
12586
  if (value.herdr !== void 0) {
12446
12587
  const raw = value.herdr;
12447
12588
  if (!isRecord2(raw)) throw new ConfigError(`${source}.herdr must be an object.`);
@@ -12481,7 +12622,7 @@ async function loadConnectorConfig(path, options = {}) {
12481
12622
  // src/core/relay-client.ts
12482
12623
  import { isIP } from "node:net";
12483
12624
 
12484
- // node_modules/ws/wrapper.mjs
12625
+ // ../peerband-cli/node_modules/ws/wrapper.mjs
12485
12626
  var import_stream = __toESM(require_stream(), 1);
12486
12627
  var import_extension = __toESM(require_extension(), 1);
12487
12628
  var import_permessage_deflate = __toESM(require_permessage_deflate(), 1);
@@ -12589,7 +12730,7 @@ async function runRemoteClient(core, credentials, options = {}) {
12589
12730
  const socket = new wrapper_default(serverUrl, {
12590
12731
  headers: {
12591
12732
  Authorization: `Bearer ${credentials.credential}`,
12592
- ...options.events ? { "x-peerband-features": "events" } : {}
12733
+ "x-peerband-features": options.events ? "events,environment-control" : "environment-control"
12593
12734
  },
12594
12735
  maxPayload: MAX_FRAME,
12595
12736
  handshakeTimeout: 1e4,
@@ -12686,7 +12827,7 @@ async function runRemoteClient(core, credentials, options = {}) {
12686
12827
  return;
12687
12828
  }
12688
12829
  const pending = {
12689
- write: request.tool === "send_agent_message",
12830
+ write: request.tool === "send_agent_message" || request.tool === "control_environment",
12690
12831
  socket,
12691
12832
  startedAt: Date.now(),
12692
12833
  tool: request.tool,
@@ -14143,6 +14284,60 @@ var CONNECTOR_PATTERN2 = CONNECTOR_PATTERN;
14143
14284
  // src/cli/commands/connect.ts
14144
14285
  import { resolve as resolve3 } from "node:path";
14145
14286
 
14287
+ // src/runtime-herdr/environment.ts
14288
+ var FIELDS2 = ["workspace_id", "tab_id", "pane_id", "name", "label", "cwd", "agent", "agent_status", "type"];
14289
+ function metadata(value) {
14290
+ if (!value || typeof value !== "object" || Array.isArray(value)) return {};
14291
+ const row = value;
14292
+ const result = Object.fromEntries(FIELDS2.filter((key) => typeof row[key] === "string").map((key) => [key.replace(/_([a-z])/g, (_, c) => c.toUpperCase()), sanitizeOutput(row[key], { bytes: key === "cwd" ? 2048 : 256, lines: 1 }).text]));
14293
+ for (const key of ["number", "pane_count", "tab_count"]) if (Number.isSafeInteger(row[key]) && row[key] >= 0) result[key.replace(/_([a-z])/g, (_, c) => c.toUpperCase())] = row[key];
14294
+ if (typeof row.focused === "boolean") result.focused = row.focused;
14295
+ return result;
14296
+ }
14297
+ function environmentMetadata(value) {
14298
+ const row = value && typeof value === "object" ? value : {};
14299
+ const result = metadata(row);
14300
+ for (const key of ["workspace", "tab", "pane", "root_pane", "agent"]) {
14301
+ if (row[key] && typeof row[key] === "object") result[key.replace(/_([a-z])/g, (_, c) => c.toUpperCase())] = metadata(row[key]);
14302
+ }
14303
+ return result;
14304
+ }
14305
+ async function listEnvironment(client) {
14306
+ const result = { actions: [...ENVIRONMENT_ACTIONS] };
14307
+ for (const [method, key] of [["workspace.list", "workspaces"], ["tab.list", "tabs"], ["pane.list", "panes"]]) {
14308
+ const response = await client.request(method, {});
14309
+ if (!Array.isArray(response[key])) throw new ConnectError("schema_mismatch", `Unexpected ${method} response.`, "Check the installed Herdr schema.");
14310
+ let rows = response[key];
14311
+ if (key === "panes") {
14312
+ const listed = await client.request("agent.list", {});
14313
+ rows = rows.map((pane) => ({ ...pane, name: listed.agents?.find((agent) => agent.pane_id === pane.pane_id)?.name }));
14314
+ }
14315
+ result[key] = rows.slice(0, 50).map(metadata);
14316
+ result[`${key}Truncated`] = response[key].length > 50;
14317
+ }
14318
+ if (Buffer.byteLength(JSON.stringify(result), "utf8") > 48 * 1024) throw new ConnectError("response_too_large", "The environment metadata exceeds the frame budget.", "Reduce the session layout before listing it remotely.");
14319
+ return result;
14320
+ }
14321
+ function environmentParams(input) {
14322
+ const command = environmentCommand(input);
14323
+ const params = {};
14324
+ for (const [key, value] of Object.entries(command)) {
14325
+ if (key === "action") continue;
14326
+ params[key.replace(/[A-Z]/g, (c) => `_${c.toLowerCase()}`)] = value;
14327
+ }
14328
+ if (["workspace.create", "tab.create", "pane.split"].includes(command.action)) params.focus = false;
14329
+ if (command.action === "pane.split") {
14330
+ params.target_pane_id = params.pane_id;
14331
+ delete params.pane_id;
14332
+ }
14333
+ if (command.action === "agent.rename") {
14334
+ params.target = params.pane_id;
14335
+ delete params.pane_id;
14336
+ }
14337
+ if (command.action === "agent.start") params.timeout_ms = 8e3;
14338
+ return params;
14339
+ }
14340
+
14146
14341
  // src/runtime-herdr/adapter.ts
14147
14342
  import { createHash as createHash4, randomUUID as randomUUID7 } from "node:crypto";
14148
14343
  import { readFile as readFile7, stat as stat3 } from "node:fs/promises";
@@ -14874,6 +15069,21 @@ var HerdrAdapter = class {
14874
15069
  const result = asObject(await client.request("agent.prompt", { target, text: message }));
14875
15070
  if (result.type !== "agent_prompted") throw this.schemaMismatch("agent.prompt returned an unexpected result type");
14876
15071
  }
15072
+ async listEnvironment() {
15073
+ const { client } = await this.initialize();
15074
+ return listEnvironment(client);
15075
+ }
15076
+ async controlEnvironment(command) {
15077
+ const params = environmentParams(command);
15078
+ const { schema, client } = await this.initialize();
15079
+ const request = { id: randomUUID7(), method: command.action, params };
15080
+ if (!schema.validateRequest(request)) throw new ConnectError("unsupported_capability", "The installed Herdr API does not support this environment action.", "Update Herdr and use its matching schema.");
15081
+ const result = asObject(await client.request(command.action, params));
15082
+ const expected = command.action === "workspace.create" ? "workspace_created" : command.action === "tab.create" ? "tab_created" : command.action === "agent.start" ? "agent_started" : command.action === "agent.rename" ? "agent_info" : void 0;
15083
+ if (expected && result.type !== expected) throw this.schemaMismatch(`${command.action} returned an unexpected result type`);
15084
+ if (!expected && !["workspace_info", "tab_info", "pane_info", "ok"].includes(result.type)) throw this.schemaMismatch(`${command.action} returned an unexpected result type`);
15085
+ return environmentMetadata(result);
15086
+ }
14877
15087
  async close() {
14878
15088
  await this.bridge?.stop();
14879
15089
  const pending = await this.ready?.catch(() => void 0);
@@ -15060,6 +15270,7 @@ var spec2 = {
15060
15270
  description: 'Connects this machine to PeerBand and serves agent requests from your MCP clients until you press Ctrl+C. MCP clients may send messages to agents by default, but only after you approve the agents:message consent when you connect them; pass --read-only (or set "enableWrites": false in connector.json) to make this machine read-only. Activity lines show metadata only (tool, target, outcome, latency), never message or output content. Most people use `peerband relay` instead, which runs the connector inside Herdr.',
15061
15271
  options: [
15062
15272
  { name: "runtime", type: "string", valueName: "herdr|mock", description: 'Agent runtime. Default: $PEERBAND_RUNTIME or herdr. "mock" serves fake agents for testing.' },
15273
+ { name: "enable-environment-control", type: "boolean", description: "Allow owner-only Herdr environment tools with separate environment:control consent. Off by default; also enableEnvironmentControl in connector.json." },
15063
15274
  { name: "read-only", type: "boolean", description: 'Do not allow MCP clients to send messages to agents on this machine (also: "enableWrites": false in connector.json).' },
15064
15275
  { name: "enable-writes", type: "boolean", description: "Redundant: sending messages is allowed by default. Kept so old scripts keep working." },
15065
15276
  { name: "config", type: "string", valueName: "PATH", description: "Connector config file. Default: $PEERBAND_CONNECTOR_CONFIG or connector.json in the config directory (optional)." },
@@ -15077,6 +15288,7 @@ var spec2 = {
15077
15288
  runtime: str(parsed, "runtime"),
15078
15289
  enableWrites: flag(parsed, "enable-writes"),
15079
15290
  readOnly: flag(parsed, "read-only"),
15291
+ enableEnvironmentControl: flag(parsed, "enable-environment-control"),
15080
15292
  config: str(parsed, "config"),
15081
15293
  server: str(parsed, "server"),
15082
15294
  managed: flag(parsed, "managed")
@@ -15119,6 +15331,7 @@ async function connect(options, ctx) {
15119
15331
  const adapter = runtime === "mock" ? new MockRuntime() : new HerdrAdapter(config.herdr ?? {});
15120
15332
  const core = new ConnectorCore(adapter, {
15121
15333
  writesEnabled: enableWrites,
15334
+ environmentControlEnabled: options.enableEnvironmentControl || config.enableEnvironmentControl,
15122
15335
  labelMessages: true,
15123
15336
  allowedAgents: config.allowedAgents,
15124
15337
  allowedWorkspaces: config.allowedWorkspaces,
@@ -16905,7 +17118,7 @@ function herdrGroupHelp(s) {
16905
17118
  }
16906
17119
 
16907
17120
  // src/cli/cli.ts
16908
- var VERSION = true ? "0.2.2" : "0.0.0-dev";
17121
+ var VERSION = true ? "0.2.4" : "0.0.0-dev";
16909
17122
  function createContext(overrides = {}) {
16910
17123
  const env = overrides.env ?? process.env;
16911
17124
  const stdout = overrides.stdout ?? process.stdout;