@goodandready/dsh-russian-lang 0.2.23 → 0.2.25
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/README.md +1 -1
- package/README.ru.md +1 -1
- package/lib/client.js +12 -12
- package/lib/locales/core.json +1 -1
- package/lib/locales/plugins/08-vision-bridge.json +1 -0
- package/lib/locales/plugins/15-commandcode.json +1 -1
- package/lib/locales/plugins/17-dsh-context.json +1 -1
- package/lib/locales/plugins/22-remote-workspace.json +1 -0
- package/lib/locales/plugins/24-live-canvas.json +1 -0
- package/lib/locales/plugins/27-context-lens.json +1 -0
- package/lib/locales/plugins/32-vision-bridge.json +1 -1
- package/lib/locales/plugins/33-session-control.json +1 -0
- package/lib/locales/plugins/36-cost-meter.json +1 -1
- package/lib/locales/plugins/37-time-machine.json +1 -1
- package/lib/locales/plugins/38-model-sync.json +1 -0
- package/lib/locales/plugins/44-goal.json +1 -0
- package/lib/locales/plugins/46-memory-brain.json +1 -1
- package/lib/locales/plugins/49-dsml-guard.json +1 -0
- package/lib/locales.js +3 -3
- package/lib/translator.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<h3>Полная русская локализация, умная типографика и исправление раскладки клавиатуры для DeepSeek Harness</h3>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<a href="https://www.npmjs.com/package/@goodandready/dsh-russian-lang"><img src="https://img.shields.io/badge/npm-v0.2.
|
|
8
|
+
<a href="https://www.npmjs.com/package/@goodandready/dsh-russian-lang"><img src="https://img.shields.io/badge/npm-v0.2.24-6366f1.svg?style=for-the-badge&labelColor=1e1b4b" alt="npm version"></a>
|
|
9
9
|
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-10b981.svg?style=for-the-badge&color=10b981&labelColor=064e3b" alt="license"></a>
|
|
10
10
|
<a href="https://github.com/topics/dsh-plugin"><img src="https://img.shields.io/badge/DSH-Plugin-8b5cf6.svg?style=for-the-badge&labelColor=2e1065" alt="DSH Plugin"></a>
|
|
11
11
|
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node-20%2B-f59e0b.svg?style=for-the-badge&labelColor=451a03" alt="Node version"></a>
|
package/README.ru.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<h3>Полная русская локализация, умная типографика и исправление раскладки клавиатуры для DeepSeek Harness</h3>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<a href="https://www.npmjs.com/package/@goodandready/dsh-russian-lang"><img src="https://img.shields.io/badge/npm-v0.2.
|
|
8
|
+
<a href="https://www.npmjs.com/package/@goodandready/dsh-russian-lang"><img src="https://img.shields.io/badge/npm-v0.2.24-6366f1.svg?style=for-the-badge&labelColor=1e1b4b" alt="npm version"></a>
|
|
9
9
|
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-10b981.svg?style=for-the-badge&color=10b981&labelColor=064e3b" alt="license"></a>
|
|
10
10
|
<a href="https://github.com/topics/dsh-plugin"><img src="https://img.shields.io/badge/DSH-Plugin-8b5cf6.svg?style=for-the-badge&labelColor=2e1065" alt="DSH Plugin"></a>
|
|
11
11
|
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node-20%2B-f59e0b.svg?style=for-the-badge&labelColor=451a03" alt="Node version"></a>
|
package/lib/client.js
CHANGED
|
@@ -1062,7 +1062,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1062
1062
|
if (range.intersectsNode ? range.intersectsNode(node) : (sel.containsNode && sel.containsNode(node, true))) {
|
|
1063
1063
|
return
|
|
1064
1064
|
}
|
|
1065
|
-
} catch (e) {}
|
|
1065
|
+
} catch (e) { /* bestEffort */ void e; }
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
1068
|
let after = typoQuotes(before)
|
|
@@ -1153,7 +1153,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1153
1153
|
if (propsKey && el[propsKey] && typeof el[propsKey].onChange === 'function') {
|
|
1154
1154
|
el[propsKey].onChange({ target: el, currentTarget: el })
|
|
1155
1155
|
}
|
|
1156
|
-
} catch (e) {}
|
|
1156
|
+
} catch (e) { /* bestEffort */ void e; }
|
|
1157
1157
|
|
|
1158
1158
|
try {
|
|
1159
1159
|
el.dispatchEvent(new InputEvent('input', { bubbles: true, composed: true }))
|
|
@@ -1164,7 +1164,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1164
1164
|
|
|
1165
1165
|
if (typeof cursorStart === 'number' && typeof el.setSelectionRange === 'function') {
|
|
1166
1166
|
const end = typeof cursorEnd === 'number' ? cursorEnd : cursorStart
|
|
1167
|
-
try { el.setSelectionRange(cursorStart, end) } catch (e) {}
|
|
1167
|
+
try { el.setSelectionRange(cursorStart, end) } catch (e) { /* bestEffort */ void e; }
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
@@ -1234,7 +1234,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1234
1234
|
sel.removeAllRanges()
|
|
1235
1235
|
sel.addRange(range)
|
|
1236
1236
|
}
|
|
1237
|
-
} catch (e) {}
|
|
1237
|
+
} catch (e) { /* bestEffort */ void e; }
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
1240
|
const isCaretInCode = (el, value, caretOffset) => {
|
|
@@ -1286,7 +1286,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1286
1286
|
|
|
1287
1287
|
const targetOffset = typeof cursorStart === 'number' ? cursorStart : (initialOffset >= 0 ? Math.min(initialOffset, value.length) : value.length)
|
|
1288
1288
|
setCaretCharacterOffset(host, targetOffset)
|
|
1289
|
-
} catch (e) {}
|
|
1289
|
+
} catch (e) { /* bestEffort */ void e; }
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
1292
|
const layoutDismiss = () => {
|
|
@@ -1501,7 +1501,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
1503
|
}
|
|
1504
|
-
} catch (e) {}
|
|
1504
|
+
} catch (e) { /* bestEffort */ void e; }
|
|
1505
1505
|
}
|
|
1506
1506
|
ctx.effect(() => {
|
|
1507
1507
|
document.addEventListener('input', layoutOnInput, true)
|
|
@@ -1652,7 +1652,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1652
1652
|
a.click()
|
|
1653
1653
|
setDone(true)
|
|
1654
1654
|
setTimeout(() => {
|
|
1655
|
-
try { document.body.removeChild(a); URL.revokeObjectURL(url) } catch (e) {}
|
|
1655
|
+
try { document.body.removeChild(a); URL.revokeObjectURL(url) } catch (e) { /* bestEffort */ void e; }
|
|
1656
1656
|
}, 30000)
|
|
1657
1657
|
setTimeout(() => setDone(false), 2000)
|
|
1658
1658
|
} catch (err) {
|
|
@@ -1691,7 +1691,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1691
1691
|
const [loading, setLoading] = React.useState(false)
|
|
1692
1692
|
const [open, setOpen] = React.useState(false)
|
|
1693
1693
|
const [upStatus, setUpStatus] = React.useState({
|
|
1694
|
-
currentVersion: '0.2.
|
|
1694
|
+
currentVersion: '0.2.25',
|
|
1695
1695
|
latestVersion: undefined,
|
|
1696
1696
|
updateAvailable: false
|
|
1697
1697
|
})
|
|
@@ -1858,7 +1858,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
1858
1858
|
if (copyBtn) {
|
|
1859
1859
|
copyBtn.addEventListener('click', (e) => {
|
|
1860
1860
|
e.stopPropagation()
|
|
1861
|
-
try { navigator.clipboard.writeText(displayText) } catch (err) {}
|
|
1861
|
+
try { navigator.clipboard.writeText(displayText) } catch (err) { /* bestEffort */ void e; }
|
|
1862
1862
|
copyBtn.textContent = '✓ Скопировано'
|
|
1863
1863
|
setTimeout(() => { copyBtn.textContent = '📋 Копировать' }, 2000)
|
|
1864
1864
|
})
|
|
@@ -2056,7 +2056,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
2056
2056
|
React.createElement('label', { className: 'rl-item-label' },
|
|
2057
2057
|
checkbox(value.slashAliases !== false && ruActive,
|
|
2058
2058
|
(ev) => {
|
|
2059
|
-
try { scope.set('slashAliases', ev.target.checked) } catch (err) {}
|
|
2059
|
+
try { scope.set('slashAliases', ev.target.checked) } catch (err) { /* bestEffort */ void e; }
|
|
2060
2060
|
}, !ruActive || disabled),
|
|
2061
2061
|
t('slashAliases')
|
|
2062
2062
|
)
|
|
@@ -2132,7 +2132,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
2132
2132
|
React.createElement('div', { style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center', flexWrap: 'wrap', gap: '8px' } },
|
|
2133
2133
|
React.createElement('div', null,
|
|
2134
2134
|
React.createElement('div', { style: { fontWeight: 600, color: 'var(--dsw-alias-label-primary)' } },
|
|
2135
|
-
t('updaterCurrent').replace('{version}', upStatus.currentVersion || '0.2.
|
|
2135
|
+
t('updaterCurrent').replace('{version}', upStatus.currentVersion || '0.2.25')),
|
|
2136
2136
|
upStatus.updateAvailable
|
|
2137
2137
|
? React.createElement('div', { style: { color: 'var(--dsw-alias-color-warning, #eab308)', marginTop: '2px', fontWeight: 500 } },
|
|
2138
2138
|
t('updaterLatest').replace('{version}', upStatus.latestVersion || ''))
|
|
@@ -2245,7 +2245,7 @@ const exportSessionToMarkdown = (session, options = {}) => {
|
|
|
2245
2245
|
),
|
|
2246
2246
|
React.createElement('div', { className: 'rl-actions-row' },
|
|
2247
2247
|
React.createElement('a', {
|
|
2248
|
-
href: makeIssueUrl({}, '0.2.
|
|
2248
|
+
href: makeIssueUrl({}, '0.2.25'),
|
|
2249
2249
|
target: '_blank',
|
|
2250
2250
|
rel: 'noopener noreferrer',
|
|
2251
2251
|
className: 'rl-btn rl-btn-primary'
|