chore(dsh): adapt to DSH 0.2.3-alpha.2 and drop pre-0.2.3 compatibility
Raise the whole baseline to the alpha line and stop carrying code that only exists for older hosts (no runtime compatibility layer, per AGENTS §4): - peers/engines: 14 DSH peers and engines.dsh -> 0.2.3-alpha.2, Cordis -> 4.2.0-alpha.1, group/include 1.2.0-alpha.1, schemastery 3.20.0-alpha.1; dev pins and CI/e2e/install scripts move with them; plugin version 0.34.0-alpha.0. - admission: DSH 0.2.3 deleted `requestRejection`, so only the injected `connection.authentication` provider can call `admit`; the legacy branch and the direct-admit fallback are gone and the fence fails loudly. - directory events: the projection authority is `workspace-root/change`; the side-chat cwd stamp emits it and the worktree scan no longer reads the retired `working-directory/change`. - llm types: `@deepseek-ai/dsh-llm` no longer exports `./brand`, so MessageId comes from `./types`. - client anchors: only `[data-slot="main.conversation"]`; the alpha.1 `conversation` key is retired. `webServer.getOrigin` is called directly. Gates: peers check, typecheck, lint, test (366 files / 4615 passed), build, check:consumer-types.
This commit is contained in:
1 parent
d7e525471e
commit
795beabe22
39 files changed
+973
-973
No files matched your search
@@ -1,15 +1,10 @@
|
||||
/**
|
||||
* Anchor selectors for the DSH AppFrame conversation slot host, newest first:
|
||||
*
|
||||
* - DSH 0.1.5-alpha.2 replaced the root `conversation` slot with a root-scoped
|
||||
* keyed `main` slot, so the conversation renders under `main.conversation`
|
||||
* (ConversationPanel -> `renderSlot('main.conversation')`);
|
||||
* - alpha.1 and earlier spell the same host `conversation`.
|
||||
*
|
||||
* Both keys are accepted deliberately so one build spans the alpha.1 → alpha.2
|
||||
* boundary; only one exists in any given host.
|
||||
* Anchor selector for the DSH AppFrame conversation slot host: the conversation
|
||||
* renders under the root-scoped keyed `main` slot (ConversationPanel ->
|
||||
* `renderSlot('main.conversation')`), which the slot host marks with
|
||||
* `data-slot="main.conversation"`.
|
||||
*/
|
||||
const CENTER_COLUMN_SELECTOR = '#root [data-slot="main.conversation"], #root [data-slot="conversation"]'
|
||||
const CENTER_COLUMN_SELECTOR = '#root [data-slot="main.conversation"]'
|
||||
|
||||
/** Match Sidebar's existing last-resort retry cadence (issue #248). */
|
||||
export const CENTER_COLUMN_REVALIDATE_MS = 1500
|
||||
|
||||
@@ -1072,7 +1072,7 @@ export function matchUrlTarget(tabs: readonly TabDescriptor[], url: URL): TabDes
|
||||
* The plugin version this service instance reports. Keep in lockstep with
|
||||
* `package.json`'s version — `tests/service.spec.ts` asserts the pair.
|
||||
*/
|
||||
export const SIDEBAR_SERVICE_VERSION = '0.33.0'
|
||||
export const SIDEBAR_SERVICE_VERSION = '0.34.0-alpha.0'
|
||||
|
||||
/**
|
||||
* Monotonic capability list consumers use to gate new API usage (features
|
||||
|
||||
@@ -69,9 +69,8 @@ export function useCenterColumn(
|
||||
useEffect(() => {
|
||||
let disposed = false
|
||||
let observer: ResizeObserver | undefined
|
||||
// Locate the AppFrame's center column. DSH 0.1.x wraps slot hosts in
|
||||
// [data-slot] containers: the conversation slot host (key
|
||||
// `main.conversation` on 0.1.5-alpha.2+, `conversation` on alpha.1)
|
||||
// Locate the AppFrame's center column. The host wraps slot hosts in
|
||||
// [data-slot] containers: the conversation slot host (`main.conversation`)
|
||||
// sits inside the center column behind transparent `display: contents`
|
||||
// slot hosts, so the resolver walks up to the first ancestor that
|
||||
// renders a box — no hashed-class or positional dependency
|
||||
|
||||
Reference in new issue
Block a user