@dungsil/dsh-plugin-ui-forge-pulls 0.0.0-stage → 0.2.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/locale/en.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "meta": {
3
+ "title": "PR Preview",
4
+ "description": "Read the description, comments and reviews of the current branch's pull request or merge request in the right sidebar."
5
+ },
6
+ "title": "PR / MR",
7
+ "description": "The PR or MR pushed from this session's current branch",
8
+ "refresh": "Refresh",
9
+ "loading": "Loading requests…",
10
+ "empty": "No PR or MR is associated with the current branch. Push this branch and create a request first.",
11
+ "open": "Open",
12
+ "draft": "Draft",
13
+ "closed": "Closed",
14
+ "merged": "Merged",
15
+ "hint": "Install gh (GitHub), glab (GitLab) or tea 0.12.x (Gitea/Forgejo) and sign in on the DSH host.",
16
+ "repository": "No Git repository or remote was found for this session.",
17
+ "unsupported": "Host not recognized. Check that the host is supported and review this session's repository connection settings.",
18
+ "cli_missing": "The required CLI is missing or unsupported on the DSH host. Gitea and Forgejo use tea 0.12.x.",
19
+ "command_failed": "Could not load requests. Check CLI authentication, repository access and the session's sandbox network policy.",
20
+ "invalid_response": "The CLI returned an invalid response.",
21
+ "unavailable": "Requests are unavailable. Reconnect and refresh.",
22
+ "link_unsupported": "This link is outside the session's remote repository or uses an unsupported host. Open the original link below.",
23
+ "changes": "Changes",
24
+ "changes_incomplete": "Changes could not be fully loaded or exceed the display limit. Refresh or review on the original page before approving.",
25
+ "no_changes": "No changed files.",
26
+ "overview": "Overview",
27
+ "conversation": "Conversation",
28
+ "body": "Description",
29
+ "no_body": "No description provided.",
30
+ "no_conversation": "No comments or reviews yet.",
31
+ "merge_title": "Merge pull request",
32
+ "merge_hint": "Review changes and checks in Code review and changes first. This merges immediately with your CLI account, not through auto-merge.",
33
+ "merge_unavailable": "Merge is unavailable until readiness, permissions, checks and the checkout branch can be verified. Refresh to check again.",
34
+ "merge_commit": "Merge commit",
35
+ "merge_squash": "Squash and merge",
36
+ "merge_rebase": "Rebase and merge",
37
+ "review": "Submit review",
38
+ "comment": "Comment",
39
+ "approve": "Approve",
40
+ "request_changes": "Request changes",
41
+ "review_body": "Review comment",
42
+ "review_hint": "Check the changes and checks in the official Forge panel first. Actions use your CLI account; authors cannot approve their own requests.",
43
+ "gitlab_review_hint": "GitLab supports comments and approvals here. Approval cannot include text; submit a separate comment first. Requesting changes is available on the original page.",
44
+ "submit": "Submit review",
45
+ "pending": "Submitting…",
46
+ "completed": "Action completed. Verifying the remote state.",
47
+ "action_failed": "The action could not be confirmed. Refresh and check the remote state before retrying; it may already have completed. Check permissions and repository rules.",
48
+ "stale_request": "The branch, request or head commit changed. Refresh and review again.",
49
+ "details_error": "Some details could not be loaded. Refresh before reviewing.",
50
+ "copy": "Copy",
51
+ "copied": "Copied",
52
+ "footnotes": "Footnotes"
53
+ }
package/locale/ko.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "meta": {
3
+ "title": "PR 미리보기",
4
+ "description": "오른쪽 사이드바에서 현재 브랜치의 PR 또는 MR 본문과 댓글·리뷰를 확인합니다."
5
+ },
6
+ "title": "PR / MR",
7
+ "description": "현재 세션의 작업 브랜치에서 푸시한 PR 또는 MR을 확인합니다",
8
+ "refresh": "새로고침",
9
+ "loading": "요청을 불러오는 중…",
10
+ "empty": "현재 브랜치에 연결된 PR 또는 MR이 없습니다. 브랜치를 푸시한 뒤 요청을 생성하세요.",
11
+ "open": "열림",
12
+ "draft": "초안",
13
+ "closed": "닫힘",
14
+ "merged": "병합됨",
15
+ "hint": "DSH 호스트에 gh(GitHub), glab(GitLab) 또는 tea 0.12.x(Gitea/Forgejo)를 설치하고 로그인하세요.",
16
+ "repository": "현재 세션에서 Git 저장소 또는 remote를 찾지 못했습니다.",
17
+ "unsupported": "호스트를 판별하지 못했습니다. 지원하는 호스트인지 확인하고 현재 세션의 저장소 연결 설정을 확인하세요.",
18
+ "cli_missing": "DSH 호스트에 필요한 CLI가 없거나 지원되지 않는 버전입니다. Gitea와 Forgejo에는 tea 0.12.x를 사용합니다.",
19
+ "command_failed": "요청을 불러오지 못했습니다. CLI 로그인, 저장소 접근 권한, 세션의 샌드박스 네트워크 정책을 확인하세요.",
20
+ "invalid_response": "CLI가 올바르지 않은 응답을 반환했습니다.",
21
+ "unavailable": "요청을 조회할 수 없습니다. 다시 연결한 뒤 새로고침하세요.",
22
+ "link_unsupported": "현재 세션의 원격 저장소에 속하지 않거나 지원하지 않는 호스트의 링크입니다. 아래 링크에서 원문을 확인하세요.",
23
+ "changes": "변경 내용",
24
+ "changes_incomplete": "변경 내용을 모두 불러오지 못했거나 표시 제한을 초과했습니다. 승인하기 전에 새로고침하거나 원문에서 확인하세요.",
25
+ "no_changes": "변경된 파일이 없습니다.",
26
+ "overview": "개요",
27
+ "conversation": "댓글·리뷰",
28
+ "body": "본문",
29
+ "no_body": "작성된 본문이 없습니다.",
30
+ "no_conversation": "아직 댓글이나 리뷰가 없습니다.",
31
+ "merge_title": "PR 병합",
32
+ "merge_hint": "코드 리뷰 및 변경 사항에서 변경 내용과 검사를 먼저 확인하세요. 자동 병합 등록 없이 CLI 계정으로 즉시 병합합니다.",
33
+ "merge_unavailable": "병합 준비 상태, 권한, 검사와 체크아웃 브랜치를 확인할 수 있어야 병합할 수 있습니다. 새로고침하여 다시 확인하세요.",
34
+ "merge_commit": "병합 커밋",
35
+ "merge_squash": "스쿼시 병합",
36
+ "merge_rebase": "리베이스 병합",
37
+ "review": "리뷰 작성",
38
+ "comment": "댓글",
39
+ "approve": "승인",
40
+ "request_changes": "변경 요청",
41
+ "review_body": "리뷰 내용",
42
+ "review_hint": "변경 내용과 CI는 공식 Forge 패널에서 먼저 확인하세요. CLI 계정으로 제출하며, 작성자는 자신의 요청을 승인할 수 없습니다.",
43
+ "gitlab_review_hint": "GitLab에서는 댓글과 승인을 지원합니다. 승인에는 본문을 첨부할 수 없으므로 댓글을 먼저 별도로 제출하세요. 변경 요청은 원문에서 할 수 있습니다.",
44
+ "submit": "리뷰 제출",
45
+ "pending": "제출하는 중…",
46
+ "completed": "작업을 완료했습니다. 원격 상태를 확인하는 중입니다.",
47
+ "action_failed": "작업 결과를 확인하지 못했습니다. 이미 반영되었을 수 있으므로 재시도 전에 새로고침하여 원격 상태를 확인하세요. 권한과 저장소 규칙도 확인하세요.",
48
+ "stale_request": "브랜치, 요청 또는 최신 커밋이 바뀌었습니다. 새로고침한 뒤 다시 검토하세요.",
49
+ "details_error": "상세 정보의 일부를 불러오지 못했습니다. 리뷰하기 전에 새로고침하세요.",
50
+ "copy": "복사",
51
+ "copied": "복사됨",
52
+ "footnotes": "각주"
53
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "meta": {
3
+ "title": "PR 预览",
4
+ "description": "在右侧栏查看当前分支 PR 或 MR 的描述、评论和审查。"
5
+ },
6
+ "title": "PR / MR",
7
+ "description": "查看从此会话当前分支推送的 PR 或 MR",
8
+ "refresh": "刷新",
9
+ "loading": "正在加载请求…",
10
+ "empty": "当前分支没有关联的 PR 或 MR。请先推送此分支并创建请求。",
11
+ "open": "开放",
12
+ "draft": "草稿",
13
+ "closed": "已关闭",
14
+ "merged": "已合并",
15
+ "hint": "请在 DSH 主机上安装 gh(GitHub)、glab(GitLab)或 tea 0.12.x(Gitea/Forgejo)并登录。",
16
+ "repository": "未找到此会话的 Git 仓库或远程地址。",
17
+ "unsupported": "无法识别主机。请确认主机是否受支持,并检查此会话的仓库连接设置。",
18
+ "cli_missing": "DSH 主机上缺少所需的 CLI 或版本不受支持。Gitea 和 Forgejo 使用 tea 0.12.x。",
19
+ "command_failed": "无法加载请求。请检查 CLI 登录状态、仓库访问权限和会话的沙箱网络策略。",
20
+ "invalid_response": "CLI 返回了无效响应。",
21
+ "unavailable": "无法查询请求。请重新连接后刷新。",
22
+ "link_unsupported": "此链接不属于当前会话的远程仓库,或使用了不支持的主机。请打开下方的原始链接。",
23
+ "changes": "更改",
24
+ "changes_incomplete": "无法完整加载更改或更改超出显示限制。批准前请刷新或查看原始页面。",
25
+ "no_changes": "没有更改的文件。",
26
+ "overview": "概览",
27
+ "conversation": "评论与审查",
28
+ "body": "描述",
29
+ "no_body": "未提供描述。",
30
+ "no_conversation": "暂无评论或审查。",
31
+ "merge_title": "合并拉取请求",
32
+ "merge_hint": "请先在代码审查和变更中审查更改和检查。操作使用 CLI 账户立即合并,不会启用自动合并。",
33
+ "merge_unavailable": "只有确认合并条件、权限、检查和当前检出分支后才能合并。请刷新后重试。",
34
+ "merge_commit": "合并提交",
35
+ "merge_squash": "压缩并合并",
36
+ "merge_rebase": "变基并合并",
37
+ "review": "提交审查",
38
+ "comment": "评论",
39
+ "approve": "批准",
40
+ "request_changes": "请求修改",
41
+ "review_body": "审查内容",
42
+ "review_hint": "请先在官方 Forge 面板中查看更改和 CI。操作使用 CLI 账户;作者不能批准自己的请求。",
43
+ "gitlab_review_hint": "GitLab 支持评论和批准。批准不能附带正文,请先单独提交评论。请求修改请前往原始页面。",
44
+ "submit": "提交审查",
45
+ "pending": "正在提交…",
46
+ "completed": "操作已完成。正在确认远程状态。",
47
+ "action_failed": "无法确认操作结果。操作可能已完成,请先刷新并检查远程状态再重试,同时检查权限和仓库规则。",
48
+ "stale_request": "分支、请求或最新提交已更改。请刷新并重新审查。",
49
+ "details_error": "部分详情加载失败。请先刷新,再进行审查。",
50
+ "copy": "复制",
51
+ "copied": "已复制",
52
+ "footnotes": "脚注"
53
+ }
package/package.json CHANGED
@@ -1,6 +1,121 @@
1
1
  {
2
2
  "name": "@dungsil/dsh-plugin-ui-forge-pulls",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.0",
4
+ "description": "PR/MR descriptions, comments and reviews for DeepSeek Harness.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/dungsil/dsh-plugins.git",
9
+ "directory": "packages/ui-forge-pulls"
10
+ },
11
+ "files": [
12
+ "dist",
13
+ "locale",
14
+ "cordis.patch.yml"
15
+ ],
16
+ "type": "module",
17
+ "exports": {
18
+ ".": "./dist/index.js",
19
+ "./client": "./dist/client.js",
20
+ "./package.json": "./package.json",
21
+ "./locale/*.json": "./locale/*.json"
22
+ },
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "devDependencies": {
27
+ "@deepseek-ai/cordis": "4.1.0",
28
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.3",
29
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.2-rc.3",
30
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.3",
31
+ "@deepseek-ai/dsh-app-boot": "0.2.2-rc.3",
32
+ "@deepseek-ai/dsh-client-connection": "0.2.2-rc.3",
33
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.3",
34
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.3",
35
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.3",
36
+ "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.3",
37
+ "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.3",
38
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.3",
39
+ "@deepseek-ai/dsh-credentials-local": "0.2.2-rc.3",
40
+ "@deepseek-ai/dsh-experimental-forge": "0.2.2-rc.3",
41
+ "@deepseek-ai/dsh-experimental-forge-session": "0.2.2-rc.3",
42
+ "@deepseek-ai/dsh-fs": "0.2.2-rc.3",
43
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.3",
44
+ "@deepseek-ai/dsh-sandbox": "0.2.2-rc.3",
45
+ "@deepseek-ai/dsh-sandbox-local": "0.2.2-rc.3",
46
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.3",
47
+ "@deepseek-ai/dsh-session": "0.2.2-rc.3",
48
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.3",
49
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.3",
50
+ "@deepseek-ai/dsh-subprocess": "0.2.2-rc.3",
51
+ "@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.3",
52
+ "@deepseek-ai/dsh-working-directory": "0.2.2-rc.3",
53
+ "@deepseek-ai/schemastery": "3.19.0",
54
+ "@dungsil/dsh-async": "0.0.0",
55
+ "@dungsil/dsh-plugin-server": "0.0.0",
56
+ "@dungsil/dsh-tsconfig": "0.0.0",
57
+ "@dungsil/dsh-ui": "0.0.0",
58
+ "@types/react": "18.3.31",
59
+ "@types/react-dom": "18.3.7",
60
+ "mdast-util-from-markdown": "2.0.3",
61
+ "mdast-util-gfm": "3.1.0",
62
+ "mdast-util-math": "3.0.0",
63
+ "micromark-extension-gfm": "3.0.0",
64
+ "micromark-extension-math": "3.1.0",
65
+ "react": "18.3.1",
66
+ "react-dom": "18.3.1",
67
+ "tsdown": "0.23.4"
68
+ },
69
+ "peerDependencies": {
70
+ "@deepseek-ai/cordis": "^4.0.5",
71
+ "@deepseek-ai/dsh-client-connection": "^0.2.1-rc.5 || ^0.2.2-rc.1",
72
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.2.1-rc.5 || ^0.2.2-rc.1",
73
+ "@deepseek-ai/dsh-experimental-forge": "^0.2.2-rc.1",
74
+ "@deepseek-ai/dsh-experimental-forge-session": "^0.2.2-rc.1",
75
+ "@deepseek-ai/dsh-session": "^0.2.1-rc.5 || ^0.2.2-rc.1",
76
+ "@deepseek-ai/dsh-session-persistence": "^0.2.1-rc.5 || ^0.2.2-rc.1"
77
+ },
78
+ "engines": {
79
+ "dsh": "^0.2.2-rc.1",
80
+ "node": ">=24.9.0"
81
+ },
82
+ "dsh": {
83
+ "bundle": {
84
+ "patch": "./cordis.patch.yml"
85
+ },
86
+ "client": {
87
+ "platform": "web",
88
+ "immediately": true,
89
+ "inject": [
90
+ "@deepseek-ai/dsh-client-connection",
91
+ "@deepseek-ai/dsh-client-locale",
92
+ "@deepseek-ai/dsh-client-ui-session",
93
+ "@deepseek-ai/dsh-client-ui-sidebar-right"
94
+ ]
95
+ }
96
+ },
97
+ "market": {
98
+ "order": 13,
99
+ "title": {
100
+ "en": "PR Preview",
101
+ "ko": "PR 미리보기",
102
+ "zh": "PR 预览"
103
+ },
104
+ "description": {
105
+ "en": "Read PR/MR descriptions, comments and reviews.",
106
+ "ko": "PR/MR의 본문과 댓글·리뷰를 확인합니다.",
107
+ "zh": "查看 PR/MR 描述、评论和审查。"
108
+ },
109
+ "category": "ui",
110
+ "labels": [],
111
+ "keywords": [
112
+ "pull-request",
113
+ "preview"
114
+ ]
115
+ },
116
+ "scripts": {
117
+ "build": "tsdown",
118
+ "typecheck": "tsc --noEmit",
119
+ "test": "node --test test/*.test.mjs"
120
+ }
6
121
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.