@certalis/agent-smith 0.1.10 → 0.1.11

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/bin.js CHANGED
@@ -12358,6 +12358,7 @@ function startServer(options) {
12358
12358
  if (options?.additionalUnixSocket) {
12359
12359
  unixServerInstance = serve({
12360
12360
  unix: options.additionalUnixSocket,
12361
+ idleTimeout: NETWORK.IDLE_TIMEOUT_MAX,
12361
12362
  fetch: fetchHandler,
12362
12363
  websocket: websocketProxyHandler
12363
12364
  });
package/dist/edge.js CHANGED
@@ -136,7 +136,10 @@ function createProxyEdgeHandler({
136
136
  upstreamResponse?.destroy();
137
137
  upstream.destroy();
138
138
  });
139
- upstream.once("error", () => finish(502));
139
+ upstream.once("error", (error) => {
140
+ console.error("Agent Smith private transport failed", error.code);
141
+ finish(502);
142
+ });
140
143
  req.once("aborted", () => upstream.destroy());
141
144
  req.once("error", () => upstream.destroy());
142
145
  let bytes = 0;
package/dist/https.js CHANGED
@@ -230,7 +230,10 @@ function createProxyEdgeHandler({
230
230
  upstreamResponse?.destroy();
231
231
  upstream.destroy();
232
232
  });
233
- upstream.once("error", () => finish(502));
233
+ upstream.once("error", (error) => {
234
+ console.error("Agent Smith private transport failed", error.code);
235
+ finish(502);
236
+ });
234
237
  req.once("aborted", () => upstream.destroy());
235
238
  req.once("error", () => upstream.destroy());
236
239
  let bytes = 0;
package/dist/pool.js CHANGED
@@ -12357,6 +12357,7 @@ function startServer(options) {
12357
12357
  if (options?.additionalUnixSocket) {
12358
12358
  unixServerInstance = serve({
12359
12359
  unix: options.additionalUnixSocket,
12360
+ idleTimeout: NETWORK.IDLE_TIMEOUT_MAX,
12360
12361
  fetch: fetchHandler,
12361
12362
  websocket: websocketProxyHandler
12362
12363
  });
package/dist/server.js CHANGED
@@ -12357,6 +12357,7 @@ function startServer(options) {
12357
12357
  if (options?.additionalUnixSocket) {
12358
12358
  unixServerInstance = serve({
12359
12359
  unix: options.additionalUnixSocket,
12360
+ idleTimeout: NETWORK.IDLE_TIMEOUT_MAX,
12360
12361
  fetch: fetchHandler,
12361
12362
  websocket: websocketProxyHandler
12362
12363
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@certalis/agent-smith",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "PROOF OF CONCEPT for ideation only: an experimental local proxy and provider pool for Claude Code and Codex",
5
5
  "license": "MIT",
6
6
  "author": "Certalis",