Add workforce deploy dependency#13
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
…lush Fix #1/#13: initIfReady schedules a requestAnimationFrame retry when the container has no layout (hidden tab, split page mounted at display:none). mount() now always invokes initIfReady regardless of prior parentage so the retry actually fires once the container becomes visible. Fix #6: dispose() cancels the init rAF and calls clearPtyBuffer(key) before flipping the disposed flag, so a queued rAF flush can't write into a torn-down xterm. writeFromBuffer also early-returns when disposed as belt-and-braces.
…lush Fix #1/#13: initIfReady schedules a requestAnimationFrame retry when the container has no layout (hidden tab, split page mounted at display:none). mount() now always invokes initIfReady regardless of prior parentage so the retry actually fires once the container becomes visible. Fix #6: dispose() cancels the init rAF and calls clearPtyBuffer(key) before flipping the disposed flag, so a queued rAF flush can't write into a torn-down xterm. writeFromBuffer also early-returns when disposed as belt-and-braces.
Summary
@agentworkforce/deploy@^3.0.15package required bysrc/main/proactive-agent.bundle.ts.package-lock.jsonwith deploy/runtime/persona-kit and transitive runtime dependencies.Why
Merged
mainimports@agentworkforce/deploybut does not declare it, sonpm run buildandnpm run devfail during main-process bundling before Electron starts.Verification
npm install @agentworkforce/deploy@3.0.15npm run buildpasses.npm run devpasses main/preload bundling and starts Electron. Stopping the dev session still reports an existing unrelatedshutdownAppOnce is not definedwarning fromsrc/main/index.ts.Notes
../workforcecurrentorigin/mainalready has@agentworkforce/deploy@3.0.15, and npm has that version published with concrete dependencies. No workforce source change is required for this unblock; Pear only needed to declare the dependency it imports.