agentgui 1.0.504 → 1.0.505
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/lib/claude-runner.js
CHANGED
|
@@ -360,6 +360,7 @@ class AgentRunner {
|
|
|
360
360
|
};
|
|
361
361
|
if (config.model) sessionParams.model = config.model;
|
|
362
362
|
if (config.subAgent) sessionParams.agent = config.subAgent;
|
|
363
|
+
if (config.systemPrompt) sessionParams.systemPrompt = config.systemPrompt;
|
|
363
364
|
const sessionRequest = {
|
|
364
365
|
jsonrpc: '2.0',
|
|
365
366
|
id: ++requestId,
|
package/package.json
CHANGED
|
@@ -270,7 +270,13 @@
|
|
|
270
270
|
|
|
271
271
|
for (var i = 0; i < toolsWithUpdates.length; i++) {
|
|
272
272
|
operationInProgress.add(toolsWithUpdates[i].id);
|
|
273
|
+
var tool = tools.find(function(t) { return t.id === toolsWithUpdates[i].id; });
|
|
274
|
+
if (tool) {
|
|
275
|
+
tool.status = 'updating';
|
|
276
|
+
tool.progress = 0;
|
|
277
|
+
}
|
|
273
278
|
}
|
|
279
|
+
render();
|
|
274
280
|
|
|
275
281
|
fetch('/gm/api/tools/update', { method: 'POST' })
|
|
276
282
|
.then(function(r) { return r.json(); })
|