PageSourceSearch

https://www.volumn.ai/_next/static/chunks/81167.e365802a926ab0bc.js

js volumn.ai collected 2026-10-01 16:20:03 UTC 16,102 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81167],{3548:(e,t,i)=>{i.r(t),i.d(t,{TabRoutes:()=>c});var n=i(53757);i(24361);var a=i(73607),s=i(79428),r=i(17671),d=i(33004),l=i(35376);function c(e){let t,{accessToken:i,authReady:c,autoReplyConfigError:x,autoReplyConfigLoading:o,autoReplyConfigMessage:m,autoReplyConfigSaving:h,autoReplyFallbackModelId:b,autoReplyMaxPerHour:p,autoReplyMinIntervalSeconds:u,autoReplyModelId:z,autoReplyPrivilegedUserIds:g,autoReplyTimelineApiSource:k,loadAutoReplyConfig:v,loadSkillModelRoutes:j,modelOptions:y,routeDraftBySkillId:N,routesError:f,routesLoading:w,routesMessage:_,routesSaving:S,routesTab:A,saveAllSkillRoutes:C,saveAllSkillStepRoutes:P,saveAutoReplyConfig:T,saveSkillRoute:B,setAutoReplyFallbackModelId:G,setAutoReplyMaxPerHour:I,setAutoReplyMinIntervalSeconds:M,setAutoReplyModelId:$,setAutoReplyPrivilegedUserIds:O,setAutoReplyTimelineApiSource:F,setRouteDraftBySkillId:L,setRoutesTab:R,setStepRouteDraft:X,skillModelBindings:E,skillStepModelBindings:H,skills:K,skillsLoading:U,stepRouteDraft:D,xhsSkills:V}=e;return(0,n.jsx)("div",{className:"space-y-6",children:(0,n.jsxs)("section",{className:"rounded-xl border border-zinc-200 bg-white p-5 shadow-sm dark:border-zinc-800 dark:bg-zinc-900",children:[(0,n.jsxs)("div",{className:"mb-4 flex items-center gap-3",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 rounded-md bg-zinc-100 p-1 text-xs font-medium text-zinc-700 dark:bg-zinc-800 dark:text-zinc-200",children:[(0,n.jsx)("button",{type:"button",onClick:()=>R("skills"),className:`rounded-md px-2 py-1 ${"skills"===A?"bg-zinc-900 text-white dark:bg-zinc-100 dark:text-zinc-900":"hover:bg-white/70 dark:hover:bg-zinc-700"}`,children:"Skill"}),(0,n.jsx)("button",{type:"button",onClick:()=>R("auto-reply"),className:`rounded-md px-2 py-1 ${"auto-reply"===A?"bg-zinc-900 text-white dark:bg-zinc-100 dark:text-zinc-900":"hover:bg-white/70 dark:hover:bg-zinc-700"}`,children:"Auto-Reply"}),(0,n.jsx)("button",{type:"button",onClick:()=>R("xhs"),className:`rounded-md px-2 py-1 ${"xhs"===A?"bg-zinc-900 text-white dark:bg-zinc-100 dark:text-zinc-900":"hover:bg-white/70 dark:hover:bg-zinc-700"}`,children:"小红书图文"})]}),(0,n.jsx)(a.A,{className:"h-4 w-4 text-zinc-500"}),(0,n.jsx)("h2",{className:"text-sm font-semibold",children:"路线"})]}),"skills"===A||"xhs"===A?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-3",children:[(0,n.jsx)("div",{className:"text-xs text-zinc-500 dark:text-zinc-400",children:"xhs"===A?"小红书图文 Skill 路线(固定模型)":"Skill 路线(固定模型)"}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("button",{type:"button",onClick:()=>void j(),disabled:w||S,className:"text-xs text-zinc-500 underline-offset-2 hover:underline disabled:cursor-not-allowed disabled:opacity-60 dark:text-zinc-400",children:"刷新"}),(0,n.jsxs)("button",{type:"button",onClick:()=>void C(),disabled:w||S||("xhs"===A?0===V.length:0===K.length),className:"inline-flex items-center gap-2 rounded-md bg-zinc-900 px-3 py-1.5 text-xs font-medium text-white hover:bg-zinc-800 disabled:cursor-not-allowed disabled:opacity-60 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200",children:[S?(0,n.jsx)(s.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,n.jsx)(r.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"保存全部"})]})]})]}),f&&(0,n.jsx)("div",{className:"mb-3 rounded-md bg-red-50 px-3 py-2 text-xs text-red-700 dark:bg-red-900/20 dark:text-red-300",children:f}),_&&!f&&(0,n.jsx)("div",{className:"mb-3 rounded-md bg-emerald-50 px-3 py-2 text-xs text-emerald-700 dark:bg-emerald-900/20 dark:text-emerald-300",children:_}),U&&(0,n.jsxs)("div",{className:"flex items-center gap-2 rounded-md bg-zinc-50 px-3 py-2 text-xs text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-300",children:[(0,n.jsx)(s.A,{className:"h-3.5 w-3.5 animate-spin"}),(0,n.jsx)("span",{children:"加载 Skill 列表..."})]}),!U&&("xhs"===A?0===V.length:0===K.length)&&(0,n.jsx)("div",{className:"rounded-md bg-zinc-50 px-3 py-2 text-xs text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-300",children:"暂无 Skill"}),("xhs"===A?V.length>0:K.length>0)&&(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsxs)("div",{className:"hidden text-[11px] text-zinc-500 sm:grid sm:grid-cols-[minmax(0,1fr)_minmax(0,1.6fr)_minmax(0,1fr)_minmax(0,0.6fr)] sm:gap-2",children:[(0,n.jsx)("div",{children:"Skill"}),(0,n.jsx)("div",{children:"说明"}),(0,n.jsx)("div",{children:"固定模型"}),(0,n.jsx)("div",{})]}),("xhs"===A?V:K).map(e=>{let t=(E[e.id]??"").toString().trim(),i=(N[e.id]??t).toString();return(0,n.jsxs)("div",{className:"grid items-center gap-2 rounded-md border border-zinc-100 px-3 py-2 text-xs text-zinc-700 dark:border-zinc-800 dark:text-zinc-200 sm:grid-cols-[minmax(0,1fr)_minmax(0,1.6fr)_minmax(0,1fr)_minmax(0,0.6fr)]",children:[(0,n.jsxs)("div",{className:"truncate",children:[e.name," (",e.id,")"]}),(0,n.jsx)("div",{className:"truncate text-[11px] text-zinc-500 dark:text-zinc-400",children:e.description}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("select",{value:i,onChange:t=>L(i=>({...i,[e.id]:t.target.value})),disabled:S,className:"w-full appearance-none rounded border border-zinc-200 bg-white px-2 py-1 pr-7 text-[11px] text-zinc-700 outline-none focus:border-zinc-900 disabled:cursor-not-allowed disabled:bg-zinc-100 disabled:text-zinc-400 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-100 dark:focus:border-zinc-200 dark:disabled:bg-zinc-900 dark:disabled:text-zinc-600",children:[(0,n.jsx)("option",{value:"",children:"不固定(按请求选择/默认)"}),y.map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id))]}),(0,n.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,n.jsx)(d.A,{className:"h-3 w-3"})})]}),(0,n.jsx)("button",{type:"button",onClick:()=>void B(e.id,i),disabled:S||w||i.trim()===t,className:"inline-flex items-center justify-center rounded-md bg-zinc-900 px-2 py-1 text-[11px] font-medium text-white hover:bg-zinc-800 disabled:cursor-not-allowed disabled:opacity-60 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200",children:"保存"})]},e.id)})]}),0===(t=("xhs"===A?V:K).filter(e=>(l.hB[e.id]?.length??0)>0||Object.keys(H[e.id]??{}).length>0)).length?null:(0,n.jsxs)("div",{className:"mt-6 border-t border-zinc-100 pt-4 dark:border-zinc-800",children:[(0,n.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(a.A,{className:"h-4 w-4 text-zinc-500"}),(0,n.jsx)("h3",{className:"text-xs font-semibold",children:"Skill Step 路线"})]}),(0,n.jsxs)("button",{type:"button",onClick:()=>void P(),disabled:w||S,className:"inline-flex items-center gap-2 rounded-md bg-zinc-900 px-3 py-1.5 text-xs font-medium text-white hover:bg-zinc-800 disabled:cursor-not-allowed disabled:opacity-60 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200",children:[S?(0,n.jsx)(s.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,n.jsx)(r.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"保存全部 Step"})]})]}),(0,n.jsx)("div",{className:"space-y-4",children:t.map(e=>{let t=l.hB[e.id]??[],i=H[e.id]??{},a=D[e.id]??{};return(0,n.jsxs)("div",{className:"rounded-md border border-zinc-100 p-3 dark:border-zinc-800",children:[(0,n.jsxs)("div",{className:"mb-2 text-[11px] font-bold text-zinc-500 dark:text-zinc-400",children:[e.name," (",e.id,")"]}),(0,n.jsx)("div",{className:"grid gap-2 sm:grid-cols-2 lg:grid-cols-3",children:t.map(t=>(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{className:"text-[10px] text-zinc-500",children:t}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("select",{value:a[t]??i[t]??"",onChange:i=>X(n=>({...n,[e.id]:{...n[e.id]??{},[t]:i.target.value}})),className:"w-full appearance-none rounded border border-zinc-200 bg-white px-2 py-1 pr-7 text-[10px] text-zinc-700 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-100 dark:focus:border-zinc-200",children:[(0,n.jsx)("option",{value:"",children:"不固定"}),y.map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id))]}),(0,n.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,n.jsx)(d.A,{className:"h-2.5 w-2.5"})})]})]},t))})]},e.id)})})]})]}):(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("h3",{className:"text-xs font-semibold",children:"自动回复全局配置"}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("button",{type:"button",onClick:()=>void v(),disabled:o||h,className:"text-xs text-zinc-500 underline-offset-2 hover:underline disabled:cursor-not-allowed disabled:opacity-60 dark:text-zinc-400",children:"刷新"}),(0,n.jsxs)("button",{type:"button",onClick:()=>void T(),disabled:o||h||!c||!i,className:"inline-flex items-center gap-2 rounded-md bg-zinc-900 px-3 py-1.5 text-xs font-medium text-white hover:bg-zinc-800 disabled:cursor-not-allowed disabled:opacity-60 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200",children:[h?(0,n.jsx)(s.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,n.jsx)(r.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"保存配置"})]})]})]}),x&&(0,n.jsx)("div",{className:"rounded-md bg-red-50 px-3 py-2 text-xs text-red-700 dark:bg-red-900/20 dark:text-red-300",children:x}),m&&!x&&(0,n.jsx)("div",{className:"rounded-md bg-emerald-50 px-3 py-2 text-xs text-emerald-700 dark:bg-emerald-900/20 dark:text-emerald-300",children:m}),(0,n.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{className:"text-xs font-medium text-zinc-700 dark:text-zinc-300",children:"主模型 (Auto-Reply)"}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("select",{value:z,onChange:e=>$(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 pr-8 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50",children:y.map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,n.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,n.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{className:"text-xs font-medium text-zinc-700 dark:text-zinc-300",children:"备选模型 (Auto-Reply Fallback)"}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("select",{value:b,onChange:e=>G(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 pr-8 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50",children:[(0,n.jsx)("option",{value:"",children:"无"}),y.map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id))]}),(0,n.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,n.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{className:"text-xs font-medium text-zinc-700 dark:text-zinc-300",children:"Timeline API 数据源"}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("select",{value:k,onChange:e=>F(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 pr-8 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50",children:[(0,n.jsx)("option",{value:"apidance",children:"Apidance"}),(0,n.jsx)("option",{value:"rapidapi",children:"RapidAPI"})]}),(0,n.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,n.jsx)(d.A,{className:"h-3 w-3"})})]})]}),"              ",(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{className:"text-xs font-medium text-zinc-700 dark:text-zinc-300",children:"每小时最大回复数"}),(0,n.jsx)("input",{type:"number",value:p,onChange:e=>I(parseInt(e.target.value)||0),className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50"})]}),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{className:"text-xs font-medium text-zinc-700 dark:text-zinc-300",children:"最小回复间隔 (秒)"}),(0,n.jsx)("input",{type:"number",value:u,onChange:e=>M(parseInt(e.target.value)||0),className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50"})]})]}),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{className:"text-xs font-medium text-zinc-700 dark:text-zinc-300",children:"特权用户 IDs (逗号分隔)"}),(0,n.jsx)("textarea",{value:g,onChange:e=>
1O(e.target.value),rows:2,placeholder:"例如: 123456,789012",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50"})]})]})]})})}},33004:(e,t,i)=>{i.d(t,{A:()=>n});let n=(0,i(56059).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},35376:(e,t,i)=>{i.d(t,{$Q:()=>r,GO:()=>c,IM:()=>a,TS:()=>x,XL:()=>s,_W:()=>n,hB:()=>d,we:()=>l});let n=[{value:"basic_monthly",label:"Basic Monthly"},{value:"basic_yearly",label:"Basic Yearly"},{value:"pro_monthly",label:"Pro Monthly"},{value:"pro_yearly",label:"Pro Yearly"},{value:"team_monthly",label:"Team Monthly"}];function a(e){let t=(e??"").toString().trim().toLowerCase();return t&&n.some(e=>e.value===t)?t:null}let s={"board_chat2edit_system_ask.txt":["Board","chat2edit","System(Ask)"],"board_chat2edit_system_create.txt":["Board","chat2edit","System(Create)"],"board_chat2edit_user.txt":["Board","chat2edit","User Template"],"xhs_batch_system.txt":["Skill:xhs-batch","System","JSON Plan"],"xhs_batch_copy_system.txt":["Skill:xhs-batch","System","Copy Only"],"xhs_image_prompt_short.txt":["Image","XHS Template(Short)","Fallback"],"xhs_image_prompt.txt":["Image","XHS Template(Long)","Used:xhs-batch,board"],"ip_summary_x.txt":["Persona","IP Summary","System"],"oss_autocomplete_system.txt":["Persona","OSS Autocomplete","System"],"outline_prompt.txt":["XHS Outline","Unused"],"content_prompt.txt":["XHS Content","Unused"]},r=[{id:"persona-ai",name:"Volumn.ai (Gemini 3.0 Pro)"},{id:"gpt-5.2",name:"GPT5.2 (GPT-5.2)"},{id:"gpt-oss",name:"GPT oss (GPT-OSS 120B Free)"},{id:"nanobanana",name:"Nanobanana (Gemini 3 Pro Image)"},{id:"gemini-3.0-pro",name:"Gemini 3.0 Pro"},{id:"minimax-m2",name:"Minimax M2"},{id:"kimi-0905",name:"Kimi 0905"}],d={"xhs-batch":["copy","outline","content","repair","image"]},l=[{id:"persona-ai",name:"Volumn.ai(高质量)",creditsPerK:.9},{id:"advanced-bundle",name:"高级组合(Nanobanana / GPT5.2 / Gemini3.0 Pro / Minimax M2 / Kimi0905)",creditsPerK:.45}];function c(e){let t=("string"==typeof e?e:"").trim();if(!t)return"";let i=(t.split("\n")[0]??"").trim();if(!i)return"";let n=i.split(/[·•|]/).map(e=>e.trim()).filter(Boolean);if(0===n.length)return"";let a=function(e){let t=(e??"").trim();if(!t)return"";let i=/^sales\s*engine(?:\s*\((from\s+replies|from\s+retweets)\))?$/i.exec(t);if(!i)return t;let n=(i[1]??"").toLowerCase().trim();return n?`Sales Engine (${n})`:"Sales Engine"}(n[0]??""),s=n[1]??"";return/^audience\s*extract$/i.test(s)?`${a} \xb7 Audience extract`:a}function x(e){if(!e)return"--";let t=new Date(e);return Number.isFinite(t.getTime())?t.toLocaleString():e}},79428:(e,t,i)=>{i.d(t,{A:()=>n});let n=(0,i(56059).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.