Import bundle/index.js
This commit is contained in:
parent
38ac62adc6
commit
b54d67dba0
|
|
@ -29,7 +29,17 @@ import * as groups from './groups.js'
|
|||
import * as remoteSsh from './remote-ssh/index.js'
|
||||
|
||||
const groupsPlugin = { name: groups.name, inject: groups.inject, apply: groups.apply }
|
||||
const remoteSshPlugin = { name: remoteSsh.name, inject: remoteSsh.inject, Config: remoteSsh.Config, apply: remoteSsh.apply }
|
||||
// NOTE (1.0.3): the child plugin object must NOT carry its own Config.
|
||||
// When both this composed plugin (top-level `export const Config` below)
|
||||
// and the child declare the same schemastery Config, the child's fiber
|
||||
// silently never applies on DSH 0.2.2-rc.2 — the remote half stays dead
|
||||
// (no wrapper write, no /remote-ssh/api routes) while groups works.
|
||||
// Verified by A/B on a clean profile: 1.0.1 (no top-level Config) fine,
|
||||
// 1.0.2 (both Configs) remote dead, top-level-only Config fine — and the
|
||||
// settings face only needs the ENTRY, which the top-level export owns;
|
||||
// it resolves the entry id to this bundle's row (patch 11), never to the
|
||||
// child's own Cordis config.
|
||||
const remoteSshPlugin = { name: remoteSsh.name, inject: remoteSsh.inject, apply: remoteSsh.apply }
|
||||
|
||||
/** Plugin identity for cordis.yml rows. */
|
||||
export const name = 'workspace-groups-remote'
|
||||
|
|
|
|||
Loading…
Reference in New Issue