toolcraft 0.0.113 → 0.0.114
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/composition.json +2 -2
- package/dist/composition.json +2 -2
- package/node_modules/tiny-mcp-client/package.json +3 -0
- package/node_modules/toolcraft-schema/package.json +1 -1
- package/package.json +2 -2
- package/node_modules/tiny-mcp-client/.turbo/turbo-build.log +0 -7
- package/node_modules/tiny-mcp-client/scripts/build.mjs +0 -63
- package/node_modules/tiny-mcp-client/src/http-oauth.integration.test.ts +0 -796
- package/node_modules/tiny-mcp-client/src/http-oauth.test.ts +0 -922
- package/node_modules/tiny-mcp-client/src/index.ts +0 -94
- package/node_modules/tiny-mcp-client/src/internal.ts +0 -3904
- package/node_modules/tiny-mcp-client/src/jsonrpc-types.compile-check.ts +0 -66
- package/node_modules/tiny-mcp-client/src/mcp-client-http-transport.integration.test.ts +0 -222
- package/node_modules/tiny-mcp-client/src/mcp-client-sdk.test.ts +0 -1326
- package/node_modules/tiny-mcp-client/src/mcp-client-tiny-stdio-test-server-tools.test.ts +0 -143
- package/node_modules/tiny-mcp-client/src/mcp-lifecycle-types.compile-check.ts +0 -65
- package/node_modules/tiny-mcp-client/src/mcp-prompt-types.compile-check.ts +0 -66
- package/node_modules/tiny-mcp-client/src/mcp-resource-types.compile-check.ts +0 -70
- package/node_modules/tiny-mcp-client/src/mcp-tool-types.compile-check.ts +0 -127
- package/node_modules/tiny-mcp-client/src/mcp-transport-types.compile-check.ts +0 -75
- package/node_modules/tiny-mcp-client/src/mcp-utility-types.compile-check.ts +0 -181
- package/node_modules/tiny-mcp-client/src/mock-servers.test.ts +0 -980
- package/node_modules/tiny-mcp-client/src/oauth-discovery.ts +0 -578
- package/node_modules/tiny-mcp-client/src/package-runtime.test.ts +0 -25
- package/node_modules/tiny-mcp-client/src/transports.test.ts +0 -9018
- package/node_modules/tiny-mcp-client/src/utilities.test.ts +0 -372
- package/node_modules/tiny-mcp-client/tsconfig.json +0 -11
package/composition.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"name": "toolcraft",
|
|
81
|
-
"version": "0.0.
|
|
81
|
+
"version": "0.0.114",
|
|
82
82
|
"license": "MIT"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"name": "toolcraft-schema",
|
|
91
|
-
"version": "0.0.
|
|
91
|
+
"version": "0.0.114",
|
|
92
92
|
"license": "MIT"
|
|
93
93
|
}
|
|
94
94
|
]
|
package/dist/composition.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"name": "toolcraft",
|
|
81
|
-
"version": "0.0.
|
|
81
|
+
"version": "0.0.114",
|
|
82
82
|
"license": "MIT"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"name": "toolcraft-schema",
|
|
91
|
-
"version": "0.0.
|
|
91
|
+
"version": "0.0.114",
|
|
92
92
|
"license": "MIT"
|
|
93
93
|
}
|
|
94
94
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toolcraft",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.114",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"auth-store"
|
|
152
152
|
],
|
|
153
153
|
"optionalDependencies": {
|
|
154
|
-
"toolcraft-schema": "0.0.
|
|
154
|
+
"toolcraft-schema": "0.0.114",
|
|
155
155
|
"toolcraft-design": "^0.0.2",
|
|
156
156
|
"@poe-code/frontmatter": "*",
|
|
157
157
|
"@poe-code/agent-mcp-config": "*",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
npm warn Unknown project config "link-workspace-packages". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
|
|
2
|
-
npm warn Unknown project config "package-manager-strict". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
|
|
3
|
-
npm warn Unknown project config "prefer-workspace-packages". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
|
|
4
|
-
|
|
5
|
-
> tiny-mcp-client@0.1.0 build
|
|
6
|
-
> node scripts/build.mjs
|
|
7
|
-
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { execFileSync } from "node:child_process";
|
|
2
|
-
import { createRequire } from "node:module";
|
|
3
|
-
import { cp, mkdir, mkdtemp, rm } from "node:fs/promises";
|
|
4
|
-
import os from "node:os";
|
|
5
|
-
import path from "node:path";
|
|
6
|
-
import { fileURLToPath } from "node:url";
|
|
7
|
-
import { build } from "esbuild";
|
|
8
|
-
import { rollup } from "rollup";
|
|
9
|
-
import { dts } from "rollup-plugin-dts";
|
|
10
|
-
import { assertSafeOutputDirectory } from "../../../scripts/guard-package-dist.mjs";
|
|
11
|
-
|
|
12
|
-
const require = createRequire(import.meta.url);
|
|
13
|
-
const packageDir = path.dirname(path.dirname(fileURLToPath(import.meta.url)));
|
|
14
|
-
const packagesDir = path.dirname(packageDir);
|
|
15
|
-
const distDir = path.join(packageDir, "dist");
|
|
16
|
-
const temporaryDir = await mkdtemp(path.join(os.tmpdir(), "tiny-mcp-client-build-"));
|
|
17
|
-
|
|
18
|
-
const declarationAliases = new Map([
|
|
19
|
-
["mcp-oauth", path.join(packagesDir, "mcp-oauth", "dist", "index.d.ts")],
|
|
20
|
-
["auth-store", path.join(packagesDir, "auth-store", "dist", "index.d.ts")]
|
|
21
|
-
]);
|
|
22
|
-
|
|
23
|
-
const inlineWorkspaceDeclarations = {
|
|
24
|
-
name: "inline-workspace-declarations",
|
|
25
|
-
resolveId(source) {
|
|
26
|
-
return declarationAliases.get(source) ?? null;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
try {
|
|
31
|
-
await assertSafeOutputDirectory(packageDir, distDir);
|
|
32
|
-
await rm(distDir, { recursive: true, force: true });
|
|
33
|
-
execFileSync(
|
|
34
|
-
process.execPath,
|
|
35
|
-
[require.resolve("typescript/bin/tsc"), "--emitDeclarationOnly"],
|
|
36
|
-
{ cwd: packageDir, stdio: "inherit" }
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
const declarationBundle = await rollup({
|
|
40
|
-
input: path.join(distDir, "index.d.ts"),
|
|
41
|
-
external: (source) => source.startsWith("node:"),
|
|
42
|
-
plugins: [inlineWorkspaceDeclarations, dts()]
|
|
43
|
-
});
|
|
44
|
-
await declarationBundle.write({
|
|
45
|
-
file: path.join(temporaryDir, "index.d.ts"),
|
|
46
|
-
format: "es"
|
|
47
|
-
});
|
|
48
|
-
await declarationBundle.close();
|
|
49
|
-
|
|
50
|
-
await rm(distDir, { recursive: true, force: true });
|
|
51
|
-
await mkdir(distDir, { recursive: true });
|
|
52
|
-
await build({
|
|
53
|
-
entryPoints: [path.join(packageDir, "src", "index.ts")],
|
|
54
|
-
outfile: path.join(distDir, "index.js"),
|
|
55
|
-
bundle: true,
|
|
56
|
-
format: "esm",
|
|
57
|
-
platform: "node",
|
|
58
|
-
target: "node18"
|
|
59
|
-
});
|
|
60
|
-
await cp(path.join(temporaryDir, "index.d.ts"), path.join(distDir, "index.d.ts"));
|
|
61
|
-
} finally {
|
|
62
|
-
await rm(temporaryDir, { recursive: true, force: true });
|
|
63
|
-
}
|