@openmbee/opensysml 0.9.1 → 0.10.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.
Files changed (69) hide show
  1. package/README.md +355 -33
  2. package/dist/browser/index.d.ts +9 -0
  3. package/dist/browser/index.js +16 -0
  4. package/dist/browser/wasm-worker.d.ts +1 -0
  5. package/dist/browser/wasm-worker.js +2 -0
  6. package/dist/browser/wasm.d.ts +17 -0
  7. package/dist/browser/wasm.js +94 -0
  8. package/dist/core/arguments.d.ts +4 -0
  9. package/dist/core/arguments.js +19 -0
  10. package/dist/core/capabilities.d.ts +90 -9
  11. package/dist/core/capabilities.js +111 -10
  12. package/dist/core/connection.d.ts +203 -2
  13. package/dist/core/connection.js +810 -17
  14. package/dist/core/conversion.d.ts +153 -0
  15. package/dist/core/conversion.js +191 -0
  16. package/dist/core/document.d.ts +188 -0
  17. package/dist/core/document.js +457 -0
  18. package/dist/core/edit.d.ts +446 -0
  19. package/dist/core/edit.js +1994 -0
  20. package/dist/core/engines.d.ts +64 -0
  21. package/dist/core/engines.js +74 -0
  22. package/dist/core/errors.d.ts +164 -2
  23. package/dist/core/errors.js +209 -3
  24. package/dist/core/exploration.d.ts +71 -0
  25. package/dist/core/exploration.js +116 -0
  26. package/dist/core/graphs.d.ts +15 -0
  27. package/dist/core/graphs.js +3 -0
  28. package/dist/core/index.d.ts +30 -9
  29. package/dist/core/index.js +14 -5
  30. package/dist/core/model.d.ts +168 -8
  31. package/dist/core/model.js +258 -31
  32. package/dist/core/package.d.ts +2 -0
  33. package/dist/core/package.js +2 -0
  34. package/dist/core/query.d.ts +50 -0
  35. package/dist/core/query.js +197 -0
  36. package/dist/core/render-view.d.ts +97 -0
  37. package/dist/core/render-view.js +120 -0
  38. package/dist/core/sources.d.ts +34 -0
  39. package/dist/core/sources.js +134 -0
  40. package/dist/core/status.d.ts +9 -2
  41. package/dist/core/status.js +24 -8
  42. package/dist/core/typed.d.ts +71 -0
  43. package/dist/core/typed.js +245 -0
  44. package/dist/core/values.d.ts +127 -8
  45. package/dist/core/values.js +536 -30
  46. package/dist/core/verdict.d.ts +271 -0
  47. package/dist/core/verdict.js +567 -0
  48. package/dist/core/wasm.d.ts +114 -0
  49. package/dist/core/wasm.js +514 -0
  50. package/dist/generated/sysml_pb.d.ts +1080 -22
  51. package/dist/generated/sysml_pb.js +200 -100
  52. package/dist/node/binary.d.ts +2 -0
  53. package/dist/node/binary.js +8 -6
  54. package/dist/node/generate-cli.d.ts +2 -0
  55. package/dist/node/generate-cli.js +10 -0
  56. package/dist/node/generate.d.ts +99 -0
  57. package/dist/node/generate.js +757 -0
  58. package/dist/node/index.d.ts +29 -2
  59. package/dist/node/index.js +211 -10
  60. package/dist/node/service.d.ts +5 -3
  61. package/dist/node/service.js +32 -26
  62. package/dist/node/wasm-source.d.ts +18 -0
  63. package/dist/node/wasm-source.js +103 -0
  64. package/dist/node/wasm-worker.d.ts +1 -0
  65. package/dist/node/wasm-worker.js +10 -0
  66. package/dist/node/wasm.d.ts +17 -0
  67. package/dist/node/wasm.js +63 -0
  68. package/package.json +19 -7
  69. package/release-digests.json +105 -0
@@ -268,6 +268,23 @@ export type VerifyConstraintRequest = Message<"sysml.VerifyConstraintRequest"> &
268
268
  * @generated from field: string question = 5;
269
269
  */
270
270
  question: string;
271
+ /**
272
+ * Values for the constraint's `in` parameters, in declaration order, as
273
+ * RunAnalysisRequest.arguments binds a case's; an argument the constraint
274
+ * does not take is INVALID_ARGUMENT, as is a parameter left without an
275
+ * argument or default. Reported as the "verification_arguments" capability.
276
+ *
277
+ * @generated from field: repeated sysml.Value arguments = 6;
278
+ */
279
+ arguments: Value[];
280
+ /**
281
+ * Values for `in` parameters by name; see arguments.
282
+ *
283
+ * @generated from field: map<string, sysml.Value> named_arguments = 7;
284
+ */
285
+ namedArguments: {
286
+ [key: string]: Value;
287
+ };
271
288
  };
272
289
  /**
273
290
  * Describes the message sysml.VerifyConstraintRequest.
@@ -345,6 +362,20 @@ export type VerifyRequirementRequest = Message<"sysml.VerifyRequirementRequest">
345
362
  * @generated from field: string question = 5;
346
363
  */
347
364
  question: string;
365
+ /**
366
+ * Values for the requirement's `in` parameters, positional and by name; see
367
+ * VerifyConstraintRequest.arguments. Reported as the "verification_arguments"
368
+ * capability.
369
+ *
370
+ * @generated from field: repeated sysml.Value arguments = 6;
371
+ */
372
+ arguments: Value[];
373
+ /**
374
+ * @generated from field: map<string, sysml.Value> named_arguments = 7;
375
+ */
376
+ namedArguments: {
377
+ [key: string]: Value;
378
+ };
348
379
  };
349
380
  /**
350
381
  * Describes the message sysml.VerifyRequirementRequest.
@@ -943,6 +974,27 @@ export type RunAnalysisResponse = Message<"sysml.RunAnalysisResponse"> & {
943
974
  * Use `create(RunAnalysisResponseSchema)` to create a new message.
944
975
  */
945
976
  export declare const RunAnalysisResponseSchema: GenMessage<RunAnalysisResponse>;
977
+ /**
978
+ * ProbabilityRange is the model-draw probability of an outcome, bounded by the
979
+ * least and greatest probabilities over schedulers resolving scheduling choices.
980
+ *
981
+ * @generated from message sysml.ProbabilityRange
982
+ */
983
+ export type ProbabilityRange = Message<"sysml.ProbabilityRange"> & {
984
+ /**
985
+ * @generated from field: double min = 1;
986
+ */
987
+ min: number;
988
+ /**
989
+ * @generated from field: double max = 2;
990
+ */
991
+ max: number;
992
+ };
993
+ /**
994
+ * Describes the message sysml.ProbabilityRange.
995
+ * Use `create(ProbabilityRangeSchema)` to create a new message.
996
+ */
997
+ export declare const ProbabilityRangeSchema: GenMessage<ProbabilityRange>;
946
998
  /**
947
999
  * Outcome is one distinct outcome an exploration reached: the observables a
948
1000
  * conformance case compares, how many linearizations reached it, and the choice
@@ -1001,12 +1053,18 @@ export type Outcome = Message<"sysml.Outcome"> & {
1001
1053
  */
1002
1054
  diagnostics: Diagnostic[];
1003
1055
  /**
1004
- * The probability of the linearizations reaching this outcome, as explore
1005
- * computes it; a lower bound when the exploration is incomplete.
1056
+ * The exact model-draw probability when probability_range is exact; zero otherwise.
1006
1057
  *
1007
1058
  * @generated from field: double probability = 8;
1008
1059
  */
1009
1060
  probability: number;
1061
+ /**
1062
+ * Present when the exploration made a weighted choice. Bounds probabilities
1063
+ * over schedulers, not shares of the enumerated schedules.
1064
+ *
1065
+ * @generated from field: sysml.ProbabilityRange probability_range = 9;
1066
+ */
1067
+ probabilityRange?: ProbabilityRange | undefined;
1010
1068
  };
1011
1069
  /**
1012
1070
  * Describes the message sysml.Outcome.
@@ -1050,12 +1108,18 @@ export type ExplorationStatus = Message<"sysml.ExplorationStatus"> & {
1050
1108
  */
1051
1109
  depthBudget: number;
1052
1110
  /**
1053
- * True when the outcomes' probabilities are lower bounds: a budget kept some
1111
+ * True when weighted probabilities are lower bounds: a budget kept some
1054
1112
  * linearizations unexplored.
1055
1113
  *
1056
1114
  * @generated from field: bool probabilities_lower_bound = 6;
1057
1115
  */
1058
1116
  probabilitiesLowerBound: boolean;
1117
+ /**
1118
+ * How many linearizations ended in runtime-error outcomes.
1119
+ *
1120
+ * @generated from field: int32 failed_linearizations = 7;
1121
+ */
1122
+ failedLinearizations: number;
1059
1123
  };
1060
1124
  /**
1061
1125
  * Describes the message sysml.ExplorationStatus.
@@ -1311,6 +1375,14 @@ export type ParseSourcesRequest = Message<"sysml.ParseSourcesRequest"> & {
1311
1375
  * @generated from field: bool strict_conformance = 2;
1312
1376
  */
1313
1377
  strictConformance: boolean;
1378
+ /**
1379
+ * The model_hash of a model of these documents the client holds results of,
1380
+ * typically the one its previous ParseSources returned. The answer's affected
1381
+ * is relative to it. Reported as the "parse_sources_affected" capability.
1382
+ *
1383
+ * @generated from field: string base_model_hash = 3;
1384
+ */
1385
+ baseModelHash: string;
1314
1386
  };
1315
1387
  /**
1316
1388
  * Describes the message sysml.ParseSourcesRequest.
@@ -1344,6 +1416,20 @@ export type ParseSourcesResponse = Message<"sysml.ParseSourcesResponse"> & {
1344
1416
  * @generated from field: string error = 4;
1345
1417
  */
1346
1418
  error: string;
1419
+ /**
1420
+ * The documents, by name and in the request's order, whose analysis, and so
1421
+ * whose diagnostics and conversion, may differ from base_model_hash's model:
1422
+ * those whose text changed, those whose analysis read something an edit
1423
+ * changed, and those base_model_hash's model did not hold. Every other
1424
+ * document's results are the base's, so a client may reuse them. Answered
1425
+ * only when base_model_hash is given; every document when the service
1426
+ * cannot relate it to this model (no longer cached, not of the same
1427
+ * documents, or a model whose documents may declare an identity scope).
1428
+ * Reported as the "parse_sources_affected" capability.
1429
+ *
1430
+ * @generated from field: repeated string affected = 5;
1431
+ */
1432
+ affected: string[];
1347
1433
  };
1348
1434
  /**
1349
1435
  * Describes the message sysml.ParseSourcesResponse.
@@ -1801,6 +1887,13 @@ export type ExecuteStateRequest = Message<"sysml.ExecuteStateRequest"> & {
1801
1887
  * @generated from field: string performer_symbol_id = 5;
1802
1888
  */
1803
1889
  performerSymbolId: string;
1890
+ /**
1891
+ * Ask for the run's trace in ExecuteStateResponse.trace. Advertised as the
1892
+ * "state_trace" capability; a service withholding it refuses true with UNIMPLEMENTED.
1893
+ *
1894
+ * @generated from field: bool trace = 6;
1895
+ */
1896
+ trace: boolean;
1804
1897
  };
1805
1898
  /**
1806
1899
  * Describes the message sysml.ExecuteStateRequest.
@@ -1854,6 +1947,19 @@ export type ExecuteStateResponse = Message<"sysml.ExecuteStateResponse"> & {
1854
1947
  * @generated from field: double final_time = 7;
1855
1948
  */
1856
1949
  finalTime: number;
1950
+ /**
1951
+ * The run's trace in the order the run made it, when the request asked for it:
1952
+ * also on a run that failed, up to the failure. Empty under an explore schedule.
1953
+ *
1954
+ * @generated from field: repeated sysml.DocumentEvent trace = 8;
1955
+ */
1956
+ trace: DocumentEvent[];
1957
+ /**
1958
+ * How many of the oldest records the service's held-events bound discarded.
1959
+ *
1960
+ * @generated from field: int32 trace_dropped = 9;
1961
+ */
1962
+ traceDropped: number;
1857
1963
  };
1858
1964
  /**
1859
1965
  * Describes the message sysml.ExecuteStateResponse.
@@ -1894,11 +2000,12 @@ export type ConvertRequest = Message<"sysml.ConvertRequest"> & {
1894
2000
  value?: undefined;
1895
2001
  };
1896
2002
  /**
1897
- * "sysml", "kerml", "text", "ttl", "turtle", "rdf", "api-json" or "json", or
1898
- * "xmi", "uml" or "mdzip" for a SysML v1 model, which is read and migrated to
1899
- * v2 and never written. Empty infers from file_path's extension, and is
1900
- * notation for a model_hash, since that is what parse reads; inline content
1901
- * has neither, so it must say.
2003
+ * "sysml", "kerml", "text", "ttl", "turtle", "rdf", "api-json" or "json".
2004
+ * Empty infers from file_path's extension, and is notation for a model_hash,
2005
+ * since that is what parse reads; inline content has neither, so it must say.
2006
+ * A SysML v1 model ("xmi", "uml" or "mdzip", named or inferred from the
2007
+ * extension) is INVALID_ARGUMENT, pointing at Migrate: a v1 model is
2008
+ * migrated, element by element and reported, not converted.
1902
2009
  *
1903
2010
  * @generated from field: string from_format = 3;
1904
2011
  */
@@ -1919,6 +2026,55 @@ export type ConvertRequest = Message<"sysml.ConvertRequest"> & {
1919
2026
  * @generated from field: bool tolerate_syntax_errors = 5;
1920
2027
  */
1921
2028
  tolerateSyntaxErrors: boolean;
2029
+ /**
2030
+ * How derived element ids are spelled when notation is written as a graph
2031
+ * ("ttl" or "api-json"), as `sysml -id` does: "qualified" (the default, each
2032
+ * derived from its qualified name) or "uuid" (name-based uuids under each root
2033
+ * package, the library convention). Declared and normative ids are unchanged.
2034
+ * Empty is "qualified"; any other value, or one given for another direction,
2035
+ * is INVALID_ARGUMENT.
2036
+ *
2037
+ * @generated from field: string id_form = 7;
2038
+ */
2039
+ idForm: string;
2040
+ /**
2041
+ * For a model_hash, the documents whose elements are written, named as the
2042
+ * parse named them; the model's other documents are read for the references
2043
+ * into them, which keep the ids those elements are written under when their
2044
+ * own documents are converted. Empty writes every document. A name the model
2045
+ * does not hold, or documents for a file_path or content, is
2046
+ * INVALID_ARGUMENT. Reported as the "convert_documents" capability.
2047
+ *
2048
+ * @generated from field: repeated string documents = 8;
2049
+ */
2050
+ documents: string[];
2051
+ /**
2052
+ * For api-json from notation: write the compact document
2053
+ * (api-json-compact/1) in place of the standard element array. It is one
2054
+ * object holding a table of element ids, written once, and the elements with
2055
+ * every reference spelled as an index into it, without indentation; see
2056
+ * docs/reference/wire-contract.md for the shape. Refused for any other
2057
+ * target. Reported as the "convert_compact" capability.
2058
+ *
2059
+ * @generated from field: bool compact = 9;
2060
+ */
2061
+ compact: boolean;
2062
+ /**
2063
+ * With compact: leave out every derived property of the metamodel (the
2064
+ * ones the owned properties already state), except those named in
2065
+ * keep_derived. Refused without compact.
2066
+ *
2067
+ * @generated from field: bool omit_derived = 10;
2068
+ */
2069
+ omitDerived: boolean;
2070
+ /**
2071
+ * With omit_derived: the derived properties still written, named as in the
2072
+ * element form ("owner", "qualifiedName"). A name that is not a derived
2073
+ * property of the metamodel is INVALID_ARGUMENT. Refused without omit_derived.
2074
+ *
2075
+ * @generated from field: repeated string keep_derived = 11;
2076
+ */
2077
+ keepDerived: string[];
1922
2078
  };
1923
2079
  /**
1924
2080
  * Describes the message sysml.ConvertRequest.
@@ -1963,9 +2119,8 @@ export type ConvertResponse = Message<"sysml.ConvertResponse"> & {
1963
2119
  * Set when either format is RDF or the API's JSON element form, whose
1964
2120
  * mapping is experimental: it covers model structure and the behavior its
1965
2121
  * bodies state, refuses what it cannot write back, and its vocabulary may
1966
- * change without a compatibility path. Also set when the source is SysML v1,
1967
- * whose migration is experimental in the same sense. Notation to notation is
1968
- * stable and leaves this unset.
2122
+ * change without a compatibility path. Notation to notation is stable and
2123
+ * leaves this unset.
1969
2124
  *
1970
2125
  * @generated from field: bool experimental = 6;
1971
2126
  */
@@ -1983,6 +2138,310 @@ export type ConvertResponse = Message<"sysml.ConvertResponse"> & {
1983
2138
  * Use `create(ConvertResponseSchema)` to create a new message.
1984
2139
  */
1985
2140
  export declare const ConvertResponseSchema: GenMessage<ConvertResponse>;
2141
+ /**
2142
+ * MigrateRequest asks for a SysML v1 model migrated to v2. The source is a
2143
+ * file_path the service reads, or the document carried inline as content —
2144
+ * bytes, since a .mdzip archive is binary. There is no model_hash form: parse
2145
+ * reads v2 notation, and a v1 model is never parsed.
2146
+ *
2147
+ * @generated from message sysml.MigrateRequest
2148
+ */
2149
+ export type MigrateRequest = Message<"sysml.MigrateRequest"> & {
2150
+ /**
2151
+ * @generated from oneof sysml.MigrateRequest.source
2152
+ */
2153
+ source: {
2154
+ /**
2155
+ * @generated from field: string file_path = 1;
2156
+ */
2157
+ value: string;
2158
+ case: "filePath";
2159
+ } | {
2160
+ /**
2161
+ * @generated from field: bytes content = 2;
2162
+ */
2163
+ value: Uint8Array;
2164
+ case: "content";
2165
+ } | {
2166
+ case: undefined;
2167
+ value?: undefined;
2168
+ };
2169
+ /**
2170
+ * "xmi" (UML XMI 2.5.1 with the SysML profile applied), "uml" (an Eclipse
2171
+ * UML2 file) or "mdzip" (a Cameo/MagicDraw archive). Empty infers from
2172
+ * file_path's extension; inline content has none, so it must say. A v2
2173
+ * format is INVALID_ARGUMENT, pointing at Convert.
2174
+ *
2175
+ * @generated from field: string from_format = 3;
2176
+ */
2177
+ fromFormat: string;
2178
+ /**
2179
+ * Format to write: "sysml", "kerml", "text", "ttl", "turtle", "rdf",
2180
+ * "api-json" or "json", as Convert names them. The v1 names are refused,
2181
+ * since a v2 model has no v1 form. Empty is rejected.
2182
+ *
2183
+ * @generated from field: string to_format = 4;
2184
+ */
2185
+ toFormat: string;
2186
+ /**
2187
+ * Carry every element's verdict in the response's report, as the command's
2188
+ * -migration-report writes it. The report's summary and counts are carried
2189
+ * whether or not this is set.
2190
+ *
2191
+ * @generated from field: bool report = 5;
2192
+ */
2193
+ report: boolean;
2194
+ /**
2195
+ * Carry the result snapshots the v1 tool stored with the model, indexed as
2196
+ * the command's -migration-results writes them, so the migrated runs can be
2197
+ * compared with the tool's (`sysml -compare-results`).
2198
+ *
2199
+ * @generated from field: bool results = 6;
2200
+ */
2201
+ results: boolean;
2202
+ /**
2203
+ * An MTIP export of the model's diagrams (Model_mtip.xml), laying the
2204
+ * migrated views out as the v1 tool drew them: a path the service reads, or
2205
+ * the document itself.
2206
+ *
2207
+ * @generated from oneof sysml.MigrateRequest.layout
2208
+ */
2209
+ layout: {
2210
+ /**
2211
+ * @generated from field: string layout_path = 7;
2212
+ */
2213
+ value: string;
2214
+ case: "layoutPath";
2215
+ } | {
2216
+ /**
2217
+ * @generated from field: string layout_content = 8;
2218
+ */
2219
+ value: string;
2220
+ case: "layoutContent";
2221
+ } | {
2222
+ case: undefined;
2223
+ value?: undefined;
2224
+ };
2225
+ /**
2226
+ * Absolute http(s) URL that a server-relative image reference in a v1
2227
+ * comment (<img src="/projects/…">) is resolved against.
2228
+ *
2229
+ * @generated from field: string image_base_url = 9;
2230
+ */
2231
+ imageBaseUrl: string;
2232
+ /**
2233
+ * Write only notation a pinned SysML v2 production admits: a construct whose
2234
+ * only v2 form is an OpenSysML extension (a deferred event, a choice,
2235
+ * junction or history pseudostate) is reported unmapped instead of written.
2236
+ *
2237
+ * @generated from field: bool strict = 10;
2238
+ */
2239
+ strict: boolean;
2240
+ };
2241
+ /**
2242
+ * Describes the message sysml.MigrateRequest.
2243
+ * Use `create(MigrateRequestSchema)` to create a new message.
2244
+ */
2245
+ export declare const MigrateRequestSchema: GenMessage<MigrateRequest>;
2246
+ /**
2247
+ * MigrateResponse carries the migrated model and the account of what the
2248
+ * migration did with every v1 element.
2249
+ *
2250
+ * @generated from message sysml.MigrateResponse
2251
+ */
2252
+ export type MigrateResponse = Message<"sysml.MigrateResponse"> & {
2253
+ /**
2254
+ * @generated from field: string content = 1;
2255
+ */
2256
+ content: string;
2257
+ /**
2258
+ * Formats used, canonical ("xmi" for every v1 form), so a caller that let
2259
+ * from_format be inferred learns what it was inferred as.
2260
+ *
2261
+ * @generated from field: string from_format = 2;
2262
+ */
2263
+ fromFormat: string;
2264
+ /**
2265
+ * @generated from field: string to_format = 3;
2266
+ */
2267
+ toFormat: string;
2268
+ /**
2269
+ * non-empty if the migration failed; content is unset
2270
+ *
2271
+ * @generated from field: string error = 4;
2272
+ */
2273
+ error: string;
2274
+ /**
2275
+ * Always set: migration is experimental, in the sense Convert's
2276
+ * experimental says, and experimental_notice says so in the wording every
2277
+ * surface reports it in.
2278
+ *
2279
+ * @generated from field: bool experimental = 5;
2280
+ */
2281
+ experimental: boolean;
2282
+ /**
2283
+ * @generated from field: string experimental_notice = 6;
2284
+ */
2285
+ experimentalNotice: string;
2286
+ /**
2287
+ * What the migration did, element by element. Its entries are carried when
2288
+ * the request set report; its summary and counts always.
2289
+ *
2290
+ * @generated from field: sysml.MigrationReport report = 7;
2291
+ */
2292
+ report?: MigrationReport | undefined;
2293
+ /**
2294
+ * The result snapshots the v1 tool stored, as the JSON `sysml
2295
+ * -compare-results` reads, when the request set results and the model
2296
+ * holds any.
2297
+ *
2298
+ * @generated from field: string results = 8;
2299
+ */
2300
+ results: string;
2301
+ /**
2302
+ * Image files the migrated model refers to by relative path (a picture a v1
2303
+ * comment embeds), to be written beside it.
2304
+ *
2305
+ * @generated from field: repeated sysml.MigrationFile files = 9;
2306
+ */
2307
+ files: MigrationFile[];
2308
+ };
2309
+ /**
2310
+ * Describes the message sysml.MigrateResponse.
2311
+ * Use `create(MigrateResponseSchema)` to create a new message.
2312
+ */
2313
+ export declare const MigrateResponseSchema: GenMessage<MigrateResponse>;
2314
+ /**
2315
+ * MigrationReport accounts for every element of a SysML v1 model: mapped to a
2316
+ * v2 counterpart that states the same thing, approximated by a v2 form that
2317
+ * loses or restates part of what v1 said, left unmapped and recorded as a
2318
+ * comment where it stood, or skipped as a profile, library or notation-only
2319
+ * element nothing in the model refers to.
2320
+ *
2321
+ * @generated from message sysml.MigrationReport
2322
+ */
2323
+ export type MigrationReport = Message<"sysml.MigrationReport"> & {
2324
+ /**
2325
+ * The v1 document migrated, and the tool that exported it when it said.
2326
+ *
2327
+ * @generated from field: string source = 1;
2328
+ */
2329
+ source: string;
2330
+ /**
2331
+ * @generated from field: string exporter = 2;
2332
+ */
2333
+ exporter: string;
2334
+ /**
2335
+ * The one-line account the command prints after migrating.
2336
+ *
2337
+ * @generated from field: string summary = 3;
2338
+ */
2339
+ summary: string;
2340
+ /**
2341
+ * @generated from field: int32 mapped = 4;
2342
+ */
2343
+ mapped: number;
2344
+ /**
2345
+ * @generated from field: int32 approximated = 5;
2346
+ */
2347
+ approximated: number;
2348
+ /**
2349
+ * @generated from field: int32 unmapped = 6;
2350
+ */
2351
+ unmapped: number;
2352
+ /**
2353
+ * @generated from field: int32 skipped = 7;
2354
+ */
2355
+ skipped: number;
2356
+ /**
2357
+ * Every element's verdict, when the request asked for the report; empty
2358
+ * otherwise, the counts above standing in.
2359
+ *
2360
+ * @generated from field: repeated sysml.MigrationEntry entries = 8;
2361
+ */
2362
+ entries: MigrationEntry[];
2363
+ /**
2364
+ * The report as the command's -migration-report writes it to a text file,
2365
+ * when the request asked for the report: the entries grouped by verdict,
2366
+ * the elements that need attention first, with the layout account.
2367
+ *
2368
+ * @generated from field: string text = 9;
2369
+ */
2370
+ text: string;
2371
+ };
2372
+ /**
2373
+ * Describes the message sysml.MigrationReport.
2374
+ * Use `create(MigrationReportSchema)` to create a new message.
2375
+ */
2376
+ export declare const MigrationReportSchema: GenMessage<MigrationReport>;
2377
+ /**
2378
+ * MigrationEntry is the verdict on one SysML v1 element.
2379
+ *
2380
+ * @generated from message sysml.MigrationEntry
2381
+ */
2382
+ export type MigrationEntry = Message<"sysml.MigrationEntry"> & {
2383
+ /**
2384
+ * The element's xmi:id, the handle a v1 tool addresses it by.
2385
+ *
2386
+ * @generated from field: string id = 1;
2387
+ */
2388
+ id: string;
2389
+ /**
2390
+ * The element as modeled: its stereotype when one classifies it («Block»,
2391
+ * «Requirement»), else its UML metaclass; and its qualified name in v1.
2392
+ *
2393
+ * @generated from field: string kind = 2;
2394
+ */
2395
+ kind: string;
2396
+ /**
2397
+ * @generated from field: string name = 3;
2398
+ */
2399
+ name: string;
2400
+ /**
2401
+ * The v2 declaration written for it, a qualified name with its keyword, or
2402
+ * empty when nothing was.
2403
+ *
2404
+ * @generated from field: string target = 4;
2405
+ */
2406
+ target: string;
2407
+ /**
2408
+ * "mapped", "approximated", "unmapped" or "skipped".
2409
+ *
2410
+ * @generated from field: string verdict = 5;
2411
+ */
2412
+ verdict: string;
2413
+ /**
2414
+ * Why it was approximated, left unmapped or skipped.
2415
+ *
2416
+ * @generated from field: string note = 6;
2417
+ */
2418
+ note: string;
2419
+ };
2420
+ /**
2421
+ * Describes the message sysml.MigrationEntry.
2422
+ * Use `create(MigrationEntrySchema)` to create a new message.
2423
+ */
2424
+ export declare const MigrationEntrySchema: GenMessage<MigrationEntry>;
2425
+ /**
2426
+ * MigrationFile is a file the migrated model refers to, named relative to it.
2427
+ *
2428
+ * @generated from message sysml.MigrationFile
2429
+ */
2430
+ export type MigrationFile = Message<"sysml.MigrationFile"> & {
2431
+ /**
2432
+ * @generated from field: string path = 1;
2433
+ */
2434
+ path: string;
2435
+ /**
2436
+ * @generated from field: bytes content = 2;
2437
+ */
2438
+ content: Uint8Array;
2439
+ };
2440
+ /**
2441
+ * Describes the message sysml.MigrationFile.
2442
+ * Use `create(MigrationFileSchema)` to create a new message.
2443
+ */
2444
+ export declare const MigrationFileSchema: GenMessage<MigrationFile>;
1986
2445
  /**
1987
2446
  * ApplyEditsRequest asks for a model's source with edits applied to it. The
1988
2447
  * source edited is the one parse read, named by its hash, so an edit is applied
@@ -3517,6 +3976,25 @@ export type Value = Message<"sysml.Value"> & {
3517
3976
  */
3518
3977
  value: Undetermined;
3519
3978
  case: "undetermined";
3979
+ } | {
3980
+ /**
3981
+ * An Integer beyond int64, in decimal (`-` signed, no `+`, no leading
3982
+ * zeros). An Integer that fits int64 is always int_value, never this.
3983
+ *
3984
+ * @generated from field: string big_int_value = 22;
3985
+ */
3986
+ value: string;
3987
+ case: "bigIntValue";
3988
+ } | {
3989
+ /**
3990
+ * An exact Rational (KerML 9.3.2.2.8), as `0.1` or `1 / 3` evaluates. The
3991
+ * server answers one a double holds exactly as real_value; a client sends
3992
+ * any exact Rational here, and an inbound real_value is always a Real.
3993
+ *
3994
+ * @generated from field: sysml.Rational rational_value = 23;
3995
+ */
3996
+ value: Rational;
3997
+ case: "rationalValue";
3520
3998
  } | {
3521
3999
  case: undefined;
3522
4000
  value?: undefined;
@@ -3528,18 +4006,40 @@ export type Value = Message<"sysml.Value"> & {
3528
4006
  */
3529
4007
  export declare const ValueSchema: GenMessage<Value>;
3530
4008
  /**
3531
- * Metaobject is an element of the model held as an instance of its reflective
3532
- * metaclass: what `x meta KerML::Feature`, or the last element of
3533
- * `x.metadata`, evaluates to (KerML 7.4.9.2, 8.3.4.8.15). It crosses as the
3534
- * element it reflects, which is its identity: two metaobjects are the same
3535
- * exactly when element_id is, whatever type each was cast to. Its features
3536
- * (`declaredName`, `ownedFeature`, ...) are read in the model, not carried.
4009
+ * Rational is an exact rational number in lowest terms: numerator over a
4010
+ * positive denominator, each written as big_int_value is. The server rejects one
4011
+ * not in lowest terms; a client also rejects an answered one a double holds exactly.
3537
4012
  *
3538
- * @generated from message sysml.Metaobject
4013
+ * @generated from message sysml.Rational
3539
4014
  */
3540
- export type Metaobject = Message<"sysml.Metaobject"> & {
4015
+ export type Rational = Message<"sysml.Rational"> & {
3541
4016
  /**
3542
- * FQN of the element reflected on ("Vehicle::seatBelt"). Its identity.
4017
+ * @generated from field: string numerator = 1;
4018
+ */
4019
+ numerator: string;
4020
+ /**
4021
+ * @generated from field: string denominator = 2;
4022
+ */
4023
+ denominator: string;
4024
+ };
4025
+ /**
4026
+ * Describes the message sysml.Rational.
4027
+ * Use `create(RationalSchema)` to create a new message.
4028
+ */
4029
+ export declare const RationalSchema: GenMessage<Rational>;
4030
+ /**
4031
+ * Metaobject is an element of the model held as an instance of its reflective
4032
+ * metaclass: what `x meta KerML::Feature`, or the last element of
4033
+ * `x.metadata`, evaluates to (KerML 7.4.9.2, 8.3.4.8.15). It crosses as the
4034
+ * element it reflects, which is its identity: two metaobjects are the same
4035
+ * exactly when element_id is, whatever type each was cast to. Its features
4036
+ * (`declaredName`, `ownedFeature`, ...) are read in the model, not carried.
4037
+ *
4038
+ * @generated from message sysml.Metaobject
4039
+ */
4040
+ export type Metaobject = Message<"sysml.Metaobject"> & {
4041
+ /**
4042
+ * FQN of the element reflected on ("Vehicle::seatBelt"). Its identity.
3543
4043
  *
3544
4044
  * @generated from field: string element_id = 1;
3545
4045
  */
@@ -3839,6 +4339,22 @@ export type Quantity = Message<"sysml.Quantity"> & {
3839
4339
  */
3840
4340
  value: number;
3841
4341
  case: "realMagnitude";
4342
+ } | {
4343
+ /**
4344
+ * An Integer magnitude beyond int64, in decimal, as Value.big_int_value.
4345
+ *
4346
+ * @generated from field: string big_int_magnitude = 5;
4347
+ */
4348
+ value: string;
4349
+ case: "bigIntMagnitude";
4350
+ } | {
4351
+ /**
4352
+ * An exact Rational magnitude, as Value.rational_value.
4353
+ *
4354
+ * @generated from field: sysml.Rational rational_magnitude = 6;
4355
+ */
4356
+ value: Rational;
4357
+ case: "rationalMagnitude";
3842
4358
  } | {
3843
4359
  case: undefined;
3844
4360
  value?: undefined;
@@ -4131,6 +4647,10 @@ export type ServerInfoResponse = Message<"sysml.ServerInfoResponse"> & {
4131
4647
  * and answers with typed rows.
4132
4648
  * "render_document" - the RenderDocument RPC renders a named document to
4133
4649
  * Markdown.
4650
+ * "render_view" - the RenderView RPC renders a declared view or targeted
4651
+ * pseudo-view as machine-readable diagram data.
4652
+ * "export_graphs" - the ExportGraphs RPC exports the lowered graph of an
4653
+ * action or state machine as canonical graphs:1 JSON.
4134
4654
  * "diagnostic_codes" - Diagnostic.code is populated, so an empty code is a
4135
4655
  * finding none was assigned; without it every code is empty.
4136
4656
  * "schedule" - ExecuteActionRequest, ExecuteStateRequest and
@@ -4150,6 +4670,9 @@ export type ServerInfoResponse = Message<"sysml.ServerInfoResponse"> & {
4150
4670
  * "final_time" - ExecuteActionResponse and ExecuteStateResponse report
4151
4671
  * final_time, the run's simulation clock when it ended;
4152
4672
  * without it the field is 0 whatever the run waited on.
4673
+ * "state_trace" - ExecuteStateRequest can ask for the run's typed trace in
4674
+ * ExecuteStateResponse.trace, including records before a failure.
4675
+ * Traces are unavailable under an explore schedule.
4153
4676
  * "engines" - the ListEngines RPC lists the analysis engines; the
4154
4677
  * verification and sweep requests take an `engine`, the
4155
4678
  * engine the question is put to, unset meaning "auto"; and
@@ -4773,6 +5296,22 @@ export type DocumentValue = Message<"sysml.DocumentValue"> & {
4773
5296
  */
4774
5297
  value: DocumentEvent;
4775
5298
  case: "event";
5299
+ } | {
5300
+ /**
5301
+ * An Integer beyond int64, in decimal, as Value.big_int_value.
5302
+ *
5303
+ * @generated from field: string big_int_value = 13;
5304
+ */
5305
+ value: string;
5306
+ case: "bigIntValue";
5307
+ } | {
5308
+ /**
5309
+ * An exact Rational, as Value.rational_value.
5310
+ *
5311
+ * @generated from field: sysml.Rational rational_value = 14;
5312
+ */
5313
+ value: Rational;
5314
+ case: "rationalValue";
4776
5315
  } | {
4777
5316
  case: undefined;
4778
5317
  value?: undefined;
@@ -4963,7 +5502,7 @@ export declare const DocumentStateSchema: GenMessage<DocumentState>;
4963
5502
  */
4964
5503
  export type DocumentEvent = Message<"sysml.DocumentEvent"> & {
4965
5504
  /**
4966
- * "accept", "send", "transition", "entry", "exit", "do", "choice" or "guard".
5505
+ * "accept", "send", "transition", "entry", "exit", "do", "choice", "guard" or "terminate".
4967
5506
  *
4968
5507
  * @generated from field: string kind = 1;
4969
5508
  */
@@ -5185,6 +5724,486 @@ export type RenderDocumentResponse = Message<"sysml.RenderDocumentResponse"> & {
5185
5724
  * Use `create(RenderDocumentResponseSchema)` to create a new message.
5186
5725
  */
5187
5726
  export declare const RenderDocumentResponseSchema: GenMessage<RenderDocumentResponse>;
5727
+ /**
5728
+ * RenderViewRequest names a declared view or targeted pseudo-view to render.
5729
+ *
5730
+ * @generated from message sysml.RenderViewRequest
5731
+ */
5732
+ export type RenderViewRequest = Message<"sysml.RenderViewRequest"> & {
5733
+ /**
5734
+ * @generated from field: string model_hash = 1;
5735
+ */
5736
+ modelHash: string;
5737
+ /**
5738
+ * A qualified view name or "#<kind>:<qualified name>" pseudo-view.
5739
+ *
5740
+ * @generated from field: string view = 2;
5741
+ */
5742
+ view: string;
5743
+ /**
5744
+ * "" or "minimal" (the default), or "full", as view.ParsePorts reads it.
5745
+ *
5746
+ * @generated from field: string ports = 3;
5747
+ */
5748
+ ports: string;
5749
+ };
5750
+ /**
5751
+ * Describes the message sysml.RenderViewRequest.
5752
+ * Use `create(RenderViewRequestSchema)` to create a new message.
5753
+ */
5754
+ export declare const RenderViewRequestSchema: GenMessage<RenderViewRequest>;
5755
+ /**
5756
+ * RenderViewResponse carries all machine-readable fields of the rendering.
5757
+ *
5758
+ * @generated from message sysml.RenderViewResponse
5759
+ */
5760
+ export type RenderViewResponse = Message<"sysml.RenderViewResponse"> & {
5761
+ /**
5762
+ * @generated from field: string view = 1;
5763
+ */
5764
+ view: string;
5765
+ /**
5766
+ * @generated from field: string kind = 2;
5767
+ */
5768
+ kind: string;
5769
+ /**
5770
+ * @generated from field: string stated = 3;
5771
+ */
5772
+ stated: string;
5773
+ /**
5774
+ * Nodes are flattened with parents before children.
5775
+ *
5776
+ * @generated from field: repeated sysml.RenderNode nodes = 4;
5777
+ */
5778
+ nodes: RenderNode[];
5779
+ /**
5780
+ * @generated from field: repeated sysml.RenderEdge edges = 5;
5781
+ */
5782
+ edges: RenderEdge[];
5783
+ /**
5784
+ * @generated from field: repeated string columns = 6;
5785
+ */
5786
+ columns: string[];
5787
+ /**
5788
+ * @generated from field: repeated sysml.RenderRow rows = 7;
5789
+ */
5790
+ rows: RenderRow[];
5791
+ /**
5792
+ * Unset when the view states no canvas.
5793
+ *
5794
+ * @generated from field: sysml.RenderCanvas canvas = 8;
5795
+ */
5796
+ canvas?: RenderCanvas | undefined;
5797
+ /**
5798
+ * @generated from field: repeated sysml.RenderNote notes = 9;
5799
+ */
5800
+ notes: RenderNote[];
5801
+ /**
5802
+ * @generated from field: repeated string notices = 10;
5803
+ */
5804
+ notices: string[];
5805
+ };
5806
+ /**
5807
+ * Describes the message sysml.RenderViewResponse.
5808
+ * Use `create(RenderViewResponseSchema)` to create a new message.
5809
+ */
5810
+ export declare const RenderViewResponseSchema: GenMessage<RenderViewResponse>;
5811
+ /**
5812
+ * RenderNode is one flattened node of the rendering.
5813
+ *
5814
+ * @generated from message sysml.RenderNode
5815
+ */
5816
+ export type RenderNode = Message<"sysml.RenderNode"> & {
5817
+ /**
5818
+ * @generated from field: string id = 1;
5819
+ */
5820
+ id: string;
5821
+ /**
5822
+ * @generated from field: string kind = 2;
5823
+ */
5824
+ kind: string;
5825
+ /**
5826
+ * @generated from field: string name = 3;
5827
+ */
5828
+ name: string;
5829
+ /**
5830
+ * @generated from field: bool name_synthesized = 4;
5831
+ */
5832
+ nameSynthesized: boolean;
5833
+ /**
5834
+ * @generated from field: string type = 5;
5835
+ */
5836
+ type: string;
5837
+ /**
5838
+ * @generated from field: string detail = 6;
5839
+ */
5840
+ detail: string;
5841
+ /**
5842
+ * @generated from field: string text = 7;
5843
+ */
5844
+ text: string;
5845
+ /**
5846
+ * @generated from field: bool stand_in = 8;
5847
+ */
5848
+ standIn: boolean;
5849
+ /**
5850
+ * @generated from field: string parent = 9;
5851
+ */
5852
+ parent: string;
5853
+ /**
5854
+ * @generated from field: repeated sysml.RenderPort ports = 10;
5855
+ */
5856
+ ports: RenderPort[];
5857
+ /**
5858
+ * @generated from field: sysml.Span origin = 11;
5859
+ */
5860
+ origin?: Span | undefined;
5861
+ /**
5862
+ * Unset when no layout positions the node.
5863
+ *
5864
+ * @generated from field: sysml.RenderGeometry geometry = 12;
5865
+ */
5866
+ geometry?: RenderGeometry | undefined;
5867
+ /**
5868
+ * @generated from field: sysml.RenderStyle style = 13;
5869
+ */
5870
+ style?: RenderStyle | undefined;
5871
+ };
5872
+ /**
5873
+ * Describes the message sysml.RenderNode.
5874
+ * Use `create(RenderNodeSchema)` to create a new message.
5875
+ */
5876
+ export declare const RenderNodeSchema: GenMessage<RenderNode>;
5877
+ /**
5878
+ * RenderPort is a feature drawn on a node's border.
5879
+ *
5880
+ * @generated from message sysml.RenderPort
5881
+ */
5882
+ export type RenderPort = Message<"sysml.RenderPort"> & {
5883
+ /**
5884
+ * @generated from field: string id = 1;
5885
+ */
5886
+ id: string;
5887
+ /**
5888
+ * @generated from field: string name = 2;
5889
+ */
5890
+ name: string;
5891
+ /**
5892
+ * @generated from field: string type = 3;
5893
+ */
5894
+ type: string;
5895
+ /**
5896
+ * @generated from field: string direction = 4;
5897
+ */
5898
+ direction: string;
5899
+ };
5900
+ /**
5901
+ * Describes the message sysml.RenderPort.
5902
+ * Use `create(RenderPortSchema)` to create a new message.
5903
+ */
5904
+ export declare const RenderPortSchema: GenMessage<RenderPort>;
5905
+ /**
5906
+ * RenderEdge joins two rendered nodes and may connect their ports.
5907
+ *
5908
+ * @generated from message sysml.RenderEdge
5909
+ */
5910
+ export type RenderEdge = Message<"sysml.RenderEdge"> & {
5911
+ /**
5912
+ * @generated from field: string from = 1;
5913
+ */
5914
+ from: string;
5915
+ /**
5916
+ * @generated from field: string to = 2;
5917
+ */
5918
+ to: string;
5919
+ /**
5920
+ * @generated from field: string from_port = 3;
5921
+ */
5922
+ fromPort: string;
5923
+ /**
5924
+ * @generated from field: string to_port = 4;
5925
+ */
5926
+ toPort: string;
5927
+ /**
5928
+ * @generated from field: string label = 5;
5929
+ */
5930
+ label: string;
5931
+ /**
5932
+ * @generated from field: string name = 6;
5933
+ */
5934
+ name: string;
5935
+ /**
5936
+ * @generated from field: string kind = 7;
5937
+ */
5938
+ kind: string;
5939
+ /**
5940
+ * @generated from field: sysml.Span origin = 8;
5941
+ */
5942
+ origin?: Span | undefined;
5943
+ /**
5944
+ * @generated from field: repeated sysml.RenderPoint route = 9;
5945
+ */
5946
+ route: RenderPoint[];
5947
+ /**
5948
+ * @generated from field: sysml.RenderStyle style = 10;
5949
+ */
5950
+ style?: RenderStyle | undefined;
5951
+ };
5952
+ /**
5953
+ * Describes the message sysml.RenderEdge.
5954
+ * Use `create(RenderEdgeSchema)` to create a new message.
5955
+ */
5956
+ export declare const RenderEdgeSchema: GenMessage<RenderEdge>;
5957
+ /**
5958
+ * RenderGeometry locates a node on the rendering's canvas.
5959
+ *
5960
+ * @generated from message sysml.RenderGeometry
5961
+ */
5962
+ export type RenderGeometry = Message<"sysml.RenderGeometry"> & {
5963
+ /**
5964
+ * @generated from field: double x = 1;
5965
+ */
5966
+ x: number;
5967
+ /**
5968
+ * @generated from field: double y = 2;
5969
+ */
5970
+ y: number;
5971
+ /**
5972
+ * @generated from field: double width = 3;
5973
+ */
5974
+ width: number;
5975
+ /**
5976
+ * @generated from field: double height = 4;
5977
+ */
5978
+ height: number;
5979
+ /**
5980
+ * @generated from field: bool has_size = 5;
5981
+ */
5982
+ hasSize: boolean;
5983
+ /**
5984
+ * @generated from field: bool collapsed = 6;
5985
+ */
5986
+ collapsed: boolean;
5987
+ };
5988
+ /**
5989
+ * Describes the message sysml.RenderGeometry.
5990
+ * Use `create(RenderGeometrySchema)` to create a new message.
5991
+ */
5992
+ export declare const RenderGeometrySchema: GenMessage<RenderGeometry>;
5993
+ /**
5994
+ * RenderCanvas is the rendering's drawing surface.
5995
+ *
5996
+ * @generated from message sysml.RenderCanvas
5997
+ */
5998
+ export type RenderCanvas = Message<"sysml.RenderCanvas"> & {
5999
+ /**
6000
+ * @generated from field: string unit = 1;
6001
+ */
6002
+ unit: string;
6003
+ /**
6004
+ * @generated from field: double width = 2;
6005
+ */
6006
+ width: number;
6007
+ /**
6008
+ * @generated from field: double height = 3;
6009
+ */
6010
+ height: number;
6011
+ /**
6012
+ * @generated from field: bool has_size = 4;
6013
+ */
6014
+ hasSize: boolean;
6015
+ };
6016
+ /**
6017
+ * Describes the message sysml.RenderCanvas.
6018
+ * Use `create(RenderCanvasSchema)` to create a new message.
6019
+ */
6020
+ export declare const RenderCanvasSchema: GenMessage<RenderCanvas>;
6021
+ /**
6022
+ * RenderStyle is the optional styling of a node or edge.
6023
+ *
6024
+ * @generated from message sysml.RenderStyle
6025
+ */
6026
+ export type RenderStyle = Message<"sysml.RenderStyle"> & {
6027
+ /**
6028
+ * @generated from field: string fill = 1;
6029
+ */
6030
+ fill: string;
6031
+ /**
6032
+ * @generated from field: string line = 2;
6033
+ */
6034
+ line: string;
6035
+ /**
6036
+ * @generated from field: string text = 3;
6037
+ */
6038
+ text: string;
6039
+ /**
6040
+ * @generated from field: string font = 4;
6041
+ */
6042
+ font: string;
6043
+ /**
6044
+ * @generated from field: double font_size = 5;
6045
+ */
6046
+ fontSize: number;
6047
+ /**
6048
+ * @generated from field: bool bold = 6;
6049
+ */
6050
+ bold: boolean;
6051
+ /**
6052
+ * @generated from field: bool italic = 7;
6053
+ */
6054
+ italic: boolean;
6055
+ };
6056
+ /**
6057
+ * Describes the message sysml.RenderStyle.
6058
+ * Use `create(RenderStyleSchema)` to create a new message.
6059
+ */
6060
+ export declare const RenderStyleSchema: GenMessage<RenderStyle>;
6061
+ /**
6062
+ * RenderPoint is a route waypoint on the rendering's canvas.
6063
+ *
6064
+ * @generated from message sysml.RenderPoint
6065
+ */
6066
+ export type RenderPoint = Message<"sysml.RenderPoint"> & {
6067
+ /**
6068
+ * @generated from field: double x = 1;
6069
+ */
6070
+ x: number;
6071
+ /**
6072
+ * @generated from field: double y = 2;
6073
+ */
6074
+ y: number;
6075
+ };
6076
+ /**
6077
+ * Describes the message sysml.RenderPoint.
6078
+ * Use `create(RenderPointSchema)` to create a new message.
6079
+ */
6080
+ export declare const RenderPointSchema: GenMessage<RenderPoint>;
6081
+ /**
6082
+ * RenderRow is one row of a tabular rendering.
6083
+ *
6084
+ * @generated from message sysml.RenderRow
6085
+ */
6086
+ export type RenderRow = Message<"sysml.RenderRow"> & {
6087
+ /**
6088
+ * @generated from field: repeated string cells = 1;
6089
+ */
6090
+ cells: string[];
6091
+ /**
6092
+ * @generated from field: sysml.Span origin = 2;
6093
+ */
6094
+ origin?: Span | undefined;
6095
+ };
6096
+ /**
6097
+ * Describes the message sysml.RenderRow.
6098
+ * Use `create(RenderRowSchema)` to create a new message.
6099
+ */
6100
+ export declare const RenderRowSchema: GenMessage<RenderRow>;
6101
+ /**
6102
+ * RenderNote is a note box drawn on the rendering's canvas.
6103
+ *
6104
+ * @generated from message sysml.RenderNote
6105
+ */
6106
+ export type RenderNote = Message<"sysml.RenderNote"> & {
6107
+ /**
6108
+ * @generated from field: string text = 1;
6109
+ */
6110
+ text: string;
6111
+ /**
6112
+ * @generated from field: string anchor = 2;
6113
+ */
6114
+ anchor: string;
6115
+ /**
6116
+ * @generated from field: string edge_from = 3;
6117
+ */
6118
+ edgeFrom: string;
6119
+ /**
6120
+ * @generated from field: string edge_to = 4;
6121
+ */
6122
+ edgeTo: string;
6123
+ /**
6124
+ * @generated from field: double x = 5;
6125
+ */
6126
+ x: number;
6127
+ /**
6128
+ * @generated from field: double y = 6;
6129
+ */
6130
+ y: number;
6131
+ /**
6132
+ * @generated from field: double width = 7;
6133
+ */
6134
+ width: number;
6135
+ /**
6136
+ * @generated from field: double height = 8;
6137
+ */
6138
+ height: number;
6139
+ /**
6140
+ * @generated from field: bool has_size = 9;
6141
+ */
6142
+ hasSize: boolean;
6143
+ /**
6144
+ * @generated from field: sysml.Span origin = 10;
6145
+ */
6146
+ origin?: Span | undefined;
6147
+ };
6148
+ /**
6149
+ * Describes the message sysml.RenderNote.
6150
+ * Use `create(RenderNoteSchema)` to create a new message.
6151
+ */
6152
+ export declare const RenderNoteSchema: GenMessage<RenderNote>;
6153
+ /**
6154
+ * ExportGraphsRequest names the behavior whose lowered graph is exported.
6155
+ *
6156
+ * @generated from message sysml.ExportGraphsRequest
6157
+ */
6158
+ export type ExportGraphsRequest = Message<"sysml.ExportGraphsRequest"> & {
6159
+ /**
6160
+ * @generated from field: string model_hash = 1;
6161
+ */
6162
+ modelHash: string;
6163
+ /**
6164
+ * Qualified name of an action or state machine, definition or usage.
6165
+ *
6166
+ * @generated from field: string subject = 2;
6167
+ */
6168
+ subject: string;
6169
+ };
6170
+ /**
6171
+ * Describes the message sysml.ExportGraphsRequest.
6172
+ * Use `create(ExportGraphsRequestSchema)` to create a new message.
6173
+ */
6174
+ export declare const ExportGraphsRequestSchema: GenMessage<ExportGraphsRequest>;
6175
+ /**
6176
+ * ExportGraphsResponse carries the `graphs:<version>` form: the lowered
6177
+ * ActionGraph/StateGraph IR of the subject and of every behavior it performs,
6178
+ * as canonical JSON — the same bytes an external engine is sent.
6179
+ *
6180
+ * @generated from message sysml.ExportGraphsResponse
6181
+ */
6182
+ export type ExportGraphsResponse = Message<"sysml.ExportGraphsResponse"> & {
6183
+ /**
6184
+ * The form, as canonical JSON with one trailing newline.
6185
+ *
6186
+ * @generated from field: string content = 1;
6187
+ */
6188
+ content: string;
6189
+ /**
6190
+ * The version of the form, the `version` field of the JSON.
6191
+ *
6192
+ * @generated from field: int32 version = 2;
6193
+ */
6194
+ version: number;
6195
+ /**
6196
+ * The subject's qualified name as resolved.
6197
+ *
6198
+ * @generated from field: string subject = 3;
6199
+ */
6200
+ subject: string;
6201
+ };
6202
+ /**
6203
+ * Describes the message sysml.ExportGraphsResponse.
6204
+ * Use `create(ExportGraphsResponseSchema)` to create a new message.
6205
+ */
6206
+ export declare const ExportGraphsResponseSchema: GenMessage<ExportGraphsResponse>;
5188
6207
  /**
5189
6208
  * FailureReason says what kind of failure an `error` reports, so a client acts
5190
6209
  * on the kind rather than on the message text.
@@ -5516,7 +6535,8 @@ export declare const SysMLService: GenService<{
5516
6535
  /**
5517
6536
  * Convert a model between the representations OpenSysML writes — SysML
5518
6537
  * textual notation and RDF Turtle — so a client can write a model back out
5519
- * rather than only read it. Reported as the "convert" capability.
6538
+ * rather than only read it. A SysML v1 model is refused: it is migrated, not
6539
+ * converted (Migrate). Reported as the "convert" capability.
5520
6540
  *
5521
6541
  * @generated from rpc sysml.SysMLService.Convert
5522
6542
  */
@@ -5525,6 +6545,21 @@ export declare const SysMLService: GenService<{
5525
6545
  input: typeof ConvertRequestSchema;
5526
6546
  output: typeof ConvertResponseSchema;
5527
6547
  };
6548
+ /**
6549
+ * Migrate a SysML v1 model — UML XMI with the SysML profile applied, an
6550
+ * Eclipse UML2 .uml file or a Cameo/MagicDraw .mdzip archive — to SysML v2,
6551
+ * written in one of the representations Convert writes. Migration is not a
6552
+ * lossless conversion: every v1 element is mapped, approximated or left
6553
+ * unmapped, and the response's report says which, element by element.
6554
+ * Reported as the "migrate" capability.
6555
+ *
6556
+ * @generated from rpc sysml.SysMLService.Migrate
6557
+ */
6558
+ migrate: {
6559
+ methodKind: "unary";
6560
+ input: typeof MigrateRequestSchema;
6561
+ output: typeof MigrateResponseSchema;
6562
+ };
5528
6563
  /**
5529
6564
  * Apply edits to a parsed model's own source and return the edited notation,
5530
6565
  * so a client can change a model and write it back with its comments and
@@ -5665,4 +6700,27 @@ export declare const SysMLService: GenService<{
5665
6700
  input: typeof RenderDocumentRequestSchema;
5666
6701
  output: typeof RenderDocumentResponseSchema;
5667
6702
  };
6703
+ /**
6704
+ * Render a named view or targeted pseudo-view as machine-readable diagram
6705
+ * data. Reported as the "render_view" capability.
6706
+ *
6707
+ * @generated from rpc sysml.SysMLService.RenderView
6708
+ */
6709
+ renderView: {
6710
+ methodKind: "unary";
6711
+ input: typeof RenderViewRequestSchema;
6712
+ output: typeof RenderViewResponseSchema;
6713
+ };
6714
+ /**
6715
+ * Export the lowered graph of an action or a state machine — the subject's
6716
+ * and every behavior it performs — as the canonical `graphs:<version>` JSON
6717
+ * external analysis engines read. Reported as the "export_graphs" capability.
6718
+ *
6719
+ * @generated from rpc sysml.SysMLService.ExportGraphs
6720
+ */
6721
+ exportGraphs: {
6722
+ methodKind: "unary";
6723
+ input: typeof ExportGraphsRequestSchema;
6724
+ output: typeof ExportGraphsResponseSchema;
6725
+ };
5668
6726
  }>;