@lay111/dsh-plugin-google 1.0.0 → 1.0.2
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/bin/setup.js +6 -6
- package/package.json +2 -1
package/bin/setup.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import fs from 'node:fs';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import os from 'node:os';
|
|
5
|
-
import { spawnSync } from 'node:child_process';
|
|
6
5
|
import { fileURLToPath } from 'node:url';
|
|
7
6
|
import { startGoogleOAuthLogin, getActiveAccount } from '../src/auth.js';
|
|
8
7
|
|
|
@@ -40,11 +39,11 @@ fs.writeFileSync(settingsPath, settingsContent, 'utf-8');
|
|
|
40
39
|
console.log('🎨 [2/4] 挂载插件至 TUI & Web 运行时 Profile...');
|
|
41
40
|
// 3. Configure TUI Profile
|
|
42
41
|
const tuiPatchPath = path.join(DSH_HOME, 'profiles', 'dsh-tui', 'cordis.patch.yml');
|
|
43
|
-
const tuiPatchContent = `-
|
|
44
|
-
|
|
42
|
+
const tuiPatchContent = `- insert:
|
|
43
|
+
- id: dsh-antigravity
|
|
44
|
+
name: ${PLUGIN_ROOT}
|
|
45
45
|
|
|
46
46
|
- id: dsh-tui
|
|
47
|
-
name: '@deepseek-harness-tui/dsh-tui'
|
|
48
47
|
config:
|
|
49
48
|
provider: antigravity
|
|
50
49
|
model: gemini-3.7-flash
|
|
@@ -72,8 +71,9 @@ if (!fs.existsSync(tuiPkgPath)) {
|
|
|
72
71
|
|
|
73
72
|
// 4. Configure Web Profile
|
|
74
73
|
const webPatchPath = path.join(DSH_HOME, 'profiles', 'web', 'cordis.patch.yml');
|
|
75
|
-
const webPatchContent = `-
|
|
76
|
-
|
|
74
|
+
const webPatchContent = `- insert:
|
|
75
|
+
- id: dsh-antigravity
|
|
76
|
+
name: ${PLUGIN_ROOT}
|
|
77
77
|
`;
|
|
78
78
|
fs.writeFileSync(webPatchPath, webPatchContent, 'utf-8');
|
|
79
79
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lay111/dsh-plugin-google",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Native DeepSeek Harness Plugin for Google Antigravity Pro & Gemini/Claude Models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"./package.json": "./package.json"
|
|
10
10
|
},
|
|
11
11
|
"bin": {
|
|
12
|
+
"dsh-plugin-google": "bin/setup.js",
|
|
12
13
|
"dsh-google-setup": "bin/setup.js",
|
|
13
14
|
"dsh-google-auth": "bin/auth-cli.js"
|
|
14
15
|
},
|