doer-agent 0.4.0 → 0.4.1

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/dist/agent.js CHANGED
@@ -1384,8 +1384,8 @@ function buildManagedCodexArgs(args) {
1384
1384
  "--model",
1385
1385
  args.model,
1386
1386
  ...(args.sessionId
1387
- ? ["exec", "resume", "--json", ...imageArgs, args.sessionId, ...promptArgs]
1388
- : ["exec", "--json", ...imageArgs, ...promptArgs]),
1387
+ ? ["exec", "resume", ...imageArgs, args.sessionId, ...promptArgs]
1388
+ : ["exec", ...imageArgs, ...promptArgs]),
1389
1389
  ];
1390
1390
  }
1391
1391
  function buildLocalCodexCliCommand(args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doer-agent",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Reverse-polling agent runtime for doer",
5
5
  "type": "module",
6
6
  "main": "dist/agent.js",
@@ -1,39 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import net from "node:net";
4
-
5
- function debugLog(...parts) {
6
- const now = new Date().toISOString();
7
- process.stderr.write(`[doer-mcp-proxy][${now}] ${parts.join(" ")}\n`);
8
- }
9
-
10
- const socketPath = (process.env.DOER_MCP_SOCKET || "").trim();
11
-
12
- if (!socketPath) {
13
- process.stderr.write("doer-mcp-proxy error: DOER_MCP_SOCKET is not set\n");
14
- process.exit(1);
15
- }
16
-
17
- debugLog("connecting", `socket=${socketPath}`);
18
- const socket = net.createConnection(socketPath);
19
-
20
- socket.on("connect", () => {
21
- debugLog("connected");
22
- process.stdin.pipe(socket);
23
- socket.pipe(process.stdout);
24
- });
25
-
26
- socket.on("error", (error) => {
27
- const message = error instanceof Error ? error.message : String(error);
28
- process.stderr.write(`doer-mcp-proxy error: ${message}\n`);
29
- process.exit(1);
30
- });
31
-
32
- socket.on("close", () => {
33
- debugLog("closed");
34
- process.exit(0);
35
- });
36
-
37
- process.stdin.on("error", () => {
38
- socket.destroy();
39
- });