@plexor-dev/claude-code-plugin 0.1.0-beta.3 → 0.1.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -7
- package/commands/plexor-enabled.js +121 -0
- package/commands/plexor-enabled.md +15 -41
- package/commands/plexor-login.js +174 -0
- package/commands/plexor-login.md +13 -62
- package/commands/plexor-logout.js +92 -0
- package/commands/plexor-logout.md +13 -28
- package/commands/plexor-setup.md +172 -0
- package/commands/plexor-status.js +240 -0
- package/commands/plexor-status.md +10 -50
- package/hooks/intercept.js +634 -0
- package/hooks/track-response.js +376 -0
- package/lib/cache.js +107 -0
- package/lib/config.js +67 -0
- package/lib/constants.js +16 -31
- package/lib/index.js +19 -0
- package/lib/logger.js +36 -0
- package/lib/plexor-client.js +122 -0
- package/lib/server-sync.js +237 -0
- package/lib/session.js +156 -0
- package/lib/settings-manager.js +242 -0
- package/package.json +8 -1
- package/scripts/plexor-cli.sh +48 -0
- package/scripts/postinstall.js +173 -24
- package/commands/plexor-config.md +0 -42
- package/commands/plexor-mode.md +0 -47
- package/commands/plexor-provider.md +0 -47
- package/commands/plexor-settings.md +0 -58
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Configure Plexor settings (API URL, mode, provider preferences) (user)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Plexor Settings
|
|
6
|
-
|
|
7
|
-
View and configure all Plexor settings.
|
|
8
|
-
|
|
9
|
-
## Steps
|
|
10
|
-
|
|
11
|
-
**Step 1: Read current configuration**
|
|
12
|
-
|
|
13
|
-
Use the Read tool to read `~/.plexor/config.json`.
|
|
14
|
-
|
|
15
|
-
If the file doesn't exist, show:
|
|
16
|
-
```
|
|
17
|
-
Plexor Settings
|
|
18
|
-
===============
|
|
19
|
-
No configuration found. Run /plexor-login to set up Plexor.
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
**Step 2: Display current settings**
|
|
23
|
-
|
|
24
|
-
Show the current configuration:
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
Plexor Settings
|
|
28
|
-
===============
|
|
29
|
-
Enabled: [enabled - true/false]
|
|
30
|
-
API URL: [apiUrl]
|
|
31
|
-
API Key: plx_****[last 4 chars] (configured/not configured)
|
|
32
|
-
Mode: [mode]
|
|
33
|
-
Provider: [preferredProvider]
|
|
34
|
-
Local Cache: [localCacheEnabled - enabled/disabled]
|
|
35
|
-
Timeout: [timeout]ms
|
|
36
|
-
|
|
37
|
-
Quick Commands:
|
|
38
|
-
- /plexor-enabled - Toggle proxy on/off
|
|
39
|
-
- /plexor-mode - Change optimization mode
|
|
40
|
-
- /plexor-provider - Change provider preference
|
|
41
|
-
- /plexor-status - View usage statistics
|
|
42
|
-
|
|
43
|
-
Dashboard: https://plexor.dev/dashboard
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
**Step 3: If user wants to change a setting**
|
|
47
|
-
|
|
48
|
-
If the user specifies they want to change something, use the `AskUserQuestion` tool:
|
|
49
|
-
|
|
50
|
-
Question: "Which setting would you like to change?"
|
|
51
|
-
Header: "Setting"
|
|
52
|
-
Options:
|
|
53
|
-
1. **API URL** - Change the Plexor API endpoint
|
|
54
|
-
2. **Mode** - Change optimization mode (eco/balanced/quality)
|
|
55
|
-
3. **Provider** - Change preferred provider
|
|
56
|
-
4. **Timeout** - Change request timeout
|
|
57
|
-
|
|
58
|
-
Then update `~/.plexor/config.json` with the new value using the Write tool.
|