@githolon/dsl 0.108.0 → 0.108.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/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 +6401 -2102
- package/dart/lib/src/runner/offline-install.mjs +1538 -163
- 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 +193 -112
- package/dart/lib/src/webview_bridge.dart +2120 -569
- package/dart/pubspec.yaml +2 -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 +7 -0
- package/dart_types/lib/nomos_kernel_protocol.dart +3 -2
- 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 +2021 -234
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pbenum.dart +175 -8
- 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.yaml +1 -1
- package/dart_types/test/surfaced_test.dart +2 -1
- package/package.json +1 -1
- package/runtime/generated-application-host.js +5736 -2047
- package/src/authoring.ts +3 -2
- package/src/births.ts +21 -0
- package/src/build_package.ts +30 -0
- package/src/business_birth.ts +39 -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 +360 -32
- package/src/directive.ts +19 -4
- package/src/engine_entry.ts +45 -4
- package/src/framework/application_home.ts +2 -0
- package/src/framework/auth_provider_law.ts +262 -20
- package/src/framework/home.ts +32 -28
- package/src/framework/owned_custody.ts +19 -11
- package/src/framework/owned_custody_value.ts +51 -0
- package/src/framework/relations.ts +57 -21
- package/src/framework/signing_identity.ts +34 -0
- package/src/framework/workspaces.ts +31 -9
- 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 +20 -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 +38 -39
- package/src/stable_ids.ts +37 -2
- package/src/stable_ids_for_module.ts +64 -4
- 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
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pbjson.dart +0 -6096
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pbserver.dart +0 -50
- package/dart_types/lib/src/proto/nomos/kernel/v1/progress.pbjson.dart +0 -178
- package/dart_types/lib/src/proto/nomos/runtime/v1/runtime.pb.dart +0 -828
- package/dart_types/lib/src/proto/nomos/runtime/v1/runtime.pbenum.dart +0 -465
- package/dart_types/lib/src/proto/nomos/runtime/v1/runtime.pbjson.dart +0 -573
- package/dart_types/lib/src/proto/nomos/runtime/v1/runtime.pbserver.dart +0 -50
|
@@ -1,828 +0,0 @@
|
|
|
1
|
-
// This is a generated file - do not edit.
|
|
2
|
-
//
|
|
3
|
-
// Generated from nomos/runtime/v1/runtime.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:async' as $async;
|
|
14
|
-
import 'dart:core' as $core;
|
|
15
|
-
|
|
16
|
-
import 'package:fixnum/fixnum.dart' as $fixnum;
|
|
17
|
-
import 'package:protobuf/protobuf.dart' as $pb;
|
|
18
|
-
|
|
19
|
-
import '../../kernel/v1/kernel.pb.dart' as $0;
|
|
20
|
-
import 'runtime.pbenum.dart';
|
|
21
|
-
|
|
22
|
-
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
|
23
|
-
|
|
24
|
-
export 'runtime.pbenum.dart';
|
|
25
|
-
|
|
26
|
-
/// Host-local custody cache. This is a typed binary transport envelope, not application state and
|
|
27
|
-
/// not a second semantic language: Git custody and kernel checkpoint bytes remain opaque bytes.
|
|
28
|
-
class LocalCustodySnapshot extends $pb.GeneratedMessage {
|
|
29
|
-
factory LocalCustodySnapshot({
|
|
30
|
-
$core.int? formatVersion,
|
|
31
|
-
$core.String? workspace,
|
|
32
|
-
$core.List<$core.int>? tree,
|
|
33
|
-
$core.List<$core.int>? checkpoint,
|
|
34
|
-
$core.List<$core.int>? frontier,
|
|
35
|
-
$core.String? cursor,
|
|
36
|
-
$core.String? stateRoot,
|
|
37
|
-
$core.String? syncedBase,
|
|
38
|
-
}) {
|
|
39
|
-
final result = create();
|
|
40
|
-
if (formatVersion != null) result.formatVersion = formatVersion;
|
|
41
|
-
if (workspace != null) result.workspace = workspace;
|
|
42
|
-
if (tree != null) result.tree = tree;
|
|
43
|
-
if (checkpoint != null) result.checkpoint = checkpoint;
|
|
44
|
-
if (frontier != null) result.frontier = frontier;
|
|
45
|
-
if (cursor != null) result.cursor = cursor;
|
|
46
|
-
if (stateRoot != null) result.stateRoot = stateRoot;
|
|
47
|
-
if (syncedBase != null) result.syncedBase = syncedBase;
|
|
48
|
-
return result;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
LocalCustodySnapshot._();
|
|
52
|
-
|
|
53
|
-
factory LocalCustodySnapshot.fromBuffer($core.List<$core.int> data,
|
|
54
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
55
|
-
create()..mergeFromBuffer(data, registry);
|
|
56
|
-
factory LocalCustodySnapshot.fromJson($core.String json,
|
|
57
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
58
|
-
create()..mergeFromJson(json, registry);
|
|
59
|
-
|
|
60
|
-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
61
|
-
_omitMessageNames ? '' : 'LocalCustodySnapshot',
|
|
62
|
-
package:
|
|
63
|
-
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v1'),
|
|
64
|
-
createEmptyInstance: create)
|
|
65
|
-
..aI(1, _omitFieldNames ? '' : 'formatVersion',
|
|
66
|
-
fieldType: $pb.PbFieldType.OU3)
|
|
67
|
-
..aOS(2, _omitFieldNames ? '' : 'workspace')
|
|
68
|
-
..a<$core.List<$core.int>>(
|
|
69
|
-
3, _omitFieldNames ? '' : 'tree', $pb.PbFieldType.OY)
|
|
70
|
-
..a<$core.List<$core.int>>(
|
|
71
|
-
4, _omitFieldNames ? '' : 'checkpoint', $pb.PbFieldType.OY)
|
|
72
|
-
..a<$core.List<$core.int>>(
|
|
73
|
-
5, _omitFieldNames ? '' : 'frontier', $pb.PbFieldType.OY)
|
|
74
|
-
..aOS(6, _omitFieldNames ? '' : 'cursor')
|
|
75
|
-
..aOS(7, _omitFieldNames ? '' : 'stateRoot')
|
|
76
|
-
..aOS(8, _omitFieldNames ? '' : 'syncedBase')
|
|
77
|
-
..hasRequiredFields = false;
|
|
78
|
-
|
|
79
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
80
|
-
LocalCustodySnapshot clone() => deepCopy();
|
|
81
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
82
|
-
LocalCustodySnapshot copyWith(void Function(LocalCustodySnapshot) updates) =>
|
|
83
|
-
super.copyWith((message) => updates(message as LocalCustodySnapshot))
|
|
84
|
-
as LocalCustodySnapshot;
|
|
85
|
-
|
|
86
|
-
@$core.override
|
|
87
|
-
$pb.BuilderInfo get info_ => _i;
|
|
88
|
-
|
|
89
|
-
@$core.pragma('dart2js:noInline')
|
|
90
|
-
static LocalCustodySnapshot create() => LocalCustodySnapshot._();
|
|
91
|
-
@$core.override
|
|
92
|
-
LocalCustodySnapshot createEmptyInstance() => create();
|
|
93
|
-
@$core.pragma('dart2js:noInline')
|
|
94
|
-
static LocalCustodySnapshot getDefault() => _defaultInstance ??=
|
|
95
|
-
$pb.GeneratedMessage.$_defaultFor<LocalCustodySnapshot>(create);
|
|
96
|
-
static LocalCustodySnapshot? _defaultInstance;
|
|
97
|
-
|
|
98
|
-
@$pb.TagNumber(1)
|
|
99
|
-
$core.int get formatVersion => $_getIZ(0);
|
|
100
|
-
@$pb.TagNumber(1)
|
|
101
|
-
set formatVersion($core.int value) => $_setUnsignedInt32(0, value);
|
|
102
|
-
@$pb.TagNumber(1)
|
|
103
|
-
$core.bool hasFormatVersion() => $_has(0);
|
|
104
|
-
@$pb.TagNumber(1)
|
|
105
|
-
void clearFormatVersion() => $_clearField(1);
|
|
106
|
-
|
|
107
|
-
@$pb.TagNumber(2)
|
|
108
|
-
$core.String get workspace => $_getSZ(1);
|
|
109
|
-
@$pb.TagNumber(2)
|
|
110
|
-
set workspace($core.String value) => $_setString(1, value);
|
|
111
|
-
@$pb.TagNumber(2)
|
|
112
|
-
$core.bool hasWorkspace() => $_has(1);
|
|
113
|
-
@$pb.TagNumber(2)
|
|
114
|
-
void clearWorkspace() => $_clearField(2);
|
|
115
|
-
|
|
116
|
-
@$pb.TagNumber(3)
|
|
117
|
-
$core.List<$core.int> get tree => $_getN(2);
|
|
118
|
-
@$pb.TagNumber(3)
|
|
119
|
-
set tree($core.List<$core.int> value) => $_setBytes(2, value);
|
|
120
|
-
@$pb.TagNumber(3)
|
|
121
|
-
$core.bool hasTree() => $_has(2);
|
|
122
|
-
@$pb.TagNumber(3)
|
|
123
|
-
void clearTree() => $_clearField(3);
|
|
124
|
-
|
|
125
|
-
@$pb.TagNumber(4)
|
|
126
|
-
$core.List<$core.int> get checkpoint => $_getN(3);
|
|
127
|
-
@$pb.TagNumber(4)
|
|
128
|
-
set checkpoint($core.List<$core.int> value) => $_setBytes(3, value);
|
|
129
|
-
@$pb.TagNumber(4)
|
|
130
|
-
$core.bool hasCheckpoint() => $_has(3);
|
|
131
|
-
@$pb.TagNumber(4)
|
|
132
|
-
void clearCheckpoint() => $_clearField(4);
|
|
133
|
-
|
|
134
|
-
@$pb.TagNumber(5)
|
|
135
|
-
$core.List<$core.int> get frontier => $_getN(4);
|
|
136
|
-
@$pb.TagNumber(5)
|
|
137
|
-
set frontier($core.List<$core.int> value) => $_setBytes(4, value);
|
|
138
|
-
@$pb.TagNumber(5)
|
|
139
|
-
$core.bool hasFrontier() => $_has(4);
|
|
140
|
-
@$pb.TagNumber(5)
|
|
141
|
-
void clearFrontier() => $_clearField(5);
|
|
142
|
-
|
|
143
|
-
@$pb.TagNumber(6)
|
|
144
|
-
$core.String get cursor => $_getSZ(5);
|
|
145
|
-
@$pb.TagNumber(6)
|
|
146
|
-
set cursor($core.String value) => $_setString(5, value);
|
|
147
|
-
@$pb.TagNumber(6)
|
|
148
|
-
$core.bool hasCursor() => $_has(5);
|
|
149
|
-
@$pb.TagNumber(6)
|
|
150
|
-
void clearCursor() => $_clearField(6);
|
|
151
|
-
|
|
152
|
-
@$pb.TagNumber(7)
|
|
153
|
-
$core.String get stateRoot => $_getSZ(6);
|
|
154
|
-
@$pb.TagNumber(7)
|
|
155
|
-
set stateRoot($core.String value) => $_setString(6, value);
|
|
156
|
-
@$pb.TagNumber(7)
|
|
157
|
-
$core.bool hasStateRoot() => $_has(6);
|
|
158
|
-
@$pb.TagNumber(7)
|
|
159
|
-
void clearStateRoot() => $_clearField(7);
|
|
160
|
-
|
|
161
|
-
@$pb.TagNumber(8)
|
|
162
|
-
$core.String get syncedBase => $_getSZ(7);
|
|
163
|
-
@$pb.TagNumber(8)
|
|
164
|
-
set syncedBase($core.String value) => $_setString(7, value);
|
|
165
|
-
@$pb.TagNumber(8)
|
|
166
|
-
$core.bool hasSyncedBase() => $_has(7);
|
|
167
|
-
@$pb.TagNumber(8)
|
|
168
|
-
void clearSyncedBase() => $_clearField(8);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
class RuntimeRequest extends $pb.GeneratedMessage {
|
|
172
|
-
factory RuntimeRequest({
|
|
173
|
-
$core.int? protocolVersion,
|
|
174
|
-
$fixnum.Int64? requestId,
|
|
175
|
-
RuntimeOperation? operation,
|
|
176
|
-
$core.String? session,
|
|
177
|
-
$0.NomosStruct? arguments,
|
|
178
|
-
TraceContext? trace,
|
|
179
|
-
$0.OfferRequest? sealedOffer,
|
|
180
|
-
}) {
|
|
181
|
-
final result = create();
|
|
182
|
-
if (protocolVersion != null) result.protocolVersion = protocolVersion;
|
|
183
|
-
if (requestId != null) result.requestId = requestId;
|
|
184
|
-
if (operation != null) result.operation = operation;
|
|
185
|
-
if (session != null) result.session = session;
|
|
186
|
-
if (arguments != null) result.arguments = arguments;
|
|
187
|
-
if (trace != null) result.trace = trace;
|
|
188
|
-
if (sealedOffer != null) result.sealedOffer = sealedOffer;
|
|
189
|
-
return result;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
RuntimeRequest._();
|
|
193
|
-
|
|
194
|
-
factory RuntimeRequest.fromBuffer($core.List<$core.int> data,
|
|
195
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
196
|
-
create()..mergeFromBuffer(data, registry);
|
|
197
|
-
factory RuntimeRequest.fromJson($core.String json,
|
|
198
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
199
|
-
create()..mergeFromJson(json, registry);
|
|
200
|
-
|
|
201
|
-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
202
|
-
_omitMessageNames ? '' : 'RuntimeRequest',
|
|
203
|
-
package:
|
|
204
|
-
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v1'),
|
|
205
|
-
createEmptyInstance: create)
|
|
206
|
-
..aI(1, _omitFieldNames ? '' : 'protocolVersion',
|
|
207
|
-
fieldType: $pb.PbFieldType.OU3)
|
|
208
|
-
..a<$fixnum.Int64>(
|
|
209
|
-
2, _omitFieldNames ? '' : 'requestId', $pb.PbFieldType.OU6,
|
|
210
|
-
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
211
|
-
..aE<RuntimeOperation>(3, _omitFieldNames ? '' : 'operation',
|
|
212
|
-
enumValues: RuntimeOperation.values)
|
|
213
|
-
..aOS(4, _omitFieldNames ? '' : 'session')
|
|
214
|
-
..aOM<$0.NomosStruct>(5, _omitFieldNames ? '' : 'arguments',
|
|
215
|
-
subBuilder: $0.NomosStruct.create)
|
|
216
|
-
..aOM<TraceContext>(6, _omitFieldNames ? '' : 'trace',
|
|
217
|
-
subBuilder: TraceContext.create)
|
|
218
|
-
..aOM<$0.OfferRequest>(7, _omitFieldNames ? '' : 'sealedOffer',
|
|
219
|
-
subBuilder: $0.OfferRequest.create)
|
|
220
|
-
..hasRequiredFields = false;
|
|
221
|
-
|
|
222
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
223
|
-
RuntimeRequest clone() => deepCopy();
|
|
224
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
225
|
-
RuntimeRequest copyWith(void Function(RuntimeRequest) updates) =>
|
|
226
|
-
super.copyWith((message) => updates(message as RuntimeRequest))
|
|
227
|
-
as RuntimeRequest;
|
|
228
|
-
|
|
229
|
-
@$core.override
|
|
230
|
-
$pb.BuilderInfo get info_ => _i;
|
|
231
|
-
|
|
232
|
-
@$core.pragma('dart2js:noInline')
|
|
233
|
-
static RuntimeRequest create() => RuntimeRequest._();
|
|
234
|
-
@$core.override
|
|
235
|
-
RuntimeRequest createEmptyInstance() => create();
|
|
236
|
-
@$core.pragma('dart2js:noInline')
|
|
237
|
-
static RuntimeRequest getDefault() => _defaultInstance ??=
|
|
238
|
-
$pb.GeneratedMessage.$_defaultFor<RuntimeRequest>(create);
|
|
239
|
-
static RuntimeRequest? _defaultInstance;
|
|
240
|
-
|
|
241
|
-
@$pb.TagNumber(1)
|
|
242
|
-
$core.int get protocolVersion => $_getIZ(0);
|
|
243
|
-
@$pb.TagNumber(1)
|
|
244
|
-
set protocolVersion($core.int value) => $_setUnsignedInt32(0, value);
|
|
245
|
-
@$pb.TagNumber(1)
|
|
246
|
-
$core.bool hasProtocolVersion() => $_has(0);
|
|
247
|
-
@$pb.TagNumber(1)
|
|
248
|
-
void clearProtocolVersion() => $_clearField(1);
|
|
249
|
-
|
|
250
|
-
@$pb.TagNumber(2)
|
|
251
|
-
$fixnum.Int64 get requestId => $_getI64(1);
|
|
252
|
-
@$pb.TagNumber(2)
|
|
253
|
-
set requestId($fixnum.Int64 value) => $_setInt64(1, value);
|
|
254
|
-
@$pb.TagNumber(2)
|
|
255
|
-
$core.bool hasRequestId() => $_has(1);
|
|
256
|
-
@$pb.TagNumber(2)
|
|
257
|
-
void clearRequestId() => $_clearField(2);
|
|
258
|
-
|
|
259
|
-
@$pb.TagNumber(3)
|
|
260
|
-
RuntimeOperation get operation => $_getN(2);
|
|
261
|
-
@$pb.TagNumber(3)
|
|
262
|
-
set operation(RuntimeOperation value) => $_setField(3, value);
|
|
263
|
-
@$pb.TagNumber(3)
|
|
264
|
-
$core.bool hasOperation() => $_has(2);
|
|
265
|
-
@$pb.TagNumber(3)
|
|
266
|
-
void clearOperation() => $_clearField(3);
|
|
267
|
-
|
|
268
|
-
@$pb.TagNumber(4)
|
|
269
|
-
$core.String get session => $_getSZ(3);
|
|
270
|
-
@$pb.TagNumber(4)
|
|
271
|
-
set session($core.String value) => $_setString(3, value);
|
|
272
|
-
@$pb.TagNumber(4)
|
|
273
|
-
$core.bool hasSession() => $_has(3);
|
|
274
|
-
@$pb.TagNumber(4)
|
|
275
|
-
void clearSession() => $_clearField(4);
|
|
276
|
-
|
|
277
|
-
@$pb.TagNumber(5)
|
|
278
|
-
$0.NomosStruct get arguments => $_getN(4);
|
|
279
|
-
@$pb.TagNumber(5)
|
|
280
|
-
set arguments($0.NomosStruct value) => $_setField(5, value);
|
|
281
|
-
@$pb.TagNumber(5)
|
|
282
|
-
$core.bool hasArguments() => $_has(4);
|
|
283
|
-
@$pb.TagNumber(5)
|
|
284
|
-
void clearArguments() => $_clearField(5);
|
|
285
|
-
@$pb.TagNumber(5)
|
|
286
|
-
$0.NomosStruct ensureArguments() => $_ensure(4);
|
|
287
|
-
|
|
288
|
-
@$pb.TagNumber(6)
|
|
289
|
-
TraceContext get trace => $_getN(5);
|
|
290
|
-
@$pb.TagNumber(6)
|
|
291
|
-
set trace(TraceContext value) => $_setField(6, value);
|
|
292
|
-
@$pb.TagNumber(6)
|
|
293
|
-
$core.bool hasTrace() => $_has(5);
|
|
294
|
-
@$pb.TagNumber(6)
|
|
295
|
-
void clearTrace() => $_clearField(6);
|
|
296
|
-
@$pb.TagNumber(6)
|
|
297
|
-
TraceContext ensureTrace() => $_ensure(5);
|
|
298
|
-
|
|
299
|
-
/// A sealed remote offer is already a first-class kernel protocol value. Carry that exact
|
|
300
|
-
/// value rather than decomposing change.usda and its optional USDZ custody companion into
|
|
301
|
-
/// string-keyed runtime arguments. The receiving kernel validates both and remains the only
|
|
302
|
-
/// authority that may turn them into a committed lifecycle transition.
|
|
303
|
-
@$pb.TagNumber(7)
|
|
304
|
-
$0.OfferRequest get sealedOffer => $_getN(6);
|
|
305
|
-
@$pb.TagNumber(7)
|
|
306
|
-
set sealedOffer($0.OfferRequest value) => $_setField(7, value);
|
|
307
|
-
@$pb.TagNumber(7)
|
|
308
|
-
$core.bool hasSealedOffer() => $_has(6);
|
|
309
|
-
@$pb.TagNumber(7)
|
|
310
|
-
void clearSealedOffer() => $_clearField(7);
|
|
311
|
-
@$pb.TagNumber(7)
|
|
312
|
-
$0.OfferRequest ensureSealedOffer() => $_ensure(6);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
enum RuntimeResponse_Outcome { success, failure, notSet }
|
|
316
|
-
|
|
317
|
-
class RuntimeResponse extends $pb.GeneratedMessage {
|
|
318
|
-
factory RuntimeResponse({
|
|
319
|
-
$core.int? protocolVersion,
|
|
320
|
-
$fixnum.Int64? requestId,
|
|
321
|
-
RuntimeSuccess? success,
|
|
322
|
-
RuntimeFailure? failure,
|
|
323
|
-
}) {
|
|
324
|
-
final result = create();
|
|
325
|
-
if (protocolVersion != null) result.protocolVersion = protocolVersion;
|
|
326
|
-
if (requestId != null) result.requestId = requestId;
|
|
327
|
-
if (success != null) result.success = success;
|
|
328
|
-
if (failure != null) result.failure = failure;
|
|
329
|
-
return result;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
RuntimeResponse._();
|
|
333
|
-
|
|
334
|
-
factory RuntimeResponse.fromBuffer($core.List<$core.int> data,
|
|
335
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
336
|
-
create()..mergeFromBuffer(data, registry);
|
|
337
|
-
factory RuntimeResponse.fromJson($core.String json,
|
|
338
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
339
|
-
create()..mergeFromJson(json, registry);
|
|
340
|
-
|
|
341
|
-
static const $core.Map<$core.int, RuntimeResponse_Outcome>
|
|
342
|
-
_RuntimeResponse_OutcomeByTag = {
|
|
343
|
-
10: RuntimeResponse_Outcome.success,
|
|
344
|
-
11: RuntimeResponse_Outcome.failure,
|
|
345
|
-
0: RuntimeResponse_Outcome.notSet
|
|
346
|
-
};
|
|
347
|
-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
348
|
-
_omitMessageNames ? '' : 'RuntimeResponse',
|
|
349
|
-
package:
|
|
350
|
-
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v1'),
|
|
351
|
-
createEmptyInstance: create)
|
|
352
|
-
..oo(0, [10, 11])
|
|
353
|
-
..aI(1, _omitFieldNames ? '' : 'protocolVersion',
|
|
354
|
-
fieldType: $pb.PbFieldType.OU3)
|
|
355
|
-
..a<$fixnum.Int64>(
|
|
356
|
-
2, _omitFieldNames ? '' : 'requestId', $pb.PbFieldType.OU6,
|
|
357
|
-
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
358
|
-
..aOM<RuntimeSuccess>(10, _omitFieldNames ? '' : 'success',
|
|
359
|
-
subBuilder: RuntimeSuccess.create)
|
|
360
|
-
..aOM<RuntimeFailure>(11, _omitFieldNames ? '' : 'failure',
|
|
361
|
-
subBuilder: RuntimeFailure.create)
|
|
362
|
-
..hasRequiredFields = false;
|
|
363
|
-
|
|
364
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
365
|
-
RuntimeResponse clone() => deepCopy();
|
|
366
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
367
|
-
RuntimeResponse copyWith(void Function(RuntimeResponse) updates) =>
|
|
368
|
-
super.copyWith((message) => updates(message as RuntimeResponse))
|
|
369
|
-
as RuntimeResponse;
|
|
370
|
-
|
|
371
|
-
@$core.override
|
|
372
|
-
$pb.BuilderInfo get info_ => _i;
|
|
373
|
-
|
|
374
|
-
@$core.pragma('dart2js:noInline')
|
|
375
|
-
static RuntimeResponse create() => RuntimeResponse._();
|
|
376
|
-
@$core.override
|
|
377
|
-
RuntimeResponse createEmptyInstance() => create();
|
|
378
|
-
@$core.pragma('dart2js:noInline')
|
|
379
|
-
static RuntimeResponse getDefault() => _defaultInstance ??=
|
|
380
|
-
$pb.GeneratedMessage.$_defaultFor<RuntimeResponse>(create);
|
|
381
|
-
static RuntimeResponse? _defaultInstance;
|
|
382
|
-
|
|
383
|
-
@$pb.TagNumber(10)
|
|
384
|
-
@$pb.TagNumber(11)
|
|
385
|
-
RuntimeResponse_Outcome whichOutcome() =>
|
|
386
|
-
_RuntimeResponse_OutcomeByTag[$_whichOneof(0)]!;
|
|
387
|
-
@$pb.TagNumber(10)
|
|
388
|
-
@$pb.TagNumber(11)
|
|
389
|
-
void clearOutcome() => $_clearField($_whichOneof(0));
|
|
390
|
-
|
|
391
|
-
@$pb.TagNumber(1)
|
|
392
|
-
$core.int get protocolVersion => $_getIZ(0);
|
|
393
|
-
@$pb.TagNumber(1)
|
|
394
|
-
set protocolVersion($core.int value) => $_setUnsignedInt32(0, value);
|
|
395
|
-
@$pb.TagNumber(1)
|
|
396
|
-
$core.bool hasProtocolVersion() => $_has(0);
|
|
397
|
-
@$pb.TagNumber(1)
|
|
398
|
-
void clearProtocolVersion() => $_clearField(1);
|
|
399
|
-
|
|
400
|
-
@$pb.TagNumber(2)
|
|
401
|
-
$fixnum.Int64 get requestId => $_getI64(1);
|
|
402
|
-
@$pb.TagNumber(2)
|
|
403
|
-
set requestId($fixnum.Int64 value) => $_setInt64(1, value);
|
|
404
|
-
@$pb.TagNumber(2)
|
|
405
|
-
$core.bool hasRequestId() => $_has(1);
|
|
406
|
-
@$pb.TagNumber(2)
|
|
407
|
-
void clearRequestId() => $_clearField(2);
|
|
408
|
-
|
|
409
|
-
@$pb.TagNumber(10)
|
|
410
|
-
RuntimeSuccess get success => $_getN(2);
|
|
411
|
-
@$pb.TagNumber(10)
|
|
412
|
-
set success(RuntimeSuccess value) => $_setField(10, value);
|
|
413
|
-
@$pb.TagNumber(10)
|
|
414
|
-
$core.bool hasSuccess() => $_has(2);
|
|
415
|
-
@$pb.TagNumber(10)
|
|
416
|
-
void clearSuccess() => $_clearField(10);
|
|
417
|
-
@$pb.TagNumber(10)
|
|
418
|
-
RuntimeSuccess ensureSuccess() => $_ensure(2);
|
|
419
|
-
|
|
420
|
-
@$pb.TagNumber(11)
|
|
421
|
-
RuntimeFailure get failure => $_getN(3);
|
|
422
|
-
@$pb.TagNumber(11)
|
|
423
|
-
set failure(RuntimeFailure value) => $_setField(11, value);
|
|
424
|
-
@$pb.TagNumber(11)
|
|
425
|
-
$core.bool hasFailure() => $_has(3);
|
|
426
|
-
@$pb.TagNumber(11)
|
|
427
|
-
void clearFailure() => $_clearField(11);
|
|
428
|
-
@$pb.TagNumber(11)
|
|
429
|
-
RuntimeFailure ensureFailure() => $_ensure(3);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
class RuntimeSuccess extends $pb.GeneratedMessage {
|
|
433
|
-
factory RuntimeSuccess({
|
|
434
|
-
$0.NomosValue? result,
|
|
435
|
-
}) {
|
|
436
|
-
final result$ = create();
|
|
437
|
-
if (result != null) result$.result = result;
|
|
438
|
-
return result$;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
RuntimeSuccess._();
|
|
442
|
-
|
|
443
|
-
factory RuntimeSuccess.fromBuffer($core.List<$core.int> data,
|
|
444
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
445
|
-
create()..mergeFromBuffer(data, registry);
|
|
446
|
-
factory RuntimeSuccess.fromJson($core.String json,
|
|
447
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
448
|
-
create()..mergeFromJson(json, registry);
|
|
449
|
-
|
|
450
|
-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
451
|
-
_omitMessageNames ? '' : 'RuntimeSuccess',
|
|
452
|
-
package:
|
|
453
|
-
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v1'),
|
|
454
|
-
createEmptyInstance: create)
|
|
455
|
-
..aOM<$0.NomosValue>(1, _omitFieldNames ? '' : 'result',
|
|
456
|
-
subBuilder: $0.NomosValue.create)
|
|
457
|
-
..hasRequiredFields = false;
|
|
458
|
-
|
|
459
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
460
|
-
RuntimeSuccess clone() => deepCopy();
|
|
461
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
462
|
-
RuntimeSuccess copyWith(void Function(RuntimeSuccess) updates) =>
|
|
463
|
-
super.copyWith((message) => updates(message as RuntimeSuccess))
|
|
464
|
-
as RuntimeSuccess;
|
|
465
|
-
|
|
466
|
-
@$core.override
|
|
467
|
-
$pb.BuilderInfo get info_ => _i;
|
|
468
|
-
|
|
469
|
-
@$core.pragma('dart2js:noInline')
|
|
470
|
-
static RuntimeSuccess create() => RuntimeSuccess._();
|
|
471
|
-
@$core.override
|
|
472
|
-
RuntimeSuccess createEmptyInstance() => create();
|
|
473
|
-
@$core.pragma('dart2js:noInline')
|
|
474
|
-
static RuntimeSuccess getDefault() => _defaultInstance ??=
|
|
475
|
-
$pb.GeneratedMessage.$_defaultFor<RuntimeSuccess>(create);
|
|
476
|
-
static RuntimeSuccess? _defaultInstance;
|
|
477
|
-
|
|
478
|
-
@$pb.TagNumber(1)
|
|
479
|
-
$0.NomosValue get result => $_getN(0);
|
|
480
|
-
@$pb.TagNumber(1)
|
|
481
|
-
set result($0.NomosValue value) => $_setField(1, value);
|
|
482
|
-
@$pb.TagNumber(1)
|
|
483
|
-
$core.bool hasResult() => $_has(0);
|
|
484
|
-
@$pb.TagNumber(1)
|
|
485
|
-
void clearResult() => $_clearField(1);
|
|
486
|
-
@$pb.TagNumber(1)
|
|
487
|
-
$0.NomosValue ensureResult() => $_ensure(0);
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
class RuntimeFailure extends $pb.GeneratedMessage {
|
|
491
|
-
factory RuntimeFailure({
|
|
492
|
-
$core.String? code,
|
|
493
|
-
$core.String? message,
|
|
494
|
-
$core.String? component,
|
|
495
|
-
RuntimeOperation? operation,
|
|
496
|
-
$core.String? workspace,
|
|
497
|
-
$core.String? domain,
|
|
498
|
-
$core.String? directive,
|
|
499
|
-
$0.NomosStruct? attributes,
|
|
500
|
-
}) {
|
|
501
|
-
final result = create();
|
|
502
|
-
if (code != null) result.code = code;
|
|
503
|
-
if (message != null) result.message = message;
|
|
504
|
-
if (component != null) result.component = component;
|
|
505
|
-
if (operation != null) result.operation = operation;
|
|
506
|
-
if (workspace != null) result.workspace = workspace;
|
|
507
|
-
if (domain != null) result.domain = domain;
|
|
508
|
-
if (directive != null) result.directive = directive;
|
|
509
|
-
if (attributes != null) result.attributes = attributes;
|
|
510
|
-
return result;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
RuntimeFailure._();
|
|
514
|
-
|
|
515
|
-
factory RuntimeFailure.fromBuffer($core.List<$core.int> data,
|
|
516
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
517
|
-
create()..mergeFromBuffer(data, registry);
|
|
518
|
-
factory RuntimeFailure.fromJson($core.String json,
|
|
519
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
520
|
-
create()..mergeFromJson(json, registry);
|
|
521
|
-
|
|
522
|
-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
523
|
-
_omitMessageNames ? '' : 'RuntimeFailure',
|
|
524
|
-
package:
|
|
525
|
-
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v1'),
|
|
526
|
-
createEmptyInstance: create)
|
|
527
|
-
..aOS(1, _omitFieldNames ? '' : 'code')
|
|
528
|
-
..aOS(2, _omitFieldNames ? '' : 'message')
|
|
529
|
-
..aOS(3, _omitFieldNames ? '' : 'component')
|
|
530
|
-
..aE<RuntimeOperation>(4, _omitFieldNames ? '' : 'operation',
|
|
531
|
-
enumValues: RuntimeOperation.values)
|
|
532
|
-
..aOS(5, _omitFieldNames ? '' : 'workspace')
|
|
533
|
-
..aOS(6, _omitFieldNames ? '' : 'domain')
|
|
534
|
-
..aOS(7, _omitFieldNames ? '' : 'directive')
|
|
535
|
-
..aOM<$0.NomosStruct>(8, _omitFieldNames ? '' : 'attributes',
|
|
536
|
-
subBuilder: $0.NomosStruct.create)
|
|
537
|
-
..hasRequiredFields = false;
|
|
538
|
-
|
|
539
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
540
|
-
RuntimeFailure clone() => deepCopy();
|
|
541
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
542
|
-
RuntimeFailure copyWith(void Function(RuntimeFailure) updates) =>
|
|
543
|
-
super.copyWith((message) => updates(message as RuntimeFailure))
|
|
544
|
-
as RuntimeFailure;
|
|
545
|
-
|
|
546
|
-
@$core.override
|
|
547
|
-
$pb.BuilderInfo get info_ => _i;
|
|
548
|
-
|
|
549
|
-
@$core.pragma('dart2js:noInline')
|
|
550
|
-
static RuntimeFailure create() => RuntimeFailure._();
|
|
551
|
-
@$core.override
|
|
552
|
-
RuntimeFailure createEmptyInstance() => create();
|
|
553
|
-
@$core.pragma('dart2js:noInline')
|
|
554
|
-
static RuntimeFailure getDefault() => _defaultInstance ??=
|
|
555
|
-
$pb.GeneratedMessage.$_defaultFor<RuntimeFailure>(create);
|
|
556
|
-
static RuntimeFailure? _defaultInstance;
|
|
557
|
-
|
|
558
|
-
@$pb.TagNumber(1)
|
|
559
|
-
$core.String get code => $_getSZ(0);
|
|
560
|
-
@$pb.TagNumber(1)
|
|
561
|
-
set code($core.String value) => $_setString(0, value);
|
|
562
|
-
@$pb.TagNumber(1)
|
|
563
|
-
$core.bool hasCode() => $_has(0);
|
|
564
|
-
@$pb.TagNumber(1)
|
|
565
|
-
void clearCode() => $_clearField(1);
|
|
566
|
-
|
|
567
|
-
@$pb.TagNumber(2)
|
|
568
|
-
$core.String get message => $_getSZ(1);
|
|
569
|
-
@$pb.TagNumber(2)
|
|
570
|
-
set message($core.String value) => $_setString(1, value);
|
|
571
|
-
@$pb.TagNumber(2)
|
|
572
|
-
$core.bool hasMessage() => $_has(1);
|
|
573
|
-
@$pb.TagNumber(2)
|
|
574
|
-
void clearMessage() => $_clearField(2);
|
|
575
|
-
|
|
576
|
-
@$pb.TagNumber(3)
|
|
577
|
-
$core.String get component => $_getSZ(2);
|
|
578
|
-
@$pb.TagNumber(3)
|
|
579
|
-
set component($core.String value) => $_setString(2, value);
|
|
580
|
-
@$pb.TagNumber(3)
|
|
581
|
-
$core.bool hasComponent() => $_has(2);
|
|
582
|
-
@$pb.TagNumber(3)
|
|
583
|
-
void clearComponent() => $_clearField(3);
|
|
584
|
-
|
|
585
|
-
@$pb.TagNumber(4)
|
|
586
|
-
RuntimeOperation get operation => $_getN(3);
|
|
587
|
-
@$pb.TagNumber(4)
|
|
588
|
-
set operation(RuntimeOperation value) => $_setField(4, value);
|
|
589
|
-
@$pb.TagNumber(4)
|
|
590
|
-
$core.bool hasOperation() => $_has(3);
|
|
591
|
-
@$pb.TagNumber(4)
|
|
592
|
-
void clearOperation() => $_clearField(4);
|
|
593
|
-
|
|
594
|
-
@$pb.TagNumber(5)
|
|
595
|
-
$core.String get workspace => $_getSZ(4);
|
|
596
|
-
@$pb.TagNumber(5)
|
|
597
|
-
set workspace($core.String value) => $_setString(4, value);
|
|
598
|
-
@$pb.TagNumber(5)
|
|
599
|
-
$core.bool hasWorkspace() => $_has(4);
|
|
600
|
-
@$pb.TagNumber(5)
|
|
601
|
-
void clearWorkspace() => $_clearField(5);
|
|
602
|
-
|
|
603
|
-
@$pb.TagNumber(6)
|
|
604
|
-
$core.String get domain => $_getSZ(5);
|
|
605
|
-
@$pb.TagNumber(6)
|
|
606
|
-
set domain($core.String value) => $_setString(5, value);
|
|
607
|
-
@$pb.TagNumber(6)
|
|
608
|
-
$core.bool hasDomain() => $_has(5);
|
|
609
|
-
@$pb.TagNumber(6)
|
|
610
|
-
void clearDomain() => $_clearField(6);
|
|
611
|
-
|
|
612
|
-
@$pb.TagNumber(7)
|
|
613
|
-
$core.String get directive => $_getSZ(6);
|
|
614
|
-
@$pb.TagNumber(7)
|
|
615
|
-
set directive($core.String value) => $_setString(6, value);
|
|
616
|
-
@$pb.TagNumber(7)
|
|
617
|
-
$core.bool hasDirective() => $_has(6);
|
|
618
|
-
@$pb.TagNumber(7)
|
|
619
|
-
void clearDirective() => $_clearField(7);
|
|
620
|
-
|
|
621
|
-
@$pb.TagNumber(8)
|
|
622
|
-
$0.NomosStruct get attributes => $_getN(7);
|
|
623
|
-
@$pb.TagNumber(8)
|
|
624
|
-
set attributes($0.NomosStruct value) => $_setField(8, value);
|
|
625
|
-
@$pb.TagNumber(8)
|
|
626
|
-
$core.bool hasAttributes() => $_has(7);
|
|
627
|
-
@$pb.TagNumber(8)
|
|
628
|
-
void clearAttributes() => $_clearField(8);
|
|
629
|
-
@$pb.TagNumber(8)
|
|
630
|
-
$0.NomosStruct ensureAttributes() => $_ensure(7);
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
class TraceContext extends $pb.GeneratedMessage {
|
|
634
|
-
factory TraceContext({
|
|
635
|
-
$core.List<$core.int>? traceId,
|
|
636
|
-
$core.List<$core.int>? spanId,
|
|
637
|
-
$core.bool? sampled,
|
|
638
|
-
}) {
|
|
639
|
-
final result = create();
|
|
640
|
-
if (traceId != null) result.traceId = traceId;
|
|
641
|
-
if (spanId != null) result.spanId = spanId;
|
|
642
|
-
if (sampled != null) result.sampled = sampled;
|
|
643
|
-
return result;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
TraceContext._();
|
|
647
|
-
|
|
648
|
-
factory TraceContext.fromBuffer($core.List<$core.int> data,
|
|
649
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
650
|
-
create()..mergeFromBuffer(data, registry);
|
|
651
|
-
factory TraceContext.fromJson($core.String json,
|
|
652
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
653
|
-
create()..mergeFromJson(json, registry);
|
|
654
|
-
|
|
655
|
-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
656
|
-
_omitMessageNames ? '' : 'TraceContext',
|
|
657
|
-
package:
|
|
658
|
-
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v1'),
|
|
659
|
-
createEmptyInstance: create)
|
|
660
|
-
..a<$core.List<$core.int>>(
|
|
661
|
-
1, _omitFieldNames ? '' : 'traceId', $pb.PbFieldType.OY)
|
|
662
|
-
..a<$core.List<$core.int>>(
|
|
663
|
-
2, _omitFieldNames ? '' : 'spanId', $pb.PbFieldType.OY)
|
|
664
|
-
..aOB(3, _omitFieldNames ? '' : 'sampled')
|
|
665
|
-
..hasRequiredFields = false;
|
|
666
|
-
|
|
667
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
668
|
-
TraceContext clone() => deepCopy();
|
|
669
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
670
|
-
TraceContext copyWith(void Function(TraceContext) updates) =>
|
|
671
|
-
super.copyWith((message) => updates(message as TraceContext))
|
|
672
|
-
as TraceContext;
|
|
673
|
-
|
|
674
|
-
@$core.override
|
|
675
|
-
$pb.BuilderInfo get info_ => _i;
|
|
676
|
-
|
|
677
|
-
@$core.pragma('dart2js:noInline')
|
|
678
|
-
static TraceContext create() => TraceContext._();
|
|
679
|
-
@$core.override
|
|
680
|
-
TraceContext createEmptyInstance() => create();
|
|
681
|
-
@$core.pragma('dart2js:noInline')
|
|
682
|
-
static TraceContext getDefault() => _defaultInstance ??=
|
|
683
|
-
$pb.GeneratedMessage.$_defaultFor<TraceContext>(create);
|
|
684
|
-
static TraceContext? _defaultInstance;
|
|
685
|
-
|
|
686
|
-
@$pb.TagNumber(1)
|
|
687
|
-
$core.List<$core.int> get traceId => $_getN(0);
|
|
688
|
-
@$pb.TagNumber(1)
|
|
689
|
-
set traceId($core.List<$core.int> value) => $_setBytes(0, value);
|
|
690
|
-
@$pb.TagNumber(1)
|
|
691
|
-
$core.bool hasTraceId() => $_has(0);
|
|
692
|
-
@$pb.TagNumber(1)
|
|
693
|
-
void clearTraceId() => $_clearField(1);
|
|
694
|
-
|
|
695
|
-
@$pb.TagNumber(2)
|
|
696
|
-
$core.List<$core.int> get spanId => $_getN(1);
|
|
697
|
-
@$pb.TagNumber(2)
|
|
698
|
-
set spanId($core.List<$core.int> value) => $_setBytes(1, value);
|
|
699
|
-
@$pb.TagNumber(2)
|
|
700
|
-
$core.bool hasSpanId() => $_has(1);
|
|
701
|
-
@$pb.TagNumber(2)
|
|
702
|
-
void clearSpanId() => $_clearField(2);
|
|
703
|
-
|
|
704
|
-
@$pb.TagNumber(3)
|
|
705
|
-
$core.bool get sampled => $_getBF(2);
|
|
706
|
-
@$pb.TagNumber(3)
|
|
707
|
-
set sampled($core.bool value) => $_setBool(2, value);
|
|
708
|
-
@$pb.TagNumber(3)
|
|
709
|
-
$core.bool hasSampled() => $_has(2);
|
|
710
|
-
@$pb.TagNumber(3)
|
|
711
|
-
void clearSampled() => $_clearField(3);
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
class RuntimeEvent extends $pb.GeneratedMessage {
|
|
715
|
-
factory RuntimeEvent({
|
|
716
|
-
$fixnum.Int64? sequence,
|
|
717
|
-
RuntimeEventKind? kind,
|
|
718
|
-
$core.String? session,
|
|
719
|
-
$0.NomosStruct? payload,
|
|
720
|
-
}) {
|
|
721
|
-
final result = create();
|
|
722
|
-
if (sequence != null) result.sequence = sequence;
|
|
723
|
-
if (kind != null) result.kind = kind;
|
|
724
|
-
if (session != null) result.session = session;
|
|
725
|
-
if (payload != null) result.payload = payload;
|
|
726
|
-
return result;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
RuntimeEvent._();
|
|
730
|
-
|
|
731
|
-
factory RuntimeEvent.fromBuffer($core.List<$core.int> data,
|
|
732
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
733
|
-
create()..mergeFromBuffer(data, registry);
|
|
734
|
-
factory RuntimeEvent.fromJson($core.String json,
|
|
735
|
-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
736
|
-
create()..mergeFromJson(json, registry);
|
|
737
|
-
|
|
738
|
-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
739
|
-
_omitMessageNames ? '' : 'RuntimeEvent',
|
|
740
|
-
package:
|
|
741
|
-
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v1'),
|
|
742
|
-
createEmptyInstance: create)
|
|
743
|
-
..a<$fixnum.Int64>(
|
|
744
|
-
1, _omitFieldNames ? '' : 'sequence', $pb.PbFieldType.OU6,
|
|
745
|
-
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
746
|
-
..aE<RuntimeEventKind>(2, _omitFieldNames ? '' : 'kind',
|
|
747
|
-
enumValues: RuntimeEventKind.values)
|
|
748
|
-
..aOS(3, _omitFieldNames ? '' : 'session')
|
|
749
|
-
..aOM<$0.NomosStruct>(4, _omitFieldNames ? '' : 'payload',
|
|
750
|
-
subBuilder: $0.NomosStruct.create)
|
|
751
|
-
..hasRequiredFields = false;
|
|
752
|
-
|
|
753
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
754
|
-
RuntimeEvent clone() => deepCopy();
|
|
755
|
-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
756
|
-
RuntimeEvent copyWith(void Function(RuntimeEvent) updates) =>
|
|
757
|
-
super.copyWith((message) => updates(message as RuntimeEvent))
|
|
758
|
-
as RuntimeEvent;
|
|
759
|
-
|
|
760
|
-
@$core.override
|
|
761
|
-
$pb.BuilderInfo get info_ => _i;
|
|
762
|
-
|
|
763
|
-
@$core.pragma('dart2js:noInline')
|
|
764
|
-
static RuntimeEvent create() => RuntimeEvent._();
|
|
765
|
-
@$core.override
|
|
766
|
-
RuntimeEvent createEmptyInstance() => create();
|
|
767
|
-
@$core.pragma('dart2js:noInline')
|
|
768
|
-
static RuntimeEvent getDefault() => _defaultInstance ??=
|
|
769
|
-
$pb.GeneratedMessage.$_defaultFor<RuntimeEvent>(create);
|
|
770
|
-
static RuntimeEvent? _defaultInstance;
|
|
771
|
-
|
|
772
|
-
@$pb.TagNumber(1)
|
|
773
|
-
$fixnum.Int64 get sequence => $_getI64(0);
|
|
774
|
-
@$pb.TagNumber(1)
|
|
775
|
-
set sequence($fixnum.Int64 value) => $_setInt64(0, value);
|
|
776
|
-
@$pb.TagNumber(1)
|
|
777
|
-
$core.bool hasSequence() => $_has(0);
|
|
778
|
-
@$pb.TagNumber(1)
|
|
779
|
-
void clearSequence() => $_clearField(1);
|
|
780
|
-
|
|
781
|
-
@$pb.TagNumber(2)
|
|
782
|
-
RuntimeEventKind get kind => $_getN(1);
|
|
783
|
-
@$pb.TagNumber(2)
|
|
784
|
-
set kind(RuntimeEventKind value) => $_setField(2, value);
|
|
785
|
-
@$pb.TagNumber(2)
|
|
786
|
-
$core.bool hasKind() => $_has(1);
|
|
787
|
-
@$pb.TagNumber(2)
|
|
788
|
-
void clearKind() => $_clearField(2);
|
|
789
|
-
|
|
790
|
-
@$pb.TagNumber(3)
|
|
791
|
-
$core.String get session => $_getSZ(2);
|
|
792
|
-
@$pb.TagNumber(3)
|
|
793
|
-
set session($core.String value) => $_setString(2, value);
|
|
794
|
-
@$pb.TagNumber(3)
|
|
795
|
-
$core.bool hasSession() => $_has(2);
|
|
796
|
-
@$pb.TagNumber(3)
|
|
797
|
-
void clearSession() => $_clearField(3);
|
|
798
|
-
|
|
799
|
-
@$pb.TagNumber(4)
|
|
800
|
-
$0.NomosStruct get payload => $_getN(3);
|
|
801
|
-
@$pb.TagNumber(4)
|
|
802
|
-
set payload($0.NomosStruct value) => $_setField(4, value);
|
|
803
|
-
@$pb.TagNumber(4)
|
|
804
|
-
$core.bool hasPayload() => $_has(3);
|
|
805
|
-
@$pb.TagNumber(4)
|
|
806
|
-
void clearPayload() => $_clearField(4);
|
|
807
|
-
@$pb.TagNumber(4)
|
|
808
|
-
$0.NomosStruct ensurePayload() => $_ensure(3);
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
/// The generated application/runtime ABI used inside the Component Model world.
|
|
812
|
-
/// WIT owns resources and capabilities; this schema owns messages. Domain law,
|
|
813
|
-
/// intent payloads and generated arguments remain canonical OpenUSD values.
|
|
814
|
-
class NomosRuntimeServiceApi {
|
|
815
|
-
final $pb.RpcClient _client;
|
|
816
|
-
|
|
817
|
-
NomosRuntimeServiceApi(this._client);
|
|
818
|
-
|
|
819
|
-
$async.Future<RuntimeResponse> invoke(
|
|
820
|
-
$pb.ClientContext? ctx, RuntimeRequest request) =>
|
|
821
|
-
_client.invoke<RuntimeResponse>(
|
|
822
|
-
ctx, 'NomosRuntimeService', 'Invoke', request, RuntimeResponse());
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
const $core.bool _omitFieldNames =
|
|
826
|
-
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
827
|
-
const $core.bool _omitMessageNames =
|
|
828
|
-
$core.bool.fromEnvironment('protobuf.omit_message_names');
|