@githolon/dsl 0.103.11 → 0.103.13
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 +10 -0
- package/dart/lib/src/runner/node-entry.mjs +234 -170
- package/dart/lib/src/runner/offline-install.mjs +111 -123
- package/dart/lib/src/webview_bridge.dart +11 -11
- package/dart/pubspec.yaml +1 -1
- package/dart/test/webview_bridge_test.dart +10 -7
- package/dart_types/CHANGELOG.md +1 -1
- package/dart_types/lib/nomos_types.dart +4 -4
- package/dart_types/lib/src/versioned_nomos_ref.dart +13 -11
- package/package.json +1 -1
- package/runtime/generated-application-host.js +424 -237
- package/src/aggregate.ts +3 -1
- package/src/build_package.ts +77 -6
- package/src/check_package_main.ts +39 -16
- package/src/codegen_dart.ts +185 -48
- package/src/codegen_dart_application.ts +82 -16
- package/src/codegen_dart_client.ts +38 -10
- package/src/codegen_dot.ts +3 -3
- package/src/codegen_proof.ts +24 -2
- package/src/codegen_ts.ts +32 -19
- package/src/compile_package_main.ts +68 -11
- package/src/derived.ts +17 -0
- package/src/directive.ts +65 -0
- package/src/engine_entry.ts +22 -2
- package/src/enum_type.ts +71 -0
- package/src/fields.ts +135 -5
- package/src/flow_gate.ts +2 -1
- package/src/framework/workspaces.ts +73 -0
- package/src/idof_lint.ts +5 -1
- package/src/index.ts +20 -0
- package/src/kernel_capabilities.ts +12 -1
- package/src/law_check.ts +107 -28
- package/src/law_graph.ts +151 -20
- package/src/law_graph_usda.ts +23 -0
- package/src/law_value_type.ts +10 -3
- package/src/lsp_server.ts +26 -16
- package/src/package_config.ts +112 -9
- package/src/package_feature_topology.ts +174 -0
- package/src/plan_source_slice.ts +6 -0
- package/src/report.ts +6 -0
- package/src/stable_ids_for_module.ts +1 -0
- package/src/value_object.ts +9 -2
- package/src/workspace_sharding.ts +4 -4
|
@@ -36,10 +36,10 @@ export 'src/nomos_ref.dart' show NomosRef;
|
|
|
36
36
|
export 'src/versioned_nomos_ref.dart'
|
|
37
37
|
show
|
|
38
38
|
VersionedNomosRef,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
ReferenceVersionStatus,
|
|
40
|
+
ReferenceVersionCurrent,
|
|
41
|
+
ReferenceVersionOutdated,
|
|
42
|
+
ReferenceVersionUnavailable;
|
|
43
43
|
export 'src/optional_ref.dart' show NomosOptionalRef;
|
|
44
44
|
export 'src/invitation.dart' show Identity, User, Recipient, Invitation;
|
|
45
45
|
// Branded identity wrappers (NomosPrincipal / NomosDeviceSecret) for the generated cross-workspace
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// NOMOS — a version pin and its stable series (architecture/foreign_ref.md).
|
|
2
2
|
//
|
|
3
3
|
// This is deliberately a pure data type. The generated application owns the
|
|
4
|
-
// effectful
|
|
4
|
+
// effectful version-status check because it owns the authenticated multi-workspace
|
|
5
5
|
// kernel bridge; a projected DTO never hides a runtime or global singleton.
|
|
6
6
|
library;
|
|
7
7
|
|
|
@@ -35,29 +35,31 @@ final class VersionedNomosRef<TVersion, TSeries> {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/// The typed answer to a generated application's current-version check.
|
|
38
|
-
sealed class
|
|
39
|
-
const
|
|
38
|
+
sealed class ReferenceVersionStatus<TVersion> {
|
|
39
|
+
const ReferenceVersionStatus();
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/// The pinned publication is still the series' current publication.
|
|
43
|
-
final class
|
|
43
|
+
final class ReferenceVersionCurrent<TVersion>
|
|
44
|
+
extends ReferenceVersionStatus<TVersion> {
|
|
44
45
|
final NomosRef<TVersion> latest;
|
|
45
|
-
const
|
|
46
|
+
const ReferenceVersionCurrent(this.latest);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
/// The series now points at [latest], while the reference remains pinned to an
|
|
49
50
|
/// older immutable publication.
|
|
50
|
-
final class
|
|
51
|
+
final class ReferenceVersionOutdated<TVersion>
|
|
52
|
+
extends ReferenceVersionStatus<TVersion> {
|
|
51
53
|
final NomosRef<TVersion> latest;
|
|
52
|
-
const
|
|
54
|
+
const ReferenceVersionOutdated(this.latest);
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
/// Nomos could not establish
|
|
57
|
+
/// Nomos could not establish the version status without guessing (for example, the
|
|
56
58
|
/// series is not local, denied, missing, or does not satisfy the compiled law).
|
|
57
|
-
final class
|
|
58
|
-
extends
|
|
59
|
+
final class ReferenceVersionUnavailable<TVersion>
|
|
60
|
+
extends ReferenceVersionStatus<TVersion> {
|
|
59
61
|
final String reason;
|
|
60
|
-
const
|
|
62
|
+
const ReferenceVersionUnavailable(this.reason);
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
/// Framework-only construction and wire access for generated implementation
|
package/package.json
CHANGED