@dsh-workbench/adapter-supply 1.0.1 → 1.1.1

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.
@@ -1,4 +1,4 @@
1
- import { PROBE_TTL_MS, TEXT_OUTPUT, jsonText, sessionWorkspace } from '@dsh-workbench/shared/host';
1
+ import { PROBE_TTL_MS, TEXT_OUTPUT, jsonText, sessionWorkspace, unitTitleKey } from '@dsh-workbench/shared/host';
2
2
  import { pluginLoginHint } from './plugin-login-hint.js';
3
3
  import { PLUGIN_PROMPT_BUDGET, RUN_CODE_TOOL, pluginApprovalFor, pluginPromptChars, pluginToolArgv, pluginToolDescription, pluginToolName, pluginToolParameters, pluginToolSession, pluginToolWrites, } from './plugin-tools.js';
4
4
  function signatureOf(version, commands) {
@@ -96,6 +96,8 @@ function faceOf(unit, opencliFor, note) {
96
96
  const byTool = new Map(unit.tools.map((tool) => [tool.name, tool.command]));
97
97
  const manifest = {
98
98
  id: unit.id,
99
+ title: { zh: unit.plugin, en: unit.plugin },
100
+ titleKey: unitTitleKey(unit.id),
99
101
  card: null,
100
102
  tools: unit.tools.map((tool) => ({ name: tool.name, writes: pluginToolWrites(tool.command) })),
101
103
  host: { inject: [] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-workbench/adapter-supply",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "description": "Workbench supply adapter package.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -22,8 +22,8 @@
22
22
  "directory": "packages/adapter-supply"
23
23
  },
24
24
  "dependencies": {
25
- "@dsh-workbench/adapter-runtime": "1.0.1",
26
- "@dsh-workbench/shared": "1.0.1"
25
+ "@dsh-workbench/adapter-runtime": "1.1.1",
26
+ "@dsh-workbench/shared": "1.1.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^24.19.0",