@true-and-useful/janee 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/README.md +19 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -88,7 +88,7 @@ Janee will guide you through adding a service:
88
88
  ```
89
89
  Service name: stripe
90
90
  Base URL: https://api.stripe.com
91
- Auth type (bearer/hmac/headers): bearer
91
+ Auth type: bearer
92
92
  API key: sk_live_xxx
93
93
 
94
94
  ✓ Added service "stripe"
@@ -103,6 +103,8 @@ Auto-approve? (Y/n): y
103
103
  Done! Run 'janee serve' to start.
104
104
  ```
105
105
 
106
+ **Using an AI agent?** See [Non-interactive Setup](#non-interactive-setup-for-ai-agents) for flags that skip prompts, or the [agent-specific guides](#integrations) below.
107
+
106
108
  **Option 2: Edit config directly**
107
109
 
108
110
  Edit `~/.janee/config.yaml`:
@@ -135,7 +137,7 @@ Agents that support MCP (Claude Desktop, Cursor, OpenClaw) can now call the `exe
135
137
  ```typescript
136
138
  // Agent calls the execute tool
137
139
  execute({
138
- service: "stripe",
140
+ capability: "stripe",
139
141
  method: "GET",
140
142
  path: "/v1/balance",
141
143
  reason: "User asked for account balance"
@@ -146,6 +148,18 @@ Janee decrypts the key, makes the request, logs everything, and returns the resp
146
148
 
147
149
  ---
148
150
 
151
+ ## Integrations
152
+
153
+ Works with any agent that speaks MCP:
154
+
155
+ - **OpenClaw** — Native plugin (`@true-and-useful/janee-openclaw`)
156
+ - **Cursor** — [Setup guide](docs/cursor.md)
157
+ - **Claude Code** — [Setup guide](docs/claude-code.md)
158
+ - **Codex CLI** — [Setup guide](docs/codex.md)
159
+ - **Any MCP client** — just point at `janee serve`
160
+
161
+ ---
162
+
149
163
  ## OpenClaw Integration
150
164
 
151
165
  If you're using [OpenClaw](https://openclaw.ai), install the plugin for native tool support:
@@ -179,18 +193,17 @@ Your agent now has these tools:
179
193
 
180
194
  The plugin spawns `janee serve` automatically. All requests are logged to `~/.janee/logs/`.
181
195
 
182
- **See [docs/OPENCLAW.md](docs/OPENCLAW.md) for full integration guide.**
183
-
184
196
  ---
185
197
 
186
198
  ## MCP Tools
187
199
 
188
- Janee exposes two MCP tools:
200
+ Janee exposes three MCP tools:
189
201
 
190
202
  | Tool | Description |
191
203
  |------|-------------|
192
204
  | `list_services` | Discover available APIs and their policies |
193
205
  | `execute` | Make an API request through Janee |
206
+ | `reload_config` | Reload config from disk after adding/removing services (available when started with `janee serve`) |
194
207
 
195
208
  Agents discover what's available, then call APIs through Janee. Same audit trail, same protection.
196
209
 
@@ -333,7 +346,7 @@ You can also edit `~/.janee/config.yaml` directly if you prefer.
333
346
  + logs request
334
347
  ```
335
348
 
336
- 1. Agent calls `execute` MCP tool with service, method, path
349
+ 1. Agent calls `execute` MCP tool with capability, method, path
337
350
  2. Janee looks up service config, decrypts the real key
338
351
  3. Makes HTTP request to real API with key
339
352
  4. Logs: timestamp, service, method, path, status
@@ -353,18 +366,6 @@ Agent never touches the real key.
353
366
 
354
367
  ---
355
368
 
356
- ## Integrations
357
-
358
- Works with any agent that speaks MCP:
359
-
360
- - **OpenClaw** — Native plugin (`@true-and-useful/janee-openclaw`)
361
- - **Cursor** — [Setup guide](/docs/cursor.md)
362
- - **Claude Code** — [Setup guide](/docs/claude-code.md)
363
- - **Codex CLI** — [Setup guide](/docs/codex.md)
364
- - **Any MCP client** — just point at `janee serve`
365
-
366
- ---
367
-
368
369
  ## Contributing
369
370
 
370
371
  We welcome contributions! See [CONTRIBUTING.md](docs/CONTRIBUTING.md) for guidelines.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@true-and-useful/janee",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Secrets management for AI agents via MCP",
5
5
  "main": "dist/index.js",
6
6
  "bin": {