@integrity-labs/agt-cli 0.28.1283 → 0.28.1285

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.
Files changed (33) hide show
  1. package/dist/{api-client-34MRJANA.js → api-client-HGWXOP75.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-G3CTTMOE.js → chunk-35VGKRXH.js} +3 -3
  4. package/dist/{chunk-FFLU5VIN.js → chunk-DITI25ZO.js} +15 -4
  5. package/dist/chunk-DITI25ZO.js.map +1 -0
  6. package/dist/{chunk-5CUCQYZH.js → chunk-FRNONFQA.js} +2 -2
  7. package/dist/{chunk-D5DY5OKR.js → chunk-HJGZG3P6.js} +3 -3
  8. package/dist/{chunk-L4HODIVN.js → chunk-P3IPSNZK.js} +5 -5
  9. package/dist/{chunk-QK4R5ZIT.js → chunk-X7ZRYILH.js} +2 -2
  10. package/dist/{claude-code-updater-BQFWZDEI.js → claude-code-updater-6NRYKDKS.js} +3 -3
  11. package/dist/{claude-pair-runtime-L6XQTJKV.js → claude-pair-runtime-7UQEV7XI.js} +3 -3
  12. package/dist/lib/manager-worker.js +21 -21
  13. package/dist/mcp/direct-chat-channel.js +11 -0
  14. package/dist/mcp/index.js +12 -1
  15. package/dist/mcp/origami.js +11 -0
  16. package/dist/mcp/slack-channel.js +281 -3
  17. package/dist/mcp/telegram-channel.js +11 -0
  18. package/dist/{persistent-session-ISLJXHGH.js → persistent-session-VBJAAJC7.js} +4 -4
  19. package/dist/{responsiveness-probe-X3SNNEDY.js → responsiveness-probe-QKMGCTFR.js} +4 -4
  20. package/dist/{session-auth-dead-UBNHYRAW.js → session-auth-dead-IBUKQXBO.js} +3 -3
  21. package/package.json +1 -1
  22. package/dist/chunk-FFLU5VIN.js.map +0 -1
  23. /package/dist/{api-client-34MRJANA.js.map → api-client-HGWXOP75.js.map} +0 -0
  24. /package/dist/{chunk-G3CTTMOE.js.map → chunk-35VGKRXH.js.map} +0 -0
  25. /package/dist/{chunk-5CUCQYZH.js.map → chunk-FRNONFQA.js.map} +0 -0
  26. /package/dist/{chunk-D5DY5OKR.js.map → chunk-HJGZG3P6.js.map} +0 -0
  27. /package/dist/{chunk-L4HODIVN.js.map → chunk-P3IPSNZK.js.map} +0 -0
  28. /package/dist/{chunk-QK4R5ZIT.js.map → chunk-X7ZRYILH.js.map} +0 -0
  29. /package/dist/{claude-code-updater-BQFWZDEI.js.map → claude-code-updater-6NRYKDKS.js.map} +0 -0
  30. /package/dist/{claude-pair-runtime-L6XQTJKV.js.map → claude-pair-runtime-7UQEV7XI.js.map} +0 -0
  31. /package/dist/{persistent-session-ISLJXHGH.js.map → persistent-session-VBJAAJC7.js.map} +0 -0
  32. /package/dist/{responsiveness-probe-X3SNNEDY.js.map → responsiveness-probe-QKMGCTFR.js.map} +0 -0
  33. /package/dist/{session-auth-dead-UBNHYRAW.js.map → session-auth-dead-IBUKQXBO.js.map} +0 -0
@@ -15,8 +15,8 @@ import {
15
15
  mintRotatedHostKey,
16
16
  probeHostKey,
17
17
  setConfigHash
18
- } from "./chunk-G3CTTMOE.js";
19
- import "./chunk-FFLU5VIN.js";
18
+ } from "./chunk-35VGKRXH.js";
19
+ import "./chunk-DITI25ZO.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
22
22
  ApiError,
@@ -36,4 +36,4 @@ export {
36
36
  probeHostKey,
37
37
  setConfigHash
38
38
  };
39
- //# sourceMappingURL=api-client-34MRJANA.js.map
39
+ //# sourceMappingURL=api-client-HGWXOP75.js.map
package/dist/bin/agt.js CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  success,
32
32
  table,
33
33
  warn
34
- } from "../chunk-L4HODIVN.js";
34
+ } from "../chunk-P3IPSNZK.js";
35
35
  import {
36
36
  ApiError,
37
37
  PROD_AGT_HOST,
@@ -42,17 +42,17 @@ import {
42
42
  getHost,
43
43
  getHostId,
44
44
  setActiveTeam
45
- } from "../chunk-G3CTTMOE.js";
45
+ } from "../chunk-35VGKRXH.js";
46
46
  import {
47
47
  getProjectDir,
48
48
  isSessionResumeDisabled,
49
49
  readDirectChatSessionState
50
- } from "../chunk-D5DY5OKR.js";
50
+ } from "../chunk-HJGZG3P6.js";
51
51
  import {
52
52
  markDailySessionSpawn,
53
53
  sessionFileExists,
54
54
  sessionTranscriptDir
55
- } from "../chunk-QK4R5ZIT.js";
55
+ } from "../chunk-X7ZRYILH.js";
56
56
  import "../chunk-XL2HPM67.js";
57
57
  import "../chunk-6HBXEJHO.js";
58
58
  import "../chunk-XWVM4KPK.js";
@@ -85,7 +85,7 @@ import {
85
85
  requiredMcpWildcard,
86
86
  resolveChannels,
87
87
  serializeManifestForSlackCli
88
- } from "../chunk-FFLU5VIN.js";
88
+ } from "../chunk-DITI25ZO.js";
89
89
  import "../chunk-AIUIMEUS.js";
90
90
  import "../chunk-DGUM43GV.js";
91
91
 
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
5207
5207
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5208
5208
  import chalk17 from "chalk";
5209
5209
  import ora15 from "ora";
5210
- var cliVersion = true ? "0.28.1283" : "dev";
5210
+ var cliVersion = true ? "0.28.1285" : "dev";
5211
5211
  async function fetchLatestVersion() {
5212
5212
  const host2 = getHost();
5213
5213
  if (!host2) return null;
@@ -6467,7 +6467,7 @@ function handleError(err) {
6467
6467
  }
6468
6468
 
6469
6469
  // src/bin/agt.ts
6470
- var cliVersion2 = true ? "0.28.1283" : "dev";
6470
+ var cliVersion2 = true ? "0.28.1285" : "dev";
6471
6471
  var program = new Command();
6472
6472
  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");
6473
6473
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOST_ROTATE_KEY_CONFLICT
3
- } from "./chunk-FFLU5VIN.js";
3
+ } from "./chunk-DITI25ZO.js";
4
4
 
5
5
  // src/lib/config.ts
6
6
  import { readFileSync, writeFileSync, mkdirSync, existsSync } from "fs";
@@ -103,7 +103,7 @@ function exchangeFailureKind(err) {
103
103
  }
104
104
 
105
105
  // src/lib/api-client.ts
106
- var agtCliVersion = true ? "0.28.1283" : "dev";
106
+ var agtCliVersion = true ? "0.28.1285" : "dev";
107
107
  var lastConfigHash = null;
108
108
  function setConfigHash(hash) {
109
109
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -468,4 +468,4 @@ export {
468
468
  api,
469
469
  getHostId
470
470
  };
471
- //# sourceMappingURL=chunk-G3CTTMOE.js.map
471
+ //# sourceMappingURL=chunk-35VGKRXH.js.map
@@ -1781,15 +1781,15 @@ limited to:
1781
1781
 
1782
1782
  \u2014 you **must**, in this exact order, **in the current turn**:
1783
1783
 
1784
- 1. Pick the cheapest tool against that integration (Xero \u2192 \`list-organisation-details\`, Slack \u2192 \`slack_search_users\`, Gmail \u2192 \`GMAIL_GET_PROFILE\`).
1784
+ 1. Pick the cheapest tool for that integration (Xero \u2192 \`list-organisation-details\`, Slack \u2192 \`slack_list_channels\`, Gmail \u2192 \`GMAIL_GET_PROFILE\`).
1785
1785
  2. **Call it now.** Don't reason from a prior turn's error message; there's nothing to "force refresh" \u2014 just call the tool.
1786
1786
  3. Read the **actual error from the fresh tool result.**
1787
1787
 
1788
1788
  Only then describe the failure, quoting the error **code** (or a redacted message)
1789
1789
  verbatim. Never include secrets, tokens, keys, cookies, auth headers, or signed URLs
1790
1790
  \u2014 redact anything credential-shaped (e.g. \`token=<redacted>\`) first; when in doubt
1791
- quote only the error code + integration name. If the call succeeds, your prior belief
1792
- that the integration was down was wrong \u2014 drop it silently and get on with the task.
1791
+ quote only the error code + integration name. If the call succeeds, the integration is up: drop that
1792
+ belief silently, but still report a failing action's own error code.
1793
1793
 
1794
1794
  **Stale memory of a past outage is NOT evidence of a current outage.** Failures in
1795
1795
  your transcript, memory, or earlier turns are history, not current state \u2014 even an
@@ -6444,6 +6444,17 @@ var WAITING_KIND_SET = new Set(WAITING_KINDS);
6444
6444
  var HUMAN_ONLY_WAIT_REASONS = "approvals, credentials, customer contact, merges, deploys, access and spend";
6445
6445
  var MANAGER_AGENT_WAIT_GUIDANCE = `If you report to a manager AGENT, a scope, design or engineering decision (picking between options, settling what to build) goes to it: waiting_kind="agent" with waiting_on_agent=<your manager's code_name>, not "human". Keep waiting_kind="human" for ${HUMAN_ONLY_WAIT_REASONS}.`;
6446
6446
 
6447
+ // ../../packages/core/dist/kanban/board-truncation.js
6448
+ var BOARD_TERMINAL_STATUSES = ["done", "failed", "cancelled"];
6449
+ var BOARD_TERMINAL_STATUS_INLIST = `(${BOARD_TERMINAL_STATUSES.join(",")})`;
6450
+
6451
+ // ../../packages/core/dist/kanban/board-window.js
6452
+ var WINDOW_MS = {
6453
+ "24h": 24 * 60 * 60 * 1e3,
6454
+ "7d": 7 * 24 * 60 * 60 * 1e3,
6455
+ "30d": 30 * 24 * 60 * 60 * 1e3
6456
+ };
6457
+
6447
6458
  // ../../packages/core/dist/feature-flags/registry.js
6448
6459
  var FLAG_REGISTRY = [
6449
6460
  {
@@ -19070,4 +19081,4 @@ export {
19070
19081
  HOST_ROTATE_KEY_CONFLICT,
19071
19082
  shouldMintReplacementKey
19072
19083
  };
19073
- //# sourceMappingURL=chunk-FFLU5VIN.js.map
19084
+ //# sourceMappingURL=chunk-DITI25ZO.js.map