@apso/cli 0.26.1 → 0.26.2

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.
@@ -20,7 +20,14 @@ class Status extends base_command_1.default {
20
20
  this.log(`Service: ${service.name} (${service.slug})`);
21
21
  this.log(`Workspace: ${link.workspaceSlug}`);
22
22
  this.log(`Status: ${service.status}`);
23
- this.log(`GitHub: ${service.githubRepo || "not connected"}`);
23
+ // Distinguish the account-level GitHub connection from this service's repo:
24
+ // "GitHub: not connected" was misleading when the account WAS connected but
25
+ // the service had no repo yet (the repo is created on the first deploy).
26
+ const conn = await services_1.githubApi
27
+ .getConnection()
28
+ .catch(() => ({ connected: false }));
29
+ this.log(`GitHub account: ${conn.connected ? "connected" : "not connected (run 'apso github connect')"}`);
30
+ this.log(`Repo: ${service.githubRepo || "none yet (created on first deploy)"}`);
24
31
  if (service.endpoint) {
25
32
  this.log(`Endpoint: ${service.endpoint}`);
26
33
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.26.1",
3
+ "version": "0.26.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@apso/cli",
9
- "version": "0.26.1",
9
+ "version": "0.26.2",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@biomejs/biome": "^1.9.4",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.26.1",
2
+ "version": "0.26.2",
3
3
  "commands": {
4
4
  "config": {
5
5
  "id": "config",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.26.1",
3
+ "version": "0.26.2",
4
4
  "mcpName": "io.github.apsoai/apso",
5
5
  "description": "Apso CLI",
6
6
  "author": "Apso by Mavric - @mavric",