@ycodium-ai/plugin-pull-requests 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.
@@ -0,0 +1,140 @@
1
+ {
2
+ "page": {
3
+ "title": "Pull Requests",
4
+ "hostUpgradeRequired": "Update this Ycodium client to use the pull request view."
5
+ },
6
+ "breadcrumb": {
7
+ "ariaLabel": "Pull requests breadcrumb"
8
+ },
9
+ "filter": {
10
+ "all": "All",
11
+ "reviewing": "Reviewing",
12
+ "authored": "Authored",
13
+ "open": "Open",
14
+ "closed": "Closed",
15
+ "merged": "Merged",
16
+ "machines": "Machines",
17
+ "projects": "Projects",
18
+ "refresh": "Refresh"
19
+ },
20
+ "empty": {
21
+ "noReviewDiffsTitle": "No review diffs",
22
+ "noGitDiffsDetail": "There are no working tree or branch changes to review.",
23
+ "noChangesTitle": "No changes",
24
+ "noChangesDetail": "This diff is empty.",
25
+ "loadingDiff": "Loading diff…",
26
+ "addProjectWithoutPalette": "Add a project from the Projects tab. This app does not have a command palette."
27
+ },
28
+ "gitChangesEntry": {
29
+ "title": "Review changes",
30
+ "description": "Inspect working tree and branch changes"
31
+ },
32
+ "action": {
33
+ "comment": "Comment",
34
+ "approve": "Approve",
35
+ "requestChanges": "Request changes",
36
+ "resolve": "Resolve",
37
+ "unresolve": "Unresolve",
38
+ "discard": "Discard",
39
+ "discardCommentAria": "Discard this comment",
40
+ "reply": "Reply",
41
+ "replyAria": "Reply to this conversation",
42
+ "cancel": "Cancel",
43
+ "editComment": "Edit comment",
44
+ "loadMoreComments": "Load more comments",
45
+ "loading": "Loading...",
46
+ "addImageAria": "Add attachment",
47
+ "requestReviewAria": "Request a review",
48
+ "alreadyAskedAria": "Already asked"
49
+ },
50
+ "thread": {
51
+ "pendingComment": "Pending — sent when you submit the review",
52
+ "resolved": "Resolved",
53
+ "open": "Open",
54
+ "outdated": "outdated",
55
+ "fixInThread": "Fix in a thread",
56
+ "preparingFix": "Preparing..."
57
+ },
58
+ "comment": {
59
+ "count_one": "{{count}} comment",
60
+ "count_other": "{{count}} comments"
61
+ },
62
+ "bar": {
63
+ "noComments": "No line comments yet",
64
+ "commentsPending_one": "{{count}} comment pending",
65
+ "commentsPending_other": "{{count}} comments pending",
66
+ "summaryPlaceholder": "Summarize your review (optional)",
67
+ "summaryAria": "Review summary",
68
+ "submitFailedTitle": "The review could not be submitted",
69
+ "sentComment": "Review submitted",
70
+ "sentApprove": "Pull request approved",
71
+ "sentRequestChanges": "Changes requested"
72
+ },
73
+ "reviewer": {
74
+ "writeAccessRequired": "Asking someone to review needs write access on this repository",
75
+ "searchPlaceholder": "Search people with access",
76
+ "peopleUnreadable": "The people with access could not be read. {{error}}",
77
+ "noMatches": "Nobody with access matches that.",
78
+ "noAccess": "Nobody else has access to this repository.",
79
+ "team": "team",
80
+ "truncatedNotice": "This repository has more people with access than are listed here. Ask for the rest on the host.",
81
+ "requestFailedTitle": "Could not ask {{login}} for a review",
82
+ "withdrawFailedTitle": "Could not take back the review request to {{login}}",
83
+ "requestFailedHint": "The host refused it. Check that you have write access on this repository, and that they still have access to it.",
84
+ "requestedTitle": "Review requested from {{login}}",
85
+ "withdrawnTitle": "Review request to {{login}} taken back"
86
+ },
87
+ "nav": {
88
+ "changedFilesTitle": "Changed files",
89
+ "fileCount_one": "{{count}} file",
90
+ "fileCount_other": "{{count}} files"
91
+ },
92
+ "section": {
93
+ "workingTree": "Working tree",
94
+ "branchChanges": "Branch changes",
95
+ "selectedTitle": "{{title}} (selected)",
96
+ "refresh": "Refresh current diff",
97
+ "selectDiff": "Select a diff"
98
+ },
99
+ "header": {
100
+ "reviewChanges": "Review changes",
101
+ "environmentFallback": "Machine"
102
+ },
103
+ "aria": {
104
+ "selectReviewDiff": "Select review diff",
105
+ "backToChat": "Back to chat",
106
+ "hideChangedFiles": "Hide changed files",
107
+ "showChangedFiles": "Show changed files"
108
+ },
109
+ "notice": {
110
+ "partialDiff": "Partial diff"
111
+ },
112
+ "filePreview": {
113
+ "onDemand": "File contents load when this file is in view",
114
+ "binary": "Binary file. A text diff is not available.",
115
+ "tooLarge": "This file exceeds the preview size limit.",
116
+ "missing": "This file is no longer available. Refresh the file list.",
117
+ "truncated": "This preview reached the size limit. Only part of the diff is shown.",
118
+ "unavailable": "Could not load this file. Pull to refresh to try again.",
119
+ "updateMachine": "Update this machine to load file previews.",
120
+ "loadMore": "Load more changed files",
121
+ "loadingMore": "Loading more changed files…"
122
+ },
123
+ "error": {
124
+ "reviewUnavailableTitle": "Review unavailable"
125
+ },
126
+ "composer": {
127
+ "title": "Add Comment",
128
+ "noSelectionTitle": "No selection",
129
+ "noSelectionDetail": "Select a diff line or range first.",
130
+ "line": "Line {{number}}",
131
+ "lineRange": "Lines {{first}}-{{last}}",
132
+ "fileComment": "File comment",
133
+ "linesSelected_one": "{{count}} line selected",
134
+ "linesSelected_other": "{{count}} lines selected",
135
+ "placeholder": "Leave a comment..."
136
+ },
137
+ "handoff": {
138
+ "unsupported": "This client cannot start a thread or save a review draft from this page."
139
+ }
140
+ }
@@ -0,0 +1,140 @@
1
+ {
2
+ "page": {
3
+ "title": "拉取请求",
4
+ "hostUpgradeRequired": "更新此 Ycodium 客户端以使用拉取请求视图。"
5
+ },
6
+ "breadcrumb": {
7
+ "ariaLabel": "拉取请求面包屑"
8
+ },
9
+ "filter": {
10
+ "all": "全部",
11
+ "reviewing": "审查中",
12
+ "authored": "已创建",
13
+ "open": "开启",
14
+ "closed": "已关闭",
15
+ "merged": "已合并",
16
+ "machines": "机器",
17
+ "projects": "项目",
18
+ "refresh": "刷新"
19
+ },
20
+ "empty": {
21
+ "noReviewDiffsTitle": "没有审查 diff",
22
+ "noGitDiffsDetail": "没有可审查的工作树或分支更改。",
23
+ "noChangesTitle": "没有更改",
24
+ "noChangesDetail": "此 diff 为空。",
25
+ "loadingDiff": "正在加载 diff…",
26
+ "addProjectWithoutPalette": "从“项目”标签页添加项目。此应用没有命令面板。"
27
+ },
28
+ "gitChangesEntry": {
29
+ "title": "审查更改",
30
+ "description": "检查工作树和分支更改"
31
+ },
32
+ "action": {
33
+ "comment": "评论",
34
+ "approve": "批准",
35
+ "requestChanges": "请求修改",
36
+ "resolve": "解决",
37
+ "unresolve": "取消解决",
38
+ "discard": "丢弃",
39
+ "discardCommentAria": "丢弃此评论",
40
+ "reply": "回复",
41
+ "replyAria": "回复此会话",
42
+ "cancel": "取消",
43
+ "editComment": "编辑评论",
44
+ "loadMoreComments": "加载更多评论",
45
+ "loading": "加载中...",
46
+ "addImageAria": "添加图片",
47
+ "requestReviewAria": "请求审查",
48
+ "alreadyAskedAria": "已请求"
49
+ },
50
+ "thread": {
51
+ "pendingComment": "待发送 — 提交审查时发送",
52
+ "resolved": "已解决",
53
+ "open": "未解决",
54
+ "outdated": "已过时",
55
+ "fixInThread": "在会话中修复",
56
+ "preparingFix": "准备中..."
57
+ },
58
+ "comment": {
59
+ "count_one": "{{count}} 条评论",
60
+ "count_other": "{{count}} 条评论"
61
+ },
62
+ "bar": {
63
+ "noComments": "暂无行评论",
64
+ "commentsPending_one": "{{count}} 条评论待发送",
65
+ "commentsPending_other": "{{count}} 条评论待发送",
66
+ "summaryPlaceholder": "总结你的审查(可选)",
67
+ "summaryAria": "审查摘要",
68
+ "submitFailedTitle": "无法提交审查",
69
+ "sentComment": "审查已提交",
70
+ "sentApprove": "拉取请求已批准",
71
+ "sentRequestChanges": "已请求修改"
72
+ },
73
+ "reviewer": {
74
+ "writeAccessRequired": "请求他人审查需要此仓库的写入权限",
75
+ "searchPlaceholder": "搜索有访问权限的人员",
76
+ "peopleUnreadable": "无法读取有访问权限的人员。{{error}}",
77
+ "noMatches": "没有有访问权限的人员匹配。",
78
+ "noAccess": "没有其他人有此仓库的访问权限。",
79
+ "team": "团队",
80
+ "truncatedNotice": "此仓库有更多具备访问权限的人员未列在此处。请在托管平台上查看其余人员。",
81
+ "requestFailedTitle": "无法请求 {{login}} 审查",
82
+ "withdrawFailedTitle": "无法撤回发给 {{login}} 的审查请求",
83
+ "requestFailedHint": "主机拒绝了该请求。请检查你是否拥有此仓库的写入权限,以及对方是否仍有访问权限。",
84
+ "requestedTitle": "已请求 {{login}} 审查",
85
+ "withdrawnTitle": "已撤回发给 {{login}} 的审查请求"
86
+ },
87
+ "nav": {
88
+ "changedFilesTitle": "已更改的文件",
89
+ "fileCount_one": "{{count}} 个文件",
90
+ "fileCount_other": "{{count}} 个文件"
91
+ },
92
+ "section": {
93
+ "workingTree": "工作树",
94
+ "branchChanges": "分支更改",
95
+ "selectedTitle": "{{title}}(已选择)",
96
+ "refresh": "刷新当前 diff",
97
+ "selectDiff": "选择 diff"
98
+ },
99
+ "header": {
100
+ "reviewChanges": "审查更改",
101
+ "environmentFallback": "机器"
102
+ },
103
+ "aria": {
104
+ "selectReviewDiff": "选择审查 diff",
105
+ "backToChat": "返回聊天",
106
+ "hideChangedFiles": "隐藏已更改的文件",
107
+ "showChangedFiles": "显示已更改的文件"
108
+ },
109
+ "notice": {
110
+ "partialDiff": "部分 diff"
111
+ },
112
+ "filePreview": {
113
+ "onDemand": "查看此文件时加载文件内容",
114
+ "binary": "二进制文件。无法提供文本差异对比。",
115
+ "tooLarge": "此文件超出预览大小限制。",
116
+ "missing": "此文件已不可用。请刷新文件列表。",
117
+ "truncated": "此预览已达到大小限制。仅显示部分差异对比。",
118
+ "unavailable": "无法加载此文件。下拉刷新后重试。",
119
+ "updateMachine": "更新此机器以加载文件预览。",
120
+ "loadMore": "加载更多已更改文件",
121
+ "loadingMore": "正在加载更多已更改文件…"
122
+ },
123
+ "error": {
124
+ "reviewUnavailableTitle": "无法审查"
125
+ },
126
+ "composer": {
127
+ "title": "添加评论",
128
+ "noSelectionTitle": "未选择内容",
129
+ "noSelectionDetail": "请先选择 diff 的一行或一个范围。",
130
+ "line": "第 {{number}} 行",
131
+ "lineRange": "第 {{first}}-{{last}} 行",
132
+ "fileComment": "文件评论",
133
+ "linesSelected_one": "已选择 {{count}} 行",
134
+ "linesSelected_other": "已选择 {{count}} 行",
135
+ "placeholder": "留下评论..."
136
+ },
137
+ "handoff": {
138
+ "unsupported": "此客户端无法从此页面启动会话或保存审查草稿。"
139
+ }
140
+ }
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@ycodium-ai/plugin-pull-requests",
3
+ "version": "0.2.0",
4
+ "description": "The pull request page, for GitHub and GitLab.",
5
+ "keywords": [
6
+ "pull-requests",
7
+ "ycodium",
8
+ "ycodium-plugin"
9
+ ],
10
+ "license": "UNLICENSED",
11
+ "files": [
12
+ "dist",
13
+ "assets",
14
+ "locales"
15
+ ],
16
+ "type": "module",
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "devDependencies": {
21
+ "@effect/vitest": "4.0.0-beta.103",
22
+ "@tailwindcss/node": "^4.3.0",
23
+ "@tailwindcss/oxide": "^4.3.0",
24
+ "@types/react": "~19.2.14",
25
+ "@types/react-dom": "^19.2.3",
26
+ "esbuild": "0.28.1",
27
+ "lucide-react": "^0.564.0",
28
+ "react": "19.2.6",
29
+ "react-dom": "19.2.6",
30
+ "tailwindcss": "^4.0.0",
31
+ "vite-plus": "0.2.2",
32
+ "@ycodium-ai/plugin-api": "0.1.1"
33
+ },
34
+ "ycodium": {
35
+ "plugin": "./dist/index.js",
36
+ "displayName": "Pull requests",
37
+ "description": "The pull request page, for GitHub and GitLab.",
38
+ "icon": "gitPullRequest",
39
+ "permissions": [],
40
+ "ui": {
41
+ "assets": "./assets",
42
+ "entry": "ui.js",
43
+ "pages": [
44
+ {
45
+ "id": "pull-requests",
46
+ "titleKey": "page.title",
47
+ "icon": "gitPullRequest",
48
+ "chrome": "own"
49
+ }
50
+ ]
51
+ }
52
+ },
53
+ "scripts": {
54
+ "build": "node build.mjs",
55
+ "typecheck": "tsgo --noEmit && tsgo --noEmit -p tsconfig.ui.json",
56
+ "test": "vp test run"
57
+ }
58
+ }