feat: add OpenCode update and in-app Browser features

This commit is contained in:
Bohdan Triapitsyn
2026-05-14 14:45:04 +03:00
parent 92f1fa7dfe
commit a12be061e3
18 changed files with 1006 additions and 17 deletions
+19
View File
@@ -751,6 +751,11 @@ export const dict = {
'contextPanel.mode.plan': 'Plan',
'contextPanel.mode.context': 'Context',
'contextPanel.mode.preview': 'Preview',
'contextPanel.mode.browser': 'Browser',
'contextPanel.browser.open': 'Open browser panel',
'contextPanel.browser.addressAria': 'Browser address',
'contextPanel.browser.empty': 'Web browser',
'contextPanel.browser.emptyHint': 'Enter an address above to start browsing the web',
'contextPanel.tab.closeTabAria': 'Close {label} tab',
'contextPanel.actions.collapsePanel': 'Collapse panel',
'contextPanel.actions.expandPanel': 'Expand panel',
@@ -1149,6 +1154,8 @@ export const dict = {
'directoryTree.section.pinned': 'Pinned',
'directoryTree.section.browse': 'Browse',
'aboutDialog.versionLabel': 'Version {version}',
'aboutDialog.openChamberVersionLabel': 'OpenChamber version {version}',
'aboutDialog.openCodeVersionLabel': 'OpenCode version {version}',
'aboutDialog.actions.copyDiagnostics': 'Copy diagnostics',
'aboutDialog.actions.preparingDiagnostics': 'Preparing diagnostics...',
'aboutDialog.actions.diagnosticsCopied': 'Diagnostics copied',
@@ -2149,6 +2156,18 @@ export const dict = {
'updateDialog.status.updating': 'Updating...',
'updateDialog.error.updateFailed': 'Update failed',
'updateDialog.error.takingLonger': 'Update is taking longer than expected. Wait a bit and refresh, or run: openchamber update',
'opencodeUpdate.toast.available.title': 'OpenCode update available',
'opencodeUpdate.toast.available.description': 'Version {version} is ready to install.',
'opencodeUpdate.toast.actions.update': 'Update',
'opencodeUpdate.toast.actions.reload': 'Reload OpenCode',
'opencodeUpdate.toast.upgrading.title': 'Updating OpenCode...',
'opencodeUpdate.toast.upgrading.description': 'Keep OpenChamber open.',
'opencodeUpdate.toast.updated.title': 'OpenCode updated',
'opencodeUpdate.toast.updated.description': 'Reload OpenCode to start using the updated version.',
'opencodeUpdate.toast.updated.descriptionWithVersion': 'Version {version} is installed. Reload OpenCode to use it.',
'opencodeUpdate.toast.failed.title': 'Could not update OpenCode',
'opencodeUpdate.toast.failed.description': 'The OpenCode upgrade failed.',
'opencodeUpdate.toast.reload.message': 'Restarting OpenCode...',
'memoryDebugPanel.title': 'Debug Panel',
'memoryDebugPanel.tabs.memory': 'Memory',
'memoryDebugPanel.tabs.streaming': 'Streaming',