@keystrokehq/gamma 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-from-template.cjs +45 -0
- package/dist/actions/create-from-template.cjs.map +1 -0
- package/dist/actions/create-from-template.d.cts +9 -0
- package/dist/actions/create-from-template.d.cts.map +1 -0
- package/dist/actions/create-from-template.d.mts +9 -0
- package/dist/actions/create-from-template.d.mts.map +1 -0
- package/dist/actions/create-from-template.mjs +44 -0
- package/dist/actions/create-from-template.mjs.map +1 -0
- package/dist/actions/generate-gamma.cjs +244 -0
- package/dist/actions/generate-gamma.cjs.map +1 -0
- package/dist/actions/generate-gamma.d.cts +9 -0
- package/dist/actions/generate-gamma.d.cts.map +1 -0
- package/dist/actions/generate-gamma.d.mts +9 -0
- package/dist/actions/generate-gamma.d.mts.map +1 -0
- package/dist/actions/generate-gamma.mjs +243 -0
- package/dist/actions/generate-gamma.mjs.map +1 -0
- package/dist/actions/get-gamma-file-urls.cjs +26 -0
- package/dist/actions/get-gamma-file-urls.cjs.map +1 -0
- package/dist/actions/get-gamma-file-urls.d.cts +9 -0
- package/dist/actions/get-gamma-file-urls.d.cts.map +1 -0
- package/dist/actions/get-gamma-file-urls.d.mts +9 -0
- package/dist/actions/get-gamma-file-urls.d.mts.map +1 -0
- package/dist/actions/get-gamma-file-urls.mjs +25 -0
- package/dist/actions/get-gamma-file-urls.mjs.map +1 -0
- package/dist/actions/index.cjs +11 -0
- package/dist/actions/index.d.cts +6 -0
- package/dist/actions/index.d.mts +6 -0
- package/dist/actions/index.mjs +6 -0
- package/dist/actions/list-folders.cjs +28 -0
- package/dist/actions/list-folders.cjs.map +1 -0
- package/dist/actions/list-folders.d.cts +9 -0
- package/dist/actions/list-folders.d.cts.map +1 -0
- package/dist/actions/list-folders.d.mts +9 -0
- package/dist/actions/list-folders.d.mts.map +1 -0
- package/dist/actions/list-folders.mjs +27 -0
- package/dist/actions/list-folders.mjs.map +1 -0
- package/dist/actions/list-themes.cjs +31 -0
- package/dist/actions/list-themes.cjs.map +1 -0
- package/dist/actions/list-themes.d.cts +9 -0
- package/dist/actions/list-themes.d.cts.map +1 -0
- package/dist/actions/list-themes.d.mts +9 -0
- package/dist/actions/list-themes.d.mts.map +1 -0
- package/dist/actions/list-themes.mjs +30 -0
- package/dist/actions/list-themes.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +16 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.mts +8 -0
- package/dist/index.mjs +9 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-themes.d.ts
|
|
4
|
+
declare const GammaListThemesInput: z.ZodTypeAny;
|
|
5
|
+
declare const GammaListThemesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const gammaListThemes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { gammaListThemes };
|
|
9
|
+
//# sourceMappingURL=list-themes.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-themes.d.cts","names":[],"sources":["../../src/actions/list-themes.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAI0H;AAAA,cAQlJ,qBAAA,EAAuB,CAAA,CAAE,UAImD;AAAA,cAE5E,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-themes.d.ts
|
|
4
|
+
declare const GammaListThemesInput: z.ZodTypeAny;
|
|
5
|
+
declare const GammaListThemesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const gammaListThemes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { gammaListThemes };
|
|
9
|
+
//# sourceMappingURL=list-themes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-themes.d.mts","names":[],"sources":["../../src/actions/list-themes.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAI0H;AAAA,cAQlJ,qBAAA,EAAuB,CAAA,CAAE,UAImD;AAAA,cAE5E,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-themes.ts
|
|
4
|
+
const GammaListThemesInput = z.object({
|
|
5
|
+
after: z.string().describe("Cursor token for pagination. Use the nextCursor value from the previous response to fetch the next page.").optional(),
|
|
6
|
+
limit: z.number().int().describe("Maximum number of themes to return per page. Must be between 1 and 50.").optional(),
|
|
7
|
+
query: z.string().describe("Search themes by name. Filter the list to only themes matching this query string.").optional()
|
|
8
|
+
}).passthrough().describe("Request schema for GET /v1.0/themes.\nDocumentation: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained");
|
|
9
|
+
const GammaListThemes_ThemeSchema = z.object({
|
|
10
|
+
id: z.string().describe("Unique identifier for the theme."),
|
|
11
|
+
name: z.string().describe("Display name of the theme."),
|
|
12
|
+
type: z.string().describe("Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific)."),
|
|
13
|
+
toneKeywords: z.array(z.string()).describe("Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').").nullable().optional(),
|
|
14
|
+
colorKeywords: z.array(z.string()).describe("Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').").nullable().optional()
|
|
15
|
+
}).passthrough().describe("Individual theme object with styling metadata.");
|
|
16
|
+
const gammaListThemes = action("GAMMA_LIST_THEMES", {
|
|
17
|
+
slug: "gamma-list-themes",
|
|
18
|
+
name: "List Themes",
|
|
19
|
+
description: "Fetch the list of themes available in your workspace. Returns both standard (global) and custom (workspace-specific) themes in a paginated format. Use this to discover available theme IDs and names for use with the Generate API. Filter by name using the query parameter.",
|
|
20
|
+
input: GammaListThemesInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
data: z.array(GammaListThemes_ThemeSchema).describe("Array of theme objects available in the workspace.").nullable().optional(),
|
|
23
|
+
hasMore: z.boolean().describe("Boolean indicating whether additional pages of themes exist."),
|
|
24
|
+
nextCursor: z.string().describe("Opaque cursor token for fetching the next page. Null when on the final page.").nullable().optional()
|
|
25
|
+
}).passthrough().describe("Response schema for GET /v1.0/themes with paginated results.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { gammaListThemes };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=list-themes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-themes.mjs","names":[],"sources":["../../src/actions/list-themes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListThemesInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor token for pagination. Use the nextCursor value from the previous response to fetch the next page.\").optional(),\n limit: z.number().int().describe(\"Maximum number of themes to return per page. Must be between 1 and 50.\").optional(),\n query: z.string().describe(\"Search themes by name. Filter the list to only themes matching this query string.\").optional(),\n}).passthrough().describe(\"Request schema for GET /v1.0/themes.\\nDocumentation: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListThemes_ThemeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the theme.\"),\n name: z.string().describe(\"Display name of the theme.\"),\n type: z.string().describe(\"Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific).\"),\n toneKeywords: z.array(z.string()).describe(\"Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').\").nullable().optional(),\n colorKeywords: z.array(z.string()).describe(\"Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').\").nullable().optional(),\n}).passthrough().describe(\"Individual theme object with styling metadata.\");\nexport const GammaListThemesOutput: z.ZodTypeAny = z.object({\n data: z.array(GammaListThemes_ThemeSchema).describe(\"Array of theme objects available in the workspace.\").nullable().optional(),\n hasMore: z.boolean().describe(\"Boolean indicating whether additional pages of themes exist.\"),\n nextCursor: z.string().describe(\"Opaque cursor token for fetching the next page. Null when on the final page.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /v1.0/themes with paginated results.\");\n\nexport const gammaListThemes = action(\"GAMMA_LIST_THEMES\", {\n slug: \"gamma-list-themes\",\n name: \"List Themes\",\n description: \"Fetch the list of themes available in your workspace. Returns both standard (global) and custom (workspace-specific) themes in a paginated format. Use this to discover available theme IDs and names for use with the Generate API. Filter by name using the query parameter.\",\n input: GammaListThemesInput,\n output: GammaListThemesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAAoI;AAC9J,MAAM,8BAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAChH,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAO1E,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const gamma = defineApp({\n slug: \"gamma\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const gamma = defineApp({\n slug: \"gamma\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const gammaCatalog = {
|
|
4
|
+
"slug": "gamma",
|
|
5
|
+
"name": "Gamma",
|
|
6
|
+
"description": "Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.",
|
|
7
|
+
"category": "AI Content Generation",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/gamma",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.gammaCatalog = gammaCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const gammaCatalog = {\n \"slug\": \"gamma\",\n \"name\": \"Gamma\",\n \"description\": \"Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.\",\n \"category\": \"AI Content Generation\",\n \"logo\": \"https://logos.composio.dev/api/gamma\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const gammaCatalog: {
|
|
4
|
+
readonly slug: "gamma";
|
|
5
|
+
readonly name: "Gamma";
|
|
6
|
+
readonly description: "Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.";
|
|
7
|
+
readonly category: "AI Content Generation";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/gamma";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { gammaCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const gammaCatalog: {
|
|
4
|
+
readonly slug: "gamma";
|
|
5
|
+
readonly name: "Gamma";
|
|
6
|
+
readonly description: "Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.";
|
|
7
|
+
readonly category: "AI Content Generation";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/gamma";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { gammaCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const gammaCatalog = {
|
|
4
|
+
"slug": "gamma",
|
|
5
|
+
"name": "Gamma",
|
|
6
|
+
"description": "Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.",
|
|
7
|
+
"category": "AI Content Generation",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/gamma",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { gammaCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const gammaCatalog = {\n \"slug\": \"gamma\",\n \"name\": \"Gamma\",\n \"description\": \"Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.\",\n \"category\": \"AI Content Generation\",\n \"logo\": \"https://logos.composio.dev/api/gamma\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "gamma";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeGammaTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeGammaTool = executeGammaTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gamma\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeGammaTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "gamma";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeGammaTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeGammaTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gamma\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeGammaTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_create_from_template = require("./actions/create-from-template.cjs");
|
|
5
|
+
const require_generate_gamma = require("./actions/generate-gamma.cjs");
|
|
6
|
+
const require_get_gamma_file_urls = require("./actions/get-gamma-file-urls.cjs");
|
|
7
|
+
const require_list_folders = require("./actions/list-folders.cjs");
|
|
8
|
+
const require_list_themes = require("./actions/list-themes.cjs");
|
|
9
|
+
require("./actions/index.cjs");
|
|
10
|
+
exports.gamma = require_app.gamma;
|
|
11
|
+
exports.gammaCatalog = require_catalog.gammaCatalog;
|
|
12
|
+
exports.gammaCreateFromTemplate = require_create_from_template.gammaCreateFromTemplate;
|
|
13
|
+
exports.gammaGenerateGamma = require_generate_gamma.gammaGenerateGamma;
|
|
14
|
+
exports.gammaGetGammaFileUrls = require_get_gamma_file_urls.gammaGetGammaFileUrls;
|
|
15
|
+
exports.gammaListFolders = require_list_folders.gammaListFolders;
|
|
16
|
+
exports.gammaListThemes = require_list_themes.gammaListThemes;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { gammaCreateFromTemplate } from "./actions/create-from-template.cjs";
|
|
2
|
+
import { gammaGenerateGamma } from "./actions/generate-gamma.cjs";
|
|
3
|
+
import { gammaGetGammaFileUrls } from "./actions/get-gamma-file-urls.cjs";
|
|
4
|
+
import { gammaListFolders } from "./actions/list-folders.cjs";
|
|
5
|
+
import { gammaListThemes } from "./actions/list-themes.cjs";
|
|
6
|
+
import { gamma } from "./app.cjs";
|
|
7
|
+
import { gammaCatalog } from "./catalog.cjs";
|
|
8
|
+
export { gamma, gammaCatalog, gammaCreateFromTemplate, gammaGenerateGamma, gammaGetGammaFileUrls, gammaListFolders, gammaListThemes };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { gammaCreateFromTemplate } from "./actions/create-from-template.mjs";
|
|
2
|
+
import { gammaGenerateGamma } from "./actions/generate-gamma.mjs";
|
|
3
|
+
import { gammaGetGammaFileUrls } from "./actions/get-gamma-file-urls.mjs";
|
|
4
|
+
import { gammaListFolders } from "./actions/list-folders.mjs";
|
|
5
|
+
import { gammaListThemes } from "./actions/list-themes.mjs";
|
|
6
|
+
import { gamma } from "./app.mjs";
|
|
7
|
+
import { gammaCatalog } from "./catalog.mjs";
|
|
8
|
+
export { gamma, gammaCatalog, gammaCreateFromTemplate, gammaGenerateGamma, gammaGetGammaFileUrls, gammaListFolders, gammaListThemes };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { gamma } from "./app.mjs";
|
|
2
|
+
import { gammaCatalog } from "./catalog.mjs";
|
|
3
|
+
import { gammaCreateFromTemplate } from "./actions/create-from-template.mjs";
|
|
4
|
+
import { gammaGenerateGamma } from "./actions/generate-gamma.mjs";
|
|
5
|
+
import { gammaGetGammaFileUrls } from "./actions/get-gamma-file-urls.mjs";
|
|
6
|
+
import { gammaListFolders } from "./actions/list-folders.mjs";
|
|
7
|
+
import { gammaListThemes } from "./actions/list-themes.mjs";
|
|
8
|
+
import "./actions/index.mjs";
|
|
9
|
+
export { gamma, gammaCatalog, gammaCreateFromTemplate, gammaGenerateGamma, gammaGetGammaFileUrls, gammaListFolders, gammaListThemes };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/gamma",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/gamma"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|