@townco/cli 0.1.56 → 0.1.58

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -7,8 +7,7 @@ import { integer, string } from "@optique/core/valueparser";
7
7
  import { run } from "@optique/run";
8
8
  import { initForClaudeCode } from "@townco/agent/scaffold";
9
9
  import { isInsideTownProject } from "@townco/agent/storage";
10
- import { router } from "@townco/api";
11
- import { findRoot } from "@townco/core";
10
+ import { API_ROUTES, findRoot } from "@townco/core";
12
11
  import { updateSchema as updateEnvSchema } from "@townco/env/update-schema";
13
12
  import { createSecret, deleteSecret, genenv, listSecrets, updateSecret, } from "@townco/secret";
14
13
  import { createTRPCClient, httpLink, httpSubscriptionLink, splitLink, } from "@trpc/client";
@@ -112,7 +111,7 @@ const main = async (parser, meta) => await match(run(parser, meta))
112
111
  EventSource,
113
112
  }),
114
113
  false: splitLink({
115
- condition: (op) => op.path === router.uploadArchive.name,
114
+ condition: (op) => op.path === API_ROUTES.UPLOAD_ARCHIVE,
116
115
  true: httpLink({
117
116
  url,
118
117
  transformer: { serialize: (o) => o, deserialize: (o) => o },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@townco/cli",
3
- "version": "0.1.56",
3
+ "version": "0.1.58",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "town": "./dist/index.js"
@@ -15,7 +15,7 @@
15
15
  "build": "tsc"
16
16
  },
17
17
  "devDependencies": {
18
- "@townco/tsconfig": "0.1.48",
18
+ "@townco/tsconfig": "0.1.50",
19
19
  "@types/archiver": "^7.0.0",
20
20
  "@types/bun": "^1.3.1",
21
21
  "@types/ignore-walk": "^4.0.3",
@@ -25,12 +25,12 @@
25
25
  "dependencies": {
26
26
  "@optique/core": "^0.6.2",
27
27
  "@optique/run": "^0.6.2",
28
- "@townco/agent": "0.1.56",
29
- "@townco/core": "0.0.29",
30
- "@townco/debugger": "0.1.6",
31
- "@townco/env": "0.1.1",
32
- "@townco/secret": "0.1.51",
33
- "@townco/ui": "0.1.51",
28
+ "@townco/agent": "0.1.58",
29
+ "@townco/core": "0.0.31",
30
+ "@townco/debugger": "0.1.8",
31
+ "@townco/env": "0.1.3",
32
+ "@townco/secret": "0.1.53",
33
+ "@townco/ui": "0.1.53",
34
34
  "@trpc/client": "^11.7.2",
35
35
  "@types/inquirer": "^9.0.9",
36
36
  "@types/ws": "^8.5.13",