@dungsil/dsh-plugin-ui-forge-chip 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/cordis.patch.yml +4 -0
- package/dist/client.js +536 -0
- package/dist/index.js +3 -0
- package/locale/de.json +26 -0
- package/locale/en.json +26 -0
- package/locale/es.json +26 -0
- package/locale/fr.json +26 -0
- package/locale/ja.json +26 -0
- package/locale/ko.json +26 -0
- package/locale/pt.json +26 -0
- package/locale/ru.json +26 -0
- package/locale/zh.json +26 -0
- package/package.json +102 -3
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 dungsil
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/cordis.patch.yml
ADDED
package/dist/client.js
ADDED
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
window.__ModuleLoader__.load({ id: "@dungsil/dsh-plugin-ui-forge-chip", factory(require) { const module = { exports: {} }; const exports = module.exports;
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
let react = require("react");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
6
|
+
// ../../tools/ui/src/client.ts
|
|
7
|
+
function useLocaleSnapshot(locale) {
|
|
8
|
+
const subscribe = (0, react.useCallback)((listener) => locale.subscribe(listener), [locale]);
|
|
9
|
+
const getSnapshot = (0, react.useCallback)(() => locale.getSnapshot(), [locale]);
|
|
10
|
+
return (0, react.useSyncExternalStore)(subscribe, getSnapshot);
|
|
11
|
+
}
|
|
12
|
+
/** Each effect owns its sheet, even when another plugin installs the same defaults. */
|
|
13
|
+
function installStyles(css) {
|
|
14
|
+
const style = document.createElement("style");
|
|
15
|
+
style.textContent = css;
|
|
16
|
+
document.head.append(style);
|
|
17
|
+
return () => style.remove();
|
|
18
|
+
}
|
|
19
|
+
// locale/en.json
|
|
20
|
+
var en_default = {
|
|
21
|
+
meta: {
|
|
22
|
+
"title": "Forge Chips",
|
|
23
|
+
"description": "Commit, push and create or view PRs from compact composer chips using Forge."
|
|
24
|
+
},
|
|
25
|
+
commit: "Commit only",
|
|
26
|
+
push: "Push",
|
|
27
|
+
pr: "Create PR",
|
|
28
|
+
updatePr: "Update PR",
|
|
29
|
+
viewPr: "View PR",
|
|
30
|
+
menu: "More Git actions",
|
|
31
|
+
panel: "View PR",
|
|
32
|
+
hint: "Ask this session to perform the Git action",
|
|
33
|
+
sending: "Sending request…",
|
|
34
|
+
error: "Could not send the request. Check the session before retrying.",
|
|
35
|
+
lookupError: "Git status is unavailable. Select View PR to check.",
|
|
36
|
+
checks: "Checks",
|
|
37
|
+
none: "No checks",
|
|
38
|
+
pending: "Pending",
|
|
39
|
+
success: "Passed",
|
|
40
|
+
failure: "Failed",
|
|
41
|
+
unknown: "Unknown",
|
|
42
|
+
promptCommit: "Review the current checkout changes and commit the appropriate changes with a descriptive commit message, following repository instructions. Do not push or create a PR. Do not amend, reset, discard changes, or include secrets. Ask if the intended scope is unclear.",
|
|
43
|
+
promptPush: "Review the current checkout changes, commit the appropriate changes following repository instructions, and push the current branch to its configured remote. Do not force-push or create a PR. Do not amend, reset, discard changes, or include secrets. Ask if the intended scope or remote is unclear.",
|
|
44
|
+
promptPr: "Review the current checkout changes, commit the appropriate changes following repository instructions, push the current branch, and create a PR (or update the existing PR for this branch). Follow the repository PR template. Do not force-push, amend, reset, discard changes, or include secrets. Ask if the intended scope or target branch is unclear."
|
|
45
|
+
};
|
|
46
|
+
// locale/ko.json
|
|
47
|
+
var ko_default = {
|
|
48
|
+
meta: {
|
|
49
|
+
"title": "Forge 칩",
|
|
50
|
+
"description": "Forge와 연결된 입력창 칩으로 커밋·푸시·PR 생성과 조회를 실행합니다."
|
|
51
|
+
},
|
|
52
|
+
commit: "커밋만",
|
|
53
|
+
push: "푸시",
|
|
54
|
+
pr: "PR 생성",
|
|
55
|
+
updatePr: "PR 업데이트",
|
|
56
|
+
viewPr: "PR 보기",
|
|
57
|
+
menu: "다른 Git 작업",
|
|
58
|
+
panel: "PR 보기",
|
|
59
|
+
hint: "이 세션에 Git 작업을 요청합니다",
|
|
60
|
+
sending: "요청 전송 중…",
|
|
61
|
+
error: "요청을 보내지 못했습니다. 다시 시도하기 전에 세션을 확인하세요.",
|
|
62
|
+
lookupError: "Git 상태를 확인하지 못했습니다. PR 보기를 열어 확인하세요.",
|
|
63
|
+
checks: "검사",
|
|
64
|
+
none: "검사 없음",
|
|
65
|
+
pending: "진행 중",
|
|
66
|
+
success: "통과",
|
|
67
|
+
failure: "실패",
|
|
68
|
+
unknown: "알 수 없음",
|
|
69
|
+
promptCommit: "현재 체크아웃의 변경 사항을 검토하고 저장소 지침에 따라 적절한 변경 사항을 설명이 담긴 메시지로 커밋해줘. 푸시하거나 PR을 만들지 마. 커밋 수정(amend), reset, 변경 사항 폐기, 비밀값 포함은 하지 마. 작업 범위가 불분명하면 물어봐.",
|
|
70
|
+
promptPush: "현재 체크아웃의 변경 사항을 검토하고 저장소 지침에 따라 적절한 변경 사항을 커밋한 뒤 현재 브랜치를 설정된 원격 저장소에 푸시해줘. 강제 푸시하거나 PR을 만들지 마. 커밋 수정(amend), reset, 변경 사항 폐기, 비밀값 포함은 하지 마. 작업 범위나 원격 저장소가 불분명하면 물어봐.",
|
|
71
|
+
promptPr: "현재 체크아웃의 변경 사항을 검토하고 저장소 지침에 따라 적절한 변경 사항을 커밋·푸시한 뒤 PR을 만들어줘. 이 브랜치의 PR이 이미 있으면 업데이트해줘. 저장소 PR 템플릿을 따라줘. 강제 푸시, 커밋 수정(amend), reset, 변경 사항 폐기, 비밀값 포함은 하지 마. 작업 범위나 대상 브랜치가 불분명하면 물어봐."
|
|
72
|
+
};
|
|
73
|
+
// locale/zh.json
|
|
74
|
+
var zh_default = {
|
|
75
|
+
meta: {
|
|
76
|
+
"title": "Forge 操作按钮",
|
|
77
|
+
"description": "通过连接 Forge 的紧凑输入框按钮提交、推送、创建或查看 PR。"
|
|
78
|
+
},
|
|
79
|
+
commit: "仅提交",
|
|
80
|
+
push: "推送",
|
|
81
|
+
pr: "创建 PR",
|
|
82
|
+
updatePr: "更新 PR",
|
|
83
|
+
viewPr: "查看 PR",
|
|
84
|
+
menu: "更多 Git 操作",
|
|
85
|
+
panel: "查看 PR",
|
|
86
|
+
hint: "请求此会话执行 Git 操作",
|
|
87
|
+
sending: "正在发送请求…",
|
|
88
|
+
error: "无法发送请求。重试前请检查会话。",
|
|
89
|
+
lookupError: "无法获取 Git 状态。请打开“查看 PR”检查。",
|
|
90
|
+
checks: "检查",
|
|
91
|
+
none: "无检查",
|
|
92
|
+
pending: "进行中",
|
|
93
|
+
success: "通过",
|
|
94
|
+
failure: "失败",
|
|
95
|
+
unknown: "未知",
|
|
96
|
+
promptCommit: "检查当前检出目录的更改,遵循仓库指引,将适当的更改以清晰的提交信息提交。不要推送或创建 PR。不要 amend、reset、丢弃更改或包含机密信息。范围不明确时请询问。",
|
|
97
|
+
promptPush: "检查当前检出目录的更改,遵循仓库指引提交适当的更改,并将当前分支推送到已配置的远程仓库。不要强制推送或创建 PR。不要 amend、reset、丢弃更改或包含机密信息。范围或远程仓库不明确时请询问。",
|
|
98
|
+
promptPr: "检查当前检出目录的更改,遵循仓库指引提交并推送适当的更改,然后创建 PR;如果此分支已有 PR,请更新它。遵循仓库的 PR 模板。不要强制推送、amend、reset、丢弃更改或包含机密信息。范围或目标分支不明确时请询问。"
|
|
99
|
+
};
|
|
100
|
+
// locale/ja.json
|
|
101
|
+
var ja_default = {
|
|
102
|
+
meta: {
|
|
103
|
+
"title": "Forge チップ",
|
|
104
|
+
"description": "Forge と連携した入力欄のコンパクトなチップから、コミット、プッシュ、PR の作成や表示を行います。"
|
|
105
|
+
},
|
|
106
|
+
commit: "コミットのみ",
|
|
107
|
+
push: "プッシュ",
|
|
108
|
+
pr: "PR を作成",
|
|
109
|
+
updatePr: "PR を更新",
|
|
110
|
+
viewPr: "PR を表示",
|
|
111
|
+
menu: "その他の Git 操作",
|
|
112
|
+
panel: "PR を表示",
|
|
113
|
+
hint: "このセッションに Git 操作を依頼する",
|
|
114
|
+
sending: "リクエストを送信中…",
|
|
115
|
+
error: "リクエストを送信できませんでした。再試行する前にセッションを確認してください。",
|
|
116
|
+
lookupError: "Git の状態を取得できません。「PR を表示」を選択して確認してください。",
|
|
117
|
+
checks: "チェック",
|
|
118
|
+
none: "チェックなし",
|
|
119
|
+
pending: "保留中",
|
|
120
|
+
success: "成功",
|
|
121
|
+
failure: "失敗",
|
|
122
|
+
unknown: "不明",
|
|
123
|
+
promptCommit: "現在のチェックアウトの変更を確認し、リポジトリの指示に従って、適切な変更を内容の分かるコミットメッセージでコミットしてください。プッシュや PR の作成はしないでください。コミットの amend、reset、変更の破棄、シークレットの混入はしないでください。意図された作業範囲が不明な場合は質問してください。",
|
|
124
|
+
promptPush: "現在のチェックアウトの変更を確認し、リポジトリの指示に従って適切な変更をコミットし、現在のブランチを設定済みのリモートにプッシュしてください。強制プッシュや PR の作成はしないでください。コミットの amend、reset、変更の破棄、シークレットの混入はしないでください。意図された作業範囲やリモートが不明な場合は質問してください。",
|
|
125
|
+
promptPr: "現在のチェックアウトの変更を確認し、リポジトリの指示に従って適切な変更をコミットし、現在のブランチをプッシュして、PR を作成してください(このブランチの PR が既にあれば更新してください)。リポジトリの PR テンプレートに従ってください。強制プッシュ、コミットの amend、reset、変更の破棄、シークレットの混入はしないでください。意図された作業範囲やターゲットブランチが不明な場合は質問してください。"
|
|
126
|
+
};
|
|
127
|
+
// locale/es.json
|
|
128
|
+
var es_default = {
|
|
129
|
+
meta: {
|
|
130
|
+
"title": "Chips de Forge",
|
|
131
|
+
"description": "Haz commit, push y crea o consulta PR desde chips compactos en el cuadro de entrada con Forge."
|
|
132
|
+
},
|
|
133
|
+
commit: "Solo commit",
|
|
134
|
+
push: "Push",
|
|
135
|
+
pr: "Crear PR",
|
|
136
|
+
updatePr: "Actualizar PR",
|
|
137
|
+
viewPr: "Ver PR",
|
|
138
|
+
menu: "Más acciones de Git",
|
|
139
|
+
panel: "Ver PR",
|
|
140
|
+
hint: "Pedir a esta sesión que realice la acción de Git",
|
|
141
|
+
sending: "Enviando solicitud…",
|
|
142
|
+
error: "No se pudo enviar la solicitud. Comprueba la sesión antes de volver a intentarlo.",
|
|
143
|
+
lookupError: "El estado de Git no está disponible. Selecciona Ver PR para comprobarlo.",
|
|
144
|
+
checks: "Comprobaciones",
|
|
145
|
+
none: "Sin comprobaciones",
|
|
146
|
+
pending: "Pendiente",
|
|
147
|
+
success: "Correcto",
|
|
148
|
+
failure: "Fallido",
|
|
149
|
+
unknown: "Desconocido",
|
|
150
|
+
promptCommit: "Revisa los cambios del checkout actual y haz commit de los cambios pertinentes con un mensaje descriptivo, siguiendo las instrucciones del repositorio. No hagas push ni crees una PR. No hagas amend ni reset, no descartes cambios ni incluyas secretos. Pregunta si el alcance previsto no está claro.",
|
|
151
|
+
promptPush: "Revisa los cambios del checkout actual, haz commit de los cambios pertinentes siguiendo las instrucciones del repositorio y haz push de la rama actual a su remoto configurado. No hagas push forzado ni crees una PR. No hagas amend ni reset, no descartes cambios ni incluyas secretos. Pregunta si el alcance previsto o el remoto no están claros.",
|
|
152
|
+
promptPr: "Revisa los cambios del checkout actual, haz commit de los cambios pertinentes siguiendo las instrucciones del repositorio, haz push de la rama actual y crea una PR (o actualiza la PR existente para esta rama). Sigue la plantilla de PR del repositorio. No hagas push forzado, amend ni reset, no descartes cambios ni incluyas secretos. Pregunta si el alcance previsto o la rama de destino no están claros."
|
|
153
|
+
};
|
|
154
|
+
// locale/fr.json
|
|
155
|
+
var fr_default = {
|
|
156
|
+
meta: {
|
|
157
|
+
"title": "Pastilles Forge",
|
|
158
|
+
"description": "Effectuez des commits et des push, créez ou consultez des PR depuis des pastilles compactes dans la zone de saisie avec Forge."
|
|
159
|
+
},
|
|
160
|
+
commit: "Commit uniquement",
|
|
161
|
+
push: "Push",
|
|
162
|
+
pr: "Créer une PR",
|
|
163
|
+
updatePr: "Mettre à jour la PR",
|
|
164
|
+
viewPr: "Voir la PR",
|
|
165
|
+
menu: "Autres actions Git",
|
|
166
|
+
panel: "Voir la PR",
|
|
167
|
+
hint: "Demander à cette session d’effectuer l’action Git",
|
|
168
|
+
sending: "Envoi de la demande…",
|
|
169
|
+
error: "Impossible d’envoyer la demande. Vérifiez la session avant de réessayer.",
|
|
170
|
+
lookupError: "L’état Git est indisponible. Sélectionnez Voir la PR pour vérifier.",
|
|
171
|
+
checks: "Vérifications",
|
|
172
|
+
none: "Aucune vérification",
|
|
173
|
+
pending: "En attente",
|
|
174
|
+
success: "Réussies",
|
|
175
|
+
failure: "Échouées",
|
|
176
|
+
unknown: "Inconnu",
|
|
177
|
+
promptCommit: "Examinez les modifications de la copie de travail actuelle et effectuez un commit des modifications pertinentes avec un message descriptif, en suivant les instructions du dépôt. Ne faites pas de push et ne créez pas de PR. Ne faites ni amend ni reset, n’abandonnez aucune modification et n’incluez aucun secret. Posez une question si le périmètre prévu n’est pas clair.",
|
|
178
|
+
promptPush: "Examinez les modifications de la copie de travail actuelle, effectuez un commit des modifications pertinentes en suivant les instructions du dépôt et faites un push de la branche actuelle vers son dépôt distant configuré. Ne faites pas de push forcé et ne créez pas de PR. Ne faites ni amend ni reset, n’abandonnez aucune modification et n’incluez aucun secret. Posez une question si le périmètre prévu ou le dépôt distant n’est pas clair.",
|
|
179
|
+
promptPr: "Examinez les modifications de la copie de travail actuelle, effectuez un commit des modifications pertinentes en suivant les instructions du dépôt, faites un push de la branche actuelle et créez une PR (ou mettez à jour la PR existante pour cette branche). Suivez le modèle de PR du dépôt. Ne faites ni push forcé, ni amend, ni reset, n’abandonnez aucune modification et n’incluez aucun secret. Posez une question si le périmètre prévu ou la branche cible n’est pas clair."
|
|
180
|
+
};
|
|
181
|
+
// locale/de.json
|
|
182
|
+
var de_default = {
|
|
183
|
+
meta: {
|
|
184
|
+
"title": "Forge-Chips",
|
|
185
|
+
"description": "Committen, pushen und PRs erstellen oder anzeigen – über kompakte Chips im Eingabefeld mit Forge."
|
|
186
|
+
},
|
|
187
|
+
commit: "Nur committen",
|
|
188
|
+
push: "Pushen",
|
|
189
|
+
pr: "PR erstellen",
|
|
190
|
+
updatePr: "PR aktualisieren",
|
|
191
|
+
viewPr: "PR anzeigen",
|
|
192
|
+
menu: "Weitere Git-Aktionen",
|
|
193
|
+
panel: "PR anzeigen",
|
|
194
|
+
hint: "Diese Sitzung bitten, die Git-Aktion auszuführen",
|
|
195
|
+
sending: "Anfrage wird gesendet…",
|
|
196
|
+
error: "Die Anfrage konnte nicht gesendet werden. Prüfen Sie vor einem erneuten Versuch die Sitzung.",
|
|
197
|
+
lookupError: "Der Git-Status ist nicht verfügbar. Wählen Sie zur Prüfung PR anzeigen.",
|
|
198
|
+
checks: "Prüfungen",
|
|
199
|
+
none: "Keine Prüfungen",
|
|
200
|
+
pending: "Ausstehend",
|
|
201
|
+
success: "Bestanden",
|
|
202
|
+
failure: "Fehlgeschlagen",
|
|
203
|
+
unknown: "Unbekannt",
|
|
204
|
+
promptCommit: "Prüfen Sie die Änderungen im aktuellen Checkout und committen Sie die passenden Änderungen mit einer aussagekräftigen Commit-Nachricht gemäß den Repository-Anweisungen. Pushen Sie nicht und erstellen Sie keinen PR. Führen Sie weder amend noch reset aus, verwerfen Sie keine Änderungen und nehmen Sie keine geheimen Werte auf. Fragen Sie nach, wenn der beabsichtigte Umfang unklar ist.",
|
|
205
|
+
promptPush: "Prüfen Sie die Änderungen im aktuellen Checkout, committen Sie die passenden Änderungen gemäß den Repository-Anweisungen und pushen Sie den aktuellen Branch zum konfigurierten Remote. Führen Sie keinen Force-Push aus und erstellen Sie keinen PR. Führen Sie weder amend noch reset aus, verwerfen Sie keine Änderungen und nehmen Sie keine geheimen Werte auf. Fragen Sie nach, wenn der beabsichtigte Umfang oder das Remote unklar ist.",
|
|
206
|
+
promptPr: "Prüfen Sie die Änderungen im aktuellen Checkout, committen Sie die passenden Änderungen gemäß den Repository-Anweisungen, pushen Sie den aktuellen Branch und erstellen Sie einen PR (oder aktualisieren Sie den bestehenden PR für diesen Branch). Verwenden Sie die PR-Vorlage des Repositorys. Führen Sie weder Force-Push noch amend noch reset aus, verwerfen Sie keine Änderungen und nehmen Sie keine geheimen Werte auf. Fragen Sie nach, wenn der beabsichtigte Umfang oder der Zielbranch unklar ist."
|
|
207
|
+
};
|
|
208
|
+
// locale/ru.json
|
|
209
|
+
var ru_default = {
|
|
210
|
+
meta: {
|
|
211
|
+
"title": "Кнопки Forge",
|
|
212
|
+
"description": "Делайте коммиты, отправляйте изменения, создавайте и просматривайте PR с помощью компактных кнопок Forge в поле ввода."
|
|
213
|
+
},
|
|
214
|
+
commit: "Только коммит",
|
|
215
|
+
push: "Отправить",
|
|
216
|
+
pr: "Создать PR",
|
|
217
|
+
updatePr: "Обновить PR",
|
|
218
|
+
viewPr: "Просмотреть PR",
|
|
219
|
+
menu: "Другие действия Git",
|
|
220
|
+
panel: "Просмотреть PR",
|
|
221
|
+
hint: "Попросить эту сессию выполнить действие Git",
|
|
222
|
+
sending: "Отправка запроса…",
|
|
223
|
+
error: "Не удалось отправить запрос. Проверьте сессию перед повторной попыткой.",
|
|
224
|
+
lookupError: "Состояние Git недоступно. Выберите «Просмотреть PR» для проверки.",
|
|
225
|
+
checks: "Проверки",
|
|
226
|
+
none: "Нет проверок",
|
|
227
|
+
pending: "Ожидание",
|
|
228
|
+
success: "Пройдены",
|
|
229
|
+
failure: "Не пройдены",
|
|
230
|
+
unknown: "Неизвестно",
|
|
231
|
+
promptCommit: "Проверьте изменения в текущей рабочей копии и сделайте коммит подходящих изменений с содержательным сообщением, следуя инструкциям репозитория. Не отправляйте изменения и не создавайте PR. Не выполняйте amend или reset, не отбрасывайте изменения и не включайте секреты. Задайте вопрос, если предполагаемый объём работы неясен.",
|
|
232
|
+
promptPush: "Проверьте изменения в текущей рабочей копии, сделайте коммит подходящих изменений согласно инструкциям репозитория и отправьте текущую ветку в настроенный для неё удалённый репозиторий. Не выполняйте принудительную отправку и не создавайте PR. Не выполняйте amend или reset, не отбрасывайте изменения и не включайте секреты. Задайте вопрос, если предполагаемый объём работы или удалённый репозиторий неясен.",
|
|
233
|
+
promptPr: "Проверьте изменения в текущей рабочей копии, сделайте коммит подходящих изменений согласно инструкциям репозитория, отправьте текущую ветку и создайте PR (или обновите существующий PR для этой ветки). Следуйте шаблону PR репозитория. Не выполняйте принудительную отправку, amend или reset, не отбрасывайте изменения и не включайте секреты. Задайте вопрос, если предполагаемый объём работы или целевая ветка неясны."
|
|
234
|
+
};
|
|
235
|
+
// locale/pt.json
|
|
236
|
+
var pt_default = {
|
|
237
|
+
meta: {
|
|
238
|
+
"title": "Chips do Forge",
|
|
239
|
+
"description": "Faça commit, push e crie ou veja PRs em chips compactos no campo de mensagem com o Forge."
|
|
240
|
+
},
|
|
241
|
+
commit: "Apenas commit",
|
|
242
|
+
push: "Push",
|
|
243
|
+
pr: "Criar PR",
|
|
244
|
+
updatePr: "Atualizar PR",
|
|
245
|
+
viewPr: "Ver PR",
|
|
246
|
+
menu: "Mais ações do Git",
|
|
247
|
+
panel: "Ver PR",
|
|
248
|
+
hint: "Pedir a esta sessão para executar a ação do Git",
|
|
249
|
+
sending: "Enviando solicitação…",
|
|
250
|
+
error: "Não foi possível enviar a solicitação. Verifique a sessão antes de tentar novamente.",
|
|
251
|
+
lookupError: "O status do Git não está disponível. Selecione Ver PR para verificar.",
|
|
252
|
+
checks: "Verificações",
|
|
253
|
+
none: "Sem verificações",
|
|
254
|
+
pending: "Pendente",
|
|
255
|
+
success: "Aprovado",
|
|
256
|
+
failure: "Falhou",
|
|
257
|
+
unknown: "Desconhecido",
|
|
258
|
+
promptCommit: "Revise as alterações do checkout atual e faça commit das alterações apropriadas com uma mensagem descritiva, seguindo as instruções do repositório. Não faça push nem crie um PR. Não faça amend nem reset, não descarte alterações nem inclua segredos. Pergunte se o escopo pretendido não estiver claro.",
|
|
259
|
+
promptPush: "Revise as alterações do checkout atual, faça commit das alterações apropriadas seguindo as instruções do repositório e faça push da branch atual para o remoto configurado. Não faça push forçado nem crie um PR. Não faça amend nem reset, não descarte alterações nem inclua segredos. Pergunte se o escopo pretendido ou o remoto não estiverem claros.",
|
|
260
|
+
promptPr: "Revise as alterações do checkout atual, faça commit das alterações apropriadas seguindo as instruções do repositório, faça push da branch atual e crie um PR (ou atualize o PR existente para esta branch). Siga o modelo de PR do repositório. Não faça push forçado, amend nem reset, não descarte alterações nem inclua segredos. Pergunte se o escopo pretendido ou a branch de destino não estiverem claros."
|
|
261
|
+
};
|
|
262
|
+
// src/model.ts
|
|
263
|
+
function requestForCheckout(panel) {
|
|
264
|
+
if (panel.checkout.state !== "ready" || !panel.checkout.checkout.branch) return void 0;
|
|
265
|
+
const branch = panel.checkout.checkout.branch;
|
|
266
|
+
return panel.changeRequests.find((entry) => entry.snapshot?.headBranch === branch && entry.snapshot.state === "open");
|
|
267
|
+
}
|
|
268
|
+
function primaryOperation(panel) {
|
|
269
|
+
if (panel.checkout.state !== "ready" || !panel.checkout.checkout.branch || !panel.repository) return "commit";
|
|
270
|
+
const branch = panel.checkout.checkout.branch;
|
|
271
|
+
const base = panel.local?.base.replace(/^refs\/remotes\//u, "").replace(/^[^/]+\//u, "");
|
|
272
|
+
return requestForCheckout(panel) || base && branch !== base ? "pr" : "push";
|
|
273
|
+
}
|
|
274
|
+
// src/styles.ts
|
|
275
|
+
const styles = `
|
|
276
|
+
.dsh-forge-chip { box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; width: calc(100% - 2 * var(--dsh-composer-side-clearance) - 4 * var(--dsh-composer-dock-inset)); max-width: calc(var(--dsh-composer-card-max-width) - 4 * var(--dsh-composer-dock-inset)); margin: 0 auto; padding-bottom: 8px; }
|
|
277
|
+
.dsh-forge-chip-actions { display: inline-flex; align-items: center; max-width: 100%; min-width: 0; }
|
|
278
|
+
.dsh-forge-chip-actions > .dsh-forge-chip-trigger { border-radius: 14px 0 0 14px; }
|
|
279
|
+
.dsh-forge-chip-actions .dsh-forge-chip-menu { flex: none; border-radius: 0 14px 14px 0; border-left: 0; padding: 0 7px; }
|
|
280
|
+
.dsh-forge-chip-trigger { min-height: 28px; height: auto; max-width: 100%; padding: 4px 10px; border: 1px solid var(--dsw-alias-border-l2); font: inherit; font-size: 12px; line-height: 18px; white-space: normal; overflow-wrap: anywhere; }
|
|
281
|
+
.dsh-forge-chip-trigger svg { flex: none; width: 14px; height: 14px; }
|
|
282
|
+
.dsh-forge-chip-trigger:disabled { background: var(--dsw-alias-bg-layer-2); color: var(--dsw-alias-label-dimmed); cursor: default; }
|
|
283
|
+
.dsh-forge-chip-trigger:focus-visible { outline: 2px solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary)); outline-offset: 0; }
|
|
284
|
+
@media (pointer: coarse) { .dsh-forge-chip-trigger { min-height: 44px; } .dsh-forge-chip-actions .dsh-forge-chip-menu { min-width: 44px; } }
|
|
285
|
+
`;
|
|
286
|
+
// src/client.tsx
|
|
287
|
+
const name = "dungsil-ui-forge-chip";
|
|
288
|
+
const inject = [
|
|
289
|
+
"slots",
|
|
290
|
+
"locale",
|
|
291
|
+
"sessions",
|
|
292
|
+
"remote",
|
|
293
|
+
"remote.forgePanel",
|
|
294
|
+
"sidebarRight"
|
|
295
|
+
];
|
|
296
|
+
const translations = {
|
|
297
|
+
en: en_default,
|
|
298
|
+
ko: ko_default,
|
|
299
|
+
zh: zh_default,
|
|
300
|
+
ja: ja_default,
|
|
301
|
+
es: es_default,
|
|
302
|
+
fr: fr_default,
|
|
303
|
+
de: de_default,
|
|
304
|
+
ru: ru_default,
|
|
305
|
+
pt: pt_default
|
|
306
|
+
};
|
|
307
|
+
function apply(ctx) {
|
|
308
|
+
const sessions = ctx.sessions;
|
|
309
|
+
function Chip({ sessionId, useSession, useAccess, useProjection }) {
|
|
310
|
+
const { active } = useLocaleSnapshot(ctx.locale);
|
|
311
|
+
const text = translations[active.toLowerCase().split(/[-_]/)[0]] ?? en_default;
|
|
312
|
+
const hidden = useSession((s) => s.blank || s.awaitingFirstTurn || s.removed || s.openState !== "open");
|
|
313
|
+
const unavailable = useSession((s) => s.running || s.pendingSubmissions.length > 0 || s.removed || s.openState !== "open");
|
|
314
|
+
const canPrompt = useAccess("session.prompt");
|
|
315
|
+
const cwd = useProjection("workingDirectory");
|
|
316
|
+
const [panel, setPanel] = (0, react.useState)();
|
|
317
|
+
const [facts, setFacts] = (0, react.useState)();
|
|
318
|
+
const [lookupError, setLookupError] = (0, react.useState)(false);
|
|
319
|
+
const [error, setError] = (0, react.useState)(false);
|
|
320
|
+
const [sending, setSending] = (0, react.useState)(false);
|
|
321
|
+
const [open, setOpen] = (0, react.useState)(false);
|
|
322
|
+
const [generation, setGeneration] = (0, react.useState)(0);
|
|
323
|
+
const pending = (0, react.useRef)(false);
|
|
324
|
+
const mounted = (0, react.useRef)(true);
|
|
325
|
+
(0, react.useEffect)(() => {
|
|
326
|
+
mounted.current = true;
|
|
327
|
+
return () => {
|
|
328
|
+
mounted.current = false;
|
|
329
|
+
};
|
|
330
|
+
}, []);
|
|
331
|
+
(0, react.useEffect)(() => {
|
|
332
|
+
const dispose = ctx.on("connection/reset", () => setGeneration((n) => n + 1));
|
|
333
|
+
return () => {
|
|
334
|
+
dispose();
|
|
335
|
+
};
|
|
336
|
+
}, []);
|
|
337
|
+
(0, react.useEffect)(() => {
|
|
338
|
+
setPanel(void 0);
|
|
339
|
+
setFacts(void 0);
|
|
340
|
+
setLookupError(false);
|
|
341
|
+
setOpen(false);
|
|
342
|
+
if (hidden) return;
|
|
343
|
+
const controller = new AbortController();
|
|
344
|
+
const stream = ctx.remote.forgePanel.follow(sessionId, controller.signal);
|
|
345
|
+
(async () => {
|
|
346
|
+
try {
|
|
347
|
+
for await (const state of stream) {
|
|
348
|
+
if (controller.signal.aborted) return;
|
|
349
|
+
setPanel(state);
|
|
350
|
+
setLookupError(false);
|
|
351
|
+
}
|
|
352
|
+
if (!controller.signal.aborted) setLookupError(true);
|
|
353
|
+
} catch {
|
|
354
|
+
if (!controller.signal.aborted) setLookupError(true);
|
|
355
|
+
} finally {
|
|
356
|
+
stream.dispose();
|
|
357
|
+
}
|
|
358
|
+
})();
|
|
359
|
+
return () => {
|
|
360
|
+
controller.abort();
|
|
361
|
+
stream.dispose();
|
|
362
|
+
};
|
|
363
|
+
}, [
|
|
364
|
+
sessionId,
|
|
365
|
+
cwd,
|
|
366
|
+
hidden,
|
|
367
|
+
generation
|
|
368
|
+
]);
|
|
369
|
+
(0, react.useEffect)(() => {
|
|
370
|
+
setFacts(void 0);
|
|
371
|
+
if (!panel || panel.checkout.state !== "ready" || unavailable) return;
|
|
372
|
+
const controller = new AbortController();
|
|
373
|
+
const request = requestForCheckout(panel);
|
|
374
|
+
let sequence = 0;
|
|
375
|
+
const refresh = async () => {
|
|
376
|
+
const current = ++sequence;
|
|
377
|
+
try {
|
|
378
|
+
const local = await ctx.remote.forgePanel.localDiff(sessionId, { kind: "uncommitted" }, controller.signal);
|
|
379
|
+
const remote = request ? await ctx.remote.forgePanel.changeRequestDiff(sessionId, request.url, null, controller.signal) : void 0;
|
|
380
|
+
if (controller.signal.aborted || current !== sequence) return;
|
|
381
|
+
if (!local.ok) {
|
|
382
|
+
setLookupError(true);
|
|
383
|
+
return;
|
|
384
|
+
}
|
|
385
|
+
setFacts({
|
|
386
|
+
panel,
|
|
387
|
+
dirty: local.value.files.length > 0 || local.value.omitted > 0,
|
|
388
|
+
ahead: remote?.ok ? remote.value.localAhead : null
|
|
389
|
+
});
|
|
390
|
+
setLookupError(false);
|
|
391
|
+
} catch {
|
|
392
|
+
if (!controller.signal.aborted && current === sequence) setLookupError(true);
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
refresh();
|
|
396
|
+
const onFocus = () => {
|
|
397
|
+
setFacts(void 0);
|
|
398
|
+
refresh();
|
|
399
|
+
};
|
|
400
|
+
window.addEventListener("focus", onFocus);
|
|
401
|
+
return () => {
|
|
402
|
+
controller.abort();
|
|
403
|
+
window.removeEventListener("focus", onFocus);
|
|
404
|
+
};
|
|
405
|
+
}, [
|
|
406
|
+
panel,
|
|
407
|
+
sessionId,
|
|
408
|
+
unavailable
|
|
409
|
+
]);
|
|
410
|
+
const request = panel && requestForCheckout(panel);
|
|
411
|
+
const fresh = facts?.panel === panel && facts !== void 0;
|
|
412
|
+
const viewOnly = !!request && fresh && !facts.dirty && facts.ahead === 0;
|
|
413
|
+
const disabled = !canPrompt || unavailable || sending || !fresh || lookupError;
|
|
414
|
+
(0, react.useEffect)(() => {
|
|
415
|
+
if (disabled || viewOnly) setOpen(false);
|
|
416
|
+
}, [disabled, viewOnly]);
|
|
417
|
+
const showPanel = () => ctx.sidebarRight.openTab("forge-panel");
|
|
418
|
+
const send = async (operation) => {
|
|
419
|
+
if (disabled || pending.current) return;
|
|
420
|
+
pending.current = true;
|
|
421
|
+
setSending(true);
|
|
422
|
+
setOpen(false);
|
|
423
|
+
setError(false);
|
|
424
|
+
try {
|
|
425
|
+
const conversation = sessions.scope(sessionId)?.get("conversation");
|
|
426
|
+
if (!conversation) throw new Error("Session unavailable");
|
|
427
|
+
await conversation.send({
|
|
428
|
+
commit: text.promptCommit,
|
|
429
|
+
push: text.promptPush,
|
|
430
|
+
pr: text.promptPr
|
|
431
|
+
}[operation]);
|
|
432
|
+
} catch {
|
|
433
|
+
if (mounted.current) setError(true);
|
|
434
|
+
} finally {
|
|
435
|
+
pending.current = false;
|
|
436
|
+
if (mounted.current) setSending(false);
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
if (hidden || !panel || panel.checkout.state !== "ready") return null;
|
|
440
|
+
const operation = primaryOperation(panel);
|
|
441
|
+
const label = sending ? text.sending : viewOnly ? text.viewPr : operation === "pr" && request ? text.updatePr : text[operation];
|
|
442
|
+
const checks = request?.snapshot?.checksRollup ?? "unknown";
|
|
443
|
+
const stale = !!request?.update && "error" in request.update;
|
|
444
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
445
|
+
className: "dsh-forge-chip",
|
|
446
|
+
children: [
|
|
447
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
448
|
+
className: "dsh-forge-chip-actions",
|
|
449
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Pill, {
|
|
450
|
+
className: "dsh-forge-chip-trigger",
|
|
451
|
+
disabled: !viewOnly && disabled,
|
|
452
|
+
title: viewOnly ? text.viewPr : text.hint,
|
|
453
|
+
"aria-busy": sending,
|
|
454
|
+
onClick: () => {
|
|
455
|
+
if (viewOnly) showPanel();
|
|
456
|
+
else send(operation);
|
|
457
|
+
},
|
|
458
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconBranchOutlineRegular, { "aria-hidden": "true" }), label]
|
|
459
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Menu, {
|
|
460
|
+
open,
|
|
461
|
+
side: "top",
|
|
462
|
+
portal: true,
|
|
463
|
+
compact: true,
|
|
464
|
+
onClose: () => setOpen(false),
|
|
465
|
+
items: [
|
|
466
|
+
{
|
|
467
|
+
id: "commit",
|
|
468
|
+
label: text.commit
|
|
469
|
+
},
|
|
470
|
+
...panel.repository ? [{
|
|
471
|
+
id: "push",
|
|
472
|
+
label: text.push
|
|
473
|
+
}, {
|
|
474
|
+
id: "pr",
|
|
475
|
+
label: request ? text.updatePr : text.pr
|
|
476
|
+
}] : [],
|
|
477
|
+
{
|
|
478
|
+
id: "panel",
|
|
479
|
+
label: text.panel
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
onSelect: (id) => {
|
|
483
|
+
setOpen(false);
|
|
484
|
+
if (id === "panel") showPanel();
|
|
485
|
+
else send(id);
|
|
486
|
+
},
|
|
487
|
+
anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Pill, {
|
|
488
|
+
className: "dsh-forge-chip-trigger dsh-forge-chip-menu",
|
|
489
|
+
disabled,
|
|
490
|
+
"aria-label": text.menu,
|
|
491
|
+
"aria-haspopup": "menu",
|
|
492
|
+
"aria-expanded": open,
|
|
493
|
+
onClick: () => setOpen((value) => !value),
|
|
494
|
+
onKeyDown: (event) => {
|
|
495
|
+
if (!open && (event.key === "ArrowDown" || event.key === "ArrowUp")) {
|
|
496
|
+
event.preventDefault();
|
|
497
|
+
setOpen(true);
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, { "aria-hidden": "true" })
|
|
501
|
+
})
|
|
502
|
+
})]
|
|
503
|
+
}),
|
|
504
|
+
request && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Pill, {
|
|
505
|
+
className: "dsh-forge-chip-trigger",
|
|
506
|
+
onClick: showPanel,
|
|
507
|
+
children: [
|
|
508
|
+
text.checks,
|
|
509
|
+
": ",
|
|
510
|
+
stale ? text.unknown : text[checks]
|
|
511
|
+
]
|
|
512
|
+
}),
|
|
513
|
+
lookupError && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Pill, {
|
|
514
|
+
className: "dsh-forge-chip-trigger",
|
|
515
|
+
onClick: showPanel,
|
|
516
|
+
children: text.lookupError
|
|
517
|
+
}),
|
|
518
|
+
error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
519
|
+
role: "alert",
|
|
520
|
+
children: text.error
|
|
521
|
+
})
|
|
522
|
+
]
|
|
523
|
+
});
|
|
524
|
+
}
|
|
525
|
+
ctx.slots.inject("conversation.input.dock", () => ctx.slots.register({
|
|
526
|
+
name: "conversation.input.dock",
|
|
527
|
+
id: name,
|
|
528
|
+
order: -100
|
|
529
|
+
}, (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Chip, { ...props }, props.sessionId)));
|
|
530
|
+
ctx.effect(() => installStyles(styles), "ui-forge-chip: composer styles");
|
|
531
|
+
}
|
|
532
|
+
exports.apply = apply;
|
|
533
|
+
exports.inject = inject;
|
|
534
|
+
exports.name = name;
|
|
535
|
+
|
|
536
|
+
return module.exports; } });
|
package/dist/index.js
ADDED
package/locale/de.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Forge-Chips",
|
|
4
|
+
"description": "Committen, pushen und PRs erstellen oder anzeigen – über kompakte Chips im Eingabefeld mit Forge."
|
|
5
|
+
},
|
|
6
|
+
"commit": "Nur committen",
|
|
7
|
+
"push": "Pushen",
|
|
8
|
+
"pr": "PR erstellen",
|
|
9
|
+
"updatePr": "PR aktualisieren",
|
|
10
|
+
"viewPr": "PR anzeigen",
|
|
11
|
+
"menu": "Weitere Git-Aktionen",
|
|
12
|
+
"panel": "PR anzeigen",
|
|
13
|
+
"hint": "Diese Sitzung bitten, die Git-Aktion auszuführen",
|
|
14
|
+
"sending": "Anfrage wird gesendet…",
|
|
15
|
+
"error": "Die Anfrage konnte nicht gesendet werden. Prüfen Sie vor einem erneuten Versuch die Sitzung.",
|
|
16
|
+
"lookupError": "Der Git-Status ist nicht verfügbar. Wählen Sie zur Prüfung PR anzeigen.",
|
|
17
|
+
"checks": "Prüfungen",
|
|
18
|
+
"none": "Keine Prüfungen",
|
|
19
|
+
"pending": "Ausstehend",
|
|
20
|
+
"success": "Bestanden",
|
|
21
|
+
"failure": "Fehlgeschlagen",
|
|
22
|
+
"unknown": "Unbekannt",
|
|
23
|
+
"promptCommit": "Prüfen Sie die Änderungen im aktuellen Checkout und committen Sie die passenden Änderungen mit einer aussagekräftigen Commit-Nachricht gemäß den Repository-Anweisungen. Pushen Sie nicht und erstellen Sie keinen PR. Führen Sie weder amend noch reset aus, verwerfen Sie keine Änderungen und nehmen Sie keine geheimen Werte auf. Fragen Sie nach, wenn der beabsichtigte Umfang unklar ist.",
|
|
24
|
+
"promptPush": "Prüfen Sie die Änderungen im aktuellen Checkout, committen Sie die passenden Änderungen gemäß den Repository-Anweisungen und pushen Sie den aktuellen Branch zum konfigurierten Remote. Führen Sie keinen Force-Push aus und erstellen Sie keinen PR. Führen Sie weder amend noch reset aus, verwerfen Sie keine Änderungen und nehmen Sie keine geheimen Werte auf. Fragen Sie nach, wenn der beabsichtigte Umfang oder das Remote unklar ist.",
|
|
25
|
+
"promptPr": "Prüfen Sie die Änderungen im aktuellen Checkout, committen Sie die passenden Änderungen gemäß den Repository-Anweisungen, pushen Sie den aktuellen Branch und erstellen Sie einen PR (oder aktualisieren Sie den bestehenden PR für diesen Branch). Verwenden Sie die PR-Vorlage des Repositorys. Führen Sie weder Force-Push noch amend noch reset aus, verwerfen Sie keine Änderungen und nehmen Sie keine geheimen Werte auf. Fragen Sie nach, wenn der beabsichtigte Umfang oder der Zielbranch unklar ist."
|
|
26
|
+
}
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Forge Chips",
|
|
4
|
+
"description": "Commit, push and create or view PRs from compact composer chips using Forge."
|
|
5
|
+
},
|
|
6
|
+
"commit": "Commit only",
|
|
7
|
+
"push": "Push",
|
|
8
|
+
"pr": "Create PR",
|
|
9
|
+
"updatePr": "Update PR",
|
|
10
|
+
"viewPr": "View PR",
|
|
11
|
+
"menu": "More Git actions",
|
|
12
|
+
"panel": "View PR",
|
|
13
|
+
"hint": "Ask this session to perform the Git action",
|
|
14
|
+
"sending": "Sending request…",
|
|
15
|
+
"error": "Could not send the request. Check the session before retrying.",
|
|
16
|
+
"lookupError": "Git status is unavailable. Select View PR to check.",
|
|
17
|
+
"checks": "Checks",
|
|
18
|
+
"none": "No checks",
|
|
19
|
+
"pending": "Pending",
|
|
20
|
+
"success": "Passed",
|
|
21
|
+
"failure": "Failed",
|
|
22
|
+
"unknown": "Unknown",
|
|
23
|
+
"promptCommit": "Review the current checkout changes and commit the appropriate changes with a descriptive commit message, following repository instructions. Do not push or create a PR. Do not amend, reset, discard changes, or include secrets. Ask if the intended scope is unclear.",
|
|
24
|
+
"promptPush": "Review the current checkout changes, commit the appropriate changes following repository instructions, and push the current branch to its configured remote. Do not force-push or create a PR. Do not amend, reset, discard changes, or include secrets. Ask if the intended scope or remote is unclear.",
|
|
25
|
+
"promptPr": "Review the current checkout changes, commit the appropriate changes following repository instructions, push the current branch, and create a PR (or update the existing PR for this branch). Follow the repository PR template. Do not force-push, amend, reset, discard changes, or include secrets. Ask if the intended scope or target branch is unclear."
|
|
26
|
+
}
|
package/locale/es.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Chips de Forge",
|
|
4
|
+
"description": "Haz commit, push y crea o consulta PR desde chips compactos en el cuadro de entrada con Forge."
|
|
5
|
+
},
|
|
6
|
+
"commit": "Solo commit",
|
|
7
|
+
"push": "Push",
|
|
8
|
+
"pr": "Crear PR",
|
|
9
|
+
"updatePr": "Actualizar PR",
|
|
10
|
+
"viewPr": "Ver PR",
|
|
11
|
+
"menu": "Más acciones de Git",
|
|
12
|
+
"panel": "Ver PR",
|
|
13
|
+
"hint": "Pedir a esta sesión que realice la acción de Git",
|
|
14
|
+
"sending": "Enviando solicitud…",
|
|
15
|
+
"error": "No se pudo enviar la solicitud. Comprueba la sesión antes de volver a intentarlo.",
|
|
16
|
+
"lookupError": "El estado de Git no está disponible. Selecciona Ver PR para comprobarlo.",
|
|
17
|
+
"checks": "Comprobaciones",
|
|
18
|
+
"none": "Sin comprobaciones",
|
|
19
|
+
"pending": "Pendiente",
|
|
20
|
+
"success": "Correcto",
|
|
21
|
+
"failure": "Fallido",
|
|
22
|
+
"unknown": "Desconocido",
|
|
23
|
+
"promptCommit": "Revisa los cambios del checkout actual y haz commit de los cambios pertinentes con un mensaje descriptivo, siguiendo las instrucciones del repositorio. No hagas push ni crees una PR. No hagas amend ni reset, no descartes cambios ni incluyas secretos. Pregunta si el alcance previsto no está claro.",
|
|
24
|
+
"promptPush": "Revisa los cambios del checkout actual, haz commit de los cambios pertinentes siguiendo las instrucciones del repositorio y haz push de la rama actual a su remoto configurado. No hagas push forzado ni crees una PR. No hagas amend ni reset, no descartes cambios ni incluyas secretos. Pregunta si el alcance previsto o el remoto no están claros.",
|
|
25
|
+
"promptPr": "Revisa los cambios del checkout actual, haz commit de los cambios pertinentes siguiendo las instrucciones del repositorio, haz push de la rama actual y crea una PR (o actualiza la PR existente para esta rama). Sigue la plantilla de PR del repositorio. No hagas push forzado, amend ni reset, no descartes cambios ni incluyas secretos. Pregunta si el alcance previsto o la rama de destino no están claros."
|
|
26
|
+
}
|
package/locale/fr.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Pastilles Forge",
|
|
4
|
+
"description": "Effectuez des commits et des push, créez ou consultez des PR depuis des pastilles compactes dans la zone de saisie avec Forge."
|
|
5
|
+
},
|
|
6
|
+
"commit": "Commit uniquement",
|
|
7
|
+
"push": "Push",
|
|
8
|
+
"pr": "Créer une PR",
|
|
9
|
+
"updatePr": "Mettre à jour la PR",
|
|
10
|
+
"viewPr": "Voir la PR",
|
|
11
|
+
"menu": "Autres actions Git",
|
|
12
|
+
"panel": "Voir la PR",
|
|
13
|
+
"hint": "Demander à cette session d’effectuer l’action Git",
|
|
14
|
+
"sending": "Envoi de la demande…",
|
|
15
|
+
"error": "Impossible d’envoyer la demande. Vérifiez la session avant de réessayer.",
|
|
16
|
+
"lookupError": "L’état Git est indisponible. Sélectionnez Voir la PR pour vérifier.",
|
|
17
|
+
"checks": "Vérifications",
|
|
18
|
+
"none": "Aucune vérification",
|
|
19
|
+
"pending": "En attente",
|
|
20
|
+
"success": "Réussies",
|
|
21
|
+
"failure": "Échouées",
|
|
22
|
+
"unknown": "Inconnu",
|
|
23
|
+
"promptCommit": "Examinez les modifications de la copie de travail actuelle et effectuez un commit des modifications pertinentes avec un message descriptif, en suivant les instructions du dépôt. Ne faites pas de push et ne créez pas de PR. Ne faites ni amend ni reset, n’abandonnez aucune modification et n’incluez aucun secret. Posez une question si le périmètre prévu n’est pas clair.",
|
|
24
|
+
"promptPush": "Examinez les modifications de la copie de travail actuelle, effectuez un commit des modifications pertinentes en suivant les instructions du dépôt et faites un push de la branche actuelle vers son dépôt distant configuré. Ne faites pas de push forcé et ne créez pas de PR. Ne faites ni amend ni reset, n’abandonnez aucune modification et n’incluez aucun secret. Posez une question si le périmètre prévu ou le dépôt distant n’est pas clair.",
|
|
25
|
+
"promptPr": "Examinez les modifications de la copie de travail actuelle, effectuez un commit des modifications pertinentes en suivant les instructions du dépôt, faites un push de la branche actuelle et créez une PR (ou mettez à jour la PR existante pour cette branche). Suivez le modèle de PR du dépôt. Ne faites ni push forcé, ni amend, ni reset, n’abandonnez aucune modification et n’incluez aucun secret. Posez une question si le périmètre prévu ou la branche cible n’est pas clair."
|
|
26
|
+
}
|
package/locale/ja.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Forge チップ",
|
|
4
|
+
"description": "Forge と連携した入力欄のコンパクトなチップから、コミット、プッシュ、PR の作成や表示を行います。"
|
|
5
|
+
},
|
|
6
|
+
"commit": "コミットのみ",
|
|
7
|
+
"push": "プッシュ",
|
|
8
|
+
"pr": "PR を作成",
|
|
9
|
+
"updatePr": "PR を更新",
|
|
10
|
+
"viewPr": "PR を表示",
|
|
11
|
+
"menu": "その他の Git 操作",
|
|
12
|
+
"panel": "PR を表示",
|
|
13
|
+
"hint": "このセッションに Git 操作を依頼する",
|
|
14
|
+
"sending": "リクエストを送信中…",
|
|
15
|
+
"error": "リクエストを送信できませんでした。再試行する前にセッションを確認してください。",
|
|
16
|
+
"lookupError": "Git の状態を取得できません。「PR を表示」を選択して確認してください。",
|
|
17
|
+
"checks": "チェック",
|
|
18
|
+
"none": "チェックなし",
|
|
19
|
+
"pending": "保留中",
|
|
20
|
+
"success": "成功",
|
|
21
|
+
"failure": "失敗",
|
|
22
|
+
"unknown": "不明",
|
|
23
|
+
"promptCommit": "現在のチェックアウトの変更を確認し、リポジトリの指示に従って、適切な変更を内容の分かるコミットメッセージでコミットしてください。プッシュや PR の作成はしないでください。コミットの amend、reset、変更の破棄、シークレットの混入はしないでください。意図された作業範囲が不明な場合は質問してください。",
|
|
24
|
+
"promptPush": "現在のチェックアウトの変更を確認し、リポジトリの指示に従って適切な変更をコミットし、現在のブランチを設定済みのリモートにプッシュしてください。強制プッシュや PR の作成はしないでください。コミットの amend、reset、変更の破棄、シークレットの混入はしないでください。意図された作業範囲やリモートが不明な場合は質問してください。",
|
|
25
|
+
"promptPr": "現在のチェックアウトの変更を確認し、リポジトリの指示に従って適切な変更をコミットし、現在のブランチをプッシュして、PR を作成してください(このブランチの PR が既にあれば更新してください)。リポジトリの PR テンプレートに従ってください。強制プッシュ、コミットの amend、reset、変更の破棄、シークレットの混入はしないでください。意図された作業範囲やターゲットブランチが不明な場合は質問してください。"
|
|
26
|
+
}
|
package/locale/ko.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Forge 칩",
|
|
4
|
+
"description": "Forge와 연결된 입력창 칩으로 커밋·푸시·PR 생성과 조회를 실행합니다."
|
|
5
|
+
},
|
|
6
|
+
"commit": "커밋만",
|
|
7
|
+
"push": "푸시",
|
|
8
|
+
"pr": "PR 생성",
|
|
9
|
+
"updatePr": "PR 업데이트",
|
|
10
|
+
"viewPr": "PR 보기",
|
|
11
|
+
"menu": "다른 Git 작업",
|
|
12
|
+
"panel": "PR 보기",
|
|
13
|
+
"hint": "이 세션에 Git 작업을 요청합니다",
|
|
14
|
+
"sending": "요청 전송 중…",
|
|
15
|
+
"error": "요청을 보내지 못했습니다. 다시 시도하기 전에 세션을 확인하세요.",
|
|
16
|
+
"lookupError": "Git 상태를 확인하지 못했습니다. PR 보기를 열어 확인하세요.",
|
|
17
|
+
"checks": "검사",
|
|
18
|
+
"none": "검사 없음",
|
|
19
|
+
"pending": "진행 중",
|
|
20
|
+
"success": "통과",
|
|
21
|
+
"failure": "실패",
|
|
22
|
+
"unknown": "알 수 없음",
|
|
23
|
+
"promptCommit": "현재 체크아웃의 변경 사항을 검토하고 저장소 지침에 따라 적절한 변경 사항을 설명이 담긴 메시지로 커밋해줘. 푸시하거나 PR을 만들지 마. 커밋 수정(amend), reset, 변경 사항 폐기, 비밀값 포함은 하지 마. 작업 범위가 불분명하면 물어봐.",
|
|
24
|
+
"promptPush": "현재 체크아웃의 변경 사항을 검토하고 저장소 지침에 따라 적절한 변경 사항을 커밋한 뒤 현재 브랜치를 설정된 원격 저장소에 푸시해줘. 강제 푸시하거나 PR을 만들지 마. 커밋 수정(amend), reset, 변경 사항 폐기, 비밀값 포함은 하지 마. 작업 범위나 원격 저장소가 불분명하면 물어봐.",
|
|
25
|
+
"promptPr": "현재 체크아웃의 변경 사항을 검토하고 저장소 지침에 따라 적절한 변경 사항을 커밋·푸시한 뒤 PR을 만들어줘. 이 브랜치의 PR이 이미 있으면 업데이트해줘. 저장소 PR 템플릿을 따라줘. 강제 푸시, 커밋 수정(amend), reset, 변경 사항 폐기, 비밀값 포함은 하지 마. 작업 범위나 대상 브랜치가 불분명하면 물어봐."
|
|
26
|
+
}
|
package/locale/pt.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Chips do Forge",
|
|
4
|
+
"description": "Faça commit, push e crie ou veja PRs em chips compactos no campo de mensagem com o Forge."
|
|
5
|
+
},
|
|
6
|
+
"commit": "Apenas commit",
|
|
7
|
+
"push": "Push",
|
|
8
|
+
"pr": "Criar PR",
|
|
9
|
+
"updatePr": "Atualizar PR",
|
|
10
|
+
"viewPr": "Ver PR",
|
|
11
|
+
"menu": "Mais ações do Git",
|
|
12
|
+
"panel": "Ver PR",
|
|
13
|
+
"hint": "Pedir a esta sessão para executar a ação do Git",
|
|
14
|
+
"sending": "Enviando solicitação…",
|
|
15
|
+
"error": "Não foi possível enviar a solicitação. Verifique a sessão antes de tentar novamente.",
|
|
16
|
+
"lookupError": "O status do Git não está disponível. Selecione Ver PR para verificar.",
|
|
17
|
+
"checks": "Verificações",
|
|
18
|
+
"none": "Sem verificações",
|
|
19
|
+
"pending": "Pendente",
|
|
20
|
+
"success": "Aprovado",
|
|
21
|
+
"failure": "Falhou",
|
|
22
|
+
"unknown": "Desconhecido",
|
|
23
|
+
"promptCommit": "Revise as alterações do checkout atual e faça commit das alterações apropriadas com uma mensagem descritiva, seguindo as instruções do repositório. Não faça push nem crie um PR. Não faça amend nem reset, não descarte alterações nem inclua segredos. Pergunte se o escopo pretendido não estiver claro.",
|
|
24
|
+
"promptPush": "Revise as alterações do checkout atual, faça commit das alterações apropriadas seguindo as instruções do repositório e faça push da branch atual para o remoto configurado. Não faça push forçado nem crie um PR. Não faça amend nem reset, não descarte alterações nem inclua segredos. Pergunte se o escopo pretendido ou o remoto não estiverem claros.",
|
|
25
|
+
"promptPr": "Revise as alterações do checkout atual, faça commit das alterações apropriadas seguindo as instruções do repositório, faça push da branch atual e crie um PR (ou atualize o PR existente para esta branch). Siga o modelo de PR do repositório. Não faça push forçado, amend nem reset, não descarte alterações nem inclua segredos. Pergunte se o escopo pretendido ou a branch de destino não estiverem claros."
|
|
26
|
+
}
|
package/locale/ru.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Кнопки Forge",
|
|
4
|
+
"description": "Делайте коммиты, отправляйте изменения, создавайте и просматривайте PR с помощью компактных кнопок Forge в поле ввода."
|
|
5
|
+
},
|
|
6
|
+
"commit": "Только коммит",
|
|
7
|
+
"push": "Отправить",
|
|
8
|
+
"pr": "Создать PR",
|
|
9
|
+
"updatePr": "Обновить PR",
|
|
10
|
+
"viewPr": "Просмотреть PR",
|
|
11
|
+
"menu": "Другие действия Git",
|
|
12
|
+
"panel": "Просмотреть PR",
|
|
13
|
+
"hint": "Попросить эту сессию выполнить действие Git",
|
|
14
|
+
"sending": "Отправка запроса…",
|
|
15
|
+
"error": "Не удалось отправить запрос. Проверьте сессию перед повторной попыткой.",
|
|
16
|
+
"lookupError": "Состояние Git недоступно. Выберите «Просмотреть PR» для проверки.",
|
|
17
|
+
"checks": "Проверки",
|
|
18
|
+
"none": "Нет проверок",
|
|
19
|
+
"pending": "Ожидание",
|
|
20
|
+
"success": "Пройдены",
|
|
21
|
+
"failure": "Не пройдены",
|
|
22
|
+
"unknown": "Неизвестно",
|
|
23
|
+
"promptCommit": "Проверьте изменения в текущей рабочей копии и сделайте коммит подходящих изменений с содержательным сообщением, следуя инструкциям репозитория. Не отправляйте изменения и не создавайте PR. Не выполняйте amend или reset, не отбрасывайте изменения и не включайте секреты. Задайте вопрос, если предполагаемый объём работы неясен.",
|
|
24
|
+
"promptPush": "Проверьте изменения в текущей рабочей копии, сделайте коммит подходящих изменений согласно инструкциям репозитория и отправьте текущую ветку в настроенный для неё удалённый репозиторий. Не выполняйте принудительную отправку и не создавайте PR. Не выполняйте amend или reset, не отбрасывайте изменения и не включайте секреты. Задайте вопрос, если предполагаемый объём работы или удалённый репозиторий неясен.",
|
|
25
|
+
"promptPr": "Проверьте изменения в текущей рабочей копии, сделайте коммит подходящих изменений согласно инструкциям репозитория, отправьте текущую ветку и создайте PR (или обновите существующий PR для этой ветки). Следуйте шаблону PR репозитория. Не выполняйте принудительную отправку, amend или reset, не отбрасывайте изменения и не включайте секреты. Задайте вопрос, если предполагаемый объём работы или целевая ветка неясны."
|
|
26
|
+
}
|
package/locale/zh.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Forge 操作按钮",
|
|
4
|
+
"description": "通过连接 Forge 的紧凑输入框按钮提交、推送、创建或查看 PR。"
|
|
5
|
+
},
|
|
6
|
+
"commit": "仅提交",
|
|
7
|
+
"push": "推送",
|
|
8
|
+
"pr": "创建 PR",
|
|
9
|
+
"updatePr": "更新 PR",
|
|
10
|
+
"viewPr": "查看 PR",
|
|
11
|
+
"menu": "更多 Git 操作",
|
|
12
|
+
"panel": "查看 PR",
|
|
13
|
+
"hint": "请求此会话执行 Git 操作",
|
|
14
|
+
"sending": "正在发送请求…",
|
|
15
|
+
"error": "无法发送请求。重试前请检查会话。",
|
|
16
|
+
"lookupError": "无法获取 Git 状态。请打开“查看 PR”检查。",
|
|
17
|
+
"checks": "检查",
|
|
18
|
+
"none": "无检查",
|
|
19
|
+
"pending": "进行中",
|
|
20
|
+
"success": "通过",
|
|
21
|
+
"failure": "失败",
|
|
22
|
+
"unknown": "未知",
|
|
23
|
+
"promptCommit": "检查当前检出目录的更改,遵循仓库指引,将适当的更改以清晰的提交信息提交。不要推送或创建 PR。不要 amend、reset、丢弃更改或包含机密信息。范围不明确时请询问。",
|
|
24
|
+
"promptPush": "检查当前检出目录的更改,遵循仓库指引提交适当的更改,并将当前分支推送到已配置的远程仓库。不要强制推送或创建 PR。不要 amend、reset、丢弃更改或包含机密信息。范围或远程仓库不明确时请询问。",
|
|
25
|
+
"promptPr": "检查当前检出目录的更改,遵循仓库指引提交并推送适当的更改,然后创建 PR;如果此分支已有 PR,请更新它。遵循仓库的 PR 模板。不要强制推送、amend、reset、丢弃更改或包含机密信息。范围或目标分支不明确时请询问。"
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,105 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dungsil/dsh-plugin-ui-forge-chip",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Composer commit and PR action chips powered by the official Forge plugin.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/dungsil/dsh-plugins.git",
|
|
9
|
+
"directory": "packages/ui-forge-chip"
|
|
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-api-remotes": "0.2.2-rc.3",
|
|
29
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.3",
|
|
30
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.3",
|
|
31
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.3",
|
|
32
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.3",
|
|
33
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.3",
|
|
34
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.3",
|
|
35
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.3",
|
|
36
|
+
"@deepseek-ai/dsh-experimental-client-ui-forge": "0.2.2-rc.3",
|
|
37
|
+
"@deepseek-ai/dsh-experimental-forge-session": "0.2.2-rc.3",
|
|
38
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.3",
|
|
39
|
+
"@dungsil/dsh-tsconfig": "0.0.0",
|
|
40
|
+
"@dungsil/dsh-tsdown": "0.0.0",
|
|
41
|
+
"@dungsil/dsh-ui": "0.0.0",
|
|
42
|
+
"@types/react": "18.3.31",
|
|
43
|
+
"react": "18.3.1",
|
|
44
|
+
"tsdown": "0.23.4"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@deepseek-ai/cordis": "^4.1.0",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-rc.1"
|
|
49
|
+
},
|
|
50
|
+
"engines": {
|
|
51
|
+
"dsh": "^0.2.2-rc.2",
|
|
52
|
+
"node": ">=24.9.0"
|
|
53
|
+
},
|
|
54
|
+
"dsh": {
|
|
55
|
+
"bundle": {
|
|
56
|
+
"patch": "./cordis.patch.yml"
|
|
57
|
+
},
|
|
58
|
+
"client": {
|
|
59
|
+
"platform": "web",
|
|
60
|
+
"immediately": true,
|
|
61
|
+
"inject": [
|
|
62
|
+
"@deepseek-ai/dsh-client-locale",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-session",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right",
|
|
65
|
+
"@deepseek-ai/dsh-experimental-client-ui-forge"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"market": {
|
|
70
|
+
"title": {
|
|
71
|
+
"en": "Forge Chips",
|
|
72
|
+
"ko": "Forge 칩",
|
|
73
|
+
"zh": "Forge 操作按钮",
|
|
74
|
+
"ja": "Forge チップ",
|
|
75
|
+
"es": "Chips de Forge",
|
|
76
|
+
"fr": "Pastilles Forge",
|
|
77
|
+
"de": "Forge-Chips",
|
|
78
|
+
"ru": "Кнопки Forge",
|
|
79
|
+
"pt": "Chips do Forge"
|
|
80
|
+
},
|
|
81
|
+
"description": {
|
|
82
|
+
"en": "Commit, push and create or view PRs from compact composer chips using Forge.",
|
|
83
|
+
"ko": "Forge와 연결된 입력창 칩으로 커밋·푸시·PR 생성과 조회를 실행합니다.",
|
|
84
|
+
"zh": "通过连接 Forge 的紧凑输入框按钮提交、推送、创建或查看 PR。",
|
|
85
|
+
"ja": "Forge と連携した入力欄のコンパクトなチップから、コミット、プッシュ、PR の作成や表示を行います。",
|
|
86
|
+
"es": "Haz commit, push y crea o consulta PR desde chips compactos en el cuadro de entrada con Forge.",
|
|
87
|
+
"fr": "Effectuez des commits et des push, créez ou consultez des PR depuis des pastilles compactes dans la zone de saisie avec Forge.",
|
|
88
|
+
"de": "Committen, pushen und PRs erstellen oder anzeigen – über kompakte Chips im Eingabefeld mit Forge.",
|
|
89
|
+
"ru": "Делайте коммиты, отправляйте изменения, создавайте и просматривайте PR с помощью компактных кнопок Forge в поле ввода.",
|
|
90
|
+
"pt": "Faça commit, push e crie ou veja PRs em chips compactos no campo de mensagem com o Forge."
|
|
91
|
+
},
|
|
92
|
+
"category": "ui",
|
|
93
|
+
"keywords": [
|
|
94
|
+
"forge",
|
|
95
|
+
"commit",
|
|
96
|
+
"pull-request",
|
|
97
|
+
"chip"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"scripts": {
|
|
101
|
+
"build": "tsdown",
|
|
102
|
+
"typecheck": "tsc --noEmit",
|
|
103
|
+
"test": "node --test test/*.test.mjs"
|
|
104
|
+
}
|
|
6
105
|
}
|
package/README.md
DELETED