@_davideast/stitch-mcp 0.5.3 → 0.5.5
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/chunk-18nfnnkg.js +947 -0
- package/dist/chunk-18nfnnkg.js.map +28 -0
- package/dist/chunk-1sgyj1qf.js +256 -0
- package/dist/chunk-1sgyj1qf.js.map +11 -0
- package/dist/chunk-1tzaa3zn.js +370 -0
- package/dist/chunk-1tzaa3zn.js.map +16 -0
- package/dist/chunk-2efzz3tw.js +10 -0
- package/dist/chunk-2efzz3tw.js.map +9 -0
- package/dist/chunk-2eq8thmz.js +31529 -0
- package/dist/chunk-2eq8thmz.js.map +245 -0
- package/dist/chunk-4xa2a5hb.js +19 -0
- package/dist/chunk-4xa2a5hb.js.map +9 -0
- package/dist/chunk-7vdj1qwb.js +2121 -0
- package/dist/chunk-7vdj1qwb.js.map +44 -0
- package/dist/chunk-7zyv8g2t.js +5216 -0
- package/dist/chunk-7zyv8g2t.js.map +67 -0
- package/dist/chunk-94xqpnv4.js +7 -0
- package/dist/chunk-94xqpnv4.js.map +9 -0
- package/dist/chunk-b43pzs3z.js +839 -0
- package/dist/chunk-b43pzs3z.js.map +11 -0
- package/dist/chunk-byzfppa1.js +759 -0
- package/dist/chunk-byzfppa1.js.map +19 -0
- package/dist/chunk-cjkw69md.js +94 -0
- package/dist/chunk-cjkw69md.js.map +10 -0
- package/dist/chunk-d92ngrr6.js +680 -0
- package/dist/chunk-d92ngrr6.js.map +17 -0
- package/dist/chunk-de74byjc.js +19 -0
- package/dist/chunk-de74byjc.js.map +9 -0
- package/dist/chunk-ewab4gg0.js +17 -0
- package/dist/chunk-ewab4gg0.js.map +9 -0
- package/dist/chunk-f0phn3y1.js +1495 -0
- package/dist/chunk-f0phn3y1.js.map +23 -0
- package/dist/chunk-f398cwqb.js +24 -0
- package/dist/chunk-f398cwqb.js.map +9 -0
- package/dist/chunk-fkzq5m59.js +111 -0
- package/dist/chunk-fkzq5m59.js.map +10 -0
- package/dist/chunk-gzk8pt16.js +44184 -0
- package/dist/chunk-gzk8pt16.js.map +237 -0
- package/dist/chunk-kme6y874.js +125 -0
- package/dist/chunk-kme6y874.js.map +12 -0
- package/dist/chunk-mw5wn97e.js +109 -0
- package/dist/chunk-mw5wn97e.js.map +10 -0
- package/dist/chunk-mxcybqhd.js +412 -0
- package/dist/chunk-mxcybqhd.js.map +20 -0
- package/dist/chunk-nep9nerg.js +137 -0
- package/dist/chunk-nep9nerg.js.map +10 -0
- package/dist/chunk-nrcb494d.js +50 -0
- package/dist/chunk-nrcb494d.js.map +9 -0
- package/dist/chunk-p9vvygz4.js +736 -0
- package/dist/chunk-p9vvygz4.js.map +16 -0
- package/dist/chunk-rd2ye9s7.js +17 -0
- package/dist/chunk-rd2ye9s7.js.map +9 -0
- package/dist/chunk-svk5y62j.js +164 -0
- package/dist/chunk-svk5y62j.js.map +10 -0
- package/dist/chunk-w3wh3zkf.js +269 -0
- package/dist/chunk-w3wh3zkf.js.map +10 -0
- package/dist/chunk-x1tt02n9.js +264 -0
- package/dist/chunk-x1tt02n9.js.map +12 -0
- package/dist/chunk-x7g5p1gv.js +66 -0
- package/dist/chunk-x7g5p1gv.js.map +10 -0
- package/dist/chunk-z7b1n864.js +246 -0
- package/dist/chunk-z7b1n864.js.map +14 -0
- package/dist/chunk-zcc6seqb.js +19132 -0
- package/dist/chunk-zcc6seqb.js.map +115 -0
- package/dist/commands/doctor/command.js +1 -1
- package/dist/commands/init/command.js +1 -1
- package/dist/commands/logout/command.js +1 -1
- package/dist/commands/proxy/command.js +1 -1
- package/dist/commands/screens/command.js +4 -4
- package/dist/commands/serve/command.js +5 -5
- package/dist/commands/site/command.js +1 -1
- package/dist/commands/snapshot/command.js +1 -1
- package/dist/commands/tool/command.js +1 -1
- package/dist/commands/view/command.js +1 -1
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/dist/ui/copy-behaviors/clipboard.d.ts +0 -7
- package/package.json +1 -3
|
@@ -57,7 +57,7 @@ var command = {
|
|
|
57
57
|
action: async (_args, options) => {
|
|
58
58
|
try {
|
|
59
59
|
const parsedOptions = DoctorOptionsSchema.parse(options);
|
|
60
|
-
const { DoctorHandler } = await import("../../chunk-
|
|
60
|
+
const { DoctorHandler } = await import("../../chunk-ewab4gg0.js");
|
|
61
61
|
const handler = new DoctorHandler;
|
|
62
62
|
const result = await handler.execute({
|
|
63
63
|
verbose: parsedOptions.verbose,
|
|
@@ -69,7 +69,7 @@ var command = {
|
|
|
69
69
|
action: async (_args, options) => {
|
|
70
70
|
try {
|
|
71
71
|
const parsedOptions = InitOptionsSchema.parse(options);
|
|
72
|
-
const { InitHandler } = await import("../../chunk-
|
|
72
|
+
const { InitHandler } = await import("../../chunk-rd2ye9s7.js");
|
|
73
73
|
const handler = new InitHandler;
|
|
74
74
|
const result = await handler.execute({
|
|
75
75
|
local: parsedOptions.local,
|
|
@@ -53,7 +53,7 @@ var command = {
|
|
|
53
53
|
action: async (_args, options) => {
|
|
54
54
|
try {
|
|
55
55
|
const parsedOptions = LogoutOptionsSchema.parse(options);
|
|
56
|
-
const { LogoutHandler } = await import("../../chunk-
|
|
56
|
+
const { LogoutHandler } = await import("../../chunk-z7b1n864.js");
|
|
57
57
|
const handler = new LogoutHandler;
|
|
58
58
|
const result = await handler.execute({
|
|
59
59
|
force: parsedOptions.force,
|
|
@@ -29,7 +29,7 @@ var command = {
|
|
|
29
29
|
action: async (_args, options) => {
|
|
30
30
|
try {
|
|
31
31
|
const parsedOptions = ProxyOptionsSchema.parse(options);
|
|
32
|
-
const { ProxyCommandHandler } = await import("../../chunk-
|
|
32
|
+
const { ProxyCommandHandler } = await import("../../chunk-kme6y874.js");
|
|
33
33
|
const handler = new ProxyCommandHandler;
|
|
34
34
|
const result = await handler.execute({
|
|
35
35
|
port: parsedOptions.port,
|
|
@@ -26,10 +26,10 @@ var command = {
|
|
|
26
26
|
try {
|
|
27
27
|
const parsedOptions = ScreensOptionsSchema.parse(options);
|
|
28
28
|
const { ScreensHandler } = await import("../../chunk-mbt1wx7n.js");
|
|
29
|
-
const { ScreensView } = await import("../../chunk-
|
|
30
|
-
const { stitch } = await import("../../chunk-
|
|
31
|
-
const { render } = await import("../../chunk-
|
|
32
|
-
const React = await import("../../chunk-
|
|
29
|
+
const { ScreensView } = await import("../../chunk-w3wh3zkf.js");
|
|
30
|
+
const { stitch } = await import("../../chunk-f398cwqb.js");
|
|
31
|
+
const { render } = await import("../../chunk-nrcb494d.js");
|
|
32
|
+
const React = await import("../../chunk-94xqpnv4.js");
|
|
33
33
|
const handler = new ScreensHandler(stitch);
|
|
34
34
|
const result = await handler.execute(parsedOptions.project);
|
|
35
35
|
if (!result.success) {
|
|
@@ -51,7 +51,7 @@ var command = {
|
|
|
51
51
|
action: async (_args, options) => {
|
|
52
52
|
try {
|
|
53
53
|
const parsedOptions = ServeOptionsSchema.parse(options);
|
|
54
|
-
const { stitch } = await import("../../chunk-
|
|
54
|
+
const { stitch } = await import("../../chunk-f398cwqb.js");
|
|
55
55
|
if (parsedOptions.listScreens) {
|
|
56
56
|
const input = ListScreensInputSchema.safeParse({ projectId: parsedOptions.project });
|
|
57
57
|
if (!input.success) {
|
|
@@ -69,7 +69,7 @@ var command = {
|
|
|
69
69
|
console.log(JSON.stringify({ success: false, error: { code: "INVALID_INPUT", message: input.error.issues[0]?.message } }, null, 2));
|
|
70
70
|
process.exit(1);
|
|
71
71
|
}
|
|
72
|
-
const { JsonServerHandler } = await import("../../chunk-
|
|
72
|
+
const { JsonServerHandler } = await import("../../chunk-x7g5p1gv.js");
|
|
73
73
|
const result2 = await new JsonServerHandler(stitch).execute(input.data);
|
|
74
74
|
console.log(JSON.stringify(result2, null, 2));
|
|
75
75
|
if (!result2.success)
|
|
@@ -78,9 +78,9 @@ var command = {
|
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
80
|
const { ServeHandler } = await import("../../chunk-w8075wyx.js");
|
|
81
|
-
const { ServeView } = await import("../../chunk-
|
|
82
|
-
const { render } = await import("../../chunk-
|
|
83
|
-
const React = await import("../../chunk-
|
|
81
|
+
const { ServeView } = await import("../../chunk-svk5y62j.js");
|
|
82
|
+
const { render } = await import("../../chunk-nrcb494d.js");
|
|
83
|
+
const React = await import("../../chunk-94xqpnv4.js");
|
|
84
84
|
const handler = new ServeHandler(stitch);
|
|
85
85
|
const result = await handler.execute(parsedOptions.project);
|
|
86
86
|
if (!result.success) {
|
|
@@ -35,7 +35,7 @@ var command = {
|
|
|
35
35
|
action: async (_args, options) => {
|
|
36
36
|
try {
|
|
37
37
|
const parsedOptions = SiteOptionsSchema.parse(options);
|
|
38
|
-
const { SiteCommandHandler } = await import("../../chunk-
|
|
38
|
+
const { SiteCommandHandler } = await import("../../chunk-1tzaa3zn.js");
|
|
39
39
|
const handler = new SiteCommandHandler;
|
|
40
40
|
await handler.execute({
|
|
41
41
|
projectId: parsedOptions.project,
|
|
@@ -34,7 +34,7 @@ var command = {
|
|
|
34
34
|
action: async (_args, options) => {
|
|
35
35
|
try {
|
|
36
36
|
const parsedOptions = SnapshotInputSchema.parse(options);
|
|
37
|
-
const { SnapshotHandler } = await import("../../chunk-
|
|
37
|
+
const { SnapshotHandler } = await import("../../chunk-1sgyj1qf.js");
|
|
38
38
|
const handler = new SnapshotHandler;
|
|
39
39
|
const result = await handler.execute({
|
|
40
40
|
command: parsedOptions.command,
|
|
@@ -34,7 +34,7 @@ var command = {
|
|
|
34
34
|
action: async (toolName, options) => {
|
|
35
35
|
try {
|
|
36
36
|
const parsedOptions = ToolOptionsSchema.parse(options);
|
|
37
|
-
const { ToolCommandHandler } = await import("../../chunk-
|
|
37
|
+
const { ToolCommandHandler } = await import("../../chunk-mxcybqhd.js");
|
|
38
38
|
const handler = new ToolCommandHandler;
|
|
39
39
|
const result = await handler.execute({
|
|
40
40
|
toolName,
|
|
@@ -35,7 +35,7 @@ var command = {
|
|
|
35
35
|
action: async (_args, options) => {
|
|
36
36
|
try {
|
|
37
37
|
const parsedOptions = ViewOptionsSchema.parse(options);
|
|
38
|
-
const { ViewCommandHandler } = await import("../../chunk-
|
|
38
|
+
const { ViewCommandHandler } = await import("../../chunk-nep9nerg.js");
|
|
39
39
|
const handler = new ViewCommandHandler;
|
|
40
40
|
await handler.execute(parsedOptions);
|
|
41
41
|
} catch (error) {
|
package/dist/index.js
CHANGED
|
@@ -2,21 +2,19 @@ import {
|
|
|
2
2
|
InitHandler,
|
|
3
3
|
McpConfigHandler,
|
|
4
4
|
ProjectHandler
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-f0phn3y1.js";
|
|
6
6
|
import {
|
|
7
7
|
DoctorHandler
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-byzfppa1.js";
|
|
9
9
|
import {
|
|
10
10
|
StitchHandler
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-18nfnnkg.js";
|
|
12
12
|
import {
|
|
13
13
|
GcloudHandler
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7zyv8g2t.js";
|
|
15
15
|
import"./chunk-nq68kghz.js";
|
|
16
16
|
import"./chunk-q6sv0243.js";
|
|
17
17
|
import"./chunk-f2hq6bfv.js";
|
|
18
|
-
import"./chunk-4jygt4d6.js";
|
|
19
|
-
import"./chunk-tz7wnw4s.js";
|
|
20
18
|
import"./chunk-kbtqrkwh.js";
|
|
21
19
|
import"./chunk-3sfn889r.js";
|
|
22
20
|
import"./chunk-c6ge431q.js";
|
|
@@ -30,4 +28,4 @@ export {
|
|
|
30
28
|
DoctorHandler
|
|
31
29
|
};
|
|
32
30
|
|
|
33
|
-
//# debugId=
|
|
31
|
+
//# debugId=6006AFA2A0FF8F3064756E2164756E21
|
package/dist/index.js.map
CHANGED
|
@@ -6,10 +6,6 @@ export declare function copyText(text: string): Promise<void>;
|
|
|
6
6
|
* Copy JSON-serialized value to clipboard
|
|
7
7
|
*/
|
|
8
8
|
export declare function copyJson(value: any): Promise<void>;
|
|
9
|
-
/**
|
|
10
|
-
* Download an image from URL and copy to clipboard.
|
|
11
|
-
* Uses platform-specific commands for image clipboard.
|
|
12
|
-
*/
|
|
13
9
|
/**
|
|
14
10
|
* Download an image from URL.
|
|
15
11
|
*/
|
|
@@ -19,9 +15,6 @@ export declare function downloadImage(url: string): Promise<ArrayBuffer>;
|
|
|
19
15
|
* Uses platform-specific commands for image clipboard.
|
|
20
16
|
*/
|
|
21
17
|
export declare function downloadAndCopyImage(url: string): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Download text content from URL and copy to clipboard.
|
|
24
|
-
*/
|
|
25
18
|
/**
|
|
26
19
|
* Download text content from URL.
|
|
27
20
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_davideast/stitch-mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Stitch MCP CLI helper. Automates Google Cloud authentication. Generates MCP config for your client. Sets up a proxy server.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"adm-zip": "^0.5.16",
|
|
42
42
|
"chalk": "^5.6.2",
|
|
43
43
|
"cheerio": "^1.2.0",
|
|
44
|
-
"clipboardy": "^5.2.1",
|
|
45
44
|
"commander": "^12.1.0",
|
|
46
45
|
"dotenv": "^17.2.3",
|
|
47
46
|
"fs-extra": "^11.3.3",
|
|
@@ -60,7 +59,6 @@
|
|
|
60
59
|
"@testing-library/react": "^16.3.2",
|
|
61
60
|
"@types/adm-zip": "^0.5.7",
|
|
62
61
|
"@types/bun": "latest",
|
|
63
|
-
"@types/clipboardy": "^2.0.4",
|
|
64
62
|
"@types/express": "^5.0.6",
|
|
65
63
|
"@types/fs-extra": "^11.0.4",
|
|
66
64
|
"@types/node": "^25.0.9",
|