@githolon/dsl 0.105.11 → 0.105.12
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.
|
@@ -1153,7 +1153,7 @@ extension NomosRefAcquire<TAggregate> on NomosRef<TAggregate> {
|
|
|
1153
1153
|
/// callback, invoked ONLY when the workspace is nowhere on the local plane (never for a local-only or
|
|
1154
1154
|
/// already-mounted workspace). Mirrors the cloud-shaped subset of [NomosBridge.connect]'s parameters.
|
|
1155
1155
|
class NomosSessionCredentials {
|
|
1156
|
-
/// The cloud base URL the workspace syncs from (e.g. `https://nomos.
|
|
1156
|
+
/// The cloud base URL the workspace syncs from (e.g. `https://nomos.cafe`).
|
|
1157
1157
|
final String cloud;
|
|
1158
1158
|
|
|
1159
1159
|
/// The verified principal's access token (`x-nomos-auth`), when the workspace requires one.
|
|
@@ -66,7 +66,7 @@ void main() {
|
|
|
66
66
|
() async {
|
|
67
67
|
final ws = Platform.environment['NOMOS_HEADLESS_E2E']!;
|
|
68
68
|
final cloud = Platform.environment['NOMOS_CLOUD'] ??
|
|
69
|
-
'https://nomos.
|
|
69
|
+
'https://nomos.cafe';
|
|
70
70
|
await bridge.ready.timeout(const Duration(seconds: 15));
|
|
71
71
|
await bridge.connect(
|
|
72
72
|
cloud: cloud, workspace: ws, clientId: 'headless-test');
|
package/package.json
CHANGED
package/src/codegen_proof.ts
CHANGED
|
@@ -3326,13 +3326,13 @@ function generateSealedApplicationProof(
|
|
|
3326
3326
|
`const proofPrincipal = proofUid ? "user:" + proofUid : "";`,
|
|
3327
3327
|
`const signIn = async (request: { readonly deviceChallenge?: string } = {}) => {`,
|
|
3328
3328
|
` const session = process.env.NOMOS_AUTH_TOKEN || "";`,
|
|
3329
|
-
` if (!request.deviceChallenge) return session;`,
|
|
3330
3329
|
` if (!proofUid) fail("the generated blank-user proof has no authority subject");`,
|
|
3331
|
-
` const endpoint = process.env.NOMOS_DEVICE_TOKEN_ENDPOINT || "https://id.nomos.
|
|
3330
|
+
` const endpoint = process.env.NOMOS_DEVICE_TOKEN_ENDPOINT || "https://id.nomos.cafe/token";`,
|
|
3332
3331
|
` const localTestIdp = endpoint.endsWith("/dev/mint-token");`,
|
|
3332
|
+
` const nonce = request.deviceChallenge || "0".repeat(64);`,
|
|
3333
3333
|
` const response = await fetch(endpoint, {`,
|
|
3334
3334
|
` method: "POST", headers: { "content-type": "application/json", ...(session ? { authorization: "Bearer " + session } : {}) },`,
|
|
3335
|
-
` body: JSON.stringify(localTestIdp ? { sub: proofUid, nonce
|
|
3335
|
+
` body: JSON.stringify(localTestIdp ? { sub: proofUid, nonce } : { nonce }),`,
|
|
3336
3336
|
` });`,
|
|
3337
3337
|
` const body = await response.json() as { token?: string; error?: string };`,
|
|
3338
3338
|
` if (!response.ok || !body.token) fail("the generated application could not attest its private device: " + (body.error || response.status));`,
|
|
@@ -1661,7 +1661,7 @@ const NOMOS_TYPES_DEP = "^0.8.7";
|
|
|
1661
1661
|
// DomainNotInstalledForSession, engine.follow, pendingConflicts lanes) — the generated client
|
|
1662
1662
|
// REQUIRES this surface. 0.48.1 fixes NomosSession.watchPendingConflicts delegation.
|
|
1663
1663
|
const NOMOS_CLIENT_DEP = "^0.64.26";
|
|
1664
|
-
const NOMOS_FLUTTER_DEP = "^0.63.
|
|
1664
|
+
const NOMOS_FLUTTER_DEP = "^0.63.50";
|
|
1665
1665
|
// DRIFT TRIPWIRE: pubspec_pins.test.ts asserts these equal the CURRENT versions in dsl/dart/pubspec.yaml
|
|
1666
1666
|
// and dsl/dart_types/pubspec.yaml — a Dart release without this bump fails the suite, so tenants never
|
|
1667
1667
|
// land back in dependency_overrides (the exact co2 report this closes, third occurrence).
|