@integrity-labs/agt-cli 0.10.21 → 0.10.22

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.
package/dist/bin/agt.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
  resolveChannels,
33
33
  serializeManifestForSlackCli,
34
34
  setActiveTeam
35
- } from "../chunk-XTETZ2D5.js";
35
+ } from "../chunk-VWYAPGHB.js";
36
36
 
37
37
  // src/bin/agt.ts
38
38
  import { join as join11 } from "path";
@@ -103,6 +103,8 @@ async function whoamiCommand() {
103
103
  try {
104
104
  const exchange = await exchangeApiKey(apiKey);
105
105
  spinner.stop();
106
+ const framework = exchange.framework ?? "unset";
107
+ const claudeAuthLabel = exchange.claudeAuthMode === "api_key" ? `api_key (fp: ${exchange.anthropicApiKeyFingerprint ?? "unknown"})` : "subscription";
106
108
  if (json) {
107
109
  jsonOutput({
108
110
  ok: true,
@@ -111,7 +113,10 @@ async function whoamiCommand() {
111
113
  host_id: exchange.hostId,
112
114
  team: exchange.teamSlug,
113
115
  team_id: exchange.teamId,
114
- email: exchange.userEmail
116
+ email: exchange.userEmail,
117
+ framework: exchange.framework,
118
+ claude_auth_mode: exchange.claudeAuthMode,
119
+ anthropic_api_key_fingerprint: exchange.anthropicApiKeyFingerprint
115
120
  });
116
121
  return;
117
122
  }
@@ -121,6 +126,10 @@ async function whoamiCommand() {
121
126
  info(`Host ID: ${exchange.hostId}`);
122
127
  info(`Team: ${chalk3.bold(exchange.teamSlug ?? exchange.teamId)}`);
123
128
  info(`User: ${chalk3.bold(exchange.userEmail ?? "unknown")}`);
129
+ info(`Framework: ${chalk3.bold(framework)}`);
130
+ if (framework === "claude-code") {
131
+ info(`Claude Auth: ${chalk3.bold(claudeAuthLabel)}`);
132
+ }
124
133
  } catch (err) {
125
134
  spinner.fail("Failed to exchange API key.");
126
135
  if (json) {
@@ -3706,7 +3715,7 @@ import { execFileSync, execSync } from "child_process";
3706
3715
  import { existsSync as existsSync5, realpathSync } from "fs";
3707
3716
  import chalk20 from "chalk";
3708
3717
  import ora15 from "ora";
3709
- var cliVersion = true ? "0.10.21" : "dev";
3718
+ var cliVersion = true ? "0.10.22" : "dev";
3710
3719
  async function fetchLatestVersion() {
3711
3720
  const host2 = getHost();
3712
3721
  if (!host2) return null;
@@ -4155,7 +4164,7 @@ function handleError(err) {
4155
4164
  }
4156
4165
 
4157
4166
  // src/bin/agt.ts
4158
- var cliVersion2 = true ? "0.10.21" : "dev";
4167
+ var cliVersion2 = true ? "0.10.22" : "dev";
4159
4168
  var program = new Command();
4160
4169
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
4161
4170
  program.hook("preAction", (thisCommand) => {