@pushwoosh/rpc-gateway-ai-assistant 0.1.662 → 0.1.664

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.662",
3
+ "version": "0.1.664",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -88,13 +88,10 @@ export type Chat = {
88
88
  updatedAt: Date;
89
89
  /**
90
90
  * is_onboarding flags the account's onboarding chat; its agent runs on StreamInferenceLLM or StreamInference.
91
- * A chat created with onboarding_path the server opens itself (CreateChat.active_turn_id).
91
+ * The server opens a new one itself (CreateChat.active_turn_id).
92
92
  */
93
93
  isOnboarding: boolean;
94
- /**
95
- * Set by the server's send-history check on the first send (a path chat), or by the agent's
96
- * complete_onboarding on a chat without onboarding_path; the frontend then calls CompleteOnboardingHandoff.
97
- */
94
+ /** Set by the server's send-history check on the first real send; the frontend then calls CompleteOnboardingHandoff. */
98
95
  onboardingCompletedAt: Date;
99
96
  /**
100
97
  * handoff_child_chat_id, on the onboarding chat, stores the id of the
@@ -124,10 +121,7 @@ export type Chat = {
124
121
  cardId: number;
125
122
  /** needs_decision marks a card chat whose card waits for the user (GetAllChats only). */
126
123
  needsDecision: boolean;
127
- /**
128
- * onboarding_path: the onboarding chat runs the PRODUCT-408 path engine (created with
129
- * CreateChatRequest.onboarding_path). The panel picks path or classic UI for an existing chat by it.
130
- */
124
+ /** Deprecated: every onboarding chat runs the path engine, so it equals is_onboarding. */
131
125
  onboardingPath: boolean;
132
126
  };
133
127
  /** CreateChatRequest for creating a new chat */
@@ -136,7 +130,7 @@ export type CreateChatRequest = {
136
130
  title: string;
137
131
  /**
138
132
  * is_onboarding requests the account's onboarding chat, returning the existing one if any.
139
- * Creating it with onboarding_path starts the server's opening turn (Chat.active_turn_id).
133
+ * Creating it starts the server's opening turn (Chat.active_turn_id).
140
134
  */
141
135
  isOnboarding: boolean;
142
136
  /**
@@ -149,10 +143,7 @@ export type CreateChatRequest = {
149
143
  * only the onboarding chat's opening turn reads it.
150
144
  */
151
145
  language: string;
152
- /**
153
- * onboarding_path is the panel's feature flag: the new onboarding chat runs the PRODUCT-408 path engine.
154
- * Read only on creation; without it the chat runs the onboarding agent of before.
155
- */
146
+ /** Deprecated: ignored; every onboarding chat runs the path engine. Kept for clients that still send it. */
156
147
  onboardingPath: boolean;
157
148
  };
158
149
  /** CreateChatResponse returns the created chat */