plugin-git-manager 1.2.27 → 1.3.1

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 (138) hide show
  1. package/README.md +151 -108
  2. package/client-v2.d.ts +2 -2
  3. package/client-v2.js +1 -1
  4. package/client.d.ts +3 -3
  5. package/client.js +1 -1
  6. package/dist/client/{326.90c276058682b536.js → 313.d38fc1d40c4589b9.js} +1 -1
  7. package/dist/client/941.1793e67472872992.js +10 -0
  8. package/dist/client/index.js +1 -1
  9. package/dist/client-v2/156.445366026c1cc9a8.js +10 -0
  10. package/dist/client-v2/{326.42b7b53651ffab3a.js → 313.3c867179c3a1e817.js} +1 -1
  11. package/dist/client-v2/434.19c7579c06b9077c.js +10 -0
  12. package/dist/client-v2/928.bba701b5a1ece58e.js +10 -0
  13. package/dist/client-v2/941.b0d55429cd053f32.js +10 -0
  14. package/dist/client-v2/index.js +1 -1
  15. package/dist/externalVersion.js +9 -8
  16. package/dist/locale/en-US.json +396 -297
  17. package/dist/locale/vi-VN.json +384 -292
  18. package/dist/locale/zh-CN.json +150 -51
  19. package/dist/node_modules/simple-git/dist/cjs/index.js +25 -25
  20. package/dist/node_modules/simple-git/package.json +1 -1
  21. package/dist/node_modules/zod/index.cjs +1 -1
  22. package/dist/node_modules/zod/package.json +1 -1
  23. package/dist/server/actions/git-actions.js +90 -36
  24. package/dist/server/actions/gitlab-api.js +4 -2
  25. package/dist/server/actions/poller.js +5 -2
  26. package/dist/server/actions/review-cutover.js +137 -0
  27. package/dist/server/actions/review.js +150 -51
  28. package/dist/server/actions/role-permissions.js +1 -0
  29. package/dist/server/ai-tools.js +8 -9
  30. package/dist/server/collections/gitCodeReviews.js +10 -0
  31. package/dist/server/collections/gitReviewCutover.js +44 -0
  32. package/dist/server/collections/gitReviewFlows.js +3 -0
  33. package/dist/server/collections/gitReviewInbox.js +51 -0
  34. package/dist/server/collections/gitReviewProjects.js +43 -0
  35. package/dist/server/collections/gitReviewRequests.js +56 -0
  36. package/dist/server/index.js +8 -2
  37. package/dist/server/plugin.js +57 -20
  38. package/dist/server/poller.js +95 -74
  39. package/dist/server/repository-access.js +23 -5
  40. package/dist/server/request-method-policy.js +76 -0
  41. package/dist/server/review-control-access.js +79 -0
  42. package/dist/server/services/legacy-post-service.js +412 -0
  43. package/dist/server/services/registry-content-service.js +4 -3
  44. package/dist/server/services/review-service.js +1451 -0
  45. package/dist/server/services/review-source.js +325 -0
  46. package/dist/server/utils/get-repo-account.js +3 -2
  47. package/dist/server/utils/url-security.js +24 -0
  48. package/package.json +61 -43
  49. package/server.d.ts +2 -2
  50. package/server.js +1 -1
  51. package/src/client/__tests__/CommitHistory.test.tsx +79 -0
  52. package/src/client/__tests__/ReviewHistory.test.tsx +126 -0
  53. package/src/client/__tests__/RunReviewButton.test.tsx +84 -0
  54. package/src/client/__tests__/workflowRoutes.test.ts +65 -0
  55. package/src/client/ai-context.tsx +114 -114
  56. package/src/client/components/AIEmployeeSelect.tsx +63 -63
  57. package/src/client/components/CommitHistory.tsx +429 -374
  58. package/src/client/components/FileExplorer.tsx +386 -386
  59. package/src/client/components/GitAccounts.tsx +179 -179
  60. package/src/client/components/GitManagerSettings.tsx +160 -160
  61. package/src/client/components/GitOperations.tsx +220 -220
  62. package/src/client/components/LLMModelSelect.tsx +63 -63
  63. package/src/client/components/LLMServiceSelect.tsx +58 -58
  64. package/src/client/components/MarkdownView.tsx +80 -80
  65. package/src/client/components/MergeRequests.tsx +790 -790
  66. package/src/client/components/PollingStatus.tsx +225 -225
  67. package/src/client/components/RepositoryConfig.tsx +335 -335
  68. package/src/client/components/RepositoryPermissions.tsx +123 -123
  69. package/src/client/components/ReviewFlows.tsx +352 -303
  70. package/src/client/components/ReviewHistory.tsx +796 -566
  71. package/src/client/components/RunReviewButton.tsx +57 -173
  72. package/src/client/context/GitManagerContext.tsx +92 -92
  73. package/src/client/index.tsx +91 -82
  74. package/src/client/locale.ts +9 -9
  75. package/src/client/promptTemplates.ts +31 -31
  76. package/src/client/workflowRoutes.ts +42 -0
  77. package/src/client-v2/ai-context.tsx +99 -0
  78. package/src/client-v2/components/SubtreeSplits.tsx +547 -547
  79. package/src/client-v2/index.tsx +1 -1
  80. package/src/client-v2/locale.ts +8 -8
  81. package/src/client-v2/plugin.tsx +67 -39
  82. package/src/index.ts +2 -2
  83. package/src/locale/en-US.json +396 -297
  84. package/src/locale/vi-VN.json +384 -292
  85. package/src/locale/zh-CN.json +150 -51
  86. package/src/server/__tests__/git-actions.test.ts +24 -24
  87. package/src/server/__tests__/git-security.test.ts +170 -0
  88. package/src/server/__tests__/plugin-url-security.test.ts +17 -17
  89. package/src/server/__tests__/poller-lifecycle.test.ts +71 -0
  90. package/src/server/__tests__/poller.test.ts +37 -37
  91. package/src/server/__tests__/repository-access.test.ts +760 -752
  92. package/src/server/__tests__/review-service.integration.test.ts +1263 -0
  93. package/src/server/__tests__/review.test.ts +76 -137
  94. package/src/server/__tests__/role-permissions.test.ts +147 -147
  95. package/src/server/__tests__/smoke.test.ts +139 -17
  96. package/src/server/__tests__/subtree.test.ts +85 -85
  97. package/src/server/actions/git-actions.ts +540 -480
  98. package/src/server/actions/gitlab-api.ts +422 -411
  99. package/src/server/actions/poller.ts +39 -27
  100. package/src/server/actions/review-cutover.ts +121 -0
  101. package/src/server/actions/review.ts +1498 -1369
  102. package/src/server/actions/role-permissions.ts +331 -321
  103. package/src/server/actions/subtree.ts +508 -508
  104. package/src/server/ai-tools.ts +334 -319
  105. package/src/server/collections/gitAccounts.ts +56 -56
  106. package/src/server/collections/gitCodeReviews.ts +218 -199
  107. package/src/server/collections/gitRepositories.ts +87 -87
  108. package/src/server/collections/gitReviewCutover.ts +23 -0
  109. package/src/server/collections/gitReviewFlows.ts +120 -108
  110. package/src/server/collections/gitReviewInbox.ts +30 -0
  111. package/src/server/collections/gitReviewProjects.ts +22 -0
  112. package/src/server/collections/gitReviewRequests.ts +35 -0
  113. package/src/server/collections/gitSubtreeConfigs.ts +38 -38
  114. package/src/server/collections/gitSubtreeRuns.ts +30 -30
  115. package/src/server/index.ts +14 -2
  116. package/src/server/migrations/20260508000000-add-auto-review-flow-id.ts +29 -29
  117. package/src/server/migrations/20260712000000-add-git-accounts.ts +198 -198
  118. package/src/server/migrations/20260730000000-migrate-legacy-repository-permissions.ts +81 -81
  119. package/src/server/plugin.ts +409 -361
  120. package/src/server/poller.ts +365 -352
  121. package/src/server/repository-access.ts +803 -773
  122. package/src/server/request-method-policy.ts +56 -0
  123. package/src/server/review-control-access.ts +71 -0
  124. package/src/server/services/__tests__/registry-content-service.test.ts +359 -345
  125. package/src/server/services/__tests__/review-source.test.ts +226 -0
  126. package/src/server/services/legacy-post-service.ts +550 -0
  127. package/src/server/services/registry-content-service.ts +495 -484
  128. package/src/server/services/review-service.ts +1899 -0
  129. package/src/server/services/review-source.ts +359 -0
  130. package/src/server/utils/__tests__/redact.test.ts +56 -56
  131. package/src/server/utils/__tests__/url-security.test.ts +85 -85
  132. package/src/server/utils/get-repo-account.ts +51 -41
  133. package/src/server/utils/gitlab-url.ts +38 -38
  134. package/src/server/utils/redact.ts +87 -87
  135. package/src/server/utils/url-security.ts +128 -95
  136. package/dist/client/900.acf7d1fa22f95e71.js +0 -10
  137. package/dist/client-v2/434.7a27051db18526c0.js +0 -10
  138. package/dist/client-v2/900.f32b9dc85249fc0a.js +0 -10
@@ -1,51 +1,150 @@
1
- {
2
- "Git Manager": "Git 管理器",
3
- "Allow Skill Registry export": "允许 Skill Registry 导出",
4
- "Subtree Splits": "Subtree 拆分",
5
- "Add subtree configuration": "添加 subtree 配置",
6
- "Edit subtree configuration": "编辑 subtree 配置",
7
- "Subtree configuration created": "已创建 subtree 配置",
8
- "Subtree configuration updated": "已更新 subtree 配置",
9
- "Delete this subtree configuration?": "删除此 subtree 配置?",
10
- "Name": "名称",
11
- "Repository": "仓库",
12
- "Source": "源",
13
- "Source branch": "源分支",
14
- "Source folder": "源文件夹",
15
- "Target branch": "目标分支",
16
- "Remote name": "远程名称",
17
- "Default policy": "默认策略",
18
- "Push after run": "运行后推送",
19
- "Enabled": "已启用",
20
- "Last status": "最近状态",
21
- "Actions": "操作",
22
- "Run": "运行",
23
- "Edit": "编辑",
24
- "Delete": "删除",
25
- "Deleted": "已删除",
26
- "Run subtree split": "运行 subtree 拆分",
27
- "Preview": "预览",
28
- "Fast-forward only": "仅快进",
29
- "Replace target": "替换目标分支",
30
- "Merge histories": "合并历史",
31
- "Replace target may discard target-only commits": "替换目标分支可能丢弃仅存在于目标分支的提交",
32
- "Type the target branch name to confirm": "输入目标分支名称以确认",
33
- "Push target branch after success": "成功后推送目标分支",
34
- "Target branch does not exist": "目标分支不存在",
35
- "Subtree split completed": "Subtree 拆分完成",
36
- "Subtree relationship: target-missing": "目标分支不存在",
37
- "Subtree relationship: already-up-to-date": "目标分支已是最新",
38
- "Subtree relationship: fast-forward": "目标分支可以快进",
39
- "Subtree relationship: diverged": "目标分支已分叉",
40
- "Run history": "运行历史",
41
- "Started at": "开始时间",
42
- "Policy": "策略",
43
- "Status": "状态",
44
- "Split SHA": "拆分 SHA",
45
- "Target before": "更新前目标",
46
- "Target after": "更新后目标",
47
- "Error": "错误",
48
- "Execution mode": "执行模式",
49
- "App process": "应用进程",
50
- "Credential-bearing URLs are not allowed": "URL 中不允许包含用户名或凭据"
51
- }
1
+ {
2
+ "Git Manager": "Git 管理器",
3
+ "Invalid merge request": "合并请求无效",
4
+ "Legacy review is not available": "旧审查不可用",
5
+ "No review content to post": "没有可发布的审查内容",
6
+ "Permission denied": "权限不足",
7
+ "Repository not found": "找不到仓库",
8
+ "Review cutover has not been confirmed": "尚未确认审查切换",
9
+ "Review is not awaiting approval": "审查不处于等待批准状态",
10
+ "Review not found": "找不到审查记录",
11
+ "Reviewed commit is unavailable": "审查的提交不可用",
12
+ "Review content cannot change while publication is unresolved": "发布结果未确定时不能修改审查内容",
13
+ "post_unknown": "发布结果未知",
14
+ "posting": "正在发布",
15
+ "retrying": "正在重试",
16
+ "Merge request base changed after review": "合并请求的基准在审查后发生变化",
17
+ "Legacy review source is invalid": "旧审查的源信息无效",
18
+ "Only completed legacy merge request reviews can be published": "只能发布已完成的旧合并请求审查",
19
+ "Legacy review is not awaiting publication recovery": "旧审查不处于等待发布恢复状态",
20
+ "Legacy review base requires explicit confirmation": "必须明确确认旧审查的基准",
21
+ "Legacy review has no publication hold": "旧审查没有发布锁定",
22
+ "The original review base cannot be verified. Compare the review with the current merge request before continuing.": "无法验证原始审查的基准。继续之前,请将审查内容与当前合并请求进行比较。",
23
+ "A matching comment was found, but its attempt cannot be confirmed": "找到匹配的评论,但无法确认它属于哪次发布尝试",
24
+ "A matching marked comment was found; confirm the previous attempt stopped to finalize it": "找到带标记的匹配评论;请确认上一次发布尝试已停止以完成记录",
25
+ "Legacy publication hold released": "已释放旧审查发布锁定",
26
+ "Publication outcome is still unknown": "发布结果仍未知",
27
+ "Release legacy publication hold": "释放旧审查发布锁定",
28
+ "Review branch": "审查分支",
29
+ "Branch": "分支",
30
+ "Allow Skill Registry export": "允许 Skill Registry 导出",
31
+ "Subtree Splits": "Subtree 拆分",
32
+ "Add subtree configuration": "添加 subtree 配置",
33
+ "Edit subtree configuration": "编辑 subtree 配置",
34
+ "Subtree configuration created": "已创建 subtree 配置",
35
+ "Subtree configuration updated": "已更新 subtree 配置",
36
+ "Delete this subtree configuration?": "删除此 subtree 配置?",
37
+ "Name": "名称",
38
+ "Repository": "仓库",
39
+ "Source": "源",
40
+ "Source branch": "源分支",
41
+ "Source folder": "源文件夹",
42
+ "Target branch": "目标分支",
43
+ "Remote name": "远程名称",
44
+ "Default policy": "默认策略",
45
+ "Push after run": "运行后推送",
46
+ "Enabled": "已启用",
47
+ "Last status": "最近状态",
48
+ "Actions": "操作",
49
+ "Run": "运行",
50
+ "Edit": "编辑",
51
+ "Delete": "删除",
52
+ "Deleted": "已删除",
53
+ "Run subtree split": "运行 subtree 拆分",
54
+ "Preview": "预览",
55
+ "Fast-forward only": "仅快进",
56
+ "Replace target": "替换目标分支",
57
+ "Merge histories": "合并历史",
58
+ "Replace target may discard target-only commits": "替换目标分支可能丢弃仅存在于目标分支的提交",
59
+ "Type the target branch name to confirm": "输入目标分支名称以确认",
60
+ "Push target branch after success": "成功后推送目标分支",
61
+ "Target branch does not exist": "目标分支不存在",
62
+ "Subtree split completed": "Subtree 拆分完成",
63
+ "Subtree relationship: target-missing": "目标分支不存在",
64
+ "Subtree relationship: already-up-to-date": "目标分支已是最新",
65
+ "Subtree relationship: fast-forward": "目标分支可以快进",
66
+ "Subtree relationship: diverged": "目标分支已分叉",
67
+ "Run history": "运行历史",
68
+ "Started at": "开始时间",
69
+ "Policy": "策略",
70
+ "Status": "状态",
71
+ "Split SHA": "拆分 SHA",
72
+ "Target before": "更新前目标",
73
+ "Target after": "更新后目标",
74
+ "Error": "错误",
75
+ "Execution mode": "执行模式",
76
+ "App process": "应用进程",
77
+ "Credential-bearing URLs are not allowed": "URL 中不允许包含用户名或凭据",
78
+ "Git Repository": "Git 仓库",
79
+ "Git Merge Request": "Git 合并请求",
80
+ "Git Commit": "Git 提交",
81
+ "Method not allowed": "不允许的请求方法",
82
+ "Invalid repository or account URL": "仓库或账号 URL 无效",
83
+ "Only HTTPS repository and account URLs are allowed": "仓库和账号 URL 只允许使用 HTTPS",
84
+ "Repository URL must match the Git account origin": "仓库 URL 必须与 Git 账号使用相同的协议、主机和端口",
85
+ "GitHub accounts currently require github.com": "GitHub 账号目前仅支持 github.com",
86
+ "Invalid local path": "本地路径无效",
87
+ "Invalid local path: path traversal detected or path is outside the allowed base directory": "本地路径无效:检测到路径穿越或路径位于允许的基础目录之外",
88
+ "queued": "排队中",
89
+ "Review new commits automatically": "自动审查新提交",
90
+ "Only applies to automatic merge request reviews": "仅适用于自动合并请求审查",
91
+ "Edit the AI employee, model and prompt in the bound workflow": "在绑定的工作流中编辑 AI 员工、模型和提示词",
92
+ "Reconfigure the workflow after changing post mode": "更改发布模式后请重新配置工作流",
93
+ "Use the workflow approval task for this review": "请使用工作流审批任务处理此审查",
94
+ "Open workflow": "打开工作流",
95
+ "Open workflow tasks": "打开工作流任务",
96
+ "Open workflow execution": "打开工作流执行记录",
97
+ "Review queued": "审查已加入队列",
98
+ "New commits detected. A new review will be queued.": "检测到新提交。新的审查将加入队列。",
99
+ "A new review will be queued and existing history will be kept.": "新的审查将加入队列,并保留现有历史记录。",
100
+ "Worker and AI stop confirmation is required": "必须确认工作进程和 AI 均已停止",
101
+ "Legacy review cancellation confirmation is required": "必须确认取消旧审查",
102
+ "Legacy review identifier is required": "必须提供旧审查标识",
103
+ "AI stop confirmation is required": "必须确认 AI 已停止",
104
+ "No enabled review flow found": "未找到已启用的审查流程",
105
+ "Source branch does not match review flow": "源分支不符合审查流程",
106
+ "Flow does not permit manual review": "此流程不允许手动审查",
107
+ "Review flow has not been bound to a workflow": "审查流程尚未绑定工作流",
108
+ "Review workflow setup is incomplete": "审查工作流配置尚未完成",
109
+ "Review workflow is not enabled": "审查工作流未启用",
110
+ "Review requires an authenticated actor": "审查需要经过身份验证的用户",
111
+ "Review actor roles are unavailable or changed": "审查用户的角色不可用或已更改",
112
+ "Review actor does not have repository access": "审查用户无权访问仓库",
113
+ "Git review workflow integration is unavailable": "Git 审查工作流集成不可用",
114
+ "Unable to resolve an immutable Git commit": "无法解析不可变的 Git 提交",
115
+ "Checkout origin is missing or unsupported": "检出仓库的 origin 不存在或不受支持",
116
+ "Checkout origin project could not be verified": "无法验证检出仓库的 origin 项目",
117
+ "Checkout origin does not match the configured project": "检出仓库的 origin 与配置的项目不匹配",
118
+ "Merge request head changed before review admission": "加入审查队列前合并请求的最新提交已更改",
119
+ "Git provider request failed ({{status}})": "Git 服务请求失败({{status}})",
120
+ "No configured approver can access this repository": "没有配置的审批人可以访问此仓库",
121
+ "Queued review cancellation confirmation is required": "必须确认取消排队中的审查",
122
+ "Outbound post stop confirmation is required": "必须确认之前的发布请求已停止",
123
+ "Review publication confirmed": "已确认审查评论发布",
124
+ "No matching comment found; confirm the previous post stopped before retrying": "未找到匹配的评论;重试前请确认之前的发布请求已停止",
125
+ "A previous publication attempt may still be running; ask an administrator to recover it": "之前的发布操作可能仍在运行,请联系管理员恢复",
126
+ "Failed to reconcile review publication": "无法核对审查评论发布状态",
127
+ "Check publication": "检查发布状态",
128
+ "Has the previous outbound post stopped and settled?": "之前的发布请求是否已停止并处理完毕?",
129
+ "Retry publication": "重试发布",
130
+ "Another review is active for this project": "此项目已有审查正在进行",
131
+ "A publication attempt may still be running": "之前的发布操作可能仍在运行",
132
+ "Invalid publication confirmation": "发布确认无效",
133
+ "Review is not settled or is no longer available": "审查尚未完成或已不可用",
134
+ "Review execution is not terminal": "审查执行尚未结束",
135
+ "Review cannot be published": "无法发布此审查",
136
+ "Approved review content changed": "已批准的审查内容已更改",
137
+ "Review approval verifier is unavailable": "审查审批验证器不可用",
138
+ "Review publication receipt is unavailable": "审查发布回执不可用",
139
+ "Review publication cannot be retried": "无法重试发布审查",
140
+ "Review publication state changed": "审查发布状态已更改",
141
+ "Merge request head changed after review": "审查后合并请求的最新提交已更改",
142
+ "Review comment marker is ambiguous": "审查评论标识不明确",
143
+ "Unable to verify Git account identity": "无法验证 Git 账号身份",
144
+ "Repository credentials or project changed": "仓库凭据或项目已更改",
145
+ "Resolve publication or reset the stopped post attempt before recovery": "恢复之前请先核对发布状态,或确认发布请求已停止后重置该请求",
146
+ "Refresh publication status before recovery": "恢复前请刷新发布状态",
147
+ "Matching comment found; another publication attempt still owns the review": "已找到匹配评论;另一个发布操作仍占用该审查",
148
+ "Review publication claim changed": "审查发布占用已更改;请刷新并检查当前操作",
149
+ "Review project reservation changed": "审查项目占用已更改"
150
+ }
@@ -1,8 +1,8 @@
1
- /******/ (function() { // webpackBootstrap
1
+ /******/ (() => { // webpackBootstrap
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
4
  /***/ 751:
5
- /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5
+ /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
6
6
 
7
7
  "use strict";
8
8
 
@@ -78,7 +78,7 @@ exports.READABLE = exports.FILE + exports.FOLDER;
78
78
  /***/ }),
79
79
 
80
80
  /***/ 819:
81
- /***/ (function(__unused_webpack_module, exports) {
81
+ /***/ ((__unused_webpack_module, exports) => {
82
82
 
83
83
  "use strict";
84
84
 
@@ -144,7 +144,7 @@ exports["default"] = deferred;
144
144
  /***/ }),
145
145
 
146
146
  /***/ 697:
147
- /***/ (function(module) {
147
+ /***/ ((module) => {
148
148
 
149
149
  /**
150
150
  * Helpers.
@@ -313,7 +313,7 @@ function plural(ms, msAbs, n, name) {
313
313
  /***/ }),
314
314
 
315
315
  /***/ 222:
316
- /***/ (function(module, exports, __nccwpck_require__) {
316
+ /***/ ((module, exports, __nccwpck_require__) => {
317
317
 
318
318
  /* eslint-env browser */
319
319
 
@@ -591,7 +591,7 @@ formatters.j = function (v) {
591
591
  /***/ }),
592
592
 
593
593
  /***/ 243:
594
- /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
594
+ /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
595
595
 
596
596
 
597
597
  /**
@@ -872,7 +872,7 @@ module.exports = setup;
872
872
  /***/ }),
873
873
 
874
874
  /***/ 237:
875
- /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
875
+ /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
876
876
 
877
877
  /**
878
878
  * Detect Electron renderer / nwjs process, which is node, but we should
@@ -889,7 +889,7 @@ if (typeof process === 'undefined' || process.type === 'renderer' || process.bro
889
889
  /***/ }),
890
890
 
891
891
  /***/ 332:
892
- /***/ (function(module, exports, __nccwpck_require__) {
892
+ /***/ ((module, exports, __nccwpck_require__) => {
893
893
 
894
894
  /**
895
895
  * Module dependencies.
@@ -1159,7 +1159,7 @@ formatters.O = function (v) {
1159
1159
  /***/ }),
1160
1160
 
1161
1161
  /***/ 900:
1162
- /***/ (function(module) {
1162
+ /***/ ((module) => {
1163
1163
 
1164
1164
  /**
1165
1165
  * Helpers.
@@ -1328,7 +1328,7 @@ function plural(ms, msAbs, n, name) {
1328
1328
  /***/ }),
1329
1329
 
1330
1330
  /***/ 103:
1331
- /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
1331
+ /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
1332
1332
 
1333
1333
  "use strict";
1334
1334
 
@@ -6234,7 +6234,7 @@ module.exports = Object.assign(simpleGit, { gitP: gitP2, simpleGit });
6234
6234
  /***/ }),
6235
6235
 
6236
6236
  /***/ 254:
6237
- /***/ (function(module, exports, __nccwpck_require__) {
6237
+ /***/ ((module, exports, __nccwpck_require__) => {
6238
6238
 
6239
6239
  /* eslint-env browser */
6240
6240
 
@@ -6513,7 +6513,7 @@ formatters.j = function (v) {
6513
6513
  /***/ }),
6514
6514
 
6515
6515
  /***/ 867:
6516
- /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
6516
+ /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
6517
6517
 
6518
6518
 
6519
6519
  /**
@@ -6812,7 +6812,7 @@ module.exports = setup;
6812
6812
  /***/ }),
6813
6813
 
6814
6814
  /***/ 179:
6815
- /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
6815
+ /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
6816
6816
 
6817
6817
  /**
6818
6818
  * Detect Electron renderer / nwjs process, which is node, but we should
@@ -6829,7 +6829,7 @@ if (typeof process === 'undefined' || process.type === 'renderer' || process.bro
6829
6829
  /***/ }),
6830
6830
 
6831
6831
  /***/ 675:
6832
- /***/ (function(module, exports, __nccwpck_require__) {
6832
+ /***/ ((module, exports, __nccwpck_require__) => {
6833
6833
 
6834
6834
  /**
6835
6835
  * Module dependencies.
@@ -7099,7 +7099,7 @@ formatters.O = function (v) {
7099
7099
  /***/ }),
7100
7100
 
7101
7101
  /***/ 318:
7102
- /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
7102
+ /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
7103
7103
 
7104
7104
  "use strict";
7105
7105
 
@@ -7259,7 +7259,7 @@ module.exports = {
7259
7259
  /***/ }),
7260
7260
 
7261
7261
  /***/ 533:
7262
- /***/ (function(module) {
7262
+ /***/ ((module) => {
7263
7263
 
7264
7264
  "use strict";
7265
7265
 
@@ -7275,7 +7275,7 @@ module.exports = (flag, argv = process.argv) => {
7275
7275
  /***/ }),
7276
7276
 
7277
7277
  /***/ 81:
7278
- /***/ (function(module) {
7278
+ /***/ ((module) => {
7279
7279
 
7280
7280
  "use strict";
7281
7281
  module.exports = require("child_process");
@@ -7283,7 +7283,7 @@ module.exports = require("child_process");
7283
7283
  /***/ }),
7284
7284
 
7285
7285
  /***/ 147:
7286
- /***/ (function(module) {
7286
+ /***/ ((module) => {
7287
7287
 
7288
7288
  "use strict";
7289
7289
  module.exports = require("fs");
@@ -7291,7 +7291,7 @@ module.exports = require("fs");
7291
7291
  /***/ }),
7292
7292
 
7293
7293
  /***/ 673:
7294
- /***/ (function(module) {
7294
+ /***/ ((module) => {
7295
7295
 
7296
7296
  "use strict";
7297
7297
  module.exports = require("node:events");
@@ -7299,7 +7299,7 @@ module.exports = require("node:events");
7299
7299
  /***/ }),
7300
7300
 
7301
7301
  /***/ 411:
7302
- /***/ (function(module) {
7302
+ /***/ ((module) => {
7303
7303
 
7304
7304
  "use strict";
7305
7305
  module.exports = require("node:path");
@@ -7307,7 +7307,7 @@ module.exports = require("node:path");
7307
7307
  /***/ }),
7308
7308
 
7309
7309
  /***/ 37:
7310
- /***/ (function(module) {
7310
+ /***/ ((module) => {
7311
7311
 
7312
7312
  "use strict";
7313
7313
  module.exports = require("os");
@@ -7315,7 +7315,7 @@ module.exports = require("os");
7315
7315
  /***/ }),
7316
7316
 
7317
7317
  /***/ 224:
7318
- /***/ (function(module) {
7318
+ /***/ ((module) => {
7319
7319
 
7320
7320
  "use strict";
7321
7321
  module.exports = require("tty");
@@ -7323,7 +7323,7 @@ module.exports = require("tty");
7323
7323
  /***/ }),
7324
7324
 
7325
7325
  /***/ 837:
7326
- /***/ (function(module) {
7326
+ /***/ ((module) => {
7327
7327
 
7328
7328
  "use strict";
7329
7329
  module.exports = require("util");
@@ -7331,7 +7331,7 @@ module.exports = require("util");
7331
7331
  /***/ }),
7332
7332
 
7333
7333
  /***/ 270:
7334
- /***/ (function(__unused_webpack_module, exports) {
7334
+ /***/ ((__unused_webpack_module, exports) => {
7335
7335
 
7336
7336
  "use strict";
7337
7337
  Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=new WeakMap;function c(...t){const n=new String(t);return e.set(n,t),n}function o(t){return t instanceof String&&e.has(t)}function r(t){return e.get(t)??[]}exports.isPathSpec=o;exports.pathspec=c;exports.toPaths=r;
@@ -7341,7 +7341,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=new W
7341
7341
  /***/ }),
7342
7342
 
7343
7343
  /***/ 574:
7344
- /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
7344
+ /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
7345
7345
 
7346
7346
  "use strict";
7347
7347
  Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=__nccwpck_require__(270);function*v(e,t){const n=t==="global";for(const o of e)o.isGlobal===n&&(yield o)}const S=new Set(["--add","--edit","--remove-section","--rename-section","--replace-all","--unset","--unset-all","-e"]),P=new Set(["--get","--get-all","--get-color","--get-colorbool","--get-regexp","--get-urlmatch","--list","-l"]),E=new Set(["edit","remove-section","rename-section","set","unset"]),A=new Set(["get","get-color","get-colorbool","list"]);function F(e,t){for(const{name:o}of v(e,"task")){if(S.has(o))return p(!0,t);if(P.has(o))return p(!1,t)}const n=t.at(0)?.toLowerCase();return n===void 0?null:E.has(n)?p(!0,t.slice(1)):A.has(n)?p(!1,t.slice(1)):t.length===1?p(!1,t):p(!0,t)}function p(e=!1,t=[]){const n=t.at(0)?.toLowerCase();return n===void 0?null:{isWrite:e,isRead:!e,key:n,value:t.at(1)}}function M(e,t){return t.isWrite&&t.value!==void 0?{key:t.key,value:t.value,scope:e}:{key:t.key,scope:e}}function N(e){const t=e?.indexOf("=")||-1;return!e||t<0?null:{key:e.slice(0,t).trim().toLowerCase(),value:e.slice(t+1)}}function O(e){for(const{name:t}of v(e,"task"))switch(t){case"--global":return"global";case"--system":return"system";case"--worktree":return"worktree";case"--local":return"local";case"--file":case"-f":return"file"}return"local"}function G({name:e}){if(e==="-c"||e==="--config")return"inline";if(e==="--config-env")return"env"}function*L(e){for(const t of e){const n=G(t),o=n&&N(t.value);o&&(yield{...o,scope:n})}}function $(e,t,n){const o={read:[],write:[...L(t)]};return e==="config"&&D(o,O(t),F(t,n)),o}function D(e,t,n){if(n===null)return;const o=M(t,n);n.isWrite?e.write.push(o):e.read.push(o)}const U={short:new Map([["c",!0]])},T={short:new Map([["C",!0],["P",!1],["h",!1],["p",!1],["v",!1],...U.short.entries()]),long:new Set(["attr-source","config-env","exec-path","git-dir","list-cmds","namespace","super-prefix","work-tree"])},R={clone:{short:new Map([["b",!0],["j",!0],["l",!1],["n",!1],["o",!0],["q",!1],["s",!1],["u",!0]]),long:new Set(["branch","config","jobs","origin","upload-pack","u","template"])},commit:{short:new Map([["C",!0],["F",!0],["c",!0],["m",!0],["t",!0]]),long:new Set(["file","message","reedit-message","reuse-message","template"])},config:{short:new Map([["e",!1],["f",!0],["l",!1]]),long:new Set(["blob","comment","default","file","type","value"])},fetch:{short:new Map,long:new Set(["upload-pack"])},init:{short:new Map,long:new Set(["template"])},pull:{short:new Map,long:new Set(["upload-pack"])},push:{short:new Map,long:new Set(["exec","receive-pack"])}},I={short:new Map,long:new Set};function j(e){const t=R[e??""]??I;return{short:new Map([...U.short.entries(),...t.short.entries()]),long:t.long}}function b(e,t=T){if(e.startsWith("--")){const n=e.indexOf("=");if(n>2)return[{name:e.slice(0,n),value:e.slice(n+1),needsNext:!1}];const o=e.slice(2);return[{name:e,needsNext:t.long.has(o)}]}if(e.length===2){const n=e.charAt(1),o=t.short.get(n);return[{name:e,needsNext:o===!0}]}return W(e,t.short)}function W(e,t){const n=e.slice(1).split(""),o=[];for(let s=0;s<n.length;s++){const r=n[s],a=t.get(r);if(a===void 0)return[{name:e,needsNext:!1}];if(a){const l=n.slice(s+1).join("");if(l&&![...l].every(m=>t.has(m)))return o.push({name:`-${r}`,value:l,needsNext:!1}),o}o.push({name:`-${r}`,needsNext:a})}return o}function B(e,t=[]){let n=0;for(;n<e.length;){const o=String(e[n]);if(!o.startsWith("-")||o.length<2)break;const s=b(o);let r=n+1;for(const a of s){const l={name:a.name,value:a.value,absorbedNext:!1,isGlobal:!0};a.needsNext&&l.value===void 0&&r<e.length&&(l.value=String(e[r]),l.absorbedNext=!0,r++),t.push(l)}n=r}return{flags:t,taskIndex:n}}function q(e,t,n=[]){const o=j(t),s=[],r=[];let a=0;for(;a<e.length;){const l=e[a];if(h.isPathSpec(l)){r.push(...h.toPaths(l)),a++;continue}const f=String(l);if(f==="--"){for(let g=a+1;g<e.length;g++){const u=e[g];h.isPathSpec(u)?r.push(...h.toPaths(u)):r.push(String(u))}break}if(!f.startsWith("-")||f.length<2){s.push(f),a++;continue}const m=b(f,o);let d=a+1;for(const g of m){const u={name:g.name,value:g.value,absorbedNext:!1,isGlobal:!1};g.needsNext&&u.value===void 0&&d<e.length&&!h.isPathSpec(e[d])&&(u.value=String(e[d]),u.absorbedNext=!0,d++),n.push(u)}a=d}return{flags:n,positionals:s,pathspecs:r}}function*V({write:e}){for(const t of e)for(const n of K){const o=n(t.key);o&&(yield o)}}function c(e,t,n=String(e)){const o=typeof e=="string"?new RegExp(`\\s*${e.toLowerCase()}`):e;return function(r){if(o.test(r))return{category:t,message:`Configuring ${n} is not permitted without enabling ${t}`}}}function i(e,t){const n=new RegExp(`\\s*${e.toLowerCase().replace(/\./g,"(..+)?.")}`);return c(n,t,e)}const K=[c("alias","allowUnsafeAlias"),c("core.askPass","allowUnsafeAskPass"),c("core.editor","allowUnsafeEditor"),c("core.fsmonitor","allowUnsafeFsMonitor"),c("core.gitProxy","allowUnsafeGitProxy"),c("core.hooksPath","allowUnsafeHooksPath"),c("core.pager","allowUnsafePager"),c("core.sshCommand","allowUnsafeSshCommand"),i("credential.helper","allowUnsafeCredentialHelper"),i("diff.command","allowUnsafeDiffExternal"),c("diff.external","allowUnsafeDiffExternal"),i("diff.textconv","allowUnsafeDiffTextConv"),i("filter.clean","allowUnsafeFilter"),i("filter.smudge","allowUnsafeFilter"),i("gpg.program","allowUnsafeGpgProgram"),c("init.templateDir","allowUnsafeTemplateDir"),i("merge.driver","allowUnsafeMergeDriver"),i("mergetool.path","allowUnsafeMergeDriver"),i("mergetool.cmd","allowUnsafeMergeDriver"),i("protocol.allow","allowUnsafeProtocolOverride"),i("remote.receivepack","allowUnsafePack"),i("remote.uploadpack","allowUnsafePack"),c("sequence.editor","allowUnsafeEditor")];function*H(e,t){for(const n of t)for(const o of Y){const s=o(e,n.name);s&&(yield s)}}function w(e,t,n,o=String(t)){const s=typeof t=="string"?new RegExp(`\\s*${t.toLowerCase()}`):t,r=`Use of ${e?`${e} with option `:""}${o} is not permitted without enabling ${n}`;return function(l,f){if((!e||l===e)&&s.test(f))return{category:n,message:r}}}const Y=[w(null,/--(upload|receive)-pack/,"allowUnsafePack","--upload-pack or --receive-pack"),w("clone",/^-\w*u/,"allowUnsafePack"),w("clone","--u","allowUnsafePack"),w("push","--exec","allowUnsafePack"),w(null,"--template","allowUnsafeTemplateDir")];function C(e,t,n){return[...H(e,t),...V(n)]}function x(...e){const{flags:t,taskIndex:n}=B(e),o=n<e.length?String(e[n]).toLowerCase():null,s=o!==null?e.slice(n+1):[],{positionals:r,pathspecs:a}=q(s,o,t),l=$(o,t,r);return{task:o,flags:t.map(J),paths:a,config:l,vulnerabilities:z(C(o,t,l))}}function z(e){return Object.defineProperty(e,"vulnerabilities",{value:e})}function J({value:e,name:t}){return e!==void 0?{name:t,value:e}:{name:t}}const y={editor:"allowUnsafeEditor",git_askpass:"allowUnsafeAskPass",git_config_global:"allowUnsafeConfigPaths",git_config_system:"allowUnsafeConfigPaths",git_config_count:"allowUnsafeConfigEnvCount",git_config:"allowUnsafeConfigPaths",git_editor:"allowUnsafeEditor",git_exec_path:"allowUnsafeConfigPaths",git_external_diff:"allowUnsafeDiffExternal",git_pager:"allowUnsafePager",git_proxy_command:"allowUnsafeGitProxy",git_template_dir:"allowUnsafeTemplateDir",git_sequence_editor:"allowUnsafeEditor",git_ssh:"allowUnsafeSshCommand",git_ssh_command:"allowUnsafeSshCommand",pager:"allowUnsafePager",prefix:"allowUnsafeConfigPaths",ssh_askpass:"allowUnsafeAskPass"};function*Q(e){const t=parseInt(e.git_config_count??"0",10);for(let n=0;n<t;n++){const o=e[`git_config_key_${n}`],s=e[`git_config_value_${n}`];o!==void 0&&(yield{key:o.toLowerCase().trim(),value:s,scope:"env"})}}function*X(e){for(const t of Object.keys(e))if(k(t)){const n=y[t];yield{category:n,message:`Use of "${t.toUpperCase()}" is not permitted without enabling ${n}`}}}function k(e){return Object.hasOwn(y,e)}function Z(e){const t={};for(const[n,o]of Object.entries(e)){const s=n.toLowerCase().trim();(k(s)||s.startsWith("git"))&&(t[s]=String(o))}return t}function _(e){const t=Z(e),n={read:[],write:[...Q(t)]},o=[...X(t),...C(null,[],n)];return{config:n,vulnerabilities:o}}function ee(e,t){return[...x(...e).vulnerabilities,..._(t).vulnerabilities]}exports.parseArgv=x;exports.parseEnv=_;exports.vulnerabilityCheck=ee;
@@ -1 +1 @@
1
- {"name":"simple-git","description":"Simple GIT interface for node.js","version":"3.36.0","author":"Steve King <steve@mydev.co>","contributors":[{"name":"Steve King","email":"steve@mydev.co"}],"funding":{"type":"github","url":"https://github.com/steveukx/git-js?sponsor=1"},"keywords":["git","source control","vcs"],"license":"MIT","repository":{"type":"git","url":"https://github.com/steveukx/git-js.git","directory":"simple-git"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./promise":{"require":"./promise.js"}},"types":"./dist/typings/index.d.ts","files":["promise.*","dist"],"dependencies":{"@kwsites/file-exists":"^1.1.1","@kwsites/promise-deferred":"^1.1.1","@simple-git/args-pathspec":"^1.0.3","@simple-git/argv-parser":"^1.1.0","debug":"^4.4.0"},"_lastModified":"2026-04-25T07:57:51.194Z"}
1
+ {"name":"simple-git","description":"Simple GIT interface for node.js","version":"3.36.0","author":"Steve King <steve@mydev.co>","contributors":[{"name":"Steve King","email":"steve@mydev.co"}],"funding":{"type":"github","url":"https://github.com/steveukx/git-js?sponsor=1"},"keywords":["git","source control","vcs"],"license":"MIT","repository":{"type":"git","url":"https://github.com/steveukx/git-js.git","directory":"simple-git"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./promise":{"require":"./promise.js"}},"types":"./dist/typings/index.d.ts","files":["promise.*","dist"],"dependencies":{"@kwsites/file-exists":"^1.1.1","@kwsites/promise-deferred":"^1.1.1","@simple-git/args-pathspec":"^1.0.3","@simple-git/argv-parser":"^1.1.0","debug":"^4.4.0"},"_lastModified":"2026-11-10T14:42:29.063Z"}