@integrity-labs/agt-cli 0.28.668 → 0.28.669

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,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-EQK5Q7ZL.js";
43
+ } from "../chunk-TUQQYFGV.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-52V5BMBC.js";
46
+ } from "../chunk-U5EI5SXJ.js";
47
47
  import {
48
48
  AnchorSessionClient,
49
49
  CHANNEL_REGISTRY,
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
4909
4909
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4910
4910
  import chalk18 from "chalk";
4911
4911
  import ora16 from "ora";
4912
- var cliVersion = true ? "0.28.668" : "dev";
4912
+ var cliVersion = true ? "0.28.669" : "dev";
4913
4913
  async function fetchLatestVersion() {
4914
4914
  const host2 = getHost();
4915
4915
  if (!host2) return null;
@@ -6089,7 +6089,7 @@ function handleError(err) {
6089
6089
  }
6090
6090
 
6091
6091
  // src/bin/agt.ts
6092
- var cliVersion2 = true ? "0.28.668" : "dev";
6092
+ var cliVersion2 = true ? "0.28.669" : "dev";
6093
6093
  var program = new Command();
6094
6094
  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");
6095
6095
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  LATE_BOUND_VARS,
3
+ agentTmpDirFor,
3
4
  buildLiveHeaderRemoteMcpProxyEntry,
4
5
  buildNativeMcpEntry,
5
6
  buildOAuthRemoteMcpProxyEntry,
@@ -8,7 +9,7 @@ import {
8
9
  isolationMode,
9
10
  log,
10
11
  parseEnvIntegrations
11
- } from "./chunk-52V5BMBC.js";
12
+ } from "./chunk-U5EI5SXJ.js";
12
13
  import {
13
14
  BIND_FAILURE_QUARANTINE_THRESHOLD,
14
15
  INTEGRATIONS_SECTION_END,
@@ -1884,6 +1885,9 @@ function getProjectDir(codeName) {
1884
1885
  function getScratchDir(codeName) {
1885
1886
  return join3(getAgentDir(codeName), "scratch");
1886
1887
  }
1888
+ function getAgentTmpDir(codeName) {
1889
+ return agentTmpDirFor(getAgentDir(codeName));
1890
+ }
1887
1891
  function sweepScratchDir(codeName, now = Date.now()) {
1888
1892
  const scratchDir = getScratchDir(codeName);
1889
1893
  let removed = 0;
@@ -2062,6 +2066,7 @@ function deployArtifactsToProject(codeName, provisionDir) {
2062
2066
  mkdirSync3(projectDir, { recursive: true });
2063
2067
  try {
2064
2068
  mkdirSync3(getScratchDir(codeName), { recursive: true });
2069
+ mkdirSync3(getAgentTmpDir(codeName), { recursive: true });
2065
2070
  sweepScratchDir(codeName);
2066
2071
  } catch (err) {
2067
2072
  process.stderr.write(`[scratch] [ensure-or-sweep-failed] agent=${codeName} error=${err.message}
@@ -6342,7 +6347,7 @@ function exchangeFailureKind(err) {
6342
6347
  }
6343
6348
 
6344
6349
  // src/lib/api-client.ts
6345
- var agtCliVersion = true ? "0.28.668" : "dev";
6350
+ var agtCliVersion = true ? "0.28.669" : "dev";
6346
6351
  var lastConfigHash = null;
6347
6352
  function setConfigHash(hash) {
6348
6353
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10084,4 +10089,4 @@ export {
10084
10089
  managerInstallSystemUnitCommand,
10085
10090
  managerUninstallSystemUnitCommand
10086
10091
  };
10087
- //# sourceMappingURL=chunk-EQK5Q7ZL.js.map
10092
+ //# sourceMappingURL=chunk-TUQQYFGV.js.map