squadrant 0.17.0 → 0.17.1
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/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/plugin/skills/captain-ops/SKILL.md +50 -64
- package/plugin/skills/command-ops/SKILL.md +12 -20
- package/plugin/skills/karpathy-principles/SKILL.md +1 -1
- package/templates/captain.claude.md +9 -5
- package/templates/captain.generic.md +8 -3
- package/templates/command.claude.md +2 -2
- package/templates/crew.generic.md +1 -1
- package/templates/crew.opencode.md +1 -1
- package/templates/learnings.claude.md +1 -1
package/dist/index.js
CHANGED
|
@@ -16416,7 +16416,7 @@ function localAheadOfBase(runner, projectPath, base) {
|
|
|
16416
16416
|
function readFetchAgeMs(projectPath, now) {
|
|
16417
16417
|
try {
|
|
16418
16418
|
const stat2 = fs29.statSync(path31.join(projectPath, ".git", "FETCH_HEAD"));
|
|
16419
|
-
return now - stat2.mtime.getTime();
|
|
16419
|
+
return Math.max(0, now - stat2.mtime.getTime());
|
|
16420
16420
|
} catch {
|
|
16421
16421
|
return null;
|
|
16422
16422
|
}
|
|
@@ -16429,6 +16429,7 @@ function gatherLiveRepoState(projectPath, fallbackBaseBranch, tasks, runner = de
|
|
|
16429
16429
|
const ghInfo = gatherGhRepoInfo(runner, projectPath);
|
|
16430
16430
|
const baseBranch = ghInfo?.defaultBranch ?? fallbackBaseBranch;
|
|
16431
16431
|
const baseBranchSource = ghInfo ? "gh-api" : "local-fallback";
|
|
16432
|
+
const branchState = gatherBranchState(runner, projectPath, branch, baseBranch, detached, fetch2);
|
|
16432
16433
|
const fetchAgeMs = readFetchAgeMs(projectPath, now);
|
|
16433
16434
|
let aheadOfBase = 0;
|
|
16434
16435
|
let aheadOfBaseSource = "unknown";
|
|
@@ -16478,7 +16479,7 @@ function gatherLiveRepoState(projectPath, fallbackBaseBranch, tasks, runner = de
|
|
|
16478
16479
|
openPRs: gatherOpenPRs(runner, projectPath),
|
|
16479
16480
|
liveCrews: gatherLiveCrews(tasks),
|
|
16480
16481
|
conflicts,
|
|
16481
|
-
branchState
|
|
16482
|
+
branchState,
|
|
16482
16483
|
unreleasedAheadOfReleaseBranch
|
|
16483
16484
|
};
|
|
16484
16485
|
}
|