agentgui 1.0.676 → 1.0.678
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 +2 -2
- package/package.json +1 -1
- package/server.js +0 -3
package/lib/claude-runner.js
CHANGED
|
@@ -128,8 +128,8 @@ class AgentRunner {
|
|
|
128
128
|
reject(new Error(`${this.name} timeout after ${timeout}ms`));
|
|
129
129
|
}, timeout);
|
|
130
130
|
|
|
131
|
-
// Write prompt to stdin
|
|
132
|
-
if (this.supportsStdin) {
|
|
131
|
+
// Write prompt to stdin only for agents that use stdin protocol (not positional args)
|
|
132
|
+
if (this.supportsStdin && this.stdinPrompt) {
|
|
133
133
|
proc.stdin.write(prompt);
|
|
134
134
|
// Don't call stdin.end() - agents need open stdin for steering
|
|
135
135
|
}
|
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -4102,9 +4102,6 @@ const BROADCAST_TYPES = new Set([
|
|
|
4102
4102
|
|
|
4103
4103
|
const wsOptimizer = new WSOptimizer();
|
|
4104
4104
|
|
|
4105
|
-
// Global sequence counter for atomic event ordering across all broadcasts
|
|
4106
|
-
let broadcastSeq = 0;
|
|
4107
|
-
|
|
4108
4105
|
function broadcastSync(event) {
|
|
4109
4106
|
try {
|
|
4110
4107
|
// Assign global sequence number to ALL events for ordering guarantee
|