@integrity-labs/agt-cli 0.28.258 → 0.28.259

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
@@ -38,7 +38,7 @@ import {
38
38
  success,
39
39
  table,
40
40
  warn
41
- } from "../chunk-2AWMBQJD.js";
41
+ } from "../chunk-VPDUKN7W.js";
42
42
  import {
43
43
  CHANNEL_REGISTRY,
44
44
  DEFAULT_FRAMEWORK,
@@ -67,7 +67,7 @@ import {
67
67
  renderTemplate,
68
68
  resolveChannels,
69
69
  serializeManifestForSlackCli
70
- } from "../chunk-L2GVB37X.js";
70
+ } from "../chunk-22BZ2WQM.js";
71
71
  import "../chunk-XWVM4KPK.js";
72
72
 
73
73
  // src/bin/agt.ts
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
4826
4826
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4827
4827
  import chalk18 from "chalk";
4828
4828
  import ora16 from "ora";
4829
- var cliVersion = true ? "0.28.258" : "dev";
4829
+ var cliVersion = true ? "0.28.259" : "dev";
4830
4830
  async function fetchLatestVersion() {
4831
4831
  const host2 = getHost();
4832
4832
  if (!host2) return null;
@@ -5840,7 +5840,7 @@ function handleError(err) {
5840
5840
  }
5841
5841
 
5842
5842
  // src/bin/agt.ts
5843
- var cliVersion2 = true ? "0.28.258" : "dev";
5843
+ var cliVersion2 = true ? "0.28.259" : "dev";
5844
5844
  var program = new Command();
5845
5845
  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");
5846
5846
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -3645,7 +3645,12 @@ var OAUTH_PROVIDERS = {
3645
3645
  publicClient: true,
3646
3646
  mcpUrl: "https://mcp.kajabi.com/mcp",
3647
3647
  // Curated surface (matches the catalog seed's defined_scopes[].tools). Kajabi's
3648
- // live MCP advertises ~111 tools; the agent only needs these 25.
3648
+ // live MCP advertises ~111 tools; the agent only needs these 26.
3649
+ // CS-1427: `enable_toolset` is included so an agent can activate its own
3650
+ // products/commerce + analytics toolsets on the connection (Kajabi gates those
3651
+ // tool groups behind a runtime toolset that returns "not active" until enabled).
3652
+ // Low-risk: this proxy still caps every tools/call to the allowlist, so a broad
3653
+ // activation can't widen what's actually callable.
3649
3654
  toolAllowlist: [
3650
3655
  "list_sites",
3651
3656
  "get_site_summary",
@@ -3671,7 +3676,8 @@ var OAUTH_PROVIDERS = {
3671
3676
  "create_broadcast",
3672
3677
  "list_sequences",
3673
3678
  "get_sequence",
3674
- "create_sequence"
3679
+ "create_sequence",
3680
+ "enable_toolset"
3675
3681
  ]
3676
3682
  },
3677
3683
  "notion-cli": {
@@ -3721,7 +3727,12 @@ var OAUTH_PROVIDERS = {
3721
3727
  // for the surfaces we don't yet need write access on.
3722
3728
  "accounting.payments.read",
3723
3729
  "accounting.banktransactions.read",
3724
- "accounting.manualjournals.read",
3730
+ // manualjournals: write (CS-1439) enables the xero-broker to post
3731
+ // manual journals (reclasses, accruals, corrections) on approval. The
3732
+ // variant without `.read` is the read+write granular scope. Note: an
3733
+ // existing Xero install must RECONNECT for its token to carry this — the
3734
+ // broker posts journals with the agent's own OAuth access_token.
3735
+ "accounting.manualjournals",
3725
3736
  // accounting.reports.read → granular read-only replacements
3726
3737
  "accounting.reports.balancesheet.read",
3727
3738
  "accounting.reports.profitandloss.read",
@@ -7117,6 +7128,19 @@ var FLAG_REGISTRY = [
7117
7128
  defaultValue: false,
7118
7129
  public: true
7119
7130
  },
7131
+ {
7132
+ key: "onboarding-auto-deploy",
7133
+ description: `Auto-deploy the first agent during onboarding (ENG-7378): the agent edit page's Deploy & Test tab fires the existing deploy (draft -> active) automatically once the agent's host is fully deployed (active + manager heartbeating, not provisioning) AND Claude-authenticated (claude_auth_status=valid), replacing the manual "Deploy Agent" click in the recruit funnel. Only draft, non-system_support agents; a failed or timed-out attempt falls back to the manual button (no auto-retry loop).`,
7134
+ flagType: "boolean",
7135
+ // PUBLIC (ADR-0022 §2): a browser-read UI-behaviour gate (mirrors
7136
+ // direct-chat-drawer). Declared safe value is `false`: auto-deploy flips an
7137
+ // agent's status by itself, so a flag-read error must never switch it on.
7138
+ // Ships dark; enable per-org (or fleet-wide) from the admin Feature Flags
7139
+ // page. When off, the recruit funnel keeps the manual Deploy button. No
7140
+ // envVar: a browser-only gate has no host-side override.
7141
+ defaultValue: false,
7142
+ public: true
7143
+ },
7120
7144
  {
7121
7145
  key: "manager-failure-notify",
7122
7146
  description: "Route terminal integration-failure notifications to the agent's human manager (reports_to \u2192 preferred channel) instead of only the agent's own direct-chat (ENG-6334). Boolean gate; ships dark.",
@@ -9172,4 +9196,4 @@ export {
9172
9196
  stopAllSessionsAndWait,
9173
9197
  getProjectDir
9174
9198
  };
9175
- //# sourceMappingURL=chunk-L2GVB37X.js.map
9199
+ //# sourceMappingURL=chunk-22BZ2WQM.js.map