agentgui 1.0.765 → 1.0.766
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/server.js +3 -4
- package/static/js/client.js +2 -0
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -3,7 +3,6 @@ import fs from 'fs';
|
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import os from 'os';
|
|
5
5
|
import zlib from 'zlib';
|
|
6
|
-
import crypto from 'crypto';
|
|
7
6
|
import { fileURLToPath } from 'url';
|
|
8
7
|
import { WebSocketServer } from 'ws';
|
|
9
8
|
import { execSync, spawn } from 'child_process';
|
|
@@ -16,9 +15,9 @@ import fsbrowse from 'fsbrowse';
|
|
|
16
15
|
import { queries } from './database.js';
|
|
17
16
|
import { runClaudeWithStreaming } from './lib/claude-runner.js';
|
|
18
17
|
import { initializeDescriptors, getAgentDescriptor } from './lib/agent-descriptors.js';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { initSpeechManager, getSpeech,
|
|
18
|
+
import { discoverExternalACPServers, initializeAgentDiscovery } from './lib/agent-discovery.js';
|
|
19
|
+
import { startGeminiOAuth, exchangeGeminiOAuthCode, handleGeminiOAuthCallback, getGeminiOAuthStatus, getGeminiOAuthState } from './lib/oauth-gemini.js';
|
|
20
|
+
import { initSpeechManager, getSpeech, voiceCacheManager, modelDownloadState, ensureModelsDownloaded, eagerTTS } from './lib/speech-manager.js';
|
|
22
21
|
import { register as registerSpeechRoutes } from './lib/routes-speech.js';
|
|
23
22
|
import { register as registerOAuthRoutes } from './lib/routes-oauth.js';
|
|
24
23
|
import { register as registerUtilRoutes } from './lib/routes-util.js';
|
package/static/js/client.js
CHANGED
|
@@ -878,6 +878,8 @@ class AgentGUIClient {
|
|
|
878
878
|
const wdInfo = conv?.workingDirectory ? `${this.escapeHtml(conv.workingDirectory)}` : '';
|
|
879
879
|
const timestamp = new Date(conv?.created_at || Date.now()).toLocaleDateString();
|
|
880
880
|
const metaParts = [timestamp];
|
|
881
|
+
if (conv?.agentType || conv?.agentId) metaParts.push(this.escapeHtml(conv.agentType || conv.agentId));
|
|
882
|
+
if (conv?.messageCount > 0) metaParts.push(`${conv.messageCount} msgs`);
|
|
881
883
|
if (wdInfo) metaParts.push(wdInfo);
|
|
882
884
|
outputEl.innerHTML = `
|
|
883
885
|
<div class="conversation-header">
|