@integrity-labs/agt-cli 0.28.1216 → 0.28.1218

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 (29) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-KZMARLWR.js → chunk-2TSVU3OU.js} +37 -12
  3. package/dist/{chunk-KZMARLWR.js.map → chunk-2TSVU3OU.js.map} +1 -1
  4. package/dist/{chunk-QCQYDXYP.js → chunk-F5R622EX.js} +3 -3
  5. package/dist/{chunk-U63NF4FC.js → chunk-HAQXH2J4.js} +2 -2
  6. package/dist/{chunk-B5ZQQ7Z2.js → chunk-MJXBNSJY.js} +31 -1
  7. package/dist/chunk-MJXBNSJY.js.map +1 -0
  8. package/dist/{chunk-QHO44YUB.js → chunk-QI5C2VCI.js} +2 -2
  9. package/dist/{claude-code-updater-FTIWTIDK.js → claude-code-updater-XZTIAQQ3.js} +3 -3
  10. package/dist/{claude-pair-runtime-M3QT5MWP.js → claude-pair-runtime-N7TZVTF7.js} +3 -3
  11. package/dist/lib/manager-worker.js +19 -19
  12. package/dist/mcp/direct-chat-channel.js +358 -21
  13. package/dist/mcp/index.js +34 -18
  14. package/dist/mcp/origami.js +34 -18
  15. package/dist/mcp/slack-channel.js +34 -18
  16. package/dist/mcp/telegram-channel.js +34 -18
  17. package/dist/{persistent-session-WEQTZT4Z.js → persistent-session-NQMAJQF2.js} +4 -4
  18. package/dist/{responsiveness-probe-LMBZ5JOK.js → responsiveness-probe-JGMZCQCI.js} +4 -4
  19. package/dist/{session-auth-dead-NRVMU7CE.js → session-auth-dead-DPMMX7QL.js} +3 -3
  20. package/package.json +1 -1
  21. package/dist/chunk-B5ZQQ7Z2.js.map +0 -1
  22. /package/dist/{chunk-QCQYDXYP.js.map → chunk-F5R622EX.js.map} +0 -0
  23. /package/dist/{chunk-U63NF4FC.js.map → chunk-HAQXH2J4.js.map} +0 -0
  24. /package/dist/{chunk-QHO44YUB.js.map → chunk-QI5C2VCI.js.map} +0 -0
  25. /package/dist/{claude-code-updater-FTIWTIDK.js.map → claude-code-updater-XZTIAQQ3.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-M3QT5MWP.js.map → claude-pair-runtime-N7TZVTF7.js.map} +0 -0
  27. /package/dist/{persistent-session-WEQTZT4Z.js.map → persistent-session-NQMAJQF2.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-LMBZ5JOK.js.map → responsiveness-probe-JGMZCQCI.js.map} +0 -0
  29. /package/dist/{session-auth-dead-NRVMU7CE.js.map → session-auth-dead-DPMMX7QL.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-U63NF4FC.js";
7
+ } from "./chunk-HAQXH2J4.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -51,7 +51,7 @@ import {
51
51
  remoteMcpConnectionEnvInfix,
52
52
  remoteMcpConnectionLabel,
53
53
  remoteMcpConnectionScopedEnvVar
54
- } from "./chunk-B5ZQQ7Z2.js";
54
+ } from "./chunk-MJXBNSJY.js";
55
55
  import {
56
56
  CLAUDE_CONFIG_DIR_ENV,
57
57
  approveApiKeyInClaudeConfig,
@@ -6173,4 +6173,4 @@ export {
6173
6173
  stopAllSessionsAndWait,
6174
6174
  getProjectDir
6175
6175
  };
6176
- //# sourceMappingURL=chunk-QCQYDXYP.js.map
6176
+ //# sourceMappingURL=chunk-F5R622EX.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-B5ZQQ7Z2.js";
3
+ } from "./chunk-MJXBNSJY.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -240,4 +240,4 @@ export {
240
240
  peekPreviousSession,
241
241
  readDailySessionPin
242
242
  };
243
- //# sourceMappingURL=chunk-U63NF4FC.js.map
243
+ //# sourceMappingURL=chunk-HAQXH2J4.js.map
@@ -12773,6 +12773,10 @@ var APPROVAL_BROKER_TOOLKITS = /* @__PURE__ */ new Set(["xero-broker"]);
12773
12773
  function isApprovalBrokerToolkit(definitionId) {
12774
12774
  return APPROVAL_BROKER_TOOLKITS.has(definitionId);
12775
12775
  }
12776
+ var TERMS_RESTRICTED_REMOTE_MCPS = /* @__PURE__ */ new Set(["ahrefs"]);
12777
+ function isProbeRestrictedByProviderTerms(definitionId) {
12778
+ return TERMS_RESTRICTED_REMOTE_MCPS.has(definitionId);
12779
+ }
12776
12780
  function isHostUnprobeableBroker(definitionId) {
12777
12781
  return isBrokerToolkit(definitionId) || isApprovalBrokerToolkit(definitionId);
12778
12782
  }
@@ -13005,6 +13009,15 @@ function resolveConnectivityProbe(input) {
13005
13009
  ...probeArgs ? { probeArgs } : {}
13006
13010
  };
13007
13011
  }
13012
+ if (isProbeRestrictedByProviderTerms(definitionId)) {
13013
+ return {
13014
+ kind: "host_unprobeable",
13015
+ sourceType: sourceType ?? "mcp_server",
13016
+ readOnly: true,
13017
+ label: `${definitionId}: not probed - the provider's MCP terms do not permit standalone clients, so only the agent's own session connects`,
13018
+ centralReachable: false
13019
+ };
13020
+ }
13008
13021
  const remoteMcpUrl = getOAuthProvider(definitionId)?.mcpUrl ?? input.remoteMcpUrl ?? null;
13009
13022
  if (remoteMcpUrl) {
13010
13023
  const fromRegistry = Boolean(getOAuthProvider(definitionId)?.mcpUrl);
@@ -14988,6 +15001,22 @@ function isSessionToolBindCandidate(input) {
14988
15001
  return classifyBindDelivery(input) === "mcp";
14989
15002
  }
14990
15003
 
15004
+ // ../../packages/core/dist/integrations/byo-client-credentials.js
15005
+ var RULES = {
15006
+ "composio/metaads": {
15007
+ idLabel: "App ID",
15008
+ secretLabel: "App Secret",
15009
+ idPlaceholder: "Numbers only, e.g. 1234567890123456",
15010
+ secretPlaceholder: "Your Meta app's App Secret",
15011
+ // Meta App IDs are numeric (15-16 digits today). Bounded loosely so a
15012
+ // shorter legacy id still passes; anything with a letter, space or slash
15013
+ // is certainly not one.
15014
+ idPattern: /^[0-9]{5,20}$/,
15015
+ idFormatHint: 'A Meta App ID is numbers only. Find it on developers.facebook.com: open your app, then App settings > Basic, and copy "App ID" (not the app name or a token).'
15016
+ }
15017
+ };
15018
+ var BYO_CLIENT_CREDENTIAL_RULE_IDS = Object.keys(RULES);
15019
+
14991
15020
  // ../../packages/core/dist/browserbase/login-capture-verdict.js
14992
15021
  var SITE_LOGIN_COOKIES = Object.freeze([
14993
15022
  Object.freeze({ host: "linkedin.com", cookies: Object.freeze(["li_at"]) }),
@@ -17802,6 +17831,7 @@ export {
17802
17831
  handshakeToolsListOutcome,
17803
17832
  bestConnectivityEvidence,
17804
17833
  worseConnectivityOutcome,
17834
+ isProbeRestrictedByProviderTerms,
17805
17835
  resolveConnectivityProbe,
17806
17836
  probeHttpProvider,
17807
17837
  probeMcpHttp,
@@ -17903,4 +17933,4 @@ export {
17903
17933
  HOST_ROTATE_KEY_CONFLICT,
17904
17934
  shouldMintReplacementKey
17905
17935
  };
17906
- //# sourceMappingURL=chunk-B5ZQQ7Z2.js.map
17936
+ //# sourceMappingURL=chunk-MJXBNSJY.js.map