import{api as t}from"./common-DEIQtiPI.js";const r=async a=>{try{const e=await t.call("jingrow.ai.utils.jlocal.get_node_schema_fields",{node_type:a});return(e?.message||e)?.fields||[]}catch{return[]}},c=async()=>{try{const a=await t.call("jingrow.ai.utils.jlocal.import_local_nodes");return a?.message||a||{success:!1,matched:0,imported:0,skipped_existing:0}}catch(a){throw console.error("导入本地节点失败:",a),a}};export{r as g,c as i};
