@dsh-workbench/adapters-default 1.1.13 → 1.1.14-beta.0

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.
@@ -37,13 +37,13 @@ export function createRuntimePort() {
37
37
  pluginArea: { zh: 'opencli 的插件区', en: 'the opencli plugin area' },
38
38
  },
39
39
  installHint: {
40
- zh: '确认 opencli 已经装好、在终端里能直接运行(which opencli)。',
41
- en: 'Make sure opencli is installed and runs from your terminal (which opencli).',
40
+ zh: '确认 opencli 已经装好、在终端里能直接运行。',
41
+ en: 'Make sure opencli is installed and runs from your terminal.',
42
42
  },
43
43
  diagnose: {
44
44
  exec: {
45
- zh: '确认 opencli 已经装好、在终端里能直接运行(which opencli)。',
46
- en: 'Make sure opencli is installed and runs from your terminal (which opencli).',
45
+ zh: '确认 opencli 已经装好、在终端里能直接运行。',
46
+ en: 'Make sure opencli is installed and runs from your terminal.',
47
47
  },
48
48
  login: {
49
49
  zh: '在工作台的浏览器桥里登录一次;登录态会一直留着。',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-workbench/adapters-default",
3
- "version": "1.1.13",
3
+ "version": "1.1.14-beta.0",
4
4
  "description": "Default host adapter set installed with @dsh-workbench/core.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -13,11 +13,11 @@
13
13
  "dist"
14
14
  ],
15
15
  "dependencies": {
16
- "@dsh-workbench/adapter-probe": "1.1.13",
17
- "@dsh-workbench/shared": "1.1.13",
18
- "@dsh-workbench/adapter-runtime": "1.1.13",
19
- "@dsh-workbench/adapter-supply": "1.1.13",
20
- "@dsh-workbench/adapter-profile": "1.1.13"
16
+ "@dsh-workbench/adapter-profile": "1.1.14-beta.0",
17
+ "@dsh-workbench/adapter-supply": "1.1.14-beta.0",
18
+ "@dsh-workbench/adapter-runtime": "1.1.14-beta.0",
19
+ "@dsh-workbench/adapter-probe": "1.1.14-beta.0",
20
+ "@dsh-workbench/shared": "1.1.14-beta.0"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "public"
@@ -1,2 +0,0 @@
1
- import type { HostActions } from '@dsh-workbench/shared/host';
2
- export declare function createHostActions(): HostActions;
@@ -1,4 +0,0 @@
1
- import { configSyncAction, configSyncHandler, profileCreateAction, profileCreateHandler, } from '@dsh-workbench/adapter-profile';
2
- export function createHostActions() {
3
- return { configSyncAction, configSyncHandler, profileCreateAction, profileCreateHandler };
4
- }
@@ -1,2 +0,0 @@
1
- import type { ProbePort } from '@dsh-workbench/shared/host';
2
- export declare function createProbePort(): ProbePort;
@@ -1,5 +0,0 @@
1
- import { probeUnits, registerPreflight } from '@dsh-workbench/adapter-probe';
2
- import { declaredPluginCommands } from '@dsh-workbench/adapter-supply';
3
- export function createProbePort() {
4
- return { probeUnits, registerPreflight, declaredPluginCommands };
5
- }
@@ -1,2 +0,0 @@
1
- import type { SupplyPort } from '@dsh-workbench/shared/host';
2
- export declare function createSupplyPort(): SupplyPort;
@@ -1,41 +0,0 @@
1
- import { cliCatalogPath, ensureLibsBinOnPath, ensureLibsOpencliPeer, isolatedHome, libInstallCommand, vendorPluginsDir } from '@dsh-workbench/adapter-runtime';
2
- import { isolatedRoot } from '@dsh-workbench/shared/host';
3
- import { createRegistryNotebook, isNewerVersion, latestVersion, missingReleaseParts, probeRelease } from '@dsh-workbench/adapter-profile';
4
- import { opencliInstallCommand, startSelfUpdate } from '@dsh-workbench/adapter-probe';
5
- import { declarationGaps, declarationRefusalOf, moduleDeclarationOf, packageRouteOf, pathDeclarationOf, pluginInstallPlan, profileDirOf, profileModules, readBundleManager, readInstalledModule, readProfilePackage, refusalReason, registryDeclarationOf, resolvePluginSource, splitNpmSpec, } from '@dsh-workbench/adapter-supply';
6
- export function createSupplyPort() {
7
- const port = {
8
- isolatedRoot,
9
- isolatedHome,
10
- cliCatalogPath,
11
- vendorPluginsDir,
12
- runtimeInstallCommand: opencliInstallCommand,
13
- afterLibInstall() {
14
- ensureLibsOpencliPeer();
15
- ensureLibsBinOnPath();
16
- },
17
- profileDirOf,
18
- profileModules,
19
- readInstalledModule,
20
- readProfilePackage,
21
- readBundleManager,
22
- createRegistryNotebook,
23
- declarationGaps,
24
- moduleDeclarationOf,
25
- registryDeclarationOf,
26
- pathDeclarationOf,
27
- declarationRefusalOf,
28
- refusalReason,
29
- latestVersion,
30
- missingReleaseParts,
31
- isNewerVersion,
32
- pluginInstallPlan,
33
- packageRouteOf,
34
- probeRelease,
35
- resolvePluginSource,
36
- splitNpmSpec,
37
- libInstallCommand,
38
- startSelfUpdate,
39
- };
40
- return { ...port, env: port, modules: port };
41
- }