@lay111/dsh-plugin-google 1.0.3 β†’ 1.0.4

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 CHANGED
@@ -7,6 +7,7 @@ import { startGoogleOAuthLogin, getActiveAccount } from '../src/auth.js';
7
7
 
8
8
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
9
9
  const PLUGIN_ROOT = path.resolve(__dirname, '..');
10
+ const PLUGIN_ENTRY = path.join(PLUGIN_ROOT, 'src', 'index.js');
10
11
 
11
12
  const HOME = os.homedir();
12
13
  const DSH_HOME = path.join(HOME, '.dsh');
@@ -37,7 +38,7 @@ console.log('🧩 [2/3] ε…¨ε±€ζŒ‚θ½½ Google εŽŸη”Ÿζ’δ»Άθ‡³ζ‰€ζœ‰ DSH Profile (W
37
38
  const globalPatchPath = path.join(DSH_HOME, 'cordis.patch.yml');
38
39
  const globalPatchContent = `- insert:
39
40
  - id: dsh-antigravity
40
- name: ${PLUGIN_ROOT}
41
+ name: ${PLUGIN_ENTRY}
41
42
  `;
42
43
  fs.writeFileSync(globalPatchPath, globalPatchContent, 'utf-8');
43
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lay111/dsh-plugin-google",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Native DeepSeek Harness Plugin for Google Antigravity Pro & Gemini/Claude Models",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -24,13 +24,7 @@
24
24
  ],
25
25
  "peerDependencies": {
26
26
  "@deepseek-ai/cordis": "^4.0.1",
27
- "@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.1.1-rc.2",
28
- "@deepseek-ai/dsh-commands": "^0.1.0-rc.6 || ^0.1.1-rc.2"
29
- },
30
- "peerDependenciesMeta": {
31
- "@deepseek-ai/dsh-commands": {
32
- "optional": true
33
- }
27
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.1.1-rc.2"
34
28
  },
35
29
  "keywords": [
36
30
  "deepseek-harness",
package/src/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { AntigravityLlmAdapter } from './adapter.js';
2
- import { startGoogleOAuthLogin, getActiveAccount } from './auth.js';
3
2
 
4
3
  export const name = 'dsh-antigravity';
5
4
  export const inject = ['llm'];
@@ -10,24 +9,6 @@ export function apply(ctx) {
10
9
  // 1. Register the native LLM adapter with DeepSeek Harness
11
10
  ctx.llm.registerAdapter(['antigravity'], adapter);
12
11
 
13
- // 2. Register slash command if commands service is present
14
- if (ctx.commands) {
15
- ctx.commands.command('auth/google', 'Log in to Google Antigravity Pro').action(async () => {
16
- console.log('Initiating Google OAuth login flow...');
17
- const account = await startGoogleOAuthLogin();
18
- console.log(`Successfully logged in as: ${account.email}`);
19
- });
20
-
21
- ctx.commands.command('auth/status', 'Check Google Antigravity account status').action(() => {
22
- const active = getActiveAccount();
23
- if (active) {
24
- console.log(`Active Account: ${active.email} (Project: ${active.projectId})`);
25
- } else {
26
- console.log('No Google Antigravity account currently logged in.');
27
- }
28
- });
29
- }
30
-
31
12
  ctx.logger?.info('Google Antigravity plugin mounted successfully.');
32
13
  }
33
14