@integrity-labs/agt-cli 0.28.257 → 0.28.258

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
@@ -38,7 +38,7 @@ import {
38
38
  success,
39
39
  table,
40
40
  warn
41
- } from "../chunk-FKVH7UZA.js";
41
+ } from "../chunk-2AWMBQJD.js";
42
42
  import {
43
43
  CHANNEL_REGISTRY,
44
44
  DEFAULT_FRAMEWORK,
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
4826
4826
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4827
4827
  import chalk18 from "chalk";
4828
4828
  import ora16 from "ora";
4829
- var cliVersion = true ? "0.28.257" : "dev";
4829
+ var cliVersion = true ? "0.28.258" : "dev";
4830
4830
  async function fetchLatestVersion() {
4831
4831
  const host2 = getHost();
4832
4832
  if (!host2) return null;
@@ -5840,7 +5840,7 @@ function handleError(err) {
5840
5840
  }
5841
5841
 
5842
5842
  // src/bin/agt.ts
5843
- var cliVersion2 = true ? "0.28.257" : "dev";
5843
+ var cliVersion2 = true ? "0.28.258" : "dev";
5844
5844
  var program = new Command();
5845
5845
  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");
5846
5846
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -5832,7 +5832,7 @@ function requireHost() {
5832
5832
  }
5833
5833
 
5834
5834
  // src/lib/api-client.ts
5835
- var agtCliVersion = true ? "0.28.257" : "dev";
5835
+ var agtCliVersion = true ? "0.28.258" : "dev";
5836
5836
  var lastConfigHash = null;
5837
5837
  function setConfigHash(hash) {
5838
5838
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8102,4 +8102,4 @@ export {
8102
8102
  managerInstallSystemUnitCommand,
8103
8103
  managerUninstallSystemUnitCommand
8104
8104
  };
8105
- //# sourceMappingURL=chunk-FKVH7UZA.js.map
8105
+ //# sourceMappingURL=chunk-2AWMBQJD.js.map
@@ -37,7 +37,7 @@ import {
37
37
  requireHost,
38
38
  safeWriteJsonAtomic,
39
39
  setConfigHash
40
- } from "../chunk-FKVH7UZA.js";
40
+ } from "../chunk-2AWMBQJD.js";
41
41
  import {
42
42
  getProjectDir as getProjectDir2,
43
43
  getReadyTasks,
@@ -6669,7 +6669,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6669
6669
  var lastVersionCheckAt = 0;
6670
6670
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6671
6671
  var lastResponsivenessProbeAt = 0;
6672
- var agtCliVersion = true ? "0.28.257" : "dev";
6672
+ var agtCliVersion = true ? "0.28.258" : "dev";
6673
6673
  function resolveBrewPath(execFileSync2) {
6674
6674
  try {
6675
6675
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -13880,7 +13880,7 @@ function createInboundContextClient(args) {
13880
13880
  const resp = await fetchImpl(`${base}/host/exchange`, {
13881
13881
  method: "POST",
13882
13882
  headers: { "Content-Type": "application/json" },
13883
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
13883
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
13884
13884
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
13885
13885
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
13886
13886
  });
@@ -14699,7 +14699,7 @@ function createKanbanCardActiveClient(args) {
14699
14699
  const resp = await fetchImpl(`${base}/host/exchange`, {
14700
14700
  method: "POST",
14701
14701
  headers: { "Content-Type": "application/json" },
14702
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
14702
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
14703
14703
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
14704
14704
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS2)
14705
14705
  });
@@ -14929,7 +14929,7 @@ async function getAuthToken() {
14929
14929
  const res = await fetchWithTimeout(`${AGT_HOST}/host/exchange`, {
14930
14930
  method: "POST",
14931
14931
  headers: { "Content-Type": "application/json" },
14932
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
14932
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
14933
14933
  // AGT_AGENT_ID undefined => JSON drops it => host-wide (backward compatible).
14934
14934
  body: JSON.stringify({ host_key: AGT_API_KEY, agent_id: AGT_AGENT_ID })
14935
14935
  }, HTTP_TIMEOUT_MS);
@@ -6819,7 +6819,7 @@ async function getAuthToken(cfg) {
6819
6819
  const res = await fetch(`${cfg.apiHost}/host/exchange`, {
6820
6820
  method: "POST",
6821
6821
  headers: { "Content-Type": "application/json" },
6822
- // ENG-7436 (ADR-0041 P1): scope the exchange to this agent so the API can
6822
+ // ENG-7436 (ADR-0042 P1): scope the exchange to this agent so the API can
6823
6823
  // enforce the per-agent org gate and bind the token to one agent. This is a
6824
6824
  // per-agent in-container caller (RuntimeConfig.agentId), so it is the
6825
6825
  // natural place to send agent_id; the host-level manager exchange stays
@@ -16071,7 +16071,7 @@ function createKanbanCardActiveClient(args) {
16071
16071
  const resp = await fetchImpl(`${base}/host/exchange`, {
16072
16072
  method: "POST",
16073
16073
  headers: { "Content-Type": "application/json" },
16074
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
16074
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
16075
16075
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
16076
16076
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
16077
16077
  });
@@ -17526,7 +17526,7 @@ function createConversationIngestClient(args) {
17526
17526
  method: "POST",
17527
17527
  headers: { "Content-Type": "application/json" },
17528
17528
  // ENG-7438: scope the exchange to this agent so the API can apply the
17529
- // per-agent org gate (ADR-0041 P1). Self-scoped caller.
17529
+ // per-agent org gate (ADR-0042 P1). Self-scoped caller.
17530
17530
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
17531
17531
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS3)
17532
17532
  });
@@ -17599,7 +17599,7 @@ function createInboundContextClient(args) {
17599
17599
  const resp = await fetchImpl(`${base}/host/exchange`, {
17600
17600
  method: "POST",
17601
17601
  headers: { "Content-Type": "application/json" },
17602
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
17602
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
17603
17603
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
17604
17604
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS4)
17605
17605
  });
@@ -17670,7 +17670,7 @@ function createSlackBotUserIdClient(args) {
17670
17670
  const resp = await fetchImpl(`${base}/host/exchange`, {
17671
17671
  method: "POST",
17672
17672
  headers: { "Content-Type": "application/json" },
17673
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
17673
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
17674
17674
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
17675
17675
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS5)
17676
17676
  });
@@ -14441,7 +14441,7 @@ function startMsteamsInboundPuller(args) {
14441
14441
  const resp = await fetchImpl(`${base}/host/exchange`, {
14442
14442
  method: "POST",
14443
14443
  headers: { "Content-Type": "application/json" },
14444
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
14444
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
14445
14445
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
14446
14446
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
14447
14447
  });
@@ -14578,7 +14578,7 @@ function createInboundContextClient(args) {
14578
14578
  const resp = await fetchImpl(`${base}/host/exchange`, {
14579
14579
  method: "POST",
14580
14580
  headers: { "Content-Type": "application/json" },
14581
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
14581
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
14582
14582
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
14583
14583
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS2)
14584
14584
  });
@@ -6819,7 +6819,7 @@ async function getAuthToken(cfg) {
6819
6819
  const res = await fetch(`${cfg.apiHost}/host/exchange`, {
6820
6820
  method: "POST",
6821
6821
  headers: { "Content-Type": "application/json" },
6822
- // ENG-7436 (ADR-0041 P1): scope the exchange to this agent so the API can
6822
+ // ENG-7436 (ADR-0042 P1): scope the exchange to this agent so the API can
6823
6823
  // enforce the per-agent org gate and bind the token to one agent. This is a
6824
6824
  // per-agent in-container caller (RuntimeConfig.agentId), so it is the
6825
6825
  // natural place to send agent_id; the host-level manager exchange stays
@@ -15619,7 +15619,7 @@ function createDiagnosticEventClient(args) {
15619
15619
  const resp = await fetchImpl(`${base}/host/exchange`, {
15620
15620
  method: "POST",
15621
15621
  headers: { "Content-Type": "application/json" },
15622
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
15622
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
15623
15623
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
15624
15624
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS2)
15625
15625
  });
@@ -16244,7 +16244,7 @@ function createObservedChatClient(args) {
16244
16244
  const resp = await fetchImpl(`${base}/host/exchange`, {
16245
16245
  method: "POST",
16246
16246
  headers: { "Content-Type": "application/json" },
16247
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
16247
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
16248
16248
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
16249
16249
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS3)
16250
16250
  });
@@ -16327,7 +16327,7 @@ function createConversationIngestClient(args) {
16327
16327
  method: "POST",
16328
16328
  headers: { "Content-Type": "application/json" },
16329
16329
  // ENG-7438: scope the exchange to this agent so the API can apply the
16330
- // per-agent org gate (ADR-0041 P1). Self-scoped caller.
16330
+ // per-agent org gate (ADR-0042 P1). Self-scoped caller.
16331
16331
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
16332
16332
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS4)
16333
16333
  });
@@ -16400,7 +16400,7 @@ function createInboundContextClient(args) {
16400
16400
  const resp = await fetchImpl(`${base}/host/exchange`, {
16401
16401
  method: "POST",
16402
16402
  headers: { "Content-Type": "application/json" },
16403
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
16403
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
16404
16404
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
16405
16405
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS5)
16406
16406
  });
@@ -16952,7 +16952,7 @@ function createKanbanCardActiveClient(args) {
16952
16952
  const resp = await fetchImpl(`${base}/host/exchange`, {
16953
16953
  method: "POST",
16954
16954
  headers: { "Content-Type": "application/json" },
16955
- // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0041 P1).
16955
+ // ENG-7438: scope the exchange to this agent (per-agent org gate, ADR-0042 P1).
16956
16956
  body: JSON.stringify({ host_key: apiKey, agent_id: agentId }),
16957
16957
  signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS6)
16958
16958
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.257",
3
+ "version": "0.28.258",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {