@integrity-labs/agt-cli 0.28.583 → 0.28.585

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.
@@ -5629,6 +5629,10 @@ function cliArgsFor(definitionId, ct) {
5629
5629
  }
5630
5630
  return CLI_PROBE_ARGS[definitionId] ?? ["--version"];
5631
5631
  }
5632
+ function cliArgsAreAuthCheckFor(definitionId, ct) {
5633
+ const args = cliArgsFor(definitionId, ct);
5634
+ return !(args.length === 1 && args[0] === "--version");
5635
+ }
5632
5636
  function mcpOverrideFrom(ct) {
5633
5637
  const tool = typeof ct?.tool === "string" && ct.tool.trim().length > 0 ? ct.tool.trim() : void 0;
5634
5638
  if (!tool)
@@ -5714,9 +5718,21 @@ function resolveConnectivityProbe(input) {
5714
5718
  readOnly: true,
5715
5719
  label: `${definitionId}: CLI reachability`,
5716
5720
  centralReachable: false,
5717
- cliArgs: cliArgsFor(definitionId, input.connectivityTest)
5721
+ cliArgs: cliArgsFor(definitionId, input.connectivityTest),
5722
+ cliArgsAreAuthCheck: cliArgsAreAuthCheckFor(definitionId, input.connectivityTest)
5718
5723
  };
5719
5724
  case "native":
5725
+ if (input.cliBinary) {
5726
+ return {
5727
+ kind: "cli_command",
5728
+ sourceType: "native",
5729
+ readOnly: true,
5730
+ label: `${definitionId}: CLI reachability (${input.cliBinary})`,
5731
+ centralReachable: false,
5732
+ cliArgs: cliArgsFor(definitionId, input.connectivityTest),
5733
+ cliArgsAreAuthCheck: cliArgsAreAuthCheckFor(definitionId, input.connectivityTest)
5734
+ };
5735
+ }
5720
5736
  return {
5721
5737
  kind: "builtin",
5722
5738
  sourceType: "native",
@@ -7956,7 +7972,13 @@ var AGENT_DIRECTED_NOTICE_KINDS = [
7956
7972
  // a raw request id and Slack channel id. Both are second-person instructions
7957
7973
  // to the agent and were being rendered verbatim to the customer.
7958
7974
  "manager_feedback",
7959
- "form_timeout"
7975
+ "form_timeout",
7976
+ // ENG-8725. The resume notice opens "The integration you asked for is now
7977
+ // connected" and instructs the agent to pick the task back up — second person,
7978
+ // written for the machine. The user learns the same fact from the connect card
7979
+ // in that conversation flipping to its connected state, so showing this row as
7980
+ // well would say it twice, the second time in prose aimed at an agent.
7981
+ "integration_connected"
7960
7982
  ];
7961
7983
  var AGENT_DIRECTED_KIND_SET = new Set(AGENT_DIRECTED_NOTICE_KINDS);
7962
7984
 
@@ -16020,4 +16042,4 @@ export {
16020
16042
  stopAllSessionsAndWait,
16021
16043
  getProjectDir
16022
16044
  };
16023
- //# sourceMappingURL=chunk-RDBPQZVG.js.map
16045
+ //# sourceMappingURL=chunk-GMTRKIHI.js.map