@libai168/dsh-tool-google-drive 0.4.0 → 0.4.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.
Files changed (2) hide show
  1. package/lib/client.js +2 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -389,7 +389,8 @@ export class GoogleDriveClient {
389
389
  }
390
390
  async authTest(signal) {
391
391
  await this.getAccessToken(signal);
392
- return { ok: true, authMethod: this.staticToken ? 'access_token' : 'refresh_token' };
392
+ const credentialKind = this.staticToken ? 'access' : 'refresh';
393
+ return { ok: true, authMethod: credentialKind + '_token' };
393
394
  }
394
395
  async listFiles(options = {}) {
395
396
  const data = asRecord(await this.request('GET', '/files', {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@libai168/dsh-tool-google-drive",
3
3
  "description": "Google Workspace read-only tools for DeepSeek Harness: Drive files, permissions, revisions, Docs, Sheets, and Shared Drives",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/types/index.d.ts",