@integrity-labs/agt-cli 0.28.1031 → 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-HQSQLPHD.js";
43
+ } from "../chunk-OOTJBM4Z.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-XD5GMJGJ.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-TFFXAGBJ.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.1031" : "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.1031" : "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-XD5GMJGJ.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-TFFXAGBJ.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.1031" : "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-HQSQLPHD.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-TFFXAGBJ.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-XD5GMJGJ.js.map
5933
+ //# sourceMappingURL=chunk-X2YAGXVQ.js.map
@@ -7068,6 +7068,22 @@ var FLAG_REGISTRY = [
7068
7068
  public: true,
7069
7069
  defaultValue: false
7070
7070
  },
7071
+ {
7072
+ key: "ninja-lists",
7073
+ description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-sheets API, per org. Unlike its siblings `projects-menu` / `ninjafy-notes-menu`, this is the whole feature\'s gate, not only its menu entry: the surface is unlaunched, so an org with the flag off gets 404 from the API rather than a hidden link to a working one.',
7074
+ flagType: "boolean",
7075
+ // PUBLIC (ADR-0022 §2): the nav shells read it via usePublicBooleanFlag and
7076
+ // the pages via getPublicBooleanFlagServer, so it is serialized to the
7077
+ // client via GET /flags. The API evaluates it through getFlagClient() and
7078
+ // fails CLOSED on a read error. No env override (UI rollout, not an
7079
+ // operator gate). Ships dark (default false).
7080
+ public: true,
7081
+ defaultValue: false,
7082
+ // Until ADR-0120's access control exists, any member of an enabled org
7083
+ // reads every list in it, so an org admin must not be able to switch this
7084
+ // on for their own org. Only a platform admin can (PR #6522 review).
7085
+ platformAdminOnly: true
7086
+ },
7071
7087
  {
7072
7088
  key: "platform-maintenance-mode",
7073
7089
  description: 'Platform-wide maintenance mode (ENG-6506): when on, every agent across every team/org auto-replies to admitted human inbound with a "we are offline for maintenance" notice instead of dispatching to the agent \u2014 for whole-platform downtime such as DB upgrades. Read host-side per inbound from the flags cache (no MCP restart). Boolean gate; ships dark \u2014 when off, channels behave exactly as today. (Proactive "back online" follow-up is the ENG-6508 fast-follow, not this flag.)',
@@ -11177,7 +11193,17 @@ var OAUTH_PROVIDERS = {
11177
11193
  // do NOT revert to the broad `accounting.transactions` /
11178
11194
  // `accounting.contacts` scopes, Xero rejects the manifest).
11179
11195
  // The variant *without* `.read` is the read+write granular scope.
11180
- "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",
11181
11207
  // contacts: write enables agent-driven supplier/customer creation
11182
11208
  // (required for bill creation since a bill must reference a contact).
11183
11209
  "accounting.contacts",
@@ -15550,4 +15576,4 @@ export {
15550
15576
  peekCurrentSession,
15551
15577
  readDailySessionPin
15552
15578
  };
15553
- //# sourceMappingURL=chunk-TFFXAGBJ.js.map
15579
+ //# sourceMappingURL=chunk-XP4TNPGF.js.map