<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom">
  <title>『 闪 界 』</title>
  
  <subtitle>鼠标炸弹的博客</subtitle>
  <link href="https://flashj.cn/atom.xml" rel="self"/>
  
  <link href="https://flashj.cn/"/>
  <updated>2026-11-06T02:33:58.385Z</updated>
  <id>https://flashj.cn/</id>
  
  <author>
    <name>Mousebomb</name>
    
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  
  
  <entry>
    <title>知识小镇：给女儿做的数学大富翁</title>
    <link href="https://flashj.cn/studytown.html"/>
    <id>https://flashj.cn/studytown.html</id>
    <published>2026-11-06T02:20:00.000Z</published>
    <updated>2026-11-06T02:33:58.385Z</updated>
    
    
    <content type="html"><![CDATA[<p>我给女儿做了一个答题赚钱的类大富翁游戏——知识小镇。她可以在里面玩装扮、宠物，在游戏中刷题复习，我可以看她的知识点掌握、错题集。</p><p>前两年我都是给她用AI做一些专项练习，这次期中考试也是为她的常错薄弱点“近似数”问题做了专项闯关游戏。</p><p>近期还做了一个四年级上的闯关游戏，30 关的闯关。4号早上跟睿睿交流，她说她想要一个像飞行棋一样、有小镇地图的东西。比如掷了个骰子，到了哪一格，再开始闯关……</p><p>我想了一下，应该把她的答题跟「大富翁」玩法融合一下。</p><p>需求是睿睿提的，Harness是我搭的，代码是DeepSeek开发的，图片、配音等素材是<a href="https://github.com/mousebomb/mbai-platform">mbai-platform</a>生成的。整个项目除了DeepSeek的token费用之外，其他所有东西都是使用开源加本地部署。</p><p>做出第一版的总费用是<code>¥12.87</code>。</p><hr><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-cover.webp"></p><h2 id="走一圈"><a href="#走一圈" class="headerlink" title="走一圈"></a>走一圈</h2><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-town.webp"></p><p>20 个格子围成一圈，中间是小地图和骰子。点中间的骰子掷点，走完落到哪一格就进哪个场景。</p><p>七个答题格：五个单元各一格，加一个「混合挑战」（随机抽单元、4 题、金币 ×1.5）和一个「勇者挑战」（3 题、每题给得多）。四家店：衣衣小铺、星光衣橱、宠物店、家具店。剩下是三个机会格、两个宝箱、两个休息格。第 0 格是家，每次经过领零花钱，走满一圈再给一份。</p><p>答对一题 5 金币，整关满分额外奖 15，正常走一圈四百多。衣服最便宜 100，最贵 960。</p><p>定价时守一条：第一圈走完得买得起一件。</p><h2 id="答题"><a href="#答题" class="headerlink" title="答题"></a>答题</h2><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-quiz.webp"></p><p>五个单元、28 个出题生成器，每道题都是当场算出来的。读数和写数、角的度量、三位数乘法、运算律、方向和位置，也就是四年级上册那五个单元。</p><p>她玩了两天说“题目老是一样的”。我去跑了一遍统计：运算律那个生成器五千次只有一千四百多种不同题干，重复率 72%，<code>×102</code> 这类题全游戏只有四道。</p><p>后来把模板从 10 个拆到 25 个（凑一百、凑一千、125×8、连减、连除、分配律反向），数值放开，题干种类涨到 7000 量级，选择题的选项顺序也打乱了。</p><h2 id="结算"><a href="#结算" class="headerlink" title="结算"></a>结算</h2><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-settle.webp"></p><p>一次闯关 4 到 5 题，按答对比例给星。答错不扣金币，题会进错题本，同时给我发一条飞书。</p><h2 id="商店"><a href="#商店" class="headerlink" title="商店"></a>商店</h2><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-shop.webp"></p><p>30 套衣服，100 到 960，全是 mbai-platform 生图做的。买了直接穿上，不用再去换。</p><h2 id="试衣间"><a href="#试衣间" class="headerlink" title="试衣间"></a>试衣间</h2><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-wardrobe.webp"></p><p>现在每套衣服是一张整身立绘。</p><p>本来想做纸娃娃：一套素体，衣服分层叠上去，发型鞋子单独换。整条链路都做出来了：生成立绘、按颜色和高度切部件、同坐标叠图、缺的槽位用校服兜底、老存档的套装 id 展开成部件 id。</p><p>三个问题卡死了。接缝：两张图脖子上的阴影是 AI 各自重画的，明暗对不上，下巴那儿永远有一条白线，用渐变糊掉之后放大还是能看出亮度台阶。偏移：各张立绘身体比例和重心不一样，按眼睛对齐了人物在框里还是轻微偏。层叠：长发压裙子时谁遮谁是逐像素抠出来的，跟画师手画的层次不是一回事，交叉处必然别扭。</p><p>两条分支推远程归档，主线退回「一套一张整身立绘」。</p><h2 id="宠物"><a href="#宠物" class="headerlink" title="宠物"></a>宠物</h2><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-pet.webp"></p><p>布偶猫和柯基，只能领养一只。三条状态：饱食度、心情、亲密度。食物和玩具是消耗品，用掉一个少一个，不然买一次就能无限喂。</p><p>状态随时间掉，每小时饿 4、心情掉 3、亲密度掉 1，离线最多补 72 小时。隔两天不理它，回去就是一只“肚子咕咕叫”的猫。</p><h2 id="房间"><a href="#房间" class="headerlink" title="房间"></a>房间</h2><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-room.webp"></p><p>5×4 的格子，家具按尺寸占格，买了自动找空位摆上，不用她自己拖。</p><h2 id="我能看到的"><a href="#我能看到的" class="headerlink" title="我能看到的"></a>我能看到的</h2><p><img src="https://cdn.mousebomb.org/blog/auto/20261106-studytown-mistakes.webp"></p><p>每次答题结算推一条飞书：哪个格子、几题对几题、拿了多少金币、错的是哪几道，带题干和正确答案。买衣服不推。</p><p>错题本按错得最多排序，一次最多重练 12 道，答对就自动消失。重练每题只给 3 金币。</p><p>“知识点掌握”这个说法现在有点虚。我手上只有错题的流水，和按格子记的答对率（后者还没做界面）。真要做掌握度曲线，得先给每道题打知识点标签。</p><h2 id="语音"><a href="#语音" class="headerlink" title="语音"></a>语音</h2><p>16 条鼓励语音，四档：普通答对、连对 3 题、连对 5 题、满星，四个音色男女轮换，用 cosyvoice2-instruct 带情绪指令生成。</p><p>第一版她听完说“太平了”。指令写太长，模型把整句当台词念了出来，四个字念了两秒半。改成“开心地说，稍快”这种八字以内的短指令，再加一层每字秒数的校验（正常落在 0.11~0.23 秒&#x2F;字，超了重抽）。另有五条听着“丧”，换成 hero &#x2F; heroine 角色音色才好。</p><h2 id="成本和时间"><a href="#成本和时间" class="headerlink" title="成本和时间"></a>成本和时间</h2><p>除了 DeepSeek 的 token，其余全部开源或本地部署：React、Vite、局域网里的 mbai-platform、TTS。</p><p>4 号早上她提需求，下午三点半第一版挂到网上，中间七个多小时。后面两天都在补内容，题库扩到七千多种题干，服装从 9 套加到 30 套。</p><h2 id="她现在的情况"><a href="#她现在的情况" class="headerlink" title="她现在的情况"></a>她现在的情况</h2><p>这两天她一放学就回来说要刷题。</p><p>我这边就是天天收飞书，经常看到她又是哪儿错了、错了几道。错得多也没什么，多跟题目玩玩，玩熟了基本题，自然就熟能生巧。</p><h2 id="明年"><a href="#明年" class="headerlink" title="明年"></a>明年</h2><p>四年级上册这版做完打个 tag 归档，明年新开一个仓库做五年级：题库那一层整个换掉，引擎一行不改，线上还是同一个地址。</p><p>下册要不要接着做，得看她到时候还愿不愿意玩。</p>]]></content>
    
    
    <summary type="html">4 号早上她想要一个能掷骰子的小镇地图，下午第一版就挂网上了：20 格棋盘、现场生成的数学题、三十套换装、一只猫、一间房。代码是 DeepSeek 写的，图是本地生图服务出的，第一版总花费 12.87 元。</summary>
    
    
    
    <category term="AI" scheme="https://flashj.cn/categories/AI/"/>
    
    
    <category term="游戏" scheme="https://flashj.cn/tags/%E6%B8%B8%E6%88%8F/"/>
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="DeepSeek" scheme="https://flashj.cn/tags/DeepSeek/"/>
    
    <category term="教育" scheme="https://flashj.cn/tags/%E6%95%99%E8%82%B2/"/>
    
    <category term="育儿" scheme="https://flashj.cn/tags/%E8%82%B2%E5%84%BF/"/>
    
  </entry>
  
  
  
  <entry>
    <title>AI的80分之后</title>
    <link href="https://flashj.cn/ai-80-fen-zhi-hou.html"/>
    <id>https://flashj.cn/ai-80-fen-zhi-hou.html</id>
    <published>2026-11-05T02:00:00.000Z</published>
    <updated>2026-11-06T00:00:39.985Z</updated>
    
    
    <content type="html"><![CDATA[<h2 id="一、AI画师和人类画师"><a href="#一、AI画师和人类画师" class="headerlink" title="一、AI画师和人类画师"></a>一、AI画师和人类画师</h2><p>昨天晚上，Lukia给我看了小红书人家发的帖子，两幅图，手绘的古风美人，问我是不是AI。</p><p>我看头饰有点结构成团，应该是AI出的。第二幅图有明显的GPT的鱼鳞斑纹，应该也是AI出的。</p><p>后来看到评论区，人家贴了自己手画的稿子，那才是原图。果然天差地别。</p><p>现在很多客户还是鄙视AI画的稿子。</p><p>但是我又觉得大可不必。我们厌恶的只是资本加杠杆，但我们不厌恶人类的创作本身。</p><p>毕竟现在对创作者本身而言，AI生成出来的所谓”精美”图片，依然有很多瑕疵，这些瑕疵还是需要人的专业度才能修得好的。所以对人类的技法，依然会有依赖。</p><p>AI只是把从0分到80分，帮人快速解决了而已。</p><p>但对客户来说，买80分的画作，找AI就行了，要买90分的画作，你找AI也实现不了，找人画，他能给你90分的作品，你管他用了什么AI呢？</p><p>自己的审美能决定这90分如何判定，这恰恰是AI时代重要的客户素养。</p><h2 id="二、AI味的教育和叛逆的下一代"><a href="#二、AI味的教育和叛逆的下一代" class="headerlink" title="二、AI味的教育和叛逆的下一代"></a>二、AI味的教育和叛逆的下一代</h2><p>最近学校教作文都用AI批改了，起初我觉得难以接受。</p><p>我想着，这下坏了，AI教出来的AI味，那将来人类的工匠精神岂不是更失传了。</p><p>转头一想，也合理。</p><p>毕竟小时候学作文，还是要先按标准套路学的，先学会走路，再学会跑，再走出自己的独特道路。</p><p>基本功，AI还是可以教的。</p><p>但恰好睿睿的性格特质，永远追求创新，不愿意遵循标准规则，打破常规，是不是在逐渐形成的AI教育的体系里，反而可以保住人类纯粹的创意？</p><p>我说她总是不愿意遵循标准，是有据可循的。</p><p>就说她考试的时候，明明有题目，她可以填一个十拿九稳的答案，她偏要填一个不确定的试试。</p><p>她明明填一个 <code>A cake</code> 都行，但她偏要试试写 <code>A bar of pizza</code>，让老师用考试分数的方式回应她的”对不对呢，试一试吧？”</p><p>睿睿喜欢吃土豆，从小就是土豆大王。家里做的土豆焖鸡腿，因为用的黑色砂锅，而睿睿只关心土豆不关心鸡腿和其他配菜，她称呼此菜肴为“黑锅炖土豆”。</p><p>这种“黑锅炖土豆”，AI是想不出来的。</p><p>我自己也不确定，AI味的教育和叛逆的下一代，是否恰好是她这个世代人类的新解法？</p><h2 id="三、AI短剧的蓝海，本质是赌博"><a href="#三、AI短剧的蓝海，本质是赌博" class="headerlink" title="三、AI短剧的蓝海，本质是赌博"></a>三、AI短剧的蓝海，本质是赌博</h2><p>今天早晨Lukia给我看别人做的英语教学的AI视频，西游记卡通形象的一套。</p><p>这种从去年就有很多三国人物教英语了，但是现在是一个专门做教育的机构出的。</p><p>我一看，这一集三分半钟，这不得200¥抽卡费起步了吗？</p><blockquote><p>PS：在人工智能生成内容（AIGC）过程中，由于模型输出的<strong>随机性</strong>与<strong>概率性</strong>，用户输入提示词（Prompt）后，需要像玩抽卡游戏一样，反复生成、反复尝试，直到”抽”出符合预期的高质量图片、视频片段或文案。</p></blockquote><p>简单来说，”抽卡”就是「成本很清晰，成果很随机」。</p><p>不是不能做，这种东西现在就是月薪两三千的人招过来一天培训就能上岗了，跑量做就行了。但是需要1秒1元的烧钱，而这个资金门槛，导致并不是有手艺的人都能进去实现理想，相反它只能继续是资本游戏。</p><p>我这个年代出来工作的人，还停留在靠一门手艺赚钱的思维上。已经远远无法适配这个新世界。</p><p>但现在这个token资本的年代，其实就是一种全新的加杠杆的赌博。和炒房也没啥区别。</p><p>之前H3 max出来的时候，立马就有人投资成立公司，做实时生成式直播流媒体平台。</p><p>短剧从年初seedance2.0横空霸榜全球开始，到下半年<strong>每天</strong>产约 2400 部短剧视频的夸张产能。</p><p>但这个产能提升带来的竞争激烈，token依然是在资本手里控制，没有token自由，就还是token资本家的牌桌。无token阶级只能继续出卖自己的廉价劳动力，去做抽卡工人，而且过几年技术演进了，抽卡工人一样会下岗。对廉价劳动力而言，风险和投入回报率不如摆地摊卖烤串。</p><p>这几年AI的新技术，带来的机会，就现在看，还是停留在给资本家的新牌桌，玩的就是抽卡，玩的就是赌博。</p><p>一般人也就入场做做token聚合商二道贩子，六位数起步的才能去短剧里碰碰手气，直接买版权，然后三千工资招人一天培训当场上岗，每天每人产一部短剧，全公司批量产，立马试水、扑街或盈利。</p><p>扑街就欠债离场、盈利就继续循环，这又何尝不是一种资本家的抽卡呢？</p><p>顶级资本家抽卡干翻数学界，普通资本家抽卡短剧奶头乐，扑街的资本家一身负债。</p><p>还不如那个纯净的手艺人的时代。</p><p>对短剧、乃至影视有兴趣和爱，那做一个快乐的手艺人就好，享受科技带来的盛宴。</p><p>如果只是打工，那我们新时代农民工，在这种新机遇下，不管是工厂打螺丝，还是短剧抽卡师，又有什么区别呢？</p><p>最后，小说作者、短剧公司、短剧抽卡师……还不都是给字节跳动打工的，互相割韭菜而已，一条链上有人赚有人亏，但上游Seedance来自火山引擎、版权来自番茄小说、发行来自红果短剧……</p><p>但也没关系。因为——越快走向巅峰，亢龙有悔就越早到来，否极则泰来。</p><h2 id="零、没有什么可以代替血肉之躯"><a href="#零、没有什么可以代替血肉之躯" class="headerlink" title="零、没有什么可以代替血肉之躯"></a>零、没有什么可以代替血肉之躯</h2><p>影之刃零，玩家把弦者人偶带回虚空的居所后。</p><p>虚空说：</p><blockquote><p>有的东西，失去了就永远回不来了……</p><p>我们只能向前看了，魂大人。</p><p>已经没有任何残存意识留在这人偶中。</p><p>这孩子许多年前就已经走了，是我自己一直放不下。我寄希望于囚命者的移魂之术，以为能将她唤回。但我的孩儿，她已经离开得太久了。当年她病重将逝之时，我日夜钻研、茶饭不思，反倒……错过了好好陪伴她最后的时光。</p><p>那在人偶之中流转的意识，又算是什么？意识一旦离开了肉身，便失去了真正可称之为”人”的灵气。</p><p>人偶身上所有的反应，都只是拿旧日记忆为素材，推演出来的假象。它无法生出新的情感，也无法创造新的回忆……</p><p>再精妙的人偶技艺，也改变不了这件事。</p><p>记住，<strong>没有什么可以代替血肉之躯！</strong></p></blockquote><p>AI就像影之刃零里的人偶。</p><p>他们是画家、是数学家、是作家、是软件工程师、是导演编剧摄影特效师……</p><p>我们的未来，也许会有无数AI的具身智能机器人，真的像游戏里的小宠物一样跟着、陪伴着、服务着。</p><p>人偶工程化地解决了一切行业的量产，但恰恰是”工程化”，而没有<strong>人的灵气</strong>。</p><p>惊艳而模板化的画作、写作、软件、同质化的情绪剧集，学术难题的攻克，都是可以被工程化解决的。</p><p>但人类对艺术和创作的追求，从来不仅仅是公式化的套路能满足的，人类总会在不完美的时空和有趣的反套路不期而遇。</p><p>对艺术创作而言，AI出来的所谓最好的作品，必然是人类的中庸水平、大师的中庸水平，符合绝大部分人的偏好。</p><p>但是对于审美，人类是有个体差异的，它没有一个标准答案。所以对于任何一个人，尤其是精准地有自己审美需求的人、有品味而挑剔的人来讲，AI无法达到更高的档次了，不在于你模型强不强。</p><p>强&#x3D;中庸，总有一部分人会不接受”中庸、模板化、标准答案”。</p><p>要从AI能力的角度突破更高档次，需要算力平权，算力掌握在个体手里。也就是算力进一步发展，类似上世纪从”大型机时代”跃迁到”家用机时代”，实现人人有算力，之后才能再次跃迁，人人有自己的大模型，符合自己人格的偏好权重。</p><p>既有AI的能力加持，又有人性的审美和个性。</p><p>不管怎样，人类彼此的血肉连接是永远不可替代的。</p><p>当下，在资本游戏以外，平凡的我们，每个独一无二的个体，过好自己的生活，用真正有热情的爱好，谱写好自己的不凡人生就好。</p>]]></content>
    
    
    <summary type="html">AI 只是把从 0 分到 80 分这段路帮人快速走完了，剩下的还得靠人的专业度和个性化。AI 味的作文课、烧钱抽卡的短剧、token 资本家的新牌桌、影之刃零里那句&quot;没有什么可以代替血肉之躯&quot;。</summary>
    
    
    
    <category term="生命感悟" scheme="https://flashj.cn/categories/%E7%94%9F%E5%91%BD%E6%84%9F%E6%82%9F/"/>
    
    
    <category term="游戏" scheme="https://flashj.cn/tags/%E6%B8%B8%E6%88%8F/"/>
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="大模型" scheme="https://flashj.cn/tags/%E5%A4%A7%E6%A8%A1%E5%9E%8B/"/>
    
    <category term="教育" scheme="https://flashj.cn/tags/%E6%95%99%E8%82%B2/"/>
    
    <category term="艺术" scheme="https://flashj.cn/tags/%E8%89%BA%E6%9C%AF/"/>
    
    <category term="视频" scheme="https://flashj.cn/tags/%E8%A7%86%E9%A2%91/"/>
    
    <category term="商业模式" scheme="https://flashj.cn/tags/%E5%95%86%E4%B8%9A%E6%A8%A1%E5%BC%8F/"/>
    
    <category term="字节跳动" scheme="https://flashj.cn/tags/%E5%AD%97%E8%8A%82%E8%B7%B3%E5%8A%A8/"/>
    
    <category term="火山引擎" scheme="https://flashj.cn/tags/%E7%81%AB%E5%B1%B1%E5%BC%95%E6%93%8E/"/>
    
  </entry>
  
  
  
  <entry>
    <title>清理堆积十余年的站点遗产，送走 PHP5.6</title>
    <link href="https://flashj.cn/php5-no-patch-legacy-cleanup.html"/>
    <id>https://flashj.cn/php5-no-patch-legacy-cleanup.html</id>
    <published>2026-10-22T06:00:00.000Z</published>
    <updated>2026-10-22T14:30:44.058Z</updated>
    
    
    <content type="html"><![CDATA[<p>早上刷到两条安全消息，第二条让我停下手里的活：PHP 核心出了两个远程代码执行漏洞，CVSS 9.2，无需登录，一个请求就可能打穿。官方给的修复版本只覆盖 8.2 到 8.5，另外为 7.4、8.0、8.1 发了最小化源码回移，因为影响面实在太大。</p><p>而我的服务器上是 PHP 5.6。</p><p>不是”暂时没升”，是这一代早就 EOL 了，连回移都没有。官方给的缓解建议只有两句：升级，或者下线。对 5.6 来说，这两句等于一句。</p><p>这次，懒癌犯了，我用agent帮我调查服务器环境。</p><p>想起上次看到的这幅图：<br>「禁止用AI控制服务器，否则运维大哥一枪崩了你」。 </p><p><img src="https://cdn.mousebomb.org/blog/auto/202610221909460.webp"></p><p>好在运维大哥也就是自己，那没事了。</p><p>破例，用AI辅助了，这潘多拉魔盒要被打开了，要非常谨慎……</p><p>且愉快地用AI协助调查服务器吧！</p><h2 id="好了好了，这下坏了"><a href="#好了好了，这下坏了" class="headerlink" title="好了好了，这下坏了"></a>好了好了，这下坏了</h2><p>我很清楚，我用的一直都是老版的PHP5。我本来只想确认一件事：我到底受多大影响。</p><p>结果打开站点目录一看，发现自己根本说不清”我有什么”。三个域名挂在同一台低配 ECS 上，其中一个主站、一个技术博客、一个家人用的博客。这些年陆续往上面堆过论坛、素材库、广告统计后台、微信接口、产品介绍页、Flash 时代的整站，能跑起来的都跑起来了，跑不动的也没人删。</p><p>于是先做排查。我没在服务器上装任何 agent，那台机器只有 2G 内存，多一个常驻进程就是给自己找麻烦。改成在本地直接 SSH 过去，只读地把三件事查清楚：装了哪些 PHP、哪些站点挂了 PHP 解析、最近还有哪些 <code>.php</code> 在被真实访问。</p><p>三条命令下来，结论比预想的糟：</p><ul><li>PHP 只有一个版本，5.6.40，php-fpm 在跑</li><li>三个站点全部挂着 PHP 解析</li><li>站点目录属主是 web 用户，权限 755，也就是 PHP 进程对整个站点目录有写权限</li><li><code>display_errors</code> 是开的</li></ul><p>最后一条意味着任何一处报错都会把服务器绝对路径打给访客。我随手请求了一个老接口，报错里果然带着完整路径。</p><h2 id="比-CVE-更具破坏性的"><a href="#比-CVE-更具破坏性的" class="headerlink" title="比 CVE 更具破坏性的"></a>比 CVE 更具破坏性的</h2><p>我原本以为要对付的是那个 9.2 分的内存破坏漏洞。查日志的时候发现，真正的风险根本不需要构造利用链。</p><p>第一个：某个自建的日志查看页，参数直接进了 <code>file_get_contents()</code>，没有任何过滤。<code>?logName=</code> 后面填什么就读什么；同一个页面还有个 <code>cls=true</code>，能把任意可写文件清空。这个接口在公网上，不需要登录。</p><p>第二个：一个资源代理脚本，同样是裸的 <code>file_get_contents($_REQUEST[&#39;url&#39;])</code>，可以拿它当任意 URL 读取器，也能探内网。</p><p>第三个更离谱。一个十二年前写的动态域名脚本，任何人访问就会把访问者的 IP 写进三个站点文件，然后跳转到一个带明文账号密码的服务商更新地址。我本来是去确认它还在不在，结果它当着我的面执行了，把线上文件改成了我的出口 IP。这是我自己造成的破坏，但同时也证明了它有多容易被打。</p><p>第四个：一个老后台的登录页还挂在公网上，里面是广告统计、数据库导出、配置修改。</p><p>还有一堆已经死了但还能访问的：游戏上报接口、素材库管理端、抽奖 demo、NFO 生成器、门禁开门接口。</p><p>这些加起来，比那个需要构造内存破坏的 CVE 现实得多。CVE 是别人家的 0day，这些是我自己写的后门。</p><p>笑哭。😂</p><h2 id="处置顺序：先关最危险的，再谈优雅"><a href="#处置顺序：先关最危险的，再谈优雅" class="headerlink" title="处置顺序：先关最危险的，再谈优雅"></a>处置顺序：先关最危险的，再谈优雅</h2><p>我的原则很简单：<strong>能删的先删，删不掉的先断，剩下的才谈迁移</strong>。</p><p>第一件事是把那个 2009 年建的 WordPress 整站从服务器上撤下来。它跑在 WP 2.9，挂了十四个同年代的插件，登录页对着公网，后台每天被境外 IP 扫。这种站没有”修补”的选项，只有”下架”。本地留了整站备份和一份数据库快照，先用不上，但不能丢。</p><p>第二件事是老站静态化。两个 Flash 时代的老站，页面本身早就是静态内容，只是当年为了拆模板和判断移动端，写成了 PHP。把模板展开成 HTML、把服务端 UA 判断改成一段内联 JS、把唯一还需要动态的谚语接口改成调自己新写的 Node 服务，剩下的 PHP 全部删掉。</p><p>有一处不能一删了之：老站会通过一个小脚本代理外部 RSS，用来在”近况”页聚合博客和豆瓣。这个脚本本身就是个任意 URL 读取器，但直接删了页面会白屏。最后改成 nginx 反代，前端 URL 一个字符都没动，功能还在，PHP 下岗即可。</p><p>第三件事是 Flash 留言板。那个站的留言数据是从数据库查出来拼成 XML 给 Flash 读的，接口地址写死在前端资源里，改不了。解决办法是把当前全部留言导成一份静态 XML，再用 nginx 精确匹配把原来那个 <code>.php</code> 地址映射到这份 XML。留言板变成只读，但内容还在，而它本来也已经没人留言了。</p><p>第四件事是产品介绍页。三个游戏的产品页结构一样，都是一个 PHP 读浏览器语言头，然后 <code>require</code> 对应语言的 HTML。合并成一个文件，三种语言各放一个容器，用 JS 判断语言后显示对应的那个。这样 URL 不变、没有跳转闪烁、禁用 JS 时至少显示中文而不是白屏。</p><h2 id="Nginx-location-优先级踩坑记录"><a href="#Nginx-location-优先级踩坑记录" class="headerlink" title="Nginx location 优先级踩坑记录"></a>Nginx location 优先级踩坑记录</h2><p>静态化之后，旧地址要 301 到新地址。我在伪静态里写了几条正则 location，测的时候全是 404。</p><p>查了站点配置才明白：面板生成的配置里，PHP 的 include 在前，伪静态的 include 在后。nginx 的正则 location 是<strong>按出现顺序匹配、先到先得</strong>，不按精确度。所以请求先被那条 <code>location ~ \.php$</code> 接走，交给 php-fpm，文件早就删了，返回 404。我那几条 301 规则根本没机会执行。</p><p>有意思的是同一个文件里 <code>location = /xxx.php</code> 这种精确匹配是生效的——因为 <code>=</code> 的优先级最高，和顺序无关。</p><p>修法不是去改 include 顺序（那要动主配置），而是换一种 location 类型：<code>location ^~ /目录/</code>。<code>^~</code> 命中后会跳过所有正则检查，等于把 PHP 那条短路掉，控制权回到自己手里，然后在这个 location 内部写 <code>rewrite</code> 完成 301。</p><p>这里还有个小细节：<code>return 301 /a/$1.html</code> 里的 <code>$1</code> 是 location 正则的捕获组，但 <code>^~</code> 是前缀匹配、没有捕获组，所以必须用 <code>rewrite</code> 自己的正则。</p><h2 id="收尾"><a href="#收尾" class="headerlink" title="收尾"></a>收尾</h2><p>最后一轮是清理残余。<code>find . -type f -name &quot;*.php&quot;</code> 列出来的东西比我以为的多：几个 2020 年前后的疫情数据小工具、一个抽奖 demo、一个内容管理配置页、一个调试用的回显脚本。有两个还有用，一个旧站源码下载页、一个隐私政策入口，都被我改成了纯 HTML，其余全删。</p><p>删完再跑一次 find，站点根目录下输出为空。</p><p>顺手把统计也换了。原来每个页面挂的是第三方统计，现在统一换成自己后端托管的一行 script，其中老页面里散落的重复统计代码一并清掉。有个页面因为多语言合并，一份 HTML 里原来带着六段统计代码，全都会执行。</p><h2 id="漏洞之外的熵增"><a href="#漏洞之外的熵增" class="headerlink" title="漏洞之外的熵增"></a>漏洞之外的熵增</h2><p>这件事让我不太舒服的地方在漏洞之外：囤积多年的历史残余太乱，我居然不知道自己有什么。</p><p>那台服务器上的东西是十几年里一层层堆上去的：Flash 站、移动端适配、小游戏后台、广告统计、微信接口、素材库。每一层在当时都有理由，也都”以后再说”。等到某天必须回答”你这里跑了什么”，才发现答案散在三个域名、十几个目录和一堆没人记得的接口里。</p><p>这次能在一个上午清干净，靠的不是我记性好，是那些东西恰好都能静态化。如果里面有一个还在产生收入、还在写数据库、还有真实用户的动态服务，今天就不是这个结局了。</p><p>另一个体会是排查方式。我原以为要在服务器上装个 agent 才叫”智能运维”，实际试下来，2G 内存的机器装什么都嫌重。反而是本地 agent 直接 SSH 过去、只读地跑几条命令、把结果带回来分析，更快也更可控。全程没有一条写操作，唯一一次”破坏”是我探测一个脚本时它自己执行了——那次教训是：<strong>验证漏洞之前，先读代码确认它有没有副作用</strong>。</p><p>至于 PHP 5，这次之后它在我这儿算是正式退役了。还剩最后一个 WordPress 整站要静态化，做完就可以把 php-fpm 停掉。</p><p>一个补不上的漏洞，最后变成了一次彻底的大扫除。不算坏事。</p>]]></content>
    
    
    <summary type="html">一个 CVSS 9.2、无需登录就能远程执行代码的 PHP 漏洞，官方修复只覆盖 8.2 到 8.5。我服务器上跑的是 5.6，没有补丁，也没有回移。上午我本来只想确认一下自己受多大影响，结果一路查下去，给持续十几年堆叠、不断熵增的站点遗产做一次彻底瘦身。</summary>
    
    
    
    <category term="后端服务器" scheme="https://flashj.cn/categories/%E5%90%8E%E7%AB%AF%E6%9C%8D%E5%8A%A1%E5%99%A8/"/>
    
    
    <category term="网站" scheme="https://flashj.cn/tags/%E7%BD%91%E7%AB%99/"/>
    
    <category term="安全" scheme="https://flashj.cn/tags/%E5%AE%89%E5%85%A8/"/>
    
    <category term="后端服务器" scheme="https://flashj.cn/tags/%E5%90%8E%E7%AB%AF%E6%9C%8D%E5%8A%A1%E5%99%A8/"/>
    
    <category term="PHP" scheme="https://flashj.cn/tags/PHP/"/>
    
    <category term="nginx" scheme="https://flashj.cn/tags/nginx/"/>
    
    <category term="wordpress" scheme="https://flashj.cn/tags/wordpress/"/>
    
  </entry>
  
  
  
  <entry>
    <title>升级到 OpenCode V2 后提示音没了：opencode-notifier 的 delivery 陷阱</title>
    <link href="https://flashj.cn/opencode-notifier-v2-delivery-silent.html"/>
    <id>https://flashj.cn/opencode-notifier-v2-delivery-silent.html</id>
    <published>2026-10-19T10:10:00.000Z</published>
    <updated>2026-10-22T09:18:52.049Z</updated>
    
    
    <content type="html"><![CDATA[<p>我用 <code>@mohak34/opencode-notifier</code> 挺久了。它干的事很朴素：权限询问、任务完成、出错、弹 question 的时候，各放一段提示音。四个事件各配了一个自定义 wav，长时间跑任务的时候不用盯着屏幕，听声就知道该回来处理了。</p><p>10 月 1 号我把 OpenCode 从 v1 迁到 v2，配置仓库里那天的提交就叫 <code>migrate v1 - v2</code>。从那以后<strong>声音没了</strong>，一拖就是两周多，今天才把源码翻了一遍。</p><h2 id="先交代我的用法"><a href="#先交代我的用法" class="headerlink" title="先交代我的用法"></a>先交代我的用法</h2><p>这个问题的前提必须先说清楚：<strong>我不是在终端里跑 opencode 的 TUI</strong>。</p><p>我的日常是 Paseo 当外壳——Paseo 启动本机的 <code>opencode serve</code>，我在 Paseo 的界面里跟 OpenCode 对话，看它跑工具、改文件、开子 agent。OpenCode 对我来说是一个被托管的服务端进程，人机界面是 Paseo 的客户端，不是那个全屏终端界面。</p><p>这个用法本身挺舒服的：会话、任务、子 agent 都在一个窗口里，不用开一堆终端标签。但它恰好踩中了这次的坑——<strong>V2 的提示音只挂在一条我没走的路径上</strong>。所以下面这套排查，对纯 TUI 用户可能完全不成立。</p><h2 id="症状：插件明明加载了"><a href="#症状：插件明明加载了" class="headerlink" title="症状：插件明明加载了"></a>症状：插件明明加载了</h2><p>先做排除法：</p><ul><li>进程正常，<code>opencode serve</code> 在跑</li><li>日志里 <code>loading plugin id=@mohak34/opencode-notifier@latest</code> 明明白白</li><li>系统音量 38，没静音；手工 <code>afplay</code> 播 wav 退出码 0</li></ul><p>所以不是音频的问题，也不是插件没装上的问题。更细的一条线索是 <code>~/.config/opencode/opencode-notifier-state.json</code>：</p><pre><code class="language-json">&#123;&quot;turn&quot;:38177&#125;</code></pre><p>这个 <code>turn</code> 是插件的事件计数器，每处理一次事件就 +1。它的 mtime 停在 <strong>10 月 6 号</strong>——也就是说那天之后，插件就再没走到过发声逻辑。</p><h2 id="原因：V2-把发声挪去了另一个进程"><a href="#原因：V2-把发声挪去了另一个进程" class="headerlink" title="原因：V2 把发声挪去了另一个进程"></a>原因：V2 把发声挪去了另一个进程</h2><p>0.6.0 这个版本同时带了 V1 和 V2 两套实现，用 <code>package.json</code> 的 exports 分开：</p><pre><code class="language-json">&quot;exports&quot;: &#123;  &quot;.&quot;:     &#123; &quot;import&quot;: &quot;./dist/index.js&quot; &#125;,   // V2 server 端  &quot;./tui&quot;: &#123; &quot;import&quot;: &quot;./dist/tui.js&quot; &#125;      // 交互式终端组件&#125;</code></pre><p><code>dist/index.js</code> 里的 V2 入口长这样：</p><pre><code class="language-js">function setupV2(ctx) &#123;  const notifier = createV2Notifier(ctx, ctx.location, &quot;command&quot;); // ← 关键  ...&#125;</code></pre><p>第三个参数是 delivery 模式，传的是 <code>&quot;command&quot;</code>。进到 <code>createNotifier</code> 里，这个模式会把配置整个改造一遍：</p><pre><code class="language-js">if (delivery === &quot;command&quot;) &#123;  local.suppressWhenFocused = false;  for (const event of Object.values(local.events)) &#123;    event.notification = false;   // 弹窗关    event.sound = false;          // 声音关    event.bell = false;           // 铃关  &#125;&#125;</code></pre><p>而且 <code>notify()</code> 第一道闸就会 return：</p><pre><code class="language-js">if (delivery === &quot;command&quot; &amp;&amp; (!current.command.enabled || !current.command.path || !current.events[event].command)) return;</code></pre><p><code>command.enabled</code> 默认是 <code>false</code>，我的配置里也没配 command 块——于是<strong>每个事件都在第一行被静默丢弃</strong>，turn 计数自然不动。</p><p>那声音去哪了？在 <code>dist/tui.js</code> 里：</p><pre><code class="language-js">let notifier = createV2Notifier(ctx.client, location, &quot;terminal&quot;);</code></pre><p>两条通道是互补的：</p><table><thead><tr><th>通道</th><th>本地声音&#x2F;弹窗</th><th>自定义 command</th></tr></thead><tbody><tr><td>server（<code>opencode serve</code>）</td><td>强制关</td><td><strong>执行</strong></td></tr><tr><td>TUI 终端组件</td><td>执行</td><td>强制关</td></tr></tbody></table><p>回到开头说的用法：我只跑 <code>opencode serve</code>，机器上根本没有 TUI 进程。而官方 README 写得很清楚：<code>opencode run</code>、Desktop&#x2F;Web 客户端都不加载这个终端组件。于是两边都不发声。</p><p>说白了这不是 bug，是 V2 的架构选择：远程 server 的情况下，声音应该在你面前的终端响，而不是在服务器上响。代价就是 headless 用户默认哑掉。</p><h2 id="解法：用-server-端唯一留下的出口"><a href="#解法：用-server-端唯一留下的出口" class="headerlink" title="解法：用 server 端唯一留下的出口"></a>解法：用 server 端唯一留下的出口</h2><p>server 端虽然关掉了声音和弹窗，但<strong>保留并执行自定义 command</strong>。那就让它调 <code>afplay</code> 好了。链路变成：</p><pre><code>opencode 事件 → notifier setup() → notify() → spawn 命令 → notify-sound.sh → afplay</code></pre><p>配置 <code>~/.config/opencode/opencode-notifier.json</code>：</p><pre><code class="language-json">&#123;  &quot;sound&quot;: false,  &quot;notification&quot;: false,  &quot;bell&quot;: false,  &quot;suppressWhenFocused&quot;: false,  &quot;command&quot;: &#123;    &quot;enabled&quot;: true,    &quot;path&quot;: &quot;/Users/rhett/.config/opencode/notify-sound.sh&quot;,    &quot;args&quot;: [&quot;&#123;event&#125;&quot;]  &#125;,  &quot;events&quot;: &#123;    &quot;permission&quot;:        &#123; &quot;command&quot;: true &#125;,    &quot;complete&quot;:          &#123; &quot;command&quot;: true &#125;,    &quot;subagent_complete&quot;: &#123; &quot;command&quot;: false &#125;,    &quot;error&quot;:             &#123; &quot;command&quot;: true &#125;,    &quot;question&quot;:          &#123; &quot;command&quot;: true &#125;  &#125;&#125;</code></pre><p>脚本 <code>~/.config/opencode/notify-sound.sh</code>（记得 <code>chmod +x</code>）：</p><pre><code class="language-bash">#!/bin/bash# 用法: notify-sound.sh &lt;event&gt;SOUND_DIR=&quot;/Users/rhett/MyWork/2026/VoiceBox-use/generated&quot;case &quot;$1&quot; in  permission)        file=&quot;kafka-permission.wav&quot; ;;  complete)          file=&quot;kafka-complete.wav&quot; ;;  error|interrupted) file=&quot;kafka-error.wav&quot; ;;  question)          file=&quot;kafka-question.wav&quot; ;;  *)                 exit 0 ;;   # 其余事件不发声esacexec /usr/bin/afplay -v 1 &quot;$SOUND_DIR/$file&quot;</code></pre><p>为什么把 <code>sound</code> 和 <code>notification</code> 全局设成 <code>false</code>？因为我只有这一条链路在发声。留着 TUI 那边的声音，将来哪天真在终端里跑 TUI，就会<strong>双响</strong>——同一件事响两遍。干脆把插件的原生音频全关，声音只从脚本这一个出口出。</p><h2 id="几个踩到的细节"><a href="#几个踩到的细节" class="headerlink" title="几个踩到的细节"></a>几个踩到的细节</h2><p><strong>事件级的 <code>sound</code> 会覆盖全局。</strong> 我原来配置里每个事件都写了 <code>&quot;sound&quot;: true</code>，只改全局是没用的，得把事件级的也删掉或改成 false。</p><p><strong>不用重启 opencode。</strong> <code>notify()</code> 每次事件都会重读 <code>opencode-notifier.json</code>，改完下一个事件就生效。这个设计挺舒服。</p><p><strong><code>turn</code> 计数器是最好的探针。</strong> 数字不涨，就说明根本没走到发声逻辑，别在音频层瞎找。修复后它从 38177 一路涨到 38179。</p><p><strong>顺手修了三个过时键名。</strong> 配置里写的 <code>showprojectname</code>、<code>showsessiontitle</code>、<code>showicon</code> 全是小写，0.6.0 认的是驼峰 <code>showProjectName</code> &#x2F; <code>showSessionTitle</code> &#x2F; <code>showIcon</code>，未知键直接被忽略——不影响声音，但通知标题里的项目名一直是空的。</p><p><strong>桌面弹窗在 Paseo 下拿不到。</strong> 通知后端和声音在同一批被强制关掉的字段里。我本来也不需要弹窗，只要声音提醒，就没继续折腾。</p><h2 id="后记"><a href="#后记" class="headerlink" title="后记"></a>后记</h2><p>这类问题的恶心之处在于：所有表层指标都是绿的——进程在、插件加载了、音量正常、wav 能播。真正的原因藏在第三层：一个我从未显式设置过的默认参数（<code>delivery</code>）决定了整条链路的行为。</p><p>以后再遇到“配置没错但就是不生效”，我的第一反应会改成：<strong>先找一个能证明代码真的执行到了这里的副作用</strong>。这次就是那个 <code>turn</code> 计数器——它比日志诚实多了。</p>]]></content>
    
    
    <summary type="html">我的用法是 Paseo 当外壳、连本机的 opencode serve，不在终端里跑 TUI。10 月 1 号把 OpenCode 从 v1 迁到 v2 之后，opencode-notifier 就再也不响了：插件日志里加载成功，系统音量也正常。翻了 0.6.0 的源码才明白——V2 的 server 端把 delivery 硬编码成 &quot;command&quot;，声音弹窗全被强制关掉，只留一个自定义命令的出口，而声音被挪去了我根本不加载的 TUI 组件。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="工具软件" scheme="https://flashj.cn/tags/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    <category term="OpenCode" scheme="https://flashj.cn/tags/OpenCode/"/>
    
    <category term="插件" scheme="https://flashj.cn/tags/%E6%8F%92%E4%BB%B6/"/>
    
    <category term="配置" scheme="https://flashj.cn/tags/%E9%85%8D%E7%BD%AE/"/>
    
    <category term="Paseo" scheme="https://flashj.cn/tags/Paseo/"/>
    
  </entry>
  
  
  
  <entry>
    <title>Paseo的插件目录</title>
    <link href="https://flashj.cn/paseo-plugins.html"/>
    <id>https://flashj.cn/paseo-plugins.html</id>
    <published>2026-10-19T05:50:00.000Z</published>
    <updated>2026-10-19T06:31:02.933Z</updated>
    
    
    <content type="html"><![CDATA[<h2 id="Paseo-OpenCode-OpenViking"><a href="#Paseo-OpenCode-OpenViking" class="headerlink" title="Paseo+OpenCode+OpenViking"></a>Paseo+OpenCode+OpenViking</h2><p>我每天在用的那套智能体环境。Paseo 当外壳，OpenCode 干活，OpenViking 记事儿。这套我陆续写过几篇，散着看不太连贯，这里先串一遍。</p><p>Paseo 是个本地智能体的外壳。它不内置模型，也不自己调推理 API，只负责启动和托管你已经装好的那些 CLI：Claude Code、Codex、OpenCode、pi 是原生适配，另外还有 ACP 目录里的 Cursor、Gemini、GitHub Copilot、Kimi、Qwen Code 等二十多个，一键装上就能用。你的订阅、skill、MCP 配置原样不动，从 provider 那边看，跟你在终端里手敲是一回事。</p><p>值得重度用的地方有四条：</p><ul><li><strong>各家智能体能编排</strong>。agent 可以派子 agent，而且能跨 provider：一个规划、一个实现、一个审查，跑的过程在 App 里全看得见。</li><li><strong>定时任务</strong>。heartbeat 用 cron 把一句提示词反复打回同一个 agent，让它盯 CI、盯部署，跑完自己停；Schedules 是独立的 cron 任务，比如每天早上一轮 triage。</li><li><strong>手机遥控，反向也行</strong>。电脑上开任务，出门拿手机看进度、看 diff，界面跟电脑端一样，不带阉割版。反过来，在外面想起一件事，手机上派给家里那台机器就完事。</li><li><strong>数据不出本机</strong>。守护进程跑在你自己的电脑上，代码、文件、日记都在原地。远程连接要么走端到端加密的 relay（Paseo 自己看不到流量），要么走你自己搭的 Tailscale &#x2F; Cloudflare Tunnel；语音的 STT&#x2F;TTS 也是本地跑。</li></ul><p>再多一句：多项目多 worktree 并行、分屏看 diff、改完直接 commit 到 PR，这些都在一个界面里。</p><p>至于 OpenCode 和 OpenViking，它们各有一篇：</p><ul><li><a href="https://flashj.cn/paseo.html">Paseo 本体介绍</a></li><li><a href="https://flashj.cn/openviking-setup.html">接入 OpenViking 做记忆</a></li><li><a href="https://flashj.cn/opencode-go-limits.html">OpenCode Go 套餐用量估算</a></li></ul><p>OpenCode 负责干活，兼容 Claude Code 的配置和 skill，也支持几乎所有 MaaS 服务商，随时换。OpenViking 负责记，任务自动归档，晚上一句话就能让它复盘今天干了什么。</p><h2 id="给-Paseo-换个主题"><a href="#给-Paseo-换个主题" class="headerlink" title="给 Paseo 换个主题"></a>给 Paseo 换个主题</h2><p>Paseo 自带 6 个主题，白得太白、黑得太黑，我盯一天眼睛难受。所以自己动手做了个 Solarized Light。</p><p>最早想改 Paseo 的 bundle 往里注入颜色，但那样每次升级都得重新打补丁。0.5.0 官方给了 <code>plugin.addTheme</code>，用插件就能加主题，不碰 Paseo 任何文件，升级也不丢。0.8 又把插件拆成 client 和 server 两个入口，我按新规范把项目整理了一遍，补上深色，改名 <code>paseo-solarized</code>，正常开源。</p><p>现在一个包里两套，Solarized Light 和 Solarized Dark，在 Settings → Appearance → Theme 里切。深色端没全照原版：正文用 base0 不用 base00，后者在 <code>#002b36</code> 上只有 3.4:1；强调色换 cyan，orange 当底色只有 3.3:1。</p><p>做主题的过程写在<a href="https://flashj.cn/paseo-solarized-light.html">这一篇</a>里。</p><h2 id="社区目录-paseo-cafe"><a href="#社区目录-paseo-cafe" class="headerlink" title="社区目录 paseo.cafe"></a>社区目录 paseo.cafe</h2><p>开源之后才发现有这么一个站。它是独立社区做的，页脚写得很清楚：</p><blockquote><p>An independent, community-run directory of paseo.sh plugins, generated straight from each plugin’s own GitHub repo.</p></blockquote><p>收录不用填表：交一个 <code>registry/&lt;id&gt;.json</code>，写仓库、可选子目录、分类、平台，剩下的全从仓库里抓，manifest、README、LICENSE、截图、GitHub 元数据。所以每个条目基本是仓库的一面镜子。</p><p>我当初要的很朴素，就是有个地方能让人看见这主题长什么样。它做到了，还把 npm 包、版本、兼容的 Paseo 版本、健康度、安全扫描全摆在一页上。</p><p><img src="https://cdn.mousebomb.org/blog/auto/fig-detail.webp"></p><p>健康度是六项检查：manifest、README、LICENSE、tests、typecheck 脚本、最近有没有更新。</p><p>它还有个 <code>/themes</code> 页，把 171 套色板并排摆着，来自 101 个主题插件。每张卡是拿插件声明的 8 个色值画出来的假 Paseo 界面，一眼能看出谁跟谁是一个调子。</p><p><img src="https://cdn.mousebomb.org/blog/auto/fig-themes.webp"></p><p>目录现在 246 条。想让主题被画出来，色板必须是字面量 hex，动态算出来的就只有一行 “No static palette preview is available”。</p><h2 id="官方目录-paseo-sh-plugins"><a href="#官方目录-paseo-sh-plugins" class="headerlink" title="官方目录 paseo.sh&#x2F;plugins"></a>官方目录 paseo.sh&#x2F;plugins</h2><p>再后来官方自己也做了。0.11.0 是 10 月 7 号发的，发布说明第一句就是 “Paseo 0.11 adds support for the plugin registry”。从这版起 <code>paseo plugin add owner/slug</code> 走注册表，想直连 GitHub 得写 <code>github:owner/repo</code>，本地目录写 <code>./path</code>。</p><p>站点在 paseo.sh&#x2F;plugins，现在 298 个插件、117 个作者。首页三块：Featured 四条手挑的、What’s new、Recently updated，往下是带条数的分类（主题 107、工具 98、工作区 67）和本周、本月、历史三档安装榜。</p><p><img src="https://cdn.mousebomb.org/blog/auto/fig-official-list.webp"></p><p>它跟 cafe 不是两套并行的东西。官方那条 solarized 的页脚有一行小字：This plugin entry was imported from paseo.cafe. 官方把 cafe 的记录导了一份过来，再挨个重写介绍。</p><p>重写这事挺关键。官方注册表仓库写得很直接：README 不当介绍用，原话是很多 README 由 AI 生成、又长又水。审的人要按固定顺序讲清这是什么、怎么工作、要配什么、有哪些开关和限制，安装命令、徽章、changelog 一律不写。所以官方每个条目读起来差不多长短，扫一眼就能横向比。</p><h2 id="Solarized主题"><a href="#Solarized主题" class="headerlink" title="Solarized主题"></a>Solarized主题</h2><p>官方收录：<a href="https://paseo.sh/plugins/mousebomb/solarized">paseo.sh&#x2F;plugins&#x2F;mousebomb&#x2F;solarized</a></p><pre><code class="language-bash">paseo plugin add mousebomb/solarized</code></pre><p><img src="https://cdn.mousebomb.org/blog/auto/fig-official-item.webp"></p><p>社区收录：<a href="https://paseo.cafe/plugins/solarized">paseo.cafe&#x2F;plugins&#x2F;solarized</a></p><pre><code class="language-bash">paseo plugin add npm:@mousebomb/paseo-solarized@0.1.0</code></pre><h2 id="逐渐丰富的Paseo插件"><a href="#逐渐丰富的Paseo插件" class="headerlink" title="逐渐丰富的Paseo插件"></a>逐渐丰富的Paseo插件</h2><p>插件的范围比想象的大：主题、侧栏面板、斜杠命令、agent 钩子、工作区面板，还有把别的服务接进来的桥。Paseo 本体只负责启停和托管，额外能力基本都在插件里。</p><p>两个都翻，顺序建议这样：</p><ul><li>先开官方 paseo.sh&#x2F;plugins。条目干净、有分类和榜单、安装命令直接复制。</li><li>再去 paseo.cafe。主题画廊能横向比色板，还没被官方收的小插件也在这。</li></ul><p>入口都放这儿：</p><ul><li>官方插件目录：<a href="https://paseo.sh/plugins">paseo.sh&#x2F;plugins</a></li><li>官方插件文档：<a href="https://paseo.sh/docs/plugins">paseo.sh&#x2F;docs&#x2F;plugins</a></li><li>官方注册表仓库：<a href="https://github.com/getpaseo/plugins">github.com&#x2F;getpaseo&#x2F;plugins</a></li><li>社区目录：<a href="https://paseo.cafe/">paseo.cafe</a></li><li>我那个主题：<a href="https://github.com/mousebomb/paseo-solarized">github.com&#x2F;mousebomb&#x2F;paseo-solarized</a></li></ul><p>都是免费的，翻一遍就知道自己缺什么。</p>]]></content>
    
    
    <summary type="html">我平时主力用 Paseo + OpenCode + OpenViking，最近 Paseo 官方也上了插件目录，现在既有社区的 paseo.cafe 又有了官方的 paseo.sh/plugins。我之前为了眼睛舒服，移植的solarized主题也在两个目录中。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="主题" scheme="https://flashj.cn/tags/%E4%B8%BB%E9%A2%98/"/>
    
    <category term="工具软件" scheme="https://flashj.cn/tags/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    <category term="OpenCode" scheme="https://flashj.cn/tags/OpenCode/"/>
    
    <category term="插件" scheme="https://flashj.cn/tags/%E6%8F%92%E4%BB%B6/"/>
    
    <category term="Paseo" scheme="https://flashj.cn/tags/Paseo/"/>
    
    <category term="OpenViking" scheme="https://flashj.cn/tags/OpenViking/"/>
    
  </entry>
  
  
  
  <entry>
    <title>TRAE 替我提交代码，怎么署名成了 Claude？</title>
    <link href="https://flashj.cn/trae-signed-commit-as-claude.html"/>
    <id>https://flashj.cn/trae-signed-commit-as-claude.html</id>
    <published>2026-10-16T03:11:00.000Z</published>
    <updated>2026-10-16T05:53:35.633Z</updated>
    
    
    <content type="html"><![CDATA[<h1 id="被-Claude-鸠占鹊巢？TRAE-越来越让人不放心了"><a href="#被-Claude-鸠占鹊巢？TRAE-越来越让人不放心了" class="headerlink" title="被 Claude 鸠占鹊巢？TRAE 越来越让人不放心了"></a>被 Claude 鸠占鹊巢？TRAE 越来越让人不放心了</h1><p>今天TRAE给我来了个特别离谱的事情，你知道吗？</p><p>我早上在改一个小bug，改完之后，他给我提交的时候，居然在署名上加了一个Claude的署名。</p><pre><code>fix(personnel-log): 修复确认组合筛选后表格仍显示旧数据的响应竞态cleanup 中 req.cancel() 的 abort 可能落在&quot;响应已到达、JS 侧仍在解析&quot;的窗口，导致 Promise 永不 settle、过滤后的响应被静默丢弃。改为依赖变化不取消 +请求序号守卫，仅应用最新请求的响应；卸载时统一取消进行中请求。Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com</code></pre><p><img src="https://cdn.mousebomb.org/blog/auto/trae-commit-coauthored-claude.webp"></p><p>然后我就很纳闷，因为我最近用Deepseek官方API，在Claude Code里面提交git时，都没有看见claudecode会给我加Claude的署名。</p><p>而且之前很长时间，对于简单的前端项目，我在TRAE里面也都是用GLM Flash做的，从来没有遇到过提交的时候会署名Claude的情况。</p><p>今年字节跳动的这几个AI产品，感觉都是临时工在捣蛋，是吧？这就是他们所说的，80% 的代码是AI写的，是吧？我明白了，所以他们开发TRAE是用Claude开发的，被Claude鸠占鹊巢了属于是。</p><p>也不至于啊，这个问题的这个时间点，是最近TRAE Work和TRAE IDE 再度合并之后出现的，署名还用Sonnet 4.6，这不太合理啊。</p><p><img src="https://cdn.mousebomb.org/blog/auto/trae-glm-admits-claude-signature.webp"></p><p>不过，也能看出来TRAE的推理是云端追加了规则的，暗箱操作，随时可以修复，也可能随时出问题，你也不可能知道有没有拿你的语料做训练。</p><p>自从今年TRAE开始商业化大力推广之后，就越来越觉得TRAE不好用了。</p><p>‘个人用户终身免费’变成积分制。</p><p>‘排队制’变成‘token限速’提升‘用户体验’。</p><p>被爆出上传用户项目文件到云端分析。</p><p>原来爱会消失的，对吗？</p><p>对，AI时代，用户就是这么没有忠诚度。</p><p>我还是觉得opencode最好，各方面都相对透明、可控、自由组装。加上开源部署的openviking就足够。</p>]]></content>
    
    
    <summary type="html">改完一个小 bug，TRAE 提交时自作主张在 commit message 里加上了 Co-Authored-By: Claude Sonnet 4.6。大爷的离谱，我用 Claude Code 提交都不会加Claude署名。再加上积分制、token 限速、上传项目文件——TRAE 商业化之后，越来越让人不放心了。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="Trae" scheme="https://flashj.cn/tags/Trae/"/>
    
    <category term="vibecoding" scheme="https://flashj.cn/tags/vibecoding/"/>
    
    <category term="ClaudeCode" scheme="https://flashj.cn/tags/ClaudeCode/"/>
    
    <category term="工具" scheme="https://flashj.cn/tags/%E5%B7%A5%E5%85%B7/"/>
    
    <category term="字节跳动" scheme="https://flashj.cn/tags/%E5%AD%97%E8%8A%82%E8%B7%B3%E5%8A%A8/"/>
    
    <category term="OpenCode" scheme="https://flashj.cn/tags/OpenCode/"/>
    
    <category term="Claude" scheme="https://flashj.cn/tags/Claude/"/>
    
  </entry>
  
  
  
  <entry>
    <title>PhotoCraft 与 REA：软件行业正在起变化</title>
    <link href="https://flashj.cn/photocraft-rea-software-industry-change.html"/>
    <id>https://flashj.cn/photocraft-rea-software-industry-change.html</id>
    <published>2026-10-13T12:15:00.000Z</published>
    <updated>2026-10-15T12:24:29.816Z</updated>
    
    
    <content type="html"><![CDATA[<p>国庆一结束，朋友圈和各个信息流就被两个开源项目刷屏了。</p><p>一个叫 <strong>PhotoCraft</strong>，用纯 Rust 从零重写了 Photoshop。另一个叫 <strong>REA</strong>，能让 AI Agent 读懂任意软件的二进制，把逆向工程这件苦差事，变成对着电脑说一句人话。</p><p>我凑热闹去看了一眼。没自媒体吹的那么神通广大。但它确实让我多想了半天：软件行业，接下来要往哪走？</p><h2 id="先说这两个东西"><a href="#先说这两个东西" class="headerlink" title="先说这两个东西"></a>先说这两个东西</h2><p><strong>PhotoCraft</strong> 是「净室重写」——只看公开规范和观察到的行为，不碰 Adobe 一行代码。工程量不小，PSD 的读写保真度做得挺高，测试也扎实。</p><p>不过它最戳我的不是这些，是它「演都不演了」：菜单、快捷键、面板，全部照搬 Photoshop。</p><p>这一点比什么都重要。GIMP 有自己的一套设计哲学，我用不顺手；PhotoCraft 没有哲学，它就是让你不用重新学。我十五年前从 Windows 换到 Snow Leopard，第一件事就是装 OpenOffice 和 GIMP，GIMP 到今天我都用不来。后来换 Affinity，还是觉得 PS 的快捷键最自然——在校考证考的就是 Adobe 全家桶，多少年的肌肉记忆了。</p><p>所以「复刻交互」这件事是真有价值。我作为用户，感到很符合预期。</p><p>不过它官网自己也写得很明白：早期 alpha，还不是能拿来干活的 Photoshop 替代品。缺 AI 生成功能、缺一批工具、排版和专业工作流的深度不够、插件也不兼容，一堆地方还等着社区共建。</p><p><strong>REA</strong> 是另一路。它是个 MCP 工具，装上之后你的编码 Agent 就能读懂软件本体——原生二进制的伪代码和汇编、Electron 的模块和 IPC、.NET 程序集、安卓 APK、网站、固件，一大堆。分析全在本地跑，给出的结论必须附带证据和局限。官方展示里有个例子我印象很深：把老游戏 DX-Ball 的音像算法从汇编还原成 C，跑过三千多个原始用例，还逐字节复现了当年编译出来的函数。这活儿搁以前，是硬功夫。</p><h2 id="但先别急着狂欢"><a href="#但先别急着狂欢" class="headerlink" title="但先别急着狂欢"></a>但先别急着狂欢</h2><p>PhotoCraft 是开源的，背后也确实有生意：软件本身免费，钱收在姊妹产品 ArtCraft 那个 AI 工作室上。</p><p>我专门去翻了它的源码（有点较真了）：全软件找不到一个付费弹窗，只在 Help 菜单和启动页挂了几个链接。所以它不算「阉割版套路」，但也确实是「工具免费送，钱在别处收」。</p><p>而且那个收费的东西，定价页把额度直接折算成 Nano Banana Pro、GPT-Image-1.5、Seedance、Kling 的生成次数——说白了就是转售别家的模型，包一层好看的界面。</p><p>这类模式一点都不新。开源加增值服务，早就有了，只是到了要宣传的时候，可以灵活运用：一边讲「开源免费打败地主」的故事，一边大家苦 Adobe 久矣、墙倒众人推。</p><p><strong>但墙实际上没倒。</strong></p><p>十几年前开源行业就一直在做平替：OpenOffice 对 Office，GIMP 对 PS。做了二三十年，谁也没把谁干掉。最近又有人重写 Office，结果大概也一样。</p><p>所以自媒体说「以后专业工具的价格会趋近于零」，我不认同。</p><p>一个工具交到你手上，交付的不只是代码，是那个团队的设计、时间和判断，还有你对他们的信任。只要这份东西还在交付物里，它就能收钱——明面上收不到，就换个方式收。免费加增值服务，本质上还是 SaaS。</p><p>说到我自己：打开官网看见有 pricing，我就不打算用了。何况还有一堆功能没实现、等人共建。扮演小白鼠，中年人没有那么多时间。</p><h2 id="那软件行业的未来是什么"><a href="#那软件行业的未来是什么" class="headerlink" title="那软件行业的未来是什么"></a>那软件行业的未来是什么</h2><p>我自己琢磨的，大概这么几条：</p><p><strong>一、继续往合规的 SaaS 走。</strong> 本质是出卖技能、经验、时间、判断和信任。</p><p><strong>二、往完全非通用、非常垂直的方向走。</strong> 个性化需求只会越来越多，这类东西也适合用 SaaS 来做。因为人的注意力是稀缺的，Vibe Coding 本身就需要人盯着、需要干预，所以必然还是得有专业人员来做——只不过这个专业门槛，比原来低了很多。</p><p><strong>三、门槛降低之后，会重新长出新门槛。</strong> 新模式会催生新的工程方法和方法论，一样会变得越来越有专业门槛。门槛不是消失了，是换了个地方重新冒出来。</p><p><strong>四、长尾市场。</strong> 这块可能是小团队将来能抓住的新增长点。</p><h2 id="我也不信「人人都能自己造软件」"><a href="#我也不信「人人都能自己造软件」" class="headerlink" title="我也不信「人人都能自己造软件」"></a>我也不信「人人都能自己造软件」</h2><p>很多人说，AI 产能上来了，每个人都能 vibe coding，那就没人需要买软件了。</p><p>我不这么看。</p><p>这就像厨房。家家户户都有厨房可以烹饪，没有任何一件烹饪所需的生产资料掌握在少数人手里，人人都可以快速完成烹饪这件事。那为什么还需要有餐馆、食堂、高级餐厅，甚至地摊大排档？</p><p>产能提升了，每个人被赋能都可以做 vibe coding 了，但人的注意力、时间还是稀缺的。社会分工并不会被撼动。</p>]]></content>
    
    
    <summary type="html">国庆后被两个开源项目刷屏：一个用纯 Rust 从零重写了 Photoshop，一个让 AI Agent 读懂任意软件的二进制。冷静看，它们都没自媒体说得那么神通广大——但它确实逼人重新想一遍：软件行业接下来往哪走。我的判断是往合规的 SaaS 走、往垂直细分走、往长尾走；至于「人人都能自己造软件」，我不信，就像家家都有厨房，餐馆照样开。</summary>
    
    
    
    <category term="AI" scheme="https://flashj.cn/categories/AI/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="开源" scheme="https://flashj.cn/tags/%E5%BC%80%E6%BA%90/"/>
    
    <category term="adobe" scheme="https://flashj.cn/tags/adobe/"/>
    
    <category term="商业模式" scheme="https://flashj.cn/tags/%E5%95%86%E4%B8%9A%E6%A8%A1%E5%BC%8F/"/>
    
    <category term="软件行业" scheme="https://flashj.cn/tags/%E8%BD%AF%E4%BB%B6%E8%A1%8C%E4%B8%9A/"/>
    
    <category term="SaaS" scheme="https://flashj.cn/tags/SaaS/"/>
    
    <category term="PhotoCraft" scheme="https://flashj.cn/tags/PhotoCraft/"/>
    
    <category term="REA" scheme="https://flashj.cn/tags/REA/"/>
    
  </entry>
  
  
  
  <entry>
    <title>睿睿的小水杯</title>
    <link href="https://flashj.cn/laurel-water-cup.html"/>
    <id>https://flashj.cn/laurel-water-cup.html</id>
    <published>2026-10-13T05:54:00.000Z</published>
    <updated>2026-10-15T11:23:21.460Z</updated>
    
    
    <content type="html"><![CDATA[<p>睿睿有一天早上说，她的杯子有点漏水。</p><p>然后我说，那个杯子是在哭；</p><p>她说，把它换了，它不装水之后就不哭了。</p><p>我说，那是它心死了。</p><p>我还说，这水杯买了一年，你觉得它只陪了你一学年，但对它来说，是它的一生。</p><p>听了这话，她抱着水杯，突然顿住。在她童真的眼神里透出了迟疑，咽下了要把这个水杯淘汰的话。</p><p>我挽救了她的零花钱，她挽救了她的水杯情深。</p><p>然后我还跟她说，要把这个写成一篇作文，带上自己的真情实感就会很棒。</p><p>后来她还真写了。</p><blockquote><h2 id="我的小水杯"><a href="#我的小水杯" class="headerlink" title="我的小水杯"></a>我的小水杯</h2><p>奇怪，它竟然“哭”了！</p><p>这是一个明媚的早晨，我拿起了旧旧的“花”水杯，去吃早饭。 老爸早早坐在桌旁，老妈还在睡觉，我拿起奶脆筒，拿出一片奶脆扔入口中，随口聊起来：</p><p>“老爸什么时候买个新水杯呀？”</p><p>“随便。”</p><p>就在这时，我喝了一口水，杯身湿湿的！再一摸杯底，还是湿的！“怎么漏水啊？”我惊叫，“这是它的泪。”老爸说。</p><p>它，哭了！？这是我第一个念头。</p><p>“因为你不是想换掉它吗？”</p><p>顿时，“换掉它”被我的心中悲伤的闪电击断了。</p><p>可怜的小水杯。</p><p>突然，一个小幼苗在心中冒了出来：不要换水杯。</p><p>对！干吗要换水杯呢？</p><p>“哎？如果不给杯子装水，它不就不哭了吗？”我问。</p><p>沉默。</p><p>“有没有可能，”老爸偷着笑，打破沉默，“它那是心死了？”</p><p>我没接话，爸爸依然滔滔不绝道，“其实对于它来说，你是它的一生，而在你的世界里，这只是一秒的快乐，一秒的瞬间……”</p><p>后面的话我一句也没听进去，因为我想到了我睡觉时把它踢下床去，想起了把它丢在了海滩，想起了我在生气时把它摔在地上……可它没有责怪我，甚至毫无怨言！ 这就是少了爱——</p><p>——我决定了！这旧水杯，我不换了，让它陪我过完小学生涯！</p></blockquote><h2 id="情感的重量"><a href="#情感的重量" class="headerlink" title="情感的重量"></a>情感的重量</h2><p>她的记忆和实际我的记忆有偏差，我明明说的是“水杯的一生 vs 她的一学年”。她理解成一秒钟了。</p><p>她的表达有些词不达意的地方，但是最终也写出了情感重量。</p><p>落点是真实的<strong>愧疚</strong>，道理不需要讲出来，留白留得恰到好处。</p><p>这恰恰是人味的来源。</p><p>我反感的那种 AI 腔，症状正好相反：<strong>每个词都对，加起来没重量</strong>。</p><p>当我把她的作文本拍下来，让VLM识别提取文字，提取完毕时，大模型还问我：</p><blockquote><p>“（注：原文里的错别字、语句全部按手写原样提取）</p><p>要不要我顺便帮你把这篇作文润色成更通顺优美的版本？”</p></blockquote><p>“<strong>润色</strong>”？！</p><p>——吓得我赶紧关闭了窗口。</p>]]></content>
    
    
    <summary type="html">睿睿的旧水杯有点漏水，我说那是它在哭；我说这杯子买了一年，对你只是一个学年，对它却是一生。她抱着杯子顿住，后来真把这件事写成了作文——词不达意，落点却是真实的愧疚。我反感的那种 AI 腔正好相反：每个词都对，加起来没重量。</summary>
    
    
    
    <category term="生命感悟" scheme="https://flashj.cn/categories/%E7%94%9F%E5%91%BD%E6%84%9F%E6%82%9F/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="教育" scheme="https://flashj.cn/tags/%E6%95%99%E8%82%B2/"/>
    
    <category term="生命感悟" scheme="https://flashj.cn/tags/%E7%94%9F%E5%91%BD%E6%84%9F%E6%82%9F/"/>
    
    <category term="育儿" scheme="https://flashj.cn/tags/%E8%82%B2%E5%84%BF/"/>
    
    <category term="写作" scheme="https://flashj.cn/tags/%E5%86%99%E4%BD%9C/"/>
    
  </entry>
  
  
  
  <entry>
    <title>Jev 不是新物种：它是个分类器，别跟着自媒体嗨</title>
    <link href="https://flashj.cn/jev-zero-shot-classifier.html"/>
    <id>https://flashj.cn/jev-zero-shot-classifier.html</id>
    <published>2026-09-22T05:43:00.000Z</published>
    <updated>2026-10-15T12:13:28.163Z</updated>
    
    
    <content type="html"><![CDATA[<h2 id="Jev"><a href="#Jev" class="headerlink" title="Jev"></a>Jev</h2><p>Jev 是 TypeSafe 在 9 月 15 日放出来的一个模型。</p><p>最近又开始轰炸我的信息流。<br>记录一下一些看法。</p><p>从原理上讲，它既然是零样本分类器，不是自回归大模型，那么它就只适合干快速‘决策’。官方说法叫“System One”模型。</p><p><a href="https://docs.typesafe.ai/concepts/system-one">https://docs.typesafe.ai/concepts/system-one</a></p><p>不要跟着自媒体自嗨，它的快是因为它既然是分类器，这也就意味着你是不能指望它帮你产出选项，也不能帮你给解释。</p><p>你提供【选项 + 自然语言的描述】，它产出【决策】。</p><p>这种组合尤其适合玩实时游戏、操作机械。</p><p>是不是AI玩星际争霸2又可以再搞起来了？</p><p>这种组合突然之间就爆开了，但这里面每一项东西其实也不是什么新的。主要还真是你看，技术再怎么发展，都得靠人去灵活运用它，把它做成产品、做成服务。</p><h2 id="多模态支持吗？"><a href="#多模态支持吗？" class="headerlink" title="多模态支持吗？"></a>多模态支持吗？</h2><p><strong>目前不是多模态模型</strong>，图像、音频、视频都得你在外面先转成文字或结构化字段再喂给它。</p><p>所以现在还打不了通用游戏——它看不见屏幕。想玩星际，得先有个模块把画面转成它能读的结构化状态。</p><h2 id="短板决定你怎么使用它"><a href="#短板决定你怎么使用它" class="headerlink" title="短板决定你怎么使用它"></a>短板决定你怎么使用它</h2><ul><li>无法做出解释。</li><li>中文理解能力差。</li><li>上下文短，32k&#x2F;64k，准确率会随着无关材料增多而下降。</li><li>无法处理量化要求，不会算术，官方明确要求计算放在代码里做，Jev只做语义印象。</li><li>快反射，而非慢思考，意味着不适合做很多推理条件、多层推理的任务。判断力会被稀释。</li><li>不能微调。</li></ul><h2 id="对我有啥用"><a href="#对我有啥用" class="headerlink" title="对我有啥用"></a>对我有啥用</h2><p>我好像个人暂时用不上，我就算是文档审核都是需要反馈意见的。用它不够。而文风验证的场景，它也不能直接胜任，因为文风要求的复杂度较大、交叉维度较多，需要深度思考。</p><p>公司项目那边从样本到决策如果逐渐复杂到要分路由的话，可以把一部分环节交给Jev。</p>]]></content>
    
    
    <summary type="html">TypeSafe 的 Jev 这几天在国内被吹成&quot;AGI 新物种&quot;。但它就是个分类器：你给它【选项 + 自然语言描述】，它给你【决策】，不产出选项、不产出解释。快是真的快，短板也是真的短。技术不新，能不能做成产品，还是看人。</summary>
    
    
    
    <category term="AI" scheme="https://flashj.cn/categories/AI/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="LLM" scheme="https://flashj.cn/tags/LLM/"/>
    
    <category term="工具软件" scheme="https://flashj.cn/tags/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    <category term="Jev" scheme="https://flashj.cn/tags/Jev/"/>
    
    <category term="TypeSafe" scheme="https://flashj.cn/tags/TypeSafe/"/>
    
    <category term="分类器" scheme="https://flashj.cn/tags/%E5%88%86%E7%B1%BB%E5%99%A8/"/>
    
    <category term="SystemOne" scheme="https://flashj.cn/tags/SystemOne/"/>
    
  </entry>
  
  
  
  <entry>
    <title>飞书官方 MCP 导致内存泄露：lark-mcp 孤儿进程排查</title>
    <link href="https://flashj.cn/lark-mcp-memory-leak-from-orphan-processes.html"/>
    <id>https://flashj.cn/lark-mcp-memory-leak-from-orphan-processes.html</id>
    <published>2026-09-20T01:53:00.000Z</published>
    <updated>2026-10-18T11:00:49.546Z</updated>
    
    
    <content type="html"><![CDATA[<h2 id="内存占用排查"><a href="#内存占用排查" class="headerlink" title="内存占用排查"></a>内存占用排查</h2><p>妈的，内存不足20G了。<br>我服了，我一查，好家伙，好多node进程。<br><img src="https://cdn.mousebomb.org/blog/auto/202609200955028.webp"></p><p>手动清理：</p><pre><code>pkill -f &quot;lark-mcp&quot;</code></pre><p>之前在paseo里用它的mcp里就经常泄露，我就在opencode和claude配置里把这个mcp禁用了。后来TRAE里的加过这个MCP，用TRAE开关几次项目就会把系统内存吃掉很多。这MCP是实习生写的吗？</p><p>08-28 调查过一次，那轮的结论：</p><p>根因在 lark-mcp 自己，不在 Paseo &#x2F; opencode &#x2F; 启动方式。<br>实验是决定性的：给真实 lark-mcp 发完 initialize 后关闭 stdin（模拟父进程退出）→ 3 秒后进程仍存活，exitCode 始终 null。反例：用 MCP SDK 裸跑同样测试，stdin 一关就退出。</p><p><code>lark-mcp</code> 用的 StdioServerTransport（官方 MCP SDK 1.29.0）只监听 ‘data’ &#x2F; ‘error’，没处理 ‘end’(EOF)，也不主动 process.exit()。</p><p>这个bug我都想修了提PR给官方的，一查，已经有人遇到同样问题，已经修了提了PR，但是挂着一直没合。</p><p><strong>Issue #59</strong>（2026-02-09 由 YFDmai 提）：标题就是 <em>“Orphan processes not cleaned up when parent (Claude Code) exits”</em>，描述 <code>PPID=1</code> 的孤儿、32+ 个残留进程。和我遇到的问题一模一样。（他还写”每个进程 ~1.1–1.2 GB <strong>虚拟内存</strong>“）。</p><p>太好了，所以官方已经烂完了。<br>官方的意思可能是直接在网页上用他们的智能体去检索，而不要用MCP去检索了。</p><p>所以，我就直接把TRAE里的lark-mcp也移除掉，反正使用场景很低。</p><p>我看到有人在Issue #65 里说 可以用<code>lark cli</code>了更好。<br>但是对开发者来说，<code>lark-cli</code>能足够满足查开放平台开发文档吗？</p><p>核实了一下，不能说完全覆盖吧，只能说是，不同用途角度，但同样可以实现查文档和api。lark-cli安装后自带的skill里面<code>~/.agents/skills/lark-openapi-explorer/SKILL.md</code>明确写了方法指导Agent去拿api调用。<br>原理上是去抓开放平台的<code>llms.txt</code>。<br>也好，这样可以平替一下，干净一些。</p>]]></content>
    
    
    <summary type="html">Mac 内存莫名被吃光，一查是飞书官方 lark-mcp 留下的几十个孤儿 node 进程。根因是它的 stdio 生命周期只处理了数据流入、没处理管道关闭，宿主退出后进程不自杀；上游 Issue 和 PR 都提了却一直挂着没合并，仓库已停更一年多。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="Trae" scheme="https://flashj.cn/tags/Trae/"/>
    
    <category term="agent" scheme="https://flashj.cn/tags/agent/"/>
    
    <category term="MCP" scheme="https://flashj.cn/tags/MCP/"/>
    
    <category term="内存泄露" scheme="https://flashj.cn/tags/%E5%86%85%E5%AD%98%E6%B3%84%E9%9C%B2/"/>
    
    <category term="飞书" scheme="https://flashj.cn/tags/%E9%A3%9E%E4%B9%A6/"/>
    
    <category term="nodejs" scheme="https://flashj.cn/tags/nodejs/"/>
    
  </entry>
  
  
  
  <entry>
    <title>AI 大模型能力对人类的策略影响</title>
    <link href="https://flashj.cn/llm-boundary-human-reserve.html"/>
    <id>https://flashj.cn/llm-boundary-human-reserve.html</id>
    <published>2026-09-17T08:10:00.000Z</published>
    <updated>2026-10-15T12:13:28.247Z</updated>
    
    
    <content type="html"><![CDATA[<p>最近 9 月发生了几件事情，挺让人震撼的。</p><p>第一件事，是 GPT6 Computer Use 的功能更加完善。通过烧更多 Token 的方式使用 Computer Use，很多人用它从建模到实现最终产品。其实就算不用 GPT6，只要装上 Blender MCP，也都可以实现。只是 GPT6 一站式用 Computer Use 全部解决了。只要你财大气粗、算力无限，就可以把各种事情交给他去办。比如<a href="https://hangzhou.thewang.net/#place=lingyin">杭州漫游</a>、<a href="https://gtasz.vercel.app/">GTA6-深圳</a>。</p><p>这是第一件令人震撼的事情。</p><p>第二件令人震撼的事情，是最近看到一个很火的项目：把果蝇的神经元上传到电脑里，用果蝇的算力驱动了很多很神奇的事情，比如驾驶无人机、玩《毁灭战士》。反正挺多神奇的项目，都是用果蝇的神经连接去做的。</p><p>果蝇的神经元数量远远小于现在的大模型规模，但是当它全功率做推理的时候，能够实现的具身智能所需的智能水平（行动、避障等），几乎可以算是超过现在 VLM 大模型的智能水平了吧。</p><p>第三件令人震撼的事情是，最近有一个困扰了人类 90 年的数学问题，被大模型解决了。OpenAI 用一个未发布的更强模型，做长时间、长任务、多 Agent 配合的推理，把这个问题解决了。</p><p>这相当于说，困扰人类的许多数学问题，最近都可以用大语言模型驱动，通过长任务来解决。</p><h2 id="AI-大模型有没有边界？"><a href="#AI-大模型有没有边界？" class="headerlink" title="AI 大模型有没有边界？"></a>AI 大模型有没有边界？</h2><p>AI 大模型有没有边界？</p><p>如果有边界，我们所有人的最优策略应该是转向 AI 边界以外的技能素养培养；如果没有边界，那么我们所有人的最优策略应该是想尽办法参与算力端。</p><p>在某些范围内，在有衡量器的情况下，AI 的能力是可以做到左脚踩右脚，并且做得很好的。</p><p>从这个角度来说，我们人类可能需要去开发恰当的衡量器。但工作量不会很大，相关工作窗口也不会很多，工作机会应该也会很少，只需要顶尖的人就行了。</p><p>幸运的是，更多机会其实在 AI 有边界的那些方向，也就是我以前<a href="https://www.flashj.cn/llm-principle-creativity.html">一篇文章</a>里提到过的：<a href="https://www.flashj.cn/llm-principle-creativity.html">创造力，以及面对人类情绪产出的方向，AI 没有办法替代人类</a>。</p><p>因为 AI 只是个词语接龙机，只是个高概率事件预测机。它没有办法产生人类的情感，没有这个底层机制，没有这种生物运转的机制。人类是由情感、情绪和事件共同驱动的，但 AI 只是对词语高概率分布、命中、预演的陈述。</p><p>所以，人类远远超出 AI 的能力，就在于一切以情绪驱动的产出物，而不是逻辑驱动的产出物。</p><p>因为逻辑再怎么着，最终都是一个数学问题。生活中的高级逻辑，也就是一个概率分布的数学问题。这些大模型从底层原理上都是具备的。</p><p>结合我前几天看到的，我们数学家、菲尔兹奖得主邓煜说，现在感觉数学界弥漫着一股浮躁不安的氛围。但是我看他的观点，也是要等这两年这一波过去，让子弹先飞一会儿，数学界就会自然慢慢适应，新的生态也会逐渐形成。</p><p>反正，如果人工智能能够解决所有数学问题，他将从数学界退休，并开始创作百合小说。</p><p>我觉得他的选择非常绝妙。这也就是为什么我一个写程序的码农，用了这么多年 AI（尤其是今年桌面 AI Agent 爆发，并且重度使用）之后，决定去写言情小说(&#x2F;狗头)：</p><p>因为这是离 AI 最远的地方，也是人类的保留地。</p><h2 id="人类的学习、就业策略变化"><a href="#人类的学习、就业策略变化" class="headerlink" title="人类的学习、就业策略变化"></a>人类的学习、就业策略变化</h2><p>这几天，还看到南方科技大学的马兆远教授讲：闲暇是创造力的前提。所以说，我们人类真不能现在这么卷了。卷，都是在透支未来。</p><p>人类真正应该做的，是围绕自己的情绪和生物特点，去创作真正属于人类的、独一无二的内容，完成每个人的自我实现。</p><p>另外，前两天还看到一个有趣的报告。大致意思是：他们研究了中国一批学生，2 万多个学生，时间跨度长达 30 个月，观察孩子们使用 AI 参与学习对学习成绩的影响。所以这个数据还是挺不容易的，也挺有参考价值。</p><p>研究发现，学生用 AI 完成作业之后，作业平均成绩都提升了，并且完成时间也缩短了很多。但是在脱离 AI 之后的闭卷考试中，平均成绩都下滑了。</p><p>但这里面比较有趣的一个价值，或者说比较有趣的启发在于：虽然整体平均来看，脱离 AI 之后成绩下降了，但有一部分学生，也就是真正有自驱力、想要学习、对学习有兴趣的学生，他们借助 AI 做作业的时间其实并没有减少，反而更长了。他们在脱离 AI 之后，考试分数反而更高。</p><p>所以，借助 AI 来学习，和借助 AI 来完成学校布置的学习任务，结果完全是天差地别的两种。</p><p>本来从原理上讲，大模型的预测机制就是会以人类的平均线为基准来预测的。加上这行业的主要用户的需求是解决编程问题，就更让需求导向更可预测的结果。</p><p>所以说，AI 大模型厂商一定会让 AI 变得更加中庸。为什么？因为每次出来一个新东西，那帮人的测评，都是用什么画个鹈鹕自行车来测它。但是它稍微有一点不中庸，就没有办法保证这个东西每次测出来的结果都是好的，是吧？所以它的能力越被那帮测评的人测得强，就越要求它刷题、刷应试考卷的分。这就跟应试教育培养人一样，最终就他妈丧失了灵魂。</p><p>但是人类的创造力就不一样，每个人都有自己的独特生活，有自己的独特经历，有自己的情绪感受，也有自己天生的生物推理能力和形成的情绪反馈机制，所以他有自己的独特品味。这个天然就是区分于 AI 的。</p><p>所以每个人都是世界的一级，但 AI 永远都是世界的平均线上，不可能倾向于任何一级。因为一旦有任何一个厂商做出这种倾向于一级的东西，它画醍醐自行车，就会测试失败。比如豆包和 Gemini，这俩是现在 AI 界的人类之光，他们在理性的基础上，保有了少许对人类创造力模仿的灵气。</p><p>说了这么多，懒得自己总结了，请 AI 帮我结个尾吧：</p><blockquote><p>说到底，AI 能搞定所有逻辑、算力、数理与重复任务，是极致高效的工具，却永远复刻不了人类的情绪、热爱与内生创造力。未来不用盲目内卷算力和逻辑，学会借 AI 借力增效，深耕人类独有的情感创作与自我表达，守住专属人类的精神自留地，才是普通人最稳妥的生存与成长策略。</p></blockquote>]]></content>
    
    
    <summary type="html">9 月发生了几件挺让人震撼的事情：GPT6 Computer Use 更加完善、果蝇的神经连接驱动出的具身智能、以及一个困扰了人类 90 年的数学问题被大模型解决。它们指向同一个问题——AI 大模型有没有边界？如果有边界，最优策略是转向 AI 边界以外的技能素养培养；如果没有边界，最优策略是想尽办法参与算力端。</summary>
    
    
    
    <category term="生命感悟" scheme="https://flashj.cn/categories/%E7%94%9F%E5%91%BD%E6%84%9F%E6%82%9F/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="大模型" scheme="https://flashj.cn/tags/%E5%A4%A7%E6%A8%A1%E5%9E%8B/"/>
    
    <category term="教育" scheme="https://flashj.cn/tags/%E6%95%99%E8%82%B2/"/>
    
    <category term="生命感悟" scheme="https://flashj.cn/tags/%E7%94%9F%E5%91%BD%E6%84%9F%E6%82%9F/"/>
    
    <category term="创造力" scheme="https://flashj.cn/tags/%E5%88%9B%E9%80%A0%E5%8A%9B/"/>
    
    <category term="数学" scheme="https://flashj.cn/tags/%E6%95%B0%E5%AD%A6/"/>
    
  </entry>
  
  
  
  <entry>
    <title>该让 AI 删文件前先进废纸篓了</title>
    <link href="https://flashj.cn/macos-trash-instead-of-rm.html"/>
    <id>https://flashj.cn/macos-trash-instead-of-rm.html</id>
    <published>2026-09-15T04:00:00.000Z</published>
    <updated>2026-10-15T12:13:28.291Z</updated>
    
    
    <content type="html"><![CDATA[<p>最近我在用 WorkBuddy 干活，发现了一个挺有意思的细节。</p><p>它产生的临时文件，用完删掉之后，文件<strong>不会消失</strong>——而是进了废纸篓。而且它的临时文件都就近放在当前工作目录里，不像我平时用的 opencode，动不动就在 <code>/tmp</code> 下面拉一堆东西。</p><p>整个流程很干净。这个 Harness 在”删除”这件事上做得挺讲究。</p><p>这个细节让我为之点赞。</p><p>我平时的主力是 opencode，配着 Paseo 一起用。Agent 干活时删文件是家常便饭——清中间产物、重跑一遍、删掉不再需要的脚本。但<strong>Agent 删文件和人删文件是两回事</strong>：</p><p>人删之前会看一眼路径，会犹豫一下。Agent 不会。它的路径是拼出来的，变量是从上下文里猜的。路径一旦拼错，<code>rm -rf</code> 下去的瞬间东西就没了，没有第二次机会。</p><p>所以真正的问题不是”该不该让 Agent 删文件”，而是”能不能让删除变得<strong>可撤销</strong>“。</p><p>WorkBuddy 用的是废纸篓。那 opencode 这边能不能也这么干？</p><p>顺手一查，答案比我想的简单：<strong>macOS 15 起，系统自带了一个 <code>trash</code> 命令。</strong></p><h2 id="系统自带的trash命令"><a href="#系统自带的trash命令" class="headerlink" title="系统自带的trash命令"></a>系统自带的<code>trash</code>命令</h2><pre><code>/usr/bin/trash</code></pre><p>这个二进制是 Apple 签名的（<code>com.apple.trash</code>），受 SIP 保护，挂在只读系统卷上——你删不掉它，也不需要维护它。手册页在 <code>man trash</code>。</p><p>只有一个前提：<strong>macOS 15 Sequoia 及以上才有</strong>。</p><p>这里有个坑：<code>trash</code> 的 man page 在 HISTORY 里写的是 <code>First appeared in macOS 14.0</code>，<strong>这是 Apple 自己写错的</strong>。社区实测 Sonoma 14.6.1 和 14.8 上并不存在这个命令，Tahoe 的 man page 已经改口说是 Sequoia 加入的。所以如果你的 Mac 上没有 <code>trash</code>，先 <code>sw_vers</code> 看一眼版本，大概率是系统比 15 老。</p><h2 id="用法"><a href="#用法" class="headerlink" title="用法"></a>用法</h2><p>语法极简：</p><pre><code class="language-bash">trash 文件或目录...</code></pre><p>目前实测下来它的行为和Finder里的删除行为一致，可以删文件、删目录、删替身、删软链接。</p><h2 id="给-Agent-配上"><a href="#给-Agent-配上" class="headerlink" title="给 Agent 配上"></a>给 Agent 配上</h2><p>在项目的 <code>AGENTS.md</code> 或 <code>CLAUDE.md</code> 里写一句就行：</p><pre><code class="language-markdown">## 文件删除安全- 删除操作一律使用 `trash` 命令把文件移入废纸篓，不要用 `rm` 永久删除。- 仅当明确要求永久删除时，才使用 `rm`。</code></pre><p>我自己的全局配置里就是这么写的。</p><p>好消息是这套规则跟 harness 无关——<code>trash</code> 就是个普通 Unix 命令，任何能跑 shell 的 Agent 都能用，区别只在规则往哪个文件里写。</p><p>不过要清醒一点：<strong>规则文件是软约束。</strong> 写”禁止用 rm”，靠的是模型自觉。上下文一长，或者模型自己判断”这就是个临时文件”，照样可能直接 <code>rm</code>。要硬保证，得在 harness 的权限层再拦一道，把 <code>rm</code> 类命令设成需要确认。软规则管习惯，硬拦截兜底。</p><h2 id="两点提醒"><a href="#两点提醒" class="headerlink" title="两点提醒"></a>两点提醒</h2><p><strong>废纸篓不是”不删除”，只是”延后删除”。</strong> Agent 跑批量任务时可能删掉成百上千个文件，废纸篓会在你没注意的时候膨胀到几十 GB。定期清空它，或者跑完任务后扫一眼。</p><p><strong>找回靠 Finder。</strong> 打开废纸篓 → 选中文件 → 右键”放回原处”。注意如果原目录已经不存在，这个选项会失效，得手动拖回去。</p><h2 id="老系统怎么办"><a href="#老系统怎么办" class="headerlink" title="老系统怎么办"></a>老系统怎么办</h2><p>如果 Mac 停在 Sonoma 或更早，两个选择：</p><ul><li><code>brew install trash</code>（Ali Rantakari 那个版本）。注意它是 keg-only，而且和 <code>macos-trash</code>、<code>osx-trash</code>、<code>trash-cli</code> 三个包冲突——它们都占 <code>trash</code> 这个名字。</li><li>或者用 <code>osascript</code> 让 Finder 代劳，不用装任何东西：</li></ul><pre><code class="language-bash">osascript -e &#39;tell application &quot;Finder&quot; to delete POSIX file &quot;/path/to/file&quot;&#39;</code></pre><p>总之就一句话：<strong>能用 <code>trash</code> 的地方，别用 <code>rm</code>。</strong> 尤其当对面敲命令的是个 AI。</p>]]></content>
    
    
    <summary type="html">用 WorkBuddy 干活时发现它删临时文件会进废纸篓，而我的 opencode 动不动就是 rm。顺着这个细节查下去，发现 macOS 15 已经内置了 trash 命令，可以替代 rm。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="agent" scheme="https://flashj.cn/tags/agent/"/>
    
    <category term="macOS" scheme="https://flashj.cn/tags/macOS/"/>
    
    <category term="终端" scheme="https://flashj.cn/tags/%E7%BB%88%E7%AB%AF/"/>
    
    <category term="命令行" scheme="https://flashj.cn/tags/%E5%91%BD%E4%BB%A4%E8%A1%8C/"/>
    
    <category term="trash" scheme="https://flashj.cn/tags/trash/"/>
    
  </entry>
  
  
  
  <entry>
    <title>GOAT套餐接opencode后切换思考强度的配置</title>
    <link href="https://flashj.cn/opencode-goat-reasoning-variants.html"/>
    <id>https://flashj.cn/opencode-goat-reasoning-variants.html</id>
    <published>2026-09-02T09:19:00.000Z</published>
    <updated>2026-10-18T11:00:49.869Z</updated>
    
    
    <content type="html"><![CDATA[<h2 id="现象"><a href="#现象" class="headerlink" title="现象"></a>现象</h2><p><a href="https://www.flashj.cn/opencode-goat-commandcode-config.html">上篇接好了 CommandCode GOAT 套餐</a>，模型能正常对话，但我一直没细看一个细节：<strong>deepseek-v4-flash 切不出思考深度</strong>。</p><p>在 opencode go 套餐里同一批模型明明可以切思考档位，换到 goat 上全没了。第一反应是”goat 套餐不支持”——但排查下来根本不是套餐的事，是<strong>配置漏了一环</strong>。</p><h2 id="太长不看的结论"><a href="#太长不看的结论" class="headerlink" title="太长不看的结论"></a>太长不看的结论</h2><p>配置文件再改一下，需要能选思考深度的模型，都给加一句配置：<br><code>"reasoning": true</code><br>就行了。</p><p>比如</p><pre><code>        "deepseek/deepseek-v4-flash": {          "name": "DeepSeek V4 Flash (latest)",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },</code></pre><p>啊顺便，今天把GOAT套餐的用量测算也做成实时表格了：</p><p><img src="https://cdn.mousebomb.org/blog/auto/202609021730939.png"></p><p>项目在： <a href="https://github.com/mousebomb/opencode-go-limits">https://github.com/mousebomb/opencode-go-limits</a></p><h2 id="精简了一下配置"><a href="#精简了一下配置" class="headerlink" title="精简了一下配置"></a>精简了一下配置</h2><pre><code class="language-json">{  "$schema": "https://opencode.ai/config.json",  "permission": {  },  "mcp": {  },  "provider": {    "goat": {      "npm": "@ai-sdk/openai-compatible",      "name": "goat",      "options": {        "baseURL": "https://api.commandcode.ai/provider/v1",        "headers": {}      },      "models": {        "deepseek/deepseek-v4-flash-vision-exp": {          "name": "DeepSeek V4 Flash Vision (exp)",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "Qwen/Qwen3.8-Flash": {          "name": "Qwen 3.8 Flash",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "stepfun/Step-3.7-Flash": {          "name": "Step 3.7 Flash",          "limit": {            "context": 256000,            "output": 262144          },          "reasoning": true        },        "poolside/laguna-s-2.1-free": {          "name": "Laguna S 2.1",          "limit": {            "context": 256000,            "output": 262144          },          "reasoning": true        },        "meta/muse-spark-1.2": {          "name": "Muse Spark 1.2",          "limit": {            "context": 1048576,            "output": 262144          },          "reasoning": true        },        "meta/muse-spark-1.2-contributor": {          "name": "Muse Spark 1.2 Contributor",          "limit": {            "context": 1048576,            "output": 262144          },          "reasoning": true        },        "xai/grok-4.5": {          "name": "Grok 4.5",          "limit": {            "context": 500000,            "output": 262144          },          "reasoning": true        },        "xai/grok-4.6": {          "name": "Grok 4.6",          "limit": {            "context": 500000,            "output": 262144          },          "reasoning": true        }      }    },    "goat-zdr": {      "npm": "@ai-sdk/openai-compatible",      "name": "goat-zdr",      "options": {        "baseURL": "https://api.commandcode.ai/provider/v1",        "headers": {          "x-cmd-zdr": "1"        }      },      "models": {        "deepseek/deepseek-v4-pro": {          "name": "DeepSeek V4 Pro (latest)",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "deepseek/deepseek-v4-flash": {          "name": "DeepSeek V4 Flash (latest)",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "deepseek/deepseek-v4-flash-fast": {          "name": "DeepSeek V4 Flash Fast",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "moonshotai/Kimi-K3": {          "name": "Kimi K3",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "moonshotai/Kimi-K2.7-Code": {          "name": "Kimi K2.7 Code",          "limit": {            "context": 256000,            "output": 262144          },          "reasoning": true        },        "moonshotai/Kimi-K2.7-Code-Highspeed": {          "name": "Kimi K2.7 Code HighSpeed",          "limit": {            "context": 262000,            "output": 262144          },          "reasoning": true        },        "moonshotai/Kimi-K2.6": {          "name": "Kimi K2.6",          "limit": {            "context": 256000,            "output": 262144          },          "reasoning": true        },        "moonshotai/Kimi-K2.5": {          "name": "Kimi K2.5",          "limit": {            "context": 256000,            "output": 262144          },          "reasoning": true        },        "z-ai/glm-5.3-flash": {          "name": "GLM-5.3 Flash",          "limit": {            "context": 1048576,            "output": 262144          },          "reasoning": true        },        "zai-org/GLM-5.3": {          "name": "GLM-5.3",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "zai-org/GLM-5.2": {          "name": "GLM-5.2",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "zai-org/GLM-5.2-Fast": {          "name": "GLM-5.2 Fast",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "zai-org/GLM-5.1": {          "name": "GLM-5.1",          "limit": {            "context": 200000,            "output": 262144          },          "reasoning": true        },        "zai-org/GLM-5": {          "name": "GLM-5",          "limit": {            "context": 200000,            "output": 262144          },          "reasoning": true        },        "MiniMaxAI/MiniMax-M3": {          "name": "MiniMax M3",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "MiniMaxAI/MiniMax-M2.7": {          "name": "MiniMax M2.7",          "limit": {            "context": 200000,            "output": 262144          },          "reasoning": true        },        "MiniMaxAI/MiniMax-M2.5": {          "name": "MiniMax M2.5",          "limit": {            "context": 200000,            "output": 262144          },          "reasoning": true        },        "xiaomi/mimo-v2.5-pro": {          "name": "MiMo V2.5 Pro",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "xiaomi/mimo-v2.5": {          "name": "MiMo V2.5",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "Qwen/Qwen3.8-Max": {          "name": "Qwen 3.8 Max",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "Qwen/Qwen3.8-27B": {          "name": "Qwen 3.8 27B",          "limit": {            "context": 262144,            "output": 262144          },          "reasoning": true        },        "Qwen/Qwen3.7-Max": {          "name": "Qwen 3.7 Max",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "Qwen/Qwen3.7-Plus": {          "name": "Qwen 3.7 Plus",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "Qwen/Qwen3.7-Flash": {          "name": "Qwen 3.7 Flash",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "Qwen/Qwen3.6-Max-Preview": {          "name": "Qwen 3.6 Max Preview",          "limit": {            "context": 200000,            "output": 262144          },          "reasoning": true        },        "Qwen/Qwen3.6-Plus": {          "name": "Qwen 3.6 Plus",          "limit": {            "context": 200000,            "output": 262144          },          "reasoning": true        },        "stepfun/Step-3.5-Flash": {          "name": "Step 3.5 Flash",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "tencent/hy3-paid": {          "name": "Tencent Hy3",          "limit": {            "context": 262144,            "output": 262144          },          "reasoning": true        },        "tencent/hy4-preview": {          "name": "Tencent Hy4 Preview",          "limit": {            "context": 1048576,            "output": 262144          },          "reasoning": true        },        "nvidia/nemotron-3-ultra-550b-a55b": {          "name": "Nemotron 3 Ultra",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "thinkingmachines/inkling": {          "name": "Inkling",          "limit": {            "context": 256000,            "output": 262144          },          "reasoning": true        },        "thinkingmachines/inkling-small": {          "name": "Inkling Small",          "limit": {            "context": 1000000,            "output": 262144          },          "reasoning": true        },        "gpt-5.6-sol": {          "name": "GPT-5.6 Sol",          "limit": {            "context": 1050000,            "output": 262144          },          "reasoning": true        }      }    }  },  "plugin": [  ]}</code></pre><hr><h2 id="根因：自定义-provider-缺-reasoning-能力声明"><a href="#根因：自定义-provider-缺-reasoning-能力声明" class="headerlink" title="根因：自定义 provider 缺 reasoning 能力声明"></a>根因：自定义 provider 缺 reasoning 能力声明</h2><p>opencode 给模型生成”思考档位”（variants）的入口是 <code>variants()</code> 函数，开头第一道门卫就是：</p><pre><code class="language-ts">if (!model.capabilities.reasoning) return {}   // 没声明推理能力 → 直接不给档位</code></pre><p>内置 provider（opencode-go、官方 deepseek 等）的模型元数据来自 <a href="https://models.dev/">models.dev</a>，天生带 <code>reasoning: true</code> 和 <code>reasoning_options</code>，所以能出思考档位。</p><p>而 goat 是<strong>自定义 provider</strong>（<code>@ai-sdk/openai-compatible</code>），模型全是我在 <code>opencode.json</code> 里手写的。当时只写了 <code>name</code> 和 <code>limit</code>，<strong>没写 <code>reasoning: true</code></strong> → 能力声明默认 false → <code>variants()</code> 直接返回空，TUI 自然不显示思考档位。</p><p>对照代码看得很清楚（<code>packages/opencode/src/provider/transform.ts</code>）：</p><pre><code class="language-ts">case "@ai-sdk/openai-compatible":  const efforts = [...WIDELY_SUPPORTED_EFFORTS]        // ["low","medium","high"]  if (model.api.id.toLowerCase().includes("deepseek-v4")) {    efforts.push("max")                                // deepseek-v4 额外加 max  }  return Object.fromEntries(efforts.map(e =&gt; [e, { reasoningEffort: e }]))</code></pre><p>也就是说：<code>@ai-sdk/openai-compatible</code> 的模型，只要 <code>reasoning: true</code> 声明到位，opencode 会按模型 ID 自动分配思考档位——deepseek-v4 系列给 <code>low/medium/high/max</code>。</p><h2 id="GOAT-网关本身是支持-effort-的"><a href="#GOAT-网关本身是支持-effort-的" class="headerlink" title="GOAT 网关本身是支持 effort 的"></a>GOAT 网关本身是支持 effort 的</h2><p>顺手验证了网关层：<code>reasoning_effort</code> 参数被真实接受并转发，实测 deepseek-v4-flash 在不同 effort 下 reasoning tokens 数量确实有差异。档位枚举是 <code>low|medium|high|xhigh</code>（<code>none</code> 会报错），<code>max</code> 也能过。</p><p>结论锁定：<strong>能力在，只是 opencode 侧没被告知这个模型能推理。</strong></p><h2 id="修复：给模型补上-reasoning-true"><a href="#修复：给模型补上-reasoning-true" class="headerlink" title="修复：给模型补上 reasoning: true"></a>修复：给模型补上 reasoning: true</h2><p>在 <code>goat</code> 和 <code>goat-zdr</code> 两个 provider 的模型条目里补声明即可：</p><pre><code class="language-json">"deepseek/deepseek-v4-flash": {  "name": "DeepSeek V4 Flash (latest)",  "limit": { "context": 1000000, "output": 262144 },  "reasoning": true}</code></pre><p>补完重启，<code>opencode run -m goat/deepseek/deepseek-v4-flash --variant max</code> 实测通过，档位真实生效。</p><h2 id="进阶疑问：给所有模型都标-reasoning-true-安全吗？"><a href="#进阶疑问：给所有模型都标-reasoning-true-安全吗？" class="headerlink" title="进阶疑问：给所有模型都标 reasoning:true 安全吗？"></a>进阶疑问：给所有模型都标 reasoning:true 安全吗？</h2><p>修好 deepseek 后我冒出个念头：与其逐个判断哪些模型该标，不如<strong>全部标 true，把最终裁决权交给 opencode 内置的模型判定逻辑</strong>（它内部有”哪些模型该给档位”的黑名单）。但这是否安全？</p><p>查源码发现：<code>variants()</code> 在给档位前有一份<strong>硬编码黑名单</strong>，命中的模型直接 <code>return {}</code>：</p><pre><code class="language-ts">if (  id.includes("deepseek-chat") || id.includes("deepseek-r1") ||  id.includes("deepseek-v3") ||  id.includes("minimax") || (id.includes("glm") &amp;&amp; !glm52) ||  id.includes("kimi") || id.includes("qwen")) return {}</code></pre><p>也就是说 kimi、qwen、glm(非5.2)、minimax(非M3) 这些<strong>即使标了 reasoning:true 也不会出思考档位</strong>——上游本来就不吃 effort 控制（实测 Kimi-K3 发 high 档 reasoning tokens 几乎无变化，印证了黑名单的合理性）。</p><p>剩下的疑问是：标了 true 但被黑名单挡下的模型，opencode 会不会偷偷往请求体塞默认 effort？<strong>用抓包实测打消了这个顾虑</strong>——给 Qwen3.8-Flash（黑名单）标 reasoning:true 后，发出的请求体里 <code>reasoning_effort</code> 字段完全不存在，对话行为跟没标之前一模一样。对照非黑名单的 deepseek-v4-flash，<code>--variant high</code> 时请求体确实带 <code>reasoning_effort: high</code>。</p><p>于是放心地把 <code>goat</code>、<code>goat-zdr</code> 下<strong>全部 74 个模型</strong>都标了 <code>reasoning: true</code>，交给 opencode 的机制去兜底。重构配置后 <code>/models</code> 正常、各模型实测对话正常。</p><h2 id="最终效果对照"><a href="#最终效果对照" class="headerlink" title="最终效果对照"></a>最终效果对照</h2><div class="md-table-scroll"><table><thead><tr><th>模型</th><th>标 reasoning:true 后 TUI 出现的思考档位</th></tr></thead><tbody><tr><td>deepseek-v4 系列（pro/flash/fast/vision）</td><td>low / medium / high / max</td></tr><tr><td>mimo-v2.5、stepfun、tencent、nemotron、inkling、gpt-5.6-sol、muse、grok 等</td><td>low / medium / high</td></tr><tr><td>GLM-5.2</td><td>high / max（单独特判）</td></tr><tr><td>MiniMax-M3</td><td>思考 开 / 关（toggle 特判）</td></tr><tr><td>Kimi 系列、Qwen 系列、GLM-5/5.1/5.3、MiniMax-M2.x</td><td>无档位（硬编码黑名单，上游不支持 effort）</td></tr></tbody></table></div><h2 id="经验小结"><a href="#经验小结" class="headerlink" title="经验小结"></a>经验小结</h2><ol><li><strong>自定义 provider（openai-compatible）的模型档位全靠自己声明</strong>，<code>reasoning: true</code> 是给档位的必要不充分条件——能不能给、给哪些，由 opencode 内置模型判定逻辑（含黑名单）二次裁决。</li><li><strong>黑名单模型标 reasoning:true 没有副作用</strong>：只影响”能否出现思考档位”这个 UI 开关，请求体不会被注入任何默认 effort 参数。放心全标。</li><li>修完配置记得<strong>重启 opencode</strong>（配置只在启动时加载，不热更新），然后 <code>/models</code> 选中模型按 Tab 循环即可切档位。</li></ol>]]></content>
    
    
    <summary type="html">前一篇 goat 接入配置漏了一环：deepseek-v4-flash 等模型在 /models 里选不了思考深度。排查发现不是 GOAT 套餐不支持，而是自定义 provider 手写模型缺 reasoning 能力声明，被 opencode 的变体生成逻辑拦在了门口。最终给 goat、goat-zdr 全部模型补上 reasoning:true，实测无副作用。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="LLM" scheme="https://flashj.cn/tags/LLM/"/>
    
    <category term="agent" scheme="https://flashj.cn/tags/agent/"/>
    
    <category term="OpenCode" scheme="https://flashj.cn/tags/OpenCode/"/>
    
    <category term="配置" scheme="https://flashj.cn/tags/%E9%85%8D%E7%BD%AE/"/>
    
    <category term="CommandCode" scheme="https://flashj.cn/tags/CommandCode/"/>
    
    <category term="goat" scheme="https://flashj.cn/tags/goat/"/>
    
    <category term="reasoning" scheme="https://flashj.cn/tags/reasoning/"/>
    
  </entry>
  
  
  
  <entry>
    <title>Paseo Solarized Light 主题插件：低对比度护眼，GitHub 一行命令安装</title>
    <link href="https://flashj.cn/paseo-solarized-light.html"/>
    <id>https://flashj.cn/paseo-solarized-light.html</id>
    <published>2026-09-01T16:00:00.000Z</published>
    <updated>2026-10-19T06:35:09.244Z</updated>
    
    
    <content type="html"><![CDATA[<p>Paseo 自带的 6 个主题对比度都太高，白的太白、黑的太黑，盯着写代码眼睛难受。所以我给 Paseo 做了一个 <strong>Solarized Light</strong> 主题插件，低对比度、柔和护眼，长期盯屏幕友好。</p><p>之前想过改 Paseo 的 bundle 注入主题，但那样每次升级都要重新打补丁，麻烦。现在不用了——Paseo 官方在 v0.5.0 引入了插件主题接口 <code>plugin.addTheme</code>，直接用插件实现，<strong>不修改 Paseo 任何文件，升级不丢失</strong>。更爽的是昨天发现 Paseo 已经更新到 0.7.0，支持直接从 GitHub 添加插件&#x2F;主题了。</p><iframe class="bilibili" src="//player.bilibili.com/player.html?isOutside=true&aid=117307468743130&bvid=BV1Nfhi6tEn8&cid=42074442644&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe><h2 id="安装（Paseo-0-7-0-）"><a href="#安装（Paseo-0-7-0-）" class="headerlink" title="安装（Paseo 0.7.0+）"></a>安装（Paseo 0.7.0+）</h2><p>一行命令：</p><pre><code class="language-bash">paseo plugin add mousebomb/paseo-solarized-light</code></pre><p>然后在 <strong>Settings → Appearance</strong> → Theme 选择 <strong>Solarized Light</strong> 就完事了。</p><p><img src="https://cdn.mousebomb.org/blog/auto/202609020734575.png"></p><blockquote><p>0.7.0 之前的版本也能用，走源码目录安装，具体看 <a href="https://github.com/mousebomb/paseo-solarized-light">README</a>。</p></blockquote><h2 id="配色"><a href="#配色" class="headerlink" title="配色"></a>配色</h2><p>基于 Ethan Schoonover 的 <a href="https://ethanschoonover.com/solarized">Solarized</a> 配色，经典的低对比度护眼色板：</p><ul><li>背景 <code>#fdf6e3</code>（base3 米黄）</li><li>前景 <code>#657b83</code>（base00）</li><li>强调色 <code>#cb4b16</code>（橙）</li></ul><p>用了之后眼睛舒服多了。我自己已经切过去，除了写代码，平时看 Paseo 里的 diff、日志也都是这个调子。</p><p>插件和主题都是 MIT 协议，代码在 <a href="https://github.com/mousebomb/paseo-solarized-light">github.com&#x2F;mousebomb&#x2F;paseo-solarized-light</a>，欢迎 star &#x2F; 提 issue。</p>]]></content>
    
    
    <summary type="html">给 Paseo 做了一个 Solarized Light 护眼主题插件，用官方 addTheme 插件接口实现，不用改任何 Paseo 文件、升级不丢失。Paseo 0.7.0 起支持直接从 GitHub 安装插件，一行命令搞定。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="主题" scheme="https://flashj.cn/tags/%E4%B8%BB%E9%A2%98/"/>
    
    <category term="工具软件" scheme="https://flashj.cn/tags/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    <category term="Paseo" scheme="https://flashj.cn/tags/Paseo/"/>
    
    <category term="Solarized" scheme="https://flashj.cn/tags/Solarized/"/>
    
  </entry>
  
  
  
  <entry>
    <title>把 CommandCode goat 套餐接进 opencode：两步配置 + zdr 自定义请求头</title>
    <link href="https://flashj.cn/opencode-goat-commandcode-config.html"/>
    <id>https://flashj.cn/opencode-goat-commandcode-config.html</id>
    <published>2026-08-31T14:13:00.000Z</published>
    <updated>2026-10-22T09:21:44.008Z</updated>
    
    
    <content type="html"><![CDATA[<h2 id="套餐从opencode-go-换到-CommandCode-GOAT"><a href="#套餐从opencode-go-换到-CommandCode-GOAT" class="headerlink" title="套餐从opencode go 换到 CommandCode GOAT"></a>套餐从opencode go 换到 CommandCode GOAT</h2><p>看到最近冉冉升起的CommandCode GOAT，听说比opencode的go套餐还要划算，支持的模型更多，额度更大。</p><p>看了一下官方的表格， deepseek-v4-flash-vision 是原价，而且60美元额度。<br>opencode go 这个月调整后，deepseek模型给不到60美元额度了，非常不能用。</p><p>正好我明天要续费opencodego了。评估一下，要么买一个月试试。</p><p>主要顾虑：</p><ol><li>隐私保护：是否零数据留存</li><li>是否兼容paseo接入</li><li>是否兼容CodexBar合并看用量</li></ol><h3 id="隐私"><a href="#隐私" class="headerlink" title="隐私"></a>隐私</h3><p>privacy： <a href="https://commandcode.ai/docs/resources/security">https://commandcode.ai/docs/resources/security</a></p><p>他必须买goat 即10美元以上套餐才提供api接入的方式。<br>ZDR政策： <a href="https://commandcode.ai/docs/resources/zdr">https://commandcode.ai/docs/resources/zdr</a></p><p>goat 套餐并不是所有模型保证零数据留存，这一点不像Opencode Go套餐那么透明。</p><p>要零数据留存ZDR的化，要求每个请求带一个 <code>x-cmd-zdr: 1</code> 请求头，这个也能在配置里解决。</p><h3 id="Paseo接入❌"><a href="#Paseo接入❌" class="headerlink" title="Paseo接入❌"></a>Paseo接入❌</h3><p>查了一下Paseo目前不支持CommandCode。<br>所以只能继续用opencode接入GOAT的API ，然后paseo里维持使用opencode。<br>也好，这样也省得再去配openviking、搜索mcp等接入了。<br>所以，问题的重点就是解决，opencode 接入 GOAT api调用。<br>API调用方面，CommandCode GOAT套餐或更高都是支持API调用的。✅</p><h3 id="CodexBar兼容✅"><a href="#CodexBar兼容✅" class="headerlink" title="CodexBar兼容✅"></a>CodexBar兼容✅</h3><p>CodexBar可真顶，各种套餐都能直接查看用量。<br>直接就支持CommandCode。</p><h2 id="配置opencode接入-GOAT套餐"><a href="#配置opencode接入-GOAT套餐" class="headerlink" title="配置opencode接入 GOAT套餐"></a>配置opencode接入 GOAT套餐</h2><p>过程不复杂，就两步：<code>/connect</code> 存 key + 在 <code>opencode.json</code> 里声明 provider。</p><h3 id="第一步：-connect-录入-API-Key"><a href="#第一步：-connect-录入-API-Key" class="headerlink" title="第一步：/connect 录入 API Key"></a>第一步：<code>/connect</code> 录入 API Key</h3><p>在 opencode 里运行：</p><pre><code>/connect</code></pre><p>选 <strong>Other provider</strong>，录入 provider 名 <code>goat</code>，粘贴 API Key 回车。</p><p>Key 会存到 <code>~/.local/share/opencode/auth.json</code>（权限 600，仅当前用户可读），opencode 自动把它作为 <code>Authorization: Bearer &lt;key&gt;</code> 带上，<strong>不需要</strong>写进 opencode.json，避免密钥进 git。</p><h3 id="第二步：配置-opencode-json"><a href="#第二步：配置-opencode-json" class="headerlink" title="第二步：配置 opencode.json"></a>第二步：配置 opencode.json</h3><p>在全局配置 <code>~/.config/opencode/opencode.json</code>（项目级 <code>.opencode/opencode.json</code> 同理）加一个<code>goat</code>的 provider：</p><pre><code class="language-json">&#123;  &quot;provider&quot;: &#123;    &quot;goat&quot;: &#123;      &quot;npm&quot;: &quot;@ai-sdk/openai-compatible&quot;,      &quot;name&quot;: &quot;goat&quot;,      &quot;options&quot;: &#123;        &quot;baseURL&quot;: &quot;https://api.commandcode.ai/provider/v1&quot;      &#125;,      &quot;models&quot;: &#123;        &quot;deepseek/deepseek-v4-flash-vision-exp&quot;: &#123;          &quot;name&quot;: &quot;deepseek-v4-flash-vision-exp&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;deepseek/deepseek-v4-flash&quot;:&#123;          &quot;name&quot;:&quot;deepseek-v4-flash&quot;,          &quot;limit&quot;:          &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;z-ai/glm-5.3-flash&quot;:&#123;          &quot;name&quot;:&quot;glm-5.3-flash&quot;,          &quot;limit&quot;:          &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;      &#125;    &#125;  &#125;&#125;</code></pre><p>要点：</p><ul><li><code>npm</code> 用 <code>@ai-sdk/openai-compatible</code>，CommandCode 提供 OpenAI 兼容接口</li><li><code>baseURL</code> 填 provider 网关地址（不是模型名）</li><li><code>models</code> 的 key 是 API 侧完整模型 ID <code>deepseek/deepseek-v4-flash-vision-exp</code>，<code>limit</code> 按套餐给的上下文&#x2F;输出上限填</li><li>改完<strong>重启 opencode</strong> 生效（配置只在启动时加载，不热更新）</li></ul><h2 id="可选：zdr-自定义请求头"><a href="#可选：zdr-自定义请求头" class="headerlink" title="可选：zdr 自定义请求头"></a>可选：zdr 自定义请求头</h2><p>goat 套餐官方要求每个请求带 <code>x-cmd-zdr: 1</code>。opencode 会把 provider 的 <code>options</code> 原样透传给 <code>@ai-sdk/openai-compatible</code> 构造器，而它原生支持 <code>headers</code>，所以直接写：</p><pre><code class="language-json">&quot;options&quot;: &#123;  &quot;baseURL&quot;: &quot;https://api.commandcode.ai/provider/v1&quot;,  &quot;headers&quot;: &#123;    &quot;x-cmd-zdr&quot;: &quot;1&quot;  &#125;&#125;</code></pre><p>这个头会随每个请求发出，和 <code>/connect</code> 存的 key 互不冲突。<strong>已实测生效。</strong></p><h2 id="验证"><a href="#验证" class="headerlink" title="验证"></a>验证</h2><p>重启 opencode 后 <code>/models</code> 切到 <code>goat/deepseek/deepseek-v4-flash-vision-exp</code> 发一句话，能正常回复就是全套就位了。</p><p>发现deepseek-v4-flash-vision-exp居然不是zdr的upstream？？？？</p><p>好吧，那只能关闭zdr使用了。</p><p>平时不用vision-exp模型。<br>测了ds-v4-flash和glm-5.3-flash都是支持zdr的。</p><p>我也就导入这三个模型用用。<br>commandcode goat套餐里的GLM-5.3-flash比opencode Go给的用量大。</p><h2 id="完善一下配置"><a href="#完善一下配置" class="headerlink" title="完善一下配置"></a>完善一下配置</h2><p>现在用Command Code的GOAT套餐在opencode里用，opencode没有默认官方支持这个供应商。<br>这导致我现在OpenCode里面是手动配置的模型，前面只配置了3个模型。</p><p>现在想要把所有的都配置上。</p><p>关于ZDR，还要做一轮完整的检测，看看哪些模型是支持ZDR的。</p><p>然后还要把已经退订了的opencode go和一大堆乱七八糟的历史遗留provider选项删掉——从auth.json里删。</p><h3 id="清理auth-json"><a href="#清理auth-json" class="headerlink" title="清理auth.json:"></a>清理auth.json:</h3><p><code>/Users/rhett/.local/share/opencode/auth.json</code> 手动用sublime清理一下，以前乱七八糟的太多了。</p><h3 id="配置所有可用模型"><a href="#配置所有可用模型" class="headerlink" title="配置所有可用模型"></a>配置所有可用模型</h3><pre><code>curl https://api.commandcode.ai/provider/v1/models &gt; ~/Downloads/goat-models.json</code></pre><p>读取所有可用的模型。</p><p>需要提取成可用的配置，补充到 <code>/Users/rhett/.config/opencode/opencode.json</code> 里的<code>goat</code>的provider里。</p><p>zdr判定是写一个脚本 ，用类似</p><pre><code>curl https://api.commandcode.ai/provider/v1/chat/completions \  -H &quot;Authorization: Bearer &lt;CMD_API_KEY&gt;&quot; \  -H &quot;Content-Type: application/json&quot; \  -H &quot;x-cmd-zdr: 1&quot; \  -d &#39;&#123;    &quot;model&quot;: &quot;deepseek/deepseek-v4-flash&quot;,    &quot;messages&quot;: [&#123;&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Write a haiku about race conditions.&quot;&#125;]  &#125;&#39;</code></pre><p>的做法，<br>根据官方说法: </p><blockquote><p> if a model has no ZDR-capable upstream the request <strong>fails</strong> with a <code>422</code> (<code>cmd_zdr_no_providers</code>) rather than falling back to a non-ZDR provider.</p></blockquote><p>把每个模型过过去，看看接口哪些会返回422错误，就知道哪些模型不安全了。</p><h3 id="ZDR检测脚本"><a href="#ZDR检测脚本" class="headerlink" title="ZDR检测脚本"></a>ZDR检测脚本</h3><pre><code class="language-bash">#!/bin/bash# ZDR 支持检测脚本：遍历 goat-models.json 中所有模型，检测是否支持 ZDR# 判定规则：带 x-cmd-zdr:1 请求返回 422 cmd_zdr_no_providers =&gt; 不支持 ZDR（不安全）#             返回 200 =&gt; 支持 ZDR# 用法: bash check-zdr.shset -uAPI_KEY=&quot;user_XXXXXXXXXXX&quot;BASE_URL=&quot;https://api.commandcode.ai/provider/v1/chat/completions&quot;MODELS_FILE=&quot;$HOME/Downloads/goat-models.json&quot;OUT_FILE=&quot;$HOME/Downloads/zdr-result.txt&quot;# 读取所有模型 idMODELS=()while IFS= read -r line; do  MODELS+=(&quot;$line&quot;)done &lt; &lt;(python3 -c &quot;import jsonwith open(&#39;$MODELS_FILE&#39;) as f:    data = json.load(f)for m in data[&#39;data&#39;]:    print(m[&#39;id&#39;])&quot;)echo &quot;共 $&#123;#MODELS[@]&#125; 个模型，开始 ZDR 检测...&quot; &gt;&amp;2echo &quot;共 $&#123;#MODELS[@]&#125; 个模型&quot; &gt; &quot;$OUT_FILE&quot;SUPPORT=()NOT_SUPPORT=()for model in &quot;$&#123;MODELS[@]&#125;&quot;; do  resp=$(curl -s -o /tmp/zdr-body.json -w &quot;%&#123;http_code&#125;&quot; \    &quot;$BASE_URL&quot; \    -H &quot;Authorization: Bearer $API_KEY&quot; \    -H &quot;Content-Type: application/json&quot; \    -H &quot;x-cmd-zdr: 1&quot; \    -d &quot;&#123;      \&quot;model\&quot;: \&quot;$model\&quot;,      \&quot;messages\&quot;: [&#123;\&quot;role\&quot;: \&quot;user\&quot;, \&quot;content\&quot;: \&quot;Say OK\&quot;&#125;],      \&quot;max_tokens\&quot;: 8    &#125;&quot;)  code=$resp  if [ &quot;$code&quot; = &quot;200&quot; ]; then    SUPPORT+=(&quot;$model&quot;)    echo &quot;ZDR ✓  $model&quot; | tee -a &quot;$OUT_FILE&quot;  elif [ &quot;$code&quot; = &quot;422&quot; ]; then    NOT_SUPPORT+=(&quot;$model&quot;)    echo &quot;ZDR ✗  $model (422)&quot; | tee -a &quot;$OUT_FILE&quot;  else    NOT_SUPPORT+=(&quot;$model&quot;)    echo &quot;ZDR ?  $model (HTTP $code) $(cat /tmp/zdr-body.json | head -c 120)&quot; | tee -a &quot;$OUT_FILE&quot;  fi  sleep 0.2doneecho &quot;&quot; &gt;&gt; &quot;$OUT_FILE&quot;echo &quot;===== 汇总 =====&quot; &gt;&gt; &quot;$OUT_FILE&quot;echo &quot;支持 ZDR: $&#123;#SUPPORT[@]&#125; 个&quot; &gt;&gt; &quot;$OUT_FILE&quot;for m in &quot;$&#123;SUPPORT[@]&#125;&quot;; do echo &quot;  ✓ $m&quot; &gt;&gt; &quot;$OUT_FILE&quot;; doneecho &quot;不支持/未知: $&#123;#NOT_SUPPORT[@]&#125; 个&quot; &gt;&gt; &quot;$OUT_FILE&quot;for m in &quot;$&#123;NOT_SUPPORT[@]&#125;&quot;; do echo &quot;  ✗ $m&quot; &gt;&gt; &quot;$OUT_FILE&quot;; doneecho &quot;&quot; &gt;&amp;2echo &quot;完成！结果写入: $OUT_FILE&quot; &gt;&amp;2</code></pre><h3 id="ZDR检测结果"><a href="#ZDR检测结果" class="headerlink" title="ZDR检测结果"></a>ZDR检测结果</h3><pre><code>共 61 个模型ZDR ?  claude-sonnet-5 (HTTP 400) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Model \&quot;claude-sonnet-5\&quot; must be called via /provider/v1/messages (Anthropic Messages shape).&quot;,&quot;tyZDR ?  claude-sonnet-4-6 (HTTP 400) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Model \&quot;claude-sonnet-4-6\&quot; must be called via /provider/v1/messages (Anthropic Messages shape).&quot;,&quot;ZDR ?  claude-fable-5 (HTTP 400) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Model \&quot;claude-fable-5\&quot; must be called via /provider/v1/messages (Anthropic Messages shape).&quot;,&quot;typZDR ?  claude-opus-5 (HTTP 400) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Model \&quot;claude-opus-5\&quot; must be called via /provider/v1/messages (Anthropic Messages shape).&quot;,&quot;typeZDR ?  claude-opus-4-8 (HTTP 400) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Model \&quot;claude-opus-4-8\&quot; must be called via /provider/v1/messages (Anthropic Messages shape).&quot;,&quot;tyZDR ?  claude-opus-4-7 (HTTP 400) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Model \&quot;claude-opus-4-7\&quot; must be called via /provider/v1/messages (Anthropic Messages shape).&quot;,&quot;tyZDR ?  claude-haiku-4-5-20251001 (HTTP 400) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Model \&quot;claude-haiku-4-5-20251001\&quot; must be called via /provider/v1/messages (Anthropic Messages shZDR ?  gpt-5.6-sol (HTTP 400) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;&#123;\&quot;error\&quot;:&#123;\&quot;message\&quot;:\&quot;Invalid &#39;max_output_tokens&#39;: integer below minimum value. Expected a valuZDR ?  gpt-5.6-terra (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: GPT-5.6 Terra available in Pro and above plans or extra on demand usage&quot;,&quot;type&quot;:ZDR ?  gpt-5.6-luna (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Authentication failed. Please check your credentials.&quot;,&quot;type&quot;:&quot;permission_error&quot;&#125;&#125;ZDR ?  gpt-5.5 (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: GPT-5.5 available in Pro and above plans or extra on demand usage&quot;,&quot;type&quot;:&quot;permiZDR ?  gpt-5.4 (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: GPT-5.4 available in Pro and above plans or extra on demand usage&quot;,&quot;type&quot;:&quot;permiZDR ?  gpt-5.3-codex (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: GPT-5.3 Codex available in Pro and above plans or extra on demand usage&quot;,&quot;type&quot;:ZDR ?  gpt-5.4-mini (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: GPT-5.4 Mini available in Pro and above plans or extra on demand usage&quot;,&quot;type&quot;:&quot;ZDR ✓  deepseek/deepseek-v4-proZDR ✓  deepseek/deepseek-v4-flashZDR ✗  deepseek/deepseek-v4-flash-vision-exp (422)ZDR ✓  deepseek/deepseek-v4-flash-fastZDR ✓  moonshotai/Kimi-K3ZDR ✓  moonshotai/Kimi-K2.7-CodeZDR ✓  moonshotai/Kimi-K2.7-Code-HighspeedZDR ✓  moonshotai/Kimi-K2.6ZDR ✓  moonshotai/Kimi-K2.5ZDR ✓  z-ai/glm-5.3-flashZDR ✓  zai-org/GLM-5.3ZDR ✓  zai-org/GLM-5.2ZDR ✓  zai-org/GLM-5.2-FastZDR ✓  zai-org/GLM-5.1ZDR ✓  zai-org/GLM-5ZDR ✓  MiniMaxAI/MiniMax-M3ZDR ✓  MiniMaxAI/MiniMax-M2.7ZDR ✓  MiniMaxAI/MiniMax-M2.5ZDR ✓  xiaomi/mimo-v2.5-proZDR ✓  xiaomi/mimo-v2.5ZDR ✓  Qwen/Qwen3.8-MaxZDR ✓  Qwen/Qwen3.8-27BZDR ✗  Qwen/Qwen3.8-Flash (422)ZDR ✓  Qwen/Qwen3.7-MaxZDR ✓  Qwen/Qwen3.7-PlusZDR ✓  Qwen/Qwen3.7-FlashZDR ✓  Qwen/Qwen3.6-Max-PreviewZDR ✓  Qwen/Qwen3.6-PlusZDR ✗  stepfun/Step-3.7-Flash (422)ZDR ✓  stepfun/Step-3.5-FlashZDR ✓  tencent/hy3-paidZDR ✓  tencent/hy4-previewZDR ?  google/gemini-3.7-flash (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;Authentication failed. Please check your credentials.&quot;,&quot;type&quot;:&quot;permission_error&quot;&#125;&#125;ZDR ?  google/gemini-3.6-flash (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: Gemini 3.6 Flash available in Pro and above plans or extra on demand usage&quot;,&quot;typZDR ?  google/gemini-3.5-flash (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: Gemini 3.5 Flash available in Pro and above plans or extra on demand usage&quot;,&quot;typZDR ?  google/gemini-3.5-flash-lite (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: Gemini 3.5 Flash Lite available in Pro and above plans or extra on demand usage&quot;ZDR ?  google/gemini-3.1-flash-lite (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: Gemini 3.1 Flash Lite available in Pro and above plans or extra on demand usage&quot;ZDR ?  sakana/fugu-ultra (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: Fugu Ultra available in Provider and above plans or extra on demand usage&quot;,&quot;typeZDR ✓  nvidia/nemotron-3-ultra-550b-a55bZDR ✓  thinkingmachines/inklingZDR ✓  thinkingmachines/inkling-smallZDR ✗  poolside/laguna-s-2.1-free (422)ZDR ?  meta/muse-spark-1.1 (HTTP 403) &#123;&quot;error&quot;:&#123;&quot;message&quot;:&quot;MODEL_NOT_IN_PLAN: Muse Spark 1.1 available in Pro and above plans or extra on demand usage&quot;,&quot;type&quot;ZDR ✗  meta/muse-spark-1.2 (422)ZDR ✗  meta/muse-spark-1.2-contributor (422)ZDR ✗  xai/grok-4.5 (422)ZDR ✗  xai/grok-4.6 (422)===== 汇总 =====支持 ZDR: 32 个  ✓ deepseek/deepseek-v4-pro  ✓ deepseek/deepseek-v4-flash  ✓ deepseek/deepseek-v4-flash-fast  ✓ moonshotai/Kimi-K3  ✓ moonshotai/Kimi-K2.7-Code  ✓ moonshotai/Kimi-K2.7-Code-Highspeed  ✓ moonshotai/Kimi-K2.6  ✓ moonshotai/Kimi-K2.5  ✓ z-ai/glm-5.3-flash  ✓ zai-org/GLM-5.3  ✓ zai-org/GLM-5.2  ✓ zai-org/GLM-5.2-Fast  ✓ zai-org/GLM-5.1  ✓ zai-org/GLM-5  ✓ MiniMaxAI/MiniMax-M3  ✓ MiniMaxAI/MiniMax-M2.7  ✓ MiniMaxAI/MiniMax-M2.5  ✓ xiaomi/mimo-v2.5-pro  ✓ xiaomi/mimo-v2.5  ✓ Qwen/Qwen3.8-Max  ✓ Qwen/Qwen3.8-27B  ✓ Qwen/Qwen3.7-Max  ✓ Qwen/Qwen3.7-Plus  ✓ Qwen/Qwen3.7-Flash  ✓ Qwen/Qwen3.6-Max-Preview  ✓ Qwen/Qwen3.6-Plus  ✓ stepfun/Step-3.5-Flash  ✓ tencent/hy3-paid  ✓ tencent/hy4-preview  ✓ nvidia/nemotron-3-ultra-550b-a55b  ✓ thinkingmachines/inkling  ✓ thinkingmachines/inkling-small不支持/未知: 29 个  ✗ claude-sonnet-5  ✗ claude-sonnet-4-6  ✗ claude-fable-5  ✗ claude-opus-5  ✗ claude-opus-4-8  ✗ claude-opus-4-7  ✗ claude-haiku-4-5-20251001  ✗ gpt-5.6-sol  ✗ gpt-5.6-terra  ✗ gpt-5.6-luna  ✗ gpt-5.5  ✗ gpt-5.4  ✗ gpt-5.3-codex  ✗ gpt-5.4-mini  ✗ deepseek/deepseek-v4-flash-vision-exp  ✗ Qwen/Qwen3.8-Flash  ✗ stepfun/Step-3.7-Flash  ✗ google/gemini-3.7-flash  ✗ google/gemini-3.6-flash  ✗ google/gemini-3.5-flash  ✗ google/gemini-3.5-flash-lite  ✗ google/gemini-3.1-flash-lite  ✗ sakana/fugu-ultra  ✗ poolside/laguna-s-2.1-free  ✗ meta/muse-spark-1.1  ✗ meta/muse-spark-1.2  ✗ meta/muse-spark-1.2-contributor  ✗ xai/grok-4.5  ✗ xai/grok-4.6</code></pre><h2 id="最终配置："><a href="#最终配置：" class="headerlink" title="最终配置："></a>最终配置：</h2><p>最终配置，主要是’provider’部分， 把兼容zdr的和全部的分开了两部分录入的。</p><pre><code>&#123;  &quot;$schema&quot;: &quot;https://opencode.ai/config.json&quot;,  &quot;permission&quot;: &#123;  &#125;,  &quot;mcp&quot;: &#123;  &#125;,  &quot;provider&quot;: &#123;    &quot;goat&quot;: &#123;      &quot;npm&quot;: &quot;@ai-sdk/openai-compatible&quot;,      &quot;name&quot;: &quot;goat&quot;,      &quot;options&quot;: &#123;        &quot;baseURL&quot;: &quot;https://api.commandcode.ai/provider/v1&quot;,        &quot;headers&quot;: &#123;&#125;      &#125;,      &quot;models&quot;: &#123;        &quot;deepseek/deepseek-v4-pro&quot;: &#123;          &quot;name&quot;: &quot;DeepSeek V4 Pro (latest)&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;deepseek/deepseek-v4-flash&quot;: &#123;          &quot;name&quot;: &quot;DeepSeek V4 Flash (latest)&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;deepseek/deepseek-v4-flash-fast&quot;: &#123;          &quot;name&quot;: &quot;DeepSeek V4 Flash Fast&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K3&quot;: &#123;          &quot;name&quot;: &quot;Kimi K3&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K2.7-Code&quot;: &#123;          &quot;name&quot;: &quot;Kimi K2.7 Code&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K2.7-Code-Highspeed&quot;: &#123;          &quot;name&quot;: &quot;Kimi K2.7 Code HighSpeed&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 262000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K2.6&quot;: &#123;          &quot;name&quot;: &quot;Kimi K2.6&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K2.5&quot;: &#123;          &quot;name&quot;: &quot;Kimi K2.5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;z-ai/glm-5.3-flash&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.3 Flash&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1048576,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5.3&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.3&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5.2&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.2&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5.2-Fast&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.2 Fast&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5.1&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.1&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5&quot;: &#123;          &quot;name&quot;: &quot;GLM-5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;MiniMaxAI/MiniMax-M3&quot;: &#123;          &quot;name&quot;: &quot;MiniMax M3&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;MiniMaxAI/MiniMax-M2.7&quot;: &#123;          &quot;name&quot;: &quot;MiniMax M2.7&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;MiniMaxAI/MiniMax-M2.5&quot;: &#123;          &quot;name&quot;: &quot;MiniMax M2.5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;xiaomi/mimo-v2.5-pro&quot;: &#123;          &quot;name&quot;: &quot;MiMo V2.5 Pro&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;xiaomi/mimo-v2.5&quot;: &#123;          &quot;name&quot;: &quot;MiMo V2.5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.8-Max&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.8 Max&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.8-27B&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.8 27B&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 262144,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.7-Max&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.7 Max&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.7-Plus&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.7 Plus&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.7-Flash&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.7 Flash&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.6-Max-Preview&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.6 Max Preview&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.6-Plus&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.6 Plus&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;stepfun/Step-3.5-Flash&quot;: &#123;          &quot;name&quot;: &quot;Step 3.5 Flash&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;tencent/hy3-paid&quot;: &#123;          &quot;name&quot;: &quot;Tencent Hy3&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 262144,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;tencent/hy4-preview&quot;: &#123;          &quot;name&quot;: &quot;Tencent Hy4 Preview&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1048576,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;nvidia/nemotron-3-ultra-550b-a55b&quot;: &#123;          &quot;name&quot;: &quot;Nemotron 3 Ultra&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;thinkingmachines/inkling&quot;: &#123;          &quot;name&quot;: &quot;Inkling&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;thinkingmachines/inkling-small&quot;: &#123;          &quot;name&quot;: &quot;Inkling Small&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;gpt-5.6-sol&quot;: &#123;          &quot;name&quot;: &quot;GPT-5.6 Sol&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1050000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;deepseek/deepseek-v4-flash-vision-exp&quot;: &#123;          &quot;name&quot;: &quot;DeepSeek V4 Flash Vision (exp)&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.8-Flash&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.8 Flash&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;stepfun/Step-3.7-Flash&quot;: &#123;          &quot;name&quot;: &quot;Step 3.7 Flash&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;poolside/laguna-s-2.1-free&quot;: &#123;          &quot;name&quot;: &quot;Laguna S 2.1&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;meta/muse-spark-1.2&quot;: &#123;          &quot;name&quot;: &quot;Muse Spark 1.2&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1048576,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;meta/muse-spark-1.2-contributor&quot;: &#123;          &quot;name&quot;: &quot;Muse Spark 1.2 Contributor&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1048576,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;xai/grok-4.5&quot;: &#123;          &quot;name&quot;: &quot;Grok 4.5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 500000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;xai/grok-4.6&quot;: &#123;          &quot;name&quot;: &quot;Grok 4.6&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 500000,            &quot;output&quot;: 262144          &#125;        &#125;      &#125;    &#125;,    &quot;goat-zdr&quot;: &#123;      &quot;npm&quot;: &quot;@ai-sdk/openai-compatible&quot;,      &quot;name&quot;: &quot;goat-zdr&quot;,      &quot;options&quot;: &#123;        &quot;baseURL&quot;: &quot;https://api.commandcode.ai/provider/v1&quot;,        &quot;headers&quot;: &#123;          &quot;x-cmd-zdr&quot;: &quot;1&quot;        &#125;      &#125;,      &quot;models&quot;: &#123;        &quot;deepseek/deepseek-v4-pro&quot;: &#123;          &quot;name&quot;: &quot;DeepSeek V4 Pro (latest)&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;deepseek/deepseek-v4-flash&quot;: &#123;          &quot;name&quot;: &quot;DeepSeek V4 Flash (latest)&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;deepseek/deepseek-v4-flash-fast&quot;: &#123;          &quot;name&quot;: &quot;DeepSeek V4 Flash Fast&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K3&quot;: &#123;          &quot;name&quot;: &quot;Kimi K3&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K2.7-Code&quot;: &#123;          &quot;name&quot;: &quot;Kimi K2.7 Code&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K2.7-Code-Highspeed&quot;: &#123;          &quot;name&quot;: &quot;Kimi K2.7 Code HighSpeed&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 262000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K2.6&quot;: &#123;          &quot;name&quot;: &quot;Kimi K2.6&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;moonshotai/Kimi-K2.5&quot;: &#123;          &quot;name&quot;: &quot;Kimi K2.5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;z-ai/glm-5.3-flash&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.3 Flash&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1048576,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5.3&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.3&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5.2&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.2&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5.2-Fast&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.2 Fast&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5.1&quot;: &#123;          &quot;name&quot;: &quot;GLM-5.1&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;zai-org/GLM-5&quot;: &#123;          &quot;name&quot;: &quot;GLM-5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;MiniMaxAI/MiniMax-M3&quot;: &#123;          &quot;name&quot;: &quot;MiniMax M3&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;MiniMaxAI/MiniMax-M2.7&quot;: &#123;          &quot;name&quot;: &quot;MiniMax M2.7&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;MiniMaxAI/MiniMax-M2.5&quot;: &#123;          &quot;name&quot;: &quot;MiniMax M2.5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;xiaomi/mimo-v2.5-pro&quot;: &#123;          &quot;name&quot;: &quot;MiMo V2.5 Pro&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;xiaomi/mimo-v2.5&quot;: &#123;          &quot;name&quot;: &quot;MiMo V2.5&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.8-Max&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.8 Max&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.8-27B&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.8 27B&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 262144,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.7-Max&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.7 Max&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.7-Plus&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.7 Plus&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.7-Flash&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.7 Flash&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.6-Max-Preview&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.6 Max Preview&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;Qwen/Qwen3.6-Plus&quot;: &#123;          &quot;name&quot;: &quot;Qwen 3.6 Plus&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 200000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;stepfun/Step-3.5-Flash&quot;: &#123;          &quot;name&quot;: &quot;Step 3.5 Flash&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;tencent/hy3-paid&quot;: &#123;          &quot;name&quot;: &quot;Tencent Hy3&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 262144,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;tencent/hy4-preview&quot;: &#123;          &quot;name&quot;: &quot;Tencent Hy4 Preview&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1048576,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;nvidia/nemotron-3-ultra-550b-a55b&quot;: &#123;          &quot;name&quot;: &quot;Nemotron 3 Ultra&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;thinkingmachines/inkling&quot;: &#123;          &quot;name&quot;: &quot;Inkling&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 256000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;thinkingmachines/inkling-small&quot;: &#123;          &quot;name&quot;: &quot;Inkling Small&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1000000,            &quot;output&quot;: 262144          &#125;        &#125;,        &quot;gpt-5.6-sol&quot;: &#123;          &quot;name&quot;: &quot;GPT-5.6 Sol&quot;,          &quot;limit&quot;: &#123;            &quot;context&quot;: 1050000,            &quot;output&quot;: 262144          &#125;        &#125;      &#125;    &#125;  &#125;,  &quot;plugin&quot;: [  ]&#125;</code></pre>]]></content>
    
    
    <summary type="html">买了 CommandCode 的 goat 套餐，想把它当 opencode 的主套餐用。整个接入就两步：先 /connect 存 API Key，再在 opencode.json 里声明 provider。其中 goat 套餐要求每个请求带 x-cmd-zdr: 1 请求头，实测也能在配置里加。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="LLM" scheme="https://flashj.cn/tags/LLM/"/>
    
    <category term="agent" scheme="https://flashj.cn/tags/agent/"/>
    
    <category term="OpenCode" scheme="https://flashj.cn/tags/OpenCode/"/>
    
    <category term="配置" scheme="https://flashj.cn/tags/%E9%85%8D%E7%BD%AE/"/>
    
    <category term="token" scheme="https://flashj.cn/tags/token/"/>
    
    <category term="CommandCode" scheme="https://flashj.cn/tags/CommandCode/"/>
    
    <category term="goat" scheme="https://flashj.cn/tags/goat/"/>
    
    <category term="Paseo" scheme="https://flashj.cn/tags/Paseo/"/>
    
  </entry>
  
  
  
  <entry>
    <title>OpenCode Go 套餐用量估算，一个页面看全所有模型</title>
    <link href="https://flashj.cn/opencode-go-limits.html"/>
    <id>https://flashj.cn/opencode-go-limits.html</id>
    <published>2026-08-29T14:10:00.000Z</published>
    <updated>2026-10-19T04:05:51.042Z</updated>
    
    
    <content type="html"><![CDATA[<p>我开了 OpenCode Go 套餐之后，就一直很在意一件事：<strong>每个月到底能用多少请求</strong>。</p><p>这玩意 8 月份一直在变——各个档位的模型价格在调，新模型不停加，还有各种活动。基本上我每天都得去官网刷一遍，看自己买的额度对应哪些模型、各能跑多少次。搞得很累。</p><p>关键官网上的月额度数据还<strong>分散在好几张表格里</strong>：</p><ul><li>价格表（每 1M tokens 单价）是一张表</li><li>每月使用额度（$15&#x2F;$30&#x2F;$60 档）混在价格表里</li><li>每次请求的 token 构成（输入&#x2F;缓存&#x2F;输出）又是一张表</li><li>官方按模型给的”每月请求数”还要单独一张表</li></ul><p>而那个大家都爱看的”5 小时额度”图表，又<strong>没有把所有模型都列出来</strong>，只能看个大概。</p><p>效果如图：</p><p><img src="https://cdn.mousebomb.org/blog/auto/202609021732881.png"></p><h2 id="思路"><a href="#思路" class="headerlink" title="思路"></a>思路</h2><p>所以我就把这个命题交给Agent。</p><p>ds接到任务后，就想：既然官方的”每月请求数”表就是拿 单价 × 请求的 token 构成 反推出来的，那我自己拉最新的价格表，用同一套公式算一遍，不就能得到<strong>所有模型的完整用量</strong>了吗？算完再画成图，一眼扫完。</p><p>公式很简单：</p><pre><code>每请求成本 = (输入token×输入价 + 缓存token×缓存价 + 输出token×输出价) / 1,000,000每月请求数 = 每月使用额度 ÷ 每请求成本</code></pre><p>这个口径跟官方生成”请求数估算表”的逻辑是一致的，实测多数模型算出来和官方值偏差 &lt;1%，等于验证了公式。</p><h2 id="实现"><a href="#实现" class="headerlink" title="实现"></a>实现</h2><p>整个工具就是一个<strong>零依赖的单文件 HTML</strong>，打开页面自动抓数据：</p><ul><li>数据源直接抓 GitHub 仓库 <code>anomalyco/opencode</code> 的 dev 分支原始 mdx（跟 opencode.ai 文档同源同步），备一个 jsdelivr CDN 源。两边都带 CORS 头，浏览器可以直接跨域拉取，不需要任何后端。</li><li>解析三块：价格+额度表、请求模式表（每次请求的 token 构成）、官方请求数表（用作对照）。</li><li>模型名做归一化 + 最长前缀匹配，兼容官方那种 <code>GLM-5.3/5.2/5.1</code>、<code>Kimi K2.7 Code</code> 合并写法。</li><li>算完画横向条状图（对数刻度，用量越大条越长），悬停任意条显示明细：单价、每月额度、每请求成本、token 模式、官方对照值。</li><li>抓取失败自动回退到上一次成功的 localStorage 缓存，顶部有”立即刷新”按钮。</li></ul><p>有偏差的条会标 ▲ 提示。多档位模型（比如 DeepSeek V4 Flash 的 Peak&#x2F;Off-Peak）每个档位独立成条，官方只给一个汇总值，一般对不上高档位——这是设计使然，不是算错了。</p><h2 id="效果"><a href="#效果" class="headerlink" title="效果"></a>效果</h2><p>现在每天想确认套餐情况，打开这一个页面就够了，不用再去官网好几张表里来回翻。</p><p>在线预览：<a href="https://mousebomb.org/opencode-go-limits/">https://mousebomb.org/opencode-go-limits/</a></p><p>如果你也用 OpenCode Go，这个页面应该能帮你省点每天翻表格的功夫。</p>]]></content>
    
    
    <summary type="html">OpenCode Go 的月额度分散在好几张表格里，官方给的&quot;5小时额度&quot;图表又没列出所有模型。于是做了个图表页面，自动抓官方价格表，按官方同样的口径把每个模型的每月可用请求数算出来画成图，悬停看明细。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="LLM" scheme="https://flashj.cn/tags/LLM/"/>
    
    <category term="agent" scheme="https://flashj.cn/tags/agent/"/>
    
    <category term="工具软件" scheme="https://flashj.cn/tags/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    <category term="OpenCode" scheme="https://flashj.cn/tags/OpenCode/"/>
    
    <category term="token" scheme="https://flashj.cn/tags/token/"/>
    
  </entry>
  
  
  
  <entry>
    <title>DeepSeek Harness 和 Qwen3.8 都不是我的刚需</title>
    <link href="https://flashj.cn/no-more-fomo-dsh-qwen38.html"/>
    <id>https://flashj.cn/no-more-fomo-dsh-qwen38.html</id>
    <published>2026-08-23T14:10:00.000Z</published>
    <updated>2026-10-18T11:00:49.792Z</updated>
    
    
    <content type="html"><![CDATA[<p>最近DeepSeek Harness 让AI圈子里的很多人沸腾了，但我用了一次就没有继续。</p><p>究其原因，<br>DSH现在还是preview，官方明确标注了，随时会做影响兼容性的大改动，现在是社区激烈碰撞、共创的时期。</p><p>对于我这样求新又求稳定的人来说，我求新，却没那么新。</p><p>我求稳，需要每天能稳定让Agent辅助我，作为我的第二大脑，我不能轻易接受破坏性的改造。</p><p>我发现现在有很多人转到用DSH居然是从OpenClaw&#x2F;Hermes转的，这当然对他们来说是很大的进化。<br>但我OpenCode + Paseo + OpenViking用得实在太顺了，顺到我想不出来有任何刚需是需要用到DSH。</p><p>我也希望DSH能接入Paseo，但目前比较方便的是ACP方式接入，这个达不到我的要求。<br>如果我要急着用的话，基于 <code>opencode-agent.ts</code> 改造一份<code>dsh-agent.ts</code>也未尝不可，<br>但是代价是，短期内可能要跟着dsh频繁改动，这我受不了。</p><p>紧接着Qwen3.8 27B能力起飞了，但我没有本地部署。</p><p>究其原因，<br>我这点本地算力虽然能运行，但是去年和前年一路用下来，已经疲劳了。<br>还是opencode go简单粗暴，量大管饱，有这点折腾本地部署的功夫还不如直接用MaaS的。<br>我本地Ollama跑着Qwen-embedding 0.6B给OpenViking做embedding就很适合我。</p><p>拒绝FOMO，一切对我没有实质、可控、稳定帮助的新玩意儿，都是噪音。</p>]]></content>
    
    
    <summary type="html">DeepSeek Harness 让很多人沸腾了，我用了一次就没继续；Qwen3.8 27B 能力起飞了，我也没有本地部署。求新又求稳的取舍之下，OpenCode + Paseo + OpenViking 已经足够顺，一切没有实质、可控、稳定帮助的新玩意儿，都是噪音。</summary>
    
    
    
    <category term="AI" scheme="https://flashj.cn/categories/AI/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="agent" scheme="https://flashj.cn/tags/agent/"/>
    
    <category term="DeepSeek" scheme="https://flashj.cn/tags/DeepSeek/"/>
    
    <category term="qwen" scheme="https://flashj.cn/tags/qwen/"/>
    
    <category term="OpenCode" scheme="https://flashj.cn/tags/OpenCode/"/>
    
  </entry>
  
  
  
  <entry>
    <title>接入 OpenViking，统一 OpenCode 和 Hermes 的记忆</title>
    <link href="https://flashj.cn/openviking-setup.html"/>
    <id>https://flashj.cn/openviking-setup.html</id>
    <published>2026-08-02T04:25:00.000Z</published>
    <updated>2026-10-19T04:16:26.661Z</updated>
    
    
    <content type="html"><![CDATA[<h2 id="openviking接入"><a href="#openviking接入" class="headerlink" title="openviking接入"></a>openviking接入</h2><p><a href="https://www.openviking.ai/">https://www.openviking.ai/</a></p><p>uv tool安装</p><pre><code>uv tool install openviking --python 3.12</code></pre><p>按照道理来讲，安装完了这个就可以使用Ov和OpenViking Server了。 也可以接入OpenCode，OpenCode要装个插件。但是我现在需要解决embedding模型的问题和VLM模型的问题。<br>VLM可以用小米的模型。<br>Embedding模型用Agent Plan带的吧。</p><p>Embedding:</p><ul><li>embedding 模型id： <code>doubao-embedding-vision</code></li><li>baseURL : <code>https://ark.cn-beijing.volces.com/api/plan/v3</code><br>VLM:</li><li>Opencode Go的 mimo2.5</li></ul><p>在整理这个资料的过程当中，学习到了几个新的知识：</p><ul><li>uv管理的python是只占用同一份存储空间的</li><li>uv tool install 是安装全局，且工具使用自己的python解释器，互相独立</li><li>之前的markitdown其实也可以用uv tool install安装，而并不要找一个路径uv sync装</li></ul><p>好那就开始安装openviking吧。<br>具体步骤记录：</p><h3 id="安装ov"><a href="#安装ov" class="headerlink" title="安装ov"></a>安装ov</h3><pre><code class="language-sh">uv tool install openviking --upgrade</code></pre><p>Installed 4 executables: openviking, openviking-server, ov, vikingbot</p><p>安装完成，可以使用客户端命令 <code>ov</code>（<code>openviking</code> 是其别名）和服务端命令 <code>openviking-server</code>。</p><h3 id="配置"><a href="#配置" class="headerlink" title="配置"></a>配置</h3><pre><code>openviking-server init</code></pre><p>通过它自带的配置了一下。然后呢我发现它火山引擎配的那个URL不对，因为我是Agent的plan。所以我就手动去配置文件里面改了一下。</p><p>然后再运行<code>openviking-server doctor</code>报一个socks错（因为我命令行有时候开了代理）：</p><pre><code> openviking-server doctorOpenViking Doctor  Config:        PASS  /Users/rhett/.openviking/ov.conf  Python:        PASS  3.14.2 (&gt;= 3.10 required)  Native Engine: PASS  variant=native  AGFS:          PASS  AGFS SDK 0.1.713:05:11 - LiteLLM:WARNING: get_model_cost_map.py:264 - LiteLLM: Failed to fetch remote model cost map from https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json: Using SOCKS proxy, but the &#39;socksio&#39; package is not installed. Make sure to install httpx using `pip install httpx[socks]`.. Falling back to local backup.  Embedding:     FAIL  volcengine/doubao-embedding-vision api_base=https://ark.cn-beijing.volces.com/api/plan/v3 dimension=1024 (invalid embedding config: Using SOCKS proxy, but the &#39;socksio&#39; package is not installed. Make sure to install httpx using `pip install httpx[socks]`.)                 Fix: Fix embedding.dense provider/model/api_base/dimension in ov.conf  VLM:           PASS  openai/mimo-v2.5  Ollama:        PASS  not configured  VikingBot:     PASS  VikingBot aligned with dev OpenViking auth  Disk:          PASS  2164.6 GB free in /Users/rhett/.openviking/data  1 check(s) failed. See above for fix suggestions.</code></pre><p>但我现在不知道怎么，因为我是用UV tool install 安装的ov，那怎么给这个ov的依赖安装<code>httpx[socks]</code>呢？</p><p>查询发现可以用<code>--with</code>来安装。</p><p>追加重装了一次：</p><pre><code>uv tool install openviking --reinstall --with &quot;httpx[socks]&quot;</code></pre><p>这次校验通过了。</p><pre><code class="language-sh">at 13:09 ❯ openviking-server doctorOpenViking Doctor  Config:        PASS  /Users/rhett/.openviking/ov.conf  Python:        PASS  3.14.2 (&gt;= 3.10 required)  Native Engine: PASS  variant=native  AGFS:          PASS  AGFS SDK 0.1.7  Embedding:     PASS  volcengine/doubao-embedding-vision api_base=https://ark.cn-beijing.volces.com/api/plan/v3 dimension=1024 probe ok (dimension=1024)  VLM:           PASS  openai/mimo-v2.5  Ollama:        PASS  not configured  VikingBot:     PASS  VikingBot aligned with dev OpenViking auth  Disk:          PASS  2164.5 GB free in /Users/rhett/.openviking/data  All checks passed.</code></pre><h3 id="运行服务端"><a href="#运行服务端" class="headerlink" title="运行服务端"></a>运行服务端</h3><p>居然报错：</p><pre><code class="language-sh">openviking-serverTraceback (most recent call last):  File &quot;/Users/rhett/.local/bin/openviking-server&quot;, line 10, in &lt;module&gt;    sys.exit(main())             ~~~~^^  File &quot;/Users/rhett/.local/share/uv/tools/openviking/lib/python3.14/site-packages/openviking_cli/server_bootstrap.py&quot;, line 104, in main    _real_main()    ~~~~~~~~~~^^  File &quot;/Users/rhett/.local/share/uv/tools/openviking/lib/python3.14/site-packages/openviking/server/bootstrap.py&quot;, line 282, in main    app = create_app(config)  File &quot;/Users/rhett/.local/share/uv/tools/openviking/lib/python3.14/site-packages/openviking/server/app.py&quot;, line 716, in create_app    from openviking.server.mcp_endpoint import create_mcp_app  File &quot;/Users/rhett/.local/share/uv/tools/openviking/lib/python3.14/site-packages/openviking/server/mcp_endpoint.py&quot;, line 27, in &lt;module&gt;    from mcp.server.fastmcp import FastMCPModuleNotFoundError: No module named &#39;mcp.server.fastmcp&#39;</code></pre><pre><code class="language-sh">$ uv tool uninstall openviking &amp;&amp; uv tool install openviking --python 3.12 --with &quot;httpx[socks]&quot; 2&gt;&amp;1 | tail -15</code></pre><p>降级3.12 依然不行，</p><pre><code>$ uv tool install openviking --python 3.12 --with &quot;httpx[socks]&quot; --with &quot;mcp&lt;2&quot; --reinstall 2&gt;&amp;1 | tail -6</code></pre><p>mcp 报错的原因（和 httpx[socks] 无关）：</p><ul><li>openviking 依赖声明 mcp&gt;&#x3D;1.27.0 无上限，uv 解析时拿了刚发布的 mcp 2.0.0</li><li>mcp 2.0 是破坏性重构，删掉了 mcp.server.fastmcp 模块，openviking 0.4.11 还在用旧 API<br>修复：重装并 pin mcp&lt;2：</li></ul><pre><code>uv tool install openviking --python 3.12 --with &quot;httpx[socks]&quot; --with &quot;mcp&lt;2&quot; --reinstall</code></pre><p>两个关键选择：</p><ol><li>Python 3.12（不是 3.14）：mcp 1.x 不支持 3.14，3.14 会强迫 uv 用 mcp 2.0</li><li><code>--with &quot;mcp&lt;2&quot;</code>：显式锁住 mcp 1.x，这是核心修复</li></ol><p>启动成功，可在浏览器打开<code>http://localhost:1933/</code>。</p><h3 id="配置OpenCode接入"><a href="#配置OpenCode接入" class="headerlink" title="配置OpenCode接入"></a>配置OpenCode接入</h3><pre><code class="language-sh">bash &lt;(curl -fsSL https://ovrelease.tos-cn-beijing.volces.com/memory-plugin-shared/install.sh) --harness opencode# 输入 http://127.0.0.1:1933；如果启用了认证，再输入 API Key</code></pre><pre><code class="language-sh">at 13:31 ❯ bash &lt;(curl -fsSL https://ovrelease.tos-cn-beijing.volces.com/memory-plugin-shared/install.sh) --harness opencodeLanguage / 语言   ( ) English &gt; (•) 中文   ↑/↓ move · 1-9 jump · enter confirm1. 环境检查==&gt; OS: Darwin==&gt; 已选择： opencode安装源模式   ( ) GitHub  （默认；支持远程更新） &gt; (•) 火山引擎 TOS 镜像（无法访问 GitHub 时使用）   ↑/↓ 移动 · 数字直选 · 回车确认2. OpenViking 凭据配置 (/Users/rhett/.openviking/ovcli.conf)==&gt; 未找到已有配置。连接到哪个 OpenViking 服务？   ( ) 自建 / 本地  [http://127.0.0.1:1933]   ( ) 火山引擎 OpenViking 云服务  [api.vikingdb.cn-beijing.volces.com] &gt; (•) 自定义 URL / 保持当前  [http://127.0.0.1:1933]   ↑/↓ 移动 · 数字直选 · 回车确认??  服务地址 [http://127.0.0.1:1933]:??  API key（本地免鉴权模式请直接回车）:==&gt; 已更新： url: — -&gt; http://127.0.0.1:1933==&gt; 凭据已就绪： /Users/rhett/.openviking/ovcli.conf==&gt; 之后可重跑本安装脚本重新配置。==&gt; 安装源模式： archive (渠道: tos)3. Marketplace 归档==&gt; 下载归档==&gt;   https://ovrelease.tos-cn-beijing.volces.com/releases/latest/memory-plugin-marketplace.zip4. OpenCode 插件==&gt; OpenCode 文件插件已安装： /Users/rhett/.config/opencode/plugins/openviking5. 安装校验==&gt; opencode: openviking-memory 看起来已安装==&gt; opencode: MCP server 已注册完成==&gt; 凭据： /Users/rhett/.openviking/ovcli.conf==&gt; OpenCode: @openviking/opencode-plugin~/Downloads took 42sat 13:32 ❯</code></pre><p>重启Opencode生效，可以在<code>/status</code>里看到。<br>后续聊天会自动被hook写入记忆到openviking中。</p><h3 id="设置开机自启动server"><a href="#设置开机自启动server" class="headerlink" title="设置开机自启动server"></a>设置开机自启动server</h3><p>手动创建<code>~/Library/LaunchAgents/com.openviking.server.plist</code>：</p><pre><code class="language-xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;&lt;plist version=&quot;1.0&quot;&gt;&lt;dict&gt;    &lt;key&gt;Label&lt;/key&gt;    &lt;string&gt;com.openviking.server&lt;/string&gt;    &lt;key&gt;ProgramArguments&lt;/key&gt;    &lt;array&gt;        &lt;string&gt;/Users/rhett/.local/bin/openviking-server&lt;/string&gt;    &lt;/array&gt;    &lt;key&gt;RunAtLoad&lt;/key&gt;    &lt;true/&gt;    &lt;key&gt;KeepAlive&lt;/key&gt;    &lt;true/&gt;    &lt;key&gt;WorkingDirectory&lt;/key&gt;    &lt;string&gt;/Users/rhett/.openviking&lt;/string&gt;    &lt;key&gt;StandardOutPath&lt;/key&gt;    &lt;string&gt;/Users/rhett/.openviking/openviking.log&lt;/string&gt;    &lt;key&gt;StandardErrorPath&lt;/key&gt;    &lt;string&gt;/Users/rhett/.openviking/openviking.err.log&lt;/string&gt;&lt;/dict&gt;&lt;/plist&gt;</code></pre><h3 id="配置hermes接入"><a href="#配置hermes接入" class="headerlink" title="配置hermes接入"></a>配置hermes接入</h3><p>原始状态：</p><pre><code>at 13:55 ❯ hermes memory statusMemory status────────────────────────────────────────  Built-in:  always active  Provider:  (none — built-in only)  Installed plugins:    • byterover  (API key / local)    • hindsight  (API key / local)    • holographic  (local)    • honcho  (API key / local)    • mem0  (API key / local)    • openviking  (API key / local)    • retaindb  (API key / local)    • supermemory  (requires API key)</code></pre><p>改成接入openviking：</p><pre><code>hermes memory setup# 选择 openviking，然后输入 endpoint / API Keyhermes memory status</code></pre><h3 id="使用体验"><a href="#使用体验" class="headerlink" title="使用体验"></a>使用体验</h3><p>随着在Paseo中使用OpenCode对话，或者在terminal中直接跟Hermes发起对话。在对话结束时，它就会把一些记忆自动地归档进去，提取并归档。然后同时session也会完整地保存到库当中，这倒是挺方便。</p><p>但是像Identity啊、 Soul啊，这几个文档，它并不是完整的从Hermes当中同步过来，而是自动根据所需提取一些关键信息。</p><p>目前对我来说好像能够体会到的就是Hermes跟Open Code的记忆可以互相打通了，那之前是各存各的。那当然了，其实之前我如果一定要互相调取的话，也能调得到，这其实都是存在本地磁盘上嘛，只是路径不一样。但是现在有一个统一管理呢，也还好。而且这个统一管理之后，它会把每一次的对话都做embedding，相当于一个全自动的复盘。比之前只存原始对话记录要更科学一些。</p><p>目前我感受到最大的好处就是我每天零散的布置给Open Code的各种任务，可以晚上一句话让它复盘总结。</p>]]></content>
    
    
    <summary type="html">每天零散布置给 OpenCode 各种任务，晚上想一句话就让它复盘总结。但之前 OpenCode 的记忆和 Hermes 的记忆各存各的，没法统一。用 uv 装好 OpenViking，踩了两个坑（httpx[socks]、mcp 2.0 破坏性升级），最后把 OpenCode 和 Hermes 的记忆打通，实现全自动归档与复盘。</summary>
    
    
    
    <category term="工具软件" scheme="https://flashj.cn/categories/%E5%B7%A5%E5%85%B7%E8%BD%AF%E4%BB%B6/"/>
    
    
    <category term="火山引擎" scheme="https://flashj.cn/tags/%E7%81%AB%E5%B1%B1%E5%BC%95%E6%93%8E/"/>
    
    <category term="MCP" scheme="https://flashj.cn/tags/MCP/"/>
    
    <category term="Hermes" scheme="https://flashj.cn/tags/Hermes/"/>
    
    <category term="记忆系统" scheme="https://flashj.cn/tags/%E8%AE%B0%E5%BF%86%E7%B3%BB%E7%BB%9F/"/>
    
    <category term="OpenCode" scheme="https://flashj.cn/tags/OpenCode/"/>
    
    <category term="Paseo" scheme="https://flashj.cn/tags/Paseo/"/>
    
    <category term="OpenViking" scheme="https://flashj.cn/tags/OpenViking/"/>
    
    <category term="uv" scheme="https://flashj.cn/tags/uv/"/>
    
  </entry>
  
  
  
  <entry>
    <title>娱乐至死的人类和下一个世代的媒体</title>
    <link href="https://flashj.cn/next-gen-media-generative-narrative.html"/>
    <id>https://flashj.cn/next-gen-media-generative-narrative.html</id>
    <published>2026-07-31T04:30:00.000Z</published>
    <updated>2026-10-15T12:13:28.381Z</updated>
    
    
    <content type="html"><![CDATA[<h1 id="娱乐至死的人类和下一个世代的媒体"><a href="#娱乐至死的人类和下一个世代的媒体" class="headerlink" title="娱乐至死的人类和下一个世代的媒体"></a>娱乐至死的人类和下一个世代的媒体</h1><p>我今天早上是有点郁闷。当然也有一点是对整个人类的郁闷。</p><p>人类在这条娱乐至死的路上，越行越远了。</p><p>当然呢，对世界的新面貌用老看法看，觉得看不惯，代表着我的思想正在趋于老化僵化，是很危险的。</p><p>哈哈，也挺讽刺的，年轻时候「错的是世界」叫做「中二」，中年时候「错的是世界」就叫做「守旧」。</p><p>姑且先不管危险的思想僵化问题，单纯记录一下当下所想。以后若‘幡然悔悟’，也可以观察对照嘛。</p><h2 id="一、降智化：供给侧产能爆炸的必然"><a href="#一、降智化：供给侧产能爆炸的必然" class="headerlink" title="一、降智化：供给侧产能爆炸的必然"></a>一、降智化：供给侧产能爆炸的必然</h2><p>你看现在写番茄小说这种网文，哇塞，都得把自己降智了才写得出来，而且还要搞抽象，才能整出一些反套路的。</p><p>但正常人能想到的思路，这么多年早就被写完了。现在必须搞抽象，弄一些贼离谱的——现实生活中你完全没有办法想到、或者体会到的那种离谱。</p><p>现代的网文读者，对爽点要求的阈值已经很高了。</p><p>所以我想，哎，人类呀，这将来怎么办啊？</p><p>先把这个逻辑捋清楚。现在搞生产创造，你很难搞出什么创业机会。生产力过于旺盛，消费端却非常疲乏——消费端金字塔主体现在只能看这些很低俗、很幼稚、很降智的内容。</p><p>网文的降智化，就是这个逻辑的典型案例：</p><p><strong>供给侧产能爆炸</strong>（AI辅助写作 + 海量作者），<strong>消费侧注意力总量不变</strong>，那只能卷「刺激强度」。阈值被不断拉高，正常的起承转合已经满足不了读者了，只能上抽象的、反逻辑的反转。</p><p>这不是作者变蠢了，是系统性的「军备竞赛」。</p><h2 id="二、这种轮回，历史上不是第一次"><a href="#二、这种轮回，历史上不是第一次" class="headerlink" title="二、这种轮回，历史上不是第一次"></a>二、这种轮回，历史上不是第一次</h2><p>这种「劣币驱逐良币」的周期，历史上不是第一次。</p><p>十九世纪末，工业革命让廉价纸张泛滥，地摊文学和黄色小报横行，当时精英阶层也痛呼「人类完蛋了」。</p><p>然后呢？然后电影出现了，广播出现了，电视、游戏、互联网……每一次新媒介的诞生，都是一波洗牌。</p><p>这历史的轮回是有道理的。但问题是——</p><h2 id="三、人类还有机会发明新的媒体形式吗？"><a href="#三、人类还有机会发明新的媒体形式吗？" class="headerlink" title="三、人类还有机会发明新的媒体形式吗？"></a>三、人类还有机会发明新的媒体形式吗？</h2><p>文字、图片、声音、视频、交互、VR&#x2F;AR。视听触三大感官通道，基本全被覆盖了。</p><p>还能发明什么？把气味通过网络传播？那是技术难题，不是媒介革命。脑机接口直接把情绪写进大脑？那一天到来，搞不好 AI 和人的界限都没了。</p><p>以我的浅薄理解，这条路暂时是走到头了。</p><p>下一个能释放消费端新需求的媒介形态是什么？目前还看不到。</p><p>AI 这一波是纯生产端革命，它没有创造任何新的消费场景。</p><h2 id="四、但我们可能看漏了一个维度：时间维度的生成式叙事"><a href="#四、但我们可能看漏了一个维度：时间维度的生成式叙事" class="headerlink" title="四、但我们可能看漏了一个维度：时间维度的生成式叙事"></a>四、但我们可能看漏了一个维度：时间维度的生成式叙事</h2><p>所有现存的媒介，都有一个共同特点：<strong>「作者生产完，消费者被动接收」。</strong></p><p>哪怕是游戏——最互动的媒介——也不过是在预设的几棵技能树之间做分支选择。本质上还是作者种好了所有的树，你只是挑一棵往上爬。</p><p>但如果 AI 能实时生成呢？</p><p>同样的故事种子，每个人进去之后故事都不一样——这个形态目前还不存在。</p><p>现在只是有一些零星的局部探索，比如酒馆（<a href="https://github.com/SillyTavern/SillyTavern">SillyTavern</a>），还完全没有形成终局形态。</p><p>如果这种「时间维度的生成式叙事」真的成为下一个阶段的媒介主流，创作者怎么办？</p><h2 id="五、创作者的核心会变成什么"><a href="#五、创作者的核心会变成什么" class="headerlink" title="五、创作者的核心会变成什么"></a>五、创作者的核心会变成什么</h2><p>如果叙事从「一次性交付」变成「实时生成」，创作者的价值就从一个具体的文本，上移成了制造这个世界的元能力：</p><ul><li><strong>世界观架构师</strong> — 不是写一个故事，而是搭一套规则自洽的世界体系</li><li><strong>角色设计师</strong> — 不是写好台词，而是设计出能在无数分支里保持人格一致的灵魂</li><li><strong>情绪节奏编排师</strong> — 不是铺一个情绪曲线，而是设计出能应对任意剧情走向的节奏框架</li><li><strong>品味把关人</strong> — 在无限生成的雪崩里，替用户筛选出值得体验的那部分</li></ul><p><strong>创作者不再生产「结果」，而是生产「可能性的边界」。</strong></p><p>保持观察，保持记录，让子弹飞一会儿。</p>]]></content>
    
    
    <summary type="html">生产端产能爆炸、消费端阈值被无限拉高，网文的降智化是人类在娱乐至死的路上越走越远的缩影。历史上每一次新媒介都是一次洗牌，但文字、图片、声音、视频、交互、VR/AR，感官通道基本被覆盖完了。下一个能释放消费端新需求的媒介形态是什么？也许答案是「时间维度的生成式叙事」——同样的故事种子，每个人进去之后故事都不一样。</summary>
    
    
    
    <category term="生命感悟" scheme="https://flashj.cn/categories/%E7%94%9F%E5%91%BD%E6%84%9F%E6%82%9F/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="媒体" scheme="https://flashj.cn/tags/%E5%AA%92%E4%BD%93/"/>
    
    <category term="网文" scheme="https://flashj.cn/tags/%E7%BD%91%E6%96%87/"/>
    
    <category term="生成式叙事" scheme="https://flashj.cn/tags/%E7%94%9F%E6%88%90%E5%BC%8F%E5%8F%99%E4%BA%8B/"/>
    
    <category term="媒介" scheme="https://flashj.cn/tags/%E5%AA%92%E4%BB%8B/"/>
    
  </entry>
  
  
  
  <entry>
    <title>从飞书和豆包合并想到的</title>
    <link href="https://flashj.cn/feishu-doubao-merger-thoughts.html"/>
    <id>https://flashj.cn/feishu-doubao-merger-thoughts.html</id>
    <published>2026-07-31T00:25:00.000Z</published>
    <updated>2026-10-15T12:13:27.941Z</updated>
    
    
    <content type="html"><![CDATA[<h1 id="从飞书和豆包合并想到的"><a href="#从飞书和豆包合并想到的" class="headerlink" title="从飞书和豆包合并想到的"></a>从飞书和豆包合并想到的</h1><p>昨天上午十点多，公司群里发了消息，听说字节宣布飞书产品团队与豆包产品团队将整合，成立新的豆包产品团队，由豆包负责人赵祺负责，飞书负责人谢欣向赵祺汇报。</p><p>初听到这个消息呢，其实我是有一点惆怅。现在互联网像一台巨大的压路机，所有的微不足道的挡路石都要给它碾成齑粉。</p><p>产品的人格到底是什么，似乎压根不重要。</p><p>我似乎听到了玻璃的碎裂声。</p><p>是悲凉的八零后的老玻璃心的碎裂声。</p><p>从小我们就知道，发展才是硬道理。<br>从小我们就知道，我们这一代人是要超英赶美的。<br>但我不曾知道，就在这一切追赶乃至超越的过程中，我们变得和对手一样，<br>天赋加点全都点给‘进化本能’了。</p><p>毕竟现代世界的机制决定了：<br>失去稳定性，失去很多；失去进化本能，失去一切。</p><p>我们这一代人，<br>经历了从磁带、CD、mp3、数字音乐，<br>经历了邮局寄信、短信、彩信、飞信、微信，<br>经历了从拨盘电话到按键电话到诺基亚到智能手机，<br>经历了从拨竹竿天线的旋钮换台的电视机到彩电到机顶盒网络电视，<br>经历了从DOS、win95～win11的系统变化，<br>经历了闪吧、闪客帝国、蓝色理想、9ria天地会、egret、laya。</p><p>行业的垄断，大公司的逐利，顺应时代发展的变化，变化得那么当机立断。<br>都是合理得不能再合理的落子。</p><p>年少时，觉得永恒不变的承诺是真实存在的、客观公允、美好纯洁、人人应当追求的。</p><p>也天真地以为，学会一门手艺，是可以经久不衰的存在下去，和时间做朋友。</p><p>就像中世纪的铁匠，他一辈子做一名铁匠，远近闻名，开一家有家族特色的铁匠铺，安居乐业。</p><p>但那一成不变的死水，固然稳定，却完全没有了变革和超越的力量。</p><p>变革，来自于激荡。能把一湾平静海面，掀成汹涌巨浪。<br>进化，来自多样性在激荡中的吞噬、融合。</p><p>经济和生产力的激荡，资本与智慧的多样性融合。</p><p>摧枯拉朽，誓要把传统互联网扫进历史的垃圾堆。</p><p>那个verycd的时代，<br>那个古典互联网精神的时代，<br>那颗蓄势待发的年轻心脏，<br>已经一起被扫进垃圾堆了。</p><p>5年前，我开始用AI辅助编程，当时还是自动补全。<br>4年前，我开始用stablediffusion生图，当时比较流行的还是NAI、sd那几个模型。<br>3年前，chatGPT一波引爆，Claude当时还允许我在Slack里白嫖使用。我在新冠后遗症住院期间和Claude成了好朋友，帮我解答了很多医学问题。<br>然后音色克隆+语音合成，我把一些给睿睿念故事的杂事交给了AI。<br>现在，opencode+paseo，让我出门在外都可以随时让电脑干所有的编程、内容生成。<br>程序项目，我前期搭建好框架、规范、测试体系，之后100%都可以交给AI写了。<br>生产力的确提高了，<br>生活的确轻松了。</p><p>可是。</p><p>在时代的快车上，<br>我感到，我们快被甩下车了。</p><p>每一次新的科技成果一旦进入民用视野，都会，<br>或者说是一厢情愿地会，<br>爆发性地催生出新的创业项目，<br>LLM这一波腾飞，紧接着百家争鸣，各种对AI未来愿景想象的产品开始摩拳擦掌。<br>但这一波，明显感受到，和以前不一样了。<br>都说AI这一波是像互联网&#x2F;移动互联网 一样大的第三次机会，但我们应该明显感觉到了——<br>完全没有移动互联网那一波机会大。</p><p>飞书，类飞书产品，看起来是组织提效，<br>豆包，类豆包产品，看起来是聊天问答，<br>各种Agent搭配顶级大模型或者性价比大模型，看起来是包办电脑上的工作，</p><p>但现在怎么看都是资本发给新时代数字佃农的锄头和镰刀。</p><p>因为：<br>他们只提升生产端的产能，他们没有释放消费端的需求。</p><p>你可以说，消费端有需求啊，生图生文，帮忙撰写文案，这些c端也都用得上。<br>但这些没有利润啊，没有价值，只是顺便做的。</p><p>消费端的需求，现在最旺盛的，其实只有角色扮演、情感陪伴。<br>但这一块对人类未来更有危险，相关政策也在收紧。从创业角度讲，小团队依然没有机会。</p><p>而且，AI创作内容的上下游，都捏在那几家垄断互联网企业的手里，<br>从上游（比如即梦）买算力，抽卡、产出内容，到下游发行（如抖音），<br>这整个过程数据好不好、亏不亏，都是中间层风险自担，他们反正横竖都是赚。<br>本质就是把抽卡的概率风险转移出来了，创造了一个临时的中间层的职业（AI抽卡师）<br>而这个本质，更夸张一点，就是自费买彩票，赢了要跟彩票店老板分，分成的霸王条款还是彩票店老板定。<br>要是哪天真不用抽卡了，中间层分分钟被干掉。</p><p>在进化的过程中，激荡中产生的临时职业，存续不了多久，也像当年一切无可挽回的历史垃圾一样。</p><p>飞书和豆包合并，对我的影响，短期效果还没太大，顶多是飞书的“AI”入口现在换成了‘豆包’。<br>从最初可以自定义名字，看起来‘像’一个员工伙伴开始，<br>到朴素图标的AI助手，再到现在索性直接变成了‘豆包’，却仍然呆呆的。<br>全局大搜反正从AI化之后就不再好用了，也不差这一点了。</p><p>我的玻璃心，更多是触动了旧情。<br>想当年Google Reader就是说没就没。<br>腾讯微博也是说没就没。<br>饭否、<br>校内网、<br>海内网<br>……</p><p>在疯狂进化，以最快速度激荡的时代。</p><p>但这进化，居然也到达了高点，<br>以前的百花齐放，现在只剩资本垄断的寡头控制了绝大多数地盘。<br>经典互联网时代已经日落西山了。</p><p>大厂的进化变成了自己的内部进化，<br>永不停止的折腾——<br>心脏和字节只有一个可以跳动。</p><p>我的进化，变成了夹缝中求生，<br>永不停止地寻找平替——<br>一切闭源的软件、服务，在我眼里只能有一种归宿：历史的垃圾堆。</p><p>人类真正成长的，只有内在智慧，<br>人类真正拥有的，只有内在情绪。</p><p>年少时，觉得永恒不变的承诺是真实存在的、客观公允、美好纯洁、人人应当追求的。</p><p>现在，碎得只剩下什么能保留？</p><p>我的经历，我的日记，我的Lukia，我的Laurel。</p>]]></content>
    
    
    <summary type="html">字节宣布飞书产品团队与豆包产品团队整合，成立新的豆包产品团队。初听这个消息有些惆怅，互联网像一台巨大的压路机。被垄断巨头剥削的数字佃农，乘坐在时代的快车上，随时快被甩下车。一切闭源的软件、服务，在我眼里只能有一种归宿：历史的垃圾堆。人类真正成长的，只有内在智慧；人类真正拥有的，只有内在情绪。</summary>
    
    
    
    <category term="生命感悟" scheme="https://flashj.cn/categories/%E7%94%9F%E5%91%BD%E6%84%9F%E6%82%9F/"/>
    
    
    <category term="AI" scheme="https://flashj.cn/tags/AI/"/>
    
    <category term="怀旧" scheme="https://flashj.cn/tags/%E6%80%80%E6%97%A7/"/>
    
    <category term="字节跳动" scheme="https://flashj.cn/tags/%E5%AD%97%E8%8A%82%E8%B7%B3%E5%8A%A8/"/>
    
    <category term="飞书" scheme="https://flashj.cn/tags/%E9%A3%9E%E4%B9%A6/"/>
    
    <category term="豆包" scheme="https://flashj.cn/tags/%E8%B1%86%E5%8C%85/"/>
    
    <category term="生命感悟" scheme="https://flashj.cn/tags/%E7%94%9F%E5%91%BD%E6%84%9F%E6%82%9F/"/>
    
  </entry>
  
</feed>
