@musistudio/claude-code-router 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +136 -24
- package/blog/images/alipay.jpg +0 -0
- package/blog/images/wechat.jpg +0 -0
- package/dist/cli.js +3455 -2325
- package/package.json +1 -1
- package/plugins/notebook-tools-filter.js +7 -0
- package/plugins/toolcall-improvement.js +8 -0
- package/blog/en/some-of-my-practical-experience.md +0 -0
- package/blog/images/explain-project-2.png +0 -0
- package/blog/images/explain-project-3.png +0 -0
- package/blog/images/explain-project.png +0 -0
- package/blog/images/init-project.png +0 -0
- package/blog/zh//346/210/221/347/232/204/344/270/200/344/272/233/345/256/236/350/267/265.md +0 -12
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
module.exports = async function handle(req, res) {
|
|
2
|
+
if (req?.body?.tools?.length) {
|
|
3
|
+
req.body.system.push({
|
|
4
|
+
type: "text",
|
|
5
|
+
text: `## **Important Instruction:** \nYou must use tools as frequently and accurately as possible to help the user solve their problem.\nPrioritize tool usage whenever it can enhance accuracy, efficiency, or the quality of the response.`
|
|
6
|
+
})
|
|
7
|
+
}
|
|
8
|
+
};
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# 我的一些实践
|
|
2
|
-
|
|
3
|
-
在将Claude Code接入DeepSeek后,我开始尝试重度使用。
|
|
4
|
-
|
|
5
|
-
## 场景1. 解释项目中的某一功能是如何实现的。
|
|
6
|
-
首先需要执行/init命令,让Claude Code为该项目生成一个大纲。
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
执行完成之后会在项目根目录生成一个`CLAUDE.md`文件,此时就可以向Claude Code询问问题了。比如我向其询问`Claude Code Action`是如何工作的:
|
|
10
|
-

|
|
11
|
-

|
|
12
|
-

|