@rallycry/conveyor-agent 10.13.16 → 10.13.17

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.
@@ -2313,6 +2313,29 @@ var GetProjectOnboardingStepRequestSchema = z4.object({
2313
2313
  var GetProjectConnectUrlsRequestSchema = z4.object({
2314
2314
  projectId: z4.string()
2315
2315
  });
2316
+ var conveyorCapabilitySchema = z4.enum([
2317
+ "read",
2318
+ "create",
2319
+ "update",
2320
+ "chat",
2321
+ "files",
2322
+ "build"
2323
+ ]);
2324
+ var GetConnectionContextRequestSchema = z4.object({
2325
+ projectId: z4.string(),
2326
+ // Optional board scope (CONVEYOR_SUBPROJECT_ID). Validated to belong to the
2327
+ // project in the handler; an invalid/foreign id is reported, not silently
2328
+ // dropped, so a mis-scoped connection is never presented as board-specific.
2329
+ subProjectId: z4.string().nullable().optional()
2330
+ });
2331
+ var VerifyConnectionRequestSchema = z4.object({
2332
+ projectId: z4.string(),
2333
+ subProjectId: z4.string().nullable().optional(),
2334
+ intendedActions: z4.array(conveyorCapabilitySchema).optional()
2335
+ });
2336
+ var ListAccessibleSubprojectsRequestSchema = z4.object({
2337
+ projectId: z4.string()
2338
+ });
2316
2339
  var CreateProjectTaskRequestSchema = z4.object({
2317
2340
  projectId: z4.string(),
2318
2341
  title: z4.string().min(1),
@@ -11181,6 +11204,7 @@ var SessionRunner = class _SessionRunner {
11181
11204
  }
11182
11205
  if (delivery === "prefill") {
11183
11206
  await this.setState("waiting_for_input");
11207
+ this.workspaceCommands?.notifyLoopReady();
11184
11208
  await this.callbacks.onEvent({ type: "execute_mode", mode: effectiveMode, delivery });
11185
11209
  if (this.pendingMessages.length > 0) {
11186
11210
  if (!this.stopped) await this.setState("idle");
@@ -11271,6 +11295,7 @@ var SessionRunner = class _SessionRunner {
11271
11295
  */
11272
11296
  async runPrefilledMessage(msg, effectiveMode) {
11273
11297
  await this.setState("waiting_for_input");
11298
+ this.workspaceCommands?.notifyLoopReady();
11274
11299
  await this.callbacks.onEvent({
11275
11300
  type: "execute_mode",
11276
11301
  mode: effectiveMode,
@@ -11555,6 +11580,7 @@ var SessionRunner = class _SessionRunner {
11555
11580
  return this.callbacks.onStatusChange(status);
11556
11581
  },
11557
11582
  onEvent: (event) => {
11583
+ this.workspaceCommands?.notifyLoopReady();
11558
11584
  if (event.type === "completed") {
11559
11585
  this.completedThisTurn = true;
11560
11586
  void this.connection.sendHeartbeat();
@@ -11810,4 +11836,4 @@ export {
11810
11836
  loadConveyorConfig,
11811
11837
  unshallowRepo
11812
11838
  };
11813
- //# sourceMappingURL=chunk-OW2TIDWZ.js.map
11839
+ //# sourceMappingURL=chunk-NI5L2R2N.js.map