@keystrokehq/mobbin_mcp 0.1.3 → 0.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["mobbinMcp","executeMobbinMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mobbinMcp } from \"./app\";\nimport { executeMobbinMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return mobbinMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeMobbinMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["mobbinMcp","executeMobbinMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { mobbinMcp } from \"./app\";\nimport { executeMobbinMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof mobbinMcp.credential> {\n return mobbinMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMobbinMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mobbinMcp } from \"./app\";\nimport { executeMobbinMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return mobbinMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeMobbinMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { mobbinMcp } from \"./app\";\nimport { executeMobbinMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof mobbinMcp.credential> {\n return mobbinMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMobbinMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-screens.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-screens.cjs","names":["z","action"],"sources":["../../src/actions/search-screens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MobbinMcpSearchScreensInput = z.object({\n mode: z.enum([\"deep\", \"fast\"]).default(\"deep\").describe(\"Search mode. \\\"fast\\\" returns results with low latency. \\\"deep\\\" uses an AI-powered pipeline that interprets intent and scores results for relevance — ideal for nuanced queries.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of screens to return. Higher number of screens returned causes increased context usage.\").optional(),\n query: z.string().describe(\"Natural language search query\"),\n platform: z.enum([\"ios\", \"web\"]).describe(\"Platform to search\"),\n exclude_screen_ids: z.array(z.string()).default([]).describe(\"Screen IDs to exclude from results\").optional(),\n});\nexport const MobbinMcpSearchScreensOutput = z.unknown();\n\nexport const mobbinMcpSearchScreens = action(\"MOBBIN_MCP_SEARCH_SCREENS\", {\n slug: \"mobbin_mcp-search-screens\",\n name: \"Search screens\",\n description: \"Search Mobbin for UI screens using natural language. Returns screen images inline (as base64) along with metadata including image URLs, app names, and links to Mobbin.\",\n input: MobbinMcpSearchScreensInput,\n output: MobbinMcpSearchScreensOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACtP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,UAAUA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,oBAAoB;CAC9D,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC9G,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,QAAQ;AAEtD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-screens.cjs","names":["z","action"],"sources":["../../src/actions/search-screens.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mobbinMcp } from \"../app\";\n\nexport const MobbinMcpSearchScreensInput = z.object({\n mode: z.enum([\"deep\", \"fast\"]).default(\"deep\").describe(\"Search mode. \\\"fast\\\" returns results with low latency. \\\"deep\\\" uses an AI-powered pipeline that interprets intent and scores results for relevance — ideal for nuanced queries.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of screens to return. Higher number of screens returned causes increased context usage.\").optional(),\n query: z.string().describe(\"Natural language search query\"),\n platform: z.enum([\"ios\", \"web\"]).describe(\"Platform to search\"),\n exclude_screen_ids: z.array(z.string()).default([]).describe(\"Screen IDs to exclude from results\").optional(),\n});\nexport const MobbinMcpSearchScreensOutput = z.unknown();\n\nexport const mobbinMcpSearchScreens: AppAction<\n typeof MobbinMcpSearchScreensInput,\n typeof MobbinMcpSearchScreensOutput,\n typeof mobbinMcp.credential\n> = action(\"MOBBIN_MCP_SEARCH_SCREENS\", {\n slug: \"mobbin_mcp-search-screens\",\n name: \"Search screens\",\n description: \"Search Mobbin for UI screens using natural language. Returns screen images inline (as base64) along with metadata including image URLs, app names, and links to Mobbin.\",\n input: MobbinMcpSearchScreensInput,\n output: MobbinMcpSearchScreensOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACtP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,UAAUA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,oBAAoB;CAC9D,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC9G,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,QAAQ;AAEtD,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mobbinMcp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-screens.d.ts
@@ -15,13 +17,7 @@ declare const MobbinMcpSearchScreensInput: z.ZodObject<{
15
17
  exclude_screen_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
16
18
  }, z.core.$strip>;
17
19
  declare const MobbinMcpSearchScreensOutput: z.ZodUnknown;
18
- declare const mobbinMcpSearchScreens: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- query: string;
20
- platform: "ios" | "web";
21
- mode?: "deep" | "fast" | undefined;
22
- limit?: number | undefined;
23
- exclude_screen_ids?: string[] | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const mobbinMcpSearchScreens: AppAction<typeof MobbinMcpSearchScreensInput, typeof MobbinMcpSearchScreensOutput, typeof mobbinMcp.credential>;
25
21
  //#endregion
26
22
  export { mobbinMcpSearchScreens };
27
23
  //# sourceMappingURL=search-screens.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-screens.d.cts","names":[],"sources":["../../src/actions/search-screens.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,UAAc;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"search-screens.d.cts","names":[],"sources":["../../src/actions/search-screens.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,UAAc;AAAA,cAE1C,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mobbinMcp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-screens.d.ts
@@ -15,13 +17,7 @@ declare const MobbinMcpSearchScreensInput: z.ZodObject<{
15
17
  exclude_screen_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
16
18
  }, z.core.$strip>;
17
19
  declare const MobbinMcpSearchScreensOutput: z.ZodUnknown;
18
- declare const mobbinMcpSearchScreens: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- query: string;
20
- platform: "ios" | "web";
21
- mode?: "deep" | "fast" | undefined;
22
- limit?: number | undefined;
23
- exclude_screen_ids?: string[] | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const mobbinMcpSearchScreens: AppAction<typeof MobbinMcpSearchScreensInput, typeof MobbinMcpSearchScreensOutput, typeof mobbinMcp.credential>;
25
21
  //#endregion
26
22
  export { mobbinMcpSearchScreens };
27
23
  //# sourceMappingURL=search-screens.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-screens.d.mts","names":[],"sources":["../../src/actions/search-screens.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,UAAc;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"search-screens.d.mts","names":[],"sources":["../../src/actions/search-screens.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,UAAc;AAAA,cAE1C,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mobbinMcpSearchScreens = action("MOBBIN_MCP_SEARCH_SCREENS", {
@@ -1 +1 @@
1
- {"version":3,"file":"search-screens.mjs","names":[],"sources":["../../src/actions/search-screens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MobbinMcpSearchScreensInput = z.object({\n mode: z.enum([\"deep\", \"fast\"]).default(\"deep\").describe(\"Search mode. \\\"fast\\\" returns results with low latency. \\\"deep\\\" uses an AI-powered pipeline that interprets intent and scores results for relevance — ideal for nuanced queries.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of screens to return. Higher number of screens returned causes increased context usage.\").optional(),\n query: z.string().describe(\"Natural language search query\"),\n platform: z.enum([\"ios\", \"web\"]).describe(\"Platform to search\"),\n exclude_screen_ids: z.array(z.string()).default([]).describe(\"Screen IDs to exclude from results\").optional(),\n});\nexport const MobbinMcpSearchScreensOutput = z.unknown();\n\nexport const mobbinMcpSearchScreens = action(\"MOBBIN_MCP_SEARCH_SCREENS\", {\n slug: \"mobbin_mcp-search-screens\",\n name: \"Search screens\",\n description: \"Search Mobbin for UI screens using natural language. Returns screen images inline (as base64) along with metadata including image URLs, app names, and links to Mobbin.\",\n input: MobbinMcpSearchScreensInput,\n output: MobbinMcpSearchScreensOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,MAAM,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;EACtP,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,UAAU,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,oBAAoB;EAC9D,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9G,CAOS;CACP,QAP0C,EAAE,QAOpC;AACV,CAAC"}
1
+ {"version":3,"file":"search-screens.mjs","names":[],"sources":["../../src/actions/search-screens.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mobbinMcp } from \"../app\";\n\nexport const MobbinMcpSearchScreensInput = z.object({\n mode: z.enum([\"deep\", \"fast\"]).default(\"deep\").describe(\"Search mode. \\\"fast\\\" returns results with low latency. \\\"deep\\\" uses an AI-powered pipeline that interprets intent and scores results for relevance — ideal for nuanced queries.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of screens to return. Higher number of screens returned causes increased context usage.\").optional(),\n query: z.string().describe(\"Natural language search query\"),\n platform: z.enum([\"ios\", \"web\"]).describe(\"Platform to search\"),\n exclude_screen_ids: z.array(z.string()).default([]).describe(\"Screen IDs to exclude from results\").optional(),\n});\nexport const MobbinMcpSearchScreensOutput = z.unknown();\n\nexport const mobbinMcpSearchScreens: AppAction<\n typeof MobbinMcpSearchScreensInput,\n typeof MobbinMcpSearchScreensOutput,\n typeof mobbinMcp.credential\n> = action(\"MOBBIN_MCP_SEARCH_SCREENS\", {\n slug: \"mobbin_mcp-search-screens\",\n name: \"Search screens\",\n description: \"Search Mobbin for UI screens using natural language. Returns screen images inline (as base64) along with metadata including image URLs, app names, and links to Mobbin.\",\n input: MobbinMcpSearchScreensInput,\n output: MobbinMcpSearchScreensOutput,\n});\n"],"mappings":";;;AAeA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;EACtP,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,UAAU,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,oBAAoB;EAC9D,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9G,CAWS;CACP,QAX0C,EAAE,QAWpC;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const mobbinMcp = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { accessToken: require("zod").z.string() };
4
+ const mobbinMcp = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "mobbin_mcp",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.mobbinMcp = mobbinMcp;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const mobbinMcp = defineApp({\n slug: \"mobbin_mcp\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const mobbinMcp: KeystrokeApp<\"mobbin_mcp\", typeof credential> = defineApp({\n slug: \"mobbin_mcp\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAqE;CAChF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const mobbinMcp: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ accessToken: z.ZodString;
7
+ };
8
+ declare const mobbinMcp: KeystrokeApp<"mobbin_mcp", typeof credential>;
3
9
  //#endregion
4
10
  export { mobbinMcp };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,sBAAsB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const mobbinMcp: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ accessToken: z.ZodString;
7
+ };
8
+ declare const mobbinMcp: KeystrokeApp<"mobbin_mcp", typeof credential>;
3
9
  //#endregion
4
10
  export { mobbinMcp };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,sBAAsB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const mobbinMcp = defineApp({
4
4
  slug: "mobbin_mcp",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { accessToken: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { mobbinMcp };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const mobbinMcp = defineApp({\n slug: \"mobbin_mcp\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const mobbinMcp: KeystrokeApp<\"mobbin_mcp\", typeof credential> = defineApp({\n slug: \"mobbin_mcp\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA2D,UAAU;CAChF,MAAM;CACN,MAAM;CACN,cANA,aAAa,EAAE,OAAO,EAMtB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { mobbinMcpSearchScreens } from "./actions/search-screens.cjs";
2
1
  import { mobbinMcp } from "./app.cjs";
2
+ import { mobbinMcpSearchScreens } from "./actions/search-screens.cjs";
3
3
  import { mobbinMcpCatalog } from "./catalog.cjs";
4
4
  export { mobbinMcp, mobbinMcpCatalog, mobbinMcpSearchScreens };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { mobbinMcpSearchScreens } from "./actions/search-screens.mjs";
2
1
  import { mobbinMcp } from "./app.mjs";
2
+ import { mobbinMcpSearchScreens } from "./actions/search-screens.mjs";
3
3
  import { mobbinMcpCatalog } from "./catalog.mjs";
4
4
  export { mobbinMcp, mobbinMcpCatalog, mobbinMcpSearchScreens };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/mobbin_mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {