@integrity-labs/agt-cli 0.28.1243 → 0.28.1245

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 (30) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-6YZZ2WN2.js → chunk-22GBHBJZ.js} +2 -2
  3. package/dist/{chunk-4D5PTVNR.js → chunk-EGMQVUAO.js} +3 -3
  4. package/dist/{chunk-UAAR6VJI.js → chunk-OSXVD3YF.js} +37 -1
  5. package/dist/{chunk-UAAR6VJI.js.map → chunk-OSXVD3YF.js.map} +1 -1
  6. package/dist/{chunk-ZOFEQZJM.js → chunk-RVZDFWIX.js} +5 -5
  7. package/dist/{chunk-AB47AXD6.js → chunk-V47ZQJ3Y.js} +2 -2
  8. package/dist/{claude-code-updater-2QU66VPT.js → claude-code-updater-6QVV5JHB.js} +3 -3
  9. package/dist/{claude-pair-runtime-DR7HRJNI.js → claude-pair-runtime-EBDJ7JJV.js} +3 -3
  10. package/dist/lib/manager-worker.js +19 -19
  11. package/dist/mcp/direct-chat-channel.js +113 -62
  12. package/dist/mcp/index.js +35 -3
  13. package/dist/mcp/origami.js +32 -0
  14. package/dist/mcp/slack-channel.js +38 -3
  15. package/dist/mcp/teams-channel.js +6 -3
  16. package/dist/mcp/telegram-channel.js +38 -3
  17. package/dist/mcp/whatsapp-channel.js +6 -3
  18. package/dist/{persistent-session-YJSZWSLQ.js → persistent-session-4HI235XH.js} +4 -4
  19. package/dist/{responsiveness-probe-SPEEY2LI.js → responsiveness-probe-AD6WIPDA.js} +4 -4
  20. package/dist/{session-auth-dead-TODAGWTJ.js → session-auth-dead-6FSKTBLA.js} +3 -3
  21. package/package.json +1 -1
  22. /package/dist/{chunk-6YZZ2WN2.js.map → chunk-22GBHBJZ.js.map} +0 -0
  23. /package/dist/{chunk-4D5PTVNR.js.map → chunk-EGMQVUAO.js.map} +0 -0
  24. /package/dist/{chunk-ZOFEQZJM.js.map → chunk-RVZDFWIX.js.map} +0 -0
  25. /package/dist/{chunk-AB47AXD6.js.map → chunk-V47ZQJ3Y.js.map} +0 -0
  26. /package/dist/{claude-code-updater-2QU66VPT.js.map → claude-code-updater-6QVV5JHB.js.map} +0 -0
  27. /package/dist/{claude-pair-runtime-DR7HRJNI.js.map → claude-pair-runtime-EBDJ7JJV.js.map} +0 -0
  28. /package/dist/{persistent-session-YJSZWSLQ.js.map → persistent-session-4HI235XH.js.map} +0 -0
  29. /package/dist/{responsiveness-probe-SPEEY2LI.js.map → responsiveness-probe-AD6WIPDA.js.map} +0 -0
  30. /package/dist/{session-auth-dead-TODAGWTJ.js.map → session-auth-dead-6FSKTBLA.js.map} +0 -0
@@ -15428,6 +15428,7 @@ function foldTurnInitiatorLedger(existing, marker, maxAgeMs = TURN_INITIATOR_MAX
15428
15428
  ...marker.chat_kind ? { chat_kind: marker.chat_kind } : {},
15429
15429
  ...marker.chat_id ? { chat_id: marker.chat_id } : {},
15430
15430
  ...marker.unattributed ? { unattributed: true } : {},
15431
+ ...marker.notice ? { notice: true } : {},
15431
15432
  ...marker.loop_tick ? { loop_tick: true } : {},
15432
15433
  ts: marker.ts
15433
15434
  });
@@ -15463,11 +15464,13 @@ function writeUnattributedTurnMarker(channel, opts = {}) {
15463
15464
  updateTurnInitiatorLedger(file, {
15464
15465
  channel,
15465
15466
  sender_id: "",
15466
- // ENG-11979: its own ledger key. The ledger keeps one entry per (channel, ref),
15467
- // so a tick sharing a key would overwrite a stricter unattributed notice.
15468
- channel_ref: opts.loopTick ? "loop-tick" : "unattributed",
15467
+ // ENG-11979 / ENG-11553: each kind gets its own ledger key. The ledger keeps one
15468
+ // entry per (channel, ref), so a tick or a notice sharing the plain key would
15469
+ // overwrite a stricter unattributed entry that blocks regardless of order.
15470
+ channel_ref: opts.loopTick ? "loop-tick" : opts.notice ? "unattributed-notice" : "unattributed",
15469
15471
  unattributed: true,
15470
15472
  ...opts.loopTick ? { loop_tick: true } : {},
15473
+ ...opts.notice ? { notice: true } : {},
15471
15474
  ts: opts.now ?? Date.now()
15472
15475
  });
15473
15476
  } catch {
@@ -32252,6 +32252,38 @@ var integration_metadata_v1_default = {
32252
32252
  type: "string",
32253
32253
  enum: ["required", "optional"],
32254
32254
  description: "ADR 0010 \u2014 per-tool credential expectation. `required` (default) makes the broker fail closed when no install credential is attached; `optional` lets the broker call the vendor without an `Authorization` header (used by keyless integrations such as Augmented Live)."
32255
+ },
32256
+ approval_snapshot: {
32257
+ type: "object",
32258
+ additionalProperties: false,
32259
+ required: ["http", "resource_label"],
32260
+ description: "CS-2460: for a held tool, the GET that reads the resource it acts on. Read when the approval is requested (and shown on the card), and again before the approved call runs; a difference, or a failed read, refuses the call. `http` is templated with the tool's own args.",
32261
+ properties: {
32262
+ http: {
32263
+ type: "object",
32264
+ additionalProperties: false,
32265
+ required: ["method", "path_template"],
32266
+ properties: {
32267
+ method: { const: "GET" },
32268
+ path_template: { type: "string", minLength: 1 },
32269
+ headers_template: {
32270
+ type: "object",
32271
+ propertyNames: { pattern: "^[A-Za-z0-9!#$%&'*+.^_`|~-]+$" },
32272
+ additionalProperties: { type: "string" }
32273
+ }
32274
+ }
32275
+ },
32276
+ resource_label: {
32277
+ type: "string",
32278
+ minLength: 1,
32279
+ description: "What the resource is called to a person (e.g. `campaign`), for the card and the refusal message."
32280
+ },
32281
+ ignore_keys: {
32282
+ type: "array",
32283
+ items: { type: "string", minLength: 1 },
32284
+ description: "Keys removed from the snapshot before hashing, matched by name at any depth (timestamps, statistics)."
32285
+ }
32286
+ }
32255
32287
  }
32256
32288
  }
32257
32289
  }
@@ -41950,6 +41982,7 @@ function foldTurnInitiatorLedger(existing, marker, maxAgeMs = TURN_INITIATOR_MAX
41950
41982
  ...marker.chat_kind ? { chat_kind: marker.chat_kind } : {},
41951
41983
  ...marker.chat_id ? { chat_id: marker.chat_id } : {},
41952
41984
  ...marker.unattributed ? { unattributed: true } : {},
41985
+ ...marker.notice ? { notice: true } : {},
41953
41986
  ...marker.loop_tick ? { loop_tick: true } : {},
41954
41987
  ts: marker.ts
41955
41988
  });
@@ -42053,11 +42086,13 @@ function writeUnattributedTurnMarker(channel, opts = {}) {
42053
42086
  updateTurnInitiatorLedger(file, {
42054
42087
  channel,
42055
42088
  sender_id: "",
42056
- // ENG-11979: its own ledger key. The ledger keeps one entry per (channel, ref),
42057
- // so a tick sharing a key would overwrite a stricter unattributed notice.
42058
- channel_ref: opts.loopTick ? "loop-tick" : "unattributed",
42089
+ // ENG-11979 / ENG-11553: each kind gets its own ledger key. The ledger keeps one
42090
+ // entry per (channel, ref), so a tick or a notice sharing the plain key would
42091
+ // overwrite a stricter unattributed entry that blocks regardless of order.
42092
+ channel_ref: opts.loopTick ? "loop-tick" : opts.notice ? "unattributed-notice" : "unattributed",
42059
42093
  unattributed: true,
42060
42094
  ...opts.loopTick ? { loop_tick: true } : {},
42095
+ ...opts.notice ? { notice: true } : {},
42061
42096
  ts: opts.now ?? Date.now()
42062
42097
  });
42063
42098
  } catch {
@@ -161256,6 +161256,7 @@ function foldTurnInitiatorLedger(existing, marker, maxAgeMs = TURN_INITIATOR_MAX
161256
161256
  ...marker.chat_kind ? { chat_kind: marker.chat_kind } : {},
161257
161257
  ...marker.chat_id ? { chat_id: marker.chat_id } : {},
161258
161258
  ...marker.unattributed ? { unattributed: true } : {},
161259
+ ...marker.notice ? { notice: true } : {},
161259
161260
  ...marker.loop_tick ? { loop_tick: true } : {},
161260
161261
  ts: marker.ts
161261
161262
  });
@@ -161291,11 +161292,13 @@ function writeUnattributedTurnMarker(channel, opts = {}) {
161291
161292
  updateTurnInitiatorLedger(file, {
161292
161293
  channel,
161293
161294
  sender_id: "",
161294
- // ENG-11979: its own ledger key. The ledger keeps one entry per (channel, ref),
161295
- // so a tick sharing a key would overwrite a stricter unattributed notice.
161296
- channel_ref: opts.loopTick ? "loop-tick" : "unattributed",
161295
+ // ENG-11979 / ENG-11553: each kind gets its own ledger key. The ledger keeps one
161296
+ // entry per (channel, ref), so a tick or a notice sharing the plain key would
161297
+ // overwrite a stricter unattributed entry that blocks regardless of order.
161298
+ channel_ref: opts.loopTick ? "loop-tick" : opts.notice ? "unattributed-notice" : "unattributed",
161297
161299
  unattributed: true,
161298
161300
  ...opts.loopTick ? { loop_tick: true } : {},
161301
+ ...opts.notice ? { notice: true } : {},
161299
161302
  ts: opts.now ?? Date.now()
161300
161303
  });
161301
161304
  } catch {
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-4D5PTVNR.js";
72
- import "./chunk-AB47AXD6.js";
71
+ } from "./chunk-EGMQVUAO.js";
72
+ import "./chunk-V47ZQJ3Y.js";
73
73
  import "./chunk-HYQ7VOC3.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-UAAR6VJI.js";
76
+ import "./chunk-OSXVD3YF.js";
77
77
  import "./chunk-AIUIMEUS.js";
78
78
  import "./chunk-DGUM43GV.js";
79
79
  export {
@@ -147,4 +147,4 @@ export {
147
147
  writeEgressAllowlist,
148
148
  writePersistentClaudeWrapper
149
149
  };
150
- //# sourceMappingURL=persistent-session-YJSZWSLQ.js.map
150
+ //# sourceMappingURL=persistent-session-4HI235XH.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-4D5PTVNR.js";
4
- import "./chunk-AB47AXD6.js";
3
+ } from "./chunk-EGMQVUAO.js";
4
+ import "./chunk-V47ZQJ3Y.js";
5
5
  import "./chunk-HYQ7VOC3.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-UAAR6VJI.js";
8
+ import "./chunk-OSXVD3YF.js";
9
9
  import "./chunk-AIUIMEUS.js";
10
10
  import "./chunk-DGUM43GV.js";
11
11
 
@@ -804,4 +804,4 @@ export {
804
804
  readAndResetSlackReplyBindingClassifications,
805
805
  readAndResetSlackReplyTargetClassifications
806
806
  };
807
- //# sourceMappingURL=responsiveness-probe-SPEEY2LI.js.map
807
+ //# sourceMappingURL=responsiveness-probe-AD6WIPDA.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-AB47AXD6.js";
4
- import "./chunk-UAAR6VJI.js";
3
+ } from "./chunk-V47ZQJ3Y.js";
4
+ import "./chunk-OSXVD3YF.js";
5
5
  import "./chunk-DGUM43GV.js";
6
6
 
7
7
  // src/lib/session-auth-dead.ts
@@ -205,4 +205,4 @@ export {
205
205
  decideSessionAuthState,
206
206
  probeSessionAuth
207
207
  };
208
- //# sourceMappingURL=session-auth-dead-TODAGWTJ.js.map
208
+ //# sourceMappingURL=session-auth-dead-6FSKTBLA.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1243",
3
+ "version": "0.28.1245",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {