@keystrokehq/roboflow 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/describe-workflow-interface.cjs +24 -0
- package/dist/actions/describe-workflow-interface.cjs.map +1 -0
- package/dist/actions/describe-workflow-interface.d.cts +9 -0
- package/dist/actions/describe-workflow-interface.d.cts.map +1 -0
- package/dist/actions/describe-workflow-interface.d.mts +9 -0
- package/dist/actions/describe-workflow-interface.d.mts.map +1 -0
- package/dist/actions/describe-workflow-interface.mjs +21 -0
- package/dist/actions/describe-workflow-interface.mjs.map +1 -0
- package/dist/actions/get-execution-engine-versions.cjs +16 -0
- package/dist/actions/get-execution-engine-versions.cjs.map +1 -0
- package/dist/actions/get-execution-engine-versions.d.cts +9 -0
- package/dist/actions/get-execution-engine-versions.d.cts.map +1 -0
- package/dist/actions/get-execution-engine-versions.d.mts +9 -0
- package/dist/actions/get-execution-engine-versions.d.mts.map +1 -0
- package/dist/actions/get-execution-engine-versions.mjs +13 -0
- package/dist/actions/get-execution-engine-versions.mjs.map +1 -0
- package/dist/actions/get-server-info.cjs +20 -0
- package/dist/actions/get-server-info.cjs.map +1 -0
- package/dist/actions/get-server-info.d.cts +9 -0
- package/dist/actions/get-server-info.d.cts.map +1 -0
- package/dist/actions/get-server-info.d.mts +9 -0
- package/dist/actions/get-server-info.d.mts.map +1 -0
- package/dist/actions/get-server-info.mjs +17 -0
- package/dist/actions/get-server-info.mjs.map +1 -0
- package/dist/actions/get-server-metrics.cjs +16 -0
- package/dist/actions/get-server-metrics.cjs.map +1 -0
- package/dist/actions/get-server-metrics.d.cts +9 -0
- package/dist/actions/get-server-metrics.d.cts.map +1 -0
- package/dist/actions/get-server-metrics.d.mts +9 -0
- package/dist/actions/get-server-metrics.d.mts.map +1 -0
- package/dist/actions/get-server-metrics.mjs +13 -0
- package/dist/actions/get-server-metrics.mjs.map +1 -0
- package/dist/actions/get-workflow-schema.cjs +16 -0
- package/dist/actions/get-workflow-schema.cjs.map +1 -0
- package/dist/actions/get-workflow-schema.d.cts +9 -0
- package/dist/actions/get-workflow-schema.d.cts.map +1 -0
- package/dist/actions/get-workflow-schema.d.mts +9 -0
- package/dist/actions/get-workflow-schema.d.mts.map +1 -0
- package/dist/actions/get-workflow-schema.mjs +13 -0
- package/dist/actions/get-workflow-schema.mjs.map +1 -0
- package/dist/actions/index.cjs +15 -0
- package/dist/actions/index.d.cts +8 -0
- package/dist/actions/index.d.mts +8 -0
- package/dist/actions/index.mjs +8 -0
- package/dist/actions/run-workflow.cjs +27 -0
- package/dist/actions/run-workflow.cjs.map +1 -0
- package/dist/actions/run-workflow.d.cts +9 -0
- package/dist/actions/run-workflow.d.cts.map +1 -0
- package/dist/actions/run-workflow.d.mts +9 -0
- package/dist/actions/run-workflow.d.mts.map +1 -0
- package/dist/actions/run-workflow.mjs +24 -0
- package/dist/actions/run-workflow.mjs.map +1 -0
- package/dist/actions/validate-workflow.cjs +34 -0
- package/dist/actions/validate-workflow.cjs.map +1 -0
- package/dist/actions/validate-workflow.d.cts +9 -0
- package/dist/actions/validate-workflow.d.cts.map +1 -0
- package/dist/actions/validate-workflow.d.mts +9 -0
- package/dist/actions/validate-workflow.d.mts.map +1 -0
- package/dist/actions/validate-workflow.mjs +31 -0
- package/dist/actions/validate-workflow.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +20 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +11 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/roboflow
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `roboflow`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 7
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { roboflowDescribeWorkflowInterface } from "@keystrokehq/roboflow/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "roboflow-agent",
|
|
15
|
+
tools: [roboflowDescribeWorkflowInterface],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.roboflow.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeRoboflowTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["roboflow","executeRoboflowTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { roboflow } from \"./app\";\nimport { executeRoboflowTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return roboflow.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 executeRoboflowTool(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"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { roboflow } from "./app.mjs";
|
|
2
|
+
import { executeRoboflowTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return roboflow.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeRoboflowTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { roboflow } from \"./app\";\nimport { executeRoboflowTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return roboflow.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 executeRoboflowTool(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"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/describe-workflow-interface.ts
|
|
4
|
+
const RoboflowDescribeWorkflowInterfaceInput = zod.z.object({
|
|
5
|
+
api_key: zod.z.string().describe("Roboflow API Key that will be passed to the model during initialization for artifact retrieval"),
|
|
6
|
+
specification: zod.z.object({}).describe("Workflow specification object containing version, inputs, steps, and outputs. Must include: version (string), inputs (list of input definitions), steps (list of step definitions), and outputs (list of output definitions).")
|
|
7
|
+
}).describe("Request model for describing the interface of a workflow.");
|
|
8
|
+
const RoboflowDescribeWorkflowInterfaceOutput = zod.z.object({
|
|
9
|
+
inputs: zod.z.object({}).describe("Dictionary mapping Workflow inputs to their kinds"),
|
|
10
|
+
outputs: zod.z.object({}).describe("Dictionary mapping Workflow outputs to their kinds"),
|
|
11
|
+
typing_hints: zod.z.object({}).describe("Dictionary mapping name of the kind with Python typing hint for underlying serialised object"),
|
|
12
|
+
kinds_schemas: zod.z.object({}).describe("Dictionary mapping name of the kind with OpenAPI 3.0 definitions of underlying objects. If list is given, entity should be treated as union of types.")
|
|
13
|
+
}).describe("Response model containing the described interface of the workflow.");
|
|
14
|
+
const roboflowDescribeWorkflowInterface = require_action.action("ROBOFLOW_DESCRIBE_WORKFLOW_INTERFACE", {
|
|
15
|
+
slug: "roboflow-describe-workflow-interface",
|
|
16
|
+
name: "Describe Workflow Interface",
|
|
17
|
+
description: "Tool to describe the interface of a workflow specification. Use when you need to understand the inputs, outputs, and types for a Roboflow workflow definition.",
|
|
18
|
+
input: RoboflowDescribeWorkflowInterfaceInput,
|
|
19
|
+
output: RoboflowDescribeWorkflowInterfaceOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.roboflowDescribeWorkflowInterface = roboflowDescribeWorkflowInterface;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=describe-workflow-interface.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describe-workflow-interface.cjs","names":["z","action"],"sources":["../../src/actions/describe-workflow-interface.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowDescribeWorkflowInterfaceInput: z.ZodTypeAny = z.object({\n api_key: z.string().describe(\"Roboflow API Key that will be passed to the model during initialization for artifact retrieval\"),\n specification: z.object({}).describe(\"Workflow specification object containing version, inputs, steps, and outputs. Must include: version (string), inputs (list of input definitions), steps (list of step definitions), and outputs (list of output definitions).\"),\n}).describe(\"Request model for describing the interface of a workflow.\");\nexport const RoboflowDescribeWorkflowInterfaceOutput: z.ZodTypeAny = z.object({\n inputs: z.object({}).describe(\"Dictionary mapping Workflow inputs to their kinds\"),\n outputs: z.object({}).describe(\"Dictionary mapping Workflow outputs to their kinds\"),\n typing_hints: z.object({}).describe(\"Dictionary mapping name of the kind with Python typing hint for underlying serialised object\"),\n kinds_schemas: z.object({}).describe(\"Dictionary mapping name of the kind with OpenAPI 3.0 definitions of underlying objects. If list is given, entity should be treated as union of types.\"),\n}).describe(\"Response model containing the described interface of the workflow.\");\n\nexport const roboflowDescribeWorkflowInterface = action(\"ROBOFLOW_DESCRIBE_WORKFLOW_INTERFACE\", {\n slug: \"roboflow-describe-workflow-interface\",\n name: \"Describe Workflow Interface\",\n description: \"Tool to describe the interface of a workflow specification. Use when you need to understand the inputs, outputs, and types for a Roboflow workflow definition.\",\n input: RoboflowDescribeWorkflowInterfaceInput,\n output: RoboflowDescribeWorkflowInterfaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+NAA+N;AACtQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;CAClI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AAC9L,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/describe-workflow-interface.d.ts
|
|
4
|
+
declare const RoboflowDescribeWorkflowInterfaceInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowDescribeWorkflowInterfaceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowDescribeWorkflowInterface: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowDescribeWorkflowInterface };
|
|
9
|
+
//# sourceMappingURL=describe-workflow-interface.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describe-workflow-interface.d.cts","names":[],"sources":["../../src/actions/describe-workflow-interface.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGiB;AAAA,cAC3D,uCAAA,EAAyC,CAAA,CAAE,UAKyB;AAAA,cAEpE,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/describe-workflow-interface.d.ts
|
|
4
|
+
declare const RoboflowDescribeWorkflowInterfaceInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowDescribeWorkflowInterfaceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowDescribeWorkflowInterface: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowDescribeWorkflowInterface };
|
|
9
|
+
//# sourceMappingURL=describe-workflow-interface.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describe-workflow-interface.d.mts","names":[],"sources":["../../src/actions/describe-workflow-interface.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGiB;AAAA,cAC3D,uCAAA,EAAyC,CAAA,CAAE,UAKyB;AAAA,cAEpE,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const roboflowDescribeWorkflowInterface = action("ROBOFLOW_DESCRIBE_WORKFLOW_INTERFACE", {
|
|
4
|
+
slug: "roboflow-describe-workflow-interface",
|
|
5
|
+
name: "Describe Workflow Interface",
|
|
6
|
+
description: "Tool to describe the interface of a workflow specification. Use when you need to understand the inputs, outputs, and types for a Roboflow workflow definition.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
api_key: z.string().describe("Roboflow API Key that will be passed to the model during initialization for artifact retrieval"),
|
|
9
|
+
specification: z.object({}).describe("Workflow specification object containing version, inputs, steps, and outputs. Must include: version (string), inputs (list of input definitions), steps (list of step definitions), and outputs (list of output definitions).")
|
|
10
|
+
}).describe("Request model for describing the interface of a workflow."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
inputs: z.object({}).describe("Dictionary mapping Workflow inputs to their kinds"),
|
|
13
|
+
outputs: z.object({}).describe("Dictionary mapping Workflow outputs to their kinds"),
|
|
14
|
+
typing_hints: z.object({}).describe("Dictionary mapping name of the kind with Python typing hint for underlying serialised object"),
|
|
15
|
+
kinds_schemas: z.object({}).describe("Dictionary mapping name of the kind with OpenAPI 3.0 definitions of underlying objects. If list is given, entity should be treated as union of types.")
|
|
16
|
+
}).describe("Response model containing the described interface of the workflow.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { roboflowDescribeWorkflowInterface };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=describe-workflow-interface.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describe-workflow-interface.mjs","names":[],"sources":["../../src/actions/describe-workflow-interface.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowDescribeWorkflowInterfaceInput: z.ZodTypeAny = z.object({\n api_key: z.string().describe(\"Roboflow API Key that will be passed to the model during initialization for artifact retrieval\"),\n specification: z.object({}).describe(\"Workflow specification object containing version, inputs, steps, and outputs. Must include: version (string), inputs (list of input definitions), steps (list of step definitions), and outputs (list of output definitions).\"),\n}).describe(\"Request model for describing the interface of a workflow.\");\nexport const RoboflowDescribeWorkflowInterfaceOutput: z.ZodTypeAny = z.object({\n inputs: z.object({}).describe(\"Dictionary mapping Workflow inputs to their kinds\"),\n outputs: z.object({}).describe(\"Dictionary mapping Workflow outputs to their kinds\"),\n typing_hints: z.object({}).describe(\"Dictionary mapping name of the kind with Python typing hint for underlying serialised object\"),\n kinds_schemas: z.object({}).describe(\"Dictionary mapping name of the kind with OpenAPI 3.0 definitions of underlying objects. If list is given, entity should be treated as union of types.\"),\n}).describe(\"Response model containing the described interface of the workflow.\");\n\nexport const roboflowDescribeWorkflowInterface = action(\"ROBOFLOW_DESCRIBE_WORKFLOW_INTERFACE\", {\n slug: \"roboflow-describe-workflow-interface\",\n name: \"Describe Workflow Interface\",\n description: \"Tool to describe the interface of a workflow specification. Use when you need to understand the inputs, outputs, and types for a Roboflow workflow definition.\",\n input: RoboflowDescribeWorkflowInterfaceInput,\n output: RoboflowDescribeWorkflowInterfaceOutput,\n});\n"],"mappings":";;AAeA,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkE,EAAE,OAAO;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+NAA+N;CACtQ,CAAC,CAAC,CAAC,SAAS,2DAYH;CACP,QAZmE,EAAE,OAAO;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;EAClI,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uJAAuJ;CAC9L,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-execution-engine-versions.ts
|
|
4
|
+
const RoboflowGetExecutionEngineVersionsInput = zod.z.object({}).describe("Request model for retrieving available Execution Engine versions.\nThis endpoint requires no parameters.");
|
|
5
|
+
const RoboflowGetExecutionEngineVersionsOutput = zod.z.object({ versions: zod.z.array(zod.z.string()).describe("List of available Execution Engine versions, sorted from oldest to newest.") }).describe("Response model containing the list of available Execution Engine versions.");
|
|
6
|
+
const roboflowGetExecutionEngineVersions = require_action.action("ROBOFLOW_GET_EXECUTION_ENGINE_VERSIONS", {
|
|
7
|
+
slug: "roboflow-get-execution-engine-versions",
|
|
8
|
+
name: "Get Execution Engine Versions",
|
|
9
|
+
description: "Tool to retrieve available Execution Engine versions from Roboflow workflows API. Use when you need to check which execution engine versions are supported for workflow processing.",
|
|
10
|
+
input: RoboflowGetExecutionEngineVersionsInput,
|
|
11
|
+
output: RoboflowGetExecutionEngineVersionsOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.roboflowGetExecutionEngineVersions = roboflowGetExecutionEngineVersions;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-execution-engine-versions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-execution-engine-versions.cjs","names":["z","action"],"sources":["../../src/actions/get-execution-engine-versions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowGetExecutionEngineVersionsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving available Execution Engine versions.\\nThis endpoint requires no parameters.\");\nexport const RoboflowGetExecutionEngineVersionsOutput: z.ZodTypeAny = z.object({\n versions: z.array(z.string()).describe(\"List of available Execution Engine versions, sorted from oldest to newest.\"),\n}).describe(\"Response model containing the list of available Execution Engine versions.\");\n\nexport const roboflowGetExecutionEngineVersions = action(\"ROBOFLOW_GET_EXECUTION_ENGINE_VERSIONS\", {\n slug: \"roboflow-get-execution-engine-versions\",\n name: \"Get Execution Engine Versions\",\n description: \"Tool to retrieve available Execution Engine versions from Roboflow workflows API. Use when you need to check which execution engine versions are supported for workflow processing.\",\n input: RoboflowGetExecutionEngineVersionsInput,\n output: RoboflowGetExecutionEngineVersionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACrM,MAAa,2CAAyDA,IAAAA,EAAE,OAAO,EAC7E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,EACrH,CAAC,CAAC,CAAC,SAAS,4EAA4E;AAExF,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-execution-engine-versions.d.ts
|
|
4
|
+
declare const RoboflowGetExecutionEngineVersionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowGetExecutionEngineVersionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowGetExecutionEngineVersions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowGetExecutionEngineVersions };
|
|
9
|
+
//# sourceMappingURL=get-execution-engine-versions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-execution-engine-versions.d.cts","names":[],"sources":["../../src/actions/get-execution-engine-versions.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAA8I;AAAA,cACzL,wCAAA,EAA0C,CAAA,CAAE,UAEgC;AAAA,cAE5E,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-execution-engine-versions.d.ts
|
|
4
|
+
declare const RoboflowGetExecutionEngineVersionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowGetExecutionEngineVersionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowGetExecutionEngineVersions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowGetExecutionEngineVersions };
|
|
9
|
+
//# sourceMappingURL=get-execution-engine-versions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-execution-engine-versions.d.mts","names":[],"sources":["../../src/actions/get-execution-engine-versions.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAA8I;AAAA,cACzL,wCAAA,EAA0C,CAAA,CAAE,UAEgC;AAAA,cAE5E,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const roboflowGetExecutionEngineVersions = action("ROBOFLOW_GET_EXECUTION_ENGINE_VERSIONS", {
|
|
4
|
+
slug: "roboflow-get-execution-engine-versions",
|
|
5
|
+
name: "Get Execution Engine Versions",
|
|
6
|
+
description: "Tool to retrieve available Execution Engine versions from Roboflow workflows API. Use when you need to check which execution engine versions are supported for workflow processing.",
|
|
7
|
+
input: z.object({}).describe("Request model for retrieving available Execution Engine versions.\nThis endpoint requires no parameters."),
|
|
8
|
+
output: z.object({ versions: z.array(z.string()).describe("List of available Execution Engine versions, sorted from oldest to newest.") }).describe("Response model containing the list of available Execution Engine versions.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { roboflowGetExecutionEngineVersions };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-execution-engine-versions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-execution-engine-versions.mjs","names":[],"sources":["../../src/actions/get-execution-engine-versions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowGetExecutionEngineVersionsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving available Execution Engine versions.\\nThis endpoint requires no parameters.\");\nexport const RoboflowGetExecutionEngineVersionsOutput: z.ZodTypeAny = z.object({\n versions: z.array(z.string()).describe(\"List of available Execution Engine versions, sorted from oldest to newest.\"),\n}).describe(\"Response model containing the list of available Execution Engine versions.\");\n\nexport const roboflowGetExecutionEngineVersions = action(\"ROBOFLOW_GET_EXECUTION_ENGINE_VERSIONS\", {\n slug: \"roboflow-get-execution-engine-versions\",\n name: \"Get Execution Engine Versions\",\n description: \"Tool to retrieve available Execution Engine versions from Roboflow workflows API. Use when you need to check which execution engine versions are supported for workflow processing.\",\n input: RoboflowGetExecutionEngineVersionsInput,\n output: RoboflowGetExecutionEngineVersionsOutput,\n});\n"],"mappings":";;AASA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0GASlF;CACP,QAToE,EAAE,OAAO,EAC7E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,EACrH,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-server-info.ts
|
|
4
|
+
const RoboflowGetServerInfoInput = zod.z.object({}).describe("Request model for getting Roboflow inference server information.");
|
|
5
|
+
const RoboflowGetServerInfoOutput = zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("Name of the inference server."),
|
|
7
|
+
uuid: zod.z.string().describe("Unique identifier (UUID) of the inference server instance."),
|
|
8
|
+
version: zod.z.string().describe("Version string of the inference server.")
|
|
9
|
+
}).describe("Response model containing Roboflow inference server version information.");
|
|
10
|
+
const roboflowGetServerInfo = require_action.action("ROBOFLOW_GET_SERVER_INFO", {
|
|
11
|
+
slug: "roboflow-get-server-info",
|
|
12
|
+
name: "Get Server Info",
|
|
13
|
+
description: "Tool to retrieve information about the Roboflow inference server. Use when you need to check the server version, name, or unique identifier.",
|
|
14
|
+
input: RoboflowGetServerInfoInput,
|
|
15
|
+
output: RoboflowGetServerInfoOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.roboflowGetServerInfo = roboflowGetServerInfo;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-server-info.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-server-info.cjs","names":["z","action"],"sources":["../../src/actions/get-server-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowGetServerInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting Roboflow inference server information.\");\nexport const RoboflowGetServerInfoOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the inference server.\"),\n uuid: z.string().describe(\"Unique identifier (UUID) of the inference server instance.\"),\n version: z.string().describe(\"Version string of the inference server.\"),\n}).describe(\"Response model containing Roboflow inference server version information.\");\n\nexport const roboflowGetServerInfo = action(\"ROBOFLOW_GET_SERVER_INFO\", {\n slug: \"roboflow-get-server-info\",\n name: \"Get Server Info\",\n description: \"Tool to retrieve information about the Roboflow inference server. Use when you need to check the server version, name, or unique identifier.\",\n input: RoboflowGetServerInfoInput,\n output: RoboflowGetServerInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAChJ,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACxE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-server-info.d.ts
|
|
4
|
+
declare const RoboflowGetServerInfoInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowGetServerInfoOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowGetServerInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowGetServerInfo };
|
|
9
|
+
//# sourceMappingURL=get-server-info.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-server-info.d.cts","names":[],"sources":["../../src/actions/get-server-info.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAsG;AAAA,cACpI,2BAAA,EAA6B,CAAA,CAAE,UAI2C;AAAA,cAE1E,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-server-info.d.ts
|
|
4
|
+
declare const RoboflowGetServerInfoInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowGetServerInfoOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowGetServerInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowGetServerInfo };
|
|
9
|
+
//# sourceMappingURL=get-server-info.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-server-info.d.mts","names":[],"sources":["../../src/actions/get-server-info.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAsG;AAAA,cACpI,2BAAA,EAA6B,CAAA,CAAE,UAI2C;AAAA,cAE1E,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const roboflowGetServerInfo = action("ROBOFLOW_GET_SERVER_INFO", {
|
|
4
|
+
slug: "roboflow-get-server-info",
|
|
5
|
+
name: "Get Server Info",
|
|
6
|
+
description: "Tool to retrieve information about the Roboflow inference server. Use when you need to check the server version, name, or unique identifier.",
|
|
7
|
+
input: z.object({}).describe("Request model for getting Roboflow inference server information."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
name: z.string().describe("Name of the inference server."),
|
|
10
|
+
uuid: z.string().describe("Unique identifier (UUID) of the inference server instance."),
|
|
11
|
+
version: z.string().describe("Version string of the inference server.")
|
|
12
|
+
}).describe("Response model containing Roboflow inference server version information.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { roboflowGetServerInfo };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=get-server-info.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-server-info.mjs","names":[],"sources":["../../src/actions/get-server-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowGetServerInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting Roboflow inference server information.\");\nexport const RoboflowGetServerInfoOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the inference server.\"),\n uuid: z.string().describe(\"Unique identifier (UUID) of the inference server instance.\"),\n version: z.string().describe(\"Version string of the inference server.\"),\n}).describe(\"Response model containing Roboflow inference server version information.\");\n\nexport const roboflowGetServerInfo = action(\"ROBOFLOW_GET_SERVER_INFO\", {\n slug: \"roboflow-get-server-info\",\n name: \"Get Server Info\",\n description: \"Tool to retrieve information about the Roboflow inference server. Use when you need to check the server version, name, or unique identifier.\",\n input: RoboflowGetServerInfoInput,\n output: RoboflowGetServerInfoOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAWrE;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACxE,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-server-metrics.ts
|
|
4
|
+
const RoboflowGetServerMetricsInput = zod.z.object({}).describe("Request model for getting server metrics - no parameters required.");
|
|
5
|
+
const RoboflowGetServerMetricsOutput = zod.z.object({ metrics: zod.z.object({}).describe("Dictionary containing Prometheus metrics from the inference server").nullable().optional() }).describe("Response model for server metrics.\n\nReturns Prometheus metrics data as a dictionary. The exact structure\ndepends on the server's configuration and available metrics.");
|
|
6
|
+
const roboflowGetServerMetrics = require_action.action("ROBOFLOW_GET_SERVER_METRICS", {
|
|
7
|
+
slug: "roboflow-get-server-metrics",
|
|
8
|
+
name: "Get Server Metrics",
|
|
9
|
+
description: "Tool to retrieve Prometheus metrics from the Roboflow inference server. Use when monitoring server performance, tracking inference statistics, or debugging server health issues.",
|
|
10
|
+
input: RoboflowGetServerMetricsInput,
|
|
11
|
+
output: RoboflowGetServerMetricsOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.roboflowGetServerMetrics = roboflowGetServerMetrics;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-server-metrics.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-server-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-server-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowGetServerMetricsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting server metrics - no parameters required.\");\nexport const RoboflowGetServerMetricsOutput: z.ZodTypeAny = z.object({\n metrics: z.object({}).describe(\"Dictionary containing Prometheus metrics from the inference server\").nullable().optional(),\n}).describe(\"Response model for server metrics.\\n\\nReturns Prometheus metrics data as a dictionary. The exact structure\\ndepends on the server's configuration and available metrics.\");\n\nexport const roboflowGetServerMetrics = action(\"ROBOFLOW_GET_SERVER_METRICS\", {\n slug: \"roboflow-get-server-metrics\",\n name: \"Get Server Metrics\",\n description: \"Tool to retrieve Prometheus metrics from the Roboflow inference server. Use when monitoring server performance, tracking inference statistics, or debugging server health issues.\",\n input: RoboflowGetServerMetricsInput,\n output: RoboflowGetServerMetricsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACrJ,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,SAAS,0KAA0K;AAEtL,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-server-metrics.d.ts
|
|
4
|
+
declare const RoboflowGetServerMetricsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowGetServerMetricsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowGetServerMetrics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowGetServerMetrics };
|
|
9
|
+
//# sourceMappingURL=get-server-metrics.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-server-metrics.d.cts","names":[],"sources":["../../src/actions/get-server-metrics.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAwG;AAAA,cACzI,8BAAA,EAAgC,CAAA,CAAE,UAEwI;AAAA,cAE1K,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-server-metrics.d.ts
|
|
4
|
+
declare const RoboflowGetServerMetricsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowGetServerMetricsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowGetServerMetrics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowGetServerMetrics };
|
|
9
|
+
//# sourceMappingURL=get-server-metrics.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-server-metrics.d.mts","names":[],"sources":["../../src/actions/get-server-metrics.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAwG;AAAA,cACzI,8BAAA,EAAgC,CAAA,CAAE,UAEwI;AAAA,cAE1K,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const roboflowGetServerMetrics = action("ROBOFLOW_GET_SERVER_METRICS", {
|
|
4
|
+
slug: "roboflow-get-server-metrics",
|
|
5
|
+
name: "Get Server Metrics",
|
|
6
|
+
description: "Tool to retrieve Prometheus metrics from the Roboflow inference server. Use when monitoring server performance, tracking inference statistics, or debugging server health issues.",
|
|
7
|
+
input: z.object({}).describe("Request model for getting server metrics - no parameters required."),
|
|
8
|
+
output: z.object({ metrics: z.object({}).describe("Dictionary containing Prometheus metrics from the inference server").nullable().optional() }).describe("Response model for server metrics.\n\nReturns Prometheus metrics data as a dictionary. The exact structure\ndepends on the server's configuration and available metrics.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { roboflowGetServerMetrics };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-server-metrics.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-server-metrics.mjs","names":[],"sources":["../../src/actions/get-server-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowGetServerMetricsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting server metrics - no parameters required.\");\nexport const RoboflowGetServerMetricsOutput: z.ZodTypeAny = z.object({\n metrics: z.object({}).describe(\"Dictionary containing Prometheus metrics from the inference server\").nullable().optional(),\n}).describe(\"Response model for server metrics.\\n\\nReturns Prometheus metrics data as a dictionary. The exact structure\\ndepends on the server's configuration and available metrics.\");\n\nexport const roboflowGetServerMetrics = action(\"ROBOFLOW_GET_SERVER_METRICS\", {\n slug: \"roboflow-get-server-metrics\",\n name: \"Get Server Metrics\",\n description: \"Tool to retrieve Prometheus metrics from the Roboflow inference server. Use when monitoring server performance, tracking inference statistics, or debugging server health issues.\",\n input: RoboflowGetServerMetricsInput,\n output: RoboflowGetServerMetricsOutput,\n});\n"],"mappings":";;AASA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEASxE;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,SAAS,0KAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-workflow-schema.ts
|
|
4
|
+
const RoboflowGetWorkflowSchemaInput = zod.z.object({}).describe("Request parameters for fetching the workflows block schema.\nThis endpoint requires no parameters.");
|
|
5
|
+
const RoboflowGetWorkflowSchemaOutput = zod.z.object({ schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema for validating block definitions in workflows. Contains the complete JSON schema describing all available workflow blocks and their properties.") }).describe("Response containing the workflow block schema definition.");
|
|
6
|
+
const roboflowGetWorkflowSchema = require_action.action("ROBOFLOW_GET_WORKFLOW_SCHEMA", {
|
|
7
|
+
slug: "roboflow-get-workflow-schema",
|
|
8
|
+
name: "Get Workflow Schema",
|
|
9
|
+
description: "Tool to fetch the workflows block schema from Roboflow. Use when you need to retrieve the complete schema definition for workflow blocks.",
|
|
10
|
+
input: RoboflowGetWorkflowSchemaInput,
|
|
11
|
+
output: RoboflowGetWorkflowSchemaOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.roboflowGetWorkflowSchema = roboflowGetWorkflowSchema;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-workflow-schema.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-workflow-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-workflow-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowGetWorkflowSchemaInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for fetching the workflows block schema.\\nThis endpoint requires no parameters.\");\nexport const RoboflowGetWorkflowSchemaOutput: z.ZodTypeAny = z.object({\n schema: z.record(z.string(), z.unknown()).describe(\"Schema for validating block definitions in workflows. Contains the complete JSON schema describing all available workflow blocks and their properties.\"),\n}).describe(\"Response containing the workflow block schema definition.\");\n\nexport const roboflowGetWorkflowSchema = action(\"ROBOFLOW_GET_WORKFLOW_SCHEMA\", {\n slug: \"roboflow-get-workflow-schema\",\n name: \"Get Workflow Schema\",\n description: \"Tool to fetch the workflows block schema from Roboflow. Use when you need to retrieve the complete schema definition for workflow blocks.\",\n input: RoboflowGetWorkflowSchemaInput,\n output: RoboflowGetWorkflowSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oGAAoG;AACtL,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wJAAwJ,EAC7M,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-workflow-schema.d.ts
|
|
4
|
+
declare const RoboflowGetWorkflowSchemaInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowGetWorkflowSchemaOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowGetWorkflowSchema: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowGetWorkflowSchema };
|
|
9
|
+
//# sourceMappingURL=get-workflow-schema.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-workflow-schema.d.cts","names":[],"sources":["../../src/actions/get-workflow-schema.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAwI;AAAA,cAC1K,+BAAA,EAAiC,CAAA,CAAE,UAEwB;AAAA,cAE3D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-workflow-schema.d.ts
|
|
4
|
+
declare const RoboflowGetWorkflowSchemaInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowGetWorkflowSchemaOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowGetWorkflowSchema: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowGetWorkflowSchema };
|
|
9
|
+
//# sourceMappingURL=get-workflow-schema.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-workflow-schema.d.mts","names":[],"sources":["../../src/actions/get-workflow-schema.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAwI;AAAA,cAC1K,+BAAA,EAAiC,CAAA,CAAE,UAEwB;AAAA,cAE3D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const roboflowGetWorkflowSchema = action("ROBOFLOW_GET_WORKFLOW_SCHEMA", {
|
|
4
|
+
slug: "roboflow-get-workflow-schema",
|
|
5
|
+
name: "Get Workflow Schema",
|
|
6
|
+
description: "Tool to fetch the workflows block schema from Roboflow. Use when you need to retrieve the complete schema definition for workflow blocks.",
|
|
7
|
+
input: z.object({}).describe("Request parameters for fetching the workflows block schema.\nThis endpoint requires no parameters."),
|
|
8
|
+
output: z.object({ schema: z.record(z.string(), z.unknown()).describe("Schema for validating block definitions in workflows. Contains the complete JSON schema describing all available workflow blocks and their properties.") }).describe("Response containing the workflow block schema definition.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { roboflowGetWorkflowSchema };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-workflow-schema.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-workflow-schema.mjs","names":[],"sources":["../../src/actions/get-workflow-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowGetWorkflowSchemaInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for fetching the workflows block schema.\\nThis endpoint requires no parameters.\");\nexport const RoboflowGetWorkflowSchemaOutput: z.ZodTypeAny = z.object({\n schema: z.record(z.string(), z.unknown()).describe(\"Schema for validating block definitions in workflows. Contains the complete JSON schema describing all available workflow blocks and their properties.\"),\n}).describe(\"Response containing the workflow block schema definition.\");\n\nexport const roboflowGetWorkflowSchema = action(\"ROBOFLOW_GET_WORKFLOW_SCHEMA\", {\n slug: \"roboflow-get-workflow-schema\",\n name: \"Get Workflow Schema\",\n description: \"Tool to fetch the workflows block schema from Roboflow. Use when you need to retrieve the complete schema definition for workflow blocks.\",\n input: RoboflowGetWorkflowSchemaInput,\n output: RoboflowGetWorkflowSchemaOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oGASzE;CACP,QAT2D,EAAE,OAAO,EACpE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wJAAwJ,EAC7M,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_describe_workflow_interface = require("./describe-workflow-interface.cjs");
|
|
3
|
+
const require_get_execution_engine_versions = require("./get-execution-engine-versions.cjs");
|
|
4
|
+
const require_get_server_info = require("./get-server-info.cjs");
|
|
5
|
+
const require_get_server_metrics = require("./get-server-metrics.cjs");
|
|
6
|
+
const require_get_workflow_schema = require("./get-workflow-schema.cjs");
|
|
7
|
+
const require_run_workflow = require("./run-workflow.cjs");
|
|
8
|
+
const require_validate_workflow = require("./validate-workflow.cjs");
|
|
9
|
+
exports.roboflowDescribeWorkflowInterface = require_describe_workflow_interface.roboflowDescribeWorkflowInterface;
|
|
10
|
+
exports.roboflowGetExecutionEngineVersions = require_get_execution_engine_versions.roboflowGetExecutionEngineVersions;
|
|
11
|
+
exports.roboflowGetServerInfo = require_get_server_info.roboflowGetServerInfo;
|
|
12
|
+
exports.roboflowGetServerMetrics = require_get_server_metrics.roboflowGetServerMetrics;
|
|
13
|
+
exports.roboflowGetWorkflowSchema = require_get_workflow_schema.roboflowGetWorkflowSchema;
|
|
14
|
+
exports.roboflowRunWorkflow = require_run_workflow.roboflowRunWorkflow;
|
|
15
|
+
exports.roboflowValidateWorkflow = require_validate_workflow.roboflowValidateWorkflow;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { roboflowDescribeWorkflowInterface } from "./describe-workflow-interface.cjs";
|
|
2
|
+
import { roboflowGetExecutionEngineVersions } from "./get-execution-engine-versions.cjs";
|
|
3
|
+
import { roboflowGetServerInfo } from "./get-server-info.cjs";
|
|
4
|
+
import { roboflowGetServerMetrics } from "./get-server-metrics.cjs";
|
|
5
|
+
import { roboflowGetWorkflowSchema } from "./get-workflow-schema.cjs";
|
|
6
|
+
import { roboflowRunWorkflow } from "./run-workflow.cjs";
|
|
7
|
+
import { roboflowValidateWorkflow } from "./validate-workflow.cjs";
|
|
8
|
+
export { roboflowDescribeWorkflowInterface, roboflowGetExecutionEngineVersions, roboflowGetServerInfo, roboflowGetServerMetrics, roboflowGetWorkflowSchema, roboflowRunWorkflow, roboflowValidateWorkflow };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { roboflowDescribeWorkflowInterface } from "./describe-workflow-interface.mjs";
|
|
2
|
+
import { roboflowGetExecutionEngineVersions } from "./get-execution-engine-versions.mjs";
|
|
3
|
+
import { roboflowGetServerInfo } from "./get-server-info.mjs";
|
|
4
|
+
import { roboflowGetServerMetrics } from "./get-server-metrics.mjs";
|
|
5
|
+
import { roboflowGetWorkflowSchema } from "./get-workflow-schema.mjs";
|
|
6
|
+
import { roboflowRunWorkflow } from "./run-workflow.mjs";
|
|
7
|
+
import { roboflowValidateWorkflow } from "./validate-workflow.mjs";
|
|
8
|
+
export { roboflowDescribeWorkflowInterface, roboflowGetExecutionEngineVersions, roboflowGetServerInfo, roboflowGetServerMetrics, roboflowGetWorkflowSchema, roboflowRunWorkflow, roboflowValidateWorkflow };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { roboflowDescribeWorkflowInterface } from "./describe-workflow-interface.mjs";
|
|
2
|
+
import { roboflowGetExecutionEngineVersions } from "./get-execution-engine-versions.mjs";
|
|
3
|
+
import { roboflowGetServerInfo } from "./get-server-info.mjs";
|
|
4
|
+
import { roboflowGetServerMetrics } from "./get-server-metrics.mjs";
|
|
5
|
+
import { roboflowGetWorkflowSchema } from "./get-workflow-schema.mjs";
|
|
6
|
+
import { roboflowRunWorkflow } from "./run-workflow.mjs";
|
|
7
|
+
import { roboflowValidateWorkflow } from "./validate-workflow.mjs";
|
|
8
|
+
export { roboflowDescribeWorkflowInterface, roboflowGetExecutionEngineVersions, roboflowGetServerInfo, roboflowGetServerMetrics, roboflowGetWorkflowSchema, roboflowRunWorkflow, roboflowValidateWorkflow };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/run-workflow.ts
|
|
4
|
+
const RoboflowRunWorkflowInput = zod.z.object({
|
|
5
|
+
inputs: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary containing runtime values for each parameter defined as an input in the workflow specification. Keys must match the 'name' fields defined in specification.inputs. Values can be of various types depending on the input type (e.g., for InferenceImage input, provide object with 'type' and 'value' keys where type can be 'url', 'base64', or 'numpy')."),
|
|
6
|
+
api_key: zod.z.string().describe("Roboflow API Key passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata headers.").optional(),
|
|
7
|
+
is_preview: zod.z.boolean().default(false).describe("Reserved flag used internally by Roboflow to distinguish between preview and non-preview runs.").optional(),
|
|
8
|
+
workflow_id: zod.z.string().describe("Optional identifier of the workflow. Used when running a saved workflow definition from Roboflow platform.").optional(),
|
|
9
|
+
specification: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Workflow specification object defining version, inputs, steps, and outputs. Must include 'version' (string), 'inputs' (array of input definitions), 'steps' (array of processing steps), and 'outputs' (array of output definitions). Each input must have 'type' and 'name'. Each step must have 'type' and 'name' with additional configuration. Each output must have 'type', 'name', and 'selector'."),
|
|
10
|
+
excluded_fields: zod.z.array(zod.z.string()).describe("List of field names to exclude from the response among those defined in workflow specification outputs.").optional(),
|
|
11
|
+
enable_profiling: zod.z.boolean().default(false).describe("Flag to request workflow run profiling. Enables workflow profiler only when server settings allow profiling traces to be exported to clients. Only applies for workflow definitions saved on Roboflow platform.").optional()
|
|
12
|
+
}).describe("Request model for running a workflow specification.");
|
|
13
|
+
const RoboflowRunWorkflowOutput = zod.z.object({
|
|
14
|
+
outputs: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of dictionaries with keys defined in workflow output specification and their serialized values. Each element represents the output for one input processed by the workflow."),
|
|
15
|
+
profiler_trace: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of profiler events if enable_profiling was set to true and server allows profiling trace export.").nullable().optional()
|
|
16
|
+
}).describe("Response model returned after running a workflow.");
|
|
17
|
+
const roboflowRunWorkflow = require_action.action("ROBOFLOW_RUN_WORKFLOW", {
|
|
18
|
+
slug: "roboflow-run-workflow",
|
|
19
|
+
name: "Run Workflow",
|
|
20
|
+
description: "Tool to run a workflow specification with provided inputs. Use when you need to execute a custom Roboflow workflow pipeline for image processing, model inference, or other computer vision tasks.",
|
|
21
|
+
input: RoboflowRunWorkflowInput,
|
|
22
|
+
output: RoboflowRunWorkflowOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.roboflowRunWorkflow = roboflowRunWorkflow;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=run-workflow.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-workflow.cjs","names":["z","action"],"sources":["../../src/actions/run-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowRunWorkflowInput: z.ZodTypeAny = z.object({\n inputs: z.record(z.string(), z.unknown()).describe(\"Dictionary containing runtime values for each parameter defined as an input in the workflow specification. Keys must match the 'name' fields defined in specification.inputs. Values can be of various types depending on the input type (e.g., for InferenceImage input, provide object with 'type' and 'value' keys where type can be 'url', 'base64', or 'numpy').\"),\n api_key: z.string().describe(\"Roboflow API Key passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata headers.\").optional(),\n is_preview: z.boolean().default(false).describe(\"Reserved flag used internally by Roboflow to distinguish between preview and non-preview runs.\").optional(),\n workflow_id: z.string().describe(\"Optional identifier of the workflow. Used when running a saved workflow definition from Roboflow platform.\").optional(),\n specification: z.record(z.string(), z.unknown()).describe(\"Workflow specification object defining version, inputs, steps, and outputs. Must include 'version' (string), 'inputs' (array of input definitions), 'steps' (array of processing steps), and 'outputs' (array of output definitions). Each input must have 'type' and 'name'. Each step must have 'type' and 'name' with additional configuration. Each output must have 'type', 'name', and 'selector'.\"),\n excluded_fields: z.array(z.string()).describe(\"List of field names to exclude from the response among those defined in workflow specification outputs.\").optional(),\n enable_profiling: z.boolean().default(false).describe(\"Flag to request workflow run profiling. Enables workflow profiler only when server settings allow profiling traces to be exported to clients. Only applies for workflow definitions saved on Roboflow platform.\").optional(),\n}).describe(\"Request model for running a workflow specification.\");\nexport const RoboflowRunWorkflowOutput: z.ZodTypeAny = z.object({\n outputs: z.array(z.record(z.string(), z.unknown())).describe(\"Array of dictionaries with keys defined in workflow output specification and their serialized values. Each element represents the output for one input processed by the workflow.\"),\n profiler_trace: z.array(z.record(z.string(), z.unknown())).describe(\"Array of profiler events if enable_profiling was set to true and server allows profiling trace export.\").nullable().optional(),\n}).describe(\"Response model returned after running a workflow.\");\n\nexport const roboflowRunWorkflow = action(\"ROBOFLOW_RUN_WORKFLOW\", {\n slug: \"roboflow-run-workflow\",\n name: \"Run Workflow\",\n description: \"Tool to run a workflow specification with provided inputs. Use when you need to execute a custom Roboflow workflow pipeline for image processing, model inference, or other computer vision tasks.\",\n input: RoboflowRunWorkflowInput,\n output: RoboflowRunWorkflowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uWAAuW;CAC1Z,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACxJ,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0YAA0Y;CACpc,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClK,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;AACpR,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mLAAmL;CAChP,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/run-workflow.d.ts
|
|
4
|
+
declare const RoboflowRunWorkflowInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowRunWorkflowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowRunWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowRunWorkflow };
|
|
9
|
+
//# sourceMappingURL=run-workflow.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-workflow.d.cts","names":[],"sources":["../../src/actions/run-workflow.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQyB;AAAA,cACrD,yBAAA,EAA2B,CAAA,CAAE,UAGsB;AAAA,cAEnD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/run-workflow.d.ts
|
|
4
|
+
declare const RoboflowRunWorkflowInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowRunWorkflowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowRunWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowRunWorkflow };
|
|
9
|
+
//# sourceMappingURL=run-workflow.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-workflow.d.mts","names":[],"sources":["../../src/actions/run-workflow.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQyB;AAAA,cACrD,yBAAA,EAA2B,CAAA,CAAE,UAGsB;AAAA,cAEnD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const roboflowRunWorkflow = action("ROBOFLOW_RUN_WORKFLOW", {
|
|
4
|
+
slug: "roboflow-run-workflow",
|
|
5
|
+
name: "Run Workflow",
|
|
6
|
+
description: "Tool to run a workflow specification with provided inputs. Use when you need to execute a custom Roboflow workflow pipeline for image processing, model inference, or other computer vision tasks.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
inputs: z.record(z.string(), z.unknown()).describe("Dictionary containing runtime values for each parameter defined as an input in the workflow specification. Keys must match the 'name' fields defined in specification.inputs. Values can be of various types depending on the input type (e.g., for InferenceImage input, provide object with 'type' and 'value' keys where type can be 'url', 'base64', or 'numpy')."),
|
|
9
|
+
api_key: z.string().describe("Roboflow API Key passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata headers.").optional(),
|
|
10
|
+
is_preview: z.boolean().default(false).describe("Reserved flag used internally by Roboflow to distinguish between preview and non-preview runs.").optional(),
|
|
11
|
+
workflow_id: z.string().describe("Optional identifier of the workflow. Used when running a saved workflow definition from Roboflow platform.").optional(),
|
|
12
|
+
specification: z.record(z.string(), z.unknown()).describe("Workflow specification object defining version, inputs, steps, and outputs. Must include 'version' (string), 'inputs' (array of input definitions), 'steps' (array of processing steps), and 'outputs' (array of output definitions). Each input must have 'type' and 'name'. Each step must have 'type' and 'name' with additional configuration. Each output must have 'type', 'name', and 'selector'."),
|
|
13
|
+
excluded_fields: z.array(z.string()).describe("List of field names to exclude from the response among those defined in workflow specification outputs.").optional(),
|
|
14
|
+
enable_profiling: z.boolean().default(false).describe("Flag to request workflow run profiling. Enables workflow profiler only when server settings allow profiling traces to be exported to clients. Only applies for workflow definitions saved on Roboflow platform.").optional()
|
|
15
|
+
}).describe("Request model for running a workflow specification."),
|
|
16
|
+
output: z.object({
|
|
17
|
+
outputs: z.array(z.record(z.string(), z.unknown())).describe("Array of dictionaries with keys defined in workflow output specification and their serialized values. Each element represents the output for one input processed by the workflow."),
|
|
18
|
+
profiler_trace: z.array(z.record(z.string(), z.unknown())).describe("Array of profiler events if enable_profiling was set to true and server allows profiling trace export.").nullable().optional()
|
|
19
|
+
}).describe("Response model returned after running a workflow.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { roboflowRunWorkflow };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=run-workflow.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-workflow.mjs","names":[],"sources":["../../src/actions/run-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowRunWorkflowInput: z.ZodTypeAny = z.object({\n inputs: z.record(z.string(), z.unknown()).describe(\"Dictionary containing runtime values for each parameter defined as an input in the workflow specification. Keys must match the 'name' fields defined in specification.inputs. Values can be of various types depending on the input type (e.g., for InferenceImage input, provide object with 'type' and 'value' keys where type can be 'url', 'base64', or 'numpy').\"),\n api_key: z.string().describe(\"Roboflow API Key passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata headers.\").optional(),\n is_preview: z.boolean().default(false).describe(\"Reserved flag used internally by Roboflow to distinguish between preview and non-preview runs.\").optional(),\n workflow_id: z.string().describe(\"Optional identifier of the workflow. Used when running a saved workflow definition from Roboflow platform.\").optional(),\n specification: z.record(z.string(), z.unknown()).describe(\"Workflow specification object defining version, inputs, steps, and outputs. Must include 'version' (string), 'inputs' (array of input definitions), 'steps' (array of processing steps), and 'outputs' (array of output definitions). Each input must have 'type' and 'name'. Each step must have 'type' and 'name' with additional configuration. Each output must have 'type', 'name', and 'selector'.\"),\n excluded_fields: z.array(z.string()).describe(\"List of field names to exclude from the response among those defined in workflow specification outputs.\").optional(),\n enable_profiling: z.boolean().default(false).describe(\"Flag to request workflow run profiling. Enables workflow profiler only when server settings allow profiling traces to be exported to clients. Only applies for workflow definitions saved on Roboflow platform.\").optional(),\n}).describe(\"Request model for running a workflow specification.\");\nexport const RoboflowRunWorkflowOutput: z.ZodTypeAny = z.object({\n outputs: z.array(z.record(z.string(), z.unknown())).describe(\"Array of dictionaries with keys defined in workflow output specification and their serialized values. Each element represents the output for one input processed by the workflow.\"),\n profiler_trace: z.array(z.record(z.string(), z.unknown())).describe(\"Array of profiler events if enable_profiling was set to true and server allows profiling trace export.\").nullable().optional(),\n}).describe(\"Response model returned after running a workflow.\");\n\nexport const roboflowRunWorkflow = action(\"ROBOFLOW_RUN_WORKFLOW\", {\n slug: \"roboflow-run-workflow\",\n name: \"Run Workflow\",\n description: \"Tool to run a workflow specification with provided inputs. Use when you need to execute a custom Roboflow workflow pipeline for image processing, model inference, or other computer vision tasks.\",\n input: RoboflowRunWorkflowInput,\n output: RoboflowRunWorkflowOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uWAAuW;EAC1Z,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;EAC5L,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACxJ,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0YAA0Y;EACpc,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EAClK,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACpR,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mLAAmL;EAChP,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpM,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/validate-workflow.ts
|
|
4
|
+
const RoboflowValidateWorkflowInput = zod.z.object({
|
|
5
|
+
steps: zod.z.array(zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("Name of the step that can be referenced in outputs or other steps."),
|
|
7
|
+
type: zod.z.string().describe("Type of the workflow step (e.g., 'roboflow_core/roboflow_object_detection_model@v1')."),
|
|
8
|
+
images: zod.z.string().describe("Reference to the input images using workflow selector syntax (e.g., '$inputs.image').").optional(),
|
|
9
|
+
model_id: zod.z.string().describe("Model ID to use for inference (e.g., 'yolov8n-640').").optional()
|
|
10
|
+
}).describe("Defines a step in the workflow.")).describe("List of workflow steps that process the inputs and produce intermediate results."),
|
|
11
|
+
inputs: zod.z.array(zod.z.object({
|
|
12
|
+
name: zod.z.string().describe("Name of the input that can be referenced in workflow steps."),
|
|
13
|
+
type: zod.z.string().describe("Type of the workflow input (e.g., 'WorkflowImage', 'WorkflowParameter').")
|
|
14
|
+
}).describe("Defines an input to the workflow.")).describe("List of workflow inputs that define the data flowing into the workflow."),
|
|
15
|
+
api_key: zod.z.string().describe("Roboflow API Key that will be passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata.").optional(),
|
|
16
|
+
outputs: zod.z.array(zod.z.object({
|
|
17
|
+
name: zod.z.string().describe("Name of the output field."),
|
|
18
|
+
type: zod.z.string().describe("Type of the workflow output (e.g., 'JsonField')."),
|
|
19
|
+
selector: zod.z.string().describe("Selector to extract data from workflow steps (e.g., '$steps.detector.predictions').")
|
|
20
|
+
}).describe("Defines an output from the workflow.")).describe("List of workflow outputs that extract final results from the steps."),
|
|
21
|
+
version: zod.z.string().describe("Version of the workflow specification format.")
|
|
22
|
+
}).describe("Request model for validating a Roboflow workflow specification.");
|
|
23
|
+
const RoboflowValidateWorkflowOutput = zod.z.object({ status: zod.z.string().describe("Validation status of the workflow. Indicates whether the workflow specification is valid.") }).describe("Response model returned after validating a workflow.");
|
|
24
|
+
const roboflowValidateWorkflow = require_action.action("ROBOFLOW_VALIDATE_WORKFLOW", {
|
|
25
|
+
slug: "roboflow-validate-workflow",
|
|
26
|
+
name: "Validate Workflow",
|
|
27
|
+
description: "Tool to validate a Roboflow workflow specification before execution. Use this to check if your workflow definition is syntactically correct and properly structured.",
|
|
28
|
+
input: RoboflowValidateWorkflowInput,
|
|
29
|
+
output: RoboflowValidateWorkflowOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.roboflowValidateWorkflow = roboflowValidateWorkflow;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=validate-workflow.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-workflow.cjs","names":["z","action"],"sources":["../../src/actions/validate-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowValidateWorkflowInput: z.ZodTypeAny = z.object({\n steps: z.array(z.object({\n name: z.string().describe(\"Name of the step that can be referenced in outputs or other steps.\"),\n type: z.string().describe(\"Type of the workflow step (e.g., 'roboflow_core/roboflow_object_detection_model@v1').\"),\n images: z.string().describe(\"Reference to the input images using workflow selector syntax (e.g., '$inputs.image').\").optional(),\n model_id: z.string().describe(\"Model ID to use for inference (e.g., 'yolov8n-640').\").optional(),\n}).describe(\"Defines a step in the workflow.\")).describe(\"List of workflow steps that process the inputs and produce intermediate results.\"),\n inputs: z.array(z.object({\n name: z.string().describe(\"Name of the input that can be referenced in workflow steps.\"),\n type: z.string().describe(\"Type of the workflow input (e.g., 'WorkflowImage', 'WorkflowParameter').\"),\n}).describe(\"Defines an input to the workflow.\")).describe(\"List of workflow inputs that define the data flowing into the workflow.\"),\n api_key: z.string().describe(\"Roboflow API Key that will be passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata.\").optional(),\n outputs: z.array(z.object({\n name: z.string().describe(\"Name of the output field.\"),\n type: z.string().describe(\"Type of the workflow output (e.g., 'JsonField').\"),\n selector: z.string().describe(\"Selector to extract data from workflow steps (e.g., '$steps.detector.predictions').\"),\n}).describe(\"Defines an output from the workflow.\")).describe(\"List of workflow outputs that extract final results from the steps.\"),\n version: z.string().describe(\"Version of the workflow specification format.\"),\n}).describe(\"Request model for validating a Roboflow workflow specification.\");\nexport const RoboflowValidateWorkflowOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Validation status of the workflow. Indicates whether the workflow specification is valid.\"),\n}).describe(\"Response model returned after validating a workflow.\");\n\nexport const roboflowValidateWorkflow = action(\"ROBOFLOW_VALIDATE_WORKFLOW\", {\n slug: \"roboflow-validate-workflow\",\n name: \"Validate Workflow\",\n description: \"Tool to validate a Roboflow workflow specification before execution. Use this to check if your workflow definition is syntactically correct and properly structured.\",\n input: RoboflowValidateWorkflowInput,\n output: RoboflowValidateWorkflowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC9H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,CAAC,SAAS,kFAAkF;CACzI,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACtG,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,yEAAyE;CAClI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CACjM,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CACrH,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,CAAC,SAAS,qEAAqE;CACjI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC9E,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EACzH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/validate-workflow.d.ts
|
|
4
|
+
declare const RoboflowValidateWorkflowInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowValidateWorkflowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowValidateWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowValidateWorkflow };
|
|
9
|
+
//# sourceMappingURL=validate-workflow.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-workflow.d.cts","names":[],"sources":["../../src/actions/validate-workflow.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAkBgC;AAAA,cACjE,8BAAA,EAAgC,CAAA,CAAE,UAEoB;AAAA,cAEtD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/validate-workflow.d.ts
|
|
4
|
+
declare const RoboflowValidateWorkflowInput: z.ZodTypeAny;
|
|
5
|
+
declare const RoboflowValidateWorkflowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const roboflowValidateWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { roboflowValidateWorkflow };
|
|
9
|
+
//# sourceMappingURL=validate-workflow.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-workflow.d.mts","names":[],"sources":["../../src/actions/validate-workflow.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAkBgC;AAAA,cACjE,8BAAA,EAAgC,CAAA,CAAE,UAEoB;AAAA,cAEtD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const roboflowValidateWorkflow = action("ROBOFLOW_VALIDATE_WORKFLOW", {
|
|
4
|
+
slug: "roboflow-validate-workflow",
|
|
5
|
+
name: "Validate Workflow",
|
|
6
|
+
description: "Tool to validate a Roboflow workflow specification before execution. Use this to check if your workflow definition is syntactically correct and properly structured.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
steps: z.array(z.object({
|
|
9
|
+
name: z.string().describe("Name of the step that can be referenced in outputs or other steps."),
|
|
10
|
+
type: z.string().describe("Type of the workflow step (e.g., 'roboflow_core/roboflow_object_detection_model@v1')."),
|
|
11
|
+
images: z.string().describe("Reference to the input images using workflow selector syntax (e.g., '$inputs.image').").optional(),
|
|
12
|
+
model_id: z.string().describe("Model ID to use for inference (e.g., 'yolov8n-640').").optional()
|
|
13
|
+
}).describe("Defines a step in the workflow.")).describe("List of workflow steps that process the inputs and produce intermediate results."),
|
|
14
|
+
inputs: z.array(z.object({
|
|
15
|
+
name: z.string().describe("Name of the input that can be referenced in workflow steps."),
|
|
16
|
+
type: z.string().describe("Type of the workflow input (e.g., 'WorkflowImage', 'WorkflowParameter').")
|
|
17
|
+
}).describe("Defines an input to the workflow.")).describe("List of workflow inputs that define the data flowing into the workflow."),
|
|
18
|
+
api_key: z.string().describe("Roboflow API Key that will be passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata.").optional(),
|
|
19
|
+
outputs: z.array(z.object({
|
|
20
|
+
name: z.string().describe("Name of the output field."),
|
|
21
|
+
type: z.string().describe("Type of the workflow output (e.g., 'JsonField')."),
|
|
22
|
+
selector: z.string().describe("Selector to extract data from workflow steps (e.g., '$steps.detector.predictions').")
|
|
23
|
+
}).describe("Defines an output from the workflow.")).describe("List of workflow outputs that extract final results from the steps."),
|
|
24
|
+
version: z.string().describe("Version of the workflow specification format.")
|
|
25
|
+
}).describe("Request model for validating a Roboflow workflow specification."),
|
|
26
|
+
output: z.object({ status: z.string().describe("Validation status of the workflow. Indicates whether the workflow specification is valid.") }).describe("Response model returned after validating a workflow.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { roboflowValidateWorkflow };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=validate-workflow.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-workflow.mjs","names":[],"sources":["../../src/actions/validate-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoboflowValidateWorkflowInput: z.ZodTypeAny = z.object({\n steps: z.array(z.object({\n name: z.string().describe(\"Name of the step that can be referenced in outputs or other steps.\"),\n type: z.string().describe(\"Type of the workflow step (e.g., 'roboflow_core/roboflow_object_detection_model@v1').\"),\n images: z.string().describe(\"Reference to the input images using workflow selector syntax (e.g., '$inputs.image').\").optional(),\n model_id: z.string().describe(\"Model ID to use for inference (e.g., 'yolov8n-640').\").optional(),\n}).describe(\"Defines a step in the workflow.\")).describe(\"List of workflow steps that process the inputs and produce intermediate results.\"),\n inputs: z.array(z.object({\n name: z.string().describe(\"Name of the input that can be referenced in workflow steps.\"),\n type: z.string().describe(\"Type of the workflow input (e.g., 'WorkflowImage', 'WorkflowParameter').\"),\n}).describe(\"Defines an input to the workflow.\")).describe(\"List of workflow inputs that define the data flowing into the workflow.\"),\n api_key: z.string().describe(\"Roboflow API Key that will be passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata.\").optional(),\n outputs: z.array(z.object({\n name: z.string().describe(\"Name of the output field.\"),\n type: z.string().describe(\"Type of the workflow output (e.g., 'JsonField').\"),\n selector: z.string().describe(\"Selector to extract data from workflow steps (e.g., '$steps.detector.predictions').\"),\n}).describe(\"Defines an output from the workflow.\")).describe(\"List of workflow outputs that extract final results from the steps.\"),\n version: z.string().describe(\"Version of the workflow specification format.\"),\n}).describe(\"Request model for validating a Roboflow workflow specification.\");\nexport const RoboflowValidateWorkflowOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Validation status of the workflow. Indicates whether the workflow specification is valid.\"),\n}).describe(\"Response model returned after validating a workflow.\");\n\nexport const roboflowValidateWorkflow = action(\"ROBOFLOW_VALIDATE_WORKFLOW\", {\n slug: \"roboflow-validate-workflow\",\n name: \"Validate Workflow\",\n description: \"Tool to validate a Roboflow workflow specification before execution. Use this to check if your workflow definition is syntactically correct and properly structured.\",\n input: RoboflowValidateWorkflowInput,\n output: RoboflowValidateWorkflowOutput,\n});\n"],"mappings":";;AA2BA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3ByD,EAAE,OAAO;EAClE,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;GAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;GACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;GAC9H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,CAAC,SAAS,kFAAkF;EACzI,QAAQ,EAAE,MAAM,EAAE,OAAO;GACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;GACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACtG,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,yEAAyE;EAClI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;EACjM,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;GACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;GAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EACrH,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,CAAC,SAAS,qEAAqE;EACjI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,CAAC,CAAC,CAAC,SAAS,iEASH;CACP,QAT0D,EAAE,OAAO,EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EACzH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const roboflow = defineApp({\n slug: \"roboflow\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const roboflow = defineApp({\n slug: \"roboflow\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const roboflowCatalog = {
|
|
4
|
+
"slug": "roboflow",
|
|
5
|
+
"name": "Roboflow",
|
|
6
|
+
"description": "Build and use computer vision models fast with Roboflow. Train, deploy, and run inference on object detection, classification, and segmentation models.",
|
|
7
|
+
"category": "Artificial Intelligence",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/roboflow",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.roboflowCatalog = roboflowCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const roboflowCatalog = {\n \"slug\": \"roboflow\",\n \"name\": \"Roboflow\",\n \"description\": \"Build and use computer vision models fast with Roboflow. Train, deploy, and run inference on object detection, classification, and segmentation models.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/roboflow\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const roboflowCatalog: {
|
|
4
|
+
readonly slug: "roboflow";
|
|
5
|
+
readonly name: "Roboflow";
|
|
6
|
+
readonly description: "Build and use computer vision models fast with Roboflow. Train, deploy, and run inference on object detection, classification, and segmentation models.";
|
|
7
|
+
readonly category: "Artificial Intelligence";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/roboflow";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { roboflowCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const roboflowCatalog: {
|
|
4
|
+
readonly slug: "roboflow";
|
|
5
|
+
readonly name: "Roboflow";
|
|
6
|
+
readonly description: "Build and use computer vision models fast with Roboflow. Train, deploy, and run inference on object detection, classification, and segmentation models.";
|
|
7
|
+
readonly category: "Artificial Intelligence";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/roboflow";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { roboflowCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const roboflowCatalog = {
|
|
4
|
+
"slug": "roboflow",
|
|
5
|
+
"name": "Roboflow",
|
|
6
|
+
"description": "Build and use computer vision models fast with Roboflow. Train, deploy, and run inference on object detection, classification, and segmentation models.",
|
|
7
|
+
"category": "Artificial Intelligence",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/roboflow",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { roboflowCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const roboflowCatalog = {\n \"slug\": \"roboflow\",\n \"name\": \"Roboflow\",\n \"description\": \"Build and use computer vision models fast with Roboflow. Train, deploy, and run inference on object detection, classification, and segmentation models.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/roboflow\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "roboflow";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeRoboflowTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeRoboflowTool = executeRoboflowTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"roboflow\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeRoboflowTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "roboflow";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeRoboflowTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeRoboflowTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"roboflow\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeRoboflowTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_describe_workflow_interface = require("./actions/describe-workflow-interface.cjs");
|
|
5
|
+
const require_get_execution_engine_versions = require("./actions/get-execution-engine-versions.cjs");
|
|
6
|
+
const require_get_server_info = require("./actions/get-server-info.cjs");
|
|
7
|
+
const require_get_server_metrics = require("./actions/get-server-metrics.cjs");
|
|
8
|
+
const require_get_workflow_schema = require("./actions/get-workflow-schema.cjs");
|
|
9
|
+
const require_run_workflow = require("./actions/run-workflow.cjs");
|
|
10
|
+
const require_validate_workflow = require("./actions/validate-workflow.cjs");
|
|
11
|
+
require("./actions/index.cjs");
|
|
12
|
+
exports.roboflow = require_app.roboflow;
|
|
13
|
+
exports.roboflowCatalog = require_catalog.roboflowCatalog;
|
|
14
|
+
exports.roboflowDescribeWorkflowInterface = require_describe_workflow_interface.roboflowDescribeWorkflowInterface;
|
|
15
|
+
exports.roboflowGetExecutionEngineVersions = require_get_execution_engine_versions.roboflowGetExecutionEngineVersions;
|
|
16
|
+
exports.roboflowGetServerInfo = require_get_server_info.roboflowGetServerInfo;
|
|
17
|
+
exports.roboflowGetServerMetrics = require_get_server_metrics.roboflowGetServerMetrics;
|
|
18
|
+
exports.roboflowGetWorkflowSchema = require_get_workflow_schema.roboflowGetWorkflowSchema;
|
|
19
|
+
exports.roboflowRunWorkflow = require_run_workflow.roboflowRunWorkflow;
|
|
20
|
+
exports.roboflowValidateWorkflow = require_validate_workflow.roboflowValidateWorkflow;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { roboflowDescribeWorkflowInterface } from "./actions/describe-workflow-interface.cjs";
|
|
2
|
+
import { roboflowGetExecutionEngineVersions } from "./actions/get-execution-engine-versions.cjs";
|
|
3
|
+
import { roboflowGetServerInfo } from "./actions/get-server-info.cjs";
|
|
4
|
+
import { roboflowGetServerMetrics } from "./actions/get-server-metrics.cjs";
|
|
5
|
+
import { roboflowGetWorkflowSchema } from "./actions/get-workflow-schema.cjs";
|
|
6
|
+
import { roboflowRunWorkflow } from "./actions/run-workflow.cjs";
|
|
7
|
+
import { roboflowValidateWorkflow } from "./actions/validate-workflow.cjs";
|
|
8
|
+
import { roboflow } from "./app.cjs";
|
|
9
|
+
import { roboflowCatalog } from "./catalog.cjs";
|
|
10
|
+
export { roboflow, roboflowCatalog, roboflowDescribeWorkflowInterface, roboflowGetExecutionEngineVersions, roboflowGetServerInfo, roboflowGetServerMetrics, roboflowGetWorkflowSchema, roboflowRunWorkflow, roboflowValidateWorkflow };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { roboflowDescribeWorkflowInterface } from "./actions/describe-workflow-interface.mjs";
|
|
2
|
+
import { roboflowGetExecutionEngineVersions } from "./actions/get-execution-engine-versions.mjs";
|
|
3
|
+
import { roboflowGetServerInfo } from "./actions/get-server-info.mjs";
|
|
4
|
+
import { roboflowGetServerMetrics } from "./actions/get-server-metrics.mjs";
|
|
5
|
+
import { roboflowGetWorkflowSchema } from "./actions/get-workflow-schema.mjs";
|
|
6
|
+
import { roboflowRunWorkflow } from "./actions/run-workflow.mjs";
|
|
7
|
+
import { roboflowValidateWorkflow } from "./actions/validate-workflow.mjs";
|
|
8
|
+
import { roboflow } from "./app.mjs";
|
|
9
|
+
import { roboflowCatalog } from "./catalog.mjs";
|
|
10
|
+
export { roboflow, roboflowCatalog, roboflowDescribeWorkflowInterface, roboflowGetExecutionEngineVersions, roboflowGetServerInfo, roboflowGetServerMetrics, roboflowGetWorkflowSchema, roboflowRunWorkflow, roboflowValidateWorkflow };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { roboflow } from "./app.mjs";
|
|
2
|
+
import { roboflowCatalog } from "./catalog.mjs";
|
|
3
|
+
import { roboflowDescribeWorkflowInterface } from "./actions/describe-workflow-interface.mjs";
|
|
4
|
+
import { roboflowGetExecutionEngineVersions } from "./actions/get-execution-engine-versions.mjs";
|
|
5
|
+
import { roboflowGetServerInfo } from "./actions/get-server-info.mjs";
|
|
6
|
+
import { roboflowGetServerMetrics } from "./actions/get-server-metrics.mjs";
|
|
7
|
+
import { roboflowGetWorkflowSchema } from "./actions/get-workflow-schema.mjs";
|
|
8
|
+
import { roboflowRunWorkflow } from "./actions/run-workflow.mjs";
|
|
9
|
+
import { roboflowValidateWorkflow } from "./actions/validate-workflow.mjs";
|
|
10
|
+
import "./actions/index.mjs";
|
|
11
|
+
export { roboflow, roboflowCatalog, roboflowDescribeWorkflowInterface, roboflowGetExecutionEngineVersions, roboflowGetServerInfo, roboflowGetServerMetrics, roboflowGetWorkflowSchema, roboflowRunWorkflow, roboflowValidateWorkflow };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/roboflow",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/roboflow"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|