@chatpanel/gateway 0.5.5 → 0.5.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/server.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatpanel/gateway",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "Local privacy gateway — redacts PII out of OpenAI/Anthropic API traffic before it reaches a model, then restores it in the reply. Point opencode, codex, aider, Claude Code, etc. at it.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/server.js CHANGED
@@ -33,7 +33,7 @@ import * as openai from './openai.js';
33
33
  import * as responses from './responses.js';
34
34
  import * as anthropic from './anthropic.js';
35
35
 
36
- export const VERSION = '0.5.5';
36
+ export const VERSION = '0.5.6';
37
37
 
38
38
  const KNOWN_AGENTS = new Set(['codex', 'claude', 'opencode', 'pi', 'kiro', 'antigravity']);
39
39
 
@@ -41,7 +41,7 @@ const KNOWN_AGENTS = new Set(['codex', 'claude', 'opencode', 'pi', 'kiro', 'anti
41
41
  // the extension's AUTO mode via the SAME shared ranker. We narrow only tools whose
42
42
  // name looks like an MCP tool (server-prefixed) so a client's CORE tools (bash,
43
43
  // read, edit…) are never dropped — that would break agent clients like OpenCode.
44
- const DEFAULT_GATEWAY_TOOL_CAP = 8;
44
+ const DEFAULT_GATEWAY_TOOL_CAP = 16;
45
45
  const MCP_NAME_RE = /^mcp[_-]/i;
46
46
  const toolName = (t) => (t && t.function && t.function.name) || (t && t.name) || '';
47
47
  const toolDesc = (t) => (t && t.function && t.function.description) || (t && t.description) || '';