Skip to content

Commit f42a71d

Browse files
committed
fix: use @mcpc-tech npm package names in CLI defaults
1 parent 1cf6e0f commit f42a71d

File tree

3 files changed

+31
-9
lines changed

3 files changed

+31
-9
lines changed

deno.lock

Lines changed: 25 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/deno.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mcpc/cli",
3-
"version": "0.1.39",
3+
"version": "0.1.42",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/mcpc-tech/mcpc.git"
@@ -15,7 +15,7 @@
1515
"@mcpc-tech/plugin-code-execution": "npm:@mcpc-tech/plugin-code-execution@^0.0.8",
1616
"@mcpc/core": "jsr:@mcpc/core@^0.3.31",
1717
"@mcpc/core/plugins/skills": "jsr:@mcpc/core@^0.3.31/plugins/skills",
18-
"@mcpc/plugin-markdown-loader": "jsr:@mcpc/plugin-markdown-loader@^0.0.7",
18+
"@mcpc-tech/plugin-markdown-loader": "npm:@mcpc-tech/plugin-markdown-loader@^0.0.7",
1919
"@mcpc/utils": "jsr:@mcpc/utils@^0.2.12",
2020
"@modelcontextprotocol/sdk": "npm:@modelcontextprotocol/sdk@^1.8.0",
2121
"@mcpc-tech/ripgrep-napi": "npm:@mcpc-tech/ripgrep-napi@^0.0.4",

packages/cli/src/defaults.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
import { createLargeResultPlugin } from "@mcpc/core/plugins/large-result";
66
import { createSkillsPlugin } from "@mcpc/core/plugins/skills";
7-
import {
8-
codeExecutionPlugin,
9-
createCodeExecutionPlugin,
10-
} from "@mcpc-tech/plugin-code-execution";
7+
import { createCodeExecutionPlugin } from "@mcpc-tech/plugin-code-execution";
8+
import { markdownLoaderPlugin } from "@mcpc-tech/plugin-markdown-loader";
119
import type { ComposeDefinition, ToolPlugin } from "@mcpc/core";
1210
import { resolve } from "node:path";
1311
import process from "node:process";
@@ -28,7 +26,7 @@ export function getGlobalPlugins(
2826
// Resolve relative paths to absolute paths
2927
const resolvedPaths = skillsPaths.map((p) => resolve(process.cwd(), p));
3028
return [
31-
"@mcpc/plugin-markdown-loader",
29+
markdownLoaderPlugin(),
3230
createSkillsPlugin({ paths: resolvedPaths }),
3331
];
3432
}
@@ -54,7 +52,7 @@ export function getDefaultAgents(): ComposeDefinition[] {
5452
description: "",
5553
plugins: [
5654
createLargeResultPlugin({}),
57-
codeExecutionPlugin,
55+
createCodeExecutionPlugin(),
5856
],
5957
options: {
6058
mode: "code_execution",

0 commit comments

Comments
 (0)