Skip to content

Commit c64232f

Browse files
committed
Consolidate chatbot imports and update the extension version to 1.59.0
1 parent 47c83e8 commit c64232f

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎packages/browser/src/content-scripts/send-prompt-content-script/chatbots/perplexity.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import {
99
} from '../utils/report-initialization-error'
1010

1111
export const perplexity: Chatbot = {
12+
wait_until_ready: async () => {
13+
await new Promise((resolve) => setTimeout(resolve, 500))
14+
},
1215
enter_message_and_send: async (params) => {
1316
const input_element = document.querySelector(
1417
'div[contenteditable=true]'

‎packages/browser/src/content-scripts/send-prompt-content-script/send-prompt-content-script.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ import {
2020
kimi,
2121
together,
2222
github_copilot,
23-
hugging_chat
23+
hugging_chat,
24+
perplexity,
25+
z_ai
2426
} from './chatbots'
25-
import { perplexity } from './chatbots/perplexity'
26-
import { z_ai } from './chatbots/z-ai'
2727

2828
// In case url changes on load
2929
const current_url = window.location.href

‎packages/browser/src/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "Code Web Chat Connector",
55
"short_name": "CWC",
66
"description": "Connect your editor with free chatbots. Parse websites for context.",
7-
"version": "1.57.0",
7+
"version": "1.59.0",
88
"homepage_url": "https://github.com/robertpiosik/CodeWebChat",
99
"icons": {
1010
"16": "icons/icon-16.png",

0 commit comments

Comments
 (0)