rystem.playframework.client 0.1.3 β†’ 0.1.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.
@@ -139,7 +139,7 @@ class PlayFrameworkClient {
139
139
  if (event.status === "awaitingClient" || event.status === "commandClient") {
140
140
  const interactionResponse = event;
141
141
  const isCommand = event.status === "commandClient";
142
- console.log(isCommand ? 'πŸ”₯ [PlayFrameworkClient] Received CommandClient (fire-and-forget)' : '⏸️ [PlayFrameworkClient] Received AwaitingClient', ', tool:', interactionResponse.clientInteractionRequest?.toolName);
142
+ console.log(isCommand ? '[PlayFrameworkClient] Received CommandClient (fire-and-forget)' : '[PlayFrameworkClient] Received AwaitingClient', ', tool:', interactionResponse.clientInteractionRequest?.toolName);
143
143
  // Capture conversationKey from the response (server sets it for resume)
144
144
  if (interactionResponse.conversationKey) {
145
145
  capturedConversationKey = interactionResponse.conversationKey;
@@ -164,7 +164,7 @@ class PlayFrameworkClient {
164
164
  shouldRetry = false; // Success, no retry
165
165
  // Handle client interactions if any were received during this stream
166
166
  if (shouldContinue && pendingInteractions.length > 0) {
167
- console.log(`πŸ”§ [PlayFrameworkClient] Executing ${pendingInteractions.length} client interaction(s)`);
167
+ console.log(`[PlayFrameworkClient] Executing ${pendingInteractions.length} client interaction(s)`);
168
168
  // Execute ALL pending interactions in parallel
169
169
  const allResults = [];
170
170
  let hasNonCommandInteraction = false;
@@ -172,7 +172,7 @@ class PlayFrameworkClient {
172
172
  const clientRequest = interaction.clientInteractionRequest;
173
173
  if (!clientRequest)
174
174
  continue;
175
- console.log(`πŸ”§ [PlayFrameworkClient] Executing: ${clientRequest.toolName} (${clientRequest.isCommand ? 'command' : 'tool'})`);
175
+ console.log(`[PlayFrameworkClient] Executing: ${clientRequest.toolName} (${clientRequest.isCommand ? 'command' : 'tool'})`);
176
176
  const result = await this.clientRegistry.execute(clientRequest);
177
177
  if (clientRequest.isCommand === true) {
178
178
  // Command: check feedbackMode to decide whether to send result
@@ -192,7 +192,7 @@ class PlayFrameworkClient {
192
192
  }
193
193
  }
194
194
  if (hasNonCommandInteraction || allResults.length > 0) {
195
- console.log(`βœ… [PlayFrameworkClient] ${allResults.length} result(s) to send back, resuming`);
195
+ console.log(`[PlayFrameworkClient] ${allResults.length} result(s) to send back, resuming`);
196
196
  // Prepare resume request with ALL applicable results
197
197
  // Use captured conversationKey so the server finds the batch in cache
198
198
  currentRequest = {
@@ -200,16 +200,16 @@ class PlayFrameworkClient {
200
200
  clientInteractionResults: allResults,
201
201
  conversationKey: capturedConversationKey ?? currentRequest.conversationKey
202
202
  };
203
- console.log('πŸ“€ [PlayFrameworkClient] Sending resume request with clientInteractionResults');
203
+ console.log('[PlayFrameworkClient] Sending resume request with clientInteractionResults');
204
204
  shouldContinue = true;
205
205
  }
206
206
  else {
207
- console.log('βœ… [PlayFrameworkClient] All interactions were fire-and-forget commands. No resume needed.');
207
+ console.log('[PlayFrameworkClient] All interactions were fire-and-forget commands. No resume needed.');
208
208
  shouldContinue = false;
209
209
  }
210
210
  }
211
211
  else {
212
- console.log('βœ… [PlayFrameworkClient] Stream completed normally (no client interaction)');
212
+ console.log('[PlayFrameworkClient] Stream completed normally (no client interaction)');
213
213
  shouldContinue = false; // Normal completion or already closed by completed/error
214
214
  }
215
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rystem.playframework.client",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "author": "Alessandro Rapiti <alessandro.rapiti44@gmail.com>",
5
5
  "license": "MIT",
6
6
  "description": "TypeScript client for Rystem PlayFramework HTTP API with step-by-step and token-level streaming support.",