pty-manager 1.9.1 → 1.9.2

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/index.d.mts CHANGED
@@ -112,7 +112,7 @@ interface ParsedOutput {
112
112
  */
113
113
  interface LoginDetection {
114
114
  required: boolean;
115
- type?: 'api_key' | 'oauth' | 'browser' | 'device_code';
115
+ type?: 'api_key' | 'oauth' | 'browser' | 'device_code' | 'cli_auth';
116
116
  url?: string;
117
117
  deviceCode?: string;
118
118
  instructions?: string;
@@ -120,7 +120,7 @@ interface LoginDetection {
120
120
  /**
121
121
  * Normalized authentication methods for runtime event consumers.
122
122
  */
123
- type AuthRequiredMethod = 'api_key' | 'oauth_browser' | 'device_code' | 'unknown';
123
+ type AuthRequiredMethod = 'api_key' | 'cli_auth' | 'oauth_browser' | 'device_code' | 'unknown';
124
124
  /**
125
125
  * Structured authentication-required payload emitted by PTY session/manager.
126
126
  */
package/dist/index.d.ts CHANGED
@@ -112,7 +112,7 @@ interface ParsedOutput {
112
112
  */
113
113
  interface LoginDetection {
114
114
  required: boolean;
115
- type?: 'api_key' | 'oauth' | 'browser' | 'device_code';
115
+ type?: 'api_key' | 'oauth' | 'browser' | 'device_code' | 'cli_auth';
116
116
  url?: string;
117
117
  deviceCode?: string;
118
118
  instructions?: string;
@@ -120,7 +120,7 @@ interface LoginDetection {
120
120
  /**
121
121
  * Normalized authentication methods for runtime event consumers.
122
122
  */
123
- type AuthRequiredMethod = 'api_key' | 'oauth_browser' | 'device_code' | 'unknown';
123
+ type AuthRequiredMethod = 'api_key' | 'cli_auth' | 'oauth_browser' | 'device_code' | 'unknown';
124
124
  /**
125
125
  * Structured authentication-required payload emitted by PTY session/manager.
126
126
  */
package/dist/index.js CHANGED
@@ -601,6 +601,8 @@ var PTYSession = class _PTYSession extends import_events.EventEmitter {
601
601
  switch (type) {
602
602
  case "api_key":
603
603
  return "api_key";
604
+ case "cli_auth":
605
+ return "cli_auth";
604
606
  case "device_code":
605
607
  return "device_code";
606
608
  case "oauth":