@integrity-labs/agt-cli 0.28.1215 → 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-KZZZUC5N.js → chunk-4EY3CUZB.js} +35 -1
  3. package/dist/chunk-4EY3CUZB.js.map +1 -0
  4. package/dist/{chunk-K4Y3PMWM.js → chunk-DYEJT36T.js} +2 -2
  5. package/dist/{chunk-Y2PSZAJQ.js → chunk-G4TOCXOT.js} +3 -3
  6. package/dist/{chunk-HZ4EL7WU.js → chunk-IGNZSNKB.js} +2 -2
  7. package/dist/{chunk-BPXFPKJ4.js → chunk-WIWPIZFN.js} +37 -12
  8. package/dist/{chunk-BPXFPKJ4.js.map → chunk-WIWPIZFN.js.map} +1 -1
  9. package/dist/{claude-code-updater-PBEYKZ34.js → claude-code-updater-WJIPTVFL.js} +3 -3
  10. package/dist/{claude-pair-runtime-5RPDOVKD.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 +38 -18
  13. package/dist/mcp/index.js +71 -23
  14. package/dist/mcp/origami.js +38 -18
  15. package/dist/mcp/slack-channel.js +38 -18
  16. package/dist/mcp/telegram-channel.js +38 -18
  17. package/dist/{persistent-session-NCDYGOAP.js → persistent-session-3QL5YBCS.js} +4 -4
  18. package/dist/{responsiveness-probe-6BYTKCOJ.js → responsiveness-probe-BCVBNGYY.js} +4 -4
  19. package/dist/{session-auth-dead-SO5JH3MQ.js → session-auth-dead-YJH56AWH.js} +3 -3
  20. package/package.json +1 -1
  21. package/dist/chunk-KZZZUC5N.js.map +0 -1
  22. /package/dist/{chunk-K4Y3PMWM.js.map → chunk-DYEJT36T.js.map} +0 -0
  23. /package/dist/{chunk-Y2PSZAJQ.js.map → chunk-G4TOCXOT.js.map} +0 -0
  24. /package/dist/{chunk-HZ4EL7WU.js.map → chunk-IGNZSNKB.js.map} +0 -0
  25. /package/dist/{claude-code-updater-PBEYKZ34.js.map → claude-code-updater-WJIPTVFL.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-5RPDOVKD.js.map → claude-pair-runtime-P3EO7NO3.js.map} +0 -0
  27. /package/dist/{persistent-session-NCDYGOAP.js.map → persistent-session-3QL5YBCS.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-6BYTKCOJ.js.map → responsiveness-probe-BCVBNGYY.js.map} +0 -0
  29. /package/dist/{session-auth-dead-SO5JH3MQ.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-BPXFPKJ4.js";
43
+ } from "../chunk-WIWPIZFN.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-Y2PSZAJQ.js";
48
+ } from "../chunk-G4TOCXOT.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-HZ4EL7WU.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-KZZZUC5N.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.1215" : "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.1215" : "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) => {
@@ -6224,6 +6224,10 @@ var WAITING_KINDS = [
6224
6224
  ];
6225
6225
  var WAITING_KIND_SET = new Set(WAITING_KINDS);
6226
6226
 
6227
+ // ../../packages/core/dist/kanban/manager-agent-wait.js
6228
+ var HUMAN_ONLY_WAIT_REASONS = "approvals, credentials, customer contact, merges, deploys, access and spend";
6229
+ var MANAGER_AGENT_WAIT_GUIDANCE = `If you report to a manager AGENT, a scope, design or engineering decision (picking between options, settling what to build) goes to it: waiting_kind="agent" with waiting_on_agent=<your manager's code_name>, not "human". Keep waiting_kind="human" for ${HUMAN_ONLY_WAIT_REASONS}.`;
6230
+
6227
6231
  // ../../packages/core/dist/feature-flags/registry.js
6228
6232
  var FLAG_REGISTRY = [
6229
6233
  {
@@ -12769,6 +12773,10 @@ var APPROVAL_BROKER_TOOLKITS = /* @__PURE__ */ new Set(["xero-broker"]);
12769
12773
  function isApprovalBrokerToolkit(definitionId) {
12770
12774
  return APPROVAL_BROKER_TOOLKITS.has(definitionId);
12771
12775
  }
12776
+ var TERMS_RESTRICTED_REMOTE_MCPS = /* @__PURE__ */ new Set(["ahrefs"]);
12777
+ function isProbeRestrictedByProviderTerms(definitionId) {
12778
+ return TERMS_RESTRICTED_REMOTE_MCPS.has(definitionId);
12779
+ }
12772
12780
  function isHostUnprobeableBroker(definitionId) {
12773
12781
  return isBrokerToolkit(definitionId) || isApprovalBrokerToolkit(definitionId);
12774
12782
  }
@@ -13001,6 +13009,15 @@ function resolveConnectivityProbe(input) {
13001
13009
  ...probeArgs ? { probeArgs } : {}
13002
13010
  };
13003
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
+ }
13004
13021
  const remoteMcpUrl = getOAuthProvider(definitionId)?.mcpUrl ?? input.remoteMcpUrl ?? null;
13005
13022
  if (remoteMcpUrl) {
13006
13023
  const fromRegistry = Boolean(getOAuthProvider(definitionId)?.mcpUrl);
@@ -14984,6 +15001,22 @@ function isSessionToolBindCandidate(input) {
14984
15001
  return classifyBindDelivery(input) === "mcp";
14985
15002
  }
14986
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
+
14987
15020
  // ../../packages/core/dist/browserbase/login-capture-verdict.js
14988
15021
  var SITE_LOGIN_COOKIES = Object.freeze([
14989
15022
  Object.freeze({ host: "linkedin.com", cookies: Object.freeze(["li_at"]) }),
@@ -17798,6 +17831,7 @@ export {
17798
17831
  handshakeToolsListOutcome,
17799
17832
  bestConnectivityEvidence,
17800
17833
  worseConnectivityOutcome,
17834
+ isProbeRestrictedByProviderTerms,
17801
17835
  resolveConnectivityProbe,
17802
17836
  probeHttpProvider,
17803
17837
  probeMcpHttp,
@@ -17899,4 +17933,4 @@ export {
17899
17933
  HOST_ROTATE_KEY_CONFLICT,
17900
17934
  shouldMintReplacementKey
17901
17935
  };
17902
- //# sourceMappingURL=chunk-KZZZUC5N.js.map
17936
+ //# sourceMappingURL=chunk-4EY3CUZB.js.map