@integrity-labs/agt-cli 0.28.1251 → 0.28.1252

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 (32) hide show
  1. package/dist/{api-client-ECOBF6BM.js → api-client-6A36YH3M.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-O6WRX5FE.js → chunk-3HRBU4H6.js} +3 -3
  4. package/dist/{chunk-VOMOPWFI.js → chunk-4VOQ6D7X.js} +2 -2
  5. package/dist/{chunk-2VGFSHFP.js → chunk-5ZNYCNMI.js} +3 -3
  6. package/dist/{chunk-6KY5FKXC.js → chunk-RUKGOBVA.js} +23 -1
  7. package/dist/{chunk-6KY5FKXC.js.map → chunk-RUKGOBVA.js.map} +1 -1
  8. package/dist/{chunk-4AUE34MF.js → chunk-S3DUSCWR.js} +5 -5
  9. package/dist/{chunk-OAAKFU3J.js → chunk-XTFVVZIR.js} +2 -2
  10. package/dist/{claude-code-updater-2TZ4TSOB.js → claude-code-updater-WSQTK6TQ.js} +3 -3
  11. package/dist/{claude-pair-runtime-CTJCJNK4.js → claude-pair-runtime-WWF5BCK3.js} +3 -3
  12. package/dist/lib/manager-worker.js +21 -21
  13. package/dist/mcp/direct-chat-channel.js +87 -4
  14. package/dist/mcp/index.js +22 -0
  15. package/dist/mcp/origami.js +22 -0
  16. package/dist/mcp/slack-channel.js +22 -0
  17. package/dist/mcp/telegram-channel.js +22 -0
  18. package/dist/{persistent-session-TBE4KP4K.js → persistent-session-HS33PGZZ.js} +4 -4
  19. package/dist/{responsiveness-probe-J7DA3AB4.js → responsiveness-probe-32AWSVSL.js} +4 -4
  20. package/dist/{session-auth-dead-OL5ODQRN.js → session-auth-dead-2L2NLMMB.js} +3 -3
  21. package/package.json +1 -1
  22. /package/dist/{api-client-ECOBF6BM.js.map → api-client-6A36YH3M.js.map} +0 -0
  23. /package/dist/{chunk-O6WRX5FE.js.map → chunk-3HRBU4H6.js.map} +0 -0
  24. /package/dist/{chunk-VOMOPWFI.js.map → chunk-4VOQ6D7X.js.map} +0 -0
  25. /package/dist/{chunk-2VGFSHFP.js.map → chunk-5ZNYCNMI.js.map} +0 -0
  26. /package/dist/{chunk-4AUE34MF.js.map → chunk-S3DUSCWR.js.map} +0 -0
  27. /package/dist/{chunk-OAAKFU3J.js.map → chunk-XTFVVZIR.js.map} +0 -0
  28. /package/dist/{claude-code-updater-2TZ4TSOB.js.map → claude-code-updater-WSQTK6TQ.js.map} +0 -0
  29. /package/dist/{claude-pair-runtime-CTJCJNK4.js.map → claude-pair-runtime-WWF5BCK3.js.map} +0 -0
  30. /package/dist/{persistent-session-TBE4KP4K.js.map → persistent-session-HS33PGZZ.js.map} +0 -0
  31. /package/dist/{responsiveness-probe-J7DA3AB4.js.map → responsiveness-probe-32AWSVSL.js.map} +0 -0
  32. /package/dist/{session-auth-dead-OL5ODQRN.js.map → session-auth-dead-2L2NLMMB.js.map} +0 -0
@@ -15,8 +15,8 @@ import {
15
15
  mintRotatedHostKey,
16
16
  probeHostKey,
17
17
  setConfigHash
18
- } from "./chunk-2VGFSHFP.js";
19
- import "./chunk-6KY5FKXC.js";
18
+ } from "./chunk-5ZNYCNMI.js";
19
+ import "./chunk-RUKGOBVA.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-ECOBF6BM.js.map
39
+ //# sourceMappingURL=api-client-6A36YH3M.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-4AUE34MF.js";
34
+ } from "../chunk-S3DUSCWR.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-2VGFSHFP.js";
45
+ } from "../chunk-5ZNYCNMI.js";
46
46
  import {
47
47
  getProjectDir,
48
48
  isSessionResumeDisabled,
49
49
  readDirectChatSessionState
50
- } from "../chunk-O6WRX5FE.js";
50
+ } from "../chunk-3HRBU4H6.js";
51
51
  import {
52
52
  markDailySessionSpawn,
53
53
  sessionFileExists,
54
54
  sessionTranscriptDir
55
- } from "../chunk-VOMOPWFI.js";
55
+ } from "../chunk-4VOQ6D7X.js";
56
56
  import "../chunk-HYQ7VOC3.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-6KY5FKXC.js";
88
+ } from "../chunk-RUKGOBVA.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.1251" : "dev";
5210
+ var cliVersion = true ? "0.28.1252" : "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.1251" : "dev";
6470
+ var cliVersion2 = true ? "0.28.1252" : "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) => {
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-VOMOPWFI.js";
7
+ } from "./chunk-4VOQ6D7X.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -51,7 +51,7 @@ import {
51
51
  remoteMcpConnectionEnvInfix,
52
52
  remoteMcpConnectionLabel,
53
53
  remoteMcpConnectionScopedEnvVar
54
- } from "./chunk-6KY5FKXC.js";
54
+ } from "./chunk-RUKGOBVA.js";
55
55
  import {
56
56
  CLAUDE_CONFIG_DIR_ENV,
57
57
  approveApiKeyInClaudeConfig,
@@ -6219,4 +6219,4 @@ export {
6219
6219
  stopAllSessionsAndWait,
6220
6220
  getProjectDir
6221
6221
  };
6222
- //# sourceMappingURL=chunk-O6WRX5FE.js.map
6222
+ //# sourceMappingURL=chunk-3HRBU4H6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-6KY5FKXC.js";
3
+ } from "./chunk-RUKGOBVA.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -244,4 +244,4 @@ export {
244
244
  peekPreviousSession,
245
245
  readDailySessionPin
246
246
  };
247
- //# sourceMappingURL=chunk-VOMOPWFI.js.map
247
+ //# sourceMappingURL=chunk-4VOQ6D7X.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOST_ROTATE_KEY_CONFLICT
3
- } from "./chunk-6KY5FKXC.js";
3
+ } from "./chunk-RUKGOBVA.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.1251" : "dev";
106
+ var agtCliVersion = true ? "0.28.1252" : "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-2VGFSHFP.js.map
471
+ //# sourceMappingURL=chunk-5ZNYCNMI.js.map
@@ -8213,6 +8213,28 @@ var FLAG_REGISTRY = [
8213
8213
  // edec921a519f); THREATS_FOUND rows stay hidden either way.
8214
8214
  defaultValue: false
8215
8215
  },
8216
+ {
8217
+ key: "direct-chat-extracted-text",
8218
+ // ENG-11967 part 2b. Read stage-wide only (empty scope), like
8219
+ // direct-chat-malware-scan: a scoped override would do nothing.
8220
+ stageWideOnly: true,
8221
+ sensitive: true,
8222
+ description: `Serve a Direct Chat PDF or DOCX to the agent as its EXTRACTED TEXT instead of the raw file (ENG-11967 part 2b, Sherlock ruling (a)). off = today: the agent gets the raw file (scan-gated). hold-30s / hold-60s / hold-120s = armed, and the value is the HOLD CAP: the agent poll does not claim a message whose text is not ready yet for up to that long, and holds the rest of its session with it so order is kept. Holds chain: a message also waits for every document sent after it in the same session, so its delay is bounded by the cap measured from the LAST document in a run of sends, not from its own send. Ready text is delivered as <name>.txt. If extraction finished without text, or died, the message is released at once with "text extraction unavailable for <name> (couldn't read the file)" or "(timed out)"; at the cap it is released with "(timed out)" and the release is logged. Takes effect only while direct-chat-malware-scan is on, because extraction runs on GuardDuty's clean-scan event. ARM ONLY AFTER DIRECT_CHAT_TEXT_EXTRACTION=true has deployed the DirectChatTextExtract Lambda: armed without it, every PDF/DOCX waits out the cap and arrives as a timed-out notice. A flag-store read error counts as off on this read path. GLOBAL ONLY: evaluated with an empty context, so scoped overrides have no effect.`,
8223
+ flagType: "enum",
8224
+ allowedValues: ["off", "hold-30s", "hold-60s", "hold-120s"],
8225
+ // Off is the pre-2b behaviour: no hold, no .txt read, the raw file.
8226
+ defaultValue: "off",
8227
+ // The flag is evaluated server-side, but its notice entries need the host's
8228
+ // direct-chat MCP to render them: an older agt-cli shows a notice as
8229
+ // "download failed; ask the user to re-send", which sends users in circles
8230
+ // (Sherlock, 13 Nov). So the flip-reach modal must count hosts by the CLI
8231
+ // that renders notices. DELIBERATE UNREACHABLE PLACEHOLDER until this PR
8232
+ // merges and "Publish CLI on adapter changes (main)" publishes the first
8233
+ // agt-cli carrying the MCP change: replace it with that exact version in a
8234
+ // one-line follow-up, and arm only when the modal shows 0 stale and 0
8235
+ // unknown hosts. A placeholder over-reports stale hosts; it never hides one.
8236
+ since: "0.29.0"
8237
+ },
8216
8238
  {
8217
8239
  key: "platform-held-key-central-probe",
8218
8240
  description: "Arm the scheduled CENTRAL connectivity probe lane for platform-held-key integrations (ENG-10086). These store no customer credential (auth_type none), so the host cannot probe them and reports unverified forever. When on, the hourly PlatformHeldKeyProbe cron runs each central probe that exists (today only ninjafy-notes: org entitlement + broker routing, never note contents) and writes the result through the monitor observation path, so consecutive_connectivity_failures / _ok_cycles move and integration_down alerts can open and close on it. Definitions with no central probe are skipped, never written as a failure. When off the cron reads nothing and writes nothing. Boolean gate; ships dark because a new writer of the escalation counters is a paging change. GLOBAL ONLY: the cron and the host connectivity route both evaluate this flag with an empty context, so an org-, team- or agent-scoped override is stored but has NO effect. Arm it by its global value, not as a staged per-org rollout (Obi Wan 63053d02035e).",
@@ -18656,4 +18678,4 @@ export {
18656
18678
  HOST_ROTATE_KEY_CONFLICT,
18657
18679
  shouldMintReplacementKey
18658
18680
  };
18659
- //# sourceMappingURL=chunk-6KY5FKXC.js.map
18681
+ //# sourceMappingURL=chunk-RUKGOBVA.js.map