@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
|
@@ -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
|
-
|
|
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);
|