@integrity-labs/agt-cli 0.28.1275 → 0.28.1277

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-X2732UKK.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-7D6EMIHG.js → chunk-3POXIX7X.js} +4 -3
  4. package/dist/{chunk-4UXZAUEY.js → chunk-C3NM6OTP.js} +2 -2
  5. package/dist/{chunk-GRWU34ID.js → chunk-IEXBHI4X.js} +2 -2
  6. package/dist/{chunk-7PIMV2ID.js → chunk-JQCTNAQW.js} +51 -8
  7. package/dist/{chunk-7PIMV2ID.js.map → chunk-JQCTNAQW.js.map} +1 -1
  8. package/dist/{chunk-BSVQWPBC.js → chunk-OAXNWYVU.js} +3 -3
  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-CNYIVUOQ.js} +3 -3
  13. package/dist/lib/manager-worker.js +24 -22
  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-6B2DPG4U.js} +4 -4
  21. package/dist/{responsiveness-probe-GBYZCGXX.js → responsiveness-probe-ZN2VIGOX.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-X2732UKK.js.map} +0 -0
  25. /package/dist/{chunk-7D6EMIHG.js.map → chunk-3POXIX7X.js.map} +0 -0
  26. /package/dist/{chunk-4UXZAUEY.js.map → chunk-C3NM6OTP.js.map} +0 -0
  27. /package/dist/{chunk-GRWU34ID.js.map → chunk-IEXBHI4X.js.map} +0 -0
  28. /package/dist/{chunk-BSVQWPBC.js.map → chunk-OAXNWYVU.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-CNYIVUOQ.js.map} +0 -0
  31. /package/dist/{persistent-session-EJUOBWXJ.js.map → persistent-session-6B2DPG4U.js.map} +0 -0
  32. /package/dist/{responsiveness-probe-GBYZCGXX.js.map → responsiveness-probe-ZN2VIGOX.js.map} +0 -0
  33. /package/dist/{session-auth-dead-4U6NDCWN.js.map → session-auth-dead-7NXTFGDV.js.map} +0 -0
@@ -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.1277" : "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-OAXNWYVU.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