@githolon/dsl 0.107.4 → 0.108.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 +24 -0
- package/dart/lib/src/application_framework_calls.dart +299 -0
- package/dart/lib/src/generated_call.dart +96 -0
- package/dart/lib/src/nms_generated_runtime.dart +29 -0
- package/dart/lib/src/node_runner_transport.dart +77 -1
- package/dart/lib/src/result_usda.dart +487 -0
- package/dart/lib/src/runner/node-entry.mjs +10634 -6122
- package/dart/lib/src/runner/offline-install.mjs +4187 -2716
- package/dart/lib/src/runtime_v2_gateway.dart +54 -0
- package/dart/lib/src/runtime_v2_transport.dart +117 -0
- package/dart/lib/src/session_bound.dart +7 -2
- package/dart/lib/src/test_harness.dart +373 -282
- package/dart/lib/src/webview_bridge.dart +2146 -725
- package/dart/pubspec.lock +17 -1
- package/dart/pubspec.yaml +3 -2
- package/dart/test/acquire_session_credentials_test.dart +1 -1
- package/dart/test/acquire_session_test.dart +68 -14
- package/dart/test/adv_realm_interference_test.dart +6 -4
- package/dart/test/cluster_births_test.dart +11 -8
- package/dart/test/cluster_local_autosync_test.dart +1 -1
- package/dart/test/cluster_scale_test.dart +3 -2
- package/dart/test/dlq_session_surface_test.dart +52 -35
- package/dart/test/first_app_gauntlet_test.dart +1 -1
- package/dart/test/local_sync_inert_test.dart +23 -26
- package/dart/test/offer_authentication_proof_test.dart +193 -0
- package/dart/test/result_usda_test.dart +49 -0
- package/dart/test/session_bound_test.dart +8 -11
- package/dart/test/stale_bundle_test.dart +18 -3
- package/dart/test/test_harness_test.dart +14 -27
- package/dart/test/webview_bridge_test.dart +504 -83
- package/dart_types/CHANGELOG.md +17 -0
- package/dart_types/lib/nomos_kernel_protocol.dart +11 -0
- package/dart_types/lib/src/custody.dart +64 -19
- package/dart_types/lib/src/local_work_rejected.dart +30 -45
- package/dart_types/lib/src/proto/nomos/custody/v1/snapshot.pb.dart +169 -0
- package/dart_types/lib/src/proto/nomos/custody/v1/snapshot.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pb.dart +17945 -0
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pbenum.dart +933 -0
- package/dart_types/lib/src/proto/nomos/kernel/v1/progress.pb.dart +245 -0
- package/dart_types/lib/src/proto/nomos/kernel/v1/progress.pbenum.dart +160 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/runtime.pb.dart +8664 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/runtime.pbenum.dart +369 -0
- package/dart_types/lib/src/surfaced.dart +30 -25
- package/dart_types/pubspec.lock +16 -0
- package/dart_types/pubspec.yaml +3 -1
- package/dart_types/test/surfaced_test.dart +2 -1
- package/package.json +1 -1
- package/runtime/generated-application-host.js +5760 -1879
- package/src/authoring.ts +3 -2
- package/src/birth_meter_ensure.ts +2 -0
- package/src/births.ts +21 -0
- package/src/build_package.ts +30 -0
- package/src/business_birth.ts +41 -35
- package/src/codegen_call_usda.ts +1111 -0
- package/src/codegen_dart.ts +207 -282
- package/src/codegen_dart_application.ts +195 -252
- package/src/codegen_dart_client.ts +1978 -593
- package/src/codegen_dart_framework_calls.ts +291 -0
- package/src/codegen_dart_scenario.ts +7 -0
- package/src/codegen_proof.ts +3 -4
- package/src/codegen_provider_dart.ts +21 -7
- package/src/codegen_query_usda.ts +214 -0
- package/src/codegen_result_usda.ts +685 -0
- package/src/codegen_ts.ts +3945 -1111
- package/src/compile_package_main.ts +392 -46
- package/src/directive.ts +19 -4
- package/src/engine_entry.ts +45 -4
- package/src/framework/application_home.ts +4 -0
- package/src/framework/auth_provider_law.ts +296 -20
- package/src/framework/birth_certificate_law.ts +24 -0
- package/src/framework/home.ts +83 -40
- package/src/framework/owned_custody.ts +25 -12
- package/src/framework/owned_custody_value.ts +51 -0
- package/src/framework/relations.ts +47 -21
- package/src/framework/signing_identity.ts +100 -17
- package/src/framework/workspaces.ts +39 -10
- package/src/framework_call_definitions.ts +53 -0
- package/src/framework_read_definitions.ts +45 -0
- package/src/identity_frontier.ts +58 -0
- package/src/index.ts +22 -1
- package/src/intent.ts +216 -16
- package/src/law_check.ts +19 -1
- package/src/law_graph.ts +57 -8
- package/src/law_graph_usda.ts +73 -5
- package/src/law_value_type.ts +106 -19
- package/src/read.ts +47 -0
- package/src/read_projection_namespace.ts +7 -0
- package/src/shape_compat.ts +44 -42
- package/src/stable_ids.ts +37 -2
- package/src/test_call_usda.ts +83 -0
- package/src/wire.ts +36 -2
- package/src/wire_encode.ts +45 -1
- package/src/workspace_sharing.ts +27 -10
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
// This is a generated file - do not edit.
|
|
2
|
+
//
|
|
3
|
+
// Generated from nomos/kernel/v1/progress.proto.
|
|
4
|
+
|
|
5
|
+
// @dart = 3.3
|
|
6
|
+
|
|
7
|
+
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
8
|
+
// ignore_for_file: constant_identifier_names
|
|
9
|
+
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
10
|
+
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
11
|
+
// ignore_for_file: non_constant_identifier_names
|
|
12
|
+
|
|
13
|
+
import 'dart:core' as $core;
|
|
14
|
+
|
|
15
|
+
import 'package:fixnum/fixnum.dart' as $fixnum;
|
|
16
|
+
import 'package:protobuf/protobuf.dart' as $pb;
|
|
17
|
+
|
|
18
|
+
import 'progress.pbenum.dart';
|
|
19
|
+
|
|
20
|
+
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
|
21
|
+
|
|
22
|
+
export 'progress.pbenum.dart';
|
|
23
|
+
|
|
24
|
+
/// Ephemeral, authority-free progress from one long-running kernel operation.
|
|
25
|
+
///
|
|
26
|
+
/// This is deliberately a typed protobuf rather than JSON or a Nomos domain
|
|
27
|
+
/// record. It describes local execution only: it cannot authorize an effect,
|
|
28
|
+
/// enter custody, or influence a deterministic verdict. Hosts may poll the
|
|
29
|
+
/// latest snapshot while the canonical CallRequest remains in flight.
|
|
30
|
+
class KernelProgressSnapshot extends $pb.GeneratedMessage {
|
|
31
|
+
factory KernelProgressSnapshot({
|
|
32
|
+
$core.int? schemaVersion,
|
|
33
|
+
$fixnum.Int64? sequence,
|
|
34
|
+
KernelProgressOperation? operation,
|
|
35
|
+
KernelProgressPhase? phase,
|
|
36
|
+
$fixnum.Int64? completedUnits,
|
|
37
|
+
$fixnum.Int64? totalUnits,
|
|
38
|
+
KernelProgressUnit? unit,
|
|
39
|
+
$core.bool? terminal,
|
|
40
|
+
$fixnum.Int64? allocatorLiveBytes,
|
|
41
|
+
$fixnum.Int64? allocatorPeakBytes,
|
|
42
|
+
KernelLawHydrationStep? lawHydrationStep,
|
|
43
|
+
$core.String? lawPackageSha256,
|
|
44
|
+
}) {
|
|
45
|
+
final result = create();
|
|
46
|
+
if (schemaVersion != null) result.schemaVersion = schemaVersion;
|
|
47
|
+
if (sequence != null) result.sequence = sequence;
|
|
48
|
+
if (operation != null) result.operation = operation;
|
|
49
|
+
if (phase != null) result.phase = phase;
|
|
50
|
+
if (completedUnits != null) result.completedUnits = completedUnits;
|
|
51
|
+
if (totalUnits != null) result.totalUnits = totalUnits;
|
|
52
|
+
if (unit != null) result.unit = unit;
|
|
53
|
+
if (terminal != null) result.terminal = terminal;
|
|
54
|
+
if (allocatorLiveBytes != null)
|
|
55
|
+
result.allocatorLiveBytes = allocatorLiveBytes;
|
|
56
|
+
if (allocatorPeakBytes != null)
|
|
57
|
+
result.allocatorPeakBytes = allocatorPeakBytes;
|
|
58
|
+
if (lawHydrationStep != null) result.lawHydrationStep = lawHydrationStep;
|
|
59
|
+
if (lawPackageSha256 != null) result.lawPackageSha256 = lawPackageSha256;
|
|
60
|
+
return result;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
KernelProgressSnapshot._();
|
|
64
|
+
|
|
65
|
+
factory KernelProgressSnapshot.fromBuffer($core.List<$core.int> data,
|
|
66
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
67
|
+
create()..mergeFromBuffer(data, registry);
|
|
68
|
+
factory KernelProgressSnapshot.fromJson($core.String json,
|
|
69
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
70
|
+
create()..mergeFromJson(json, registry);
|
|
71
|
+
|
|
72
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
73
|
+
_omitMessageNames ? '' : 'KernelProgressSnapshot',
|
|
74
|
+
package:
|
|
75
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
|
|
76
|
+
createEmptyInstance: create)
|
|
77
|
+
..aI(1, _omitFieldNames ? '' : 'schemaVersion',
|
|
78
|
+
fieldType: $pb.PbFieldType.OU3)
|
|
79
|
+
..a<$fixnum.Int64>(
|
|
80
|
+
2, _omitFieldNames ? '' : 'sequence', $pb.PbFieldType.OU6,
|
|
81
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
82
|
+
..aE<KernelProgressOperation>(3, _omitFieldNames ? '' : 'operation',
|
|
83
|
+
enumValues: KernelProgressOperation.values)
|
|
84
|
+
..aE<KernelProgressPhase>(4, _omitFieldNames ? '' : 'phase',
|
|
85
|
+
enumValues: KernelProgressPhase.values)
|
|
86
|
+
..a<$fixnum.Int64>(
|
|
87
|
+
5, _omitFieldNames ? '' : 'completedUnits', $pb.PbFieldType.OU6,
|
|
88
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
89
|
+
..a<$fixnum.Int64>(
|
|
90
|
+
6, _omitFieldNames ? '' : 'totalUnits', $pb.PbFieldType.OU6,
|
|
91
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
92
|
+
..aE<KernelProgressUnit>(7, _omitFieldNames ? '' : 'unit',
|
|
93
|
+
enumValues: KernelProgressUnit.values)
|
|
94
|
+
..aOB(8, _omitFieldNames ? '' : 'terminal')
|
|
95
|
+
..a<$fixnum.Int64>(
|
|
96
|
+
9, _omitFieldNames ? '' : 'allocatorLiveBytes', $pb.PbFieldType.OU6,
|
|
97
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
98
|
+
..a<$fixnum.Int64>(
|
|
99
|
+
10, _omitFieldNames ? '' : 'allocatorPeakBytes', $pb.PbFieldType.OU6,
|
|
100
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
101
|
+
..aE<KernelLawHydrationStep>(11, _omitFieldNames ? '' : 'lawHydrationStep',
|
|
102
|
+
enumValues: KernelLawHydrationStep.values)
|
|
103
|
+
..aOS(12, _omitFieldNames ? '' : 'lawPackageSha256')
|
|
104
|
+
..hasRequiredFields = false;
|
|
105
|
+
|
|
106
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
107
|
+
KernelProgressSnapshot clone() => deepCopy();
|
|
108
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
109
|
+
KernelProgressSnapshot copyWith(
|
|
110
|
+
void Function(KernelProgressSnapshot) updates) =>
|
|
111
|
+
super.copyWith((message) => updates(message as KernelProgressSnapshot))
|
|
112
|
+
as KernelProgressSnapshot;
|
|
113
|
+
|
|
114
|
+
@$core.override
|
|
115
|
+
$pb.BuilderInfo get info_ => _i;
|
|
116
|
+
|
|
117
|
+
@$core.pragma('dart2js:noInline')
|
|
118
|
+
static KernelProgressSnapshot create() => KernelProgressSnapshot._();
|
|
119
|
+
@$core.override
|
|
120
|
+
KernelProgressSnapshot createEmptyInstance() => create();
|
|
121
|
+
@$core.pragma('dart2js:noInline')
|
|
122
|
+
static KernelProgressSnapshot getDefault() => _defaultInstance ??=
|
|
123
|
+
$pb.GeneratedMessage.$_defaultFor<KernelProgressSnapshot>(create);
|
|
124
|
+
static KernelProgressSnapshot? _defaultInstance;
|
|
125
|
+
|
|
126
|
+
@$pb.TagNumber(1)
|
|
127
|
+
$core.int get schemaVersion => $_getIZ(0);
|
|
128
|
+
@$pb.TagNumber(1)
|
|
129
|
+
set schemaVersion($core.int value) => $_setUnsignedInt32(0, value);
|
|
130
|
+
@$pb.TagNumber(1)
|
|
131
|
+
$core.bool hasSchemaVersion() => $_has(0);
|
|
132
|
+
@$pb.TagNumber(1)
|
|
133
|
+
void clearSchemaVersion() => $_clearField(1);
|
|
134
|
+
|
|
135
|
+
@$pb.TagNumber(2)
|
|
136
|
+
$fixnum.Int64 get sequence => $_getI64(1);
|
|
137
|
+
@$pb.TagNumber(2)
|
|
138
|
+
set sequence($fixnum.Int64 value) => $_setInt64(1, value);
|
|
139
|
+
@$pb.TagNumber(2)
|
|
140
|
+
$core.bool hasSequence() => $_has(1);
|
|
141
|
+
@$pb.TagNumber(2)
|
|
142
|
+
void clearSequence() => $_clearField(2);
|
|
143
|
+
|
|
144
|
+
@$pb.TagNumber(3)
|
|
145
|
+
KernelProgressOperation get operation => $_getN(2);
|
|
146
|
+
@$pb.TagNumber(3)
|
|
147
|
+
set operation(KernelProgressOperation value) => $_setField(3, value);
|
|
148
|
+
@$pb.TagNumber(3)
|
|
149
|
+
$core.bool hasOperation() => $_has(2);
|
|
150
|
+
@$pb.TagNumber(3)
|
|
151
|
+
void clearOperation() => $_clearField(3);
|
|
152
|
+
|
|
153
|
+
@$pb.TagNumber(4)
|
|
154
|
+
KernelProgressPhase get phase => $_getN(3);
|
|
155
|
+
@$pb.TagNumber(4)
|
|
156
|
+
set phase(KernelProgressPhase value) => $_setField(4, value);
|
|
157
|
+
@$pb.TagNumber(4)
|
|
158
|
+
$core.bool hasPhase() => $_has(3);
|
|
159
|
+
@$pb.TagNumber(4)
|
|
160
|
+
void clearPhase() => $_clearField(4);
|
|
161
|
+
|
|
162
|
+
@$pb.TagNumber(5)
|
|
163
|
+
$fixnum.Int64 get completedUnits => $_getI64(4);
|
|
164
|
+
@$pb.TagNumber(5)
|
|
165
|
+
set completedUnits($fixnum.Int64 value) => $_setInt64(4, value);
|
|
166
|
+
@$pb.TagNumber(5)
|
|
167
|
+
$core.bool hasCompletedUnits() => $_has(4);
|
|
168
|
+
@$pb.TagNumber(5)
|
|
169
|
+
void clearCompletedUnits() => $_clearField(5);
|
|
170
|
+
|
|
171
|
+
@$pb.TagNumber(6)
|
|
172
|
+
$fixnum.Int64 get totalUnits => $_getI64(5);
|
|
173
|
+
@$pb.TagNumber(6)
|
|
174
|
+
set totalUnits($fixnum.Int64 value) => $_setInt64(5, value);
|
|
175
|
+
@$pb.TagNumber(6)
|
|
176
|
+
$core.bool hasTotalUnits() => $_has(5);
|
|
177
|
+
@$pb.TagNumber(6)
|
|
178
|
+
void clearTotalUnits() => $_clearField(6);
|
|
179
|
+
|
|
180
|
+
@$pb.TagNumber(7)
|
|
181
|
+
KernelProgressUnit get unit => $_getN(6);
|
|
182
|
+
@$pb.TagNumber(7)
|
|
183
|
+
set unit(KernelProgressUnit value) => $_setField(7, value);
|
|
184
|
+
@$pb.TagNumber(7)
|
|
185
|
+
$core.bool hasUnit() => $_has(6);
|
|
186
|
+
@$pb.TagNumber(7)
|
|
187
|
+
void clearUnit() => $_clearField(7);
|
|
188
|
+
|
|
189
|
+
@$pb.TagNumber(8)
|
|
190
|
+
$core.bool get terminal => $_getBF(7);
|
|
191
|
+
@$pb.TagNumber(8)
|
|
192
|
+
set terminal($core.bool value) => $_setBool(7, value);
|
|
193
|
+
@$pb.TagNumber(8)
|
|
194
|
+
$core.bool hasTerminal() => $_has(7);
|
|
195
|
+
@$pb.TagNumber(8)
|
|
196
|
+
void clearTerminal() => $_clearField(8);
|
|
197
|
+
|
|
198
|
+
/// Bytes currently owned by the kernel's counting allocator at this phase.
|
|
199
|
+
/// Zero means the release kernel was built without memory accounting.
|
|
200
|
+
@$pb.TagNumber(9)
|
|
201
|
+
$fixnum.Int64 get allocatorLiveBytes => $_getI64(8);
|
|
202
|
+
@$pb.TagNumber(9)
|
|
203
|
+
set allocatorLiveBytes($fixnum.Int64 value) => $_setInt64(8, value);
|
|
204
|
+
@$pb.TagNumber(9)
|
|
205
|
+
$core.bool hasAllocatorLiveBytes() => $_has(8);
|
|
206
|
+
@$pb.TagNumber(9)
|
|
207
|
+
void clearAllocatorLiveBytes() => $_clearField(9);
|
|
208
|
+
|
|
209
|
+
/// Highest allocator-live observation since this kernel instance started.
|
|
210
|
+
@$pb.TagNumber(10)
|
|
211
|
+
$fixnum.Int64 get allocatorPeakBytes => $_getI64(9);
|
|
212
|
+
@$pb.TagNumber(10)
|
|
213
|
+
set allocatorPeakBytes($fixnum.Int64 value) => $_setInt64(9, value);
|
|
214
|
+
@$pb.TagNumber(10)
|
|
215
|
+
$core.bool hasAllocatorPeakBytes() => $_has(9);
|
|
216
|
+
@$pb.TagNumber(10)
|
|
217
|
+
void clearAllocatorPeakBytes() => $_clearField(10);
|
|
218
|
+
|
|
219
|
+
/// Exact typed subphase while HYDRATE_LAW is active. Hosts timestamp changes
|
|
220
|
+
/// at observation time because the deterministic WASI clock is fixed.
|
|
221
|
+
@$pb.TagNumber(11)
|
|
222
|
+
KernelLawHydrationStep get lawHydrationStep => $_getN(10);
|
|
223
|
+
@$pb.TagNumber(11)
|
|
224
|
+
set lawHydrationStep(KernelLawHydrationStep value) => $_setField(11, value);
|
|
225
|
+
@$pb.TagNumber(11)
|
|
226
|
+
$core.bool hasLawHydrationStep() => $_has(10);
|
|
227
|
+
@$pb.TagNumber(11)
|
|
228
|
+
void clearLawHydrationStep() => $_clearField(11);
|
|
229
|
+
|
|
230
|
+
/// SHA-256 identity of the authenticated USDA law package being hydrated.
|
|
231
|
+
/// Empty outside HYDRATE_LAW and before the first package begins.
|
|
232
|
+
@$pb.TagNumber(12)
|
|
233
|
+
$core.String get lawPackageSha256 => $_getSZ(11);
|
|
234
|
+
@$pb.TagNumber(12)
|
|
235
|
+
set lawPackageSha256($core.String value) => $_setString(11, value);
|
|
236
|
+
@$pb.TagNumber(12)
|
|
237
|
+
$core.bool hasLawPackageSha256() => $_has(11);
|
|
238
|
+
@$pb.TagNumber(12)
|
|
239
|
+
void clearLawPackageSha256() => $_clearField(12);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
const $core.bool _omitFieldNames =
|
|
243
|
+
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
244
|
+
const $core.bool _omitMessageNames =
|
|
245
|
+
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// This is a generated file - do not edit.
|
|
2
|
+
//
|
|
3
|
+
// Generated from nomos/kernel/v1/progress.proto.
|
|
4
|
+
|
|
5
|
+
// @dart = 3.3
|
|
6
|
+
|
|
7
|
+
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
8
|
+
// ignore_for_file: constant_identifier_names
|
|
9
|
+
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
10
|
+
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
11
|
+
// ignore_for_file: non_constant_identifier_names
|
|
12
|
+
|
|
13
|
+
import 'dart:core' as $core;
|
|
14
|
+
|
|
15
|
+
import 'package:protobuf/protobuf.dart' as $pb;
|
|
16
|
+
|
|
17
|
+
class KernelProgressOperation extends $pb.ProtobufEnum {
|
|
18
|
+
static const KernelProgressOperation KERNEL_PROGRESS_OPERATION_UNSPECIFIED =
|
|
19
|
+
KernelProgressOperation._(
|
|
20
|
+
0, _omitEnumNames ? '' : 'KERNEL_PROGRESS_OPERATION_UNSPECIFIED');
|
|
21
|
+
static const KernelProgressOperation KERNEL_PROGRESS_OPERATION_RESTORE_MAIN =
|
|
22
|
+
KernelProgressOperation._(
|
|
23
|
+
1, _omitEnumNames ? '' : 'KERNEL_PROGRESS_OPERATION_RESTORE_MAIN');
|
|
24
|
+
|
|
25
|
+
static const $core.List<KernelProgressOperation> values =
|
|
26
|
+
<KernelProgressOperation>[
|
|
27
|
+
KERNEL_PROGRESS_OPERATION_UNSPECIFIED,
|
|
28
|
+
KERNEL_PROGRESS_OPERATION_RESTORE_MAIN,
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
static final $core.List<KernelProgressOperation?> _byValue =
|
|
32
|
+
$pb.ProtobufEnum.$_initByValueList(values, 1);
|
|
33
|
+
static KernelProgressOperation? valueOf($core.int value) =>
|
|
34
|
+
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
35
|
+
|
|
36
|
+
const KernelProgressOperation._(super.value, super.name);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
class KernelProgressPhase extends $pb.ProtobufEnum {
|
|
40
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_UNSPECIFIED =
|
|
41
|
+
KernelProgressPhase._(
|
|
42
|
+
0, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_UNSPECIFIED');
|
|
43
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_CHECK_CUSTODY =
|
|
44
|
+
KernelProgressPhase._(
|
|
45
|
+
1, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_CHECK_CUSTODY');
|
|
46
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_READ_CHAIN =
|
|
47
|
+
KernelProgressPhase._(
|
|
48
|
+
2, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_READ_CHAIN');
|
|
49
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_INITIALIZE_ENGINE =
|
|
50
|
+
KernelProgressPhase._(
|
|
51
|
+
3, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_INITIALIZE_ENGINE');
|
|
52
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_READ_TIMELINE =
|
|
53
|
+
KernelProgressPhase._(
|
|
54
|
+
4, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_READ_TIMELINE');
|
|
55
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_HYDRATE_LAW =
|
|
56
|
+
KernelProgressPhase._(
|
|
57
|
+
5, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_HYDRATE_LAW');
|
|
58
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_RECOVERY_PRESCAN =
|
|
59
|
+
KernelProgressPhase._(
|
|
60
|
+
6, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_RECOVERY_PRESCAN');
|
|
61
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_VERIFY_INTENTS =
|
|
62
|
+
KernelProgressPhase._(
|
|
63
|
+
7, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_VERIFY_INTENTS');
|
|
64
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_PROMOTE_CUSTODY =
|
|
65
|
+
KernelProgressPhase._(
|
|
66
|
+
8, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_PROMOTE_CUSTODY');
|
|
67
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_REBUILD_FRONTIER =
|
|
68
|
+
KernelProgressPhase._(
|
|
69
|
+
9, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_REBUILD_FRONTIER');
|
|
70
|
+
static const KernelProgressPhase KERNEL_PROGRESS_PHASE_COMPLETE =
|
|
71
|
+
KernelProgressPhase._(
|
|
72
|
+
10, _omitEnumNames ? '' : 'KERNEL_PROGRESS_PHASE_COMPLETE');
|
|
73
|
+
|
|
74
|
+
static const $core.List<KernelProgressPhase> values = <KernelProgressPhase>[
|
|
75
|
+
KERNEL_PROGRESS_PHASE_UNSPECIFIED,
|
|
76
|
+
KERNEL_PROGRESS_PHASE_CHECK_CUSTODY,
|
|
77
|
+
KERNEL_PROGRESS_PHASE_READ_CHAIN,
|
|
78
|
+
KERNEL_PROGRESS_PHASE_INITIALIZE_ENGINE,
|
|
79
|
+
KERNEL_PROGRESS_PHASE_READ_TIMELINE,
|
|
80
|
+
KERNEL_PROGRESS_PHASE_HYDRATE_LAW,
|
|
81
|
+
KERNEL_PROGRESS_PHASE_RECOVERY_PRESCAN,
|
|
82
|
+
KERNEL_PROGRESS_PHASE_VERIFY_INTENTS,
|
|
83
|
+
KERNEL_PROGRESS_PHASE_PROMOTE_CUSTODY,
|
|
84
|
+
KERNEL_PROGRESS_PHASE_REBUILD_FRONTIER,
|
|
85
|
+
KERNEL_PROGRESS_PHASE_COMPLETE,
|
|
86
|
+
];
|
|
87
|
+
|
|
88
|
+
static final $core.List<KernelProgressPhase?> _byValue =
|
|
89
|
+
$pb.ProtobufEnum.$_initByValueList(values, 10);
|
|
90
|
+
static KernelProgressPhase? valueOf($core.int value) =>
|
|
91
|
+
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
92
|
+
|
|
93
|
+
const KernelProgressPhase._(super.value, super.name);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
class KernelProgressUnit extends $pb.ProtobufEnum {
|
|
97
|
+
static const KernelProgressUnit KERNEL_PROGRESS_UNIT_UNSPECIFIED =
|
|
98
|
+
KernelProgressUnit._(
|
|
99
|
+
0, _omitEnumNames ? '' : 'KERNEL_PROGRESS_UNIT_UNSPECIFIED');
|
|
100
|
+
static const KernelProgressUnit KERNEL_PROGRESS_UNIT_INTENT =
|
|
101
|
+
KernelProgressUnit._(
|
|
102
|
+
1, _omitEnumNames ? '' : 'KERNEL_PROGRESS_UNIT_INTENT');
|
|
103
|
+
static const KernelProgressUnit KERNEL_PROGRESS_UNIT_LAW_PACKAGE =
|
|
104
|
+
KernelProgressUnit._(
|
|
105
|
+
2, _omitEnumNames ? '' : 'KERNEL_PROGRESS_UNIT_LAW_PACKAGE');
|
|
106
|
+
|
|
107
|
+
static const $core.List<KernelProgressUnit> values = <KernelProgressUnit>[
|
|
108
|
+
KERNEL_PROGRESS_UNIT_UNSPECIFIED,
|
|
109
|
+
KERNEL_PROGRESS_UNIT_INTENT,
|
|
110
|
+
KERNEL_PROGRESS_UNIT_LAW_PACKAGE,
|
|
111
|
+
];
|
|
112
|
+
|
|
113
|
+
static final $core.List<KernelProgressUnit?> _byValue =
|
|
114
|
+
$pb.ProtobufEnum.$_initByValueList(values, 2);
|
|
115
|
+
static KernelProgressUnit? valueOf($core.int value) =>
|
|
116
|
+
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
117
|
+
|
|
118
|
+
const KernelProgressUnit._(super.value, super.name);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
class KernelLawHydrationStep extends $pb.ProtobufEnum {
|
|
122
|
+
static const KernelLawHydrationStep KERNEL_LAW_HYDRATION_STEP_UNSPECIFIED =
|
|
123
|
+
KernelLawHydrationStep._(
|
|
124
|
+
0, _omitEnumNames ? '' : 'KERNEL_LAW_HYDRATION_STEP_UNSPECIFIED');
|
|
125
|
+
static const KernelLawHydrationStep KERNEL_LAW_HYDRATION_STEP_READ_CLOSURE =
|
|
126
|
+
KernelLawHydrationStep._(
|
|
127
|
+
1, _omitEnumNames ? '' : 'KERNEL_LAW_HYDRATION_STEP_READ_CLOSURE');
|
|
128
|
+
static const KernelLawHydrationStep KERNEL_LAW_HYDRATION_STEP_COMPOSE_STAGE =
|
|
129
|
+
KernelLawHydrationStep._(
|
|
130
|
+
2, _omitEnumNames ? '' : 'KERNEL_LAW_HYDRATION_STEP_COMPOSE_STAGE');
|
|
131
|
+
static const KernelLawHydrationStep KERNEL_LAW_HYDRATION_STEP_DERIVE_SCHEMAS =
|
|
132
|
+
KernelLawHydrationStep._(
|
|
133
|
+
3, _omitEnumNames ? '' : 'KERNEL_LAW_HYDRATION_STEP_DERIVE_SCHEMAS');
|
|
134
|
+
static const KernelLawHydrationStep
|
|
135
|
+
KERNEL_LAW_HYDRATION_STEP_LOAD_POLICY_SHELL = KernelLawHydrationStep._(4,
|
|
136
|
+
_omitEnumNames ? '' : 'KERNEL_LAW_HYDRATION_STEP_LOAD_POLICY_SHELL');
|
|
137
|
+
static const KernelLawHydrationStep
|
|
138
|
+
KERNEL_LAW_HYDRATION_STEP_PACKAGE_COMPLETE = KernelLawHydrationStep._(5,
|
|
139
|
+
_omitEnumNames ? '' : 'KERNEL_LAW_HYDRATION_STEP_PACKAGE_COMPLETE');
|
|
140
|
+
|
|
141
|
+
static const $core.List<KernelLawHydrationStep> values =
|
|
142
|
+
<KernelLawHydrationStep>[
|
|
143
|
+
KERNEL_LAW_HYDRATION_STEP_UNSPECIFIED,
|
|
144
|
+
KERNEL_LAW_HYDRATION_STEP_READ_CLOSURE,
|
|
145
|
+
KERNEL_LAW_HYDRATION_STEP_COMPOSE_STAGE,
|
|
146
|
+
KERNEL_LAW_HYDRATION_STEP_DERIVE_SCHEMAS,
|
|
147
|
+
KERNEL_LAW_HYDRATION_STEP_LOAD_POLICY_SHELL,
|
|
148
|
+
KERNEL_LAW_HYDRATION_STEP_PACKAGE_COMPLETE,
|
|
149
|
+
];
|
|
150
|
+
|
|
151
|
+
static final $core.List<KernelLawHydrationStep?> _byValue =
|
|
152
|
+
$pb.ProtobufEnum.$_initByValueList(values, 5);
|
|
153
|
+
static KernelLawHydrationStep? valueOf($core.int value) =>
|
|
154
|
+
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
155
|
+
|
|
156
|
+
const KernelLawHydrationStep._(super.value, super.name);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
const $core.bool _omitEnumNames =
|
|
160
|
+
$core.bool.fromEnvironment('protobuf.omit_enum_names');
|