sporades 0.6.1 → 0.6.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 (44) hide show
  1. package/CHANGES.md +7 -4
  2. package/README.md +2 -1
  3. package/bin/sporades-host-helper.js +2 -2
  4. package/bin/sporades.js +5925 -2074
  5. package/dist/bundle-pipeline.d.ts +12 -24
  6. package/dist/bundle-pipeline.d.ts.map +1 -1
  7. package/dist/bundle-pipeline.js +144 -32
  8. package/dist/bundle-pipeline.js.map +1 -1
  9. package/dist/cli/cli-help.d.ts +3 -3
  10. package/dist/cli/cli-help.d.ts.map +1 -1
  11. package/dist/cli/cli-help.js +13 -4
  12. package/dist/cli/cli-help.js.map +1 -1
  13. package/dist/cli/cli-version.d.ts +1 -1
  14. package/dist/cli/cli-version.js +1 -1
  15. package/dist/cli/project-config.d.ts +1 -0
  16. package/dist/cli/project-config.d.ts.map +1 -1
  17. package/dist/cli/project-config.js +5 -0
  18. package/dist/cli/project-config.js.map +1 -1
  19. package/dist/cli/sporades.js +313 -75
  20. package/dist/cli/sporades.js.map +1 -1
  21. package/dist/client-toolchain.js +103 -2
  22. package/dist/client-toolchain.js.map +1 -1
  23. package/dist/file-transaction.d.ts +17 -0
  24. package/dist/file-transaction.d.ts.map +1 -0
  25. package/dist/file-transaction.js +269 -0
  26. package/dist/file-transaction.js.map +1 -0
  27. package/dist/mail-config.d.ts +4 -0
  28. package/dist/mail-config.d.ts.map +1 -0
  29. package/dist/mail-config.js +119 -0
  30. package/dist/mail-config.js.map +1 -0
  31. package/dist/sealed-server-env.d.ts +3 -4
  32. package/dist/sealed-server-env.d.ts.map +1 -1
  33. package/dist/sealed-server-env.js +89 -2
  34. package/dist/sealed-server-env.js.map +1 -1
  35. package/dist/server-runtime-source.d.ts +82 -27
  36. package/dist/server-runtime-source.d.ts.map +1 -1
  37. package/dist/server-runtime-source.js +4994 -1875
  38. package/dist/server-runtime-source.js.map +1 -1
  39. package/dist/templates/scaffold-template.js +71 -73
  40. package/dist/templates/scaffold-template.js.map +1 -1
  41. package/dist/templates/server-bundle-template.js +1 -1
  42. package/package.json +4 -2
  43. package/src/types/client.d.ts +7 -1
  44. package/src/types/server.d.ts +42 -0
package/CHANGES.md CHANGED
@@ -1,10 +1,13 @@
1
1
  # Changes
2
2
 
3
- ## Unreleased - 2026-07-30
3
+ ## Unreleased - 2026-08-04
4
4
 
5
- Changes since v0.6.0.
5
+ Changes since v0.6.3.
6
6
 
7
7
  ### 🐛 Bug Fixes
8
8
 
9
- - Test for minor bump (996c1e7).
10
- - Fix bundled email sign-in constants (307c8ea).
9
+ - Fix vite plugins (bd40007).
10
+
11
+ ### 📦 Packaging
12
+
13
+ - Support npm 12 pack JSON output (361b1a4).
package/README.md CHANGED
@@ -142,7 +142,8 @@ Sporades currently includes:
142
142
  - Local Docker Container sessions for production-like staging tests.
143
143
  - Hosted Capsules on SSH-reachable Host servers, routed through Caddy and run in
144
144
  hardened Docker containers.
145
- - Runtime-owned auth with anonymous sessions, email auth, Google OAuth, and
145
+ - Runtime-owned auth with anonymous sessions, email auth, Google OAuth,
146
+ Microsoft OpenID Connect, Sign in with Apple, Facebook Login, and
146
147
  local identity simulation for tests and agents.
147
148
  - Runtime-owned current-user preferences exposed through `sporades/client`
148
149
  without app preference tables. Preferences follow the Sporades user identity,
@@ -161,7 +161,7 @@ function validatePublicTreeFileSet(files) {
161
161
  }
162
162
 
163
163
  // src/server-runtime-source.ts
164
- import { createHash, createHmac, randomBytes, randomUUID, scryptSync, timingSafeEqual } from "node:crypto";
164
+ import { createHash, createHmac, createPrivateKey, randomBytes, randomUUID, scryptSync, sign, timingSafeEqual, verify } from "node:crypto";
165
165
  var EMAIL_SIGN_IN_THROTTLE_WINDOW_MS = 15 * 60 * 1e3;
166
166
  function logPayloadMaxBytes(config = {}) {
167
167
  const configured = Number(config.logs?.payloadMaxBytes ?? config.logging?.payloadMaxBytes);
@@ -391,7 +391,7 @@ function writeEnvelope(result, failed = false) {
391
391
  }
392
392
 
393
393
  // src/cli/cli-version.ts
394
- var CLI_VERSION = "0.6.1";
394
+ var CLI_VERSION = "0.6.4";
395
395
 
396
396
  // src/cli/schedule-inspection-envelope.ts
397
397
  function sanitizeScheduleInspectionEnvelope(envelope, invalid) {