@schoolai/shipyard 3.9.1 → 3.10.0-rc.20260609.0
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/{auth-UF3MLB77.js → auth-GGM253LQ.js} +3 -3
- package/dist/capability-detector-worker.js +9 -9
- package/dist/{chunk-LBTLMT5Z.js → chunk-2EQOL57Z.js} +2 -2
- package/dist/{chunk-CVMNGYPR.js → chunk-3WEEGJJN.js} +2 -2
- package/dist/{chunk-DGX2QR6G.js → chunk-4PBXNWJV.js} +26 -3
- package/dist/chunk-4PBXNWJV.js.map +1 -0
- package/dist/{chunk-K3QG7S6V.js → chunk-4THTCNVI.js} +4 -4
- package/dist/{chunk-K3QG7S6V.js.map → chunk-4THTCNVI.js.map} +1 -1
- package/dist/{chunk-7OD3UJUP.js → chunk-6LINHACK.js} +29 -9
- package/dist/chunk-6LINHACK.js.map +1 -0
- package/dist/{chunk-APVDHUPT.js → chunk-AEUTFH76.js} +28 -4
- package/dist/chunk-AEUTFH76.js.map +1 -0
- package/dist/{chunk-WYP4NTFE.js → chunk-GM6MH4CD.js} +2 -2
- package/dist/{chunk-G7W4GFUC.js → chunk-IJHF4OM4.js} +2 -2
- package/dist/{chunk-2I5XDMUD.js → chunk-KRX7OJER.js} +5 -5
- package/dist/{chunk-7AB4NH6T.js → chunk-Q2HUVPOL.js} +38 -10
- package/dist/chunk-Q2HUVPOL.js.map +1 -0
- package/dist/{chunk-3SXIJEPM.js → chunk-QJP7JCIS.js} +31 -13
- package/dist/chunk-QJP7JCIS.js.map +1 -0
- package/dist/{chunk-MCDZOOAI.js → chunk-RW2OTTUA.js} +50 -15
- package/dist/chunk-RW2OTTUA.js.map +1 -0
- package/dist/{chunk-AVF7LE7Q.js → chunk-WMOR5Q6C.js} +181 -23
- package/dist/chunk-WMOR5Q6C.js.map +1 -0
- package/dist/{chunk-MLEGFDFW.js → chunk-Z37T5W6S.js} +13 -2
- package/dist/chunk-Z37T5W6S.js.map +1 -0
- package/dist/cursor-runner.js +4 -4
- package/dist/electron-utility.js +5 -5
- package/dist/{git-repo-723BKZIH.js → git-repo-QNGPCJLI.js} +6 -4
- package/dist/index.js +8 -8
- package/dist/{logger-KICM6IPJ.js → logger-2F3CBS3V.js} +7 -5
- package/dist/{login-OKFUEGZW.js → login-NZKH63H7.js} +7 -7
- package/dist/{logout-5RGCOHCI.js → logout-HY3MPOY5.js} +5 -5
- package/dist/{mcp-servers-CAUI2K5W.js → mcp-servers-ICHOWXZB.js} +4 -4
- package/dist/{roi-Q3BQLIO7.js → roi-YM5OOWHG.js} +3 -3
- package/dist/{serve-76X367VD.js → serve-FJT6POBH.js} +64212 -62725
- package/dist/{serve-76X367VD.js.map → serve-FJT6POBH.js.map} +1 -1
- package/dist/{skills-YEZJMAPT.js → skills-W2Y6TWHA.js} +2 -2
- package/dist/{start-QOGAKRUP.js → start-MD62XHS6.js} +11 -10
- package/dist/{start-QOGAKRUP.js.map → start-MD62XHS6.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-3SXIJEPM.js.map +0 -1
- package/dist/chunk-7AB4NH6T.js.map +0 -1
- package/dist/chunk-7OD3UJUP.js.map +0 -1
- package/dist/chunk-APVDHUPT.js.map +0 -1
- package/dist/chunk-AVF7LE7Q.js.map +0 -1
- package/dist/chunk-DGX2QR6G.js.map +0 -1
- package/dist/chunk-MCDZOOAI.js.map +0 -1
- package/dist/chunk-MLEGFDFW.js.map +0 -1
- /package/dist/{auth-UF3MLB77.js.map → auth-GGM253LQ.js.map} +0 -0
- /package/dist/{chunk-LBTLMT5Z.js.map → chunk-2EQOL57Z.js.map} +0 -0
- /package/dist/{chunk-CVMNGYPR.js.map → chunk-3WEEGJJN.js.map} +0 -0
- /package/dist/{chunk-WYP4NTFE.js.map → chunk-GM6MH4CD.js.map} +0 -0
- /package/dist/{chunk-G7W4GFUC.js.map → chunk-IJHF4OM4.js.map} +0 -0
- /package/dist/{chunk-2I5XDMUD.js.map → chunk-KRX7OJER.js.map} +0 -0
- /package/dist/{git-repo-723BKZIH.js.map → git-repo-QNGPCJLI.js.map} +0 -0
- /package/dist/{logger-KICM6IPJ.js.map → logger-2F3CBS3V.js.map} +0 -0
- /package/dist/{login-OKFUEGZW.js.map → login-NZKH63H7.js.map} +0 -0
- /package/dist/{logout-5RGCOHCI.js.map → logout-HY3MPOY5.js.map} +0 -0
- /package/dist/{mcp-servers-CAUI2K5W.js.map → mcp-servers-ICHOWXZB.js.map} +0 -0
- /package/dist/{roi-Q3BQLIO7.js.map → roi-YM5OOWHG.js.map} +0 -0
- /package/dist/{skills-YEZJMAPT.js.map → skills-W2Y6TWHA.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
run,
|
|
11
11
|
runWithTimeout,
|
|
12
12
|
truncateDiff
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6LINHACK.js";
|
|
14
14
|
import {
|
|
15
15
|
gitExecSafe
|
|
16
16
|
} from "./chunk-4T2OQAVL.js";
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
CODEX_RUNTIME_ID,
|
|
20
20
|
CURSOR_RUNTIME_ID,
|
|
21
21
|
detectMCPServers
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RW2OTTUA.js";
|
|
23
23
|
import {
|
|
24
24
|
isEnoent
|
|
25
25
|
} from "./chunk-RR6V6SNM.js";
|
|
26
26
|
import {
|
|
27
27
|
detectSkills
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2EQOL57Z.js";
|
|
29
29
|
import {
|
|
30
30
|
createOneShotPool
|
|
31
31
|
} from "./chunk-ZFKJAYAN.js";
|
|
@@ -48,21 +48,21 @@ import {
|
|
|
48
48
|
isImageMimeType,
|
|
49
49
|
toRecord,
|
|
50
50
|
toSdkContent
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-WMOR5Q6C.js";
|
|
52
52
|
import {
|
|
53
53
|
AnthropicAuthStatusSchema,
|
|
54
54
|
CodexAuthStatusSchema,
|
|
55
55
|
CursorAuthStatusSchema,
|
|
56
56
|
PermissionModeSchema
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-4PBXNWJV.js";
|
|
58
58
|
import {
|
|
59
59
|
logger
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-QJP7JCIS.js";
|
|
61
61
|
import {
|
|
62
62
|
getShipyardHome,
|
|
63
63
|
resolveNodeExecPath,
|
|
64
64
|
validateEnv
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-Z37T5W6S.js";
|
|
66
66
|
import {
|
|
67
67
|
external_exports
|
|
68
68
|
} from "./chunk-CNR7O5YH.js";
|
|
@@ -305,6 +305,7 @@ function decideCodexAuthRefresh(result, lastKnown) {
|
|
|
305
305
|
|
|
306
306
|
// src/shared/observability/bootstrap-phase.ts
|
|
307
307
|
var metricsSink = null;
|
|
308
|
+
var breadcrumbSink = null;
|
|
308
309
|
var accumulator = [];
|
|
309
310
|
var inFlightPhases = /* @__PURE__ */ new Set();
|
|
310
311
|
var startupBootStart = performance.now();
|
|
@@ -312,6 +313,9 @@ var startupCompleteEmitted = false;
|
|
|
312
313
|
function setBootstrapPhaseMetricsSink(sink) {
|
|
313
314
|
metricsSink = sink;
|
|
314
315
|
}
|
|
316
|
+
function setBootstrapPhaseBreadcrumbSink(sink) {
|
|
317
|
+
breadcrumbSink = sink;
|
|
318
|
+
}
|
|
315
319
|
function logInFlightPhasesAsKilled() {
|
|
316
320
|
const now = performance.now();
|
|
317
321
|
const snapshot = [...inFlightPhases];
|
|
@@ -338,6 +342,7 @@ async function bootstrapPhase(name, fn) {
|
|
|
338
342
|
const tracker = { name, start };
|
|
339
343
|
inFlightPhases.add(tracker);
|
|
340
344
|
safeLog("info", { event: "bootstrap_phase_start", phase: name });
|
|
345
|
+
safeRecordBreadcrumb(name);
|
|
341
346
|
try {
|
|
342
347
|
const result = await fn();
|
|
343
348
|
if (!inFlightPhases.delete(tracker)) return result;
|
|
@@ -389,6 +394,13 @@ function emitStartupComplete() {
|
|
|
389
394
|
phases: accumulator
|
|
390
395
|
});
|
|
391
396
|
}
|
|
397
|
+
function getCurrentBootPhase() {
|
|
398
|
+
let latest;
|
|
399
|
+
for (const phase of inFlightPhases) latest = phase;
|
|
400
|
+
if (latest) return latest.name;
|
|
401
|
+
const last = accumulator.at(-1);
|
|
402
|
+
return last ? last.name : "unknown";
|
|
403
|
+
}
|
|
392
404
|
function safeLog(level, obj) {
|
|
393
405
|
try {
|
|
394
406
|
if (level === "info") logger.info(obj);
|
|
@@ -404,6 +416,14 @@ function safeEmit(eventType, payload) {
|
|
|
404
416
|
} catch {
|
|
405
417
|
}
|
|
406
418
|
}
|
|
419
|
+
function safeRecordBreadcrumb(phase) {
|
|
420
|
+
const sink = breadcrumbSink;
|
|
421
|
+
if (!sink) return;
|
|
422
|
+
try {
|
|
423
|
+
sink(phase);
|
|
424
|
+
} catch {
|
|
425
|
+
}
|
|
426
|
+
}
|
|
407
427
|
|
|
408
428
|
// src/shared/capabilities/effort-probe.ts
|
|
409
429
|
import { existsSync as existsSync2 } from "fs";
|
|
@@ -6344,6 +6364,10 @@ async function detectModels(lastKnown) {
|
|
|
6344
6364
|
}
|
|
6345
6365
|
return models;
|
|
6346
6366
|
}
|
|
6367
|
+
var PICKER_HIDDEN_MODEL_IDS = /* @__PURE__ */ new Set(["gpt-5.3-codex"]);
|
|
6368
|
+
function pickerVisibleModels(models) {
|
|
6369
|
+
return models.filter((model) => !PICKER_HIDDEN_MODEL_IDS.has(model.id));
|
|
6370
|
+
}
|
|
6347
6371
|
var INTENSITY_ORDER = [
|
|
6348
6372
|
"low",
|
|
6349
6373
|
"medium",
|
|
@@ -6380,7 +6404,9 @@ function toModelInfo(profile, model, efforts = model.supportedEfforts) {
|
|
|
6380
6404
|
};
|
|
6381
6405
|
}
|
|
6382
6406
|
function buildCatalogModelInfos() {
|
|
6383
|
-
return profileRegistry.list().flatMap(
|
|
6407
|
+
return profileRegistry.list().flatMap(
|
|
6408
|
+
(profile) => pickerVisibleModels(profile.models).map((model) => toModelInfo(profile, model))
|
|
6409
|
+
);
|
|
6384
6410
|
}
|
|
6385
6411
|
async function collectProfileModels(profile) {
|
|
6386
6412
|
let binaryPath = null;
|
|
@@ -6407,7 +6433,7 @@ async function collectProfileModels(profile) {
|
|
|
6407
6433
|
return probed.has(e);
|
|
6408
6434
|
});
|
|
6409
6435
|
};
|
|
6410
|
-
return profile.models.map(
|
|
6436
|
+
return pickerVisibleModels(profile.models).map(
|
|
6411
6437
|
(model) => toModelInfo(profile, model, filterEfforts(model.supportedEfforts))
|
|
6412
6438
|
);
|
|
6413
6439
|
}
|
|
@@ -7982,8 +8008,10 @@ export {
|
|
|
7982
8008
|
detectCodexAuth,
|
|
7983
8009
|
REFRESH_DEBOUNCE_MS,
|
|
7984
8010
|
setBootstrapPhaseMetricsSink,
|
|
8011
|
+
setBootstrapPhaseBreadcrumbSink,
|
|
7985
8012
|
bootstrapPhase,
|
|
7986
8013
|
emitStartupComplete,
|
|
8014
|
+
getCurrentBootPhase,
|
|
7987
8015
|
resolveClaudeBinaryPath,
|
|
7988
8016
|
getSupportedEfforts,
|
|
7989
8017
|
getSupportedEffortsSync,
|
|
@@ -8090,4 +8118,4 @@ export {
|
|
|
8090
8118
|
refreshInstalledAgents,
|
|
8091
8119
|
refreshCodexAuthSlice
|
|
8092
8120
|
};
|
|
8093
|
-
//# sourceMappingURL=chunk-
|
|
8121
|
+
//# sourceMappingURL=chunk-Q2HUVPOL.js.map
|