fix: host plugin activates on a clean profile (v1.0.2) #2

Merged
newbie merged 1 commits from fix/host-activation-inject into main 2026-11-14 17:28:29 +08:00
Owner

Fixes clean profile activation. Details in CHANGELOG 1.0.2 and tests/host-activation.test.ts.

Fixes clean profile activation. Details in CHANGELOG 1.0.2 and tests/host-activation.test.ts.
newbie added 1 commit 2026-11-14 17:28:09 +08:00
7774d6fc28 fix: mount auto-review listeners through ctx.inject so the host activates on a clean profile (v1.0.2)
Cordis throws when a service is read before it is declared in inject:
'cannot get property "permissionPresets" without inject'. apply() probed
ctx.permissionPresets first, so a profile without permissionPresets/agents
died during activation and its else-branch ctx.inject fallback was dead code.
The plugin now always wires the listeners through a scoped ctx.inject, which
also re-mounts them when the auto-review services appear later.
newbie merged commit f87055b75b into main 2026-11-14 17:28:29 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: DeepsSeekHarness/dsh-better-chat#2
No description provided.