@githolon/dsl 0.114.0 → 0.115.0
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/assets/operation-contract.wasm +0 -0
- package/dart/CHANGELOG.md +40 -0
- package/dart/lib/src/application_framework_calls.dart +7 -1
- package/dart/lib/src/console_enrolment.dart +7 -0
- package/dart/lib/src/console_http_io.dart +22 -15
- package/dart/lib/src/dev_cloud.dart +62 -0
- package/dart/lib/src/operation_receipts.dart +74 -7
- package/dart/lib/src/reception/dart_reception.dart +26 -6
- package/dart/lib/src/runner/node-entry.mjs +7129 -4424
- package/dart/lib/src/runtime_v2_transport.dart +3 -0
- package/dart/pubspec.lock +1 -1
- package/dart/pubspec.yaml +2 -2
- package/dart/test/console_enrolment_test.dart +47 -0
- package/dart/test/model_adoption_test.dart +49 -0
- package/dart/test/runtime_projections_test.dart +41 -0
- package/dart_types/CHANGELOG.md +24 -0
- package/dart_types/lib/src/approved_model.dart +78 -1
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pb.dart +528 -2
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pbenum.dart +24 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/correspondence_desk.pb.dart +1897 -112
- package/dart_types/lib/src/proto/nomos/runtime/v2/model_adoption_desk.pb.dart +98 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/records_desk.pb.dart +16 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/runtime.pb.dart +43 -2
- package/dart_types/pubspec.yaml +1 -1
- package/package.json +4 -2
- package/src/aggregate.ts +93 -0
- package/src/anonymous_value_interning.ts +205 -0
- package/src/baseline.ts +27 -0
- package/src/baseline_export.ts +432 -0
- package/src/baseline_import.ts +312 -0
- package/src/baseline_usda.ts +186 -0
- package/src/birth_key_rule.ts +472 -0
- package/src/births.ts +207 -24
- package/src/build_provenance.ts +10 -0
- package/src/business_birth.ts +50 -4
- package/src/check_package_main.ts +50 -6
- package/src/codegen_call_proto.ts +5 -18
- package/src/codegen_dart.ts +95 -3
- package/src/codegen_dart_client.ts +52 -6
- package/src/codegen_dart_facade.ts +57 -35
- package/src/codegen_dart_framework_calls.ts +20 -1
- package/src/codegen_proof.ts +5 -2
- package/src/codegen_result_proto.ts +8 -6
- package/src/codegen_result_usda.ts +4 -0
- package/src/codegen_ts.ts +109 -10
- package/src/compatibility_graph.ts +41 -4
- package/src/compatibility_usda.ts +11 -1
- package/src/compile_package_main.ts +214 -51
- package/src/composed_wire_identity.ts +24 -0
- package/src/directive.ts +6 -0
- package/src/domain_requirements.ts +75 -0
- package/src/engine_javascript.ts +12 -6
- package/src/fields.ts +109 -0
- package/src/identity_usda.ts +77 -51
- package/src/index.ts +25 -1
- package/src/intent.ts +5 -0
- package/src/law_graph.ts +142 -1
- package/src/law_graph_usda.ts +25 -141
- package/src/law_layer_prims.ts +199 -0
- package/src/law_unit_selection.ts +45 -0
- package/src/law_version.ts +107 -0
- package/src/package_config.ts +44 -0
- package/src/package_dependencies.ts +8 -0
- package/src/value_object.ts +6 -3
- package/src/wire.ts +2 -0
- package/src/wire_paths.ts +17 -0
- package/src/workspace_routing.ts +1 -1
|
@@ -1990,6 +1990,7 @@ class OfferAdmitted extends $pb.GeneratedMessage {
|
|
|
1990
1990
|
PlacementAdopted? placement,
|
|
1991
1991
|
$core.bool? alreadyApplied,
|
|
1992
1992
|
OfferStateChange? stateChange,
|
|
1993
|
+
$core.Iterable<LawVersionWarning>? lawVersionWarnings,
|
|
1993
1994
|
}) {
|
|
1994
1995
|
final result = create();
|
|
1995
1996
|
if (head != null) result.head = head;
|
|
@@ -2005,6 +2006,8 @@ class OfferAdmitted extends $pb.GeneratedMessage {
|
|
|
2005
2006
|
if (placement != null) result.placement = placement;
|
|
2006
2007
|
if (alreadyApplied != null) result.alreadyApplied = alreadyApplied;
|
|
2007
2008
|
if (stateChange != null) result.stateChange = stateChange;
|
|
2009
|
+
if (lawVersionWarnings != null)
|
|
2010
|
+
result.lawVersionWarnings.addAll(lawVersionWarnings);
|
|
2008
2011
|
return result;
|
|
2009
2012
|
}
|
|
2010
2013
|
|
|
@@ -2042,6 +2045,8 @@ class OfferAdmitted extends $pb.GeneratedMessage {
|
|
|
2042
2045
|
..aOB(12, _omitFieldNames ? '' : 'alreadyApplied')
|
|
2043
2046
|
..aOM<OfferStateChange>(13, _omitFieldNames ? '' : 'stateChange',
|
|
2044
2047
|
subBuilder: OfferStateChange.create)
|
|
2048
|
+
..pPM<LawVersionWarning>(14, _omitFieldNames ? '' : 'lawVersionWarnings',
|
|
2049
|
+
subBuilder: LawVersionWarning.create)
|
|
2045
2050
|
..hasRequiredFields = false;
|
|
2046
2051
|
|
|
2047
2052
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -2170,6 +2175,325 @@ class OfferAdmitted extends $pb.GeneratedMessage {
|
|
|
2170
2175
|
void clearStateChange() => $_clearField(13);
|
|
2171
2176
|
@$pb.TagNumber(13)
|
|
2172
2177
|
OfferStateChange ensureStateChange() => $_ensure(12);
|
|
2178
|
+
|
|
2179
|
+
/// CAP-811: this offer installed, staged or promoted law whose claimed version is equal to or lower
|
|
2180
|
+
/// than the claim this workspace already serves for the same law identity (package name). Advice
|
|
2181
|
+
/// only: the offer was admitted, and the warning never enters custody. Empty when either side claims
|
|
2182
|
+
/// no version (era rule), when the identity was not served, or when the claim moves forward.
|
|
2183
|
+
@$pb.TagNumber(14)
|
|
2184
|
+
$pb.PbList<LawVersionWarning> get lawVersionWarnings => $_getList(13);
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
/// A law's identity: its package name (/Nomos/Package nomos:name) (CAP-809, CAP-811).
|
|
2188
|
+
class LawIdentity extends $pb.GeneratedMessage {
|
|
2189
|
+
factory LawIdentity({
|
|
2190
|
+
$core.String? packageName,
|
|
2191
|
+
}) {
|
|
2192
|
+
final result = create();
|
|
2193
|
+
if (packageName != null) result.packageName = packageName;
|
|
2194
|
+
return result;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
LawIdentity._();
|
|
2198
|
+
|
|
2199
|
+
factory LawIdentity.fromBuffer($core.List<$core.int> data,
|
|
2200
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2201
|
+
create()..mergeFromBuffer(data, registry);
|
|
2202
|
+
factory LawIdentity.fromJson($core.String json,
|
|
2203
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2204
|
+
create()..mergeFromJson(json, registry);
|
|
2205
|
+
|
|
2206
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2207
|
+
_omitMessageNames ? '' : 'LawIdentity',
|
|
2208
|
+
package:
|
|
2209
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
|
|
2210
|
+
createEmptyInstance: create)
|
|
2211
|
+
..aOS(1, _omitFieldNames ? '' : 'packageName')
|
|
2212
|
+
..hasRequiredFields = false;
|
|
2213
|
+
|
|
2214
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2215
|
+
LawIdentity clone() => deepCopy();
|
|
2216
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2217
|
+
LawIdentity copyWith(void Function(LawIdentity) updates) =>
|
|
2218
|
+
super.copyWith((message) => updates(message as LawIdentity))
|
|
2219
|
+
as LawIdentity;
|
|
2220
|
+
|
|
2221
|
+
@$core.override
|
|
2222
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2223
|
+
|
|
2224
|
+
@$core.pragma('dart2js:noInline')
|
|
2225
|
+
static LawIdentity create() => LawIdentity._();
|
|
2226
|
+
@$core.override
|
|
2227
|
+
LawIdentity createEmptyInstance() => create();
|
|
2228
|
+
@$core.pragma('dart2js:noInline')
|
|
2229
|
+
static LawIdentity getDefault() => _defaultInstance ??=
|
|
2230
|
+
$pb.GeneratedMessage.$_defaultFor<LawIdentity>(create);
|
|
2231
|
+
static LawIdentity? _defaultInstance;
|
|
2232
|
+
|
|
2233
|
+
@$pb.TagNumber(1)
|
|
2234
|
+
$core.String get packageName => $_getSZ(0);
|
|
2235
|
+
@$pb.TagNumber(1)
|
|
2236
|
+
set packageName($core.String value) => $_setString(0, value);
|
|
2237
|
+
@$pb.TagNumber(1)
|
|
2238
|
+
$core.bool hasPackageName() => $_has(0);
|
|
2239
|
+
@$pb.TagNumber(1)
|
|
2240
|
+
void clearPackageName() => $_clearField(1);
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
/// One version of a law: its closure identity, a canonical lowercase SHA-256 digest (CAP-809).
|
|
2244
|
+
class LawVersion extends $pb.GeneratedMessage {
|
|
2245
|
+
factory LawVersion({
|
|
2246
|
+
$core.String? closureSha256,
|
|
2247
|
+
}) {
|
|
2248
|
+
final result = create();
|
|
2249
|
+
if (closureSha256 != null) result.closureSha256 = closureSha256;
|
|
2250
|
+
return result;
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
LawVersion._();
|
|
2254
|
+
|
|
2255
|
+
factory LawVersion.fromBuffer($core.List<$core.int> data,
|
|
2256
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2257
|
+
create()..mergeFromBuffer(data, registry);
|
|
2258
|
+
factory LawVersion.fromJson($core.String json,
|
|
2259
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2260
|
+
create()..mergeFromJson(json, registry);
|
|
2261
|
+
|
|
2262
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2263
|
+
_omitMessageNames ? '' : 'LawVersion',
|
|
2264
|
+
package:
|
|
2265
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
|
|
2266
|
+
createEmptyInstance: create)
|
|
2267
|
+
..aOS(1, _omitFieldNames ? '' : 'closureSha256')
|
|
2268
|
+
..hasRequiredFields = false;
|
|
2269
|
+
|
|
2270
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2271
|
+
LawVersion clone() => deepCopy();
|
|
2272
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2273
|
+
LawVersion copyWith(void Function(LawVersion) updates) =>
|
|
2274
|
+
super.copyWith((message) => updates(message as LawVersion)) as LawVersion;
|
|
2275
|
+
|
|
2276
|
+
@$core.override
|
|
2277
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2278
|
+
|
|
2279
|
+
@$core.pragma('dart2js:noInline')
|
|
2280
|
+
static LawVersion create() => LawVersion._();
|
|
2281
|
+
@$core.override
|
|
2282
|
+
LawVersion createEmptyInstance() => create();
|
|
2283
|
+
@$core.pragma('dart2js:noInline')
|
|
2284
|
+
static LawVersion getDefault() => _defaultInstance ??=
|
|
2285
|
+
$pb.GeneratedMessage.$_defaultFor<LawVersion>(create);
|
|
2286
|
+
static LawVersion? _defaultInstance;
|
|
2287
|
+
|
|
2288
|
+
@$pb.TagNumber(1)
|
|
2289
|
+
$core.String get closureSha256 => $_getSZ(0);
|
|
2290
|
+
@$pb.TagNumber(1)
|
|
2291
|
+
set closureSha256($core.String value) => $_setString(0, value);
|
|
2292
|
+
@$pb.TagNumber(1)
|
|
2293
|
+
$core.bool hasClosureSha256() => $_has(0);
|
|
2294
|
+
@$pb.TagNumber(1)
|
|
2295
|
+
void clearClosureSha256() => $_clearField(1);
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
/// A semver 2.0 claim without build metadata, as authored in nomos.project.ts (CAP-811).
|
|
2299
|
+
class LawVersionClaim extends $pb.GeneratedMessage {
|
|
2300
|
+
factory LawVersionClaim({
|
|
2301
|
+
$core.String? semver,
|
|
2302
|
+
}) {
|
|
2303
|
+
final result = create();
|
|
2304
|
+
if (semver != null) result.semver = semver;
|
|
2305
|
+
return result;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
LawVersionClaim._();
|
|
2309
|
+
|
|
2310
|
+
factory LawVersionClaim.fromBuffer($core.List<$core.int> data,
|
|
2311
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2312
|
+
create()..mergeFromBuffer(data, registry);
|
|
2313
|
+
factory LawVersionClaim.fromJson($core.String json,
|
|
2314
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2315
|
+
create()..mergeFromJson(json, registry);
|
|
2316
|
+
|
|
2317
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2318
|
+
_omitMessageNames ? '' : 'LawVersionClaim',
|
|
2319
|
+
package:
|
|
2320
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
|
|
2321
|
+
createEmptyInstance: create)
|
|
2322
|
+
..aOS(1, _omitFieldNames ? '' : 'semver')
|
|
2323
|
+
..hasRequiredFields = false;
|
|
2324
|
+
|
|
2325
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2326
|
+
LawVersionClaim clone() => deepCopy();
|
|
2327
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2328
|
+
LawVersionClaim copyWith(void Function(LawVersionClaim) updates) =>
|
|
2329
|
+
super.copyWith((message) => updates(message as LawVersionClaim))
|
|
2330
|
+
as LawVersionClaim;
|
|
2331
|
+
|
|
2332
|
+
@$core.override
|
|
2333
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2334
|
+
|
|
2335
|
+
@$core.pragma('dart2js:noInline')
|
|
2336
|
+
static LawVersionClaim create() => LawVersionClaim._();
|
|
2337
|
+
@$core.override
|
|
2338
|
+
LawVersionClaim createEmptyInstance() => create();
|
|
2339
|
+
@$core.pragma('dart2js:noInline')
|
|
2340
|
+
static LawVersionClaim getDefault() => _defaultInstance ??=
|
|
2341
|
+
$pb.GeneratedMessage.$_defaultFor<LawVersionClaim>(create);
|
|
2342
|
+
static LawVersionClaim? _defaultInstance;
|
|
2343
|
+
|
|
2344
|
+
@$pb.TagNumber(1)
|
|
2345
|
+
$core.String get semver => $_getSZ(0);
|
|
2346
|
+
@$pb.TagNumber(1)
|
|
2347
|
+
set semver($core.String value) => $_setString(0, value);
|
|
2348
|
+
@$pb.TagNumber(1)
|
|
2349
|
+
$core.bool hasSemver() => $_has(0);
|
|
2350
|
+
@$pb.TagNumber(1)
|
|
2351
|
+
void clearSemver() => $_clearField(1);
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
/// An install that does not move its law's claimed version forward (CAP-811).
|
|
2355
|
+
class LawVersionWarning extends $pb.GeneratedMessage {
|
|
2356
|
+
factory LawVersionWarning({
|
|
2357
|
+
LawIdentity? law,
|
|
2358
|
+
LawVersionOrder? order,
|
|
2359
|
+
LawVersionClaim? installedClaim,
|
|
2360
|
+
LawVersion? installedVersion,
|
|
2361
|
+
LawVersionClaim? servedClaim,
|
|
2362
|
+
LawVersion? servedVersion,
|
|
2363
|
+
$core.String? message,
|
|
2364
|
+
}) {
|
|
2365
|
+
final result = create();
|
|
2366
|
+
if (law != null) result.law = law;
|
|
2367
|
+
if (order != null) result.order = order;
|
|
2368
|
+
if (installedClaim != null) result.installedClaim = installedClaim;
|
|
2369
|
+
if (installedVersion != null) result.installedVersion = installedVersion;
|
|
2370
|
+
if (servedClaim != null) result.servedClaim = servedClaim;
|
|
2371
|
+
if (servedVersion != null) result.servedVersion = servedVersion;
|
|
2372
|
+
if (message != null) result.message = message;
|
|
2373
|
+
return result;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
LawVersionWarning._();
|
|
2377
|
+
|
|
2378
|
+
factory LawVersionWarning.fromBuffer($core.List<$core.int> data,
|
|
2379
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2380
|
+
create()..mergeFromBuffer(data, registry);
|
|
2381
|
+
factory LawVersionWarning.fromJson($core.String json,
|
|
2382
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2383
|
+
create()..mergeFromJson(json, registry);
|
|
2384
|
+
|
|
2385
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2386
|
+
_omitMessageNames ? '' : 'LawVersionWarning',
|
|
2387
|
+
package:
|
|
2388
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
|
|
2389
|
+
createEmptyInstance: create)
|
|
2390
|
+
..aOM<LawIdentity>(1, _omitFieldNames ? '' : 'law',
|
|
2391
|
+
subBuilder: LawIdentity.create)
|
|
2392
|
+
..aE<LawVersionOrder>(2, _omitFieldNames ? '' : 'order',
|
|
2393
|
+
enumValues: LawVersionOrder.values)
|
|
2394
|
+
..aOM<LawVersionClaim>(3, _omitFieldNames ? '' : 'installedClaim',
|
|
2395
|
+
subBuilder: LawVersionClaim.create)
|
|
2396
|
+
..aOM<LawVersion>(4, _omitFieldNames ? '' : 'installedVersion',
|
|
2397
|
+
subBuilder: LawVersion.create)
|
|
2398
|
+
..aOM<LawVersionClaim>(5, _omitFieldNames ? '' : 'servedClaim',
|
|
2399
|
+
subBuilder: LawVersionClaim.create)
|
|
2400
|
+
..aOM<LawVersion>(6, _omitFieldNames ? '' : 'servedVersion',
|
|
2401
|
+
subBuilder: LawVersion.create)
|
|
2402
|
+
..aOS(7, _omitFieldNames ? '' : 'message')
|
|
2403
|
+
..hasRequiredFields = false;
|
|
2404
|
+
|
|
2405
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2406
|
+
LawVersionWarning clone() => deepCopy();
|
|
2407
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2408
|
+
LawVersionWarning copyWith(void Function(LawVersionWarning) updates) =>
|
|
2409
|
+
super.copyWith((message) => updates(message as LawVersionWarning))
|
|
2410
|
+
as LawVersionWarning;
|
|
2411
|
+
|
|
2412
|
+
@$core.override
|
|
2413
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2414
|
+
|
|
2415
|
+
@$core.pragma('dart2js:noInline')
|
|
2416
|
+
static LawVersionWarning create() => LawVersionWarning._();
|
|
2417
|
+
@$core.override
|
|
2418
|
+
LawVersionWarning createEmptyInstance() => create();
|
|
2419
|
+
@$core.pragma('dart2js:noInline')
|
|
2420
|
+
static LawVersionWarning getDefault() => _defaultInstance ??=
|
|
2421
|
+
$pb.GeneratedMessage.$_defaultFor<LawVersionWarning>(create);
|
|
2422
|
+
static LawVersionWarning? _defaultInstance;
|
|
2423
|
+
|
|
2424
|
+
@$pb.TagNumber(1)
|
|
2425
|
+
LawIdentity get law => $_getN(0);
|
|
2426
|
+
@$pb.TagNumber(1)
|
|
2427
|
+
set law(LawIdentity value) => $_setField(1, value);
|
|
2428
|
+
@$pb.TagNumber(1)
|
|
2429
|
+
$core.bool hasLaw() => $_has(0);
|
|
2430
|
+
@$pb.TagNumber(1)
|
|
2431
|
+
void clearLaw() => $_clearField(1);
|
|
2432
|
+
@$pb.TagNumber(1)
|
|
2433
|
+
LawIdentity ensureLaw() => $_ensure(0);
|
|
2434
|
+
|
|
2435
|
+
@$pb.TagNumber(2)
|
|
2436
|
+
LawVersionOrder get order => $_getN(1);
|
|
2437
|
+
@$pb.TagNumber(2)
|
|
2438
|
+
set order(LawVersionOrder value) => $_setField(2, value);
|
|
2439
|
+
@$pb.TagNumber(2)
|
|
2440
|
+
$core.bool hasOrder() => $_has(1);
|
|
2441
|
+
@$pb.TagNumber(2)
|
|
2442
|
+
void clearOrder() => $_clearField(2);
|
|
2443
|
+
|
|
2444
|
+
@$pb.TagNumber(3)
|
|
2445
|
+
LawVersionClaim get installedClaim => $_getN(2);
|
|
2446
|
+
@$pb.TagNumber(3)
|
|
2447
|
+
set installedClaim(LawVersionClaim value) => $_setField(3, value);
|
|
2448
|
+
@$pb.TagNumber(3)
|
|
2449
|
+
$core.bool hasInstalledClaim() => $_has(2);
|
|
2450
|
+
@$pb.TagNumber(3)
|
|
2451
|
+
void clearInstalledClaim() => $_clearField(3);
|
|
2452
|
+
@$pb.TagNumber(3)
|
|
2453
|
+
LawVersionClaim ensureInstalledClaim() => $_ensure(2);
|
|
2454
|
+
|
|
2455
|
+
@$pb.TagNumber(4)
|
|
2456
|
+
LawVersion get installedVersion => $_getN(3);
|
|
2457
|
+
@$pb.TagNumber(4)
|
|
2458
|
+
set installedVersion(LawVersion value) => $_setField(4, value);
|
|
2459
|
+
@$pb.TagNumber(4)
|
|
2460
|
+
$core.bool hasInstalledVersion() => $_has(3);
|
|
2461
|
+
@$pb.TagNumber(4)
|
|
2462
|
+
void clearInstalledVersion() => $_clearField(4);
|
|
2463
|
+
@$pb.TagNumber(4)
|
|
2464
|
+
LawVersion ensureInstalledVersion() => $_ensure(3);
|
|
2465
|
+
|
|
2466
|
+
@$pb.TagNumber(5)
|
|
2467
|
+
LawVersionClaim get servedClaim => $_getN(4);
|
|
2468
|
+
@$pb.TagNumber(5)
|
|
2469
|
+
set servedClaim(LawVersionClaim value) => $_setField(5, value);
|
|
2470
|
+
@$pb.TagNumber(5)
|
|
2471
|
+
$core.bool hasServedClaim() => $_has(4);
|
|
2472
|
+
@$pb.TagNumber(5)
|
|
2473
|
+
void clearServedClaim() => $_clearField(5);
|
|
2474
|
+
@$pb.TagNumber(5)
|
|
2475
|
+
LawVersionClaim ensureServedClaim() => $_ensure(4);
|
|
2476
|
+
|
|
2477
|
+
@$pb.TagNumber(6)
|
|
2478
|
+
LawVersion get servedVersion => $_getN(5);
|
|
2479
|
+
@$pb.TagNumber(6)
|
|
2480
|
+
set servedVersion(LawVersion value) => $_setField(6, value);
|
|
2481
|
+
@$pb.TagNumber(6)
|
|
2482
|
+
$core.bool hasServedVersion() => $_has(5);
|
|
2483
|
+
@$pb.TagNumber(6)
|
|
2484
|
+
void clearServedVersion() => $_clearField(6);
|
|
2485
|
+
@$pb.TagNumber(6)
|
|
2486
|
+
LawVersion ensureServedVersion() => $_ensure(5);
|
|
2487
|
+
|
|
2488
|
+
/// Human-readable summary of the same facts.
|
|
2489
|
+
@$pb.TagNumber(7)
|
|
2490
|
+
$core.String get message => $_getSZ(6);
|
|
2491
|
+
@$pb.TagNumber(7)
|
|
2492
|
+
set message($core.String value) => $_setString(6, value);
|
|
2493
|
+
@$pb.TagNumber(7)
|
|
2494
|
+
$core.bool hasMessage() => $_has(6);
|
|
2495
|
+
@$pb.TagNumber(7)
|
|
2496
|
+
void clearMessage() => $_clearField(7);
|
|
2173
2497
|
}
|
|
2174
2498
|
|
|
2175
2499
|
/// The aggregates one admitted offer changed, by the type a read resolves for each (its `__type`,
|
|
@@ -3162,11 +3486,13 @@ class OfferBlockedOnDependency extends $pb.GeneratedMessage {
|
|
|
3162
3486
|
$core.String? offerId,
|
|
3163
3487
|
$core.String? detail,
|
|
3164
3488
|
NomosStruct? diagnostics,
|
|
3489
|
+
ReadIndexPending? awaitsMaintenance,
|
|
3165
3490
|
}) {
|
|
3166
3491
|
final result = create();
|
|
3167
3492
|
if (offerId != null) result.offerId = offerId;
|
|
3168
3493
|
if (detail != null) result.detail = detail;
|
|
3169
3494
|
if (diagnostics != null) result.diagnostics = diagnostics;
|
|
3495
|
+
if (awaitsMaintenance != null) result.awaitsMaintenance = awaitsMaintenance;
|
|
3170
3496
|
return result;
|
|
3171
3497
|
}
|
|
3172
3498
|
|
|
@@ -3188,6 +3514,8 @@ class OfferBlockedOnDependency extends $pb.GeneratedMessage {
|
|
|
3188
3514
|
..aOS(2, _omitFieldNames ? '' : 'detail')
|
|
3189
3515
|
..aOM<NomosStruct>(3, _omitFieldNames ? '' : 'diagnostics',
|
|
3190
3516
|
subBuilder: NomosStruct.create)
|
|
3517
|
+
..aOM<ReadIndexPending>(4, _omitFieldNames ? '' : 'awaitsMaintenance',
|
|
3518
|
+
subBuilder: ReadIndexPending.create)
|
|
3191
3519
|
..hasRequiredFields = false;
|
|
3192
3520
|
|
|
3193
3521
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -3238,6 +3566,21 @@ class OfferBlockedOnDependency extends $pb.GeneratedMessage {
|
|
|
3238
3566
|
void clearDiagnostics() => $_clearField(3);
|
|
3239
3567
|
@$pb.TagNumber(3)
|
|
3240
3568
|
NomosStruct ensureDiagnostics() => $_ensure(2);
|
|
3569
|
+
|
|
3570
|
+
/// Present only when the kernel itself found that a read the authored plan made needs a
|
|
3571
|
+
/// derivative only background maintenance builds (CAP-824): the exact workspace position owed.
|
|
3572
|
+
/// Not a verdict of law. The same offer, made again once maintenance has repaid it, is judged.
|
|
3573
|
+
/// Absent for every other blocked dependency; a peer never infers it from `detail`.
|
|
3574
|
+
@$pb.TagNumber(4)
|
|
3575
|
+
ReadIndexPending get awaitsMaintenance => $_getN(3);
|
|
3576
|
+
@$pb.TagNumber(4)
|
|
3577
|
+
set awaitsMaintenance(ReadIndexPending value) => $_setField(4, value);
|
|
3578
|
+
@$pb.TagNumber(4)
|
|
3579
|
+
$core.bool hasAwaitsMaintenance() => $_has(3);
|
|
3580
|
+
@$pb.TagNumber(4)
|
|
3581
|
+
void clearAwaitsMaintenance() => $_clearField(4);
|
|
3582
|
+
@$pb.TagNumber(4)
|
|
3583
|
+
ReadIndexPending ensureAwaitsMaintenance() => $_ensure(3);
|
|
3241
3584
|
}
|
|
3242
3585
|
|
|
3243
3586
|
/// A target holon's non-effectful authored result. The target kernel alone runs its installed law and
|
|
@@ -6276,10 +6619,12 @@ class OpenApiDescriptionResponse extends $pb.GeneratedMessage {
|
|
|
6276
6619
|
class InterfaceCompatibilityQuery extends $pb.GeneratedMessage {
|
|
6277
6620
|
factory InterfaceCompatibilityQuery({
|
|
6278
6621
|
$core.List<$core.int>? applicationMatrixUsda,
|
|
6622
|
+
$core.Iterable<LawUnit>? candidateUnits,
|
|
6279
6623
|
}) {
|
|
6280
6624
|
final result = create();
|
|
6281
6625
|
if (applicationMatrixUsda != null)
|
|
6282
6626
|
result.applicationMatrixUsda = applicationMatrixUsda;
|
|
6627
|
+
if (candidateUnits != null) result.candidateUnits.addAll(candidateUnits);
|
|
6283
6628
|
return result;
|
|
6284
6629
|
}
|
|
6285
6630
|
|
|
@@ -6299,6 +6644,8 @@ class InterfaceCompatibilityQuery extends $pb.GeneratedMessage {
|
|
|
6299
6644
|
createEmptyInstance: create)
|
|
6300
6645
|
..a<$core.List<$core.int>>(
|
|
6301
6646
|
1, _omitFieldNames ? '' : 'applicationMatrixUsda', $pb.PbFieldType.OY)
|
|
6647
|
+
..pPM<LawUnit>(2, _omitFieldNames ? '' : 'candidateUnits',
|
|
6648
|
+
subBuilder: LawUnit.create)
|
|
6302
6649
|
..hasRequiredFields = false;
|
|
6303
6650
|
|
|
6304
6651
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -6332,6 +6679,12 @@ class InterfaceCompatibilityQuery extends $pb.GeneratedMessage {
|
|
|
6332
6679
|
$core.bool hasApplicationMatrixUsda() => $_has(0);
|
|
6333
6680
|
@$pb.TagNumber(1)
|
|
6334
6681
|
void clearApplicationMatrixUsda() => $_clearField(1);
|
|
6682
|
+
|
|
6683
|
+
/// RELEASE QUALIFICATION (CAP-789): judge the matrix against the law this workspace would serve once
|
|
6684
|
+
/// these carried units were staged and promoted (composed exactly as that STAGE would compose them at
|
|
6685
|
+
/// this frontier), instead of the law it serves now. Nothing is written and no verdict is retained.
|
|
6686
|
+
@$pb.TagNumber(2)
|
|
6687
|
+
$pb.PbList<LawUnit> get candidateUnits => $_getList(1);
|
|
6335
6688
|
}
|
|
6336
6689
|
|
|
6337
6690
|
class InterfaceMemberVerdict extends $pb.GeneratedMessage {
|
|
@@ -6470,11 +6823,13 @@ class InterfaceCompatibilityResponse extends $pb.GeneratedMessage {
|
|
|
6470
6823
|
$core.bool? compatible,
|
|
6471
6824
|
$core.Iterable<InterfaceMemberVerdict>? members,
|
|
6472
6825
|
$core.String? workspaceFrontier,
|
|
6826
|
+
$core.String? candidateHash,
|
|
6473
6827
|
}) {
|
|
6474
6828
|
final result = create();
|
|
6475
6829
|
if (compatible != null) result.compatible = compatible;
|
|
6476
6830
|
if (members != null) result.members.addAll(members);
|
|
6477
6831
|
if (workspaceFrontier != null) result.workspaceFrontier = workspaceFrontier;
|
|
6832
|
+
if (candidateHash != null) result.candidateHash = candidateHash;
|
|
6478
6833
|
return result;
|
|
6479
6834
|
}
|
|
6480
6835
|
|
|
@@ -6496,6 +6851,7 @@ class InterfaceCompatibilityResponse extends $pb.GeneratedMessage {
|
|
|
6496
6851
|
..pPM<InterfaceMemberVerdict>(2, _omitFieldNames ? '' : 'members',
|
|
6497
6852
|
subBuilder: InterfaceMemberVerdict.create)
|
|
6498
6853
|
..aOS(3, _omitFieldNames ? '' : 'workspaceFrontier')
|
|
6854
|
+
..aOS(4, _omitFieldNames ? '' : 'candidateHash')
|
|
6499
6855
|
..hasRequiredFields = false;
|
|
6500
6856
|
|
|
6501
6857
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -6540,6 +6896,16 @@ class InterfaceCompatibilityResponse extends $pb.GeneratedMessage {
|
|
|
6540
6896
|
$core.bool hasWorkspaceFrontier() => $_has(2);
|
|
6541
6897
|
@$pb.TagNumber(3)
|
|
6542
6898
|
void clearWorkspaceFrontier() => $_clearField(3);
|
|
6899
|
+
|
|
6900
|
+
/// The closure the carried candidate units composed to; empty when the installed law was judged.
|
|
6901
|
+
@$pb.TagNumber(4)
|
|
6902
|
+
$core.String get candidateHash => $_getSZ(3);
|
|
6903
|
+
@$pb.TagNumber(4)
|
|
6904
|
+
set candidateHash($core.String value) => $_setString(3, value);
|
|
6905
|
+
@$pb.TagNumber(4)
|
|
6906
|
+
$core.bool hasCandidateHash() => $_has(3);
|
|
6907
|
+
@$pb.TagNumber(4)
|
|
6908
|
+
void clearCandidateHash() => $_clearField(4);
|
|
6543
6909
|
}
|
|
6544
6910
|
|
|
6545
6911
|
/// One bounded kernel-maintenance quantum. This is runtime procedure state,
|
|
@@ -16219,6 +16585,7 @@ class FrontierTransitionRequest extends $pb.GeneratedMessage {
|
|
|
16219
16585
|
$core.String? atHash,
|
|
16220
16586
|
$core.String? acknowledgementPrincipal,
|
|
16221
16587
|
$core.String? restorePreviousOf,
|
|
16588
|
+
$core.Iterable<LawUnit>? candidateUnits,
|
|
16222
16589
|
}) {
|
|
16223
16590
|
final result = create();
|
|
16224
16591
|
if (domain != null) result.domain = domain;
|
|
@@ -16227,6 +16594,7 @@ class FrontierTransitionRequest extends $pb.GeneratedMessage {
|
|
|
16227
16594
|
if (acknowledgementPrincipal != null)
|
|
16228
16595
|
result.acknowledgementPrincipal = acknowledgementPrincipal;
|
|
16229
16596
|
if (restorePreviousOf != null) result.restorePreviousOf = restorePreviousOf;
|
|
16597
|
+
if (candidateUnits != null) result.candidateUnits.addAll(candidateUnits);
|
|
16230
16598
|
return result;
|
|
16231
16599
|
}
|
|
16232
16600
|
|
|
@@ -16249,6 +16617,8 @@ class FrontierTransitionRequest extends $pb.GeneratedMessage {
|
|
|
16249
16617
|
..aOS(3, _omitFieldNames ? '' : 'atHash')
|
|
16250
16618
|
..aOS(4, _omitFieldNames ? '' : 'acknowledgementPrincipal')
|
|
16251
16619
|
..aOS(5, _omitFieldNames ? '' : 'restorePreviousOf')
|
|
16620
|
+
..pPM<LawUnit>(6, _omitFieldNames ? '' : 'candidateUnits',
|
|
16621
|
+
subBuilder: LawUnit.create)
|
|
16252
16622
|
..hasRequiredFields = false;
|
|
16253
16623
|
|
|
16254
16624
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -16315,6 +16685,15 @@ class FrontierTransitionRequest extends $pb.GeneratedMessage {
|
|
|
16315
16685
|
$core.bool hasRestorePreviousOf() => $_has(4);
|
|
16316
16686
|
@$pb.TagNumber(5)
|
|
16317
16687
|
void clearRestorePreviousOf() => $_clearField(5);
|
|
16688
|
+
|
|
16689
|
+
/// RELEASE QUALIFICATION (CAP-789): the candidate carried as law units instead of named as a staged
|
|
16690
|
+
/// closure. The kernel admits each unit from its content, places and composes them exactly as a STAGE
|
|
16691
|
+
/// carrying them would at this frontier, and judges the same transition. It writes nothing: no stage, no
|
|
16692
|
+
/// custody object, no ref. When set, candidate_hash must equal the composed identity (the response names
|
|
16693
|
+
/// it either way). The answer is qualification evidence only: promotion still needs the candidate staged
|
|
16694
|
+
/// and judged again at the then-current frontier. Not with restore_previous_of.
|
|
16695
|
+
@$pb.TagNumber(6)
|
|
16696
|
+
$pb.PbList<LawUnit> get candidateUnits => $_getList(5);
|
|
16318
16697
|
}
|
|
16319
16698
|
|
|
16320
16699
|
class FrontierTransitionDispositionMapEntry extends $pb.GeneratedMessage {
|
|
@@ -19799,6 +20178,9 @@ class PackDeltaRequest extends $pb.GeneratedMessage {
|
|
|
19799
20178
|
$core.String? base,
|
|
19800
20179
|
$core.String? branch,
|
|
19801
20180
|
$core.String? stagedPackFile,
|
|
20181
|
+
$core.int? depth,
|
|
20182
|
+
$core.bool? belowHead,
|
|
20183
|
+
$core.Iterable<$core.String>? alsoHeads,
|
|
19802
20184
|
}) {
|
|
19803
20185
|
final result = create();
|
|
19804
20186
|
if (repo != null) result.repo = repo;
|
|
@@ -19806,6 +20188,9 @@ class PackDeltaRequest extends $pb.GeneratedMessage {
|
|
|
19806
20188
|
if (base != null) result.base = base;
|
|
19807
20189
|
if (branch != null) result.branch = branch;
|
|
19808
20190
|
if (stagedPackFile != null) result.stagedPackFile = stagedPackFile;
|
|
20191
|
+
if (depth != null) result.depth = depth;
|
|
20192
|
+
if (belowHead != null) result.belowHead = belowHead;
|
|
20193
|
+
if (alsoHeads != null) result.alsoHeads.addAll(alsoHeads);
|
|
19809
20194
|
return result;
|
|
19810
20195
|
}
|
|
19811
20196
|
|
|
@@ -19828,6 +20213,9 @@ class PackDeltaRequest extends $pb.GeneratedMessage {
|
|
|
19828
20213
|
..aOS(3, _omitFieldNames ? '' : 'base')
|
|
19829
20214
|
..aOS(4, _omitFieldNames ? '' : 'branch')
|
|
19830
20215
|
..aOS(5, _omitFieldNames ? '' : 'stagedPackFile')
|
|
20216
|
+
..aI(6, _omitFieldNames ? '' : 'depth', fieldType: $pb.PbFieldType.OU3)
|
|
20217
|
+
..aOB(7, _omitFieldNames ? '' : 'belowHead')
|
|
20218
|
+
..pPS(8, _omitFieldNames ? '' : 'alsoHeads')
|
|
19831
20219
|
..hasRequiredFields = false;
|
|
19832
20220
|
|
|
19833
20221
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -19896,9 +20284,37 @@ class PackDeltaRequest extends $pb.GeneratedMessage {
|
|
|
19896
20284
|
$core.bool hasStagedPackFile() => $_has(4);
|
|
19897
20285
|
@$pb.TagNumber(5)
|
|
19898
20286
|
void clearStagedPackFile() => $_clearField(5);
|
|
20287
|
+
|
|
20288
|
+
/// A SHALLOW pack instead of a delta (architecture/peer_catchup.md), with no `base`: the commits
|
|
20289
|
+
/// within `depth` generations of `head`, each with its complete tree, objects ordered by id
|
|
20290
|
+
/// (deterministic bytes). depth 1 is a checkpoint: the frontier state at `head`.
|
|
20291
|
+
@$pb.TagNumber(6)
|
|
20292
|
+
$core.int get depth => $_getIZ(5);
|
|
20293
|
+
@$pb.TagNumber(6)
|
|
20294
|
+
set depth($core.int value) => $_setUnsignedInt32(5, value);
|
|
20295
|
+
@$pb.TagNumber(6)
|
|
20296
|
+
$core.bool hasDepth() => $_has(5);
|
|
20297
|
+
@$pb.TagNumber(6)
|
|
20298
|
+
void clearDepth() => $_clearField(6);
|
|
20299
|
+
|
|
20300
|
+
/// With `depth`: `head` is a shallow boundary the receiver holds. Its commit and tree are omitted
|
|
20301
|
+
/// and the `depth` generations below it are packed: one lazy-history slice.
|
|
20302
|
+
@$pb.TagNumber(7)
|
|
20303
|
+
$core.bool get belowHead => $_getBF(6);
|
|
20304
|
+
@$pb.TagNumber(7)
|
|
20305
|
+
set belowHead($core.bool value) => $_setBool(6, value);
|
|
20306
|
+
@$pb.TagNumber(7)
|
|
20307
|
+
$core.bool hasBelowHead() => $_has(6);
|
|
20308
|
+
@$pb.TagNumber(7)
|
|
20309
|
+
void clearBelowHead() => $_clearField(7);
|
|
20310
|
+
|
|
20311
|
+
/// With `depth` and not `below_head`: more heads packed beside `head` at the same depth (the
|
|
20312
|
+
/// settled-letter outcome commits a checkpoint carries).
|
|
20313
|
+
@$pb.TagNumber(8)
|
|
20314
|
+
$pb.PbList<$core.String> get alsoHeads => $_getList(7);
|
|
19899
20315
|
}
|
|
19900
20316
|
|
|
19901
|
-
enum ApplyPackRequest_Source { pack, stagedPackFile, notSet }
|
|
20317
|
+
enum ApplyPackRequest_Source { pack, stagedPackFile, continuePending, notSet }
|
|
19902
20318
|
|
|
19903
20319
|
class ApplyPackRequest extends $pb.GeneratedMessage {
|
|
19904
20320
|
factory ApplyPackRequest({
|
|
@@ -19908,6 +20324,8 @@ class ApplyPackRequest extends $pb.GeneratedMessage {
|
|
|
19908
20324
|
$core.String? stagedPackFile,
|
|
19909
20325
|
$core.Iterable<$core.String>? shallow,
|
|
19910
20326
|
$core.Iterable<$core.String>? unshallow,
|
|
20327
|
+
$fixnum.Int64? workBudgetBytes,
|
|
20328
|
+
$core.bool? continuePending,
|
|
19911
20329
|
}) {
|
|
19912
20330
|
final result = create();
|
|
19913
20331
|
if (repo != null) result.repo = repo;
|
|
@@ -19916,6 +20334,8 @@ class ApplyPackRequest extends $pb.GeneratedMessage {
|
|
|
19916
20334
|
if (stagedPackFile != null) result.stagedPackFile = stagedPackFile;
|
|
19917
20335
|
if (shallow != null) result.shallow.addAll(shallow);
|
|
19918
20336
|
if (unshallow != null) result.unshallow.addAll(unshallow);
|
|
20337
|
+
if (workBudgetBytes != null) result.workBudgetBytes = workBudgetBytes;
|
|
20338
|
+
if (continuePending != null) result.continuePending = continuePending;
|
|
19919
20339
|
return result;
|
|
19920
20340
|
}
|
|
19921
20341
|
|
|
@@ -19932,6 +20352,7 @@ class ApplyPackRequest extends $pb.GeneratedMessage {
|
|
|
19932
20352
|
_ApplyPackRequest_SourceByTag = {
|
|
19933
20353
|
2: ApplyPackRequest_Source.pack,
|
|
19934
20354
|
4: ApplyPackRequest_Source.stagedPackFile,
|
|
20355
|
+
8: ApplyPackRequest_Source.continuePending,
|
|
19935
20356
|
0: ApplyPackRequest_Source.notSet
|
|
19936
20357
|
};
|
|
19937
20358
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
@@ -19939,7 +20360,7 @@ class ApplyPackRequest extends $pb.GeneratedMessage {
|
|
|
19939
20360
|
package:
|
|
19940
20361
|
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
|
|
19941
20362
|
createEmptyInstance: create)
|
|
19942
|
-
..oo(0, [2, 4])
|
|
20363
|
+
..oo(0, [2, 4, 8])
|
|
19943
20364
|
..aOS(1, _omitFieldNames ? '' : 'repo')
|
|
19944
20365
|
..a<$core.List<$core.int>>(
|
|
19945
20366
|
2, _omitFieldNames ? '' : 'pack', $pb.PbFieldType.OY)
|
|
@@ -19947,6 +20368,10 @@ class ApplyPackRequest extends $pb.GeneratedMessage {
|
|
|
19947
20368
|
..aOS(4, _omitFieldNames ? '' : 'stagedPackFile')
|
|
19948
20369
|
..pPS(5, _omitFieldNames ? '' : 'shallow')
|
|
19949
20370
|
..pPS(6, _omitFieldNames ? '' : 'unshallow')
|
|
20371
|
+
..a<$fixnum.Int64>(
|
|
20372
|
+
7, _omitFieldNames ? '' : 'workBudgetBytes', $pb.PbFieldType.OU6,
|
|
20373
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
20374
|
+
..aOB(8, _omitFieldNames ? '' : 'continuePending')
|
|
19950
20375
|
..hasRequiredFields = false;
|
|
19951
20376
|
|
|
19952
20377
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -19970,10 +20395,12 @@ class ApplyPackRequest extends $pb.GeneratedMessage {
|
|
|
19970
20395
|
|
|
19971
20396
|
@$pb.TagNumber(2)
|
|
19972
20397
|
@$pb.TagNumber(4)
|
|
20398
|
+
@$pb.TagNumber(8)
|
|
19973
20399
|
ApplyPackRequest_Source whichSource() =>
|
|
19974
20400
|
_ApplyPackRequest_SourceByTag[$_whichOneof(0)]!;
|
|
19975
20401
|
@$pb.TagNumber(2)
|
|
19976
20402
|
@$pb.TagNumber(4)
|
|
20403
|
+
@$pb.TagNumber(8)
|
|
19977
20404
|
void clearSource() => $_clearField($_whichOneof(0));
|
|
19978
20405
|
|
|
19979
20406
|
@$pb.TagNumber(1)
|
|
@@ -20023,6 +20450,33 @@ class ApplyPackRequest extends $pb.GeneratedMessage {
|
|
|
20023
20450
|
|
|
20024
20451
|
@$pb.TagNumber(6)
|
|
20025
20452
|
$pb.PbList<$core.String> get unshallow => $_getList(5);
|
|
20453
|
+
|
|
20454
|
+
/// At most about this many bytes of work (hashing, inflating, decoding, rewriting) in this call
|
|
20455
|
+
/// (CAP-806). When the pack needs more, the kernel keeps the import's progress, publishes
|
|
20456
|
+
/// nothing and answers `import_pending`; `continue_pending` continues it. A host interleaves the
|
|
20457
|
+
/// steps with its user's reads and offers, so a large import never holds the kernel for its
|
|
20458
|
+
/// whole length. A new pack for the same repository discards a pending import. Absent or 0: the
|
|
20459
|
+
/// whole pack in one call, as before.
|
|
20460
|
+
@$pb.TagNumber(7)
|
|
20461
|
+
$fixnum.Int64 get workBudgetBytes => $_getI64(6);
|
|
20462
|
+
@$pb.TagNumber(7)
|
|
20463
|
+
set workBudgetBytes($fixnum.Int64 value) => $_setInt64(6, value);
|
|
20464
|
+
@$pb.TagNumber(7)
|
|
20465
|
+
$core.bool hasWorkBudgetBytes() => $_has(6);
|
|
20466
|
+
@$pb.TagNumber(7)
|
|
20467
|
+
void clearWorkBudgetBytes() => $_clearField(7);
|
|
20468
|
+
|
|
20469
|
+
/// Continue the import this repository has pending (CAP-806): the one a request with
|
|
20470
|
+
/// `work_budget_bytes` began and answered `import_pending`. It carries no pack, head or
|
|
20471
|
+
/// boundary; the import keeps those of the request that began it.
|
|
20472
|
+
@$pb.TagNumber(8)
|
|
20473
|
+
$core.bool get continuePending => $_getBF(7);
|
|
20474
|
+
@$pb.TagNumber(8)
|
|
20475
|
+
set continuePending($core.bool value) => $_setBool(7, value);
|
|
20476
|
+
@$pb.TagNumber(8)
|
|
20477
|
+
$core.bool hasContinuePending() => $_has(7);
|
|
20478
|
+
@$pb.TagNumber(8)
|
|
20479
|
+
void clearContinuePending() => $_clearField(8);
|
|
20026
20480
|
}
|
|
20027
20481
|
|
|
20028
20482
|
class RepoStatsRequest extends $pb.GeneratedMessage {
|
|
@@ -25207,10 +25661,18 @@ class PackDeltaResponse extends $pb.GeneratedMessage {
|
|
|
25207
25661
|
factory PackDeltaResponse({
|
|
25208
25662
|
$core.List<$core.int>? pack,
|
|
25209
25663
|
$fixnum.Int64? bytes,
|
|
25664
|
+
$core.Iterable<$core.String>? shallow,
|
|
25665
|
+
$core.int? commits,
|
|
25666
|
+
$core.int? trees,
|
|
25667
|
+
$core.int? blobs,
|
|
25210
25668
|
}) {
|
|
25211
25669
|
final result = create();
|
|
25212
25670
|
if (pack != null) result.pack = pack;
|
|
25213
25671
|
if (bytes != null) result.bytes = bytes;
|
|
25672
|
+
if (shallow != null) result.shallow.addAll(shallow);
|
|
25673
|
+
if (commits != null) result.commits = commits;
|
|
25674
|
+
if (trees != null) result.trees = trees;
|
|
25675
|
+
if (blobs != null) result.blobs = blobs;
|
|
25214
25676
|
return result;
|
|
25215
25677
|
}
|
|
25216
25678
|
|
|
@@ -25232,6 +25694,10 @@ class PackDeltaResponse extends $pb.GeneratedMessage {
|
|
|
25232
25694
|
1, _omitFieldNames ? '' : 'pack', $pb.PbFieldType.OY)
|
|
25233
25695
|
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OU6,
|
|
25234
25696
|
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
25697
|
+
..pPS(3, _omitFieldNames ? '' : 'shallow')
|
|
25698
|
+
..aI(4, _omitFieldNames ? '' : 'commits', fieldType: $pb.PbFieldType.OU3)
|
|
25699
|
+
..aI(5, _omitFieldNames ? '' : 'trees', fieldType: $pb.PbFieldType.OU3)
|
|
25700
|
+
..aI(6, _omitFieldNames ? '' : 'blobs', fieldType: $pb.PbFieldType.OU3)
|
|
25235
25701
|
..hasRequiredFields = false;
|
|
25236
25702
|
|
|
25237
25703
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -25271,6 +25737,37 @@ class PackDeltaResponse extends $pb.GeneratedMessage {
|
|
|
25271
25737
|
$core.bool hasBytes() => $_has(1);
|
|
25272
25738
|
@$pb.TagNumber(2)
|
|
25273
25739
|
void clearBytes() => $_clearField(2);
|
|
25740
|
+
|
|
25741
|
+
/// A shallow pack only: the commits whose parents it omits, and what it holds.
|
|
25742
|
+
@$pb.TagNumber(3)
|
|
25743
|
+
$pb.PbList<$core.String> get shallow => $_getList(2);
|
|
25744
|
+
|
|
25745
|
+
@$pb.TagNumber(4)
|
|
25746
|
+
$core.int get commits => $_getIZ(3);
|
|
25747
|
+
@$pb.TagNumber(4)
|
|
25748
|
+
set commits($core.int value) => $_setUnsignedInt32(3, value);
|
|
25749
|
+
@$pb.TagNumber(4)
|
|
25750
|
+
$core.bool hasCommits() => $_has(3);
|
|
25751
|
+
@$pb.TagNumber(4)
|
|
25752
|
+
void clearCommits() => $_clearField(4);
|
|
25753
|
+
|
|
25754
|
+
@$pb.TagNumber(5)
|
|
25755
|
+
$core.int get trees => $_getIZ(4);
|
|
25756
|
+
@$pb.TagNumber(5)
|
|
25757
|
+
set trees($core.int value) => $_setUnsignedInt32(4, value);
|
|
25758
|
+
@$pb.TagNumber(5)
|
|
25759
|
+
$core.bool hasTrees() => $_has(4);
|
|
25760
|
+
@$pb.TagNumber(5)
|
|
25761
|
+
void clearTrees() => $_clearField(5);
|
|
25762
|
+
|
|
25763
|
+
@$pb.TagNumber(6)
|
|
25764
|
+
$core.int get blobs => $_getIZ(5);
|
|
25765
|
+
@$pb.TagNumber(6)
|
|
25766
|
+
set blobs($core.int value) => $_setUnsignedInt32(5, value);
|
|
25767
|
+
@$pb.TagNumber(6)
|
|
25768
|
+
$core.bool hasBlobs() => $_has(5);
|
|
25769
|
+
@$pb.TagNumber(6)
|
|
25770
|
+
void clearBlobs() => $_clearField(6);
|
|
25274
25771
|
}
|
|
25275
25772
|
|
|
25276
25773
|
class ApplyPackResponse extends $pb.GeneratedMessage {
|
|
@@ -25278,11 +25775,15 @@ class ApplyPackResponse extends $pb.GeneratedMessage {
|
|
|
25278
25775
|
$fixnum.Int64? objectCount,
|
|
25279
25776
|
$core.String? packHash,
|
|
25280
25777
|
PhysicalClosureCheck? closure,
|
|
25778
|
+
$core.bool? importPending,
|
|
25779
|
+
$fixnum.Int64? workDoneBytes,
|
|
25281
25780
|
}) {
|
|
25282
25781
|
final result = create();
|
|
25283
25782
|
if (objectCount != null) result.objectCount = objectCount;
|
|
25284
25783
|
if (packHash != null) result.packHash = packHash;
|
|
25285
25784
|
if (closure != null) result.closure = closure;
|
|
25785
|
+
if (importPending != null) result.importPending = importPending;
|
|
25786
|
+
if (workDoneBytes != null) result.workDoneBytes = workDoneBytes;
|
|
25286
25787
|
return result;
|
|
25287
25788
|
}
|
|
25288
25789
|
|
|
@@ -25306,6 +25807,10 @@ class ApplyPackResponse extends $pb.GeneratedMessage {
|
|
|
25306
25807
|
..aOS(2, _omitFieldNames ? '' : 'packHash')
|
|
25307
25808
|
..aOM<PhysicalClosureCheck>(3, _omitFieldNames ? '' : 'closure',
|
|
25308
25809
|
subBuilder: PhysicalClosureCheck.create)
|
|
25810
|
+
..aOB(4, _omitFieldNames ? '' : 'importPending')
|
|
25811
|
+
..a<$fixnum.Int64>(
|
|
25812
|
+
5, _omitFieldNames ? '' : 'workDoneBytes', $pb.PbFieldType.OU6,
|
|
25813
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
25309
25814
|
..hasRequiredFields = false;
|
|
25310
25815
|
|
|
25311
25816
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
@@ -25357,6 +25862,27 @@ class ApplyPackResponse extends $pb.GeneratedMessage {
|
|
|
25357
25862
|
void clearClosure() => $_clearField(3);
|
|
25358
25863
|
@$pb.TagNumber(3)
|
|
25359
25864
|
PhysicalClosureCheck ensureClosure() => $_ensure(2);
|
|
25865
|
+
|
|
25866
|
+
/// The import spent its `work_budget_bytes` before finishing (CAP-806). Nothing is published;
|
|
25867
|
+
/// every other field is empty until the step that completes it.
|
|
25868
|
+
@$pb.TagNumber(4)
|
|
25869
|
+
$core.bool get importPending => $_getBF(3);
|
|
25870
|
+
@$pb.TagNumber(4)
|
|
25871
|
+
set importPending($core.bool value) => $_setBool(3, value);
|
|
25872
|
+
@$pb.TagNumber(4)
|
|
25873
|
+
$core.bool hasImportPending() => $_has(3);
|
|
25874
|
+
@$pb.TagNumber(4)
|
|
25875
|
+
void clearImportPending() => $_clearField(4);
|
|
25876
|
+
|
|
25877
|
+
/// Bytes of work the import has done so far, across its steps.
|
|
25878
|
+
@$pb.TagNumber(5)
|
|
25879
|
+
$fixnum.Int64 get workDoneBytes => $_getI64(4);
|
|
25880
|
+
@$pb.TagNumber(5)
|
|
25881
|
+
set workDoneBytes($fixnum.Int64 value) => $_setInt64(4, value);
|
|
25882
|
+
@$pb.TagNumber(5)
|
|
25883
|
+
$core.bool hasWorkDoneBytes() => $_has(4);
|
|
25884
|
+
@$pb.TagNumber(5)
|
|
25885
|
+
void clearWorkDoneBytes() => $_clearField(5);
|
|
25360
25886
|
}
|
|
25361
25887
|
|
|
25362
25888
|
class PhysicalClosureCheck extends $pb.GeneratedMessage {
|