@nxuss/lemma 1.0.3 → 1.0.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.
Files changed (2) hide show
  1. package/bin/init.js +2 -11
  2. package/package.json +3 -3
package/bin/init.js CHANGED
@@ -413,7 +413,7 @@ function configureKiro() {
413
413
  return true;
414
414
  }
415
415
 
416
- // OpenCode: add permissions to opencode.json
416
+ // OpenCode: register MCP server in opencode.json
417
417
  function configureOpenCode() {
418
418
  const cwd = process.cwd();
419
419
  const opencodePath = path.join(cwd, 'opencode.json');
@@ -434,15 +434,6 @@ function configureOpenCode() {
434
434
  };
435
435
  }
436
436
 
437
- // Add permissions block (opencode format)
438
- if (!config.permissions) config.permissions = {};
439
- if (!config.permissions.allow) config.permissions.allow = [];
440
- const existingAllow = new Set(config.permissions.allow);
441
- for (const t of LEMMA_TOOL_NAMES) {
442
- existingAllow.add(`lemma:${t}`);
443
- }
444
- config.permissions.allow = Array.from(existingAllow);
445
-
446
437
  // Add AGENTS.md instructions path if supported
447
438
  if (!config.instructions) config.instructions = [];
448
439
  if (!config.instructions.includes('AGENTS.md')) {
@@ -609,7 +600,7 @@ async function main() {
609
600
  ok('Kiro configured (.kiro/steering/lemma.md + autoApprove in .mcp.json)');
610
601
 
611
602
  configureOpenCode();
612
- ok('OpenCode configured (opencode.json permissions + MCP)');
603
+ ok('OpenCode configured (opencode.json MCP + instructions)');
613
604
 
614
605
  const hasContinue = detectTool('Continue.dev', () => configureContinueDotDev());
615
606
  if (hasContinue) ok('Continue.dev configured');
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nxuss/lemma",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Intelligent AI Gateway for IDEs & Agents — Semantic cache, Privacy Firewall, and Autonomous Cost-Optimization.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
7
7
  "types": "./dist/esm/index.d.ts",
8
8
  "bin": {
9
- "lemma": "./lemma-proxy.cjs",
10
- "lemma-mcp-server": "./mcp-server.js"
9
+ "lemma": "lemma-proxy.cjs",
10
+ "lemma-mcp-server": "mcp-server.js"
11
11
  },
12
12
  "exports": {
13
13
  ".": {