@integrity-labs/agt-cli 0.28.514 → 0.28.515

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
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-GJ6U2XU6.js";
43
+ } from "../chunk-4IWIH6MV.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -233,15 +233,19 @@ async function probeToolsCommand(opts) {
233
233
  emit({ ok: true, agent_id: agentId, code_name: codeName, probed: 0, reported: 0, due: 0, skipped: 0, results: [] });
234
234
  return;
235
235
  }
236
- const sessionLoadedServerKeys = new Set(
237
- readDirectChatSessionState(agentId)?.mcpServerKeys ?? []
238
- );
236
+ const dcSession = readDirectChatSessionState(agentId);
237
+ const sessionLoadedServerKeys = new Set(dcSession?.mcpServerKeys ?? []);
239
238
  const projectDir = join2(homedir2(), ".augmented", codeName, "project");
240
239
  const result = await gatherSessionToolBindProbe(
241
240
  { agent_id: agentId, code_name: codeName },
242
241
  integrations,
243
242
  projectDir,
244
- { sessionLoadedServerKeys, intervalMs: 0, maxPerRun: integrations.length }
243
+ {
244
+ sessionLoadedServerKeys,
245
+ sessionStartedMs: dcSession?.startedAtMs ?? null,
246
+ intervalMs: 0,
247
+ maxPerRun: integrations.length
248
+ }
245
249
  );
246
250
  if (!result) {
247
251
  emit({
@@ -4830,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
4830
4834
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4831
4835
  import chalk18 from "chalk";
4832
4836
  import ora16 from "ora";
4833
- var cliVersion = true ? "0.28.514" : "dev";
4837
+ var cliVersion = true ? "0.28.515" : "dev";
4834
4838
  async function fetchLatestVersion() {
4835
4839
  const host2 = getHost();
4836
4840
  if (!host2) return null;
@@ -6002,7 +6006,7 @@ function handleError(err) {
6002
6006
  }
6003
6007
 
6004
6008
  // src/bin/agt.ts
6005
- var cliVersion2 = true ? "0.28.514" : "dev";
6009
+ var cliVersion2 = true ? "0.28.515" : "dev";
6006
6010
  var program = new Command();
6007
6011
  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");
6008
6012
  program.hook("preAction", async (thisCommand, actionCommand) => {