@livedesk/hub 0.1.4 → 0.1.5

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": "@livedesk/hub",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "LiveDesk local Hub API and browser frame bridge",
5
5
  "type": "module",
6
6
  "main": "src/server.js",
@@ -285,6 +285,7 @@ export function createCodexAgentRuntime({
285
285
 
286
286
  function reportProgress(run, stage, message, extra = {}) {
287
287
  run.stage = safeText(stage, 80);
288
+ run.progressMessage = safeText(message, 500);
288
289
  if (typeof onProgress !== 'function') return;
289
290
  try {
290
291
  onProgress({
@@ -438,7 +439,9 @@ export function createCodexAgentRuntime({
438
439
  error: run.error,
439
440
  errorMessage: run.errorMessage,
440
441
  errorStage: run.errorStage,
441
- createdAt: run.createdAt,
442
+ stage: run.stage,
443
+ progressMessage: run.progressMessage,
444
+ createdAt: run.createdAt,
442
445
  updatedAt: run.updatedAt,
443
446
  toolCallCount: run.toolCallCount,
444
447
  permissionMode: run.permissionPolicy?.mode || 'ask',
@@ -676,6 +679,7 @@ export function createCodexAgentRuntime({
676
679
  abortReason: '',
677
680
  authRecoveryRequested: false,
678
681
  stage: 'queued',
682
+ progressMessage: '',
679
683
  mcpToken: ''
680
684
  };
681
685
  runs.set(run.runId, run);