@dooc-dev/dooc 0.0.18 → 0.0.20
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/dist/client.global.js +1 -1
- package/dist/edit.global.js +163 -163
- package/dist/engine/core/html.d.ts +2 -2
- package/dist/engine/core/html.js +4 -4
- package/dist/frontend/document-application.js +4 -8
- package/dist/frontend/figure-preview.d.ts +1 -1
- package/dist/frontend/figure-preview.js +39 -11
- package/dist/frontend/locales/eng.json +0 -7
- package/dist/frontend/locales/jpn.json +0 -7
- package/dist/frontend/locales/zho.json +0 -7
- package/dist/frontend/resource-library.d.ts +1 -1
- package/dist/frontend/resource-library.js +10 -11
- package/dist/plugins.global.js +4 -4
- package/dist/server/workspace-server.js +2 -6
- package/dist/subformats.global.js +34 -42
- package/dist/ui.global.js +36 -44
- package/dist/workspace-mcp-worker.global.js +7 -11
- package/dist/workspace-reader-mcp-worker.global.js +7 -11
- package/dist/workspace-reader-worker.global.js +7 -11
- package/dist/workspace-worker.global.js +7 -11
- package/package.json +1 -1
|
@@ -105,13 +105,9 @@ export const nodeWorkspaceOperations = async (manifest, pluginModule, notify = (
|
|
|
105
105
|
const description = {
|
|
106
106
|
id,
|
|
107
107
|
...(section ? { manifest: section } : {}),
|
|
108
|
-
label: source.protocol === "git"
|
|
109
|
-
? `${source.branch}/${source.repo ?? basename(root)}`
|
|
110
|
-
: basename(root),
|
|
108
|
+
label: source.protocol === "git" ? source.branch : basename(root),
|
|
111
109
|
...(source.protocol === "git" ? { branch: source.branch } : {}),
|
|
112
|
-
...(revision
|
|
113
|
-
? { revision, readOnly: true, label: `${revision.version}/${basename(primary)}` }
|
|
114
|
-
: {}),
|
|
110
|
+
...(revision ? { revision, readOnly: true, label: revision.version } : {}),
|
|
115
111
|
};
|
|
116
112
|
const catalog = catalogOverride ?? entries.get(owner)?.versions ?? createDocumentVersions(root);
|
|
117
113
|
const entry = {
|