@dsh-workbench/core 0.2.3 → 0.2.5
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/client.js +272 -49
- package/dist/client/client.body.js +272 -49
- package/dist/client/index.js +273 -50
- package/dist/host/index.js +100 -32
- package/dist/types/app/client.d.ts +102 -21
- package/dist/types/modules/panels/__tests__/plugin-tool-units-harness.d.ts +69 -0
- package/dist/types/modules/sessions/index.d.ts +1 -0
- package/dist/types/modules/sessions/model/scroll-edges.d.ts +10 -0
- package/dist/types/modules/sessions/model/scroll-edges.test.d.ts +1 -0
- package/dist/types/modules/sessions/model/session-node.d.ts +1 -0
- package/dist/types/shared/api/host/plugin-catalog.d.ts +5 -0
- package/dist/types/shared/api/host/plugin-tools.d.ts +5 -1
- package/dist/types/shared/api/host/plugin-units.d.ts +1 -0
- package/package.json +2 -2
|
@@ -221,20 +221,32 @@ export declare const kit: {
|
|
|
221
221
|
readonly "session.new.label": "\u5728\u5F53\u524D\u9879\u76EE\u65B0\u5EFA\u4F1A\u8BDD";
|
|
222
222
|
readonly "session.empty": "\u8FD9\u4E2A\u9879\u76EE\u8FD8\u6CA1\u6709\u4F1A\u8BDD\u3002";
|
|
223
223
|
readonly "session.noProject": "\u5148\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u3002";
|
|
224
|
+
readonly "session.list.label": "\u4F1A\u8BDD";
|
|
225
|
+
readonly "session.copy": "\u590D\u5236";
|
|
224
226
|
readonly "session.pinned": "\u5DF2\u7F6E\u9876";
|
|
225
227
|
readonly "session.actions": "{name} \u7684\u64CD\u4F5C";
|
|
226
228
|
readonly "status.idle": "\u7A7A\u95F2";
|
|
227
|
-
readonly "status.running": "\
|
|
228
|
-
readonly "status.waitingApproval": "\u7B49\u5F85\
|
|
229
|
-
readonly "status.planReview": "\
|
|
229
|
+
readonly "status.running": "\u8FDB\u884C\u4E2D";
|
|
230
|
+
readonly "status.waitingApproval": "\u7B49\u5F85\u5BA1\u6279";
|
|
231
|
+
readonly "status.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
230
232
|
readonly "status.waitingAnswer": "\u7B49\u5F85\u56DE\u7B54";
|
|
233
|
+
readonly "status.compact.approval": "\u5F85\u5BA1\u6279";
|
|
234
|
+
readonly "status.compact.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
235
|
+
readonly "status.compact.answer": "\u5F85\u56DE\u7B54";
|
|
231
236
|
readonly "status.completed": "\u5DF2\u5B8C\u6210";
|
|
232
237
|
readonly "status.subagentsRunning.one": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
233
238
|
readonly "status.subagentsRunning.other": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
239
|
+
readonly "hover.copied": "\u5DF2\u590D\u5236";
|
|
234
240
|
readonly "time.now": "\u521A\u521A";
|
|
235
241
|
readonly "time.minutes": "{n} \u5206\u949F\u524D";
|
|
236
242
|
readonly "time.hours": "{n} \u5C0F\u65F6\u524D";
|
|
237
243
|
readonly "time.days": "{n} \u5929\u524D";
|
|
244
|
+
readonly "time.ago": "{t}\u524D";
|
|
245
|
+
readonly "time.short.minutes": "{n}\u5206\u949F";
|
|
246
|
+
readonly "time.short.hours": "{n}\u5C0F\u65F6";
|
|
247
|
+
readonly "time.short.days": "{n}\u5929";
|
|
248
|
+
readonly "time.short.months": "{n}\u4E2A\u6708";
|
|
249
|
+
readonly "time.short.years": "{n}\u5E74";
|
|
238
250
|
readonly "panels.title": "\u9762\u677F\u6A21\u5757";
|
|
239
251
|
readonly "panels.groupBoardless": "\u65E0\u770B\u677F\u6A21\u5757";
|
|
240
252
|
readonly "panels.groupPlugins": "opencli \u63D2\u4EF6";
|
|
@@ -536,7 +548,7 @@ export declare const kit: {
|
|
|
536
548
|
readonly "panel.conversation": "\u5BF9\u8BDD";
|
|
537
549
|
readonly "panels.label": "\u5168\u5C40\u9762\u677F";
|
|
538
550
|
};
|
|
539
|
-
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>;
|
|
551
|
+
en: Record<"time.now" | "time.ago" | "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.list.label" | "session.copy" | "session.pinned" | "session.actions" | "status.idle" | "status.running" | "status.waitingApproval" | "status.planReview" | "status.waitingAnswer" | "status.compact.approval" | "status.compact.planReview" | "status.compact.answer" | "status.completed" | "status.subagentsRunning.one" | "status.subagentsRunning.other" | "hover.copied" | "time.short.minutes" | "time.short.hours" | "time.short.days" | "time.short.months" | "time.short.years" | "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>;
|
|
540
552
|
};
|
|
541
553
|
mergeMessages(base: apiModule.Dictionaries, contributions: readonly MessagesContribution[]): apiModule.Dictionaries;
|
|
542
554
|
mergeMessagesSkipping(base: apiModule.Dictionaries, contributions: readonly MessagesContribution[]): apiModule.MessagesMerge;
|
|
@@ -571,20 +583,32 @@ export declare const kit: {
|
|
|
571
583
|
readonly "session.new.label": "\u5728\u5F53\u524D\u9879\u76EE\u65B0\u5EFA\u4F1A\u8BDD";
|
|
572
584
|
readonly "session.empty": "\u8FD9\u4E2A\u9879\u76EE\u8FD8\u6CA1\u6709\u4F1A\u8BDD\u3002";
|
|
573
585
|
readonly "session.noProject": "\u5148\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u3002";
|
|
586
|
+
readonly "session.list.label": "\u4F1A\u8BDD";
|
|
587
|
+
readonly "session.copy": "\u590D\u5236";
|
|
574
588
|
readonly "session.pinned": "\u5DF2\u7F6E\u9876";
|
|
575
589
|
readonly "session.actions": "{name} \u7684\u64CD\u4F5C";
|
|
576
590
|
readonly "status.idle": "\u7A7A\u95F2";
|
|
577
|
-
readonly "status.running": "\
|
|
578
|
-
readonly "status.waitingApproval": "\u7B49\u5F85\
|
|
579
|
-
readonly "status.planReview": "\
|
|
591
|
+
readonly "status.running": "\u8FDB\u884C\u4E2D";
|
|
592
|
+
readonly "status.waitingApproval": "\u7B49\u5F85\u5BA1\u6279";
|
|
593
|
+
readonly "status.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
580
594
|
readonly "status.waitingAnswer": "\u7B49\u5F85\u56DE\u7B54";
|
|
595
|
+
readonly "status.compact.approval": "\u5F85\u5BA1\u6279";
|
|
596
|
+
readonly "status.compact.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
597
|
+
readonly "status.compact.answer": "\u5F85\u56DE\u7B54";
|
|
581
598
|
readonly "status.completed": "\u5DF2\u5B8C\u6210";
|
|
582
599
|
readonly "status.subagentsRunning.one": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
583
600
|
readonly "status.subagentsRunning.other": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
601
|
+
readonly "hover.copied": "\u5DF2\u590D\u5236";
|
|
584
602
|
readonly "time.now": "\u521A\u521A";
|
|
585
603
|
readonly "time.minutes": "{n} \u5206\u949F\u524D";
|
|
586
604
|
readonly "time.hours": "{n} \u5C0F\u65F6\u524D";
|
|
587
605
|
readonly "time.days": "{n} \u5929\u524D";
|
|
606
|
+
readonly "time.ago": "{t}\u524D";
|
|
607
|
+
readonly "time.short.minutes": "{n}\u5206\u949F";
|
|
608
|
+
readonly "time.short.hours": "{n}\u5C0F\u65F6";
|
|
609
|
+
readonly "time.short.days": "{n}\u5929";
|
|
610
|
+
readonly "time.short.months": "{n}\u4E2A\u6708";
|
|
611
|
+
readonly "time.short.years": "{n}\u5E74";
|
|
588
612
|
readonly "panels.title": "\u9762\u677F\u6A21\u5757";
|
|
589
613
|
readonly "panels.groupBoardless": "\u65E0\u770B\u677F\u6A21\u5757";
|
|
590
614
|
readonly "panels.groupPlugins": "opencli \u63D2\u4EF6";
|
|
@@ -912,6 +936,9 @@ export declare const kit: {
|
|
|
912
936
|
parseJsonLoose(text: string | null | undefined): unknown;
|
|
913
937
|
excerpt(text: string | null | undefined, limit?: number): string;
|
|
914
938
|
cx(...parts: Array<string | false | null | undefined>): string;
|
|
939
|
+
relativeTimeBucket(epochMs: number, now?: number): apiModule.RelativeTimeBucket | null;
|
|
940
|
+
relativeTimeCompact(epochMs: number, t: apiModule.TimeTranslate, now?: number): string;
|
|
941
|
+
relativeTimeAgo(epochMs: number, t: apiModule.TimeTranslate, now?: number): string;
|
|
915
942
|
relativeTime(epochMs: number, t: apiModule.TimeTranslate): string;
|
|
916
943
|
shortenPath(path: unknown): string;
|
|
917
944
|
parseLocalTimestamp(text: string | null | undefined): number;
|
|
@@ -1085,20 +1112,32 @@ export declare const kit: {
|
|
|
1085
1112
|
readonly "session.new.label": "\u5728\u5F53\u524D\u9879\u76EE\u65B0\u5EFA\u4F1A\u8BDD";
|
|
1086
1113
|
readonly "session.empty": "\u8FD9\u4E2A\u9879\u76EE\u8FD8\u6CA1\u6709\u4F1A\u8BDD\u3002";
|
|
1087
1114
|
readonly "session.noProject": "\u5148\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u3002";
|
|
1115
|
+
readonly "session.list.label": "\u4F1A\u8BDD";
|
|
1116
|
+
readonly "session.copy": "\u590D\u5236";
|
|
1088
1117
|
readonly "session.pinned": "\u5DF2\u7F6E\u9876";
|
|
1089
1118
|
readonly "session.actions": "{name} \u7684\u64CD\u4F5C";
|
|
1090
1119
|
readonly "status.idle": "\u7A7A\u95F2";
|
|
1091
|
-
readonly "status.running": "\
|
|
1092
|
-
readonly "status.waitingApproval": "\u7B49\u5F85\
|
|
1093
|
-
readonly "status.planReview": "\
|
|
1120
|
+
readonly "status.running": "\u8FDB\u884C\u4E2D";
|
|
1121
|
+
readonly "status.waitingApproval": "\u7B49\u5F85\u5BA1\u6279";
|
|
1122
|
+
readonly "status.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
1094
1123
|
readonly "status.waitingAnswer": "\u7B49\u5F85\u56DE\u7B54";
|
|
1124
|
+
readonly "status.compact.approval": "\u5F85\u5BA1\u6279";
|
|
1125
|
+
readonly "status.compact.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
1126
|
+
readonly "status.compact.answer": "\u5F85\u56DE\u7B54";
|
|
1095
1127
|
readonly "status.completed": "\u5DF2\u5B8C\u6210";
|
|
1096
1128
|
readonly "status.subagentsRunning.one": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
1097
1129
|
readonly "status.subagentsRunning.other": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
1130
|
+
readonly "hover.copied": "\u5DF2\u590D\u5236";
|
|
1098
1131
|
readonly "time.now": "\u521A\u521A";
|
|
1099
1132
|
readonly "time.minutes": "{n} \u5206\u949F\u524D";
|
|
1100
1133
|
readonly "time.hours": "{n} \u5C0F\u65F6\u524D";
|
|
1101
1134
|
readonly "time.days": "{n} \u5929\u524D";
|
|
1135
|
+
readonly "time.ago": "{t}\u524D";
|
|
1136
|
+
readonly "time.short.minutes": "{n}\u5206\u949F";
|
|
1137
|
+
readonly "time.short.hours": "{n}\u5C0F\u65F6";
|
|
1138
|
+
readonly "time.short.days": "{n}\u5929";
|
|
1139
|
+
readonly "time.short.months": "{n}\u4E2A\u6708";
|
|
1140
|
+
readonly "time.short.years": "{n}\u5E74";
|
|
1102
1141
|
readonly "panels.title": "\u9762\u677F\u6A21\u5757";
|
|
1103
1142
|
readonly "panels.groupBoardless": "\u65E0\u770B\u677F\u6A21\u5757";
|
|
1104
1143
|
readonly "panels.groupPlugins": "opencli \u63D2\u4EF6";
|
|
@@ -1400,7 +1439,7 @@ export declare const kit: {
|
|
|
1400
1439
|
readonly "panel.conversation": "\u5BF9\u8BDD";
|
|
1401
1440
|
readonly "panels.label": "\u5168\u5C40\u9762\u677F";
|
|
1402
1441
|
};
|
|
1403
|
-
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>;
|
|
1442
|
+
en: Record<"time.now" | "time.ago" | "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.list.label" | "session.copy" | "session.pinned" | "session.actions" | "status.idle" | "status.running" | "status.waitingApproval" | "status.planReview" | "status.waitingAnswer" | "status.compact.approval" | "status.compact.planReview" | "status.compact.answer" | "status.completed" | "status.subagentsRunning.one" | "status.subagentsRunning.other" | "hover.copied" | "time.short.minutes" | "time.short.hours" | "time.short.days" | "time.short.months" | "time.short.years" | "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>;
|
|
1404
1443
|
};
|
|
1405
1444
|
mergeMessages(base: apiModule.Dictionaries, contributions: readonly MessagesContribution[]): apiModule.Dictionaries;
|
|
1406
1445
|
mergeMessagesSkipping(base: apiModule.Dictionaries, contributions: readonly MessagesContribution[]): apiModule.MessagesMerge;
|
|
@@ -1435,20 +1474,32 @@ export declare const kit: {
|
|
|
1435
1474
|
readonly "session.new.label": "\u5728\u5F53\u524D\u9879\u76EE\u65B0\u5EFA\u4F1A\u8BDD";
|
|
1436
1475
|
readonly "session.empty": "\u8FD9\u4E2A\u9879\u76EE\u8FD8\u6CA1\u6709\u4F1A\u8BDD\u3002";
|
|
1437
1476
|
readonly "session.noProject": "\u5148\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u3002";
|
|
1477
|
+
readonly "session.list.label": "\u4F1A\u8BDD";
|
|
1478
|
+
readonly "session.copy": "\u590D\u5236";
|
|
1438
1479
|
readonly "session.pinned": "\u5DF2\u7F6E\u9876";
|
|
1439
1480
|
readonly "session.actions": "{name} \u7684\u64CD\u4F5C";
|
|
1440
1481
|
readonly "status.idle": "\u7A7A\u95F2";
|
|
1441
|
-
readonly "status.running": "\
|
|
1442
|
-
readonly "status.waitingApproval": "\u7B49\u5F85\
|
|
1443
|
-
readonly "status.planReview": "\
|
|
1482
|
+
readonly "status.running": "\u8FDB\u884C\u4E2D";
|
|
1483
|
+
readonly "status.waitingApproval": "\u7B49\u5F85\u5BA1\u6279";
|
|
1484
|
+
readonly "status.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
1444
1485
|
readonly "status.waitingAnswer": "\u7B49\u5F85\u56DE\u7B54";
|
|
1486
|
+
readonly "status.compact.approval": "\u5F85\u5BA1\u6279";
|
|
1487
|
+
readonly "status.compact.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
1488
|
+
readonly "status.compact.answer": "\u5F85\u56DE\u7B54";
|
|
1445
1489
|
readonly "status.completed": "\u5DF2\u5B8C\u6210";
|
|
1446
1490
|
readonly "status.subagentsRunning.one": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
1447
1491
|
readonly "status.subagentsRunning.other": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
1492
|
+
readonly "hover.copied": "\u5DF2\u590D\u5236";
|
|
1448
1493
|
readonly "time.now": "\u521A\u521A";
|
|
1449
1494
|
readonly "time.minutes": "{n} \u5206\u949F\u524D";
|
|
1450
1495
|
readonly "time.hours": "{n} \u5C0F\u65F6\u524D";
|
|
1451
1496
|
readonly "time.days": "{n} \u5929\u524D";
|
|
1497
|
+
readonly "time.ago": "{t}\u524D";
|
|
1498
|
+
readonly "time.short.minutes": "{n}\u5206\u949F";
|
|
1499
|
+
readonly "time.short.hours": "{n}\u5C0F\u65F6";
|
|
1500
|
+
readonly "time.short.days": "{n}\u5929";
|
|
1501
|
+
readonly "time.short.months": "{n}\u4E2A\u6708";
|
|
1502
|
+
readonly "time.short.years": "{n}\u5E74";
|
|
1452
1503
|
readonly "panels.title": "\u9762\u677F\u6A21\u5757";
|
|
1453
1504
|
readonly "panels.groupBoardless": "\u65E0\u770B\u677F\u6A21\u5757";
|
|
1454
1505
|
readonly "panels.groupPlugins": "opencli \u63D2\u4EF6";
|
|
@@ -1776,6 +1827,9 @@ export declare const kit: {
|
|
|
1776
1827
|
parseJsonLoose(text: string | null | undefined): unknown;
|
|
1777
1828
|
excerpt(text: string | null | undefined, limit?: number): string;
|
|
1778
1829
|
cx(...parts: Array<string | false | null | undefined>): string;
|
|
1830
|
+
relativeTimeBucket(epochMs: number, now?: number): apiModule.RelativeTimeBucket | null;
|
|
1831
|
+
relativeTimeCompact(epochMs: number, t: apiModule.TimeTranslate, now?: number): string;
|
|
1832
|
+
relativeTimeAgo(epochMs: number, t: apiModule.TimeTranslate, now?: number): string;
|
|
1779
1833
|
relativeTime(epochMs: number, t: apiModule.TimeTranslate): string;
|
|
1780
1834
|
shortenPath(path: unknown): string;
|
|
1781
1835
|
parseLocalTimestamp(text: string | null | undefined): number;
|
|
@@ -1944,20 +1998,32 @@ export declare const kit: {
|
|
|
1944
1998
|
readonly "session.new.label": "\u5728\u5F53\u524D\u9879\u76EE\u65B0\u5EFA\u4F1A\u8BDD";
|
|
1945
1999
|
readonly "session.empty": "\u8FD9\u4E2A\u9879\u76EE\u8FD8\u6CA1\u6709\u4F1A\u8BDD\u3002";
|
|
1946
2000
|
readonly "session.noProject": "\u5148\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u3002";
|
|
2001
|
+
readonly "session.list.label": "\u4F1A\u8BDD";
|
|
2002
|
+
readonly "session.copy": "\u590D\u5236";
|
|
1947
2003
|
readonly "session.pinned": "\u5DF2\u7F6E\u9876";
|
|
1948
2004
|
readonly "session.actions": "{name} \u7684\u64CD\u4F5C";
|
|
1949
2005
|
readonly "status.idle": "\u7A7A\u95F2";
|
|
1950
|
-
readonly "status.running": "\
|
|
1951
|
-
readonly "status.waitingApproval": "\u7B49\u5F85\
|
|
1952
|
-
readonly "status.planReview": "\
|
|
2006
|
+
readonly "status.running": "\u8FDB\u884C\u4E2D";
|
|
2007
|
+
readonly "status.waitingApproval": "\u7B49\u5F85\u5BA1\u6279";
|
|
2008
|
+
readonly "status.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
1953
2009
|
readonly "status.waitingAnswer": "\u7B49\u5F85\u56DE\u7B54";
|
|
2010
|
+
readonly "status.compact.approval": "\u5F85\u5BA1\u6279";
|
|
2011
|
+
readonly "status.compact.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
2012
|
+
readonly "status.compact.answer": "\u5F85\u56DE\u7B54";
|
|
1954
2013
|
readonly "status.completed": "\u5DF2\u5B8C\u6210";
|
|
1955
2014
|
readonly "status.subagentsRunning.one": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
1956
2015
|
readonly "status.subagentsRunning.other": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
2016
|
+
readonly "hover.copied": "\u5DF2\u590D\u5236";
|
|
1957
2017
|
readonly "time.now": "\u521A\u521A";
|
|
1958
2018
|
readonly "time.minutes": "{n} \u5206\u949F\u524D";
|
|
1959
2019
|
readonly "time.hours": "{n} \u5C0F\u65F6\u524D";
|
|
1960
2020
|
readonly "time.days": "{n} \u5929\u524D";
|
|
2021
|
+
readonly "time.ago": "{t}\u524D";
|
|
2022
|
+
readonly "time.short.minutes": "{n}\u5206\u949F";
|
|
2023
|
+
readonly "time.short.hours": "{n}\u5C0F\u65F6";
|
|
2024
|
+
readonly "time.short.days": "{n}\u5929";
|
|
2025
|
+
readonly "time.short.months": "{n}\u4E2A\u6708";
|
|
2026
|
+
readonly "time.short.years": "{n}\u5E74";
|
|
1961
2027
|
readonly "panels.title": "\u9762\u677F\u6A21\u5757";
|
|
1962
2028
|
readonly "panels.groupBoardless": "\u65E0\u770B\u677F\u6A21\u5757";
|
|
1963
2029
|
readonly "panels.groupPlugins": "opencli \u63D2\u4EF6";
|
|
@@ -2259,7 +2325,7 @@ export declare const kit: {
|
|
|
2259
2325
|
readonly "panel.conversation": "\u5BF9\u8BDD";
|
|
2260
2326
|
readonly "panels.label": "\u5168\u5C40\u9762\u677F";
|
|
2261
2327
|
};
|
|
2262
|
-
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>;
|
|
2328
|
+
en: Record<"time.now" | "time.ago" | "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.list.label" | "session.copy" | "session.pinned" | "session.actions" | "status.idle" | "status.running" | "status.waitingApproval" | "status.planReview" | "status.waitingAnswer" | "status.compact.approval" | "status.compact.planReview" | "status.compact.answer" | "status.completed" | "status.subagentsRunning.one" | "status.subagentsRunning.other" | "hover.copied" | "time.short.minutes" | "time.short.hours" | "time.short.days" | "time.short.months" | "time.short.years" | "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>;
|
|
2263
2329
|
};
|
|
2264
2330
|
mergeMessages(base: apiModule.Dictionaries, contributions: readonly MessagesContribution[]): apiModule.Dictionaries;
|
|
2265
2331
|
mergeMessagesSkipping(base: apiModule.Dictionaries, contributions: readonly MessagesContribution[]): apiModule.MessagesMerge;
|
|
@@ -2294,20 +2360,32 @@ export declare const kit: {
|
|
|
2294
2360
|
readonly "session.new.label": "\u5728\u5F53\u524D\u9879\u76EE\u65B0\u5EFA\u4F1A\u8BDD";
|
|
2295
2361
|
readonly "session.empty": "\u8FD9\u4E2A\u9879\u76EE\u8FD8\u6CA1\u6709\u4F1A\u8BDD\u3002";
|
|
2296
2362
|
readonly "session.noProject": "\u5148\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u3002";
|
|
2363
|
+
readonly "session.list.label": "\u4F1A\u8BDD";
|
|
2364
|
+
readonly "session.copy": "\u590D\u5236";
|
|
2297
2365
|
readonly "session.pinned": "\u5DF2\u7F6E\u9876";
|
|
2298
2366
|
readonly "session.actions": "{name} \u7684\u64CD\u4F5C";
|
|
2299
2367
|
readonly "status.idle": "\u7A7A\u95F2";
|
|
2300
|
-
readonly "status.running": "\
|
|
2301
|
-
readonly "status.waitingApproval": "\u7B49\u5F85\
|
|
2302
|
-
readonly "status.planReview": "\
|
|
2368
|
+
readonly "status.running": "\u8FDB\u884C\u4E2D";
|
|
2369
|
+
readonly "status.waitingApproval": "\u7B49\u5F85\u5BA1\u6279";
|
|
2370
|
+
readonly "status.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
2303
2371
|
readonly "status.waitingAnswer": "\u7B49\u5F85\u56DE\u7B54";
|
|
2372
|
+
readonly "status.compact.approval": "\u5F85\u5BA1\u6279";
|
|
2373
|
+
readonly "status.compact.planReview": "\u8BA1\u5212\u5F85\u5BA1";
|
|
2374
|
+
readonly "status.compact.answer": "\u5F85\u56DE\u7B54";
|
|
2304
2375
|
readonly "status.completed": "\u5DF2\u5B8C\u6210";
|
|
2305
2376
|
readonly "status.subagentsRunning.one": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
2306
2377
|
readonly "status.subagentsRunning.other": "{n} \u4E2A\u5B50\u4EE3\u7406\u8FD0\u884C\u4E2D";
|
|
2378
|
+
readonly "hover.copied": "\u5DF2\u590D\u5236";
|
|
2307
2379
|
readonly "time.now": "\u521A\u521A";
|
|
2308
2380
|
readonly "time.minutes": "{n} \u5206\u949F\u524D";
|
|
2309
2381
|
readonly "time.hours": "{n} \u5C0F\u65F6\u524D";
|
|
2310
2382
|
readonly "time.days": "{n} \u5929\u524D";
|
|
2383
|
+
readonly "time.ago": "{t}\u524D";
|
|
2384
|
+
readonly "time.short.minutes": "{n}\u5206\u949F";
|
|
2385
|
+
readonly "time.short.hours": "{n}\u5C0F\u65F6";
|
|
2386
|
+
readonly "time.short.days": "{n}\u5929";
|
|
2387
|
+
readonly "time.short.months": "{n}\u4E2A\u6708";
|
|
2388
|
+
readonly "time.short.years": "{n}\u5E74";
|
|
2311
2389
|
readonly "panels.title": "\u9762\u677F\u6A21\u5757";
|
|
2312
2390
|
readonly "panels.groupBoardless": "\u65E0\u770B\u677F\u6A21\u5757";
|
|
2313
2391
|
readonly "panels.groupPlugins": "opencli \u63D2\u4EF6";
|
|
@@ -2635,6 +2713,9 @@ export declare const kit: {
|
|
|
2635
2713
|
parseJsonLoose(text: string | null | undefined): unknown;
|
|
2636
2714
|
excerpt(text: string | null | undefined, limit?: number): string;
|
|
2637
2715
|
cx(...parts: Array<string | false | null | undefined>): string;
|
|
2716
|
+
relativeTimeBucket(epochMs: number, now?: number): apiModule.RelativeTimeBucket | null;
|
|
2717
|
+
relativeTimeCompact(epochMs: number, t: apiModule.TimeTranslate, now?: number): string;
|
|
2718
|
+
relativeTimeAgo(epochMs: number, t: apiModule.TimeTranslate, now?: number): string;
|
|
2638
2719
|
relativeTime(epochMs: number, t: apiModule.TimeTranslate): string;
|
|
2639
2720
|
shortenPath(path: unknown): string;
|
|
2640
2721
|
parseLocalTimestamp(text: string | null | undefined): number;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { DshToolDefinition } from '@dsh-workbench/shared';
|
|
2
|
+
import { type WorkspaceStore } from '@dsh-workbench/shared/host';
|
|
3
|
+
import { createPluginUnits } from '../../../shared/api/host/plugin-units';
|
|
4
|
+
import { type UnitRegistry } from '../../../shared/api/host/unit-registry';
|
|
5
|
+
import type { PluginLedger } from '../model/plugin-ledger';
|
|
6
|
+
import { type PanelsService } from '../model/service';
|
|
7
|
+
export declare const COMMANDS: ({
|
|
8
|
+
site: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
access: string;
|
|
12
|
+
browser: boolean;
|
|
13
|
+
siteSession: string;
|
|
14
|
+
domain: string;
|
|
15
|
+
args: {
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
required: boolean;
|
|
19
|
+
help: string;
|
|
20
|
+
}[];
|
|
21
|
+
} | {
|
|
22
|
+
site: string;
|
|
23
|
+
name: string;
|
|
24
|
+
description: string;
|
|
25
|
+
access: string;
|
|
26
|
+
browser: boolean;
|
|
27
|
+
args: {
|
|
28
|
+
name: string;
|
|
29
|
+
type: string;
|
|
30
|
+
required: boolean;
|
|
31
|
+
help: string;
|
|
32
|
+
}[];
|
|
33
|
+
siteSession?: undefined;
|
|
34
|
+
domain?: undefined;
|
|
35
|
+
})[];
|
|
36
|
+
export interface Harness {
|
|
37
|
+
readonly registry: UnitRegistry;
|
|
38
|
+
readonly panels: PanelsService;
|
|
39
|
+
readonly tools: Map<string, DshToolDefinition>;
|
|
40
|
+
readonly gate: {
|
|
41
|
+
deniedTools(workspace: string | null): readonly string[];
|
|
42
|
+
};
|
|
43
|
+
readonly manager: ReturnType<typeof createPluginUnits>;
|
|
44
|
+
readonly problems: string[];
|
|
45
|
+
readonly definitions: () => DshToolDefinition[];
|
|
46
|
+
readonly commands: () => readonly string[];
|
|
47
|
+
readonly opencliCalls: () => readonly {
|
|
48
|
+
readonly args: readonly string[];
|
|
49
|
+
readonly workdir?: string;
|
|
50
|
+
readonly session?: string;
|
|
51
|
+
}[];
|
|
52
|
+
readonly toolOf: (name: string) => DshToolDefinition | undefined;
|
|
53
|
+
readonly ownerOf: (name: string) => {
|
|
54
|
+
readonly needsApproval?: unknown;
|
|
55
|
+
readonly manifest: unknown;
|
|
56
|
+
} | undefined;
|
|
57
|
+
readonly units: () => readonly string[];
|
|
58
|
+
}
|
|
59
|
+
export declare function deny(h: Harness, workspace: string): string[];
|
|
60
|
+
export declare function harnessOf(options: {
|
|
61
|
+
readonly store: WorkspaceStore;
|
|
62
|
+
readonly ledger: PluginLedger;
|
|
63
|
+
readonly pluginRows: () => unknown;
|
|
64
|
+
readonly commands?: unknown;
|
|
65
|
+
readonly declared?: ReadonlyMap<string, ReadonlySet<string>>;
|
|
66
|
+
readonly moduleTools?: readonly string[];
|
|
67
|
+
readonly opencliReplies?: readonly unknown[];
|
|
68
|
+
readonly failTools?: readonly string[];
|
|
69
|
+
}): Harness;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ScrollEdges {
|
|
2
|
+
readonly canScrollUp: boolean;
|
|
3
|
+
readonly canScrollDown: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface ScrollMetrics {
|
|
6
|
+
readonly scrollTop: number;
|
|
7
|
+
readonly scrollHeight: number;
|
|
8
|
+
readonly clientHeight: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function scrollEdgesOf(metrics: ScrollMetrics): ScrollEdges;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -13,6 +13,7 @@ export interface SessionNode {
|
|
|
13
13
|
export interface SessionStatusDot {
|
|
14
14
|
readonly state: 'ongoing' | 'warning' | 'done' | 'idle';
|
|
15
15
|
readonly label: string;
|
|
16
|
+
readonly trailingLabel?: string;
|
|
16
17
|
}
|
|
17
18
|
export declare function visiblePendingKind(kind: string | undefined): string | undefined;
|
|
18
19
|
export declare function sessionNode(summary: SessionSummary, statusById: SessionStatusSnapshot, list: SessionsSnapshot, pinnedIds: ReadonlySet<string>, archivedIds: ReadonlySet<string>): SessionNode;
|
|
@@ -14,6 +14,8 @@ export interface PluginCommand {
|
|
|
14
14
|
readonly name: string;
|
|
15
15
|
readonly description: string;
|
|
16
16
|
readonly access: string;
|
|
17
|
+
readonly browser: boolean;
|
|
18
|
+
readonly siteSession: string;
|
|
17
19
|
readonly domain?: string;
|
|
18
20
|
readonly args: readonly PluginCommandArg[];
|
|
19
21
|
}
|
|
@@ -32,6 +34,9 @@ export interface CommandRow {
|
|
|
32
34
|
readonly name: string;
|
|
33
35
|
readonly description: string;
|
|
34
36
|
readonly access: string;
|
|
37
|
+
readonly browser: boolean;
|
|
38
|
+
readonly siteSession: string;
|
|
39
|
+
readonly domain?: string;
|
|
35
40
|
readonly args: readonly PluginCommandArg[];
|
|
36
41
|
}
|
|
37
42
|
export interface PluginCatalogSnapshot {
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import type { ApprovalDetail, ApprovalPolicy } from '@dsh-workbench/shared/host';
|
|
1
|
+
import type { ApprovalDetail, ApprovalPolicy, OpencliSession } from '@dsh-workbench/shared/host';
|
|
2
2
|
import type { PluginCommand } from './plugin-catalog';
|
|
3
|
+
export declare const RUN_CODE_TOOL = "run_code";
|
|
4
|
+
export declare const PLUGIN_PROMPT_BUDGET = 4000;
|
|
3
5
|
export declare function pluginToolName(plugin: string, command: string): string;
|
|
6
|
+
export declare function pluginPromptChars(command: PluginCommand): number;
|
|
4
7
|
export declare function pluginToolParameters(command: PluginCommand): Record<string, unknown>;
|
|
5
8
|
export declare function pluginToolDescription(command: PluginCommand): string;
|
|
6
9
|
export declare function pluginToolWrites(command: PluginCommand): boolean;
|
|
10
|
+
export declare function pluginToolSession(command: PluginCommand): OpencliSession;
|
|
7
11
|
export declare function pluginToolArgv(command: PluginCommand, raw: unknown): string[];
|
|
8
12
|
export declare function pluginKeyArgs(command: PluginCommand, raw: unknown): string;
|
|
9
13
|
export declare function pluginApprovalQuestion(command: PluginCommand, raw: unknown): ApprovalDetail;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-workbench/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "个人工作台:Agent 工作台外壳(左栏 + 常驻对话 + 自研右侧数据面板)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"icon": "./icon.svg",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@dsh-workbench/shared": "0.2.
|
|
90
|
+
"@dsh-workbench/shared": "0.2.5"
|
|
91
91
|
},
|
|
92
92
|
"scripts": {
|
|
93
93
|
"build": "node scripts/build.mjs && node scripts/build-types.mjs",
|