@praxisui/ai 9.0.0-beta.78 → 9.0.0-beta.79

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,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-07-19T03:55:15.480Z",
3
+ "generatedAt": "2026-07-19T20:13:41.218Z",
4
4
  "packageName": "@praxisui/ai",
5
- "packageVersion": "9.0.0-beta.78",
5
+ "packageVersion": "9.0.0-beta.79",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 0,
@@ -3254,7 +3254,7 @@ class PraxisAssistantTurnController {
3254
3254
  this.patchState({
3255
3255
  state: result.state,
3256
3256
  phase: result.phase ?? this.resolvePhase(result),
3257
- sessionId: result.sessionId ?? current.sessionId,
3257
+ sessionId: this.resolveCanonicalSessionId(result.sessionId, current.sessionId),
3258
3258
  clientTurnId: result.clientTurnId ?? current.clientTurnId,
3259
3259
  messages,
3260
3260
  quickReplies: [...(result.quickReplies ?? current.quickReplies)],
@@ -3271,6 +3271,10 @@ class PraxisAssistantTurnController {
3271
3271
  observationId: result.observationId ?? current.observationId,
3272
3272
  });
3273
3273
  }
3274
+ resolveCanonicalSessionId(resultSessionId, currentSessionId) {
3275
+ const canonicalSessionId = resultSessionId?.trim();
3276
+ return canonicalSessionId || currentSessionId;
3277
+ }
3274
3278
  resolveSubmitAction(action, current) {
3275
3279
  if (action.kind !== 'submit' || current.state !== 'clarification' || !current.pendingClarification) {
3276
3280
  return action;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@praxisui/ai",
3
- "version": "9.0.0-beta.78",
3
+ "version": "9.0.0-beta.79",
4
4
  "description": "AI building blocks and assistant integration for Praxis UI applications.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
- "@praxisui/core": "^9.0.0-beta.78",
8
+ "@praxisui/core": "^9.0.0-beta.79",
9
9
  "@angular/cdk": "^21.0.0",
10
10
  "@angular/forms": "^21.0.0",
11
11
  "@angular/material": "^21.0.0",
@@ -1915,6 +1915,7 @@ declare class PraxisAssistantTurnController {
1915
1915
  private resetConversationState;
1916
1916
  private resetConversationAfterCancel;
1917
1917
  private applyResult;
1918
+ private resolveCanonicalSessionId;
1918
1919
  private resolveSubmitAction;
1919
1920
  private buildPendingClarification;
1920
1921
  private resolvePendingClarificationSourcePrompt;