@integrity-labs/agt-cli 0.28.1060 → 0.28.1062

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-GOTLGDZJ.js";
43
+ } from "../chunk-IE4Q3IZH.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-ROZAO2DB.js";
48
+ } from "../chunk-HDPG36NY.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-JFLRDMGU.js";
82
+ } from "../chunk-PN7B4DLS.js";
83
83
  import "../chunk-OCMJ5E6J.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.1060" : "dev";
5477
+ var cliVersion = true ? "0.28.1062" : "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.1060" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1062" : "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) => {
@@ -24,7 +24,7 @@ import {
24
24
  rotateDailySession,
25
25
  sessionFileExists,
26
26
  todayLocalIso
27
- } from "./chunk-JFLRDMGU.js";
27
+ } from "./chunk-PN7B4DLS.js";
28
28
  import {
29
29
  classifyUnanswerablePane,
30
30
  findUsageLimitResetHint,
@@ -6011,4 +6011,4 @@ export {
6011
6011
  stopAllSessionsAndWait,
6012
6012
  getProjectDir
6013
6013
  };
6014
- //# sourceMappingURL=chunk-ROZAO2DB.js.map
6014
+ //# sourceMappingURL=chunk-HDPG36NY.js.map
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-ROZAO2DB.js";
19
+ } from "./chunk-HDPG36NY.js";
20
20
  import {
21
21
  BIND_FAILURE_QUARANTINE_THRESHOLD,
22
22
  INTEGRATIONS_SECTION_END,
@@ -79,7 +79,7 @@ import {
79
79
  sessionTranscriptDir,
80
80
  worseConnectivityOutcome,
81
81
  wrapScheduledTaskPrompt
82
- } from "./chunk-JFLRDMGU.js";
82
+ } from "./chunk-PN7B4DLS.js";
83
83
  import {
84
84
  classifyUnanswerablePane,
85
85
  isConsumerTermsDialogVisible,
@@ -7122,7 +7122,7 @@ function exchangeFailureKind(err) {
7122
7122
  }
7123
7123
 
7124
7124
  // src/lib/api-client.ts
7125
- var agtCliVersion = true ? "0.28.1060" : "dev";
7125
+ var agtCliVersion = true ? "0.28.1062" : "dev";
7126
7126
  var lastConfigHash = null;
7127
7127
  function setConfigHash(hash) {
7128
7128
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -12089,4 +12089,4 @@ export {
12089
12089
  managerInstallSystemUnitCommand,
12090
12090
  managerUninstallSystemUnitCommand
12091
12091
  };
12092
- //# sourceMappingURL=chunk-GOTLGDZJ.js.map
12092
+ //# sourceMappingURL=chunk-IE4Q3IZH.js.map
@@ -8616,8 +8616,8 @@ var integration_metadata_v1_default = {
8616
8616
  },
8617
8617
  auth_encoding: {
8618
8618
  type: "string",
8619
- enum: ["basic_username"],
8620
- description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
8619
+ enum: ["basic_username", "raw"],
8620
+ description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
8621
8621
  },
8622
8622
  runtime_scopes: {
8623
8623
  type: "object",
@@ -8653,6 +8653,12 @@ var integration_metadata_v1_default = {
8653
8653
  host_suffix: { type: "string", pattern: "^[a-z0-9.-]+\\.[a-z]{2,}$" }
8654
8654
  }
8655
8655
  },
8656
+ config_arg_defaults: {
8657
+ type: "object",
8658
+ description: "Tool arguments that default from the install's config (CS-1918), as { <tool arg>: <config key> }. An argument the caller passes wins; an absent one is filled from config[<config key>] (non-empty string, trimmed, case preserved) and the result is re-validated against the tool's input_schema. For per-account values such as AppsFlyer's OneLink template ID, entered once on the install form instead of carried by the agent. Applied at build time by fillArgsFromConfig in both broker lanes.",
8659
+ propertyNames: { pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" },
8660
+ additionalProperties: { type: "string", pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" }
8661
+ },
8656
8662
  redirect_means_auth_failure: {
8657
8663
  type: "boolean",
8658
8664
  description: "The vendor answers a rejected credential with a REDIRECT (Storrito: a 302 to its login page) rather than a 401. A redirected non-GET call is never followed (vendor-fetch.ts) and always fails; with this set, it is also treated like a 401 and the install is flagged for re-auth."
@@ -16008,4 +16014,4 @@ export {
16008
16014
  peekCurrentSession,
16009
16015
  readDailySessionPin
16010
16016
  };
16011
- //# sourceMappingURL=chunk-JFLRDMGU.js.map
16017
+ //# sourceMappingURL=chunk-PN7B4DLS.js.map