@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/mcp/index.js CHANGED
@@ -23208,8 +23208,8 @@ var integration_metadata_v1_default = {
23208
23208
  },
23209
23209
  auth_encoding: {
23210
23210
  type: "string",
23211
- enum: ["basic_username"],
23212
- 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`."
23211
+ enum: ["basic_username", "raw"],
23212
+ 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`."
23213
23213
  },
23214
23214
  runtime_scopes: {
23215
23215
  type: "object",
@@ -23245,6 +23245,12 @@ var integration_metadata_v1_default = {
23245
23245
  host_suffix: { type: "string", pattern: "^[a-z0-9.-]+\\.[a-z]{2,}$" }
23246
23246
  }
23247
23247
  },
23248
+ config_arg_defaults: {
23249
+ type: "object",
23250
+ 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.",
23251
+ propertyNames: { pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" },
23252
+ additionalProperties: { type: "string", pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" }
23253
+ },
23248
23254
  redirect_means_auth_failure: {
23249
23255
  type: "boolean",
23250
23256
  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."
@@ -37120,8 +37120,8 @@ var integration_metadata_v1_default = {
37120
37120
  },
37121
37121
  auth_encoding: {
37122
37122
  type: "string",
37123
- enum: ["basic_username"],
37124
- 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`."
37123
+ enum: ["basic_username", "raw"],
37124
+ 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`."
37125
37125
  },
37126
37126
  runtime_scopes: {
37127
37127
  type: "object",
@@ -37157,6 +37157,12 @@ var integration_metadata_v1_default = {
37157
37157
  host_suffix: { type: "string", pattern: "^[a-z0-9.-]+\\.[a-z]{2,}$" }
37158
37158
  }
37159
37159
  },
37160
+ config_arg_defaults: {
37161
+ type: "object",
37162
+ 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.",
37163
+ propertyNames: { pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" },
37164
+ additionalProperties: { type: "string", pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" }
37165
+ },
37160
37166
  redirect_means_auth_failure: {
37161
37167
  type: "boolean",
37162
37168
  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."
@@ -37407,13 +37413,22 @@ function authorizationValue(token, scheme, encoding) {
37407
37413
  return `${resolveAuthScheme(scheme)} ${token}`;
37408
37414
  }
37409
37415
  const trimmed = encoding.trim();
37410
- if (trimmed !== "basic_username") {
37416
+ if (trimmed !== "basic_username" && trimmed !== "raw") {
37411
37417
  throw new TemplateError(`unsupported auth_encoding: ${trimmed}`);
37412
37418
  }
37413
37419
  if (scheme !== void 0 && scheme.trim() !== "") {
37414
37420
  throw new TemplateError("auth_scheme cannot be combined with auth_encoding");
37415
37421
  }
37416
- return basicUsernameAuthorization(token);
37422
+ return trimmed === "raw" ? rawAuthorization(token) : basicUsernameAuthorization(token);
37423
+ }
37424
+ function rawAuthorization(credential) {
37425
+ if (credential.trim() === "") {
37426
+ throw new TemplateError("credential for raw auth is empty");
37427
+ }
37428
+ if (!isValidHeaderValue(credential)) {
37429
+ throw new TemplateError("credential for raw auth contains control characters");
37430
+ }
37431
+ return credential;
37417
37432
  }
37418
37433
  function basicUsernameAuthorization(credential) {
37419
37434
  if (credential.includes(":")) {
@@ -31568,8 +31568,8 @@ var integration_metadata_v1_default = {
31568
31568
  },
31569
31569
  auth_encoding: {
31570
31570
  type: "string",
31571
- enum: ["basic_username"],
31572
- 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`."
31571
+ enum: ["basic_username", "raw"],
31572
+ 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`."
31573
31573
  },
31574
31574
  runtime_scopes: {
31575
31575
  type: "object",
@@ -31605,6 +31605,12 @@ var integration_metadata_v1_default = {
31605
31605
  host_suffix: { type: "string", pattern: "^[a-z0-9.-]+\\.[a-z]{2,}$" }
31606
31606
  }
31607
31607
  },
31608
+ config_arg_defaults: {
31609
+ type: "object",
31610
+ 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.",
31611
+ propertyNames: { pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" },
31612
+ additionalProperties: { type: "string", pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" }
31613
+ },
31608
31614
  redirect_means_auth_failure: {
31609
31615
  type: "boolean",
31610
31616
  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."
@@ -31680,8 +31680,8 @@ var integration_metadata_v1_default = {
31680
31680
  },
31681
31681
  auth_encoding: {
31682
31682
  type: "string",
31683
- enum: ["basic_username"],
31684
- 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`."
31683
+ enum: ["basic_username", "raw"],
31684
+ 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`."
31685
31685
  },
31686
31686
  runtime_scopes: {
31687
31687
  type: "object",
@@ -31717,6 +31717,12 @@ var integration_metadata_v1_default = {
31717
31717
  host_suffix: { type: "string", pattern: "^[a-z0-9.-]+\\.[a-z]{2,}$" }
31718
31718
  }
31719
31719
  },
31720
+ config_arg_defaults: {
31721
+ type: "object",
31722
+ 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.",
31723
+ propertyNames: { pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" },
31724
+ additionalProperties: { type: "string", pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" }
31725
+ },
31720
31726
  redirect_means_auth_failure: {
31721
31727
  type: "boolean",
31722
31728
  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."
@@ -65,8 +65,8 @@ import {
65
65
  writeDirectChatSessionState,
66
66
  writeEgressAllowlist,
67
67
  writePersistentClaudeWrapper
68
- } from "./chunk-ROZAO2DB.js";
69
- import "./chunk-JFLRDMGU.js";
68
+ } from "./chunk-HDPG36NY.js";
69
+ import "./chunk-PN7B4DLS.js";
70
70
  import "./chunk-OCMJ5E6J.js";
71
71
  import "./chunk-XWVM4KPK.js";
72
72
  import "./chunk-EL5MWGGH.js";
@@ -139,4 +139,4 @@ export {
139
139
  writeEgressAllowlist,
140
140
  writePersistentClaudeWrapper
141
141
  };
142
- //# sourceMappingURL=persistent-session-VBDEAOEO.js.map
142
+ //# sourceMappingURL=persistent-session-Y36GGHCA.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-ROZAO2DB.js";
4
- import "./chunk-JFLRDMGU.js";
3
+ } from "./chunk-HDPG36NY.js";
4
+ import "./chunk-PN7B4DLS.js";
5
5
  import "./chunk-OCMJ5E6J.js";
6
6
  import "./chunk-XWVM4KPK.js";
7
7
  import "./chunk-EL5MWGGH.js";
@@ -802,4 +802,4 @@ export {
802
802
  readAndResetSlackReplyBindingClassifications,
803
803
  readAndResetSlackReplyTargetClassifications
804
804
  };
805
- //# sourceMappingURL=responsiveness-probe-BN4VTJPH.js.map
805
+ //# sourceMappingURL=responsiveness-probe-JDFWZC6W.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-JFLRDMGU.js";
3
+ } from "./chunk-PN7B4DLS.js";
4
4
  import "./chunk-DGUM43GV.js";
5
5
 
6
6
  // src/lib/session-auth-dead.ts
@@ -204,4 +204,4 @@ export {
204
204
  decideSessionAuthState,
205
205
  probeSessionAuth
206
206
  };
207
- //# sourceMappingURL=session-auth-dead-ONJMUXYK.js.map
207
+ //# sourceMappingURL=session-auth-dead-BRMWKA3Y.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1060",
3
+ "version": "0.28.1062",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {