标题: 佬友们,俺开源了自己的第一个小“破”程序
作者: #张张小栈
板块: #开发调优
编号:
帖子: https://linux.do/t/topic/1741907
时间: 2026-03-12 17:28:24
摘要:
作者: #张张小栈
板块: #开发调优
编号:
1741907帖子: https://linux.do/t/topic/1741907
时间: 2026-03-12 17:28:24
摘要:
嗨,佬友们,俺开源了自己的第一个小“破”程序
目前采用纯前端编写,没有任何加密,原因emmm…
本人精力有限,更新太慢了,希望更多的人加入帮忙完善(如果你愿意的话)
在这不敢粘贴链接,因为项目介绍中有演示链接和公众号等内容,害怕被举报
给俺整怕了,沾一点就被举报违规推广…再举报俺就升不了三级了
在此粘贴几张网站页面,有兴趣的可以联系哦,谢谢
标题: cc 限制解除工具重置版(修复 any 无法使用工具搜索)
作者: #KINDNESS
板块: #开发调优
编号:
帖子: https://linux.do/t/topic/1741914
时间: 2026-03-12 17:29:13
摘要:
作者: #KINDNESS
板块: #开发调优
编号:
1741914帖子: https://linux.do/t/topic/1741914
时间: 2026-03-12 17:29:13
摘要:
仅适用于 npm 版本,原因是 cc 官方代码有逻辑错误,bun 版本没办法修改
py 脚本,复制代码使用
这个问题在 [BUG] API Error: MCP tools cannot have both defer_loading=true and cache_control set · Issue #30920 · anthropics/claude-code · GitHub 有提及,本脚本简化修改步骤,所以 any 无法使用的实质不是不支持,是 cc bug 了
#!/usr/bin/env python3
import os
import sys
sys.dont_write_bytecode = True
os.environ.setdefault(“PYTHONDONTWRITEBYTECODE”, “1”)
import platform
import re
import shutil
import subprocess
from pathlib import Path
SYSTEM = platform.system()
IS_WINDOWS = SYSTEM == “Windows”
BACKUP_SUFFIX = “.features-bak”
STATUS_ICON = {
“off”: “”,
“on”: “[*]”,
“partial”: “[~]”,
“unknown”: “[?]”,
}
STATUS_TEXT = {
“off”: “未开启”,
“on”: “已开启”,
“partial”: “部分”,
“unknown”: “不兼容”,
}
MCP_DEFER_CACHE_LABEL = “MCP defer_loading/cache_control 冲突修复”
WEBFETCH_BLOCKED_TARGET_RE = re.compile(
rb’if[A-Za-z_$][A-Za-z0-9_$]*\.data\.can_fetch===!0return[\s\S]{0,200}?{status:“allowed”};return{status:“blocked”}’
)
WEBFETCH_BLOCKED_PATCHED_RE = re.compile(
rb’if[A-Za-z_$][A-Za-z0-9_$]*\.data\.can_fetch===!0return[\s\S]{0,200}?{status:“allowed”};return{status:“allowed”}’
)
WEBFETCH_CHECK_FAILED_OLD = b’{status:“check_failed”,error:’
WEBFETCH_CHECK_FAILED_NEW = b’{status:“allowed”/* */,error:’
MCP_DEFER_CACHE_OLD = (
b’if(q.deferLoading)z.defer_loading=!0;’
b’if(q.cacheControl)z.cache_control=q.cacheControl;’
)
MCP_DEFER_CACHE_NEW = (
b’if(q.deferLoading)z.defer_loading=!0;’
b’else if(q.cacheControl)z.cache_control=q.cacheControl;’
)
def run_cmd(cmd: list[str], fallback: str = “”) → str:
try:
result = subprocess.run(
cmd,
capture_output=True,
text=True,
timeout=10,
check=False,
)
except Exception:
return fallback
return result.stdout.strip() if result.returncode == 0 else fallback
def run_cmd_lines(cmd: list[str]) → list[str]:
out = run_cmd(cmd)
return [line.strip() for line in out.splitlines() if line.strip()]
class Installation:
def init(self, target: Path, description: str):
self.kind = “npm”
self.target = self._resolve(target)
self.description = description
self.backup = self.target.parent / (self.target.name + BACKUP_SUFFIX)
@staticmethod
def _resolve(path: Path) -> Path:
try:
return path.resolve(strict=True)
except OSError:
return path
def display_path(self) -> str:
return str(self.target.name)
def backup_display_path(self) -> str:
return str(self.backup.name)
def __repr__(self) -> str:
return f"[{self.kind}] {self.description}\n 文件: {self.display_path()}"
class PatchItem:
def init(self, item_id: str, label: str, category: str):
self.item_id = item_id
self.label = label
self.category = category
def supports_close(self) -> bool:
return True
def note(self, data: bytes) -> str:
return ""
def status(self, data: bytes) -> str:
raise NotImplementedError
def apply(self, data: bytes) -> tuple[bytes, int]:
raise NotImplementedError
def revert(self, data: bytes) -> tuple[bytes, int]:
raise NotImplementedError
class RegexPatch(PatchItem):
def init(
self,
item_id: str,
label: str,
category: str,
target_re: re.Pattern[bytes],
patched_re: re.Pattern[bytes],
replace_fn,
revert_fn=None,
):
super().init(item_id, label, category)
self.target_re = target_re
self.patched_re = patched_re
self.replace_fn = replace_fn
self.revert_fn = revert_fn
def supports_close(self) -> bool:
return self.revert_fn is not None
def status(self, data: bytes) -> str:
has_target = bool(self.target_re.search(data))
has_patched = bool(self.patched_re.search(data))
if has_target and not has_patched:
return "off"
if has_patched and not has_target:
return "on"
if has_target and has_patched:
return "partial"
return "unknown"
def apply(self, data: bytes) -> tuple[bytes, int]:
count = 0
def _replace(match: re.Match[bytes]) -> bytes:
nonlocal count
count += 1
return self.replace_fn(match)
return self.target_r
标题: 身体经常出现半夜盗汗的情况,如何自救
作者: #sp11026
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741916
时间: 2026-03-12 17:29:35
摘要:
作者: #sp11026
板块: #搞七捻三
编号:
1741916帖子: https://linux.do/t/topic/1741916
时间: 2026-03-12 17:29:35
摘要:
也不是每天都这样,就是每周总有几天,半夜自己就醒了,然后前胸后背全部湿透,被子也湿了,全是汗,必须要晾小半小时才行。好怕啊,佬们遇到过这个问题吗,如何解决呢。
标题: 【抽奖】 今天开奖:gpt team位置*1
作者: #Baize111
板块: #福利羊毛
编号:
帖子: https://linux.do/t/topic/1741922
时间: 2026-03-12 17:30:31
摘要:
作者: #Baize111
板块: #福利羊毛
编号:
1741922帖子: https://linux.do/t/topic/1741922
时间: 2026-03-12 17:30:31
摘要:
今天开的车,无质保
抽奖主题: [GPT team*1]
奖品详情:
1个GPT team车位
活动时间:
开始时间:发帖时间
截止时间:Thu, Mar 12, 2026 8:30 PM CST
参与方式:
在本帖下回复任意内容即可
抽奖规则:
每位用户仅允许参与一次。
使用 官方抽奖工具 随机抽取中奖者。
注意事项:
本活动将在活动截止时间后关闭回帖,以确保公正性。
中奖者将在活动结束后5小时内在本帖公布,并通过论坛私聊方式通知领奖方式吗,公布后并私信12小时未得到回复则奖品作废。
所有规则及抽奖结果由活动发起人和论坛管理团队最终解释。
期待您的积极参与,祝您好运!如有任何疑问,欢迎随时联系抽奖发起人。
标题: 联通云4核8G限5000台
作者: #小寻子
板块: #福利羊毛
编号:
帖子: https://linux.do/t/topic/1741927
时间: 2026-03-12 17:31:16
摘要:
作者: #小寻子
板块: #福利羊毛
编号:
1741927帖子: https://linux.do/t/topic/1741927
时间: 2026-03-12 17:31:16
摘要:
标题: 好奇,能不能把Linux的网址填入Cursor
作者: #bzfkdsbdb
板块: #开发调优
编号:
帖子: https://linux.do/t/topic/1741929
时间: 2026-03-12 17:31:46
摘要:
作者: #bzfkdsbdb
板块: #开发调优
编号:
1741929帖子: https://linux.do/t/topic/1741929
时间: 2026-03-12 17:31:46
摘要:
好奇,能不能把Linux的网址填入Cursor的Docs中当知识库,Cursor会索引读取所有帖子吗?还是只会读取首页?如果想把某个网站当知识库填到Cursor的Docs中,怎么做才正确?
标题: (求助)为什么我帖子被删了没有收到任何提示
作者: #lovetay6
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741937
时间: 2026-03-12 17:32:23
摘要:
作者: #lovetay6
板块: #搞七捻三
编号:
1741937帖子: https://linux.do/t/topic/1741937
时间: 2026-03-12 17:32:23
摘要:
发现一个梯子机场网站大全(仅供参考)
这个帖子是我发的第一个帖子,然后我没有收到任何消息就被删了,
如果违规,希望删我帖子的人回复我下,就很奇怪.
我知道类别错了,我也看到好心的佬帮我改了下.我只是分享,不知道除了类别还有啥别的问题.
希望好心人帮忙解答下
标题: 佬u们怎么才能在GitHub多拿star啊
作者: #叼毛佬
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741938
时间: 2026-03-12 17:32:33
摘要:
作者: #叼毛佬
板块: #搞七捻三
编号:
1741938帖子: https://linux.do/t/topic/1741938
时间: 2026-03-12 17:32:33
摘要:
我把所有朋友都宣传一圈了star还是好少,怎么办
标题: 给饭搭子求一个邀请码
作者: #ITSource 每日分享
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741966
时间: 2026-03-12 17:36:48
摘要:
作者: #ITSource 每日分享
板块: #搞七捻三
编号:
1741966帖子: https://linux.do/t/topic/1741966
时间: 2026-03-12 17:36:48
摘要:
同事看我天天刷 L 站学习,非常羡慕,求了好久让我帮我求一个 L 站邀请码,有大佬可以私发我一个吗,替我同事谢谢佬了
标题: 分享scriptslug 著名电影原版剧本 pdf合集 解压hugo
作者: #Hugo
板块: #资源荟萃
编号:
帖子: https://linux.do/t/topic/1741974
时间: 2026-03-12 17:37:39
摘要:
作者: #Hugo
板块: #资源荟萃
编号:
1741974帖子: https://linux.do/t/topic/1741974
时间: 2026-03-12 17:37:39
摘要:
爬虫的
附带源码
链接:夸克网盘分享
提取码:ahAa
通过网盘分享的文件:
链接: 百度网盘 请输入提取码
标题: 反重力额度又又又砍了?
作者: #洗头佬
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741976
时间: 2026-03-12 17:37:50
摘要:
作者: #洗头佬
板块: #搞七捻三
编号:
1741976帖子: https://linux.do/t/topic/1741976
时间: 2026-03-12 17:37:50
摘要:
标题: AI 戒断反应
作者: #xp
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741980
时间: 2026-03-12 17:38:07
摘要:
作者: #xp
板块: #搞七捻三
编号:
1741980帖子: https://linux.do/t/topic/1741980
时间: 2026-03-12 17:38:07
摘要:
用好多天免费
之前都还好好的
现在动不动就排队,高频中断
唉~~~用不上流程的AI 浑身不舒服
标题: 【抽】独享IKUN25额度
作者: #南塔天
板块: #福利羊毛
编号:
帖子: https://linux.do/t/topic/1741982
时间: 2026-03-12 17:38:21
摘要:
作者: #南塔天
板块: #福利羊毛
编号:
1741982帖子: https://linux.do/t/topic/1741982
时间: 2026-03-12 17:38:21
摘要:
准确说是24.28,想试一下商业站只买了最小额,结果感觉不如a站
退款也找不到人
废物利用测试一下抽奖功能吧w
标题: 【求助】 codex 在vscode 中报错
作者: #echo
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741983
时间: 2026-03-12 17:38:33
摘要:
作者: #echo
板块: #搞七捻三
编号:
1741983帖子: https://linux.do/t/topic/1741983
时间: 2026-03-12 17:38:33
摘要:
codex 插件卸载也重新安装了 也不行
标题: 字节家的扣子平台有一键傻瓜式部署龙虾
作者: #好好睡觉
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741988
时间: 2026-03-12 17:40:00
摘要:
作者: #好好睡觉
板块: #搞七捻三
编号:
1741988帖子: https://linux.do/t/topic/1741988
时间: 2026-03-12 17:40:00
摘要:
三分钟一键傻瓜式 就是不知道token消耗的情况 字节也卖套餐 99一月 60万积分 不知道消耗情况咋样 好像这个消耗很厉害 有佬友尝试过吗
标题: new-api针对fast模式可以配置双倍价格吗
作者: #liheng
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741991
时间: 2026-03-12 17:40:21
摘要:
作者: #liheng
板块: #搞七捻三
编号:
1741991帖子: https://linux.do/t/topic/1741991
时间: 2026-03-12 17:40:21
摘要:
5.4开启了fast模式后,new-api是按双倍扣费还是原价扣费呢
标题: 鄙司又要all in AI,又不提供资源,感觉很不合理
作者: #ck yin
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1741997
时间: 2026-03-12 17:41:18
摘要:
作者: #ck yin
板块: #搞七捻三
编号:
1741997帖子: https://linux.do/t/topic/1741997
时间: 2026-03-12 17:41:18
摘要:
去年就做过调查,大家都用什么ide或者cli,每个月投入多少钱,我以为好日子即将到来,报销指日可待
然而并没有,已经过了几个月了,公司组织架构倒是进行了调整,研发算是缩编了的,但AI资源的成本却绝口不提
要不是因为既要又要,我特么何苦每天到处刷各种论坛,水各种群,找各种廉价资源
国内的小企业就是这个德性,时刻处于一种既要又要还要的状态
标题: openclaw使用GPT系列大模型走飞书通道发图片/文件报错Use target instead of to/channelId.
作者: #Coolry
板块: #开发调优
编号:
帖子: https://linux.do/t/topic/1742007
时间: 2026-03-12 17:42:35
摘要:
作者: #Coolry
板块: #开发调优
编号:
1742007帖子: https://linux.do/t/topic/1742007
时间: 2026-03-12 17:42:35
摘要:
{
"status": "error",
"tool": "message",
"error": "Use target instead of to/channelId."
}
openclaw接GPT(5.1/5.2/5.4(codex))
走飞书通道发图片/文件都会报上面的错误
稳定复现,求大佬们帮忙看看
但换到别的大模型就可以发出()标题: team价格这么贵了吗,还没质保了
作者: #s T
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1742010
时间: 2026-03-12 17:43:03
摘要:
作者: #s T
板块: #搞七捻三
编号:
1742010帖子: https://linux.do/t/topic/1742010
时间: 2026-03-12 17:43:03
摘要:
太难了,天才程序员之路也太难了
标题: 左右双吃,吃相难看
作者: #clhuahai
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1742015
时间: 2026-03-12 17:44:45
摘要:
作者: #clhuahai
板块: #搞七捻三
编号:
1742015帖子: https://linux.do/t/topic/1742015
时间: 2026-03-12 17:44:45
摘要: