@townco/agent 0.1.54 → 0.1.55

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/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { basename } from "node:path";
2
- import { createLogger } from "@townco/core";
3
2
  import { makeHttpTransport, makeStdioTransport } from "./acp-server";
4
3
  import type { AgentDefinition } from "./definition";
4
+ import { createLogger } from "./logger.js";
5
5
  import { initializeOpenTelemetryFromEnv } from "./telemetry/setup.js";
6
6
  import { makeSubagentsTool } from "./utils";
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@townco/agent",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
4
4
  "type": "module",
5
5
  "module": "index.ts",
6
6
  "files": [
@@ -42,6 +42,10 @@
42
42
  "./utils": {
43
43
  "import": "./dist/utils/index.js",
44
44
  "types": "./dist/utils/index.d.ts"
45
+ },
46
+ "./logger": {
47
+ "import": "./dist/logger.js",
48
+ "types": "./dist/logger.d.ts"
45
49
  }
46
50
  },
47
51
  "scripts": {
@@ -74,11 +78,11 @@
74
78
  "@opentelemetry/sdk-trace-base": "^1.28.0",
75
79
  "@opentelemetry/sdk-trace-node": "^1.28.0",
76
80
  "@opentelemetry/semantic-conventions": "^1.28.0",
77
- "@townco/core": "0.0.27",
78
- "@townco/gui-template": "0.1.46",
79
- "@townco/tsconfig": "0.1.46",
80
- "@townco/tui-template": "0.1.46",
81
- "@townco/ui": "0.1.49",
81
+ "@townco/core": "0.0.28",
82
+ "@townco/gui-template": "0.1.47",
83
+ "@townco/tsconfig": "0.1.47",
84
+ "@townco/tui-template": "0.1.47",
85
+ "@townco/ui": "0.1.50",
82
86
  "exa-js": "^2.0.0",
83
87
  "hono": "^4.10.4",
84
88
  "langchain": "^1.0.3",
@@ -134,8 +134,8 @@ export async function generateIndexTs(vars: TemplateVars): Promise<string> {
134
134
  return prettier.format(
135
135
  `import { makeHttpTransport, makeStdioTransport } from "@townco/agent/acp-server";
136
136
  import type { AgentDefinition } from "@townco/agent/definition";
137
+ import { createLogger } from "@townco/agent/logger";
137
138
  import { basename } from "node:path";
138
- import { createLogger } from "@townco/core";
139
139
 
140
140
  const logger = createLogger("agent-index");
141
141