@schoolai/shipyard 3.7.0-rc.20260511.0 → 3.7.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.
@@ -5,7 +5,7 @@ import {
5
5
  DevicePollResponseSchema,
6
6
  DeviceStartResponseSchema,
7
7
  ROUTES
8
- } from "./chunk-MWH2XTEM.js";
8
+ } from "./chunk-7AHRFPAL.js";
9
9
  import {
10
10
  print,
11
11
  printError
@@ -219,4 +219,4 @@ export {
219
219
  ensureAuthenticated,
220
220
  loginCommand
221
221
  };
222
- //# sourceMappingURL=chunk-NZIHQQRN.js.map
222
+ //# sourceMappingURL=chunk-LW2MS4T5.js.map
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ async function loadAuthFromConfig(env) {
101
101
  async function handleSubcommand() {
102
102
  const subcommand = process.argv[2];
103
103
  if (subcommand === "login") {
104
- const { loginCommand } = await import("./login-KRVJVD2U.js");
104
+ const { loginCommand } = await import("./login-L4BBPUYO.js");
105
105
  const hasCheck = process.argv.includes("--check");
106
106
  await loginCommand({ check: hasCheck });
107
107
  return true;
@@ -112,7 +112,7 @@ async function handleSubcommand() {
112
112
  return true;
113
113
  }
114
114
  if (subcommand === "start") {
115
- const { startCommand } = await import("./start-FGCDER5G.js");
115
+ const { startCommand } = await import("./start-IDFDHRD6.js");
116
116
  await startCommand();
117
117
  return true;
118
118
  }
@@ -129,7 +129,7 @@ async function main() {
129
129
  const args = parseCliArgs();
130
130
  if (args.serve) {
131
131
  await loadAuthFromConfig(env);
132
- const { serve } = await import("./serve-5GHTBELO.js");
132
+ const { serve } = await import("./serve-O53FNK64.js");
133
133
  return serve({ isDev: env.SHIPYARD_DEV });
134
134
  }
135
135
  logger.error("Use `shipyard start` to run the daemon. Use --help for usage.");
@@ -3,8 +3,8 @@ import {
3
3
  ensureAuthenticated,
4
4
  getSignalingUrl,
5
5
  loginCommand
6
- } from "./chunk-NZIHQQRN.js";
7
- import "./chunk-MWH2XTEM.js";
6
+ } from "./chunk-LW2MS4T5.js";
7
+ import "./chunk-7AHRFPAL.js";
8
8
  import "./chunk-EHQITHQX.js";
9
9
  import "./chunk-IISLTKYY.js";
10
10
  import "./chunk-2UN5AR7V.js";
@@ -17,4 +17,4 @@ export {
17
17
  getSignalingUrl,
18
18
  loginCommand
19
19
  };
20
- //# sourceMappingURL=login-KRVJVD2U.js.map
20
+ //# sourceMappingURL=login-L4BBPUYO.js.map
@@ -96,7 +96,7 @@ import {
96
96
  VaultKeyPutRequestSchema,
97
97
  VaultKeyPutResponseSchema,
98
98
  classifyClaudeCodeCompatibility
99
- } from "./chunk-MWH2XTEM.js";
99
+ } from "./chunk-7AHRFPAL.js";
100
100
  import "./chunk-EHQITHQX.js";
101
101
  import {
102
102
  createChildLogger,
@@ -29339,7 +29339,8 @@ var BrowserToDaemonControlMessageSchema = external_exports.discriminatedUnion("t
29339
29339
  requestId: external_exports.string(),
29340
29340
  query: external_exports.string(),
29341
29341
  limit: external_exports.number().int().positive().optional(),
29342
- includeReviews: external_exports.boolean().optional()
29342
+ includeReviews: external_exports.boolean().optional(),
29343
+ projectId: external_exports.string().optional()
29343
29344
  }),
29344
29345
  external_exports.object({ type: external_exports.literal("request_review_tasks") }),
29345
29346
  external_exports.object({
@@ -44386,7 +44387,8 @@ function routeMessage(msg, callbacks, sendControl, log) {
44386
44387
  requestId: msg.requestId,
44387
44388
  query: msg.query,
44388
44389
  limit: msg.limit,
44389
- includeReviews: msg.includeReviews ?? false
44390
+ includeReviews: msg.includeReviews ?? false,
44391
+ projectId: msg.projectId
44390
44392
  });
44391
44393
  break;
44392
44394
  case "request_review_tasks":
@@ -47726,8 +47728,12 @@ function runOnCloseCleanup(isLive, cleanup) {
47726
47728
  cleanup.liveOnly.deleteEpochEntry();
47727
47729
  }
47728
47730
  function runTaskSearch(args) {
47729
- const { daemon, controlHandler, logAdapter, requestId, query: query3, limit, includeReviews } = args;
47730
- daemon.taskStateStore.searchTasks(query3, { limit: limit ?? 100, includeReviews }).then(({ tasks, truncated }) => {
47731
+ const { daemon, controlHandler, logAdapter, requestId, query: query3, limit, includeReviews, projectId } = args;
47732
+ daemon.taskStateStore.searchTasks(query3, {
47733
+ limit: limit ?? 100,
47734
+ includeReviews,
47735
+ ...projectId !== void 0 && { projectId }
47736
+ }).then(({ tasks, truncated }) => {
47731
47737
  controlHandler.sendControl({
47732
47738
  type: "task_search_result",
47733
47739
  requestId,
@@ -123185,6 +123191,7 @@ function searchTasksCore(all, query3, opts) {
123185
123191
  for (const record of Object.values(all)) {
123186
123192
  if (record.archivedAt != null) continue;
123187
123193
  if (!opts.includeReviews && record.mode === "review") continue;
123194
+ if (opts.projectId !== void 0 && record.projectId !== opts.projectId) continue;
123188
123195
  if (qLower.length === 0) {
123189
123196
  candidates.push({ record, score: 0 });
123190
123197
  continue;
@@ -128012,4 +128019,4 @@ export {
128012
128019
  decideWorkspaceScope,
128013
128020
  serve
128014
128021
  };
128015
- //# sourceMappingURL=serve-5GHTBELO.js.map
128022
+ //# sourceMappingURL=serve-O53FNK64.js.map