@keystrokehq/remove_bg 0.1.5 → 0.1.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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-account.cjs +1 -0
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +3 -13
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +3 -13
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +1 -0
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/remove-bg.cjs +1 -0
- package/dist/actions/remove-bg.cjs.map +1 -1
- package/dist/actions/remove-bg.d.cts +3 -27
- package/dist/actions/remove-bg.d.cts.map +1 -1
- package/dist/actions/remove-bg.d.mts +3 -27
- package/dist/actions/remove-bg.d.mts.map +1 -1
- package/dist/actions/remove-bg.mjs +1 -0
- package/dist/actions/remove-bg.mjs.map +1 -1
- package/dist/actions/submit-improvement.cjs +1 -0
- package/dist/actions/submit-improvement.cjs.map +1 -1
- package/dist/actions/submit-improvement.d.cts +3 -23
- package/dist/actions/submit-improvement.d.cts.map +1 -1
- package/dist/actions/submit-improvement.d.mts +3 -23
- package/dist/actions/submit-improvement.d.mts.map +1 -1
- package/dist/actions/submit-improvement.mjs +1 -0
- package/dist/actions/submit-improvement.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["removeBg","executeRemoveBgTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { removeBg } from \"./app\";\nimport { executeRemoveBgTool } 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:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["removeBg","executeRemoveBgTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { removeBg } from \"./app\";\nimport { executeRemoveBgTool } 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 removeBg.credential> {\n return removeBg.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 executeRemoveBgTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,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,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { removeBg } from \"./app\";\nimport { executeRemoveBgTool } 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:
|
|
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 { removeBg } from \"./app\";\nimport { executeRemoveBgTool } 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 removeBg.credential> {\n return removeBg.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 executeRemoveBgTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoveBgGetAccountInput = z.object({}).describe(\"Request model for fetching account details. No parameters required.\");\nconst RemoveBgGetAccount_ApiInfoSchema = z.object({\n sizes: z.string().describe(\"Available sizes for the account\").nullable().optional(),\n free_calls: z.number().int().describe(\"Number of free API calls available\").nullable().optional(),\n}).passthrough();\nconst RemoveBgGetAccount_CreditsSchema = z.object({\n payg: z.number().int().describe(\"Pay-as-you-go credits left\").nullable(),\n total: z.number().int().describe(\"Total credits assigned to the account\").nullable(),\n enterprise: z.number().int().describe(\"Enterprise credits available\").nullable().optional(),\n subscription: z.number().int().describe(\"Subscription credits left in the current period\").nullable(),\n}).passthrough();\nconst RemoveBgGetAccount_AccountAttributesSchema = z.object({\n api: RemoveBgGetAccount_ApiInfoSchema.nullable().optional(),\n credits: RemoveBgGetAccount_CreditsSchema.nullable(),\n}).passthrough();\nconst RemoveBgGetAccount_AccountDataSchema = z.object({\n attributes: RemoveBgGetAccount_AccountAttributesSchema.nullable(),\n}).passthrough();\nexport const RemoveBgGetAccountOutput = z.object({\n data: RemoveBgGetAccount_AccountDataSchema.nullable(),\n}).passthrough();\n\nexport const removeBgGetAccount = action(\"REMOVE_BG_GET_ACCOUNT\", {\n slug: \"remove_bg-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve account information, including current credit balance. Use when you need to know your remove.bg account's credit and usage details.\",\n input: RemoveBgGetAccountInput,\n output: RemoveBgGetAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { removeBg } from \"../app\";\n\nexport const RemoveBgGetAccountInput = z.object({}).describe(\"Request model for fetching account details. No parameters required.\");\nconst RemoveBgGetAccount_ApiInfoSchema = z.object({\n sizes: z.string().describe(\"Available sizes for the account\").nullable().optional(),\n free_calls: z.number().int().describe(\"Number of free API calls available\").nullable().optional(),\n}).passthrough();\nconst RemoveBgGetAccount_CreditsSchema = z.object({\n payg: z.number().int().describe(\"Pay-as-you-go credits left\").nullable(),\n total: z.number().int().describe(\"Total credits assigned to the account\").nullable(),\n enterprise: z.number().int().describe(\"Enterprise credits available\").nullable().optional(),\n subscription: z.number().int().describe(\"Subscription credits left in the current period\").nullable(),\n}).passthrough();\nconst RemoveBgGetAccount_AccountAttributesSchema = z.object({\n api: RemoveBgGetAccount_ApiInfoSchema.nullable().optional(),\n credits: RemoveBgGetAccount_CreditsSchema.nullable(),\n}).passthrough();\nconst RemoveBgGetAccount_AccountDataSchema = z.object({\n attributes: RemoveBgGetAccount_AccountAttributesSchema.nullable(),\n}).passthrough();\nexport const RemoveBgGetAccountOutput = z.object({\n data: RemoveBgGetAccount_AccountDataSchema.nullable(),\n}).passthrough();\n\nexport const removeBgGetAccount: AppAction<\n typeof RemoveBgGetAccountInput,\n typeof RemoveBgGetAccountOutput,\n typeof removeBg.credential\n> = action(\"REMOVE_BG_GET_ACCOUNT\", {\n slug: \"remove_bg-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve account information, including current credit balance. Use when you need to know your remove.bg account's credit and usage details.\",\n input: RemoveBgGetAccountInput,\n output: RemoveBgGetAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAClI,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAK,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC1D,SAAS,iCAAiC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuCA,IAAAA,EAAE,OAAO,EACpD,YAAY,2CAA2C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,qCAAqC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { removeBg } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-account.d.ts
|
|
@@ -18,19 +20,7 @@ declare const RemoveBgGetAccountOutput: z.ZodObject<{
|
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const removeBgGetAccount:
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const removeBgGetAccount: AppAction<typeof RemoveBgGetAccountInput, typeof RemoveBgGetAccountOutput, typeof removeBg.credential>;
|
|
34
24
|
//#endregion
|
|
35
25
|
export { removeBgGetAccount };
|
|
36
26
|
//# sourceMappingURL=get-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { removeBg } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-account.d.ts
|
|
@@ -18,19 +20,7 @@ declare const RemoveBgGetAccountOutput: z.ZodObject<{
|
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const removeBgGetAccount:
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const removeBgGetAccount: AppAction<typeof RemoveBgGetAccountInput, typeof RemoveBgGetAccountOutput, typeof removeBg.credential>;
|
|
34
24
|
//#endregion
|
|
35
25
|
export { removeBgGetAccount };
|
|
36
26
|
//# sourceMappingURL=get-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoveBgGetAccountInput = z.object({}).describe(\"Request model for fetching account details. No parameters required.\");\nconst RemoveBgGetAccount_ApiInfoSchema = z.object({\n sizes: z.string().describe(\"Available sizes for the account\").nullable().optional(),\n free_calls: z.number().int().describe(\"Number of free API calls available\").nullable().optional(),\n}).passthrough();\nconst RemoveBgGetAccount_CreditsSchema = z.object({\n payg: z.number().int().describe(\"Pay-as-you-go credits left\").nullable(),\n total: z.number().int().describe(\"Total credits assigned to the account\").nullable(),\n enterprise: z.number().int().describe(\"Enterprise credits available\").nullable().optional(),\n subscription: z.number().int().describe(\"Subscription credits left in the current period\").nullable(),\n}).passthrough();\nconst RemoveBgGetAccount_AccountAttributesSchema = z.object({\n api: RemoveBgGetAccount_ApiInfoSchema.nullable().optional(),\n credits: RemoveBgGetAccount_CreditsSchema.nullable(),\n}).passthrough();\nconst RemoveBgGetAccount_AccountDataSchema = z.object({\n attributes: RemoveBgGetAccount_AccountAttributesSchema.nullable(),\n}).passthrough();\nexport const RemoveBgGetAccountOutput = z.object({\n data: RemoveBgGetAccount_AccountDataSchema.nullable(),\n}).passthrough();\n\nexport const removeBgGetAccount = action(\"REMOVE_BG_GET_ACCOUNT\", {\n slug: \"remove_bg-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve account information, including current credit balance. Use when you need to know your remove.bg account's credit and usage details.\",\n input: RemoveBgGetAccountInput,\n output: RemoveBgGetAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { removeBg } from \"../app\";\n\nexport const RemoveBgGetAccountInput = z.object({}).describe(\"Request model for fetching account details. No parameters required.\");\nconst RemoveBgGetAccount_ApiInfoSchema = z.object({\n sizes: z.string().describe(\"Available sizes for the account\").nullable().optional(),\n free_calls: z.number().int().describe(\"Number of free API calls available\").nullable().optional(),\n}).passthrough();\nconst RemoveBgGetAccount_CreditsSchema = z.object({\n payg: z.number().int().describe(\"Pay-as-you-go credits left\").nullable(),\n total: z.number().int().describe(\"Total credits assigned to the account\").nullable(),\n enterprise: z.number().int().describe(\"Enterprise credits available\").nullable().optional(),\n subscription: z.number().int().describe(\"Subscription credits left in the current period\").nullable(),\n}).passthrough();\nconst RemoveBgGetAccount_AccountAttributesSchema = z.object({\n api: RemoveBgGetAccount_ApiInfoSchema.nullable().optional(),\n credits: RemoveBgGetAccount_CreditsSchema.nullable(),\n}).passthrough();\nconst RemoveBgGetAccount_AccountDataSchema = z.object({\n attributes: RemoveBgGetAccount_AccountAttributesSchema.nullable(),\n}).passthrough();\nexport const RemoveBgGetAccountOutput = z.object({\n data: RemoveBgGetAccount_AccountDataSchema.nullable(),\n}).passthrough();\n\nexport const removeBgGetAccount: AppAction<\n typeof RemoveBgGetAccountInput,\n typeof RemoveBgGetAccountOutput,\n typeof removeBg.credential\n> = action(\"REMOVE_BG_GET_ACCOUNT\", {\n slug: \"remove_bg-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve account information, including current credit balance. Use when you need to know your remove.bg account's credit and usage details.\",\n input: RemoveBgGetAccountInput,\n output: RemoveBgGetAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAClI,MAAM,mCAAmC,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6C,EAAE,OAAO;CAC1D,KAAK,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC1D,SAAS,iCAAiC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuC,EAAE,OAAO,EACpD,YAAY,2CAA2C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,MAAM,qCAAqC,SAAS,EACtD,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-bg.cjs","names":["z","action"],"sources":["../../src/actions/remove-bg.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoveBgRemoveBgInput = z.object({\n roi: z.string().describe(\"Region of interest in pixels as 'left,top,width,height'.\").optional(),\n crop: z.boolean().describe(\"Crop to ROI if true.\").optional(),\n size: z.enum([\"auto\", \"preview\", \"full\"]).describe(\"Output image size. One of 'auto', 'preview', 'full'.\").optional(),\n type: z.enum([\"auto\", \"person\", \"product\"]).describe(\"Image category. One of 'auto', 'person', 'product'.\").optional(),\n scale: z.string().describe(\"Scales the subject image as a percentage of the original size, formatted as '<int>%' between '10%' and '100%' (e.g., '50%'). Use '100%' or omit to keep the original size.\").optional(),\n format: z.enum([\"auto\", \"png\", \"jpg\"]).describe(\"Output image format. One of 'auto', 'png', 'jpg'.\").optional(),\n bg_color: z.string().describe(\"Hex color '#RRGGBB' to fill background instead of transparency.\").optional(),\n channels: z.string().describe(\"Output channels. Only 'rgba' supported.\").optional(),\n position: z.enum([\"center\", \"original\"]).describe(\"Position of subject: 'center' or 'original'.\").optional(),\n image_url: z.string().describe(\"URL of the image to process. Required if `image_file` is not provided.\").optional(),\n image_file: z.string().describe(\"Raw bytes of the image file to upload (multipart/form-data). Required if `image_url` is not provided.\").optional(),\n bg_image_url: z.string().describe(\"Background image URL to composite behind subject.\").optional(),\n bg_image_file: z.string().describe(\"Background image file bytes to composite behind subject.\").optional(),\n});\nexport const RemoveBgRemoveBgOutput = z.object({\n image: z.string().describe(\"Binary data of the image with background removed.\").nullable(),\n}).passthrough();\n\nexport const removeBgRemoveBg = action(\"REMOVE_BG\", {\n slug: \"remove_bg-remove-bg\",\n name: \"Remove Background\",\n description: \"Tool to remove background from an image. Use when you need a transparent or custom background for product or profile photos.\",\n input: RemoveBgRemoveBgInput,\n output: RemoveBgRemoveBgOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-bg.cjs","names":["z","action"],"sources":["../../src/actions/remove-bg.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { removeBg } from \"../app\";\n\nexport const RemoveBgRemoveBgInput = z.object({\n roi: z.string().describe(\"Region of interest in pixels as 'left,top,width,height'.\").optional(),\n crop: z.boolean().describe(\"Crop to ROI if true.\").optional(),\n size: z.enum([\"auto\", \"preview\", \"full\"]).describe(\"Output image size. One of 'auto', 'preview', 'full'.\").optional(),\n type: z.enum([\"auto\", \"person\", \"product\"]).describe(\"Image category. One of 'auto', 'person', 'product'.\").optional(),\n scale: z.string().describe(\"Scales the subject image as a percentage of the original size, formatted as '<int>%' between '10%' and '100%' (e.g., '50%'). Use '100%' or omit to keep the original size.\").optional(),\n format: z.enum([\"auto\", \"png\", \"jpg\"]).describe(\"Output image format. One of 'auto', 'png', 'jpg'.\").optional(),\n bg_color: z.string().describe(\"Hex color '#RRGGBB' to fill background instead of transparency.\").optional(),\n channels: z.string().describe(\"Output channels. Only 'rgba' supported.\").optional(),\n position: z.enum([\"center\", \"original\"]).describe(\"Position of subject: 'center' or 'original'.\").optional(),\n image_url: z.string().describe(\"URL of the image to process. Required if `image_file` is not provided.\").optional(),\n image_file: z.string().describe(\"Raw bytes of the image file to upload (multipart/form-data). Required if `image_url` is not provided.\").optional(),\n bg_image_url: z.string().describe(\"Background image URL to composite behind subject.\").optional(),\n bg_image_file: z.string().describe(\"Background image file bytes to composite behind subject.\").optional(),\n});\nexport const RemoveBgRemoveBgOutput = z.object({\n image: z.string().describe(\"Binary data of the image with background removed.\").nullable(),\n}).passthrough();\n\nexport const removeBgRemoveBg: AppAction<\n typeof RemoveBgRemoveBgInput,\n typeof RemoveBgRemoveBgOutput,\n typeof removeBg.credential\n> = action(\"REMOVE_BG\", {\n slug: \"remove_bg-remove-bg\",\n name: \"Remove Background\",\n description: \"Tool to remove background from an image. Use when you need a transparent or custom background for product or profile photos.\",\n input: RemoveBgRemoveBgInput,\n output: RemoveBgRemoveBgOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CAClN,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,aAAa;CACtB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { removeBg } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/remove-bg.d.ts
|
|
@@ -34,33 +36,7 @@ declare const RemoveBgRemoveBgInput: z.ZodObject<{
|
|
|
34
36
|
declare const RemoveBgRemoveBgOutput: z.ZodObject<{
|
|
35
37
|
image: z.ZodNullable<z.ZodString>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const removeBgRemoveBg:
|
|
38
|
-
roi?: string | undefined;
|
|
39
|
-
crop?: boolean | undefined;
|
|
40
|
-
size?: "auto" | "preview" | "full" | undefined;
|
|
41
|
-
type?: "auto" | "person" | "product" | undefined;
|
|
42
|
-
scale?: string | undefined;
|
|
43
|
-
format?: "auto" | "png" | "jpg" | undefined;
|
|
44
|
-
bg_color?: string | undefined;
|
|
45
|
-
channels?: string | undefined;
|
|
46
|
-
position?: "center" | "original" | undefined;
|
|
47
|
-
image_url?: string | undefined;
|
|
48
|
-
image_file?: string | undefined;
|
|
49
|
-
bg_image_url?: string | undefined;
|
|
50
|
-
bg_image_file?: string | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
generic_api_key: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>;
|
|
39
|
+
declare const removeBgRemoveBg: AppAction<typeof RemoveBgRemoveBgInput, typeof RemoveBgRemoveBgOutput, typeof removeBg.credential>;
|
|
64
40
|
//#endregion
|
|
65
41
|
export { removeBgRemoveBg };
|
|
66
42
|
//# sourceMappingURL=remove-bg.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-bg.d.cts","names":[],"sources":["../../src/actions/remove-bg.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-bg.d.cts","names":[],"sources":["../../src/actions/remove-bg.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAerB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { removeBg } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/remove-bg.d.ts
|
|
@@ -34,33 +36,7 @@ declare const RemoveBgRemoveBgInput: z.ZodObject<{
|
|
|
34
36
|
declare const RemoveBgRemoveBgOutput: z.ZodObject<{
|
|
35
37
|
image: z.ZodNullable<z.ZodString>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const removeBgRemoveBg:
|
|
38
|
-
roi?: string | undefined;
|
|
39
|
-
crop?: boolean | undefined;
|
|
40
|
-
size?: "auto" | "preview" | "full" | undefined;
|
|
41
|
-
type?: "auto" | "person" | "product" | undefined;
|
|
42
|
-
scale?: string | undefined;
|
|
43
|
-
format?: "auto" | "png" | "jpg" | undefined;
|
|
44
|
-
bg_color?: string | undefined;
|
|
45
|
-
channels?: string | undefined;
|
|
46
|
-
position?: "center" | "original" | undefined;
|
|
47
|
-
image_url?: string | undefined;
|
|
48
|
-
image_file?: string | undefined;
|
|
49
|
-
bg_image_url?: string | undefined;
|
|
50
|
-
bg_image_file?: string | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
generic_api_key: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>;
|
|
39
|
+
declare const removeBgRemoveBg: AppAction<typeof RemoveBgRemoveBgInput, typeof RemoveBgRemoveBgOutput, typeof removeBg.credential>;
|
|
64
40
|
//#endregion
|
|
65
41
|
export { removeBgRemoveBg };
|
|
66
42
|
//# sourceMappingURL=remove-bg.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-bg.d.mts","names":[],"sources":["../../src/actions/remove-bg.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-bg.d.mts","names":[],"sources":["../../src/actions/remove-bg.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAerB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-bg.mjs","names":[],"sources":["../../src/actions/remove-bg.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoveBgRemoveBgInput = z.object({\n roi: z.string().describe(\"Region of interest in pixels as 'left,top,width,height'.\").optional(),\n crop: z.boolean().describe(\"Crop to ROI if true.\").optional(),\n size: z.enum([\"auto\", \"preview\", \"full\"]).describe(\"Output image size. One of 'auto', 'preview', 'full'.\").optional(),\n type: z.enum([\"auto\", \"person\", \"product\"]).describe(\"Image category. One of 'auto', 'person', 'product'.\").optional(),\n scale: z.string().describe(\"Scales the subject image as a percentage of the original size, formatted as '<int>%' between '10%' and '100%' (e.g., '50%'). Use '100%' or omit to keep the original size.\").optional(),\n format: z.enum([\"auto\", \"png\", \"jpg\"]).describe(\"Output image format. One of 'auto', 'png', 'jpg'.\").optional(),\n bg_color: z.string().describe(\"Hex color '#RRGGBB' to fill background instead of transparency.\").optional(),\n channels: z.string().describe(\"Output channels. Only 'rgba' supported.\").optional(),\n position: z.enum([\"center\", \"original\"]).describe(\"Position of subject: 'center' or 'original'.\").optional(),\n image_url: z.string().describe(\"URL of the image to process. Required if `image_file` is not provided.\").optional(),\n image_file: z.string().describe(\"Raw bytes of the image file to upload (multipart/form-data). Required if `image_url` is not provided.\").optional(),\n bg_image_url: z.string().describe(\"Background image URL to composite behind subject.\").optional(),\n bg_image_file: z.string().describe(\"Background image file bytes to composite behind subject.\").optional(),\n});\nexport const RemoveBgRemoveBgOutput = z.object({\n image: z.string().describe(\"Binary data of the image with background removed.\").nullable(),\n}).passthrough();\n\nexport const removeBgRemoveBg = action(\"REMOVE_BG\", {\n slug: \"remove_bg-remove-bg\",\n name: \"Remove Background\",\n description: \"Tool to remove background from an image. Use when you need a transparent or custom background for product or profile photos.\",\n input: RemoveBgRemoveBgInput,\n output: RemoveBgRemoveBgOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-bg.mjs","names":[],"sources":["../../src/actions/remove-bg.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { removeBg } from \"../app\";\n\nexport const RemoveBgRemoveBgInput = z.object({\n roi: z.string().describe(\"Region of interest in pixels as 'left,top,width,height'.\").optional(),\n crop: z.boolean().describe(\"Crop to ROI if true.\").optional(),\n size: z.enum([\"auto\", \"preview\", \"full\"]).describe(\"Output image size. One of 'auto', 'preview', 'full'.\").optional(),\n type: z.enum([\"auto\", \"person\", \"product\"]).describe(\"Image category. One of 'auto', 'person', 'product'.\").optional(),\n scale: z.string().describe(\"Scales the subject image as a percentage of the original size, formatted as '<int>%' between '10%' and '100%' (e.g., '50%'). Use '100%' or omit to keep the original size.\").optional(),\n format: z.enum([\"auto\", \"png\", \"jpg\"]).describe(\"Output image format. One of 'auto', 'png', 'jpg'.\").optional(),\n bg_color: z.string().describe(\"Hex color '#RRGGBB' to fill background instead of transparency.\").optional(),\n channels: z.string().describe(\"Output channels. Only 'rgba' supported.\").optional(),\n position: z.enum([\"center\", \"original\"]).describe(\"Position of subject: 'center' or 'original'.\").optional(),\n image_url: z.string().describe(\"URL of the image to process. Required if `image_file` is not provided.\").optional(),\n image_file: z.string().describe(\"Raw bytes of the image file to upload (multipart/form-data). Required if `image_url` is not provided.\").optional(),\n bg_image_url: z.string().describe(\"Background image URL to composite behind subject.\").optional(),\n bg_image_file: z.string().describe(\"Background image file bytes to composite behind subject.\").optional(),\n});\nexport const RemoveBgRemoveBgOutput = z.object({\n image: z.string().describe(\"Binary data of the image with background removed.\").nullable(),\n}).passthrough();\n\nexport const removeBgRemoveBg: AppAction<\n typeof RemoveBgRemoveBgInput,\n typeof RemoveBgRemoveBgOutput,\n typeof removeBg.credential\n> = action(\"REMOVE_BG\", {\n slug: \"remove_bg-remove-bg\",\n name: \"Remove Background\",\n description: \"Tool to remove background from an image. Use when you need a transparent or custom background for product or profile photos.\",\n input: RemoveBgRemoveBgInput,\n output: RemoveBgRemoveBgOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,mBAIT,OAAO,aAAa;CACtB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BmC,EAAE,OAAO;EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpH,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;EAClN,QAAQ,EAAE,KAAK;GAAC;GAAQ;GAAO;EAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAClJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,CAaS;CACP,QAboC,EAAE,OAAO,EAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-improvement.cjs","names":["z","action"],"sources":["../../src/actions/submit-improvement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoveBgSubmitImprovementInput = z.object({\n tag: z.string().describe(\"Tag to group related images together. Images with the same tag are grouped.\").optional(),\n image_url: z.string().describe(\"URL of the image to submit. Required if `image_file` and `image_file_b64` are not provided. Only one image source parameter can be specified.\").optional(),\n image_file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Image file to upload. Required if `image_file_b64` and `image_url` are not provided. Only one image source parameter can be specified.\").optional(),\n image_file_b64: z.string().describe(\"Base64-encoded image file string. Required if `image_file` and `image_url` are not provided. Only one image source parameter can be specified.\").optional(),\n image_filename: z.string().describe(\"Filename of the image. If not provided, it will be autodetected from the submitted data.\").optional(),\n});\nexport const RemoveBgSubmitImprovementOutput = z.object({\n id: z.string().describe(\"UUID of the submitted image\").nullable(),\n}).passthrough();\n\nexport const removeBgSubmitImprovement = action(\"REMOVE_BG_SUBMIT_IMPROVEMENT\", {\n slug: \"remove_bg-submit-improvement\",\n name: \"Submit Improvement\",\n description: \"Tool to submit an image to the remove.bg Improvement program. Use when you want to contribute images that remove.bg cannot process properly to help improve the AI. By submitting images you agree to the Improvement Program Conditions. Limited to 100 files per day, max 22MB file size, up to 50 megapixels resolution.\",\n input: RemoveBgSubmitImprovementInput,\n output: RemoveBgSubmitImprovementOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-improvement.cjs","names":["z","action"],"sources":["../../src/actions/submit-improvement.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { removeBg } from \"../app\";\n\nexport const RemoveBgSubmitImprovementInput = z.object({\n tag: z.string().describe(\"Tag to group related images together. Images with the same tag are grouped.\").optional(),\n image_url: z.string().describe(\"URL of the image to submit. Required if `image_file` and `image_file_b64` are not provided. Only one image source parameter can be specified.\").optional(),\n image_file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Image file to upload. Required if `image_file_b64` and `image_url` are not provided. Only one image source parameter can be specified.\").optional(),\n image_file_b64: z.string().describe(\"Base64-encoded image file string. Required if `image_file` and `image_url` are not provided. Only one image source parameter can be specified.\").optional(),\n image_filename: z.string().describe(\"Filename of the image. If not provided, it will be autodetected from the submitted data.\").optional(),\n});\nexport const RemoveBgSubmitImprovementOutput = z.object({\n id: z.string().describe(\"UUID of the submitted image\").nullable(),\n}).passthrough();\n\nexport const removeBgSubmitImprovement: AppAction<\n typeof RemoveBgSubmitImprovementInput,\n typeof RemoveBgSubmitImprovementOutput,\n typeof removeBg.credential\n> = action(\"REMOVE_BG_SUBMIT_IMPROVEMENT\", {\n slug: \"remove_bg-submit-improvement\",\n name: \"Submit Improvement\",\n description: \"Tool to submit an image to the remove.bg Improvement program. Use when you want to contribute images that remove.bg cannot process properly to help improve the AI. By submitting images you agree to the Improvement Program Conditions. Limited to 100 files per day, max 22MB file size, up to 50 megapixels resolution.\",\n input: RemoveBgSubmitImprovementInput,\n output: RemoveBgSubmitImprovementOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACzL,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC7J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CAC/L,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC3I,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { removeBg } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/submit-improvement.d.ts
|
|
@@ -15,29 +17,7 @@ declare const RemoveBgSubmitImprovementInput: z.ZodObject<{
|
|
|
15
17
|
declare const RemoveBgSubmitImprovementOutput: z.ZodObject<{
|
|
16
18
|
id: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const removeBgSubmitImprovement:
|
|
19
|
-
tag?: string | undefined;
|
|
20
|
-
image_url?: string | undefined;
|
|
21
|
-
image_file?: {
|
|
22
|
-
name: string;
|
|
23
|
-
s3key: string;
|
|
24
|
-
mimetype: string;
|
|
25
|
-
} | undefined;
|
|
26
|
-
image_file_b64?: string | undefined;
|
|
27
|
-
image_filename?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const removeBgSubmitImprovement: AppAction<typeof RemoveBgSubmitImprovementInput, typeof RemoveBgSubmitImprovementOutput, typeof removeBg.credential>;
|
|
41
21
|
//#endregion
|
|
42
22
|
export { removeBgSubmitImprovement };
|
|
43
23
|
//# sourceMappingURL=submit-improvement.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-improvement.d.cts","names":[],"sources":["../../src/actions/submit-improvement.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-improvement.d.cts","names":[],"sources":["../../src/actions/submit-improvement.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { removeBg } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/submit-improvement.d.ts
|
|
@@ -15,29 +17,7 @@ declare const RemoveBgSubmitImprovementInput: z.ZodObject<{
|
|
|
15
17
|
declare const RemoveBgSubmitImprovementOutput: z.ZodObject<{
|
|
16
18
|
id: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const removeBgSubmitImprovement:
|
|
19
|
-
tag?: string | undefined;
|
|
20
|
-
image_url?: string | undefined;
|
|
21
|
-
image_file?: {
|
|
22
|
-
name: string;
|
|
23
|
-
s3key: string;
|
|
24
|
-
mimetype: string;
|
|
25
|
-
} | undefined;
|
|
26
|
-
image_file_b64?: string | undefined;
|
|
27
|
-
image_filename?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const removeBgSubmitImprovement: AppAction<typeof RemoveBgSubmitImprovementInput, typeof RemoveBgSubmitImprovementOutput, typeof removeBg.credential>;
|
|
41
21
|
//#endregion
|
|
42
22
|
export { removeBgSubmitImprovement };
|
|
43
23
|
//# sourceMappingURL=submit-improvement.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-improvement.d.mts","names":[],"sources":["../../src/actions/submit-improvement.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-improvement.d.mts","names":[],"sources":["../../src/actions/submit-improvement.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-improvement.mjs","names":[],"sources":["../../src/actions/submit-improvement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoveBgSubmitImprovementInput = z.object({\n tag: z.string().describe(\"Tag to group related images together. Images with the same tag are grouped.\").optional(),\n image_url: z.string().describe(\"URL of the image to submit. Required if `image_file` and `image_file_b64` are not provided. Only one image source parameter can be specified.\").optional(),\n image_file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Image file to upload. Required if `image_file_b64` and `image_url` are not provided. Only one image source parameter can be specified.\").optional(),\n image_file_b64: z.string().describe(\"Base64-encoded image file string. Required if `image_file` and `image_url` are not provided. Only one image source parameter can be specified.\").optional(),\n image_filename: z.string().describe(\"Filename of the image. If not provided, it will be autodetected from the submitted data.\").optional(),\n});\nexport const RemoveBgSubmitImprovementOutput = z.object({\n id: z.string().describe(\"UUID of the submitted image\").nullable(),\n}).passthrough();\n\nexport const removeBgSubmitImprovement = action(\"REMOVE_BG_SUBMIT_IMPROVEMENT\", {\n slug: \"remove_bg-submit-improvement\",\n name: \"Submit Improvement\",\n description: \"Tool to submit an image to the remove.bg Improvement program. Use when you want to contribute images that remove.bg cannot process properly to help improve the AI. By submitting images you agree to the Improvement Program Conditions. Limited to 100 files per day, max 22MB file size, up to 50 megapixels resolution.\",\n input: RemoveBgSubmitImprovementInput,\n output: RemoveBgSubmitImprovementOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-improvement.mjs","names":[],"sources":["../../src/actions/submit-improvement.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { removeBg } from \"../app\";\n\nexport const RemoveBgSubmitImprovementInput = z.object({\n tag: z.string().describe(\"Tag to group related images together. Images with the same tag are grouped.\").optional(),\n image_url: z.string().describe(\"URL of the image to submit. Required if `image_file` and `image_file_b64` are not provided. Only one image source parameter can be specified.\").optional(),\n image_file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Image file to upload. Required if `image_file_b64` and `image_url` are not provided. Only one image source parameter can be specified.\").optional(),\n image_file_b64: z.string().describe(\"Base64-encoded image file string. Required if `image_file` and `image_url` are not provided. Only one image source parameter can be specified.\").optional(),\n image_filename: z.string().describe(\"Filename of the image. If not provided, it will be autodetected from the submitted data.\").optional(),\n});\nexport const RemoveBgSubmitImprovementOutput = z.object({\n id: z.string().describe(\"UUID of the submitted image\").nullable(),\n}).passthrough();\n\nexport const removeBgSubmitImprovement: AppAction<\n typeof RemoveBgSubmitImprovementInput,\n typeof RemoveBgSubmitImprovementOutput,\n typeof removeBg.credential\n> = action(\"REMOVE_BG_SUBMIT_IMPROVEMENT\", {\n slug: \"remove_bg-submit-improvement\",\n name: \"Submit Improvement\",\n description: \"Tool to submit an image to the remove.bg Improvement program. Use when you want to contribute images that remove.bg cannot process properly to help improve the AI. By submitting images you agree to the Improvement Program Conditions. Limited to 100 files per day, max 22MB file size, up to 50 megapixels resolution.\",\n input: RemoveBgSubmitImprovementInput,\n output: RemoveBgSubmitImprovementOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACzL,YAAY,EAAE,OAAO;GACrB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAC7J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EAC/L,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC3I,CAaS;CACP,QAb6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const removeBg = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "remove_bg",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.removeBg = removeBg;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const removeBg = defineApp({\n slug: \"remove_bg\",\n auth: \"keystroke\",\n credential
|
|
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 generic_api_key: z.string(),\n};\n\nexport const removeBg: KeystrokeApp<\"remove_bg\", typeof credential> = defineApp({\n slug: \"remove_bg\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAmE;CAC9E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const removeBg: KeystrokeApp<"remove_bg", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { removeBg };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const removeBg: KeystrokeApp<"remove_bg", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { removeBg };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
|
package/dist/app.mjs
CHANGED
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\";\nimport { z } from \"zod\";\n\nexport const removeBg = defineApp({\n slug: \"remove_bg\",\n auth: \"keystroke\",\n credential
|
|
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 generic_api_key: z.string(),\n};\n\nexport const removeBg: KeystrokeApp<\"remove_bg\", typeof credential> = defineApp({\n slug: \"remove_bg\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAyD,UAAU;CAC9E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { removeBg } from "./app.cjs";
|
|
1
2
|
import { removeBgGetAccount } from "./actions/get-account.cjs";
|
|
2
3
|
import { removeBgRemoveBg } from "./actions/remove-bg.cjs";
|
|
3
4
|
import { removeBgSubmitImprovement } from "./actions/submit-improvement.cjs";
|
|
4
|
-
import { removeBg } from "./app.cjs";
|
|
5
5
|
import { removeBgCatalog } from "./catalog.cjs";
|
|
6
6
|
export { removeBg, removeBgCatalog, removeBgGetAccount, removeBgRemoveBg, removeBgSubmitImprovement };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { removeBg } from "./app.mjs";
|
|
1
2
|
import { removeBgGetAccount } from "./actions/get-account.mjs";
|
|
2
3
|
import { removeBgRemoveBg } from "./actions/remove-bg.mjs";
|
|
3
4
|
import { removeBgSubmitImprovement } from "./actions/submit-improvement.mjs";
|
|
4
|
-
import { removeBg } from "./app.mjs";
|
|
5
5
|
import { removeBgCatalog } from "./catalog.mjs";
|
|
6
6
|
export { removeBg, removeBgCatalog, removeBgGetAccount, removeBgRemoveBg, removeBgSubmitImprovement };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/remove_bg",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|