@dooc-dev/dooc 0.0.26 → 0.0.28
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/edit.global.js +280 -260
- package/dist/engine/compiler/format-collections.js +9 -3
- package/dist/engine/core/html.js +3 -5
- package/dist/engine/core/icons.js +2 -2
- package/dist/frontend/document-application.js +185 -90
- package/dist/frontend/git-style.d.ts +1 -0
- package/dist/frontend/git-style.js +172 -0
- package/dist/frontend/language-picker.d.ts +5 -1
- package/dist/frontend/language-picker.js +19 -4
- package/dist/frontend/link-preview.d.ts +2 -0
- package/dist/frontend/link-preview.js +385 -0
- package/dist/frontend/locales/eng.json +137 -3
- package/dist/frontend/locales/jpn.json +139 -5
- package/dist/frontend/locales/zho.json +137 -3
- package/dist/frontend/resource-download.js +11 -6
- package/dist/frontend/scrollbars.d.ts +1 -0
- package/dist/frontend/scrollbars.js +9 -0
- package/dist/frontend/video-ui.js +9 -3
- package/dist/manifest.global.js +188 -186
- package/dist/mcp-relay.mjs +20 -1
- package/dist/plugins.global.js +31 -31
- package/dist/server/build.js +11 -8
- package/dist/server/cli.js +6 -1
- package/dist/server/git-origin.js +1 -1
- package/dist/server/git.js +49 -26
- package/dist/server/operation-log.js +9 -1
- package/dist/server/serve.d.ts +1 -0
- package/dist/server/serve.js +18 -7
- package/dist/server/static-client.js +4 -14
- package/dist/server/workspace-server.js +2 -1
- package/dist/subformats.global.js +57 -57
- package/dist/ui.global.js +71 -69
- package/dist/workspace/git-review.d.ts +5 -0
- package/dist/workspace/git-review.js +56 -0
- package/dist/workspace/git-types.d.ts +29 -2
- package/dist/workspace/git-types.js +5 -1
- package/dist/workspace/github.d.ts +1 -1
- package/dist/workspace/github.js +73 -9
- package/dist/workspace/mcp-tools.js +20 -1
- package/dist/workspace-worker.global.js +337 -87
- package/package.json +1 -1
- package/dist/workspace-mcp-worker.global.js +0 -3263
- package/dist/workspace-reader-mcp-worker.global.js +0 -3263
- package/dist/workspace-reader-worker.global.js +0 -3263
package/dist/mcp-relay.mjs
CHANGED
|
@@ -258,7 +258,7 @@ var definitions = {
|
|
|
258
258
|
required: ["name"]
|
|
259
259
|
},
|
|
260
260
|
git: {
|
|
261
|
-
description: "Git workflow in the repository containing this bundle. Read first; every other action except branches requires that state's version. diff/stage/unstage use path; commit uses message; branch creates and switches to branch; switch accepts stash=true to save dirty work in the single stash slot.
|
|
261
|
+
description: "Git workflow in the repository containing this bundle. Read first; every other action except branches requires that state's version. diff/stage/unstage use path; commit uses message; branch creates and switches to branch; switch accepts stash=true to save dirty work in the single stash slot. Use the origin capabilities returned by read. createPr needs title/body/base/draft; updatePr needs number/title/body/revision; mergePr needs number/method/revision. For updatePr and mergePr, revision must be JSON.stringify of the PR returned by read. prFiles and reviewPr take number, headCommit, base and baseCommit from that PR. prFiles accepts page, and reviewPr takes event and body. Read again after each action.",
|
|
262
262
|
props: {
|
|
263
263
|
action: {
|
|
264
264
|
...str,
|
|
@@ -278,11 +278,30 @@ var definitions = {
|
|
|
278
278
|
"push",
|
|
279
279
|
"createPr",
|
|
280
280
|
"updatePr",
|
|
281
|
+
"prFiles",
|
|
282
|
+
"reviewPr",
|
|
281
283
|
"mergePr"
|
|
282
284
|
]
|
|
283
285
|
},
|
|
284
286
|
version: str,
|
|
285
287
|
path: str,
|
|
288
|
+
headCommit: str,
|
|
289
|
+
baseCommit: str,
|
|
290
|
+
page: { ...num, minimum: 1 },
|
|
291
|
+
event: { ...str, enum: ["COMMENT", "APPROVE", "REQUEST_CHANGES"] },
|
|
292
|
+
side: {
|
|
293
|
+
...str,
|
|
294
|
+
enum: ["staged", "unstaged"],
|
|
295
|
+
description: "Limit a diff to one side of the index. Omit for both."
|
|
296
|
+
},
|
|
297
|
+
includePullRequests: {
|
|
298
|
+
...bool,
|
|
299
|
+
description: "Set to false to read local status without contacting a pull request provider."
|
|
300
|
+
},
|
|
301
|
+
openPullRequestsOnly: {
|
|
302
|
+
...bool,
|
|
303
|
+
description: "Limit the pull request list to open requests."
|
|
304
|
+
},
|
|
286
305
|
message: str,
|
|
287
306
|
branch: str,
|
|
288
307
|
stash: bool,
|