@keystrokehq/signpath 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.
Files changed (53) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-health-check.cjs +1 -0
  4. package/dist/actions/get-health-check.cjs.map +1 -1
  5. package/dist/actions/get-health-check.d.cts +3 -1
  6. package/dist/actions/get-health-check.d.cts.map +1 -1
  7. package/dist/actions/get-health-check.d.mts +3 -1
  8. package/dist/actions/get-health-check.d.mts.map +1 -1
  9. package/dist/actions/get-health-check.mjs +1 -0
  10. package/dist/actions/get-health-check.mjs.map +1 -1
  11. package/dist/actions/list-certificates.cjs +1 -0
  12. package/dist/actions/list-certificates.cjs.map +1 -1
  13. package/dist/actions/list-certificates.d.cts +3 -1
  14. package/dist/actions/list-certificates.d.cts.map +1 -1
  15. package/dist/actions/list-certificates.d.mts +3 -1
  16. package/dist/actions/list-certificates.d.mts.map +1 -1
  17. package/dist/actions/list-certificates.mjs +1 -0
  18. package/dist/actions/list-certificates.mjs.map +1 -1
  19. package/dist/actions/list-projects.cjs +1 -0
  20. package/dist/actions/list-projects.cjs.map +1 -1
  21. package/dist/actions/list-projects.d.cts +3 -4
  22. package/dist/actions/list-projects.d.cts.map +1 -1
  23. package/dist/actions/list-projects.d.mts +3 -4
  24. package/dist/actions/list-projects.d.mts.map +1 -1
  25. package/dist/actions/list-projects.mjs +1 -0
  26. package/dist/actions/list-projects.mjs.map +1 -1
  27. package/dist/actions/retrieve-signing-policy-details.cjs +1 -0
  28. package/dist/actions/retrieve-signing-policy-details.cjs.map +1 -1
  29. package/dist/actions/retrieve-signing-policy-details.d.cts +3 -4
  30. package/dist/actions/retrieve-signing-policy-details.d.cts.map +1 -1
  31. package/dist/actions/retrieve-signing-policy-details.d.mts +3 -4
  32. package/dist/actions/retrieve-signing-policy-details.d.mts.map +1 -1
  33. package/dist/actions/retrieve-signing-policy-details.mjs +1 -0
  34. package/dist/actions/retrieve-signing-policy-details.mjs.map +1 -1
  35. package/dist/actions/retrieve-system-info.cjs +1 -0
  36. package/dist/actions/retrieve-system-info.cjs.map +1 -1
  37. package/dist/actions/retrieve-system-info.d.cts +3 -1
  38. package/dist/actions/retrieve-system-info.d.cts.map +1 -1
  39. package/dist/actions/retrieve-system-info.d.mts +3 -1
  40. package/dist/actions/retrieve-system-info.d.mts.map +1 -1
  41. package/dist/actions/retrieve-system-info.mjs +1 -0
  42. package/dist/actions/retrieve-system-info.mjs.map +1 -1
  43. package/dist/app.cjs +9 -2
  44. package/dist/app.cjs.map +1 -1
  45. package/dist/app.d.cts +8 -1
  46. package/dist/app.d.cts.map +1 -1
  47. package/dist/app.d.mts +8 -1
  48. package/dist/app.d.mts.map +1 -1
  49. package/dist/app.mjs +6 -2
  50. package/dist/app.mjs.map +1 -1
  51. package/dist/index.d.cts +1 -1
  52. package/dist/index.d.mts +1 -1
  53. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["signpath","executeSignpathTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { signpath } from \"./app\";\nimport { executeSignpathTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return signpath.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSignpathTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
1
+ {"version":3,"file":"action.cjs","names":["signpath","executeSignpathTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { signpath } from \"./app\";\nimport { executeSignpathTool } 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 signpath.credential> {\n return signpath.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 executeSignpathTool(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"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { signpath } from \"./app\";\nimport { executeSignpathTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return signpath.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSignpathTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { signpath } from \"./app\";\nimport { executeSignpathTool } 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 signpath.credential> {\n return signpath.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 executeSignpathTool(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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-health-check.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-health-check.cjs","names":["z","action"],"sources":["../../src/actions/get-health-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignpathGetHealthCheckInput = z.object({}).describe(\"Request model for health check. No parameters are required.\");\nexport const SignpathGetHealthCheckOutput = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for health check. Returns status indicating API health.\");\n\nexport const signpathGetHealthCheck = action(\"SIGNPATH_GET_HEALTH_CHECK\", {\n slug: \"signpath-get-health-check\",\n name: \"Get Health Check\",\n description: \"Tool to check if the SignPath API is healthy and operational. Use this to verify API availability before performing other operations.\",\n input: SignpathGetHealthCheckInput,\n output: SignpathGetHealthCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9H,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-health-check.cjs","names":["z","action"],"sources":["../../src/actions/get-health-check.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signpath } from \"../app\";\n\nexport const SignpathGetHealthCheckInput = z.object({}).describe(\"Request model for health check. No parameters are required.\");\nexport const SignpathGetHealthCheckOutput = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for health check. Returns status indicating API health.\");\n\nexport const signpathGetHealthCheck: AppAction<\n typeof SignpathGetHealthCheckInput,\n typeof SignpathGetHealthCheckOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_GET_HEALTH_CHECK\", {\n slug: \"signpath-get-health-check\",\n name: \"Get Health Check\",\n description: \"Tool to check if the SignPath API is healthy and operational. Use this to verify API availability before performing other operations.\",\n input: SignpathGetHealthCheckInput,\n output: SignpathGetHealthCheckOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9H,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { signpath } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-health-check.d.ts
@@ -5,7 +7,7 @@ declare const SignpathGetHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const SignpathGetHealthCheckOutput: z.ZodObject<{
6
8
  status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
7
9
  }, z.core.$loose>;
8
- declare const signpathGetHealthCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const signpathGetHealthCheck: AppAction<typeof SignpathGetHealthCheckInput, typeof SignpathGetHealthCheckOutput, typeof signpath.credential>;
9
11
  //#endregion
10
12
  export { signpathGetHealthCheck };
11
13
  //# sourceMappingURL=get-health-check.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-health-check.d.cts","names":[],"sources":["../../src/actions/get-health-check.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-health-check.d.cts","names":[],"sources":["../../src/actions/get-health-check.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { signpath } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-health-check.d.ts
@@ -5,7 +7,7 @@ declare const SignpathGetHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const SignpathGetHealthCheckOutput: z.ZodObject<{
6
8
  status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
7
9
  }, z.core.$loose>;
8
- declare const signpathGetHealthCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const signpathGetHealthCheck: AppAction<typeof SignpathGetHealthCheckInput, typeof SignpathGetHealthCheckOutput, typeof signpath.credential>;
9
11
  //#endregion
10
12
  export { signpathGetHealthCheck };
11
13
  //# sourceMappingURL=get-health-check.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-health-check.d.mts","names":[],"sources":["../../src/actions/get-health-check.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-health-check.d.mts","names":[],"sources":["../../src/actions/get-health-check.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const signpathGetHealthCheck = action("SIGNPATH_GET_HEALTH_CHECK", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-health-check.mjs","names":[],"sources":["../../src/actions/get-health-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignpathGetHealthCheckInput = z.object({}).describe(\"Request model for health check. No parameters are required.\");\nexport const SignpathGetHealthCheckOutput = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for health check. Returns status indicating API health.\");\n\nexport const signpathGetHealthCheck = action(\"SIGNPATH_GET_HEALTH_CHECK\", {\n slug: \"signpath-get-health-check\",\n name: \"Get Health Check\",\n description: \"Tool to check if the SignPath API is healthy and operational. Use this to verify API availability before performing other operations.\",\n input: SignpathGetHealthCheckInput,\n output: SignpathGetHealthCheckOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DASxD;CACP,QAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-health-check.mjs","names":[],"sources":["../../src/actions/get-health-check.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signpath } from \"../app\";\n\nexport const SignpathGetHealthCheckInput = z.object({}).describe(\"Request model for health check. No parameters are required.\");\nexport const SignpathGetHealthCheckOutput = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for health check. Returns status indicating API health.\");\n\nexport const signpathGetHealthCheck: AppAction<\n typeof SignpathGetHealthCheckInput,\n typeof SignpathGetHealthCheckOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_GET_HEALTH_CHECK\", {\n slug: \"signpath-get-health-check\",\n name: \"Get Health Check\",\n description: \"Tool to check if the SignPath API is healthy and operational. Use this to verify API availability before performing other operations.\",\n input: SignpathGetHealthCheckInput,\n output: SignpathGetHealthCheckOutput,\n});\n"],"mappings":";;;AAWA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAaxD;CACP,QAb0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-certificates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-certificates.cjs","names":["z","action"],"sources":["../../src/actions/list-certificates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignpathListCertificatesInput = z.object({}).describe(\"Request model for listing all certificates in an organization.\");\nconst SignpathListCertificates_CertificateSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the certificate.\").nullable(),\n name: z.string().describe(\"Display name of the certificate.\").nullable(),\n}).passthrough().describe(\"Model for a certificate entry returned by the SignPath API.\");\nexport const SignpathListCertificatesOutput = z.object({\n certificates: z.array(SignpathListCertificates_CertificateSchema).describe(\"List of certificates available in the organization. Returns an empty list if no certificates are configured.\"),\n}).passthrough().describe(\"Response model for listing certificates.\");\n\nexport const signpathListCertificates = action(\"SIGNPATH_LIST_CERTIFICATES\", {\n slug: \"signpath-list-certificates\",\n name: \"List Certificates\",\n description: \"Retrieve all certificates available in a SignPath organization. Use this to discover certificate IDs needed for signing operations. Requires a valid organization_id which can be obtained from your SignPath account settings.\",\n input: SignpathListCertificatesInput,\n output: SignpathListCertificatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACnI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,cAAcA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8GAA8G,EAC3L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-certificates.cjs","names":["z","action"],"sources":["../../src/actions/list-certificates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signpath } from \"../app\";\n\nexport const SignpathListCertificatesInput = z.object({}).describe(\"Request model for listing all certificates in an organization.\");\nconst SignpathListCertificates_CertificateSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the certificate.\").nullable(),\n name: z.string().describe(\"Display name of the certificate.\").nullable(),\n}).passthrough().describe(\"Model for a certificate entry returned by the SignPath API.\");\nexport const SignpathListCertificatesOutput = z.object({\n certificates: z.array(SignpathListCertificates_CertificateSchema).describe(\"List of certificates available in the organization. Returns an empty list if no certificates are configured.\"),\n}).passthrough().describe(\"Response model for listing certificates.\");\n\nexport const signpathListCertificates: AppAction<\n typeof SignpathListCertificatesInput,\n typeof SignpathListCertificatesOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_LIST_CERTIFICATES\", {\n slug: \"signpath-list-certificates\",\n name: \"List Certificates\",\n description: \"Retrieve all certificates available in a SignPath organization. Use this to discover certificate IDs needed for signing operations. Requires a valid organization_id which can be obtained from your SignPath account settings.\",\n input: SignpathListCertificatesInput,\n output: SignpathListCertificatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACnI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,cAAcA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8GAA8G,EAC3L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { signpath } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-certificates.d.ts
@@ -8,7 +10,7 @@ declare const SignpathListCertificatesOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const signpathListCertificates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const signpathListCertificates: AppAction<typeof SignpathListCertificatesInput, typeof SignpathListCertificatesOutput, typeof signpath.credential>;
12
14
  //#endregion
13
15
  export { signpathListCertificates };
14
16
  //# sourceMappingURL=list-certificates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-certificates.d.cts","names":[],"sources":["../../src/actions/list-certificates.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-certificates.d.cts","names":[],"sources":["../../src/actions/list-certificates.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { signpath } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-certificates.d.ts
@@ -8,7 +10,7 @@ declare const SignpathListCertificatesOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const signpathListCertificates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const signpathListCertificates: AppAction<typeof SignpathListCertificatesInput, typeof SignpathListCertificatesOutput, typeof signpath.credential>;
12
14
  //#endregion
13
15
  export { signpathListCertificates };
14
16
  //# sourceMappingURL=list-certificates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-certificates.d.mts","names":[],"sources":["../../src/actions/list-certificates.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-certificates.d.mts","names":[],"sources":["../../src/actions/list-certificates.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-certificates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-certificates.mjs","names":[],"sources":["../../src/actions/list-certificates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignpathListCertificatesInput = z.object({}).describe(\"Request model for listing all certificates in an organization.\");\nconst SignpathListCertificates_CertificateSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the certificate.\").nullable(),\n name: z.string().describe(\"Display name of the certificate.\").nullable(),\n}).passthrough().describe(\"Model for a certificate entry returned by the SignPath API.\");\nexport const SignpathListCertificatesOutput = z.object({\n certificates: z.array(SignpathListCertificates_CertificateSchema).describe(\"List of certificates available in the organization. Returns an empty list if no certificates are configured.\"),\n}).passthrough().describe(\"Response model for listing certificates.\");\n\nexport const signpathListCertificates = action(\"SIGNPATH_LIST_CERTIFICATES\", {\n slug: \"signpath-list-certificates\",\n name: \"List Certificates\",\n description: \"Retrieve all certificates available in a SignPath organization. Use this to discover certificate IDs needed for signing operations. Requires a valid organization_id which can be obtained from your SignPath account settings.\",\n input: SignpathListCertificatesInput,\n output: SignpathListCertificatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACnI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAKvF,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,cAAc,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8GAA8G,EAC3L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-certificates.mjs","names":[],"sources":["../../src/actions/list-certificates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signpath } from \"../app\";\n\nexport const SignpathListCertificatesInput = z.object({}).describe(\"Request model for listing all certificates in an organization.\");\nconst SignpathListCertificates_CertificateSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the certificate.\").nullable(),\n name: z.string().describe(\"Display name of the certificate.\").nullable(),\n}).passthrough().describe(\"Model for a certificate entry returned by the SignPath API.\");\nexport const SignpathListCertificatesOutput = z.object({\n certificates: z.array(SignpathListCertificates_CertificateSchema).describe(\"List of certificates available in the organization. Returns an empty list if no certificates are configured.\"),\n}).passthrough().describe(\"Response model for listing certificates.\");\n\nexport const signpathListCertificates: AppAction<\n typeof SignpathListCertificatesInput,\n typeof SignpathListCertificatesOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_LIST_CERTIFICATES\", {\n slug: \"signpath-list-certificates\",\n name: \"List Certificates\",\n description: \"Retrieve all certificates available in a SignPath organization. Use this to discover certificate IDs needed for signing operations. Requires a valid organization_id which can be obtained from your SignPath account settings.\",\n input: SignpathListCertificatesInput,\n output: SignpathListCertificatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACnI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAKvF,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,cAAc,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8GAA8G,EAC3L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-projects.ts
@@ -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 SignpathListProjectsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination.\").optional(),\n take: z.number().int().describe(\"Number of items to return (max 100).\").optional(),\n}).describe(\"Request model for listing all projects in an organization.\");\nconst SignpathListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Project identifier.\").nullable(),\n name: z.string().describe(\"Project name.\").nullable(),\n isActive: z.boolean().describe(\"Whether the project is currently active\").nullable(),\n description: z.string().describe(\"Project description.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single project entry.\");\nexport const SignpathListProjectsOutput = z.object({\n count: z.number().int().describe(\"Total number of projects matching the criteria\").nullable(),\n value: z.array(SignpathListProjects_ProjectSchema).describe(\"Array of project objects\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const signpathListProjects = action(\"SIGNPATH_LIST_PROJECTS\", {\n slug: \"signpath-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all projects for an organization. Use after confirming the organization ID to retrieve and paginate project records.\",\n input: SignpathListProjectsInput,\n output: SignpathListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0BAA0B;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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 { signpath } from \"../app\";\n\nexport const SignpathListProjectsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination.\").optional(),\n take: z.number().int().describe(\"Number of items to return (max 100).\").optional(),\n}).describe(\"Request model for listing all projects in an organization.\");\nconst SignpathListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Project identifier.\").nullable(),\n name: z.string().describe(\"Project name.\").nullable(),\n isActive: z.boolean().describe(\"Whether the project is currently active\").nullable(),\n description: z.string().describe(\"Project description.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single project entry.\");\nexport const SignpathListProjectsOutput = z.object({\n count: z.number().int().describe(\"Total number of projects matching the criteria\").nullable(),\n value: z.array(SignpathListProjects_ProjectSchema).describe(\"Array of project objects\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const signpathListProjects: AppAction<\n typeof SignpathListProjectsInput,\n typeof SignpathListProjectsOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_LIST_PROJECTS\", {\n slug: \"signpath-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all projects for an organization. Use after confirming the organization ID to retrieve and paginate project records.\",\n input: SignpathListProjectsInput,\n output: SignpathListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0BAA0B;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { signpath } 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
@@ -14,10 +16,7 @@ declare const SignpathListProjectsOutput: z.ZodObject<{
14
16
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const signpathListProjects: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- skip?: number | undefined;
19
- take?: number | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const signpathListProjects: AppAction<typeof SignpathListProjectsInput, typeof SignpathListProjectsOutput, typeof signpath.credential>;
21
20
  //#endregion
22
21
  export { signpathListProjects };
23
22
  //# sourceMappingURL=list-projects.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAUzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAUzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { signpath } 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
@@ -14,10 +16,7 @@ declare const SignpathListProjectsOutput: z.ZodObject<{
14
16
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const signpathListProjects: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- skip?: number | undefined;
19
- take?: number | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const signpathListProjects: AppAction<typeof SignpathListProjectsInput, typeof SignpathListProjectsOutput, typeof signpath.credential>;
21
20
  //#endregion
22
21
  export { signpathListProjects };
23
22
  //# sourceMappingURL=list-projects.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAUzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAUzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-projects.ts
@@ -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 SignpathListProjectsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination.\").optional(),\n take: z.number().int().describe(\"Number of items to return (max 100).\").optional(),\n}).describe(\"Request model for listing all projects in an organization.\");\nconst SignpathListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Project identifier.\").nullable(),\n name: z.string().describe(\"Project name.\").nullable(),\n isActive: z.boolean().describe(\"Whether the project is currently active\").nullable(),\n description: z.string().describe(\"Project description.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single project entry.\");\nexport const SignpathListProjectsOutput = z.object({\n count: z.number().int().describe(\"Total number of projects matching the criteria\").nullable(),\n value: z.array(SignpathListProjects_ProjectSchema).describe(\"Array of project objects\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const signpathListProjects = action(\"SIGNPATH_LIST_PROJECTS\", {\n slug: \"signpath-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all projects for an organization. Use after confirming the organization ID to retrieve and paginate project records.\",\n input: SignpathListProjectsInput,\n output: SignpathListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0BAA0B;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
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 { signpath } from \"../app\";\n\nexport const SignpathListProjectsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination.\").optional(),\n take: z.number().int().describe(\"Number of items to return (max 100).\").optional(),\n}).describe(\"Request model for listing all projects in an organization.\");\nconst SignpathListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Project identifier.\").nullable(),\n name: z.string().describe(\"Project name.\").nullable(),\n isActive: z.boolean().describe(\"Whether the project is currently active\").nullable(),\n description: z.string().describe(\"Project description.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single project entry.\");\nexport const SignpathListProjectsOutput = z.object({\n count: z.number().int().describe(\"Total number of projects matching the criteria\").nullable(),\n value: z.array(SignpathListProjects_ProjectSchema).describe(\"Array of project objects\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const signpathListProjects: AppAction<\n typeof SignpathListProjectsInput,\n typeof SignpathListProjectsOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_LIST_PROJECTS\", {\n slug: \"signpath-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all projects for an organization. Use after confirming the organization ID to retrieve and paginate project records.\",\n input: SignpathListProjectsInput,\n output: SignpathListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0BAA0B;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-signing-policy-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-signing-policy-details.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-signing-policy-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignpathRetrieveSigningPolicyDetailsInput = z.object({\n project_slug: z.string().describe(\"Optional project slug to filter signing policies for a specific project. Required when using signing_policy_slug.\").optional(),\n signing_policy_slug: z.string().describe(\"Optional signing policy slug to get details for a specific policy. Must be used together with project_slug.\").optional(),\n}).describe(\"Request model for retrieving signing policy details.\");\nconst SignpathRetrieveSigningPolicyDetails_RsaParametersSchema = z.object({\n modulus: z.string().describe(\"The modulus of the RSA key.\").nullable().optional(),\n publicExponent: z.string().describe(\"The public exponent of the RSA key.\").nullable().optional(),\n}).passthrough().describe(\"RSA key parameters for the signing policy.\");\nconst SignpathRetrieveSigningPolicyDetails_SigningPolicyDetailSchema = z.object({\n keyType: z.string().describe(\"The type of signing key (e.g., RSA, ECC).\").nullable().optional(),\n projectSlug: z.string().describe(\"The slug identifier of the project.\").nullable().optional(),\n keySizeInBits: z.number().int().describe(\"The size of the signing key in bits.\").nullable().optional(),\n rsaParameters: SignpathRetrieveSigningPolicyDetails_RsaParametersSchema.nullable().optional(),\n publicKeyBytes: z.string().describe(\"The public key in base64-encoded format.\").nullable().optional(),\n signingPolicyId: z.string().describe(\"Unique identifier (UUID) of the signing policy.\").nullable(),\n certificateBytes: z.string().describe(\"The X.509 certificate in base64-encoded format.\").nullable().optional(),\n signingPolicySlug: z.string().describe(\"The slug identifier of the signing policy.\").nullable().optional(),\n}).passthrough().describe(\"Details of a signing policy including certificate and key information.\");\nexport const SignpathRetrieveSigningPolicyDetailsOutput = z.object({\n signingPolicies: z.array(SignpathRetrieveSigningPolicyDetails_SigningPolicyDetailSchema).describe(\"List of signing policies available to the organization.\"),\n}).passthrough().describe(\"Response model containing a list of signing policies.\");\n\nexport const signpathRetrieveSigningPolicyDetails = action(\"SIGNPATH_RETRIEVE_SIGNING_POLICY_DETAILS\", {\n slug: \"signpath-retrieve-signing-policy-details\",\n name: \"Retrieve Signing Policy Details\",\n description: \"Retrieve signing policy details for code signing operations. Returns certificate info, RSA key parameters, and policy metadata for the authenticated user's accessible signing policies. Without filters, returns all policies where the user is assigned as Submitter.\",\n input: SignpathRetrieveSigningPolicyDetailsInput,\n output: SignpathRetrieveSigningPolicyDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAe,yDAAyD,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,iBAAiBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,yDAAyD,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-signing-policy-details.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-signing-policy-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signpath } from \"../app\";\n\nexport const SignpathRetrieveSigningPolicyDetailsInput = z.object({\n project_slug: z.string().describe(\"Optional project slug to filter signing policies for a specific project. Required when using signing_policy_slug.\").optional(),\n signing_policy_slug: z.string().describe(\"Optional signing policy slug to get details for a specific policy. Must be used together with project_slug.\").optional(),\n}).describe(\"Request model for retrieving signing policy details.\");\nconst SignpathRetrieveSigningPolicyDetails_RsaParametersSchema = z.object({\n modulus: z.string().describe(\"The modulus of the RSA key.\").nullable().optional(),\n publicExponent: z.string().describe(\"The public exponent of the RSA key.\").nullable().optional(),\n}).passthrough().describe(\"RSA key parameters for the signing policy.\");\nconst SignpathRetrieveSigningPolicyDetails_SigningPolicyDetailSchema = z.object({\n keyType: z.string().describe(\"The type of signing key (e.g., RSA, ECC).\").nullable().optional(),\n projectSlug: z.string().describe(\"The slug identifier of the project.\").nullable().optional(),\n keySizeInBits: z.number().int().describe(\"The size of the signing key in bits.\").nullable().optional(),\n rsaParameters: SignpathRetrieveSigningPolicyDetails_RsaParametersSchema.nullable().optional(),\n publicKeyBytes: z.string().describe(\"The public key in base64-encoded format.\").nullable().optional(),\n signingPolicyId: z.string().describe(\"Unique identifier (UUID) of the signing policy.\").nullable(),\n certificateBytes: z.string().describe(\"The X.509 certificate in base64-encoded format.\").nullable().optional(),\n signingPolicySlug: z.string().describe(\"The slug identifier of the signing policy.\").nullable().optional(),\n}).passthrough().describe(\"Details of a signing policy including certificate and key information.\");\nexport const SignpathRetrieveSigningPolicyDetailsOutput = z.object({\n signingPolicies: z.array(SignpathRetrieveSigningPolicyDetails_SigningPolicyDetailSchema).describe(\"List of signing policies available to the organization.\"),\n}).passthrough().describe(\"Response model containing a list of signing policies.\");\n\nexport const signpathRetrieveSigningPolicyDetails: AppAction<\n typeof SignpathRetrieveSigningPolicyDetailsInput,\n typeof SignpathRetrieveSigningPolicyDetailsOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_RETRIEVE_SIGNING_POLICY_DETAILS\", {\n slug: \"signpath-retrieve-signing-policy-details\",\n name: \"Retrieve Signing Policy Details\",\n description: \"Retrieve signing policy details for code signing operations. Returns certificate info, RSA key parameters, and policy metadata for the authenticated user's accessible signing policies. Without filters, returns all policies where the user is assigned as Submitter.\",\n input: SignpathRetrieveSigningPolicyDetailsInput,\n output: SignpathRetrieveSigningPolicyDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAe,yDAAyD,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,iBAAiBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,yDAAyD,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,uCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { signpath } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-signing-policy-details.d.ts
@@ -20,10 +22,7 @@ declare const SignpathRetrieveSigningPolicyDetailsOutput: z.ZodObject<{
20
22
  signingPolicySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const signpathRetrieveSigningPolicyDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- project_slug?: string | undefined;
25
- signing_policy_slug?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const signpathRetrieveSigningPolicyDetails: AppAction<typeof SignpathRetrieveSigningPolicyDetailsInput, typeof SignpathRetrieveSigningPolicyDetailsOutput, typeof signpath.credential>;
27
26
  //#endregion
28
27
  export { signpathRetrieveSigningPolicyDetails };
29
28
  //# sourceMappingURL=retrieve-signing-policy-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-signing-policy-details.d.cts","names":[],"sources":["../../src/actions/retrieve-signing-policy-details.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAkBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"retrieve-signing-policy-details.d.cts","names":[],"sources":["../../src/actions/retrieve-signing-policy-details.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAkBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { signpath } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-signing-policy-details.d.ts
@@ -20,10 +22,7 @@ declare const SignpathRetrieveSigningPolicyDetailsOutput: z.ZodObject<{
20
22
  signingPolicySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const signpathRetrieveSigningPolicyDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- project_slug?: string | undefined;
25
- signing_policy_slug?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const signpathRetrieveSigningPolicyDetails: AppAction<typeof SignpathRetrieveSigningPolicyDetailsInput, typeof SignpathRetrieveSigningPolicyDetailsOutput, typeof signpath.credential>;
27
26
  //#endregion
28
27
  export { signpathRetrieveSigningPolicyDetails };
29
28
  //# sourceMappingURL=retrieve-signing-policy-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-signing-policy-details.d.mts","names":[],"sources":["../../src/actions/retrieve-signing-policy-details.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAkBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"retrieve-signing-policy-details.d.mts","names":[],"sources":["../../src/actions/retrieve-signing-policy-details.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAkBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/retrieve-signing-policy-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-signing-policy-details.mjs","names":[],"sources":["../../src/actions/retrieve-signing-policy-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignpathRetrieveSigningPolicyDetailsInput = z.object({\n project_slug: z.string().describe(\"Optional project slug to filter signing policies for a specific project. Required when using signing_policy_slug.\").optional(),\n signing_policy_slug: z.string().describe(\"Optional signing policy slug to get details for a specific policy. Must be used together with project_slug.\").optional(),\n}).describe(\"Request model for retrieving signing policy details.\");\nconst SignpathRetrieveSigningPolicyDetails_RsaParametersSchema = z.object({\n modulus: z.string().describe(\"The modulus of the RSA key.\").nullable().optional(),\n publicExponent: z.string().describe(\"The public exponent of the RSA key.\").nullable().optional(),\n}).passthrough().describe(\"RSA key parameters for the signing policy.\");\nconst SignpathRetrieveSigningPolicyDetails_SigningPolicyDetailSchema = z.object({\n keyType: z.string().describe(\"The type of signing key (e.g., RSA, ECC).\").nullable().optional(),\n projectSlug: z.string().describe(\"The slug identifier of the project.\").nullable().optional(),\n keySizeInBits: z.number().int().describe(\"The size of the signing key in bits.\").nullable().optional(),\n rsaParameters: SignpathRetrieveSigningPolicyDetails_RsaParametersSchema.nullable().optional(),\n publicKeyBytes: z.string().describe(\"The public key in base64-encoded format.\").nullable().optional(),\n signingPolicyId: z.string().describe(\"Unique identifier (UUID) of the signing policy.\").nullable(),\n certificateBytes: z.string().describe(\"The X.509 certificate in base64-encoded format.\").nullable().optional(),\n signingPolicySlug: z.string().describe(\"The slug identifier of the signing policy.\").nullable().optional(),\n}).passthrough().describe(\"Details of a signing policy including certificate and key information.\");\nexport const SignpathRetrieveSigningPolicyDetailsOutput = z.object({\n signingPolicies: z.array(SignpathRetrieveSigningPolicyDetails_SigningPolicyDetailSchema).describe(\"List of signing policies available to the organization.\"),\n}).passthrough().describe(\"Response model containing a list of signing policies.\");\n\nexport const signpathRetrieveSigningPolicyDetails = action(\"SIGNPATH_RETRIEVE_SIGNING_POLICY_DETAILS\", {\n slug: \"signpath-retrieve-signing-policy-details\",\n name: \"Retrieve Signing Policy Details\",\n description: \"Retrieve signing policy details for code signing operations. Returns certificate info, RSA key parameters, and policy metadata for the authenticated user's accessible signing policies. Without filters, returns all policies where the user is assigned as Submitter.\",\n input: SignpathRetrieveSigningPolicyDetailsInput,\n output: SignpathRetrieveSigningPolicyDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2DAA2D,EAAE,OAAO;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,iEAAiE,EAAE,OAAO;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAe,yDAAyD,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAKlG,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,iBAAiB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,yDAAyD,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-signing-policy-details.mjs","names":[],"sources":["../../src/actions/retrieve-signing-policy-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signpath } from \"../app\";\n\nexport const SignpathRetrieveSigningPolicyDetailsInput = z.object({\n project_slug: z.string().describe(\"Optional project slug to filter signing policies for a specific project. Required when using signing_policy_slug.\").optional(),\n signing_policy_slug: z.string().describe(\"Optional signing policy slug to get details for a specific policy. Must be used together with project_slug.\").optional(),\n}).describe(\"Request model for retrieving signing policy details.\");\nconst SignpathRetrieveSigningPolicyDetails_RsaParametersSchema = z.object({\n modulus: z.string().describe(\"The modulus of the RSA key.\").nullable().optional(),\n publicExponent: z.string().describe(\"The public exponent of the RSA key.\").nullable().optional(),\n}).passthrough().describe(\"RSA key parameters for the signing policy.\");\nconst SignpathRetrieveSigningPolicyDetails_SigningPolicyDetailSchema = z.object({\n keyType: z.string().describe(\"The type of signing key (e.g., RSA, ECC).\").nullable().optional(),\n projectSlug: z.string().describe(\"The slug identifier of the project.\").nullable().optional(),\n keySizeInBits: z.number().int().describe(\"The size of the signing key in bits.\").nullable().optional(),\n rsaParameters: SignpathRetrieveSigningPolicyDetails_RsaParametersSchema.nullable().optional(),\n publicKeyBytes: z.string().describe(\"The public key in base64-encoded format.\").nullable().optional(),\n signingPolicyId: z.string().describe(\"Unique identifier (UUID) of the signing policy.\").nullable(),\n certificateBytes: z.string().describe(\"The X.509 certificate in base64-encoded format.\").nullable().optional(),\n signingPolicySlug: z.string().describe(\"The slug identifier of the signing policy.\").nullable().optional(),\n}).passthrough().describe(\"Details of a signing policy including certificate and key information.\");\nexport const SignpathRetrieveSigningPolicyDetailsOutput = z.object({\n signingPolicies: z.array(SignpathRetrieveSigningPolicyDetails_SigningPolicyDetailSchema).describe(\"List of signing policies available to the organization.\"),\n}).passthrough().describe(\"Response model containing a list of signing policies.\");\n\nexport const signpathRetrieveSigningPolicyDetails: AppAction<\n typeof SignpathRetrieveSigningPolicyDetailsInput,\n typeof SignpathRetrieveSigningPolicyDetailsOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_RETRIEVE_SIGNING_POLICY_DETAILS\", {\n slug: \"signpath-retrieve-signing-policy-details\",\n name: \"Retrieve Signing Policy Details\",\n description: \"Retrieve signing policy details for code signing operations. Returns certificate info, RSA key parameters, and policy metadata for the authenticated user's accessible signing policies. Without filters, returns all policies where the user is assigned as Submitter.\",\n input: SignpathRetrieveSigningPolicyDetailsInput,\n output: SignpathRetrieveSigningPolicyDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2DAA2D,EAAE,OAAO;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,iEAAiE,EAAE,OAAO;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAe,yDAAyD,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAKlG,MAAa,uCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwD,EAAE,OAAO,EACjE,iBAAiB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,yDAAyD,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-system-info.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-system-info.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-system-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignpathRetrieveSystemInfoInput = z.object({}).describe(\"Request model for retrieving system information. No parameters are required.\");\nexport const SignpathRetrieveSystemInfoOutput = z.object({\n webBaseUrl: z.string().describe(\"Base URL for the SignPath web UI\").nullable(),\n applicationVersion: z.string().describe(\"The current version of the SignPath application\").nullable(),\n}).passthrough().describe(\"Response model containing SignPath system information.\");\n\nexport const signpathRetrieveSystemInfo = action(\"SIGNPATH_RETRIEVE_SYSTEM_INFO\", {\n slug: \"signpath-retrieve-system-info\",\n name: \"Retrieve System Info\",\n description: \"Retrieves SignPath system information including the application version and the web UI base URL. Use this tool to verify the SignPath installation version or to obtain the web interface URL.\",\n input: SignpathRetrieveSystemInfoInput,\n output: SignpathRetrieveSystemInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACnJ,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-system-info.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-system-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signpath } from \"../app\";\n\nexport const SignpathRetrieveSystemInfoInput = z.object({}).describe(\"Request model for retrieving system information. No parameters are required.\");\nexport const SignpathRetrieveSystemInfoOutput = z.object({\n webBaseUrl: z.string().describe(\"Base URL for the SignPath web UI\").nullable(),\n applicationVersion: z.string().describe(\"The current version of the SignPath application\").nullable(),\n}).passthrough().describe(\"Response model containing SignPath system information.\");\n\nexport const signpathRetrieveSystemInfo: AppAction<\n typeof SignpathRetrieveSystemInfoInput,\n typeof SignpathRetrieveSystemInfoOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_RETRIEVE_SYSTEM_INFO\", {\n slug: \"signpath-retrieve-system-info\",\n name: \"Retrieve System Info\",\n description: \"Retrieves SignPath system information including the application version and the web UI base URL. Use this tool to verify the SignPath installation version or to obtain the web interface URL.\",\n input: SignpathRetrieveSystemInfoInput,\n output: SignpathRetrieveSystemInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACnJ,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { signpath } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-system-info.d.ts
@@ -6,7 +8,7 @@ declare const SignpathRetrieveSystemInfoOutput: z.ZodObject<{
6
8
  webBaseUrl: z.ZodNullable<z.ZodString>;
7
9
  applicationVersion: z.ZodNullable<z.ZodString>;
8
10
  }, z.core.$loose>;
9
- declare const signpathRetrieveSystemInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const signpathRetrieveSystemInfo: AppAction<typeof SignpathRetrieveSystemInfoInput, typeof SignpathRetrieveSystemInfoOutput, typeof signpath.credential>;
10
12
  //#endregion
11
13
  export { signpathRetrieveSystemInfo };
12
14
  //# sourceMappingURL=retrieve-system-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-system-info.d.cts","names":[],"sources":["../../src/actions/retrieve-system-info.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"retrieve-system-info.d.cts","names":[],"sources":["../../src/actions/retrieve-system-info.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { signpath } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-system-info.d.ts
@@ -6,7 +8,7 @@ declare const SignpathRetrieveSystemInfoOutput: z.ZodObject<{
6
8
  webBaseUrl: z.ZodNullable<z.ZodString>;
7
9
  applicationVersion: z.ZodNullable<z.ZodString>;
8
10
  }, z.core.$loose>;
9
- declare const signpathRetrieveSystemInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const signpathRetrieveSystemInfo: AppAction<typeof SignpathRetrieveSystemInfoInput, typeof SignpathRetrieveSystemInfoOutput, typeof signpath.credential>;
10
12
  //#endregion
11
13
  export { signpathRetrieveSystemInfo };
12
14
  //# sourceMappingURL=retrieve-system-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-system-info.d.mts","names":[],"sources":["../../src/actions/retrieve-system-info.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"retrieve-system-info.d.mts","names":[],"sources":["../../src/actions/retrieve-system-info.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const signpathRetrieveSystemInfo = action("SIGNPATH_RETRIEVE_SYSTEM_INFO", {
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-system-info.mjs","names":[],"sources":["../../src/actions/retrieve-system-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignpathRetrieveSystemInfoInput = z.object({}).describe(\"Request model for retrieving system information. No parameters are required.\");\nexport const SignpathRetrieveSystemInfoOutput = z.object({\n webBaseUrl: z.string().describe(\"Base URL for the SignPath web UI\").nullable(),\n applicationVersion: z.string().describe(\"The current version of the SignPath application\").nullable(),\n}).passthrough().describe(\"Response model containing SignPath system information.\");\n\nexport const signpathRetrieveSystemInfo = action(\"SIGNPATH_RETRIEVE_SYSTEM_INFO\", {\n slug: \"signpath-retrieve-system-info\",\n name: \"Retrieve System Info\",\n description: \"Retrieves SignPath system information including the application version and the web UI base URL. Use this tool to verify the SignPath installation version or to obtain the web interface URL.\",\n input: SignpathRetrieveSystemInfoInput,\n output: SignpathRetrieveSystemInfoOutput,\n});\n"],"mappings":";;AAUA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAU5D;CACP,QAV8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-system-info.mjs","names":[],"sources":["../../src/actions/retrieve-system-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signpath } from \"../app\";\n\nexport const SignpathRetrieveSystemInfoInput = z.object({}).describe(\"Request model for retrieving system information. No parameters are required.\");\nexport const SignpathRetrieveSystemInfoOutput = z.object({\n webBaseUrl: z.string().describe(\"Base URL for the SignPath web UI\").nullable(),\n applicationVersion: z.string().describe(\"The current version of the SignPath application\").nullable(),\n}).passthrough().describe(\"Response model containing SignPath system information.\");\n\nexport const signpathRetrieveSystemInfo: AppAction<\n typeof SignpathRetrieveSystemInfoInput,\n typeof SignpathRetrieveSystemInfoOutput,\n typeof signpath.credential\n> = action(\"SIGNPATH_RETRIEVE_SYSTEM_INFO\", {\n slug: \"signpath-retrieve-system-info\",\n name: \"Retrieve System Info\",\n description: \"Retrieves SignPath system information including the application version and the web UI base URL. Use this tool to verify the SignPath installation version or to obtain the web interface URL.\",\n input: SignpathRetrieveSystemInfoInput,\n output: SignpathRetrieveSystemInfoOutput,\n});\n"],"mappings":";;;AAYA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAc5D;CACP,QAd8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,14 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const signpath = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const credential = {
5
+ subdomain: zod.z.string(),
6
+ generic_api_key: zod.z.string()
7
+ };
8
+ const signpath = (0, _keystrokehq_keystroke_app.defineApp)({
3
9
  slug: "signpath",
4
- auth: "keystroke"
10
+ auth: "keystroke",
11
+ credential
5
12
  });
6
13
  //#endregion
7
14
  exports.signpath = signpath;
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 signpath = defineApp({\n slug: \"signpath\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const signpath: KeystrokeApp<\"signpath\", typeof credential> = defineApp({\n slug: \"signpath\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,WAAWA,IAAAA,EAAE,OAAO;CACpB,iBAAiBA,IAAAA,EAAE,OAAO;AAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const signpath: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ subdomain: z.ZodString;
7
+ generic_api_key: z.ZodString;
8
+ };
9
+ declare const signpath: KeystrokeApp<"signpath", typeof credential>;
3
10
  //#endregion
4
11
  export { signpath };
5
12
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const signpath: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ subdomain: z.ZodString;
7
+ generic_api_key: z.ZodString;
8
+ };
9
+ declare const signpath: KeystrokeApp<"signpath", typeof credential>;
3
10
  //#endregion
4
11
  export { signpath };
5
12
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,12 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const signpath = defineApp({
4
4
  slug: "signpath",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: {
7
+ subdomain: z.string(),
8
+ generic_api_key: z.string()
9
+ }
6
10
  });
7
11
  //#endregion
8
12
  export { signpath };
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 signpath = defineApp({\n slug: \"signpath\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const signpath: KeystrokeApp<\"signpath\", typeof credential> = defineApp({\n slug: \"signpath\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN;EAPA,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
+ import { signpath } from "./app.cjs";
1
2
  import { signpathGetHealthCheck } from "./actions/get-health-check.cjs";
2
3
  import { signpathListCertificates } from "./actions/list-certificates.cjs";
3
4
  import { signpathListProjects } from "./actions/list-projects.cjs";
4
5
  import { signpathRetrieveSigningPolicyDetails } from "./actions/retrieve-signing-policy-details.cjs";
5
6
  import { signpathRetrieveSystemInfo } from "./actions/retrieve-system-info.cjs";
6
- import { signpath } from "./app.cjs";
7
7
  import { signpathCatalog } from "./catalog.cjs";
8
8
  export { signpath, signpathCatalog, signpathGetHealthCheck, signpathListCertificates, signpathListProjects, signpathRetrieveSigningPolicyDetails, signpathRetrieveSystemInfo };
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
+ import { signpath } from "./app.mjs";
1
2
  import { signpathGetHealthCheck } from "./actions/get-health-check.mjs";
2
3
  import { signpathListCertificates } from "./actions/list-certificates.mjs";
3
4
  import { signpathListProjects } from "./actions/list-projects.mjs";
4
5
  import { signpathRetrieveSigningPolicyDetails } from "./actions/retrieve-signing-policy-details.mjs";
5
6
  import { signpathRetrieveSystemInfo } from "./actions/retrieve-system-info.mjs";
6
- import { signpath } from "./app.mjs";
7
7
  import { signpathCatalog } from "./catalog.mjs";
8
8
  export { signpath, signpathCatalog, signpathGetHealthCheck, signpathListCertificates, signpathListProjects, signpathRetrieveSigningPolicyDetails, signpathRetrieveSystemInfo };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/signpath",
3
- "version": "0.1.4",
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.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {