@atlasnomos/atlas 1.1.9 → 1.1.10
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
|
@@ -47,6 +47,7 @@ class InitCommand {
|
|
|
47
47
|
|
|
48
48
|
// 2. Save .env
|
|
49
49
|
let envContent = '# ATLAS Environment Configuration\n';
|
|
50
|
+
envContent += 'ATLAS_DEV_BYPASS=true\n'; // Enable seamless local development
|
|
50
51
|
for (const [k, v] of Object.entries(keys)) {
|
|
51
52
|
if (v) envContent += `${k}=${v}\n`;
|
|
52
53
|
}
|
|
@@ -361,9 +361,11 @@ class KernelBootstrap {
|
|
|
361
361
|
const { getInstance: getSentinel } = require('../constitution/SentinelInterface');
|
|
362
362
|
const sentinel = getSentinel();
|
|
363
363
|
|
|
364
|
-
if (!IS_LGM) {
|
|
364
|
+
if (!IS_LGM && this.tierManager.requiresSentinel()) {
|
|
365
365
|
await mcp.authorize(sentinel);
|
|
366
366
|
console.log(' ✓ MCP: Authorized and Locked');
|
|
367
|
+
} else if (!IS_LGM) {
|
|
368
|
+
console.log(' ⚠ MCP: Authorized via Local Bypass (DEV Tier)');
|
|
367
369
|
} else {
|
|
368
370
|
console.log(' ⚠ MCP: Local Authorization (LGM Enabled)');
|
|
369
371
|
}
|
|
@@ -465,12 +465,15 @@ class SentinelInterface {
|
|
|
465
465
|
const options = {
|
|
466
466
|
method,
|
|
467
467
|
headers: {
|
|
468
|
-
'Content-Type': 'application/json'
|
|
469
|
-
'X-API-Key': this.apiKey
|
|
468
|
+
'Content-Type': 'application/json'
|
|
470
469
|
},
|
|
471
470
|
timeout: timeoutMs
|
|
472
471
|
};
|
|
473
472
|
|
|
473
|
+
if (this.apiKey) {
|
|
474
|
+
options.headers['X-API-Key'] = this.apiKey;
|
|
475
|
+
}
|
|
476
|
+
|
|
474
477
|
const req = transport.request(`${baseUrl}${urlPath}`, options, (res) => {
|
|
475
478
|
let responseData = '';
|
|
476
479
|
res.on('data', chunk => responseData += chunk);
|