@keystrokehq/neuronwriter 0.1.4 → 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/import-content.cjs +1 -0
- package/dist/actions/import-content.cjs.map +1 -1
- package/dist/actions/import-content.d.cts +3 -13
- package/dist/actions/import-content.d.cts.map +1 -1
- package/dist/actions/import-content.d.mts +3 -13
- package/dist/actions/import-content.d.mts.map +1 -1
- package/dist/actions/import-content.mjs +1 -0
- package/dist/actions/import-content.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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":["neuronwriter","executeNeuronwriterTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { neuronwriter } from \"./app\";\nimport { executeNeuronwriterTool } 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":["neuronwriter","executeNeuronwriterTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { neuronwriter } from \"./app\";\nimport { executeNeuronwriterTool } 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 neuronwriter.credential> {\n return neuronwriter.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 executeNeuronwriterTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO4D;CAC5D,OAAOA,YAAAA,aAAa,OAAO;EACzB,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,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;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 { neuronwriter } from \"./app\";\nimport { executeNeuronwriterTool } 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 { neuronwriter } from \"./app\";\nimport { executeNeuronwriterTool } 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 neuronwriter.credential> {\n return neuronwriter.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 executeNeuronwriterTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO4D;CAC5D,OAAO,aAAa,OAAO;EACzB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-content.cjs","names":["z","action"],"sources":["../../src/actions/import-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeuronwriterImportContentInput = z.object({\n id: z.string().describe(\"When using URL, the id of the container that holds the content.\").optional(),\n url: z.string().describe(\"URL to import and parse content from. Required if 'html' not provided.\").optional(),\n html: z.string().describe(\"HTML content to import. Required if 'url' not provided.\").optional(),\n query: z.string().describe(\"The ID of your query.\"),\n title: z.string().describe(\"Title of your article; overwrites title from HTML/URL if provided.\").optional(),\n accept: z.string().describe(\"Override Accept header (defaults to application/json).\").optional(),\n api_key: z.string().describe(\"Override X-API-KEY header for authentication.\").optional(),\n description: z.string().describe(\"Meta description; overwrites description from HTML/URL if provided.\").optional(),\n content_type: z.string().describe(\"Override Content-Type header (defaults to application/json).\").optional(),\n extra_headers: z.record(z.string(), z.unknown()).describe(\"Additional headers to merge into the request (for testing).\").optional(),\n container_class: z.string().describe(\"When using URL, the class of the container that holds the content.\").optional(),\n});\nexport const NeuronwriterImportContentOutput = z.object({\n error: z.string().describe(\"Error message if import fails.\").nullable().optional(),\n status: z.string().describe(\"Import status (e.g., 'ok').\").nullable(),\n content_score: z.number().describe(\"Content score returned after import, if available.\").nullable().optional(),\n}).passthrough();\n\nexport const neuronwriterImportContent = action(\"NEURONWRITER_IMPORT_CONTENT\", {\n slug: \"neuronwriter-import-content\",\n name: \"Import Content\",\n description: \"Tool to import content into the editor. Use when updating editor content via HTML or URL.\",\n input: NeuronwriterImportContentInput,\n output: NeuronwriterImportContentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"import-content.cjs","names":["z","action"],"sources":["../../src/actions/import-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neuronwriter } from \"../app\";\n\nexport const NeuronwriterImportContentInput = z.object({\n id: z.string().describe(\"When using URL, the id of the container that holds the content.\").optional(),\n url: z.string().describe(\"URL to import and parse content from. Required if 'html' not provided.\").optional(),\n html: z.string().describe(\"HTML content to import. Required if 'url' not provided.\").optional(),\n query: z.string().describe(\"The ID of your query.\"),\n title: z.string().describe(\"Title of your article; overwrites title from HTML/URL if provided.\").optional(),\n accept: z.string().describe(\"Override Accept header (defaults to application/json).\").optional(),\n api_key: z.string().describe(\"Override X-API-KEY header for authentication.\").optional(),\n description: z.string().describe(\"Meta description; overwrites description from HTML/URL if provided.\").optional(),\n content_type: z.string().describe(\"Override Content-Type header (defaults to application/json).\").optional(),\n extra_headers: z.record(z.string(), z.unknown()).describe(\"Additional headers to merge into the request (for testing).\").optional(),\n container_class: z.string().describe(\"When using URL, the class of the container that holds the content.\").optional(),\n});\nexport const NeuronwriterImportContentOutput = z.object({\n error: z.string().describe(\"Error message if import fails.\").nullable().optional(),\n status: z.string().describe(\"Import status (e.g., 'ok').\").nullable(),\n content_score: z.number().describe(\"Content score returned after import, if available.\").nullable().optional(),\n}).passthrough();\n\nexport const neuronwriterImportContent: AppAction<\n typeof NeuronwriterImportContentInput,\n typeof NeuronwriterImportContentOutput,\n typeof neuronwriter.credential\n> = action(\"NEURONWRITER_IMPORT_CONTENT\", {\n slug: \"neuronwriter-import-content\",\n name: \"Import Content\",\n description: \"Tool to import content into the editor. Use when updating editor content via HTML or URL.\",\n input: NeuronwriterImportContentInput,\n output: NeuronwriterImportContentOutput,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neuronwriter } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/import-content.d.ts
|
|
@@ -19,19 +21,7 @@ declare const NeuronwriterImportContentOutput: z.ZodObject<{
|
|
|
19
21
|
status: z.ZodNullable<z.ZodString>;
|
|
20
22
|
content_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const neuronwriterImportContent:
|
|
23
|
-
query: string;
|
|
24
|
-
id?: string | undefined;
|
|
25
|
-
url?: string | undefined;
|
|
26
|
-
html?: string | undefined;
|
|
27
|
-
title?: string | undefined;
|
|
28
|
-
accept?: string | undefined;
|
|
29
|
-
api_key?: string | undefined;
|
|
30
|
-
description?: string | undefined;
|
|
31
|
-
content_type?: string | undefined;
|
|
32
|
-
extra_headers?: Record<string, unknown> | undefined;
|
|
33
|
-
container_class?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const neuronwriterImportContent: AppAction<typeof NeuronwriterImportContentInput, typeof NeuronwriterImportContentOutput, typeof neuronwriter.credential>;
|
|
35
25
|
//#endregion
|
|
36
26
|
export { neuronwriterImportContent };
|
|
37
27
|
//# sourceMappingURL=import-content.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-content.d.cts","names":[],"sources":["../../src/actions/import-content.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"import-content.d.cts","names":[],"sources":["../../src/actions/import-content.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neuronwriter } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/import-content.d.ts
|
|
@@ -19,19 +21,7 @@ declare const NeuronwriterImportContentOutput: z.ZodObject<{
|
|
|
19
21
|
status: z.ZodNullable<z.ZodString>;
|
|
20
22
|
content_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const neuronwriterImportContent:
|
|
23
|
-
query: string;
|
|
24
|
-
id?: string | undefined;
|
|
25
|
-
url?: string | undefined;
|
|
26
|
-
html?: string | undefined;
|
|
27
|
-
title?: string | undefined;
|
|
28
|
-
accept?: string | undefined;
|
|
29
|
-
api_key?: string | undefined;
|
|
30
|
-
description?: string | undefined;
|
|
31
|
-
content_type?: string | undefined;
|
|
32
|
-
extra_headers?: Record<string, unknown> | undefined;
|
|
33
|
-
container_class?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const neuronwriterImportContent: AppAction<typeof NeuronwriterImportContentInput, typeof NeuronwriterImportContentOutput, typeof neuronwriter.credential>;
|
|
35
25
|
//#endregion
|
|
36
26
|
export { neuronwriterImportContent };
|
|
37
27
|
//# sourceMappingURL=import-content.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-content.d.mts","names":[],"sources":["../../src/actions/import-content.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"import-content.d.mts","names":[],"sources":["../../src/actions/import-content.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-content.mjs","names":[],"sources":["../../src/actions/import-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeuronwriterImportContentInput = z.object({\n id: z.string().describe(\"When using URL, the id of the container that holds the content.\").optional(),\n url: z.string().describe(\"URL to import and parse content from. Required if 'html' not provided.\").optional(),\n html: z.string().describe(\"HTML content to import. Required if 'url' not provided.\").optional(),\n query: z.string().describe(\"The ID of your query.\"),\n title: z.string().describe(\"Title of your article; overwrites title from HTML/URL if provided.\").optional(),\n accept: z.string().describe(\"Override Accept header (defaults to application/json).\").optional(),\n api_key: z.string().describe(\"Override X-API-KEY header for authentication.\").optional(),\n description: z.string().describe(\"Meta description; overwrites description from HTML/URL if provided.\").optional(),\n content_type: z.string().describe(\"Override Content-Type header (defaults to application/json).\").optional(),\n extra_headers: z.record(z.string(), z.unknown()).describe(\"Additional headers to merge into the request (for testing).\").optional(),\n container_class: z.string().describe(\"When using URL, the class of the container that holds the content.\").optional(),\n});\nexport const NeuronwriterImportContentOutput = z.object({\n error: z.string().describe(\"Error message if import fails.\").nullable().optional(),\n status: z.string().describe(\"Import status (e.g., 'ok').\").nullable(),\n content_score: z.number().describe(\"Content score returned after import, if available.\").nullable().optional(),\n}).passthrough();\n\nexport const neuronwriterImportContent = action(\"NEURONWRITER_IMPORT_CONTENT\", {\n slug: \"neuronwriter-import-content\",\n name: \"Import Content\",\n description: \"Tool to import content into the editor. Use when updating editor content via HTML or URL.\",\n input: NeuronwriterImportContentInput,\n output: NeuronwriterImportContentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"import-content.mjs","names":[],"sources":["../../src/actions/import-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neuronwriter } from \"../app\";\n\nexport const NeuronwriterImportContentInput = z.object({\n id: z.string().describe(\"When using URL, the id of the container that holds the content.\").optional(),\n url: z.string().describe(\"URL to import and parse content from. Required if 'html' not provided.\").optional(),\n html: z.string().describe(\"HTML content to import. Required if 'url' not provided.\").optional(),\n query: z.string().describe(\"The ID of your query.\"),\n title: z.string().describe(\"Title of your article; overwrites title from HTML/URL if provided.\").optional(),\n accept: z.string().describe(\"Override Accept header (defaults to application/json).\").optional(),\n api_key: z.string().describe(\"Override X-API-KEY header for authentication.\").optional(),\n description: z.string().describe(\"Meta description; overwrites description from HTML/URL if provided.\").optional(),\n content_type: z.string().describe(\"Override Content-Type header (defaults to application/json).\").optional(),\n extra_headers: z.record(z.string(), z.unknown()).describe(\"Additional headers to merge into the request (for testing).\").optional(),\n container_class: z.string().describe(\"When using URL, the class of the container that holds the content.\").optional(),\n});\nexport const NeuronwriterImportContentOutput = z.object({\n error: z.string().describe(\"Error message if import fails.\").nullable().optional(),\n status: z.string().describe(\"Import status (e.g., 'ok').\").nullable(),\n content_score: z.number().describe(\"Content score returned after import, if available.\").nullable().optional(),\n}).passthrough();\n\nexport const neuronwriterImportContent: AppAction<\n typeof NeuronwriterImportContentInput,\n typeof NeuronwriterImportContentOutput,\n typeof neuronwriter.credential\n> = action(\"NEURONWRITER_IMPORT_CONTENT\", {\n slug: \"neuronwriter-import-content\",\n name: \"Import Content\",\n description: \"Tool to import content into the editor. Use when updating editor content via HTML or URL.\",\n input: NeuronwriterImportContentInput,\n output: NeuronwriterImportContentOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,4BAIT,OAAO,+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let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const neuronwriter = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "neuronwriter",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.neuronwriter = neuronwriter;
|
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 neuronwriter = defineApp({\n slug: \"neuronwriter\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,gBAAA,
|
|
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 neuronwriter: KeystrokeApp<\"neuronwriter\", typeof credential> = defineApp({\n slug: \"neuronwriter\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,gBAAA,GAAA,2BAAA,UAAA,CAA0E;CACrF,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
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const neuronwriter: KeystrokeApp<"neuronwriter", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { neuronwriter };
|
|
5
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,YAAA,EAAc,YAAY,wBAAwB,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
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const neuronwriter: KeystrokeApp<"neuronwriter", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { neuronwriter };
|
|
5
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,YAAA,EAAc,YAAY,wBAAwB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const neuronwriter = defineApp({
|
|
4
4
|
slug: "neuronwriter",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { neuronwriter };
|
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 neuronwriter = defineApp({\n slug: \"neuronwriter\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
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 neuronwriter: KeystrokeApp<\"neuronwriter\", typeof credential> = defineApp({\n slug: \"neuronwriter\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,eAAgE,UAAU;CACrF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { neuronwriterImportContent } from "./actions/import-content.cjs";
|
|
2
1
|
import { neuronwriter } from "./app.cjs";
|
|
2
|
+
import { neuronwriterImportContent } from "./actions/import-content.cjs";
|
|
3
3
|
import { neuronwriterCatalog } from "./catalog.cjs";
|
|
4
4
|
export { neuronwriter, neuronwriterCatalog, neuronwriterImportContent };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { neuronwriterImportContent } from "./actions/import-content.mjs";
|
|
2
1
|
import { neuronwriter } from "./app.mjs";
|
|
2
|
+
import { neuronwriterImportContent } from "./actions/import-content.mjs";
|
|
3
3
|
import { neuronwriterCatalog } from "./catalog.mjs";
|
|
4
4
|
export { neuronwriter, neuronwriterCatalog, neuronwriterImportContent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/neuronwriter",
|
|
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": {
|