@integrity-labs/agt-cli 0.28.1022 → 0.28.1023

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 (23) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-X7SX25N6.js → chunk-BHKFVSIX.js} +10 -8
  3. package/dist/{chunk-X7SX25N6.js.map → chunk-BHKFVSIX.js.map} +1 -1
  4. package/dist/{chunk-5MUSHNVX.js → chunk-NQB4AF4Q.js} +4 -4
  5. package/dist/{chunk-QXJWRE64.js → chunk-RDQILPRF.js} +21 -2
  6. package/dist/{chunk-QXJWRE64.js.map → chunk-RDQILPRF.js.map} +1 -1
  7. package/dist/{claude-pair-runtime-KKFNGRSA.js → claude-pair-runtime-C4DDKQ6N.js} +2 -2
  8. package/dist/lib/manager-worker.js +256 -15
  9. package/dist/lib/manager-worker.js.map +1 -1
  10. package/dist/mcp/direct-chat-channel.js +11 -8
  11. package/dist/mcp/index.js +9 -7
  12. package/dist/mcp/origami.js +9 -7
  13. package/dist/mcp/slack-channel.js +11 -8
  14. package/dist/mcp/telegram-channel.js +11 -8
  15. package/dist/{persistent-session-ZQDNCKQH.js → persistent-session-3NQHNU6H.js} +3 -3
  16. package/dist/{responsiveness-probe-Q27WU2MW.js → responsiveness-probe-ZOXVXDPT.js} +3 -3
  17. package/dist/{session-auth-dead-JJUKS75B.js → session-auth-dead-ZKC2HH6T.js} +2 -2
  18. package/package.json +1 -1
  19. /package/dist/{chunk-5MUSHNVX.js.map → chunk-NQB4AF4Q.js.map} +0 -0
  20. /package/dist/{claude-pair-runtime-KKFNGRSA.js.map → claude-pair-runtime-C4DDKQ6N.js.map} +0 -0
  21. /package/dist/{persistent-session-ZQDNCKQH.js.map → persistent-session-3NQHNU6H.js.map} +0 -0
  22. /package/dist/{responsiveness-probe-Q27WU2MW.js.map → responsiveness-probe-ZOXVXDPT.js.map} +0 -0
  23. /package/dist/{session-auth-dead-JJUKS75B.js.map → session-auth-dead-ZKC2HH6T.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-5MUSHNVX.js";
43
+ } from "../chunk-NQB4AF4Q.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-QXJWRE64.js";
48
+ } from "../chunk-RDQILPRF.js";
49
49
  import {
50
50
  AnchorSessionClient,
51
51
  CHANNEL_REGISTRY,
@@ -79,7 +79,7 @@ import {
79
79
  serializeManifestForSlackCli,
80
80
  sessionFileExists,
81
81
  sessionTranscriptDir
82
- } from "../chunk-X7SX25N6.js";
82
+ } from "../chunk-BHKFVSIX.js";
83
83
  import "../chunk-DHWNVVX4.js";
84
84
  import "../chunk-XWVM4KPK.js";
85
85
  import "../chunk-EL5MWGGH.js";
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
5474
5474
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5475
5475
  import chalk18 from "chalk";
5476
5476
  import ora16 from "ora";
5477
- var cliVersion = true ? "0.28.1022" : "dev";
5477
+ var cliVersion = true ? "0.28.1023" : "dev";
5478
5478
  async function fetchLatestVersion() {
5479
5479
  const host2 = getHost();
5480
5480
  if (!host2) return null;
@@ -6734,7 +6734,7 @@ function handleError(err) {
6734
6734
  }
6735
6735
 
6736
6736
  // src/bin/agt.ts
6737
- var cliVersion2 = true ? "0.28.1022" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1023" : "dev";
6738
6738
  var program = new Command();
6739
6739
  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");
6740
6740
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -11129,13 +11129,18 @@ var OAUTH_PROVIDERS = {
11129
11129
  // existing Xero install must RECONNECT for its token to carry this — the
11130
11130
  // broker posts journals with the agent's own OAuth access_token.
11131
11131
  "accounting.manualjournals",
11132
- // accounting.reports.read → granular read-only replacements
11132
+ // accounting.reports.read → granular read-only replacements, ONE PER REPORT
11133
+ // TOOL THE SERVER REGISTERS (ENG-10961 follow-on). Bank summary, budget
11134
+ // summary and executive summary were requested here with no tool reading
11135
+ // them: #6463 removed the phantom `report-bank-summary` /
11136
+ // `report-budget-summary` names, and nothing ever called the executive
11137
+ // summary. Asking a customer to consent to read access nothing uses is the
11138
+ // least-privilege failure the granular list exists to avoid. Removing a
11139
+ // default can never raise a reconnect prompt - `computeMissingScopes` only
11140
+ // reports defaults the grant LACKS.
11133
11141
  "accounting.reports.balancesheet.read",
11134
11142
  "accounting.reports.profitandloss.read",
11135
11143
  "accounting.reports.trialbalance.read",
11136
- "accounting.reports.budgetsummary.read",
11137
- "accounting.reports.banksummary.read",
11138
- "accounting.reports.executivesummary.read",
11139
11144
  "accounting.reports.aged.read"
11140
11145
  ],
11141
11146
  // Read-only variant (ENG-6170): the `.read` granular scope for every
@@ -11158,9 +11163,6 @@ var OAUTH_PROVIDERS = {
11158
11163
  "accounting.reports.balancesheet.read",
11159
11164
  "accounting.reports.profitandloss.read",
11160
11165
  "accounting.reports.trialbalance.read",
11161
- "accounting.reports.budgetsummary.read",
11162
- "accounting.reports.banksummary.read",
11163
- "accounting.reports.executivesummary.read",
11164
11166
  "accounting.reports.aged.read"
11165
11167
  ],
11166
11168
  supportsRefresh: true,
@@ -15479,4 +15481,4 @@ export {
15479
15481
  peekCurrentSession,
15480
15482
  readDailySessionPin
15481
15483
  };
15482
- //# sourceMappingURL=chunk-X7SX25N6.js.map
15484
+ //# sourceMappingURL=chunk-BHKFVSIX.js.map