@nathapp/nax 0.63.0-canary.2 → 0.63.0-canary.3
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/nax.js +8 -4
- package/package.json +1 -1
package/dist/nax.js
CHANGED
|
@@ -32988,8 +32988,11 @@ function siblingTestPath(filePath) {
|
|
|
32988
32988
|
const srcMatch = filePath.match(/^src\/(.+)\.(ts|tsx|js|jsx)$/);
|
|
32989
32989
|
if (!srcMatch)
|
|
32990
32990
|
return null;
|
|
32991
|
+
const base = srcMatch[1] ?? "";
|
|
32992
|
+
if (base.endsWith(".test") || base.endsWith(".spec"))
|
|
32993
|
+
return null;
|
|
32991
32994
|
const ext = srcMatch[2] ?? "ts";
|
|
32992
|
-
return `test/unit/${
|
|
32995
|
+
return `test/unit/${base}.test.${ext}`;
|
|
32993
32996
|
}
|
|
32994
32997
|
async function collectNeighbors(filePath, workdir, extraGlobWorkdirs) {
|
|
32995
32998
|
const neighbors = new Set;
|
|
@@ -43430,7 +43433,7 @@ var package_default;
|
|
|
43430
43433
|
var init_package = __esm(() => {
|
|
43431
43434
|
package_default = {
|
|
43432
43435
|
name: "@nathapp/nax",
|
|
43433
|
-
version: "0.63.0-canary.
|
|
43436
|
+
version: "0.63.0-canary.3",
|
|
43434
43437
|
description: "AI Coding Agent Orchestrator \u2014 loops until done",
|
|
43435
43438
|
type: "module",
|
|
43436
43439
|
bin: {
|
|
@@ -43510,8 +43513,8 @@ var init_version = __esm(() => {
|
|
|
43510
43513
|
NAX_VERSION = package_default.version;
|
|
43511
43514
|
NAX_COMMIT = (() => {
|
|
43512
43515
|
try {
|
|
43513
|
-
if (/^[0-9a-f]{6,10}$/.test("
|
|
43514
|
-
return "
|
|
43516
|
+
if (/^[0-9a-f]{6,10}$/.test("d2af3ceb"))
|
|
43517
|
+
return "d2af3ceb";
|
|
43515
43518
|
} catch {}
|
|
43516
43519
|
try {
|
|
43517
43520
|
const result = Bun.spawnSync(["git", "rev-parse", "--short", "HEAD"], {
|
|
@@ -45198,6 +45201,7 @@ class SessionManager {
|
|
|
45198
45201
|
continue;
|
|
45199
45202
|
const updated = { ...session, state: "COMPLETED", lastActivityAt: now };
|
|
45200
45203
|
this._sessions.set(id, updated);
|
|
45204
|
+
this._persistDescriptor(updated);
|
|
45201
45205
|
closed.push({ ...updated });
|
|
45202
45206
|
getLogger().debug("session", "Session closed by closeStory", {
|
|
45203
45207
|
storyId,
|