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.
- package/CHANGES.md +7 -4
- package/README.md +2 -1
- package/bin/sporades-host-helper.js +2 -2
- package/bin/sporades.js +5925 -2074
- package/dist/bundle-pipeline.d.ts +12 -24
- package/dist/bundle-pipeline.d.ts.map +1 -1
- package/dist/bundle-pipeline.js +144 -32
- package/dist/bundle-pipeline.js.map +1 -1
- package/dist/cli/cli-help.d.ts +3 -3
- package/dist/cli/cli-help.d.ts.map +1 -1
- package/dist/cli/cli-help.js +13 -4
- package/dist/cli/cli-help.js.map +1 -1
- package/dist/cli/cli-version.d.ts +1 -1
- package/dist/cli/cli-version.js +1 -1
- package/dist/cli/project-config.d.ts +1 -0
- package/dist/cli/project-config.d.ts.map +1 -1
- package/dist/cli/project-config.js +5 -0
- package/dist/cli/project-config.js.map +1 -1
- package/dist/cli/sporades.js +313 -75
- package/dist/cli/sporades.js.map +1 -1
- package/dist/client-toolchain.js +103 -2
- package/dist/client-toolchain.js.map +1 -1
- package/dist/file-transaction.d.ts +17 -0
- package/dist/file-transaction.d.ts.map +1 -0
- package/dist/file-transaction.js +269 -0
- package/dist/file-transaction.js.map +1 -0
- package/dist/mail-config.d.ts +4 -0
- package/dist/mail-config.d.ts.map +1 -0
- package/dist/mail-config.js +119 -0
- package/dist/mail-config.js.map +1 -0
- package/dist/sealed-server-env.d.ts +3 -4
- package/dist/sealed-server-env.d.ts.map +1 -1
- package/dist/sealed-server-env.js +89 -2
- package/dist/sealed-server-env.js.map +1 -1
- package/dist/server-runtime-source.d.ts +82 -27
- package/dist/server-runtime-source.d.ts.map +1 -1
- package/dist/server-runtime-source.js +4994 -1875
- package/dist/server-runtime-source.js.map +1 -1
- package/dist/templates/scaffold-template.js +71 -73
- package/dist/templates/scaffold-template.js.map +1 -1
- package/dist/templates/server-bundle-template.js +1 -1
- package/package.json +4 -2
- package/src/types/client.d.ts +7 -1
- package/src/types/server.d.ts +42 -0
package/CHANGES.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
-
## Unreleased - 2026-
|
|
3
|
+
## Unreleased - 2026-08-04
|
|
4
4
|
|
|
5
|
-
Changes since v0.6.
|
|
5
|
+
Changes since v0.6.3.
|
|
6
6
|
|
|
7
7
|
### 🐛 Bug Fixes
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
|
|
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,
|
|
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.
|
|
394
|
+
var CLI_VERSION = "0.6.4";
|
|
395
395
|
|
|
396
396
|
// src/cli/schedule-inspection-envelope.ts
|
|
397
397
|
function sanitizeScheduleInspectionEnvelope(envelope, invalid) {
|