aisnitch 0.2.0 → 0.2.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/dist/cli/index.cjs +34 -2
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +35 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6541,7 +6541,7 @@ async function canBindPort(port, host) {
|
|
|
6541
6541
|
}
|
|
6542
6542
|
async function resolveAvailablePort(requestedPort, options = {}) {
|
|
6543
6543
|
const host = options.host ?? "127.0.0.1";
|
|
6544
|
-
const maxAttempts = options.maxAttempts ??
|
|
6544
|
+
const maxAttempts = options.maxAttempts ?? 100;
|
|
6545
6545
|
for (let attempt = 0; attempt < maxAttempts; attempt += 1) {
|
|
6546
6546
|
const candidatePort = requestedPort + attempt;
|
|
6547
6547
|
const available = await canBindPort(candidatePort, host);
|
|
@@ -6744,7 +6744,7 @@ var import_ws = require("ws");
|
|
|
6744
6744
|
|
|
6745
6745
|
// src/package-info.ts
|
|
6746
6746
|
var AISNITCH_PACKAGE_NAME = "aisnitch";
|
|
6747
|
-
var AISNITCH_VERSION = "0.2.
|
|
6747
|
+
var AISNITCH_VERSION = "0.2.2";
|
|
6748
6748
|
var AISNITCH_DESCRIPTION = "Universal bridge for AI coding tool activity \u2014 capture, normalize, stream.";
|
|
6749
6749
|
function getPackageScaffoldInfo() {
|
|
6750
6750
|
return {
|