@githolon/dsl 0.117.0 → 0.117.1

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/dart/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.70.4
2
+
3
+ - Refresh the bundled Node runner alongside the fixed npm-group release for deterministic compiler Reception encoding. Give the changed runner a new immutable client package version.
4
+
1
5
  ## 0.70.3
2
6
 
3
7
  Refresh the packaged Peer Office runner from the shared client source used by the hosted headless application client. The existing text-decoder BOM behavior is explicit; the kernel and Peer Office protocols are unchanged.
@@ -25001,7 +25001,7 @@ function delayUntilDue(follow, nowUnixMillis) {
25001
25001
 
25002
25002
  // ../src/runtime/runtime_identity.ts
25003
25003
  init_define_NOMOS_KERNEL_RELEASE();
25004
- var PEER_RUNTIME_IDENTITY = "0.117.0" ? `@githolon/runtime@${"0.117.0"}` : "@githolon/runtime@unbundled";
25004
+ var PEER_RUNTIME_IDENTITY = "0.117.1" ? `@githolon/runtime@${"0.117.1"}` : "@githolon/runtime@unbundled";
25005
25005
 
25006
25006
  // ../src/runtime/replica_follow_desk.ts
25007
25007
  init_define_NOMOS_KERNEL_RELEASE();
package/dart/pubspec.yaml CHANGED
@@ -7,7 +7,7 @@ repository: https://github.com/Captain-App/nomos2
7
7
  description: >-
8
8
  Nomos 2 Dart client — generated domain values, intent payloads and application
9
9
  lifecycle types over the typed Nomos kernel protocol and USDA custody model.
10
- version: 0.70.3
10
+ version: 0.70.4
11
11
 
12
12
  environment:
13
13
  sdk: ^3.5.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@githolon/dsl",
3
- "version": "0.117.0",
3
+ "version": "0.117.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Nomos 2 domain-authoring DSL: aggregates + directives in TS, executed and encoded to the Rust kernel's wire shapes.",
@@ -79,10 +79,11 @@
79
79
  "test": "vitest run"
80
80
  },
81
81
  "dependencies": {
82
- "@githolon/runtime": "^0.117.0",
82
+ "@githolon/runtime": "^0.117.1",
83
83
  "@bufbuild/protobuf": "^2.13.0",
84
84
  "@bufbuild/protoc-gen-es": "^2.13.0",
85
85
  "esbuild": "0.24.2",
86
+ "fflate": "0.8.2",
86
87
  "tsx": "^4.19.2",
87
88
  "typescript": "^5.6.3",
88
89
  "vscode-languageserver": "^9.0.1",
@@ -2590,8 +2590,8 @@ const NOMOS_TYPES_DEP = "^0.15.0";
2590
2590
  // 0.48.x: session-bound clients (XClient.bind/NomosClientInterface/DomainClientSessionMismatch/
2591
2591
  // DomainNotInstalledForSession, engine.follow, pendingConflicts lanes) — the generated client
2592
2592
  // REQUIRES this surface. 0.48.1 fixes NomosSession.watchPendingConflicts delegation.
2593
- const NOMOS_CLIENT_DEP = "^0.70.3";
2594
- const NOMOS_FLUTTER_DEP = "^0.68.5";
2593
+ const NOMOS_CLIENT_DEP = "^0.70.4";
2594
+ const NOMOS_FLUTTER_DEP = "^0.68.6";
2595
2595
  // DRIFT TRIPWIRE: pubspec_pins.test.ts asserts these equal the CURRENT versions in the Dart and Flutter
2596
2596
  // package pubspecs — a release without this bump fails the suite, so tenants never
2597
2597
  // land back in dependency_overrides (the exact co2 report this closes, third occurrence).
@@ -1,7 +1,7 @@
1
1
  import { build, version as esbuildVersion } from "esbuild";
2
2
  import { createRequire } from "node:module";
3
3
  import { dirname, join } from "node:path";
4
- import { gzipSync } from "node:zlib";
4
+ import { gzipSync } from "fflate";
5
5
  /** Compiler-only inventory of the generated stateless business methods. */
6
6
  import type { DomainModule } from "./codegen_dart.js";
7
7
  import type { LawGraph } from "./law_graph.js";
@@ -12,10 +12,11 @@ import type { ReceptionTemplate } from "./reception_artifact_contract.js";
12
12
  import { isFrameworkAggregate, isFrameworkQuery } from "./framework/framework_aggregates.js";
13
13
 
14
14
  /** Keep source completeness without multiplying opaque metadata in semantic USD.
15
- * gzip has no timestamp/name, so repeated compiler runs carry the same bytes. */
15
+ * The pinned pure-JS compressor, fixed memory level and zero timestamp keep law bytes independent
16
+ * of the host's zlib version. Do not substitute native gzip for this encoder. */
16
17
  export function compressCompilerReceptionTemplate(template: ReceptionTemplate): ReceptionTemplate {
17
18
  const bytes = Buffer.from(JSON.stringify([template.factorySource, template.clientSource, template.operationBinding, template.operationProto]));
18
- return { ...template, sourceEnvelope: { gzipBase64: gzipSync(bytes, { level: 9 }).toString("base64"), decodedBytes: bytes.byteLength } };
19
+ return { ...template, sourceEnvelope: { gzipBase64: Buffer.from(gzipSync(bytes, { level: 9, mem: 8, mtime: 0 })).toString("base64"), decodedBytes: bytes.byteLength } };
19
20
  }
20
21
  const queryMember = (value: string) => {
21
22
  const camel = value.replace(/[_\s-]+(\w)/g, (_match, letter: string) => letter.toUpperCase());