@uic-coe-connect/cli 0.2.0 → 0.2.1

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.
@@ -54,7 +54,7 @@ export function registerAppCommands() {
54
54
  ["Branch", app.branch ?? "—"],
55
55
  ["Pipelines", (app.pipelines ?? []).map((p) => p.name).join(", ") || "(none)"],
56
56
  ["Dev team", (app.access?.devTeam ?? []).join(", ") || "(none)"],
57
- ["Env vars", Object.keys(app.env ?? {}).join(", ") || "(none)"],
57
+ ["Env vars", (app.envKeys ?? []).join(", ") || "(none)"],
58
58
  ["Updated", new Date(app.updatedAt).toLocaleString()],
59
59
  ]);
60
60
  });
package/dist/types.d.ts CHANGED
@@ -67,7 +67,12 @@ export interface RegisteredApp {
67
67
  url: string;
68
68
  repo?: string;
69
69
  branch?: string;
70
- env: Record<string, string>;
70
+ /**
71
+ * Names of the app's env vars. Values are deliberately absent — read them
72
+ * with `coe env list --show`, so a secret only ever appears when it was
73
+ * asked for by name.
74
+ */
75
+ envKeys: string[];
71
76
  pipelines?: NamedPipeline[];
72
77
  roles?: AppRole[];
73
78
  access?: AppAccess;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uic-coe-connect/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "The coe CLI \u2014 manage COEConnect apps (pipelines, deploys, access, env) from a terminal, with browser-approved auth. Designed to be driven by an AI agent.",
5
5
  "type": "module",
6
6
  "bin": {