MCP从入门到实战
MCP基本通信格式1. 初始化request { "jsonrpc": "2.0", "id": 1, "method": "initialize", "params": { "protocolVersion"...
MCP基本通信格式1. 初始化request { "jsonrpc": "2.0", "id": 1, "method": "initialize", "params": { "protocolVersion"...
安装依赖包npm install d3 基础图形绘制导入: import * as d3 from 'd3'; 1. 矩形const svg = d3.select('.d3-box').append('svg').attr('width', 200).attr('height',...
前言所谓脚手架,就是提前写好一些固定的文件模板,所以你需要先上传自己的模板到git仓库 配置文件config.js这个里面可以写你所有项目模板 const projectList = { vueRouter: "https://github.com/ConsoleLZ/vue-router-cli.git" }; module.exports...
import MiniSearch from 'minisearch' const tokenizer = (str) => { // 分词逻辑,返回完整的单词以及单词的部分片段 const words = str.match(/[\u4e00-\u9fa5]+|[a-zA-Z0-9]+/g) || []; const subStrings ...
基本配置const owner = "ConsoleLZ"; // 仓库所有者 const repo = "githubAPI"; // 仓库名称 const accessToken = "???"; // GitHub 个人访问令牌 const branch = 'main' // 仓库分支 获取文件sha值...