@defend-tech/opencode-optima 0.1.39 → 0.1.40
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/dist/index.js +1 -1
- package/dist/sanitize_cli.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9765,7 +9765,7 @@ async function cleanupManagedClickUpWebhook(entry = {}, { timeoutMs = CLICKUP_WE
|
|
|
9765
9765
|
if (entry.listenerRegistry && entry.listener?.key) entry.listenerRegistry.delete(entry.listener.key);
|
|
9766
9766
|
const preservedResult = { ok: true, skipped: true, reason: "remote_webhook_preserved" };
|
|
9767
9767
|
clickUpWebhookLifecycleLog(entry.worktree, { type: "remote_webhook_preserved", reason, webhookId: entry.state?.webhookId });
|
|
9768
|
-
|
|
9768
|
+
writeClickUpWebhookState(entry.worktree, { ...entry.state, listener: {}, lastValidatedAt: (/* @__PURE__ */ new Date()).toISOString() }, entry.config);
|
|
9769
9769
|
activeClickUpWebhookLifecycleRegistry.delete(entry.key);
|
|
9770
9770
|
clickUpWebhookLifecycleLog(entry.worktree, { type: "cleanup_finished", reason, close_ok: closeResult.ok, remote_webhook: "preserved" });
|
|
9771
9771
|
return { ok: closeResult.ok !== false, closeResult, deleteResult: preservedResult, preserveResult: preservedResult };
|
package/dist/sanitize_cli.js
CHANGED
|
@@ -9772,7 +9772,7 @@ async function cleanupManagedClickUpWebhook(entry = {}, { timeoutMs = CLICKUP_WE
|
|
|
9772
9772
|
if (entry.listenerRegistry && entry.listener?.key) entry.listenerRegistry.delete(entry.listener.key);
|
|
9773
9773
|
const preservedResult = { ok: true, skipped: true, reason: "remote_webhook_preserved" };
|
|
9774
9774
|
clickUpWebhookLifecycleLog(entry.worktree, { type: "remote_webhook_preserved", reason, webhookId: entry.state?.webhookId });
|
|
9775
|
-
|
|
9775
|
+
writeClickUpWebhookState(entry.worktree, { ...entry.state, listener: {}, lastValidatedAt: (/* @__PURE__ */ new Date()).toISOString() }, entry.config);
|
|
9776
9776
|
activeClickUpWebhookLifecycleRegistry.delete(entry.key);
|
|
9777
9777
|
clickUpWebhookLifecycleLog(entry.worktree, { type: "cleanup_finished", reason, close_ok: closeResult.ok, remote_webhook: "preserved" });
|
|
9778
9778
|
return { ok: closeResult.ok !== false, closeResult, deleteResult: preservedResult, preserveResult: preservedResult };
|