enigma-memory 0.1.13 → 0.1.14

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 (32) hide show
  1. package/README.md +36 -17
  2. package/apps/cli/bin/enigma.mjs +320 -42
  3. package/deploy/docker-compose.local-production-simulation.yml +10 -11
  4. package/docs/benchmark-attestation-network.md +487 -487
  5. package/docs/benchmark-reproducibility.md +10 -9
  6. package/docs/demo-proof-network.md +275 -275
  7. package/docs/developer-ecosystem.md +223 -223
  8. package/docs/developer-proof-quickstart.md +325 -325
  9. package/docs/enigma-memory-ready-conformance.md +376 -376
  10. package/docs/hosted-cloud-product.md +10 -0
  11. package/docs/install-anywhere.md +34 -17
  12. package/docs/installers-and-desktop.md +9 -7
  13. package/docs/proof-network-build-notes.md +240 -240
  14. package/docs/proof-network.md +257 -257
  15. package/docs/sdk-api.md +324 -324
  16. package/docs/solana-devnet-acceptance.md +48 -0
  17. package/docs/solana-proof-rail.md +453 -453
  18. package/examples/ci/github-actions.yml +6 -8
  19. package/package.json +8 -1
  20. package/packages/mcp-server/src/index.js +1 -1
  21. package/packages/passport/src/index.js +9 -5
  22. package/scripts/build-benchmark-proof-release.mjs +391 -0
  23. package/scripts/build-goal-completion-audit.mjs +11 -5
  24. package/scripts/build-hosted-api-key-lifecycle.mjs +1 -1
  25. package/scripts/build-hosted-customer-lifecycle.mjs +1 -1
  26. package/scripts/build-installer-assets.mjs +126 -10
  27. package/scripts/build-production-handoff-packet.mjs +7 -6
  28. package/scripts/build-production-unblocker.mjs +409 -0
  29. package/scripts/build-proof-network-packet.mjs +1 -1
  30. package/scripts/release-audit.mjs +71 -2
  31. package/scripts/run-standard-memory-benchmarks.mjs +1 -1
  32. package/scripts/wait-for-backend-ready.mjs +4 -2
@@ -9,6 +9,8 @@
9
9
  # via /etc/hosts or local DNS. This lets curl -k reach the tls-proxy container
10
10
  # whose ports are published on the loopback interface. For real validation the
11
11
  # operator must point the chosen public domain at the deployment's public IP.
12
+ name: enigma-local-production-simulation
13
+
12
14
  services:
13
15
  postgres:
14
16
  image: postgres:17-alpine
@@ -119,16 +121,13 @@ services:
119
121
  - /tmp:rw,noexec,nosuid,size=64m
120
122
  healthcheck:
121
123
  test: ["CMD-SHELL", "node -e \"Promise.all([fetch('http://127.0.0.1:8787/livez'),fetch('http://127.0.0.1:8787/readyz')]).then(rs=>process.exit(rs.every(r=>r.ok)?0:1)).catch(()=>process.exit(1))\""]
122
- interval: 15s
124
+ interval: 10s
123
125
  timeout: 5s
124
- retries: 5
125
- start_period: 10s
126
+ retries: 12
127
+ start_period: 30s
126
128
  restart: unless-stopped
127
129
 
128
130
  gateway:
129
- build:
130
- context: ..
131
- dockerfile: Dockerfile
132
131
  image: enigma-local:simulation
133
132
  entrypoint: ["enigma-gateway"]
134
133
  command: ["serve", "--host", "0.0.0.0", "--port", "8797"]
@@ -189,17 +188,17 @@ services:
189
188
  - /tmp:rw,noexec,nosuid,size=64m
190
189
  healthcheck:
191
190
  test: ["CMD-SHELL", "node -e \"Promise.all([fetch('http://127.0.0.1:8797/livez'),fetch('http://127.0.0.1:8797/readyz')]).then(rs=>process.exit(rs.every(r=>r.ok)?0:1)).catch(()=>process.exit(1))\""]
192
- interval: 15s
191
+ interval: 10s
193
192
  timeout: 5s
194
- retries: 5
195
- start_period: 10s
193
+ retries: 12
194
+ start_period: 30s
196
195
  restart: unless-stopped
197
196
 
198
197
  tls-proxy:
199
198
  image: nginx:alpine
200
199
  ports:
201
- - "127.0.0.1:8443:8443"
202
- - "127.0.0.1:9443:9443"
200
+ - "127.0.0.1:${ENIGMA_SIM_RELAY_PORT:-8443}:8443"
201
+ - "127.0.0.1:${ENIGMA_SIM_GATEWAY_PORT:-9443}:9443"
203
202
  volumes:
204
203
  - ./secrets-simulation/tls.crt:/etc/nginx/ssl/tls.crt:ro
205
204
  - ./secrets-simulation/tls.key:/etc/nginx/ssl/tls.key:ro