@hcmai/sdk 0.4.16 → 0.4.18

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/dist/index.js CHANGED
@@ -2482,11 +2482,11 @@ function createV4Reducer(sink) {
2482
2482
  let currentParent = null;
2483
2483
  const parentOf = (payloadParent) => typeof payloadParent === "string" && payloadParent ? payloadParent : currentParent;
2484
2484
  function buildArgsPreview(args) {
2485
- const preview = Object.entries(args).map(([k, v]) => {
2485
+ const preview2 = Object.entries(args).map(([k, v]) => {
2486
2486
  const raw = typeof v === "object" ? JSON.stringify(v) : String(v);
2487
2487
  return `${k}=${truncateDisplay(raw, 40)}`;
2488
2488
  }).join(" \xB7 ");
2489
- return truncateDisplay(preview, 96);
2489
+ return truncateDisplay(preview2, 96);
2490
2490
  }
2491
2491
  function parseJson(s) {
2492
2492
  try {
@@ -5287,7 +5287,7 @@ function parseManifest(text2, manifestPath) {
5287
5287
  }
5288
5288
  async function collectFiles(root, skipAbs) {
5289
5289
  const out = [];
5290
- async function walk4(dir, rel) {
5290
+ async function walk5(dir, rel) {
5291
5291
  const entries = await fsp2.readdir(dir, { withFileTypes: true });
5292
5292
  entries.sort((a, b) => a.name.localeCompare(b.name));
5293
5293
  for (const e of entries) {
@@ -5295,13 +5295,13 @@ async function collectFiles(root, skipAbs) {
5295
5295
  const abs = path6.join(dir, e.name);
5296
5296
  const relPath = rel ? `${rel}/${e.name}` : e.name;
5297
5297
  if (e.isDirectory()) {
5298
- await walk4(abs, relPath);
5298
+ await walk5(abs, relPath);
5299
5299
  } else if (e.isFile() && !skipAbs.has(path6.resolve(abs))) {
5300
5300
  out.push(relPath);
5301
5301
  }
5302
5302
  }
5303
5303
  }
5304
- await walk4(root, "");
5304
+ await walk5(root, "");
5305
5305
  return out;
5306
5306
  }
5307
5307
  async function packDataPackage(packageDir, outPath) {
@@ -5437,8 +5437,3660 @@ async function deleteTenantMeta(http, path25) {
5437
5437
  return resp.data?.data ?? resp.data;
5438
5438
  }
5439
5439
 
5440
+ // src/meta/validate-meta.ts
5441
+ import yaml8 from "js-yaml";
5442
+
5443
+ // src/meta/generated/meta-schemas.ts
5444
+ var META_SCHEMA_SOURCE_COMMIT = "f4a97dbb4db8f6029681b069a240c334a0bc3c3d";
5445
+ var META_SCHEMAS = {
5446
+ list: {
5447
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
5448
+ "$defs": {
5449
+ "AfterHandler": {
5450
+ "type": "object",
5451
+ "properties": {
5452
+ "config": {
5453
+ "$ref": "#/$defs/Map(String,Object)"
5454
+ },
5455
+ "type": {
5456
+ "type": "string"
5457
+ }
5458
+ }
5459
+ },
5460
+ "JsonNode": {
5461
+ "type": "object"
5462
+ },
5463
+ "Map(String,Object)": {
5464
+ "type": "object"
5465
+ },
5466
+ "Map(String,String)": {
5467
+ "type": "object"
5468
+ },
5469
+ "ServiceActionConfig": {
5470
+ "type": "object",
5471
+ "required": ["agentKey", "serviceKey"],
5472
+ "properties": {
5473
+ "agentKey": { "type": "string", "minLength": 1 },
5474
+ "serviceKey": { "type": "string", "minLength": 1 },
5475
+ "mode": { "type": "string", "enum": ["sync", "async"] },
5476
+ "timeoutMs": { "type": "integer", "minimum": 1e3 },
5477
+ "pollIntervalMs": { "type": "integer", "minimum": 100 }
5478
+ }
5479
+ },
5480
+ "ActionExecutionConfig": {
5481
+ "type": "object",
5482
+ "properties": {
5483
+ "returnOn": { "type": "string", "enum": ["terminal", "accepted"] }
5484
+ }
5485
+ },
5486
+ "CompositeActionConfig": {
5487
+ "type": "object",
5488
+ "required": ["steps"],
5489
+ "properties": {
5490
+ "mode": { "type": "string", "enum": ["sequential", "parallel"] },
5491
+ "stopOnError": { "type": "boolean" },
5492
+ "steps": {
5493
+ "type": "array",
5494
+ "minItems": 1,
5495
+ "items": {
5496
+ "oneOf": [
5497
+ { "type": "string", "minLength": 1 },
5498
+ {
5499
+ "type": "object",
5500
+ "required": ["action"],
5501
+ "properties": {
5502
+ "action": { "type": ["string", "object"] },
5503
+ "saveAs": { "type": "string", "minLength": 1 }
5504
+ }
5505
+ }
5506
+ ]
5507
+ }
5508
+ }
5509
+ }
5510
+ }
5511
+ },
5512
+ "type": "object",
5513
+ "properties": {
5514
+ "actions": {
5515
+ "description": "\u5217\u8868\u64CD\u4F5C\u6309\u94AE(\u5168\u5C40\u65B0\u589E + \u884C\u7EA7\u7F16\u8F91/\u5220\u9664 + \u6279\u91CF\u7B49);\u901A\u5E38\u7531 ListMetaEngine \u81EA\u52A8\u751F\u6210",
5516
+ "type": "array",
5517
+ "items": {
5518
+ "type": "object",
5519
+ "properties": {
5520
+ "after": {
5521
+ "type": "object",
5522
+ "properties": {
5523
+ "onBlock": {
5524
+ "type": "array",
5525
+ "items": {
5526
+ "$ref": "#/$defs/AfterHandler"
5527
+ }
5528
+ },
5529
+ "onError": {
5530
+ "type": "array",
5531
+ "items": {
5532
+ "$ref": "#/$defs/AfterHandler"
5533
+ }
5534
+ },
5535
+ "onEscalate": {
5536
+ "type": "array",
5537
+ "items": {
5538
+ "$ref": "#/$defs/AfterHandler"
5539
+ }
5540
+ },
5541
+ "onFinally": {
5542
+ "type": "array",
5543
+ "items": {
5544
+ "$ref": "#/$defs/AfterHandler"
5545
+ }
5546
+ },
5547
+ "onInfo": {
5548
+ "type": "array",
5549
+ "items": {
5550
+ "$ref": "#/$defs/AfterHandler"
5551
+ }
5552
+ },
5553
+ "onPass": {
5554
+ "type": "array",
5555
+ "items": {
5556
+ "$ref": "#/$defs/AfterHandler"
5557
+ }
5558
+ },
5559
+ "onSuccess": {
5560
+ "type": "array",
5561
+ "items": {
5562
+ "$ref": "#/$defs/AfterHandler"
5563
+ }
5564
+ },
5565
+ "onWarn": {
5566
+ "type": "array",
5567
+ "items": {
5568
+ "$ref": "#/$defs/AfterHandler"
5569
+ }
5570
+ }
5571
+ }
5572
+ },
5573
+ "api": {
5574
+ "type": "object",
5575
+ "properties": {
5576
+ "actionName": {
5577
+ "type": "string"
5578
+ },
5579
+ "awaitTask": {
5580
+ "type": "object",
5581
+ "properties": {
5582
+ "completionEventType": {
5583
+ "type": "string"
5584
+ },
5585
+ "completionStatus": {
5586
+ "type": "string"
5587
+ },
5588
+ "enabled": {
5589
+ "type": "boolean"
5590
+ },
5591
+ "pollIntervalMs": {
5592
+ "type": "integer"
5593
+ },
5594
+ "resultModel": {
5595
+ "type": "string"
5596
+ },
5597
+ "taskIdPath": {
5598
+ "type": "string"
5599
+ },
5600
+ "timeoutMs": {
5601
+ "type": "integer"
5602
+ }
5603
+ }
5604
+ },
5605
+ "i18n": {
5606
+ "type": "boolean"
5607
+ },
5608
+ "method": {
5609
+ "type": "string"
5610
+ },
5611
+ "responseType": {
5612
+ "type": "string"
5613
+ },
5614
+ "silent": {
5615
+ "type": "boolean"
5616
+ },
5617
+ "successMessage": {
5618
+ "type": "string"
5619
+ },
5620
+ "target": {
5621
+ "type": "string"
5622
+ },
5623
+ "targetModel": {
5624
+ "type": "string"
5625
+ }
5626
+ }
5627
+ },
5628
+ "buttonType": {
5629
+ "type": "string"
5630
+ },
5631
+ "confirmPreview": {
5632
+ "$ref": "#/$defs/Map(String,Object)"
5633
+ },
5634
+ "confirmText": {
5635
+ "type": "string"
5636
+ },
5637
+ "confirmTitle": {
5638
+ "type": "string"
5639
+ },
5640
+ "custom": {
5641
+ "type": "object",
5642
+ "properties": {
5643
+ "key": {
5644
+ "type": "string"
5645
+ },
5646
+ "options": {
5647
+ "$ref": "#/$defs/Map(String,Object)"
5648
+ }
5649
+ }
5650
+ },
5651
+ "description": {
5652
+ "type": "string"
5653
+ },
5654
+ "dialog": {
5655
+ "type": "object",
5656
+ "properties": {
5657
+ "actionTarget": {
5658
+ "type": "string",
5659
+ "enum": ["class", "object"],
5660
+ "description": "dialogType=action \u65F6\uFF0C\u663E\u5F0F\u58F0\u660E\u76EE\u6807\u662F ClassAction \u8FD8\u662F ObjectAction\u3002\u4E0D\u586B\u8D70\u4E0A\u4E0B\u6587\u63A8\u65AD\uFF1Aposition=toolbar \u7684\u5206\u652F\u4F1A\u628A selection[0].id \u5F53 objectId \u7528\uFF0C\u4E8E\u662F\u540C\u6A21\u578B ClassAction \u4F1A\u968F\u300C\u6709\u6CA1\u6709\u52FE\u9009\u884C\u300D\u6253\u5230\u4E24\u4E2A\u4E0D\u540C\u7684\u540E\u7AEF\u8DEF\u7531\u3002\u58F0\u660E class \u5373\u4E0E\u9009\u4E2D\u72B6\u6001\u89E3\u8026\u3002"
5661
+ },
5662
+ "component": {
5663
+ "type": "string"
5664
+ },
5665
+ "dialogType": {
5666
+ "type": "string"
5667
+ },
5668
+ "filterMapping": {
5669
+ "$ref": "#/$defs/Map(String,String)"
5670
+ },
5671
+ "form": {
5672
+ "$ref": "#/$defs/Map(String,Object)"
5673
+ },
5674
+ "i18n": {
5675
+ "type": "boolean"
5676
+ },
5677
+ "initDataMapping": {
5678
+ "$ref": "#/$defs/Map(String,String)"
5679
+ },
5680
+ "listHeight": {
5681
+ "type": "string"
5682
+ },
5683
+ "listSelection": {
5684
+ "type": "boolean",
5685
+ "description": "dialogType=list \u65F6\u662F\u5426\u663E\u793A\u884C\u9009\u62E9\u6846\uFF0C\u9ED8\u8BA4 true"
5686
+ },
5687
+ "plugin": {
5688
+ "type": "string"
5689
+ },
5690
+ "result": {
5691
+ "type": "object",
5692
+ "description": "dialogType=action \u7684\u7ED3\u679C\u5C55\u793A\u3002\u624B\u5DE5\u6536\u7A84\uFF08generator \u53EA\u4EA7\u51FA Map(String,Object)\uFF09\uFF1Adisplay \u9650 table/json\uFF0Cpath/summaryField \u9650\u5B57\u7B26\u4E32\uFF1B\u672A\u5217\u51FA\u7684\u952E\u4ECD\u653E\u884C\u3002",
5693
+ "properties": {
5694
+ "display": {
5695
+ "type": "string",
5696
+ "enum": ["table", "json"]
5697
+ },
5698
+ "path": {
5699
+ "type": "string",
5700
+ "description": "\u660E\u7EC6\u6570\u7EC4\u5728\u54CD\u5E94\u4F53\u91CC\u7684\u8DEF\u5F84\uFF08\u5982 unmatchedDetail\uFF09\u3002\u4E0D\u586B\u6309\u6574\u4E2A\u54CD\u5E94\u4F53\u63A8\u65AD\uFF1B\u586B\u4E86\u4F46\u53D6\u4E0D\u5230/\u4E0D\u662F\u6570\u7EC4\u65F6\u6309\u7A7A\u8868\u5904\u7406\uFF0C\u4E0D\u62FF\u6574\u4E2A\u54CD\u5E94\u5BF9\u8C61\u51D1\u4E00\u884C\u3002"
5701
+ },
5702
+ "summaryField": {
5703
+ "type": "string",
5704
+ "description": "\u54CD\u5E94\u4F53\u91CC\u90A3\u53E5\u4EBA\u8BDD\u603B\u7ED3\u7684\u5B57\u6BB5\u540D\uFF08\u5982 notice\uFF09\uFF0C\u6E32\u67D3\u5728\u7ED3\u679C\u8868\u4E0A\u65B9\u3002\u7ED3\u679C\u8868\u5B58\u5728\u65F6\u5F39\u7A97\u4E0D\u81EA\u52A8\u5173\u95ED\uFF0Cafter.onSuccess \u7684 notify \u62FF\u4E0D\u5230 data\uFF0C\u7EDF\u8BA1\u53EA\u80FD\u4ECE\u8FD9\u91CC\u51FA\u3002"
5705
+ }
5706
+ }
5707
+ },
5708
+ "targetAction": {
5709
+ "type": "string"
5710
+ },
5711
+ "targetModel": {
5712
+ "type": "string"
5713
+ },
5714
+ "targetState": {
5715
+ "type": "string"
5716
+ },
5717
+ "targetStateMapping": {
5718
+ "$ref": "#/$defs/Map(String,Object)"
5719
+ },
5720
+ "title": {
5721
+ "type": "string"
5722
+ },
5723
+ "width": {
5724
+ "type": "string"
5725
+ }
5726
+ }
5727
+ },
5728
+ "disabled": {},
5729
+ "icon": {
5730
+ "type": "string"
5731
+ },
5732
+ "isDefault": {
5733
+ "type": "boolean"
5734
+ },
5735
+ "key": {
5736
+ "type": "string"
5737
+ },
5738
+ "label": {
5739
+ "type": "string"
5740
+ },
5741
+ "monitor": {
5742
+ "type": "object",
5743
+ "properties": {
5744
+ "scenario": {
5745
+ "type": "string"
5746
+ }
5747
+ }
5748
+ },
5749
+ "more": {
5750
+ "type": "boolean"
5751
+ },
5752
+ "navigate": {
5753
+ "type": "object",
5754
+ "properties": {
5755
+ "navigateType": {
5756
+ "type": "string"
5757
+ },
5758
+ "newWindow": {
5759
+ "type": "boolean"
5760
+ },
5761
+ "params": {
5762
+ "$ref": "#/$defs/Map(String,String)"
5763
+ },
5764
+ "path": {
5765
+ "type": "string"
5766
+ },
5767
+ "query": {
5768
+ "$ref": "#/$defs/Map(String,String)"
5769
+ },
5770
+ "routeName": {
5771
+ "type": "string"
5772
+ },
5773
+ "url": {
5774
+ "type": "string"
5775
+ }
5776
+ }
5777
+ },
5778
+ "needConfirm": {
5779
+ "type": "boolean"
5780
+ },
5781
+ "order": {
5782
+ "type": "integer"
5783
+ },
5784
+ "pageMode": {
5785
+ "type": "array",
5786
+ "items": {
5787
+ "type": "string"
5788
+ }
5789
+ },
5790
+ "params": {
5791
+ "type": "array",
5792
+ "items": {
5793
+ "type": "object",
5794
+ "properties": {
5795
+ "defaultValue": {},
5796
+ "expr": {
5797
+ "type": "string"
5798
+ },
5799
+ "formRef": {
5800
+ "type": "object",
5801
+ "properties": {
5802
+ "fields": {
5803
+ "type": "array",
5804
+ "items": {
5805
+ "type": "string"
5806
+ }
5807
+ },
5808
+ "model": {
5809
+ "type": "string"
5810
+ }
5811
+ }
5812
+ },
5813
+ "formSchema": {
5814
+ "type": "object",
5815
+ "properties": {
5816
+ "fields": {
5817
+ "type": "array",
5818
+ "items": {
5819
+ "$ref": "#/$defs/Map(String,Object)"
5820
+ }
5821
+ }
5822
+ }
5823
+ },
5824
+ "inputType": {
5825
+ "type": "string"
5826
+ },
5827
+ "into": {
5828
+ "type": "string"
5829
+ },
5830
+ "keyPath": {
5831
+ "type": "string"
5832
+ },
5833
+ "name": {
5834
+ "type": "string"
5835
+ },
5836
+ "path": {
5837
+ "type": "string"
5838
+ },
5839
+ "promptLabel": {
5840
+ "type": "string"
5841
+ },
5842
+ "promptText": {
5843
+ "type": "string"
5844
+ },
5845
+ "required": {
5846
+ "type": "boolean"
5847
+ },
5848
+ "source": {
5849
+ "description": "\u53C2\u6570\u6765\u6E90\uFF0C\u652F\u6301 row|selection|route|query|state|masterData|form|prompt|constant|expression|idempotency\uFF1Bidempotency \u6BCF\u6B21\u6536\u96C6\u81EA\u52A8\u751F\u6210 UUID",
5850
+ "type": "string"
5851
+ },
5852
+ "value": {}
5853
+ }
5854
+ }
5855
+ },
5856
+ "position": {
5857
+ "type": ["string", "null"]
5858
+ },
5859
+ "script": {
5860
+ "type": "object",
5861
+ "properties": {
5862
+ "mode": {
5863
+ "type": "string"
5864
+ },
5865
+ "params": {
5866
+ "$ref": "#/$defs/Map(String,Object)"
5867
+ },
5868
+ "scriptKey": {
5869
+ "type": "string"
5870
+ },
5871
+ "timeout": {
5872
+ "type": "integer"
5873
+ }
5874
+ }
5875
+ },
5876
+ "service": {
5877
+ "$ref": "#/$defs/ServiceActionConfig"
5878
+ },
5879
+ "composite": {
5880
+ "$ref": "#/$defs/CompositeActionConfig"
5881
+ },
5882
+ "execution": {
5883
+ "$ref": "#/$defs/ActionExecutionConfig"
5884
+ },
5885
+ "type": {
5886
+ "type": "string"
5887
+ },
5888
+ "visible": {}
5889
+ }
5890
+ }
5891
+ },
5892
+ "additions": {
5893
+ "description": "\u5173\u8054\u6570\u636E\u914D\u7F6E;\u58F0\u660E\u5217\u8868\u67E5\u8BE2\u65F6\u9700 JOIN \u62C9\u7684\u5176\u4ED6 Model \u5B57\u6BB5(\u5982\u90E8\u95E8\u540D/\u4E0A\u7EA7\u5C97\u4F4D)",
5894
+ "type": "array",
5895
+ "items": {
5896
+ "type": "object",
5897
+ "properties": {
5898
+ "filter": {
5899
+ "$ref": "#/$defs/JsonNode"
5900
+ },
5901
+ "joinType": {
5902
+ "type": "string"
5903
+ },
5904
+ "key": {
5905
+ "type": "string"
5906
+ },
5907
+ "label": {
5908
+ "type": "string"
5909
+ },
5910
+ "model": {
5911
+ "type": "string"
5912
+ },
5913
+ "onDemand": {
5914
+ "type": "boolean"
5915
+ },
5916
+ "relation": {
5917
+ "$ref": "#/$defs/Map(String,Object)"
5918
+ },
5919
+ "type": {
5920
+ "type": "string"
5921
+ }
5922
+ }
5923
+ }
5924
+ },
5925
+ "defaultSort": {
5926
+ "description": "\u9ED8\u8BA4\u6392\u5E8F;\u5F62\u5982 [{field:'name',order:'asc'},...]\u3002\u5220\u9664\u8BF7\u7528 {__remove:true}",
5927
+ "type": "array",
5928
+ "items": {
5929
+ "$ref": "#/$defs/Map(String,String)"
5930
+ }
5931
+ },
5932
+ "description": {
5933
+ "type": "string",
5934
+ "description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
5935
+ },
5936
+ "fields": {
5937
+ "description": "\u5217\u8868\u5217\u5B9A\u4E49;Moirai patch-ops \u4E2D\u7531 spec.ops[] \u63A5\u7BA1,topPatches \u4E0D\u5E94\u518D\u5199 fields",
5938
+ "type": "array",
5939
+ "items": {
5940
+ "type": "object",
5941
+ "properties": {
5942
+ "align": {
5943
+ "type": "string",
5944
+ "enum": ["left", "center", "right"]
5945
+ },
5946
+ "autoGenerate": {
5947
+ "type": "boolean"
5948
+ },
5949
+ "field": {
5950
+ "type": "string"
5951
+ },
5952
+ "filter": {
5953
+ "type": "boolean"
5954
+ },
5955
+ "format": {
5956
+ "type": "string",
5957
+ "enum": ["date", "datetime", "number"]
5958
+ },
5959
+ "formatOptions": {
5960
+ "type": "object",
5961
+ "additionalProperties": false,
5962
+ "properties": {
5963
+ "useGrouping": {
5964
+ "type": "boolean"
5965
+ },
5966
+ "minimumFractionDigits": {
5967
+ "type": "integer",
5968
+ "minimum": 0,
5969
+ "maximum": 20
5970
+ },
5971
+ "maximumFractionDigits": {
5972
+ "type": "integer",
5973
+ "minimum": 0,
5974
+ "maximum": 20
5975
+ }
5976
+ }
5977
+ },
5978
+ "helpText": {
5979
+ "type": "string",
5980
+ "description": "\u5217\u5934\u5E2E\u52A9\u6587\u6848;\u9F20\u6807\u60AC\u6D6E help \u56FE\u6807\u663E\u793A\u3002\u672A\u8BBE\u65F6\u9ED8\u8BA4\u53D6\u5B57\u6BB5 hint"
5981
+ },
5982
+ "key": {
5983
+ "type": "string"
5984
+ },
5985
+ "label": {
5986
+ "type": "string"
5987
+ },
5988
+ "mask": {
5989
+ "type": "object"
5990
+ },
5991
+ "minWidth": {
5992
+ "type": "string"
5993
+ },
5994
+ "order": {
5995
+ "type": "integer"
5996
+ },
5997
+ "render": {
5998
+ "$ref": "#/$defs/Map(String,Object)"
5999
+ },
6000
+ "sortable": {
6001
+ "type": "boolean"
6002
+ },
6003
+ "visible": {
6004
+ "type": "boolean"
6005
+ },
6006
+ "width": {
6007
+ "type": "integer"
6008
+ }
6009
+ },
6010
+ "allOf": [{
6011
+ "if": {
6012
+ "required": ["formatOptions"]
6013
+ },
6014
+ "then": {
6015
+ "required": ["format"],
6016
+ "properties": {
6017
+ "format": {
6018
+ "const": "number"
6019
+ }
6020
+ }
6021
+ }
6022
+ }]
6023
+ }
6024
+ },
6025
+ "filter": {
6026
+ "type": "object",
6027
+ "properties": {
6028
+ "defaultFilter": {
6029
+ "$ref": "#/$defs/JsonNode"
6030
+ }
6031
+ },
6032
+ "description": "\u9884\u8BBE\u8FC7\u6EE4\u6761\u4EF6;\u6309 state \u63D0\u4F9B\u9ED8\u8BA4\u67E5\u8BE2\u6761\u4EF6,\u524D\u7AEF\u9996\u6B21\u6253\u5F00\u5217\u8868\u81EA\u52A8\u5E26\u5165"
6033
+ },
6034
+ "key": {
6035
+ "type": "string",
6036
+ "description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
6037
+ },
6038
+ "layout": {
6039
+ "type": "object",
6040
+ "properties": {
6041
+ "defaultView": {
6042
+ "type": "string"
6043
+ },
6044
+ "supportedViews": {
6045
+ "type": "array",
6046
+ "items": {
6047
+ "type": "string"
6048
+ }
6049
+ },
6050
+ "tree": {
6051
+ "type": "object",
6052
+ "properties": {
6053
+ "action": {
6054
+ "type": "string"
6055
+ },
6056
+ "filterField": {
6057
+ "type": "string"
6058
+ },
6059
+ "object": {
6060
+ "type": "string"
6061
+ }
6062
+ }
6063
+ },
6064
+ "type": {
6065
+ "type": "string"
6066
+ }
6067
+ },
6068
+ "description": "\u5217\u8868\u5916\u5C42\u5E03\u5C40,\u5982 tree-list(\u5DE6\u6811\u53F3\u5217\u8868)\u3002\u8BE6\u89C1 ListLayout \u7C7B\u578B"
6069
+ },
6070
+ "name": {
6071
+ "type": "string",
6072
+ "description": '\u5143\u6570\u636E\u663E\u793A\u540D\u79F0(\u5982 "\u7EC4\u7EC7\u5355\u5143");\u901A\u5E38\u7528\u4E8E\u9875\u9762\u6807\u9898\u6216\u5143\u6570\u636E\u6D4F\u89C8'
6073
+ },
6074
+ "selectable": {
6075
+ "type": "boolean",
6076
+ "description": "\u662F\u5426\u542F\u7528\u884C\u9009\u62E9;true \u65F6\u5217\u8868\u663E\u793A\u590D\u9009\u6846,\u652F\u6301\u6279\u91CF\u64CD\u4F5C(\u6279\u91CF\u5220\u9664\u7B49)\u3002\u9ED8\u8BA4 false"
6077
+ },
6078
+ "display": {
6079
+ "type": "object",
6080
+ "description": "\u5217\u8868\u663E\u793A(\u5916\u89C2)\u65B9\u6848;\u627F\u8F7D\u8868\u683C\u5C55\u793A\u5F00\u5173(\u7AD6\u7EBF showColumnBorder \u7B49)\u3002\u6574\u5757\u53EF\u9009,\u7F3A\u7701\u5168\u90E8\u9ED8\u8BA4",
6081
+ "additionalProperties": false,
6082
+ "properties": {
6083
+ "showColumnBorder": {
6084
+ "type": "boolean",
6085
+ "description": "\u662F\u5426\u663E\u793A\u8868\u683C\u7EB5\u5411\u5217\u5206\u5272\u7EBF(\u7AD6\u7EBF);\u9ED8\u8BA4 false(\u4EC5\u6A2A\u5411\u884C\u7EBF)\u3002true \u663E\u793A\u5B8C\u6574\u7F51\u683C\u3002\u5217\u5BBD\u62D6\u62FD\u4E0D\u53D7\u5F71\u54CD"
6086
+ }
6087
+ }
6088
+ },
6089
+ "serverFilter": {
6090
+ "$ref": "#/$defs/JsonNode",
6091
+ "description": "\u670D\u52A1\u7AEF\u5F3A\u5236\u8FC7\u6EE4\u6761\u4EF6(Cube AST);\u8DDF\u7528\u6237 DSL filter AND \u5408\u5E76\u3002\u652F\u6301 $currentUserId \u5360\u4F4D\u7B26"
6092
+ },
6093
+ "statBar": {
6094
+ "type": "object",
6095
+ "description": "\u5217\u8868\u9876\u90E8\u7EDF\u8BA1 Tab \u914D\u7F6E;\u6309 groupField \u805A\u5408\u8BA1\u6570,\u70B9\u51FB Tab \u9644\u52A0\u8FC7\u6EE4\u6761\u4EF6",
6096
+ "additionalProperties": false,
6097
+ "required": ["groupField"],
6098
+ "properties": {
6099
+ "groupField": {
6100
+ "type": "string",
6101
+ "description": "\u5206\u7EC4\u5B57\u6BB5 key,\u987B\u4E0E\u5217\u8868\u7684\u8FC7\u6EE4/\u663E\u793A\u5B57\u6BB5\u4E00\u81F4"
6102
+ },
6103
+ "showAll": {
6104
+ "type": "boolean",
6105
+ "description": "\u662F\u5426\u663E\u793A\u300C\u5168\u90E8\u300DTab(\u9ED8\u8BA4 true)"
6106
+ },
6107
+ "showEmptyGroups": {
6108
+ "type": "boolean",
6109
+ "description": "\u662F\u5426\u663E\u793A\u8BA1\u6570\u4E3A 0 \u7684\u5DF2\u77E5\u5206\u7EC4(\u9ED8\u8BA4 false)"
6110
+ },
6111
+ "defaultValue": {
6112
+ "type": ["string", "null"],
6113
+ "description": "\u9ED8\u8BA4\u9009\u4E2D\u7684 groupField \u503C;\u4E3A\u7A7A\u6216 null \u4FDD\u6301\u73B0\u72B6(\u5168\u90E8)\u3002state \u8986\u76D6\u987B\u663E\u5F0F\u5199 null \u624D\u80FD\u53D6\u6D88\u57FA\u5EA7\u58F0\u660E\u7684\u9ED8\u8BA4\u6BB5\u2014\u2014\u7701\u7565\u8BE5\u952E\u65F6 mergeMap \u4F1A\u4FDD\u7559\u57FA\u5EA7\u503C"
6114
+ }
6115
+ }
6116
+ },
6117
+ "toolbar": {
6118
+ "type": "object",
6119
+ "description": "\u5217\u8868\u5DE5\u5177\u680F\u914D\u7F6E;\u58F0\u660E TopBar \u5404\u5143\u7D20\u663E\u9690\u4E0E\u641C\u7D22\u5F62\u6001\u3002\u6574\u5757\u53CA\u5404\u5B57\u6BB5\u5747\u53EF\u9009,\u7F3A\u7701\u5168\u5F00+\u5173\u952E\u8BCD\u641C\u7D22",
6120
+ "additionalProperties": false,
6121
+ "properties": {
6122
+ "search": {
6123
+ "type": "string",
6124
+ "enum": ["keyword", "ai", "none"],
6125
+ "description": "\u641C\u7D22\u5F62\u6001:keyword(\u5173\u952E\u8BCD\u6846,\u9ED8\u8BA4)|ai(AI \u81EA\u7136\u8BED\u8A00\u641C\u7D22\u6846,\u4E0E\u5173\u952E\u8BCD\u6846\u4E92\u65A5\u540C\u4F4D\u7F6E)|none(\u4E0D\u663E\u793A)"
6126
+ },
6127
+ "aiSearchExamples": {
6128
+ "type": "array",
6129
+ "items": { "type": "string" },
6130
+ "description": "AI \u641C\u7D22\u300C\u8BD5\u8BD5\u8FD9\u6837\u95EE\u300D\u793A\u4F8B\u63D0\u793A\u8BCD\u5217\u8868(\u6BCF\u6761\u4E00\u53E5\u81EA\u7136\u8BED\u8A00);\u4EC5 search=ai \u751F\u6548"
6131
+ },
6132
+ "filterButton": {
6133
+ "type": "boolean",
6134
+ "description": "\u662F\u5426\u663E\u793A\u300C\u7B5B\u9009\u5B57\u6BB5\u300D\u6309\u94AE\u4E0E\u5DF2\u5E94\u7528\u6761\u4EF6 bar(\u9ED8\u8BA4 true)"
6135
+ },
6136
+ "density": {
6137
+ "type": "boolean",
6138
+ "description": "\u662F\u5426\u663E\u793A\u5BC6\u5EA6(\u884C\u8DDD)\u4E0B\u62C9(\u9ED8\u8BA4 true)"
6139
+ },
6140
+ "refresh": {
6141
+ "type": "boolean",
6142
+ "description": "\u662F\u5426\u663E\u793A\u5237\u65B0\u6309\u94AE(\u9ED8\u8BA4 true)"
6143
+ },
6144
+ "resetLayout": {
6145
+ "type": "boolean",
6146
+ "description": "\u662F\u5426\u663E\u793A\u300C\u6062\u590D\u9ED8\u8BA4\u5E03\u5C40\u300D\u6309\u94AE(\u9ED8\u8BA4 true)"
6147
+ }
6148
+ }
6149
+ }
6150
+ }
6151
+ },
6152
+ info: {
6153
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6154
+ "$defs": {
6155
+ "AfterHandler": {
6156
+ "type": "object",
6157
+ "properties": {
6158
+ "config": {
6159
+ "$ref": "#/$defs/Map(String,Object)"
6160
+ },
6161
+ "type": {
6162
+ "type": "string"
6163
+ }
6164
+ }
6165
+ },
6166
+ "Map(String,Object)": {
6167
+ "type": "object"
6168
+ },
6169
+ "ParamConfig": {
6170
+ "type": "object",
6171
+ "required": ["name", "source"],
6172
+ "properties": {
6173
+ "name": { "type": "string", "minLength": 1 },
6174
+ "source": { "type": "string" },
6175
+ "path": { "type": "string" },
6176
+ "keyPath": { "type": "string" },
6177
+ "value": {},
6178
+ "expr": { "type": "string" },
6179
+ "promptText": { "type": "string" },
6180
+ "promptLabel": { "type": "string" },
6181
+ "inputType": { "type": "string" },
6182
+ "formSchema": { "$ref": "#/$defs/Map(String,Object)" },
6183
+ "formRef": { "$ref": "#/$defs/Map(String,Object)" },
6184
+ "required": { "type": "boolean" },
6185
+ "defaultValue": {},
6186
+ "into": { "type": "string" }
6187
+ }
6188
+ },
6189
+ "ServiceActionConfig": {
6190
+ "type": "object",
6191
+ "required": ["agentKey", "serviceKey"],
6192
+ "properties": {
6193
+ "agentKey": { "type": "string", "minLength": 1 },
6194
+ "serviceKey": { "type": "string", "minLength": 1 },
6195
+ "mode": { "type": "string", "enum": ["sync", "async"] },
6196
+ "timeoutMs": { "type": "integer", "minimum": 1e3 },
6197
+ "pollIntervalMs": { "type": "integer", "minimum": 100 }
6198
+ }
6199
+ },
6200
+ "ActionExecutionConfig": {
6201
+ "type": "object",
6202
+ "properties": {
6203
+ "returnOn": { "type": "string", "enum": ["terminal", "accepted"] }
6204
+ }
6205
+ },
6206
+ "CompositeActionConfig": {
6207
+ "type": "object",
6208
+ "required": ["steps"],
6209
+ "properties": {
6210
+ "mode": { "type": "string", "enum": ["sequential", "parallel"] },
6211
+ "stopOnError": { "type": "boolean" },
6212
+ "steps": {
6213
+ "type": "array",
6214
+ "minItems": 1,
6215
+ "items": {
6216
+ "oneOf": [
6217
+ { "type": "string", "minLength": 1 },
6218
+ {
6219
+ "type": "object",
6220
+ "required": ["action"],
6221
+ "properties": {
6222
+ "action": { "type": ["string", "object"] },
6223
+ "saveAs": { "type": "string", "minLength": 1 }
6224
+ }
6225
+ }
6226
+ ]
6227
+ }
6228
+ }
6229
+ }
6230
+ }
6231
+ },
6232
+ "type": "object",
6233
+ "properties": {
6234
+ "actions": {
6235
+ "description": "\u64CD\u4F5C\u6309\u94AE\u5217\u8868(\u63D0\u4EA4/\u53D6\u6D88\u7B49);\u901A\u5E38\u7531 InfoMetaEngine \u81EA\u52A8\u751F\u6210,YAML \u4E00\u822C\u4E0D\u5199",
6236
+ "type": "array",
6237
+ "items": {
6238
+ "type": "object",
6239
+ "properties": {
6240
+ "after": {
6241
+ "type": "object",
6242
+ "properties": {
6243
+ "onBlock": {
6244
+ "type": "array",
6245
+ "items": {
6246
+ "$ref": "#/$defs/AfterHandler"
6247
+ }
6248
+ },
6249
+ "onError": {
6250
+ "type": "array",
6251
+ "items": {
6252
+ "$ref": "#/$defs/AfterHandler"
6253
+ }
6254
+ },
6255
+ "onEscalate": {
6256
+ "type": "array",
6257
+ "items": {
6258
+ "$ref": "#/$defs/AfterHandler"
6259
+ }
6260
+ },
6261
+ "onFinally": {
6262
+ "type": "array",
6263
+ "items": {
6264
+ "$ref": "#/$defs/AfterHandler"
6265
+ }
6266
+ },
6267
+ "onInfo": {
6268
+ "type": "array",
6269
+ "items": {
6270
+ "$ref": "#/$defs/AfterHandler"
6271
+ }
6272
+ },
6273
+ "onPass": {
6274
+ "type": "array",
6275
+ "items": {
6276
+ "$ref": "#/$defs/AfterHandler"
6277
+ }
6278
+ },
6279
+ "onSuccess": {
6280
+ "type": "array",
6281
+ "items": {
6282
+ "$ref": "#/$defs/AfterHandler"
6283
+ }
6284
+ },
6285
+ "onWarn": {
6286
+ "type": "array",
6287
+ "items": {
6288
+ "$ref": "#/$defs/AfterHandler"
6289
+ }
6290
+ }
6291
+ }
6292
+ },
6293
+ "api": {
6294
+ "type": "object",
6295
+ "properties": {
6296
+ "actionName": {
6297
+ "type": "string"
6298
+ },
6299
+ "awaitTask": {
6300
+ "type": "object",
6301
+ "properties": {
6302
+ "completionEventType": {
6303
+ "type": "string"
6304
+ },
6305
+ "completionStatus": {
6306
+ "type": "string"
6307
+ },
6308
+ "enabled": {
6309
+ "type": "boolean"
6310
+ },
6311
+ "pollIntervalMs": {
6312
+ "type": "integer"
6313
+ },
6314
+ "resultModel": {
6315
+ "type": "string"
6316
+ },
6317
+ "taskIdPath": {
6318
+ "type": "string"
6319
+ },
6320
+ "timeoutMs": {
6321
+ "type": "integer"
6322
+ }
6323
+ }
6324
+ },
6325
+ "i18n": {
6326
+ "type": "boolean"
6327
+ },
6328
+ "method": {
6329
+ "type": "string"
6330
+ },
6331
+ "responseType": {
6332
+ "type": "string"
6333
+ },
6334
+ "silent": {
6335
+ "type": "boolean"
6336
+ },
6337
+ "successMessage": {
6338
+ "type": "string"
6339
+ },
6340
+ "target": {
6341
+ "type": "string"
6342
+ },
6343
+ "targetModel": {
6344
+ "type": "string"
6345
+ }
6346
+ }
6347
+ },
6348
+ "dialog": {
6349
+ "type": "object",
6350
+ "properties": {
6351
+ "dialogType": {
6352
+ "type": "string"
6353
+ },
6354
+ "listSelection": {
6355
+ "type": "boolean",
6356
+ "description": "dialogType=list \u65F6\u662F\u5426\u663E\u793A\u884C\u9009\u62E9\u6846\uFF0C\u9ED8\u8BA4 true"
6357
+ },
6358
+ "initDataMapping": {
6359
+ "type": "object",
6360
+ "additionalProperties": {
6361
+ "type": "string"
6362
+ }
6363
+ },
6364
+ "targetModel": {
6365
+ "type": "string"
6366
+ },
6367
+ "targetState": {
6368
+ "type": "string"
6369
+ },
6370
+ "title": {
6371
+ "type": "string"
6372
+ },
6373
+ "width": {
6374
+ "type": "string"
6375
+ }
6376
+ }
6377
+ },
6378
+ "buttonType": {
6379
+ "type": "string"
6380
+ },
6381
+ "confirmText": {
6382
+ "type": "string"
6383
+ },
6384
+ "confirmTitle": {
6385
+ "type": "string"
6386
+ },
6387
+ "icon": {
6388
+ "type": "string"
6389
+ },
6390
+ "key": {
6391
+ "type": "string"
6392
+ },
6393
+ "label": {
6394
+ "type": "string"
6395
+ },
6396
+ "mobileOutsideBtn": {
6397
+ "type": "boolean"
6398
+ },
6399
+ "monitor": {
6400
+ "type": "object",
6401
+ "properties": {
6402
+ "scenario": {
6403
+ "type": "string"
6404
+ }
6405
+ }
6406
+ },
6407
+ "more": {
6408
+ "type": "boolean"
6409
+ },
6410
+ "needConfirm": {
6411
+ "type": "boolean"
6412
+ },
6413
+ "order": {
6414
+ "type": "integer"
6415
+ },
6416
+ "position": {
6417
+ "type": "string",
6418
+ "enum": ["footer-left", "footer-right"]
6419
+ },
6420
+ "script": {
6421
+ "type": "object",
6422
+ "properties": {
6423
+ "mode": {
6424
+ "type": "string"
6425
+ },
6426
+ "params": {
6427
+ "$ref": "#/$defs/Map(String,Object)"
6428
+ },
6429
+ "scriptKey": {
6430
+ "type": "string"
6431
+ },
6432
+ "timeout": {
6433
+ "type": "integer"
6434
+ }
6435
+ }
6436
+ },
6437
+ "params": {
6438
+ "type": "array",
6439
+ "items": { "$ref": "#/$defs/ParamConfig" }
6440
+ },
6441
+ "service": {
6442
+ "$ref": "#/$defs/ServiceActionConfig"
6443
+ },
6444
+ "composite": {
6445
+ "$ref": "#/$defs/CompositeActionConfig"
6446
+ },
6447
+ "execution": {
6448
+ "$ref": "#/$defs/ActionExecutionConfig"
6449
+ },
6450
+ "submitMethod": {
6451
+ "type": "string"
6452
+ },
6453
+ "successMessage": {
6454
+ "type": "string"
6455
+ },
6456
+ "type": {
6457
+ "type": "string"
6458
+ },
6459
+ "visible": {}
6460
+ }
6461
+ }
6462
+ },
6463
+ "childrens": {
6464
+ "description": "\u9876\u5C42 childrens[] \u8282\u70B9;\u58F0\u660E\u5F0F\u5B50\u8868\u7ED1\u5B9A(ADR-074);\u4E0E fields[].component=hc-field-list \u901A\u8FC7 key \u53CC\u5411\u914D\u5BF9",
6465
+ "type": "array",
6466
+ "items": {
6467
+ "type": "object",
6468
+ "properties": {
6469
+ "conditions": {
6470
+ "$ref": "#/$defs/Map(String,Object)",
6471
+ "description": "\u989D\u5916\u8FC7\u6EE4\u6761\u4EF6\uFF08\u5B57\u9762\u91CF key:value\uFF0CAND \u8BED\u4E49\uFF09\uFF1B\u4E0E RBAC/list defaultFilter \u53E0\u52A0\uFF1B\u7F3A\u7701\u4E3A\u7A7A map"
6472
+ },
6473
+ "key": {
6474
+ "type": "string",
6475
+ "description": "\u4E0E fields[].key \u914D\u5BF9\u7684\u5B57\u6BB5 key\uFF1B\u8BE5 field \u7684 component \u5FC5\u987B\u4E3A hc-field-list"
6476
+ },
6477
+ "listKey": {
6478
+ "type": "string",
6479
+ "description": "\u5B50\u8868 list.yml \u7684 state/key\uFF1B\u6309\u51B3\u7B56\u6811\u52A0\u8F7D <Model>.list.<listKey>.yml \u6216 <Model>.list.yml \u9876\u5C42 key \u5B57\u6BB5"
6480
+ },
6481
+ "model": {
6482
+ "type": "string",
6483
+ "description": "\u5B50\u8868 Model \u540D\uFF1B\u5FC5\u987B\u5DF2\u5728 ModelRegistry \u6CE8\u518C"
6484
+ },
6485
+ "relationField": {
6486
+ "type": "string",
6487
+ "description": "\u5B50\u8868\u56DE\u6307\u7236\u8868\u7684 FK \u5B57\u6BB5\uFF1B\u7C7B\u578B\u5FC5\u987B\u4E0E\u7236\u8868\u4E3B\u952E\u53EF\u8D4B\u503C\u517C\u5BB9"
6488
+ }
6489
+ }
6490
+ }
6491
+ },
6492
+ "createIdOwner": {
6493
+ "type": "string",
6494
+ "enum": ["client", "server"],
6495
+ "description": "create \u5B9E\u4F53\u8EAB\u4EFD\u6240\u6709\u8005;client=\u5BA2\u6237\u7AEF\u53EF\u9884\u751F\u6210 id,server=\u5BA2\u6237\u7AEF\u5FC5\u987B\u7701\u7565 id/tenantId/canonicalId;\u8FD0\u884C\u65F6\u53EA\u8BFB\u6D3E\u751F",
6496
+ "readOnly": true
6497
+ },
6498
+ "description": {
6499
+ "type": "string",
6500
+ "description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
6501
+ },
6502
+ "fields": {
6503
+ "description": "\u5B57\u6BB5\u5217\u8868;Moirai patch-ops \u4E2D\u7531 spec.ops[] \u63A5\u7BA1,topPatches \u4E0D\u5E94\u518D\u5199 fields",
6504
+ "type": "array",
6505
+ "items": {
6506
+ "type": "object",
6507
+ "properties": {
6508
+ "autoGenerate": {
6509
+ "type": "boolean"
6510
+ },
6511
+ "component": {
6512
+ "type": "string"
6513
+ },
6514
+ "defaultValue": {},
6515
+ "hidden": {
6516
+ "type": "boolean"
6517
+ },
6518
+ "key": {
6519
+ "type": "string"
6520
+ },
6521
+ "label": {
6522
+ "type": "string"
6523
+ },
6524
+ "options": {
6525
+ "$ref": "#/$defs/Map(String,Object)"
6526
+ },
6527
+ "readonly": {
6528
+ "type": "boolean"
6529
+ },
6530
+ "required": {
6531
+ "type": "boolean"
6532
+ },
6533
+ "sequence": {
6534
+ "type": "integer"
6535
+ },
6536
+ "visibleWhen": {
6537
+ "type": "object",
6538
+ "properties": {
6539
+ "field": {
6540
+ "type": "string"
6541
+ },
6542
+ "operator": {
6543
+ "type": "string"
6544
+ },
6545
+ "value": {}
6546
+ }
6547
+ },
6548
+ "width": {
6549
+ "type": "integer"
6550
+ }
6551
+ }
6552
+ }
6553
+ },
6554
+ "groups": {
6555
+ "description": "\u8868\u5355\u5206\u7EC4;\u6BCF\u9879\u542B key + label + fields[],\u628A\u5B57\u6BB5\u5207\u5230\u5206\u7EC4\u4E0B\u6E32\u67D3\u3002\u4E3A\u7A7A\u65F6\u6241\u5E73\u6E32\u67D3\u6240\u6709\u5B57\u6BB5",
6556
+ "type": "array",
6557
+ "items": {
6558
+ "type": "object",
6559
+ "properties": {
6560
+ "fields": {
6561
+ "type": "array",
6562
+ "items": {
6563
+ "type": "string"
6564
+ }
6565
+ },
6566
+ "key": {
6567
+ "type": "string"
6568
+ },
6569
+ "label": {
6570
+ "type": "string"
6571
+ }
6572
+ }
6573
+ }
6574
+ },
6575
+ "hasBehavior": {
6576
+ "type": "boolean"
6577
+ },
6578
+ "key": {
6579
+ "type": "string",
6580
+ "description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
6581
+ },
6582
+ "labelPosition": {
6583
+ "type": "string",
6584
+ "enum": ["top", "left", "right"],
6585
+ "description": "\u8868\u5355\u6807\u7B7E\u4F4D\u7F6E;form/\u9875\u9762\u7EA7(\u975E field \u7EA7),\u503C\u57DF top|left|right;YAML \u7F3A\u7701\u65F6\u540E\u7AEF\u5F15\u64CE\u8865\u9ED8\u8BA4 top \u4E0B\u53D1,\u79DF\u6237\u5C42\u53EF\u8986\u76D6"
6586
+ },
6587
+ "name": {
6588
+ "type": "string",
6589
+ "description": '\u5143\u6570\u636E\u663E\u793A\u540D\u79F0(\u5982 "\u7EC4\u7EC7\u5355\u5143");\u901A\u5E38\u7528\u4E8E\u9875\u9762\u6807\u9898\u6216\u5143\u6570\u636E\u6D4F\u89C8'
6590
+ },
6591
+ "tip": {
6592
+ "type": "string",
6593
+ "description": "\u8868\u5355\u9876\u90E8\u63D0\u793A\u6587\u6848(\u652F\u6301\u6362\u884C);\u5E38\u7528\u4E8E\u6DFB\u52A0\u4E1A\u52A1\u8BF4\u660E\u3001\u8B66\u793A\u4FE1\u606F,\u663E\u793A\u5728\u6240\u6709\u5B57\u6BB5\u4E4B\u524D"
6594
+ },
6595
+ "aiPanelEnabled": {
6596
+ "type": "boolean",
6597
+ "description": "AI \u5D4C\u5165\u9762\u677F\u662F\u5426\u542F\u7528;true(\u9ED8\u8BA4)\u65F6\u6E32\u67D3 EmbeddedAIPanel \u4FA7\u8FB9\u680F;info.<state>.yml \u53EF\u8BBE false \u5173\u95ED(\u5982 scoreForm \u8BC4\u5206\u9875)"
6598
+ }
6599
+ }
6600
+ },
6601
+ view: {
6602
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6603
+ "$defs": {
6604
+ "AfterHandler": {
6605
+ "type": "object",
6606
+ "properties": {
6607
+ "config": {
6608
+ "$ref": "#/$defs/Map(String,Object)"
6609
+ },
6610
+ "type": {
6611
+ "type": "string"
6612
+ }
6613
+ }
6614
+ },
6615
+ "Map(String,Object)": {
6616
+ "type": "object"
6617
+ },
6618
+ "Map(String,String)": {
6619
+ "type": "object"
6620
+ },
6621
+ "ParamConfig": {
6622
+ "type": "object",
6623
+ "required": ["name", "source"],
6624
+ "properties": {
6625
+ "name": { "type": "string", "minLength": 1 },
6626
+ "source": { "type": "string" },
6627
+ "path": { "type": "string" },
6628
+ "keyPath": { "type": "string" },
6629
+ "value": {},
6630
+ "expr": { "type": "string" },
6631
+ "promptText": { "type": "string" },
6632
+ "promptLabel": { "type": "string" },
6633
+ "inputType": { "type": "string" },
6634
+ "formSchema": { "$ref": "#/$defs/Map(String,Object)" },
6635
+ "formRef": { "$ref": "#/$defs/Map(String,Object)" },
6636
+ "required": { "type": "boolean" },
6637
+ "defaultValue": {},
6638
+ "into": { "type": "string" }
6639
+ }
6640
+ },
6641
+ "ServiceActionConfig": {
6642
+ "type": "object",
6643
+ "required": ["agentKey", "serviceKey"],
6644
+ "properties": {
6645
+ "agentKey": { "type": "string", "minLength": 1 },
6646
+ "serviceKey": { "type": "string", "minLength": 1 },
6647
+ "mode": { "type": "string", "enum": ["sync", "async"] },
6648
+ "timeoutMs": { "type": "integer", "minimum": 1e3 },
6649
+ "pollIntervalMs": { "type": "integer", "minimum": 100 }
6650
+ }
6651
+ },
6652
+ "ActionExecutionConfig": {
6653
+ "type": "object",
6654
+ "properties": {
6655
+ "returnOn": { "type": "string", "enum": ["terminal", "accepted"] }
6656
+ }
6657
+ },
6658
+ "CompositeActionConfig": {
6659
+ "type": "object",
6660
+ "required": ["steps"],
6661
+ "properties": {
6662
+ "mode": { "type": "string", "enum": ["sequential", "parallel"] },
6663
+ "stopOnError": { "type": "boolean" },
6664
+ "steps": {
6665
+ "type": "array",
6666
+ "minItems": 1,
6667
+ "items": {
6668
+ "oneOf": [
6669
+ { "type": "string", "minLength": 1 },
6670
+ {
6671
+ "type": "object",
6672
+ "required": ["action"],
6673
+ "properties": {
6674
+ "action": { "type": ["string", "object"] },
6675
+ "saveAs": { "type": "string", "minLength": 1 }
6676
+ }
6677
+ }
6678
+ ]
6679
+ }
6680
+ }
6681
+ }
6682
+ }
6683
+ },
6684
+ "type": "object",
6685
+ "properties": {
6686
+ "actions": {
6687
+ "description": "\u89C6\u56FE\u64CD\u4F5C\u6309\u94AE(\u7F16\u8F91\u7B49);\u901A\u5E38\u7531 ViewMetaEngine \u81EA\u52A8\u751F\u6210",
6688
+ "type": "array",
6689
+ "items": {
6690
+ "type": "object",
6691
+ "properties": {
6692
+ "after": {
6693
+ "type": "object",
6694
+ "properties": {
6695
+ "onBlock": {
6696
+ "type": "array",
6697
+ "items": {
6698
+ "$ref": "#/$defs/AfterHandler"
6699
+ }
6700
+ },
6701
+ "onError": {
6702
+ "type": "array",
6703
+ "items": {
6704
+ "$ref": "#/$defs/AfterHandler"
6705
+ }
6706
+ },
6707
+ "onEscalate": {
6708
+ "type": "array",
6709
+ "items": {
6710
+ "$ref": "#/$defs/AfterHandler"
6711
+ }
6712
+ },
6713
+ "onFinally": {
6714
+ "type": "array",
6715
+ "items": {
6716
+ "$ref": "#/$defs/AfterHandler"
6717
+ }
6718
+ },
6719
+ "onInfo": {
6720
+ "type": "array",
6721
+ "items": {
6722
+ "$ref": "#/$defs/AfterHandler"
6723
+ }
6724
+ },
6725
+ "onPass": {
6726
+ "type": "array",
6727
+ "items": {
6728
+ "$ref": "#/$defs/AfterHandler"
6729
+ }
6730
+ },
6731
+ "onSuccess": {
6732
+ "type": "array",
6733
+ "items": {
6734
+ "$ref": "#/$defs/AfterHandler"
6735
+ }
6736
+ },
6737
+ "onWarn": {
6738
+ "type": "array",
6739
+ "items": {
6740
+ "$ref": "#/$defs/AfterHandler"
6741
+ }
6742
+ }
6743
+ }
6744
+ },
6745
+ "api": {
6746
+ "type": "object",
6747
+ "properties": {
6748
+ "actionName": {
6749
+ "type": "string"
6750
+ },
6751
+ "awaitTask": {
6752
+ "type": "object",
6753
+ "properties": {
6754
+ "completionEventType": {
6755
+ "type": "string"
6756
+ },
6757
+ "completionStatus": {
6758
+ "type": "string"
6759
+ },
6760
+ "enabled": {
6761
+ "type": "boolean"
6762
+ },
6763
+ "pollIntervalMs": {
6764
+ "type": "integer"
6765
+ },
6766
+ "resultModel": {
6767
+ "type": "string"
6768
+ },
6769
+ "taskIdPath": {
6770
+ "type": "string"
6771
+ },
6772
+ "timeoutMs": {
6773
+ "type": "integer"
6774
+ }
6775
+ }
6776
+ },
6777
+ "i18n": {
6778
+ "type": "boolean"
6779
+ },
6780
+ "method": {
6781
+ "type": "string"
6782
+ },
6783
+ "responseType": {
6784
+ "type": "string"
6785
+ },
6786
+ "silent": {
6787
+ "type": "boolean"
6788
+ },
6789
+ "successMessage": {
6790
+ "type": "string"
6791
+ },
6792
+ "target": {
6793
+ "type": "string"
6794
+ },
6795
+ "targetModel": {
6796
+ "type": "string"
6797
+ }
6798
+ }
6799
+ },
6800
+ "buttonType": {
6801
+ "type": "string"
6802
+ },
6803
+ "confirmText": {
6804
+ "type": "string"
6805
+ },
6806
+ "confirmTitle": {
6807
+ "type": "string"
6808
+ },
6809
+ "custom": {
6810
+ "type": "object",
6811
+ "properties": {
6812
+ "key": {
6813
+ "type": "string"
6814
+ },
6815
+ "options": {
6816
+ "$ref": "#/$defs/Map(String,Object)"
6817
+ }
6818
+ }
6819
+ },
6820
+ "dialog": {
6821
+ "type": "object",
6822
+ "properties": {
6823
+ "component": {
6824
+ "type": "string"
6825
+ },
6826
+ "dialogType": {
6827
+ "type": "string"
6828
+ },
6829
+ "filterMapping": {
6830
+ "$ref": "#/$defs/Map(String,String)"
6831
+ },
6832
+ "form": {
6833
+ "$ref": "#/$defs/Map(String,Object)"
6834
+ },
6835
+ "i18n": {
6836
+ "type": "boolean"
6837
+ },
6838
+ "initDataMapping": {
6839
+ "$ref": "#/$defs/Map(String,String)"
6840
+ },
6841
+ "listHeight": {
6842
+ "type": "string"
6843
+ },
6844
+ "listSelection": {
6845
+ "type": "boolean",
6846
+ "description": "dialogType=list \u65F6\u662F\u5426\u663E\u793A\u884C\u9009\u62E9\u6846\uFF0C\u9ED8\u8BA4 true"
6847
+ },
6848
+ "plugin": {
6849
+ "type": "string"
6850
+ },
6851
+ "result": {
6852
+ "$ref": "#/$defs/Map(String,Object)"
6853
+ },
6854
+ "targetAction": {
6855
+ "type": "string"
6856
+ },
6857
+ "targetModel": {
6858
+ "type": "string"
6859
+ },
6860
+ "targetState": {
6861
+ "type": "string"
6862
+ },
6863
+ "targetStateMapping": {
6864
+ "$ref": "#/$defs/Map(String,Object)"
6865
+ },
6866
+ "title": {
6867
+ "type": "string"
6868
+ },
6869
+ "width": {
6870
+ "type": "string"
6871
+ }
6872
+ }
6873
+ },
6874
+ "disabled": {},
6875
+ "icon": {
6876
+ "type": "string"
6877
+ },
6878
+ "key": {
6879
+ "type": "string"
6880
+ },
6881
+ "label": {
6882
+ "type": "string"
6883
+ },
6884
+ "monitor": {
6885
+ "type": "object",
6886
+ "properties": {
6887
+ "scenario": {
6888
+ "type": "string"
6889
+ }
6890
+ }
6891
+ },
6892
+ "more": {
6893
+ "type": "boolean"
6894
+ },
6895
+ "navigate": {
6896
+ "type": "object",
6897
+ "properties": {
6898
+ "navigateType": {
6899
+ "type": "string"
6900
+ },
6901
+ "newWindow": {
6902
+ "type": "boolean"
6903
+ },
6904
+ "params": {
6905
+ "$ref": "#/$defs/Map(String,String)"
6906
+ },
6907
+ "path": {
6908
+ "type": "string"
6909
+ },
6910
+ "query": {
6911
+ "$ref": "#/$defs/Map(String,String)"
6912
+ },
6913
+ "routeName": {
6914
+ "type": "string"
6915
+ },
6916
+ "url": {
6917
+ "type": "string"
6918
+ }
6919
+ }
6920
+ },
6921
+ "needConfirm": {
6922
+ "type": "boolean"
6923
+ },
6924
+ "order": {
6925
+ "type": "integer"
6926
+ },
6927
+ "pageMode": {
6928
+ "type": "array",
6929
+ "items": {
6930
+ "type": "string"
6931
+ }
6932
+ },
6933
+ "position": {
6934
+ "type": "string"
6935
+ },
6936
+ "script": {
6937
+ "type": "object",
6938
+ "properties": {
6939
+ "mode": {
6940
+ "type": "string"
6941
+ },
6942
+ "params": {
6943
+ "$ref": "#/$defs/Map(String,Object)"
6944
+ },
6945
+ "scriptKey": {
6946
+ "type": "string"
6947
+ },
6948
+ "timeout": {
6949
+ "type": "integer"
6950
+ }
6951
+ }
6952
+ },
6953
+ "params": {
6954
+ "type": "array",
6955
+ "items": { "$ref": "#/$defs/ParamConfig" }
6956
+ },
6957
+ "service": {
6958
+ "$ref": "#/$defs/ServiceActionConfig"
6959
+ },
6960
+ "composite": {
6961
+ "$ref": "#/$defs/CompositeActionConfig"
6962
+ },
6963
+ "execution": {
6964
+ "$ref": "#/$defs/ActionExecutionConfig"
6965
+ },
6966
+ "type": {
6967
+ "type": "string"
6968
+ },
6969
+ "visible": {}
6970
+ }
6971
+ }
6972
+ },
6973
+ "additions": {
6974
+ "description": "\u5173\u8054\u6570\u636E\u914D\u7F6E;\u67E5\u770B\u8BE6\u60C5\u65F6\u8054\u8868\u62C9\u5173\u8054\u5BF9\u8C61(\u7801\u8868/\u5173\u8054\u5B9E\u4F53)\u3002ViewMetaEngine \u81EA\u52A8\u6309 object \u751F\u6210",
6975
+ "type": "array",
6976
+ "items": {
6977
+ "type": "object",
6978
+ "properties": {
6979
+ "filter": {
6980
+ "type": "object"
6981
+ },
6982
+ "joinType": {
6983
+ "type": "string"
6984
+ },
6985
+ "key": {
6986
+ "type": "string"
6987
+ },
6988
+ "label": {
6989
+ "type": "string"
6990
+ },
6991
+ "model": {
6992
+ "type": "string"
6993
+ },
6994
+ "onDemand": {
6995
+ "type": "boolean"
6996
+ },
6997
+ "relation": {
6998
+ "$ref": "#/$defs/Map(String,Object)"
6999
+ },
7000
+ "type": {
7001
+ "type": "string"
7002
+ }
7003
+ }
7004
+ }
7005
+ },
7006
+ "description": {
7007
+ "type": "string",
7008
+ "description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
7009
+ },
7010
+ "fields": {
7011
+ "description": "\u5B57\u6BB5\u5217\u8868;Moirai patch-ops \u4E2D\u7531 spec.ops[] \u63A5\u7BA1,topPatches \u4E0D\u5E94\u518D\u5199 fields",
7012
+ "type": "array",
7013
+ "items": {
7014
+ "type": "object",
7015
+ "properties": {
7016
+ "autoGenerate": {
7017
+ "type": "boolean"
7018
+ },
7019
+ "component": {
7020
+ "type": "string"
7021
+ },
7022
+ "field": {
7023
+ "type": "string"
7024
+ },
7025
+ "hidden": {
7026
+ "type": "boolean"
7027
+ },
7028
+ "key": {
7029
+ "type": "string"
7030
+ },
7031
+ "label": {
7032
+ "type": "string"
7033
+ },
7034
+ "mask": {
7035
+ "type": "object"
7036
+ },
7037
+ "options": {
7038
+ "$ref": "#/$defs/Map(String,Object)"
7039
+ },
7040
+ "sequence": {
7041
+ "type": "integer"
7042
+ },
7043
+ "width": {
7044
+ "type": "integer"
7045
+ }
7046
+ }
7047
+ }
7048
+ },
7049
+ "groups": {
7050
+ "description": "\u67E5\u770B\u9875\u5B57\u6BB5\u5206\u7EC4;\u6BCF\u9879\u542B key + label + fields[],\u628A\u5B57\u6BB5\u5207\u5230\u5206\u7EC4\u4E0B\u6E32\u67D3\u3002\u4E3A\u7A7A\u65F6\u6241\u5E73\u6E32\u67D3\u6240\u6709\u5B57\u6BB5",
7051
+ "type": "array",
7052
+ "items": {
7053
+ "type": "object",
7054
+ "properties": {
7055
+ "fields": {
7056
+ "type": "array",
7057
+ "items": {
7058
+ "type": "string"
7059
+ }
7060
+ },
7061
+ "key": {
7062
+ "type": "string"
7063
+ },
7064
+ "label": {
7065
+ "type": "string"
7066
+ }
7067
+ }
7068
+ }
7069
+ },
7070
+ "key": {
7071
+ "type": "string",
7072
+ "description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
7073
+ },
7074
+ "labelPosition": {
7075
+ "type": "string",
7076
+ "enum": ["top", "left", "right"],
7077
+ "description": "\u67E5\u770B\u9875\u6807\u7B7E\u4F4D\u7F6E;\u9875\u9762\u7EA7(\u975E field \u7EA7),\u503C\u57DF top|left|right;top=label \u5728\u503C\u4E0A\u65B9,left/right=\u6A2A\u5411\u6392\u5E03;YAML \u7F3A\u7701\u65F6\u540E\u7AEF\u5F15\u64CE\u8865\u9ED8\u8BA4 top \u4E0B\u53D1,\u79DF\u6237\u5C42\u53EF\u8986\u76D6"
7078
+ },
7079
+ "name": {
7080
+ "type": "string",
7081
+ "description": '\u5143\u6570\u636E\u663E\u793A\u540D\u79F0(\u5982 "\u7EC4\u7EC7\u5355\u5143");\u901A\u5E38\u7528\u4E8E\u9875\u9762\u6807\u9898\u6216\u5143\u6570\u636E\u6D4F\u89C8'
7082
+ }
7083
+ }
7084
+ },
7085
+ filter: {
7086
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
7087
+ "type": "object",
7088
+ "properties": {
7089
+ "description": {
7090
+ "type": "string",
7091
+ "description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
7092
+ },
7093
+ "fields": {
7094
+ "description": "\u8FC7\u6EE4\u5B57\u6BB5\u5217\u8868;Moirai patch-ops \u4E2D\u7531 spec.ops[] \u63A5\u7BA1,topPatches \u4E0D\u5E94\u518D\u5199 fields",
7095
+ "type": "array",
7096
+ "items": {
7097
+ "type": "object",
7098
+ "properties": {
7099
+ "autoGenerate": {
7100
+ "type": "boolean"
7101
+ },
7102
+ "bindsEffectiveDate": {
7103
+ "type": "boolean"
7104
+ },
7105
+ "component": {
7106
+ "type": "string"
7107
+ },
7108
+ "defaultValue": {},
7109
+ "hidden": {
7110
+ "type": "boolean"
7111
+ },
7112
+ "key": {
7113
+ "type": "string"
7114
+ },
7115
+ "label": {
7116
+ "type": "string"
7117
+ },
7118
+ "operators": {
7119
+ "type": "array",
7120
+ "items": {
7121
+ "type": "string",
7122
+ "enum": ["EQUAL", "NOT_EQUAL", "GREATER_THAN", "LESS_THAN", "GREATER_THAN_OR_EQUAL", "LESS_THAN_OR_EQUAL", "LIKE", "NOT_LIKE", "CONTAINS", "STARTSWITH", "ENDSWITH", "IN", "NOT_IN", "IS_NULL", "IS_NOT_NULL", "ARRAY_CONTAINS", "BETWEEN", "CHILD_OF", "PARENT_OF", "ORG_SUBTREE_OF"]
7123
+ }
7124
+ },
7125
+ "options": {
7126
+ "type": "object"
7127
+ },
7128
+ "periodEndKey": {
7129
+ "type": "string"
7130
+ },
7131
+ "readonly": {
7132
+ "type": "boolean"
7133
+ },
7134
+ "required": {
7135
+ "type": "boolean"
7136
+ },
7137
+ "sequence": {
7138
+ "type": "integer"
7139
+ },
7140
+ "valueMatchable": {
7141
+ "type": "boolean"
7142
+ },
7143
+ "visibleWhen": {
7144
+ "type": "object",
7145
+ "properties": {
7146
+ "field": {
7147
+ "type": "string"
7148
+ },
7149
+ "operator": {
7150
+ "type": "string"
7151
+ },
7152
+ "value": {}
7153
+ }
7154
+ },
7155
+ "width": {
7156
+ "type": "integer"
7157
+ }
7158
+ }
7159
+ }
7160
+ },
7161
+ "key": {
7162
+ "type": "string",
7163
+ "description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
7164
+ },
7165
+ "name": {
7166
+ "type": "string",
7167
+ "description": '\u5143\u6570\u636E\u663E\u793A\u540D\u79F0(\u5982 "\u7EC4\u7EC7\u5355\u5143");\u901A\u5E38\u7528\u4E8E\u9875\u9762\u6807\u9898\u6216\u5143\u6570\u636E\u6D4F\u89C8'
7168
+ }
7169
+ }
7170
+ },
7171
+ model: {
7172
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
7173
+ "$defs": {
7174
+ "DerivedValueType": {
7175
+ "type": "string",
7176
+ "enum": ["STRING", "INTEGER", "LONG", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "JSON"]
7177
+ },
7178
+ "Map(String,Object)": {
7179
+ "type": "object"
7180
+ },
7181
+ "ModelScriptTriggerMeta": {
7182
+ "type": "object",
7183
+ "properties": {
7184
+ "event": {
7185
+ "type": "string"
7186
+ },
7187
+ "fields": {
7188
+ "type": "array",
7189
+ "items": {
7190
+ "type": "string"
7191
+ }
7192
+ },
7193
+ "model": {
7194
+ "type": "string"
7195
+ }
7196
+ }
7197
+ },
7198
+ "QueryAddition": {
7199
+ "type": "object",
7200
+ "properties": {
7201
+ "filter": {
7202
+ "type": "object"
7203
+ },
7204
+ "joinType": {
7205
+ "type": "string"
7206
+ },
7207
+ "key": {
7208
+ "type": "string"
7209
+ },
7210
+ "label": {
7211
+ "type": "string"
7212
+ },
7213
+ "model": {
7214
+ "type": "string"
7215
+ },
7216
+ "onDemand": {
7217
+ "type": "boolean"
7218
+ },
7219
+ "relation": {
7220
+ "$ref": "#/$defs/Map(String,Object)"
7221
+ },
7222
+ "type": {
7223
+ "type": "string"
7224
+ }
7225
+ }
7226
+ },
7227
+ "ScopeResolverMeta": {
7228
+ "type": "object",
7229
+ "properties": {
7230
+ "additions": {
7231
+ "type": "array",
7232
+ "items": {
7233
+ "$ref": "#/$defs/QueryAddition"
7234
+ }
7235
+ },
7236
+ "field": {
7237
+ "type": "string"
7238
+ },
7239
+ "type": {
7240
+ "type": "string"
7241
+ }
7242
+ }
7243
+ },
7244
+ "ToolParameter": {
7245
+ "type": "object",
7246
+ "properties": {
7247
+ "constraints": {
7248
+ "$ref": "#/$defs/Map(String,Object)"
7249
+ },
7250
+ "defaultValue": {},
7251
+ "description": {
7252
+ "type": "string"
7253
+ },
7254
+ "enumValues": {
7255
+ "type": "array",
7256
+ "items": {
7257
+ "type": "string"
7258
+ }
7259
+ },
7260
+ "format": {
7261
+ "type": "string"
7262
+ },
7263
+ "items": {
7264
+ "$ref": "#/$defs/ToolParameter"
7265
+ },
7266
+ "name": {
7267
+ "type": "string"
7268
+ },
7269
+ "properties": {
7270
+ "type": "array",
7271
+ "items": {
7272
+ "$ref": "#/$defs/ToolParameter"
7273
+ }
7274
+ },
7275
+ "required": {
7276
+ "type": "boolean"
7277
+ },
7278
+ "type": {
7279
+ "type": "string"
7280
+ }
7281
+ }
7282
+ }
7283
+ },
7284
+ "type": "object",
7285
+ "properties": {
7286
+ "actions": {
7287
+ "type": "array",
7288
+ "items": {
7289
+ "type": "object",
7290
+ "properties": {
7291
+ "description": {
7292
+ "type": "string"
7293
+ },
7294
+ "httpMethod": {
7295
+ "type": "string"
7296
+ },
7297
+ "key": {
7298
+ "type": "string"
7299
+ },
7300
+ "label": {
7301
+ "type": "string"
7302
+ },
7303
+ "methodName": {
7304
+ "type": "string"
7305
+ },
7306
+ "paramNames": {
7307
+ "type": "array",
7308
+ "items": {
7309
+ "type": "string"
7310
+ }
7311
+ },
7312
+ "paramTypes": {
7313
+ "type": "array",
7314
+ "items": {
7315
+ "type": "string"
7316
+ }
7317
+ },
7318
+ "parameters": {
7319
+ "type": "array",
7320
+ "items": {
7321
+ "$ref": "#/$defs/ToolParameter"
7322
+ }
7323
+ },
7324
+ "returnType": {
7325
+ "type": "string"
7326
+ },
7327
+ "scope": {
7328
+ "type": "string"
7329
+ },
7330
+ "source": {
7331
+ "type": "string"
7332
+ }
7333
+ }
7334
+ }
7335
+ },
7336
+ "description": {
7337
+ "type": "string",
7338
+ "description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
7339
+ },
7340
+ "domain": {
7341
+ "type": "string",
7342
+ "enum": ["HR", "PAYROLL", "ATTENDANCE", "RECRUIT", "ORG", "SYSTEM", "OTHER"]
7343
+ },
7344
+ "eventActions": {
7345
+ "type": "array",
7346
+ "items": {
7347
+ "type": "object",
7348
+ "properties": {
7349
+ "actionKey": {
7350
+ "type": "string"
7351
+ },
7352
+ "mode": {
7353
+ "type": "string"
7354
+ },
7355
+ "params": {
7356
+ "$ref": "#/$defs/Map(String,Object)"
7357
+ },
7358
+ "scope": {
7359
+ "type": "string"
7360
+ },
7361
+ "script": {
7362
+ "type": "object",
7363
+ "properties": {
7364
+ "mode": {
7365
+ "type": "string"
7366
+ },
7367
+ "params": {
7368
+ "$ref": "#/$defs/Map(String,Object)"
7369
+ },
7370
+ "scriptKey": {
7371
+ "type": "string"
7372
+ },
7373
+ "timeout": {
7374
+ "type": "integer"
7375
+ }
7376
+ }
7377
+ },
7378
+ "targetModel": {
7379
+ "type": "string"
7380
+ },
7381
+ "triggers": {
7382
+ "type": "array",
7383
+ "items": {
7384
+ "$ref": "#/$defs/ModelScriptTriggerMeta"
7385
+ }
7386
+ },
7387
+ "type": {
7388
+ "type": "string"
7389
+ }
7390
+ }
7391
+ }
7392
+ },
7393
+ "fields": {
7394
+ "type": "array",
7395
+ "items": {
7396
+ "type": "object",
7397
+ "properties": {
7398
+ "autoGenerate": {
7399
+ "type": "boolean"
7400
+ },
7401
+ "columnSlot": {
7402
+ "type": "string"
7403
+ },
7404
+ "defaultValue": {},
7405
+ "derived": {
7406
+ "anyOf": [{
7407
+ "type": "object",
7408
+ "properties": {
7409
+ "expression": {
7410
+ "type": "string"
7411
+ },
7412
+ "filterable": {
7413
+ "type": "boolean"
7414
+ },
7415
+ "pushDownable": {
7416
+ "type": "boolean"
7417
+ },
7418
+ "returnType": {
7419
+ "$ref": "#/$defs/DerivedValueType"
7420
+ },
7421
+ "sectionMasks": {
7422
+ "type": "object"
7423
+ },
7424
+ "sortable": {
7425
+ "type": "boolean"
7426
+ },
7427
+ "kind": {
7428
+ "const": "expression"
7429
+ }
7430
+ },
7431
+ "required": ["kind"]
7432
+ }, {
7433
+ "type": "object",
7434
+ "properties": {
7435
+ "additions": {
7436
+ "type": "array",
7437
+ "items": {
7438
+ "$ref": "#/$defs/QueryAddition"
7439
+ }
7440
+ },
7441
+ "field": {
7442
+ "type": "string"
7443
+ },
7444
+ "filter": {
7445
+ "type": "array",
7446
+ "items": {
7447
+ "type": "object",
7448
+ "properties": {
7449
+ "field": {
7450
+ "type": "string"
7451
+ },
7452
+ "operator": {
7453
+ "type": "string",
7454
+ "enum": ["EQUAL", "NOT_EQUAL", "GREATER_THAN", "LESS_THAN", "GREATER_THAN_OR_EQUAL", "LESS_THAN_OR_EQUAL", "LIKE", "NOT_LIKE", "CONTAINS", "STARTSWITH", "ENDSWITH", "IN", "NOT_IN", "IS_NULL", "IS_NOT_NULL", "BETWEEN", "CHILD_OF", "PARENT_OF"]
7455
+ },
7456
+ "value": {}
7457
+ }
7458
+ }
7459
+ },
7460
+ "filterable": {
7461
+ "type": "boolean"
7462
+ },
7463
+ "function": {
7464
+ "type": "string",
7465
+ "enum": ["count", "sum", "avg", "max", "min", "count_distinct", "string_agg"]
7466
+ },
7467
+ "pushDownable": {
7468
+ "type": "boolean"
7469
+ },
7470
+ "returnType": {
7471
+ "$ref": "#/$defs/DerivedValueType"
7472
+ },
7473
+ "separator": {
7474
+ "type": "string"
7475
+ },
7476
+ "sortable": {
7477
+ "type": "boolean"
7478
+ },
7479
+ "kind": {
7480
+ "const": "aggregate"
7481
+ }
7482
+ },
7483
+ "required": ["kind"]
7484
+ }]
7485
+ },
7486
+ "description": {
7487
+ "type": "string"
7488
+ },
7489
+ "encrypted": {
7490
+ "type": "object",
7491
+ "properties": {
7492
+ "algorithmId": {
7493
+ "type": "string"
7494
+ },
7495
+ "credentialType": {
7496
+ "type": "string"
7497
+ },
7498
+ "kind": {
7499
+ "type": "string",
7500
+ "enum": ["NUMERIC_STRING", "TEXT"]
7501
+ },
7502
+ "mode": {
7503
+ "type": "string",
7504
+ "enum": ["DB_DECRYPTABLE", "CLIENT_ONLY"]
7505
+ }
7506
+ }
7507
+ },
7508
+ "enums": {
7509
+ "type": "array",
7510
+ "items": {
7511
+ "type": "object",
7512
+ "properties": {
7513
+ "color": {
7514
+ "type": "string"
7515
+ },
7516
+ "effect": {
7517
+ "type": "string"
7518
+ },
7519
+ "key": {
7520
+ "type": "string"
7521
+ },
7522
+ "label": {
7523
+ "type": "string"
7524
+ },
7525
+ "type": {
7526
+ "type": "string"
7527
+ },
7528
+ "value": {}
7529
+ }
7530
+ }
7531
+ },
7532
+ "fixedField": {
7533
+ "type": "string"
7534
+ },
7535
+ "hint": {
7536
+ "type": "string",
7537
+ "description": "\u5B57\u6BB5\u63D0\u793A\u6587\u672C(UI tooltip / AI \u63CF\u8FF0);\u53EF\u8986\u76D6 @FieldMetaAnno.hint"
7538
+ },
7539
+ "isFilter": {
7540
+ "type": "boolean"
7541
+ },
7542
+ "isFlex": {
7543
+ "type": "boolean"
7544
+ },
7545
+ "isI18n": {
7546
+ "type": "boolean"
7547
+ },
7548
+ "isInfo": {
7549
+ "type": "boolean"
7550
+ },
7551
+ "isList": {
7552
+ "type": "boolean"
7553
+ },
7554
+ "isReadonly": {
7555
+ "type": "boolean"
7556
+ },
7557
+ "isRequired": {
7558
+ "type": "boolean"
7559
+ },
7560
+ "isSearch": {
7561
+ "type": "boolean"
7562
+ },
7563
+ "isTree": {
7564
+ "type": "boolean"
7565
+ },
7566
+ "isView": {
7567
+ "type": "boolean"
7568
+ },
7569
+ "jsonSchema": {
7570
+ "type": "array",
7571
+ "items": {
7572
+ "$ref": "#/$defs/ToolParameter"
7573
+ }
7574
+ },
7575
+ "key": {
7576
+ "type": "string"
7577
+ },
7578
+ "keyField": {
7579
+ "type": "boolean"
7580
+ },
7581
+ "length": {
7582
+ "type": "integer"
7583
+ },
7584
+ "name": {
7585
+ "type": "string"
7586
+ },
7587
+ "numericCast": {
7588
+ "type": "boolean"
7589
+ },
7590
+ "object": {
7591
+ "type": "string"
7592
+ },
7593
+ "objectLabel": {
7594
+ "type": "string"
7595
+ },
7596
+ "refer": {
7597
+ "type": "string"
7598
+ },
7599
+ "sequence": {
7600
+ "type": "integer"
7601
+ },
7602
+ "storage": {
7603
+ "type": "string"
7604
+ },
7605
+ "synonyms": {
7606
+ "type": "array",
7607
+ "items": {
7608
+ "type": "string"
7609
+ }
7610
+ },
7611
+ "treeLoadMode": {
7612
+ "type": "string"
7613
+ },
7614
+ "type": {
7615
+ "type": "string",
7616
+ "enum": ["uuid", "string", "boolean", "integer", "float", "date", "datetime", "time"]
7617
+ }
7618
+ }
7619
+ }
7620
+ },
7621
+ "key": {
7622
+ "type": "string",
7623
+ "description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
7624
+ },
7625
+ "name": {
7626
+ "type": "string",
7627
+ "description": '\u5143\u6570\u636E\u663E\u793A\u540D\u79F0(\u5982 "\u7EC4\u7EC7\u5355\u5143");\u901A\u5E38\u7528\u4E8E\u9875\u9762\u6807\u9898\u6216\u5143\u6570\u636E\u6D4F\u89C8'
7628
+ },
7629
+ "permission": {
7630
+ "type": "object",
7631
+ "properties": {
7632
+ "grants": {
7633
+ "type": "array",
7634
+ "items": {
7635
+ "type": "object",
7636
+ "properties": {
7637
+ "actions": {
7638
+ "type": "array",
7639
+ "items": {
7640
+ "type": "string"
7641
+ }
7642
+ },
7643
+ "match": {
7644
+ "type": "string"
7645
+ },
7646
+ "role": {
7647
+ "type": "string"
7648
+ }
7649
+ }
7650
+ }
7651
+ },
7652
+ "scope": {
7653
+ "type": "object",
7654
+ "properties": {
7655
+ "org": {
7656
+ "$ref": "#/$defs/ScopeResolverMeta"
7657
+ },
7658
+ "owner": {
7659
+ "$ref": "#/$defs/ScopeResolverMeta"
7660
+ },
7661
+ "wf": {
7662
+ "$ref": "#/$defs/ScopeResolverMeta"
7663
+ }
7664
+ }
7665
+ }
7666
+ }
7667
+ },
7668
+ "purpose": {
7669
+ "type": "string"
7670
+ },
7671
+ "relations": {
7672
+ "type": "array",
7673
+ "items": {
7674
+ "$ref": "#/$defs/Map(String,Object)"
7675
+ }
7676
+ },
7677
+ "scripts": {
7678
+ "type": "array",
7679
+ "items": {
7680
+ "type": "object",
7681
+ "properties": {
7682
+ "params": {
7683
+ "$ref": "#/$defs/Map(String,Object)"
7684
+ },
7685
+ "scriptKey": {
7686
+ "type": "string"
7687
+ },
7688
+ "timeout": {
7689
+ "type": "integer"
7690
+ },
7691
+ "triggers": {
7692
+ "type": "array",
7693
+ "items": {
7694
+ "$ref": "#/$defs/ModelScriptTriggerMeta"
7695
+ }
7696
+ }
7697
+ }
7698
+ }
7699
+ },
7700
+ "synonyms": {
7701
+ "type": "array",
7702
+ "items": {
7703
+ "type": "string"
7704
+ }
7705
+ },
7706
+ "systemPreset": {
7707
+ "type": "object",
7708
+ "additionalProperties": false,
7709
+ "properties": {
7710
+ "enabled": {
7711
+ "type": "boolean"
7712
+ },
7713
+ "systemLabel": {},
7714
+ "tier": {
7715
+ "type": "string",
7716
+ "enum": ["A1", "A2"]
7717
+ }
7718
+ }
7719
+ },
7720
+ "typicalQueries": {
7721
+ "type": "array",
7722
+ "items": {
7723
+ "type": "string"
7724
+ }
7725
+ }
7726
+ }
7727
+ },
7728
+ page: {
7729
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
7730
+ "$defs": {
7731
+ "DetailPanelConfig": {
7732
+ "type": "object",
7733
+ "properties": {
7734
+ "badge": {
7735
+ "type": "object",
7736
+ "properties": {
7737
+ "expression": {
7738
+ "type": "string"
7739
+ },
7740
+ "type": {
7741
+ "type": "string"
7742
+ }
7743
+ }
7744
+ },
7745
+ "display": {
7746
+ "type": "string"
7747
+ },
7748
+ "dynamicFromField": {
7749
+ "type": "string"
7750
+ },
7751
+ "filterField": {
7752
+ "type": "string"
7753
+ },
7754
+ "group": {
7755
+ "type": "string",
7756
+ "description": "master-detail \u83DC\u5355\u5206\u7EC4 key,\u5BF9\u5E94 layout.menu.groups[].key"
7757
+ },
7758
+ "hidden": {
7759
+ "type": "boolean"
7760
+ },
7761
+ "hint": {
7762
+ "type": "string",
7763
+ "description": "master-detail \u5B50\u96C6\u5185\u5BB9\u533A\u9876\u90E8\u7684\u9759\u6001\u63D0\u793A\u6761\u6587\u6848\uFF1B\u72B6\u6001 Provider \u7684\u52A8\u6001\u63D0\u793A\u4F18\u5148\uFF0C\u672C\u5B57\u6BB5\u515C\u5E95"
7764
+ },
7765
+ "icon": {
7766
+ "type": "string"
7767
+ },
7768
+ "infoEditable": {
7769
+ "type": "boolean",
7770
+ "description": "display:info \u9762\u677F\u5141\u8BB8\u5185\u8054\u7F16\u8F91\u672C\u8BB0\u5F55\u5B57\u6BB5\uFF1B\u9ED8\u8BA4 false\uFF0C\u672A\u5F00\u542F\u7EF4\u6301\u53EA\u8BFB"
7771
+ },
7772
+ "key": {
7773
+ "type": "string"
7774
+ },
7775
+ "label": {
7776
+ "type": "string"
7777
+ },
7778
+ "model": {
7779
+ "type": "string"
7780
+ },
7781
+ "relation": {
7782
+ "type": "object",
7783
+ "properties": {
7784
+ "additionalKeys": {
7785
+ "type": "array",
7786
+ "description": "\u9644\u52A0\u5173\u8054\u952E;\u503C\u53D6\u81EA\u4E3B\u8BB0\u5F55\u5B57\u6BB5(\u52A8\u6001),\u533A\u522B\u4E8E staticFilters \u7684\u5B57\u9762\u91CF;\u4E3B\u8BB0\u5F55\u53D6\u4E0D\u5230\u503C\u7684\u952E\u6574\u6761\u8DF3\u8FC7,\u4E0D\u9000\u5316\u6210\u4E0D\u8FC7\u6EE4",
7787
+ "items": {
7788
+ "type": "object",
7789
+ "properties": {
7790
+ "sourceField": {
7791
+ "type": "string",
7792
+ "minLength": 1
7793
+ },
7794
+ "targetField": {
7795
+ "type": "string",
7796
+ "minLength": 1
7797
+ },
7798
+ "operator": {
7799
+ "type": "string",
7800
+ "enum": ["eq", "ne", "gt", "lt", "gte", "lte", "like", "contains", "startswith", "endswith", "in", "not_in", "is_null", "is_not_null", "co", "po"]
7801
+ }
7802
+ },
7803
+ "required": ["sourceField", "targetField"]
7804
+ }
7805
+ },
7806
+ "sourceField": {
7807
+ "type": "string"
7808
+ },
7809
+ "staticFilters": {
7810
+ "type": "array",
7811
+ "description": "\u9664\u4E3B\u952E\u5173\u8054\u5916\u9644\u52A0\u7684\u56FA\u5B9A AND \u6761\u4EF6;value \u652F\u6301 $query:<name> token \u4ECE\u8DEF\u7531 query \u53D6\u503C",
7812
+ "items": {
7813
+ "type": "object",
7814
+ "properties": {
7815
+ "field": {
7816
+ "type": "string",
7817
+ "minLength": 1
7818
+ },
7819
+ "operator": {
7820
+ "type": "string",
7821
+ "enum": ["eq", "ne", "gt", "lt", "gte", "lte", "like", "contains", "startswith", "endswith", "in", "not_in", "is_null", "is_not_null", "co", "po"]
7822
+ },
7823
+ "value": {
7824
+ "oneOf": [{
7825
+ "type": "string"
7826
+ }, {
7827
+ "type": "number"
7828
+ }, {
7829
+ "type": "boolean"
7830
+ }, {
7831
+ "type": "array",
7832
+ "items": {
7833
+ "type": "string"
7834
+ }
7835
+ }]
7836
+ }
7837
+ },
7838
+ "required": ["field", "operator"]
7839
+ }
7840
+ },
7841
+ "targetField": {
7842
+ "type": "string"
7843
+ },
7844
+ "type": {
7845
+ "type": "string"
7846
+ }
7847
+ }
7848
+ },
7849
+ "state": {
7850
+ "type": "string"
7851
+ },
7852
+ "status": {
7853
+ "$ref": "#/$defs/DetailStatusConfig"
7854
+ },
7855
+ "tooltip": {
7856
+ "type": "string",
7857
+ "description": "master-detail \u5B50\u96C6\u63D0\u793A\u6587\u6848,\u7528\u4E8E\u83DC\u5355\u6216\u8BE6\u60C5\u6807\u9898 hover"
7858
+ }
7859
+ }
7860
+ },
7861
+ "DetailStatusConfig": {
7862
+ "type": "object",
7863
+ "properties": {
7864
+ "anchor": {
7865
+ "type": "string",
7866
+ "description": "Provider \u8FD4\u56DE\u7684\u72B6\u6001\u951A\u70B9;\u9ED8\u8BA4\u5EFA\u8BAE\u4E0E detail key \u4E00\u81F4"
7867
+ },
7868
+ "providerKey": {
7869
+ "type": "string",
7870
+ "description": "\u5F15\u7528 layout.statusProviders \u4E2D\u58F0\u660E\u7684 provider key"
7871
+ }
7872
+ }
7873
+ },
7874
+ "ListPanelConfig": {
7875
+ "type": "object",
7876
+ "properties": {
7877
+ "model": {
7878
+ "type": "string"
7879
+ },
7880
+ "state": {
7881
+ "type": "string"
7882
+ }
7883
+ }
7884
+ },
7885
+ "Map(String,Object)": {
7886
+ "type": "object"
7887
+ },
7888
+ "Map(String,String)": {
7889
+ "type": "object"
7890
+ },
7891
+ "MasterNavigationConfig": {
7892
+ "type": "object",
7893
+ "properties": {
7894
+ "enabled": {
7895
+ "type": "boolean"
7896
+ },
7897
+ "source": {
7898
+ "type": "string",
7899
+ "enum": ["listSnapshot", "route", "provider"]
7900
+ }
7901
+ }
7902
+ },
7903
+ "MasterSummaryProviderConfig": {
7904
+ "type": "object",
7905
+ "properties": {
7906
+ "kind": {
7907
+ "type": "string",
7908
+ "enum": ["percent", "count", "badge", "text"]
7909
+ },
7910
+ "providerKey": {
7911
+ "type": "string"
7912
+ }
7913
+ }
7914
+ },
7915
+ "MenuGroupConfig": {
7916
+ "type": "object",
7917
+ "properties": {
7918
+ "key": {
7919
+ "type": "string"
7920
+ },
7921
+ "label": {
7922
+ "type": "string"
7923
+ },
7924
+ "order": {
7925
+ "type": "integer"
7926
+ },
7927
+ "collapsible": {
7928
+ "type": "boolean",
7929
+ "description": "\u662F\u5426\u5141\u8BB8\u70B9\u51FB\u5206\u7EC4\u6807\u9898\u5C55\u5F00/\u6536\u8D77,\u9ED8\u8BA4 true"
7930
+ },
7931
+ "defaultCollapsed": {
7932
+ "type": "boolean",
7933
+ "description": "\u662F\u5426\u9ED8\u8BA4\u6536\u8D77,\u5F53\u524D\u6FC0\u6D3B\u9879\u6240\u5728\u5206\u7EC4\u4F1A\u81EA\u52A8\u5C55\u5F00"
7934
+ }
7935
+ }
7936
+ },
7937
+ "StatusProviderBindConfig": {
7938
+ "type": "object",
7939
+ "additionalProperties": {
7940
+ "type": "string"
7941
+ },
7942
+ "description": 'Provider \u53C2\u6570\u7ED1\u5B9A\u8868\u8FBE\u5F0F,\u5982 employeeId: "$master.id"'
7943
+ },
7944
+ "StatusProviderConfig": {
7945
+ "type": "object",
7946
+ "properties": {
7947
+ "bind": {
7948
+ "$ref": "#/$defs/StatusProviderBindConfig"
7949
+ },
7950
+ "provider": {
7951
+ "type": "string"
7952
+ }
7953
+ }
7954
+ },
7955
+ "StatusProviderMap": {
7956
+ "type": "object",
7957
+ "additionalProperties": {
7958
+ "$ref": "#/$defs/StatusProviderConfig"
7959
+ }
7960
+ },
7961
+ "TreeListInteraction": {
7962
+ "type": "object",
7963
+ "properties": {
7964
+ "autoSelectFirst": {
7965
+ "type": "boolean"
7966
+ },
7967
+ "filterField": {
7968
+ "type": "string"
7969
+ },
7970
+ "filterFieldByDepth": {
7971
+ "$ref": "#/$defs/Map(String,String)"
7972
+ },
7973
+ "filterOperator": {
7974
+ "type": "string"
7975
+ },
7976
+ "searchScope": {
7977
+ "type": "object",
7978
+ "properties": {
7979
+ "filterField": {
7980
+ "type": "string"
7981
+ },
7982
+ "filterOperator": {
7983
+ "type": "string"
7984
+ }
7985
+ }
7986
+ },
7987
+ "showAllOnRoot": {
7988
+ "type": "boolean"
7989
+ }
7990
+ }
7991
+ },
7992
+ "TreePanelConfig": {
7993
+ "type": "object",
7994
+ "properties": {
7995
+ "defaultExpandLevel": {
7996
+ "type": "integer"
7997
+ },
7998
+ "dissolvedToggle": {
7999
+ "type": "object",
8000
+ "properties": {
8001
+ "displaySuffix": {
8002
+ "type": "string"
8003
+ },
8004
+ "dissolvedValue": {
8005
+ "type": "string"
8006
+ },
8007
+ "field": {
8008
+ "type": "string"
8009
+ },
8010
+ "label": {
8011
+ "type": "string"
8012
+ }
8013
+ }
8014
+ },
8015
+ "labelField": {
8016
+ "type": "string"
8017
+ },
8018
+ "loadMode": {
8019
+ "type": "string"
8020
+ },
8021
+ "manageEntry": {
8022
+ "type": "object",
8023
+ "properties": {
8024
+ "dialogTitle": {
8025
+ "type": "string"
8026
+ },
8027
+ "icon": {
8028
+ "type": "string",
8029
+ "enum": ["hamburger", "settings"]
8030
+ },
8031
+ "modelState": {
8032
+ "type": "string"
8033
+ },
8034
+ "width": {
8035
+ "type": "string"
8036
+ }
8037
+ }
8038
+ },
8039
+ "model": {
8040
+ "type": "string"
8041
+ },
8042
+ "parentField": {
8043
+ "type": "string"
8044
+ },
8045
+ "rootValue": {},
8046
+ "searchPlaceholder": {
8047
+ "type": "string"
8048
+ },
8049
+ "showDateControl": {
8050
+ "type": "boolean"
8051
+ },
8052
+ "showSearch": {
8053
+ "type": "boolean"
8054
+ },
8055
+ "state": {
8056
+ "type": "string"
8057
+ },
8058
+ "title": {
8059
+ "type": "string"
8060
+ },
8061
+ "treeAction": {
8062
+ "type": "string"
8063
+ },
8064
+ "width": {}
8065
+ }
8066
+ }
8067
+ },
8068
+ "type": "object",
8069
+ "properties": {
8070
+ "description": {
8071
+ "type": "string",
8072
+ "description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
8073
+ },
8074
+ "key": {
8075
+ "type": "string",
8076
+ "description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
8077
+ },
8078
+ "layout": {
8079
+ "anyOf": [{
8080
+ "type": "object",
8081
+ "properties": {
8082
+ "interaction": {
8083
+ "$ref": "#/$defs/TreeListInteraction"
8084
+ },
8085
+ "list": {
8086
+ "$ref": "#/$defs/ListPanelConfig"
8087
+ },
8088
+ "tree": {
8089
+ "$ref": "#/$defs/TreePanelConfig"
8090
+ },
8091
+ "type": {
8092
+ "const": "tree-list"
8093
+ }
8094
+ },
8095
+ "required": ["type"]
8096
+ }, {
8097
+ "type": "object",
8098
+ "properties": {
8099
+ "interaction": {
8100
+ "$ref": "#/$defs/TreeListInteraction"
8101
+ },
8102
+ "list": {
8103
+ "$ref": "#/$defs/ListPanelConfig"
8104
+ },
8105
+ "tree": {
8106
+ "$ref": "#/$defs/TreePanelConfig"
8107
+ },
8108
+ "type": {
8109
+ "const": "tree-list2"
8110
+ }
8111
+ },
8112
+ "required": ["type"]
8113
+ }, {
8114
+ "type": "object",
8115
+ "properties": {
8116
+ "details": {
8117
+ "type": "array",
8118
+ "items": {
8119
+ "$ref": "#/$defs/DetailPanelConfig"
8120
+ }
8121
+ },
8122
+ "displayMode": {
8123
+ "type": "string",
8124
+ "enum": ["switch", "scroll-cards"],
8125
+ "description": "master-detail \u5B50\u96C6\u5C55\u793A\u6846\u67B6;switch \u4E3A\u5355\u5B50\u96C6\u5207\u6362,scroll-cards \u4E3A\u5458\u5DE5\u7AEF\u7EB5\u5411\u5361\u7247\u6EDA\u52A8"
8126
+ },
8127
+ "master": {
8128
+ "type": "object",
8129
+ "properties": {
8130
+ "headerFields": {
8131
+ "type": "array",
8132
+ "items": {
8133
+ "type": "string"
8134
+ }
8135
+ },
8136
+ "model": {
8137
+ "type": "string"
8138
+ },
8139
+ "navigation": {
8140
+ "$ref": "#/$defs/MasterNavigationConfig"
8141
+ },
8142
+ "photoField": {
8143
+ "type": "string",
8144
+ "description": "\u5934\u50CF\u5B57\u6BB5 key(\u4E3B\u5BF9\u8C61\u9644\u4EF6 documentId);\u914D\u7F6E\u540E\u6E32\u67D3\u4EBA\u5458\u5934\u90E8\u5361(3:4 \u8BC1\u4EF6\u7167)"
8145
+ },
8146
+ "showHeader": {
8147
+ "type": "boolean"
8148
+ },
8149
+ "summaryProviders": {
8150
+ "type": "array",
8151
+ "items": {
8152
+ "$ref": "#/$defs/MasterSummaryProviderConfig"
8153
+ }
8154
+ }
8155
+ }
8156
+ },
8157
+ "menu": {
8158
+ "type": "object",
8159
+ "properties": {
8160
+ "defaultActive": {
8161
+ "type": "string"
8162
+ },
8163
+ "groups": {
8164
+ "type": "array",
8165
+ "items": {
8166
+ "$ref": "#/$defs/MenuGroupConfig"
8167
+ }
8168
+ },
8169
+ "position": {
8170
+ "type": "string"
8171
+ },
8172
+ "style": {
8173
+ "type": "string",
8174
+ "description": "\u83DC\u5355\u5C55\u793A\u98CE\u683C\uFF1Amenu=\u9759\u6001\u83DC\u5355\uFF0Ctabs=\u6807\u7B7E\u9875\uFF0Clist=\u52A8\u6001\u5206\u7C7B\u5217\u8868\uFF0Csteps=\u5411\u5BFC\u6B65\u9AA4\u6761\uFF08\u4E00\u4E2A menu.groups \u9879\u4E00\u4E2A\u9636\u6BB5\uFF0C\u9636\u6BB5\u5185\u591A\u5B50\u96C6\u964D\u4E3A\u4E8C\u7EA7\u9875\u7B7E\uFF0C\u6545 details \u6570\u53EF\u591A\u4E8E groups \u6570\uFF09\u3002enum \u662F\u624B\u5DE5\u6536\u7A84\uFF08generator \u53EA\u4EA7\u51FA type:string\uFF09\uFF0C\u52FF\u76F2\u8DD1 generateMetaSchema \u8986\u76D6\u3002",
8175
+ "enum": ["menu", "tabs", "list", "steps"]
8176
+ },
8177
+ "width": {}
8178
+ }
8179
+ },
8180
+ "statusProviders": {
8181
+ "$ref": "#/$defs/StatusProviderMap"
8182
+ },
8183
+ "type": {
8184
+ "const": "master-detail"
8185
+ }
8186
+ },
8187
+ "required": ["type"]
8188
+ }, {
8189
+ "type": "object",
8190
+ "properties": {
8191
+ "position": {
8192
+ "type": "string"
8193
+ },
8194
+ "tabs": {
8195
+ "type": "array",
8196
+ "items": {
8197
+ "$ref": "#/$defs/DetailPanelConfig"
8198
+ }
8199
+ },
8200
+ "type": {
8201
+ "const": "tab-panel"
8202
+ }
8203
+ },
8204
+ "required": ["type"]
8205
+ }, {
8206
+ "type": "object",
8207
+ "properties": {
8208
+ "attention": {
8209
+ "type": "object",
8210
+ "properties": {
8211
+ "description": {
8212
+ "type": "string"
8213
+ },
8214
+ "icon": {
8215
+ "type": "string"
8216
+ },
8217
+ "tab": {
8218
+ "type": "string"
8219
+ },
8220
+ "title": {
8221
+ "type": "string"
8222
+ },
8223
+ "tone": {
8224
+ "type": "string"
8225
+ }
8226
+ }
8227
+ },
8228
+ "hero": {
8229
+ "$ref": "#/$defs/Map(String,Object)"
8230
+ },
8231
+ "stageFlow": {
8232
+ "type": "object",
8233
+ "properties": {
8234
+ "steps": {
8235
+ "type": "array",
8236
+ "items": {
8237
+ "type": "object",
8238
+ "properties": {
8239
+ "key": {
8240
+ "type": "string"
8241
+ },
8242
+ "label": {
8243
+ "type": "string"
8244
+ },
8245
+ "tab": {
8246
+ "type": "string"
8247
+ }
8248
+ }
8249
+ }
8250
+ },
8251
+ "title": {
8252
+ "type": "string"
8253
+ }
8254
+ }
8255
+ },
8256
+ "stats": {
8257
+ "type": "object",
8258
+ "properties": {
8259
+ "action": {
8260
+ "type": "string"
8261
+ },
8262
+ "cards": {
8263
+ "type": "array",
8264
+ "items": {
8265
+ "type": "object"
8266
+ }
8267
+ },
8268
+ "method": {
8269
+ "type": "string",
8270
+ "enum": ["GET", "POST"]
8271
+ },
8272
+ "model": {
8273
+ "type": "string"
8274
+ }
8275
+ },
8276
+ "required": ["model", "action"]
8277
+ },
8278
+ "tabs": {
8279
+ "type": "array",
8280
+ "items": {
8281
+ "$ref": "#/$defs/DetailPanelConfig"
8282
+ }
8283
+ },
8284
+ "tabsPosition": {
8285
+ "type": "string",
8286
+ "enum": ["top", "left"]
8287
+ },
8288
+ "type": {
8289
+ "const": "workbench-list"
8290
+ }
8291
+ },
8292
+ "required": ["type"]
8293
+ }, {
8294
+ "type": "object",
8295
+ "properties": {
8296
+ "interaction": {
8297
+ "type": "object",
8298
+ "properties": {
8299
+ "autoSelectFirst": {
8300
+ "type": "boolean"
8301
+ },
8302
+ "filterFieldByDepth": {
8303
+ "$ref": "#/$defs/Map(String,String)"
8304
+ },
8305
+ "filterOperator": {
8306
+ "type": "string"
8307
+ },
8308
+ "showAllOnRoot": {
8309
+ "type": "boolean"
8310
+ }
8311
+ }
8312
+ },
8313
+ "tabs": {
8314
+ "type": "array",
8315
+ "items": {
8316
+ "$ref": "#/$defs/DetailPanelConfig"
8317
+ }
8318
+ },
8319
+ "tree": {
8320
+ "$ref": "#/$defs/TreePanelConfig"
8321
+ },
8322
+ "type": {
8323
+ "const": "tree-tab-list"
8324
+ }
8325
+ },
8326
+ "required": ["type"]
8327
+ }, {
8328
+ "type": "object",
8329
+ "properties": {
8330
+ "component": {
8331
+ "type": "string"
8332
+ },
8333
+ "type": {
8334
+ "const": "custom"
8335
+ }
8336
+ },
8337
+ "required": ["type"]
8338
+ }, {
8339
+ "type": "object",
8340
+ "properties": {
8341
+ "model": {
8342
+ "type": "string"
8343
+ },
8344
+ "state": {
8345
+ "type": "string"
8346
+ },
8347
+ "type": {
8348
+ "const": "simple-list"
8349
+ }
8350
+ },
8351
+ "required": ["type"]
8352
+ }]
8353
+ },
8354
+ "name": {
8355
+ "type": "string",
8356
+ "description": '\u5143\u6570\u636E\u663E\u793A\u540D\u79F0(\u5982 "\u7EC4\u7EC7\u5355\u5143");\u901A\u5E38\u7528\u4E8E\u9875\u9762\u6807\u9898\u6216\u5143\u6570\u636E\u6D4F\u89C8'
8357
+ }
8358
+ }
8359
+ },
8360
+ wiz: {
8361
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8362
+ "$id": "https://hcm.wiimind.com/meta-contract/schema/wiz-meta.schema.json",
8363
+ "title": "HCM WizMeta v1",
8364
+ "type": "object",
8365
+ "additionalProperties": false,
8366
+ "required": ["capabilityVersion", "name", "persistence", "steps"],
8367
+ "properties": {
8368
+ "key": { "type": "string", "minLength": 1 },
8369
+ "name": { "type": "string", "minLength": 1 },
8370
+ "description": { "type": "string" },
8371
+ "capabilityVersion": { "enum": ["1.22.0", "1.23.0", "1.25.0"] },
8372
+ "persistence": { "$ref": "#/$defs/persistence" },
8373
+ "display": { "$ref": "#/$defs/display" },
8374
+ "contextDefaults": { "type": "object" },
8375
+ "steps": {
8376
+ "type": "array",
8377
+ "minItems": 2,
8378
+ "items": { "$ref": "#/$defs/step" }
8379
+ },
8380
+ "resetOnChange": {
8381
+ "type": "array",
8382
+ "items": { "$ref": "#/$defs/resetRule" }
8383
+ }
8384
+ },
8385
+ "$defs": {
8386
+ "safePath": {
8387
+ "type": "string",
8388
+ "minLength": 1,
8389
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"
8390
+ },
8391
+ "persistence": {
8392
+ "type": "object",
8393
+ "additionalProperties": false,
8394
+ "required": ["mode"],
8395
+ "properties": {
8396
+ "mode": { "enum": ["final", "per-step"] }
8397
+ }
8398
+ },
8399
+ "display": {
8400
+ "type": "object",
8401
+ "additionalProperties": false,
8402
+ "properties": {
8403
+ "dialogWidth": { "type": "string", "minLength": 1 },
8404
+ "pageMaxWidth": { "type": "string", "minLength": 1 },
8405
+ "closeOnBackdrop": { "type": "boolean" }
8406
+ }
8407
+ },
8408
+ "step": {
8409
+ "type": "object",
8410
+ "additionalProperties": false,
8411
+ "required": ["key", "name", "sequence"],
8412
+ "properties": {
8413
+ "key": { "type": "string", "minLength": 1 },
8414
+ "name": { "type": "string", "minLength": 1 },
8415
+ "description": { "type": "string" },
8416
+ "sequence": { "type": "integer" },
8417
+ "infos": {
8418
+ "type": "array",
8419
+ "items": { "$ref": "#/$defs/infoRef" }
8420
+ },
8421
+ "confirmations": {
8422
+ "type": "array",
8423
+ "items": { "$ref": "#/$defs/confirmation" }
8424
+ },
8425
+ "previous": {
8426
+ "oneOf": [
8427
+ { "const": false },
8428
+ { "$ref": "#/$defs/previous" }
8429
+ ]
8430
+ },
8431
+ "next": { "$ref": "#/$defs/transition" },
8432
+ "terminal": { "type": "boolean" }
8433
+ }
8434
+ },
8435
+ "infoRef": {
8436
+ "type": "object",
8437
+ "additionalProperties": false,
8438
+ "required": ["key", "model", "bind", "mode"],
8439
+ "properties": {
8440
+ "key": { "type": "string", "minLength": 1 },
8441
+ "model": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" },
8442
+ "state": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" },
8443
+ "bind": { "$ref": "#/$defs/safePath" },
8444
+ "mode": { "enum": ["create", "edit", "view"] },
8445
+ "collection": { "type": "boolean" },
8446
+ "minItems": { "type": "integer", "minimum": 0 },
8447
+ "maxItems": { "type": "integer", "minimum": 0 },
8448
+ "addLabel": { "type": "string" },
8449
+ "removable": { "type": "boolean" }
8450
+ }
8451
+ },
8452
+ "confirmation": {
8453
+ "type": "object",
8454
+ "additionalProperties": false,
8455
+ "required": ["key", "label", "bind"],
8456
+ "properties": {
8457
+ "key": { "type": "string", "minLength": 1 },
8458
+ "label": { "type": "string", "minLength": 1 },
8459
+ "required": { "type": "boolean" },
8460
+ "bind": { "$ref": "#/$defs/safePath" }
8461
+ }
8462
+ },
8463
+ "previous": {
8464
+ "type": "object",
8465
+ "additionalProperties": false,
8466
+ "required": ["target"],
8467
+ "properties": {
8468
+ "label": { "type": "string" },
8469
+ "target": { "type": "string", "minLength": 1 },
8470
+ "clear": {
8471
+ "type": "array",
8472
+ "items": { "$ref": "#/$defs/safePath" }
8473
+ }
8474
+ }
8475
+ },
8476
+ "transition": {
8477
+ "type": "object",
8478
+ "additionalProperties": false,
8479
+ "required": ["label", "target", "persistence"],
8480
+ "properties": {
8481
+ "label": { "type": "string", "minLength": 1 },
8482
+ "target": { "type": "string", "minLength": 1 },
8483
+ "validate": { "type": "boolean" },
8484
+ "persistence": { "enum": ["none", "commit"] },
8485
+ "action": { "$ref": "#/$defs/action" },
8486
+ "resultBindings": {
8487
+ "type": "array",
8488
+ "items": { "$ref": "#/$defs/resultBinding" }
8489
+ },
8490
+ "idempotency": { "$ref": "#/$defs/idempotency" }
8491
+ }
8492
+ },
8493
+ "action": {
8494
+ "type": "object",
8495
+ "additionalProperties": false,
8496
+ "required": ["key", "label", "type"],
8497
+ "properties": {
8498
+ "key": { "type": "string", "minLength": 1 },
8499
+ "label": { "type": "string", "minLength": 1 },
8500
+ "type": { "enum": ["api", "service"] },
8501
+ "needConfirm": { "type": "boolean" },
8502
+ "confirmTitle": { "type": "string" },
8503
+ "confirmText": { "type": "string" },
8504
+ "api": { "$ref": "#/$defs/api" },
8505
+ "service": { "$ref": "#/$defs/service" },
8506
+ "execution": { "$ref": "#/$defs/execution" },
8507
+ "params": {
8508
+ "type": "array",
8509
+ "items": { "$ref": "#/$defs/param" }
8510
+ }
8511
+ },
8512
+ "oneOf": [
8513
+ {
8514
+ "properties": { "type": { "const": "api" } },
8515
+ "required": ["api"],
8516
+ "not": { "required": ["service"] }
8517
+ },
8518
+ {
8519
+ "properties": { "type": { "const": "service" } },
8520
+ "required": ["service"],
8521
+ "not": { "required": ["api"] }
8522
+ }
8523
+ ]
8524
+ },
8525
+ "api": {
8526
+ "type": "object",
8527
+ "additionalProperties": false,
8528
+ "required": ["target", "targetModel", "method", "actionName"],
8529
+ "properties": {
8530
+ "target": { "type": "string" },
8531
+ "targetModel": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" },
8532
+ "method": { "enum": ["GET", "POST", "PUT", "DELETE"] },
8533
+ "actionName": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" }
8534
+ }
8535
+ },
8536
+ "service": {
8537
+ "type": "object",
8538
+ "additionalProperties": false,
8539
+ "required": ["agentKey", "serviceKey"],
8540
+ "properties": {
8541
+ "agentKey": { "type": "string", "minLength": 1 },
8542
+ "serviceKey": { "type": "string", "minLength": 1 },
8543
+ "mode": { "enum": ["sync", "async"] },
8544
+ "timeoutMs": { "type": "integer", "minimum": 1e3 },
8545
+ "pollIntervalMs": { "type": "integer", "minimum": 100 }
8546
+ }
8547
+ },
8548
+ "execution": {
8549
+ "type": "object",
8550
+ "additionalProperties": false,
8551
+ "properties": {
8552
+ "returnOn": { "const": "terminal" }
8553
+ }
8554
+ },
8555
+ "param": {
8556
+ "type": "object",
8557
+ "additionalProperties": false,
8558
+ "required": ["name", "source"],
8559
+ "properties": {
8560
+ "name": { "type": "string", "minLength": 1 },
8561
+ "source": { "enum": ["state", "constant", "idempotency"] },
8562
+ "path": { "$ref": "#/$defs/safePath" },
8563
+ "value": {},
8564
+ "required": { "type": "boolean" },
8565
+ "defaultValue": {},
8566
+ "into": {
8567
+ "oneOf": [
8568
+ { "const": "$root" },
8569
+ { "$ref": "#/$defs/safePath" }
8570
+ ]
8571
+ }
8572
+ }
8573
+ },
8574
+ "resultBinding": {
8575
+ "type": "object",
8576
+ "additionalProperties": false,
8577
+ "required": ["key", "from", "to"],
8578
+ "properties": {
8579
+ "key": { "type": "string", "minLength": 1 },
8580
+ "from": { "$ref": "#/$defs/safePath" },
8581
+ "to": { "$ref": "#/$defs/safePath" },
8582
+ "required": { "type": "boolean" }
8583
+ }
8584
+ },
8585
+ "idempotency": {
8586
+ "type": "object",
8587
+ "additionalProperties": false,
8588
+ "required": ["key", "required", "retry"],
8589
+ "properties": {
8590
+ "key": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" },
8591
+ "required": { "type": "boolean" },
8592
+ "retry": { "const": "retain-on-unknown" }
8593
+ }
8594
+ },
8595
+ "resetRule": {
8596
+ "type": "object",
8597
+ "additionalProperties": false,
8598
+ "required": ["key", "path", "goTo", "clear"],
8599
+ "properties": {
8600
+ "key": { "type": "string", "minLength": 1 },
8601
+ "path": { "$ref": "#/$defs/safePath" },
8602
+ "whenAfterStep": { "type": "string", "minLength": 1 },
8603
+ "goTo": { "type": "string", "minLength": 1 },
8604
+ "clear": {
8605
+ "type": "array",
8606
+ "items": { "$ref": "#/$defs/safePath" }
8607
+ }
8608
+ }
8609
+ }
8610
+ }
8611
+ },
8612
+ impexp: {
8613
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8614
+ "$defs": {
8615
+ "Map(String,Object)": {
8616
+ "type": "object"
8617
+ }
8618
+ },
8619
+ "type": "object",
8620
+ "properties": {
8621
+ "business_config": {
8622
+ "type": "object",
8623
+ "properties": {
8624
+ "context_fields": {
8625
+ "type": "array",
8626
+ "items": {
8627
+ "type": "object",
8628
+ "properties": {
8629
+ "key": {
8630
+ "type": "string"
8631
+ },
8632
+ "label": {
8633
+ "type": "string"
8634
+ },
8635
+ "on_conflict": {
8636
+ "type": "string"
8637
+ },
8638
+ "override": {
8639
+ "type": "string"
8640
+ },
8641
+ "required": {
8642
+ "type": "boolean"
8643
+ },
8644
+ "source": {
8645
+ "type": "string"
8646
+ }
8647
+ }
8648
+ }
8649
+ },
8650
+ "require": {
8651
+ "type": "array",
8652
+ "items": {
8653
+ "type": "string"
8654
+ }
8655
+ },
8656
+ "select": {
8657
+ "type": "array",
8658
+ "items": {
8659
+ "type": "string"
8660
+ }
8661
+ }
8662
+ }
8663
+ },
8664
+ "capabilityVersion": {
8665
+ "type": "string"
8666
+ },
8667
+ "defaults": {
8668
+ "$ref": "#/$defs/Map(String,Object)"
8669
+ },
8670
+ "description": {
8671
+ "type": "string",
8672
+ "description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
8673
+ },
8674
+ "document": {
8675
+ "type": "object",
8676
+ "properties": {
8677
+ "categoryNumber": {
8678
+ "type": "string"
8679
+ },
8680
+ "formId": {
8681
+ "type": "string"
8682
+ }
8683
+ }
8684
+ },
8685
+ "fields": {
8686
+ "type": "array",
8687
+ "items": {
8688
+ "type": "object",
8689
+ "properties": {
8690
+ "column_config": {
8691
+ "type": "array",
8692
+ "items": {
8693
+ "type": "object"
8694
+ }
8695
+ },
8696
+ "comment": {
8697
+ "type": "string"
8698
+ },
8699
+ "direction": {
8700
+ "type": "string",
8701
+ "enum": ["BOTH", "IMPORT", "EXPORT"]
8702
+ },
8703
+ "export": {
8704
+ "type": "object",
8705
+ "properties": {
8706
+ "valuePath": {
8707
+ "type": "string",
8708
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*\\.[A-Za-z_][A-Za-z0-9_]*$",
8709
+ "description": "\u4E00\u8DF3\u5F15\u7528\u6295\u5F71\u8DEF\u5F84\uFF0C\u4F8B\u5982 employeeId.code\uFF1B\u4E0D\u652F\u6301\u591A\u8DF3\u3001\u96C6\u5408\u6216\u8868\u8FBE\u5F0F"
8710
+ }
8711
+ }
8712
+ },
8713
+ "key": {
8714
+ "type": "string"
8715
+ },
8716
+ "label": {
8717
+ "type": "string"
8718
+ },
8719
+ "parser": {
8720
+ "type": "string"
8721
+ },
8722
+ "require": {
8723
+ "type": "boolean"
8724
+ },
8725
+ "width": {
8726
+ "type": "integer"
8727
+ }
8728
+ }
8729
+ }
8730
+ },
8731
+ "handler": {
8732
+ "type": "object",
8733
+ "properties": {
8734
+ "exportClass": {
8735
+ "type": "string"
8736
+ },
8737
+ "importClass": {
8738
+ "type": "string"
8739
+ },
8740
+ "param": {
8741
+ "$ref": "#/$defs/Map(String,Object)"
8742
+ }
8743
+ }
8744
+ },
8745
+ "importDomain": {
8746
+ "type": "string"
8747
+ },
8748
+ "key": {
8749
+ "type": "string",
8750
+ "description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
8751
+ },
8752
+ "layout": {
8753
+ "type": "object",
8754
+ "properties": {
8755
+ "dataStartRow": {
8756
+ "type": "integer"
8757
+ },
8758
+ "descRow": {
8759
+ "type": "integer"
8760
+ },
8761
+ "keyRow": {
8762
+ "type": "integer"
8763
+ },
8764
+ "sheetName": {
8765
+ "type": "string"
8766
+ }
8767
+ }
8768
+ },
8769
+ "modelKey": {
8770
+ "type": "string"
8771
+ },
8772
+ "name": {
8773
+ "type": "string",
8774
+ "description": '\u5143\u6570\u636E\u663E\u793A\u540D\u79F0(\u5982 "\u7EC4\u7EC7\u5355\u5143");\u901A\u5E38\u7528\u4E8E\u9875\u9762\u6807\u9898\u6216\u5143\u6570\u636E\u6D4F\u89C8'
8775
+ },
8776
+ "orders": {
8777
+ "type": "array",
8778
+ "items": {
8779
+ "type": "object",
8780
+ "properties": {
8781
+ "key": {
8782
+ "type": "string"
8783
+ },
8784
+ "type": {
8785
+ "type": "string"
8786
+ }
8787
+ }
8788
+ }
8789
+ },
8790
+ "roundTrip": {
8791
+ "type": "object",
8792
+ "properties": {
8793
+ "importState": {
8794
+ "type": "string",
8795
+ "pattern": "^[A-Za-z0-9_-]+$"
8796
+ },
8797
+ "mode": {
8798
+ "type": "string",
8799
+ "enum": ["SUPPORTED", "READ_ONLY", "UNSUPPORTED"]
8800
+ }
8801
+ },
8802
+ "required": ["mode"]
8803
+ },
8804
+ "type": {
8805
+ "type": "string"
8806
+ }
8807
+ }
8808
+ }
8809
+ };
8810
+
8811
+ // src/meta/validate-meta.ts
8812
+ function isYamlMetaPath(metaPath2) {
8813
+ return /\.(yml|yaml)$/i.test(metaPath2.split(/[\\/]/).pop() ?? metaPath2);
8814
+ }
8815
+ function metaKindFromPath(metaPath2) {
8816
+ const base = metaPath2.split(/[\\/]/).pop() ?? metaPath2;
8817
+ if (!/\.(yml|yaml)$/i.test(base)) return void 0;
8818
+ const stem = base.replace(/\.(yml|yaml)$/i, "");
8819
+ const parts = stem.split(".");
8820
+ if (parts.length < 2) return "model";
8821
+ return parts[1];
8822
+ }
8823
+ var ALIAS_HINTS = {
8824
+ list: {
8825
+ hide: "\u5217\u8868\u5C42\u7684\u663E\u9690\u952E\u662F `visible`\uFF08\u8BED\u4E49\u76F8\u53CD\uFF1A`hide: true` \u21D2 `visible: false`\uFF09",
8826
+ hidden: "\u5217\u8868\u5C42\u7684\u663E\u9690\u952E\u662F `visible`\uFF08\u8BED\u4E49\u76F8\u53CD\uFF09",
8827
+ title: "\u5217\u6807\u9898\u7528 `label`",
8828
+ displayName: "\u5217\u6807\u9898\u7528 `label`"
8829
+ },
8830
+ info: {
8831
+ hide: "\u8BE6\u60C5/\u8868\u5355\u5C42\u7684\u663E\u9690\u952E\u662F `hidden`",
8832
+ visible: "\u8BE6\u60C5/\u8868\u5355\u5C42\u7684\u663E\u9690\u952E\u662F `hidden`\uFF08\u8BED\u4E49\u76F8\u53CD\uFF1A`visible: false` \u21D2 `hidden: true`\uFF09",
8833
+ title: "\u5B57\u6BB5\u6807\u9898\u7528 `label`",
8834
+ displayName: "\u5B57\u6BB5\u6807\u9898\u7528 `label`"
8835
+ }
8836
+ };
8837
+ function resolveRef(root, schema) {
8838
+ let cur = schema;
8839
+ for (let i = 0; i < 8 && cur && typeof cur.$ref === "string"; i += 1) {
8840
+ const ref = cur.$ref;
8841
+ if (!ref.startsWith("#/")) return {};
8842
+ const seg = ref.slice(2).split("/").map((s) => s.replace(/~1/g, "/").replace(/~0/g, "~"));
8843
+ let node = root;
8844
+ for (const s of seg) {
8845
+ node = node?.[s];
8846
+ if (node == null) return {};
8847
+ }
8848
+ cur = node;
8849
+ }
8850
+ return cur ?? {};
8851
+ }
8852
+ function jsonTypeOf(v) {
8853
+ if (v === null || v === void 0) return "null";
8854
+ if (Array.isArray(v)) return "array";
8855
+ if (typeof v === "number") return Number.isInteger(v) ? "integer" : "number";
8856
+ if (typeof v === "boolean") return "boolean";
8857
+ if (typeof v === "string") return "string";
8858
+ if (v instanceof Date) return "string";
8859
+ return "object";
8860
+ }
8861
+ function typeMatches(actual, expected) {
8862
+ if (actual === expected) return true;
8863
+ if (expected === "number" && actual === "integer") return true;
8864
+ if (expected === "integer" && actual === "number") return true;
8865
+ return false;
8866
+ }
8867
+ function isDirectiveKey(k) {
8868
+ return k.startsWith("__");
8869
+ }
8870
+ function isDirectiveNode(v) {
8871
+ if (!v || typeof v !== "object" || Array.isArray(v)) return false;
8872
+ const keys = Object.keys(v);
8873
+ return keys.length > 0 && keys.every(isDirectiveKey);
8874
+ }
8875
+ function jacksonCoercible(value, actual, expected) {
8876
+ if (actual === "array" || actual === "object" || actual === "null") return false;
8877
+ if (expected.includes("array") || expected.includes("object")) return false;
8878
+ if (typeof value === "string") {
8879
+ const t = value.trim();
8880
+ if (expected.includes("integer")) return /^[+-]?\d+$/.test(t);
8881
+ if (expected.includes("number")) return t !== "" && Number.isFinite(Number(t));
8882
+ if (expected.includes("boolean")) return /^(true|false)$/i.test(t);
8883
+ return false;
8884
+ }
8885
+ return expected.includes("string");
8886
+ }
8887
+ function withinOneEdit(a, b) {
8888
+ if (a === b) return true;
8889
+ const [s, l] = a.length <= b.length ? [a, b] : [b, a];
8890
+ if (l.length - s.length > 1) return false;
8891
+ let i = 0;
8892
+ let j = 0;
8893
+ let diff = 0;
8894
+ while (i < s.length && j < l.length) {
8895
+ if (s[i] === l[j]) {
8896
+ i += 1;
8897
+ j += 1;
8898
+ continue;
8899
+ }
8900
+ diff += 1;
8901
+ if (diff > 1) return false;
8902
+ if (s.length === l.length) i += 1;
8903
+ j += 1;
8904
+ }
8905
+ return true;
8906
+ }
8907
+ function fmtPath(segs) {
8908
+ return segs.reduce(
8909
+ (acc, s) => typeof s === "number" ? `${acc}[${s}]` : acc ? `${acc}.${s}` : String(s),
8910
+ ""
8911
+ );
8912
+ }
8913
+ function preview(v) {
8914
+ if (typeof v === "string") return JSON.stringify(v.length > 40 ? `${v.slice(0, 40)}\u2026` : v);
8915
+ if (Array.isArray(v)) return `[\u2026${v.length} \u9879]`;
8916
+ if (v && typeof v === "object") return `{\u2026${Object.keys(v).length} \u952E}`;
8917
+ return JSON.stringify(v);
8918
+ }
8919
+ function locateLine(rawLines, segs, root) {
8920
+ const leaf = segs[segs.length - 1];
8921
+ if (typeof leaf !== "string") return void 0;
8922
+ let anchorKey;
8923
+ let node = root;
8924
+ for (const s of segs) {
8925
+ if (node == null) break;
8926
+ node = node[s];
8927
+ if (typeof s === "number" && node && typeof node === "object" && typeof node.key === "string") {
8928
+ anchorKey = node.key;
8929
+ }
8930
+ }
8931
+ if (!anchorKey) return void 0;
8932
+ const anchorRe = new RegExp(`^\\s*(-\\s*)?key:\\s*["']?${anchorKey.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}["']?\\s*$`);
8933
+ const anchorHits = [];
8934
+ rawLines.forEach((l, i) => {
8935
+ if (anchorRe.test(l)) anchorHits.push(i);
8936
+ });
8937
+ if (anchorHits.length !== 1) return void 0;
8938
+ const anchorIdx = anchorHits[0];
8939
+ const leafRe = new RegExp(`^\\s*(-\\s*)?${leaf.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}\\s*:`);
8940
+ let start = anchorIdx;
8941
+ while (start > 0 && !/^\s*-\s/.test(rawLines[start] ?? "")) start -= 1;
8942
+ for (let i = start; i < rawLines.length; i += 1) {
8943
+ const line = rawLines[i] ?? "";
8944
+ if (i > start && /^\s*-\s/.test(line)) break;
8945
+ if (leafRe.test(line)) return i + 1;
8946
+ }
8947
+ return void 0;
8948
+ }
8949
+ function walk2(root, schema, value, segs, kind, issues, depth) {
8950
+ if (depth > 24 || value === null || value === void 0) return;
8951
+ const s = resolveRef(root, schema);
8952
+ if (!s || typeof s !== "object") return;
8953
+ if (s.oneOf || s.anyOf || s.allOf || s.not) {
8954
+ if (!s.type && !s.properties && !s.items) return;
8955
+ }
8956
+ const actual = jsonTypeOf(value);
8957
+ const expectedTypes = Array.isArray(s.type) ? s.type : typeof s.type === "string" ? [s.type] : [];
8958
+ if (expectedTypes.length > 0 && !expectedTypes.some((t) => typeMatches(actual, t))) {
8959
+ const coercible = jacksonCoercible(value, actual, expectedTypes);
8960
+ issues.push({
8961
+ severity: coercible ? "warn" : "error",
8962
+ path: fmtPath(segs) || "(\u6839)",
8963
+ message: coercible ? `\u7C7B\u578B\u4E0D\u7B26\uFF1A\u671F\u671B ${expectedTypes.join(" | ")}\uFF0C\u5B9E\u9645 ${actual}\uFF08${preview(value)}\uFF09\uFF1B\u670D\u52A1\u7AEF\u80FD\u81EA\u52A8\u8F6C\u6362\uFF0C\u4E0D\u62E6\u4F60\uFF0C\u4F46\u5EFA\u8BAE\u6309 schema \u7684\u7C7B\u578B\u5199` : `\u7C7B\u578B\u4E0D\u7B26\uFF1A\u671F\u671B ${expectedTypes.join(" | ")}\uFF0C\u5B9E\u9645 ${actual}\uFF08${preview(value)}\uFF09`
8964
+ });
8965
+ return;
8966
+ }
8967
+ if (Array.isArray(s.enum) && !s.enum.includes(value)) {
8968
+ issues.push({
8969
+ severity: "warn",
8970
+ path: fmtPath(segs),
8971
+ message: `\u53D6\u503C ${preview(value)} \u4E0D\u5728\u5DF2\u767B\u8BB0\u7684\u679A\u4E3E\u91CC`,
8972
+ hint: `\u5DF2\u767B\u8BB0\uFF1A${s.enum.map((e) => String(e)).join(" | ")}`
8973
+ });
8974
+ }
8975
+ if (actual === "array" && s.items) {
8976
+ value.forEach((item, i) => {
8977
+ if (isDirectiveNode(item)) return;
8978
+ walk2(root, s.items, item, [...segs, i], kind, issues, depth + 1);
8979
+ });
8980
+ return;
8981
+ }
8982
+ if (actual === "object" && s.properties) {
8983
+ const props = s.properties;
8984
+ const openMap = s.additionalProperties === true || s.additionalProperties && typeof s.additionalProperties === "object" || s.patternProperties != null;
8985
+ for (const [k, v] of Object.entries(value)) {
8986
+ if (Object.prototype.hasOwnProperty.call(props, k)) {
8987
+ walk2(root, props[k], v, [...segs, k], kind, issues, depth + 1);
8988
+ continue;
8989
+ }
8990
+ if (openMap || isDirectiveKey(k)) continue;
8991
+ const inFieldItem = segs.length >= 2 && typeof segs[segs.length - 1] === "number" && segs[segs.length - 2] === "fields";
8992
+ const alias = inFieldItem ? ALIAS_HINTS[kind]?.[k] : void 0;
8993
+ const near = alias ? void 0 : Object.keys(props).find((p) => withinOneEdit(p, k));
8994
+ if (!alias && !near) continue;
8995
+ issues.push({
8996
+ severity: "warn",
8997
+ path: fmtPath([...segs, k]),
8998
+ message: alias ? `\`${k}\` \u4E0D\u662F\u672C\u5C42\u8BA4\u7684\u952E` : `\u672A\u767B\u8BB0\u7684\u952E \`${k}\`\uFF0C\u548C\u672C\u5C42\u7684 \`${near}\` \u53EA\u5DEE\u4E00\u4E2A\u5B57\u7B26\u2014\u2014\u50CF\u662F\u624B\u8BEF\uFF1B\u670D\u52A1\u7AEF\u9047\u5230\u4E0D\u8BA4\u8BC6\u7684\u952E\u4F1A\u76F4\u63A5\u4E22\u5F03\u3001\u4E0D\u62A5\u9519`,
8999
+ hint: alias ?? `\u662F\u4E0D\u662F\u60F3\u5199 \`${near}\`\uFF1F`
9000
+ });
9001
+ }
9002
+ }
9003
+ }
9004
+ function validateMetaContent(metaPath2, content) {
9005
+ const issues = [];
9006
+ const kind = metaKindFromPath(metaPath2);
9007
+ const schema = kind ? META_SCHEMAS[kind] : void 0;
9008
+ const mk = () => ({
9009
+ kind,
9010
+ schemaKnown: schema != null,
9011
+ issues,
9012
+ get errors() {
9013
+ return issues.filter((i) => i.severity === "error");
9014
+ }
9015
+ });
9016
+ if (!isYamlMetaPath(metaPath2)) {
9017
+ issues.push({
9018
+ severity: "warn",
9019
+ path: "(\u6574\u4EFD\u6587\u4EF6)",
9020
+ message: "\u4E0D\u662F YAML \u6587\u4EF6\uFF0C\u672C\u6B21**\u6CA1\u6709\u505A\u4EFB\u4F55\u6821\u9A8C**\u2014\u2014\u5199\u4E0B\u53BB\u4E4B\u524D\u8BF7\u81EA\u5DF1\u786E\u8BA4\u5185\u5BB9"
9021
+ });
9022
+ return mk();
9023
+ }
9024
+ let doc;
9025
+ try {
9026
+ doc = yaml8.load(content);
9027
+ } catch (e) {
9028
+ const y = e;
9029
+ issues.push({
9030
+ severity: "error",
9031
+ path: "(\u6574\u4EFD\u6587\u4EF6)",
9032
+ message: `YAML \u89E3\u6790\u5931\u8D25\uFF1A${y.reason ?? y.message ?? String(e)}`,
9033
+ line: typeof y.mark?.line === "number" ? y.mark.line + 1 : void 0
9034
+ });
9035
+ return mk();
9036
+ }
9037
+ if (doc === null || doc === void 0) {
9038
+ issues.push({ severity: "warn", path: "(\u6574\u4EFD\u6587\u4EF6)", message: "\u5185\u5BB9\u4E3A\u7A7A\u2014\u2014\u8FD9\u4F1A\u628A\u8BE5\u5C42\u7684\u8986\u76D6\u6E05\u6210\u7A7A overlay" });
9039
+ return mk();
9040
+ }
9041
+ if (!schema) {
9042
+ issues.push({
9043
+ severity: "warn",
9044
+ path: "(\u6574\u4EFD\u6587\u4EF6)",
9045
+ message: `\u6CA1\u6709\u5BF9\u5F97\u4E0A\u7684 schema\uFF08\u8BC6\u522B\u5230\u7684\u7C7B\u578B\uFF1A${kind ?? "\u672A\u77E5"}\uFF09\uFF0C\u672C\u6B21\u53EA\u505A\u4E86 YAML \u8BED\u6CD5\u68C0\u67E5`,
9046
+ hint: "\u5DF2\u767B\u8BB0\u7684\u7C7B\u578B\uFF1A" + Object.keys(META_SCHEMAS).join(", ")
9047
+ });
9048
+ return mk();
9049
+ }
9050
+ walk2(schema, schema, doc, [], kind, issues, 0);
9051
+ const rawLines = content.split("\n");
9052
+ for (const issue of issues) {
9053
+ if (issue.line != null) continue;
9054
+ const segs = issue.path.replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean).map((s) => /^\d+$/.test(s) ? Number(s) : s);
9055
+ const line = locateLine(rawLines, segs, doc);
9056
+ if (line != null) issue.line = line;
9057
+ }
9058
+ return mk();
9059
+ }
9060
+ function formatMetaIssues(result, indent2 = "") {
9061
+ return result.issues.map((i) => {
9062
+ const tag = i.severity === "error" ? "\u2717 \u9519\u8BEF" : "\u26A0 \u63D0\u9192";
9063
+ const where = i.line != null ? `\u7B2C ${i.line} \u884C \xB7 ${i.path}` : i.path;
9064
+ const hint = i.hint ? `
9065
+ ${indent2} \u21B3 ${i.hint}` : "";
9066
+ return `${indent2}${tag} ${where}
9067
+ ${indent2} ${i.message}${hint}`;
9068
+ }).join("\n");
9069
+ }
9070
+ function explainJacksonError(raw) {
9071
+ const m = /Cannot deserialize value of type `?([\w.$]+)`? from (\w+)/.exec(raw);
9072
+ const chain = /reference chain:\s*([^)]+)\)/.exec(raw);
9073
+ if (!m && !chain) return void 0;
9074
+ const lines = [];
9075
+ if (m) {
9076
+ const simple = (m[1] ?? "").split(".").pop();
9077
+ lines.push(`\u670D\u52A1\u7AEF\u8BFB\u4E0D\u52A8\u8FD9\u4EFD meta\uFF1A\u67D0\u4E2A\u5B57\u6BB5\u671F\u671B ${simple}\uFF0C\u62FF\u5230\u7684\u662F ${m[2] ?? "?"} \u503C\u3002`);
9078
+ }
9079
+ if (chain) {
9080
+ const chainText = chain[1] ?? "";
9081
+ const idx = /ArrayList\[(\d+)\]/.exec(chainText);
9082
+ const leaf = /(\w+)\["(\w+)"\]\s*$/.exec(chainText.trim());
9083
+ const parts = [];
9084
+ if (idx) parts.push(`\u7B2C ${Number(idx[1]) + 1} \u9879\uFF08\u6570\u7EC4\u4E0B\u6807 ${idx[1]}\uFF09`);
9085
+ if (leaf) parts.push(`\`${leaf[2]}\` \u8FD9\u4E2A\u952E\uFF08${leaf[1]}\uFF09`);
9086
+ if (parts.length > 0) lines.push(`\u4F4D\u7F6E\uFF1A${parts.join(" \u7684 ")}\u3002`);
9087
+ }
9088
+ lines.push("\u26A0\uFE0F \u62A5\u9519\u91CC\u7684\u300Cnot found\u300D\u662F**\u8BFB\u4E0D\u52A8\u4E4B\u540E\u7684\u4E0B\u6E38\u8868\u73B0**\uFF0C\u4E0D\u662F\u300C\u6587\u4EF6\u4E0D\u5B58\u5728\u300D\u2014\u2014\u522B\u53BB\u627E\u6587\u4EF6\u3002");
9089
+ return lines.join("\n");
9090
+ }
9091
+
5440
9092
  // src/skills.ts
5441
- import yaml8, { JSON_SCHEMA as JSON_SCHEMA3 } from "js-yaml";
9093
+ import yaml9, { JSON_SCHEMA as JSON_SCHEMA3 } from "js-yaml";
5442
9094
  var CHIRON_BASE_CANDIDATES = ["/api", ""];
5443
9095
  function looksLikeManifest(data) {
5444
9096
  if (!data || typeof data !== "object") return false;
@@ -5577,7 +9229,7 @@ function parseSkillFrontmatter(markdown, skillId) {
5577
9229
  if (!match) return {};
5578
9230
  let frontmatter;
5579
9231
  try {
5580
- frontmatter = yaml8.load(match[1] ?? "", { schema: JSON_SCHEMA3 });
9232
+ frontmatter = yaml9.load(match[1] ?? "", { schema: JSON_SCHEMA3 });
5581
9233
  } catch (cause) {
5582
9234
  throw new CliError({
5583
9235
  code: "INVALID_ARGUMENT" /* INVALID_ARGUMENT */,
@@ -8685,7 +12337,7 @@ function attr(attrs, name) {
8685
12337
  for (const [k, v] of Object.entries(attrs)) if (localName(k) === name) return v;
8686
12338
  return void 0;
8687
12339
  }
8688
- function walk2(text2, h) {
12340
+ function walk3(text2, h) {
8689
12341
  const p = saxParser(true, { trim: false, normalize: false, position: false });
8690
12342
  p.onopentag = (node) => h.open?.(localName(node.name), node.attributes);
8691
12343
  p.ontext = (t) => h.text?.(t);
@@ -8695,7 +12347,7 @@ function walk2(text2, h) {
8695
12347
  }
8696
12348
  function parseRels(text2) {
8697
12349
  const out = [];
8698
- walk2(text2, {
12350
+ walk3(text2, {
8699
12351
  open(local, attrs) {
8700
12352
  if (local !== "Relationship") return;
8701
12353
  const id = attr(attrs, "Id");
@@ -8707,7 +12359,7 @@ function parseRels(text2) {
8707
12359
  }
8708
12360
  function parseWorkbookSheets(text2) {
8709
12361
  const out = [];
8710
- walk2(text2, {
12362
+ walk3(text2, {
8711
12363
  open(local, attrs) {
8712
12364
  if (local !== "sheet") return;
8713
12365
  const name = attr(attrs, "name");
@@ -8723,7 +12375,7 @@ function parseSharedStrings(text2) {
8723
12375
  let inRPh = 0;
8724
12376
  let inT = false;
8725
12377
  let buf = "";
8726
- walk2(text2, {
12378
+ walk3(text2, {
8727
12379
  open(local) {
8728
12380
  if (local === "si") {
8729
12381
  depth = 1;
@@ -8886,7 +12538,7 @@ function readSheetText(text2, shared, headerRow, filename, notes) {
8886
12538
  }
8887
12539
  cur = null;
8888
12540
  };
8889
- walk2(text2, {
12541
+ walk3(text2, {
8890
12542
  open(local, attrs) {
8891
12543
  if (local === "row") {
8892
12544
  const r = attr(attrs, "r");
@@ -16862,7 +20514,7 @@ function scan(skillRoot, aclass, facts, options = {}) {
16862
20514
  message: `\u626B\u63CF\u9762 ${skillRoot} \u4E0D\u662F\u4E00\u4E2A\u76EE\u5F55 \u21D2 \u4E00\u4E2A\u5B57\u90FD\u6CA1\u626B\u8FC7\uFF08\u8FD9\u4E0D\u662F\u300C\u626B\u8FC7\u3001\u5E72\u51C0\u300D\uFF09`
16863
20515
  });
16864
20516
  } else {
16865
- const walked = walk3(skillRoot);
20517
+ const walked = walk4(skillRoot);
16866
20518
  files = walked.files;
16867
20519
  for (const link of walked.unscannedLinks) {
16868
20520
  let target;
@@ -16926,7 +20578,7 @@ function isDirectory(target) {
16926
20578
  return false;
16927
20579
  }
16928
20580
  }
16929
- function walk3(root) {
20581
+ function walk4(root) {
16930
20582
  const files = [];
16931
20583
  const unscannedLinks = [];
16932
20584
  const visit = (dir) => {
@@ -18190,6 +21842,7 @@ export {
18190
21842
  META_CACHE_PATH,
18191
21843
  META_JOURNAL_FILE,
18192
21844
  META_PATH,
21845
+ META_SCHEMA_SOURCE_COMMIT,
18193
21846
  STEPS2 as META_VERIFY_STEPS,
18194
21847
  STEP_DIFF2 as META_VERIFY_STEP_DIFF,
18195
21848
  STEPS as META_WRITE_STEPS,
@@ -18382,6 +22035,7 @@ export {
18382
22035
  existingJournalStop,
18383
22036
  exitCode,
18384
22037
  exitCodeFor,
22038
+ explainJacksonError,
18385
22039
  extractNextSteps,
18386
22040
  factsIndex,
18387
22041
  fetchConversationTimeline,
@@ -18398,6 +22052,7 @@ export {
18398
22052
  flattenSkills,
18399
22053
  foldConfusables,
18400
22054
  foldedNoteFor,
22055
+ formatMetaIssues,
18401
22056
  formatMiniVerifyReport,
18402
22057
  formatObject,
18403
22058
  formatRows,
@@ -18456,6 +22111,7 @@ export {
18456
22111
  matchSkills,
18457
22112
  matchedDimensions,
18458
22113
  metaFileUrl,
22114
+ metaKindFromPath,
18459
22115
  migrateLegacyProfiles,
18460
22116
  modelEntries,
18461
22117
  modelKeys,
@@ -18547,6 +22203,7 @@ export {
18547
22203
  unguardedKinds,
18548
22204
  update,
18549
22205
  uploadDocument,
22206
+ validateMetaContent,
18550
22207
  validateMiniProject,
18551
22208
  validateScriptManifest,
18552
22209
  valueState,