@dsh-workbench/shared 0.2.1 → 0.2.3
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/dist/config/constants.d.ts +1 -0
- package/dist/config/constants.js +4 -0
- package/dist/i18n/en.js +3 -0
- package/dist/i18n/index.d.ts +4 -1
- package/dist/i18n/zh.d.ts +3 -0
- package/dist/i18n/zh.js +3 -0
- package/package.json +1 -1
- package/src/config/constants.ts +5 -0
- package/src/i18n/en.ts +4 -0
- package/src/i18n/zh.ts +4 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const PLUGIN_ID = "@dsh-workbench/core";
|
|
2
|
+
export declare const RELEASE_SIBLINGS: readonly ["@dsh-workbench/shared", "@dsh-workbench/module-tools"];
|
|
2
3
|
export declare const API_PREFIX = "/workbench/api";
|
|
3
4
|
export declare const PREFS_PREFIX = "/workbench/api/prefs";
|
|
4
5
|
export declare const EVENTS_PATH = "/workbench/events";
|
package/dist/config/constants.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export const PLUGIN_ID = "@dsh-workbench/core";
|
|
2
|
+
export const RELEASE_SIBLINGS = [
|
|
3
|
+
"@dsh-workbench/shared",
|
|
4
|
+
"@dsh-workbench/module-tools",
|
|
5
|
+
];
|
|
2
6
|
export const API_PREFIX = "/workbench/api";
|
|
3
7
|
export const PREFS_PREFIX = `${API_PREFIX}/prefs`;
|
|
4
8
|
export const EVENTS_PATH = "/workbench/events";
|
package/dist/i18n/en.js
CHANGED
|
@@ -12,6 +12,8 @@ export const en = {
|
|
|
12
12
|
'project.search.label': 'Search workspaces',
|
|
13
13
|
'project.search.placeholder': 'Search workspaces (folder / name / path)',
|
|
14
14
|
'project.search.empty': 'No workspace matches “{query}”.',
|
|
15
|
+
'project.group.workspaces': 'Workspaces',
|
|
16
|
+
'project.group.workshop': 'Workshop',
|
|
15
17
|
'project.rename.row': 'Rename “{name}”',
|
|
16
18
|
'project.rename.current': 'Give this workspace a display name…',
|
|
17
19
|
'project.rename.title': 'Give “{name}” a display name',
|
|
@@ -186,6 +188,7 @@ export const en = {
|
|
|
186
188
|
'panels.market.add.failureIntegrity': 'The downloaded package failed its integrity check',
|
|
187
189
|
'panels.market.add.failureTimeout': 'The install timed out',
|
|
188
190
|
'panels.market.add.failurePnpmMissing': 'pnpm was not found, cannot install',
|
|
191
|
+
'panels.market.add.failureInstalled': 'It is already in this profile: this dsh runs with hot reload, which refuses to install over the same package (remove it first) — and removing it failed too',
|
|
189
192
|
'panels.market.add.failureGeneric': 'Something went wrong during install — see the install details',
|
|
190
193
|
'panels.market.add.approveTitle': 'Your approval is needed for install scripts',
|
|
191
194
|
'panels.market.add.approveCaution': 'Only allow packages you trust: install scripts run on this machine with your permissions.',
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export declare const dictionaries: {
|
|
|
14
14
|
readonly 'project.search.label': "搜索工作区";
|
|
15
15
|
readonly 'project.search.placeholder': "搜索工作区(目录名 / 中文名 / 路径)";
|
|
16
16
|
readonly 'project.search.empty': "没有匹配「{query}」的工作区。";
|
|
17
|
+
readonly 'project.group.workspaces': "工作区";
|
|
18
|
+
readonly 'project.group.workshop': "工坊";
|
|
17
19
|
readonly 'project.rename.row': "改「{name}」的中文名";
|
|
18
20
|
readonly 'project.rename.current': "改当前工作区的中文名…";
|
|
19
21
|
readonly 'project.rename.title': "给「{name}」配一个中文名";
|
|
@@ -188,6 +190,7 @@ export declare const dictionaries: {
|
|
|
188
190
|
readonly 'panels.market.add.failureIntegrity': "下载的安装包校验失败";
|
|
189
191
|
readonly 'panels.market.add.failureTimeout': "安装超时";
|
|
190
192
|
readonly 'panels.market.add.failurePnpmMissing': "没有找到 pnpm,无法安装";
|
|
193
|
+
readonly 'panels.market.add.failureInstalled': "它已经在这份 profile 里了:这一版 dsh 开着热更新,同一个包不许就地覆盖装(得先卸载再装),而这次也没能把它卸下来";
|
|
191
194
|
readonly 'panels.market.add.failureGeneric': "安装过程中出错,原因见安装详情";
|
|
192
195
|
readonly 'panels.market.add.approveTitle': "需要你允许安装脚本";
|
|
193
196
|
readonly 'panels.market.add.approveCaution': "只允许你信得过的包:安装脚本会以你的权限在这台机器上运行。";
|
|
@@ -343,7 +346,7 @@ export declare const dictionaries: {
|
|
|
343
346
|
readonly 'panel.conversation': "对话";
|
|
344
347
|
readonly 'panels.label': "全局面板";
|
|
345
348
|
};
|
|
346
|
-
en: Record<"time.now" | "time.minutes" | "time.hours" | "time.days" | "blocker.retry" | "blocker.copy" | "blocker.unknown.title" | "blocker.login.go" | "blocker.login.titleGeneric" | "blocker.login.title" | "blocker.login.manual" | "blocker.login.hint" | "blocker.forbidden.open" | "blocker.forbidden.titleGeneric" | "blocker.forbidden.title" | "blocker.forbidden.hint" | "blocker.timeout.hint" | "blocker.exec.hint" | "blocker.fix.install" | "blocker.fix.update" | "blocker.market.open" | "env.unit.failed" | "env.unit.failedHint" | "env.unit.missingPlugin" | "env.unit.hint" | "env.unit.missingCommands" | "env.unit.missingCommandsHint" | "env.unit.unchecked" | "env.unit.uncheckedHint" | "brand.name" | "toggle.open" | "toggle.collapse" | "project.label" | "workspace.section" | "project.none" | "project.empty" | "project.add" | "project.add.busy" | "project.add.failed" | "project.search.label" | "project.search.placeholder" | "project.search.empty" | "project.rename.row" | "project.rename.current" | "project.rename.title" | "project.rename.description" | "project.rename.field" | "project.rename.placeholder" | "project.rename.hint" | "project.rename.save" | "project.rename.saving" | "project.rename.cancel" | "project.rename.failed" | "session.new" | "session.new.label" | "session.empty" | "session.noProject" | "session.pinned" | "session.actions" | "status.idle" | "status.running" | "status.waitingApproval" | "status.planReview" | "status.waitingAnswer" | "status.completed" | "status.subagentsRunning.one" | "status.subagentsRunning.other" | "panels.title" | "panels.groupBoardless" | "panels.groupPlugins" | "panels.market.defaultHint" | "panels.market.defaultLabel" | "panels.market.defaultLocked" | "panels.followAll" | "panels.followAllConfirmTitle" | "panels.followAllConfirmDetail" | "panels.followAllConfirmAck" | "panels.followAllConfirmYes" | "panels.followAllConfirmNo" | "panels.enabled" | "panels.disabled" | "panels.choose" | "panels.buildModule" | "panels.failed" | "panels.dragHint" | "panels.unknownStep" | "panels.labelWithHint" | "panels.dep.failed" | "panels.dep.missingPlugin" | "panels.dep.missingCommands" | "panels.dep.unchecked" | "panels.tab.modules" | "panels.tab.market" | "panels.browseMarket" | "panels.noneInstalled" | "panels.noneInstalledHint" | "panels.market.installed" | "panels.market.notActive" | "panels.market.notUsable" | "panels.market.broken" | "panels.market.hasNew" | "panels.market.missing" | "panels.market.unchecked" | "panels.market.checking" | "panels.market.sectionInstalled" | "panels.market.sectionPending" | "panels.market.sectionShared" | "panels.market.sharedUsedBy" | "panels.market.listSeparator" | "panels.market.sharedMissing" | "panels.market.sharedOutdated" | "panels.market.sharedUnsatisfied" | "panels.market.sharedOk" | "panels.market.versionArrow" | "panels.market.lead" | "panels.market.install" | "panels.market.update" | "panels.market.uninstall" | "panels.market.uninstallLabel" | "panels.market.installing" | "panels.market.updating" | "panels.market.uninstalling" | "panels.market.confirmUninstallTitle" | "panels.market.confirmUninstallDetail" | "panels.market.confirmUninstallAck" | "panels.market.confirmYes" | "panels.market.confirmNo" | "panels.market.failed" | "panels.market.needEnv" | "panels.market.needCommands" | "panels.market.localMark" | "panels.market.localHint" | "panels.market.noSource" | "panels.market.badSource" | "panels.market.empty" | "panels.market.sectionPlugins" | "panels.market.moduleOutdated" | "panels.market.moduleRefused" | "panels.market.moduleRefusedDetail" | "panels.market.moduleRestartHint" | "panels.market.workbenchName" | "panels.market.workbenchLocal" | "panels.market.pluginKeptInUse" | "panels.market.pluginKeptUnsure" | "panels.market.pluginKeptHeld" | "panels.market.pluginKeptUnnamed" | "panels.market.pluginBroken" | "panels.market.restartNeeded" | "panels.market.foot" | "panels.market.recheck" | "panels.market.checkUpdates" | "panels.market.checkedAt" | "panels.market.justNow" | "panels.market.minutesAgo" | "panels.market.hoursAgo" | "panels.market.add.description" | "panels.market.add.specPlaceholder" | "panels.market.add.guideToggle" | "panels.market.add.guideHide" | "panels.market.add.guideIdTitle" | "panels.market.add.guideIdExample" | "panels.market.add.guideIdHint" | "panels.market.add.guideGitTitle" | "panels.market.add.guideGitExample" | "panels.market.add.guideGitHint" | "panels.market.add.guidePathTitle" | "panels.market.add.guidePathExample" | "panels.market.add.guidePathHint" | "panels.market.add.guideExampleLabel" | "panels.market.add.guideFill" | "panels.market.add.guideSafety" | "panels.market.add.registryLegend" | "panels.market.add.registryOfficial" | "panels.market.add.registryMirror" | "panels.market.add.registryWithHost" | "panels.market.add.registryToggle" | "panels.market.add.installVersion" | "panels.market.add.registryDefault" | "panels.market.add.registryCustom" | "panels.market.add.registryCustomPlaceholder" | "panels.market.add.registryCustomHint" | "panels.market.add.registryCustomInvalid" | "panels.market.add.run" | "panels.market.add.edit" | "panels.market.add.changeRegistry" | "panels.market.add.installingTitle" | "panels.market.add.installedTitle" | "panels.market.add.failedTitle" | "panels.market.add.cancelledTitle" | "panels.market.add.failureNetworkHost" | "panels.market.add.problemInvalid" | "panels.market.add.problemInstalled" | "panels.market.add.problemNotFound" | "panels.market.add.problemNotPackage" | "panels.market.add.problemNotBundle" | "panels.market.add.problemNotWorkbenchModule" | "panels.market.add.problemNotModuleOrPlugin" | "panels.market.add.failureNotModuleOrPlugin" | "panels.market.add.installedPlugin" | "panels.market.add.pluginPreview" | "panels.market.add.pluginAlias" | "panels.market.add.problemNetwork" | "panels.market.add.problemUnknown" | "panels.market.add.failureNetwork" | "panels.market.add.failureNotFound" | "panels.market.add.failureNoMatchingVersion" | "panels.market.add.failureDiskFull" | "panels.market.add.failurePermission" | "panels.market.add.failureBuildBlocked" | "panels.market.add.failureIntegrity" | "panels.market.add.failureTimeout" | "panels.market.add.failurePnpmMissing" | "panels.market.add.failureGeneric" | "panels.market.add.approveTitle" | "panels.market.add.approveCaution" | "panels.market.add.approveRun" | "panels.market.add.restart" | "panels.market.add.tookEffect" | "panels.market.add.details" | "panels.market.add.open" | "panels.market.add.title" | "panels.market.add.intro" | "panels.market.add.specLabel" | "panels.market.add.specHint" | "panels.market.add.exampleTitle" | "panels.market.add.exampleFill" | "panels.market.add.registryLabel" | "panels.market.add.registryProfile" | "panels.market.add.registryPnpm" | "panels.market.add.check" | "panels.market.add.checking" | "panels.market.add.classifying" | "panels.market.add.change" | "panels.market.add.previewTitle" | "panels.market.add.fieldName" | "panels.market.add.fieldVersion" | "panels.market.add.fieldDescription" | "panels.market.add.fieldSource" | "panels.market.add.install" | "panels.market.add.installing" | "panels.market.add.cancel" | "panels.market.add.close" | "panels.market.add.retry" | "panels.market.add.changeSource" | "panels.market.add.approveBuilds" | "panels.market.add.approveHint" | "panels.market.add.doneApplied" | "panels.market.add.doneRestart" | "panels.market.add.cancelled" | "panels.market.add.failed" | "panels.market.add.removed" | "panels.market.add.supplyPending" | "panels.market.add.supplyFailed" | "panels.market.add.notModule" | "panels.market.add.removedRestart" | "panels.market.add.remove" | "panels.market.add.problem.invalidSpec" | "panels.market.add.problem.alreadyInstalled" | "panels.market.add.problem.notFound" | "panels.market.add.problem.notAPackage" | "panels.market.add.problem.notABundle" | "panels.market.add.problem.network" | "panels.market.add.problem.unknown" | "panels.market.add.reason.invalidSpec" | "panels.market.add.reason.incompatible" | "panels.market.add.reason.notBundle" | "panels.market.add.reason.notRemovable" | "panels.market.add.reason.bundleInUse" | "panels.market.add.reason.stopProfile" | "panels.market.add.reason.staleApproval" | "panels.market.add.reason.operationError" | "panels.market.add.reason.buildBlocked" | "panels.market.add.reason.pnpmMissing" | "panels.market.add.reason.noMatchingVersion" | "panels.market.add.reason.diskFull" | "panels.market.add.reason.permission" | "panels.market.add.reason.integrity" | "panels.market.add.reason.timeout" | "panels.market.add.reason.network" | "panels.market.add.reason.notFound" | "panels.market.add.reason.unknown" | "blocker.fix.running" | "blocker.fix.failed" | "blocker.retry.running" | "panels.reading" | "panels.cardBroken" | "panels.cardRetry" | "panels.empty" | "panels.emptyHint" | "env.title" | "env.checking" | "env.installing" | "env.failed" | "env.elapsed" | "env.stepFailed.install" | "env.stepFailed.path" | "env.stepFailed.shell" | "env.bridge.ok" | "env.bridge.short" | "env.bridge.why" | "env.bridge.daemon" | "env.bridge.extension" | "env.bridge.extensionLink" | "env.bridge.profile" | "env.bridge.stale" | "env.bridge.unknown" | "env.fix.title" | "env.fix.why" | "env.fix.whyPath" | "env.fix.whyShell" | "env.fix.step" | "env.fix.stepPath" | "env.fix.stepShell" | "env.fix.permission" | "env.fix.network" | "env.fix.details" | "env.retry" | "env.copyCommand" | "env.copied" | "env.step.opencli" | "env.step.codingPlugin" | "env.step.bridge" | "env.step.warm" | "env.warm.done" | "env.warm.short" | "rightbar.label" | "rightbar.expand" | "rightbar.collapse" | "rightbar.column.label" | "rightbar.column.workbench" | "rightbar.column.dsh" | "rightbar.refresh" | "rightbar.refreshing" | "rightbar.updatedAt" | "rightbar.noProject" | "rightbar.openPlatform" | "coding.notARepo.title" | "error.unknown" | "board.title" | "panel.conversation" | "panels.label", string>;
|
|
349
|
+
en: Record<"time.now" | "time.minutes" | "time.hours" | "time.days" | "blocker.retry" | "blocker.copy" | "blocker.unknown.title" | "blocker.login.go" | "blocker.login.titleGeneric" | "blocker.login.title" | "blocker.login.manual" | "blocker.login.hint" | "blocker.forbidden.open" | "blocker.forbidden.titleGeneric" | "blocker.forbidden.title" | "blocker.forbidden.hint" | "blocker.timeout.hint" | "blocker.exec.hint" | "blocker.fix.install" | "blocker.fix.update" | "blocker.market.open" | "env.unit.failed" | "env.unit.failedHint" | "env.unit.missingPlugin" | "env.unit.hint" | "env.unit.missingCommands" | "env.unit.missingCommandsHint" | "env.unit.unchecked" | "env.unit.uncheckedHint" | "brand.name" | "toggle.open" | "toggle.collapse" | "project.label" | "workspace.section" | "project.none" | "project.empty" | "project.add" | "project.add.busy" | "project.add.failed" | "project.search.label" | "project.search.placeholder" | "project.search.empty" | "project.group.workspaces" | "project.group.workshop" | "project.rename.row" | "project.rename.current" | "project.rename.title" | "project.rename.description" | "project.rename.field" | "project.rename.placeholder" | "project.rename.hint" | "project.rename.save" | "project.rename.saving" | "project.rename.cancel" | "project.rename.failed" | "session.new" | "session.new.label" | "session.empty" | "session.noProject" | "session.pinned" | "session.actions" | "status.idle" | "status.running" | "status.waitingApproval" | "status.planReview" | "status.waitingAnswer" | "status.completed" | "status.subagentsRunning.one" | "status.subagentsRunning.other" | "panels.title" | "panels.groupBoardless" | "panels.groupPlugins" | "panels.market.defaultHint" | "panels.market.defaultLabel" | "panels.market.defaultLocked" | "panels.followAll" | "panels.followAllConfirmTitle" | "panels.followAllConfirmDetail" | "panels.followAllConfirmAck" | "panels.followAllConfirmYes" | "panels.followAllConfirmNo" | "panels.enabled" | "panels.disabled" | "panels.choose" | "panels.buildModule" | "panels.failed" | "panels.dragHint" | "panels.unknownStep" | "panels.labelWithHint" | "panels.dep.failed" | "panels.dep.missingPlugin" | "panels.dep.missingCommands" | "panels.dep.unchecked" | "panels.tab.modules" | "panels.tab.market" | "panels.browseMarket" | "panels.noneInstalled" | "panels.noneInstalledHint" | "panels.market.installed" | "panels.market.notActive" | "panels.market.notUsable" | "panels.market.broken" | "panels.market.hasNew" | "panels.market.missing" | "panels.market.unchecked" | "panels.market.checking" | "panels.market.sectionInstalled" | "panels.market.sectionPending" | "panels.market.sectionShared" | "panels.market.sharedUsedBy" | "panels.market.listSeparator" | "panels.market.sharedMissing" | "panels.market.sharedOutdated" | "panels.market.sharedUnsatisfied" | "panels.market.sharedOk" | "panels.market.versionArrow" | "panels.market.lead" | "panels.market.install" | "panels.market.update" | "panels.market.uninstall" | "panels.market.uninstallLabel" | "panels.market.installing" | "panels.market.updating" | "panels.market.uninstalling" | "panels.market.confirmUninstallTitle" | "panels.market.confirmUninstallDetail" | "panels.market.confirmUninstallAck" | "panels.market.confirmYes" | "panels.market.confirmNo" | "panels.market.failed" | "panels.market.needEnv" | "panels.market.needCommands" | "panels.market.localMark" | "panels.market.localHint" | "panels.market.noSource" | "panels.market.badSource" | "panels.market.empty" | "panels.market.sectionPlugins" | "panels.market.moduleOutdated" | "panels.market.moduleRefused" | "panels.market.moduleRefusedDetail" | "panels.market.moduleRestartHint" | "panels.market.workbenchName" | "panels.market.workbenchLocal" | "panels.market.pluginKeptInUse" | "panels.market.pluginKeptUnsure" | "panels.market.pluginKeptHeld" | "panels.market.pluginKeptUnnamed" | "panels.market.pluginBroken" | "panels.market.restartNeeded" | "panels.market.foot" | "panels.market.recheck" | "panels.market.checkUpdates" | "panels.market.checkedAt" | "panels.market.justNow" | "panels.market.minutesAgo" | "panels.market.hoursAgo" | "panels.market.add.description" | "panels.market.add.specPlaceholder" | "panels.market.add.guideToggle" | "panels.market.add.guideHide" | "panels.market.add.guideIdTitle" | "panels.market.add.guideIdExample" | "panels.market.add.guideIdHint" | "panels.market.add.guideGitTitle" | "panels.market.add.guideGitExample" | "panels.market.add.guideGitHint" | "panels.market.add.guidePathTitle" | "panels.market.add.guidePathExample" | "panels.market.add.guidePathHint" | "panels.market.add.guideExampleLabel" | "panels.market.add.guideFill" | "panels.market.add.guideSafety" | "panels.market.add.registryLegend" | "panels.market.add.registryOfficial" | "panels.market.add.registryMirror" | "panels.market.add.registryWithHost" | "panels.market.add.registryToggle" | "panels.market.add.installVersion" | "panels.market.add.registryDefault" | "panels.market.add.registryCustom" | "panels.market.add.registryCustomPlaceholder" | "panels.market.add.registryCustomHint" | "panels.market.add.registryCustomInvalid" | "panels.market.add.run" | "panels.market.add.edit" | "panels.market.add.changeRegistry" | "panels.market.add.installingTitle" | "panels.market.add.installedTitle" | "panels.market.add.failedTitle" | "panels.market.add.cancelledTitle" | "panels.market.add.failureNetworkHost" | "panels.market.add.problemInvalid" | "panels.market.add.problemInstalled" | "panels.market.add.problemNotFound" | "panels.market.add.problemNotPackage" | "panels.market.add.problemNotBundle" | "panels.market.add.problemNotWorkbenchModule" | "panels.market.add.problemNotModuleOrPlugin" | "panels.market.add.failureNotModuleOrPlugin" | "panels.market.add.installedPlugin" | "panels.market.add.pluginPreview" | "panels.market.add.pluginAlias" | "panels.market.add.problemNetwork" | "panels.market.add.problemUnknown" | "panels.market.add.failureNetwork" | "panels.market.add.failureNotFound" | "panels.market.add.failureNoMatchingVersion" | "panels.market.add.failureDiskFull" | "panels.market.add.failurePermission" | "panels.market.add.failureBuildBlocked" | "panels.market.add.failureIntegrity" | "panels.market.add.failureTimeout" | "panels.market.add.failurePnpmMissing" | "panels.market.add.failureInstalled" | "panels.market.add.failureGeneric" | "panels.market.add.approveTitle" | "panels.market.add.approveCaution" | "panels.market.add.approveRun" | "panels.market.add.restart" | "panels.market.add.tookEffect" | "panels.market.add.details" | "panels.market.add.open" | "panels.market.add.title" | "panels.market.add.intro" | "panels.market.add.specLabel" | "panels.market.add.specHint" | "panels.market.add.exampleTitle" | "panels.market.add.exampleFill" | "panels.market.add.registryLabel" | "panels.market.add.registryProfile" | "panels.market.add.registryPnpm" | "panels.market.add.check" | "panels.market.add.checking" | "panels.market.add.classifying" | "panels.market.add.change" | "panels.market.add.previewTitle" | "panels.market.add.fieldName" | "panels.market.add.fieldVersion" | "panels.market.add.fieldDescription" | "panels.market.add.fieldSource" | "panels.market.add.install" | "panels.market.add.installing" | "panels.market.add.cancel" | "panels.market.add.close" | "panels.market.add.retry" | "panels.market.add.changeSource" | "panels.market.add.approveBuilds" | "panels.market.add.approveHint" | "panels.market.add.doneApplied" | "panels.market.add.doneRestart" | "panels.market.add.cancelled" | "panels.market.add.failed" | "panels.market.add.removed" | "panels.market.add.supplyPending" | "panels.market.add.supplyFailed" | "panels.market.add.notModule" | "panels.market.add.removedRestart" | "panels.market.add.remove" | "panels.market.add.problem.invalidSpec" | "panels.market.add.problem.alreadyInstalled" | "panels.market.add.problem.notFound" | "panels.market.add.problem.notAPackage" | "panels.market.add.problem.notABundle" | "panels.market.add.problem.network" | "panels.market.add.problem.unknown" | "panels.market.add.reason.invalidSpec" | "panels.market.add.reason.incompatible" | "panels.market.add.reason.notBundle" | "panels.market.add.reason.notRemovable" | "panels.market.add.reason.bundleInUse" | "panels.market.add.reason.stopProfile" | "panels.market.add.reason.staleApproval" | "panels.market.add.reason.operationError" | "panels.market.add.reason.buildBlocked" | "panels.market.add.reason.pnpmMissing" | "panels.market.add.reason.noMatchingVersion" | "panels.market.add.reason.diskFull" | "panels.market.add.reason.permission" | "panels.market.add.reason.integrity" | "panels.market.add.reason.timeout" | "panels.market.add.reason.network" | "panels.market.add.reason.notFound" | "panels.market.add.reason.unknown" | "blocker.fix.running" | "blocker.fix.failed" | "blocker.retry.running" | "panels.reading" | "panels.cardBroken" | "panels.cardRetry" | "panels.empty" | "panels.emptyHint" | "env.title" | "env.checking" | "env.installing" | "env.failed" | "env.elapsed" | "env.stepFailed.install" | "env.stepFailed.path" | "env.stepFailed.shell" | "env.bridge.ok" | "env.bridge.short" | "env.bridge.why" | "env.bridge.daemon" | "env.bridge.extension" | "env.bridge.extensionLink" | "env.bridge.profile" | "env.bridge.stale" | "env.bridge.unknown" | "env.fix.title" | "env.fix.why" | "env.fix.whyPath" | "env.fix.whyShell" | "env.fix.step" | "env.fix.stepPath" | "env.fix.stepShell" | "env.fix.permission" | "env.fix.network" | "env.fix.details" | "env.retry" | "env.copyCommand" | "env.copied" | "env.step.opencli" | "env.step.codingPlugin" | "env.step.bridge" | "env.step.warm" | "env.warm.done" | "env.warm.short" | "rightbar.label" | "rightbar.expand" | "rightbar.collapse" | "rightbar.column.label" | "rightbar.column.workbench" | "rightbar.column.dsh" | "rightbar.refresh" | "rightbar.refreshing" | "rightbar.updatedAt" | "rightbar.noProject" | "rightbar.openPlatform" | "coding.notARepo.title" | "error.unknown" | "board.title" | "panel.conversation" | "panels.label", string>;
|
|
347
350
|
};
|
|
348
351
|
export type { WorkbenchMessages };
|
|
349
352
|
export interface Dictionaries {
|
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export declare const zh: {
|
|
|
12
12
|
readonly 'project.search.label': "搜索工作区";
|
|
13
13
|
readonly 'project.search.placeholder': "搜索工作区(目录名 / 中文名 / 路径)";
|
|
14
14
|
readonly 'project.search.empty': "没有匹配「{query}」的工作区。";
|
|
15
|
+
readonly 'project.group.workspaces': "工作区";
|
|
16
|
+
readonly 'project.group.workshop': "工坊";
|
|
15
17
|
readonly 'project.rename.row': "改「{name}」的中文名";
|
|
16
18
|
readonly 'project.rename.current': "改当前工作区的中文名…";
|
|
17
19
|
readonly 'project.rename.title': "给「{name}」配一个中文名";
|
|
@@ -186,6 +188,7 @@ export declare const zh: {
|
|
|
186
188
|
readonly 'panels.market.add.failureIntegrity': "下载的安装包校验失败";
|
|
187
189
|
readonly 'panels.market.add.failureTimeout': "安装超时";
|
|
188
190
|
readonly 'panels.market.add.failurePnpmMissing': "没有找到 pnpm,无法安装";
|
|
191
|
+
readonly 'panels.market.add.failureInstalled': "它已经在这份 profile 里了:这一版 dsh 开着热更新,同一个包不许就地覆盖装(得先卸载再装),而这次也没能把它卸下来";
|
|
189
192
|
readonly 'panels.market.add.failureGeneric': "安装过程中出错,原因见安装详情";
|
|
190
193
|
readonly 'panels.market.add.approveTitle': "需要你允许安装脚本";
|
|
191
194
|
readonly 'panels.market.add.approveCaution': "只允许你信得过的包:安装脚本会以你的权限在这台机器上运行。";
|
package/dist/i18n/zh.js
CHANGED
|
@@ -12,6 +12,8 @@ export const zh = {
|
|
|
12
12
|
'project.search.label': '搜索工作区',
|
|
13
13
|
'project.search.placeholder': '搜索工作区(目录名 / 中文名 / 路径)',
|
|
14
14
|
'project.search.empty': '没有匹配「{query}」的工作区。',
|
|
15
|
+
'project.group.workspaces': '工作区',
|
|
16
|
+
'project.group.workshop': '工坊',
|
|
15
17
|
'project.rename.row': '改「{name}」的中文名',
|
|
16
18
|
'project.rename.current': '改当前工作区的中文名…',
|
|
17
19
|
'project.rename.title': '给「{name}」配一个中文名',
|
|
@@ -186,6 +188,7 @@ export const zh = {
|
|
|
186
188
|
'panels.market.add.failureIntegrity': '下载的安装包校验失败',
|
|
187
189
|
'panels.market.add.failureTimeout': '安装超时',
|
|
188
190
|
'panels.market.add.failurePnpmMissing': '没有找到 pnpm,无法安装',
|
|
191
|
+
'panels.market.add.failureInstalled': '它已经在这份 profile 里了:这一版 dsh 开着热更新,同一个包不许就地覆盖装(得先卸载再装),而这次也没能把它卸下来',
|
|
189
192
|
'panels.market.add.failureGeneric': '安装过程中出错,原因见安装详情',
|
|
190
193
|
'panels.market.add.approveTitle': '需要你允许安装脚本',
|
|
191
194
|
'panels.market.add.approveCaution': '只允许你信得过的包:安装脚本会以你的权限在这台机器上运行。',
|
package/package.json
CHANGED
package/src/config/constants.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export const PLUGIN_ID = "@dsh-workbench/core";
|
|
2
2
|
|
|
3
|
+
export const RELEASE_SIBLINGS = [
|
|
4
|
+
"@dsh-workbench/shared",
|
|
5
|
+
"@dsh-workbench/module-tools",
|
|
6
|
+
] as const;
|
|
7
|
+
|
|
3
8
|
export const API_PREFIX = "/workbench/api";
|
|
4
9
|
|
|
5
10
|
export const PREFS_PREFIX = `${API_PREFIX}/prefs`;
|
package/src/i18n/en.ts
CHANGED
|
@@ -15,6 +15,8 @@ export const en: Record<keyof WorkbenchMessages, string> = {
|
|
|
15
15
|
'project.search.label': 'Search workspaces',
|
|
16
16
|
'project.search.placeholder': 'Search workspaces (folder / name / path)',
|
|
17
17
|
'project.search.empty': 'No workspace matches “{query}”.',
|
|
18
|
+
'project.group.workspaces': 'Workspaces',
|
|
19
|
+
'project.group.workshop': 'Workshop',
|
|
18
20
|
'project.rename.row': 'Rename “{name}”',
|
|
19
21
|
'project.rename.current': 'Give this workspace a display name…',
|
|
20
22
|
'project.rename.title': 'Give “{name}” a display name',
|
|
@@ -195,6 +197,8 @@ export const en: Record<keyof WorkbenchMessages, string> = {
|
|
|
195
197
|
'panels.market.add.failureIntegrity': 'The downloaded package failed its integrity check',
|
|
196
198
|
'panels.market.add.failureTimeout': 'The install timed out',
|
|
197
199
|
'panels.market.add.failurePnpmMissing': 'pnpm was not found, cannot install',
|
|
200
|
+
'panels.market.add.failureInstalled':
|
|
201
|
+
'It is already in this profile: this dsh runs with hot reload, which refuses to install over the same package (remove it first) — and removing it failed too',
|
|
198
202
|
'panels.market.add.failureGeneric': 'Something went wrong during install — see the install details',
|
|
199
203
|
'panels.market.add.approveTitle': 'Your approval is needed for install scripts',
|
|
200
204
|
'panels.market.add.approveCaution': 'Only allow packages you trust: install scripts run on this machine with your permissions.',
|
package/src/i18n/zh.ts
CHANGED
|
@@ -13,6 +13,8 @@ export const zh = {
|
|
|
13
13
|
'project.search.label': '搜索工作区',
|
|
14
14
|
'project.search.placeholder': '搜索工作区(目录名 / 中文名 / 路径)',
|
|
15
15
|
'project.search.empty': '没有匹配「{query}」的工作区。',
|
|
16
|
+
'project.group.workspaces': '工作区',
|
|
17
|
+
'project.group.workshop': '工坊',
|
|
16
18
|
'project.rename.row': '改「{name}」的中文名',
|
|
17
19
|
'project.rename.current': '改当前工作区的中文名…',
|
|
18
20
|
'project.rename.title': '给「{name}」配一个中文名',
|
|
@@ -191,6 +193,8 @@ export const zh = {
|
|
|
191
193
|
'panels.market.add.failureIntegrity': '下载的安装包校验失败',
|
|
192
194
|
'panels.market.add.failureTimeout': '安装超时',
|
|
193
195
|
'panels.market.add.failurePnpmMissing': '没有找到 pnpm,无法安装',
|
|
196
|
+
'panels.market.add.failureInstalled':
|
|
197
|
+
'它已经在这份 profile 里了:这一版 dsh 开着热更新,同一个包不许就地覆盖装(得先卸载再装),而这次也没能把它卸下来',
|
|
194
198
|
'panels.market.add.failureGeneric': '安装过程中出错,原因见安装详情',
|
|
195
199
|
'panels.market.add.approveTitle': '需要你允许安装脚本',
|
|
196
200
|
'panels.market.add.approveCaution': '只允许你信得过的包:安装脚本会以你的权限在这台机器上运行。',
|