@schoolai/shipyard 3.20.0 → 3.21.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 (30) hide show
  1. package/dist/capability-detector-worker.js +4 -4
  2. package/dist/{chunk-QNEFPC4Y.js → chunk-4WCHE6BN.js} +2 -2
  3. package/dist/{chunk-SECZGRK2.js → chunk-55ODHVH2.js} +2 -2
  4. package/dist/{chunk-OBYRPZRA.js → chunk-COFAFGTA.js} +28 -46
  5. package/dist/chunk-COFAFGTA.js.map +1 -0
  6. package/dist/{chunk-FMHVDAJK.js → chunk-DDWNDIZI.js} +3 -3
  7. package/dist/{chunk-TJ4TMMMB.js → chunk-GWG6Q7LG.js} +2 -2
  8. package/dist/{chunk-TJ4TMMMB.js.map → chunk-GWG6Q7LG.js.map} +1 -1
  9. package/dist/{chunk-LYUR7G6B.js → chunk-JJ6TS3FZ.js} +2 -2
  10. package/dist/{chunk-MD32Y6U4.js → chunk-UTVOF3I4.js} +2 -2
  11. package/dist/{chunk-OC75AUKJ.js → chunk-XXTFMFS5.js} +2 -2
  12. package/dist/cursor-runner.js +3 -3
  13. package/dist/electron-utility.js +2 -2
  14. package/dist/index.js +4 -4
  15. package/dist/{login-VNZ6AQDV.js → login-FLLL5EZF.js} +3 -3
  16. package/dist/{plan-backfill-ZNL2YQP6.js → plan-backfill-STEWGDCN.js} +4 -4
  17. package/dist/{serve-WG7HQAYG.js → serve-7XWAHTBU.js} +111 -86
  18. package/dist/{serve-WG7HQAYG.js.map → serve-7XWAHTBU.js.map} +1 -1
  19. package/dist/{start-5VG7QWUR.js → start-Y4FEOM4Y.js} +6 -6
  20. package/package.json +2 -2
  21. package/dist/chunk-OBYRPZRA.js.map +0 -1
  22. /package/dist/{chunk-QNEFPC4Y.js.map → chunk-4WCHE6BN.js.map} +0 -0
  23. /package/dist/{chunk-SECZGRK2.js.map → chunk-55ODHVH2.js.map} +0 -0
  24. /package/dist/{chunk-FMHVDAJK.js.map → chunk-DDWNDIZI.js.map} +0 -0
  25. /package/dist/{chunk-LYUR7G6B.js.map → chunk-JJ6TS3FZ.js.map} +0 -0
  26. /package/dist/{chunk-MD32Y6U4.js.map → chunk-UTVOF3I4.js.map} +0 -0
  27. /package/dist/{chunk-OC75AUKJ.js.map → chunk-XXTFMFS5.js.map} +0 -0
  28. /package/dist/{login-VNZ6AQDV.js.map → login-FLLL5EZF.js.map} +0 -0
  29. /package/dist/{plan-backfill-ZNL2YQP6.js.map → plan-backfill-STEWGDCN.js.map} +0 -0
  30. /package/dist/{start-5VG7QWUR.js.map → start-Y4FEOM4Y.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  detectCapabilities,
4
4
  refreshMcpServers,
5
5
  registerBuiltInProfiles
6
- } from "./chunk-OBYRPZRA.js";
6
+ } from "./chunk-COFAFGTA.js";
7
7
  import "./chunk-TUQTEWK3.js";
8
8
  import {
9
9
  getRepoMetadata
@@ -15,9 +15,9 @@ import {
15
15
  import "./chunk-RR6V6SNM.js";
16
16
  import "./chunk-ESCSN2NN.js";
17
17
  import "./chunk-ZFKJAYAN.js";
18
- import "./chunk-LYUR7G6B.js";
19
- import "./chunk-OC75AUKJ.js";
20
- import "./chunk-TJ4TMMMB.js";
18
+ import "./chunk-JJ6TS3FZ.js";
19
+ import "./chunk-XXTFMFS5.js";
20
+ import "./chunk-GWG6Q7LG.js";
21
21
  import "./chunk-EHQITHQX.js";
22
22
  import "./chunk-X3MULCV5.js";
23
23
  import {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  getDaemonVersion
4
- } from "./chunk-FMHVDAJK.js";
4
+ } from "./chunk-DDWNDIZI.js";
5
5
  import {
6
6
  WorkerCommandCodec,
7
7
  WorkerReplyCodec
@@ -1116,4 +1116,4 @@ export {
1116
1116
  shutdownFileWatcherGuard,
1117
1117
  guardedSubscribe
1118
1118
  };
1119
- //# sourceMappingURL=chunk-QNEFPC4Y.js.map
1119
+ //# sourceMappingURL=chunk-4WCHE6BN.js.map
@@ -30,7 +30,7 @@ import {
30
30
  parseShipyardDeliverableUrl,
31
31
  planEditorSerializer,
32
32
  toTaskIndexEntry
33
- } from "./chunk-OC75AUKJ.js";
33
+ } from "./chunk-XXTFMFS5.js";
34
34
  import {
35
35
  assertNever
36
36
  } from "./chunk-X3MULCV5.js";
@@ -34719,4 +34719,4 @@ export {
34719
34719
  runPlanBackfill,
34720
34720
  buildTaskStateStore
34721
34721
  };
34722
- //# sourceMappingURL=chunk-SECZGRK2.js.map
34722
+ //# sourceMappingURL=chunk-55ODHVH2.js.map
@@ -38,7 +38,7 @@ import {
38
38
  formatTaskFeedback,
39
39
  toRecord,
40
40
  toSdkContent
41
- } from "./chunk-LYUR7G6B.js";
41
+ } from "./chunk-JJ6TS3FZ.js";
42
42
  import {
43
43
  AGENT_IDS,
44
44
  AGENT_SYSTEM_CLAUDE_CODE,
@@ -50,14 +50,14 @@ import {
50
50
  REASONING_EFFORTS,
51
51
  inflateToolResultContent,
52
52
  isImageMimeType
53
- } from "./chunk-OC75AUKJ.js";
53
+ } from "./chunk-XXTFMFS5.js";
54
54
  import {
55
55
  AnthropicAuthStatusSchema,
56
56
  CodexAuthStatusSchema,
57
57
  CursorAuthStatusSchema,
58
58
  PermissionModeSchema,
59
59
  TESTED_CODEX_VERSION
60
- } from "./chunk-TJ4TMMMB.js";
60
+ } from "./chunk-GWG6Q7LG.js";
61
61
  import {
62
62
  logger
63
63
  } from "./chunk-X53VIV2J.js";
@@ -1079,6 +1079,8 @@ function classifyMessage(message, log) {
1079
1079
  return { type: "rate_limit", info: toRateLimitInfo(message.rate_limit_info) };
1080
1080
  case "prompt_suggestion":
1081
1081
  return null;
1082
+ case "conversation_reset":
1083
+ return null;
1082
1084
  default: {
1083
1085
  const _exhaustive = message;
1084
1086
  log?.({ event: "unhandled_sdk_message_type", message: JSON.stringify(_exhaustive) });
@@ -1251,10 +1253,9 @@ function convertUserContent(content) {
1251
1253
 
1252
1254
  // src/services/session/profiles/model-capability-tiers.ts
1253
1255
  var MODEL_CAPABILITY_TIERS = {
1254
- "claude-opus-4-8": "frontier",
1256
+ "claude-opus-5": "frontier",
1255
1257
  "claude-fable-5": "frontier",
1256
1258
  "claude-sonnet-5": "strong",
1257
- "claude-haiku-4-5-20251001": "light",
1258
1259
  "gpt-5.6-sol": "frontier",
1259
1260
  "gpt-5.6-terra": "strong",
1260
1261
  "gpt-5.6-luna": "capable",
@@ -1442,35 +1443,35 @@ var claudeCodeProfile = {
1442
1443
  */
1443
1444
  models: withCapabilityTiers([
1444
1445
  {
1445
- id: "claude-opus-4-8",
1446
- nativeName: "claude-opus-4-8",
1447
- displayName: "Claude Opus 4.8",
1448
- description: "Most capable, sharper judgement, more honest progress reporting",
1449
- contextWindow: 1e6,
1450
- maxOutput: 128e3,
1451
1446
  /**
1452
- * `ultracode` is a synthetic Shipyard tier: `xhigh` effort + the SDK's
1453
- * Dynamic Workflows grant (`Settings.enableWorkflows`). It is NOT a
1454
- * `--effort` token the bundled CLI's `--effort` flag only accepts
1455
- * low/medium/high/xhigh/max, and the API only ever sees `xhigh`. Because
1456
- * it's synthetic it would be stripped by the binary-probe filter, so
1457
- * `filterEfforts` in capabilities/models.ts exempts it (gated on `xhigh`
1458
- * being probe-supported, since that's what it realizes as). The effort is
1459
- * coerced to `xhigh` and the workflow grant is carried via
1460
- * `enableWorkflows` see anthropic-adapter.ts. Anthropic recommends
1461
- * starting at `xhigh` (or `ultracode` when the agent should fan out).
1447
+ * Opus 5 is the new default Opus (Claude Code 2.1.219): 1M context, 128k
1448
+ * out, $5/$25 same price as Opus 4.8 for "greatly improved performance"
1449
+ * (anthropic.com/news/claude-opus-5). Supports all five API effort levels
1450
+ * (low/medium/high/xhigh/max) plus the Shipyard-synthetic `ultracode`
1451
+ * (xhigh + the SDK's Dynamic Workflows grant); Anthropic recommends starting
1452
+ * at `xhigh` for coding/agentic work. Fast Mode is the 2× premium tier ($10/$50).
1453
+ *
1454
+ * Behavioral note (adaptive-thinking layer, not this descriptor): thinking
1455
+ * is ON by default, and `thinking:{type:"disabled"}`
1456
+ * is rejected at `xhigh`/`max` effort (HTTP 400). Shipyard never disables
1457
+ * thinking on those tiers, so the default adaptive path is unaffected.
1458
+ * Sources: https://platform.claude.com/docs/en/about-claude/models/overview
1459
+ * and https://platform.claude.com/docs/en/build-with-claude/effort
1462
1460
  */
1461
+ id: "claude-opus-5",
1462
+ nativeName: "claude-opus-5",
1463
+ displayName: "Claude Opus 5",
1464
+ description: "For complex agentic coding and enterprise work",
1465
+ contextWindow: 1e6,
1466
+ maxOutput: 128e3,
1463
1467
  supportedEfforts: ["none", "low", "medium", "high", "xhigh", "ultracode", "max"],
1464
1468
  defaultEffort: "xhigh",
1465
- tagline: "Most capable, sharper judgement, more honest progress reporting",
1469
+ tagline: "For complex agentic coding and enterprise work",
1466
1470
  speedTier: "slow",
1467
1471
  costInputUsd: 5,
1468
1472
  costOutputUsd: 25,
1469
1473
  supportsFastMode: true,
1470
- /**
1471
- * Opus 4.8 Fast Mode uses the newer lower premium tier: 2× standard
1472
- * rates at `$10/M input, $50/M output`.
1473
- */
1474
+ /** Opus 5 Fast Mode: 2× standard rates ($10/M input, $50/M output). */
1474
1475
  fastModePricing: {
1475
1476
  costInputUsd: 10,
1476
1477
  costOutputUsd: 50
@@ -1540,25 +1541,6 @@ var claudeCodeProfile = {
1540
1541
  webSearch: true,
1541
1542
  vision: true
1542
1543
  }
1543
- },
1544
- {
1545
- id: "claude-haiku-4-5-20251001",
1546
- nativeName: "claude-haiku-4-5-20251001",
1547
- displayName: "Claude Haiku 4.5",
1548
- description: "Simple questions, boilerplate, rapid prototyping",
1549
- contextWindow: 2e5,
1550
- maxOutput: 64e3,
1551
- supportedEfforts: [],
1552
- tagline: "Simple questions, boilerplate, rapid prototyping",
1553
- speedTier: "fastest",
1554
- costInputUsd: 1,
1555
- costOutputUsd: 5,
1556
- capabilities: {
1557
- reasoning: false,
1558
- adaptiveThinking: false,
1559
- webSearch: true,
1560
- vision: true
1561
- }
1562
1544
  }
1563
1545
  ]),
1564
1546
  thinkingDescriptor: {
@@ -8281,4 +8263,4 @@ export {
8281
8263
  refreshInstalledAgents,
8282
8264
  refreshCodexAuthSlice
8283
8265
  };
8284
- //# sourceMappingURL=chunk-OBYRPZRA.js.map
8266
+ //# sourceMappingURL=chunk-COFAFGTA.js.map