@keystrokehq/owl_protocol 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/deploy-collection.cjs +1 -0
- package/dist/actions/deploy-collection.cjs.map +1 -1
- package/dist/actions/deploy-collection.d.cts +3 -21
- package/dist/actions/deploy-collection.d.cts.map +1 -1
- package/dist/actions/deploy-collection.d.mts +3 -21
- package/dist/actions/deploy-collection.d.mts.map +1 -1
- package/dist/actions/deploy-collection.mjs +1 -0
- package/dist/actions/deploy-collection.mjs.map +1 -1
- package/dist/actions/get-project-details.cjs +1 -0
- package/dist/actions/get-project-details.cjs.map +1 -1
- package/dist/actions/get-project-details.d.cts +3 -13
- package/dist/actions/get-project-details.d.cts.map +1 -1
- package/dist/actions/get-project-details.d.mts +3 -13
- package/dist/actions/get-project-details.d.mts.map +1 -1
- package/dist/actions/get-project-details.mjs +1 -0
- package/dist/actions/get-project-details.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -13
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -13
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.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":["owlProtocol","executeOwlProtocolTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { owlProtocol } from \"./app\";\nimport { executeOwlProtocolTool } 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":["owlProtocol","executeOwlProtocolTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { owlProtocol } from \"./app\";\nimport { executeOwlProtocolTool } 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 owlProtocol.credential> {\n return owlProtocol.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 executeOwlProtocolTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,OAAOA,YAAAA,YAAY,OAAO;EACxB,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,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;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 { owlProtocol } from \"./app\";\nimport { executeOwlProtocolTool } 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 { owlProtocol } from \"./app\";\nimport { executeOwlProtocolTool } 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 owlProtocol.credential> {\n return owlProtocol.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 executeOwlProtocolTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-collection.cjs","names":["z","action"],"sources":["../../src/actions/deploy-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OwlProtocolDeployCollectionInput = z.object({\n args: z.array(z.union([z.string(), z.number().int(), z.boolean(), z.number()])).describe(\"Constructor arguments for the contract.\").optional(),\n name: z.string().describe(\"Display name for the ERC721 collection.\"),\n symbol: z.string().describe(\"Symbol for the collection (token ticker).\"),\n chainId: z.number().int().describe(\"Blockchain network chain ID.\"),\n overrides: z.record(z.string(), z.unknown()).describe(\"Transaction parameters to override (e.g., gasLimit).\").optional(),\n projectId: z.string().describe(\"Project identifier.\"),\n contractName: z.string().describe(\"Name of the contract to deploy.\"),\n});\nexport const OwlProtocolDeployCollectionOutput = z.object({\n status: z.string().describe(\"Status message of the deployment.\").nullable(),\n address: z.string().describe(\"Deployed contract address.\").nullable(),\n chainId: z.number().int().describe(\"Blockchain network chain ID.\").nullable(),\n transactionHash: z.string().describe(\"Transaction hash of the deployment.\").nullable(),\n}).passthrough();\n\nexport const owlProtocolDeployCollection = action(\"OWL_PROTOCOL_DEPLOY_COLLECTION\", {\n slug: \"owl_protocol-deploy-collection\",\n name: \"Deploy ERC721 Collection\",\n description: \"Tool to deploy a new ERC721 collection contract. Use after creating a project to programmatically deploy the collection on a specified blockchain.\",\n input: OwlProtocolDeployCollectionInput,\n output: OwlProtocolDeployCollectionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"deploy-collection.cjs","names":["z","action"],"sources":["../../src/actions/deploy-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { owlProtocol } from \"../app\";\n\nexport const OwlProtocolDeployCollectionInput = z.object({\n args: z.array(z.union([z.string(), z.number().int(), z.boolean(), z.number()])).describe(\"Constructor arguments for the contract.\").optional(),\n name: z.string().describe(\"Display name for the ERC721 collection.\"),\n symbol: z.string().describe(\"Symbol for the collection (token ticker).\"),\n chainId: z.number().int().describe(\"Blockchain network chain ID.\"),\n overrides: z.record(z.string(), z.unknown()).describe(\"Transaction parameters to override (e.g., gasLimit).\").optional(),\n projectId: z.string().describe(\"Project identifier.\"),\n contractName: z.string().describe(\"Name of the contract to deploy.\"),\n});\nexport const OwlProtocolDeployCollectionOutput = z.object({\n status: z.string().describe(\"Status message of the deployment.\").nullable(),\n address: z.string().describe(\"Deployed contract address.\").nullable(),\n chainId: z.number().int().describe(\"Blockchain network chain ID.\").nullable(),\n transactionHash: z.string().describe(\"Transaction hash of the deployment.\").nullable(),\n}).passthrough();\n\nexport const owlProtocolDeployCollection: AppAction<\n typeof OwlProtocolDeployCollectionInput,\n typeof OwlProtocolDeployCollectionOutput,\n typeof owlProtocol.credential\n> = action(\"OWL_PROTOCOL_DEPLOY_COLLECTION\", {\n slug: \"owl_protocol-deploy-collection\",\n name: \"Deploy ERC721 Collection\",\n description: \"Tool to deploy a new ERC721 collection contract. Use after creating a project to programmatically deploy the collection on a specified blockchain.\",\n input: OwlProtocolDeployCollectionInput,\n output: OwlProtocolDeployCollectionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACpD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACrE,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { owlProtocol } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/deploy-collection.d.ts
|
|
@@ -16,27 +18,7 @@ declare const OwlProtocolDeployCollectionOutput: z.ZodObject<{
|
|
|
16
18
|
chainId: z.ZodNullable<z.ZodNumber>;
|
|
17
19
|
transactionHash: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const owlProtocolDeployCollection:
|
|
20
|
-
name: string;
|
|
21
|
-
symbol: string;
|
|
22
|
-
chainId: number;
|
|
23
|
-
projectId: string;
|
|
24
|
-
contractName: string;
|
|
25
|
-
args?: (string | number | boolean)[] | undefined;
|
|
26
|
-
overrides?: Record<string, unknown> | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"owl_protocol", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"owl_protocol", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const owlProtocolDeployCollection: AppAction<typeof OwlProtocolDeployCollectionInput, typeof OwlProtocolDeployCollectionOutput, typeof owlProtocol.credential>;
|
|
40
22
|
//#endregion
|
|
41
23
|
export { owlProtocolDeployCollection };
|
|
42
24
|
//# sourceMappingURL=deploy-collection.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-collection.d.cts","names":[],"sources":["../../src/actions/deploy-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"deploy-collection.d.cts","names":[],"sources":["../../src/actions/deploy-collection.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { owlProtocol } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/deploy-collection.d.ts
|
|
@@ -16,27 +18,7 @@ declare const OwlProtocolDeployCollectionOutput: z.ZodObject<{
|
|
|
16
18
|
chainId: z.ZodNullable<z.ZodNumber>;
|
|
17
19
|
transactionHash: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const owlProtocolDeployCollection:
|
|
20
|
-
name: string;
|
|
21
|
-
symbol: string;
|
|
22
|
-
chainId: number;
|
|
23
|
-
projectId: string;
|
|
24
|
-
contractName: string;
|
|
25
|
-
args?: (string | number | boolean)[] | undefined;
|
|
26
|
-
overrides?: Record<string, unknown> | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"owl_protocol", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"owl_protocol", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const owlProtocolDeployCollection: AppAction<typeof OwlProtocolDeployCollectionInput, typeof OwlProtocolDeployCollectionOutput, typeof owlProtocol.credential>;
|
|
40
22
|
//#endregion
|
|
41
23
|
export { owlProtocolDeployCollection };
|
|
42
24
|
//# sourceMappingURL=deploy-collection.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-collection.d.mts","names":[],"sources":["../../src/actions/deploy-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"deploy-collection.d.mts","names":[],"sources":["../../src/actions/deploy-collection.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-collection.mjs","names":[],"sources":["../../src/actions/deploy-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OwlProtocolDeployCollectionInput = z.object({\n args: z.array(z.union([z.string(), z.number().int(), z.boolean(), z.number()])).describe(\"Constructor arguments for the contract.\").optional(),\n name: z.string().describe(\"Display name for the ERC721 collection.\"),\n symbol: z.string().describe(\"Symbol for the collection (token ticker).\"),\n chainId: z.number().int().describe(\"Blockchain network chain ID.\"),\n overrides: z.record(z.string(), z.unknown()).describe(\"Transaction parameters to override (e.g., gasLimit).\").optional(),\n projectId: z.string().describe(\"Project identifier.\"),\n contractName: z.string().describe(\"Name of the contract to deploy.\"),\n});\nexport const OwlProtocolDeployCollectionOutput = z.object({\n status: z.string().describe(\"Status message of the deployment.\").nullable(),\n address: z.string().describe(\"Deployed contract address.\").nullable(),\n chainId: z.number().int().describe(\"Blockchain network chain ID.\").nullable(),\n transactionHash: z.string().describe(\"Transaction hash of the deployment.\").nullable(),\n}).passthrough();\n\nexport const owlProtocolDeployCollection = action(\"OWL_PROTOCOL_DEPLOY_COLLECTION\", {\n slug: \"owl_protocol-deploy-collection\",\n name: \"Deploy ERC721 Collection\",\n description: \"Tool to deploy a new ERC721 collection contract. Use after creating a project to programmatically deploy the collection on a specified blockchain.\",\n input: OwlProtocolDeployCollectionInput,\n output: OwlProtocolDeployCollectionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"deploy-collection.mjs","names":[],"sources":["../../src/actions/deploy-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { owlProtocol } from \"../app\";\n\nexport const OwlProtocolDeployCollectionInput = z.object({\n args: z.array(z.union([z.string(), z.number().int(), z.boolean(), z.number()])).describe(\"Constructor arguments for the contract.\").optional(),\n name: z.string().describe(\"Display name for the ERC721 collection.\"),\n symbol: z.string().describe(\"Symbol for the collection (token ticker).\"),\n chainId: z.number().int().describe(\"Blockchain network chain ID.\"),\n overrides: z.record(z.string(), z.unknown()).describe(\"Transaction parameters to override (e.g., gasLimit).\").optional(),\n projectId: z.string().describe(\"Project identifier.\"),\n contractName: z.string().describe(\"Name of the contract to deploy.\"),\n});\nexport const OwlProtocolDeployCollectionOutput = z.object({\n status: z.string().describe(\"Status message of the deployment.\").nullable(),\n address: z.string().describe(\"Deployed contract address.\").nullable(),\n chainId: z.number().int().describe(\"Blockchain network chain ID.\").nullable(),\n transactionHash: z.string().describe(\"Transaction hash of the deployment.\").nullable(),\n}).passthrough();\n\nexport const owlProtocolDeployCollection: AppAction<\n typeof OwlProtocolDeployCollectionInput,\n typeof OwlProtocolDeployCollectionOutput,\n typeof owlProtocol.credential\n> = action(\"OWL_PROTOCOL_DEPLOY_COLLECTION\", {\n slug: \"owl_protocol-deploy-collection\",\n name: \"Deploy ERC721 Collection\",\n description: \"Tool to deploy a new ERC721 collection contract. Use after creating a project to programmatically deploy the collection on a specified blockchain.\",\n input: OwlProtocolDeployCollectionInput,\n output: OwlProtocolDeployCollectionOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC7I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EACjE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACpD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACrE,CAgBS;CACP,QAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-details.cjs","names":["z","action"],"sources":["../../src/actions/get-project-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OwlProtocolGetProjectDetailsInput = z.object({}).describe(\"Request model for retrieving project details. No parameters are required; the project is identified via the API key header.\");\nexport const OwlProtocolGetProjectDetailsOutput = z.object({\n name: z.string().describe(\"Name of the project.\").nullable(),\n owner: z.string().describe(\"Owner of the project.\").nullable(),\n createdAt: z.string().describe(\"ISO-8601 timestamp when the project was created.\").nullable(),\n projectId: z.string().describe(\"Unique identifier of the project.\").nullable(),\n updatedAt: z.string().describe(\"ISO-8601 timestamp when the project was last updated.\").nullable(),\n description: z.string().describe(\"Optional description of the project.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetProjectDetails action.\");\n\nexport const owlProtocolGetProjectDetails = action(\"OWL_PROTOCOL_GET_PROJECT_DETAILS\", {\n slug: \"owl_protocol-get-project-details\",\n name: \"Get Project Details\",\n description: \"Tool to retrieve details of a specific project. Use when you need metadata about a project after authenticating with your API key.\",\n input: OwlProtocolGetProjectDetailsInput,\n output: OwlProtocolGetProjectDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project-details.cjs","names":["z","action"],"sources":["../../src/actions/get-project-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { owlProtocol } from \"../app\";\n\nexport const OwlProtocolGetProjectDetailsInput = z.object({}).describe(\"Request model for retrieving project details. No parameters are required; the project is identified via the API key header.\");\nexport const OwlProtocolGetProjectDetailsOutput = z.object({\n name: z.string().describe(\"Name of the project.\").nullable(),\n owner: z.string().describe(\"Owner of the project.\").nullable(),\n createdAt: z.string().describe(\"ISO-8601 timestamp when the project was created.\").nullable(),\n projectId: z.string().describe(\"Unique identifier of the project.\").nullable(),\n updatedAt: z.string().describe(\"ISO-8601 timestamp when the project was last updated.\").nullable(),\n description: z.string().describe(\"Optional description of the project.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetProjectDetails action.\");\n\nexport const owlProtocolGetProjectDetails: AppAction<\n typeof OwlProtocolGetProjectDetailsInput,\n typeof OwlProtocolGetProjectDetailsOutput,\n typeof owlProtocol.credential\n> = action(\"OWL_PROTOCOL_GET_PROJECT_DETAILS\", {\n slug: \"owl_protocol-get-project-details\",\n name: \"Get Project Details\",\n description: \"Tool to retrieve details of a specific project. Use when you need metadata about a project after authenticating with your API key.\",\n input: OwlProtocolGetProjectDetailsInput,\n output: OwlProtocolGetProjectDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H;AACpM,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { owlProtocol } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-project-details.d.ts
|
|
@@ -10,19 +12,7 @@ declare const OwlProtocolGetProjectDetailsOutput: z.ZodObject<{
|
|
|
10
12
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
11
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const owlProtocolGetProjectDetails:
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"owl_protocol", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const owlProtocolGetProjectDetails: AppAction<typeof OwlProtocolGetProjectDetailsInput, typeof OwlProtocolGetProjectDetailsOutput, typeof owlProtocol.credential>;
|
|
26
16
|
//#endregion
|
|
27
17
|
export { owlProtocolGetProjectDetails };
|
|
28
18
|
//# sourceMappingURL=get-project-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-details.d.cts","names":[],"sources":["../../src/actions/get-project-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project-details.d.cts","names":[],"sources":["../../src/actions/get-project-details.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cASlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { owlProtocol } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-project-details.d.ts
|
|
@@ -10,19 +12,7 @@ declare const OwlProtocolGetProjectDetailsOutput: z.ZodObject<{
|
|
|
10
12
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
11
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const owlProtocolGetProjectDetails:
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"owl_protocol", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const owlProtocolGetProjectDetails: AppAction<typeof OwlProtocolGetProjectDetailsInput, typeof OwlProtocolGetProjectDetailsOutput, typeof owlProtocol.credential>;
|
|
26
16
|
//#endregion
|
|
27
17
|
export { owlProtocolGetProjectDetails };
|
|
28
18
|
//# sourceMappingURL=get-project-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-details.d.mts","names":[],"sources":["../../src/actions/get-project-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project-details.d.mts","names":[],"sources":["../../src/actions/get-project-details.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cASlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-details.mjs","names":[],"sources":["../../src/actions/get-project-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OwlProtocolGetProjectDetailsInput = z.object({}).describe(\"Request model for retrieving project details. No parameters are required; the project is identified via the API key header.\");\nexport const OwlProtocolGetProjectDetailsOutput = z.object({\n name: z.string().describe(\"Name of the project.\").nullable(),\n owner: z.string().describe(\"Owner of the project.\").nullable(),\n createdAt: z.string().describe(\"ISO-8601 timestamp when the project was created.\").nullable(),\n projectId: z.string().describe(\"Unique identifier of the project.\").nullable(),\n updatedAt: z.string().describe(\"ISO-8601 timestamp when the project was last updated.\").nullable(),\n description: z.string().describe(\"Optional description of the project.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetProjectDetails action.\");\n\nexport const owlProtocolGetProjectDetails = action(\"OWL_PROTOCOL_GET_PROJECT_DETAILS\", {\n slug: \"owl_protocol-get-project-details\",\n name: \"Get Project Details\",\n description: \"Tool to retrieve details of a specific project. Use when you need metadata about a project after authenticating with your API key.\",\n input: OwlProtocolGetProjectDetailsInput,\n output: OwlProtocolGetProjectDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project-details.mjs","names":[],"sources":["../../src/actions/get-project-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { owlProtocol } from \"../app\";\n\nexport const OwlProtocolGetProjectDetailsInput = z.object({}).describe(\"Request model for retrieving project details. No parameters are required; the project is identified via the API key header.\");\nexport const OwlProtocolGetProjectDetailsOutput = z.object({\n name: z.string().describe(\"Name of the project.\").nullable(),\n owner: z.string().describe(\"Owner of the project.\").nullable(),\n createdAt: z.string().describe(\"ISO-8601 timestamp when the project was created.\").nullable(),\n projectId: z.string().describe(\"Unique identifier of the project.\").nullable(),\n updatedAt: z.string().describe(\"ISO-8601 timestamp when the project was last updated.\").nullable(),\n description: z.string().describe(\"Optional description of the project.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetProjectDetails action.\");\n\nexport const owlProtocolGetProjectDetails: AppAction<\n typeof OwlProtocolGetProjectDetailsInput,\n typeof OwlProtocolGetProjectDetailsOutput,\n typeof owlProtocol.credential\n> = action(\"OWL_PROTOCOL_GET_PROJECT_DETAILS\", {\n slug: \"owl_protocol-get-project-details\",\n name: \"Get Project Details\",\n description: \"Tool to retrieve details of a specific project. Use when you need metadata about a project after authenticating with your API key.\",\n input: OwlProtocolGetProjectDetailsInput,\n output: OwlProtocolGetProjectDetailsOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAkB9D;CACP,QAlBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OwlProtocolListProjectsInput = z.object({}).describe(\"Request model for listing all projects.\");\nconst OwlProtocolListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the project.\").nullable(),\n name: z.string().describe(\"Name of the project.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the project was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the project was last updated.\").nullable(),\n description: z.string().describe(\"Description of the project.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single project.\");\nexport const OwlProtocolListProjectsOutput = z.object({\n projects: z.array(OwlProtocolListProjects_ProjectSchema).describe(\"List of project objects.\"),\n}).passthrough().describe(\"Response model for listing all projects.\");\n\nexport const owlProtocolListProjects = action(\"OWL_PROTOCOL_LIST_PROJECTS\", {\n slug: \"owl_protocol-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all projects. Use when you need to retrieve all projects accessible by the authenticated user.\",\n input: OwlProtocolListProjectsInput,\n output: OwlProtocolListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { owlProtocol } from \"../app\";\n\nexport const OwlProtocolListProjectsInput = z.object({}).describe(\"Request model for listing all projects.\");\nconst OwlProtocolListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the project.\").nullable(),\n name: z.string().describe(\"Name of the project.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the project was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the project was last updated.\").nullable(),\n description: z.string().describe(\"Description of the project.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single project.\");\nexport const OwlProtocolListProjectsOutput = z.object({\n projects: z.array(OwlProtocolListProjects_ProjectSchema).describe(\"List of project objects.\"),\n}).passthrough().describe(\"Response model for listing all projects.\");\n\nexport const owlProtocolListProjects: AppAction<\n typeof OwlProtocolListProjectsInput,\n typeof OwlProtocolListProjectsOutput,\n typeof owlProtocol.credential\n> = action(\"OWL_PROTOCOL_LIST_PROJECTS\", {\n slug: \"owl_protocol-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all projects. Use when you need to retrieve all projects accessible by the authenticated user.\",\n input: OwlProtocolListProjectsInput,\n output: OwlProtocolListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAC3G,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { owlProtocol } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -11,19 +13,7 @@ declare const OwlProtocolListProjectsOutput: z.ZodObject<{
|
|
|
11
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const owlProtocolListProjects:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"owl_protocol", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const owlProtocolListProjects: AppAction<typeof OwlProtocolListProjectsInput, typeof OwlProtocolListProjectsOutput, typeof owlProtocol.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { owlProtocolListProjects };
|
|
29
19
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { owlProtocol } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -11,19 +13,7 @@ declare const OwlProtocolListProjectsOutput: z.ZodObject<{
|
|
|
11
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const owlProtocolListProjects:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"owl_protocol", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const owlProtocolListProjects: AppAction<typeof OwlProtocolListProjectsInput, typeof OwlProtocolListProjectsOutput, typeof owlProtocol.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { owlProtocolListProjects };
|
|
29
19
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OwlProtocolListProjectsInput = z.object({}).describe(\"Request model for listing all projects.\");\nconst OwlProtocolListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the project.\").nullable(),\n name: z.string().describe(\"Name of the project.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the project was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the project was last updated.\").nullable(),\n description: z.string().describe(\"Description of the project.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single project.\");\nexport const OwlProtocolListProjectsOutput = z.object({\n projects: z.array(OwlProtocolListProjects_ProjectSchema).describe(\"List of project objects.\"),\n}).passthrough().describe(\"Response model for listing all projects.\");\n\nexport const owlProtocolListProjects = action(\"OWL_PROTOCOL_LIST_PROJECTS\", {\n slug: \"owl_protocol-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all projects. Use when you need to retrieve all projects accessible by the authenticated user.\",\n input: OwlProtocolListProjectsInput,\n output: OwlProtocolListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { owlProtocol } from \"../app\";\n\nexport const OwlProtocolListProjectsInput = z.object({}).describe(\"Request model for listing all projects.\");\nconst OwlProtocolListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the project.\").nullable(),\n name: z.string().describe(\"Name of the project.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the project was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the project was last updated.\").nullable(),\n description: z.string().describe(\"Description of the project.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single project.\");\nexport const OwlProtocolListProjectsOutput = z.object({\n projects: z.array(OwlProtocolListProjects_ProjectSchema).describe(\"List of project objects.\"),\n}).passthrough().describe(\"Response model for listing all projects.\");\n\nexport const owlProtocolListProjects: AppAction<\n typeof OwlProtocolListProjectsInput,\n typeof OwlProtocolListProjectsOutput,\n typeof owlProtocol.credential\n> = action(\"OWL_PROTOCOL_LIST_PROJECTS\", {\n slug: \"owl_protocol-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all projects. Use when you need to retrieve all projects accessible by the authenticated user.\",\n input: OwlProtocolListProjectsInput,\n output: OwlProtocolListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAC3G,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;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 owlProtocol = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "owl_protocol",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.owlProtocol = owlProtocol;
|
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 owlProtocol = defineApp({\n slug: \"owl_protocol\",\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 owlProtocol: KeystrokeApp<\"owl_protocol\", typeof credential> = defineApp({\n slug: \"owl_protocol\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,eAAA,GAAA,2BAAA,UAAA,CAAyE;CACpF,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 owlProtocol: KeystrokeApp<"owl_protocol", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { owlProtocol };
|
|
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,WAAA,EAAa,YAAY,wBAAwB,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 owlProtocol: KeystrokeApp<"owl_protocol", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { owlProtocol };
|
|
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,WAAA,EAAa,YAAY,wBAAwB,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 owlProtocol = defineApp({\n slug: \"owl_protocol\",\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 owlProtocol: KeystrokeApp<\"owl_protocol\", typeof credential> = defineApp({\n slug: \"owl_protocol\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,cAA+D,UAAU;CACpF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { owlProtocol } from "./app.cjs";
|
|
1
2
|
import { owlProtocolDeployCollection } from "./actions/deploy-collection.cjs";
|
|
2
3
|
import { owlProtocolGetProjectDetails } from "./actions/get-project-details.cjs";
|
|
3
4
|
import { owlProtocolListProjects } from "./actions/list-projects.cjs";
|
|
4
|
-
import { owlProtocol } from "./app.cjs";
|
|
5
5
|
import { owlProtocolCatalog } from "./catalog.cjs";
|
|
6
6
|
export { owlProtocol, owlProtocolCatalog, owlProtocolDeployCollection, owlProtocolGetProjectDetails, owlProtocolListProjects };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { owlProtocol } from "./app.mjs";
|
|
1
2
|
import { owlProtocolDeployCollection } from "./actions/deploy-collection.mjs";
|
|
2
3
|
import { owlProtocolGetProjectDetails } from "./actions/get-project-details.mjs";
|
|
3
4
|
import { owlProtocolListProjects } from "./actions/list-projects.mjs";
|
|
4
|
-
import { owlProtocol } from "./app.mjs";
|
|
5
5
|
import { owlProtocolCatalog } from "./catalog.mjs";
|
|
6
6
|
export { owlProtocol, owlProtocolCatalog, owlProtocolDeployCollection, owlProtocolGetProjectDetails, owlProtocolListProjects };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/owl_protocol",
|
|
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": {
|