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
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
Copy file name to clipboardExpand all lines: README.md
+8-36Lines changed: 8 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,55 +4,27 @@ Plugins for syncing AI coding sessions to [Jieli](https://jieli.app).
4
4
5
5
## Claude Code Install
6
6
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:
34
8
35
9
```bash
36
-
export JIELI_API_KEY="your-jieli-api-key"
10
+
claude plugin marketplace add jieliapp/plugins
11
+
claude plugin install jieli@jieliapp
37
12
```
38
13
39
14
## Codex Install
40
15
41
-
Add the marketplace in Codex:
16
+
Run these in your shell:
42
17
43
18
```bash
44
19
codex plugin marketplace add jieliapp/plugins
45
-
```
46
-
47
-
Install the plugin:
48
-
49
-
```bash
50
20
codex plugin add jieli@jieliapp
51
21
```
52
22
53
23
Then enable the plugin and trust its hooks with `/hooks`.
54
24
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:
56
28
57
29
```bash
58
30
mkdir -p ~/.config/jieli
@@ -70,7 +42,7 @@ fs.writeFileSync(
70
42
JS
71
43
```
72
44
73
-
You can also use environment variables before starting Codex:
45
+
You can also use an environment variable before starting the agent:
0 commit comments