opencode-swarm-plugin 0.63.1 → 0.63.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/claude-plugin/bin/swarm-mcp-server.cjs +1 -1
- package/claude-plugin/dist/index.js +32 -32
- package/claude-plugin/dist/mcp/swarm-mcp-server.cjs +1 -1
- package/dist/bin/swarm.js +42 -42
- package/dist/hive.js +0 -15
- package/dist/index.js +10 -10
- package/dist/marketplace/index.js +32 -32
- package/dist/mcp/swarm-mcp-server.cjs +1 -1
- package/dist/plugin.js +10 -10
- package/dist/swarm-prompts.js +1 -1
- package/package.json +3 -3
|
@@ -6291,7 +6291,7 @@ var require_formats = __commonJS((exports2) => {
|
|
|
6291
6291
|
}
|
|
6292
6292
|
var TIME = /^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;
|
|
6293
6293
|
function getTime(strictTimeZone) {
|
|
6294
|
-
return function
|
|
6294
|
+
return function time3(str) {
|
|
6295
6295
|
const matches = TIME.exec(str);
|
|
6296
6296
|
if (!matches)
|
|
6297
6297
|
return false;
|
|
@@ -14628,7 +14628,7 @@ function possiblyAsyncStringify(value) {
|
|
|
14628
14628
|
return { delay, cancel };
|
|
14629
14629
|
}
|
|
14630
14630
|
const unknownState = { state: "unknown", value: undefined };
|
|
14631
|
-
const getAsyncContent = function
|
|
14631
|
+
const getAsyncContent = function getAsyncContent2(data) {
|
|
14632
14632
|
const cacheKey = data;
|
|
14633
14633
|
if (cache.has(cacheKey)) {
|
|
14634
14634
|
return cache.get(cacheKey);
|
|
@@ -18097,13 +18097,13 @@ class CommandWrapper {
|
|
|
18097
18097
|
this.hasRan = false;
|
|
18098
18098
|
if (hasToStringMethod(cmd)) {
|
|
18099
18099
|
const method = cmd[toStringMethod];
|
|
18100
|
-
this[toStringMethod] = function
|
|
18100
|
+
this[toStringMethod] = function toStringMethod2() {
|
|
18101
18101
|
return method.call(cmd);
|
|
18102
18102
|
};
|
|
18103
18103
|
}
|
|
18104
18104
|
if (hasAsyncToStringMethod(cmd)) {
|
|
18105
18105
|
const method = cmd[asyncToStringMethod];
|
|
18106
|
-
this[asyncToStringMethod] = function
|
|
18106
|
+
this[asyncToStringMethod] = function asyncToStringMethod2() {
|
|
18107
18107
|
return method.call(cmd);
|
|
18108
18108
|
};
|
|
18109
18109
|
}
|
|
@@ -62583,7 +62583,7 @@ ${prefix}}`;
|
|
|
62583
62583
|
entry.expiresAt = clock3.unsafeCurrentTimeMillis() + toMillis(self2.idleTimeToLive);
|
|
62584
62584
|
if (entry.fiber)
|
|
62585
62585
|
return void_3;
|
|
62586
|
-
return interruptibleMask(function
|
|
62586
|
+
return interruptibleMask(function loop4(restore) {
|
|
62587
62587
|
const now3 = clock3.unsafeCurrentTimeMillis();
|
|
62588
62588
|
const remaining = entry.expiresAt - now3;
|
|
62589
62589
|
if (remaining <= 0) {
|
|
@@ -62592,7 +62592,7 @@ ${prefix}}`;
|
|
|
62592
62592
|
remove8(self2.state.map, key);
|
|
62593
62593
|
return restore(scopeClose(entry.scope, exitVoid));
|
|
62594
62594
|
}
|
|
62595
|
-
return flatMap12(clock3.sleep(millis(remaining)), () =>
|
|
62595
|
+
return flatMap12(clock3.sleep(millis(remaining)), () => loop4(restore));
|
|
62596
62596
|
}).pipe(ensuring2(sync(() => {
|
|
62597
62597
|
entry.fiber = undefined;
|
|
62598
62598
|
})), forkIn2(self2.scope), tap2((fiber) => {
|
|
@@ -108446,14 +108446,14 @@ ${stack.split(`
|
|
|
108446
108446
|
return interrupt2;
|
|
108447
108447
|
} else if (this.targetSize > this.activeSize) {
|
|
108448
108448
|
const self2 = this;
|
|
108449
|
-
return flatMap12(this.resizeSemaphore.withPermitsIfAvailable(1)(forkIn2(interruptible2(this.resize), this.scope)), function
|
|
108449
|
+
return flatMap12(this.resizeSemaphore.withPermitsIfAvailable(1)(forkIn2(interruptible2(this.resize), this.scope)), function loop4() {
|
|
108450
108450
|
if (self2.isShuttingDown) {
|
|
108451
108451
|
return interrupt2;
|
|
108452
108452
|
} else if (self2.available.size > 0) {
|
|
108453
108453
|
return succeed(unsafeHead(self2.available));
|
|
108454
108454
|
}
|
|
108455
108455
|
self2.availableLatch.unsafeClose();
|
|
108456
|
-
return flatMap12(self2.availableLatch.await,
|
|
108456
|
+
return flatMap12(self2.availableLatch.await, loop4);
|
|
108457
108457
|
});
|
|
108458
108458
|
}
|
|
108459
108459
|
return succeed(unsafeHead(this.available));
|
|
@@ -151655,7 +151655,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
151655
151655
|
3793,
|
|
151656
151656
|
7920
|
|
151657
151657
|
];
|
|
151658
|
-
var toUTF8Array = function
|
|
151658
|
+
var toUTF8Array = function toUTF8Array2(str2) {
|
|
151659
151659
|
var char2;
|
|
151660
151660
|
var i = 0;
|
|
151661
151661
|
var p = 0;
|
|
@@ -151682,7 +151682,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
151682
151682
|
}
|
|
151683
151683
|
return utf8;
|
|
151684
151684
|
};
|
|
151685
|
-
var generate = module.exports = function
|
|
151685
|
+
var generate = module.exports = function generate2(str2) {
|
|
151686
151686
|
var char2;
|
|
151687
151687
|
var i = 0;
|
|
151688
151688
|
var start5 = -1;
|
|
@@ -154749,10 +154749,10 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154749
154749
|
i = this._head + i & this._capacityMask;
|
|
154750
154750
|
return this._list[i];
|
|
154751
154751
|
};
|
|
154752
|
-
Denque.prototype.get = function
|
|
154752
|
+
Denque.prototype.get = function get50(i) {
|
|
154753
154753
|
return this.peekAt(i);
|
|
154754
154754
|
};
|
|
154755
|
-
Denque.prototype.peek = function
|
|
154755
|
+
Denque.prototype.peek = function peek5() {
|
|
154756
154756
|
if (this._head === this._tail)
|
|
154757
154757
|
return;
|
|
154758
154758
|
return this._list[this._head];
|
|
@@ -154764,11 +154764,11 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154764
154764
|
return this.peekAt(-1);
|
|
154765
154765
|
};
|
|
154766
154766
|
Object.defineProperty(Denque.prototype, "length", {
|
|
154767
|
-
get: function
|
|
154767
|
+
get: function length6() {
|
|
154768
154768
|
return this.size();
|
|
154769
154769
|
}
|
|
154770
154770
|
});
|
|
154771
|
-
Denque.prototype.size = function
|
|
154771
|
+
Denque.prototype.size = function size40() {
|
|
154772
154772
|
if (this._head === this._tail)
|
|
154773
154773
|
return 0;
|
|
154774
154774
|
if (this._head < this._tail)
|
|
@@ -154791,7 +154791,7 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154791
154791
|
else
|
|
154792
154792
|
return this._capacityMask + 1 - (this._head - this._tail);
|
|
154793
154793
|
};
|
|
154794
|
-
Denque.prototype.shift = function
|
|
154794
|
+
Denque.prototype.shift = function shift2() {
|
|
154795
154795
|
var head13 = this._head;
|
|
154796
154796
|
if (head13 === this._tail)
|
|
154797
154797
|
return;
|
|
@@ -154819,7 +154819,7 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154819
154819
|
else
|
|
154820
154820
|
return this._capacityMask + 1 - (this._head - this._tail);
|
|
154821
154821
|
};
|
|
154822
|
-
Denque.prototype.pop = function
|
|
154822
|
+
Denque.prototype.pop = function pop3() {
|
|
154823
154823
|
var tail5 = this._tail;
|
|
154824
154824
|
if (tail5 === this._head)
|
|
154825
154825
|
return;
|
|
@@ -154862,7 +154862,7 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154862
154862
|
}
|
|
154863
154863
|
return item;
|
|
154864
154864
|
};
|
|
154865
|
-
Denque.prototype.remove = function
|
|
154865
|
+
Denque.prototype.remove = function remove22(index3, count10) {
|
|
154866
154866
|
var i = index3;
|
|
154867
154867
|
var removed;
|
|
154868
154868
|
var del_count = count10;
|
|
@@ -155001,15 +155001,15 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
155001
155001
|
return this.remove(i, count10);
|
|
155002
155002
|
}
|
|
155003
155003
|
};
|
|
155004
|
-
Denque.prototype.clear = function
|
|
155004
|
+
Denque.prototype.clear = function clear8() {
|
|
155005
155005
|
this._list = new Array(this._list.length);
|
|
155006
155006
|
this._head = 0;
|
|
155007
155007
|
this._tail = 0;
|
|
155008
155008
|
};
|
|
155009
|
-
Denque.prototype.isEmpty = function
|
|
155009
|
+
Denque.prototype.isEmpty = function isEmpty32() {
|
|
155010
155010
|
return this._head === this._tail;
|
|
155011
155011
|
};
|
|
155012
|
-
Denque.prototype.toArray = function
|
|
155012
|
+
Denque.prototype.toArray = function toArray12() {
|
|
155013
155013
|
return this._copyArray(false);
|
|
155014
155014
|
};
|
|
155015
155015
|
Denque.prototype._fromArray = function _fromArray(array11) {
|
|
@@ -159439,7 +159439,7 @@ var require_is_extendable = __commonJS((exports, module) => {
|
|
|
159439
159439
|
// ../../node_modules/.bun/extend-shallow@2.0.1/node_modules/extend-shallow/index.js
|
|
159440
159440
|
var require_extend_shallow = __commonJS((exports, module) => {
|
|
159441
159441
|
var isObject4 = require_is_extendable();
|
|
159442
|
-
module.exports = function
|
|
159442
|
+
module.exports = function extend7(o) {
|
|
159443
159443
|
if (!isObject4(o)) {
|
|
159444
159444
|
o = {};
|
|
159445
159445
|
}
|
|
@@ -159633,7 +159633,7 @@ var require_exception = __commonJS((exports, module) => {
|
|
|
159633
159633
|
}
|
|
159634
159634
|
YAMLException.prototype = Object.create(Error.prototype);
|
|
159635
159635
|
YAMLException.prototype.constructor = YAMLException;
|
|
159636
|
-
YAMLException.prototype.toString = function
|
|
159636
|
+
YAMLException.prototype.toString = function toString2(compact7) {
|
|
159637
159637
|
var result = this.name + ": ";
|
|
159638
159638
|
result += this.reason || "(unknown reason)";
|
|
159639
159639
|
if (!compact7 && this.mark) {
|
|
@@ -159686,7 +159686,7 @@ var require_mark = __commonJS((exports, module) => {
|
|
|
159686
159686
|
return common.repeat(" ", indent) + head13 + snippet + tail5 + `
|
|
159687
159687
|
` + common.repeat(" ", indent + this.position - start5 + head13.length) + "^";
|
|
159688
159688
|
};
|
|
159689
|
-
Mark.prototype.toString = function
|
|
159689
|
+
Mark.prototype.toString = function toString2(compact7) {
|
|
159690
159690
|
var snippet, where = "";
|
|
159691
159691
|
if (this.name) {
|
|
159692
159692
|
where += 'in "' + this.name + '" ';
|
|
@@ -194981,7 +194981,7 @@ var require_node5 = __commonJS((exports) => {
|
|
|
194981
194981
|
readString16 = readString2(3);
|
|
194982
194982
|
readString32 = readString2(5);
|
|
194983
194983
|
function readString2(headerLength) {
|
|
194984
|
-
return function
|
|
194984
|
+
return function readString3(length7) {
|
|
194985
194985
|
let string13 = strings[stringPosition++];
|
|
194986
194986
|
if (string13 == null) {
|
|
194987
194987
|
if (bundledStrings$1)
|
|
@@ -213888,7 +213888,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
213888
213888
|
this._hasIterated = true;
|
|
213889
213889
|
return currentDate;
|
|
213890
213890
|
};
|
|
213891
|
-
CronExpression.prototype.next = function
|
|
213891
|
+
CronExpression.prototype.next = function next6() {
|
|
213892
213892
|
var schedule5 = this._findSchedule();
|
|
213893
213893
|
if (this._isIterator) {
|
|
213894
213894
|
return {
|
|
@@ -213934,7 +213934,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
213934
213934
|
this._hasIterated = hasIterated;
|
|
213935
213935
|
}
|
|
213936
213936
|
};
|
|
213937
|
-
CronExpression.prototype.iterate = function
|
|
213937
|
+
CronExpression.prototype.iterate = function iterate8(steps, callback) {
|
|
213938
213938
|
var dates = [];
|
|
213939
213939
|
if (steps >= 0) {
|
|
213940
213940
|
for (var i = 0, c = steps;i < c; i++) {
|
|
@@ -213963,10 +213963,10 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
213963
213963
|
}
|
|
213964
213964
|
return dates;
|
|
213965
213965
|
};
|
|
213966
|
-
CronExpression.prototype.reset = function
|
|
213966
|
+
CronExpression.prototype.reset = function reset3(newDate) {
|
|
213967
213967
|
this._currentDate = new CronDate(newDate || this._options.currentDate);
|
|
213968
213968
|
};
|
|
213969
|
-
CronExpression.prototype.stringify = function
|
|
213969
|
+
CronExpression.prototype.stringify = function stringify3(includeSeconds) {
|
|
213970
213970
|
var resultArr = [];
|
|
213971
213971
|
for (var i = includeSeconds ? 0 : 1, c = CronExpression.map.length;i < c; ++i) {
|
|
213972
213972
|
var field = CronExpression.map[i];
|
|
@@ -213982,12 +213982,12 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
213982
213982
|
}
|
|
213983
213983
|
return resultArr.join(" ");
|
|
213984
213984
|
};
|
|
213985
|
-
CronExpression.parse = function
|
|
213985
|
+
CronExpression.parse = function parse8(expression, options2) {
|
|
213986
213986
|
var self2 = this;
|
|
213987
213987
|
if (typeof options2 === "function") {
|
|
213988
213988
|
options2 = {};
|
|
213989
213989
|
}
|
|
213990
|
-
function
|
|
213990
|
+
function parse9(expression2, options3) {
|
|
213991
213991
|
if (!options3) {
|
|
213992
213992
|
options3 = {};
|
|
213993
213993
|
}
|
|
@@ -214043,7 +214043,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
214043
214043
|
return val2;
|
|
214044
214044
|
}
|
|
214045
214045
|
}
|
|
214046
|
-
return
|
|
214046
|
+
return parse9(expression, options2);
|
|
214047
214047
|
};
|
|
214048
214048
|
CronExpression.fieldsToExpression = function fieldsToExpression(fields, options2) {
|
|
214049
214049
|
function validateConstraints(field2, values19, constraints) {
|
|
@@ -215717,7 +215717,7 @@ var require_sandbox = __commonJS((exports) => {
|
|
|
215717
215717
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
215718
215718
|
var enums_1 = require_enums();
|
|
215719
215719
|
var sandbox5 = (processFile, childPool) => {
|
|
215720
|
-
return async function
|
|
215720
|
+
return async function process3(job, token) {
|
|
215721
215721
|
let child;
|
|
215722
215722
|
let msgHandler;
|
|
215723
215723
|
let exitHandler;
|
|
@@ -217600,7 +217600,7 @@ var require_redact = __commonJS((exports, module) => {
|
|
|
217600
217600
|
} = options2;
|
|
217601
217601
|
validatePaths(paths);
|
|
217602
217602
|
const pathStructure = buildPathStructure(paths);
|
|
217603
|
-
return function
|
|
217603
|
+
return function redact3(obj) {
|
|
217604
217604
|
if (strict3 && (obj === null || typeof obj !== "object")) {
|
|
217605
217605
|
if (obj === null || obj === undefined) {
|
|
217606
217606
|
return serialize2 ? serialize2(obj) : obj;
|
|
@@ -6291,7 +6291,7 @@ var require_formats = __commonJS((exports2) => {
|
|
|
6291
6291
|
}
|
|
6292
6292
|
var TIME = /^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;
|
|
6293
6293
|
function getTime(strictTimeZone) {
|
|
6294
|
-
return function
|
|
6294
|
+
return function time3(str) {
|
|
6295
6295
|
const matches = TIME.exec(str);
|
|
6296
6296
|
if (!matches)
|
|
6297
6297
|
return false;
|
package/dist/bin/swarm.js
CHANGED
|
@@ -1969,7 +1969,7 @@ function possiblyAsyncStringify(value) {
|
|
|
1969
1969
|
return { delay, cancel };
|
|
1970
1970
|
}
|
|
1971
1971
|
const unknownState = { state: "unknown", value: undefined };
|
|
1972
|
-
const getAsyncContent = function
|
|
1972
|
+
const getAsyncContent = function getAsyncContent2(data) {
|
|
1973
1973
|
const cacheKey = data;
|
|
1974
1974
|
if (cache.has(cacheKey)) {
|
|
1975
1975
|
return cache.get(cacheKey);
|
|
@@ -5438,13 +5438,13 @@ class CommandWrapper {
|
|
|
5438
5438
|
this.hasRan = false;
|
|
5439
5439
|
if (hasToStringMethod(cmd)) {
|
|
5440
5440
|
const method = cmd[toStringMethod];
|
|
5441
|
-
this[toStringMethod] = function
|
|
5441
|
+
this[toStringMethod] = function toStringMethod2() {
|
|
5442
5442
|
return method.call(cmd);
|
|
5443
5443
|
};
|
|
5444
5444
|
}
|
|
5445
5445
|
if (hasAsyncToStringMethod(cmd)) {
|
|
5446
5446
|
const method = cmd[asyncToStringMethod];
|
|
5447
|
-
this[asyncToStringMethod] = function
|
|
5447
|
+
this[asyncToStringMethod] = function asyncToStringMethod2() {
|
|
5448
5448
|
return method.call(cmd);
|
|
5449
5449
|
};
|
|
5450
5450
|
}
|
|
@@ -49924,7 +49924,7 @@ ${prefix}}`;
|
|
|
49924
49924
|
entry.expiresAt = clock3.unsafeCurrentTimeMillis() + toMillis(self2.idleTimeToLive);
|
|
49925
49925
|
if (entry.fiber)
|
|
49926
49926
|
return void_3;
|
|
49927
|
-
return interruptibleMask(function
|
|
49927
|
+
return interruptibleMask(function loop4(restore) {
|
|
49928
49928
|
const now3 = clock3.unsafeCurrentTimeMillis();
|
|
49929
49929
|
const remaining = entry.expiresAt - now3;
|
|
49930
49930
|
if (remaining <= 0) {
|
|
@@ -49933,7 +49933,7 @@ ${prefix}}`;
|
|
|
49933
49933
|
remove8(self2.state.map, key);
|
|
49934
49934
|
return restore(scopeClose(entry.scope, exitVoid));
|
|
49935
49935
|
}
|
|
49936
|
-
return flatMap12(clock3.sleep(millis(remaining)), () =>
|
|
49936
|
+
return flatMap12(clock3.sleep(millis(remaining)), () => loop4(restore));
|
|
49937
49937
|
}).pipe(ensuring2(sync(() => {
|
|
49938
49938
|
entry.fiber = undefined;
|
|
49939
49939
|
})), forkIn2(self2.scope), tap2((fiber) => {
|
|
@@ -95787,14 +95787,14 @@ ${stack.split(`
|
|
|
95787
95787
|
return interrupt2;
|
|
95788
95788
|
} else if (this.targetSize > this.activeSize) {
|
|
95789
95789
|
const self2 = this;
|
|
95790
|
-
return flatMap12(this.resizeSemaphore.withPermitsIfAvailable(1)(forkIn2(interruptible2(this.resize), this.scope)), function
|
|
95790
|
+
return flatMap12(this.resizeSemaphore.withPermitsIfAvailable(1)(forkIn2(interruptible2(this.resize), this.scope)), function loop4() {
|
|
95791
95791
|
if (self2.isShuttingDown) {
|
|
95792
95792
|
return interrupt2;
|
|
95793
95793
|
} else if (self2.available.size > 0) {
|
|
95794
95794
|
return succeed(unsafeHead(self2.available));
|
|
95795
95795
|
}
|
|
95796
95796
|
self2.availableLatch.unsafeClose();
|
|
95797
|
-
return flatMap12(self2.availableLatch.await,
|
|
95797
|
+
return flatMap12(self2.availableLatch.await, loop4);
|
|
95798
95798
|
});
|
|
95799
95799
|
}
|
|
95800
95800
|
return succeed(unsafeHead(this.available));
|
|
@@ -137205,7 +137205,7 @@ function possiblyAsyncStringify2(value10) {
|
|
|
137205
137205
|
return { delay: delay6, cancel };
|
|
137206
137206
|
}
|
|
137207
137207
|
const unknownState = { state: "unknown", value: undefined };
|
|
137208
|
-
const getAsyncContent = function
|
|
137208
|
+
const getAsyncContent = function getAsyncContent2(data) {
|
|
137209
137209
|
const cacheKey = data;
|
|
137210
137210
|
if (cache.has(cacheKey)) {
|
|
137211
137211
|
return cache.get(cacheKey);
|
|
@@ -140674,13 +140674,13 @@ class CommandWrapper2 {
|
|
|
140674
140674
|
this.hasRan = false;
|
|
140675
140675
|
if (hasToStringMethod2(cmd)) {
|
|
140676
140676
|
const method = cmd[toStringMethod2];
|
|
140677
|
-
this[toStringMethod2] = function
|
|
140677
|
+
this[toStringMethod2] = function toStringMethod22() {
|
|
140678
140678
|
return method.call(cmd);
|
|
140679
140679
|
};
|
|
140680
140680
|
}
|
|
140681
140681
|
if (hasAsyncToStringMethod2(cmd)) {
|
|
140682
140682
|
const method = cmd[asyncToStringMethod2];
|
|
140683
|
-
this[asyncToStringMethod2] = function
|
|
140683
|
+
this[asyncToStringMethod2] = function asyncToStringMethod22() {
|
|
140684
140684
|
return method.call(cmd);
|
|
140685
140685
|
};
|
|
140686
140686
|
}
|
|
@@ -185160,7 +185160,7 @@ ${prefix}}`;
|
|
|
185160
185160
|
entry.expiresAt = clock32.unsafeCurrentTimeMillis() + toMillis3(self2.idleTimeToLive);
|
|
185161
185161
|
if (entry.fiber)
|
|
185162
185162
|
return void_32;
|
|
185163
|
-
return interruptibleMask5(function
|
|
185163
|
+
return interruptibleMask5(function loop42(restore) {
|
|
185164
185164
|
const now32 = clock32.unsafeCurrentTimeMillis();
|
|
185165
185165
|
const remaining = entry.expiresAt - now32;
|
|
185166
185166
|
if (remaining <= 0) {
|
|
@@ -185169,7 +185169,7 @@ ${prefix}}`;
|
|
|
185169
185169
|
remove82(self2.state.map, key);
|
|
185170
185170
|
return restore(scopeClose3(entry.scope, exitVoid5));
|
|
185171
185171
|
}
|
|
185172
|
-
return flatMap122(clock32.sleep(millis3(remaining)), () =>
|
|
185172
|
+
return flatMap122(clock32.sleep(millis3(remaining)), () => loop42(restore));
|
|
185173
185173
|
}).pipe(ensuring23(sync25(() => {
|
|
185174
185174
|
entry.fiber = undefined;
|
|
185175
185175
|
})), forkIn23(self2.scope), tap23((fiber) => {
|
|
@@ -231023,14 +231023,14 @@ ${stack.split(`
|
|
|
231023
231023
|
return interrupt23;
|
|
231024
231024
|
} else if (this.targetSize > this.activeSize) {
|
|
231025
231025
|
const self2 = this;
|
|
231026
|
-
return flatMap122(this.resizeSemaphore.withPermitsIfAvailable(1)(forkIn23(interruptible23(this.resize), this.scope)), function
|
|
231026
|
+
return flatMap122(this.resizeSemaphore.withPermitsIfAvailable(1)(forkIn23(interruptible23(this.resize), this.scope)), function loop42() {
|
|
231027
231027
|
if (self2.isShuttingDown) {
|
|
231028
231028
|
return interrupt23;
|
|
231029
231029
|
} else if (self2.available.size > 0) {
|
|
231030
231030
|
return succeed34(unsafeHead6(self2.available));
|
|
231031
231031
|
}
|
|
231032
231032
|
self2.availableLatch.unsafeClose();
|
|
231033
|
-
return flatMap122(self2.availableLatch.await,
|
|
231033
|
+
return flatMap122(self2.availableLatch.await, loop42);
|
|
231034
231034
|
});
|
|
231035
231035
|
}
|
|
231036
231036
|
return succeed34(unsafeHead6(this.available));
|
|
@@ -304124,7 +304124,7 @@ var require_lib = __commonJS((exports2, module2) => {
|
|
|
304124
304124
|
3793,
|
|
304125
304125
|
7920
|
|
304126
304126
|
];
|
|
304127
|
-
var toUTF8Array = function
|
|
304127
|
+
var toUTF8Array = function toUTF8Array2(str2) {
|
|
304128
304128
|
var char3;
|
|
304129
304129
|
var i = 0;
|
|
304130
304130
|
var p = 0;
|
|
@@ -304151,7 +304151,7 @@ var require_lib = __commonJS((exports2, module2) => {
|
|
|
304151
304151
|
}
|
|
304152
304152
|
return utf8;
|
|
304153
304153
|
};
|
|
304154
|
-
var generate = module2.exports = function
|
|
304154
|
+
var generate = module2.exports = function generate2(str2) {
|
|
304155
304155
|
var char3;
|
|
304156
304156
|
var i = 0;
|
|
304157
304157
|
var start6 = -1;
|
|
@@ -307218,10 +307218,10 @@ var require_denque = __commonJS((exports2, module2) => {
|
|
|
307218
307218
|
i = this._head + i & this._capacityMask;
|
|
307219
307219
|
return this._list[i];
|
|
307220
307220
|
};
|
|
307221
|
-
Denque.prototype.get = function
|
|
307221
|
+
Denque.prototype.get = function get51(i) {
|
|
307222
307222
|
return this.peekAt(i);
|
|
307223
307223
|
};
|
|
307224
|
-
Denque.prototype.peek = function
|
|
307224
|
+
Denque.prototype.peek = function peek6() {
|
|
307225
307225
|
if (this._head === this._tail)
|
|
307226
307226
|
return;
|
|
307227
307227
|
return this._list[this._head];
|
|
@@ -307233,11 +307233,11 @@ var require_denque = __commonJS((exports2, module2) => {
|
|
|
307233
307233
|
return this.peekAt(-1);
|
|
307234
307234
|
};
|
|
307235
307235
|
Object.defineProperty(Denque.prototype, "length", {
|
|
307236
|
-
get: function
|
|
307236
|
+
get: function length7() {
|
|
307237
307237
|
return this.size();
|
|
307238
307238
|
}
|
|
307239
307239
|
});
|
|
307240
|
-
Denque.prototype.size = function
|
|
307240
|
+
Denque.prototype.size = function size41() {
|
|
307241
307241
|
if (this._head === this._tail)
|
|
307242
307242
|
return 0;
|
|
307243
307243
|
if (this._head < this._tail)
|
|
@@ -307260,7 +307260,7 @@ var require_denque = __commonJS((exports2, module2) => {
|
|
|
307260
307260
|
else
|
|
307261
307261
|
return this._capacityMask + 1 - (this._head - this._tail);
|
|
307262
307262
|
};
|
|
307263
|
-
Denque.prototype.shift = function
|
|
307263
|
+
Denque.prototype.shift = function shift5() {
|
|
307264
307264
|
var head14 = this._head;
|
|
307265
307265
|
if (head14 === this._tail)
|
|
307266
307266
|
return;
|
|
@@ -307288,7 +307288,7 @@ var require_denque = __commonJS((exports2, module2) => {
|
|
|
307288
307288
|
else
|
|
307289
307289
|
return this._capacityMask + 1 - (this._head - this._tail);
|
|
307290
307290
|
};
|
|
307291
|
-
Denque.prototype.pop = function
|
|
307291
|
+
Denque.prototype.pop = function pop4() {
|
|
307292
307292
|
var tail6 = this._tail;
|
|
307293
307293
|
if (tail6 === this._head)
|
|
307294
307294
|
return;
|
|
@@ -307331,7 +307331,7 @@ var require_denque = __commonJS((exports2, module2) => {
|
|
|
307331
307331
|
}
|
|
307332
307332
|
return item;
|
|
307333
307333
|
};
|
|
307334
|
-
Denque.prototype.remove = function
|
|
307334
|
+
Denque.prototype.remove = function remove31(index4, count11) {
|
|
307335
307335
|
var i = index4;
|
|
307336
307336
|
var removed;
|
|
307337
307337
|
var del_count = count11;
|
|
@@ -307470,15 +307470,15 @@ var require_denque = __commonJS((exports2, module2) => {
|
|
|
307470
307470
|
return this.remove(i, count11);
|
|
307471
307471
|
}
|
|
307472
307472
|
};
|
|
307473
|
-
Denque.prototype.clear = function
|
|
307473
|
+
Denque.prototype.clear = function clear9() {
|
|
307474
307474
|
this._list = new Array(this._list.length);
|
|
307475
307475
|
this._head = 0;
|
|
307476
307476
|
this._tail = 0;
|
|
307477
307477
|
};
|
|
307478
|
-
Denque.prototype.isEmpty = function
|
|
307478
|
+
Denque.prototype.isEmpty = function isEmpty37() {
|
|
307479
307479
|
return this._head === this._tail;
|
|
307480
307480
|
};
|
|
307481
|
-
Denque.prototype.toArray = function
|
|
307481
|
+
Denque.prototype.toArray = function toArray13() {
|
|
307482
307482
|
return this._copyArray(false);
|
|
307483
307483
|
};
|
|
307484
307484
|
Denque.prototype._fromArray = function _fromArray(array12) {
|
|
@@ -311908,7 +311908,7 @@ var require_is_extendable2 = __commonJS((exports2, module2) => {
|
|
|
311908
311908
|
// ../../node_modules/.bun/extend-shallow@2.0.1/node_modules/extend-shallow/index.js
|
|
311909
311909
|
var require_extend_shallow2 = __commonJS((exports2, module2) => {
|
|
311910
311910
|
var isObject5 = require_is_extendable2();
|
|
311911
|
-
module2.exports = function
|
|
311911
|
+
module2.exports = function extend8(o) {
|
|
311912
311912
|
if (!isObject5(o)) {
|
|
311913
311913
|
o = {};
|
|
311914
311914
|
}
|
|
@@ -312102,7 +312102,7 @@ var require_exception2 = __commonJS((exports2, module2) => {
|
|
|
312102
312102
|
}
|
|
312103
312103
|
YAMLException.prototype = Object.create(Error.prototype);
|
|
312104
312104
|
YAMLException.prototype.constructor = YAMLException;
|
|
312105
|
-
YAMLException.prototype.toString = function
|
|
312105
|
+
YAMLException.prototype.toString = function toString3(compact8) {
|
|
312106
312106
|
var result = this.name + ": ";
|
|
312107
312107
|
result += this.reason || "(unknown reason)";
|
|
312108
312108
|
if (!compact8 && this.mark) {
|
|
@@ -312155,7 +312155,7 @@ var require_mark2 = __commonJS((exports2, module2) => {
|
|
|
312155
312155
|
return common.repeat(" ", indent) + head14 + snippet + tail6 + `
|
|
312156
312156
|
` + common.repeat(" ", indent + this.position - start6 + head14.length) + "^";
|
|
312157
312157
|
};
|
|
312158
|
-
Mark.prototype.toString = function
|
|
312158
|
+
Mark.prototype.toString = function toString3(compact8) {
|
|
312159
312159
|
var snippet, where = "";
|
|
312160
312160
|
if (this.name) {
|
|
312161
312161
|
where += 'in "' + this.name + '" ';
|
|
@@ -330205,7 +330205,7 @@ var require_node6 = __commonJS((exports2) => {
|
|
|
330205
330205
|
readString16 = readString2(3);
|
|
330206
330206
|
readString32 = readString2(5);
|
|
330207
330207
|
function readString2(headerLength) {
|
|
330208
|
-
return function
|
|
330208
|
+
return function readString3(length7) {
|
|
330209
330209
|
let string13 = strings[stringPosition++];
|
|
330210
330210
|
if (string13 == null) {
|
|
330211
330211
|
if (bundledStrings$1)
|
|
@@ -349112,7 +349112,7 @@ var require_expression = __commonJS((exports2, module2) => {
|
|
|
349112
349112
|
this._hasIterated = true;
|
|
349113
349113
|
return currentDate;
|
|
349114
349114
|
};
|
|
349115
|
-
CronExpression.prototype.next = function
|
|
349115
|
+
CronExpression.prototype.next = function next7() {
|
|
349116
349116
|
var schedule5 = this._findSchedule();
|
|
349117
349117
|
if (this._isIterator) {
|
|
349118
349118
|
return {
|
|
@@ -349158,7 +349158,7 @@ var require_expression = __commonJS((exports2, module2) => {
|
|
|
349158
349158
|
this._hasIterated = hasIterated;
|
|
349159
349159
|
}
|
|
349160
349160
|
};
|
|
349161
|
-
CronExpression.prototype.iterate = function
|
|
349161
|
+
CronExpression.prototype.iterate = function iterate8(steps, callback) {
|
|
349162
349162
|
var dates = [];
|
|
349163
349163
|
if (steps >= 0) {
|
|
349164
349164
|
for (var i = 0, c = steps;i < c; i++) {
|
|
@@ -349187,10 +349187,10 @@ var require_expression = __commonJS((exports2, module2) => {
|
|
|
349187
349187
|
}
|
|
349188
349188
|
return dates;
|
|
349189
349189
|
};
|
|
349190
|
-
CronExpression.prototype.reset = function
|
|
349190
|
+
CronExpression.prototype.reset = function reset4(newDate) {
|
|
349191
349191
|
this._currentDate = new CronDate(newDate || this._options.currentDate);
|
|
349192
349192
|
};
|
|
349193
|
-
CronExpression.prototype.stringify = function
|
|
349193
|
+
CronExpression.prototype.stringify = function stringify4(includeSeconds) {
|
|
349194
349194
|
var resultArr = [];
|
|
349195
349195
|
for (var i = includeSeconds ? 0 : 1, c = CronExpression.map.length;i < c; ++i) {
|
|
349196
349196
|
var field = CronExpression.map[i];
|
|
@@ -349206,12 +349206,12 @@ var require_expression = __commonJS((exports2, module2) => {
|
|
|
349206
349206
|
}
|
|
349207
349207
|
return resultArr.join(" ");
|
|
349208
349208
|
};
|
|
349209
|
-
CronExpression.parse = function
|
|
349209
|
+
CronExpression.parse = function parse9(expression, options2) {
|
|
349210
349210
|
var self2 = this;
|
|
349211
349211
|
if (typeof options2 === "function") {
|
|
349212
349212
|
options2 = {};
|
|
349213
349213
|
}
|
|
349214
|
-
function
|
|
349214
|
+
function parse13(expression2, options3) {
|
|
349215
349215
|
if (!options3) {
|
|
349216
349216
|
options3 = {};
|
|
349217
349217
|
}
|
|
@@ -349267,7 +349267,7 @@ var require_expression = __commonJS((exports2, module2) => {
|
|
|
349267
349267
|
return val2;
|
|
349268
349268
|
}
|
|
349269
349269
|
}
|
|
349270
|
-
return
|
|
349270
|
+
return parse13(expression, options2);
|
|
349271
349271
|
};
|
|
349272
349272
|
CronExpression.fieldsToExpression = function fieldsToExpression(fields, options2) {
|
|
349273
349273
|
function validateConstraints(field2, values20, constraints) {
|
|
@@ -350941,7 +350941,7 @@ var require_sandbox = __commonJS((exports2) => {
|
|
|
350941
350941
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
350942
350942
|
var enums_1 = require_enums();
|
|
350943
350943
|
var sandbox5 = (processFile, childPool) => {
|
|
350944
|
-
return async function
|
|
350944
|
+
return async function process3(job, token) {
|
|
350945
350945
|
let child;
|
|
350946
350946
|
let msgHandler;
|
|
350947
350947
|
let exitHandler;
|
|
@@ -352824,7 +352824,7 @@ var require_redact = __commonJS((exports2, module2) => {
|
|
|
352824
352824
|
} = options2;
|
|
352825
352825
|
validatePaths(paths);
|
|
352826
352826
|
const pathStructure = buildPathStructure(paths);
|
|
352827
|
-
return function
|
|
352827
|
+
return function redact5(obj) {
|
|
352828
352828
|
if (strict5 && (obj === null || typeof obj !== "object")) {
|
|
352829
352829
|
if (obj === null || obj === undefined) {
|
|
352830
352830
|
return serialize3 ? serialize3(obj) : obj;
|
|
@@ -385413,7 +385413,7 @@ var require_is_extendable = __commonJS3((exports2, module2) => {
|
|
|
385413
385413
|
});
|
|
385414
385414
|
var require_extend_shallow = __commonJS3((exports2, module2) => {
|
|
385415
385415
|
var isObject22 = require_is_extendable();
|
|
385416
|
-
module2.exports = function
|
|
385416
|
+
module2.exports = function extend22(o) {
|
|
385417
385417
|
if (!isObject22(o)) {
|
|
385418
385418
|
o = {};
|
|
385419
385419
|
}
|
|
@@ -385601,7 +385601,7 @@ var require_exception = __commonJS3((exports2, module2) => {
|
|
|
385601
385601
|
}
|
|
385602
385602
|
YAMLException.prototype = Object.create(Error.prototype);
|
|
385603
385603
|
YAMLException.prototype.constructor = YAMLException;
|
|
385604
|
-
YAMLException.prototype.toString = function
|
|
385604
|
+
YAMLException.prototype.toString = function toString2(compact7) {
|
|
385605
385605
|
var result = this.name + ": ";
|
|
385606
385606
|
result += this.reason || "(unknown reason)";
|
|
385607
385607
|
if (!compact7 && this.mark) {
|
|
@@ -385652,7 +385652,7 @@ var require_mark = __commonJS3((exports2, module2) => {
|
|
|
385652
385652
|
return common.repeat(" ", indent) + head13 + snippet + tail5 + `
|
|
385653
385653
|
` + common.repeat(" ", indent + this.position - start5 + head13.length) + "^";
|
|
385654
385654
|
};
|
|
385655
|
-
Mark.prototype.toString = function
|
|
385655
|
+
Mark.prototype.toString = function toString2(compact7) {
|
|
385656
385656
|
var snippet, where = "";
|
|
385657
385657
|
if (this.name) {
|
|
385658
385658
|
where += 'in "' + this.name + '" ';
|
package/dist/hive.js
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
2
|
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __toESM = (mod, isNodeMode, target) => {
|
|
8
|
-
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
9
|
-
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
10
|
-
for (let key of __getOwnPropNames(mod))
|
|
11
|
-
if (!__hasOwnProp.call(to, key))
|
|
12
|
-
__defProp(to, key, {
|
|
13
|
-
get: () => mod[key],
|
|
14
|
-
enumerable: true
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
3
|
var __export = (target, all) => {
|
|
19
4
|
for (var name in all)
|
|
20
5
|
__defProp(target, name, {
|
package/dist/index.js
CHANGED
|
@@ -16419,7 +16419,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
16419
16419
|
3793,
|
|
16420
16420
|
7920
|
|
16421
16421
|
];
|
|
16422
|
-
var toUTF8Array = function
|
|
16422
|
+
var toUTF8Array = function toUTF8Array2(str2) {
|
|
16423
16423
|
var char;
|
|
16424
16424
|
var i = 0;
|
|
16425
16425
|
var p = 0;
|
|
@@ -16446,7 +16446,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
16446
16446
|
}
|
|
16447
16447
|
return utf8;
|
|
16448
16448
|
};
|
|
16449
|
-
var generate = module.exports = function
|
|
16449
|
+
var generate = module.exports = function generate2(str2) {
|
|
16450
16450
|
var char;
|
|
16451
16451
|
var i = 0;
|
|
16452
16452
|
var start = -1;
|
|
@@ -24205,7 +24205,7 @@ var require_is_extendable = __commonJS((exports, module) => {
|
|
|
24205
24205
|
// ../../node_modules/.bun/extend-shallow@2.0.1/node_modules/extend-shallow/index.js
|
|
24206
24206
|
var require_extend_shallow = __commonJS((exports, module) => {
|
|
24207
24207
|
var isObject2 = require_is_extendable();
|
|
24208
|
-
module.exports = function
|
|
24208
|
+
module.exports = function extend2(o) {
|
|
24209
24209
|
if (!isObject2(o)) {
|
|
24210
24210
|
o = {};
|
|
24211
24211
|
}
|
|
@@ -59756,7 +59756,7 @@ var require_node2 = __commonJS((exports) => {
|
|
|
59756
59756
|
readString16 = readString2(3);
|
|
59757
59757
|
readString32 = readString2(5);
|
|
59758
59758
|
function readString2(headerLength) {
|
|
59759
|
-
return function
|
|
59759
|
+
return function readString3(length2) {
|
|
59760
59760
|
let string5 = strings[stringPosition++];
|
|
59761
59761
|
if (string5 == null) {
|
|
59762
59762
|
if (bundledStrings$1)
|
|
@@ -78709,7 +78709,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
78709
78709
|
this._hasIterated = hasIterated;
|
|
78710
78710
|
}
|
|
78711
78711
|
};
|
|
78712
|
-
CronExpression.prototype.iterate = function
|
|
78712
|
+
CronExpression.prototype.iterate = function iterate3(steps, callback) {
|
|
78713
78713
|
var dates = [];
|
|
78714
78714
|
if (steps >= 0) {
|
|
78715
78715
|
for (var i = 0, c = steps;i < c; i++) {
|
|
@@ -78757,12 +78757,12 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
78757
78757
|
}
|
|
78758
78758
|
return resultArr.join(" ");
|
|
78759
78759
|
};
|
|
78760
|
-
CronExpression.parse = function
|
|
78760
|
+
CronExpression.parse = function parse6(expression, options2) {
|
|
78761
78761
|
var self2 = this;
|
|
78762
78762
|
if (typeof options2 === "function") {
|
|
78763
78763
|
options2 = {};
|
|
78764
78764
|
}
|
|
78765
|
-
function
|
|
78765
|
+
function parse7(expression2, options3) {
|
|
78766
78766
|
if (!options3) {
|
|
78767
78767
|
options3 = {};
|
|
78768
78768
|
}
|
|
@@ -78818,7 +78818,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
78818
78818
|
return val2;
|
|
78819
78819
|
}
|
|
78820
78820
|
}
|
|
78821
|
-
return
|
|
78821
|
+
return parse7(expression, options2);
|
|
78822
78822
|
};
|
|
78823
78823
|
CronExpression.fieldsToExpression = function fieldsToExpression(fields, options2) {
|
|
78824
78824
|
function validateConstraints(field2, values4, constraints) {
|
|
@@ -80492,7 +80492,7 @@ var require_sandbox = __commonJS((exports) => {
|
|
|
80492
80492
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
80493
80493
|
var enums_1 = require_enums();
|
|
80494
80494
|
var sandbox3 = (processFile, childPool) => {
|
|
80495
|
-
return async function
|
|
80495
|
+
return async function process2(job, token) {
|
|
80496
80496
|
let child;
|
|
80497
80497
|
let msgHandler;
|
|
80498
80498
|
let exitHandler;
|
|
@@ -82375,7 +82375,7 @@ var require_redact = __commonJS((exports, module) => {
|
|
|
82375
82375
|
} = options2;
|
|
82376
82376
|
validatePaths(paths);
|
|
82377
82377
|
const pathStructure = buildPathStructure(paths);
|
|
82378
|
-
return function
|
|
82378
|
+
return function redact2(obj) {
|
|
82379
82379
|
if (strict2 && (obj === null || typeof obj !== "object")) {
|
|
82380
82380
|
if (obj === null || obj === undefined) {
|
|
82381
82381
|
return serialize ? serialize(obj) : obj;
|
|
@@ -14628,7 +14628,7 @@ function possiblyAsyncStringify(value) {
|
|
|
14628
14628
|
return { delay, cancel };
|
|
14629
14629
|
}
|
|
14630
14630
|
const unknownState = { state: "unknown", value: undefined };
|
|
14631
|
-
const getAsyncContent = function
|
|
14631
|
+
const getAsyncContent = function getAsyncContent2(data) {
|
|
14632
14632
|
const cacheKey = data;
|
|
14633
14633
|
if (cache.has(cacheKey)) {
|
|
14634
14634
|
return cache.get(cacheKey);
|
|
@@ -18097,13 +18097,13 @@ class CommandWrapper {
|
|
|
18097
18097
|
this.hasRan = false;
|
|
18098
18098
|
if (hasToStringMethod(cmd)) {
|
|
18099
18099
|
const method = cmd[toStringMethod];
|
|
18100
|
-
this[toStringMethod] = function
|
|
18100
|
+
this[toStringMethod] = function toStringMethod2() {
|
|
18101
18101
|
return method.call(cmd);
|
|
18102
18102
|
};
|
|
18103
18103
|
}
|
|
18104
18104
|
if (hasAsyncToStringMethod(cmd)) {
|
|
18105
18105
|
const method = cmd[asyncToStringMethod];
|
|
18106
|
-
this[asyncToStringMethod] = function
|
|
18106
|
+
this[asyncToStringMethod] = function asyncToStringMethod2() {
|
|
18107
18107
|
return method.call(cmd);
|
|
18108
18108
|
};
|
|
18109
18109
|
}
|
|
@@ -62583,7 +62583,7 @@ ${prefix}}`;
|
|
|
62583
62583
|
entry.expiresAt = clock3.unsafeCurrentTimeMillis() + toMillis(self2.idleTimeToLive);
|
|
62584
62584
|
if (entry.fiber)
|
|
62585
62585
|
return void_3;
|
|
62586
|
-
return interruptibleMask(function
|
|
62586
|
+
return interruptibleMask(function loop4(restore) {
|
|
62587
62587
|
const now3 = clock3.unsafeCurrentTimeMillis();
|
|
62588
62588
|
const remaining = entry.expiresAt - now3;
|
|
62589
62589
|
if (remaining <= 0) {
|
|
@@ -62592,7 +62592,7 @@ ${prefix}}`;
|
|
|
62592
62592
|
remove8(self2.state.map, key);
|
|
62593
62593
|
return restore(scopeClose(entry.scope, exitVoid));
|
|
62594
62594
|
}
|
|
62595
|
-
return flatMap12(clock3.sleep(millis(remaining)), () =>
|
|
62595
|
+
return flatMap12(clock3.sleep(millis(remaining)), () => loop4(restore));
|
|
62596
62596
|
}).pipe(ensuring2(sync(() => {
|
|
62597
62597
|
entry.fiber = undefined;
|
|
62598
62598
|
})), forkIn2(self2.scope), tap2((fiber) => {
|
|
@@ -108446,14 +108446,14 @@ ${stack.split(`
|
|
|
108446
108446
|
return interrupt2;
|
|
108447
108447
|
} else if (this.targetSize > this.activeSize) {
|
|
108448
108448
|
const self2 = this;
|
|
108449
|
-
return flatMap12(this.resizeSemaphore.withPermitsIfAvailable(1)(forkIn2(interruptible2(this.resize), this.scope)), function
|
|
108449
|
+
return flatMap12(this.resizeSemaphore.withPermitsIfAvailable(1)(forkIn2(interruptible2(this.resize), this.scope)), function loop4() {
|
|
108450
108450
|
if (self2.isShuttingDown) {
|
|
108451
108451
|
return interrupt2;
|
|
108452
108452
|
} else if (self2.available.size > 0) {
|
|
108453
108453
|
return succeed(unsafeHead(self2.available));
|
|
108454
108454
|
}
|
|
108455
108455
|
self2.availableLatch.unsafeClose();
|
|
108456
|
-
return flatMap12(self2.availableLatch.await,
|
|
108456
|
+
return flatMap12(self2.availableLatch.await, loop4);
|
|
108457
108457
|
});
|
|
108458
108458
|
}
|
|
108459
108459
|
return succeed(unsafeHead(this.available));
|
|
@@ -151655,7 +151655,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
151655
151655
|
3793,
|
|
151656
151656
|
7920
|
|
151657
151657
|
];
|
|
151658
|
-
var toUTF8Array = function
|
|
151658
|
+
var toUTF8Array = function toUTF8Array2(str2) {
|
|
151659
151659
|
var char2;
|
|
151660
151660
|
var i = 0;
|
|
151661
151661
|
var p = 0;
|
|
@@ -151682,7 +151682,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
151682
151682
|
}
|
|
151683
151683
|
return utf8;
|
|
151684
151684
|
};
|
|
151685
|
-
var generate = module.exports = function
|
|
151685
|
+
var generate = module.exports = function generate2(str2) {
|
|
151686
151686
|
var char2;
|
|
151687
151687
|
var i = 0;
|
|
151688
151688
|
var start5 = -1;
|
|
@@ -154749,10 +154749,10 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154749
154749
|
i = this._head + i & this._capacityMask;
|
|
154750
154750
|
return this._list[i];
|
|
154751
154751
|
};
|
|
154752
|
-
Denque.prototype.get = function
|
|
154752
|
+
Denque.prototype.get = function get50(i) {
|
|
154753
154753
|
return this.peekAt(i);
|
|
154754
154754
|
};
|
|
154755
|
-
Denque.prototype.peek = function
|
|
154755
|
+
Denque.prototype.peek = function peek5() {
|
|
154756
154756
|
if (this._head === this._tail)
|
|
154757
154757
|
return;
|
|
154758
154758
|
return this._list[this._head];
|
|
@@ -154764,11 +154764,11 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154764
154764
|
return this.peekAt(-1);
|
|
154765
154765
|
};
|
|
154766
154766
|
Object.defineProperty(Denque.prototype, "length", {
|
|
154767
|
-
get: function
|
|
154767
|
+
get: function length6() {
|
|
154768
154768
|
return this.size();
|
|
154769
154769
|
}
|
|
154770
154770
|
});
|
|
154771
|
-
Denque.prototype.size = function
|
|
154771
|
+
Denque.prototype.size = function size40() {
|
|
154772
154772
|
if (this._head === this._tail)
|
|
154773
154773
|
return 0;
|
|
154774
154774
|
if (this._head < this._tail)
|
|
@@ -154791,7 +154791,7 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154791
154791
|
else
|
|
154792
154792
|
return this._capacityMask + 1 - (this._head - this._tail);
|
|
154793
154793
|
};
|
|
154794
|
-
Denque.prototype.shift = function
|
|
154794
|
+
Denque.prototype.shift = function shift2() {
|
|
154795
154795
|
var head13 = this._head;
|
|
154796
154796
|
if (head13 === this._tail)
|
|
154797
154797
|
return;
|
|
@@ -154819,7 +154819,7 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154819
154819
|
else
|
|
154820
154820
|
return this._capacityMask + 1 - (this._head - this._tail);
|
|
154821
154821
|
};
|
|
154822
|
-
Denque.prototype.pop = function
|
|
154822
|
+
Denque.prototype.pop = function pop3() {
|
|
154823
154823
|
var tail5 = this._tail;
|
|
154824
154824
|
if (tail5 === this._head)
|
|
154825
154825
|
return;
|
|
@@ -154862,7 +154862,7 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
154862
154862
|
}
|
|
154863
154863
|
return item;
|
|
154864
154864
|
};
|
|
154865
|
-
Denque.prototype.remove = function
|
|
154865
|
+
Denque.prototype.remove = function remove22(index3, count10) {
|
|
154866
154866
|
var i = index3;
|
|
154867
154867
|
var removed;
|
|
154868
154868
|
var del_count = count10;
|
|
@@ -155001,15 +155001,15 @@ var require_denque = __commonJS((exports, module) => {
|
|
|
155001
155001
|
return this.remove(i, count10);
|
|
155002
155002
|
}
|
|
155003
155003
|
};
|
|
155004
|
-
Denque.prototype.clear = function
|
|
155004
|
+
Denque.prototype.clear = function clear8() {
|
|
155005
155005
|
this._list = new Array(this._list.length);
|
|
155006
155006
|
this._head = 0;
|
|
155007
155007
|
this._tail = 0;
|
|
155008
155008
|
};
|
|
155009
|
-
Denque.prototype.isEmpty = function
|
|
155009
|
+
Denque.prototype.isEmpty = function isEmpty32() {
|
|
155010
155010
|
return this._head === this._tail;
|
|
155011
155011
|
};
|
|
155012
|
-
Denque.prototype.toArray = function
|
|
155012
|
+
Denque.prototype.toArray = function toArray12() {
|
|
155013
155013
|
return this._copyArray(false);
|
|
155014
155014
|
};
|
|
155015
155015
|
Denque.prototype._fromArray = function _fromArray(array11) {
|
|
@@ -159439,7 +159439,7 @@ var require_is_extendable = __commonJS((exports, module) => {
|
|
|
159439
159439
|
// ../../node_modules/.bun/extend-shallow@2.0.1/node_modules/extend-shallow/index.js
|
|
159440
159440
|
var require_extend_shallow = __commonJS((exports, module) => {
|
|
159441
159441
|
var isObject4 = require_is_extendable();
|
|
159442
|
-
module.exports = function
|
|
159442
|
+
module.exports = function extend7(o) {
|
|
159443
159443
|
if (!isObject4(o)) {
|
|
159444
159444
|
o = {};
|
|
159445
159445
|
}
|
|
@@ -159633,7 +159633,7 @@ var require_exception = __commonJS((exports, module) => {
|
|
|
159633
159633
|
}
|
|
159634
159634
|
YAMLException.prototype = Object.create(Error.prototype);
|
|
159635
159635
|
YAMLException.prototype.constructor = YAMLException;
|
|
159636
|
-
YAMLException.prototype.toString = function
|
|
159636
|
+
YAMLException.prototype.toString = function toString2(compact7) {
|
|
159637
159637
|
var result = this.name + ": ";
|
|
159638
159638
|
result += this.reason || "(unknown reason)";
|
|
159639
159639
|
if (!compact7 && this.mark) {
|
|
@@ -159686,7 +159686,7 @@ var require_mark = __commonJS((exports, module) => {
|
|
|
159686
159686
|
return common.repeat(" ", indent) + head13 + snippet + tail5 + `
|
|
159687
159687
|
` + common.repeat(" ", indent + this.position - start5 + head13.length) + "^";
|
|
159688
159688
|
};
|
|
159689
|
-
Mark.prototype.toString = function
|
|
159689
|
+
Mark.prototype.toString = function toString2(compact7) {
|
|
159690
159690
|
var snippet, where = "";
|
|
159691
159691
|
if (this.name) {
|
|
159692
159692
|
where += 'in "' + this.name + '" ';
|
|
@@ -194981,7 +194981,7 @@ var require_node5 = __commonJS((exports) => {
|
|
|
194981
194981
|
readString16 = readString2(3);
|
|
194982
194982
|
readString32 = readString2(5);
|
|
194983
194983
|
function readString2(headerLength) {
|
|
194984
|
-
return function
|
|
194984
|
+
return function readString3(length7) {
|
|
194985
194985
|
let string13 = strings[stringPosition++];
|
|
194986
194986
|
if (string13 == null) {
|
|
194987
194987
|
if (bundledStrings$1)
|
|
@@ -213888,7 +213888,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
213888
213888
|
this._hasIterated = true;
|
|
213889
213889
|
return currentDate;
|
|
213890
213890
|
};
|
|
213891
|
-
CronExpression.prototype.next = function
|
|
213891
|
+
CronExpression.prototype.next = function next6() {
|
|
213892
213892
|
var schedule5 = this._findSchedule();
|
|
213893
213893
|
if (this._isIterator) {
|
|
213894
213894
|
return {
|
|
@@ -213934,7 +213934,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
213934
213934
|
this._hasIterated = hasIterated;
|
|
213935
213935
|
}
|
|
213936
213936
|
};
|
|
213937
|
-
CronExpression.prototype.iterate = function
|
|
213937
|
+
CronExpression.prototype.iterate = function iterate8(steps, callback) {
|
|
213938
213938
|
var dates = [];
|
|
213939
213939
|
if (steps >= 0) {
|
|
213940
213940
|
for (var i = 0, c = steps;i < c; i++) {
|
|
@@ -213963,10 +213963,10 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
213963
213963
|
}
|
|
213964
213964
|
return dates;
|
|
213965
213965
|
};
|
|
213966
|
-
CronExpression.prototype.reset = function
|
|
213966
|
+
CronExpression.prototype.reset = function reset3(newDate) {
|
|
213967
213967
|
this._currentDate = new CronDate(newDate || this._options.currentDate);
|
|
213968
213968
|
};
|
|
213969
|
-
CronExpression.prototype.stringify = function
|
|
213969
|
+
CronExpression.prototype.stringify = function stringify3(includeSeconds) {
|
|
213970
213970
|
var resultArr = [];
|
|
213971
213971
|
for (var i = includeSeconds ? 0 : 1, c = CronExpression.map.length;i < c; ++i) {
|
|
213972
213972
|
var field = CronExpression.map[i];
|
|
@@ -213982,12 +213982,12 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
213982
213982
|
}
|
|
213983
213983
|
return resultArr.join(" ");
|
|
213984
213984
|
};
|
|
213985
|
-
CronExpression.parse = function
|
|
213985
|
+
CronExpression.parse = function parse8(expression, options2) {
|
|
213986
213986
|
var self2 = this;
|
|
213987
213987
|
if (typeof options2 === "function") {
|
|
213988
213988
|
options2 = {};
|
|
213989
213989
|
}
|
|
213990
|
-
function
|
|
213990
|
+
function parse9(expression2, options3) {
|
|
213991
213991
|
if (!options3) {
|
|
213992
213992
|
options3 = {};
|
|
213993
213993
|
}
|
|
@@ -214043,7 +214043,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
214043
214043
|
return val2;
|
|
214044
214044
|
}
|
|
214045
214045
|
}
|
|
214046
|
-
return
|
|
214046
|
+
return parse9(expression, options2);
|
|
214047
214047
|
};
|
|
214048
214048
|
CronExpression.fieldsToExpression = function fieldsToExpression(fields, options2) {
|
|
214049
214049
|
function validateConstraints(field2, values19, constraints) {
|
|
@@ -215717,7 +215717,7 @@ var require_sandbox = __commonJS((exports) => {
|
|
|
215717
215717
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
215718
215718
|
var enums_1 = require_enums();
|
|
215719
215719
|
var sandbox5 = (processFile, childPool) => {
|
|
215720
|
-
return async function
|
|
215720
|
+
return async function process3(job, token) {
|
|
215721
215721
|
let child;
|
|
215722
215722
|
let msgHandler;
|
|
215723
215723
|
let exitHandler;
|
|
@@ -217600,7 +217600,7 @@ var require_redact = __commonJS((exports, module) => {
|
|
|
217600
217600
|
} = options2;
|
|
217601
217601
|
validatePaths(paths);
|
|
217602
217602
|
const pathStructure = buildPathStructure(paths);
|
|
217603
|
-
return function
|
|
217603
|
+
return function redact3(obj) {
|
|
217604
217604
|
if (strict3 && (obj === null || typeof obj !== "object")) {
|
|
217605
217605
|
if (obj === null || obj === undefined) {
|
|
217606
217606
|
return serialize2 ? serialize2(obj) : obj;
|
|
@@ -6291,7 +6291,7 @@ var require_formats = __commonJS((exports2) => {
|
|
|
6291
6291
|
}
|
|
6292
6292
|
var TIME = /^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;
|
|
6293
6293
|
function getTime(strictTimeZone) {
|
|
6294
|
-
return function
|
|
6294
|
+
return function time3(str) {
|
|
6295
6295
|
const matches = TIME.exec(str);
|
|
6296
6296
|
if (!matches)
|
|
6297
6297
|
return false;
|
package/dist/plugin.js
CHANGED
|
@@ -16419,7 +16419,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
16419
16419
|
3793,
|
|
16420
16420
|
7920
|
|
16421
16421
|
];
|
|
16422
|
-
var toUTF8Array = function
|
|
16422
|
+
var toUTF8Array = function toUTF8Array2(str2) {
|
|
16423
16423
|
var char;
|
|
16424
16424
|
var i = 0;
|
|
16425
16425
|
var p = 0;
|
|
@@ -16446,7 +16446,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
16446
16446
|
}
|
|
16447
16447
|
return utf8;
|
|
16448
16448
|
};
|
|
16449
|
-
var generate = module.exports = function
|
|
16449
|
+
var generate = module.exports = function generate2(str2) {
|
|
16450
16450
|
var char;
|
|
16451
16451
|
var i = 0;
|
|
16452
16452
|
var start = -1;
|
|
@@ -24205,7 +24205,7 @@ var require_is_extendable = __commonJS((exports, module) => {
|
|
|
24205
24205
|
// ../../node_modules/.bun/extend-shallow@2.0.1/node_modules/extend-shallow/index.js
|
|
24206
24206
|
var require_extend_shallow = __commonJS((exports, module) => {
|
|
24207
24207
|
var isObject2 = require_is_extendable();
|
|
24208
|
-
module.exports = function
|
|
24208
|
+
module.exports = function extend2(o) {
|
|
24209
24209
|
if (!isObject2(o)) {
|
|
24210
24210
|
o = {};
|
|
24211
24211
|
}
|
|
@@ -59742,7 +59742,7 @@ var require_node2 = __commonJS((exports) => {
|
|
|
59742
59742
|
readString16 = readString2(3);
|
|
59743
59743
|
readString32 = readString2(5);
|
|
59744
59744
|
function readString2(headerLength) {
|
|
59745
|
-
return function
|
|
59745
|
+
return function readString3(length2) {
|
|
59746
59746
|
let string5 = strings[stringPosition++];
|
|
59747
59747
|
if (string5 == null) {
|
|
59748
59748
|
if (bundledStrings$1)
|
|
@@ -78695,7 +78695,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
78695
78695
|
this._hasIterated = hasIterated;
|
|
78696
78696
|
}
|
|
78697
78697
|
};
|
|
78698
|
-
CronExpression.prototype.iterate = function
|
|
78698
|
+
CronExpression.prototype.iterate = function iterate3(steps, callback) {
|
|
78699
78699
|
var dates = [];
|
|
78700
78700
|
if (steps >= 0) {
|
|
78701
78701
|
for (var i = 0, c = steps;i < c; i++) {
|
|
@@ -78743,12 +78743,12 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
78743
78743
|
}
|
|
78744
78744
|
return resultArr.join(" ");
|
|
78745
78745
|
};
|
|
78746
|
-
CronExpression.parse = function
|
|
78746
|
+
CronExpression.parse = function parse6(expression, options2) {
|
|
78747
78747
|
var self2 = this;
|
|
78748
78748
|
if (typeof options2 === "function") {
|
|
78749
78749
|
options2 = {};
|
|
78750
78750
|
}
|
|
78751
|
-
function
|
|
78751
|
+
function parse7(expression2, options3) {
|
|
78752
78752
|
if (!options3) {
|
|
78753
78753
|
options3 = {};
|
|
78754
78754
|
}
|
|
@@ -78804,7 +78804,7 @@ var require_expression = __commonJS((exports, module) => {
|
|
|
78804
78804
|
return val2;
|
|
78805
78805
|
}
|
|
78806
78806
|
}
|
|
78807
|
-
return
|
|
78807
|
+
return parse7(expression, options2);
|
|
78808
78808
|
};
|
|
78809
78809
|
CronExpression.fieldsToExpression = function fieldsToExpression(fields, options2) {
|
|
78810
78810
|
function validateConstraints(field2, values4, constraints) {
|
|
@@ -80478,7 +80478,7 @@ var require_sandbox = __commonJS((exports) => {
|
|
|
80478
80478
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
80479
80479
|
var enums_1 = require_enums();
|
|
80480
80480
|
var sandbox3 = (processFile, childPool) => {
|
|
80481
|
-
return async function
|
|
80481
|
+
return async function process2(job, token) {
|
|
80482
80482
|
let child;
|
|
80483
80483
|
let msgHandler;
|
|
80484
80484
|
let exitHandler;
|
|
@@ -82361,7 +82361,7 @@ var require_redact = __commonJS((exports, module) => {
|
|
|
82361
82361
|
} = options2;
|
|
82362
82362
|
validatePaths(paths);
|
|
82363
82363
|
const pathStructure = buildPathStructure(paths);
|
|
82364
|
-
return function
|
|
82364
|
+
return function redact2(obj) {
|
|
82365
82365
|
if (strict2 && (obj === null || typeof obj !== "object")) {
|
|
82366
82366
|
if (obj === null || obj === undefined) {
|
|
82367
82367
|
return serialize ? serialize(obj) : obj;
|
package/dist/swarm-prompts.js
CHANGED
|
@@ -13922,7 +13922,7 @@ var require_is_extendable = __commonJS((exports, module) => {
|
|
|
13922
13922
|
// ../../node_modules/.bun/extend-shallow@2.0.1/node_modules/extend-shallow/index.js
|
|
13923
13923
|
var require_extend_shallow = __commonJS((exports, module) => {
|
|
13924
13924
|
var isObject2 = require_is_extendable();
|
|
13925
|
-
module.exports = function
|
|
13925
|
+
module.exports = function extend2(o) {
|
|
13926
13926
|
if (!isObject2(o)) {
|
|
13927
13927
|
o = {};
|
|
13928
13928
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm-plugin",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.2",
|
|
4
4
|
"description": "Multi-agent swarm coordination for OpenCode with learning capabilities, beads integration, and Agent Mail",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"minimatch": "^10.1.1",
|
|
71
71
|
"pino": "^9.6.0",
|
|
72
72
|
"pino-roll": "^1.3.0",
|
|
73
|
-
"swarm-mail": "
|
|
74
|
-
"swarm-queue": "
|
|
73
|
+
"swarm-mail": "1.11.2",
|
|
74
|
+
"swarm-queue": "0.1.0",
|
|
75
75
|
"yaml": "^2.8.2",
|
|
76
76
|
"zod": "4.1.8"
|
|
77
77
|
},
|