dsh-session-manager 0.6.3 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +177 -345
- package/README.md +18 -6
- package/README.zh.md +21 -9
- package/lib/client.js +6402 -4348
- package/lib/compat/dsh-adapter.js +3 -0
- package/lib/index.js +1629 -1335
- package/lib/workspace-archive-store.js +235 -0
- package/package.json +5 -3
|
@@ -143,6 +143,9 @@ export function normalizeSessionHeaders(values) {
|
|
|
143
143
|
export function createDshAdapter(ctx) {
|
|
144
144
|
const adapter = {
|
|
145
145
|
get workspaceRegistry() { return getService(ctx, "workspaceRegistry"); },
|
|
146
|
+
get uiWorkspace() {
|
|
147
|
+
try { return getService(ctx, "uiWorkspace"); } catch { return undefined; }
|
|
148
|
+
},
|
|
146
149
|
get sessions() { return getService(ctx, "sessions"); },
|
|
147
150
|
get agents() { return getService(ctx, "agents"); },
|
|
148
151
|
get persistence() { return getService(ctx, "sessionPersistence"); },
|