@jacexh/claude-web-console 0.12.3 → 0.12.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jacexh/claude-web-console",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "Web-based console for Claude Code — manage sessions, switch models, preview artifacts",
5
5
  "type": "module",
6
6
  "bin": {
@@ -390,9 +390,9 @@ export class SessionManager {
390
390
  // For new sessions, start stream immediately — SDK may emit init messages
391
391
  this.startStreamConsumer(tempId, session)
392
392
 
393
- // Poll session.sessionId directly don't depend on consumeStream remap timing
394
- const sessionId = await waitForSessionId(session, 30_000)
395
- return sessionId
393
+ // SDK requires send() before sessionId is available.
394
+ // Return tempId now; real sessionId arrives via session_id_resolved WS event after first send().
395
+ return tempId
396
396
  }
397
397
 
398
398
  private fetchAndBroadcastModels(sessionId: string, session: SDKSession, currentModel?: string): void {