@keystrokehq/tisane 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/analyze-text.cjs +29 -0
- package/dist/actions/analyze-text.cjs.map +1 -0
- package/dist/actions/analyze-text.d.cts +9 -0
- package/dist/actions/analyze-text.d.cts.map +1 -0
- package/dist/actions/analyze-text.d.mts +9 -0
- package/dist/actions/analyze-text.d.mts.map +1 -0
- package/dist/actions/analyze-text.mjs +26 -0
- package/dist/actions/analyze-text.mjs.map +1 -0
- package/dist/actions/calculate-similarity.cjs +22 -0
- package/dist/actions/calculate-similarity.cjs.map +1 -0
- package/dist/actions/calculate-similarity.d.cts +9 -0
- package/dist/actions/calculate-similarity.d.cts.map +1 -0
- package/dist/actions/calculate-similarity.d.mts +9 -0
- package/dist/actions/calculate-similarity.d.mts.map +1 -0
- package/dist/actions/calculate-similarity.mjs +19 -0
- package/dist/actions/calculate-similarity.mjs.map +1 -0
- package/dist/actions/compare-entities.cjs +30 -0
- package/dist/actions/compare-entities.cjs.map +1 -0
- package/dist/actions/compare-entities.d.cts +9 -0
- package/dist/actions/compare-entities.d.cts.map +1 -0
- package/dist/actions/compare-entities.d.mts +9 -0
- package/dist/actions/compare-entities.d.mts.map +1 -0
- package/dist/actions/compare-entities.mjs +29 -0
- package/dist/actions/compare-entities.mjs.map +1 -0
- package/dist/actions/detect-language.cjs +19 -0
- package/dist/actions/detect-language.cjs.map +1 -0
- package/dist/actions/detect-language.d.cts +9 -0
- package/dist/actions/detect-language.d.cts.map +1 -0
- package/dist/actions/detect-language.d.mts +9 -0
- package/dist/actions/detect-language.d.mts.map +1 -0
- package/dist/actions/detect-language.mjs +16 -0
- package/dist/actions/detect-language.mjs.map +1 -0
- package/dist/actions/extract-text.cjs +16 -0
- package/dist/actions/extract-text.cjs.map +1 -0
- package/dist/actions/extract-text.d.cts +9 -0
- package/dist/actions/extract-text.d.cts.map +1 -0
- package/dist/actions/extract-text.d.mts +9 -0
- package/dist/actions/extract-text.d.mts.map +1 -0
- package/dist/actions/extract-text.mjs +13 -0
- package/dist/actions/extract-text.mjs.map +1 -0
- package/dist/actions/get-family-details.cjs +24 -0
- package/dist/actions/get-family-details.cjs.map +1 -0
- package/dist/actions/get-family-details.d.cts +9 -0
- package/dist/actions/get-family-details.d.cts.map +1 -0
- package/dist/actions/get-family-details.d.mts +9 -0
- package/dist/actions/get-family-details.d.mts.map +1 -0
- package/dist/actions/get-family-details.mjs +21 -0
- package/dist/actions/get-family-details.mjs.map +1 -0
- package/dist/actions/get-supported-languages.cjs +25 -0
- package/dist/actions/get-supported-languages.cjs.map +1 -0
- package/dist/actions/get-supported-languages.d.cts +9 -0
- package/dist/actions/get-supported-languages.d.cts.map +1 -0
- package/dist/actions/get-supported-languages.d.mts +9 -0
- package/dist/actions/get-supported-languages.d.mts.map +1 -0
- package/dist/actions/get-supported-languages.mjs +24 -0
- package/dist/actions/get-supported-languages.mjs.map +1 -0
- package/dist/actions/index.cjs +27 -0
- package/dist/actions/index.d.cts +14 -0
- package/dist/actions/index.d.mts +14 -0
- package/dist/actions/index.mjs +14 -0
- package/dist/actions/list-feature-values.cjs +24 -0
- package/dist/actions/list-feature-values.cjs.map +1 -0
- package/dist/actions/list-feature-values.d.cts +9 -0
- package/dist/actions/list-feature-values.d.cts.map +1 -0
- package/dist/actions/list-feature-values.d.mts +9 -0
- package/dist/actions/list-feature-values.d.mts.map +1 -0
- package/dist/actions/list-feature-values.mjs +21 -0
- package/dist/actions/list-feature-values.mjs.map +1 -0
- package/dist/actions/list-hypernyms.cjs +24 -0
- package/dist/actions/list-hypernyms.cjs.map +1 -0
- package/dist/actions/list-hypernyms.d.cts +9 -0
- package/dist/actions/list-hypernyms.d.cts.map +1 -0
- package/dist/actions/list-hypernyms.d.mts +9 -0
- package/dist/actions/list-hypernyms.d.mts.map +1 -0
- package/dist/actions/list-hypernyms.mjs +23 -0
- package/dist/actions/list-hypernyms.mjs.map +1 -0
- package/dist/actions/list-hyponyms.cjs +24 -0
- package/dist/actions/list-hyponyms.cjs.map +1 -0
- package/dist/actions/list-hyponyms.d.cts +9 -0
- package/dist/actions/list-hyponyms.d.cts.map +1 -0
- package/dist/actions/list-hyponyms.d.mts +9 -0
- package/dist/actions/list-hyponyms.d.mts.map +1 -0
- package/dist/actions/list-hyponyms.mjs +23 -0
- package/dist/actions/list-hyponyms.mjs.map +1 -0
- package/dist/actions/list-inflections.cjs +29 -0
- package/dist/actions/list-inflections.cjs.map +1 -0
- package/dist/actions/list-inflections.d.cts +9 -0
- package/dist/actions/list-inflections.d.cts.map +1 -0
- package/dist/actions/list-inflections.d.mts +9 -0
- package/dist/actions/list-inflections.d.mts.map +1 -0
- package/dist/actions/list-inflections.mjs +28 -0
- package/dist/actions/list-inflections.mjs.map +1 -0
- package/dist/actions/list-word-senses.cjs +42 -0
- package/dist/actions/list-word-senses.cjs.map +1 -0
- package/dist/actions/list-word-senses.d.cts +9 -0
- package/dist/actions/list-word-senses.d.cts.map +1 -0
- package/dist/actions/list-word-senses.d.mts +9 -0
- package/dist/actions/list-word-senses.d.mts.map +1 -0
- package/dist/actions/list-word-senses.mjs +41 -0
- package/dist/actions/list-word-senses.mjs.map +1 -0
- package/dist/actions/transform-text.cjs +21 -0
- package/dist/actions/transform-text.cjs.map +1 -0
- package/dist/actions/transform-text.d.cts +9 -0
- package/dist/actions/transform-text.d.cts.map +1 -0
- package/dist/actions/transform-text.d.mts +9 -0
- package/dist/actions/transform-text.d.mts.map +1 -0
- package/dist/actions/transform-text.mjs +18 -0
- package/dist/actions/transform-text.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 +32 -0
- package/dist/index.d.cts +16 -0
- package/dist/index.d.mts +16 -0
- package/dist/index.mjs +17 -0
- package/package.json +49 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const tisaneGetFamilyDetails = action("TISANE_GET_FAMILY_DETAILS", {
|
|
4
|
+
slug: "tisane-get-family-details",
|
|
5
|
+
name: "Get Family Details",
|
|
6
|
+
description: "Tool to fetch metadata for a family from Tisane language models, including definition, description, hypernyms, and external references (Wikidata, WordNet). Use when you need detailed information about a specific family concept by its numeric identifier.",
|
|
7
|
+
input: z.object({ id: z.string().describe("Numeric identifier of the family to retrieve details for") }),
|
|
8
|
+
output: z.object({
|
|
9
|
+
permId: z.string().describe("Permanent identifier for the family").nullable().optional(),
|
|
10
|
+
wikidata: z.string().describe("Wikidata identifier for the family concept (e.g., 'Q1321123')").nullable().optional(),
|
|
11
|
+
hypernyms: z.array(z.array(z.number())).describe("List of hypernym relationships, each represented as [family_id, distance]").nullable().optional(),
|
|
12
|
+
requestId: z.string().describe("Unique identifier for this API request").nullable().optional(),
|
|
13
|
+
wordnet30: z.string().describe("WordNet 3.0 identifier for the family concept").nullable().optional(),
|
|
14
|
+
definition: z.string().describe("Definition of the family concept").nullable().optional(),
|
|
15
|
+
description: z.string().describe("Brief description or label for the family").nullable().optional()
|
|
16
|
+
}).describe("Response model containing family metadata from Tisane language models.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { tisaneGetFamilyDetails };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-family-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-family-details.mjs","names":[],"sources":["../../src/actions/get-family-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneGetFamilyDetailsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Numeric identifier of the family to retrieve details for\"),\n});\nexport const TisaneGetFamilyDetailsOutput: z.ZodTypeAny = z.object({\n permId: z.string().describe(\"Permanent identifier for the family\").nullable().optional(),\n wikidata: z.string().describe(\"Wikidata identifier for the family concept (e.g., 'Q1321123')\").nullable().optional(),\n hypernyms: z.array(z.array(z.number())).describe(\"List of hypernym relationships, each represented as [family_id, distance]\").nullable().optional(),\n requestId: z.string().describe(\"Unique identifier for this API request\").nullable().optional(),\n wordnet30: z.string().describe(\"WordNet 3.0 identifier for the family concept\").nullable().optional(),\n definition: z.string().describe(\"Definition of the family concept\").nullable().optional(),\n description: z.string().describe(\"Brief description or label for the family\").nullable().optional(),\n}).describe(\"Response model containing family metadata from Tisane language models.\");\n\nexport const tisaneGetFamilyDetails = action(\"TISANE_GET_FAMILY_DETAILS\", {\n slug: \"tisane-get-family-details\",\n name: \"Get Family Details\",\n description: \"Tool to fetch metadata for a family from Tisane language models, including definition, description, hypernyms, and external references (Wikidata, WordNet). Use when you need detailed information about a specific family concept by its numeric identifier.\",\n input: TisaneGetFamilyDetailsInput,\n output: TisaneGetFamilyDetailsOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACpF,CAeS;CACP,QAfwD,EAAE,OAAO;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-supported-languages.ts
|
|
4
|
+
const TisaneGetSupportedLanguagesInput = zod.z.object({}).describe("Request model for retrieving supported languages. No parameters are required.");
|
|
5
|
+
const TisaneGetSupportedLanguages_LanguageSchema = zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("Native name of the language"),
|
|
7
|
+
latin: zod.z.boolean().describe("Whether the language uses Latin script"),
|
|
8
|
+
isoCode: zod.z.string().describe("IETF language tag (e.g., 'en', 'fr')"),
|
|
9
|
+
fontFace: zod.z.string().describe("Recommended font for display"),
|
|
10
|
+
englishName: zod.z.string().describe("English name of the language"),
|
|
11
|
+
rightToLeft: zod.z.boolean().describe("Whether the language uses right-to-left script"),
|
|
12
|
+
nativeEncoding: zod.z.string().describe("Encoding of the language (e.g., 'utf-8')")
|
|
13
|
+
}).describe("Model representing a supported language.");
|
|
14
|
+
const TisaneGetSupportedLanguagesOutput = zod.z.object({ languages: zod.z.array(TisaneGetSupportedLanguages_LanguageSchema).describe("List of supported language objects") }).describe("Response model: list of supported languages.");
|
|
15
|
+
const tisaneGetSupportedLanguages = require_action.action("TISANE_GET_SUPPORTED_LANGUAGES", {
|
|
16
|
+
slug: "tisane-get-supported-languages",
|
|
17
|
+
name: "Get Supported Languages",
|
|
18
|
+
description: "Tool to list all languages supported by the API. Use when needing to discover available languages for text analysis or processing. Call before submitting text to ensure support.",
|
|
19
|
+
input: TisaneGetSupportedLanguagesInput,
|
|
20
|
+
output: TisaneGetSupportedLanguagesOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.tisaneGetSupportedLanguages = tisaneGetSupportedLanguages;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-supported-languages.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-supported-languages.cjs","names":["z","action"],"sources":["../../src/actions/get-supported-languages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneGetSupportedLanguagesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving supported languages. No parameters are required.\");\nconst TisaneGetSupportedLanguages_LanguageSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Native name of the language\"),\n latin: z.boolean().describe(\"Whether the language uses Latin script\"),\n isoCode: z.string().describe(\"IETF language tag (e.g., 'en', 'fr')\"),\n fontFace: z.string().describe(\"Recommended font for display\"),\n englishName: z.string().describe(\"English name of the language\"),\n rightToLeft: z.boolean().describe(\"Whether the language uses right-to-left script\"),\n nativeEncoding: z.string().describe(\"Encoding of the language (e.g., 'utf-8')\"),\n}).describe(\"Model representing a supported language.\");\nexport const TisaneGetSupportedLanguagesOutput: z.ZodTypeAny = z.object({\n languages: z.array(TisaneGetSupportedLanguages_LanguageSchema).describe(\"List of supported language objects\"),\n}).describe(\"Response model: list of supported languages.\");\n\nexport const tisaneGetSupportedLanguages = action(\"TISANE_GET_SUPPORTED_LANGUAGES\", {\n slug: \"tisane-get-supported-languages\",\n name: \"Get Supported Languages\",\n description: \"Tool to list all languages supported by the API. Use when needing to discover available languages for text analysis or processing. Call before submitting text to ensure support.\",\n input: TisaneGetSupportedLanguagesInput,\n output: TisaneGetSupportedLanguagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AACnK,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAChF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,WAAWA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,EAC9G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,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-supported-languages.d.ts
|
|
4
|
+
declare const TisaneGetSupportedLanguagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneGetSupportedLanguagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneGetSupportedLanguages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneGetSupportedLanguages };
|
|
9
|
+
//# sourceMappingURL=get-supported-languages.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-supported-languages.d.cts","names":[],"sources":["../../src/actions/get-supported-languages.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAmH;AAAA,cAUvJ,iCAAA,EAAmC,CAAA,CAAE,UAES;AAAA,cAE9C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-supported-languages.d.ts
|
|
4
|
+
declare const TisaneGetSupportedLanguagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneGetSupportedLanguagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneGetSupportedLanguages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneGetSupportedLanguages };
|
|
9
|
+
//# sourceMappingURL=get-supported-languages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-supported-languages.d.mts","names":[],"sources":["../../src/actions/get-supported-languages.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAmH;AAAA,cAUvJ,iCAAA,EAAmC,CAAA,CAAE,UAES;AAAA,cAE9C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-supported-languages.ts
|
|
4
|
+
const TisaneGetSupportedLanguagesInput = z.object({}).describe("Request model for retrieving supported languages. No parameters are required.");
|
|
5
|
+
const TisaneGetSupportedLanguages_LanguageSchema = z.object({
|
|
6
|
+
name: z.string().describe("Native name of the language"),
|
|
7
|
+
latin: z.boolean().describe("Whether the language uses Latin script"),
|
|
8
|
+
isoCode: z.string().describe("IETF language tag (e.g., 'en', 'fr')"),
|
|
9
|
+
fontFace: z.string().describe("Recommended font for display"),
|
|
10
|
+
englishName: z.string().describe("English name of the language"),
|
|
11
|
+
rightToLeft: z.boolean().describe("Whether the language uses right-to-left script"),
|
|
12
|
+
nativeEncoding: z.string().describe("Encoding of the language (e.g., 'utf-8')")
|
|
13
|
+
}).describe("Model representing a supported language.");
|
|
14
|
+
const tisaneGetSupportedLanguages = action("TISANE_GET_SUPPORTED_LANGUAGES", {
|
|
15
|
+
slug: "tisane-get-supported-languages",
|
|
16
|
+
name: "Get Supported Languages",
|
|
17
|
+
description: "Tool to list all languages supported by the API. Use when needing to discover available languages for text analysis or processing. Call before submitting text to ensure support.",
|
|
18
|
+
input: TisaneGetSupportedLanguagesInput,
|
|
19
|
+
output: z.object({ languages: z.array(TisaneGetSupportedLanguages_LanguageSchema).describe("List of supported language objects") }).describe("Response model: list of supported languages.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { tisaneGetSupportedLanguages };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-supported-languages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-supported-languages.mjs","names":[],"sources":["../../src/actions/get-supported-languages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneGetSupportedLanguagesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving supported languages. No parameters are required.\");\nconst TisaneGetSupportedLanguages_LanguageSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Native name of the language\"),\n latin: z.boolean().describe(\"Whether the language uses Latin script\"),\n isoCode: z.string().describe(\"IETF language tag (e.g., 'en', 'fr')\"),\n fontFace: z.string().describe(\"Recommended font for display\"),\n englishName: z.string().describe(\"English name of the language\"),\n rightToLeft: z.boolean().describe(\"Whether the language uses right-to-left script\"),\n nativeEncoding: z.string().describe(\"Encoding of the language (e.g., 'utf-8')\"),\n}).describe(\"Model representing a supported language.\");\nexport const TisaneGetSupportedLanguagesOutput: z.ZodTypeAny = z.object({\n languages: z.array(TisaneGetSupportedLanguages_LanguageSchema).describe(\"List of supported language objects\"),\n}).describe(\"Response model: list of supported languages.\");\n\nexport const tisaneGetSupportedLanguages = action(\"TISANE_GET_SUPPORTED_LANGUAGES\", {\n slug: \"tisane-get-supported-languages\",\n name: \"Get Supported Languages\",\n description: \"Tool to list all languages supported by the API. Use when needing to discover available languages for text analysis or processing. Call before submitting text to ensure support.\",\n input: TisaneGetSupportedLanguagesInput,\n output: TisaneGetSupportedLanguagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AACnK,MAAM,6CAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAChF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,WAAW,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,EAC9G,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_analyze_text = require("./analyze-text.cjs");
|
|
3
|
+
const require_calculate_similarity = require("./calculate-similarity.cjs");
|
|
4
|
+
const require_compare_entities = require("./compare-entities.cjs");
|
|
5
|
+
const require_detect_language = require("./detect-language.cjs");
|
|
6
|
+
const require_extract_text = require("./extract-text.cjs");
|
|
7
|
+
const require_get_family_details = require("./get-family-details.cjs");
|
|
8
|
+
const require_get_supported_languages = require("./get-supported-languages.cjs");
|
|
9
|
+
const require_list_feature_values = require("./list-feature-values.cjs");
|
|
10
|
+
const require_list_hypernyms = require("./list-hypernyms.cjs");
|
|
11
|
+
const require_list_hyponyms = require("./list-hyponyms.cjs");
|
|
12
|
+
const require_list_inflections = require("./list-inflections.cjs");
|
|
13
|
+
const require_list_word_senses = require("./list-word-senses.cjs");
|
|
14
|
+
const require_transform_text = require("./transform-text.cjs");
|
|
15
|
+
exports.tisaneAnalyzeText = require_analyze_text.tisaneAnalyzeText;
|
|
16
|
+
exports.tisaneCalculateSimilarity = require_calculate_similarity.tisaneCalculateSimilarity;
|
|
17
|
+
exports.tisaneCompareEntities = require_compare_entities.tisaneCompareEntities;
|
|
18
|
+
exports.tisaneDetectLanguage = require_detect_language.tisaneDetectLanguage;
|
|
19
|
+
exports.tisaneExtractText = require_extract_text.tisaneExtractText;
|
|
20
|
+
exports.tisaneGetFamilyDetails = require_get_family_details.tisaneGetFamilyDetails;
|
|
21
|
+
exports.tisaneGetSupportedLanguages = require_get_supported_languages.tisaneGetSupportedLanguages;
|
|
22
|
+
exports.tisaneListFeatureValues = require_list_feature_values.tisaneListFeatureValues;
|
|
23
|
+
exports.tisaneListHypernyms = require_list_hypernyms.tisaneListHypernyms;
|
|
24
|
+
exports.tisaneListHyponyms = require_list_hyponyms.tisaneListHyponyms;
|
|
25
|
+
exports.tisaneListInflections = require_list_inflections.tisaneListInflections;
|
|
26
|
+
exports.tisaneListWordSenses = require_list_word_senses.tisaneListWordSenses;
|
|
27
|
+
exports.tisaneTransformText = require_transform_text.tisaneTransformText;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tisaneAnalyzeText } from "./analyze-text.cjs";
|
|
2
|
+
import { tisaneCalculateSimilarity } from "./calculate-similarity.cjs";
|
|
3
|
+
import { tisaneCompareEntities } from "./compare-entities.cjs";
|
|
4
|
+
import { tisaneDetectLanguage } from "./detect-language.cjs";
|
|
5
|
+
import { tisaneExtractText } from "./extract-text.cjs";
|
|
6
|
+
import { tisaneGetFamilyDetails } from "./get-family-details.cjs";
|
|
7
|
+
import { tisaneGetSupportedLanguages } from "./get-supported-languages.cjs";
|
|
8
|
+
import { tisaneListFeatureValues } from "./list-feature-values.cjs";
|
|
9
|
+
import { tisaneListHypernyms } from "./list-hypernyms.cjs";
|
|
10
|
+
import { tisaneListHyponyms } from "./list-hyponyms.cjs";
|
|
11
|
+
import { tisaneListInflections } from "./list-inflections.cjs";
|
|
12
|
+
import { tisaneListWordSenses } from "./list-word-senses.cjs";
|
|
13
|
+
import { tisaneTransformText } from "./transform-text.cjs";
|
|
14
|
+
export { tisaneAnalyzeText, tisaneCalculateSimilarity, tisaneCompareEntities, tisaneDetectLanguage, tisaneExtractText, tisaneGetFamilyDetails, tisaneGetSupportedLanguages, tisaneListFeatureValues, tisaneListHypernyms, tisaneListHyponyms, tisaneListInflections, tisaneListWordSenses, tisaneTransformText };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tisaneAnalyzeText } from "./analyze-text.mjs";
|
|
2
|
+
import { tisaneCalculateSimilarity } from "./calculate-similarity.mjs";
|
|
3
|
+
import { tisaneCompareEntities } from "./compare-entities.mjs";
|
|
4
|
+
import { tisaneDetectLanguage } from "./detect-language.mjs";
|
|
5
|
+
import { tisaneExtractText } from "./extract-text.mjs";
|
|
6
|
+
import { tisaneGetFamilyDetails } from "./get-family-details.mjs";
|
|
7
|
+
import { tisaneGetSupportedLanguages } from "./get-supported-languages.mjs";
|
|
8
|
+
import { tisaneListFeatureValues } from "./list-feature-values.mjs";
|
|
9
|
+
import { tisaneListHypernyms } from "./list-hypernyms.mjs";
|
|
10
|
+
import { tisaneListHyponyms } from "./list-hyponyms.mjs";
|
|
11
|
+
import { tisaneListInflections } from "./list-inflections.mjs";
|
|
12
|
+
import { tisaneListWordSenses } from "./list-word-senses.mjs";
|
|
13
|
+
import { tisaneTransformText } from "./transform-text.mjs";
|
|
14
|
+
export { tisaneAnalyzeText, tisaneCalculateSimilarity, tisaneCompareEntities, tisaneDetectLanguage, tisaneExtractText, tisaneGetFamilyDetails, tisaneGetSupportedLanguages, tisaneListFeatureValues, tisaneListHypernyms, tisaneListHyponyms, tisaneListInflections, tisaneListWordSenses, tisaneTransformText };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tisaneAnalyzeText } from "./analyze-text.mjs";
|
|
2
|
+
import { tisaneCalculateSimilarity } from "./calculate-similarity.mjs";
|
|
3
|
+
import { tisaneCompareEntities } from "./compare-entities.mjs";
|
|
4
|
+
import { tisaneDetectLanguage } from "./detect-language.mjs";
|
|
5
|
+
import { tisaneExtractText } from "./extract-text.mjs";
|
|
6
|
+
import { tisaneGetFamilyDetails } from "./get-family-details.mjs";
|
|
7
|
+
import { tisaneGetSupportedLanguages } from "./get-supported-languages.mjs";
|
|
8
|
+
import { tisaneListFeatureValues } from "./list-feature-values.mjs";
|
|
9
|
+
import { tisaneListHypernyms } from "./list-hypernyms.mjs";
|
|
10
|
+
import { tisaneListHyponyms } from "./list-hyponyms.mjs";
|
|
11
|
+
import { tisaneListInflections } from "./list-inflections.mjs";
|
|
12
|
+
import { tisaneListWordSenses } from "./list-word-senses.mjs";
|
|
13
|
+
import { tisaneTransformText } from "./transform-text.mjs";
|
|
14
|
+
export { tisaneAnalyzeText, tisaneCalculateSimilarity, tisaneCompareEntities, tisaneDetectLanguage, tisaneExtractText, tisaneGetFamilyDetails, tisaneGetSupportedLanguages, tisaneListFeatureValues, tisaneListHypernyms, tisaneListHyponyms, tisaneListInflections, tisaneListWordSenses, tisaneTransformText };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-feature-values.ts
|
|
4
|
+
const TisaneListFeatureValuesInput = zod.z.object({
|
|
5
|
+
type: zod.z.enum([
|
|
6
|
+
"Grammar",
|
|
7
|
+
"Style",
|
|
8
|
+
"Semantics"
|
|
9
|
+
]).describe("Feature type category to query. Must be one of: Grammar, Style, or Semantics"),
|
|
10
|
+
language: zod.z.string().describe("IETF language code for which to retrieve feature values (e.g., 'en', 'fr', 'es')"),
|
|
11
|
+
description: zod.z.string().describe("Feature list name (localized) to retrieve values for. Examples: 'tense', 'mood', 'entity_type', 'abuse_type'")
|
|
12
|
+
}).describe("Request model for listing feature values for a particular category.");
|
|
13
|
+
const TisaneListFeatureValuesOutput = zod.z.object({ values: zod.z.array(zod.z.string()).describe("List of feature values for the specified category") }).describe("Response model containing the list of feature values.");
|
|
14
|
+
const tisaneListFeatureValues = require_action.action("TISANE_LIST_FEATURE_VALUES", {
|
|
15
|
+
slug: "tisane-list-feature-values",
|
|
16
|
+
name: "List Feature Values",
|
|
17
|
+
description: "Tool to list feature values for a particular category such as entity types, subtypes, abuse types, and tags. Use when you need to discover valid values for a specific feature category before analysis or filtering.",
|
|
18
|
+
input: TisaneListFeatureValuesInput,
|
|
19
|
+
output: TisaneListFeatureValuesOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.tisaneListFeatureValues = tisaneListFeatureValues;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=list-feature-values.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-feature-values.cjs","names":["z","action"],"sources":["../../src/actions/list-feature-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneListFeatureValuesInput: z.ZodTypeAny = z.object({\n type: z.enum([\"Grammar\", \"Style\", \"Semantics\"]).describe(\"Feature type category to query. Must be one of: Grammar, Style, or Semantics\"),\n language: z.string().describe(\"IETF language code for which to retrieve feature values (e.g., 'en', 'fr', 'es')\"),\n description: z.string().describe(\"Feature list name (localized) to retrieve values for. Examples: 'tense', 'mood', 'entity_type', 'abuse_type'\"),\n}).describe(\"Request model for listing feature values for a particular category.\");\nexport const TisaneListFeatureValuesOutput: z.ZodTypeAny = z.object({\n values: z.array(z.string()).describe(\"List of feature values for the specified category\"),\n}).describe(\"Response model containing the list of feature values.\");\n\nexport const tisaneListFeatureValues = action(\"TISANE_LIST_FEATURE_VALUES\", {\n slug: \"tisane-list-feature-values\",\n name: \"List Feature Values\",\n description: \"Tool to list feature values for a particular category such as entity types, subtypes, abuse types, and tags. Use when you need to discover valid values for a specific feature category before analysis or filtering.\",\n input: TisaneListFeatureValuesInput,\n output: TisaneListFeatureValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAS;CAAW,CAAC,CAAC,CAAC,SAAS,8EAA8E;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AACjJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC1F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,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/list-feature-values.d.ts
|
|
4
|
+
declare const TisaneListFeatureValuesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneListFeatureValuesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneListFeatureValues: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneListFeatureValues };
|
|
9
|
+
//# sourceMappingURL=list-feature-values.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-feature-values.d.cts","names":[],"sources":["../../src/actions/list-feature-values.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAIqC;AAAA,cACrE,6BAAA,EAA+B,CAAA,CAAE,UAEsB;AAAA,cAEvD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-feature-values.d.ts
|
|
4
|
+
declare const TisaneListFeatureValuesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneListFeatureValuesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneListFeatureValues: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneListFeatureValues };
|
|
9
|
+
//# sourceMappingURL=list-feature-values.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-feature-values.d.mts","names":[],"sources":["../../src/actions/list-feature-values.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAIqC;AAAA,cACrE,6BAAA,EAA+B,CAAA,CAAE,UAEsB;AAAA,cAEvD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const tisaneListFeatureValues = action("TISANE_LIST_FEATURE_VALUES", {
|
|
4
|
+
slug: "tisane-list-feature-values",
|
|
5
|
+
name: "List Feature Values",
|
|
6
|
+
description: "Tool to list feature values for a particular category such as entity types, subtypes, abuse types, and tags. Use when you need to discover valid values for a specific feature category before analysis or filtering.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
type: z.enum([
|
|
9
|
+
"Grammar",
|
|
10
|
+
"Style",
|
|
11
|
+
"Semantics"
|
|
12
|
+
]).describe("Feature type category to query. Must be one of: Grammar, Style, or Semantics"),
|
|
13
|
+
language: z.string().describe("IETF language code for which to retrieve feature values (e.g., 'en', 'fr', 'es')"),
|
|
14
|
+
description: z.string().describe("Feature list name (localized) to retrieve values for. Examples: 'tense', 'mood', 'entity_type', 'abuse_type'")
|
|
15
|
+
}).describe("Request model for listing feature values for a particular category."),
|
|
16
|
+
output: z.object({ values: z.array(z.string()).describe("List of feature values for the specified category") }).describe("Response model containing the list of feature values.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { tisaneListFeatureValues };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=list-feature-values.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-feature-values.mjs","names":[],"sources":["../../src/actions/list-feature-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneListFeatureValuesInput: z.ZodTypeAny = z.object({\n type: z.enum([\"Grammar\", \"Style\", \"Semantics\"]).describe(\"Feature type category to query. Must be one of: Grammar, Style, or Semantics\"),\n language: z.string().describe(\"IETF language code for which to retrieve feature values (e.g., 'en', 'fr', 'es')\"),\n description: z.string().describe(\"Feature list name (localized) to retrieve values for. Examples: 'tense', 'mood', 'entity_type', 'abuse_type'\"),\n}).describe(\"Request model for listing feature values for a particular category.\");\nexport const TisaneListFeatureValuesOutput: z.ZodTypeAny = z.object({\n values: z.array(z.string()).describe(\"List of feature values for the specified category\"),\n}).describe(\"Response model containing the list of feature values.\");\n\nexport const tisaneListFeatureValues = action(\"TISANE_LIST_FEATURE_VALUES\", {\n slug: \"tisane-list-feature-values\",\n name: \"List Feature Values\",\n description: \"Tool to list feature values for a particular category such as entity types, subtypes, abuse types, and tags. Use when you need to discover valid values for a specific feature category before analysis or filtering.\",\n input: TisaneListFeatureValuesInput,\n output: TisaneListFeatureValuesOutput,\n});\n"],"mappings":";;AAaA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwD,EAAE,OAAO;EACjE,MAAM,EAAE,KAAK;GAAC;GAAW;GAAS;EAAW,CAAC,CAAC,CAAC,SAAS,8EAA8E;EACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACjJ,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATyD,EAAE,OAAO,EAClE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC1F,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-hypernyms.ts
|
|
4
|
+
const TisaneListHypernymsInput = zod.z.object({
|
|
5
|
+
family: zod.z.string().describe("Numeric identifier of the family to retrieve hypernyms for"),
|
|
6
|
+
maxLevel: zod.z.string().describe("Maximum distance from the family. Determines how many levels of hypernyms to retrieve")
|
|
7
|
+
});
|
|
8
|
+
const TisaneListHypernyms_HypernymEntrySchema = zod.z.object({
|
|
9
|
+
level: zod.z.number().int().describe("Distance level from the original family (1-based)"),
|
|
10
|
+
family_id: zod.z.number().int().describe("Numeric identifier of the hypernym family"),
|
|
11
|
+
description: zod.z.string().describe("Text description of the hypernym concept")
|
|
12
|
+
}).describe("Model representing a single hypernym entry.\nEach entry contains the family ID, level, and description.");
|
|
13
|
+
const TisaneListHypernymsOutput = zod.z.object({ hypernyms: zod.z.array(TisaneListHypernyms_HypernymEntrySchema).describe("List of hypernym entries, each containing family ID, level, and description") }).describe("Response model containing list of hypernyms.");
|
|
14
|
+
const tisaneListHypernyms = require_action.action("TISANE_LIST_HYPERNYMS", {
|
|
15
|
+
slug: "tisane-list-hypernyms",
|
|
16
|
+
name: "List Hypernyms",
|
|
17
|
+
description: "Tool to list all hypernyms related to a family. A hypernym is a parent concept (e.g., vehicle is a hypernym of truck). Use when you need to understand the conceptual hierarchy or broader categories for a given family ID.",
|
|
18
|
+
input: TisaneListHypernymsInput,
|
|
19
|
+
output: TisaneListHypernymsOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.tisaneListHypernyms = tisaneListHypernyms;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=list-hypernyms.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-hypernyms.cjs","names":["z","action"],"sources":["../../src/actions/list-hypernyms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneListHypernymsInput: z.ZodTypeAny = z.object({\n family: z.string().describe(\"Numeric identifier of the family to retrieve hypernyms for\"),\n maxLevel: z.string().describe(\"Maximum distance from the family. Determines how many levels of hypernyms to retrieve\"),\n});\nconst TisaneListHypernyms_HypernymEntrySchema: z.ZodTypeAny = z.object({\n level: z.number().int().describe(\"Distance level from the original family (1-based)\"),\n family_id: z.number().int().describe(\"Numeric identifier of the hypernym family\"),\n description: z.string().describe(\"Text description of the hypernym concept\"),\n}).describe(\"Model representing a single hypernym entry.\\nEach entry contains the family ID, level, and description.\");\nexport const TisaneListHypernymsOutput: z.ZodTypeAny = z.object({\n hypernyms: z.array(TisaneListHypernyms_HypernymEntrySchema).describe(\"List of hypernym entries, each containing family ID, level, and description\"),\n}).describe(\"Response model containing list of hypernyms.\");\n\nexport const tisaneListHypernyms = action(\"TISANE_LIST_HYPERNYMS\", {\n slug: \"tisane-list-hypernyms\",\n name: \"List Hypernyms\",\n description: \"Tool to list all hypernyms related to a family. A hypernym is a parent concept (e.g., vehicle is a hypernym of truck). Use when you need to understand the conceptual hierarchy or broader categories for a given family ID.\",\n input: TisaneListHypernymsInput,\n output: TisaneListHypernymsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;AACvH,CAAC;AACD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC7E,CAAC,CAAC,CAAC,SAAS,yGAAyG;AACrH,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,6EAA6E,EACpJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,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/list-hypernyms.d.ts
|
|
4
|
+
declare const TisaneListHypernymsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneListHypernymsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneListHypernyms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneListHypernyms };
|
|
9
|
+
//# sourceMappingURL=list-hypernyms.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-hypernyms.d.cts","names":[],"sources":["../../src/actions/list-hypernyms.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cAMW,yBAAA,EAA2B,CAAA,CAAE,UAEiB;AAAA,cAE9C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-hypernyms.d.ts
|
|
4
|
+
declare const TisaneListHypernymsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneListHypernymsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneListHypernyms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneListHypernyms };
|
|
9
|
+
//# sourceMappingURL=list-hypernyms.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-hypernyms.d.mts","names":[],"sources":["../../src/actions/list-hypernyms.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cAMW,yBAAA,EAA2B,CAAA,CAAE,UAEiB;AAAA,cAE9C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-hypernyms.ts
|
|
4
|
+
const TisaneListHypernymsInput = z.object({
|
|
5
|
+
family: z.string().describe("Numeric identifier of the family to retrieve hypernyms for"),
|
|
6
|
+
maxLevel: z.string().describe("Maximum distance from the family. Determines how many levels of hypernyms to retrieve")
|
|
7
|
+
});
|
|
8
|
+
const TisaneListHypernyms_HypernymEntrySchema = z.object({
|
|
9
|
+
level: z.number().int().describe("Distance level from the original family (1-based)"),
|
|
10
|
+
family_id: z.number().int().describe("Numeric identifier of the hypernym family"),
|
|
11
|
+
description: z.string().describe("Text description of the hypernym concept")
|
|
12
|
+
}).describe("Model representing a single hypernym entry.\nEach entry contains the family ID, level, and description.");
|
|
13
|
+
const tisaneListHypernyms = action("TISANE_LIST_HYPERNYMS", {
|
|
14
|
+
slug: "tisane-list-hypernyms",
|
|
15
|
+
name: "List Hypernyms",
|
|
16
|
+
description: "Tool to list all hypernyms related to a family. A hypernym is a parent concept (e.g., vehicle is a hypernym of truck). Use when you need to understand the conceptual hierarchy or broader categories for a given family ID.",
|
|
17
|
+
input: TisaneListHypernymsInput,
|
|
18
|
+
output: z.object({ hypernyms: z.array(TisaneListHypernyms_HypernymEntrySchema).describe("List of hypernym entries, each containing family ID, level, and description") }).describe("Response model containing list of hypernyms.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { tisaneListHypernyms };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-hypernyms.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-hypernyms.mjs","names":[],"sources":["../../src/actions/list-hypernyms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneListHypernymsInput: z.ZodTypeAny = z.object({\n family: z.string().describe(\"Numeric identifier of the family to retrieve hypernyms for\"),\n maxLevel: z.string().describe(\"Maximum distance from the family. Determines how many levels of hypernyms to retrieve\"),\n});\nconst TisaneListHypernyms_HypernymEntrySchema: z.ZodTypeAny = z.object({\n level: z.number().int().describe(\"Distance level from the original family (1-based)\"),\n family_id: z.number().int().describe(\"Numeric identifier of the hypernym family\"),\n description: z.string().describe(\"Text description of the hypernym concept\"),\n}).describe(\"Model representing a single hypernym entry.\\nEach entry contains the family ID, level, and description.\");\nexport const TisaneListHypernymsOutput: z.ZodTypeAny = z.object({\n hypernyms: z.array(TisaneListHypernyms_HypernymEntrySchema).describe(\"List of hypernym entries, each containing family ID, level, and description\"),\n}).describe(\"Response model containing list of hypernyms.\");\n\nexport const tisaneListHypernyms = action(\"TISANE_LIST_HYPERNYMS\", {\n slug: \"tisane-list-hypernyms\",\n name: \"List Hypernyms\",\n description: \"Tool to list all hypernyms related to a family. A hypernym is a parent concept (e.g., vehicle is a hypernym of truck). Use when you need to understand the conceptual hierarchy or broader categories for a given family ID.\",\n input: TisaneListHypernymsInput,\n output: TisaneListHypernymsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;AACvH,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC7E,CAAC,CAAC,CAAC,SAAS,yGAAyG;AAKrH,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,6EAA6E,EACpJ,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-hyponyms.ts
|
|
4
|
+
const TisaneListHyponymsInput = zod.z.object({
|
|
5
|
+
family: zod.z.string().describe("Numeric identifier of the family to retrieve hyponyms for"),
|
|
6
|
+
maxLevel: zod.z.string().describe("Maximum distance (depth level) from the family to retrieve hyponyms")
|
|
7
|
+
}).describe("Request model for listing hyponyms related to a family.");
|
|
8
|
+
const TisaneListHyponyms_HyponymSchema = zod.z.object({
|
|
9
|
+
level: zod.z.number().int().describe("Distance level from the parent family"),
|
|
10
|
+
family_id: zod.z.number().int().describe("Numeric identifier of the hyponym family"),
|
|
11
|
+
description: zod.z.string().describe("Description or definition of the hyponym concept")
|
|
12
|
+
}).describe("Model representing a single hyponym record.");
|
|
13
|
+
const TisaneListHyponymsOutput = zod.z.object({ hyponyms: zod.z.array(TisaneListHyponyms_HyponymSchema).describe("List of hyponym records with family ID, level, and description") }).describe("Response model containing list of hyponyms.");
|
|
14
|
+
const tisaneListHyponyms = require_action.action("TISANE_LIST_HYPONYMS", {
|
|
15
|
+
slug: "tisane-list-hyponyms",
|
|
16
|
+
name: "List Hyponyms",
|
|
17
|
+
description: "Tool to list all hyponyms related to a family. A hyponym is a child concept (e.g., 'truck' is a hyponym of 'vehicle'). Use when you need to discover more specific concepts within a semantic family.",
|
|
18
|
+
input: TisaneListHyponymsInput,
|
|
19
|
+
output: TisaneListHyponymsOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.tisaneListHyponyms = tisaneListHyponyms;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=list-hyponyms.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-hyponyms.cjs","names":["z","action"],"sources":["../../src/actions/list-hyponyms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneListHyponymsInput: z.ZodTypeAny = z.object({\n family: z.string().describe(\"Numeric identifier of the family to retrieve hyponyms for\"),\n maxLevel: z.string().describe(\"Maximum distance (depth level) from the family to retrieve hyponyms\"),\n}).describe(\"Request model for listing hyponyms related to a family.\");\nconst TisaneListHyponyms_HyponymSchema: z.ZodTypeAny = z.object({\n level: z.number().int().describe(\"Distance level from the parent family\"),\n family_id: z.number().int().describe(\"Numeric identifier of the hyponym family\"),\n description: z.string().describe(\"Description or definition of the hyponym concept\"),\n}).describe(\"Model representing a single hyponym record.\");\nexport const TisaneListHyponymsOutput: z.ZodTypeAny = z.object({\n hyponyms: z.array(TisaneListHyponyms_HyponymSchema).describe(\"List of hyponym records with family ID, level, and description\"),\n}).describe(\"Response model containing list of hyponyms.\");\n\nexport const tisaneListHyponyms = action(\"TISANE_LIST_HYPONYMS\", {\n slug: \"tisane-list-hyponyms\",\n name: \"List Hyponyms\",\n description: \"Tool to list all hyponyms related to a family. A hyponym is a child concept (e.g., 'truck' is a hyponym of 'vehicle'). Use when you need to discover more specific concepts within a semantic family.\",\n input: TisaneListHyponymsInput,\n output: TisaneListHyponymsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACrG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACrF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gEAAgE,EAC/H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/list-hyponyms.d.ts
|
|
4
|
+
declare const TisaneListHyponymsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneListHyponymsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneListHyponyms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneListHyponyms };
|
|
9
|
+
//# sourceMappingURL=list-hyponyms.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-hyponyms.d.cts","names":[],"sources":["../../src/actions/list-hyponyms.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAG8B;AAAA,cAMzD,wBAAA,EAA0B,CAAA,CAAE,UAEiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-hyponyms.d.ts
|
|
4
|
+
declare const TisaneListHyponymsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneListHyponymsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneListHyponyms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneListHyponyms };
|
|
9
|
+
//# sourceMappingURL=list-hyponyms.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-hyponyms.d.mts","names":[],"sources":["../../src/actions/list-hyponyms.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAG8B;AAAA,cAMzD,wBAAA,EAA0B,CAAA,CAAE,UAEiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-hyponyms.ts
|
|
4
|
+
const TisaneListHyponymsInput = z.object({
|
|
5
|
+
family: z.string().describe("Numeric identifier of the family to retrieve hyponyms for"),
|
|
6
|
+
maxLevel: z.string().describe("Maximum distance (depth level) from the family to retrieve hyponyms")
|
|
7
|
+
}).describe("Request model for listing hyponyms related to a family.");
|
|
8
|
+
const TisaneListHyponyms_HyponymSchema = z.object({
|
|
9
|
+
level: z.number().int().describe("Distance level from the parent family"),
|
|
10
|
+
family_id: z.number().int().describe("Numeric identifier of the hyponym family"),
|
|
11
|
+
description: z.string().describe("Description or definition of the hyponym concept")
|
|
12
|
+
}).describe("Model representing a single hyponym record.");
|
|
13
|
+
const tisaneListHyponyms = action("TISANE_LIST_HYPONYMS", {
|
|
14
|
+
slug: "tisane-list-hyponyms",
|
|
15
|
+
name: "List Hyponyms",
|
|
16
|
+
description: "Tool to list all hyponyms related to a family. A hyponym is a child concept (e.g., 'truck' is a hyponym of 'vehicle'). Use when you need to discover more specific concepts within a semantic family.",
|
|
17
|
+
input: TisaneListHyponymsInput,
|
|
18
|
+
output: z.object({ hyponyms: z.array(TisaneListHyponyms_HyponymSchema).describe("List of hyponym records with family ID, level, and description") }).describe("Response model containing list of hyponyms.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { tisaneListHyponyms };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-hyponyms.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-hyponyms.mjs","names":[],"sources":["../../src/actions/list-hyponyms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneListHyponymsInput: z.ZodTypeAny = z.object({\n family: z.string().describe(\"Numeric identifier of the family to retrieve hyponyms for\"),\n maxLevel: z.string().describe(\"Maximum distance (depth level) from the family to retrieve hyponyms\"),\n}).describe(\"Request model for listing hyponyms related to a family.\");\nconst TisaneListHyponyms_HyponymSchema: z.ZodTypeAny = z.object({\n level: z.number().int().describe(\"Distance level from the parent family\"),\n family_id: z.number().int().describe(\"Numeric identifier of the hyponym family\"),\n description: z.string().describe(\"Description or definition of the hyponym concept\"),\n}).describe(\"Model representing a single hyponym record.\");\nexport const TisaneListHyponymsOutput: z.ZodTypeAny = z.object({\n hyponyms: z.array(TisaneListHyponyms_HyponymSchema).describe(\"List of hyponym records with family ID, level, and description\"),\n}).describe(\"Response model containing list of hyponyms.\");\n\nexport const tisaneListHyponyms = action(\"TISANE_LIST_HYPONYMS\", {\n slug: \"tisane-list-hyponyms\",\n name: \"List Hyponyms\",\n description: \"Tool to list all hyponyms related to a family. A hyponym is a child concept (e.g., 'truck' is a hyponym of 'vehicle'). Use when you need to discover more specific concepts within a semantic family.\",\n input: TisaneListHyponymsInput,\n output: TisaneListHyponymsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACrG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,mCAAiD,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACrF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gEAAgE,EAC/H,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-inflections.ts
|
|
4
|
+
const TisaneListInflectionsInput = zod.z.object({
|
|
5
|
+
family: zod.z.string().describe("The family identifier to inspect (numeric ID as string)"),
|
|
6
|
+
lexeme: zod.z.string().describe("The lexeme identifier to inspect (numeric ID as string)"),
|
|
7
|
+
language: zod.z.string().describe("The language code (IETF BCP-47 format, e.g., 'en', 'ru')")
|
|
8
|
+
}).describe("Request model for retrieving inflected forms of a lexeme.");
|
|
9
|
+
const TisaneListInflections_InflectionFeatureSchema = zod.z.object({
|
|
10
|
+
index: zod.z.number().int().describe("Feature index identifier"),
|
|
11
|
+
value: zod.z.string().describe("Feature value (e.g., 'NOM', 'GEN', 'DAT', '3')")
|
|
12
|
+
}).describe("Model representing a grammatical feature of an inflected form.");
|
|
13
|
+
const TisaneListInflections_InflectedFormSchema = zod.z.object({
|
|
14
|
+
text: zod.z.string().describe("The inflected text form"),
|
|
15
|
+
isLemma: zod.z.boolean().describe("Whether this form is the lemma (base form)").nullable().optional(),
|
|
16
|
+
features: zod.z.array(TisaneListInflections_InflectionFeatureSchema).describe("List of grammatical features for this inflected form").nullable().optional()
|
|
17
|
+
}).describe("Model representing a single inflected form with its features.");
|
|
18
|
+
const TisaneListInflectionsOutput = zod.z.object({ inflections: zod.z.array(TisaneListInflections_InflectedFormSchema).describe("List of inflected forms with their grammatical features") }).describe("Response model: list of inflected forms for the specified lexeme.");
|
|
19
|
+
const tisaneListInflections = require_action.action("TISANE_LIST_INFLECTIONS", {
|
|
20
|
+
slug: "tisane-list-inflections",
|
|
21
|
+
name: "List Inflections",
|
|
22
|
+
description: "Tool to retrieve inflected forms of a specified lexeme within a given language family. Use when you need to get all grammatical variants of a word.",
|
|
23
|
+
input: TisaneListInflectionsInput,
|
|
24
|
+
output: TisaneListInflectionsOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.tisaneListInflections = tisaneListInflections;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=list-inflections.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-inflections.cjs","names":["z","action"],"sources":["../../src/actions/list-inflections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TisaneListInflectionsInput: z.ZodTypeAny = z.object({\n family: z.string().describe(\"The family identifier to inspect (numeric ID as string)\"),\n lexeme: z.string().describe(\"The lexeme identifier to inspect (numeric ID as string)\"),\n language: z.string().describe(\"The language code (IETF BCP-47 format, e.g., 'en', 'ru')\"),\n}).describe(\"Request model for retrieving inflected forms of a lexeme.\");\nconst TisaneListInflections_InflectionFeatureSchema: z.ZodTypeAny = z.object({\n index: z.number().int().describe(\"Feature index identifier\"),\n value: z.string().describe(\"Feature value (e.g., 'NOM', 'GEN', 'DAT', '3')\"),\n}).describe(\"Model representing a grammatical feature of an inflected form.\");\nconst TisaneListInflections_InflectedFormSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"The inflected text form\"),\n isLemma: z.boolean().describe(\"Whether this form is the lemma (base form)\").nullable().optional(),\n features: z.array(TisaneListInflections_InflectionFeatureSchema).describe(\"List of grammatical features for this inflected form\").nullable().optional(),\n}).describe(\"Model representing a single inflected form with its features.\");\nexport const TisaneListInflectionsOutput: z.ZodTypeAny = z.object({\n inflections: z.array(TisaneListInflections_InflectedFormSchema).describe(\"List of inflected forms with their grammatical features\"),\n}).describe(\"Response model: list of inflected forms for the specified lexeme.\");\n\nexport const tisaneListInflections = action(\"TISANE_LIST_INFLECTIONS\", {\n slug: \"tisane-list-inflections\",\n name: \"List Inflections\",\n description: \"Tool to retrieve inflected forms of a specified lexeme within a given language family. Use when you need to get all grammatical variants of a word.\",\n input: TisaneListInflectionsInput,\n output: TisaneListInflectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC1F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAC7E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,yDAAyD,EACpI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/list-inflections.d.ts
|
|
4
|
+
declare const TisaneListInflectionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneListInflectionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneListInflections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneListInflections };
|
|
9
|
+
//# sourceMappingURL=list-inflections.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-inflections.d.cts","names":[],"sources":["../../src/actions/list-inflections.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAI6B;AAAA,cAU3D,2BAAA,EAA6B,CAAA,CAAE,UAEoC;AAAA,cAEnE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-inflections.d.ts
|
|
4
|
+
declare const TisaneListInflectionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TisaneListInflectionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const tisaneListInflections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { tisaneListInflections };
|
|
9
|
+
//# sourceMappingURL=list-inflections.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-inflections.d.mts","names":[],"sources":["../../src/actions/list-inflections.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAI6B;AAAA,cAU3D,2BAAA,EAA6B,CAAA,CAAE,UAEoC;AAAA,cAEnE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-inflections.ts
|
|
4
|
+
const TisaneListInflectionsInput = z.object({
|
|
5
|
+
family: z.string().describe("The family identifier to inspect (numeric ID as string)"),
|
|
6
|
+
lexeme: z.string().describe("The lexeme identifier to inspect (numeric ID as string)"),
|
|
7
|
+
language: z.string().describe("The language code (IETF BCP-47 format, e.g., 'en', 'ru')")
|
|
8
|
+
}).describe("Request model for retrieving inflected forms of a lexeme.");
|
|
9
|
+
const TisaneListInflections_InflectionFeatureSchema = z.object({
|
|
10
|
+
index: z.number().int().describe("Feature index identifier"),
|
|
11
|
+
value: z.string().describe("Feature value (e.g., 'NOM', 'GEN', 'DAT', '3')")
|
|
12
|
+
}).describe("Model representing a grammatical feature of an inflected form.");
|
|
13
|
+
const TisaneListInflections_InflectedFormSchema = z.object({
|
|
14
|
+
text: z.string().describe("The inflected text form"),
|
|
15
|
+
isLemma: z.boolean().describe("Whether this form is the lemma (base form)").nullable().optional(),
|
|
16
|
+
features: z.array(TisaneListInflections_InflectionFeatureSchema).describe("List of grammatical features for this inflected form").nullable().optional()
|
|
17
|
+
}).describe("Model representing a single inflected form with its features.");
|
|
18
|
+
const tisaneListInflections = action("TISANE_LIST_INFLECTIONS", {
|
|
19
|
+
slug: "tisane-list-inflections",
|
|
20
|
+
name: "List Inflections",
|
|
21
|
+
description: "Tool to retrieve inflected forms of a specified lexeme within a given language family. Use when you need to get all grammatical variants of a word.",
|
|
22
|
+
input: TisaneListInflectionsInput,
|
|
23
|
+
output: z.object({ inflections: z.array(TisaneListInflections_InflectedFormSchema).describe("List of inflected forms with their grammatical features") }).describe("Response model: list of inflected forms for the specified lexeme.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { tisaneListInflections };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=list-inflections.mjs.map
|