@gravity-rail/cli 0.8.0 → 0.10.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 ConciergeAppContextPayload } from './cli-client-context-9KRUt6O-.js';
2
- export { A as AuthResult, c as CALLBACK_PATH, d as CALLBACK_PORT, e as CLICredentials, C as CredentialsManager, f as ENVIRONMENTS, E as EnvironmentConfig, O as OAuthFlowOptions, R as REDIRECT_URI, g as generatePKCE, h as getEnvironmentConfig, o as openBrowser, p as performOAuthFlow, r as refreshAccessToken, s as startCallbackServer } from './cli-client-context-9KRUt6O-.js';
1
+ import { a as ConciergeAppContextPayload } from './cli-client-context-BbyBEGcg.js';
2
+ export { A as AuthResult, c as CALLBACK_PATH, d as CALLBACK_PORT, e as CLICredentials, C as CredentialsManager, f as ENVIRONMENTS, E as EnvironmentConfig, O as OAuthFlowOptions, R as REDIRECT_URI, g as generatePKCE, h as getEnvironmentConfig, o as openBrowser, p as performOAuthFlow, r as refreshAccessToken, s as startCallbackServer } from './cli-client-context-BbyBEGcg.js';
3
3
 
4
4
  interface SelectFromListOptions<T> {
5
5
  title?: string;
@@ -79,7 +79,7 @@ interface ChatMessage {
79
79
  interface AGUIClientOptions {
80
80
  baseUrl: string;
81
81
  workspaceUuid?: string;
82
- chatId?: number;
82
+ chatId?: number | string;
83
83
  /** Full URL override — when provided, baseUrl/workspaceUuid/chatId are ignored for POST */
84
84
  endpointUrl?: string;
85
85
  accessToken: string;
@@ -119,8 +119,12 @@ interface AguiStreamOptions {
119
119
  }
120
120
  interface AguiRequestBody {
121
121
  messages?: ChatMessage[];
122
+ /** Concierge AGUI resume fields. */
122
123
  resumeValue?: string;
123
124
  resumeInterruptId?: string;
125
+ /** Workspace-chat HITL resume (ChatCompletionRequest.resume shape:
126
+ * { decisions: [{type: 'approve'|'edit'|'reject', ...}], interruptId }). */
127
+ resume?: unknown;
124
128
  }
125
129
  /**
126
130
  * Helper to check if an event is a text content event
package/dist/cli-utils.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  selectFromList,
22
22
  startCallbackServer,
23
23
  wrapText
24
- } from "./chunk-H62EC2CF.js";
24
+ } from "./chunk-GVUGFPCN.js";
25
25
  export {
26
26
  AGUIClient,
27
27
  CALLBACK_PATH,
@@ -2,10 +2,10 @@ import {
2
2
  AuthRequiredError,
3
3
  CLIError,
4
4
  handleError
5
- } from "./chunk-7VZ4JLAJ.js";
5
+ } from "./chunk-WZVMWN3S.js";
6
6
  export {
7
7
  AuthRequiredError,
8
8
  CLIError,
9
9
  handleError
10
10
  };
11
- //# sourceMappingURL=errors-VK4QO3QZ.js.map
11
+ //# sourceMappingURL=errors-YHGVIDPO.js.map