Repository navigation
v1.1.18
Ensembyte 1.1.18 — by Soumya Chakraborty. macOS Release.
Security & Identity
Ensembyte[bot] Commit Attribution & Keychain-Backed App Signing
- Co-Author Trailer Hooks (
CommitCredit.swift,Shell.swift): Automatically installsgit-hookswrappers intoLoginEnvironment.currentviaGIT_CONFIG_COUNT/core.hooksPathso agent commits invoke the repository's existing hooks first and appendCo-authored-by: ensembyte[bot] <352044576+ensembyte[bot]@users.noreply.github.com>. - Unified Bot Identity (
GitHubAppIdentity.swift): Centralizes Ensembyte App (appId = 5597496,clientID = Iv23lip8dk91VWKI1t22) and updatesbotUserIDto352044576across bothEnsembyte-swiftandEnsembyte-rust, fixing attribution so GitHub resolvesensembyte[bot]accurately. - Per-Installation Bot Token Store & Keychain Override (
GitHubAppAuth.swift,GitHubSettingsSection.swift): Replaces the single token slot with per-installationBotTokenStorecaching ([Int: BotTokenCache]), adds an App Private Key Keychain override field in Settings, and cleanly separateshumanOverlayfrombotOverlayinGitHubConnection. - Zero Plaintext Credential Fallbacks (
AppSettings.swift,GitHubAuth.swift): Removes allUserDefaultsplaintext fallbacks for provider API keys and GitHub tokens when Keychain writes are declined, keeps tokens strictly in memory (keychainUnavailable), lowers theghCLI token cache TTL to 60s, and invalidates cached auth immediately on 401 responses.
MCP & OAuth Hardening
- Proactive OAuth Refresh (
MCPOAuth.swift): IntroducesTokenDecision(.noRefresh,.refresh,.useStale) so tokens lackingexpires_atwith an availablerefresh_tokenrefresh proactively instead of being assumed valid indefinitely. - Bounded Proxy Response Reads (
MCPProxy.swift): Caps non-SSE upstream MCP response bodies at 32 MiB (bodyLimit), returning502instead of allowing unbounded memory growth.
Provider Stability & UI Architecture
Provider Lifecycle & Reset Polling
- Bounded Z.ai Reset Confirmation (
ZaiAPI.swift,PlanLimits.swift): Replaces the fixed 2-second sleep after credit reset with boundedconfirmResetpolling againstcredit-windows and introducesResetOutcome.pendingwhen meter updates lag. - Watchdog Generation Guard (
ProviderRegistry.swift): TrackslimitsReadGenerationper provider so slowPlanLimitsReaderreads superseded by a watchdog timeout cannot overwrite fresher limits. - Bounded Copilot Teardown (
CopilotSession.swift): Tracks shutdown and close-backstop tasks, cappingruntime.shutdownat 2 seconds and cancelling in-flight teardown tasks cleanly on close ordeinit.
Chat Workspace Isolation, Tests & Cleanup
- Per-Directory Git Status Caching (
ChatView.swift): Scopes git status reads, in-flight request coalescing, 32-entry LRU snapshot caching, and activity tracking per directory so rapid workspace switching never mixes repository status. - Pure Panel Reorder Layout (
ReorderLayout.swift): Extracts pure stack layout calculation out ofChatViewand cachesPanelScene.autoPoppedIDs, backed by new unit test coverage (EnsembyteCoreTests: 77 tests passing acrossCommitCreditTests,GitHubBotTokenCacheTests,MCPOAuthTests,ReorderLayoutTests, andZaiResetConfirmTests). - Dead-Code Removal (
ThreadRuntime.swift,TimelineRows.swift,RootView.swift): Removes unused views and redundant state (DragHandle,HydraRunMetricsView,HydraDelegationBlock,OpenAICompatibleAPI,CopyCommandButton,AppZoomModifier,OrbTheme, andlatestTodos).