@schoolai/shipyard 3.29.0 → 3.30.0-rc.20260912.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.
Files changed (34) hide show
  1. package/dist/capability-detector-worker.js +5 -5
  2. package/dist/{chunk-CDOIPKD6.js → chunk-D7AICUJM.js} +2 -2
  3. package/dist/{chunk-HIGCNT53.js → chunk-FARMJBC7.js} +3 -3
  4. package/dist/chunk-FARMJBC7.js.map +1 -0
  5. package/dist/{chunk-IJGA4YA3.js → chunk-J2QE7DS3.js} +2 -2
  6. package/dist/{chunk-3NS2YSRP.js → chunk-JVE24NQT.js} +35 -8
  7. package/dist/{chunk-3NS2YSRP.js.map → chunk-JVE24NQT.js.map} +1 -1
  8. package/dist/{chunk-ASK7AIJM.js → chunk-QV5KC6S4.js} +11 -3
  9. package/dist/{chunk-ASK7AIJM.js.map → chunk-QV5KC6S4.js.map} +1 -1
  10. package/dist/{chunk-SR3T3EYE.js → chunk-RGVTFZDF.js} +3 -3
  11. package/dist/{chunk-SMGVXANE.js → chunk-SGFCXJJJ.js} +2 -2
  12. package/dist/{chunk-J5MLXWO5.js → chunk-WO5EM3BP.js} +2 -2
  13. package/dist/{chunk-CB35TLO4.js → chunk-ZDJEJI62.js} +2 -2
  14. package/dist/cursor-runner.js +3 -3
  15. package/dist/electron-utility.js +2 -2
  16. package/dist/index.js +4 -4
  17. package/dist/{login-D23INMXJ.js → login-6YTDDUP4.js} +3 -3
  18. package/dist/{plan-backfill-7OALHIQK.js → plan-backfill-5THORN4G.js} +4 -4
  19. package/dist/{serve-VBMV5LEN.js → serve-RFNU5ZMH.js} +261 -74
  20. package/dist/{serve-VBMV5LEN.js.map → serve-RFNU5ZMH.js.map} +1 -1
  21. package/dist/{skills-FSYFQ6FY.js → skills-BX2NZKPN.js} +3 -3
  22. package/dist/{start-NNW7R4M2.js → start-CTCJAB5U.js} +6 -6
  23. package/package.json +1 -1
  24. package/dist/chunk-HIGCNT53.js.map +0 -1
  25. /package/dist/{chunk-CDOIPKD6.js.map → chunk-D7AICUJM.js.map} +0 -0
  26. /package/dist/{chunk-IJGA4YA3.js.map → chunk-J2QE7DS3.js.map} +0 -0
  27. /package/dist/{chunk-SR3T3EYE.js.map → chunk-RGVTFZDF.js.map} +0 -0
  28. /package/dist/{chunk-SMGVXANE.js.map → chunk-SGFCXJJJ.js.map} +0 -0
  29. /package/dist/{chunk-J5MLXWO5.js.map → chunk-WO5EM3BP.js.map} +0 -0
  30. /package/dist/{chunk-CB35TLO4.js.map → chunk-ZDJEJI62.js.map} +0 -0
  31. /package/dist/{login-D23INMXJ.js.map → login-6YTDDUP4.js.map} +0 -0
  32. /package/dist/{plan-backfill-7OALHIQK.js.map → plan-backfill-5THORN4G.js.map} +0 -0
  33. /package/dist/{skills-FSYFQ6FY.js.map → skills-BX2NZKPN.js.map} +0 -0
  34. /package/dist/{start-NNW7R4M2.js.map → start-CTCJAB5U.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  detectSkills
4
- } from "./chunk-CB35TLO4.js";
4
+ } from "./chunk-ZDJEJI62.js";
5
5
  import {
6
6
  AUTH_STATUS_TIMEOUT_MS,
7
7
  BUFFER_OVERFLOW_MSG,
@@ -39,7 +39,7 @@ import {
39
39
  formatTaskFeedback,
40
40
  toRecord,
41
41
  toSdkContent
42
- } from "./chunk-IJGA4YA3.js";
42
+ } from "./chunk-J2QE7DS3.js";
43
43
  import {
44
44
  AGENT_IDS,
45
45
  AGENT_SYSTEM_CLAUDE_CODE,
@@ -55,7 +55,7 @@ import {
55
55
  claudeDisplayPricing,
56
56
  inflateToolResultContent,
57
57
  isImageMimeType
58
- } from "./chunk-ASK7AIJM.js";
58
+ } from "./chunk-QV5KC6S4.js";
59
59
  import {
60
60
  AnthropicAuthStatusSchema,
61
61
  CodexAuthStatusSchema,
@@ -63,7 +63,7 @@ import {
63
63
  DevinAuthStatusSchema,
64
64
  PermissionModeSchema,
65
65
  TESTED_CODEX_VERSION
66
- } from "./chunk-HIGCNT53.js";
66
+ } from "./chunk-FARMJBC7.js";
67
67
  import {
68
68
  logger
69
69
  } from "./chunk-FIE2FRIW.js";
@@ -5780,6 +5780,20 @@ var DEVIN_MODEL_CATALOG = withCapabilityTiers([
5780
5780
  function devinPermissionModeMap(mode) {
5781
5781
  return { kind: "devin", mode };
5782
5782
  }
5783
+ function devinAcpModeId(mode) {
5784
+ switch (mode) {
5785
+ case "default":
5786
+ return "accept-edits";
5787
+ case "accept-edits":
5788
+ return "accept-edits";
5789
+ case "auto":
5790
+ return "smart";
5791
+ case "plan":
5792
+ return "plan";
5793
+ case "bypass":
5794
+ return "bypass";
5795
+ }
5796
+ }
5783
5797
 
5784
5798
  // src/services/session/profiles/devin-profile.ts
5785
5799
  function adapterOwned(field2) {
@@ -8436,7 +8450,7 @@ async function runDetectCapabilitiesBody({
8436
8450
  timeoutMs: DEFAULT_DETECTOR_TIMEOUT_MS
8437
8451
  })
8438
8452
  );
8439
- const [models, environments, authResult, codexAuthResult] = await Promise.all([
8453
+ const [models, environments, authResult, codexAuthResult, devinAuthResult] = await Promise.all([
8440
8454
  bootstrapPhase(
8441
8455
  "detect_models",
8442
8456
  () => withDetectorTimeout({
@@ -8464,7 +8478,16 @@ async function runDetectCapabilitiesBody({
8464
8478
  timeoutMs: DEFAULT_DETECTOR_TIMEOUT_MS
8465
8479
  })
8466
8480
  ),
8467
- bootstrapPhase("detect_codex_auth", () => detectCodexAuth(codexMethodHint))
8481
+ bootstrapPhase("detect_codex_auth", () => detectCodexAuth(codexMethodHint)),
8482
+ bootstrapPhase(
8483
+ "detect_devin_auth",
8484
+ () => withDetectorTimeout({
8485
+ name: "detect_devin_auth",
8486
+ run: () => detectDevinAuth(),
8487
+ fallback: { kind: "preserved", reason: "timeout" },
8488
+ timeoutMs: DEFAULT_DETECTOR_TIMEOUT_MS
8489
+ })
8490
+ )
8468
8491
  ]);
8469
8492
  const [mcpServers, skills, commands, marketplacePlugins, autoModeEnabled, graphite, commonDirs] = await Promise.all([
8470
8493
  bootstrapPhase(
@@ -8557,6 +8580,7 @@ async function runDetectCapabilitiesBody({
8557
8580
  };
8558
8581
  }
8559
8582
  const codexAuth = resolveCodexAuth(codexAuthResult, lastKnownCodexAuth);
8583
+ const devinAuth = devinAuthResult.kind === "preserved" ? void 0 : devinAuthResult.auth;
8560
8584
  return {
8561
8585
  models,
8562
8586
  environments,
@@ -8566,6 +8590,7 @@ async function runDetectCapabilitiesBody({
8566
8590
  commonDirs,
8567
8591
  anthropicAuth,
8568
8592
  codexAuth,
8593
+ devinAuth,
8569
8594
  /**
8570
8595
  * Boot-time snapshot only includes profiles whose detectors are
8571
8596
  * wired here (anthropic + codex). Cursor's auth-detector requires
@@ -8575,7 +8600,8 @@ async function runDetectCapabilitiesBody({
8575
8600
  */
8576
8601
  runtimeAuth: buildRuntimeAuthMapFromSnapshot({
8577
8602
  "claude-code": anthropicAuth,
8578
- codex: codexAuth
8603
+ codex: codexAuth,
8604
+ devin: devinAuth
8579
8605
  }),
8580
8606
  mcpServers,
8581
8607
  skills,
@@ -8757,6 +8783,7 @@ export {
8757
8783
  resolveDevinBinary,
8758
8784
  detectDevinAuth,
8759
8785
  buildDevinPrompt,
8786
+ devinAcpModeId,
8760
8787
  devinProfile,
8761
8788
  profileRegistry,
8762
8789
  registerBuiltInProfiles,
@@ -8827,4 +8854,4 @@ export {
8827
8854
  refreshInstalledAgents,
8828
8855
  refreshCodexAuthSlice
8829
8856
  };
8830
- //# sourceMappingURL=chunk-3NS2YSRP.js.map
8857
+ //# sourceMappingURL=chunk-JVE24NQT.js.map