[{"data":1,"prerenderedAt":907},["ShallowReactive",2],{"navigation":3,"/api/plugins":55,"/api/plugins-surround":904},[4,25],{"title":5,"path":6,"stem":7,"children":8,"page":24},"快速开始","/guide","1.guide",[9,14,19],{"title":10,"path":11,"stem":12,"icon":13},"快速入门","/guide/getting-started","1.guide/1.getting-started","i-lucide-rocket",{"title":15,"path":16,"stem":17,"icon":18},"认证","/guide/authentication","1.guide/2.authentication","i-lucide-lock",{"title":20,"path":21,"stem":22,"icon":23},"错误处理","/guide/error-handling","1.guide/3.error-handling","i-lucide-alert-triangle",false,{"title":26,"path":27,"stem":28,"children":29,"page":24},"API文档","/api","2.api",[30,35,40,45,50],{"title":31,"path":32,"stem":33,"icon":34},"用户认证","/api/auth","2.api/1.auth","i-lucide-key-round",{"title":36,"path":37,"stem":38,"icon":39},"AI 角色","/api/characters","2.api/2.characters","i-lucide-bot",{"title":41,"path":42,"stem":43,"icon":44},"知识库","/api/knowledge","2.api/3.knowledge","i-lucide-book-open",{"title":46,"path":47,"stem":48,"icon":49},"聊天会话","/api/chat","2.api/4.chat","i-lucide-message-circle",{"title":51,"path":52,"stem":53,"icon":54},"插件","/api/plugins","2.api/5.plugins","i-lucide-puzzle",{"id":56,"title":51,"body":57,"description":897,"extension":898,"links":899,"meta":900,"navigation":901,"path":52,"seo":902,"stem":53,"__hash__":903},"docs/2.api/5.plugins.md",{"type":58,"value":59,"toc":880},"minimark",[60,67,71,79,85,93,99,104,148,153,189,192,195,201,205,211,215,219,223,249,251,254,260,264,281,285,310,312,315,322,327,333,339,345,359,364,368,402,404,407,413,417,421,425,429,434,439,443,489,491,494,500,504,542,544,547,553,557,561,565,569,599,601,604,610,614,653,655,658,663,667,699,701,704,710,714,759,761,764,770,774,817,819,822,828,832,836,840,844],[61,62,63],"warning",{},[64,65,66],"p",{},"插件系统目前处于开发阶段，接口和功能可能会有较大变动。",[68,69,70],"h2",{"id":70},"获取已通过审核的插件列表",[72,73,76],"endpoint",{"method":74,"path":75},"GET","/plugins",[64,77,78],{},"获取所有已通过审核的插件，按点赞数和更新时间排序，支持分页。",[64,80,81],{},[82,83,84],"strong",{},"查询参数：",[86,87,90],"field",{"name":88,"type":89},"page","string",[64,91,92],{},"页码，从 1 开始",[86,94,96],{"name":95,"type":89},"limit",[64,97,98],{},"每页数量，1-100",[64,100,101],{},[82,102,103],{},"说明：",[105,106,107,116,133],"ul",{},[108,109,110,111,115],"li",{},"响应使用统一 ",[112,113,114],"code",{},"ApiResponse"," 包裹。",[108,117,118,121,122,125,126,125,129,132],{},[112,119,120],{},"status"," 字段实际为小写：",[112,123,124],{},"pending"," / ",[112,127,128],{},"approved",[112,130,131],{},"rejected","。",[108,134,135,136,139,140,143,144,147],{},"列表项包含 ",[112,137,138],{},"type"," 字段（如 ",[112,141,142],{},"HTTP","、",[112,145,146],{},"KNOWLEDGE_SEARCH","）。",[64,149,150],{},[82,151,152],{},"响应状态码：",[154,155,156,169],"table",{},[157,158,159],"thead",{},[160,161,162,166],"tr",{},[163,164,165],"th",{},"状态码",[163,167,168],{},"说明",[170,171,172,181],"tbody",{},[160,173,174,178],{},[175,176,177],"td",{},"200",[175,179,180],{},"获取成功",[160,182,183,186],{},[175,184,185],{},"400",[175,187,188],{},"分页参数无效",[190,191],"hr",{},[68,193,194],{"id":194},"搜索插件",[72,196,198],{"method":74,"path":197},"/plugins/search",[64,199,200],{},"按名称或描述模糊搜索已通过审核的插件。",[64,202,203],{},[82,204,84],{},[86,206,208],{"name":207,"type":89},"q",[64,209,210],{},"搜索关键词（可选）",[86,212,213],{"name":88,"type":89},[64,214,92],{},[86,216,217],{"name":95,"type":89},[64,218,98],{},[64,220,221],{},[82,222,152],{},[154,224,225,233],{},[157,226,227],{},[160,228,229,231],{},[163,230,165],{},[163,232,168],{},[170,234,235,242],{},[160,236,237,239],{},[175,238,177],{},[175,240,241],{},"搜索成功",[160,243,244,246],{},[175,245,185],{},[175,247,248],{},"查询参数无效",[190,250],{},[68,252,253],{"id":253},"获取插件详情",[72,255,257],{"method":74,"path":256},"/plugins/{pluginId}",[64,258,259],{},"获取指定插件详情（仅返回已通过审核插件）。",[64,261,262],{},[82,263,103],{},[105,265,266,275],{},[108,267,268,269,272,273,132],{},"与列表相比，详情返回 ",[112,270,271],{},"executionConfig","，而不是 ",[112,274,112],{},[108,276,277,278,132],{},"未审核通过的插件对外等价为 ",[112,279,280],{},"404",[64,282,283],{},[82,284,152],{},[154,286,287,295],{},[157,288,289],{},[160,290,291,293],{},[163,292,165],{},[163,294,168],{},[170,296,297,303],{},[160,298,299,301],{},[175,300,177],{},[175,302,180],{},[160,304,305,307],{},[175,306,280],{},[175,308,309],{},"插件不存在或未通过审核",[190,311],{},[68,313,314],{"id":314},"创建插件",[72,316,319],{"method":317,"path":75,":auth":318},"POST","true",[64,320,321],{},"创建新插件，初始状态为待审核。",[64,323,324],{},[82,325,326],{},"请求参数：",[86,328,330],{"name":329,"type":89,":required":318},"name",[64,331,332],{},"插件名称",[86,334,336],{"name":335,"type":89,":required":318},"description",[64,337,338],{},"插件描述",[86,340,342],{"name":341,"type":89,":required":318},"version",[64,343,344],{},"版本号",[86,346,349],{"name":347,"type":348,":required":318},"schema","object",[64,350,351,352,143,354,143,356],{},"插件 schema，包含 ",[112,353,329],{},[112,355,335],{},[112,357,358],{},"parameters",[86,360,361],{"name":271,"type":348,":required":318},[64,362,363],{},"插件执行配置（按插件类型）",[64,365,366],{},[82,367,152],{},[154,369,370,378],{},[157,371,372],{},[160,373,374,376],{},[163,375,165],{},[163,377,168],{},[170,379,380,387,394],{},[160,381,382,384],{},[175,383,177],{},[175,385,386],{},"创建成功",[160,388,389,391],{},[175,390,185],{},[175,392,393],{},"输入参数无效",[160,395,396,399],{},[175,397,398],{},"401",[175,400,401],{},"未登录或令牌无效",[190,403],{},[68,405,406],{"id":406},"更新插件",[72,408,410],{"method":409,"path":256,":auth":318},"PUT",[64,411,412],{},"更新指定插件信息，仅作者可操作。",[64,414,415],{},[82,416,326],{},[86,418,419],{"name":329,"type":89,":required":318},[64,420,332],{},[86,422,423],{"name":335,"type":89,":required":318},[64,424,338],{},[86,426,427],{"name":341,"type":89,":required":318},[64,428,344],{},[86,430,431],{"name":347,"type":348,":required":318},[64,432,433],{},"插件 schema",[86,435,436],{"name":271,"type":348,":required":318},[64,437,438],{},"插件执行配置",[64,440,441],{},[82,442,152],{},[154,444,445,453],{},[157,446,447],{},[160,448,449,451],{},[163,450,165],{},[163,452,168],{},[170,454,455,462,468,474,482],{},[160,456,457,459],{},[175,458,177],{},[175,460,461],{},"更新成功",[160,463,464,466],{},[175,465,185],{},[175,467,393],{},[160,469,470,472],{},[175,471,398],{},[175,473,401],{},[160,475,476,479],{},[175,477,478],{},"403",[175,480,481],{},"无权操作",[160,483,484,486],{},[175,485,280],{},[175,487,488],{},"插件不存在",[190,490],{},[68,492,493],{"id":493},"删除插件",[72,495,497],{"method":496,"path":256,":auth":318},"DELETE",[64,498,499],{},"删除指定插件，仅作者可操作。",[64,501,502],{},[82,503,152],{},[154,505,506,514],{},[157,507,508],{},[160,509,510,512],{},[163,511,165],{},[163,513,168],{},[170,515,516,524,530,536],{},[160,517,518,521],{},[175,519,520],{},"204",[175,522,523],{},"删除成功",[160,525,526,528],{},[175,527,398],{},[175,529,401],{},[160,531,532,534],{},[175,533,478],{},[175,535,481],{},[160,537,538,540],{},[175,539,280],{},[175,541,488],{},[190,543],{},[68,545,546],{"id":546},"获取我的插件",[72,548,550],{"method":74,"path":549,":auth":318},"/me/plugins",[64,551,552],{},"获取当前用户创建的所有插件，支持分页。",[64,554,555],{},[82,556,84],{},[86,558,559],{"name":88,"type":89},[64,560,92],{},[86,562,563],{"name":95,"type":89},[64,564,98],{},[64,566,567],{},[82,568,152],{},[154,570,571,579],{},[157,572,573],{},[160,574,575,577],{},[163,576,165],{},[163,578,168],{},[170,580,581,587,593],{},[160,582,583,585],{},[175,584,177],{},[175,586,180],{},[160,588,589,591],{},[175,590,185],{},[175,592,188],{},[160,594,595,597],{},[175,596,398],{},[175,598,401],{},[190,600],{},[68,602,603],{"id":603},"点赞插件",[72,605,607],{"method":317,"path":606,":auth":318},"/plugins/{pluginId}/like",[64,608,609],{},"为指定插件点赞。",[64,611,612],{},[82,613,152],{},[154,615,616,624],{},[157,617,618],{},[160,619,620,622],{},[163,621,165],{},[163,623,168],{},[170,625,626,633,639,645],{},[160,627,628,630],{},[175,629,177],{},[175,631,632],{},"点赞成功",[160,634,635,637],{},[175,636,398],{},[175,638,401],{},[160,640,641,643],{},[175,642,280],{},[175,644,488],{},[160,646,647,650],{},[175,648,649],{},"409",[175,651,652],{},"已经点赞过",[190,654],{},[68,656,657],{"id":657},"取消点赞",[72,659,660],{"method":496,"path":606,":auth":318},[64,661,662],{},"取消对指定插件的点赞。",[64,664,665],{},[82,666,152],{},[154,668,669,677],{},[157,670,671],{},[160,672,673,675],{},[163,674,165],{},[163,676,168],{},[170,678,679,686,692],{},[160,680,681,683],{},[175,682,520],{},[175,684,685],{},"取消成功",[160,687,688,690],{},[175,689,398],{},[175,691,401],{},[160,693,694,696],{},[175,695,280],{},[175,697,698],{},"插件不存在或点赞记录不存在",[190,700],{},[68,702,703],{"id":703},"审批通过插件",[72,705,707],{"method":317,"path":706,":auth":318},"/plugins/{pluginId}/approve",[64,708,709],{},"将指定插件状态设为已通过（需要管理员权限）。",[64,711,712],{},[82,713,152],{},[154,715,716,724],{},[157,717,718],{},[160,719,720,722],{},[163,721,165],{},[163,723,168],{},[170,725,726,733,739,746,752],{},[160,727,728,730],{},[175,729,177],{},[175,731,732],{},"审批成功",[160,734,735,737],{},[175,736,398],{},[175,738,401],{},[160,740,741,743],{},[175,742,478],{},[175,744,745],{},"需要管理员权限",[160,747,748,750],{},[175,749,280],{},[175,751,488],{},[160,753,754,756],{},[175,755,649],{},[175,757,758],{},"当前状态不允许审批通过",[190,760],{},[68,762,763],{"id":763},"审批拒绝插件",[72,765,767],{"method":317,"path":766,":auth":318},"/plugins/{pluginId}/reject",[64,768,769],{},"将指定插件状态设为已拒绝（需要管理员权限）。",[64,771,772],{},[82,773,152],{},[154,775,776,784],{},[157,777,778],{},[160,779,780,782],{},[163,781,165],{},[163,783,168],{},[170,785,786,792,798,804,810],{},[160,787,788,790],{},[175,789,177],{},[175,791,732],{},[160,793,794,796],{},[175,795,398],{},[175,797,401],{},[160,799,800,802],{},[175,801,478],{},[175,803,745],{},[160,805,806,808],{},[175,807,280],{},[175,809,488],{},[160,811,812,814],{},[175,813,649],{},[175,815,816],{},"当前状态不允许审批拒绝",[190,818],{},[68,820,821],{"id":821},"获取待审核插件列表",[72,823,825],{"method":74,"path":824,":auth":318},"/admin/plugins/pending",[64,826,827],{},"获取所有待审核插件（需要管理员权限），支持分页。",[64,829,830],{},[82,831,84],{},[86,833,834],{"name":88,"type":89},[64,835,92],{},[86,837,838],{"name":95,"type":89},[64,839,98],{},[64,841,842],{},[82,843,152],{},[154,845,846,854],{},[157,847,848],{},[160,849,850,852],{},[163,851,165],{},[163,853,168],{},[170,855,856,862,868,874],{},[160,857,858,860],{},[175,859,177],{},[175,861,180],{},[160,863,864,866],{},[175,865,185],{},[175,867,188],{},[160,869,870,872],{},[175,871,398],{},[175,873,401],{},[160,875,876,878],{},[175,877,478],{},[175,879,745],{},{"title":881,"searchDepth":882,"depth":883,"links":884},"",1,2,[885,886,887,888,889,890,891,892,893,894,895,896],{"id":70,"depth":883,"text":70},{"id":194,"depth":883,"text":194},{"id":253,"depth":883,"text":253},{"id":314,"depth":883,"text":314},{"id":406,"depth":883,"text":406},{"id":493,"depth":883,"text":493},{"id":546,"depth":883,"text":546},{"id":603,"depth":883,"text":603},{"id":657,"depth":883,"text":657},{"id":703,"depth":883,"text":703},{"id":763,"depth":883,"text":763},{"id":821,"depth":883,"text":821},"插件系统 API","md",null,{},{"icon":54},{"title":51,"description":897},"4JQkpqXX3mpUn4q2805_2cqw7pQfWP8tHWgFjt6phYw",[905,899],{"title":46,"path":47,"stem":48,"description":906,"icon":49,"children":-1},"聊天会话和消息 API",1772535254109]