@integrity-labs/agt-cli 0.28.1032 → 0.28.1033

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.
package/dist/bin/agt.js CHANGED
@@ -40,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-OGITTSBM.js";
43
+ } from "../chunk-OOTJBM4Z.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-GLOCISGD.js";
48
+ } from "../chunk-X2YAGXVQ.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-NCIGLRCL.js";
82
+ } from "../chunk-XP4TNPGF.js";
83
83
  import "../chunk-TQDIIS3X.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.1032" : "dev";
5477
+ var cliVersion = true ? "0.28.1033" : "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.1032" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1033" : "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) => {
@@ -15,7 +15,7 @@ import {
15
15
  parseEnvFileEntries,
16
16
  parseEnvIntegrations,
17
17
  shellQuote
18
- } from "./chunk-GLOCISGD.js";
18
+ } from "./chunk-X2YAGXVQ.js";
19
19
  import {
20
20
  BIND_FAILURE_QUARANTINE_THRESHOLD,
21
21
  INTEGRATIONS_SECTION_END,
@@ -77,7 +77,7 @@ import {
77
77
  sessionTranscriptDir,
78
78
  worseConnectivityOutcome,
79
79
  wrapScheduledTaskPrompt
80
- } from "./chunk-NCIGLRCL.js";
80
+ } from "./chunk-XP4TNPGF.js";
81
81
  import {
82
82
  classifyUnanswerablePane,
83
83
  isConsumerTermsDialogVisible,
@@ -7143,7 +7143,7 @@ function exchangeFailureKind(err) {
7143
7143
  }
7144
7144
 
7145
7145
  // src/lib/api-client.ts
7146
- var agtCliVersion = true ? "0.28.1032" : "dev";
7146
+ var agtCliVersion = true ? "0.28.1033" : "dev";
7147
7147
  var lastConfigHash = null;
7148
7148
  function setConfigHash(hash) {
7149
7149
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -12100,4 +12100,4 @@ export {
12100
12100
  managerInstallSystemUnitCommand,
12101
12101
  managerUninstallSystemUnitCommand
12102
12102
  };
12103
- //# sourceMappingURL=chunk-OGITTSBM.js.map
12103
+ //# sourceMappingURL=chunk-OOTJBM4Z.js.map
@@ -23,7 +23,7 @@ import {
23
23
  rotateDailySession,
24
24
  sessionFileExists,
25
25
  todayLocalIso
26
- } from "./chunk-NCIGLRCL.js";
26
+ } from "./chunk-XP4TNPGF.js";
27
27
  import {
28
28
  classifyUnanswerablePane,
29
29
  findUsageLimitResetHint,
@@ -5930,4 +5930,4 @@ export {
5930
5930
  stopAllSessionsAndWait,
5931
5931
  getProjectDir
5932
5932
  };
5933
- //# sourceMappingURL=chunk-GLOCISGD.js.map
5933
+ //# sourceMappingURL=chunk-X2YAGXVQ.js.map
@@ -11193,7 +11193,17 @@ var OAUTH_PROVIDERS = {
11193
11193
  // do NOT revert to the broad `accounting.transactions` /
11194
11194
  // `accounting.contacts` scopes, Xero rejects the manifest).
11195
11195
  // The variant *without* `.read` is the read+write granular scope.
11196
- "accounting.settings.read",
11196
+ // settings: write (CS-1829) enables the xero-broker to create and edit
11197
+ // inventory ITEMS on approval. Xero files the Items endpoint under
11198
+ // accounting.settings (per Xero's own OpenAPI spec, XeroAPI/Xero-OpenAPI
11199
+ // xero_accounting.yaml: PUT/POST /Items require `accounting.settings`,
11200
+ // GET accepts `.read`), and there is no narrower items scope. The same
11201
+ // scope also covers accounts, tax rates and tracking categories; the
11202
+ // vendor server's write tools for those stay stripped in broker mode
11203
+ // (XERO_WRITES_VIA_BROKER), so the broker remains the only write path.
11204
+ // An existing install must RECONNECT for its token to carry this, same as
11205
+ // CS-1439's manualjournals.
11206
+ "accounting.settings",
11197
11207
  // contacts: write enables agent-driven supplier/customer creation
11198
11208
  // (required for bill creation since a bill must reference a contact).
11199
11209
  "accounting.contacts",
@@ -15566,4 +15576,4 @@ export {
15566
15576
  peekCurrentSession,
15567
15577
  readDailySessionPin
15568
15578
  };
15569
- //# sourceMappingURL=chunk-NCIGLRCL.js.map
15579
+ //# sourceMappingURL=chunk-XP4TNPGF.js.map