@gravity-rail/cli 0.22.0 → 0.32.0

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.
@@ -1,5 +1,5 @@
1
- import { a as CLICredentials, E as EnvironmentConfig, C as CredentialsManager, b as ConciergeAppContextPayload } from './cli-client-context-dl4gw0Fb.js';
2
- export { d as CALLBACK_PATH, e as CALLBACK_PORT, D as DEFAULT_PROFILE, f as ENVIRONMENTS, P as ProfileSummary, R as REDIRECT_URI, g as getEnvironmentConfig } from './cli-client-context-dl4gw0Fb.js';
1
+ import { a as CLICredentials, E as EnvironmentConfig, C as CredentialsManager, b as ConciergeAppContextPayload } from './cli-client-context-cd5f2JKX.js';
2
+ export { d as CALLBACK_PATH, e as CALLBACK_PORT, f as CheckoutClassification, D as DEFAULT_PROFILE, g as ENVIRONMENTS, h as EnvironmentConfigOptions, P as ProfileSummary, R as REDIRECT_URI, W as WorktreeConfigError, i as classifyCheckout, j as getEnvironmentConfig, p as parsePublishedTarget } from './cli-client-context-cd5f2JKX.js';
3
3
 
4
4
  /**
5
5
  * CLI OAuth2 authentication utilities
@@ -224,6 +224,17 @@ declare class AGUIClient {
224
224
  private model;
225
225
  private appContext;
226
226
  constructor(options: AGUIClientOptions);
227
+ private chatRouteUrl;
228
+ /**
229
+ * The operator's own live inline-connect link for this chat, or null when
230
+ * none is live. The `inline_connect` prompt carries no URL on purpose (it is
231
+ * a bearer, and the tool result is persisted and model-visible), so the
232
+ * terminal fetches it here when the operator chooses to connect.
233
+ */
234
+ fetchInlineConnectLink(appSlug: string): Promise<{
235
+ connectUrl: string;
236
+ expiresInMinutes: number;
237
+ } | null>;
227
238
  private inferenceStatusUrl;
228
239
  private waitForInferenceInactive;
229
240
  /**
package/dist/cli-utils.js CHANGED
@@ -7,6 +7,8 @@ import {
7
7
  ENVIRONMENTS,
8
8
  FIRST_PARTY_CLIENT_METADATA_FIELD,
9
9
  REDIRECT_URI,
10
+ WorktreeConfigError,
11
+ classifyCheckout,
10
12
  clearScreen,
11
13
  fetchFirstPartyClientId,
12
14
  formatTimestamp,
@@ -17,6 +19,7 @@ import {
17
19
  isErrorEvent,
18
20
  isTextContentEvent,
19
21
  openBrowser,
22
+ parsePublishedTarget,
20
23
  parseSseStream,
21
24
  performOAuthFlow,
22
25
  printMessage,
@@ -26,7 +29,7 @@ import {
26
29
  selectFromList,
27
30
  startCallbackServer,
28
31
  wrapText
29
- } from "./chunk-IYCL6P6B.js";
32
+ } from "./chunk-IGZVMTG5.js";
30
33
  export {
31
34
  AGUIClient,
32
35
  CALLBACK_PATH,
@@ -36,6 +39,8 @@ export {
36
39
  ENVIRONMENTS,
37
40
  FIRST_PARTY_CLIENT_METADATA_FIELD,
38
41
  REDIRECT_URI,
42
+ WorktreeConfigError,
43
+ classifyCheckout,
39
44
  clearScreen,
40
45
  fetchFirstPartyClientId,
41
46
  formatTimestamp,
@@ -46,6 +51,7 @@ export {
46
51
  isErrorEvent,
47
52
  isTextContentEvent,
48
53
  openBrowser,
54
+ parsePublishedTarget,
49
55
  parseSseStream,
50
56
  performOAuthFlow,
51
57
  printMessage,