Skip to content

Commit 7f62ec7

Browse files
committed
Update README to reflect autofill functionality and document permissions
1 parent 514992c commit 7f62ec7

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

‎apps/browser/README.md‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1-
# Code Web Chat Connector
1+
# Autofill for Code Web Chat
22

3-
This browser extension works in conjunction with the code editor's extension to seamlessly connect it with chatbots for prompt autofill.
3+
This extension exchanges messages with a locally run WebSockets server to open new tabs and autofill prompts.
4+
5+
It also places "APPLY RESPONSE" button under messages. It's an alias for the _copy to clipboard_ button.
6+
7+
## Permissions
8+
9+
The extension requests a minimal set of permissions.
10+
11+
- `storage` - Used to temporarily store prompts for [a content script](https://github.com/robertpiosik/CodeWebChat/tree/dev/apps/browser/src/content-scripts/send-prompt-content-script), and to save extension settings.
12+
- `alarms` (Chrome only) - Used to implement a keep-alive mechanism for the background service worker to ensure the WebSocket connection stays active.
13+
- `host_permissions` (localhost) - Required to connect to the local WebSocket server (`ws://localhost:55155`), managed by the VS Code extension.
14+
15+
Firefox only:
16+
17+
- `contextualIdentities` - Required for Firefox Containers support.
18+
- `cookies` (optional) - Required for Firefox Containers support.

0 commit comments

Comments
 (0)