@integrity-labs/agt-cli 0.28.1275 → 0.28.1276

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-5S4JHNCY.js → api-client-LXSFEHBG.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-7PIMV2ID.js → chunk-2JILRR4Y.js} +51 -8
  4. package/dist/{chunk-7PIMV2ID.js.map → chunk-2JILRR4Y.js.map} +1 -1
  5. package/dist/{chunk-4UXZAUEY.js → chunk-C3NM6OTP.js} +2 -2
  6. package/dist/{chunk-BSVQWPBC.js → chunk-HISRTLZ3.js} +3 -3
  7. package/dist/{chunk-7D6EMIHG.js → chunk-IDLNB6GR.js} +3 -3
  8. package/dist/{chunk-GRWU34ID.js → chunk-IEXBHI4X.js} +2 -2
  9. package/dist/{chunk-V2BS3IN3.js → chunk-ZQVYTNLA.js} +52 -1
  10. package/dist/{chunk-V2BS3IN3.js.map → chunk-ZQVYTNLA.js.map} +1 -1
  11. package/dist/{claude-code-updater-EC3JMSNJ.js → claude-code-updater-GADHFGSY.js} +3 -3
  12. package/dist/{claude-pair-runtime-NPBFKJSQ.js → claude-pair-runtime-TUWLJ7TS.js} +3 -3
  13. package/dist/lib/manager-worker.js +22 -21
  14. package/dist/lib/manager-worker.js.map +1 -1
  15. package/dist/mcp/direct-chat-channel.js +51 -0
  16. package/dist/mcp/index.js +282 -10
  17. package/dist/mcp/origami.js +51 -0
  18. package/dist/mcp/slack-channel.js +51 -0
  19. package/dist/mcp/telegram-channel.js +51 -0
  20. package/dist/{persistent-session-EJUOBWXJ.js → persistent-session-VII4LBJ2.js} +4 -4
  21. package/dist/{responsiveness-probe-GBYZCGXX.js → responsiveness-probe-GX3TEW2E.js} +4 -4
  22. package/dist/{session-auth-dead-4U6NDCWN.js → session-auth-dead-7NXTFGDV.js} +3 -3
  23. package/package.json +1 -1
  24. /package/dist/{api-client-5S4JHNCY.js.map → api-client-LXSFEHBG.js.map} +0 -0
  25. /package/dist/{chunk-4UXZAUEY.js.map → chunk-C3NM6OTP.js.map} +0 -0
  26. /package/dist/{chunk-BSVQWPBC.js.map → chunk-HISRTLZ3.js.map} +0 -0
  27. /package/dist/{chunk-7D6EMIHG.js.map → chunk-IDLNB6GR.js.map} +0 -0
  28. /package/dist/{chunk-GRWU34ID.js.map → chunk-IEXBHI4X.js.map} +0 -0
  29. /package/dist/{claude-code-updater-EC3JMSNJ.js.map → claude-code-updater-GADHFGSY.js.map} +0 -0
  30. /package/dist/{claude-pair-runtime-NPBFKJSQ.js.map → claude-pair-runtime-TUWLJ7TS.js.map} +0 -0
  31. /package/dist/{persistent-session-EJUOBWXJ.js.map → persistent-session-VII4LBJ2.js.map} +0 -0
  32. /package/dist/{responsiveness-probe-GBYZCGXX.js.map → responsiveness-probe-GX3TEW2E.js.map} +0 -0
  33. /package/dist/{session-auth-dead-4U6NDCWN.js.map → session-auth-dead-7NXTFGDV.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XWVM4KPK.js";
5
5
  import {
6
6
  FORCED_UPDATE_HARD_DEADLINE_MS
7
- } from "./chunk-V2BS3IN3.js";
7
+ } from "./chunk-ZQVYTNLA.js";
8
8
  import {
9
9
  effectiveClaudeJsonPath
10
10
  } from "./chunk-AIUIMEUS.js";
@@ -722,4 +722,4 @@ export {
722
722
  probeClaudeInstalls,
723
723
  maybeUpdateClaudeCode
724
724
  };
725
- //# sourceMappingURL=chunk-4UXZAUEY.js.map
725
+ //# sourceMappingURL=chunk-C3NM6OTP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOST_ROTATE_KEY_CONFLICT
3
- } from "./chunk-V2BS3IN3.js";
3
+ } from "./chunk-ZQVYTNLA.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.1275" : "dev";
106
+ var agtCliVersion = true ? "0.28.1276" : "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-BSVQWPBC.js.map
471
+ //# sourceMappingURL=chunk-HISRTLZ3.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-GRWU34ID.js";
7
+ } from "./chunk-IEXBHI4X.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -54,7 +54,7 @@ import {
54
54
  remoteMcpConnectionEnvInfix,
55
55
  remoteMcpConnectionLabel,
56
56
  remoteMcpConnectionScopedEnvVar
57
- } from "./chunk-V2BS3IN3.js";
57
+ } from "./chunk-ZQVYTNLA.js";
58
58
  import {
59
59
  CLAUDE_CONFIG_DIR_ENV,
60
60
  approveApiKeyInClaudeConfig,
@@ -6511,4 +6511,4 @@ export {
6511
6511
  stopAllSessionsAndWait,
6512
6512
  getProjectDir
6513
6513
  };
6514
- //# sourceMappingURL=chunk-7D6EMIHG.js.map
6514
+ //# sourceMappingURL=chunk-IDLNB6GR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-V2BS3IN3.js";
3
+ } from "./chunk-ZQVYTNLA.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-GRWU34ID.js.map
247
+ //# sourceMappingURL=chunk-IEXBHI4X.js.map
@@ -10256,6 +10256,57 @@ var integration_metadata_v1_default = {
10256
10256
  type: "array",
10257
10257
  items: { type: "string", minLength: 1 },
10258
10258
  description: "Keys removed from the snapshot before hashing, matched by name at any depth (timestamps, statistics)."
10259
+ },
10260
+ view_lookups: {
10261
+ type: "array",
10262
+ maxItems: 4,
10263
+ description: "CS-2540: extra reads shown on the approval card ONLY (never hashed, never refuse the call), so an approver sees what the snapshot's ids refer to, e.g. a campaign's segment names and subscriber counts. Each takes ids from `ids_from` (a dot path into the snapshot JSON: a string or an array of strings), reads at most 5, and GETs `http.path_template` with `{lookup_id}` filled from each. Run when the request is filed, not on the approve-time re-read.",
10264
+ items: {
10265
+ type: "object",
10266
+ additionalProperties: false,
10267
+ required: ["label", "ids_from", "http"],
10268
+ properties: {
10269
+ label: { type: "string", minLength: 1 },
10270
+ ids_from: { type: "string", pattern: "^[A-Za-z0-9_]+(\\.[A-Za-z0-9_]+)*$" },
10271
+ http: {
10272
+ type: "object",
10273
+ additionalProperties: false,
10274
+ required: ["method", "path_template"],
10275
+ properties: {
10276
+ method: { const: "GET" },
10277
+ path_template: { type: "string", pattern: "\\{lookup_id\\}" },
10278
+ headers_template: {
10279
+ type: "object",
10280
+ propertyNames: { pattern: "^[A-Za-z0-9!#$%&'*+.^_`|~-]+$" },
10281
+ additionalProperties: { type: "string" }
10282
+ }
10283
+ }
10284
+ },
10285
+ ignore_keys: { type: "array", items: { type: "string", minLength: 1 } },
10286
+ show_keys: { type: "array", items: { type: "string", minLength: 1 } },
10287
+ empty_text: { type: "string", minLength: 1 }
10288
+ }
10289
+ }
10290
+ },
10291
+ refused_effect: {
10292
+ type: "string",
10293
+ minLength: 1,
10294
+ maxLength: 80,
10295
+ description: "CS-2540: what a refusal says did NOT happen, for a tool that is not a send (e.g. `the schedule was NOT saved`). Absent: `it was NOT sent`."
10296
+ },
10297
+ view_fields: {
10298
+ type: "array",
10299
+ maxItems: 8,
10300
+ description: "CS-2540: snapshot fields shown first on the card, labelled (they are part of the snapshot, so covered by the hash). `path` is a dot path into the snapshot JSON.",
10301
+ items: {
10302
+ type: "object",
10303
+ additionalProperties: false,
10304
+ required: ["label", "path"],
10305
+ properties: {
10306
+ label: { type: "string", minLength: 1 },
10307
+ path: { type: "string", pattern: "^[A-Za-z0-9_]+(\\.[A-Za-z0-9_]+)*$" }
10308
+ }
10309
+ }
10259
10310
  }
10260
10311
  }
10261
10312
  }
@@ -18935,4 +18986,4 @@ export {
18935
18986
  HOST_ROTATE_KEY_CONFLICT,
18936
18987
  shouldMintReplacementKey
18937
18988
  };
18938
- //# sourceMappingURL=chunk-V2BS3IN3.js.map
18989
+ //# sourceMappingURL=chunk-ZQVYTNLA.js.map