@integrity-labs/agt-cli 0.28.267 → 0.28.269

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-OTXH3YLU.js";
41
+ } from "../chunk-ZH3CEX2A.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-GBVZDTCB.js";
70
+ } from "../chunk-JW6CWBNF.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.267" : "dev";
4829
+ var cliVersion = true ? "0.28.269" : "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.267" : "dev";
5843
+ var cliVersion2 = true ? "0.28.269" : "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) => {
@@ -3692,7 +3692,19 @@ var OAUTH_PROVIDERS = {
3692
3692
  "enable_toolset",
3693
3693
  "get_course",
3694
3694
  "update_course"
3695
- ]
3695
+ ],
3696
+ // CS-1446: Kajabi gates several tool groups behind a runtime `enable_toolset`
3697
+ // and does not advertise their tools in `tools/list` until the group is
3698
+ // active. The harness freezes its callable-tool manifest from the
3699
+ // connect-time `tools/list`, so a group the agent activates later never
3700
+ // becomes callable (repro: enable_toolset('courses') → get_course/
3701
+ // update_course still "No such tool available"). Pre-activate the gated
3702
+ // groups whose tools we allowlist so they are advertised in that first
3703
+ // manifest. Names are Kajabi's toolset ids (courses per CS-1446;
3704
+ // products/commerce/analytics per CS-1427). Best-effort + idempotent: an
3705
+ // unknown/unscoped name is logged and skipped by the proxy, and the
3706
+ // toolAllowlist above still caps what is actually callable.
3707
+ preEnableToolsets: ["courses", "products", "commerce", "analytics"]
3696
3708
  },
3697
3709
  "notion-cli": {
3698
3710
  // Notion's public OAuth app. Tokens are workspace-scoped and long-lived —
@@ -9270,4 +9282,4 @@ export {
9270
9282
  stopAllSessionsAndWait,
9271
9283
  getProjectDir
9272
9284
  };
9273
- //# sourceMappingURL=chunk-GBVZDTCB.js.map
9285
+ //# sourceMappingURL=chunk-JW6CWBNF.js.map