@vmz/protocol 0.0.2 → 0.0.3

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/README.md CHANGED
@@ -2,4 +2,3 @@
2
2
 
3
3
  Versioned wire protocol schema ids shared by `vmz` CLI, `@vmz/test`, plugins, and (via N-API) Rust `vmz-protocol`.
4
4
 
5
- Rust truth: `packages/compilers/vmz-protocol`. Design: `规划设计/vmz/14` · `16` · `21`.
package/dist/index.d.ts CHANGED
@@ -274,21 +274,21 @@ export declare const DX_RENAME_SCHEMA = "vmz.dx.rename.v0";
274
274
  export declare const DX_TEST_SELECTION_SCHEMA = "vmz.dx.test_selection.v0";
275
275
  export declare const DX_SOURCE_MAP_SCHEMA = "vmz.dx.source_map.v0";
276
276
  export declare const DX_SYMBOL_INDEX_SCHEMA = "vmz.dx.symbol_index.v0";
277
- export declare const DX_X2_CHECK_SCHEMA = "vmz.dx.x2_check.v0";
277
+ export declare const DX_CROSS_SFC_CHECK_SCHEMA = "vmz.dx.cross_sfc_check.v0";
278
278
  export declare const DX_SEMANTIC_TRANSACTION_SCHEMA = "vmz.dx.semantic_transaction.v0";
279
279
  export declare const DX_CANCEL_SCHEMA = "vmz.dx.cancel.v0";
280
280
  export declare const DX_AFFECTED_PREVIEW_SCHEMA = "vmz.dx.affected_preview.v0";
281
281
  export declare const DX_HMR_PLAN_SCHEMA = "vmz.dx.hmr_plan.v0";
282
282
  export declare const DX_BUDGET_SCHEMA = "vmz.dx.budget.v0";
283
- export declare const DX_X3_CHECK_SCHEMA = "vmz.dx.x3_check.v0";
283
+ export declare const DX_TRANSACTION_CHECK_SCHEMA = "vmz.dx.transaction_check.v0";
284
284
  export declare const DX_BOUNDARY_VALIDATOR_SCHEMA = "vmz.dx.boundary_validator.v0";
285
285
  export declare const DX_LEAKAGE_SCHEMA = "vmz.dx.leakage.v0";
286
286
  export declare const DX_CAPABILITY_TARGET_SCHEMA = "vmz.dx.capability_target.v0";
287
287
  export declare const DX_DEAD_GRAPH_SCHEMA = "vmz.dx.dead_graph.v0";
288
- export declare const DX_X4_CHECK_SCHEMA = "vmz.dx.x4_check.v0";
288
+ export declare const DX_DEPLOYMENT_PROOF_CHECK_SCHEMA = "vmz.dx.deployment_proof_check.v0";
289
289
  export declare const DX_TRACE_SCHEMA = "vmz.dx.trace.v0";
290
290
  export declare const DX_CAUSAL_REPLAY_SCHEMA = "vmz.dx.causal_replay.v0";
291
- export declare const DX_X5_CHECK_SCHEMA = "vmz.dx.x5_check.v0";
291
+ export declare const DX_CAUSAL_REPLAY_CHECK_SCHEMA = "vmz.dx.causal_replay_check.v0";
292
292
  export declare const TEST_PROTOCOL = "vmz.test.protocol.v0";
293
293
  export declare const TEST_MANIFEST_SCHEMA = "vmz.test.manifest.v0";
294
294
  export declare const TEST_REPORT_SCHEMA = "vmz.test.report.v0";
@@ -319,13 +319,13 @@ export declare const APPLICATION_DEPLOY_ADAPTER_SCHEMA = "vmz.application.deploy
319
319
  export declare const APPLICATION_DEV_CHECK_SCHEMA = "vmz.application.dev_check.v0";
320
320
  /**
321
321
  * @returns {{
322
- * schema: string,
323
- * host: string,
324
- * compiler: string,
325
- * plugin: string,
326
- * program: string,
327
- * plan: string,
328
- * domains: Array<{ kind: string, schema: string }>
322
+ * schema: string,
323
+ * host: string,
324
+ * compiler: string,
325
+ * plugin: string,
326
+ * program: string,
327
+ * plan: string,
328
+ * domains: Array<{ kind: string, schema: string }>
329
329
  * }}
330
330
  */
331
331
  export declare function protocolCatalog(): {
@@ -342,9 +342,9 @@ export declare function protocolCatalog(): {
342
342
  };
343
343
  /**
344
344
  * @returns {{
345
- * schema: string,
346
- * protocol: string,
347
- * documents: Array<{ kind: string, schema: string }>
345
+ * schema: string,
346
+ * protocol: string,
347
+ * documents: Array<{ kind: string, schema: string }>
348
348
  * }}
349
349
  */
350
350
  export declare function dxCatalog(): {
@@ -357,9 +357,9 @@ export declare function dxCatalog(): {
357
357
  };
358
358
  /**
359
359
  * @returns {{
360
- * schema: string,
361
- * protocol: string,
362
- * documents: Array<{ kind: string, schema: string }>
360
+ * schema: string,
361
+ * protocol: string,
362
+ * documents: Array<{ kind: string, schema: string }>
363
363
  * }}
364
364
  */
365
365
  export declare function testCatalog(): {
@@ -372,9 +372,9 @@ export declare function testCatalog(): {
372
372
  };
373
373
  /**
374
374
  * @returns {{
375
- * schema: string,
376
- * protocol: string,
377
- * documents: Array<{ kind: string, schema: string }>
375
+ * schema: string,
376
+ * protocol: string,
377
+ * documents: Array<{ kind: string, schema: string }>
378
378
  * }}
379
379
  */
380
380
  export declare function applicationCatalog(): {
@@ -405,11 +405,11 @@ export interface DomainCatalog {
405
405
  }
406
406
  /**
407
407
  * @returns {{
408
- * schema: string,
409
- * protocol: string,
410
- * documents: Array<{ kind: string, schema: string }>,
411
- * diagnostics: string[],
412
- * viewOperations: string[]
408
+ * schema: string,
409
+ * protocol: string,
410
+ * documents: Array<{ kind: string, schema: string }>,
411
+ * diagnostics: string[],
412
+ * viewOperations: string[]
413
413
  * }}
414
414
  */
415
415
  export declare function targetCatalog(): {
@@ -424,17 +424,17 @@ export declare function targetCatalog(): {
424
424
  };
425
425
  /**
426
426
  * @returns {{
427
- * schema: string,
428
- * protocol: string,
429
- * documents: Array<{ kind: string, schema: string }>,
430
- * diagnostics: string[],
431
- * capabilityClasses: string[],
432
- * forbiddenBridgePatterns: string[],
433
- * requiredShellHooks: string[],
434
- * firstBatchStubIds: string[],
435
- * requiredLifecycleEvents: string[],
436
- * highValueSurfaceKinds: string[],
437
- * requiredMultiPlatforms: string[]
427
+ * schema: string,
428
+ * protocol: string,
429
+ * documents: Array<{ kind: string, schema: string }>,
430
+ * diagnostics: string[],
431
+ * capabilityClasses: string[],
432
+ * forbiddenBridgePatterns: string[],
433
+ * requiredShellHooks: string[],
434
+ * firstBatchStubIds: string[],
435
+ * requiredLifecycleEvents: string[],
436
+ * highValueSurfaceKinds: string[],
437
+ * requiredMultiPlatforms: string[]
438
438
  * }}
439
439
  */
440
440
  export declare function nativeHostCatalog(): {
@@ -455,13 +455,13 @@ export declare function nativeHostCatalog(): {
455
455
  };
456
456
  /**
457
457
  * @returns {{
458
- * schema: string,
459
- * protocol: string,
460
- * documents: Array<{ kind: string, schema: string }>,
461
- * diagnostics: string[],
462
- * surfaceKinds: string[],
463
- * unifiedLifecycleEvents: string[],
464
- * coreIdPrefix: string
458
+ * schema: string,
459
+ * protocol: string,
460
+ * documents: Array<{ kind: string, schema: string }>,
461
+ * diagnostics: string[],
462
+ * surfaceKinds: string[],
463
+ * unifiedLifecycleEvents: string[],
464
+ * coreIdPrefix: string
465
465
  * }}
466
466
  */
467
467
  export declare function profileCatalog(): {
@@ -478,11 +478,11 @@ export declare function profileCatalog(): {
478
478
  };
479
479
  /**
480
480
  * @returns {{
481
- * schema: string,
482
- * protocol: string,
483
- * documents: Array<{ kind: string, schema: string }>,
484
- * diagnostics: string[],
485
- * virtualModulePrefix: string
481
+ * schema: string,
482
+ * protocol: string,
483
+ * documents: Array<{ kind: string, schema: string }>,
484
+ * diagnostics: string[],
485
+ * virtualModulePrefix: string
486
486
  * }}
487
487
  */
488
488
  export declare function localeCatalog(): {
package/dist/index.js CHANGED
@@ -284,21 +284,21 @@ export const DX_RENAME_SCHEMA = 'vmz.dx.rename.v0';
284
284
  export const DX_TEST_SELECTION_SCHEMA = 'vmz.dx.test_selection.v0';
285
285
  export const DX_SOURCE_MAP_SCHEMA = 'vmz.dx.source_map.v0';
286
286
  export const DX_SYMBOL_INDEX_SCHEMA = 'vmz.dx.symbol_index.v0';
287
- export const DX_X2_CHECK_SCHEMA = 'vmz.dx.x2_check.v0';
287
+ export const DX_CROSS_SFC_CHECK_SCHEMA = 'vmz.dx.cross_sfc_check.v0';
288
288
  export const DX_SEMANTIC_TRANSACTION_SCHEMA = 'vmz.dx.semantic_transaction.v0';
289
289
  export const DX_CANCEL_SCHEMA = 'vmz.dx.cancel.v0';
290
290
  export const DX_AFFECTED_PREVIEW_SCHEMA = 'vmz.dx.affected_preview.v0';
291
291
  export const DX_HMR_PLAN_SCHEMA = 'vmz.dx.hmr_plan.v0';
292
292
  export const DX_BUDGET_SCHEMA = 'vmz.dx.budget.v0';
293
- export const DX_X3_CHECK_SCHEMA = 'vmz.dx.x3_check.v0';
293
+ export const DX_TRANSACTION_CHECK_SCHEMA = 'vmz.dx.transaction_check.v0';
294
294
  export const DX_BOUNDARY_VALIDATOR_SCHEMA = 'vmz.dx.boundary_validator.v0';
295
295
  export const DX_LEAKAGE_SCHEMA = 'vmz.dx.leakage.v0';
296
296
  export const DX_CAPABILITY_TARGET_SCHEMA = 'vmz.dx.capability_target.v0';
297
297
  export const DX_DEAD_GRAPH_SCHEMA = 'vmz.dx.dead_graph.v0';
298
- export const DX_X4_CHECK_SCHEMA = 'vmz.dx.x4_check.v0';
298
+ export const DX_DEPLOYMENT_PROOF_CHECK_SCHEMA = 'vmz.dx.deployment_proof_check.v0';
299
299
  export const DX_TRACE_SCHEMA = 'vmz.dx.trace.v0';
300
300
  export const DX_CAUSAL_REPLAY_SCHEMA = 'vmz.dx.causal_replay.v0';
301
- export const DX_X5_CHECK_SCHEMA = 'vmz.dx.x5_check.v0';
301
+ export const DX_CAUSAL_REPLAY_CHECK_SCHEMA = 'vmz.dx.causal_replay_check.v0';
302
302
  export const TEST_PROTOCOL = 'vmz.test.protocol.v0';
303
303
  export const TEST_MANIFEST_SCHEMA = 'vmz.test.manifest.v0';
304
304
  export const TEST_REPORT_SCHEMA = 'vmz.test.report.v0';
@@ -329,13 +329,13 @@ export const APPLICATION_DEPLOY_ADAPTER_SCHEMA = 'vmz.application.deploy_adapter
329
329
  export const APPLICATION_DEV_CHECK_SCHEMA = 'vmz.application.dev_check.v0';
330
330
  /**
331
331
  * @returns {{
332
- * schema: string,
333
- * host: string,
334
- * compiler: string,
335
- * plugin: string,
336
- * program: string,
337
- * plan: string,
338
- * domains: Array<{ kind: string, schema: string }>
332
+ * schema: string,
333
+ * host: string,
334
+ * compiler: string,
335
+ * plugin: string,
336
+ * program: string,
337
+ * plan: string,
338
+ * domains: Array<{ kind: string, schema: string }>
339
339
  * }}
340
340
  */
341
341
  export function protocolCatalog() {
@@ -359,9 +359,9 @@ export function protocolCatalog() {
359
359
  }
360
360
  /**
361
361
  * @returns {{
362
- * schema: string,
363
- * protocol: string,
364
- * documents: Array<{ kind: string, schema: string }>
362
+ * schema: string,
363
+ * protocol: string,
364
+ * documents: Array<{ kind: string, schema: string }>
365
365
  * }}
366
366
  */
367
367
  export function dxCatalog() {
@@ -379,29 +379,29 @@ export function dxCatalog() {
379
379
  { kind: 'test_selection', schema: DX_TEST_SELECTION_SCHEMA },
380
380
  { kind: 'source_map', schema: DX_SOURCE_MAP_SCHEMA },
381
381
  { kind: 'symbol_index', schema: DX_SYMBOL_INDEX_SCHEMA },
382
- { kind: 'x2_check', schema: DX_X2_CHECK_SCHEMA },
382
+ { kind: 'cross_sfc_check', schema: DX_CROSS_SFC_CHECK_SCHEMA },
383
383
  { kind: 'semantic_transaction', schema: DX_SEMANTIC_TRANSACTION_SCHEMA },
384
384
  { kind: 'cancel', schema: DX_CANCEL_SCHEMA },
385
385
  { kind: 'affected_preview', schema: DX_AFFECTED_PREVIEW_SCHEMA },
386
386
  { kind: 'hmr_plan', schema: DX_HMR_PLAN_SCHEMA },
387
387
  { kind: 'budget', schema: DX_BUDGET_SCHEMA },
388
- { kind: 'x3_check', schema: DX_X3_CHECK_SCHEMA },
388
+ { kind: 'transaction_check', schema: DX_TRANSACTION_CHECK_SCHEMA },
389
389
  { kind: 'boundary_validator', schema: DX_BOUNDARY_VALIDATOR_SCHEMA },
390
390
  { kind: 'leakage', schema: DX_LEAKAGE_SCHEMA },
391
391
  { kind: 'capability_target', schema: DX_CAPABILITY_TARGET_SCHEMA },
392
392
  { kind: 'dead_graph', schema: DX_DEAD_GRAPH_SCHEMA },
393
- { kind: 'x4_check', schema: DX_X4_CHECK_SCHEMA },
393
+ { kind: 'deployment_proof_check', schema: DX_DEPLOYMENT_PROOF_CHECK_SCHEMA },
394
394
  { kind: 'trace', schema: DX_TRACE_SCHEMA },
395
395
  { kind: 'causal_replay', schema: DX_CAUSAL_REPLAY_SCHEMA },
396
- { kind: 'x5_check', schema: DX_X5_CHECK_SCHEMA },
396
+ { kind: 'causal_replay_check', schema: DX_CAUSAL_REPLAY_CHECK_SCHEMA },
397
397
  ],
398
398
  };
399
399
  }
400
400
  /**
401
401
  * @returns {{
402
- * schema: string,
403
- * protocol: string,
404
- * documents: Array<{ kind: string, schema: string }>
402
+ * schema: string,
403
+ * protocol: string,
404
+ * documents: Array<{ kind: string, schema: string }>
405
405
  * }}
406
406
  */
407
407
  export function testCatalog() {
@@ -419,9 +419,9 @@ export function testCatalog() {
419
419
  }
420
420
  /**
421
421
  * @returns {{
422
- * schema: string,
423
- * protocol: string,
424
- * documents: Array<{ kind: string, schema: string }>
422
+ * schema: string,
423
+ * protocol: string,
424
+ * documents: Array<{ kind: string, schema: string }>
425
425
  * }}
426
426
  */
427
427
  export function applicationCatalog() {
@@ -455,11 +455,11 @@ export function applicationCatalog() {
455
455
  }
456
456
  /**
457
457
  * @returns {{
458
- * schema: string,
459
- * protocol: string,
460
- * documents: Array<{ kind: string, schema: string }>,
461
- * diagnostics: string[],
462
- * viewOperations: string[]
458
+ * schema: string,
459
+ * protocol: string,
460
+ * documents: Array<{ kind: string, schema: string }>,
461
+ * diagnostics: string[],
462
+ * viewOperations: string[]
463
463
  * }}
464
464
  */
465
465
  export function targetCatalog() {
@@ -495,17 +495,17 @@ export function targetCatalog() {
495
495
  }
496
496
  /**
497
497
  * @returns {{
498
- * schema: string,
499
- * protocol: string,
500
- * documents: Array<{ kind: string, schema: string }>,
501
- * diagnostics: string[],
502
- * capabilityClasses: string[],
503
- * forbiddenBridgePatterns: string[],
504
- * requiredShellHooks: string[],
505
- * firstBatchStubIds: string[],
506
- * requiredLifecycleEvents: string[],
507
- * highValueSurfaceKinds: string[],
508
- * requiredMultiPlatforms: string[]
498
+ * schema: string,
499
+ * protocol: string,
500
+ * documents: Array<{ kind: string, schema: string }>,
501
+ * diagnostics: string[],
502
+ * capabilityClasses: string[],
503
+ * forbiddenBridgePatterns: string[],
504
+ * requiredShellHooks: string[],
505
+ * firstBatchStubIds: string[],
506
+ * requiredLifecycleEvents: string[],
507
+ * highValueSurfaceKinds: string[],
508
+ * requiredMultiPlatforms: string[]
509
509
  * }}
510
510
  */
511
511
  export function nativeHostCatalog() {
@@ -603,13 +603,13 @@ export function nativeHostCatalog() {
603
603
  }
604
604
  /**
605
605
  * @returns {{
606
- * schema: string,
607
- * protocol: string,
608
- * documents: Array<{ kind: string, schema: string }>,
609
- * diagnostics: string[],
610
- * surfaceKinds: string[],
611
- * unifiedLifecycleEvents: string[],
612
- * coreIdPrefix: string
606
+ * schema: string,
607
+ * protocol: string,
608
+ * documents: Array<{ kind: string, schema: string }>,
609
+ * diagnostics: string[],
610
+ * surfaceKinds: string[],
611
+ * unifiedLifecycleEvents: string[],
612
+ * coreIdPrefix: string
613
613
  * }}
614
614
  */
615
615
  export function profileCatalog() {
@@ -708,11 +708,11 @@ export function profileCatalog() {
708
708
  }
709
709
  /**
710
710
  * @returns {{
711
- * schema: string,
712
- * protocol: string,
713
- * documents: Array<{ kind: string, schema: string }>,
714
- * diagnostics: string[],
715
- * virtualModulePrefix: string
711
+ * schema: string,
712
+ * protocol: string,
713
+ * documents: Array<{ kind: string, schema: string }>,
714
+ * diagnostics: string[],
715
+ * virtualModulePrefix: string
716
716
  * }}
717
717
  */
718
718
  export function localeCatalog() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vmz/protocol",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "description": "VMZ versioned wire protocol schema ids (host / program / plugin / dx / test / application)",
6
6
  "main": "./dist/index.js",