You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ca1049f
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Persist Claude Code credentials and document AI assistant support (#1129)
Co-authored-by: Zahin Mohammad <ahmedbaysuyev14@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.dev>
Copy file name to clipboardExpand all lines: vscode/DOCS.md
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,57 @@ return to the defaults as delivered by this app, do the following:
96
96
1. Execute the following command in the terminal window: `reset-settings`.
97
97
1. Done!
98
98
99
+
## Using AI coding assistants
100
+
101
+
This app is built on [code-server][code-server], which is a build of
102
+
VS Code that uses the [Open VSX][open-vsx] extension registry instead of the
103
+
Microsoft Marketplace. Microsoft only allows their marketplace to be used by
104
+
their own branded builds of Visual Studio Code, so which assistants you can
105
+
use is decided by what is published on Open VSX.
106
+
107
+
- **GitHub Copilot is not available.** The `GitHub.copilot` and
108
+
`GitHub.copilot-chat`extensions are published exclusively on the Microsoft
109
+
Marketplace and are not on Open VSX, so they cannot be found or installed
110
+
from within this app. VS Code may still advertise its built-in AI
111
+
features; attempting to enable them fails with
112
+
`extension GitHub.copilot-chat not found`.
113
+
- **Claude Code works.** The `Anthropic.claude-code` extension is published on
114
+
Open VSX and can be installed from the Extensions view as usual. It bundles
115
+
its own `claude` binary, so no separate Node.js installation is needed.
116
+
117
+
Because the app runs behind Home Assistant ingress, browser-based sign-in
118
+
flows that redirect back to a `vscode://` URL do not work. Sign in from a
119
+
terminal inside the editor instead:
120
+
121
+
1. Open the Visual Studio Code editor.
122
+
1. Click on `Terminal` in the top menu bar and click on `New Terminal`.
123
+
1. Run `claude` and use the `/login` command, which prints a URL and asks you
124
+
to paste back the code it gives you.
125
+
126
+
Claude Code keeps its settings and credentials in a configuration folder that
127
+
this app points at its own data folder, so your login survives app restarts
128
+
and updates.
129
+
130
+
The bundled `claude` binary lives inside the extension folder. If you want it
131
+
on your `PATH` for use in the terminal, add the following to the app's
132
+
`init_commands` option:
133
+
134
+
```yaml
135
+
init_commands:
136
+
- for f in /data/vscode/extensions/anthropic.claude-code-*/resources/native-binary/claude; do test -x $f && ln -sf $f /usr/local/bin/claude; done; true
137
+
```
138
+
139
+
Init commands run before the editor starts, so the link appears after the
140
+
first restart following the installation of the extension.
141
+
142
+
Claude Code's optional voice input needs ALSA, which the app does not ship.
143
+
Add it using the `packages` option if you want to use it:
144
+
145
+
```yaml
146
+
packages:
147
+
- libasound2t64
148
+
```
149
+
99
150
## Known issues and limitations
100
151
101
152
- Can this app run on a Raspberry Pi? Yes, but only if you run a 64 bits
0 commit comments