@rallycry/conveyor-agent 5.11.0 → 5.12.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.
package/dist/cli.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  ProjectRunner,
5
5
  createServiceLogger,
6
6
  errorMeta
7
- } from "./chunk-LBEAK2VJ.js";
7
+ } from "./chunk-SQJJL2PU.js";
8
8
 
9
9
  // src/cli.ts
10
10
  import { readFileSync } from "fs";
package/dist/index.d.ts CHANGED
@@ -91,6 +91,7 @@ declare class ProjectRunner {
91
91
  private heartbeatTimer;
92
92
  private stopping;
93
93
  private resolveLifecycle;
94
+ private chatSessionIds;
94
95
  private startCommandChild;
95
96
  private startCommandRunning;
96
97
  private setupComplete;
@@ -208,6 +209,7 @@ declare class ConveyorConnection {
208
209
  generateTaskIcon(prompt: string, aspectRatio?: "auto" | "portrait" | "landscape" | "square"): Promise<GenerateIconResponse>;
209
210
  getTaskProperties(): Promise<TaskPropertiesResponse>;
210
211
  triggerIdentification(): Promise<TriggerIdentificationResponse>;
212
+ refreshAuthToken(): Promise<boolean>;
211
213
  emitModeTransition(payload: ModeTransitionPayload): void;
212
214
  searchIncidents(status?: string, source?: string): Promise<IncidentDTO[]>;
213
215
  getTaskIncidents(taskId?: string): Promise<TaskIncidentDTO[]>;
@@ -234,6 +236,7 @@ interface TaskAssignment {
234
236
  interface IncomingChatMessage {
235
237
  content: string;
236
238
  userId: string;
239
+ chatId?: string;
237
240
  files?: {
238
241
  id: string;
239
242
  fileName: string;
@@ -314,7 +317,40 @@ declare class ProjectConnection {
314
317
  emitChatMessage(content: string): Promise<void>;
315
318
  emitAgentStatus(status: string): void;
316
319
  fetchAgentContext(): Promise<AgentContext | null>;
317
- fetchChatHistory(limit?: number): Promise<ChatHistoryMessage[]>;
320
+ fetchChatHistory(limit?: number, chatId?: string): Promise<ChatHistoryMessage[]>;
321
+ requestListTasks(params: {
322
+ status?: string;
323
+ assigneeId?: string;
324
+ limit?: number;
325
+ }): Promise<unknown[]>;
326
+ requestGetTask(taskId: string): Promise<unknown>;
327
+ requestCreateTask(params: {
328
+ title: string;
329
+ description?: string;
330
+ plan?: string;
331
+ status?: string;
332
+ isBug?: boolean;
333
+ }): Promise<{
334
+ id: string;
335
+ slug: string;
336
+ }>;
337
+ requestUpdateTask(params: {
338
+ taskId: string;
339
+ title?: string;
340
+ description?: string;
341
+ plan?: string;
342
+ status?: string;
343
+ assignedUserId?: string | null;
344
+ }): Promise<unknown>;
345
+ requestSearchTasks(params: {
346
+ tagNames?: string[];
347
+ searchQuery?: string;
348
+ statusFilters?: string[];
349
+ limit?: number;
350
+ }): Promise<unknown[]>;
351
+ requestListTags(): Promise<unknown[]>;
352
+ requestGetProjectSummary(): Promise<unknown>;
353
+ private requestWithCallback;
318
354
  emitNewCommitsDetected(data: {
319
355
  branch: string;
320
356
  commitCount: number;
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  removeWorktree,
10
10
  runSetupCommand,
11
11
  runStartCommand
12
- } from "./chunk-LBEAK2VJ.js";
12
+ } from "./chunk-SQJJL2PU.js";
13
13
  export {
14
14
  AgentRunner,
15
15
  ConveyorConnection,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rallycry/conveyor-agent",
3
- "version": "5.11.0",
3
+ "version": "5.12.0",
4
4
  "description": "Conveyor cloud build agent runner - executes task plans inside GitHub Codespaces",
5
5
  "keywords": [
6
6
  "agent",