@chatpanel/gateway 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatpanel/gateway",
3
- "version": "0.1.5",
3
+ "version": "0.1.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/ner.js CHANGED
@@ -84,7 +84,16 @@ export function startNer(cfg) {
84
84
  try {
85
85
  child = spawn(resolveBash(), ['run.sh'], {
86
86
  cwd: NER_DIR,
87
- env: { ...process.env, PORT: String(port), PATH: enrichedPath() },
87
+ env: {
88
+ ...process.env,
89
+ PORT: String(port),
90
+ PATH: enrichedPath(),
91
+ // Force official PyPI: a machine pinned to a private/corp index (in
92
+ // pip.conf) can't reach it off-VPN, which breaks the one-time install.
93
+ PIP_INDEX_URL: process.env.CHATPANEL_PIP_INDEX_URL || 'https://pypi.org/simple',
94
+ PIP_EXTRA_INDEX_URL: '',
95
+ PIP_DISABLE_PIP_VERSION_CHECK: '1',
96
+ },
88
97
  stdio: ['ignore', 'pipe', 'pipe'],
89
98
  });
90
99
  } catch (e) {
package/src/server.js CHANGED
@@ -31,7 +31,7 @@ import * as openai from './openai.js';
31
31
  import * as responses from './responses.js';
32
32
  import * as anthropic from './anthropic.js';
33
33
 
34
- export const VERSION = '0.1.5';
34
+ export const VERSION = '0.1.6';
35
35
 
36
36
  const KNOWN_AGENTS = new Set(['codex', 'claude', 'opencode', 'pi', 'kiro', 'antigravity']);
37
37