@plexor-dev/claude-code-plugin-staging 0.1.0-beta.3 → 0.1.0-beta.4

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.
@@ -4,25 +4,45 @@ description: Enable or disable Plexor proxy (routes all traffic through Plexor A
4
4
 
5
5
  # Plexor Enabled
6
6
 
7
- Run this command to view or toggle the Plexor proxy:
7
+ Toggle Plexor proxy on or off.
8
+
9
+ ## If argument provided (on/off/true/false)
10
+
11
+ Run the command directly with the argument:
8
12
 
9
13
  ```bash
10
- node ~/.claude/plugins/plexor/commands/plexor-enabled.js
14
+ node ~/.claude/plugins/plexor/commands/plexor-enabled.js <argument>
11
15
  ```
12
16
 
13
- To enable or disable, pass an argument:
17
+ Then display the output and STOP.
18
+
19
+ ## If NO argument provided
20
+
21
+ **Step 1**: First get current status by running:
14
22
 
15
23
  ```bash
16
- node ~/.claude/plugins/plexor/commands/plexor-enabled.js true
17
- node ~/.claude/plugins/plexor/commands/plexor-enabled.js false
24
+ node ~/.claude/plugins/plexor/commands/plexor-enabled.js
18
25
  ```
19
26
 
20
- Use the Bash tool to execute this command.
27
+ **Step 2**: Based on the output, use AskUserQuestion to present options:
28
+
29
+ If currently ENABLED (shows "● Enabled" or "● Active"):
30
+ - Question: "Plexor is currently ON. What would you like to do?"
31
+ - Header: "Plexor"
32
+ - Options:
33
+ 1. **Turn OFF** - Disable Plexor routing (connect directly to Anthropic)
34
+ 2. **Keep ON** - No change
35
+
36
+ If currently DISABLED (shows "○ Disabled" or "○ Inactive"):
37
+ - Question: "Plexor is currently OFF. What would you like to do?"
38
+ - Header: "Plexor"
39
+ - Options:
40
+ 1. **Turn ON** - Enable Plexor routing
41
+ 2. **Keep OFF** - No change
21
42
 
22
- **IMPORTANT**: After running this command and displaying the output, STOP. Do not:
23
- - Read any files
24
- - Explore the codebase
25
- - Run additional commands
26
- - Ask follow-up questions
43
+ **Step 3**: Based on user selection:
44
+ - If "Turn OFF" selected: Run `node ~/.claude/plugins/plexor/commands/plexor-enabled.js false`
45
+ - If "Turn ON" selected: Run `node ~/.claude/plugins/plexor/commands/plexor-enabled.js true`
46
+ - If "Keep" selected: Do nothing, just confirm current state
27
47
 
28
- The command output is the complete response. Simply show the output and wait for the user's next input.
48
+ **IMPORTANT**: After completing, STOP. Do not read files, explore codebase, or run additional commands.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexor-dev/claude-code-plugin-staging",
3
- "version": "0.1.0-beta.3",
3
+ "version": "0.1.0-beta.4",
4
4
  "description": "STAGING - LLM cost optimization plugin for Claude Code (internal testing)",
5
5
  "main": "lib/constants.js",
6
6
  "bin": {