@schoolai/shipyard 3.28.0 → 3.29.0-rc.20260905.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 (32) hide show
  1. package/dist/capability-detector-worker.js +4 -4
  2. package/dist/{chunk-HJXABEEV.js → chunk-4STNC5NO.js} +2 -2
  3. package/dist/{chunk-XUDNZERJ.js → chunk-55ZQ4RW6.js} +2 -2
  4. package/dist/{chunk-GBMR7R3J.js → chunk-73WBQO4T.js} +33 -2
  5. package/dist/{chunk-GBMR7R3J.js.map → chunk-73WBQO4T.js.map} +1 -1
  6. package/dist/{chunk-KKWHJ3BN.js → chunk-FNZ7OWSZ.js} +2 -2
  7. package/dist/{chunk-P56H5RCU.js → chunk-HBQHLK4G.js} +19 -4
  8. package/dist/chunk-HBQHLK4G.js.map +1 -0
  9. package/dist/{chunk-PS5MSEV6.js → chunk-NZKLLFRA.js} +3 -3
  10. package/dist/chunk-NZKLLFRA.js.map +1 -0
  11. package/dist/{chunk-JMXLEJCV.js → chunk-WO4YQPLB.js} +516 -14
  12. package/dist/chunk-WO4YQPLB.js.map +1 -0
  13. package/dist/{chunk-GUD5HUAM.js → chunk-Z42EKCC5.js} +3 -3
  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-5XG2GCJN.js → login-4SAAPONQ.js} +3 -3
  18. package/dist/{plan-backfill-RTYIZRZW.js → plan-backfill-QJUIVGRP.js} +4 -4
  19. package/dist/{serve-HNZN47KN.js → serve-363X4ZEK.js} +3972 -682
  20. package/dist/{serve-HNZN47KN.js.map → serve-363X4ZEK.js.map} +1 -1
  21. package/dist/{start-BCGXIN7G.js → start-EQEQRDOZ.js} +6 -6
  22. package/package.json +2 -1
  23. package/dist/chunk-JMXLEJCV.js.map +0 -1
  24. package/dist/chunk-P56H5RCU.js.map +0 -1
  25. package/dist/chunk-PS5MSEV6.js.map +0 -1
  26. /package/dist/{chunk-HJXABEEV.js.map → chunk-4STNC5NO.js.map} +0 -0
  27. /package/dist/{chunk-XUDNZERJ.js.map → chunk-55ZQ4RW6.js.map} +0 -0
  28. /package/dist/{chunk-KKWHJ3BN.js.map → chunk-FNZ7OWSZ.js.map} +0 -0
  29. /package/dist/{chunk-GUD5HUAM.js.map → chunk-Z42EKCC5.js.map} +0 -0
  30. /package/dist/{login-5XG2GCJN.js.map → login-4SAAPONQ.js.map} +0 -0
  31. /package/dist/{plan-backfill-RTYIZRZW.js.map → plan-backfill-QJUIVGRP.js.map} +0 -0
  32. /package/dist/{start-BCGXIN7G.js.map → start-EQEQRDOZ.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  detectCapabilities,
4
4
  refreshMcpServers,
5
5
  registerBuiltInProfiles
6
- } from "./chunk-P56H5RCU.js";
6
+ } from "./chunk-HBQHLK4G.js";
7
7
  import "./chunk-WTDP35C7.js";
8
8
  import {
9
9
  getRepoMetadata
@@ -15,9 +15,9 @@ import {
15
15
  import "./chunk-RR6V6SNM.js";
16
16
  import "./chunk-EKDLDBWX.js";
17
17
  import "./chunk-ZFKJAYAN.js";
18
- import "./chunk-XUDNZERJ.js";
19
- import "./chunk-JMXLEJCV.js";
20
- import "./chunk-PS5MSEV6.js";
18
+ import "./chunk-55ZQ4RW6.js";
19
+ import "./chunk-WO4YQPLB.js";
20
+ import "./chunk-NZKLLFRA.js";
21
21
  import "./chunk-EHQITHQX.js";
22
22
  import "./chunk-X3MULCV5.js";
23
23
  import {
@@ -15,7 +15,7 @@ import {
15
15
  DevicePollResponseSchema,
16
16
  DeviceStartResponseSchema,
17
17
  ROUTES
18
- } from "./chunk-PS5MSEV6.js";
18
+ } from "./chunk-NZKLLFRA.js";
19
19
  import {
20
20
  isDevMode,
21
21
  validateEnv
@@ -223,4 +223,4 @@ export {
223
223
  ensureAuthenticated,
224
224
  loginCommand
225
225
  };
226
- //# sourceMappingURL=chunk-HJXABEEV.js.map
226
+ //# sourceMappingURL=chunk-4STNC5NO.js.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  isImageMimeType,
4
4
  parseAssetUri
5
- } from "./chunk-JMXLEJCV.js";
5
+ } from "./chunk-WO4YQPLB.js";
6
6
  import {
7
7
  assertNever
8
8
  } from "./chunk-X3MULCV5.js";
@@ -588,4 +588,4 @@ export {
588
588
  toRecord,
589
589
  buildCursorUserPrompt
590
590
  };
591
- //# sourceMappingURL=chunk-XUDNZERJ.js.map
591
+ //# sourceMappingURL=chunk-55ZQ4RW6.js.map
@@ -31,7 +31,7 @@ import {
31
31
  parseShipyardDeliverableUrl,
32
32
  planEditorSerializer,
33
33
  toTaskIndexEntry
34
- } from "./chunk-JMXLEJCV.js";
34
+ } from "./chunk-WO4YQPLB.js";
35
35
  import {
36
36
  assertNever
37
37
  } from "./chunk-X3MULCV5.js";
@@ -34221,6 +34221,7 @@ function buildOptionalFields(params) {
34221
34221
  const {
34222
34222
  scheduleId,
34223
34223
  scheduleName,
34224
+ automationRunId,
34224
34225
  appliedTemplateId,
34225
34226
  initialOverlay,
34226
34227
  reviewSectionId,
@@ -34232,6 +34233,8 @@ function buildOptionalFields(params) {
34232
34233
  return {
34233
34234
  ...scheduleId ? { scheduleId } : {},
34234
34235
  ...scheduleName ? { scheduleName } : {},
34236
+ ...automationRunId ? { automationRunId } : {},
34237
+ ...automationRunId ? { automationProjectionEligible: true } : {},
34235
34238
  ...appliedTemplateId ? { appliedTemplateId } : {},
34236
34239
  ...initialOverlay ? { taskOverlay: initialOverlay } : {},
34237
34240
  ...reviewSectionId ? { reviewSectionId } : {},
@@ -34432,6 +34435,34 @@ function buildTaskStateStore(dataDir) {
34432
34435
  async updateTaskStatus(taskId, status, options) {
34433
34436
  await safeUpdate(taskId, (task) => applyStatusTransition(task, status, Date.now()), options);
34434
34437
  },
34438
+ async updateAutomationProjectionEligibility(taskId, eligible) {
34439
+ await safeUpdate(
34440
+ taskId,
34441
+ (task) => ({
34442
+ ...task,
34443
+ automationProjectionEligible: eligible,
34444
+ updatedAt: Date.now()
34445
+ }),
34446
+ void 0
34447
+ );
34448
+ },
34449
+ async completeAutomationProjection(taskId, projectSynchronously) {
34450
+ let disposition = "ineligible";
34451
+ await store.update(taskId, (task) => {
34452
+ if (task.automationProjectionEligible !== true) return task;
34453
+ if (task.status === "canceled") {
34454
+ disposition = "explicitly-stopped";
34455
+ return task;
34456
+ }
34457
+ if (task.status !== "input_required") return task;
34458
+ disposition = projectSynchronously();
34459
+ if (disposition !== "projected") return task;
34460
+ const next = applyStatusTransition(task, "completed", Date.now());
34461
+ _broadcastIntent.set(next, true);
34462
+ return next;
34463
+ });
34464
+ return disposition;
34465
+ },
34435
34466
  async updateTitle(taskId, title, options) {
34436
34467
  const now = Date.now();
34437
34468
  await safeUpdate(
@@ -34847,4 +34878,4 @@ export {
34847
34878
  runPlanBackfill,
34848
34879
  buildTaskStateStore
34849
34880
  };
34850
- //# sourceMappingURL=chunk-GBMR7R3J.js.map
34881
+ //# sourceMappingURL=chunk-73WBQO4T.js.map