@integrity-labs/agt-cli 0.28.754 → 0.28.755

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.
package/dist/bin/agt.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  success,
42
42
  table,
43
43
  warn
44
- } from "../chunk-BNXP2TOA.js";
44
+ } from "../chunk-3PIEDU3Z.js";
45
45
  import {
46
46
  getProjectDir,
47
47
  isSessionResumeDisabled,
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.754" : "dev";
5470
+ var cliVersion = true ? "0.28.755" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6658,7 +6658,7 @@ function handleError(err) {
6658
6658
  }
6659
6659
 
6660
6660
  // src/bin/agt.ts
6661
- var cliVersion2 = true ? "0.28.754" : "dev";
6661
+ var cliVersion2 = true ? "0.28.755" : "dev";
6662
6662
  var program = new Command();
6663
6663
  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");
6664
6664
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -6436,7 +6436,7 @@ function exchangeFailureKind(err) {
6436
6436
  }
6437
6437
 
6438
6438
  // src/lib/api-client.ts
6439
- var agtCliVersion = true ? "0.28.754" : "dev";
6439
+ var agtCliVersion = true ? "0.28.755" : "dev";
6440
6440
  var lastConfigHash = null;
6441
6441
  function setConfigHash(hash) {
6442
6442
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10593,4 +10593,4 @@ export {
10593
10593
  managerInstallSystemUnitCommand,
10594
10594
  managerUninstallSystemUnitCommand
10595
10595
  };
10596
- //# sourceMappingURL=chunk-BNXP2TOA.js.map
10596
+ //# sourceMappingURL=chunk-3PIEDU3Z.js.map
@@ -58,7 +58,7 @@ import {
58
58
  safeWriteJsonAtomic,
59
59
  setConfigHash,
60
60
  tripClass
61
- } from "../chunk-BNXP2TOA.js";
61
+ } from "../chunk-3PIEDU3Z.js";
62
62
  import {
63
63
  getProjectDir as getProjectDir2,
64
64
  getReadyTasks,
@@ -662,13 +662,6 @@ function resolveChannelLaunchFlags(channelConfigs, quarantinedChannels) {
662
662
  }
663
663
 
664
664
  // src/lib/channel-sync-precondition.ts
665
- var CHANNEL_BACKING_INTEGRATION = Object.freeze({
666
- slack: "slack",
667
- telegram: "telegram",
668
- msteams: "msteams",
669
- whatsapp: "whatsapp",
670
- discord: "discord"
671
- });
672
665
  function createEffectiveIntegrationObservations() {
673
666
  return /* @__PURE__ */ new Map();
674
667
  }
@@ -678,17 +671,6 @@ function recordEffectiveIntegrationIds(observations, agentId, definitionIds) {
678
671
  function forgetEffectiveIntegrations(observations, agentId) {
679
672
  observations.delete(agentId);
680
673
  }
681
- function checkChannelIntegrationPrecondition(observations, agentId, channelId) {
682
- const definitionId = Object.prototype.hasOwnProperty.call(CHANNEL_BACKING_INTEGRATION, channelId) ? CHANNEL_BACKING_INTEGRATION[channelId] : void 0;
683
- if (!definitionId) return { status: "unknown" };
684
- const observed = observations.get(agentId);
685
- if (!observed) return { status: "unknown" };
686
- if (observed.has(definitionId)) return { status: "ok" };
687
- return { status: "integration-missing", definitionId };
688
- }
689
- function channelIntegrationMissingReason(channelId, definitionId) {
690
- return `the '${definitionId}' integration is not installed on this agent in any scope, so ${channelId} credentials cannot converge \u2014 not retrying until it is installed (ENG-9652)`;
691
- }
692
674
 
693
675
  // src/lib/sender-policy-restart-decision.ts
694
676
  function decideSenderPolicyRestart(input) {
@@ -13403,7 +13385,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13403
13385
  var lastVersionCheckAt = 0;
13404
13386
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13405
13387
  var lastResponsivenessProbeAt = 0;
13406
- var agtCliVersion = true ? "0.28.754" : "dev";
13388
+ var agtCliVersion = true ? "0.28.755" : "dev";
13407
13389
  function resolveBrewPath(execFileSync3) {
13408
13390
  try {
13409
13391
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -16807,19 +16789,6 @@ async function processAgent(agent, agentStates, managedToolkits) {
16807
16789
  );
16808
16790
  }
16809
16791
  }
16810
- const precondition = checkChannelIntegrationPrecondition(
16811
- effectiveIntegrationObservations,
16812
- agent.agent_id,
16813
- channelId
16814
- );
16815
- if (precondition.status === "integration-missing") {
16816
- channelConfigConverged = false;
16817
- channelConfigFailureReason = channelIntegrationMissingReason(
16818
- channelId,
16819
- precondition.definitionId
16820
- );
16821
- continue;
16822
- }
16823
16792
  frameworkAdapter.writeChannelCredentials(
16824
16793
  agent.code_name,
16825
16794
  channelId,