ocsmarttools 0.1.5 → 0.1.6

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to `ocsmarttools` are documented here.
4
4
 
5
+ ## [0.1.6] - 2026-02-22
6
+
7
+ ### Changed
8
+ - Rewrote help output in simpler plain-language wording for easier command discovery.
9
+ - Simplified README command descriptions to match the help command style.
10
+
5
11
  ## [0.1.5] - 2026-02-22
6
12
 
7
13
  ### Added
package/README.md CHANGED
@@ -70,37 +70,37 @@ Model note:
70
70
 
71
71
  | Command | What it does |
72
72
  |---|---|
73
- | `/ocsmarttools version` | Shows installed plugin version |
74
- | `/ocsmarttools help` | Shows simple help and examples |
75
- | `/ocsmarttools status` | Shows current mode, limits, and safety flags |
76
- | `/ocsmarttools stats` | Shows live usage metrics (success/failure/timeout, latency, shaping, savings) |
77
- | `/ocsmarttools stats reset` | Resets the stats window |
78
- | `/ocsmarttools setup [safe\|standard]` | Applies recommended defaults for the selected mode |
73
+ | `/ocsmarttools help` | Shows all commands in plain language |
74
+ | `/ocsmarttools status` | Shows mode and safety settings |
75
+ | `/ocsmarttools strict <on\|off\|status>` | Turns strict routing on/off or checks status |
76
+ | `/ocsmarttools sync` | Rewrites the managed routing block in `AGENTS.md` |
77
+ | `/ocsmarttools stats` | Shows calls, errors, timeouts, latency, and estimated savings |
78
+ | `/ocsmarttools stats reset` | Resets plugin stats |
79
+ | `/ocsmarttools setup [safe\|standard]` | Applies recommended defaults |
79
80
  | `/ocsmarttools mode <safe\|standard>` | Changes mode only |
80
- | `/ocsmarttools strict <on\|off\|status>` | Enables/disables strict plugin-managed routing |
81
- | `/ocsmarttools sync` | Re-applies the auto-managed routing policy block in `AGENTS.md` |
82
- | `/ocsmarttools config` | Shows effective plugin config |
81
+ | `/ocsmarttools config` | Shows plugin config |
83
82
  | `/ocsmarttools config keys` | Lists editable config keys |
84
- | `/ocsmarttools config set <key> <value>` | Updates one config key with validation |
85
- | `/ocsmarttools config reset [key]` | Resets one key (or all keys) to defaults |
83
+ | `/ocsmarttools config set <key> <value>` | Changes one config value |
84
+ | `/ocsmarttools config reset [key]` | Resets one key or all keys |
85
+ | `/ocsmarttools version` | Shows installed plugin version |
86
86
 
87
87
  ### CLI Commands
88
88
 
89
89
  | Command | What it does |
90
90
  |---|---|
91
- | `openclaw ocsmarttools version` | Shows installed plugin version |
92
- | `openclaw ocsmarttools help` | Shows simple help and examples |
93
- | `openclaw ocsmarttools status` | Shows current mode, limits, and safety flags |
94
- | `openclaw ocsmarttools stats` | Shows live usage metrics (success/failure/timeout, latency, shaping, savings) |
95
- | `openclaw ocsmarttools stats reset` | Resets the stats window |
96
- | `openclaw ocsmarttools setup [safe\|standard]` | Applies recommended defaults for the selected mode |
91
+ | `openclaw ocsmarttools help` | Shows all commands in plain language |
92
+ | `openclaw ocsmarttools status` | Shows mode and safety settings |
93
+ | `openclaw ocsmarttools strict <on\|off>` | Turns strict routing on/off |
94
+ | `openclaw ocsmarttools sync` | Rewrites the managed routing block in `AGENTS.md` |
95
+ | `openclaw ocsmarttools stats` | Shows calls, errors, timeouts, latency, and estimated savings |
96
+ | `openclaw ocsmarttools stats reset` | Resets plugin stats |
97
+ | `openclaw ocsmarttools setup [safe\|standard]` | Applies recommended defaults |
97
98
  | `openclaw ocsmarttools mode <safe\|standard>` | Changes mode only |
98
- | `openclaw ocsmarttools strict <on\|off>` | Enables/disables strict plugin-managed routing |
99
- | `openclaw ocsmarttools sync` | Re-applies the auto-managed routing policy block in `AGENTS.md` |
100
- | `openclaw ocsmarttools config` | Shows effective plugin config |
99
+ | `openclaw ocsmarttools config` | Shows plugin config |
101
100
  | `openclaw ocsmarttools config keys` | Lists editable config keys |
102
- | `openclaw ocsmarttools config set <key> <value>` | Updates one config key with validation |
103
- | `openclaw ocsmarttools config reset [key]` | Resets one key (or all keys) to defaults |
101
+ | `openclaw ocsmarttools config set <key> <value>` | Changes one config value |
102
+ | `openclaw ocsmarttools config reset [key]` | Resets one key or all keys |
103
+ | `openclaw ocsmarttools version` | Shows installed plugin version |
104
104
 
105
105
  ## Common Config Actions
106
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ocsmarttools",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Provider-agnostic advanced tool orchestration plugin for OpenClaw with search, dispatch, and batching",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -162,28 +162,31 @@ export function renderStatus(api: OpenClawPluginApi): string {
162
162
 
163
163
  export function renderHelp(): string {
164
164
  return [
165
- "OCSmartTools Help",
165
+ "OCSmartTools Help (Simple)",
166
166
  "",
167
- "Chat commands:",
168
- "- /ocsmarttools version: Show installed plugin version",
169
- "- /ocsmarttools help: Show this help text",
170
- "- /ocsmarttools status: Show current plugin status and safety flags",
171
- "- /ocsmarttools stats: Show usage/savings metrics (success/failure/timeout/latency/shaping)",
172
- "- /ocsmarttools stats reset: Reset metrics window",
173
- "- /ocsmarttools setup [safe|standard]: Apply recommended defaults (default: standard)",
174
- "- /ocsmarttools mode <safe|standard>: Switch only the operating mode",
175
- "- /ocsmarttools strict [on|off|status]: Toggle strict routing behavior",
176
- "- /ocsmarttools sync: Re-apply auto-managed routing policy to AGENTS.md",
177
- "- /ocsmarttools config: Show effective plugin config",
178
- "- /ocsmarttools config keys: List editable config keys",
179
- "- /ocsmarttools config set <key> <value>: Update one config key",
180
- "- /ocsmarttools config reset [key]: Reset one key (or all keys) to defaults",
167
+ "Use these in chat:",
168
+ "- /ocsmarttools status -> Shows current mode and safety settings.",
169
+ "- /ocsmarttools strict on -> Turns on strict plugin-managed routing.",
170
+ "- /ocsmarttools strict off -> Turns strict routing off.",
171
+ "- /ocsmarttools strict status -> Shows whether strict routing is on or off.",
172
+ "- /ocsmarttools sync -> Rewrites/refreshes the managed routing block in AGENTS.md.",
173
+ "- /ocsmarttools stats -> Shows calls, errors, timeouts, latency, and savings.",
174
+ "- /ocsmarttools stats reset -> Resets the stats window to zero.",
175
+ "- /ocsmarttools setup [safe|standard] -> Applies recommended defaults.",
176
+ "- /ocsmarttools mode <safe|standard> -> Changes only mode.",
177
+ "- /ocsmarttools config -> Shows current plugin config.",
178
+ "- /ocsmarttools config keys -> Lists editable config keys.",
179
+ "- /ocsmarttools config set <key> <value> -> Changes one config value.",
180
+ "- /ocsmarttools config reset [key] -> Resets one key or all keys.",
181
+ "- /ocsmarttools version -> Shows installed plugin version.",
182
+ "- /ocsmarttools help -> Shows this help message.",
181
183
  "",
182
- "Examples:",
184
+ "Quick examples:",
185
+ "- /ocsmarttools status",
183
186
  "- /ocsmarttools config set maxResultChars 120000",
184
187
  "- /ocsmarttools strict on",
185
- "- /ocsmarttools config set storeLargeResults true",
186
- "- /ocsmarttools config reset maxResultChars",
188
+ "- /ocsmarttools stats",
189
+ "- /ocsmarttools sync",
187
190
  ].join("\n");
188
191
  }
189
192