@integrity-labs/agt-cli 0.19.22 → 0.19.23

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
@@ -50,7 +50,7 @@ import {
50
50
  success,
51
51
  table,
52
52
  warn
53
- } from "../chunk-TD4ZSQ74.js";
53
+ } from "../chunk-EPYGSR3M.js";
54
54
 
55
55
  // src/bin/agt.ts
56
56
  import { join as join10 } from "path";
@@ -3734,7 +3734,7 @@ import { execFileSync, execSync } from "child_process";
3734
3734
  import { existsSync as existsSync5, realpathSync } from "fs";
3735
3735
  import chalk17 from "chalk";
3736
3736
  import ora15 from "ora";
3737
- var cliVersion = true ? "0.19.22" : "dev";
3737
+ var cliVersion = true ? "0.19.23" : "dev";
3738
3738
  async function fetchLatestVersion() {
3739
3739
  const host2 = getHost();
3740
3740
  if (!host2) return null;
@@ -4266,7 +4266,7 @@ function handleError(err) {
4266
4266
  }
4267
4267
 
4268
4268
  // src/bin/agt.ts
4269
- var cliVersion2 = true ? "0.19.22" : "dev";
4269
+ var cliVersion2 = true ? "0.19.23" : "dev";
4270
4270
  var program = new Command();
4271
4271
  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");
4272
4272
  program.hook("preAction", (thisCommand) => {
@@ -9285,4 +9285,4 @@ export {
9285
9285
  managerInstallSystemUnitCommand,
9286
9286
  managerUninstallSystemUnitCommand
9287
9287
  };
9288
- //# sourceMappingURL=chunk-TD4ZSQ74.js.map
9288
+ //# sourceMappingURL=chunk-EPYGSR3M.js.map
@@ -22,7 +22,7 @@ import {
22
22
  resolveChannels,
23
23
  resolveDmTarget,
24
24
  wrapScheduledTaskPrompt
25
- } from "../chunk-TD4ZSQ74.js";
25
+ } from "../chunk-EPYGSR3M.js";
26
26
  import {
27
27
  findTaskByTemplate,
28
28
  getProjectDir,
@@ -2060,7 +2060,7 @@ function clearAgentCaches(agentId, codeName) {
2060
2060
  var cachedFrameworkVersion = null;
2061
2061
  var lastVersionCheckAt = 0;
2062
2062
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
2063
- var agtCliVersion = true ? "0.19.22" : "dev";
2063
+ var agtCliVersion = true ? "0.19.23" : "dev";
2064
2064
  function resolveBrewPath(execFileSync3) {
2065
2065
  try {
2066
2066
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -16476,6 +16476,9 @@ function askUserToolAvailable() {
16476
16476
  function interactiveHostAvailable() {
16477
16477
  return blockKitToolsAvailable() && Boolean(AGT_HOST && AGT_API_KEY && AGT_AGENT_ID);
16478
16478
  }
16479
+ function forwardingHostAvailable() {
16480
+ return Boolean(AGT_HOST && AGT_API_KEY && AGT_AGENT_ID);
16481
+ }
16479
16482
  async function postSlackMessageWithTs(payload) {
16480
16483
  try {
16481
16484
  const res = await fetch("https://slack.com/api/chat.postMessage", {
@@ -16960,9 +16963,9 @@ async function connectSocketMode() {
16960
16963
  return;
16961
16964
  }
16962
16965
  if (msg.type === "interactive" && msg.payload?.type === "block_actions") {
16963
- if (!interactiveHostAvailable()) {
16966
+ if (!forwardingHostAvailable()) {
16964
16967
  process.stderr.write(
16965
- `slack-channel(${AGENT_CODE_NAME}): block_actions received but Block Kit + host MCP wiring missing \u2014 dropping
16968
+ `slack-channel(${AGENT_CODE_NAME}): block_actions received but host MCP wiring missing (AGT_HOST/AGT_API_KEY/AGT_AGENT_ID) \u2014 dropping
16966
16969
  `
16967
16970
  );
16968
16971
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.19.22",
3
+ "version": "0.19.23",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {