mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-07-05 12:12:00 +08:00
Compare commits
3 Commits
use-includ
...
@sveltejs/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f0390d0a9 | ||
|
|
c2c1b3e5e7 | ||
|
|
cdfbb907b6 |
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'@sveltejs/mcp': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
fix: turn off no-inspect in eslint for mcp
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'@sveltejs/opencode': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
feat: distribute skills through opencode plugin
|
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
# @sveltejs/mcp
|
# @sveltejs/mcp
|
||||||
|
|
||||||
|
## 0.1.20
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- fix: turn off no-inspect in eslint for mcp ([`2245cb2`](https://github.com/sveltejs/mcp/commit/2245cb2dc9e2d217869b6a800795ce59ffb40c51))
|
||||||
|
|
||||||
## 0.1.19
|
## 0.1.19
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@sveltejs/mcp",
|
"name": "@sveltejs/mcp",
|
||||||
"version": "0.1.19",
|
"version": "0.1.20",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"mcpName": "dev.svelte/mcp",
|
"mcpName": "dev.svelte/mcp",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"subfolder": "packages/mcp-stdio",
|
"subfolder": "packages/mcp-stdio",
|
||||||
"source": "github"
|
"source": "github"
|
||||||
},
|
},
|
||||||
"version": "0.1.19",
|
"version": "0.1.20",
|
||||||
"websiteUrl": "https://svelte.dev/docs/mcp/overview",
|
"websiteUrl": "https://svelte.dev/docs/mcp/overview",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
{
|
{
|
||||||
"registryType": "npm",
|
"registryType": "npm",
|
||||||
"identifier": "@sveltejs/mcp",
|
"identifier": "@sveltejs/mcp",
|
||||||
"version": "0.1.19",
|
"version": "0.1.20",
|
||||||
"runtimeHint": "npx",
|
"runtimeHint": "npx",
|
||||||
"transport": {
|
"transport": {
|
||||||
"type": "stdio"
|
"type": "stdio"
|
||||||
|
|||||||
@@ -1,5 +1,17 @@
|
|||||||
# @sveltejs/opencode
|
# @sveltejs/opencode
|
||||||
|
|
||||||
|
## 0.1.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- fix: actually push skills to right config path ([`c2c1b3e`](https://github.com/sveltejs/mcp/commit/c2c1b3e5e788b14eea17cd37a83ca55433cc4072))
|
||||||
|
|
||||||
|
## 0.1.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- feat: distribute skills through opencode plugin ([#151](https://github.com/sveltejs/mcp/pull/151))
|
||||||
|
|
||||||
## 0.0.3
|
## 0.0.3
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -13,7 +13,9 @@ export const svelte_plugin: Plugin = async (ctx) => {
|
|||||||
input.mcp ??= {};
|
input.mcp ??= {};
|
||||||
input.instructions ??= [];
|
input.instructions ??= [];
|
||||||
// @ts-expect-error -- types are wrong in the opencode package...will fix there and remove this
|
// @ts-expect-error -- types are wrong in the opencode package...will fix there and remove this
|
||||||
input.skills ??= [];
|
input.skills ??= {};
|
||||||
|
// @ts-expect-error -- types are wrong in the opencode package...will fix there and remove this
|
||||||
|
input.skills.paths ??= [];
|
||||||
// by default we use svelte as the name for the svelte MCP server
|
// by default we use svelte as the name for the svelte MCP server
|
||||||
let svelte_mcp_name = 'svelte';
|
let svelte_mcp_name = 'svelte';
|
||||||
// we loop over every mcp server to see if any of them is already the svelte MCP server
|
// we loop over every mcp server to see if any of them is already the svelte MCP server
|
||||||
@@ -40,7 +42,7 @@ export const svelte_plugin: Plugin = async (ctx) => {
|
|||||||
if (mcp_config.skills?.enabled !== false) {
|
if (mcp_config.skills?.enabled !== false) {
|
||||||
const skills_dir = join(current_dir, 'skills');
|
const skills_dir = join(current_dir, 'skills');
|
||||||
// @ts-expect-error -- skills is a new opencode feature
|
// @ts-expect-error -- skills is a new opencode feature
|
||||||
input.skills.push(skills_dir);
|
input.skills.paths.push(skills_dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the user doesn't have the MCP server already we add one based on config
|
// if the user doesn't have the MCP server already we add one based on config
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@sveltejs/opencode",
|
"name": "@sveltejs/opencode",
|
||||||
"version": "0.0.3",
|
"version": "0.1.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://github.com/sveltejs/mcp#readme",
|
"homepage": "https://github.com/sveltejs/mcp#readme",
|
||||||
|
|||||||
Reference in New Issue
Block a user