@townco/agent 0.1.82 → 0.1.83

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.
@@ -12,7 +12,7 @@ export function countTokens(text) {
12
12
  try {
13
13
  return anthropicCountTokens(text);
14
14
  }
15
- catch (error) {
15
+ catch (_error) {
16
16
  // Fallback to rough estimation if tokenizer fails
17
17
  // Approximate: ~4 characters per token
18
18
  return Math.ceil(text.length / 4);
@@ -31,7 +31,7 @@ export function countToolResultTokens(rawOutput) {
31
31
  const text = JSON.stringify(rawOutput);
32
32
  return countTokens(text);
33
33
  }
34
- catch (error) {
34
+ catch (_error) {
35
35
  // If JSON.stringify fails, return 0
36
36
  return 0;
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@townco/agent",
3
- "version": "0.1.82",
3
+ "version": "0.1.83",
4
4
  "type": "module",
5
5
  "module": "index.ts",
6
6
  "files": [
@@ -59,35 +59,35 @@
59
59
  "@agentclientprotocol/sdk": "^0.5.1",
60
60
  "@anthropic-ai/sandbox-runtime": "^0.0.2",
61
61
  "@anthropic-ai/sdk": "^0.70.0",
62
- "@google/genai": "^0.14.1",
63
62
  "@anthropic-ai/tokenizer": "^0.0.4",
64
- "@onkernel/sdk": "^0.16.0",
65
63
  "@electric-sql/pglite": "^0.2.15",
64
+ "@google/genai": "^0.14.1",
66
65
  "@langchain/anthropic": "1.0.1",
67
66
  "@langchain/core": "^1.0.3",
68
67
  "@langchain/google-genai": "^1.0.3",
69
68
  "@langchain/google-vertexai": "^1.0.3",
70
69
  "@langchain/mcp-adapters": "^1.0.0",
70
+ "@onkernel/sdk": "^0.16.0",
71
71
  "@opentelemetry/api": "^1.9.0",
72
72
  "@opentelemetry/api-logs": "^0.56.0",
73
73
  "@opentelemetry/core": "^1.28.0",
74
74
  "@opentelemetry/exporter-logs-otlp-http": "^0.56.0",
75
75
  "@opentelemetry/exporter-trace-otlp-http": "^0.56.0",
76
- "@opentelemetry/instrumentation": "^0.56.0",
77
76
  "@opentelemetry/resources": "^1.28.0",
78
77
  "@opentelemetry/sdk-logs": "^0.56.0",
79
78
  "@opentelemetry/sdk-trace-base": "^1.28.0",
80
79
  "@opentelemetry/sdk-trace-node": "^1.28.0",
81
80
  "@opentelemetry/semantic-conventions": "^1.28.0",
82
- "@townco/core": "0.0.55",
83
- "@townco/gui-template": "0.1.74",
84
- "@townco/tsconfig": "0.1.74",
85
- "@townco/tui-template": "0.1.74",
86
- "@townco/ui": "0.1.77",
81
+ "@townco/core": "0.0.56",
82
+ "@townco/gui-template": "0.1.75",
83
+ "@townco/supabase": "workspace:*",
84
+ "@townco/tsconfig": "0.1.75",
85
+ "@townco/tui-template": "0.1.75",
86
+ "@townco/ui": "0.1.78",
87
87
  "exa-js": "^2.0.0",
88
88
  "hono": "^4.10.4",
89
89
  "langchain": "^1.0.3",
90
- "prettier": "^3.6.2",
90
+ "prettier": "^3.7.4",
91
91
  "zod": "^4.1.12"
92
92
  },
93
93
  "devDependencies": {