@rallycry/conveyor-agent 4.3.0 → 4.5.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
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AgentRunner,
4
4
  ProjectRunner
5
- } from "./chunk-NUD2M24L.js";
5
+ } from "./chunk-7Y3RP3ZA.js";
6
6
 
7
7
  // src/cli.ts
8
8
  async function bootstrapFromCodespace(apiUrl) {
package/dist/index.d.ts CHANGED
@@ -39,40 +39,28 @@ declare class AgentRunner {
39
39
  private pendingModeRestart;
40
40
  private sessionIds;
41
41
  private lastQueryModeRestart;
42
- private deferredStartConfig;
43
42
  private startCommandStarted;
44
43
  private idleTimer;
45
44
  private idleCheckInterval;
46
- private static readonly MAX_SETUP_LOG_LINES;
45
+ private deferredStartConfig;
47
46
  constructor(config: AgentRunnerConfig, callbacks: AgentRunnerCallbacks);
48
47
  get state(): AgentRunnerStatus;
49
- /**
50
- * Resolve the effective AgentMode from explicit agentMode or legacy config flags.
51
- * This is the single axis of behavior for all execution path decisions.
52
- */
53
48
  private get effectiveAgentMode();
54
49
  private setState;
55
50
  private startHeartbeat;
56
51
  private stopHeartbeat;
57
52
  private clearIdleTimers;
58
53
  start(): Promise<void>;
54
+ private tryInitWorktree;
55
+ private fetchAndInitContext;
56
+ private tryPostContextWorktree;
57
+ private activateWorktree;
58
+ private checkoutWorktreeBranch;
59
+ private executeInitialMode;
59
60
  private runQuerySafe;
60
61
  private runCoreLoop;
61
- /**
62
- * Handle auto mode transition after ExitPlanMode.
63
- * Saves the current session, switches model/mode, and restarts with a fresh query.
64
- */
65
- private handleAutoModeRestart;
66
- /**
67
- * Get the appropriate model for a given mode.
68
- * Building uses the builder model (Sonnet), Discovery/Review use PM model (Opus).
69
- */
70
- private getModelForMode;
71
- private runSetupSafe;
62
+ private handleRunStartCommand;
72
63
  private logEffectiveSettings;
73
- private pushSetupLog;
74
- private executeSetupConfig;
75
- private runDeferredStartCommand;
76
64
  private injectHumanMessage;
77
65
  private waitForMessage;
78
66
  private waitForUserContent;
@@ -161,6 +149,7 @@ declare class ConveyorConnection {
161
149
  }[];
162
150
  }): void;
163
151
  emitStatus(status: string): void;
152
+ emitRateLimitPause(resetsAt: string): void;
164
153
  sendHeartbeat(): void;
165
154
  sendTypingStart(): void;
166
155
  sendTypingStop(): void;
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  removeWorktree,
10
10
  runSetupCommand,
11
11
  runStartCommand
12
- } from "./chunk-NUD2M24L.js";
12
+ } from "./chunk-7Y3RP3ZA.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": "4.3.0",
3
+ "version": "4.5.0",
4
4
  "description": "Conveyor cloud build agent runner - executes task plans inside GitHub Codespaces",
5
5
  "keywords": [
6
6
  "agent",