agentgui 1.0.121 → 1.0.122
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/database.js +4 -4
- package/lib/claude-runner.js +814 -67
- package/package.json +1 -1
- package/server.js +38 -10
- package/static/index.html +12 -0
- package/static/js/client.js +85 -8
- package/static/js/streaming-renderer.js +333 -6
- package/WAVE6_FINAL_REPORT.md +0 -178
package/database.js
CHANGED
|
@@ -249,17 +249,17 @@ function generateId(prefix) {
|
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
export const queries = {
|
|
252
|
-
createConversation(
|
|
252
|
+
createConversation(agentType, title = null, workingDirectory = null) {
|
|
253
253
|
const id = generateId('conv');
|
|
254
254
|
const now = Date.now();
|
|
255
255
|
const stmt = db.prepare(
|
|
256
|
-
`INSERT INTO conversations (id,
|
|
256
|
+
`INSERT INTO conversations (id, agentType, title, created_at, updated_at, status, workingDirectory) VALUES (?, ?, ?, ?, ?, ?, ?)`
|
|
257
257
|
);
|
|
258
|
-
stmt.run(id,
|
|
258
|
+
stmt.run(id, agentType, title, now, now, 'active', workingDirectory);
|
|
259
259
|
|
|
260
260
|
return {
|
|
261
261
|
id,
|
|
262
|
-
|
|
262
|
+
agentType,
|
|
263
263
|
title,
|
|
264
264
|
workingDirectory,
|
|
265
265
|
created_at: now,
|