diff --git a/docs/prototype/code-reader/openpencil/build.js b/docs/prototype/code-reader/openpencil/build.js new file mode 100644 index 0000000..7be36ff --- /dev/null +++ b/docs/prototype/code-reader/openpencil/build.js @@ -0,0 +1,660 @@ +// 示例是手写的短 Rust,不是仓库里的文件。名字照桌面端和接口服务:AgentRow、start_server。 +// 库只覆盖 serde、thiserror、axum、sqlx、tauri。tokio 不单独成卡,异步写在函数上。 +// 颜色取自代码阅读原型里的 VS Code Dark Modern。 + +const C = { + editor: "#1f1f1f", + side: "#181818", + border: "#2b2b2b", + borderStrong: "#3c3c3c", + fg: "#cccccc", + fgStrong: "#e8e8e8", + desc: "#9d9d9d", + dim: "#6e7681", + activityIdle: "#868686", + activityOn: "#d7d7d7", + focus: "#0078d4", + selection: "#04395e", + input: "#313131", + field: "#111111", + toggleOn: "#37373d", + comment: "#6a9955", + control: "#c586c0", + storage: "#569cd6", + variable: "#9cdcfe", + fn: "#dcdcaa", + type: "#4ec9b0", + string: "#ce9178", + folder: "#8b9ba8", + rust: "#dea584", + toml: "#c0754a", + added: "#2ea043", + get: "#61affe", +}; + +const KIND = { + use: { label: "导入", color: "#c586c0", icon: "import" }, + struct: { label: "结构体", color: "#4ec9b0", icon: "braces" }, + enum: { label: "枚举", color: "#b180d7", icon: "list-ordered" }, + impl: { label: "实现", color: "#dcdcaa", icon: "square-function" }, + fn: { label: "函数", color: "#dcdcaa", icon: "square-function" }, + trait: { label: "特质", color: "#569cd6", icon: "boxes" }, + error: { label: "错误", color: "#f14c4c", icon: "triangle-alert" }, + route: { label: "接口", color: "#61afef", icon: "globe" }, + query: { label: "查询", color: "#ce9178", icon: "database" }, + command: { label: "命令", color: "#c0754a", icon: "app-window" }, +}; + +const TREE = [ + { kind: "folder", name: "agents", open: true, depth: 0 }, + { kind: "folder", name: "src", open: true, depth: 1 }, + { kind: "file", name: "agent.rs", depth: 2 }, + { kind: "file", name: "error.rs", depth: 2 }, + { kind: "file", name: "routes.rs", depth: 2 }, + { kind: "file", name: "store.rs", depth: 2 }, + { kind: "file", name: "Cargo.toml", depth: 1, ext: "TM" }, +]; + +function solid(color) { + return [{ type: "solid", color }]; +} + +function text(parent, content, o) { + const s = String(content); + const opt = o || {}; + const mono = Boolean(opt.mono) && !/[^\x00-\x7F]/.test(s); + const node = { + type: "text", + name: opt.name || s.slice(0, 32), + content: s, + fontFamily: mono ? "Menlo" : "PingFang SC", + fontSize: opt.size || 13, + fontWeight: opt.weight || 400, + lineHeight: opt.lh || 1.45, + fill: solid(opt.color || C.fg), + height: "fit_content", + }; + if (opt.wrap) { + node.width = opt.width || "fill_container"; + node.textGrowth = "fixed-width"; + } else { + node.width = "fit_content"; + node.textGrowth = "auto"; + } + return I(parent, node); +} + +function icon(parent, name, color, size) { + return I(parent, { + type: "icon_font", + name: name, + iconFontName: name, + width: size, + height: size, + fill: solid(color), + }); +} + +function row(parent, name, o) { + const opt = o || {}; + return I(parent, { + type: "frame", + name, + layout: "horizontal", + width: opt.width || "fill_container", + height: opt.height || "fit_content", + gap: opt.gap == null ? 8 : opt.gap, + padding: opt.padding, + alignItems: opt.align || "center", + justifyContent: opt.justify, + fill: opt.fill ? solid(opt.fill) : undefined, + cornerRadius: opt.radius, + }); +} + +function col(parent, name, o) { + const opt = o || {}; + return I(parent, { + type: "frame", + name, + layout: "vertical", + width: opt.width || "fill_container", + height: "fit_content", + gap: opt.gap == null ? 4 : opt.gap, + padding: opt.padding, + alignItems: opt.align, + fill: opt.fill ? solid(opt.fill) : undefined, + cornerRadius: opt.radius, + stroke: opt.stroke ? { thickness: 1, fill: solid(opt.stroke) } : undefined, + clipContent: false, + }); +} + +function prop(parent, label, value, color, mono) { + const line = row(parent, "Prop / " + label, { gap: 12, align: "start" }); + const key = I(line, { type: "frame", name: "Key", width: 72, height: "fit_content", layout: "vertical" }); + text(key, label, { size: 12, color: C.desc, wrap: true }); + const val = I(line, { type: "frame", name: "Value", width: "fill_container", height: "fit_content", layout: "vertical" }); + if (typeof value === "function") value(val); + else text(val, value, { size: 13, color: color || C.fg, mono: mono !== false, wrap: true }); + return line; +} + +function tag(parent, label, color) { + const pill = I(parent, { + type: "frame", + name: "Tag / " + label, + layout: "horizontal", + width: "fit_content", + height: "fit_content", + padding: [1, 6], + cornerRadius: 4, + alignItems: "center", + fill: solid("#2a2a2a"), + stroke: { thickness: 1, fill: solid(color) }, + }); + text(pill, label, { size: 11, color }); + return pill; +} + +function nameLine(parent, name, color, extra) { + const line = row(parent, "Prop / 名称", { gap: 12 }); + const key = I(line, { type: "frame", name: "Key", width: 72, height: "fit_content" }); + text(key, "名称", { size: 12, color: C.desc }); + text(line, name, { size: 13, color: color || C.fn, mono: true, weight: 600 }); + if (extra) extra(line); +} + +function table(parent, columns, rows) { + const wrap = col(parent, "Table wrap", { gap: 0, padding: [2, 0, 0, 4] }); + const grid = I(wrap, { + type: "frame", + name: "Table", + layout: "vertical", + width: "fill_container", + height: "fit_content", + cornerRadius: 4, + stroke: { thickness: 1, fill: solid(C.borderStrong) }, + clipContent: true, + gap: 0, + }); + function draw(cells, header) { + const line = I(grid, { + type: "frame", + name: header ? "Header" : "Row", + layout: "horizontal", + width: "fill_container", + height: "fit_content", + alignItems: "stretch", + fill: header ? solid(C.side) : undefined, + }); + cells.forEach((cell, index) => { + const box = I(line, { + type: "frame", + name: columns[index].name, + layout: "vertical", + width: columns[index].width, + height: "fit_content", + padding: [5, 8], + justifyContent: "center", + }); + if (typeof cell === "function") cell(box); + else text(box, cell, { + size: 12, + color: header ? C.desc : (columns[index].color || C.fg), + mono: !header && columns[index].mono !== false, + wrap: true, + }); + }); + } + draw(columns.map((column) => column.name), true); + for (const cells of rows) draw(cells, false); +} + +function tools(parent) { + const bar = row(parent, "Tools", { width: "fit_content", gap: 2 }); + for (const name of ["sparkles", "pencil"]) { + const button = I(bar, { + type: "frame", + name: name, + layout: "horizontal", + width: 22, + height: 22, + alignItems: "center", + justifyContent: "center", + cornerRadius: 4, + }); + icon(button, name, C.desc, 14); + } +} + +function card(parent, kind, draw) { + const node = I(parent, { + type: "frame", + name: kind.label, + layout: "horizontal", + width: "fill_container", + height: "fit_content", + gap: 10, + padding: [8, 10, 8, 8], + cornerRadius: 8, + alignItems: "start", + fill: solid("#242424"), + stroke: { thickness: 1, fill: solid(kind.color) }, + clipContent: false, + }); + const fold = I(node, { + type: "frame", + name: "Fold", + layout: "horizontal", + width: 14, + height: 20, + alignItems: "center", + justifyContent: "center", + }); + icon(fold, "chevron-down", C.desc, 14); + icon(node, kind.icon, kind.color, 18); + const content = col(node, "Content", { gap: 4 }); + draw(content); + tools(node); + return node; +} + +function activity(parent) { + const bar = I(parent, { + type: "frame", + name: "Activity bar", + layout: "vertical", + width: 48, + height: "fit_content", + justifyContent: "space_between", + fill: solid(C.side), + }); + const top = col(bar, "Top", { width: 48, gap: 0 }); + const icons = ["files", "search", "git-branch", "play", "monitor", "blocks", "rocket", "book-open-text"]; + for (const name of icons) { + const on = name === "book-open-text"; + const cell = I(top, { + type: "frame", + name: "Item / " + name, + layout: "horizontal", + width: 48, + height: 42, + alignItems: "center", + justifyContent: on ? "start" : "center", + gap: on ? 10 : 0, + }); + if (on) I(cell, { type: "rectangle", name: "Active bar", width: 2, height: 42, fill: solid(C.focus) }); + icon(cell, name, on ? C.activityOn : C.activityIdle, 22); + } + return bar; +} + +function sidebar(parent, selected) { + const side = col(parent, "Sidebar", { width: 280, gap: 0, fill: C.side }); + const header = row(side, "Header", { height: 34, padding: [0, 12, 0, 16], justify: "space_between" }); + text(header, "代码阅读", { size: 11, color: C.fg }); + const actions = row(header, "Actions", { width: "fit_content", gap: 10 }); + for (const name of ["git-pull-request", "file-plus", "refresh-cw"]) icon(actions, name, C.fg, 14); + const list = col(side, "Tree", { gap: 0, padding: [4, 0, 8, 0] }); + for (const item of TREE) { + const line = I(list, { + type: "frame", + name: item.name, + layout: "horizontal", + width: "fill_container", + height: 26, + alignItems: "center", + gap: 6, + padding: [0, 8, 0, 10 + item.depth * 14], + fill: item.name === selected ? solid(C.selection) : undefined, + }); + if (item.kind === "folder") icon(line, item.open ? "chevron-down" : "chevron-right", C.fg, 14); + else I(line, { type: "frame", name: "Twisty", width: 14, height: 14 }); + if (item.kind === "folder") icon(line, "folder", C.folder, 15); + else text(line, item.ext || "RS", { size: 9, weight: 700, color: item.ext === "TM" ? C.toml : C.rust }); + text(line, item.name, { size: 13, color: item.name === selected ? C.fgStrong : C.fg }); + } + return side; +} + +function editorChrome(parent, file) { + const bar = row(parent, "Editor title", { height: 36, justify: "space_between", fill: C.side, gap: 0 }); + const tab = I(bar, { + type: "frame", + name: "Tab", + layout: "vertical", + width: 148, + height: "fill_container", + fill: solid(C.editor), + gap: 0, + }); + I(tab, { type: "rectangle", name: "Active", width: "fill_container", height: 2, fill: solid(C.focus) }); + const label = row(tab, "Tab label", { height: "fill_container", padding: [0, 12], gap: 6 }); + text(label, "RS", { size: 9, weight: 700, color: C.rust }); + text(label, file, { size: 13, color: C.fg }); + const mode = I(bar, { + type: "frame", + name: "Mode", + layout: "horizontal", + width: "fit_content", + height: "fit_content", + padding: [2, 2], + gap: 2, + cornerRadius: 5, + alignItems: "center", + fill: solid(C.field), + stroke: { thickness: 1, fill: solid(C.borderStrong) }, + }); + const edit = row(mode, "Seg / 编辑", { width: "fit_content", padding: [2, 8], gap: 4, radius: 3 }); + icon(edit, "pencil", C.desc, 13); + text(edit, "编辑", { size: 12, color: C.desc }); + const preview = row(mode, "Seg / 预览", { width: "fit_content", padding: [2, 8], gap: 4, radius: 3, fill: C.toggleOn }); + icon(preview, "eye", C.fgStrong, 13); + text(preview, "预览", { size: 12, color: C.fgStrong }); + I(bar, { type: "frame", name: "Pad", width: 8, height: 8 }); +} + +function crumb(parent, file) { + const line = row(parent, "Breadcrumb", { padding: [6, 16], gap: 6 }); + const parts = ["agents", "src", file]; + parts.forEach((part, index) => { + if (index) text(line, "/", { size: 12, color: C.dim }); + text(line, part, { size: 12, color: index === parts.length - 1 ? C.fg : C.desc, mono: part.endsWith(".rs") }); + }); +} + +function filters(parent, chips, count) { + const bar = row(parent, "Filter", { height: 36, padding: [0, 16], gap: 8 }); + text(bar, "筛选", { size: 12, color: C.desc }); + for (const chip of chips) { + const item = row(bar, "Chip / " + chip, { width: "fit_content", height: 24, padding: [0, 8], gap: 4, radius: 4, fill: C.input }); + text(item, chip, { size: 12, color: C.fg }); + icon(item, "chevron-down", C.desc, 12); + } + const spacer = I(bar, { type: "frame", name: "Spacer", width: "fill_container", height: 8 }); + text(bar, count + " 块", { size: 12, color: C.desc }); + return spacer; +} + +function status(parent) { + const bar = row(parent, "Status", { + height: 26, + padding: [0, 12], + justify: "space_between", + fill: C.side, + }); + const left = row(bar, "Left", { width: "fit_content", gap: 12 }); + const branch = row(left, "Branch", { width: "fit_content", gap: 4 }); + icon(branch, "git-branch", C.fg, 13); + text(branch, "master", { size: 12 }); + const right = row(bar, "Right", { width: "fit_content", gap: 16 }); + text(right, "代码阅读", { size: 12 }); + text(right, "Rust", { size: 12 }); +} + +function windowOf(name, x, file, chips, count, drawCards) { + const win = I(null, { + type: "frame", + name, + x, + y: 0, + width: 1280, + height: "fit_content", + layout: "vertical", + gap: 0, + fill: solid(C.side), + clipContent: false, + }); + const title = row(win, "Title bar", { height: 36, padding: [0, 12], justify: "space_between" }); + const lights = row(title, "Lights", { width: "fit_content", gap: 8 }); + for (const color of ["#ff5f57", "#febc2e", "#28c840"]) { + I(lights, { type: "ellipse", width: 12, height: 12, fill: solid(color) }); + } + text(title, "agents — " + file, { size: 12, color: C.desc }); + I(title, { type: "frame", name: "Balance", width: 52, height: 12 }); + + const body = I(win, { + type: "frame", + name: "Body", + layout: "horizontal", + width: "fill_container", + height: "fit_content", + gap: 0, + alignItems: "start", + fill: solid(C.side), + clipContent: false, + }); + activity(body); + sidebar(body, file); + const editor = col(body, "Editor", { gap: 0, fill: C.editor }); + editorChrome(editor, file); + crumb(editor, file); + filters(editor, chips, count); + const preview = col(editor, "Preview", { gap: 10, padding: [8, 20, 24, 20] }); + drawCards(preview); + status(win); + return win; +} + +function useCard(parent, source, names) { + card(parent, KIND.use, (content) => { + prop(content, "来源", source, C.string, true); + prop(content, "导入项", names.length + " 个", C.desc, false); + table(content, + [{ name: "名字", width: 220, color: C.variable }, { name: "别名", width: 220, color: C.dim }], + names.map((item) => [item.name, item.alias || "—"])); + }); +} + +function languageCards(preview) { + useCard(preview, "serde", [{ name: "Serialize" }]); + useCard(preview, "std::sync", [{ name: "Arc" }]); + + card(preview, KIND.struct, (content) => { + nameLine(content, "AgentRow", C.type); + prop(content, "说明", "桌面端列表里的一行代理。", C.comment, false); + prop(content, "可见性", "公开", C.control, false); + prop(content, "字段", "2 个", C.desc, false); + table(content, + [{ name: "字段", width: 180, color: C.variable }, { name: "类型", width: 220, color: C.type }, { name: "可见性", width: 160 }], + [ + ["id", "Uuid", { text: "公开", color: C.control }], + ["name", "String", { text: "本模块", color: C.desc }], + ].map(([field, type, vis]) => [field, type, (box) => text(box, vis.text, { size: 12, color: vis.color })])); + }); + + card(preview, KIND.enum, (content) => { + nameLine(content, "AgentState", C.type); + prop(content, "说明", "这个代理现在处在哪一步。", C.comment, false); + prop(content, "变体", "3 个", C.desc, false); + table(content, + [{ name: "变体", width: 220, color: C.type }, { name: "携带的数据", width: 360 }], + [ + ["Idle", "—"], + ["Running", "{ pid: u32 }"], + ["Failed", "String"], + ]); + }); + + card(preview, KIND.impl, (content) => { + nameLine(content, "AgentRow 的方法", C.fn); + prop(content, "方法", "1 个", C.desc, false); + table(content, + [{ name: "名称", width: 180, color: C.fn }, { name: "参数", width: 320 }, { name: "返回", width: 140, color: C.dim }], + [["rename", "&mut self, name: String", "()"]]); + const nested = col(content, "展开 / rename", { gap: 0, padding: [4, 0, 0, 8] }); + card(nested, KIND.fn, (body) => { + nameLine(body, "rename", C.fn); + prop(body, "参数", "2 个", C.desc, false); + table(body, + [{ name: "名称", width: 180, color: C.variable }, { name: "类型", width: 280 }], + [["self", "&mut self"], ["name", "String"]]); + }); + }); + + card(preview, KIND.fn, (content) => { + nameLine(content, "start_server", C.fn); + prop(content, "说明", "在本机拉起接口服务。", C.comment, false); + prop(content, "异步", "是", C.storage, false); + prop(content, "可见性", "公开", C.control, false); + prop(content, "输入参数", "1 个", C.desc, false); + table(content, + [{ name: "名称", width: 180, color: C.variable }, { name: "类型", width: 280, color: C.type }], + [["addr", "SocketAddr"]]); + prop(content, "返回", "Result<(), StartError>", C.type, true); + prop(content, "分情况", "2 支", C.desc, false); + table(content, + [{ name: "分支", width: 220, color: C.type }, { name: "做什么", width: 420, mono: false }], + [ + ["Ok(listener)", "记下监听地址"], + ["Err(err)", "返回 StartError"], + ]); + }); + + card(preview, KIND.trait, (content) => { + nameLine(content, "Store", C.storage); + prop(content, "说明", "按 id 读写代理。", C.comment, false); + prop(content, "方法", "2 个", C.desc, false); + table(content, + [{ name: "名称", width: 140, color: C.fn }, { name: "参数", width: 280 }, { name: "返回", width: 280, color: C.type }], + [ + ["get", "&self, id: Uuid", "Result"], + ["save", "&mut self, row: AgentRow", "Result<(), StoreError>"], + ]); + }); +} + +function libraryCards(preview) { + card(preview, KIND.struct, (content) => { + nameLine(content, "AgentRow", C.type, (line) => tag(line, "可序列化", C.string)); + prop(content, "说明", "桌面端列表里的一行代理。", C.comment, false); + prop(content, "可见性", "公开", C.control, false); + prop(content, "选项", "字段名改驼峰", C.string, false); + prop(content, "字段", "3 个", C.desc, false); + table(content, + [ + { name: "字段", width: 140, color: C.variable }, + { name: "类型", width: 160, color: C.type }, + { name: "可见性", width: 120 }, + { name: "序列化", width: 220 }, + ], + [ + ["id", "Uuid", (box) => text(box, "公开", { size: 12, color: C.control }), (box) => text(box, "改名 agent_id", { size: 12, color: C.string, wrap: true })], + ["name", "String", (box) => text(box, "公开", { size: 12, color: C.control }), "—"], + ["secret", "String", (box) => text(box, "本模块", { size: 12, color: C.desc }), (box) => text(box, "不输出", { size: 12, color: C.desc })], + ]); + }); + + card(preview, KIND.error, (content) => { + nameLine(content, "AgentError", "#f14c4c"); + prop(content, "说明", "读写代理时出的错。", C.comment, false); + prop(content, "变体", "2 个", C.desc, false); + table(content, + [ + { name: "变体", width: 150, color: C.type }, + { name: "何时", width: 200, mono: false }, + { name: "展示", width: 280 }, + ], + [ + ["NotFound", "这个 id 没有代理", (box) => text(box, "agent {id} 不存在", { size: 12, color: C.string, wrap: true })], + ["Upstream", "调用上游失败", (box) => { + const line = row(box, "展示", { gap: 6 }); + text(line, "上游错误", { size: 12, color: C.string }); + tag(line, "透传来源", C.control); + }], + ]); + }); + + card(preview, KIND.route, (content) => { + nameLine(content, "get_agent", C.fn); + prop(content, "说明", "按 id 取一个代理。", C.comment, false); + prop(content, "异步", "是", C.storage, false); + prop(content, "请求", "GET /agents/{id}", C.desc, true); + table(content, + [{ name: "项", width: 140 }, { name: "值", width: 420 }], + [ + [(box) => text(box, "方法", { size: 12, color: C.desc }), (box) => text(box, "GET", { size: 12, color: C.get, weight: 600, mono: true })], + [(box) => text(box, "路径", { size: 12, color: C.desc }), (box) => text(box, "/agents/{id}", { size: 12, color: C.string, mono: true })], + [(box) => text(box, "路径参数", { size: 12, color: C.desc }), (box) => text(box, "id: Uuid", { size: 12, color: C.variable, mono: true })], + ]); + prop(content, "返回", "Result, StatusCode>", C.type, true); + }); + + card(preview, KIND.query, (content) => { + prop(content, "说明", "按 id 取一行。", C.comment, false); + prop(content, "SQL", "SELECT id, name FROM agents WHERE id = $1", C.fg, true); + prop(content, "参数", "$1 = id", C.variable, true); + prop(content, "返回类型", "AgentRow", C.type, true); + }); + + card(preview, KIND.command, (content) => { + nameLine(content, "rename_agent", C.fn, (line) => tag(line, "桌面命令", C.toml)); + prop(content, "说明", "让窗口把这一行改名。", C.comment, false); + prop(content, "异步", "是", C.storage, false); + prop(content, "参数", "2 个", C.desc, false); + table(content, + [ + { name: "名称", width: 140, color: C.variable }, + { name: "类型", width: 200, color: C.type }, + { name: "来源", width: 200, mono: false }, + ], + [ + ["state", "State", "窗口状态"], + ["name", "String", "调用方传入"], + ]); + prop(content, "返回", "Result", C.type, true); + }); +} + +function note(parent, label, color, sentence) { + const line = row(parent, "Note / " + label, { gap: 10, align: "start" }); + if (label) tag(line, label, color || C.desc); + const body = I(line, { type: "frame", name: "Sentence", width: "fill_container", height: "fit_content", layout: "vertical" }); + text(body, sentence, { size: 13, color: C.fg, wrap: true }); +} + +function legend(x) { + const board = I(null, { + type: "frame", + name: "Prototype / Rust · 标记说明", + x, + y: 0, + width: 880, + height: "fit_content", + layout: "vertical", + gap: 14, + padding: 28, + fill: solid(C.editor), + clipContent: false, + }); + text(board, "标记说明", { size: 18, weight: 600, color: C.fgStrong }); + + text(board, "可见性", { size: 14, weight: 600, color: C.fgStrong }); + note(board, "公开", C.control, "pub,别的模块也能用。"); + note(board, "本模块", C.desc, "没写 pub,只有这个文件里能用。"); + note(board, "父模块", C.string, "pub(super),上一层模块能用。"); + + text(board, "语言卡片", { size: 14, weight: 600, color: C.fgStrong }); + note(board, "导入", KIND.use.color, "一条 use。来源是路径,下面表是名字和别名。"); + note(board, "结构体", KIND.struct.color, "字段表:字段、类型、可见性。没有的属性不占一行。"); + note(board, "枚举", KIND.enum.color, "变体表。没带数据的格子是破折号,不硬凑类型。"); + note(board, "实现", KIND.impl.color, "标题写成「某某的方法」。点方法名展开一张函数子卡片。"); + note(board, "函数", KIND.fn.color, "异步写「是」。函数体里的 match 收成「分情况」,不展开源码。"); + note(board, "特质", KIND.trait.color, "方法表只列签名,不展开函数体。"); + + text(board, "库", { size: 14, weight: 600, color: C.fgStrong }); + note(board, "改名", C.string, "serde rename:序列化那一列写成「改名 agent_id」。"); + note(board, "不输出", C.desc, "serde skip:这一列写成「不输出」。没标的是破折号。"); + note(board, "驼峰", C.string, "rename_all = camelCase 收成选项行「字段名改驼峰」。"); + note(board, "展示", KIND.error.color, "thiserror 的文案写在「展示」列。透传的上游错误另标「透传来源」。"); + note(board, "接口", KIND.route.color, "axum 处理函数和 FastAPI 接口是同一张卡:请求表加返回。"); + note(board, "查询", KIND.query.color, "sqlx 一张小卡:一句说明、等宽 SQL、参数、返回类型。"); + note(board, "桌面命令", KIND.command.color, "tauri 命令在名称后标「桌面命令」。参数写明来自窗口状态还是调用方。"); + note(board, "异步", C.storage, "tokio 不单独做卡。spawn 和 select 仍是普通调用。"); + return board; +} + +windowOf("Prototype / Rust · 语言", 0, "agent.rs", ["种类", "可见性"], 7, languageCards); +windowOf("Prototype / Rust · 库", 1360, "routes.rs", ["种类", "库"], 5, libraryCards); +legend(2720); diff --git a/docs/prototype/code-reader/openpencil/exports/rust-lang.png b/docs/prototype/code-reader/openpencil/exports/rust-lang.png new file mode 100644 index 0000000..8f77a89 Binary files /dev/null and b/docs/prototype/code-reader/openpencil/exports/rust-lang.png differ diff --git a/docs/prototype/code-reader/openpencil/exports/rust-lib.png b/docs/prototype/code-reader/openpencil/exports/rust-lib.png new file mode 100644 index 0000000..9281557 Binary files /dev/null and b/docs/prototype/code-reader/openpencil/exports/rust-lib.png differ diff --git a/docs/prototype/code-reader/openpencil/exports/rust-notes.png b/docs/prototype/code-reader/openpencil/exports/rust-notes.png new file mode 100644 index 0000000..266f130 Binary files /dev/null and b/docs/prototype/code-reader/openpencil/exports/rust-notes.png differ diff --git a/docs/prototype/code-reader/openpencil/rust.op b/docs/prototype/code-reader/openpencil/rust.op new file mode 100644 index 0000000..cdf14aa --- /dev/null +++ b/docs/prototype/code-reader/openpencil/rust.op @@ -0,0 +1,14701 @@ +{ + "version": "0.8.4", + "name": "OpenPencil CLI Session", + "children": [ + { + "type": "frame", + "id": "n1", + "name": "Prototype / Rust · 语言", + "x": 0.0, + "y": 0.0, + "width": 1280.0, + "height": 62.0, + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n2", + "name": "Title bar", + "width": "fill_container", + "height": 36.0, + "layout": "horizontal", + "gap": 8.0, + "padding": [ + 0.0, + 12.0 + ], + "justifyContent": "space_between", + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n3", + "name": "Lights", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "children": [ + { + "type": "ellipse", + "id": "n4", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#ff5f57" + } + ] + }, + { + "type": "ellipse", + "id": "n5", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#febc2e" + } + ] + }, + { + "type": "ellipse", + "id": "n6", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#28c840" + } + ] + } + ] + }, + { + "type": "text", + "id": "n7", + "name": "agents — agent.rs", + "width": "fit_content", + "height": "fit_content", + "content": "agents — agent.rs", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n8", + "name": "Balance", + "width": 52.0, + "height": 12.0, + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n9", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n10", + "name": "Activity bar", + "width": 48.0, + "height": "fit_content", + "layout": "vertical", + "justifyContent": "space_between", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n11", + "name": "Top", + "width": 48.0, + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n12", + "name": "Item / files", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n13", + "name": "files", + "iconFontName": "files", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n14", + "name": "Item / search", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n15", + "name": "search", + "iconFontName": "search", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n16", + "name": "Item / git-branch", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n17", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n18", + "name": "Item / play", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n19", + "name": "play", + "iconFontName": "play", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n20", + "name": "Item / monitor", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n21", + "name": "monitor", + "iconFontName": "monitor", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n22", + "name": "Item / blocks", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n23", + "name": "blocks", + "iconFontName": "blocks", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n24", + "name": "Item / rocket", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n25", + "name": "rocket", + "iconFontName": "rocket", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n26", + "name": "Item / book-open-text", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 10.0, + "justifyContent": "start", + "alignItems": "center", + "children": [ + { + "type": "rectangle", + "id": "n27", + "name": "Active bar", + "width": 2.0, + "height": 42.0, + "fill": [ + { + "type": "solid", + "color": "#0078d4" + } + ], + "children": [] + }, + { + "type": "icon_font", + "id": "n28", + "name": "book-open-text", + "iconFontName": "book-open-text", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#d7d7d7" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n29", + "name": "Sidebar", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n30", + "name": "Header", + "width": "fill_container", + "height": 34.0, + "layout": "horizontal", + "gap": 8.0, + "padding": [ + 0.0, + 12.0, + 0.0, + 16.0 + ], + "justifyContent": "space_between", + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n31", + "name": "代码阅读", + "width": "fit_content", + "height": "fit_content", + "content": "代码阅读", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n32", + "name": "Actions", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n33", + "name": "git-pull-request", + "iconFontName": "git-pull-request", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n34", + "name": "file-plus", + "iconFontName": "file-plus", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n35", + "name": "refresh-cw", + "iconFontName": "refresh-cw", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n36", + "name": "Tree", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 4.0, + 0.0, + 8.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n37", + "name": "agents", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 10.0 + ], + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n38", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n39", + "name": "folder", + "iconFontName": "folder", + "width": 15.0, + "height": 15.0, + "fill": [ + { + "type": "solid", + "color": "#8b9ba8" + } + ] + }, + { + "type": "text", + "id": "n40", + "name": "agents", + "width": "fit_content", + "height": "fit_content", + "content": "agents", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n41", + "name": "src", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 24.0 + ], + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n42", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n43", + "name": "folder", + "iconFontName": "folder", + "width": 15.0, + "height": 15.0, + "fill": [ + { + "type": "solid", + "color": "#8b9ba8" + } + ] + }, + { + "type": "text", + "id": "n44", + "name": "src", + "width": "fit_content", + "height": "fit_content", + "content": "src", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n45", + "name": "agent.rs", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 38.0 + ], + "alignItems": "center", + "fill": [ + { + "type": "solid", + "color": "#04395e" + } + ], + "children": [ + { + "type": "frame", + "id": "n46", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n47", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n48", + "name": "agent.rs", + "width": "fit_content", + "height": "fit_content", + "content": "agent.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n49", + "name": "error.rs", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 38.0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n50", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n51", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n52", + "name": "error.rs", + "width": "fit_content", + "height": "fit_content", + "content": "error.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n53", + "name": "routes.rs", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 38.0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n54", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n55", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n56", + "name": "routes.rs", + "width": "fit_content", + "height": "fit_content", + "content": "routes.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n57", + "name": "store.rs", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 38.0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n58", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n59", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n60", + "name": "store.rs", + "width": "fit_content", + "height": "fit_content", + "content": "store.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n61", + "name": "Cargo.toml", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 24.0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n62", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n63", + "name": "TM", + "width": "fit_content", + "height": "fit_content", + "content": "TM", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c0754a" + } + ] + }, + { + "type": "text", + "id": "n64", + "name": "Cargo.toml", + "width": "fit_content", + "height": "fit_content", + "content": "Cargo.toml", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n65", + "name": "Editor", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "frame", + "id": "n66", + "name": "Editor title", + "width": "fill_container", + "height": 36.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "space_between", + "alignItems": "center", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n67", + "name": "Tab", + "width": 148.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "rectangle", + "id": "n68", + "name": "Active", + "width": "fill_container", + "height": 2.0, + "fill": [ + { + "type": "solid", + "color": "#0078d4" + } + ], + "children": [] + }, + { + "type": "frame", + "id": "n69", + "name": "Tab label", + "width": "fill_container", + "height": "fill_container", + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 12.0 + ], + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n70", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n71", + "name": "agent.rs", + "width": "fit_content", + "height": "fit_content", + "content": "agent.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n72", + "name": "Mode", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "padding": [ + 2.0, + 2.0 + ], + "alignItems": "center", + "cornerRadius": 5.0, + "fill": [ + { + "type": "solid", + "color": "#111111" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n73", + "name": "Seg / 编辑", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "padding": [ + 2.0, + 8.0 + ], + "alignItems": "center", + "cornerRadius": 3.0, + "children": [ + { + "type": "icon_font", + "id": "n74", + "name": "pencil", + "iconFontName": "pencil", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n75", + "name": "编辑", + "width": "fit_content", + "height": "fit_content", + "content": "编辑", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n76", + "name": "Seg / 预览", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "padding": [ + 2.0, + 8.0 + ], + "alignItems": "center", + "cornerRadius": 3.0, + "fill": [ + { + "type": "solid", + "color": "#37373d" + } + ], + "children": [ + { + "type": "icon_font", + "id": "n77", + "name": "eye", + "iconFontName": "eye", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + }, + { + "type": "text", + "id": "n78", + "name": "预览", + "width": "fit_content", + "height": "fit_content", + "content": "预览", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n79", + "name": "Pad", + "width": 8.0, + "height": 8.0, + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n80", + "name": "Breadcrumb", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 6.0, + 16.0 + ], + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n81", + "name": "agents", + "width": "fit_content", + "height": "fit_content", + "content": "agents", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n82", + "name": "/", + "width": "fit_content", + "height": "fit_content", + "content": "/", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + }, + { + "type": "text", + "id": "n83", + "name": "src", + "width": "fit_content", + "height": "fit_content", + "content": "src", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n84", + "name": "/", + "width": "fit_content", + "height": "fit_content", + "content": "/", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + }, + { + "type": "text", + "id": "n85", + "name": "agent.rs", + "width": "fit_content", + "height": "fit_content", + "content": "agent.rs", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n86", + "name": "Filter", + "width": "fill_container", + "height": 36.0, + "layout": "horizontal", + "gap": 8.0, + "padding": [ + 0.0, + 16.0 + ], + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n87", + "name": "筛选", + "width": "fit_content", + "height": "fit_content", + "content": "筛选", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n88", + "name": "Chip / 种类", + "width": "fit_content", + "height": 24.0, + "layout": "horizontal", + "gap": 4.0, + "padding": [ + 0.0, + 8.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "children": [ + { + "type": "text", + "id": "n89", + "name": "种类", + "width": "fit_content", + "height": "fit_content", + "content": "种类", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n90", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n91", + "name": "Chip / 可见性", + "width": "fit_content", + "height": 24.0, + "layout": "horizontal", + "gap": 4.0, + "padding": [ + 0.0, + 8.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "children": [ + { + "type": "text", + "id": "n92", + "name": "可见性", + "width": "fit_content", + "height": "fit_content", + "content": "可见性", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n93", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n94", + "name": "Spacer", + "width": "fill_container", + "height": 8.0, + "children": [] + }, + { + "type": "text", + "id": "n95", + "name": "7 块", + "width": "fit_content", + "height": "fit_content", + "content": "7 块", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n96", + "name": "Preview", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 10.0, + "padding": [ + 8.0, + 20.0, + 24.0, + 20.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n97", + "name": "导入", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n98", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n99", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n100", + "name": "import", + "iconFontName": "import", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + { + "type": "frame", + "id": "n101", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n102", + "name": "Prop / 来源", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n103", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n104", + "name": "来源", + "width": "fill_container", + "height": "fit_content", + "content": "来源", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n105", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n106", + "name": "serde", + "width": "fill_container", + "height": "fit_content", + "content": "serde", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n107", + "name": "Prop / 导入项", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n108", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n109", + "name": "导入项", + "width": "fill_container", + "height": "fit_content", + "content": "导入项", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n110", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n111", + "name": "1 个", + "width": "fill_container", + "height": "fit_content", + "content": "1 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n112", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n113", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n114", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n115", + "name": "名字", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n116", + "name": "名字", + "width": "fill_container", + "height": "fit_content", + "content": "名字", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n117", + "name": "别名", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n118", + "name": "别名", + "width": "fill_container", + "height": "fit_content", + "content": "别名", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n119", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n120", + "name": "名字", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n121", + "name": "Serialize", + "width": "fill_container", + "height": "fit_content", + "content": "Serialize", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n122", + "name": "别名", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n123", + "name": "—", + "width": "fill_container", + "height": "fit_content", + "content": "—", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n124", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n125", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n126", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n127", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n128", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n129", + "name": "导入", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n130", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n131", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n132", + "name": "import", + "iconFontName": "import", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + { + "type": "frame", + "id": "n133", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n134", + "name": "Prop / 来源", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n135", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n136", + "name": "来源", + "width": "fill_container", + "height": "fit_content", + "content": "来源", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n137", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n138", + "name": "std::sync", + "width": "fill_container", + "height": "fit_content", + "content": "std::sync", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n139", + "name": "Prop / 导入项", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n140", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n141", + "name": "导入项", + "width": "fill_container", + "height": "fit_content", + "content": "导入项", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n142", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n143", + "name": "1 个", + "width": "fill_container", + "height": "fit_content", + "content": "1 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n144", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n145", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n146", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n147", + "name": "名字", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n148", + "name": "名字", + "width": "fill_container", + "height": "fit_content", + "content": "名字", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n149", + "name": "别名", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n150", + "name": "别名", + "width": "fill_container", + "height": "fit_content", + "content": "别名", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n151", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n152", + "name": "名字", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n153", + "name": "Arc", + "width": "fill_container", + "height": "fit_content", + "content": "Arc", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n154", + "name": "别名", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n155", + "name": "—", + "width": "fill_container", + "height": "fit_content", + "content": "—", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n156", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n157", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n158", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n159", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n160", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n161", + "name": "结构体", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n162", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n163", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n164", + "name": "braces", + "iconFontName": "braces", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + }, + { + "type": "frame", + "id": "n165", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n166", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n167", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n168", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n169", + "name": "AgentRow", + "width": "fit_content", + "height": "fit_content", + "content": "AgentRow", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n170", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n171", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n172", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n173", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n174", + "name": "桌面端列表里的一行代理。", + "width": "fill_container", + "height": "fit_content", + "content": "桌面端列表里的一行代理。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n175", + "name": "Prop / 可见性", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n176", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n177", + "name": "可见性", + "width": "fill_container", + "height": "fit_content", + "content": "可见性", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n178", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n179", + "name": "公开", + "width": "fill_container", + "height": "fit_content", + "content": "公开", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n180", + "name": "Prop / 字段", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n181", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n182", + "name": "字段", + "width": "fill_container", + "height": "fit_content", + "content": "字段", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n183", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n184", + "name": "2 个", + "width": "fill_container", + "height": "fit_content", + "content": "2 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n185", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n186", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n187", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n188", + "name": "字段", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n189", + "name": "字段", + "width": "fill_container", + "height": "fit_content", + "content": "字段", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n190", + "name": "类型", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n191", + "name": "类型", + "width": "fill_container", + "height": "fit_content", + "content": "类型", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n192", + "name": "可见性", + "width": 160.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n193", + "name": "可见性", + "width": "fill_container", + "height": "fit_content", + "content": "可见性", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n194", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n195", + "name": "字段", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n196", + "name": "id", + "width": "fill_container", + "height": "fit_content", + "content": "id", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n197", + "name": "类型", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n198", + "name": "Uuid", + "width": "fill_container", + "height": "fit_content", + "content": "Uuid", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n199", + "name": "可见性", + "width": 160.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n200", + "name": "公开", + "width": "fit_content", + "height": "fit_content", + "content": "公开", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n201", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n202", + "name": "字段", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n203", + "name": "name", + "width": "fill_container", + "height": "fit_content", + "content": "name", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n204", + "name": "类型", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n205", + "name": "String", + "width": "fill_container", + "height": "fit_content", + "content": "String", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n206", + "name": "可见性", + "width": 160.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n207", + "name": "本模块", + "width": "fit_content", + "height": "fit_content", + "content": "本模块", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n208", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n209", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n210", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n211", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n212", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n213", + "name": "枚举", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#b180d7" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n214", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n215", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n216", + "name": "list-ordered", + "iconFontName": "list-ordered", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#b180d7" + } + ] + }, + { + "type": "frame", + "id": "n217", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n218", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n219", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n220", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n221", + "name": "AgentState", + "width": "fit_content", + "height": "fit_content", + "content": "AgentState", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n222", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n223", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n224", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n225", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n226", + "name": "这个代理现在处在哪一步。", + "width": "fill_container", + "height": "fit_content", + "content": "这个代理现在处在哪一步。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n227", + "name": "Prop / 变体", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n228", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n229", + "name": "变体", + "width": "fill_container", + "height": "fit_content", + "content": "变体", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n230", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n231", + "name": "3 个", + "width": "fill_container", + "height": "fit_content", + "content": "3 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n232", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n233", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n234", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n235", + "name": "变体", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n236", + "name": "变体", + "width": "fill_container", + "height": "fit_content", + "content": "变体", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n237", + "name": "携带的数据", + "width": 360.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n238", + "name": "携带的数据", + "width": "fill_container", + "height": "fit_content", + "content": "携带的数据", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n239", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n240", + "name": "变体", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n241", + "name": "Idle", + "width": "fill_container", + "height": "fit_content", + "content": "Idle", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n242", + "name": "携带的数据", + "width": 360.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n243", + "name": "—", + "width": "fill_container", + "height": "fit_content", + "content": "—", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n244", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n245", + "name": "变体", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n246", + "name": "Running", + "width": "fill_container", + "height": "fit_content", + "content": "Running", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n247", + "name": "携带的数据", + "width": 360.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n248", + "name": "{ pid: u32 }", + "width": "fill_container", + "height": "fit_content", + "content": "{ pid: u32 }", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n249", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n250", + "name": "变体", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n251", + "name": "Failed", + "width": "fill_container", + "height": "fit_content", + "content": "Failed", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n252", + "name": "携带的数据", + "width": 360.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n253", + "name": "String", + "width": "fill_container", + "height": "fit_content", + "content": "String", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n254", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n255", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n256", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n257", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n258", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n259", + "name": "实现", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n260", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n261", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n262", + "name": "square-function", + "iconFontName": "square-function", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "frame", + "id": "n263", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n264", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n265", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n266", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n267", + "name": "AgentRow 的方法", + "width": "fit_content", + "height": "fit_content", + "content": "AgentRow 的方法", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n268", + "name": "Prop / 方法", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n269", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n270", + "name": "方法", + "width": "fill_container", + "height": "fit_content", + "content": "方法", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n271", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n272", + "name": "1 个", + "width": "fill_container", + "height": "fit_content", + "content": "1 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n273", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n274", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n275", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n276", + "name": "名称", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n277", + "name": "名称", + "width": "fill_container", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n278", + "name": "参数", + "width": 320.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n279", + "name": "参数", + "width": "fill_container", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n280", + "name": "返回", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n281", + "name": "返回", + "width": "fill_container", + "height": "fit_content", + "content": "返回", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n282", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n283", + "name": "名称", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n284", + "name": "rename", + "width": "fill_container", + "height": "fit_content", + "content": "rename", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n285", + "name": "参数", + "width": 320.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n286", + "name": "&mut self, name: String", + "width": "fill_container", + "height": "fit_content", + "content": "&mut self, name: String", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n287", + "name": "返回", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n288", + "name": "()", + "width": "fill_container", + "height": "fit_content", + "content": "()", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n289", + "name": "展开 / rename", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 4.0, + 0.0, + 0.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n290", + "name": "函数", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n291", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n292", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n293", + "name": "square-function", + "iconFontName": "square-function", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "frame", + "id": "n294", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n295", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n296", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n297", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n298", + "name": "rename", + "width": "fit_content", + "height": "fit_content", + "content": "rename", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n299", + "name": "Prop / 参数", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n300", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n301", + "name": "参数", + "width": "fill_container", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n302", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n303", + "name": "2 个", + "width": "fill_container", + "height": "fit_content", + "content": "2 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n304", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n305", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n306", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n307", + "name": "名称", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n308", + "name": "名称", + "width": "fill_container", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n309", + "name": "类型", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n310", + "name": "类型", + "width": "fill_container", + "height": "fit_content", + "content": "类型", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n311", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n312", + "name": "名称", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n313", + "name": "self", + "width": "fill_container", + "height": "fit_content", + "content": "self", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n314", + "name": "类型", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n315", + "name": "&mut self", + "width": "fill_container", + "height": "fit_content", + "content": "&mut self", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n316", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n317", + "name": "名称", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n318", + "name": "name", + "width": "fill_container", + "height": "fit_content", + "content": "name", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n319", + "name": "类型", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n320", + "name": "String", + "width": "fill_container", + "height": "fit_content", + "content": "String", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n321", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n322", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n323", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n324", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n325", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n326", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n327", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n328", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n329", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n330", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n331", + "name": "函数", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n332", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n333", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n334", + "name": "square-function", + "iconFontName": "square-function", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "frame", + "id": "n335", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n336", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n337", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n338", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n339", + "name": "start_server", + "width": "fit_content", + "height": "fit_content", + "content": "start_server", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n340", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n341", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n342", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n343", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n344", + "name": "在本机拉起接口服务。", + "width": "fill_container", + "height": "fit_content", + "content": "在本机拉起接口服务。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n345", + "name": "Prop / 异步", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n346", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n347", + "name": "异步", + "width": "fill_container", + "height": "fit_content", + "content": "异步", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n348", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n349", + "name": "是", + "width": "fill_container", + "height": "fit_content", + "content": "是", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n350", + "name": "Prop / 可见性", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n351", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n352", + "name": "可见性", + "width": "fill_container", + "height": "fit_content", + "content": "可见性", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n353", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n354", + "name": "公开", + "width": "fill_container", + "height": "fit_content", + "content": "公开", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n355", + "name": "Prop / 输入参数", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n356", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n357", + "name": "输入参数", + "width": "fill_container", + "height": "fit_content", + "content": "输入参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n358", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n359", + "name": "1 个", + "width": "fill_container", + "height": "fit_content", + "content": "1 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n360", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n361", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n362", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n363", + "name": "名称", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n364", + "name": "名称", + "width": "fill_container", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n365", + "name": "类型", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n366", + "name": "类型", + "width": "fill_container", + "height": "fit_content", + "content": "类型", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n367", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n368", + "name": "名称", + "width": 180.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n369", + "name": "addr", + "width": "fill_container", + "height": "fit_content", + "content": "addr", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n370", + "name": "类型", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n371", + "name": "SocketAddr", + "width": "fill_container", + "height": "fit_content", + "content": "SocketAddr", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n372", + "name": "Prop / 返回", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n373", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n374", + "name": "返回", + "width": "fill_container", + "height": "fit_content", + "content": "返回", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n375", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n376", + "name": "Result<(), StartError>", + "width": "fill_container", + "height": "fit_content", + "content": "Result<(), StartError>", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n377", + "name": "Prop / 分情况", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n378", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n379", + "name": "分情况", + "width": "fill_container", + "height": "fit_content", + "content": "分情况", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n380", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n381", + "name": "2 支", + "width": "fill_container", + "height": "fit_content", + "content": "2 支", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n382", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n383", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n384", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n385", + "name": "分支", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n386", + "name": "分支", + "width": "fill_container", + "height": "fit_content", + "content": "分支", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n387", + "name": "做什么", + "width": 420.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n388", + "name": "做什么", + "width": "fill_container", + "height": "fit_content", + "content": "做什么", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n389", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n390", + "name": "分支", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n391", + "name": "Ok(listener)", + "width": "fill_container", + "height": "fit_content", + "content": "Ok(listener)", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n392", + "name": "做什么", + "width": 420.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n393", + "name": "记下监听地址", + "width": "fill_container", + "height": "fit_content", + "content": "记下监听地址", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n394", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n395", + "name": "分支", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n396", + "name": "Err(err)", + "width": "fill_container", + "height": "fit_content", + "content": "Err(err)", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n397", + "name": "做什么", + "width": 420.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n398", + "name": "返回 StartError", + "width": "fill_container", + "height": "fit_content", + "content": "返回 StartError", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n399", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n400", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n401", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n402", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n403", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n404", + "name": "特质", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n405", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n406", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n407", + "name": "boxes", + "iconFontName": "boxes", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + }, + { + "type": "frame", + "id": "n408", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n409", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n410", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n411", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n412", + "name": "Store", + "width": "fit_content", + "height": "fit_content", + "content": "Store", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n413", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n414", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n415", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n416", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n417", + "name": "按 id 读写代理。", + "width": "fill_container", + "height": "fit_content", + "content": "按 id 读写代理。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n418", + "name": "Prop / 方法", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n419", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n420", + "name": "方法", + "width": "fill_container", + "height": "fit_content", + "content": "方法", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n421", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n422", + "name": "2 个", + "width": "fill_container", + "height": "fit_content", + "content": "2 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n423", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n424", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n425", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n426", + "name": "名称", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n427", + "name": "名称", + "width": "fill_container", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n428", + "name": "参数", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n429", + "name": "参数", + "width": "fill_container", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n430", + "name": "返回", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n431", + "name": "返回", + "width": "fill_container", + "height": "fit_content", + "content": "返回", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n432", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n433", + "name": "名称", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n434", + "name": "get", + "width": "fill_container", + "height": "fit_content", + "content": "get", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n435", + "name": "参数", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n436", + "name": "&self, id: Uuid", + "width": "fill_container", + "height": "fit_content", + "content": "&self, id: Uuid", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n437", + "name": "返回", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n438", + "name": "Result", + "width": "fill_container", + "height": "fit_content", + "content": "Result", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n439", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n440", + "name": "名称", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n441", + "name": "save", + "width": "fill_container", + "height": "fit_content", + "content": "save", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n442", + "name": "参数", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n443", + "name": "&mut self, row: AgentRow", + "width": "fill_container", + "height": "fit_content", + "content": "&mut self, row: AgentRow", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n444", + "name": "返回", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n445", + "name": "Result<(), StoreError>", + "width": "fill_container", + "height": "fit_content", + "content": "Result<(), StoreError>", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n446", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n447", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n448", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n449", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n450", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n451", + "name": "Status", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 8.0, + "padding": [ + 0.0, + 12.0 + ], + "justifyContent": "space_between", + "alignItems": "center", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n452", + "name": "Left", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n453", + "name": "Branch", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n454", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "text", + "id": "n455", + "name": "master", + "width": "fit_content", + "height": "fit_content", + "content": "master", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n456", + "name": "Right", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 16.0, + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n457", + "name": "代码阅读", + "width": "fit_content", + "height": "fit_content", + "content": "代码阅读", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "text", + "id": "n458", + "name": "Rust", + "width": "fit_content", + "height": "fit_content", + "content": "Rust", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n459", + "name": "Prototype / Rust · 库", + "x": 1360.0, + "y": 0.0, + "width": 1280.0, + "height": 62.0, + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n460", + "name": "Title bar", + "width": "fill_container", + "height": 36.0, + "layout": "horizontal", + "gap": 8.0, + "padding": [ + 0.0, + 12.0 + ], + "justifyContent": "space_between", + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n461", + "name": "Lights", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "children": [ + { + "type": "ellipse", + "id": "n462", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#ff5f57" + } + ] + }, + { + "type": "ellipse", + "id": "n463", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#febc2e" + } + ] + }, + { + "type": "ellipse", + "id": "n464", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#28c840" + } + ] + } + ] + }, + { + "type": "text", + "id": "n465", + "name": "agents — routes.rs", + "width": "fit_content", + "height": "fit_content", + "content": "agents — routes.rs", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n466", + "name": "Balance", + "width": 52.0, + "height": 12.0, + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n467", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n468", + "name": "Activity bar", + "width": 48.0, + "height": "fit_content", + "layout": "vertical", + "justifyContent": "space_between", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n469", + "name": "Top", + "width": 48.0, + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n470", + "name": "Item / files", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n471", + "name": "files", + "iconFontName": "files", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n472", + "name": "Item / search", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n473", + "name": "search", + "iconFontName": "search", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n474", + "name": "Item / git-branch", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n475", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n476", + "name": "Item / play", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n477", + "name": "play", + "iconFontName": "play", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n478", + "name": "Item / monitor", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n479", + "name": "monitor", + "iconFontName": "monitor", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n480", + "name": "Item / blocks", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n481", + "name": "blocks", + "iconFontName": "blocks", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n482", + "name": "Item / rocket", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n483", + "name": "rocket", + "iconFontName": "rocket", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#868686" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n484", + "name": "Item / book-open-text", + "width": 48.0, + "height": 42.0, + "layout": "horizontal", + "gap": 10.0, + "justifyContent": "start", + "alignItems": "center", + "children": [ + { + "type": "rectangle", + "id": "n485", + "name": "Active bar", + "width": 2.0, + "height": 42.0, + "fill": [ + { + "type": "solid", + "color": "#0078d4" + } + ], + "children": [] + }, + { + "type": "icon_font", + "id": "n486", + "name": "book-open-text", + "iconFontName": "book-open-text", + "width": 22.0, + "height": 22.0, + "fill": [ + { + "type": "solid", + "color": "#d7d7d7" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n487", + "name": "Sidebar", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n488", + "name": "Header", + "width": "fill_container", + "height": 34.0, + "layout": "horizontal", + "gap": 8.0, + "padding": [ + 0.0, + 12.0, + 0.0, + 16.0 + ], + "justifyContent": "space_between", + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n489", + "name": "代码阅读", + "width": "fit_content", + "height": "fit_content", + "content": "代码阅读", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n490", + "name": "Actions", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n491", + "name": "git-pull-request", + "iconFontName": "git-pull-request", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n492", + "name": "file-plus", + "iconFontName": "file-plus", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n493", + "name": "refresh-cw", + "iconFontName": "refresh-cw", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n494", + "name": "Tree", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 4.0, + 0.0, + 8.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n495", + "name": "agents", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 10.0 + ], + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n496", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n497", + "name": "folder", + "iconFontName": "folder", + "width": 15.0, + "height": 15.0, + "fill": [ + { + "type": "solid", + "color": "#8b9ba8" + } + ] + }, + { + "type": "text", + "id": "n498", + "name": "agents", + "width": "fit_content", + "height": "fit_content", + "content": "agents", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n499", + "name": "src", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 24.0 + ], + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n500", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n501", + "name": "folder", + "iconFontName": "folder", + "width": 15.0, + "height": 15.0, + "fill": [ + { + "type": "solid", + "color": "#8b9ba8" + } + ] + }, + { + "type": "text", + "id": "n502", + "name": "src", + "width": "fit_content", + "height": "fit_content", + "content": "src", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n503", + "name": "agent.rs", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 38.0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n504", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n505", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n506", + "name": "agent.rs", + "width": "fit_content", + "height": "fit_content", + "content": "agent.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n507", + "name": "error.rs", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 38.0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n508", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n509", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n510", + "name": "error.rs", + "width": "fit_content", + "height": "fit_content", + "content": "error.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n511", + "name": "routes.rs", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 38.0 + ], + "alignItems": "center", + "fill": [ + { + "type": "solid", + "color": "#04395e" + } + ], + "children": [ + { + "type": "frame", + "id": "n512", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n513", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n514", + "name": "routes.rs", + "width": "fit_content", + "height": "fit_content", + "content": "routes.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n515", + "name": "store.rs", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 38.0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n516", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n517", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n518", + "name": "store.rs", + "width": "fit_content", + "height": "fit_content", + "content": "store.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n519", + "name": "Cargo.toml", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 8.0, + 0.0, + 24.0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n520", + "name": "Twisty", + "width": 14.0, + "height": 14.0, + "children": [] + }, + { + "type": "text", + "id": "n521", + "name": "TM", + "width": "fit_content", + "height": "fit_content", + "content": "TM", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c0754a" + } + ] + }, + { + "type": "text", + "id": "n522", + "name": "Cargo.toml", + "width": "fit_content", + "height": "fit_content", + "content": "Cargo.toml", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n523", + "name": "Editor", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "frame", + "id": "n524", + "name": "Editor title", + "width": "fill_container", + "height": 36.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "space_between", + "alignItems": "center", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n525", + "name": "Tab", + "width": 148.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "rectangle", + "id": "n526", + "name": "Active", + "width": "fill_container", + "height": 2.0, + "fill": [ + { + "type": "solid", + "color": "#0078d4" + } + ], + "children": [] + }, + { + "type": "frame", + "id": "n527", + "name": "Tab label", + "width": "fill_container", + "height": "fill_container", + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 0.0, + 12.0 + ], + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n528", + "name": "RS", + "width": "fit_content", + "height": "fit_content", + "content": "RS", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dea584" + } + ] + }, + { + "type": "text", + "id": "n529", + "name": "routes.rs", + "width": "fit_content", + "height": "fit_content", + "content": "routes.rs", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n530", + "name": "Mode", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "padding": [ + 2.0, + 2.0 + ], + "alignItems": "center", + "cornerRadius": 5.0, + "fill": [ + { + "type": "solid", + "color": "#111111" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n531", + "name": "Seg / 编辑", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "padding": [ + 2.0, + 8.0 + ], + "alignItems": "center", + "cornerRadius": 3.0, + "children": [ + { + "type": "icon_font", + "id": "n532", + "name": "pencil", + "iconFontName": "pencil", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n533", + "name": "编辑", + "width": "fit_content", + "height": "fit_content", + "content": "编辑", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n534", + "name": "Seg / 预览", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "padding": [ + 2.0, + 8.0 + ], + "alignItems": "center", + "cornerRadius": 3.0, + "fill": [ + { + "type": "solid", + "color": "#37373d" + } + ], + "children": [ + { + "type": "icon_font", + "id": "n535", + "name": "eye", + "iconFontName": "eye", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + }, + { + "type": "text", + "id": "n536", + "name": "预览", + "width": "fit_content", + "height": "fit_content", + "content": "预览", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n537", + "name": "Pad", + "width": 8.0, + "height": 8.0, + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n538", + "name": "Breadcrumb", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 6.0, + "padding": [ + 6.0, + 16.0 + ], + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n539", + "name": "agents", + "width": "fit_content", + "height": "fit_content", + "content": "agents", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n540", + "name": "/", + "width": "fit_content", + "height": "fit_content", + "content": "/", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + }, + { + "type": "text", + "id": "n541", + "name": "src", + "width": "fit_content", + "height": "fit_content", + "content": "src", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n542", + "name": "/", + "width": "fit_content", + "height": "fit_content", + "content": "/", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + }, + { + "type": "text", + "id": "n543", + "name": "routes.rs", + "width": "fit_content", + "height": "fit_content", + "content": "routes.rs", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n544", + "name": "Filter", + "width": "fill_container", + "height": 36.0, + "layout": "horizontal", + "gap": 8.0, + "padding": [ + 0.0, + 16.0 + ], + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n545", + "name": "筛选", + "width": "fit_content", + "height": "fit_content", + "content": "筛选", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n546", + "name": "Chip / 种类", + "width": "fit_content", + "height": 24.0, + "layout": "horizontal", + "gap": 4.0, + "padding": [ + 0.0, + 8.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "children": [ + { + "type": "text", + "id": "n547", + "name": "种类", + "width": "fit_content", + "height": "fit_content", + "content": "种类", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n548", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n549", + "name": "Chip / 库", + "width": "fit_content", + "height": 24.0, + "layout": "horizontal", + "gap": 4.0, + "padding": [ + 0.0, + 8.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "children": [ + { + "type": "text", + "id": "n550", + "name": "库", + "width": "fit_content", + "height": "fit_content", + "content": "库", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "icon_font", + "id": "n551", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 12.0, + "height": 12.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n552", + "name": "Spacer", + "width": "fill_container", + "height": 8.0, + "children": [] + }, + { + "type": "text", + "id": "n553", + "name": "5 块", + "width": "fit_content", + "height": "fit_content", + "content": "5 块", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n554", + "name": "Preview", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 10.0, + "padding": [ + 8.0, + 20.0, + 24.0, + 20.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n555", + "name": "结构体", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n556", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n557", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n558", + "name": "braces", + "iconFontName": "braces", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + }, + { + "type": "frame", + "id": "n559", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n560", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n561", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n562", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n563", + "name": "AgentRow", + "width": "fit_content", + "height": "fit_content", + "content": "AgentRow", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + }, + { + "type": "frame", + "id": "n564", + "name": "Tag / 可序列化", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n565", + "name": "可序列化", + "width": "fit_content", + "height": "fit_content", + "content": "可序列化", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n566", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n567", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n568", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n569", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n570", + "name": "桌面端列表里的一行代理。", + "width": "fill_container", + "height": "fit_content", + "content": "桌面端列表里的一行代理。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n571", + "name": "Prop / 可见性", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n572", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n573", + "name": "可见性", + "width": "fill_container", + "height": "fit_content", + "content": "可见性", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n574", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n575", + "name": "公开", + "width": "fill_container", + "height": "fit_content", + "content": "公开", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n576", + "name": "Prop / 选项", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n577", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n578", + "name": "选项", + "width": "fill_container", + "height": "fit_content", + "content": "选项", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n579", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n580", + "name": "字段名改驼峰", + "width": "fill_container", + "height": "fit_content", + "content": "字段名改驼峰", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n581", + "name": "Prop / 字段", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n582", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n583", + "name": "字段", + "width": "fill_container", + "height": "fit_content", + "content": "字段", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n584", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n585", + "name": "3 个", + "width": "fill_container", + "height": "fit_content", + "content": "3 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n586", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n587", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n588", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n589", + "name": "字段", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n590", + "name": "字段", + "width": "fill_container", + "height": "fit_content", + "content": "字段", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n591", + "name": "类型", + "width": 160.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n592", + "name": "类型", + "width": "fill_container", + "height": "fit_content", + "content": "类型", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n593", + "name": "可见性", + "width": 120.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n594", + "name": "可见性", + "width": "fill_container", + "height": "fit_content", + "content": "可见性", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n595", + "name": "序列化", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n596", + "name": "序列化", + "width": "fill_container", + "height": "fit_content", + "content": "序列化", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n597", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n598", + "name": "字段", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n599", + "name": "id", + "width": "fill_container", + "height": "fit_content", + "content": "id", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n600", + "name": "类型", + "width": 160.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n601", + "name": "Uuid", + "width": "fill_container", + "height": "fit_content", + "content": "Uuid", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n602", + "name": "可见性", + "width": 120.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n603", + "name": "公开", + "width": "fit_content", + "height": "fit_content", + "content": "公开", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n604", + "name": "序列化", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n605", + "name": "改名 agent_id", + "width": "fill_container", + "height": "fit_content", + "content": "改名 agent_id", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n606", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n607", + "name": "字段", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n608", + "name": "name", + "width": "fill_container", + "height": "fit_content", + "content": "name", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n609", + "name": "类型", + "width": 160.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n610", + "name": "String", + "width": "fill_container", + "height": "fit_content", + "content": "String", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n611", + "name": "可见性", + "width": 120.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n612", + "name": "公开", + "width": "fit_content", + "height": "fit_content", + "content": "公开", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n613", + "name": "序列化", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n614", + "name": "—", + "width": "fill_container", + "height": "fit_content", + "content": "—", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n615", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n616", + "name": "字段", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n617", + "name": "secret", + "width": "fill_container", + "height": "fit_content", + "content": "secret", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n618", + "name": "类型", + "width": 160.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n619", + "name": "String", + "width": "fill_container", + "height": "fit_content", + "content": "String", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n620", + "name": "可见性", + "width": 120.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n621", + "name": "本模块", + "width": "fit_content", + "height": "fit_content", + "content": "本模块", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n622", + "name": "序列化", + "width": 220.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n623", + "name": "不输出", + "width": "fit_content", + "height": "fit_content", + "content": "不输出", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n624", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n625", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n626", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n627", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n628", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n629", + "name": "错误", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#f14c4c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n630", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n631", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n632", + "name": "triangle-alert", + "iconFontName": "triangle-alert", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#f14c4c" + } + ] + }, + { + "type": "frame", + "id": "n633", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n634", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n635", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n636", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n637", + "name": "AgentError", + "width": "fit_content", + "height": "fit_content", + "content": "AgentError", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#f14c4c" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n638", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n639", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n640", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n641", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n642", + "name": "读写代理时出的错。", + "width": "fill_container", + "height": "fit_content", + "content": "读写代理时出的错。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n643", + "name": "Prop / 变体", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n644", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n645", + "name": "变体", + "width": "fill_container", + "height": "fit_content", + "content": "变体", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n646", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n647", + "name": "2 个", + "width": "fill_container", + "height": "fit_content", + "content": "2 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n648", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n649", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n650", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n651", + "name": "变体", + "width": 150.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n652", + "name": "变体", + "width": "fill_container", + "height": "fit_content", + "content": "变体", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n653", + "name": "何时", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n654", + "name": "何时", + "width": "fill_container", + "height": "fit_content", + "content": "何时", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n655", + "name": "展示", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n656", + "name": "展示", + "width": "fill_container", + "height": "fit_content", + "content": "展示", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n657", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n658", + "name": "变体", + "width": 150.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n659", + "name": "NotFound", + "width": "fill_container", + "height": "fit_content", + "content": "NotFound", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n660", + "name": "何时", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n661", + "name": "这个 id 没有代理", + "width": "fill_container", + "height": "fit_content", + "content": "这个 id 没有代理", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n662", + "name": "展示", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n663", + "name": "agent {id} 不存在", + "width": "fill_container", + "height": "fit_content", + "content": "agent {id} 不存在", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n664", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n665", + "name": "变体", + "width": 150.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n666", + "name": "Upstream", + "width": "fill_container", + "height": "fit_content", + "content": "Upstream", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n667", + "name": "何时", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n668", + "name": "调用上游失败", + "width": "fill_container", + "height": "fit_content", + "content": "调用上游失败", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n669", + "name": "展示", + "width": 280.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "frame", + "id": "n670", + "name": "展示", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 6.0, + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n671", + "name": "上游错误", + "width": "fit_content", + "height": "fit_content", + "content": "上游错误", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + }, + { + "type": "frame", + "id": "n672", + "name": "Tag / 透传来源", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n673", + "name": "透传来源", + "width": "fit_content", + "height": "fit_content", + "content": "透传来源", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n674", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n675", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n676", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n677", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n678", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n679", + "name": "接口", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#61afef" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n680", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n681", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n682", + "name": "globe", + "iconFontName": "globe", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#61afef" + } + ] + }, + { + "type": "frame", + "id": "n683", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n684", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n685", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n686", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n687", + "name": "get_agent", + "width": "fit_content", + "height": "fit_content", + "content": "get_agent", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n688", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n689", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n690", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n691", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n692", + "name": "按 id 取一个代理。", + "width": "fill_container", + "height": "fit_content", + "content": "按 id 取一个代理。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n693", + "name": "Prop / 异步", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n694", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n695", + "name": "异步", + "width": "fill_container", + "height": "fit_content", + "content": "异步", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n696", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n697", + "name": "是", + "width": "fill_container", + "height": "fit_content", + "content": "是", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n698", + "name": "Prop / 请求", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n699", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n700", + "name": "请求", + "width": "fill_container", + "height": "fit_content", + "content": "请求", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n701", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n702", + "name": "GET /agents/{id}", + "width": "fill_container", + "height": "fit_content", + "content": "GET /agents/{id}", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n703", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n704", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n705", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n706", + "name": "项", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n707", + "name": "项", + "width": "fill_container", + "height": "fit_content", + "content": "项", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n708", + "name": "值", + "width": 420.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n709", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n710", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n711", + "name": "项", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n712", + "name": "方法", + "width": "fit_content", + "height": "fit_content", + "content": "方法", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n713", + "name": "值", + "width": 420.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n714", + "name": "GET", + "width": "fit_content", + "height": "fit_content", + "content": "GET", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#61affe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n715", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n716", + "name": "项", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n717", + "name": "路径", + "width": "fit_content", + "height": "fit_content", + "content": "路径", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n718", + "name": "值", + "width": 420.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n719", + "name": "/agents/{id}", + "width": "fit_content", + "height": "fit_content", + "content": "/agents/{id}", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n720", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n721", + "name": "项", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n722", + "name": "路径参数", + "width": "fit_content", + "height": "fit_content", + "content": "路径参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n723", + "name": "值", + "width": 420.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n724", + "name": "id: Uuid", + "width": "fit_content", + "height": "fit_content", + "content": "id: Uuid", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n725", + "name": "Prop / 返回", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n726", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n727", + "name": "返回", + "width": "fill_container", + "height": "fit_content", + "content": "返回", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n728", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n729", + "name": "Result, StatusCod", + "width": "fill_container", + "height": "fit_content", + "content": "Result, StatusCode>", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n730", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n731", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n732", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n733", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n734", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n735", + "name": "查询", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n736", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n737", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n738", + "name": "database", + "iconFontName": "database", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + }, + { + "type": "frame", + "id": "n739", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n740", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n741", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n742", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n743", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n744", + "name": "按 id 取一行。", + "width": "fill_container", + "height": "fit_content", + "content": "按 id 取一行。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n745", + "name": "Prop / SQL", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n746", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n747", + "name": "SQL", + "width": "fill_container", + "height": "fit_content", + "content": "SQL", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n748", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n749", + "name": "SELECT id, name FROM agents WHER", + "width": "fill_container", + "height": "fit_content", + "content": "SELECT id, name FROM agents WHERE id = $1", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n750", + "name": "Prop / 参数", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n751", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n752", + "name": "参数", + "width": "fill_container", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n753", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n754", + "name": "$1 = id", + "width": "fill_container", + "height": "fit_content", + "content": "$1 = id", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n755", + "name": "Prop / 返回类型", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n756", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n757", + "name": "返回类型", + "width": "fill_container", + "height": "fit_content", + "content": "返回类型", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n758", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n759", + "name": "AgentRow", + "width": "fill_container", + "height": "fit_content", + "content": "AgentRow", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n760", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n761", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n762", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n763", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n764", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n765", + "name": "命令", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c0754a" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n766", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n767", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "icon_font", + "id": "n768", + "name": "app-window", + "iconFontName": "app-window", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#c0754a" + } + ] + }, + { + "type": "frame", + "id": "n769", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n770", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n771", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "children": [ + { + "type": "text", + "id": "n772", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n773", + "name": "rename_agent", + "width": "fit_content", + "height": "fit_content", + "content": "rename_agent", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "frame", + "id": "n774", + "name": "Tag / 桌面命令", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c0754a" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n775", + "name": "桌面命令", + "width": "fit_content", + "height": "fit_content", + "content": "桌面命令", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c0754a" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n776", + "name": "Prop / 说明", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n777", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n778", + "name": "说明", + "width": "fill_container", + "height": "fit_content", + "content": "说明", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n779", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n780", + "name": "让窗口把这一行改名。", + "width": "fill_container", + "height": "fit_content", + "content": "让窗口把这一行改名。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n781", + "name": "Prop / 异步", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n782", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n783", + "name": "异步", + "width": "fill_container", + "height": "fit_content", + "content": "异步", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n784", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n785", + "name": "是", + "width": "fill_container", + "height": "fit_content", + "content": "是", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n786", + "name": "Prop / 参数", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n787", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n788", + "name": "参数", + "width": "fill_container", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n789", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n790", + "name": "2 个", + "width": "fill_container", + "height": "fit_content", + "content": "2 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n791", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n792", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n793", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n794", + "name": "名称", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n795", + "name": "名称", + "width": "fill_container", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n796", + "name": "类型", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n797", + "name": "类型", + "width": "fill_container", + "height": "fit_content", + "content": "类型", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n798", + "name": "来源", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n799", + "name": "来源", + "width": "fill_container", + "height": "fit_content", + "content": "来源", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n800", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n801", + "name": "名称", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n802", + "name": "state", + "width": "fill_container", + "height": "fit_content", + "content": "state", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n803", + "name": "类型", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n804", + "name": "State", + "width": "fill_container", + "height": "fit_content", + "content": "State", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n805", + "name": "来源", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n806", + "name": "窗口状态", + "width": "fill_container", + "height": "fit_content", + "content": "窗口状态", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n807", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "alignItems": "stretch", + "children": [ + { + "type": "frame", + "id": "n808", + "name": "名称", + "width": 140.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n809", + "name": "name", + "width": "fill_container", + "height": "fit_content", + "content": "name", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n810", + "name": "类型", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n811", + "name": "String", + "width": "fill_container", + "height": "fit_content", + "content": "String", + "fontFamily": "Menlo", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n812", + "name": "来源", + "width": 200.0, + "height": "fit_content", + "layout": "vertical", + "padding": [ + 5.0, + 8.0 + ], + "justifyContent": "center", + "children": [ + { + "type": "text", + "id": "n813", + "name": "调用方传入", + "width": "fill_container", + "height": "fit_content", + "content": "调用方传入", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n814", + "name": "Prop / 返回", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n815", + "name": "Key", + "width": 72.0, + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n816", + "name": "返回", + "width": "fill_container", + "height": "fit_content", + "content": "返回", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n817", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n818", + "name": "Result", + "width": "fill_container", + "height": "fit_content", + "content": "Result", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n819", + "name": "Tools", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n820", + "name": "sparkles", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n821", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n822", + "name": "pencil", + "width": 22.0, + "height": 22.0, + "layout": "horizontal", + "justifyContent": "center", + "alignItems": "center", + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n823", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n824", + "name": "Status", + "width": "fill_container", + "height": 26.0, + "layout": "horizontal", + "gap": 8.0, + "padding": [ + 0.0, + 12.0 + ], + "justifyContent": "space_between", + "alignItems": "center", + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n825", + "name": "Left", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "n826", + "name": "Branch", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "center", + "children": [ + { + "type": "icon_font", + "id": "n827", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "text", + "id": "n828", + "name": "master", + "width": "fit_content", + "height": "fit_content", + "content": "master", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n829", + "name": "Right", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "gap": 16.0, + "alignItems": "center", + "children": [ + { + "type": "text", + "id": "n830", + "name": "代码阅读", + "width": "fit_content", + "height": "fit_content", + "content": "代码阅读", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "text", + "id": "n831", + "name": "Rust", + "width": "fit_content", + "height": "fit_content", + "content": "Rust", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n832", + "name": "Prototype / Rust · 标记说明", + "x": 2720.0, + "y": 0.0, + "width": 880.0, + "height": "fit_content", + "layout": "vertical", + "gap": 14.0, + "padding": 28.0, + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "text", + "id": "n833", + "name": "标记说明", + "width": "fit_content", + "height": "fit_content", + "content": "标记说明", + "fontFamily": "PingFang SC", + "fontSize": 18.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + }, + { + "type": "text", + "id": "n834", + "name": "可见性", + "width": "fit_content", + "height": "fit_content", + "content": "可见性", + "fontFamily": "PingFang SC", + "fontSize": 14.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + }, + { + "type": "frame", + "id": "n835", + "name": "Note / 公开", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n836", + "name": "Tag / 公开", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n837", + "name": "公开", + "width": "fit_content", + "height": "fit_content", + "content": "公开", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n838", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n839", + "name": "pub,别的模块也能用。", + "width": "fill_container", + "height": "fit_content", + "content": "pub,别的模块也能用。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n840", + "name": "Note / 本模块", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n841", + "name": "Tag / 本模块", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n842", + "name": "本模块", + "width": "fit_content", + "height": "fit_content", + "content": "本模块", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n843", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n844", + "name": "没写 pub,只有这个文件里能用。", + "width": "fill_container", + "height": "fit_content", + "content": "没写 pub,只有这个文件里能用。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n845", + "name": "Note / 父模块", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n846", + "name": "Tag / 父模块", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n847", + "name": "父模块", + "width": "fit_content", + "height": "fit_content", + "content": "父模块", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n848", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n849", + "name": "pub(super),上一层模块能用。", + "width": "fill_container", + "height": "fit_content", + "content": "pub(super),上一层模块能用。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "text", + "id": "n850", + "name": "语言卡片", + "width": "fit_content", + "height": "fit_content", + "content": "语言卡片", + "fontFamily": "PingFang SC", + "fontSize": 14.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + }, + { + "type": "frame", + "id": "n851", + "name": "Note / 导入", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n852", + "name": "Tag / 导入", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n853", + "name": "导入", + "width": "fit_content", + "height": "fit_content", + "content": "导入", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n854", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n855", + "name": "一条 use。来源是路径,下面表是名字和别名。", + "width": "fill_container", + "height": "fit_content", + "content": "一条 use。来源是路径,下面表是名字和别名。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n856", + "name": "Note / 结构体", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n857", + "name": "Tag / 结构体", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n858", + "name": "结构体", + "width": "fit_content", + "height": "fit_content", + "content": "结构体", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n859", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n860", + "name": "字段表:字段、类型、可见性。没有的属性不占一行。", + "width": "fill_container", + "height": "fit_content", + "content": "字段表:字段、类型、可见性。没有的属性不占一行。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n861", + "name": "Note / 枚举", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n862", + "name": "Tag / 枚举", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#b180d7" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n863", + "name": "枚举", + "width": "fit_content", + "height": "fit_content", + "content": "枚举", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#b180d7" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n864", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n865", + "name": "变体表。没带数据的格子是破折号,不硬凑类型。", + "width": "fill_container", + "height": "fit_content", + "content": "变体表。没带数据的格子是破折号,不硬凑类型。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n866", + "name": "Note / 实现", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n867", + "name": "Tag / 实现", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n868", + "name": "实现", + "width": "fit_content", + "height": "fit_content", + "content": "实现", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n869", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n870", + "name": "标题写成「某某的方法」。点方法名展开一张函数子卡片。", + "width": "fill_container", + "height": "fit_content", + "content": "标题写成「某某的方法」。点方法名展开一张函数子卡片。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n871", + "name": "Note / 函数", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n872", + "name": "Tag / 函数", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n873", + "name": "函数", + "width": "fit_content", + "height": "fit_content", + "content": "函数", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n874", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n875", + "name": "异步写「是」。函数体里的 match 收成「分情况」,不展开源码", + "width": "fill_container", + "height": "fit_content", + "content": "异步写「是」。函数体里的 match 收成「分情况」,不展开源码。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n876", + "name": "Note / 特质", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n877", + "name": "Tag / 特质", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n878", + "name": "特质", + "width": "fit_content", + "height": "fit_content", + "content": "特质", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n879", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n880", + "name": "方法表只列签名,不展开函数体。", + "width": "fill_container", + "height": "fit_content", + "content": "方法表只列签名,不展开函数体。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "text", + "id": "n881", + "name": "库", + "width": "fit_content", + "height": "fit_content", + "content": "库", + "fontFamily": "PingFang SC", + "fontSize": 14.0, + "fontWeight": 600, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#e8e8e8" + } + ] + }, + { + "type": "frame", + "id": "n882", + "name": "Note / 改名", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n883", + "name": "Tag / 改名", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n884", + "name": "改名", + "width": "fit_content", + "height": "fit_content", + "content": "改名", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n885", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n886", + "name": "serde rename:序列化那一列写成「改名 agent_i", + "width": "fill_container", + "height": "fit_content", + "content": "serde rename:序列化那一列写成「改名 agent_id」。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n887", + "name": "Note / 不输出", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n888", + "name": "Tag / 不输出", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n889", + "name": "不输出", + "width": "fit_content", + "height": "fit_content", + "content": "不输出", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n890", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n891", + "name": "serde skip:这一列写成「不输出」。没标的是破折号。", + "width": "fill_container", + "height": "fit_content", + "content": "serde skip:这一列写成「不输出」。没标的是破折号。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n892", + "name": "Note / 驼峰", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n893", + "name": "Tag / 驼峰", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n894", + "name": "驼峰", + "width": "fit_content", + "height": "fit_content", + "content": "驼峰", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n895", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n896", + "name": "rename_all = camelCase 收成选项行「字段名", + "width": "fill_container", + "height": "fit_content", + "content": "rename_all = camelCase 收成选项行「字段名改驼峰」。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n897", + "name": "Note / 展示", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n898", + "name": "Tag / 展示", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#f14c4c" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n899", + "name": "展示", + "width": "fit_content", + "height": "fit_content", + "content": "展示", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#f14c4c" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n900", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n901", + "name": "thiserror 的文案写在「展示」列。透传的上游错误另标「透", + "width": "fill_container", + "height": "fit_content", + "content": "thiserror 的文案写在「展示」列。透传的上游错误另标「透传来源」。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n902", + "name": "Note / 接口", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n903", + "name": "Tag / 接口", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#61afef" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n904", + "name": "接口", + "width": "fit_content", + "height": "fit_content", + "content": "接口", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#61afef" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n905", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n906", + "name": "axum 处理函数和 FastAPI 接口是同一张卡:请求表加返", + "width": "fill_container", + "height": "fit_content", + "content": "axum 处理函数和 FastAPI 接口是同一张卡:请求表加返回。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n907", + "name": "Note / 查询", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n908", + "name": "Tag / 查询", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n909", + "name": "查询", + "width": "fit_content", + "height": "fit_content", + "content": "查询", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n910", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n911", + "name": "sqlx 一张小卡:一句说明、等宽 SQL、参数、返回类型。", + "width": "fill_container", + "height": "fit_content", + "content": "sqlx 一张小卡:一句说明、等宽 SQL、参数、返回类型。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n912", + "name": "Note / 桌面命令", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n913", + "name": "Tag / 桌面命令", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c0754a" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n914", + "name": "桌面命令", + "width": "fit_content", + "height": "fit_content", + "content": "桌面命令", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#c0754a" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n915", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n916", + "name": "tauri 命令在名称后标「桌面命令」。参数写明来自窗口状态还是", + "width": "fill_container", + "height": "fit_content", + "content": "tauri 命令在名称后标「桌面命令」。参数写明来自窗口状态还是调用方。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n917", + "name": "Note / 异步", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "alignItems": "start", + "children": [ + { + "type": "frame", + "id": "n918", + "name": "Tag / 异步", + "width": "fit_content", + "height": "fit_content", + "layout": "horizontal", + "padding": [ + 1.0, + 6.0 + ], + "alignItems": "center", + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#2a2a2a" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + }, + "children": [ + { + "type": "text", + "id": "n919", + "name": "异步", + "width": "fit_content", + "height": "fit_content", + "content": "异步", + "fontFamily": "PingFang SC", + "fontSize": 11.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#569cd6" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n920", + "name": "Sentence", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "children": [ + { + "type": "text", + "id": "n921", + "name": "tokio 不单独做卡。spawn 和 select 仍是普通调", + "width": "fill_container", + "height": "fit_content", + "content": "tokio 不单独做卡。spawn 和 select 仍是普通调用。", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.45, + "textGrowth": "fixed-width", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ], + "editorMeta": { + "activePageIndex": 0, + "preserveAuthoredGeometry": false + } +} \ No newline at end of file