@integrity-labs/agt-cli 0.28.721 → 0.28.723

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 (24) hide show
  1. package/dist/bin/agt.js +15 -7
  2. package/dist/bin/agt.js.map +1 -1
  3. package/dist/{chunk-KCWKZIQT.js → chunk-ABM45AFN.js} +8 -4
  4. package/dist/{chunk-KCWKZIQT.js.map → chunk-ABM45AFN.js.map} +1 -1
  5. package/dist/{chunk-E3WGN4GX.js → chunk-ATJU3SDV.js} +2 -2
  6. package/dist/{chunk-32WU3HBU.js → chunk-IXGIGDJG.js} +22 -1
  7. package/dist/chunk-IXGIGDJG.js.map +1 -0
  8. package/dist/{claude-pair-runtime-EKP2KR6N.js → claude-pair-runtime-XWPOUQMP.js} +2 -2
  9. package/dist/lib/manager-worker.js +13 -13
  10. package/dist/mcp/direct-chat-channel.js +21 -0
  11. package/dist/mcp/index.js +21 -0
  12. package/dist/mcp/origami.js +21 -0
  13. package/dist/mcp/slack-channel.js +21 -0
  14. package/dist/mcp/telegram-channel.js +86 -0
  15. package/dist/{persistent-session-7NXQBNZB.js → persistent-session-CEC5KESY.js} +3 -3
  16. package/dist/{responsiveness-probe-UDFTVXOW.js → responsiveness-probe-J3VB4U4W.js} +3 -3
  17. package/dist/{session-auth-dead-DQW6NXDX.js → session-auth-dead-YQHE3WKV.js} +2 -2
  18. package/package.json +1 -1
  19. package/dist/chunk-32WU3HBU.js.map +0 -1
  20. /package/dist/{chunk-E3WGN4GX.js.map → chunk-ATJU3SDV.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-EKP2KR6N.js.map → claude-pair-runtime-XWPOUQMP.js.map} +0 -0
  22. /package/dist/{persistent-session-7NXQBNZB.js.map → persistent-session-CEC5KESY.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-UDFTVXOW.js.map → responsiveness-probe-J3VB4U4W.js.map} +0 -0
  24. /package/dist/{session-auth-dead-DQW6NXDX.js.map → session-auth-dead-YQHE3WKV.js.map} +0 -0
@@ -13,7 +13,7 @@ import {
13
13
  parseEnvFileEntries,
14
14
  parseEnvIntegrations,
15
15
  shellQuote
16
- } from "./chunk-E3WGN4GX.js";
16
+ } from "./chunk-ATJU3SDV.js";
17
17
  import {
18
18
  BIND_FAILURE_QUARANTINE_THRESHOLD,
19
19
  INTEGRATIONS_SECTION_END,
@@ -62,7 +62,7 @@ import {
62
62
  sessionTranscriptDir,
63
63
  worseConnectivityOutcome,
64
64
  wrapScheduledTaskPrompt
65
- } from "./chunk-32WU3HBU.js";
65
+ } from "./chunk-IXGIGDJG.js";
66
66
  import {
67
67
  parsePsRows
68
68
  } from "./chunk-XWVM4KPK.js";
@@ -6428,7 +6428,7 @@ function exchangeFailureKind(err) {
6428
6428
  }
6429
6429
 
6430
6430
  // src/lib/api-client.ts
6431
- var agtCliVersion = true ? "0.28.721" : "dev";
6431
+ var agtCliVersion = true ? "0.28.723" : "dev";
6432
6432
  var lastConfigHash = null;
6433
6433
  function setConfigHash(hash) {
6434
6434
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -6452,6 +6452,7 @@ async function exchangeApiKey(rawKey, retried = false, opts = {}) {
6452
6452
  framework: cachedExchange.framework,
6453
6453
  hostKind: cachedExchange.hostKind,
6454
6454
  claudeAuthMode: cachedExchange.claudeAuthMode,
6455
+ claudeAuthModeRaw: cachedExchange.claudeAuthModeRaw,
6455
6456
  anthropicApiKeyFingerprint: cachedExchange.anthropicApiKeyFingerprint,
6456
6457
  anthropicApiKey: cachedExchange.anthropicApiKey,
6457
6458
  userEmail: cachedExchange.userEmail,
@@ -6540,6 +6541,7 @@ async function attemptExchange(rawKey, retried) {
6540
6541
  throw new ApiKeyExchangeError("API key exchange returned no token", null, true);
6541
6542
  }
6542
6543
  const claudeAuthMode = data.claude_auth_mode === "api_key" ? "api_key" : data.claude_auth_mode === "openrouter" ? "openrouter" : "subscription";
6544
+ const claudeAuthModeRaw = data.claude_auth_mode ?? null;
6543
6545
  cachedExchange = {
6544
6546
  token: data.token,
6545
6547
  hostId: data.host_id,
@@ -6548,6 +6550,7 @@ async function attemptExchange(rawKey, retried) {
6548
6550
  framework: data.framework ?? null,
6549
6551
  hostKind: data.host_kind ?? null,
6550
6552
  claudeAuthMode,
6553
+ claudeAuthModeRaw,
6551
6554
  anthropicApiKeyFingerprint: data.anthropic_api_key_fingerprint ?? null,
6552
6555
  anthropicApiKey: data.anthropic_api_key ?? null,
6553
6556
  userEmail: data.user_email,
@@ -6563,6 +6566,7 @@ async function attemptExchange(rawKey, retried) {
6563
6566
  framework: data.framework ?? null,
6564
6567
  hostKind: data.host_kind ?? null,
6565
6568
  claudeAuthMode,
6569
+ claudeAuthModeRaw,
6566
6570
  anthropicApiKeyFingerprint: data.anthropic_api_key_fingerprint ?? null,
6567
6571
  anthropicApiKey: data.anthropic_api_key ?? null,
6568
6572
  userEmail: data.user_email,
@@ -10470,4 +10474,4 @@ export {
10470
10474
  managerInstallSystemUnitCommand,
10471
10475
  managerUninstallSystemUnitCommand
10472
10476
  };
10473
- //# sourceMappingURL=chunk-KCWKZIQT.js.map
10477
+ //# sourceMappingURL=chunk-ABM45AFN.js.map