@githolon/dsl 0.97.1 → 0.97.2
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 +5 -0
- package/dart/lib/src/test_harness.dart +17 -11
- package/dart/pubspec.yaml +1 -1
- package/package.json +1 -1
package/dart/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## 0.61.1
|
|
2
|
+
|
|
3
|
+
- Runner entry resolution prefers the BUILT `@githolon/client/runner/node-entry.mjs` (published consumers:
|
|
4
|
+
node refuses type-stripping under node_modules, so the raw .ts entry only booted in-repo — DEFECT P3-002).
|
|
5
|
+
|
|
1
6
|
## 0.61.0
|
|
2
7
|
|
|
3
8
|
- **ERA-0 cloud-bound harness** — `NomosTestHarness.cloudBound` now runs the full WARRANTED onboarding
|
|
@@ -1263,18 +1263,24 @@ class NomosTestHarness {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
|
|
1265
1265
|
static Future<String> _resolveEntry(String node, String from) async {
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1266
|
+
// PREFER the BUILT .mjs (the published-consumer entry): node refuses type-stripping under node_modules
|
|
1267
|
+
// (ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING — co2 DEFECT P3-002), so the raw .ts entry only boots
|
|
1268
|
+
// in-repo. The .mjs ships from @githolon/client ≥0.97.2; the .ts fallback keeps in-repo dev working.
|
|
1269
|
+
for (final entry in const [
|
|
1270
|
+
'@githolon/client/runner/node-entry.mjs',
|
|
1271
|
+
'@githolon/client/runner/node-entry.ts',
|
|
1272
|
+
]) {
|
|
1273
|
+
final r = await Process.run(
|
|
1274
|
+
node,
|
|
1275
|
+
['-p', "require.resolve('$entry')"],
|
|
1276
|
+
workingDirectory: from,
|
|
1277
|
+
);
|
|
1278
|
+
final out = (r.stdout as String).trim();
|
|
1279
|
+
if (r.exitCode == 0 && out.isNotEmpty) return out;
|
|
1276
1280
|
}
|
|
1277
|
-
|
|
1281
|
+
throw NomosTestHarnessException(
|
|
1282
|
+
'cannot resolve @githolon/client/runner/node-entry.{mjs,ts} from $from — '
|
|
1283
|
+
'is @githolon/client installed (npm install)? Pass nodeEntry: to override.');
|
|
1278
1284
|
}
|
|
1279
1285
|
}
|
|
1280
1286
|
|
package/dart/pubspec.yaml
CHANGED
|
@@ -11,7 +11,7 @@ description: >-
|
|
|
11
11
|
Nomos 2 Dart frontend types — the hand-written kernel wire types plus the
|
|
12
12
|
code-generated per-domain aggregate + directive-payload types. (De)serializes
|
|
13
13
|
the EXACT serde JSON the Rust kernel + projection produce/consume.
|
|
14
|
-
version: 0.61.
|
|
14
|
+
version: 0.61.1
|
|
15
15
|
|
|
16
16
|
environment:
|
|
17
17
|
sdk: ^3.5.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@githolon/dsl",
|
|
3
|
-
"version": "0.97.
|
|
3
|
+
"version": "0.97.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Nomos 2 domain-authoring DSL: aggregates + directives in TS, executed and encoded to the Rust kernel's wire shapes.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|