@mcp-abap-adt/interfaces 0.2.3 → 0.2.4

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/CHANGELOG.md CHANGED
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.4] - 2025-12-21
11
+
12
+ ### Added
13
+ - **Headless Browser Mode**: Added `"headless"` option to `ITokenProviderOptions.browser`
14
+ - `"headless"`: Does not open browser, logs authentication URL and waits for manual callback
15
+ - Ideal for SSH sessions, remote terminals, and environments without display
16
+ - Differs from `"none"` which immediately rejects (for automated tests)
17
+ - Updated JSDoc documentation for browser option with all supported values
18
+
10
19
  ## [0.2.3] - 2025-12-19
11
20
 
12
21
  ### Added
@@ -8,9 +8,10 @@ import type { ILogger } from '../logging/ILogger';
8
8
  export interface ITokenProviderOptions {
9
9
  /**
10
10
  * Browser type for browser-based authentication
11
- * Supported values: "chrome", "edge", "firefox", "system" (default), "none"
12
- * - "system": Uses system default browser
13
- * - "none": Does not open browser automatically (user must open URL manually)
11
+ * Supported values: "chrome", "edge", "firefox", "system" (default), "none", "headless"
12
+ * - "system": Uses system default browser (default)
13
+ * - "headless": Does not open browser, logs URL and waits for manual callback (for SSH/remote sessions)
14
+ * - "none": Does not open browser, immediately rejects with error (for automated tests)
14
15
  */
15
16
  browser?: string;
16
17
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ITokenProviderOptions.d.ts","sourceRoot":"","sources":["../../src/token/ITokenProviderOptions.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
1
+ {"version":3,"file":"ITokenProviderOptions.d.ts","sourceRoot":"","sources":["../../src/token/ITokenProviderOptions.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/interfaces",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Shared interfaces for MCP ABAP ADT packages",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",