veryfront 0.1.60 → 0.1.61

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/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "exclude": [
@@ -271,6 +271,10 @@ export function createChatHandler(agentIdOrConfig, options) {
271
271
  model: DEFAULT_LOCAL_MODEL,
272
272
  }, { status: 503 });
273
273
  }
274
+ agentLogger.error("Chat handler error", {
275
+ error: error instanceof Error ? error.message : String(error),
276
+ stack: error instanceof Error ? error.stack : undefined,
277
+ });
274
278
  return dntShim.Response.json({ error: "Internal server error" }, { status: 500 });
275
279
  }
276
280
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",
package/src/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "exclude": [
@@ -425,6 +425,11 @@ export function createChatHandler(
425
425
  );
426
426
  }
427
427
 
428
+ agentLogger.error("Chat handler error", {
429
+ error: error instanceof Error ? error.message : String(error),
430
+ stack: error instanceof Error ? error.stack : undefined,
431
+ });
432
+
428
433
  return dntShim.Response.json(
429
434
  { error: "Internal server error" },
430
435
  { status: 500 },