Skip to content

Commit

Permalink
feat: modify package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
veasion committed Jan 1, 2025
1 parent 1dd0252 commit 699cc2f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"dependencies": {
"antd": "^5.22.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"@eko-ai/eko": "^1.0.0"
},
"devDependencies": {
"@types/chrome": "0.0.158",
Expand Down
6 changes: 3 additions & 3 deletions src/background/test_llm_computer.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ClaudeProvider, OpenaiProvider } from "ekoai";
import { ClaudeProvider, OpenaiProvider } from "@eko-ai/eko";
import {
ExecutionContext,
Message,
LLMParameters,
ToolDefinition,
Tool,
} from "ekoai/types";
import { tools, getLLMConfig } from "ekoai/extension";
} from "@eko-ai/eko/types";
import { tools, getLLMConfig } from "@eko-ai/eko/extension";

export async function testWebSearchWithComputer() {
let config = await getLLMConfig();
Expand Down
6 changes: 3 additions & 3 deletions src/background/test_llm_search.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ClaudeProvider, OpenaiProvider } from "ekoai";
import { ClaudeProvider, OpenaiProvider } from "@eko-ai/eko";
import {
ExecutionContext,
Message,
LLMParameters,
ToolDefinition,
Tool,
} from "ekoai/types";
import { tools, getLLMConfig } from "ekoai/extension";
} from "@eko-ai/eko/types";
import { tools, getLLMConfig } from "@eko-ai/eko/extension";

export async function testWebSearchWithLLM() {
let config = await getLLMConfig();
Expand Down
6 changes: 3 additions & 3 deletions src/background/test_llm_workflow.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Eko, WorkflowParser } from "ekoai";
import { tools, getLLMConfig } from "ekoai/extension";
import { EkoConfig } from "ekoai/types";
import { Eko, WorkflowParser } from "@eko-ai/eko";
import { tools, getLLMConfig } from "@eko-ai/eko/extension";
import { EkoConfig } from "@eko-ai/eko/types";

export async function testWebSearchWithWorkflow() {
let config = await getLLMConfig();
Expand Down
6 changes: 3 additions & 3 deletions src/background/test_tools.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ElementRect, ExecutionContext, Tool } from "ekoai/types";
import { getLLMConfig, tools, browser, utils } from "ekoai/extension";
import { ClaudeProvider } from "ekoai";
import { ElementRect, ExecutionContext, Tool } from "@eko-ai/eko/types";
import { getLLMConfig, tools, browser, utils } from "@eko-ai/eko/extension";
import { ClaudeProvider } from "@eko-ai/eko";

var context: ExecutionContext;

Expand Down
4 changes: 2 additions & 2 deletions webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ module.exports = {
patterns: [
{ from: "public", to: "../" },
{
from: 'node_modules/ekoai/dist/extension_content_script.js',
from: 'node_modules/@eko-ai/eko/dist/extension_content_script.js',
to: "../eko/extension_content_script.js"
},
{
from: 'node_modules/ekoai/dist/extension/script',
from: 'node_modules/@eko-ai/eko/dist/extension/script',
to: "../eko/script"
}
],
Expand Down

0 comments on commit 699cc2f

Please sign in to comment.