@townco/agent 0.1.14 → 0.1.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@townco/agent",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "type": "module",
5
5
  "module": "index.ts",
6
6
  "files": [
@@ -52,9 +52,9 @@
52
52
  "@langchain/core": "^1.0.3",
53
53
  "@langchain/exa": "^0.1.0",
54
54
  "@langchain/mcp-adapters": "^1.0.0",
55
- "@townco/gui-template": "0.1.6",
56
- "@townco/tsconfig": "0.1.6",
57
- "@townco/ui": "0.1.9",
55
+ "@townco/gui-template": "0.1.7",
56
+ "@townco/tsconfig": "0.1.7",
57
+ "@townco/ui": "0.1.10",
58
58
  "exa-js": "^2.0.0",
59
59
  "hono": "^4.10.4",
60
60
  "langchain": "^1.0.3",
@@ -25,8 +25,9 @@ export function getTemplateVars(
25
25
  }
26
26
 
27
27
  export function generatePackageJson(vars: TemplateVars): string {
28
- // Include all dependencies since the bundled lib/runner includes all tool implementations
28
+ // Include @townco/agent as a dependency instead of bundling
29
29
  const dependencies: Record<string, string> = {
30
+ "@townco/agent": "^0.1.14",
30
31
  "@agentclientprotocol/sdk": "^0.5.1",
31
32
  "@langchain/anthropic": "^1.0.0",
32
33
  "@langchain/core": "^1.0.3",
@@ -62,8 +63,8 @@ export function generatePackageJson(vars: TemplateVars): string {
62
63
  export function generateIndexTs(): string {
63
64
  return `import { readFileSync } from "node:fs";
64
65
  import { join } from "node:path";
65
- import { makeHttpTransport, makeStdioTransport } from "./lib/acp-server/index.js";
66
- import type { AgentDefinition } from "./lib/definition/index.js";
66
+ import { makeHttpTransport, makeStdioTransport } from "@townco/agent/acp-server";
67
+ import type { AgentDefinition } from "@townco/agent/definition";
67
68
 
68
69
  // Load agent definition from JSON file
69
70
  const configPath = join(import.meta.dir, "agent.json");