From 3b02a6a36f6f29d7ef21f4dc8b9d6b3a81e2e321 Mon Sep 17 00:00:00 2001 From: hsqStephenZhang Date: Thu, 2 May 2024 21:07:24 +0800 Subject: [PATCH] fix compile error --- package.json | 10 +++++++--- src/autogroup/index.ts | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 004de23..e3892fa 100644 --- a/package.json +++ b/package.json @@ -78,11 +78,14 @@ "default": false, "description": "Whether to remove the deleted tabs from tabsGroup" }, - "onetab.autogroup.apikeys":{ + "onetab.autogroup.apikeys": { "scope": "resource", - "type":"object", + "type": "object", "properties": { - "claude":{ "type":"string","default":""} + "claude": { + "type": "string", + "default": "" + } } } } @@ -398,6 +401,7 @@ "webpack-cli": "^4.10.0" }, "dependencies": { + "@anthropic-ai/sdk": "^0.20.8", "class-transformer": "^0.5.1", "jshint": "^2.13.5", "moment": "^2.29.4", diff --git a/src/autogroup/index.ts b/src/autogroup/index.ts index 5ea2227..204dd73 100644 --- a/src/autogroup/index.ts +++ b/src/autogroup/index.ts @@ -1,7 +1,7 @@ import * as vscode from 'vscode'; import Anthropic from '@anthropic-ai/sdk'; import { getAllTabsWithBlackList, sendTabs } from '../utils/tab'; -import { Global } from '../../dist/extension'; +import { Global } from '../global'; const schema = "{group_name: [file_names]}"