@dsh-workbench/adapter-runtime 1.1.18 → 1.2.0-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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencli-plugin-workbench",
3
- "version": "1.1.18",
3
+ "version": "1.2.0-beta.0",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "DSH 工作台的公共通道:带浏览器登录态的 Node 侧 fetch,只服务 cookie / cookieValue 两种凭据来源",
@@ -1,5 +1,6 @@
1
+ import { OPENCLI_CATALOG_ENV } from '@dsh-workbench/shared/host';
1
2
  export declare function toolchainDir(): string;
2
- export declare const OPENCLI_CATALOG_ENV = "DSH_WB_OPENCLI_CATALOG";
3
+ export { OPENCLI_CATALOG_ENV };
3
4
  export declare function toolchainManifestOf(): string;
4
5
  export declare function cliCatalogPath(): string;
5
6
  export declare function isolatedCommand(): string;
@@ -1,12 +1,12 @@
1
1
  import { join } from 'node:path';
2
- import { OPENCLI_PIN } from '@dsh-workbench/shared/host';
2
+ import { OPENCLI_CATALOG_ENV, OPENCLI_PIN } from '@dsh-workbench/shared/host';
3
3
  import { quoteShellArg } from '@dsh-workbench/shared/host';
4
4
  import { isolatedRoot, libsPrefix, npmCacheDir, toolchainOpencliDir } from '../foundation/paths.js';
5
5
  import { OPENCLI_NPM_PACKAGE } from '../foundation/paths.js';
6
6
  export function toolchainDir() {
7
7
  return join(isolatedRoot(), 'toolchain');
8
8
  }
9
- export const OPENCLI_CATALOG_ENV = 'DSH_WB_OPENCLI_CATALOG';
9
+ export { OPENCLI_CATALOG_ENV };
10
10
  export function toolchainManifestOf() {
11
11
  return `${JSON.stringify({
12
12
  name: 'dsh-workbench-toolchain',
@@ -1,6 +1,7 @@
1
+ import { OPENCLI_NPM_PACKAGE } from '@dsh-workbench/shared/host';
1
2
  export declare const OPENCLI_RUNTIME_ID = "opencli";
2
3
  export declare const OPENCLI_MANIFEST_FILE = "opencli-plugin.json";
3
- export declare const OPENCLI_NPM_PACKAGE = "@jackwener/opencli";
4
+ export { OPENCLI_NPM_PACKAGE };
4
5
  export declare function isolatedRoot(): string;
5
6
  export declare function isolatedHome(): string;
6
7
  export declare function vendorPrefix(): string;
@@ -1,8 +1,8 @@
1
1
  import { join } from 'node:path';
2
- import { runtimeLayoutOf } from '@dsh-workbench/shared/host';
2
+ import { OPENCLI_NPM_PACKAGE, runtimeLayoutOf } from '@dsh-workbench/shared/host';
3
3
  export const OPENCLI_RUNTIME_ID = 'opencli';
4
4
  export const OPENCLI_MANIFEST_FILE = 'opencli-plugin.json';
5
- export const OPENCLI_NPM_PACKAGE = '@jackwener/opencli';
5
+ export { OPENCLI_NPM_PACKAGE };
6
6
  const layout = () => runtimeLayoutOf(OPENCLI_RUNTIME_ID);
7
7
  export function isolatedRoot() {
8
8
  return layout().root;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-workbench/adapter-runtime",
3
- "version": "1.1.18",
3
+ "version": "1.2.0-beta.0",
4
4
  "description": "Opencli, browser and data runtime adapters.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -17,7 +17,7 @@
17
17
  "bin"
18
18
  ],
19
19
  "dependencies": {
20
- "@dsh-workbench/shared": "1.1.18"
20
+ "@dsh-workbench/shared": "1.2.0-beta.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^24.19.0",