@tablation/crew 0.128.0 → 0.128.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/cli.js +8 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -13413,6 +13413,9 @@ var CREW_ENV = {
|
|
|
13413
13413
|
XDG_CACHE_HOME: `${CREW_PREFIX}/cache`,
|
|
13414
13414
|
npm_config_cache: `${CREW_PREFIX}/cache/npm`,
|
|
13415
13415
|
npm_config_store_dir: `${CREW_PREFIX}/pnpm-store`,
|
|
13416
|
+
// pnpm 11 ignores npm_config_store_dir and reads only this spelling (CREW-2973): without it `pnpm fetch`
|
|
13417
|
+
// at build time fills the builder's home store, and a run's offline install finds /opt/crew/pnpm-store empty.
|
|
13418
|
+
pnpm_config_store_dir: `${CREW_PREFIX}/pnpm-store`,
|
|
13416
13419
|
PNPM_HOME: `${CREW_PREFIX}/pnpm`,
|
|
13417
13420
|
// A run cannot reach the download host, so an in-run update attempt is only noise.
|
|
13418
13421
|
DISABLE_AUTOUPDATER: "1"
|
|
@@ -22584,6 +22587,7 @@ async function runPeriscopeIdlePass(d) {
|
|
|
22584
22587
|
if (decision.action === "none") continue;
|
|
22585
22588
|
if (decision.action === "refresh") {
|
|
22586
22589
|
await d.update(row.id, { last_activity_at: decision.lastActivityAt, expires_at: decision.expiresAt });
|
|
22590
|
+
d.recordActivity?.(row, decision.lastActivityAt, decision.expiresAt);
|
|
22587
22591
|
d.clear(periscopeIdleKey(t.tag));
|
|
22588
22592
|
result.refreshed++;
|
|
22589
22593
|
continue;
|
|
@@ -23703,6 +23707,10 @@ async function runOnePassUnguarded(o) {
|
|
|
23703
23707
|
listLive: () => tracker.liveShipPeriscopes(),
|
|
23704
23708
|
mtimeOf: newestWorktreeMtime,
|
|
23705
23709
|
update: (id, fields) => tracker.updatePeriscope(id, fields),
|
|
23710
|
+
recordActivity: (row, lastActivityAt, expiresAt) => {
|
|
23711
|
+
const sc = readPeriscopeSidecars(o.ship.stateDir).find((s) => s.ticketRecordId === row.issue_id);
|
|
23712
|
+
if (sc) writePeriscopeSidecar(o.ship.stateDir, { ...sc, lastActivityAt, expiresAt });
|
|
23713
|
+
},
|
|
23706
23714
|
ticketOf: async (row) => {
|
|
23707
23715
|
const t = await tracker.ticket(row.issue_id);
|
|
23708
23716
|
return {
|
package/package.json
CHANGED