@hcmai/sdk 0.33.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -368,6 +368,103 @@ function formatCause(cause) {
368
368
  return void 0;
369
369
  }
370
370
 
371
+ // src/meta/introspection.ts
372
+ var INTROSPECTION_PATH = "/api/system/introspection";
373
+ var MODEL_SEARCH_PATH = "/api/system/models/search";
374
+ var MUTATION_CAPABILITY_PATH = (model) => `/api/models/${encodeURIComponent(model)}/mutation-capability`;
375
+ var PRESET_ORIGIN_PATH = (model) => `/api/models/${encodeURIComponent(model)}/preset-origin`;
376
+ var ROUTE_MISSING_PREFIX = "\u8BF7\u6C42\u7684\u63A5\u53E3\u6216\u8D44\u6E90\u4E0D\u5B58\u5728";
377
+ function classifyEndpointFailure(e, opts) {
378
+ const err = e;
379
+ const status = err?.response?.status;
380
+ const body = err?.response?.data?.error;
381
+ const code = typeof body?.code === "string" ? body.code : void 0;
382
+ const message = typeof body?.message === "string" ? body.message : void 0;
383
+ const field = typeof body?.field === "string" ? body.field : void 0;
384
+ const detail = status ? `HTTP ${status}${code ? ` ${code}` : ""}${message ? `\u300C${message}\u300D` : ""}` : err?.message ?? String(e);
385
+ if (status === 404 && message?.startsWith(ROUTE_MISSING_PREFIX)) {
386
+ return { kind: "not-provided", status, detail };
387
+ }
388
+ if (opts.modelScoped && status === 400 && code === "VALIDATION_ERROR" && field === "id") {
389
+ return { kind: "not-provided", status, detail };
390
+ }
391
+ return { kind: "failed", ...status ? { status } : {}, detail };
392
+ }
393
+ function isUuid(v) {
394
+ return /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(v);
395
+ }
396
+ function unwrapEnvelope(body) {
397
+ if (body && typeof body === "object" && !Array.isArray(body)) {
398
+ const o = body;
399
+ if ("success" in o && "data" in o && o.data && typeof o.data === "object" && !Array.isArray(o.data)) return o.data;
400
+ }
401
+ return body;
402
+ }
403
+ function requireObject(body, path25) {
404
+ const unwrapped = unwrapEnvelope(body);
405
+ if (unwrapped && typeof unwrapped === "object" && !Array.isArray(unwrapped)) return unwrapped;
406
+ throw new CliError({
407
+ code: "SERVER_ERROR" /* SERVER_ERROR */,
408
+ message: `GET ${path25} \u56DE\u7684\u4E0D\u662F JSON \u5BF9\u8C61\uFF08${unwrapped === null ? "null" : Array.isArray(unwrapped) ? "\u6570\u7EC4" : typeof unwrapped}\uFF09\uFF0C\u8BA4\u4E0D\u51FA\u5F62\u72B6`,
409
+ context: { nextStep: "\u591A\u534A\u662F env \u7684 endpoint \u6307\u5230\u4E86\u524D\u7AEF\u6216\u7F51\u5173\uFF1A`hcm env show` \u6838\u5BF9 endpoint \u662F\u4E0D\u662F\u540E\u7AEF\u5730\u5740" }
410
+ });
411
+ }
412
+ function missingKeys(obj, keys) {
413
+ if (!obj || typeof obj !== "object") return [...keys];
414
+ return keys.filter((k) => !(k in obj));
415
+ }
416
+ var INTROSPECTION_ENVELOPE_KEYS = ["totalCount", "returnedCount", "truncatedBy", "nextStep", "detailWith"];
417
+ async function fetchIntrospection(http, q = {}) {
418
+ const params = {};
419
+ if (q.path !== void 0) params.path = q.path;
420
+ if (q.detail) params.detail = true;
421
+ if (q.limit !== void 0) params.limit = q.limit;
422
+ const resp = await http.get(INTROSPECTION_PATH, Object.keys(params).length ? { params } : void 0);
423
+ return requireObject(resp.data, INTROSPECTION_PATH);
424
+ }
425
+ var MODEL_SEARCH_KEYS = [
426
+ "scannedCount",
427
+ "totalCount",
428
+ "returned",
429
+ "effectiveLimit",
430
+ "limitNote",
431
+ "truncatedBy",
432
+ "nextStep",
433
+ "rankingNote",
434
+ "degraded",
435
+ "models"
436
+ ];
437
+ var MODEL_SEARCH_DEGRADED_COUNT_KEYS = ["notScannedCount", "scanFailedCount", "metaUnavailableCount"];
438
+ async function searchModels(http, keyword, limit) {
439
+ const params = { keyword };
440
+ if (limit !== void 0) params.limit = limit;
441
+ const resp = await http.get(MODEL_SEARCH_PATH, { params });
442
+ return requireObject(resp.data, MODEL_SEARCH_PATH);
443
+ }
444
+ var MUTATION_CAPABILITY_OPS = ["create", "update", "delete", "batchDelete"];
445
+ var MUTATION_CELL_KEYS = ["allowed", "reason", "alternatives", "scope", "rbacSource"];
446
+ async function fetchMutationCapability(http, model) {
447
+ const path25 = MUTATION_CAPABILITY_PATH(model);
448
+ try {
449
+ const resp = await http.get(path25);
450
+ const data = unwrapEnvelope(resp.data);
451
+ if (!data || typeof data !== "object" || Array.isArray(data)) {
452
+ return { available: false, notProvided: false, note: `GET ${path25} \u56DE\u7684\u4E0D\u662F\u5BF9\u8C61\uFF0C\u8BA4\u4E0D\u51FA\u5F62\u72B6` };
453
+ }
454
+ return { available: true, ops: data };
455
+ } catch (e) {
456
+ const f = classifyEndpointFailure(e, { modelScoped: true });
457
+ return f.kind === "not-provided" ? { available: false, notProvided: true, note: `GET ${path25} \u2192 ${f.detail}\uFF1A\u670D\u52A1\u7AEF\u65E9\u4E8E\u8BE5\u7AEF\u70B9` } : { available: false, notProvided: false, note: `GET ${path25} \u2192 ${f.detail}` };
458
+ }
459
+ }
460
+ async function fetchPresetOrigin(http, model, q = {}) {
461
+ const params = {};
462
+ if (q.id !== void 0) params.id = q.id;
463
+ if (q.includeTenantIds) params.includeTenantIds = true;
464
+ const resp = await http.get(PRESET_ORIGIN_PATH(model), Object.keys(params).length ? { params } : void 0);
465
+ return requireObject(resp.data, PRESET_ORIGIN_PATH(model));
466
+ }
467
+
371
468
  // src/meta/describe.ts
372
469
  var HCM_FIELD_RAW_KEYS = [
373
470
  "key",
@@ -400,10 +497,11 @@ async function fetchModelFieldKeys(http, model) {
400
497
  const fields = resp.data?.fields ?? [];
401
498
  return fields.map((f) => f.key).filter((k) => typeof k === "string" && k.length > 0);
402
499
  }
403
- async function describe(http, model, _opts = {}) {
404
- const [metaResp, effective] = await Promise.all([
500
+ async function describe(http, model, opts = {}) {
501
+ const [metaResp, effective, mutationCapability] = await Promise.all([
405
502
  http.get(`/api/models/${model}/meta`),
406
- fetchEffectiveActions(http, model)
503
+ fetchEffectiveActions(http, model, opts.state),
504
+ opts.withMutationCapability ? fetchMutationCapability(http, model) : Promise.resolve(void 0)
407
505
  ]);
408
506
  const meta = metaResp.data;
409
507
  const fields = (meta.fields ?? []).map((f) => ({
@@ -449,15 +547,36 @@ async function describe(http, model, _opts = {}) {
449
547
  model: meta.name ?? model,
450
548
  labels: meta.labels ?? {},
451
549
  fields,
452
- actions: mergeEffectiveActions(actions, effective),
550
+ actions: withNotProvided(mergeEffectiveActions(actions, effective)),
453
551
  relations: meta.relations ?? [],
454
552
  effectiveActionsAvailable: effective.available,
455
- ...effective.available ? {} : { effectiveActionsNote: effective.note }
553
+ ...effective.available ? {} : { effectiveActionsNote: effective.note },
554
+ ...effective.available && typeof effective.state === "string" ? { actionsState: effective.state } : {},
555
+ ...effective.available && typeof effective.coverage === "string" ? { actionsCoverage: effective.coverage } : {},
556
+ ...mutationCapability ? { mutationCapability } : {}
456
557
  };
457
558
  }
458
- async function fetchEffectiveActions(http, model) {
559
+ var EFFECT_STRICTNESS = { READ_ONLY: 0, ACCOUNTING_ONLY: 1, UNKNOWN: 2, WRITES: 3 };
560
+ var RISK_STRICTNESS = { NO: 0, UNKNOWN: 1, YES: 2 };
561
+ function stricter(fromMeta, fromRow, order) {
562
+ if (fromMeta === void 0) return fromRow;
563
+ const m = typeof fromMeta === "string" ? order[fromMeta] : void 0;
564
+ const r = typeof fromRow === "string" ? order[fromRow] : void 0;
565
+ if (r === void 0) return fromRow;
566
+ if (m === void 0) return fromMeta;
567
+ return m > r ? fromMeta : fromRow;
568
+ }
569
+ function withNotProvided(actions) {
570
+ return actions.map((a) => {
571
+ const missing = [];
572
+ if (a.effect === void 0) missing.push("effect");
573
+ if (a.effectiveRow === "listed" && a.grantForCaller === void 0) missing.push("grantForCaller");
574
+ return missing.length ? { ...a, notProvided: missing } : a;
575
+ });
576
+ }
577
+ async function fetchEffectiveActions(http, model, state) {
459
578
  try {
460
- const resp = await http.get(`/api/models/${model}/actions`);
579
+ const resp = state === void 0 ? await http.get(`/api/models/${model}/actions`) : await http.get(`/api/models/${model}/actions`, { params: { state } });
461
580
  const rows = resp.data?.actions;
462
581
  if (!Array.isArray(rows)) {
463
582
  return {
@@ -466,7 +585,7 @@ async function fetchEffectiveActions(http, model) {
466
585
  note: `GET /api/models/${model}/actions \u6CA1\u6709\u8FD4\u56DE actions \u6570\u7EC4\uFF0C\u811A\u672C Action \u672A\u7EB3\u5165`
467
586
  };
468
587
  }
469
- return { available: true, rows };
588
+ return { available: true, rows, state: resp.data?.state, coverage: resp.data?.coverage };
470
589
  } catch (e) {
471
590
  const err = e;
472
591
  const status = err?.response?.status;
@@ -480,6 +599,26 @@ async function fetchEffectiveActions(http, model) {
480
599
  }
481
600
  function mergeEffectiveActions(fromMeta, effective) {
482
601
  if (!effective.available) return fromMeta;
602
+ const rowsByKey = /* @__PURE__ */ new Map();
603
+ for (const row of effective.rows) {
604
+ if (row?.key && !rowsByKey.has(row.key)) rowsByKey.set(row.key, row);
605
+ }
606
+ const overlaid = fromMeta.map((a) => {
607
+ const row = rowsByKey.get(a.name);
608
+ if (!row) return { ...a, effectiveRow: "not-listed" };
609
+ return {
610
+ ...a,
611
+ ...row.effect !== void 0 ? { effect: stricter(a.effect, row.effect, EFFECT_STRICTNESS) } : {},
612
+ ...row.hasExternalDep !== void 0 ? { hasExternalDep: stricter(a.hasExternalDep, row.hasExternalDep, RISK_STRICTNESS) } : {},
613
+ ...row.sensitiveData !== void 0 ? { sensitiveData: stricter(a.sensitiveData, row.sensitiveData, RISK_STRICTNESS) } : {},
614
+ ...row.requiresConfirmation !== void 0 ? { requiresConfirmation: row.requiresConfirmation } : {},
615
+ ...row.grantForCaller !== void 0 ? { grantForCaller: row.grantForCaller } : {},
616
+ ...row.conflict !== void 0 ? { conflict: row.conflict } : {},
617
+ // readOnly 是 effect 的派生位:任一份说不是只读就不是,免得 JSON 里出现 effect=WRITES 配 readOnly=true。
618
+ ...row.readOnly !== void 0 || a.readOnly !== void 0 ? { readOnly: a.readOnly === false || row.readOnly === false ? false : row.readOnly ?? a.readOnly } : {},
619
+ effectiveRow: "listed"
620
+ };
621
+ });
483
622
  const known = new Set(fromMeta.map((a) => a.name));
484
623
  const extra = [];
485
624
  for (const row of effective.rows) {
@@ -497,10 +636,13 @@ function mergeEffectiveActions(fromMeta, effective) {
497
636
  hasExternalDep: row.hasExternalDep,
498
637
  sensitiveData: row.sensitiveData,
499
638
  readOnly: row.readOnly,
500
- source: candidate?.source
639
+ source: candidate?.source,
640
+ ...row.grantForCaller !== void 0 ? { grantForCaller: row.grantForCaller } : {},
641
+ ...row.conflict !== void 0 ? { conflict: row.conflict } : {},
642
+ effectiveRow: "listed"
501
643
  });
502
644
  }
503
- return [...fromMeta, ...extra];
645
+ return [...overlaid, ...extra];
504
646
  }
505
647
 
506
648
  // src/meta/action-effect.ts
@@ -641,6 +783,16 @@ function createHttpClient(opts) {
641
783
  ...acceptLanguage ? { "Accept-Language": acceptLanguage } : {}
642
784
  }
643
785
  });
786
+ client.interceptors.request.use((config) => {
787
+ const header = "X-HCM-Frontend-Meta-Capabilities";
788
+ if (config.method?.toLowerCase() !== "get" || config.headers.has(header)) return config;
789
+ const url = new URL(config.url ?? "", config.baseURL);
790
+ const type = config.params instanceof URLSearchParams ? config.params.get("type") ?? url.searchParams.get("type") : config.params?.type ?? url.searchParams.get("type");
791
+ if (/(?:^|\/)api\/models\/[^/]+\/meta\/?$/.test(url.pathname) && type === "list") {
792
+ config.headers.set(header, "org-chart-v1,org-chart-v2");
793
+ }
794
+ return config;
795
+ });
644
796
  attachTrace(client);
645
797
  attachAuth(client, opts.getAccessToken);
646
798
  attachRetry(client, opts.onRefresh);
@@ -4593,6 +4745,16 @@ function createV4Reducer(sink) {
4593
4745
  return { handle };
4594
4746
  }
4595
4747
 
4748
+ // src/chat/content-part-notice.ts
4749
+ function readTextPart(part) {
4750
+ if (part.type !== "text") return null;
4751
+ const text3 = typeof part.text === "string" ? part.text : "";
4752
+ const md = part.metadata;
4753
+ const raw = md && typeof md === "object" ? md.notice : void 0;
4754
+ const notice = typeof raw === "string" && raw.trim() ? raw : void 0;
4755
+ return notice ? { text: text3, notice } : { text: text3 };
4756
+ }
4757
+
4596
4758
  // src/chat/one-shot.ts
4597
4759
  async function oneShot(ws, prompt, opts = {}) {
4598
4760
  const t0 = Date.now();
@@ -4603,6 +4765,7 @@ async function oneShot(ws, prompt, opts = {}) {
4603
4765
  let stopReason;
4604
4766
  let tokens;
4605
4767
  const toolCalls = [];
4768
+ const notices = [];
4606
4769
  const collected = [];
4607
4770
  const argsPreviewByCallId = /* @__PURE__ */ new Map();
4608
4771
  const agentKeyByCallId = /* @__PURE__ */ new Map();
@@ -4628,7 +4791,10 @@ async function oneShot(ws, prompt, opts = {}) {
4628
4791
  });
4629
4792
  argsPreviewByCallId.delete(callId);
4630
4793
  },
4631
- onContentPart() {
4794
+ // 状态提示(🧠 已记住… 等)单独收进 notices;旧实现整块丢掉,脚本侧完全看不到。
4795
+ onContentPart(part) {
4796
+ const tp = readTextPart(part);
4797
+ if (tp?.notice) notices.push({ notice: tp.notice, text: tp.text });
4632
4798
  },
4633
4799
  onSteeringApplied() {
4634
4800
  },
@@ -4676,7 +4842,8 @@ async function oneShot(ws, prompt, opts = {}) {
4676
4842
  elapsedMs: Date.now() - t0,
4677
4843
  events: collected,
4678
4844
  stopReason,
4679
- tokens
4845
+ tokens,
4846
+ notices
4680
4847
  };
4681
4848
  }
4682
4849
 
@@ -8001,7 +8168,7 @@ function parseManifest(text3, onWarning) {
8001
8168
  // src/datapackage/uuid.ts
8002
8169
  import { isAlias, isMap, isNode, isScalar, isSeq, Parser } from "yaml";
8003
8170
  var UUID2 = /[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}/gi;
8004
- var isUuid = (value) => typeof value === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);
8171
+ var isUuid2 = (value) => typeof value === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);
8005
8172
  function validateUuids(files, opaqueFields, onWarning) {
8006
8173
  const parsed = files.map((file) => ({
8007
8174
  ...file,
@@ -8012,7 +8179,7 @@ function validateUuids(files, opaqueFields, onWarning) {
8012
8179
  if (file.model === void 0 && !/^data\/.*\.ya?ml$/.test(file.file)) continue;
8013
8180
  const data = file.yaml?.doc.toJS();
8014
8181
  if (data && Array.isArray(data.items)) {
8015
- for (const row of data.items) if (isUuid(row?.id)) ownIds.add(row.id.toLowerCase());
8182
+ for (const row of data.items) if (isUuid2(row?.id)) ownIds.add(row.id.toLowerCase());
8016
8183
  }
8017
8184
  }
8018
8185
  for (const file of parsed) {
@@ -8387,11 +8554,420 @@ function columnSlotsToFlex(text3, rewrite = true) {
8387
8554
  import { isMap as isMap3, isScalar as isScalar3, isSeq as isSeq3, parseDocument as parseDocument3 } from "yaml";
8388
8555
 
8389
8556
  // src/meta/generated/meta-schemas.ts
8390
- var META_SCHEMA_SOURCE_COMMIT = "f86b7ac1b12963648eeb7a73eba2492dac2bce86";
8557
+ var META_SCHEMA_SOURCE_COMMIT = "3bc6543c7043017140c3cdab852e22e9c19600d4";
8391
8558
  var META_SCHEMAS = {
8392
8559
  list: {
8393
8560
  "$schema": "https://json-schema.org/draft/2020-12/schema",
8394
8561
  "$defs": {
8562
+ "OrgChartOptions": {
8563
+ "type": "object",
8564
+ "description": "1.97.0\u57FA\u7840\u5B57\u6BB5\u517C\u5BB9\uFF1B1.98.0\u5DF2\u53D1\u5E03\u5B57\u6BB5\u7ED1\u5B9A\u3001\u4EBA\u5458\u6458\u8981\u4E0E\u77E9\u9635\u5173\u7CFB\uFF0C\u987Borg-chart-v2\u3002\u6765\u6E90\u5B58\u5728\u6027\u3001FULL\u6388\u6743\u548C\u76EE\u5F55revision\u7531\u8FD0\u884C\u671F\u518D\u6B21\u9A8C\u8BC1\u3002",
8565
+ "required": [
8566
+ "contractVersion",
8567
+ "defaultView",
8568
+ "views"
8569
+ ],
8570
+ "properties": {
8571
+ "contractVersion": {
8572
+ "type": "integer",
8573
+ "const": 1
8574
+ },
8575
+ "defaultView": {
8576
+ "type": "string",
8577
+ "enum": [
8578
+ "ORGANIZATION",
8579
+ "POSITION",
8580
+ "ASSIGNMENT"
8581
+ ]
8582
+ },
8583
+ "views": {
8584
+ "type": "object",
8585
+ "minProperties": 1,
8586
+ "properties": {
8587
+ "ORGANIZATION": {
8588
+ "type": "object",
8589
+ "required": [
8590
+ "defaultFields",
8591
+ "availableFields"
8592
+ ],
8593
+ "properties": {
8594
+ "defaultFields": {
8595
+ "type": "array",
8596
+ "minItems": 1,
8597
+ "uniqueItems": true,
8598
+ "items": {
8599
+ "anyOf": [
8600
+ {
8601
+ "type": "string",
8602
+ "enum": [
8603
+ "org.name",
8604
+ "org.code",
8605
+ "org.manager",
8606
+ "org.assignmentCount",
8607
+ "org.budgetCount"
8608
+ ]
8609
+ },
8610
+ {
8611
+ "type": "string",
8612
+ "pattern": "^field:(OrgUnit):[A-Za-z_][A-Za-z0-9_]*:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|product)$"
8613
+ }
8614
+ ]
8615
+ }
8616
+ },
8617
+ "availableFields": {
8618
+ "type": "array",
8619
+ "minItems": 1,
8620
+ "uniqueItems": true,
8621
+ "items": {
8622
+ "anyOf": [
8623
+ {
8624
+ "type": "string",
8625
+ "enum": [
8626
+ "org.name",
8627
+ "org.code",
8628
+ "org.manager",
8629
+ "org.assignmentCount",
8630
+ "org.budgetCount"
8631
+ ]
8632
+ },
8633
+ {
8634
+ "type": "string",
8635
+ "pattern": "^field:(OrgUnit):[A-Za-z_][A-Za-z0-9_]*:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|product)$"
8636
+ }
8637
+ ]
8638
+ }
8639
+ }
8640
+ },
8641
+ "additionalProperties": false
8642
+ },
8643
+ "POSITION": {
8644
+ "type": "object",
8645
+ "required": [
8646
+ "defaultFields",
8647
+ "availableFields"
8648
+ ],
8649
+ "properties": {
8650
+ "defaultFields": {
8651
+ "type": "array",
8652
+ "minItems": 1,
8653
+ "uniqueItems": true,
8654
+ "items": {
8655
+ "anyOf": [
8656
+ {
8657
+ "type": "string",
8658
+ "enum": [
8659
+ "position.name",
8660
+ "position.code",
8661
+ "position.grade"
8662
+ ]
8663
+ },
8664
+ {
8665
+ "type": "string",
8666
+ "pattern": "^field:(Position):[A-Za-z_][A-Za-z0-9_]*:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|product)$"
8667
+ }
8668
+ ]
8669
+ }
8670
+ },
8671
+ "availableFields": {
8672
+ "type": "array",
8673
+ "minItems": 1,
8674
+ "uniqueItems": true,
8675
+ "items": {
8676
+ "anyOf": [
8677
+ {
8678
+ "type": "string",
8679
+ "enum": [
8680
+ "position.name",
8681
+ "position.code",
8682
+ "position.grade"
8683
+ ]
8684
+ },
8685
+ {
8686
+ "type": "string",
8687
+ "pattern": "^field:(Position):[A-Za-z_][A-Za-z0-9_]*:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|product)$"
8688
+ }
8689
+ ]
8690
+ }
8691
+ }
8692
+ },
8693
+ "additionalProperties": false
8694
+ },
8695
+ "ASSIGNMENT": {
8696
+ "type": "object",
8697
+ "required": [
8698
+ "defaultFields",
8699
+ "availableFields"
8700
+ ],
8701
+ "properties": {
8702
+ "defaultFields": {
8703
+ "type": "array",
8704
+ "minItems": 1,
8705
+ "uniqueItems": true,
8706
+ "items": {
8707
+ "anyOf": [
8708
+ {
8709
+ "type": "string",
8710
+ "enum": [
8711
+ "person.name",
8712
+ "assignment.type",
8713
+ "assignment.grade",
8714
+ "person.birthDate",
8715
+ "person.tenureYears"
8716
+ ]
8717
+ },
8718
+ {
8719
+ "type": "string",
8720
+ "pattern": "^field:(Assignment|Employee):[A-Za-z_][A-Za-z0-9_]*:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|product)$"
8721
+ },
8722
+ {
8723
+ "enum": [
8724
+ "person.leaveStatus",
8725
+ "person.lastKnownPromotion"
8726
+ ]
8727
+ },
8728
+ {
8729
+ "type": "string",
8730
+ "pattern": "^person\\.leaveBalance:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
8731
+ }
8732
+ ]
8733
+ }
8734
+ },
8735
+ "availableFields": {
8736
+ "type": "array",
8737
+ "minItems": 1,
8738
+ "uniqueItems": true,
8739
+ "items": {
8740
+ "anyOf": [
8741
+ {
8742
+ "type": "string",
8743
+ "enum": [
8744
+ "person.name",
8745
+ "assignment.type",
8746
+ "assignment.grade",
8747
+ "person.birthDate",
8748
+ "person.tenureYears"
8749
+ ]
8750
+ },
8751
+ {
8752
+ "type": "string",
8753
+ "pattern": "^field:(Assignment|Employee):[A-Za-z_][A-Za-z0-9_]*:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|product)$"
8754
+ },
8755
+ {
8756
+ "enum": [
8757
+ "person.leaveStatus",
8758
+ "person.lastKnownPromotion"
8759
+ ]
8760
+ },
8761
+ {
8762
+ "type": "string",
8763
+ "pattern": "^person\\.leaveBalance:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
8764
+ }
8765
+ ]
8766
+ }
8767
+ },
8768
+ "assignmentTypes": {
8769
+ "type": "array",
8770
+ "minItems": 1,
8771
+ "uniqueItems": true,
8772
+ "items": {
8773
+ "type": "string",
8774
+ "enum": [
8775
+ "PRIMARY",
8776
+ "CONCURRENT",
8777
+ "SECONDMENT",
8778
+ "APPOINTMENT"
8779
+ ]
8780
+ }
8781
+ },
8782
+ "defaultAssignmentTypes": {
8783
+ "type": "array",
8784
+ "minItems": 1,
8785
+ "uniqueItems": true,
8786
+ "items": {
8787
+ "type": "string",
8788
+ "enum": [
8789
+ "PRIMARY",
8790
+ "CONCURRENT",
8791
+ "SECONDMENT",
8792
+ "APPOINTMENT"
8793
+ ]
8794
+ }
8795
+ },
8796
+ "relationTypes": {
8797
+ "type": "array",
8798
+ "minItems": 1,
8799
+ "uniqueItems": true,
8800
+ "items": {
8801
+ "type": "string",
8802
+ "enum": [
8803
+ "DIRECT_MANAGER",
8804
+ "MATRIX"
8805
+ ]
8806
+ }
8807
+ },
8808
+ "matrixTypeCodes": {
8809
+ "type": "array",
8810
+ "minItems": 1,
8811
+ "uniqueItems": true,
8812
+ "items": {
8813
+ "type": "string",
8814
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
8815
+ }
8816
+ }
8817
+ },
8818
+ "additionalProperties": false
8819
+ }
8820
+ },
8821
+ "additionalProperties": false
8822
+ },
8823
+ "displayFormats": {
8824
+ "type": "object",
8825
+ "properties": {
8826
+ "org.name": {
8827
+ "type": "string",
8828
+ "enum": [
8829
+ "TEXT"
8830
+ ]
8831
+ },
8832
+ "org.code": {
8833
+ "type": "string",
8834
+ "enum": [
8835
+ "TEXT"
8836
+ ]
8837
+ },
8838
+ "org.manager": {
8839
+ "type": "string",
8840
+ "enum": [
8841
+ "TEXT"
8842
+ ]
8843
+ },
8844
+ "org.assignmentCount": {
8845
+ "type": "string",
8846
+ "enum": [
8847
+ "INTEGER"
8848
+ ]
8849
+ },
8850
+ "org.budgetCount": {
8851
+ "type": "string",
8852
+ "enum": [
8853
+ "INTEGER"
8854
+ ]
8855
+ },
8856
+ "position.name": {
8857
+ "type": "string",
8858
+ "enum": [
8859
+ "TEXT"
8860
+ ]
8861
+ },
8862
+ "position.code": {
8863
+ "type": "string",
8864
+ "enum": [
8865
+ "TEXT"
8866
+ ]
8867
+ },
8868
+ "position.grade": {
8869
+ "type": "string",
8870
+ "enum": [
8871
+ "TEXT"
8872
+ ]
8873
+ },
8874
+ "person.name": {
8875
+ "type": "string",
8876
+ "enum": [
8877
+ "TEXT"
8878
+ ]
8879
+ },
8880
+ "assignment.type": {
8881
+ "type": "string",
8882
+ "enum": [
8883
+ "TEXT"
8884
+ ]
8885
+ },
8886
+ "assignment.grade": {
8887
+ "type": "string",
8888
+ "enum": [
8889
+ "TEXT"
8890
+ ]
8891
+ },
8892
+ "person.birthDate": {
8893
+ "type": "string",
8894
+ "enum": [
8895
+ "ISO_DATE",
8896
+ "MM-DD"
8897
+ ]
8898
+ },
8899
+ "person.tenureYears": {
8900
+ "type": "string",
8901
+ "enum": [
8902
+ "INTEGER_YEARS"
8903
+ ]
8904
+ },
8905
+ "person.leaveStatus": {
8906
+ "enum": [
8907
+ "TEXT"
8908
+ ]
8909
+ },
8910
+ "person.lastKnownPromotion": {
8911
+ "enum": [
8912
+ "ISO_DATE"
8913
+ ]
8914
+ }
8915
+ },
8916
+ "additionalProperties": false,
8917
+ "patternProperties": {
8918
+ "^field:(OrgUnit|Position|Assignment|Employee):[A-Za-z_][A-Za-z0-9_]*:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|product)$": {
8919
+ "enum": [
8920
+ "TEXT",
8921
+ "INTEGER",
8922
+ "DECIMAL",
8923
+ "BOOLEAN",
8924
+ "ISO_DATE",
8925
+ "MM-DD"
8926
+ ]
8927
+ },
8928
+ "^person\\.leaveBalance:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
8929
+ "enum": [
8930
+ "TEXT"
8931
+ ]
8932
+ }
8933
+ }
8934
+ },
8935
+ "fieldBindings": {
8936
+ "type": "object",
8937
+ "minProperties": 1,
8938
+ "patternProperties": {
8939
+ "^field:(OrgUnit|Position|Assignment|Employee):[A-Za-z_][A-Za-z0-9_]*:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|product)$": {
8940
+ "type": "object",
8941
+ "required": [
8942
+ "model",
8943
+ "field"
8944
+ ],
8945
+ "properties": {
8946
+ "model": {
8947
+ "enum": [
8948
+ "OrgUnit",
8949
+ "Position",
8950
+ "Assignment",
8951
+ "Employee"
8952
+ ]
8953
+ },
8954
+ "field": {
8955
+ "type": "string",
8956
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
8957
+ },
8958
+ "definitionId": {
8959
+ "type": "string",
8960
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
8961
+ }
8962
+ },
8963
+ "additionalProperties": false
8964
+ }
8965
+ },
8966
+ "additionalProperties": false
8967
+ }
8968
+ },
8969
+ "additionalProperties": false
8970
+ },
8395
8971
  "AfterHandler": {
8396
8972
  "type": "object",
8397
8973
  "properties": {
@@ -8668,7 +9244,29 @@ var META_SCHEMAS = {
8668
9244
  "options": {
8669
9245
  "$ref": "#/$defs/Map(String,Object)"
8670
9246
  }
8671
- }
9247
+ },
9248
+ "allOf": [
9249
+ {
9250
+ "if": {
9251
+ "required": [
9252
+ "key",
9253
+ "options"
9254
+ ],
9255
+ "properties": {
9256
+ "key": {
9257
+ "const": "openOrgChart"
9258
+ }
9259
+ }
9260
+ },
9261
+ "then": {
9262
+ "properties": {
9263
+ "options": {
9264
+ "$ref": "#/$defs/OrgChartOptions"
9265
+ }
9266
+ }
9267
+ }
9268
+ }
9269
+ ]
8672
9270
  },
8673
9271
  "description": {
8674
9272
  "type": "string"
@@ -8833,7 +9431,13 @@ var META_SCHEMAS = {
8833
9431
  "type": "string"
8834
9432
  },
8835
9433
  "query": {
8836
- "$ref": "#/$defs/Map(String,String)"
9434
+ "$ref": "#/$defs/Map(String,String)",
9435
+ "properties": {
9436
+ "seedFilter": {
9437
+ "type": "string",
9438
+ "x-dsl-condition": true
9439
+ }
9440
+ }
8837
9441
  },
8838
9442
  "routeName": {
8839
9443
  "type": "string"
@@ -9009,6 +9613,16 @@ var META_SCHEMAS = {
9009
9613
  }
9010
9614
  }
9011
9615
  },
9616
+ "surfaces": {
9617
+ "type": "array",
9618
+ "items": {
9619
+ "type": "string",
9620
+ "enum": ["DESKTOP", "MOBILE"]
9621
+ },
9622
+ "minItems": 1,
9623
+ "uniqueItems": true,
9624
+ "description": "\u52A8\u4F5C\u5C55\u793A\u7AEF\u8303\u56F4\uFF1B\u672A\u58F0\u660E\u65F6\u517C\u5BB9\u4E3A DESKTOP \u4E0E MOBILE\u3002\u4EC5\u63A7\u5236 UI \u5C55\u793A\uFF0C\u4E0D\u66FF\u4EE3\u670D\u52A1\u7AEF\u6388\u6743\u6216\u6267\u884C\u6821\u9A8C\u3002"
9625
+ },
9012
9626
  "type": {
9013
9627
  "type": "string"
9014
9628
  },
@@ -9167,6 +9781,13 @@ var META_SCHEMAS = {
9167
9781
  "minLength": 1
9168
9782
  }
9169
9783
  }
9784
+ }, {
9785
+ "type": "object",
9786
+ "required": ["key", "type"],
9787
+ "not": {
9788
+ "required": ["action"]
9789
+ },
9790
+ "description": "\u5185\u8054 Action\uFF08\u4E0E actions[] \u540C\u5F62\uFF0C\u524D\u7AEF MetaActionAdapter.convertCompositeSteps \u6309 'type' \u5224\u522B\uFF09\uFF1B\u4E0E {action, saveAs} \u6B65\u9AA4\u63CF\u8FF0\u4E92\u65A5"
9170
9791
  }]
9171
9792
  }
9172
9793
  }
@@ -9186,7 +9807,8 @@ var META_SCHEMAS = {
9186
9807
  "description": "all = \u8BE5\u5173\u8054\u7684\u5B58\u5728\u6027\u6309\u5168\u91CF\u5B50\u8BB0\u5F55\u5224\u5B9A\uFF0C\u4E0D\u6309\u67E5\u770B\u8005\u5BF9\u5B50\u8868\u7684\u884C\u7EA7\u8303\u56F4\u6536\u7A84\uFF08\u300C\u6CA1\u6709\u5408\u540C\u7684\u4EBA\u300D\u7C7B\u9632\u91CD\u590D\u9875\u9762\u7528\uFF09\u3002\u6309\u53EF\u89C1\u8303\u56F4\u5224\u5B9A\u65F6\u4E0D\u8981\u5199\u8FD9\u4E2A\u952E\u3002"
9187
9808
  },
9188
9809
  "where": {
9189
- "description": "\u4E3A\u7A7A\uFF0C\u6216\u53EA\u542B eq / in / is_null / is_not_null \u4E14\u503C\u4E3A\u5B57\u9762\u91CF\u7684\u53F6\u5B50\uFF08\u53EF and \u7EC4\u5408\uFF09\u3002\u4E0D\u8BB8 or / not / \u5D4C\u5957 exists / match / like / \u6BD4\u8F83\u7B97\u5B50 / \u70B9\u8DEF\u5F84\u5B57\u6BB5\uFF1B\u503C\u4E0D\u5F97\u4EE5 : ? $ \u5F00\u5934\uFF08\u4E3B\u6A21\u578B\u5B57\u6BB5\u5F15\u7528 / \u8BF7\u6C42\u53C2\u6570 / \u7CFB\u7EDF\u5360\u4F4D\u7B26\u2014\u2014defaultFilter \u4E0D\u89E3\u6790 $\uFF0C\u4E00\u5F8B\u53EA\u8BA4\u5B57\u9762\u503C\uFF09\u3002MetaYamlValidator\uFF08EXISTS_DOMAIN_ALL_INVALID\uFF09\u4E0E\u7ED1\u5B9A\u671F\uFF08EXISTS_SCOPE_UNSUPPORTED\uFF09\u540C\u4E00\u8F96\u533A\u3002"
9810
+ "description": "\u4E3A\u7A7A\uFF0C\u6216\u53EA\u542B eq / in / is_null / is_not_null \u4E14\u503C\u4E3A\u5B57\u9762\u91CF\u7684\u53F6\u5B50\uFF08\u53EF and \u7EC4\u5408\uFF09\u3002\u4E0D\u8BB8 or / not / \u5D4C\u5957 exists / match / like / \u6BD4\u8F83\u7B97\u5B50 / \u70B9\u8DEF\u5F84\u5B57\u6BB5\uFF1B\u503C\u4E0D\u5F97\u4EE5 : ? $ \u5F00\u5934\uFF08\u4E3B\u6A21\u578B\u5B57\u6BB5\u5F15\u7528 / \u8BF7\u6C42\u53C2\u6570 / \u7CFB\u7EDF\u5360\u4F4D\u7B26\u2014\u2014defaultFilter \u4E0D\u89E3\u6790 $\uFF0C\u4E00\u5F8B\u53EA\u8BA4\u5B57\u9762\u503C\uFF09\u3002MetaYamlValidator\uFF08EXISTS_DOMAIN_ALL_INVALID\uFF09\u4E0E\u7ED1\u5B9A\u671F\uFF08EXISTS_SCOPE_UNSUPPORTED\uFF09\u540C\u4E00\u8F96\u533A\u3002",
9811
+ "x-dsl-condition": true
9190
9812
  }
9191
9813
  },
9192
9814
  "required": ["relation", "domain"]
@@ -9494,7 +10116,29 @@ var META_SCHEMAS = {
9494
10116
  "options": {
9495
10117
  "$ref": "#/$defs/Map(String,Object)"
9496
10118
  }
9497
- }
10119
+ },
10120
+ "allOf": [
10121
+ {
10122
+ "if": {
10123
+ "required": [
10124
+ "key",
10125
+ "options"
10126
+ ],
10127
+ "properties": {
10128
+ "key": {
10129
+ "const": "openOrgChart"
10130
+ }
10131
+ }
10132
+ },
10133
+ "then": {
10134
+ "properties": {
10135
+ "options": {
10136
+ "$ref": "#/$defs/OrgChartOptions"
10137
+ }
10138
+ }
10139
+ }
10140
+ }
10141
+ ]
9498
10142
  },
9499
10143
  "description": {
9500
10144
  "type": "string"
@@ -9986,7 +10630,8 @@ var META_SCHEMAS = {
9986
10630
  "type": "object",
9987
10631
  "properties": {
9988
10632
  "filter": {
9989
- "$ref": "#/$defs/JsonNode"
10633
+ "$ref": "#/$defs/JsonNode",
10634
+ "x-dsl-condition": true
9990
10635
  },
9991
10636
  "joinType": {
9992
10637
  "type": "string"
@@ -10346,11 +10991,11 @@ var META_SCHEMAS = {
10346
10991
  },
10347
10992
  "render": {
10348
10993
  "$ref": "#/$defs/Map(String,Object)",
10349
- "description": "\u6E32\u67D3\u914D\u7F6E\uFF1BmergeRows\u652F\u6301\u72EC\u7ACB\u7EC4\u952E\uFF0C1.81\u589E\u52A0valueMode:first/singleText/emptyText\u4E0EsecondaryField\u7EAF\u6587\u672C\u526F\u6587\u6848\uFF0C1.89\u589E\u52A0\u4E0E\u7EC4\u952E\u4E92\u65A5\u7684continuationField\u5E03\u5C14\u7EED\u884C\u6807\u8BB0\uFF1B\u4EC5\u5F53\u524D\u9875\u76F8\u90BB\u65E0\u5B57\u6BB5\u88C1\u51B3\uFF0C\u4E0D\u4EE3\u8868\u5B8C\u6574\u7EC4",
10994
+ "description": "\u6E32\u67D3\u914D\u7F6E\uFF1BmergeRows\u652F\u6301\u72EC\u7ACB\u7EC4\u952E\uFF0C1.81\u589E\u52A0valueMode:first/singleText/emptyText\u4E0EsecondaryField\u7EAF\u6587\u672C\u526F\u6587\u6848\uFF0C1.89\u589E\u52A0continuationField\u5E03\u5C14\u7EED\u884C\u6807\u8BB0\uFF0C1.96\u5141\u8BB8\u4E0EgroupField\u7EC4\u5408\uFF1A\u975E\u7A7A\u7EC4\u952E\u6309\u7EC4\u3001\u7A7A\u7EC4\u952E\u6309\u7EED\u884C\uFF0C\u6587\u6848\u4EC5\u7528\u4E8E\u7EC4\u6BB5\uFF1B\u4EC5\u5F53\u524D\u9875\u76F8\u90BB\u65E0\u5B57\u6BB5\u88C1\u51B3\uFF0C\u4E0D\u4EE3\u8868\u5B8C\u6574\u7EC4",
10350
10995
  "type": "object",
10351
10996
  "properties": {
10352
10997
  "mergeRows": {
10353
- "description": "\u5F53\u524D\u9875\u8FDE\u7EED\u5408\u5E76\uFF1BgroupField\u6309\u7EC4\u952E\u5408\u5E76\uFF1B1.89\u8D77continuationField\u5E03\u5C14\u6807\u8BB0\u4E0E\u7EC4\u952E\u4E92\u65A5\uFF0Cfalse\u4E14\u975E\u7A7A\u4E3A\u6BB5\u9996\u3001\u8FDE\u7EEDtrue\u4E3A\u7EED\u884C\uFF0C\u9875\u9996true\u72EC\u7ACB\u7A7A\u767D\uFF1B\u5B57\u6BB5\u88C1\u51B3\u62C6\u6BB5\uFF1B\u4E0D\u8DE8\u9875",
10998
+ "description": "\u5F53\u524D\u9875\u8FDE\u7EED\u5408\u5E76\uFF1B1.96\u8D77\u53EF\u7EC4\u5408groupField\u548CcontinuationField\uFF0C\u975E\u7A7A\u7EC4\u952E\u6309\u7EC4\u3001\u7A7A\u7EC4\u952E\u6309\u7EED\u884C\uFF0C\u7EC4\u6BB5\u6587\u6848\u4E0D\u4F5C\u7528\u4E8E\u7EED\u884C\u6BB5\uFF1B\u5B57\u6BB5\u88C1\u51B3\u62C6\u6BB5\uFF0C\u4E0D\u8DE8\u6A21\u5F0F\u3001\u7EC4\u6216\u5206\u9875",
10354
10999
  "oneOf": [{
10355
11000
  "type": "boolean"
10356
11001
  }, {
@@ -10399,6 +11044,12 @@ var META_SCHEMAS = {
10399
11044
  "emptyText": {
10400
11045
  "type": "string",
10401
11046
  "maxLength": 256
11047
+ },
11048
+ "continuationField": {
11049
+ "type": "string",
11050
+ "minLength": 1,
11051
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$",
11052
+ "description": "\u5DF2\u58F0\u660E\u6295\u5F71\u7684\u5E03\u5C14\u8DEF\u5F84\uFF1B\u4E25\u683Cfalse\u4E3A\u6BB5\u9996\u5019\u9009\u3001true\u5EF6\u7EED\u524D\u683C\uFF1B\u7F3A\u5931/\u975E\u5E03\u5C14/\u5B57\u6BB5\u88C1\u51B3\u62C6\u6BB5\uFF1B\u4E0D\u8FFD\u6EAF\u524D\u9875"
10402
11053
  }
10403
11054
  }
10404
11055
  }, {
@@ -10457,10 +11108,12 @@ var META_SCHEMAS = {
10457
11108
  "properties": {
10458
11109
  "defaultFilter": {
10459
11110
  "$ref": "#/$defs/JsonNode",
10460
- "description": "\u9884\u8BBE\u8FC7\u6EE4\u6761\u4EF6\uFF08Cube AST\uFF0C\u4E0E\u516C\u5171 DSL filter \u540C\u5F62\uFF09\uFF1B\u524D\u7AEF\u9996\u6B21\u6253\u5F00\u5217\u8868\u81EA\u52A8\u5E26\u5165\uFF0C\u670D\u52A1\u7AEF bindState \u65F6\u4E0E serverFilter AND \u5408\u5E76\u8FDB DSL\u3002\u4E0D\u89E3\u6790 $ \u7CFB\u7EDF\u5360\u4F4D\u7B26\uFF08\u4E0E serverFilter \u4E0D\u540C\uFF09\uFF0C\u5199\u4E86\u4F1A\u539F\u6837\u5F53\u5B57\u9762\u503C\u6BD4\u8F83\u3002exists \u8282\u70B9\u5728\u89C6\u56FE\u91CC\u53EF\u591A\u5199\u4E00\u4E2A\u952E domain: all\uFF0C\u5F62\u72B6\u4E0E\u7EA6\u675F\u89C1 #/$defs/ViewExistsDomainAll"
11111
+ "description": "\u9884\u8BBE\u8FC7\u6EE4\u6761\u4EF6\uFF08Cube AST\uFF0C\u4E0E\u516C\u5171 DSL filter \u540C\u5F62\uFF09\uFF1B\u524D\u7AEF\u9996\u6B21\u6253\u5F00\u5217\u8868\u81EA\u52A8\u5E26\u5165\uFF0C\u670D\u52A1\u7AEF bindState \u65F6\u4E0E serverFilter AND \u5408\u5E76\u8FDB DSL\u3002\u4E0D\u89E3\u6790 $ \u7CFB\u7EDF\u5360\u4F4D\u7B26\uFF08\u4E0E serverFilter \u4E0D\u540C\uFF09\uFF0C\u5199\u4E86\u4F1A\u539F\u6837\u5F53\u5B57\u9762\u503C\u6BD4\u8F83\u3002exists \u8282\u70B9\u5728\u89C6\u56FE\u91CC\u53EF\u591A\u5199\u4E00\u4E2A\u952E domain: all\uFF0C\u5F62\u72B6\u4E0E\u7EA6\u675F\u89C1 #/$defs/ViewExistsDomainAll",
11112
+ "x-dsl-condition": true
10461
11113
  }
10462
11114
  },
10463
- "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"
11115
+ "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",
11116
+ "x-dsl-condition": true
10464
11117
  },
10465
11118
  "key": {
10466
11119
  "type": "string",
@@ -10623,6 +11276,10 @@ var META_SCHEMAS = {
10623
11276
  "type": "boolean",
10624
11277
  "description": "\u6A21\u578B\u5929\u7136\u53EA\u8BFB;\u9690\u85CF\u65B0\u5EFA/\u7F16\u8F91/\u5220\u9664/\u6279\u91CF\u5220\u9664\uFF0C\u4FDD\u7559\u67E5\u770B\u4E0E\u5BFC\u822A\u3002\u533A\u522B\u4E8E ?readonly=1 \u7684\u300C\u672C\u6B21\u8FDB\u5165\u53EA\u8BFB\u300D"
10625
11278
  },
11279
+ "relationshipAnalysis": {
11280
+ "$ref": "#/$defs/Map(String,Object)",
11281
+ "description": "\u5173\u7CFB\u56FE\u8C31\u573A\u666F\u7684\u6765\u6E90\u6620\u5C04\u3001\u7EAF\u8BA1\u7B97\u89C4\u5219\u5F15\u7528\u53CA\u9ED8\u8BA4\u7B5B\u9009\uFF1B\u4EBA\u5458\u8303\u56F4\u5FC5\u987B\u7531\u540C\u4E00\u5177\u540D\u5217\u8868\u7684serverFilter\u9650\u5B9A\uFF1B\u9700capabilityVersion>=1.99.0"
11282
+ },
10626
11283
  "reserveSelection": {
10627
11284
  "type": "boolean",
10628
11285
  "description": "\u540C\u4E00\u67E5\u8BE2\u8303\u56F4\u5185\u6309\u7A33\u5B9A id \u4FDD\u7559\u8DE8\u9875\u663E\u5F0F\u9009\u62E9\uFF1B\u8303\u56F4/\u6743\u9650\u8EAB\u4EFD\u6539\u53D8\u5931\u6548\uFF0C\u6267\u884C\u7AEF\u4ECD\u987B\u6388\u6743\uFF1B\u9700 frontend capability 1.82.0"
@@ -10643,7 +11300,8 @@ var META_SCHEMAS = {
10643
11300
  "properties": {
10644
11301
  "filter": {
10645
11302
  "$ref": "#/$defs/JsonNode",
10646
- "description": "\u9009\u4E2D\u8BE5\u9879\u65F6 AND \u8FDB\u67E5\u8BE2\u7684\u8FC7\u6EE4\u53F6\u5B50(Cube AST);\u7F3A\u7701\u8868\u793A\u4E0D\u8FFD\u52A0\u4EFB\u4F55\u8FC7\u6EE4"
11303
+ "description": "\u9009\u4E2D\u8BE5\u9879\u65F6 AND \u8FDB\u67E5\u8BE2\u7684\u8FC7\u6EE4\u53F6\u5B50(Cube AST);\u7F3A\u7701\u8868\u793A\u4E0D\u8FFD\u52A0\u4EFB\u4F55\u8FC7\u6EE4",
11304
+ "x-dsl-condition": true
10647
11305
  },
10648
11306
  "key": {
10649
11307
  "type": "string",
@@ -10676,7 +11334,8 @@ var META_SCHEMAS = {
10676
11334
  },
10677
11335
  "serverFilter": {
10678
11336
  "$ref": "#/$defs/JsonNode",
10679
- "description": "\u670D\u52A1\u7AEF\u5F3A\u5236\u8FC7\u6EE4\u6761\u4EF6(Cube AST);\u8DDF\u7528\u6237 DSL filter AND \u5408\u5E76\u3002\u652F\u6301 $currentUserId / $today \u7B49\u7CFB\u7EDF\u5360\u4F4D\u7B26\uFF08bindState \u524D\u7531 ServerVarResolver \u6362\u6210\u672C\u8BF7\u6C42\u5E38\u91CF\uFF09\u3002exists \u8282\u70B9\u5728\u89C6\u56FE\u91CC\u53EF\u591A\u5199\u4E00\u4E2A\u952E domain: all\uFF0C\u5F62\u72B6\u4E0E\u7EA6\u675F\u89C1 #/$defs/ViewExistsDomainAll"
11337
+ "description": "\u670D\u52A1\u7AEF\u5F3A\u5236\u8FC7\u6EE4\u6761\u4EF6(Cube AST);\u8DDF\u7528\u6237 DSL filter AND \u5408\u5E76\u3002\u652F\u6301 $currentUserId / $today \u7B49\u7CFB\u7EDF\u5360\u4F4D\u7B26\uFF08bindState \u524D\u7531 ServerVarResolver \u6362\u6210\u672C\u8BF7\u6C42\u5E38\u91CF\uFF09\u3002exists \u8282\u70B9\u5728\u89C6\u56FE\u91CC\u53EF\u591A\u5199\u4E00\u4E2A\u952E domain: all\uFF0C\u5F62\u72B6\u4E0E\u7EA6\u675F\u89C1 #/$defs/ViewExistsDomainAll",
11338
+ "x-dsl-condition": true
10680
11339
  },
10681
11340
  "statBar": {
10682
11341
  "type": "object",
@@ -10827,14 +11486,12 @@ var META_SCHEMAS = {
10827
11486
  "columns": {
10828
11487
  "description": "\u4F5C\u8005\u6001\u9876\u5C42\u952E\uFF1A\u670D\u52A1\u7AEF\u79DF\u6237\u5199\u5165\u767D\u540D\u5355\u63A5\u53D7\uFF1B\u672C schema \u4E0D\u7EA6\u675F\u5176\u5185\u90E8\u5F62\u72B6\uFF08\u767D\u540D\u5355\u767B\u8BB0\u5728 MetaAuthoringContract\uFF09"
10829
11488
  },
10830
- "defaultFilter": {
10831
- "description": "\u4F5C\u8005\u6001\u9876\u5C42\u952E\uFF1A\u670D\u52A1\u7AEF\u79DF\u6237\u5199\u5165\u767D\u540D\u5355\u63A5\u53D7\uFF1B\u672C schema \u4E0D\u7EA6\u675F\u5176\u5185\u90E8\u5F62\u72B6\uFF08\u767D\u540D\u5355\u767B\u8BB0\u5728 MetaAuthoringContract\uFF09"
10832
- },
10833
11489
  "emptyState": {
10834
11490
  "description": "\u4F5C\u8005\u6001\u9876\u5C42\u952E\uFF1A\u670D\u52A1\u7AEF\u79DF\u6237\u5199\u5165\u767D\u540D\u5355\u63A5\u53D7\uFF1B\u672C schema \u4E0D\u7EA6\u675F\u5176\u5185\u90E8\u5F62\u72B6\uFF08\u767D\u540D\u5355\u767B\u8BB0\u5728 MetaAuthoringContract\uFF09"
10835
11491
  },
10836
11492
  "filters": {
10837
- "description": "\u4F5C\u8005\u6001\u9876\u5C42\u952E\uFF1A\u670D\u52A1\u7AEF\u79DF\u6237\u5199\u5165\u767D\u540D\u5355\u63A5\u53D7\uFF1B\u672C schema \u4E0D\u7EA6\u675F\u5176\u5185\u90E8\u5F62\u72B6\uFF08\u767D\u540D\u5355\u767B\u8BB0\u5728 MetaAuthoringContract\uFF09"
11493
+ "description": "\u4F5C\u8005\u6001\u9876\u5C42\u952E\uFF1A\u670D\u52A1\u7AEF\u79DF\u6237\u5199\u5165\u767D\u540D\u5355\u63A5\u53D7\uFF1B\u672C schema \u4E0D\u7EA6\u675F\u5176\u5185\u90E8\u5F62\u72B6\uFF08\u767D\u540D\u5355\u767B\u8BB0\u5728 MetaAuthoringContract\uFF09",
11494
+ "x-dsl-condition": true
10838
11495
  },
10839
11496
  "modelKey": {
10840
11497
  "description": "\u4F5C\u8005\u6001\u9876\u5C42\u952E\uFF1A\u670D\u52A1\u7AEF\u79DF\u6237\u5199\u5165\u767D\u540D\u5355\u63A5\u53D7\uFF1B\u672C schema \u4E0D\u7EA6\u675F\u5176\u5185\u90E8\u5F62\u72B6\uFF08\u767D\u540D\u5355\u767B\u8BB0\u5728 MetaAuthoringContract\uFF09"
@@ -10895,7 +11552,8 @@ var META_SCHEMAS = {
10895
11552
  }
10896
11553
  },
10897
11554
  "additionalProperties": false
10898
- }
11555
+ },
11556
+ "x-dsl-condition": true
10899
11557
  }
10900
11558
  }
10901
11559
  }
@@ -10903,7 +11561,9 @@ var META_SCHEMAS = {
10903
11561
  "x-hcm-authoring": {
10904
11562
  "topLevel": "closed",
10905
11563
  "errCode": "META_UNKNOWN_AUTHORING_KEY",
10906
- "retiredTopLevelKeys": {}
11564
+ "retiredTopLevelKeys": {
11565
+ "defaultFilter": "\u6539\u5199\u4E3A filter.defaultFilter\uFF08\u89C4\u8303 AST\uFF1A{field, op, value} \u6216 {and: [...]}\uFF09\uFF1B\u9876\u5C42 defaultFilter \u8FD0\u884C\u65F6\u4E0D\u751F\u6548"
11566
+ }
10907
11567
  }
10908
11568
  },
10909
11569
  info: {
@@ -11608,7 +12268,8 @@ var META_SCHEMAS = {
11608
12268
  "properties": {
11609
12269
  "conditions": {
11610
12270
  "$ref": "#/$defs/Map(String,Object)",
11611
- "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"
12271
+ "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",
12272
+ "x-dsl-condition": true
11612
12273
  },
11613
12274
  "key": {
11614
12275
  "type": "string",
@@ -12531,7 +13192,8 @@ var META_SCHEMAS = {
12531
13192
  "type": "object",
12532
13193
  "properties": {
12533
13194
  "filter": {
12534
- "type": "object"
13195
+ "type": "object",
13196
+ "x-dsl-condition": true
12535
13197
  },
12536
13198
  "joinType": {
12537
13199
  "type": "string"
@@ -12814,6 +13476,29 @@ var META_SCHEMAS = {
12814
13476
  "type": "string",
12815
13477
  "enum": ["YES", "NO", "UNKNOWN"]
12816
13478
  },
13479
+ "CreationTemplate": {
13480
+ "type": "object",
13481
+ "properties": {
13482
+ "modelPrefix": {
13483
+ "type": "string",
13484
+ "pattern": "^CM[EB]_[A-Za-z][A-Za-z0-9_]*$"
13485
+ },
13486
+ "permission": {
13487
+ "$ref": "#/$defs/Map(String,Object)",
13488
+ "type": "object"
13489
+ },
13490
+ "version": {
13491
+ "type": "string",
13492
+ "minLength": 1
13493
+ },
13494
+ "workflowTemplateId": {
13495
+ "type": "string",
13496
+ "format": "uuid"
13497
+ }
13498
+ },
13499
+ "required": ["version", "modelPrefix", "permission"],
13500
+ "additionalProperties": false
13501
+ },
12817
13502
  "DerivedValueType": {
12818
13503
  "type": "string",
12819
13504
  "enum": ["STRING", "INTEGER", "LONG", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "JSON"]
@@ -12882,7 +13567,8 @@ var META_SCHEMAS = {
12882
13567
  "type": "object",
12883
13568
  "properties": {
12884
13569
  "filter": {
12885
- "type": "object"
13570
+ "type": "object",
13571
+ "x-dsl-condition": true
12886
13572
  },
12887
13573
  "joinType": {
12888
13574
  "type": "string"
@@ -12919,11 +13605,22 @@ var META_SCHEMAS = {
12919
13605
  "$ref": "#/$defs/QueryAddition"
12920
13606
  }
12921
13607
  },
13608
+ "assignmentTypes": {
13609
+ "type": "array",
13610
+ "items": {
13611
+ "type": "string",
13612
+ "pattern": "^\\S(?:.*\\S)?$"
13613
+ },
13614
+ "minItems": 1,
13615
+ "uniqueItems": true,
13616
+ "description": "assignmentPosition actor \u8303\u56F4\u5FC5\u586B\u7684\u4EFB\u804C\u7C7B\u578B\u767D\u540D\u5355\uFF0C\u6309\u79DF\u6237\u5F53\u524D\u4E1A\u52A1\u65E5\u3001\u5728\u804C\u4E14\u5728\u5C97\u4EFB\u804C\u89E3\u6790\uFF1B\u5176\u5B83\u7C7B\u578B\u53CA org/wf \u69FD\u4F4D\u7981\u6B62\u4F7F\u7528\u3002"
13617
+ },
12922
13618
  "field": {
12923
13619
  "type": "string"
12924
13620
  },
12925
13621
  "mainFilter": {
12926
- "$ref": "#/$defs/JsonNode"
13622
+ "$ref": "#/$defs/JsonNode",
13623
+ "x-dsl-condition": true
12927
13624
  },
12928
13625
  "type": {
12929
13626
  "type": "string"
@@ -12984,7 +13681,7 @@ var META_SCHEMAS = {
12984
13681
  "type": "array",
12985
13682
  "items": {
12986
13683
  "type": "string",
12987
- "enum": ["INTERACTIVE", "AI", "FLOW", "AI_CONFIRMED"]
13684
+ "enum": ["INTERACTIVE", "AI", "FLOW", "AI_CONFIRMED", "ORCHESTRATION"]
12988
13685
  }
12989
13686
  },
12990
13687
  "confirm": {
@@ -13053,6 +13750,14 @@ var META_SCHEMAS = {
13053
13750
  }
13054
13751
  }
13055
13752
  },
13753
+ "configurationScope": {
13754
+ "type": "string",
13755
+ "minLength": 1
13756
+ },
13757
+ "configurationTemplateHash": {
13758
+ "type": "string",
13759
+ "pattern": "^sha256:[0-9a-f]{64}$"
13760
+ },
13056
13761
  "dataPackage": {
13057
13762
  "type": "object",
13058
13763
  "properties": {
@@ -13257,7 +13962,8 @@ var META_SCHEMAS = {
13257
13962
  },
13258
13963
  "value": {}
13259
13964
  }
13260
- }
13965
+ },
13966
+ "x-dsl-condition": true
13261
13967
  },
13262
13968
  "filterable": {
13263
13969
  "type": "boolean"
@@ -13934,6 +14640,108 @@ var META_SCHEMAS = {
13934
14640
  "type": "string",
13935
14641
  "description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
13936
14642
  },
14643
+ "materialization": {
14644
+ "$ref": "#/$defs/Map(String,Object)",
14645
+ "type": "object",
14646
+ "description": "CMP persistModel \u4ECE\u6570\u636E\u5E93\u5206\u6790\u5B9A\u4E49\u751F\u6210\u7684\u56FA\u5B9A\u8BA1\u7B97\u5408\u540C\uFF1B\u4EC5\u751F\u6210\u53D1\u5E03\u94FE\u53EF\u5199\uFF0C\u666E\u901A\u6A21\u578B\u5143\u6570\u636E\u4E0D\u5F97\u72EC\u7ACB\u4FEE\u6539\u3002\u7F3A\u5C11\u5408\u540C\u3001\u8EAB\u4EFD\u3001\u6307\u7EB9\u6216\u8FD0\u884C\u8BC1\u636E\u65F6\u660E\u786E\u62D2\u7EDD\uFF0C\u4E0D\u63A8\u5B9A\u6210\u529F\u6216\u96F6\u884C\u3002",
14647
+ "required": ["definitionId", "fingerprint", "dataSource", "grain", "period", "timezone", "fieldMappings", "enabled"],
14648
+ "additionalProperties": false,
14649
+ "properties": {
14650
+ "definitionId": {
14651
+ "type": "string",
14652
+ "format": "uuid",
14653
+ "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
14654
+ "description": "\u6570\u636E\u5E93 AnalysisModelDefinition \u7684\u771F\u5B9E UUID\uFF1B\u4E0D\u63A5\u53D7\u7F3A\u5931\u8EAB\u4EFD\u7684\u4E34\u65F6\u66FF\u8EAB\u3002"
14655
+ },
14656
+ "fingerprint": {
14657
+ "type": "string",
14658
+ "pattern": "^[0-9a-f]{64}$",
14659
+ "description": "\u89C4\u8303\u5316\u5B8C\u6574\u5B9A\u4E49\u7684 SHA-256\uFF1B\u8BA1\u7B97\u3001\u5B57\u6BB5\u7ED3\u6784\u3001\u5B58\u50A8\u4E0E\u5B89\u5168\u8BED\u4E49\u53D8\u5316\u5FC5\u987B\u6539\u53D8\u6307\u7EB9\u3002"
14660
+ },
14661
+ "dataSource": {
14662
+ "type": "object",
14663
+ "required": ["dslVersion", "type", "query"],
14664
+ "minProperties": 3,
14665
+ "description": "\u5B8C\u6574\u4FDD\u7559\u6807\u51C6 SharedDataSourceConfig v2 \u4FE1\u5C01\u4E0E query\u3002\u5B8C\u6574\u5F62\u72B6\u53E6\u7531\u7EDF\u4E00 DataSourceWriteGate \u6821\u9A8C\uFF0C\u4E0D\u5F15\u5165\u7B2C\u4E8C\u79CD\u67E5\u8BE2\u8BED\u8A00\uFF1B\u9996\u7248\u53EA\u6267\u884C\u5177\u5907\u5B8C\u6574\u8BFB\u53D6\u8BC1\u660E\u7684 list\uFF0C\u652F\u6301\u8303\u56F4\u5728\u8FD0\u884C\u65F6\u6821\u9A8C\u3002",
14666
+ "properties": {
14667
+ "dslVersion": {
14668
+ "const": 2
14669
+ },
14670
+ "type": {
14671
+ "const": "list"
14672
+ },
14673
+ "query": {
14674
+ "type": "object",
14675
+ "required": ["model"],
14676
+ "properties": {
14677
+ "model": {
14678
+ "type": "string",
14679
+ "minLength": 1
14680
+ }
14681
+ }
14682
+ }
14683
+ }
14684
+ },
14685
+ "grain": {
14686
+ "type": "array",
14687
+ "minItems": 1,
14688
+ "uniqueItems": true,
14689
+ "items": {
14690
+ "type": "string",
14691
+ "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$"
14692
+ },
14693
+ "description": "\u975E\u7A7A\u8F93\u51FA\u7C92\u5EA6\u952E\uFF1B\u987B\u7531\u5DF2\u542F\u7528\u8F93\u51FA\u5B57\u6BB5\u7EC4\u6210\uFF0C\u8FD0\u884C\u65F6\u503C\u975E\u7A7A\u4E14\u7EC4\u5408\u552F\u4E00\u3002"
14694
+ },
14695
+ "period": {
14696
+ "type": "string",
14697
+ "const": "MONTH",
14698
+ "description": "\u9996\u7248\u4EC5\u652F\u6301\u81EA\u7136\u6708\uFF0C\u8FD0\u884C\u671F\u95F4\u4F7F\u7528 YYYY-MM\uFF1B\u671F\u95F4\u6807\u7B7E\u4E0D\u628A\u666E\u901A\u6765\u6E90\u81EA\u52A8\u53D8\u6210\u5386\u53F2\u5FEB\u7167\u3002"
14699
+ },
14700
+ "timezone": {
14701
+ "type": "string",
14702
+ "minLength": 1,
14703
+ "pattern": "\\S",
14704
+ "description": "\u5408\u6CD5 ZoneId\uFF1B\u5B9E\u9645\u5408\u6CD5\u6027\u7531\u7F16\u8BD1\u5668\u9A8C\u8BC1\uFF0C\u4E0D\u4EE5\u9ED8\u8BA4\u65F6\u533A\u66FF\u4EE3\u7F3A\u5931\u58F0\u660E\u3002"
14705
+ },
14706
+ "fieldMappings": {
14707
+ "type": "object",
14708
+ "minProperties": 1,
14709
+ "propertyNames": {
14710
+ "type": "string",
14711
+ "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$"
14712
+ },
14713
+ "additionalProperties": {
14714
+ "oneOf": [{
14715
+ "type": "object",
14716
+ "required": ["field"],
14717
+ "additionalProperties": false,
14718
+ "properties": {
14719
+ "field": {
14720
+ "type": "string",
14721
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*)*$"
14722
+ }
14723
+ }
14724
+ }, {
14725
+ "type": "object",
14726
+ "required": ["formula"],
14727
+ "additionalProperties": false,
14728
+ "properties": {
14729
+ "formula": {
14730
+ "type": "string",
14731
+ "minLength": 1,
14732
+ "pattern": "\\S"
14733
+ }
14734
+ }
14735
+ }]
14736
+ },
14737
+ "description": "\u8F93\u51FA\u5B57\u6BB5\u952E\u6620\u5C04\u5230\u6765\u6E90\u8DEF\u5F84\u6216\u73B0\u6709\u516C\u5F0F\uFF0C\u4E8C\u8005\u6070\u597D\u9009\u4E00\uFF1B\u8F93\u51FA\u7C7B\u578B\u3001\u8EAB\u4EFD\u548C\u5B58\u50A8\u7ED3\u6784\u4ECD\u5199\u5728\u73B0\u6709 fields \u4E2D\u3002"
14738
+ },
14739
+ "enabled": {
14740
+ "type": "boolean",
14741
+ "description": "\u5DF2\u53D1\u5E03\u5B9A\u4E49\u7684\u542F\u7528\u72B6\u6001\uFF1B\u8349\u7A3F\u4FEE\u6539\u9700\u91CD\u65B0 persistModel \u624D\u6539\u53D8\u540E\u7EED\u8FD0\u884C\u3002"
14742
+ }
14743
+ }
14744
+ },
13937
14745
  "name": {
13938
14746
  "type": "string",
13939
14747
  "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'
@@ -13991,12 +14799,65 @@ var META_SCHEMAS = {
13991
14799
  "type": "string"
13992
14800
  }
13993
14801
  },
14802
+ "configurationScope": {
14803
+ "type": "object",
14804
+ "properties": {
14805
+ "domain": {
14806
+ "type": "string",
14807
+ "minLength": 1
14808
+ },
14809
+ "fieldTypes": {
14810
+ "type": "array",
14811
+ "items": {
14812
+ "type": "string",
14813
+ "enum": ["string", "integer", "number", "float", "date", "datetime", "boolean"]
14814
+ },
14815
+ "minItems": 1,
14816
+ "uniqueItems": true
14817
+ },
14818
+ "form": {
14819
+ "$ref": "#/$defs/CreationTemplate"
14820
+ },
14821
+ "models": {
14822
+ "type": "array",
14823
+ "items": {
14824
+ "type": "string",
14825
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
14826
+ },
14827
+ "uniqueItems": true
14828
+ },
14829
+ "newFieldAccess": {
14830
+ "type": "string",
14831
+ "enum": ["INHERIT_EXISTING"]
14832
+ },
14833
+ "subset": {
14834
+ "$ref": "#/$defs/CreationTemplate"
14835
+ },
14836
+ "workspaceKey": {
14837
+ "type": "string",
14838
+ "pattern": "^[A-Za-z0-9._-]+$"
14839
+ }
14840
+ },
14841
+ "required": ["workspaceKey", "domain", "models", "fieldTypes", "newFieldAccess"],
14842
+ "additionalProperties": false
14843
+ },
13994
14844
  "fieldAccess": {
13995
14845
  "type": "array",
13996
14846
  "items": {
13997
14847
  "$ref": "#/$defs/PermissionFieldAccess"
13998
14848
  }
13999
14849
  },
14850
+ "filter": {
14851
+ "$ref": "#/$defs/JsonNode",
14852
+ "type": "object",
14853
+ "minProperties": 1,
14854
+ "description": "\u53EF\u9009\u9759\u6001\u9650\u5B9A\u6761\u4EF6\uFF08Cube AST\uFF09\uFF0Cfield \u652F\u6301\u4E3B\u8868\u5B57\u6BB5\u6216\u5355\u503C\u5916\u952E\u4E00\u8DF3\uFF08\u5982 employeeId.gender\uFF09\uFF1B\u4E0E\u672C\u6761 match \u53D6\u4EA4\u96C6\uFF0C\u4E0D\u540C grants \u53D6\u5E76\u96C6\u3002\u4EC5\u652F\u6301 list/get\uFF0C\u7531\u670D\u52A1\u7AEF\u5B8C\u6574\u5019\u9009\u6821\u9A8C\u3002",
14855
+ "x-dsl-condition": true
14856
+ },
14857
+ "inheritToDerivedModels": {
14858
+ "type": "boolean",
14859
+ "description": "\u662F\u5426\u5141\u8BB8 grantsFrom \u6D3E\u751F\u6A21\u578B\u7EE7\u627F\u672C\u6761\u6388\u6743\uFF1B\u7F3A\u7701\u6216 true \u6CBF\u7528\u65E2\u6709\u7EE7\u627F\uFF0Cfalse \u4EC5\u6388\u6743\u5F53\u524D\u6A21\u578B\uFF0C\u4E0D\u6539\u53D8\u672C\u6A21\u578B\u52A8\u4F5C\u3001\u884C\u8303\u56F4\u6216\u5B57\u6BB5\u6743\u9650\u3002\u4EC5\u53EF\u5728\u652F\u6301\u8BE5\u5C5E\u6027\u7684 Core \u7248\u672C\u53D1\u5E03\uFF1B\u4E0D\u80FD\u4EE5\u6539\u53D8\u76EE\u6807\u6A21\u578B\u7684 scope \u66FF\u4EE3\u3002"
14860
+ },
14000
14861
  "match": {
14001
14862
  "type": "string",
14002
14863
  "pattern": "^[\\u0000-\\u0020]*(?:[A-Za-z\u212A][A-Za-z0-9_\u212A]*[\\u0000-\\u0020]*)?$",
@@ -14204,7 +15065,8 @@ var META_SCHEMAS = {
14204
15065
  }
14205
15066
  },
14206
15067
  "minItems": 1,
14207
- "description": "\u5DE6\u680F\u7B5B\u9009\u8868\u5355(menu.source.form)\u7684\u503C\u5E76\u8FDB\u672C\u5217\u8868\u6761\u4EF6:\u5355\u503C eq\u3001\u6570\u7EC4 in\u3001\u7A7A\u4E0D\u52A0,\u4E0E\u5DE6\u680F\u9009\u4E2D\u6761\u4EF6\u5E73\u94FA\u5728\u540C\u4E00\u4E2A\u9876\u5C42\u300C\u5E76\u4E14\u300D\u7EC4\u3002\u9700 frontend capability 1.57.0"
15068
+ "description": "\u5DE6\u680F\u7B5B\u9009\u8868\u5355(menu.source.form)\u7684\u503C\u5E76\u8FDB\u672C\u5217\u8868\u6761\u4EF6:\u5355\u503C eq\u3001\u6570\u7EC4 in\u3001\u7A7A\u4E0D\u52A0,\u4E0E\u5DE6\u680F\u9009\u4E2D\u6761\u4EF6\u5E73\u94FA\u5728\u540C\u4E00\u4E2A\u9876\u5C42\u300C\u5E76\u4E14\u300D\u7EC4\u3002\u9700 frontend capability 1.57.0",
15069
+ "x-dsl-condition": true
14208
15070
  },
14209
15071
  "metaPlugin": {
14210
15072
  "type": "string"
@@ -14885,6 +15747,16 @@ var META_SCHEMAS = {
14885
15747
  }
14886
15748
  }
14887
15749
  },
15750
+ "surfaces": {
15751
+ "type": "array",
15752
+ "items": {
15753
+ "type": "string",
15754
+ "enum": ["DESKTOP", "MOBILE"]
15755
+ },
15756
+ "minItems": 1,
15757
+ "uniqueItems": true,
15758
+ "description": "\u52A8\u4F5C\u5C55\u793A\u7AEF\u8303\u56F4\uFF1B\u672A\u58F0\u660E\u65F6\u517C\u5BB9\u4E3A DESKTOP \u4E0E MOBILE\u3002\u4EC5\u63A7\u5236 UI \u5C55\u793A\uFF0C\u4E0D\u66FF\u4EE3\u670D\u52A1\u7AEF\u6388\u6743\u6216\u6267\u884C\u6821\u9A8C\u3002"
15759
+ },
14888
15760
  "type": {
14889
15761
  "type": "string"
14890
15762
  },
@@ -15200,7 +16072,8 @@ var META_SCHEMAS = {
15200
16072
  }
15201
16073
  },
15202
16074
  "required": ["field", "source", "path"]
15203
- }
16075
+ },
16076
+ "x-dsl-condition": true
15204
16077
  }
15205
16078
  }
15206
16079
  }]
@@ -15791,7 +16664,8 @@ var META_SCHEMAS = {
15791
16664
  "type": "string"
15792
16665
  },
15793
16666
  "filter": {
15794
- "type": "string"
16667
+ "type": "string",
16668
+ "x-dsl-condition": true
15795
16669
  },
15796
16670
  "order": {
15797
16671
  "type": "string",
@@ -16073,7 +16947,8 @@ var META_SCHEMAS = {
16073
16947
  }
16074
16948
  },
16075
16949
  "required": ["field", "operator", "value"]
16076
- }
16950
+ },
16951
+ "x-dsl-condition": true
16077
16952
  },
16078
16953
  "renderer": {
16079
16954
  "type": "string",
@@ -17571,6 +18446,9 @@ var META_SCHEMAS = {
17571
18446
  "export": {
17572
18447
  "type": "object",
17573
18448
  "properties": {
18449
+ "salaryItemCode": {
18450
+ "type": "string"
18451
+ },
17574
18452
  "valuePath": {
17575
18453
  "type": "string",
17576
18454
  "pattern": "^[A-Za-z_][A-Za-z0-9_]*\\.[A-Za-z_][A-Za-z0-9_]*$",
@@ -31441,6 +32319,8 @@ export {
31441
32319
  IMPORT_PLAN_FILE,
31442
32320
  INIT_EXIT_CODES,
31443
32321
  INSTALL_CONFIRMATION_HINTS,
32322
+ INTROSPECTION_ENVELOPE_KEYS,
32323
+ INTROSPECTION_PATH,
31444
32324
  JIRA_BASE,
31445
32325
  JIRA_KEYCHAIN,
31446
32326
  JIRA_PROJECT,
@@ -31488,6 +32368,12 @@ export {
31488
32368
  MINI_STATE_DIR,
31489
32369
  MODELS_PATH,
31490
32370
  MODEL_META_PATH,
32371
+ MODEL_SEARCH_DEGRADED_COUNT_KEYS,
32372
+ MODEL_SEARCH_KEYS,
32373
+ MODEL_SEARCH_PATH,
32374
+ MUTATION_CAPABILITY_OPS,
32375
+ MUTATION_CAPABILITY_PATH,
32376
+ MUTATION_CELL_KEYS,
31491
32377
  MappingError,
31492
32378
  NETWORK_GATES,
31493
32379
  NEXT_STEP2 as NEXT_STEP,
@@ -31510,6 +32396,7 @@ export {
31510
32396
  PREMISE_ROWS_TO_CHECK,
31511
32397
  PREMISE_UNMET,
31512
32398
  PREMISE_WORDS,
32399
+ PRESET_ORIGIN_PATH,
31513
32400
  PROACTIVE_REFRESH_MARGIN_SECONDS,
31514
32401
  PRODUCT_STATE_WORDS,
31515
32402
  PlanReadError,
@@ -31619,6 +32506,7 @@ export {
31619
32506
  changePassword,
31620
32507
  checkCoherence,
31621
32508
  classifyEffect,
32509
+ classifyEndpointFailure,
31622
32510
  classifyMessage,
31623
32511
  classifyStatus,
31624
32512
  clearMetaCache,
@@ -31676,6 +32564,9 @@ export {
31676
32564
  fetchConversationTimeline,
31677
32565
  fetchConversationTimelineStrict,
31678
32566
  fetchInstallRun,
32567
+ fetchIntrospection,
32568
+ fetchMutationCapability,
32569
+ fetchPresetOrigin,
31679
32570
  fetchRecentConversations,
31680
32571
  fetchReconIdentity,
31681
32572
  fetchSkillCatalog,
@@ -31735,6 +32626,7 @@ export {
31735
32626
  isSupersededItem,
31736
32627
  isTempEnv,
31737
32628
  isTerminalRunStatus,
32629
+ isUuid,
31738
32630
  isWorkspaceRelativePath,
31739
32631
  isZeroNetwork,
31740
32632
  jiraTokenHelp,
@@ -31773,6 +32665,7 @@ export {
31773
32665
  metaFileUrl,
31774
32666
  metaKindFromPath,
31775
32667
  migrateLegacyProfiles,
32668
+ missingKeys,
31776
32669
  modelEntries,
31777
32670
  modelKeys,
31778
32671
  needsRefresh,
@@ -31818,6 +32711,7 @@ export {
31818
32711
  readMiniContext,
31819
32712
  readPullManifest,
31820
32713
  readSessionPrincipal,
32714
+ readTextPart,
31821
32715
  readWorkspaceInspection,
31822
32716
  rebind,
31823
32717
  rebindPayload,
@@ -31873,6 +32767,7 @@ export {
31873
32767
  saveWorkspaceFileContent,
31874
32768
  saveWorkspaceFileContentChecked,
31875
32769
  scriptDryRun,
32770
+ searchModels,
31876
32771
  seedBaselines,
31877
32772
  seedMappingPath,
31878
32773
  seedWorkDir,