@dooc-dev/dooc 0.0.26 → 0.0.27

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.
Files changed (42) hide show
  1. package/dist/edit.global.js +280 -260
  2. package/dist/engine/compiler/format-collections.js +1 -1
  3. package/dist/engine/core/html.js +2 -4
  4. package/dist/engine/core/icons.js +2 -2
  5. package/dist/frontend/document-application.js +160 -73
  6. package/dist/frontend/git-style.d.ts +1 -0
  7. package/dist/frontend/git-style.js +172 -0
  8. package/dist/frontend/language-picker.d.ts +5 -1
  9. package/dist/frontend/language-picker.js +19 -4
  10. package/dist/frontend/link-preview.d.ts +2 -0
  11. package/dist/frontend/link-preview.js +385 -0
  12. package/dist/frontend/locales/eng.json +137 -3
  13. package/dist/frontend/locales/jpn.json +139 -5
  14. package/dist/frontend/locales/zho.json +137 -3
  15. package/dist/frontend/resource-download.js +11 -6
  16. package/dist/frontend/scrollbars.d.ts +1 -0
  17. package/dist/frontend/scrollbars.js +9 -0
  18. package/dist/frontend/video-ui.js +9 -3
  19. package/dist/manifest.global.js +188 -186
  20. package/dist/mcp-relay.mjs +20 -1
  21. package/dist/plugins.global.js +31 -31
  22. package/dist/server/git-origin.js +1 -1
  23. package/dist/server/git.js +49 -26
  24. package/dist/server/operation-log.js +9 -1
  25. package/dist/server/serve.d.ts +1 -0
  26. package/dist/server/serve.js +18 -7
  27. package/dist/server/static-client.js +4 -14
  28. package/dist/server/workspace-server.js +2 -1
  29. package/dist/subformats.global.js +57 -57
  30. package/dist/ui.global.js +71 -69
  31. package/dist/workspace/git-review.d.ts +5 -0
  32. package/dist/workspace/git-review.js +56 -0
  33. package/dist/workspace/git-types.d.ts +29 -2
  34. package/dist/workspace/git-types.js +5 -1
  35. package/dist/workspace/github.d.ts +1 -1
  36. package/dist/workspace/github.js +73 -9
  37. package/dist/workspace/mcp-tools.js +20 -1
  38. package/dist/workspace-worker.global.js +332 -84
  39. package/package.json +1 -1
  40. package/dist/workspace-mcp-worker.global.js +0 -3263
  41. package/dist/workspace-reader-mcp-worker.global.js +0 -3263
  42. package/dist/workspace-reader-worker.global.js +0 -3263
@@ -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. Origin operations require an externally injected provider. createPr needs title/body/base/draft; updatePr needs number/title/body/revision; mergePr needs number/method/revision. PR revision must be JSON.stringify of the PR returned by read. Read again after each action.",
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,