@lightcone-ai/daemon 0.6.8 → 0.6.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/package.json +1 -1
- package/src/agent-manager.js +4 -4
package/package.json
CHANGED
package/src/agent-manager.js
CHANGED
|
@@ -61,7 +61,7 @@ export class AgentManager {
|
|
|
61
61
|
return msg;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
async _startAgent({ agentId, channelId, config }, connection) {
|
|
64
|
+
async _startAgent({ agentId, channelId, channelName, config }, connection) {
|
|
65
65
|
const key = this._key(agentId, channelId);
|
|
66
66
|
if (this.agents.has(key) || this.starting.has(key)) {
|
|
67
67
|
console.log(`[AgentManager] Agent ${agentId} in channel ${channelId} already registered`);
|
|
@@ -95,7 +95,7 @@ export class AgentManager {
|
|
|
95
95
|
serverUrl: this.serverUrl, machineApiKey: this.machineApiKey, skills,
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
console.log(`[AgentManager] Spawning kimi for ${agentId} channel=${channelId ?? 'none'} (session=${kimiSpawn.sessionId})`);
|
|
98
|
+
console.log(`[AgentManager] Spawning kimi for ${config.displayName ?? agentId} channel=${channelName ?? channelId ?? 'none'} (session=${kimiSpawn.sessionId})`);
|
|
99
99
|
|
|
100
100
|
proc = spawn('kimi', kimiSpawn.args, {
|
|
101
101
|
cwd: workspaceDir,
|
|
@@ -145,7 +145,7 @@ export class AgentManager {
|
|
|
145
145
|
skills,
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
console.log(`[AgentManager] Spawning codex for ${agentId} channel=${channelId ?? 'none'} (session=${config.sessionId ?? 'new'})`);
|
|
148
|
+
console.log(`[AgentManager] Spawning codex for ${config.displayName ?? agentId} channel=${channelName ?? channelId ?? 'none'} (session=${config.sessionId ?? 'new'})`);
|
|
149
149
|
|
|
150
150
|
proc = spawn('codex', codexSpawn.args, {
|
|
151
151
|
cwd: workspaceDir,
|
|
@@ -235,7 +235,7 @@ export class AgentManager {
|
|
|
235
235
|
const spawnEnv = { ...process.env, FORCE_COLOR: '0', ...(config.envVars ?? {}) };
|
|
236
236
|
delete spawnEnv.CLAUDECODE;
|
|
237
237
|
|
|
238
|
-
console.log(`[AgentManager] Spawning claude for ${agentId} channel=${channelId ?? 'none'} (session=${config.sessionId ?? 'new'})`);
|
|
238
|
+
console.log(`[AgentManager] Spawning claude for ${config.displayName ?? agentId} channel=${channelName ?? channelId ?? 'none'} (session=${config.sessionId ?? 'new'})`);
|
|
239
239
|
|
|
240
240
|
proc = spawn('claude', args, {
|
|
241
241
|
cwd: workspaceDir,
|