enigma-memory 0.1.1 → 0.1.3
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/apps/browser-extension/manifest.json +41 -0
- package/apps/browser-extension/src/background.js +88 -0
- package/apps/browser-extension/src/content-script.js +602 -0
- package/apps/browser-extension/src/native-bridge.js +289 -0
- package/apps/cli/bin/enigma.mjs +209 -2
- package/apps/desktop/src/tray.js +231 -0
- package/docs/benchmark-reproducibility.md +113 -0
- package/docs/browser-extension-install.md +169 -0
- package/docs/developer-ecosystem.md +76 -0
- package/docs/hosted-cloud-product.md +68 -0
- package/docs/installers-and-desktop.md +76 -0
- package/docs/memory-benchmarks.md +82 -0
- package/docs/sdk-api.md +181 -0
- package/examples/ci/github-actions.yml +91 -0
- package/examples/node-basic-memory.mjs +84 -0
- package/package.json +21 -1
- package/packages/connectors/src/index.js +274 -39
- package/packages/hosted-cloud/src/index.js +538 -0
- package/packages/mcp-server/src/index.js +1 -1
- package/scripts/build-installer-assets.mjs +273 -0
- package/scripts/package-browser-extension.mjs +473 -0
- package/scripts/run-memory-benchmarks.mjs +897 -0
- package/scripts/verify-registry-install.mjs +6 -1
- package/templates/mcp-client-config.json +10 -0
|
@@ -386,6 +386,11 @@ function safeErrorMessage(error) {
|
|
|
386
386
|
return 'Registry install verification failed.';
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
+
export function registryInstallCliOutput(output) {
|
|
390
|
+
if (output.mode === 'dry-run') return output.commands;
|
|
391
|
+
return output;
|
|
392
|
+
}
|
|
393
|
+
|
|
389
394
|
async function main() {
|
|
390
395
|
const args = parseRegistryInstallArgs();
|
|
391
396
|
if (args.help) {
|
|
@@ -393,7 +398,7 @@ async function main() {
|
|
|
393
398
|
return;
|
|
394
399
|
}
|
|
395
400
|
const output = await runRegistryInstallVerification(args);
|
|
396
|
-
process.stdout.write(`${JSON.stringify(output, null, 2)}\n`);
|
|
401
|
+
process.stdout.write(`${JSON.stringify(registryInstallCliOutput(output), null, 2)}\n`);
|
|
397
402
|
if (output.ok !== true) process.exitCode = 1;
|
|
398
403
|
}
|
|
399
404
|
|