@rallycry/conveyor-agent 7.0.8 → 7.0.9

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
@@ -5,7 +5,7 @@ import {
5
5
  loadConveyorConfig,
6
6
  runSetupCommand,
7
7
  runStartCommand
8
- } from "./chunk-PMDVB2EU.js";
8
+ } from "./chunk-LKO3CBJU.js";
9
9
  import "./chunk-KNBG2634.js";
10
10
  import {
11
11
  createServiceLogger
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ interface AgentConnectionConfig {
21
21
  interface IncomingMessage {
22
22
  content: string;
23
23
  userId: string;
24
+ source?: string;
24
25
  files?: Array<{
25
26
  name: string;
26
27
  content: string;
@@ -68,7 +69,7 @@ declare class AgentConnection {
68
69
  onModeChange(callback: (data: SetModeData) => void): void;
69
70
  onWake(callback: () => void): void;
70
71
  onApiKeyUpdate(callback: (data: ApiKeyUpdateData) => void): void;
71
- emitStatus(status: string): void;
72
+ emitStatus(status: string): Promise<void>;
72
73
  postChatMessage(content: string): void;
73
74
  private isDuplicateMessage;
74
75
  sendHeartbeat(): void;
@@ -104,7 +105,7 @@ declare class AgentConnection {
104
105
  }>;
105
106
  refreshAuthToken(): Promise<boolean>;
106
107
  sendEvent(event: Record<string, unknown>): void;
107
- flushEvents(): void;
108
+ flushEvents(): Promise<void>;
108
109
  }
109
110
 
110
111
  type ModeAction = {
@@ -243,6 +244,8 @@ declare class SessionRunner {
243
244
  run(): Promise<void>;
244
245
  /** Convenience wrapper: connect() then run(). */
245
246
  start(): Promise<void>;
247
+ /** Returns true if the message should be skipped (not processed). */
248
+ private shouldSkipMessage;
246
249
  private coreLoop;
247
250
  private executeInitialMode;
248
251
  private waitForMessage;
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  runStartCommand,
24
24
  stageAndCommit,
25
25
  updateRemoteToken
26
- } from "./chunk-PMDVB2EU.js";
26
+ } from "./chunk-LKO3CBJU.js";
27
27
  import "./chunk-KNBG2634.js";
28
28
  import "./chunk-CYZPFJGN.js";
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rallycry/conveyor-agent",
3
- "version": "7.0.8",
3
+ "version": "7.0.9",
4
4
  "description": "Conveyor Agent Runner v7.0 - Agent-as-User architecture with BaseService patterns",
5
5
  "keywords": [
6
6
  "agent",