@agentprismform/agent-plugin 1.2.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  Zero-dependency AI Agent plugin (CLI + 20-tool stdio MCP Server + Skill) for authoring, validating, self-testing, scaffolding host pages (`scaffold-host`), and live-previewing `FormSchema` forms across Vue 3, React 18, WeChat Miniapp, and standalone offline HTML (with full `en-US` / `zh-CN` UI switching).
6
6
 
7
- ## Quick Install (Antigravity / DeepSeek-Harness / Claude Code / Cursor)
7
+ ## Quick Install (One Command via `npx` — Zero Global Install Needed)
8
8
 
9
9
  ```bash
10
- node bin/install-host.cjs --host antigravity --scope user --write-mcp
10
+ npx @agentprismform/agent-plugin install --host antigravity --scope user --write-mcp
11
11
  # or --host deepseek-harness | claude | cursor | all
12
12
  ```
package/README.zh-CN.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  零外部依赖的 AI Agent 表单插件(CLI + 20 工具 stdio MCP Server + Skill),支持 `FormSchema` 确定性创作、无头自测、一键脚手架注入宿主工程(`scaffold-host`)、SSE 1 秒热刷新预览与定稿单文件 HTML 导出(原生支持 `zh-CN` / `en-US` 双语切换)。
6
6
 
7
- ## 一键接入 AI 宿主(Antigravity / DeepSeek-Harness / Claude Code / Cursor)
7
+ ## 一条命令免全局安装接入 AI 宿主(Antigravity / DeepSeek-Harness / Claude Code / Cursor)
8
8
 
9
9
  ```bash
10
- node bin/install-host.cjs --host antigravity --scope user --write-mcp
10
+ npx @agentprismform/agent-plugin install --host antigravity --scope user --write-mcp
11
11
  # 也支持 --host deepseek-harness | claude | cursor | all
12
12
  ```
@@ -14783,19 +14783,37 @@ var require_patch = __commonJS({
14783
14783
  for (const op of operations) {
14784
14784
  switch (op.type) {
14785
14785
  case "SET_FORM_META": {
14786
- if (op.patch.title !== void 0)
14787
- next.title = op.patch.title;
14788
- if (op.patch.description !== void 0)
14789
- next.description = op.patch.description;
14790
- if (op.patch.submitApi !== void 0)
14791
- next.submitApi = op.patch.submitApi;
14792
- if (op.patch.storageKey !== void 0)
14793
- next.storageKey = op.patch.storageKey;
14786
+ const meta = op.patch || op;
14787
+ if (!meta || typeof meta !== "object") {
14788
+ opErrors.push({
14789
+ code: "INVALID_FIELD_KEY",
14790
+ severity: "error",
14791
+ message: 'SET_FORM_META \u9700\u8981 patch \u5BF9\u8C61\uFF0C\u4F8B\u5982 { "type": "SET_FORM_META", "patch": { "title": "...", "storageKey": "..." } }'
14792
+ });
14793
+ break;
14794
+ }
14795
+ if (meta.title !== void 0)
14796
+ next.title = meta.title;
14797
+ if (meta.description !== void 0)
14798
+ next.description = meta.description;
14799
+ if (meta.submitApi !== void 0)
14800
+ next.submitApi = meta.submitApi;
14801
+ if (meta.storageKey !== void 0)
14802
+ next.storageKey = meta.storageKey;
14794
14803
  break;
14795
14804
  }
14796
14805
  case "ADD_GROUP": {
14806
+ const grp = op.group || (op.key ? { key: op.key, title: op.title || "", items: op.items || [] } : null);
14807
+ if (!grp || typeof grp !== "object" || !grp.key) {
14808
+ opErrors.push({
14809
+ code: "GROUP_NOT_FOUND",
14810
+ severity: "error",
14811
+ message: 'ADD_GROUP \u9700\u8981 group \u5BF9\u8C61\u4E14\u542B key\uFF0C\u4F8B\u5982 { "type": "ADD_GROUP", "group": { "key": "group_info", "title": "\u57FA\u672C\u4FE1\u606F", "items": [] } }'
14812
+ });
14813
+ break;
14814
+ }
14797
14815
  const idx = clampIndex(op.index, next.groups.length);
14798
- next.groups.splice(idx, 0, JSON.parse(JSON.stringify(op.group)));
14816
+ next.groups.splice(idx, 0, JSON.parse(JSON.stringify(grp)));
14799
14817
  break;
14800
14818
  }
14801
14819
  case "UPDATE_GROUP": {
@@ -14809,12 +14827,13 @@ var require_patch = __commonJS({
14809
14827
  });
14810
14828
  break;
14811
14829
  }
14812
- if (op.patch.title !== void 0)
14813
- g.title = op.patch.title;
14814
- if (op.patch.description !== void 0)
14815
- g.description = op.patch.description;
14816
- if (op.patch.visible !== void 0)
14817
- g.visible = op.patch.visible;
14830
+ const gPatch = op.patch || {};
14831
+ if (gPatch.title !== void 0)
14832
+ g.title = gPatch.title;
14833
+ if (gPatch.description !== void 0)
14834
+ g.description = gPatch.description;
14835
+ if (gPatch.visible !== void 0)
14836
+ g.visible = gPatch.visible;
14818
14837
  break;
14819
14838
  }
14820
14839
  case "REMOVE_GROUP": {
@@ -16949,154 +16968,59 @@ module.exports = ${JSON.stringify(payload, null, 2)}
16949
16968
  let entryFile = "";
16950
16969
  let mountSnippet = "";
16951
16970
  if (platform === "vue3") {
16952
- packages = [`${scope}/core`, `${scope}/render`, `${scope}/render-vue`, `${scope}/render-ui`];
16971
+ packages = [`${scope}/render-vue`];
16953
16972
  entryFile = path2.join(absDir, `${compName}.vue`);
16954
16973
  const vueCode = `<script setup lang="ts">
16955
- import { onMounted, onUnmounted, provide, reactive, ref, watch } from 'vue'
16956
- import { FormCore, type FormSchema } from '${scope}/core'
16957
- import { createFormRenderState, type ResolvedFormGroup } from '${scope}/render'
16958
- import { FormRender } from '${scope}/render-vue'
16959
- import {
16960
- FORM_UI_HOST_HANDLERS_KEY,
16961
- MODERN_COLLAPSIBLE_KEY,
16962
- MODERN_CUSTOM_CONTROLS_KEY,
16963
- MODERN_KEYBOARD_POLICY_KEY,
16964
- MODERN_LOCALE_KEY,
16965
- MODERN_SHELL_SKIN_KEY,
16966
- MODERN_THEME_OVERRIDE_KEY,
16967
- getModernShellComponents,
16968
- resolveModernThemeVars,
16969
- type FormUiHostHandlers,
16970
- type ModernCustomControlsMap,
16971
- type ModernKeyboardPolicy,
16972
- type ModernLocale,
16973
- type ModernShellSkin,
16974
- } from '${scope}/render-ui'
16975
- import '${scope}/render-ui/style.css'
16974
+ import { PrismForm, type UniversalHostHandlers } from '${scope}/render-vue'
16976
16975
  import '${scope}/render-vue/style.css'
16977
16976
  import bundle from './form.bundle.json'
16978
16977
 
16979
- const props = withDefaults(
16978
+ withDefaults(
16980
16979
  defineProps<{
16981
- hostHandlers?: FormUiHostHandlers | null
16982
- customControls?: ModernCustomControlsMap
16983
- locale?: ModernLocale
16980
+ hostHandlers?: UniversalHostHandlers | null
16981
+ customControls?: Record<string, any>
16982
+ locale?: 'zh-CN' | 'en-US'
16984
16983
  submitText?: string
16984
+ submitting?: boolean
16985
16985
  }>(),
16986
16986
  {
16987
16987
  hostHandlers: null,
16988
16988
  customControls: () => ({}),
16989
- locale: ((bundle.themeConfig as any)?.locale || 'zh-CN') as ModernLocale,
16989
+ locale: ((bundle.themeConfig as any)?.locale || 'zh-CN') as 'zh-CN' | 'en-US',
16990
16990
  submitText: ((bundle.themeConfig as any)?.submitText || '') as string,
16991
+ submitting: false,
16991
16992
  },
16992
16993
  )
16993
16994
 
16994
16995
  const emit = defineEmits<{
16995
16996
  (e: 'submit', payload: Record<string, unknown>): void
16996
16997
  }>()
16997
-
16998
- const schema = bundle.schema as unknown as FormSchema
16999
- const themeCfg = (bundle.themeConfig || {}) as Record<string, any>
17000
- const skin = ref<ModernShellSkin>((themeCfg.skin || 'fin-minimal') as ModernShellSkin)
17001
- const localeRef = ref<ModernLocale>(props.locale)
17002
- watch(() => props.locale, (v) => { localeRef.value = v })
17003
-
17004
- const themeVars = resolveModernThemeVars(skin.value, themeCfg.override || null)
17005
- const modernShell = getModernShellComponents()
17006
-
17007
- const fields = reactive<Record<string, any>>({})
17008
- const groups = ref<ResolvedFormGroup[]>([])
17009
- const submitting = ref(false)
17010
- let core: FormCore | null = null
17011
-
17012
- provide(FORM_UI_HOST_HANDLERS_KEY, props.hostHandlers)
17013
- provide(MODERN_SHELL_SKIN_KEY, skin)
17014
- provide(MODERN_THEME_OVERRIDE_KEY, themeCfg.override || null)
17015
- provide(MODERN_COLLAPSIBLE_KEY, themeCfg.formMode === 'collapsible')
17016
- provide(MODERN_KEYBOARD_POLICY_KEY, (themeCfg.keyboardPolicy || 'auto') as ModernKeyboardPolicy)
17017
- provide(MODERN_LOCALE_KEY, localeRef)
17018
- provide(MODERN_CUSTOM_CONTROLS_KEY, props.customControls)
17019
-
17020
- function syncState() {
17021
- if (!core) return
17022
- for (const k of Object.keys(fields)) delete fields[k]
17023
- for (const k of Object.keys(core.fields)) fields[k] = { ...core.fields[k] }
17024
- groups.value = createFormRenderState(schema, { ...fields }, { excludeTaskAndAgreement: false }).groups
17025
- }
17026
-
17027
- async function onSubmit() {
17028
- if (!core || submitting.value) return
17029
- if (!core.validateAll()) {
17030
- syncState()
17031
- const firstErr = document.querySelector('[data-has-error="1"]') as HTMLElement | null
17032
- firstErr?.scrollIntoView({ behavior: 'smooth', block: 'center' })
17033
- const input = firstErr?.querySelector('input, textarea, select') as HTMLElement | null
17034
- input?.focus?.({ preventScroll: true })
17035
- return
17036
- }
17037
- submitting.value = true
17038
- try {
17039
- const payload = core.collectFormData({ skipVerify: true })
17040
- emit('submit', payload)
17041
- } finally {
17042
- submitting.value = false
17043
- }
17044
- }
17045
-
17046
- onMounted(async () => {
17047
- const mem = new Map<string, any>()
17048
- core = new FormCore(JSON.parse(JSON.stringify(schema)), {
17049
- get: (k) => mem.get(k),
17050
- set: (k, v) => mem.set(k, v),
17051
- remove: (k) => mem.delete(k),
17052
- })
17053
- await core.init({})
17054
- core.on('afterChange', syncState)
17055
- syncState()
17056
- })
17057
-
17058
- onUnmounted(() => {
17059
- core?.off('afterChange', syncState)
17060
- })
17061
16998
  </script>
17062
16999
 
17063
17000
  <template>
17064
- <div class="apf-host-page" :style="themeVars" style="max-width: 480px; margin: 0 auto; padding-bottom: 72px;">
17065
- <FormRender
17066
- v-if="core"
17067
- :groups="groups"
17068
- :fields="fields"
17069
- :formCore="core"
17070
- :host-handlers="hostHandlers"
17071
- :custom-controls="customControls"
17072
- v-bind="modernShell"
17073
- />
17074
- <div style="padding: 12px 16px;">
17075
- <button
17076
- type="button"
17077
- :disabled="submitting"
17078
- style="width: 100%; height: 44px; border: 0; border-radius: 10px; background: var(--fs-brand, #0F52BA); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;"
17079
- @click="onSubmit"
17080
- >
17081
- {{ submitText || (localeRef === 'en-US' ? 'Submit Form' : '\u63D0\u4EA4\u8868\u5355') }}
17082
- </button>
17083
- </div>
17084
- </div>
17001
+ <PrismForm
17002
+ :bundle="bundle as any"
17003
+ :host-handlers="hostHandlers"
17004
+ :custom-controls="customControls"
17005
+ :locale="locale"
17006
+ :submit-text="submitText || undefined"
17007
+ :submitting="submitting"
17008
+ @submit="(payload) => emit('submit', payload)"
17009
+ />
17085
17010
  </template>
17086
17011
  `;
17087
17012
  fs.writeFileSync(entryFile, vueCode, "utf8");
17088
17013
  files.component = entryFile;
17089
17014
  mountSnippet = `<${compName} :host-handlers="hostHandlers" :custom-controls="{}" @submit="handleSubmit" />`;
17090
17015
  } else if (platform === "react18") {
17091
- packages = [`${scope}/core`, `${scope}/render`, `${scope}/render-web`];
17016
+ packages = [`${scope}/render-web`];
17092
17017
  entryFile = path2.join(absDir, `${compName}.tsx`);
17093
- const reactCode = `import React, { useCallback, useEffect, useRef, useState } from 'react'
17094
- import { FormCore, type FormSchema } from '${scope}/core'
17018
+ const reactCode = `import React from 'react'
17095
17019
  import {
17096
- FormRender,
17020
+ PrismForm,
17097
17021
  type FormWebHostHandlers,
17098
17022
  type WebCustomControlsMap,
17099
- type WebModernSkin,
17023
+ type WebLocale,
17100
17024
  type WebRenderControlFn,
17101
17025
  } from '${scope}/render-web'
17102
17026
  import bundle from './form.bundle.json'
@@ -17105,6 +17029,7 @@ export interface ${compName}Props {
17105
17029
  hostHandlers?: FormWebHostHandlers | null
17106
17030
  customControls?: WebCustomControlsMap
17107
17031
  renderControl?: WebRenderControlFn
17032
+ locale?: WebLocale
17108
17033
  submitText?: string
17109
17034
  onSubmit: (payload: Record<string, unknown>) => void | Promise<void>
17110
17035
  }
@@ -17113,114 +17038,20 @@ export function ${compName}({
17113
17038
  hostHandlers = null,
17114
17039
  customControls,
17115
17040
  renderControl,
17041
+ locale,
17116
17042
  submitText,
17117
17043
  onSubmit,
17118
17044
  }: ${compName}Props) {
17119
- const schema = bundle.schema as unknown as FormSchema
17120
- const themeCfg = (bundle.themeConfig || {}) as Record<string, any>
17121
- const coreRef = useRef<FormCore | null>(null)
17122
- const [fields, setFields] = useState<Record<string, any>>({})
17123
- const [submitting, setSubmitting] = useState(false)
17124
-
17125
- const syncState = useCallback(() => {
17126
- const c = coreRef.current
17127
- if (!c) return
17128
- const next: Record<string, any> = {}
17129
- for (const k of Object.keys(c.fields)) next[k] = { ...c.fields[k] }
17130
- setFields(next)
17131
- }, [])
17132
-
17133
- useEffect(() => {
17134
- const mem = new Map<string, any>()
17135
- const c = new FormCore(JSON.parse(JSON.stringify(schema)), {
17136
- get: (k) => mem.get(k),
17137
- set: (k, v) => mem.set(k, v),
17138
- remove: (k) => mem.delete(k),
17139
- })
17140
- coreRef.current = c
17141
- c.init({}).then(() => {
17142
- c.on('afterChange', syncState)
17143
- syncState()
17144
- })
17145
- return () => { c.off('afterChange', syncState) }
17146
- }, [schema, syncState])
17147
-
17148
- const handleFieldChange = useCallback(
17149
- ({ key, value, eventType }: { key: string; value: any; eventType?: string }) => {
17150
- const c = coreRef.current
17151
- if (!c) return
17152
- const hadError = Boolean(c.fields[key]?.errMsg)
17153
- c.setControlData(key, value, {
17154
- eventType: eventType === 'inputChange' ? undefined : eventType,
17155
- ...(eventType === 'inputChange' && !hadError ? { skipVerify: true } : {}),
17156
- })
17157
- },
17158
- [],
17159
- )
17160
-
17161
- const handleSubmit = async () => {
17162
- const c = coreRef.current
17163
- if (!c || submitting) return
17164
- if (!c.validateAll()) {
17165
- syncState()
17166
- const firstErr = document.querySelector('[data-has-error="1"]') as HTMLElement | null
17167
- firstErr?.scrollIntoView({ behavior: 'smooth', block: 'center' })
17168
- const input = firstErr?.querySelector('input, textarea, select') as HTMLElement | null
17169
- input?.focus?.({ preventScroll: true })
17170
- return
17171
- }
17172
- setSubmitting(true)
17173
- try {
17174
- const payload = c.collectFormData({ skipVerify: true })
17175
- await onSubmit(payload)
17176
- } finally {
17177
- setSubmitting(false)
17178
- }
17179
- }
17180
-
17181
- const label =
17182
- submitText ||
17183
- themeCfg.submitText ||
17184
- (String(themeCfg.locale || '').startsWith('en') ? 'Submit Form' : '\u63D0\u4EA4\u8868\u5355')
17185
-
17186
17045
  return (
17187
- <div style={{ maxWidth: 680, margin: '0 auto', paddingBottom: 48 }}>
17188
- <FormRender
17189
- schema={schema}
17190
- fields={fields}
17191
- formCore={coreRef.current}
17192
- skin={(themeCfg.skin || 'fin-minimal') as WebModernSkin}
17193
- themeOverride={themeCfg.override || null}
17194
- formMode={themeCfg.formMode || 'flat'}
17195
- showProgressBar={themeCfg.showProgressBar !== false}
17196
- hostHandlers={hostHandlers}
17197
- customControls={customControls}
17198
- renderControl={renderControl}
17199
- onFieldChange={handleFieldChange}
17200
- footer={
17201
- <div style={{ padding: '12px 16px' }}>
17202
- <button
17203
- type="button"
17204
- disabled={submitting}
17205
- onClick={handleSubmit}
17206
- style={{
17207
- width: '100%',
17208
- height: 44,
17209
- border: 0,
17210
- borderRadius: 10,
17211
- background: themeCfg.override?.brandColor || '#0F52BA',
17212
- color: '#fff',
17213
- fontSize: 15,
17214
- fontWeight: 600,
17215
- cursor: 'pointer',
17216
- }}
17217
- >
17218
- {label}
17219
- </button>
17220
- </div>
17221
- }
17222
- />
17223
- </div>
17046
+ <PrismForm
17047
+ bundle={bundle as any}
17048
+ hostHandlers={hostHandlers}
17049
+ customControls={customControls}
17050
+ renderControl={renderControl}
17051
+ locale={locale}
17052
+ submitText={submitText}
17053
+ onSubmit={onSubmit}
17054
+ />
17224
17055
  )
17225
17056
  }
17226
17057
  `;
@@ -17383,14 +17214,14 @@ Page({
17383
17214
 
17384
17215
  ## 1. Install Required Packages / \u5B89\u88C5\u4F9D\u8D56\u5305
17385
17216
 
17386
- **Option A \u2014 From local AgentPrismForm clone (works immediately without npm publish / \u65E0\u9700\u53D1 npm \u7ACB\u5373\u53EF\u7528):**
17217
+ **Option A \u2014 From npm registry / \u4ECE npm \u5B98\u65B9\u6E90\u76F4\u63A5\u5B89\u88C5\uFF08\u63A8\u8350\uFF09:**
17387
17218
  \`\`\`bash
17388
- ${localInstallCmd}
17219
+ ${npmInstallCmd}
17389
17220
  \`\`\`
17390
17221
 
17391
- **Option B \u2014 From npm registry (after \`@agentprismform/*\` is published):**
17222
+ **Option B \u2014 From local AgentPrismForm clone / \u79BB\u7EBF\u6216\u672C\u5730\u4ED3\u5E93\u8C03\u8BD5:**
17392
17223
  \`\`\`bash
17393
- ${npmInstallCmd}
17224
+ ${localInstallCmd}
17394
17225
  \`\`\`
17395
17226
 
17396
17227
  ## 2. Mount in Your App / \u5728\u4E1A\u52A1\u9875\u9762\u6302\u8F7D
@@ -17487,13 +17318,16 @@ var TOOLS = [
17487
17318
  },
17488
17319
  {
17489
17320
  name: "form_schema_patch",
17490
- description: "\u6309\u539F\u5B50 Patch \u64CD\u4F5C\u589E\u91CF\u7F16\u8F91\u5DF2\u6709 FormSchema\uFF08\u81EA\u52A8\u8865\u9F50\u624B\u673A\u53F7/\u8EAB\u4EFD\u8BC1\u7B49\u6807\u51C6\u683C\u5F0F\u6821\u9A8C\u5E76\u8FD4\u56DE Diff \u4E0E\u6CBB\u7406\u7ED3\u679C\uFF09",
17321
+ description: `\u6309\u539F\u5B50 Patch \u64CD\u4F5C\u589E\u91CF\u7F16\u8F91\u5DF2\u6709 FormSchema\uFF08\u81EA\u52A8\u8865\u9F50\u624B\u673A\u53F7/\u8EAB\u4EFD\u8BC1\u7B49\u6807\u51C6\u683C\u5F0F\u6821\u9A8C\u5E76\u8FD4\u56DE Diff \u4E0E\u6CBB\u7406\u7ED3\u679C\uFF09\u3002inputPath JSON \u793A\u4F8B\uFF1A{"ops":[{"type":"SET_FORM_META","patch":{"storageKey":"apf_demo"}},{"type":"ADD_GROUP","group":{"key":"g1","title":"\u5206\u7EC4","items":[]}},{"type":"ADD_FIELD","groupKey":"g1","item":{"key":"team_mode","type":"radioGroup","label":"\u65B9\u5F0F","required":true,"initOptions":[{"code":"solo","name":"\u4E2A\u4EBA"},{"code":"team","name":"\u7EC4\u961F"}],"relations":[{"target":"team_size","effect":"visible","type":"local","logic":"value === 'team'"}]}}]}`,
17491
17322
  inputSchema: {
17492
17323
  type: "object",
17493
17324
  required: ["schemaPath", "inputPath"],
17494
17325
  properties: {
17495
17326
  schemaPath: { type: "string" },
17496
- inputPath: { type: "string", description: "\u5305\u542B ops \u6570\u7EC4\u7684 JSON \u6587\u4EF6\u8DEF\u5F84" },
17327
+ inputPath: {
17328
+ type: "string",
17329
+ description: "\u5305\u542B ops \u6570\u7EC4\u7684 JSON \u6587\u4EF6\u8DEF\u5F84\uFF08\u652F\u6301 SET_FORM_META.patch / ADD_GROUP.group / UPDATE_GROUP / REMOVE_GROUP / ADD_FIELD.groupKey+item / PATCH_FIELD.fieldKey+patch / REMOVE_FIELD / MOVE_FIELD / UPSERT_RELATION / INSERT_SNIPPET\uFF09"
17330
+ },
17497
17331
  enrich: { type: "boolean", default: true }
17498
17332
  }
17499
17333
  }
@@ -17524,13 +17358,16 @@ var TOOLS = [
17524
17358
  },
17525
17359
  {
17526
17360
  name: "form_schema_selftest",
17527
- description: "\u4F7F\u7528\u771F\u5B9E\u65E0\u5934 FormCore \u6267\u884C\u573A\u666F\u6D4B\u8BD5\uFF08\u6821\u9A8C\u62E6\u622A\u3001\u8054\u52A8\u663E\u9690\u3001collectFormData \u65AD\u8A00\uFF09\uFF0C\u4F5C\u4E3A\u4EA4\u4ED8\u95E8\u7981",
17361
+ description: '\u4F7F\u7528\u771F\u5B9E\u65E0\u5934 FormCore \u6267\u884C\u573A\u666F\u6D4B\u8BD5\uFF08\u6821\u9A8C\u62E6\u622A\u3001\u8054\u52A8\u663E\u9690\u3001collectFormData \u65AD\u8A00\uFF09\uFF0C\u4F5C\u4E3A\u4EA4\u4ED8\u95E8\u7981\u3002inputPath JSON \u793A\u4F8B\uFF1A{"name":"E2E","steps":[{"name":"\u8054\u52A8","set":{"team_mode":"team"},"validateAll":true,"expect":{"visible":{"team_size":true},"values":{"team_mode":"team"},"errMsg":{"full_name":null}}}]}',
17528
17362
  inputSchema: {
17529
17363
  type: "object",
17530
17364
  required: ["schemaPath", "inputPath"],
17531
17365
  properties: {
17532
17366
  schemaPath: { type: "string" },
17533
- inputPath: { type: "string", description: "\u81EA\u6D4B\u573A\u666F JSON \u8DEF\u5F84" }
17367
+ inputPath: {
17368
+ type: "string",
17369
+ description: '\u81EA\u6D4B\u573A\u666F JSON \u8DEF\u5F84\uFF08\u683C\u5F0F\uFF1A{"name":"...","steps":[{"name":"...","set":{},"validateAll":true,"expect":{"visible":{},"values":{},"errMsg":{},"relationApplied":[]}}]}\uFF09'
17370
+ }
17534
17371
  }
17535
17372
  }
17536
17373
  },