@rallycry/conveyor-agent 4.0.0 → 4.0.1
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/{chunk-Y4TAVPZV.js → chunk-Q2LN2YBW.js} +140 -36
- package/dist/chunk-Q2LN2YBW.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-Y4TAVPZV.js.map +0 -1
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ declare class AgentRunner {
|
|
|
41
41
|
private lastQueryModeRestart;
|
|
42
42
|
private deferredStartConfig;
|
|
43
43
|
private startCommandStarted;
|
|
44
|
+
private idleTimer;
|
|
45
|
+
private idleCheckInterval;
|
|
44
46
|
private static readonly MAX_SETUP_LOG_LINES;
|
|
45
47
|
constructor(config: AgentRunnerConfig, callbacks: AgentRunnerCallbacks);
|
|
46
48
|
get state(): AgentRunnerStatus;
|
|
@@ -52,6 +54,7 @@ declare class AgentRunner {
|
|
|
52
54
|
private setState;
|
|
53
55
|
private startHeartbeat;
|
|
54
56
|
private stopHeartbeat;
|
|
57
|
+
private clearIdleTimers;
|
|
55
58
|
start(): Promise<void>;
|
|
56
59
|
private runQuerySafe;
|
|
57
60
|
private runCoreLoop;
|
|
@@ -115,7 +118,7 @@ declare class ConveyorConnection {
|
|
|
115
118
|
private pendingQuestionResolvers;
|
|
116
119
|
constructor(config: AgentRunnerConfig);
|
|
117
120
|
connect(): Promise<void>;
|
|
118
|
-
fetchChatMessages(limit?: number): Promise<ChatMessageResponse[]>;
|
|
121
|
+
fetchChatMessages(limit?: number, taskId?: string): Promise<ChatMessageResponse[]>;
|
|
119
122
|
fetchTaskFiles(): Promise<TaskFileResponse[]>;
|
|
120
123
|
fetchTaskFile(fileId: string): Promise<TaskFileResponse>;
|
|
121
124
|
fetchTaskContext(): Promise<TaskContext>;
|
|
@@ -177,6 +180,9 @@ declare class ConveyorConnection {
|
|
|
177
180
|
childTaskId: string;
|
|
178
181
|
prNumber: number;
|
|
179
182
|
}>;
|
|
183
|
+
postChildChatMessage(childTaskId: string, content: string): Promise<void>;
|
|
184
|
+
updateChildStatus(childTaskId: string, status: string): Promise<void>;
|
|
185
|
+
stopChildBuild(childTaskId: string): Promise<void>;
|
|
180
186
|
fetchTask(slugOrId: string): Promise<TaskLookupResponse>;
|
|
181
187
|
updateTaskProperties(data: UpdateTaskPropertiesPayload): void;
|
|
182
188
|
listIcons(): Promise<IconListItem[]>;
|
package/dist/index.js
CHANGED