@integrity-labs/agt-cli 0.28.433 → 0.28.435

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.
@@ -17,6 +17,7 @@ import {
17
17
  getFramework,
18
18
  isolationMode,
19
19
  listFlagDefinitions,
20
+ mcpWildcardsForServers,
20
21
  normalizeFlagValue,
21
22
  parseEnvIntegrations,
22
23
  probeComposioAccount,
@@ -28,7 +29,7 @@ import {
28
29
  resolveConnectivityProbe,
29
30
  worseConnectivityOutcome,
30
31
  wrapScheduledTaskPrompt
31
- } from "./chunk-NUKNLJNJ.js";
32
+ } from "./chunk-ZLFZXMNL.js";
32
33
  import {
33
34
  parsePsRows
34
35
  } from "./chunk-XWVM4KPK.js";
@@ -2878,13 +2879,10 @@ function buildSettingsJson(input) {
2878
2879
  settings["permissions"] = { deny: SECRETS_DENY_PERMISSIONS };
2879
2880
  return settings;
2880
2881
  }
2881
- function sanitizeMcpName(name) {
2882
- return name.replace(/-/g, "_");
2883
- }
2884
2882
  function buildChannelMessageHandlerAgent(args) {
2885
2883
  const mcpServerKeys = args?.mcpServerKeys ?? [];
2886
2884
  const integrations = args?.integrations ?? [];
2887
- const mcpWildcards = Array.from(new Set(mcpServerKeys.map((k) => `mcp__${sanitizeMcpName(k)}__*`)));
2885
+ const mcpWildcards = mcpWildcardsForServers(mcpServerKeys);
2888
2886
  const tools = [
2889
2887
  "Bash",
2890
2888
  "Read",
@@ -2936,7 +2934,7 @@ ${integrationsBlock}`;
2936
2934
  function buildAugmentedWorkerAgent(args) {
2937
2935
  const mcpServerKeys = args?.mcpServerKeys ?? [];
2938
2936
  const integrations = args?.integrations ?? [];
2939
- const mcpWildcards = Array.from(new Set(mcpServerKeys.map((k) => `mcp__${sanitizeMcpName(k)}__*`)));
2937
+ const mcpWildcards = mcpWildcardsForServers(mcpServerKeys);
2940
2938
  const tools = [
2941
2939
  "Bash",
2942
2940
  "Read",
@@ -4903,7 +4901,7 @@ function requireHost() {
4903
4901
  }
4904
4902
 
4905
4903
  // src/lib/api-client.ts
4906
- var agtCliVersion = true ? "0.28.433" : "dev";
4904
+ var agtCliVersion = true ? "0.28.435" : "dev";
4907
4905
  var lastConfigHash = null;
4908
4906
  function setConfigHash(hash) {
4909
4907
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -7404,4 +7402,4 @@ export {
7404
7402
  managerInstallSystemUnitCommand,
7405
7403
  managerUninstallSystemUnitCommand
7406
7404
  };
7407
- //# sourceMappingURL=chunk-RUVNJO63.js.map
7405
+ //# sourceMappingURL=chunk-VIOLJEBT.js.map