@townco/cli 0.1.56 → 0.1.57

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 +3 -3
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -7,8 +7,8 @@ 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 {} from "@townco/api";
11
+ import { API_ROUTES, findRoot } from "@townco/core";
12
12
  import { updateSchema as updateEnvSchema } from "@townco/env/update-schema";
13
13
  import { createSecret, deleteSecret, genenv, listSecrets, updateSecret, } from "@townco/secret";
14
14
  import { createTRPCClient, httpLink, httpSubscriptionLink, splitLink, } from "@trpc/client";
@@ -112,7 +112,7 @@ const main = async (parser, meta) => await match(run(parser, meta))
112
112
  EventSource,
113
113
  }),
114
114
  false: splitLink({
115
- condition: (op) => op.path === router.uploadArchive.name,
115
+ condition: (op) => op.path === API_ROUTES.UPLOAD_ARCHIVE,
116
116
  true: httpLink({
117
117
  url,
118
118
  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.57",
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.49",
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.57",
29
+ "@townco/core": "0.0.30",
30
+ "@townco/debugger": "0.1.7",
31
+ "@townco/env": "0.1.2",
32
+ "@townco/secret": "0.1.52",
33
+ "@townco/ui": "0.1.52",
34
34
  "@trpc/client": "^11.7.2",
35
35
  "@types/inquirer": "^9.0.9",
36
36
  "@types/ws": "^8.5.13",