@love-moon/conductor-sdk 0.2.34 → 0.2.36
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.js +6 -0
- package/package.json +2 -2
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.
|
|
3
|
+
"version": "0.2.36",
|
|
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": "
|
|
30
|
+
"gitCommitId": "54d9de4"
|
|
31
31
|
}
|