@townco/cli 0.1.111 → 0.1.112

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.
@@ -1,7 +1,7 @@
1
1
  import { getShedAuth } from "@townco/core/auth";
2
2
  import { authGet } from "../lib/auth-fetch.js";
3
3
  export async function whoamiCommand() {
4
- const credentials = getShedAuth();
4
+ const credentials = await getShedAuth();
5
5
  if (!credentials) {
6
6
  console.log("Not logged in. Run 'town login' or set SHED_API_KEY to authenticate.");
7
7
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@townco/cli",
3
- "version": "0.1.111",
3
+ "version": "0.1.112",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "town": "./dist/index.js"
@@ -15,7 +15,7 @@
15
15
  "build": "tsgo"
16
16
  },
17
17
  "devDependencies": {
18
- "@townco/tsconfig": "0.1.103",
18
+ "@townco/tsconfig": "0.1.104",
19
19
  "@types/archiver": "^7.0.0",
20
20
  "@types/bun": "^1.3.1",
21
21
  "@types/ignore-walk": "^4.0.3",
@@ -24,13 +24,13 @@
24
24
  "dependencies": {
25
25
  "@optique/core": "^0.6.2",
26
26
  "@optique/run": "^0.6.2",
27
- "@townco/agent": "0.1.114",
28
- "@townco/apiclient": "0.0.26",
29
- "@townco/core": "0.0.84",
30
- "@townco/debugger": "0.1.62",
31
- "@townco/env": "0.1.56",
32
- "@townco/secret": "0.1.106",
33
- "@townco/ui": "0.1.106",
27
+ "@townco/agent": "0.1.115",
28
+ "@townco/apiclient": "0.0.27",
29
+ "@townco/core": "0.0.85",
30
+ "@townco/debugger": "0.1.63",
31
+ "@townco/env": "0.1.57",
32
+ "@townco/secret": "0.1.107",
33
+ "@townco/ui": "0.1.107",
34
34
  "@trpc/client": "^11.7.2",
35
35
  "archiver": "^7.0.1",
36
36
  "eventsource": "^4.1.0",