Conversation
On small displays (e.g. 1440x810 laptops) the previous static defaults (DEFAULT_WIN: 1440x900, MIN_WIN: 1280x800) produced windows taller than the available work area after subtracting top/bottom system panels (~80px), causing the bottom AgentStrip and queue to be clipped behind the taskbar. Changes: - Remove static DEFAULT_WIN / MIN_WIN height constants - Add getWorkAreaBounds() that reads screen.getPrimaryDisplay().workArea at runtime, so the limit always matches the actual usable screen pixels - Fix clampBounds() to cap width/height to workArea (previously it only enforced a floor, never a ceiling — saved oversized bounds survived) - Fix createWindow() to derive initial size from workArea and centre the window when no valid saved position exists - Lower absolute minimum to 900x600 for more flexibility on small screens - Bump package.json version from 0.4.6 to 0.5.2 to match the release tag Fixes bottom-cutoff on 1440x810 and similar displays running Linux with visible taskbar panels (Zorin OS, Ubuntu, etc.).
Contributor
|
✅ Evidence received. Before and after are both attached. Thanks — this is what makes a PR reviewable in one pass. |
Owner
|
Thankyou so much, this is 500th pull request |
… tokens Every spawned worker session inherits the full MCP server catalog (Figma: 42 tools, Notion: 43, ClickUp: 58, Canva: 34, ...) and all bundled skills even when the task needs none of them. On a typical setup this fixed overhead consumes ~85,000–100,000 tokens before any work begins, leaving a worker with a nominal 200K tokenCap with only ~100K of real working budget. Changes: - SpawnRequest: add optional mcpAllow (string[]) and skillsAllow (string[]) - AgentSpawnOptions: thread mcpAllow + skillsAllow into spawnAgentCore - hive.ensureAgent opts: add mcpAllow + skillsAllow typed fields - buildDefaultMcpServers: accept allow param; skip servers not in allowlist - copyBundledSkills: accept allow param; copy only specified skill dirs - hookSettings: pass allow through to buildDefaultMcpServers - COMMANDS.md + identity-prompt spawn docs: document both fields, show tokenCap ≥ 500K guidance, and explain the ~85–100K bootstrap overhead Backward-compatible: omitting both fields preserves current full-catalog behaviour.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On small displays (e.g. 1440x810 laptops) the previous static defaults (DEFAULT_WIN: 1440x900, MIN_WIN: 1280x800) produced windows taller than the available work area after subtracting top/bottom system panels (~80px), causing the bottom AgentStrip and queue to be clipped behind the taskbar.
Changes:
Fixes bottom-cutoff on 1440x810 and similar displays running Linux with visible taskbar panels (Zorin OS, Ubuntu, etc.).
What & why
Type of change
Evidence
Before
After
How I tested it
Credit (optional)
Discord:
X:
Checklist
npm run typecheckpasses.npm run test:focusedpasses.npm run buildsucceeds.commented-out code, or unrelated formatting churn in it.
DESIGN.md/tokens.ts— no ad-hoc colors,spacing, or fonts.
ATTRIBUTION.md.