@integrity-labs/agt-cli 0.28.1216 → 0.28.1217

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-B5ZQQ7Z2.js → chunk-4EY3CUZB.js} +31 -1
  3. package/dist/chunk-4EY3CUZB.js.map +1 -0
  4. package/dist/{chunk-QHO44YUB.js → chunk-DYEJT36T.js} +2 -2
  5. package/dist/{chunk-QCQYDXYP.js → chunk-G4TOCXOT.js} +3 -3
  6. package/dist/{chunk-U63NF4FC.js → chunk-IGNZSNKB.js} +2 -2
  7. package/dist/{chunk-KZMARLWR.js → chunk-WIWPIZFN.js} +37 -12
  8. package/dist/{chunk-KZMARLWR.js.map → chunk-WIWPIZFN.js.map} +1 -1
  9. package/dist/{claude-code-updater-FTIWTIDK.js → claude-code-updater-WJIPTVFL.js} +3 -3
  10. package/dist/{claude-pair-runtime-M3QT5MWP.js → claude-pair-runtime-P3EO7NO3.js} +3 -3
  11. package/dist/lib/manager-worker.js +19 -19
  12. package/dist/mcp/direct-chat-channel.js +34 -18
  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-3QL5YBCS.js} +4 -4
  18. package/dist/{responsiveness-probe-LMBZ5JOK.js → responsiveness-probe-BCVBNGYY.js} +4 -4
  19. package/dist/{session-auth-dead-NRVMU7CE.js → session-auth-dead-YJH56AWH.js} +3 -3
  20. package/package.json +1 -1
  21. package/dist/chunk-B5ZQQ7Z2.js.map +0 -1
  22. /package/dist/{chunk-QHO44YUB.js.map → chunk-DYEJT36T.js.map} +0 -0
  23. /package/dist/{chunk-QCQYDXYP.js.map → chunk-G4TOCXOT.js.map} +0 -0
  24. /package/dist/{chunk-U63NF4FC.js.map → chunk-IGNZSNKB.js.map} +0 -0
  25. /package/dist/{claude-code-updater-FTIWTIDK.js.map → claude-code-updater-WJIPTVFL.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-M3QT5MWP.js.map → claude-pair-runtime-P3EO7NO3.js.map} +0 -0
  27. /package/dist/{persistent-session-WEQTZT4Z.js.map → persistent-session-3QL5YBCS.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-LMBZ5JOK.js.map → responsiveness-probe-BCVBNGYY.js.map} +0 -0
  29. /package/dist/{session-auth-dead-NRVMU7CE.js.map → session-auth-dead-YJH56AWH.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,17 +40,17 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-KZMARLWR.js";
43
+ } from "../chunk-WIWPIZFN.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-QCQYDXYP.js";
48
+ } from "../chunk-G4TOCXOT.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-U63NF4FC.js";
53
+ } from "../chunk-IGNZSNKB.js";
54
54
  import "../chunk-HYQ7VOC3.js";
55
55
  import "../chunk-6HBXEJHO.js";
56
56
  import "../chunk-XWVM4KPK.js";
@@ -83,7 +83,7 @@ import {
83
83
  requiredMcpWildcard,
84
84
  resolveChannels,
85
85
  serializeManifestForSlackCli
86
- } from "../chunk-B5ZQQ7Z2.js";
86
+ } from "../chunk-4EY3CUZB.js";
87
87
  import "../chunk-AIUIMEUS.js";
88
88
  import "../chunk-DGUM43GV.js";
89
89
 
@@ -5200,7 +5200,7 @@ import { execFileSync, execSync } from "child_process";
5200
5200
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5201
5201
  import chalk17 from "chalk";
5202
5202
  import ora15 from "ora";
5203
- var cliVersion = true ? "0.28.1216" : "dev";
5203
+ var cliVersion = true ? "0.28.1217" : "dev";
5204
5204
  async function fetchLatestVersion() {
5205
5205
  const host2 = getHost();
5206
5206
  if (!host2) return null;
@@ -6460,7 +6460,7 @@ function handleError(err) {
6460
6460
  }
6461
6461
 
6462
6462
  // src/bin/agt.ts
6463
- var cliVersion2 = true ? "0.28.1216" : "dev";
6463
+ var cliVersion2 = true ? "0.28.1217" : "dev";
6464
6464
  var program = new Command();
6465
6465
  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");
6466
6466
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -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-4EY3CUZB.js.map