newtype-profile 1.0.4 → 1.0.6
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/dist/cli/index.js +1 -1
- package/dist/index.js +12 -16
- package/dist/mcp/filesystem.d.ts +2 -2
- package/dist/mcp/firecrawl.d.ts +2 -2
- package/dist/mcp/index.d.ts +3 -9
- package/dist/mcp/sequential-thinking.d.ts +2 -2
- package/dist/mcp/tavily.d.ts +2 -8
- package/dist/mcp/types-local.d.ts +12 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2253,7 +2253,7 @@ var require_picocolors = __commonJS((exports, module) => {
|
|
|
2253
2253
|
var require_package = __commonJS((exports, module) => {
|
|
2254
2254
|
module.exports = {
|
|
2255
2255
|
name: "newtype-profile",
|
|
2256
|
-
version: "1.0.
|
|
2256
|
+
version: "1.0.6",
|
|
2257
2257
|
description: "AI Agent Collaboration System for Content Creation - Based on oh-my-opencode",
|
|
2258
2258
|
main: "dist/index.js",
|
|
2259
2259
|
types: "dist/index.d.ts",
|
package/dist/index.js
CHANGED
|
@@ -51092,10 +51092,9 @@ var websearch = {
|
|
|
51092
51092
|
// src/mcp/tavily.ts
|
|
51093
51093
|
function createTavilyMcp(config3) {
|
|
51094
51094
|
return {
|
|
51095
|
-
type: "
|
|
51096
|
-
command: "npx",
|
|
51097
|
-
|
|
51098
|
-
env: {
|
|
51095
|
+
type: "local",
|
|
51096
|
+
command: ["npx", "-y", "tavily-mcp@latest"],
|
|
51097
|
+
environment: {
|
|
51099
51098
|
TAVILY_API_KEY: config3.api_key
|
|
51100
51099
|
},
|
|
51101
51100
|
enabled: true
|
|
@@ -51104,17 +51103,16 @@ function createTavilyMcp(config3) {
|
|
|
51104
51103
|
|
|
51105
51104
|
// src/mcp/firecrawl.ts
|
|
51106
51105
|
function createFirecrawlMcp(config3) {
|
|
51107
|
-
const
|
|
51106
|
+
const environment = {
|
|
51108
51107
|
FIRECRAWL_API_KEY: config3.api_key
|
|
51109
51108
|
};
|
|
51110
51109
|
if (config3.api_url) {
|
|
51111
|
-
|
|
51110
|
+
environment.FIRECRAWL_API_URL = config3.api_url;
|
|
51112
51111
|
}
|
|
51113
51112
|
return {
|
|
51114
|
-
type: "
|
|
51115
|
-
command: "npx",
|
|
51116
|
-
|
|
51117
|
-
env,
|
|
51113
|
+
type: "local",
|
|
51114
|
+
command: ["npx", "-y", "firecrawl-mcp"],
|
|
51115
|
+
environment,
|
|
51118
51116
|
enabled: true
|
|
51119
51117
|
};
|
|
51120
51118
|
}
|
|
@@ -51131,9 +51129,8 @@ function expandPath(p2) {
|
|
|
51131
51129
|
function createFilesystemMcp(config3) {
|
|
51132
51130
|
const expandedDirs = config3.directories.map(expandPath);
|
|
51133
51131
|
return {
|
|
51134
|
-
type: "
|
|
51135
|
-
command: "npx",
|
|
51136
|
-
args: ["-y", "@modelcontextprotocol/server-filesystem", ...expandedDirs],
|
|
51132
|
+
type: "local",
|
|
51133
|
+
command: ["npx", "-y", "@modelcontextprotocol/server-filesystem", ...expandedDirs],
|
|
51137
51134
|
enabled: true
|
|
51138
51135
|
};
|
|
51139
51136
|
}
|
|
@@ -51141,9 +51138,8 @@ function createFilesystemMcp(config3) {
|
|
|
51141
51138
|
// src/mcp/sequential-thinking.ts
|
|
51142
51139
|
function createSequentialThinkingMcp() {
|
|
51143
51140
|
return {
|
|
51144
|
-
type: "
|
|
51145
|
-
command: "npx",
|
|
51146
|
-
args: ["-y", "@modelcontextprotocol/server-sequential-thinking"],
|
|
51141
|
+
type: "local",
|
|
51142
|
+
command: ["npx", "-y", "@modelcontextprotocol/server-sequential-thinking"],
|
|
51147
51143
|
enabled: true
|
|
51148
51144
|
};
|
|
51149
51145
|
}
|
package/dist/mcp/filesystem.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { McpFilesystemConfig } from "./types";
|
|
2
|
-
import type {
|
|
3
|
-
export declare function createFilesystemMcp(config: McpFilesystemConfig):
|
|
2
|
+
import type { McpLocalConfig } from "./types-local";
|
|
3
|
+
export declare function createFilesystemMcp(config: McpFilesystemConfig): McpLocalConfig;
|
package/dist/mcp/firecrawl.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { McpFirecrawlConfig } from "./types";
|
|
2
|
-
import type {
|
|
3
|
-
export declare function createFirecrawlMcp(config: McpFirecrawlConfig):
|
|
2
|
+
import type { McpLocalConfig } from "./types-local";
|
|
3
|
+
export declare function createFirecrawlMcp(config: McpFirecrawlConfig): McpLocalConfig;
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { McpLocalConfig, McpRemoteConfig } from "./types-local";
|
|
2
2
|
import type { McpConfig } from "./types";
|
|
3
3
|
export { McpNameSchema, type McpName, McpConfigSchema, type McpConfig } from "./types";
|
|
4
|
-
export type
|
|
5
|
-
type
|
|
6
|
-
type: "remote";
|
|
7
|
-
url: string;
|
|
8
|
-
enabled: boolean;
|
|
9
|
-
headers?: Record<string, string>;
|
|
10
|
-
};
|
|
11
|
-
type AnyMcpConfig = RemoteMcpConfig | StdioMcpConfig;
|
|
4
|
+
export { type McpLocalConfig, type McpRemoteConfig } from "./types-local";
|
|
5
|
+
type AnyMcpConfig = McpRemoteConfig | McpLocalConfig;
|
|
12
6
|
export declare function createBuiltinMcps(disabledMcps?: string[], mcpConfig?: McpConfig): Record<string, AnyMcpConfig>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare function createSequentialThinkingMcp():
|
|
1
|
+
import type { McpLocalConfig } from "./types-local";
|
|
2
|
+
export declare function createSequentialThinkingMcp(): McpLocalConfig;
|
package/dist/mcp/tavily.d.ts
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { McpTavilyConfig } from "./types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
command: string;
|
|
5
|
-
args: string[];
|
|
6
|
-
env?: Record<string, string>;
|
|
7
|
-
enabled: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare function createTavilyMcp(config: McpTavilyConfig): StdioMcpConfig;
|
|
2
|
+
import type { McpLocalConfig } from "./types-local";
|
|
3
|
+
export declare function createTavilyMcp(config: McpTavilyConfig): McpLocalConfig;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type McpLocalConfig = {
|
|
2
|
+
type: "local";
|
|
3
|
+
command: string[];
|
|
4
|
+
environment?: Record<string, string>;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type McpRemoteConfig = {
|
|
8
|
+
type: "remote";
|
|
9
|
+
url: string;
|
|
10
|
+
headers?: Record<string, string>;
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
};
|