@love-moon/conductor-sdk 0.2.33 → 0.2.35

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/client.d.ts CHANGED
@@ -123,7 +123,7 @@ export declare class ConductorClient {
123
123
  private isRetryableUpstreamError;
124
124
  private computeDurableOutboxRetryDelay;
125
125
  private scheduleDurableOutboxFlush;
126
- private clearDurableOutboxTimer;
126
+ clearDurableOutboxTimer(): void;
127
127
  private sendEnvelope;
128
128
  private maybeAckInboundCommand;
129
129
  private promoteTaskDeliveryScope;
package/dist/client.js CHANGED
@@ -411,6 +411,11 @@ export class ConductorClient {
411
411
  throw new Error('task_id is required');
412
412
  }
413
413
  this.promoteTaskDeliveryScope(normalizedTaskId);
414
+ const explicitDaemonName = typeof payload.daemon_name === 'string' && payload.daemon_name.trim()
415
+ ? payload.daemon_name.trim()
416
+ : typeof payload.daemonName === 'string' && payload.daemonName.trim()
417
+ ? payload.daemonName.trim()
418
+ : null;
414
419
  const existing = this.sessionStore.findByTaskId(normalizedTaskId);
415
420
  const inMemorySession = await this.sessions.getSession(normalizedTaskId);
416
421
  const projectId = existing?.projectId ||
@@ -448,6 +453,7 @@ export class ConductorClient {
448
453
  backendType: record.backendType ?? null,
449
454
  sessionId: record.sessionId ?? null,
450
455
  sessionFilePath: record.sessionFilePath ?? null,
456
+ metadata: explicitDaemonName ? { daemonName: explicitDaemonName } : undefined,
451
457
  });
452
458
  }
453
459
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@love-moon/conductor-sdk",
3
- "version": "0.2.33",
3
+ "version": "0.2.35",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,5 +27,5 @@
27
27
  "typescript": "^5.6.3",
28
28
  "vitest": "^2.1.4"
29
29
  },
30
- "gitCommitId": "db7f9bf"
30
+ "gitCommitId": "686ee4d"
31
31
  }