Skip to content

Commit 2ba92b1

Browse files
committed
Switch Claude Code install to shell CLI and defer API key setup
- Use non-interactive 'claude plugin ...' commands instead of the interactive /plugin slash commands - Remove the interactive plugin-config-screen API key step - Move API key setup into a shared 'Configure the API key' section after install, used by both Claude Code and Codex
1 parent 28f4cb4 commit 2ba92b1

1 file changed

Lines changed: 8 additions & 36 deletions

File tree

README.md

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,27 @@ Plugins for syncing AI coding sessions to [Jieli](https://jieli.app).
44

55
## Claude Code Install
66

7-
Add the marketplace in Claude Code:
8-
9-
```text
10-
/plugin marketplace add jieliapp/plugins
11-
```
12-
13-
Install the plugin:
14-
15-
```text
16-
/plugin install jieli@jieliapp
17-
```
18-
19-
Then get an API key from [https://jieli.app](https://jieli.app) and configure it for Claude Code.
20-
21-
When Claude Code opens the plugin configuration screen, set:
22-
23-
```text
24-
Jieli API key = your-jieli-api-key
25-
```
26-
27-
Reload plugins:
28-
29-
```text
30-
/reload-plugins
31-
```
32-
33-
You can also set it through your shell environment before starting Claude Code:
7+
Run these in your shell:
348

359
```bash
36-
export JIELI_API_KEY="your-jieli-api-key"
10+
claude plugin marketplace add jieliapp/plugins
11+
claude plugin install jieli@jieliapp
3712
```
3813

3914
## Codex Install
4015

41-
Add the marketplace in Codex:
16+
Run these in your shell:
4217

4318
```bash
4419
codex plugin marketplace add jieliapp/plugins
45-
```
46-
47-
Install the plugin:
48-
49-
```bash
5020
codex plugin add jieli@jieliapp
5121
```
5222

5323
Then enable the plugin and trust its hooks with `/hooks`.
5424

55-
Configure the API key. Recommended for Codex and Claude Code: write `~/.config/jieli/settings.json`, which works even after the agent is already running:
25+
## Configure the API key
26+
27+
Get an API key from [https://jieli.app](https://jieli.app). Recommended for both Claude Code and Codex: write `~/.config/jieli/settings.json`, which works even after the agent is already running:
5628

5729
```bash
5830
mkdir -p ~/.config/jieli
@@ -70,7 +42,7 @@ fs.writeFileSync(
7042
JS
7143
```
7244

73-
You can also use environment variables before starting Codex:
45+
You can also use an environment variable before starting the agent:
7446

7547
```bash
7648
export JIELI_API_KEY="your-jieli-api-key"

0 commit comments

Comments
 (0)