@keystrokehq/semanticscholar 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/details-about-a-paper-s-authors.cjs +1 -0
- package/dist/actions/details-about-a-paper-s-authors.cjs.map +1 -1
- package/dist/actions/details-about-a-paper-s-authors.d.cts +3 -18
- package/dist/actions/details-about-a-paper-s-authors.d.cts.map +1 -1
- package/dist/actions/details-about-a-paper-s-authors.d.mts +3 -18
- package/dist/actions/details-about-a-paper-s-authors.d.mts.map +1 -1
- package/dist/actions/details-about-a-paper-s-authors.mjs +1 -0
- package/dist/actions/details-about-a-paper-s-authors.mjs.map +1 -1
- package/dist/actions/details-about-a-paper-s-citations.cjs +1 -0
- package/dist/actions/details-about-a-paper-s-citations.cjs.map +1 -1
- package/dist/actions/details-about-a-paper-s-citations.d.cts +3 -18
- package/dist/actions/details-about-a-paper-s-citations.d.cts.map +1 -1
- package/dist/actions/details-about-a-paper-s-citations.d.mts +3 -18
- package/dist/actions/details-about-a-paper-s-citations.d.mts.map +1 -1
- package/dist/actions/details-about-a-paper-s-citations.mjs +1 -0
- package/dist/actions/details-about-a-paper-s-citations.mjs.map +1 -1
- package/dist/actions/details-about-a-paper-s-references.cjs +1 -0
- package/dist/actions/details-about-a-paper-s-references.cjs.map +1 -1
- package/dist/actions/details-about-a-paper-s-references.d.cts +3 -18
- package/dist/actions/details-about-a-paper-s-references.d.cts.map +1 -1
- package/dist/actions/details-about-a-paper-s-references.d.mts +3 -18
- package/dist/actions/details-about-a-paper-s-references.d.mts.map +1 -1
- package/dist/actions/details-about-a-paper-s-references.mjs +1 -0
- package/dist/actions/details-about-a-paper-s-references.mjs.map +1 -1
- package/dist/actions/details-about-a-paper.cjs +1 -0
- package/dist/actions/details-about-a-paper.cjs.map +1 -1
- package/dist/actions/details-about-a-paper.d.cts +3 -16
- package/dist/actions/details-about-a-paper.d.cts.map +1 -1
- package/dist/actions/details-about-a-paper.d.mts +3 -16
- package/dist/actions/details-about-a-paper.d.mts.map +1 -1
- package/dist/actions/details-about-a-paper.mjs +1 -0
- package/dist/actions/details-about-a-paper.mjs.map +1 -1
- package/dist/actions/details-about-an-author-s-papers.cjs +1 -0
- package/dist/actions/details-about-an-author-s-papers.cjs.map +1 -1
- package/dist/actions/details-about-an-author-s-papers.d.cts +3 -18
- package/dist/actions/details-about-an-author-s-papers.d.cts.map +1 -1
- package/dist/actions/details-about-an-author-s-papers.d.mts +3 -18
- package/dist/actions/details-about-an-author-s-papers.d.mts.map +1 -1
- package/dist/actions/details-about-an-author-s-papers.mjs +1 -0
- package/dist/actions/details-about-an-author-s-papers.mjs.map +1 -1
- package/dist/actions/details-about-an-author.cjs +1 -0
- package/dist/actions/details-about-an-author.cjs.map +1 -1
- package/dist/actions/details-about-an-author.d.cts +3 -16
- package/dist/actions/details-about-an-author.d.cts.map +1 -1
- package/dist/actions/details-about-an-author.d.mts +3 -16
- package/dist/actions/details-about-an-author.d.mts.map +1 -1
- package/dist/actions/details-about-an-author.mjs +1 -0
- package/dist/actions/details-about-an-author.mjs.map +1 -1
- package/dist/actions/get-dataset-diffs.cjs +1 -0
- package/dist/actions/get-dataset-diffs.cjs.map +1 -1
- package/dist/actions/get-dataset-diffs.d.cts +3 -17
- package/dist/actions/get-dataset-diffs.d.cts.map +1 -1
- package/dist/actions/get-dataset-diffs.d.mts +3 -17
- package/dist/actions/get-dataset-diffs.d.mts.map +1 -1
- package/dist/actions/get-dataset-diffs.mjs +1 -0
- package/dist/actions/get-dataset-diffs.mjs.map +1 -1
- package/dist/actions/get-dataset.cjs +1 -0
- package/dist/actions/get-dataset.cjs.map +1 -1
- package/dist/actions/get-dataset.d.cts +3 -16
- package/dist/actions/get-dataset.d.cts.map +1 -1
- package/dist/actions/get-dataset.d.mts +3 -16
- package/dist/actions/get-dataset.d.mts.map +1 -1
- package/dist/actions/get-dataset.mjs +1 -0
- package/dist/actions/get-dataset.mjs.map +1 -1
- package/dist/actions/get-details-for-multiple-authors-at-once.cjs +1 -0
- package/dist/actions/get-details-for-multiple-authors-at-once.cjs.map +1 -1
- package/dist/actions/get-details-for-multiple-authors-at-once.d.cts +3 -16
- package/dist/actions/get-details-for-multiple-authors-at-once.d.cts.map +1 -1
- package/dist/actions/get-details-for-multiple-authors-at-once.d.mts +3 -16
- package/dist/actions/get-details-for-multiple-authors-at-once.d.mts.map +1 -1
- package/dist/actions/get-details-for-multiple-authors-at-once.mjs +1 -0
- package/dist/actions/get-details-for-multiple-authors-at-once.mjs.map +1 -1
- package/dist/actions/get-details-for-multiple-papers-at-once.cjs +1 -0
- package/dist/actions/get-details-for-multiple-papers-at-once.cjs.map +1 -1
- package/dist/actions/get-details-for-multiple-papers-at-once.d.cts +3 -16
- package/dist/actions/get-details-for-multiple-papers-at-once.d.cts.map +1 -1
- package/dist/actions/get-details-for-multiple-papers-at-once.d.mts +3 -16
- package/dist/actions/get-details-for-multiple-papers-at-once.d.mts.map +1 -1
- package/dist/actions/get-details-for-multiple-papers-at-once.mjs +1 -0
- package/dist/actions/get-details-for-multiple-papers-at-once.mjs.map +1 -1
- package/dist/actions/get-paper-recommendations.cjs +1 -0
- package/dist/actions/get-paper-recommendations.cjs.map +1 -1
- package/dist/actions/get-paper-recommendations.d.cts +3 -18
- package/dist/actions/get-paper-recommendations.d.cts.map +1 -1
- package/dist/actions/get-paper-recommendations.d.mts +3 -18
- package/dist/actions/get-paper-recommendations.d.mts.map +1 -1
- package/dist/actions/get-paper-recommendations.mjs +1 -0
- package/dist/actions/get-paper-recommendations.mjs.map +1 -1
- package/dist/actions/get-recommendations-for-paper.cjs +1 -0
- package/dist/actions/get-recommendations-for-paper.cjs.map +1 -1
- package/dist/actions/get-recommendations-for-paper.d.cts +3 -18
- package/dist/actions/get-recommendations-for-paper.d.cts.map +1 -1
- package/dist/actions/get-recommendations-for-paper.d.mts +3 -18
- package/dist/actions/get-recommendations-for-paper.d.mts.map +1 -1
- package/dist/actions/get-recommendations-for-paper.mjs +1 -0
- package/dist/actions/get-recommendations-for-paper.mjs.map +1 -1
- package/dist/actions/get-release.cjs +1 -0
- package/dist/actions/get-release.cjs.map +1 -1
- package/dist/actions/get-release.d.cts +3 -15
- package/dist/actions/get-release.d.cts.map +1 -1
- package/dist/actions/get-release.d.mts +3 -15
- package/dist/actions/get-release.d.mts.map +1 -1
- package/dist/actions/get-release.mjs +1 -0
- package/dist/actions/get-release.mjs.map +1 -1
- package/dist/actions/list-releases.cjs +1 -0
- package/dist/actions/list-releases.cjs.map +1 -1
- package/dist/actions/list-releases.d.cts +3 -13
- package/dist/actions/list-releases.d.cts.map +1 -1
- package/dist/actions/list-releases.d.mts +3 -13
- package/dist/actions/list-releases.d.mts.map +1 -1
- package/dist/actions/list-releases.mjs +1 -0
- package/dist/actions/list-releases.mjs.map +1 -1
- package/dist/actions/paper-title-search.cjs +1 -0
- package/dist/actions/paper-title-search.cjs.map +1 -1
- package/dist/actions/paper-title-search.d.cts +3 -23
- package/dist/actions/paper-title-search.d.cts.map +1 -1
- package/dist/actions/paper-title-search.d.mts +3 -23
- package/dist/actions/paper-title-search.d.mts.map +1 -1
- package/dist/actions/paper-title-search.mjs +1 -0
- package/dist/actions/paper-title-search.mjs.map +1 -1
- package/dist/actions/search-bulk-papers.cjs +1 -0
- package/dist/actions/search-bulk-papers.cjs.map +1 -1
- package/dist/actions/search-bulk-papers.d.cts +3 -25
- package/dist/actions/search-bulk-papers.d.cts.map +1 -1
- package/dist/actions/search-bulk-papers.d.mts +3 -25
- package/dist/actions/search-bulk-papers.d.mts.map +1 -1
- package/dist/actions/search-bulk-papers.mjs +1 -0
- package/dist/actions/search-bulk-papers.mjs.map +1 -1
- package/dist/actions/search-for-authors-by-name.cjs +1 -0
- package/dist/actions/search-for-authors-by-name.cjs.map +1 -1
- package/dist/actions/search-for-authors-by-name.d.cts +3 -18
- package/dist/actions/search-for-authors-by-name.d.cts.map +1 -1
- package/dist/actions/search-for-authors-by-name.d.mts +3 -18
- package/dist/actions/search-for-authors-by-name.d.mts.map +1 -1
- package/dist/actions/search-for-authors-by-name.mjs +1 -0
- package/dist/actions/search-for-authors-by-name.mjs.map +1 -1
- package/dist/actions/search-papers.cjs +1 -0
- package/dist/actions/search-papers.cjs.map +1 -1
- package/dist/actions/search-papers.d.cts +3 -25
- package/dist/actions/search-papers.d.cts.map +1 -1
- package/dist/actions/search-papers.d.mts +3 -25
- package/dist/actions/search-papers.d.mts.map +1 -1
- package/dist/actions/search-papers.mjs +1 -0
- package/dist/actions/search-papers.mjs.map +1 -1
- package/dist/actions/suggest-paper-query-completions.cjs +1 -0
- package/dist/actions/suggest-paper-query-completions.cjs.map +1 -1
- package/dist/actions/suggest-paper-query-completions.d.cts +3 -15
- package/dist/actions/suggest-paper-query-completions.d.cts.map +1 -1
- package/dist/actions/suggest-paper-query-completions.d.mts +3 -15
- package/dist/actions/suggest-paper-query-completions.d.mts.map +1 -1
- package/dist/actions/suggest-paper-query-completions.mjs +1 -0
- package/dist/actions/suggest-paper-query-completions.mjs.map +1 -1
- package/dist/actions/text-snippet-search.cjs +1 -0
- package/dist/actions/text-snippet-search.cjs.map +1 -1
- package/dist/actions/text-snippet-search.d.cts +3 -24
- package/dist/actions/text-snippet-search.d.cts.map +1 -1
- package/dist/actions/text-snippet-search.d.mts +3 -24
- package/dist/actions/text-snippet-search.d.mts.map +1 -1
- package/dist/actions/text-snippet-search.mjs +1 -0
- package/dist/actions/text-snippet-search.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["semanticscholar","executeSemanticscholarTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { semanticscholar } from \"./app\";\nimport { executeSemanticscholarTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["semanticscholar","executeSemanticscholarTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { semanticscholar } from \"./app\";\nimport { executeSemanticscholarTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof semanticscholar.credential> {\n return semanticscholar.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 executeSemanticscholarTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO+D;CAC/D,OAAOA,YAAAA,gBAAgB,OAAO;EAC5B,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,2BAA2B,MAAM,KAAgC,CAAC;EAClG;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { semanticscholar } from \"./app\";\nimport { executeSemanticscholarTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { semanticscholar } from \"./app\";\nimport { executeSemanticscholarTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof semanticscholar.credential> {\n return semanticscholar.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 executeSemanticscholarTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO+D;CAC/D,OAAO,gBAAgB,OAAO;EAC5B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,2BAA2B,MAAM,KAAgC,CAAC;EAClG;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-authors.cjs","names":["z","action"],"sources":["../../src/actions/details-about-a-paper-s-authors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemanticscholarDetailsAboutAPaperSAuthorsInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of additional author fields to return. <strong>Default fields (always returned):</strong> <code>authorId</code>, <code>name</code>. <strong>Optional fields:</strong> <code>url</code>, <code>affiliations</code>, <code>homepage</code>, <code>paperCount</code>, <code>citationCount</code>, <code>hIndex</code>, <code>papers</code>. Use a period (.) for subfields of <code>papers</code> (e.g., <code>papers.title</code>, <code>papers.year</code>, <code>papers.authors</code>). <br><strong>Examples:</strong><ul><li><code>affiliations,homepage</code> - adds affiliation and homepage to defaults</li><li><code>url,paperCount,citationCount</code> - adds profile URL and metrics</li><li><code>papers.title,papers.year</code> - includes author's papers with title and year</li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSAuthors`\");\nconst SemanticscholarDetailsAboutAPaperSAuthors_AuthorSchema = z.object({\n url: z.string().describe(\"Author's Semantic Scholar profile URL\").nullable().optional(),\n name: z.string().describe(\"Author's name (returned by default)\").nullable().optional(),\n hIndex: z.number().int().describe(\"Author's h-index\").nullable().optional(),\n authorId: z.string().describe(\"Unique author identifier (always returned)\").nullable(),\n homepage: z.string().describe(\"Author's homepage URL\").nullable().optional(),\n paperCount: z.number().int().describe(\"Total number of papers by this author\").nullable().optional(),\n affiliations: z.array(z.string()).describe(\"List of author's institutional affiliations\").nullable().optional(),\n citationCount: z.number().int().describe(\"Total citation count for this author\").nullable().optional(),\n}).passthrough().describe(\"Author information\");\nconst SemanticscholarDetailsAboutAPaperSAuthors_AuthorBatchSchema = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSAuthors_AuthorSchema).describe(\"List of author objects\"),\n next: z.number().int().describe(\"Starting position of the next batch (absent if no more results)\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position of this batch in the full list\").nullable(),\n}).passthrough().describe(\"Paginated batch of authors\");\nexport const SemanticscholarDetailsAboutAPaperSAuthorsOutput = z.object({\n data: SemanticscholarDetailsAboutAPaperSAuthors_AuthorBatchSchema.nullable(),\n}).passthrough().describe(\"Response schema for `DetailsAboutAPaperSAuthors`\");\n\nexport const semanticscholarDetailsAboutAPaperSAuthors = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_AUTHORS\", {\n slug: \"semanticscholar-details-about-a-paper-s-authors\",\n name: \"Details about a paper s authors\",\n description: \"Retrieves the list of authors for a specific paper identified by its unique paper_id in the Semantic Scholar database. This endpoint returns detailed author information including authorId and name (returned by default), and optionally: url, affiliations, homepage, paperCount, citationCount, hIndex, and papers (with subfields). Use the 'fields' parameter to request additional author fields beyond the defaults. The response is paginated and includes offset/limit parameters for retrieving large author lists. This tool is ideal for exploring paper collaborations, identifying author affiliations, or building author networks. It accepts various paper ID formats including Semantic Scholar IDs, DOI, ARXIV, PMID, and others.\",\n input: SemanticscholarDetailsAboutAPaperSAuthorsInput,\n output: SemanticscholarDetailsAboutAPaperSAuthorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-authors.cjs","names":["z","action"],"sources":["../../src/actions/details-about-a-paper-s-authors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semanticscholar } from \"../app\";\n\nexport const SemanticscholarDetailsAboutAPaperSAuthorsInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of additional author fields to return. <strong>Default fields (always returned):</strong> <code>authorId</code>, <code>name</code>. <strong>Optional fields:</strong> <code>url</code>, <code>affiliations</code>, <code>homepage</code>, <code>paperCount</code>, <code>citationCount</code>, <code>hIndex</code>, <code>papers</code>. Use a period (.) for subfields of <code>papers</code> (e.g., <code>papers.title</code>, <code>papers.year</code>, <code>papers.authors</code>). <br><strong>Examples:</strong><ul><li><code>affiliations,homepage</code> - adds affiliation and homepage to defaults</li><li><code>url,paperCount,citationCount</code> - adds profile URL and metrics</li><li><code>papers.title,papers.year</code> - includes author's papers with title and year</li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSAuthors`\");\nconst SemanticscholarDetailsAboutAPaperSAuthors_AuthorSchema = z.object({\n url: z.string().describe(\"Author's Semantic Scholar profile URL\").nullable().optional(),\n name: z.string().describe(\"Author's name (returned by default)\").nullable().optional(),\n hIndex: z.number().int().describe(\"Author's h-index\").nullable().optional(),\n authorId: z.string().describe(\"Unique author identifier (always returned)\").nullable(),\n homepage: z.string().describe(\"Author's homepage URL\").nullable().optional(),\n paperCount: z.number().int().describe(\"Total number of papers by this author\").nullable().optional(),\n affiliations: z.array(z.string()).describe(\"List of author's institutional affiliations\").nullable().optional(),\n citationCount: z.number().int().describe(\"Total citation count for this author\").nullable().optional(),\n}).passthrough().describe(\"Author information\");\nconst SemanticscholarDetailsAboutAPaperSAuthors_AuthorBatchSchema = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSAuthors_AuthorSchema).describe(\"List of author objects\"),\n next: z.number().int().describe(\"Starting position of the next batch (absent if no more results)\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position of this batch in the full list\").nullable(),\n}).passthrough().describe(\"Paginated batch of authors\");\nexport const SemanticscholarDetailsAboutAPaperSAuthorsOutput = z.object({\n data: SemanticscholarDetailsAboutAPaperSAuthors_AuthorBatchSchema.nullable(),\n}).passthrough().describe(\"Response schema for `DetailsAboutAPaperSAuthors`\");\n\nexport const semanticscholarDetailsAboutAPaperSAuthors: AppAction<\n typeof SemanticscholarDetailsAboutAPaperSAuthorsInput,\n typeof SemanticscholarDetailsAboutAPaperSAuthorsOutput,\n typeof semanticscholar.credential\n> = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_AUTHORS\", {\n slug: \"semanticscholar-details-about-a-paper-s-authors\",\n name: \"Details about a paper s authors\",\n description: \"Retrieves the list of authors for a specific paper identified by its unique paper_id in the Semantic Scholar database. This endpoint returns detailed author information including authorId and name (returned by default), and optionally: url, affiliations, homepage, paperCount, citationCount, hIndex, and papers (with subfields). Use the 'fields' parameter to request additional author fields beyond the defaults. The response is paginated and includes offset/limit parameters for retrieving large author lists. This tool is ideal for exploring paper collaborations, identifying author affiliations, or building author networks. It accepts various paper ID formats including Semantic Scholar IDs, DOI, ARXIV, PMID, and others.\",\n input: SemanticscholarDetailsAboutAPaperSAuthorsInput,\n output: SemanticscholarDetailsAboutAPaperSAuthorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8xBAA8xB,CAAC,CAAC,SAAS;CACr0B,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACrK,UAAUA,IAAAA,EAAE,OAAO,CAAC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EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,kDAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4CAITC,eAAAA,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { semanticscholar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/details-about-a-paper-s-authors.d.ts
|
|
@@ -23,24 +25,7 @@ declare const SemanticscholarDetailsAboutAPaperSAuthorsOutput: z.ZodObject<{
|
|
|
23
25
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const semanticscholarDetailsAboutAPaperSAuthors:
|
|
27
|
-
paper_id: string;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
fields?: string | undefined;
|
|
30
|
-
offset?: number | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const semanticscholarDetailsAboutAPaperSAuthors: AppAction<typeof SemanticscholarDetailsAboutAPaperSAuthorsInput, typeof SemanticscholarDetailsAboutAPaperSAuthorsOutput, typeof semanticscholar.credential>;
|
|
44
29
|
//#endregion
|
|
45
30
|
export { semanticscholarDetailsAboutAPaperSAuthors };
|
|
46
31
|
//# sourceMappingURL=details-about-a-paper-s-authors.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-authors.d.cts","names":[],"sources":["../../src/actions/details-about-a-paper-s-authors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-authors.d.cts","names":[],"sources":["../../src/actions/details-about-a-paper-s-authors.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;cAqB9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,eAAA,CAAgB,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { semanticscholar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/details-about-a-paper-s-authors.d.ts
|
|
@@ -23,24 +25,7 @@ declare const SemanticscholarDetailsAboutAPaperSAuthorsOutput: z.ZodObject<{
|
|
|
23
25
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const semanticscholarDetailsAboutAPaperSAuthors:
|
|
27
|
-
paper_id: string;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
fields?: string | undefined;
|
|
30
|
-
offset?: number | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const semanticscholarDetailsAboutAPaperSAuthors: AppAction<typeof SemanticscholarDetailsAboutAPaperSAuthorsInput, typeof SemanticscholarDetailsAboutAPaperSAuthorsOutput, typeof semanticscholar.credential>;
|
|
44
29
|
//#endregion
|
|
45
30
|
export { semanticscholarDetailsAboutAPaperSAuthors };
|
|
46
31
|
//# sourceMappingURL=details-about-a-paper-s-authors.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-authors.d.mts","names":[],"sources":["../../src/actions/details-about-a-paper-s-authors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-authors.d.mts","names":[],"sources":["../../src/actions/details-about-a-paper-s-authors.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;cAqB9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,eAAA,CAAgB,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-authors.mjs","names":[],"sources":["../../src/actions/details-about-a-paper-s-authors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemanticscholarDetailsAboutAPaperSAuthorsInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of additional author fields to return. <strong>Default fields (always returned):</strong> <code>authorId</code>, <code>name</code>. <strong>Optional fields:</strong> <code>url</code>, <code>affiliations</code>, <code>homepage</code>, <code>paperCount</code>, <code>citationCount</code>, <code>hIndex</code>, <code>papers</code>. Use a period (.) for subfields of <code>papers</code> (e.g., <code>papers.title</code>, <code>papers.year</code>, <code>papers.authors</code>). <br><strong>Examples:</strong><ul><li><code>affiliations,homepage</code> - adds affiliation and homepage to defaults</li><li><code>url,paperCount,citationCount</code> - adds profile URL and metrics</li><li><code>papers.title,papers.year</code> - includes author's papers with title and year</li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSAuthors`\");\nconst SemanticscholarDetailsAboutAPaperSAuthors_AuthorSchema = z.object({\n url: z.string().describe(\"Author's Semantic Scholar profile URL\").nullable().optional(),\n name: z.string().describe(\"Author's name (returned by default)\").nullable().optional(),\n hIndex: z.number().int().describe(\"Author's h-index\").nullable().optional(),\n authorId: z.string().describe(\"Unique author identifier (always returned)\").nullable(),\n homepage: z.string().describe(\"Author's homepage URL\").nullable().optional(),\n paperCount: z.number().int().describe(\"Total number of papers by this author\").nullable().optional(),\n affiliations: z.array(z.string()).describe(\"List of author's institutional affiliations\").nullable().optional(),\n citationCount: z.number().int().describe(\"Total citation count for this author\").nullable().optional(),\n}).passthrough().describe(\"Author information\");\nconst SemanticscholarDetailsAboutAPaperSAuthors_AuthorBatchSchema = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSAuthors_AuthorSchema).describe(\"List of author objects\"),\n next: z.number().int().describe(\"Starting position of the next batch (absent if no more results)\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position of this batch in the full list\").nullable(),\n}).passthrough().describe(\"Paginated batch of authors\");\nexport const SemanticscholarDetailsAboutAPaperSAuthorsOutput = z.object({\n data: SemanticscholarDetailsAboutAPaperSAuthors_AuthorBatchSchema.nullable(),\n}).passthrough().describe(\"Response schema for `DetailsAboutAPaperSAuthors`\");\n\nexport const semanticscholarDetailsAboutAPaperSAuthors = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_AUTHORS\", {\n slug: \"semanticscholar-details-about-a-paper-s-authors\",\n name: \"Details about a paper s authors\",\n description: \"Retrieves the list of authors for a specific paper identified by its unique paper_id in the Semantic Scholar database. This endpoint returns detailed author information including authorId and name (returned by default), and optionally: url, affiliations, homepage, paperCount, citationCount, hIndex, and papers (with subfields). Use the 'fields' parameter to request additional author fields beyond the defaults. The response is paginated and includes offset/limit parameters for retrieving large author lists. This tool is ideal for exploring paper collaborations, identifying author affiliations, or building author networks. It accepts various paper ID formats including Semantic Scholar IDs, DOI, ARXIV, PMID, and others.\",\n input: SemanticscholarDetailsAboutAPaperSAuthorsInput,\n output: SemanticscholarDetailsAboutAPaperSAuthorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-authors.mjs","names":[],"sources":["../../src/actions/details-about-a-paper-s-authors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semanticscholar } from \"../app\";\n\nexport const SemanticscholarDetailsAboutAPaperSAuthorsInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of additional author fields to return. <strong>Default fields (always returned):</strong> <code>authorId</code>, <code>name</code>. <strong>Optional fields:</strong> <code>url</code>, <code>affiliations</code>, <code>homepage</code>, <code>paperCount</code>, <code>citationCount</code>, <code>hIndex</code>, <code>papers</code>. Use a period (.) for subfields of <code>papers</code> (e.g., <code>papers.title</code>, <code>papers.year</code>, <code>papers.authors</code>). <br><strong>Examples:</strong><ul><li><code>affiliations,homepage</code> - adds affiliation and homepage to defaults</li><li><code>url,paperCount,citationCount</code> - adds profile URL and metrics</li><li><code>papers.title,papers.year</code> - includes author's papers with title and year</li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSAuthors`\");\nconst SemanticscholarDetailsAboutAPaperSAuthors_AuthorSchema = z.object({\n url: z.string().describe(\"Author's Semantic Scholar profile URL\").nullable().optional(),\n name: z.string().describe(\"Author's name (returned by default)\").nullable().optional(),\n hIndex: z.number().int().describe(\"Author's h-index\").nullable().optional(),\n authorId: z.string().describe(\"Unique author identifier (always returned)\").nullable(),\n homepage: z.string().describe(\"Author's homepage URL\").nullable().optional(),\n paperCount: z.number().int().describe(\"Total number of papers by this author\").nullable().optional(),\n affiliations: z.array(z.string()).describe(\"List of author's institutional affiliations\").nullable().optional(),\n citationCount: z.number().int().describe(\"Total citation count for this author\").nullable().optional(),\n}).passthrough().describe(\"Author information\");\nconst SemanticscholarDetailsAboutAPaperSAuthors_AuthorBatchSchema = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSAuthors_AuthorSchema).describe(\"List of author objects\"),\n next: z.number().int().describe(\"Starting position of the next batch (absent if no more results)\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position of this batch in the full list\").nullable(),\n}).passthrough().describe(\"Paginated batch of authors\");\nexport const SemanticscholarDetailsAboutAPaperSAuthorsOutput = z.object({\n data: SemanticscholarDetailsAboutAPaperSAuthors_AuthorBatchSchema.nullable(),\n}).passthrough().describe(\"Response schema for `DetailsAboutAPaperSAuthors`\");\n\nexport const semanticscholarDetailsAboutAPaperSAuthors: AppAction<\n typeof SemanticscholarDetailsAboutAPaperSAuthorsInput,\n typeof SemanticscholarDetailsAboutAPaperSAuthorsOutput,\n typeof semanticscholar.credential\n> = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_AUTHORS\", {\n slug: \"semanticscholar-details-about-a-paper-s-authors\",\n name: \"Details about a paper s authors\",\n description: \"Retrieves the list of authors for a specific paper identified by its unique paper_id in the Semantic Scholar database. This endpoint returns detailed author information including authorId and name (returned by default), and optionally: url, affiliations, homepage, paperCount, citationCount, hIndex, and papers (with subfields). Use the 'fields' parameter to request additional author fields beyond the defaults. The response is paginated and includes offset/limit parameters for retrieving large author lists. This tool is ideal for exploring paper collaborations, identifying author affiliations, or building author networks. It accepts various paper ID formats including Semantic Scholar IDs, DOI, ARXIV, PMID, and others.\",\n input: SemanticscholarDetailsAboutAPaperSAuthorsInput,\n output: SemanticscholarDetailsAboutAPaperSAuthorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iDAAiD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,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CAAC,SAAS,wBAAwB;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAKtD,MAAa,4CAIT,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6D,EAAE,OAAO,EACtE,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-citations.cjs","names":["z","action"],"sources":["../../src/actions/details-about-a-paper-s-citations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemanticscholarDetailsAboutAPaperSCitationsInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of the fields to be returned. If omitted, only <code>paperId</code> and <code>title</code> of the citing papers are returned. Available fields include: <ul> <li><code>contexts</code> - citation contexts (text snippets)</li> <li><code>intents</code> - citation intent categories</li> <li><code>isInfluential</code> - whether this is an influential citation</li> <li><code>citingPaper.*</code> - fields from the citing paper (e.g., <code>citingPaper.title</code>, <code>citingPaper.year</code>, <code>citingPaper.authors</code>, <code>citingPaper.abstract</code>, <code>citingPaper.citationCount</code>, <code>citingPaper.venue</code>)</li></ul> Examples: <ul> <li><code>fields=contexts,isInfluential,intents</code></li> <li><code>fields=citingPaper.title,citingPaper.year,citingPaper.authors</code></li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSCitations`\");\nconst SemanticscholarDetailsAboutAPaperSCitations_AuthorSchema = z.object({\n name: z.string().describe(\"Author's full name.\").nullable(),\n authorId: z.string().describe(\"Unique author identifier.\").nullable(),\n}).passthrough().describe(\"Paper author information.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_JournalSchema = z.object({\n name: z.string().describe(\"Journal name.\").nullable().optional(),\n pages: z.string().describe(\"Page range.\").nullable().optional(),\n volume: z.string().describe(\"Journal volume.\").nullable().optional(),\n}).passthrough().describe(\"Journal metadata.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_OpenAccessPdfSchema = z.object({\n url: z.string().describe(\"URL to the open access PDF.\").nullable().optional(),\n status: z.string().describe(\"Open access status.\").nullable().optional(),\n license: z.string().describe(\"License type.\").nullable().optional(),\n disclaimer: z.string().describe(\"Any disclaimer text.\").nullable().optional(),\n}).passthrough().describe(\"Open access PDF details.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_S2FieldOfStudySchema = z.object({\n source: z.string().describe(\"Classification source.\").nullable().optional(),\n category: z.string().describe(\"Field category.\").nullable().optional(),\n}).passthrough().describe(\"Semantic Scholar-classified field.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_PublicationVenueSchema = z.object({\n id: z.string().describe(\"Venue identifier.\").nullable().optional(),\n url: z.string().describe(\"Venue URL.\").nullable().optional(),\n name: z.string().describe(\"Venue name.\").nullable().optional(),\n type: z.string().describe(\"Venue type.\").nullable().optional(),\n alternate_names: z.array(z.string()).describe(\"Alternative names for the venue.\").nullable().optional(),\n}).passthrough().describe(\"Detailed venue information.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_CitingPaperSchema = z.object({\n url: z.string().describe(\"Semantic Scholar webpage link for the paper.\").nullable().optional(),\n year: z.number().int().describe(\"Publication year.\").nullable().optional(),\n title: z.string().describe(\"Title of the paper.\").nullable().optional(),\n venue: z.string().describe(\"Publication venue name.\").nullable().optional(),\n authors: z.array(SemanticscholarDetailsAboutAPaperSCitations_AuthorSchema).describe(\"List of paper authors.\").nullable().optional(),\n journal: SemanticscholarDetailsAboutAPaperSCitations_JournalSchema.nullable().optional(),\n paperId: z.string().describe(\"Unique Semantic Scholar identifier for the paper.\").nullable().optional(),\n abstract: z.string().describe(\"Abstract or summary of the paper.\").nullable().optional(),\n corpusId: z.number().int().describe(\"Secondary numerical identifier for the paper.\").nullable().optional(),\n externalIds: z.record(z.string(), z.unknown()).describe(\"External database identifiers (MAG, DBLP, ACL, DOI, etc.).\").nullable().optional(),\n isOpenAccess: z.boolean().describe(\"Whether the paper is open access.\").nullable().optional(),\n citationCount: z.number().int().describe(\"Number of papers citing this paper.\").nullable().optional(),\n fieldsOfStudy: z.array(z.string()).describe(\"High-level academic categories.\").nullable().optional(),\n openAccessPdf: SemanticscholarDetailsAboutAPaperSCitations_OpenAccessPdfSchema.nullable().optional(),\n citationStyles: z.record(z.string(), z.unknown()).describe(\"Citation formatting in various styles.\").nullable().optional(),\n referenceCount: z.number().int().describe(\"Number of papers cited by this paper.\").nullable().optional(),\n publicationDate: z.string().describe(\"Publication date in YYYY-MM-DD format.\").nullable().optional(),\n s2FieldsOfStudy: z.array(SemanticscholarDetailsAboutAPaperSCitations_S2FieldOfStudySchema).describe(\"Semantic Scholar-classified fields.\").nullable().optional(),\n publicationTypes: z.array(z.string()).describe(\"Publication type labels.\").nullable().optional(),\n publicationVenue: SemanticscholarDetailsAboutAPaperSCitations_PublicationVenueSchema.nullable().optional(),\n influentialCitationCount: z.number().int().describe(\"Number of high-impact citations.\").nullable().optional(),\n}).passthrough().describe(\"Details about the citing paper.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_ContextWithIntentSchema = z.object({\n context: z.string().describe(\"Text snippet where the reference is mentioned.\").nullable().optional(),\n intents: z.array(z.string()).describe(\"Citation intents associated with this context.\").nullable().optional(),\n}).passthrough().describe(\"Context with associated intents.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_CitationSchema = z.object({\n intents: z.array(z.string()).describe(\"Array of citation intents that summarizes how the reference to the paper is mentioned.\").nullable().optional(),\n contexts: z.array(z.string()).describe(\"Array of text snippets where the reference to the paper is mentioned.\").nullable().optional(),\n citingPaper: SemanticscholarDetailsAboutAPaperSCitations_CitingPaperSchema.nullable().optional(),\n isInfluential: z.boolean().describe(\"Whether the citing paper is highly influential.\").nullable().optional(),\n contextsWithIntent: z.array(SemanticscholarDetailsAboutAPaperSCitations_ContextWithIntentSchema).describe(\"Array of objects that contain both contexts and the intents they are associated with.\").nullable().optional(),\n}).passthrough().describe(\"Citation object with context and citing paper details.\");\nexport const SemanticscholarDetailsAboutAPaperSCitationsOutput = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSCitations_CitationSchema).describe(\"Array of Citation objects.\").nullable().optional(),\n next: z.number().int().describe(\"Starting position of the next batch. Absent if no more data exists.\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position for this batch.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `DetailsAboutAPaperSCitations`\");\n\nexport const semanticscholarDetailsAboutAPaperSCitations = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_CITATIONS\", {\n slug: \"semanticscholar-details-about-a-paper-s-citations\",\n name: \"Details about a paper s citations\",\n description: \"Retrieves a list of citations for a specific academic paper using its unique Semantic Scholar paper ID. This endpoint is useful for researchers and developers who want to explore the impact and connections of a particular academic work within the broader scientific literature. It provides information about other papers that have cited the specified paper, allowing users to trace the influence of research and discover related works. The endpoint should be used when analyzing the reception and impact of a specific paper, building citation networks, or conducting bibliometric studies. It does not provide the full text of citing papers or detailed information about the citations beyond basic metadata.\",\n input: SemanticscholarDetailsAboutAPaperSCitationsInput,\n output: SemanticscholarDetailsAboutAPaperSCitationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,k1BAAk1B,CAAC,CAAC,SAAS;CACz3B,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACrK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,89CAA89C;AAC9/C,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,2DAA2DA,IA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,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,MAAM,mEAAmE,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,8CAA8CC,eAAAA,OAAO,qDAAqD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-citations.cjs","names":["z","action"],"sources":["../../src/actions/details-about-a-paper-s-citations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semanticscholar } from \"../app\";\n\nexport const SemanticscholarDetailsAboutAPaperSCitationsInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of the fields to be returned. If omitted, only <code>paperId</code> and <code>title</code> of the citing papers are returned. Available fields include: <ul> <li><code>contexts</code> - citation contexts (text snippets)</li> <li><code>intents</code> - citation intent categories</li> <li><code>isInfluential</code> - whether this is an influential citation</li> <li><code>citingPaper.*</code> - fields from the citing paper (e.g., <code>citingPaper.title</code>, <code>citingPaper.year</code>, <code>citingPaper.authors</code>, <code>citingPaper.abstract</code>, <code>citingPaper.citationCount</code>, <code>citingPaper.venue</code>)</li></ul> Examples: <ul> <li><code>fields=contexts,isInfluential,intents</code></li> <li><code>fields=citingPaper.title,citingPaper.year,citingPaper.authors</code></li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSCitations`\");\nconst SemanticscholarDetailsAboutAPaperSCitations_AuthorSchema = z.object({\n name: z.string().describe(\"Author's full name.\").nullable(),\n authorId: z.string().describe(\"Unique author identifier.\").nullable(),\n}).passthrough().describe(\"Paper author information.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_JournalSchema = z.object({\n name: z.string().describe(\"Journal name.\").nullable().optional(),\n pages: z.string().describe(\"Page range.\").nullable().optional(),\n volume: z.string().describe(\"Journal volume.\").nullable().optional(),\n}).passthrough().describe(\"Journal metadata.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_OpenAccessPdfSchema = z.object({\n url: z.string().describe(\"URL to the open access PDF.\").nullable().optional(),\n status: z.string().describe(\"Open access status.\").nullable().optional(),\n license: z.string().describe(\"License type.\").nullable().optional(),\n disclaimer: z.string().describe(\"Any disclaimer text.\").nullable().optional(),\n}).passthrough().describe(\"Open access PDF details.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_S2FieldOfStudySchema = z.object({\n source: z.string().describe(\"Classification source.\").nullable().optional(),\n category: z.string().describe(\"Field category.\").nullable().optional(),\n}).passthrough().describe(\"Semantic Scholar-classified field.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_PublicationVenueSchema = z.object({\n id: z.string().describe(\"Venue identifier.\").nullable().optional(),\n url: z.string().describe(\"Venue URL.\").nullable().optional(),\n name: z.string().describe(\"Venue name.\").nullable().optional(),\n type: z.string().describe(\"Venue type.\").nullable().optional(),\n alternate_names: z.array(z.string()).describe(\"Alternative names for the venue.\").nullable().optional(),\n}).passthrough().describe(\"Detailed venue information.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_CitingPaperSchema = z.object({\n url: z.string().describe(\"Semantic Scholar webpage link for the paper.\").nullable().optional(),\n year: z.number().int().describe(\"Publication year.\").nullable().optional(),\n title: z.string().describe(\"Title of the paper.\").nullable().optional(),\n venue: z.string().describe(\"Publication venue name.\").nullable().optional(),\n authors: z.array(SemanticscholarDetailsAboutAPaperSCitations_AuthorSchema).describe(\"List of paper authors.\").nullable().optional(),\n journal: SemanticscholarDetailsAboutAPaperSCitations_JournalSchema.nullable().optional(),\n paperId: z.string().describe(\"Unique Semantic Scholar identifier for the paper.\").nullable().optional(),\n abstract: z.string().describe(\"Abstract or summary of the paper.\").nullable().optional(),\n corpusId: z.number().int().describe(\"Secondary numerical identifier for the paper.\").nullable().optional(),\n externalIds: z.record(z.string(), z.unknown()).describe(\"External database identifiers (MAG, DBLP, ACL, DOI, etc.).\").nullable().optional(),\n isOpenAccess: z.boolean().describe(\"Whether the paper is open access.\").nullable().optional(),\n citationCount: z.number().int().describe(\"Number of papers citing this paper.\").nullable().optional(),\n fieldsOfStudy: z.array(z.string()).describe(\"High-level academic categories.\").nullable().optional(),\n openAccessPdf: SemanticscholarDetailsAboutAPaperSCitations_OpenAccessPdfSchema.nullable().optional(),\n citationStyles: z.record(z.string(), z.unknown()).describe(\"Citation formatting in various styles.\").nullable().optional(),\n referenceCount: z.number().int().describe(\"Number of papers cited by this paper.\").nullable().optional(),\n publicationDate: z.string().describe(\"Publication date in YYYY-MM-DD format.\").nullable().optional(),\n s2FieldsOfStudy: z.array(SemanticscholarDetailsAboutAPaperSCitations_S2FieldOfStudySchema).describe(\"Semantic Scholar-classified fields.\").nullable().optional(),\n publicationTypes: z.array(z.string()).describe(\"Publication type labels.\").nullable().optional(),\n publicationVenue: SemanticscholarDetailsAboutAPaperSCitations_PublicationVenueSchema.nullable().optional(),\n influentialCitationCount: z.number().int().describe(\"Number of high-impact citations.\").nullable().optional(),\n}).passthrough().describe(\"Details about the citing paper.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_ContextWithIntentSchema = z.object({\n context: z.string().describe(\"Text snippet where the reference is mentioned.\").nullable().optional(),\n intents: z.array(z.string()).describe(\"Citation intents associated with this context.\").nullable().optional(),\n}).passthrough().describe(\"Context with associated intents.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_CitationSchema = z.object({\n intents: z.array(z.string()).describe(\"Array of citation intents that summarizes how the reference to the paper is mentioned.\").nullable().optional(),\n contexts: z.array(z.string()).describe(\"Array of text snippets where the reference to the paper is mentioned.\").nullable().optional(),\n citingPaper: SemanticscholarDetailsAboutAPaperSCitations_CitingPaperSchema.nullable().optional(),\n isInfluential: z.boolean().describe(\"Whether the citing paper is highly influential.\").nullable().optional(),\n contextsWithIntent: z.array(SemanticscholarDetailsAboutAPaperSCitations_ContextWithIntentSchema).describe(\"Array of objects that contain both contexts and the intents they are associated with.\").nullable().optional(),\n}).passthrough().describe(\"Citation object with context and citing paper details.\");\nexport const SemanticscholarDetailsAboutAPaperSCitationsOutput = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSCitations_CitationSchema).describe(\"Array of Citation objects.\").nullable().optional(),\n next: z.number().int().describe(\"Starting position of the next batch. Absent if no more data exists.\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position for this batch.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `DetailsAboutAPaperSCitations`\");\n\nexport const semanticscholarDetailsAboutAPaperSCitations: AppAction<\n typeof SemanticscholarDetailsAboutAPaperSCitationsInput,\n typeof SemanticscholarDetailsAboutAPaperSCitationsOutput,\n typeof semanticscholar.credential\n> = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_CITATIONS\", {\n slug: \"semanticscholar-details-about-a-paper-s-citations\",\n name: \"Details about a paper s citations\",\n description: \"Retrieves a list of citations for a specific academic paper using its unique Semantic Scholar paper ID. This endpoint is useful for researchers and developers who want to explore the impact and connections of a particular academic work within the broader scientific literature. It provides information about other papers that have cited the specified paper, allowing users to trace the influence of research and discover related works. The endpoint should be used when analyzing the reception and impact of a specific paper, building citation networks, or conducting bibliometric studies. It does not provide the full text of citing papers or detailed information about the citations beyond basic metadata.\",\n input: SemanticscholarDetailsAboutAPaperSCitationsInput,\n output: SemanticscholarDetailsAboutAPaperSCitationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC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ke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/details-about-a-paper-s-citations.d.ts
|
|
@@ -64,24 +66,7 @@ declare const SemanticscholarDetailsAboutAPaperSCitationsOutput: z.ZodObject<{
|
|
|
64
66
|
next: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
67
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
68
|
}, z.core.$loose>;
|
|
67
|
-
declare const semanticscholarDetailsAboutAPaperSCitations:
|
|
68
|
-
paper_id: string;
|
|
69
|
-
limit?: number | undefined;
|
|
70
|
-
fields?: string | undefined;
|
|
71
|
-
offset?: number | undefined;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
73
|
-
connectionId: z.ZodString;
|
|
74
|
-
entityId: z.ZodString;
|
|
75
|
-
instanceId: z.ZodString;
|
|
76
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
-
generic_api_key: z.ZodString;
|
|
78
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
79
|
-
connectionId: z.ZodString;
|
|
80
|
-
entityId: z.ZodString;
|
|
81
|
-
instanceId: z.ZodString;
|
|
82
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
-
generic_api_key: z.ZodString;
|
|
84
|
-
}, z.core.$strip>>]>;
|
|
69
|
+
declare const semanticscholarDetailsAboutAPaperSCitations: AppAction<typeof SemanticscholarDetailsAboutAPaperSCitationsInput, typeof SemanticscholarDetailsAboutAPaperSCitationsOutput, typeof semanticscholar.credential>;
|
|
85
70
|
//#endregion
|
|
86
71
|
export { semanticscholarDetailsAboutAPaperSCitations };
|
|
87
72
|
//# sourceMappingURL=details-about-a-paper-s-citations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-citations.d.cts","names":[],"sources":["../../src/actions/details-about-a-paper-s-citations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-citations.d.cts","names":[],"sources":["../../src/actions/details-about-a-paper-s-citations.ts"],"mappings":";;;;;cAMa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;cAkEhD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjD,2CAAA,EAA6C,SAAA,QACjD,gDAAA,SACA,iDAAA,SACA,eAAA,CAAgB,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { semanticscholar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/details-about-a-paper-s-citations.d.ts
|
|
@@ -64,24 +66,7 @@ declare const SemanticscholarDetailsAboutAPaperSCitationsOutput: z.ZodObject<{
|
|
|
64
66
|
next: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
67
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
68
|
}, z.core.$loose>;
|
|
67
|
-
declare const semanticscholarDetailsAboutAPaperSCitations:
|
|
68
|
-
paper_id: string;
|
|
69
|
-
limit?: number | undefined;
|
|
70
|
-
fields?: string | undefined;
|
|
71
|
-
offset?: number | undefined;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
73
|
-
connectionId: z.ZodString;
|
|
74
|
-
entityId: z.ZodString;
|
|
75
|
-
instanceId: z.ZodString;
|
|
76
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
-
generic_api_key: z.ZodString;
|
|
78
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
79
|
-
connectionId: z.ZodString;
|
|
80
|
-
entityId: z.ZodString;
|
|
81
|
-
instanceId: z.ZodString;
|
|
82
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
-
generic_api_key: z.ZodString;
|
|
84
|
-
}, z.core.$strip>>]>;
|
|
69
|
+
declare const semanticscholarDetailsAboutAPaperSCitations: AppAction<typeof SemanticscholarDetailsAboutAPaperSCitationsInput, typeof SemanticscholarDetailsAboutAPaperSCitationsOutput, typeof semanticscholar.credential>;
|
|
85
70
|
//#endregion
|
|
86
71
|
export { semanticscholarDetailsAboutAPaperSCitations };
|
|
87
72
|
//# sourceMappingURL=details-about-a-paper-s-citations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-citations.d.mts","names":[],"sources":["../../src/actions/details-about-a-paper-s-citations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-citations.d.mts","names":[],"sources":["../../src/actions/details-about-a-paper-s-citations.ts"],"mappings":";;;;;cAMa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;cAkEhD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjD,2CAAA,EAA6C,SAAA,QACjD,gDAAA,SACA,iDAAA,SACA,eAAA,CAAgB,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-citations.mjs","names":[],"sources":["../../src/actions/details-about-a-paper-s-citations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemanticscholarDetailsAboutAPaperSCitationsInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of the fields to be returned. If omitted, only <code>paperId</code> and <code>title</code> of the citing papers are returned. Available fields include: <ul> <li><code>contexts</code> - citation contexts (text snippets)</li> <li><code>intents</code> - citation intent categories</li> <li><code>isInfluential</code> - whether this is an influential citation</li> <li><code>citingPaper.*</code> - fields from the citing paper (e.g., <code>citingPaper.title</code>, <code>citingPaper.year</code>, <code>citingPaper.authors</code>, <code>citingPaper.abstract</code>, <code>citingPaper.citationCount</code>, <code>citingPaper.venue</code>)</li></ul> Examples: <ul> <li><code>fields=contexts,isInfluential,intents</code></li> <li><code>fields=citingPaper.title,citingPaper.year,citingPaper.authors</code></li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSCitations`\");\nconst SemanticscholarDetailsAboutAPaperSCitations_AuthorSchema = z.object({\n name: z.string().describe(\"Author's full name.\").nullable(),\n authorId: z.string().describe(\"Unique author identifier.\").nullable(),\n}).passthrough().describe(\"Paper author information.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_JournalSchema = z.object({\n name: z.string().describe(\"Journal name.\").nullable().optional(),\n pages: z.string().describe(\"Page range.\").nullable().optional(),\n volume: z.string().describe(\"Journal volume.\").nullable().optional(),\n}).passthrough().describe(\"Journal metadata.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_OpenAccessPdfSchema = z.object({\n url: z.string().describe(\"URL to the open access PDF.\").nullable().optional(),\n status: z.string().describe(\"Open access status.\").nullable().optional(),\n license: z.string().describe(\"License type.\").nullable().optional(),\n disclaimer: z.string().describe(\"Any disclaimer text.\").nullable().optional(),\n}).passthrough().describe(\"Open access PDF details.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_S2FieldOfStudySchema = z.object({\n source: z.string().describe(\"Classification source.\").nullable().optional(),\n category: z.string().describe(\"Field category.\").nullable().optional(),\n}).passthrough().describe(\"Semantic Scholar-classified field.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_PublicationVenueSchema = z.object({\n id: z.string().describe(\"Venue identifier.\").nullable().optional(),\n url: z.string().describe(\"Venue URL.\").nullable().optional(),\n name: z.string().describe(\"Venue name.\").nullable().optional(),\n type: z.string().describe(\"Venue type.\").nullable().optional(),\n alternate_names: z.array(z.string()).describe(\"Alternative names for the venue.\").nullable().optional(),\n}).passthrough().describe(\"Detailed venue information.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_CitingPaperSchema = z.object({\n url: z.string().describe(\"Semantic Scholar webpage link for the paper.\").nullable().optional(),\n year: z.number().int().describe(\"Publication year.\").nullable().optional(),\n title: z.string().describe(\"Title of the paper.\").nullable().optional(),\n venue: z.string().describe(\"Publication venue name.\").nullable().optional(),\n authors: z.array(SemanticscholarDetailsAboutAPaperSCitations_AuthorSchema).describe(\"List of paper authors.\").nullable().optional(),\n journal: SemanticscholarDetailsAboutAPaperSCitations_JournalSchema.nullable().optional(),\n paperId: z.string().describe(\"Unique Semantic Scholar identifier for the paper.\").nullable().optional(),\n abstract: z.string().describe(\"Abstract or summary of the paper.\").nullable().optional(),\n corpusId: z.number().int().describe(\"Secondary numerical identifier for the paper.\").nullable().optional(),\n externalIds: z.record(z.string(), z.unknown()).describe(\"External database identifiers (MAG, DBLP, ACL, DOI, etc.).\").nullable().optional(),\n isOpenAccess: z.boolean().describe(\"Whether the paper is open access.\").nullable().optional(),\n citationCount: z.number().int().describe(\"Number of papers citing this paper.\").nullable().optional(),\n fieldsOfStudy: z.array(z.string()).describe(\"High-level academic categories.\").nullable().optional(),\n openAccessPdf: SemanticscholarDetailsAboutAPaperSCitations_OpenAccessPdfSchema.nullable().optional(),\n citationStyles: z.record(z.string(), z.unknown()).describe(\"Citation formatting in various styles.\").nullable().optional(),\n referenceCount: z.number().int().describe(\"Number of papers cited by this paper.\").nullable().optional(),\n publicationDate: z.string().describe(\"Publication date in YYYY-MM-DD format.\").nullable().optional(),\n s2FieldsOfStudy: z.array(SemanticscholarDetailsAboutAPaperSCitations_S2FieldOfStudySchema).describe(\"Semantic Scholar-classified fields.\").nullable().optional(),\n publicationTypes: z.array(z.string()).describe(\"Publication type labels.\").nullable().optional(),\n publicationVenue: SemanticscholarDetailsAboutAPaperSCitations_PublicationVenueSchema.nullable().optional(),\n influentialCitationCount: z.number().int().describe(\"Number of high-impact citations.\").nullable().optional(),\n}).passthrough().describe(\"Details about the citing paper.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_ContextWithIntentSchema = z.object({\n context: z.string().describe(\"Text snippet where the reference is mentioned.\").nullable().optional(),\n intents: z.array(z.string()).describe(\"Citation intents associated with this context.\").nullable().optional(),\n}).passthrough().describe(\"Context with associated intents.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_CitationSchema = z.object({\n intents: z.array(z.string()).describe(\"Array of citation intents that summarizes how the reference to the paper is mentioned.\").nullable().optional(),\n contexts: z.array(z.string()).describe(\"Array of text snippets where the reference to the paper is mentioned.\").nullable().optional(),\n citingPaper: SemanticscholarDetailsAboutAPaperSCitations_CitingPaperSchema.nullable().optional(),\n isInfluential: z.boolean().describe(\"Whether the citing paper is highly influential.\").nullable().optional(),\n contextsWithIntent: z.array(SemanticscholarDetailsAboutAPaperSCitations_ContextWithIntentSchema).describe(\"Array of objects that contain both contexts and the intents they are associated with.\").nullable().optional(),\n}).passthrough().describe(\"Citation object with context and citing paper details.\");\nexport const SemanticscholarDetailsAboutAPaperSCitationsOutput = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSCitations_CitationSchema).describe(\"Array of Citation objects.\").nullable().optional(),\n next: z.number().int().describe(\"Starting position of the next batch. Absent if no more data exists.\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position for this batch.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `DetailsAboutAPaperSCitations`\");\n\nexport const semanticscholarDetailsAboutAPaperSCitations = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_CITATIONS\", {\n slug: \"semanticscholar-details-about-a-paper-s-citations\",\n name: \"Details about a paper s citations\",\n description: \"Retrieves a list of citations for a specific academic paper using its unique Semantic Scholar paper ID. This endpoint is useful for researchers and developers who want to explore the impact and connections of a particular academic work within the broader scientific literature. It provides information about other papers that have cited the specified paper, allowing users to trace the influence of research and discover related works. The endpoint should be used when analyzing the reception and impact of a specific paper, building citation networks, or conducting bibliometric studies. It does not provide the full text of citing papers or detailed information about the citations beyond basic metadata.\",\n input: SemanticscholarDetailsAboutAPaperSCitationsInput,\n output: SemanticscholarDetailsAboutAPaperSCitationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmD,EAAE,OAAO;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,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AC,SAAS,CAAC,CAAC,SAAS;AACzN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAOlF,MAAa,8CAA8C,OAAO,qDAAqD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+D,EAAE,OAAO;EACxE,MAAM,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-citations.mjs","names":[],"sources":["../../src/actions/details-about-a-paper-s-citations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semanticscholar } from \"../app\";\n\nexport const SemanticscholarDetailsAboutAPaperSCitationsInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of the fields to be returned. If omitted, only <code>paperId</code> and <code>title</code> of the citing papers are returned. Available fields include: <ul> <li><code>contexts</code> - citation contexts (text snippets)</li> <li><code>intents</code> - citation intent categories</li> <li><code>isInfluential</code> - whether this is an influential citation</li> <li><code>citingPaper.*</code> - fields from the citing paper (e.g., <code>citingPaper.title</code>, <code>citingPaper.year</code>, <code>citingPaper.authors</code>, <code>citingPaper.abstract</code>, <code>citingPaper.citationCount</code>, <code>citingPaper.venue</code>)</li></ul> Examples: <ul> <li><code>fields=contexts,isInfluential,intents</code></li> <li><code>fields=citingPaper.title,citingPaper.year,citingPaper.authors</code></li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSCitations`\");\nconst SemanticscholarDetailsAboutAPaperSCitations_AuthorSchema = z.object({\n name: z.string().describe(\"Author's full name.\").nullable(),\n authorId: z.string().describe(\"Unique author identifier.\").nullable(),\n}).passthrough().describe(\"Paper author information.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_JournalSchema = z.object({\n name: z.string().describe(\"Journal name.\").nullable().optional(),\n pages: z.string().describe(\"Page range.\").nullable().optional(),\n volume: z.string().describe(\"Journal volume.\").nullable().optional(),\n}).passthrough().describe(\"Journal metadata.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_OpenAccessPdfSchema = z.object({\n url: z.string().describe(\"URL to the open access PDF.\").nullable().optional(),\n status: z.string().describe(\"Open access status.\").nullable().optional(),\n license: z.string().describe(\"License type.\").nullable().optional(),\n disclaimer: z.string().describe(\"Any disclaimer text.\").nullable().optional(),\n}).passthrough().describe(\"Open access PDF details.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_S2FieldOfStudySchema = z.object({\n source: z.string().describe(\"Classification source.\").nullable().optional(),\n category: z.string().describe(\"Field category.\").nullable().optional(),\n}).passthrough().describe(\"Semantic Scholar-classified field.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_PublicationVenueSchema = z.object({\n id: z.string().describe(\"Venue identifier.\").nullable().optional(),\n url: z.string().describe(\"Venue URL.\").nullable().optional(),\n name: z.string().describe(\"Venue name.\").nullable().optional(),\n type: z.string().describe(\"Venue type.\").nullable().optional(),\n alternate_names: z.array(z.string()).describe(\"Alternative names for the venue.\").nullable().optional(),\n}).passthrough().describe(\"Detailed venue information.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_CitingPaperSchema = z.object({\n url: z.string().describe(\"Semantic Scholar webpage link for the paper.\").nullable().optional(),\n year: z.number().int().describe(\"Publication year.\").nullable().optional(),\n title: z.string().describe(\"Title of the paper.\").nullable().optional(),\n venue: z.string().describe(\"Publication venue name.\").nullable().optional(),\n authors: z.array(SemanticscholarDetailsAboutAPaperSCitations_AuthorSchema).describe(\"List of paper authors.\").nullable().optional(),\n journal: SemanticscholarDetailsAboutAPaperSCitations_JournalSchema.nullable().optional(),\n paperId: z.string().describe(\"Unique Semantic Scholar identifier for the paper.\").nullable().optional(),\n abstract: z.string().describe(\"Abstract or summary of the paper.\").nullable().optional(),\n corpusId: z.number().int().describe(\"Secondary numerical identifier for the paper.\").nullable().optional(),\n externalIds: z.record(z.string(), z.unknown()).describe(\"External database identifiers (MAG, DBLP, ACL, DOI, etc.).\").nullable().optional(),\n isOpenAccess: z.boolean().describe(\"Whether the paper is open access.\").nullable().optional(),\n citationCount: z.number().int().describe(\"Number of papers citing this paper.\").nullable().optional(),\n fieldsOfStudy: z.array(z.string()).describe(\"High-level academic categories.\").nullable().optional(),\n openAccessPdf: SemanticscholarDetailsAboutAPaperSCitations_OpenAccessPdfSchema.nullable().optional(),\n citationStyles: z.record(z.string(), z.unknown()).describe(\"Citation formatting in various styles.\").nullable().optional(),\n referenceCount: z.number().int().describe(\"Number of papers cited by this paper.\").nullable().optional(),\n publicationDate: z.string().describe(\"Publication date in YYYY-MM-DD format.\").nullable().optional(),\n s2FieldsOfStudy: z.array(SemanticscholarDetailsAboutAPaperSCitations_S2FieldOfStudySchema).describe(\"Semantic Scholar-classified fields.\").nullable().optional(),\n publicationTypes: z.array(z.string()).describe(\"Publication type labels.\").nullable().optional(),\n publicationVenue: SemanticscholarDetailsAboutAPaperSCitations_PublicationVenueSchema.nullable().optional(),\n influentialCitationCount: z.number().int().describe(\"Number of high-impact citations.\").nullable().optional(),\n}).passthrough().describe(\"Details about the citing paper.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_ContextWithIntentSchema = z.object({\n context: z.string().describe(\"Text snippet where the reference is mentioned.\").nullable().optional(),\n intents: z.array(z.string()).describe(\"Citation intents associated with this context.\").nullable().optional(),\n}).passthrough().describe(\"Context with associated intents.\");\nconst SemanticscholarDetailsAboutAPaperSCitations_CitationSchema = z.object({\n intents: z.array(z.string()).describe(\"Array of citation intents that summarizes how the reference to the paper is mentioned.\").nullable().optional(),\n contexts: z.array(z.string()).describe(\"Array of text snippets where the reference to the paper is mentioned.\").nullable().optional(),\n citingPaper: SemanticscholarDetailsAboutAPaperSCitations_CitingPaperSchema.nullable().optional(),\n isInfluential: z.boolean().describe(\"Whether the citing paper is highly influential.\").nullable().optional(),\n contextsWithIntent: z.array(SemanticscholarDetailsAboutAPaperSCitations_ContextWithIntentSchema).describe(\"Array of objects that contain both contexts and the intents they are associated with.\").nullable().optional(),\n}).passthrough().describe(\"Citation object with context and citing paper details.\");\nexport const SemanticscholarDetailsAboutAPaperSCitationsOutput = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSCitations_CitationSchema).describe(\"Array of Citation objects.\").nullable().optional(),\n next: z.number().int().describe(\"Starting position of the next batch. Absent if no more data exists.\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position for this batch.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `DetailsAboutAPaperSCitations`\");\n\nexport const semanticscholarDetailsAboutAPaperSCitations: AppAction<\n typeof SemanticscholarDetailsAboutAPaperSCitationsInput,\n typeof SemanticscholarDetailsAboutAPaperSCitationsOutput,\n typeof semanticscholar.credential\n> = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_CITATIONS\", {\n slug: \"semanticscholar-details-about-a-paper-s-citations\",\n name: \"Details about a paper s citations\",\n description: \"Retrieves a list of citations for a specific academic paper using its unique Semantic Scholar paper ID. This endpoint is useful for researchers and developers who want to explore the impact and connections of a particular academic work within the broader scientific literature. It provides information about other papers that have cited the specified paper, allowing users to trace the influence of research and discover related works. The endpoint should be used when analyzing the reception and impact of a specific paper, building citation networks, or conducting bibliometric studies. It does not provide the full text of citing papers or detailed information about the citations beyond basic metadata.\",\n input: SemanticscholarDetailsAboutAPaperSCitationsInput,\n output: SemanticscholarDetailsAboutAPaperSCitationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mDAAmD,EAAE,OAAO;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,k1BAAk1B,CAAC,CAAC,SAAS;CACz3B,QAAQ,EAAE,OAAO,CAAC,CAAC,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E,OAAO;EACxE,MAAM,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details-about-a-paper-s-references.cjs","names":["z","action"],"sources":["../../src/actions/details-about-a-paper-s-references.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemanticscholarDetailsAboutAPaperSReferencesInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of the fields to be returned for each reference. If omitted, only paperId and title are returned for each cited paper. Available fields include: <ul><li><code>contexts</code> - Text snippets where the reference appears in the citing paper</li><li><code>intents</code> - Citation intent categories (e.g., 'methodology', 'background')</li><li><code>contextsWithIntent</code> - Combined context and intent objects</li><li><code>isInfluential</code> - Boolean indicating if this is a highly influential citation</li><li><code>citedPaper.<field></code> - Nested fields for the cited paper (use period notation)</li></ul>For citedPaper fields, use period notation: citedPaper.title, citedPaper.year, citedPaper.authors, citedPaper.abstract, citedPaper.venue, citedPaper.citationCount, citedPaper.referenceCount, etc.<br><br>Examples: <ul><li><code>contexts,isInfluential</code> - Get citation contexts and influence flag</li><li><code>citedPaper.title,citedPaper.year,citedPaper.authors</code> - Get cited paper metadata</li><li><code>contexts,isInfluential,citedPaper.title,citedPaper.abstract</code> - Combined request</li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSReferences`\");\nconst SemanticscholarDetailsAboutAPaperSReferences_AuthorSchema = z.object({\n name: z.string().describe(\"Author's full name\").nullable(),\n authorId: z.string().describe(\"Semantic Scholar's unique ID for the author\").nullable(),\n}).passthrough().describe(\"Author details for a paper\");\nconst SemanticscholarDetailsAboutAPaperSReferences_JournalSchema = z.object({\n name: z.string().describe(\"The journal name\").nullable().optional(),\n pages: z.string().describe(\"Page number range\").nullable().optional(),\n volume: z.string().describe(\"Journal volume number\").nullable().optional(),\n}).passthrough().describe(\"Publication venue details when applicable\");\nconst SemanticscholarDetailsAboutAPaperSReferences_ExternalIdsSchema = z.object({\n ACL: z.string().describe(\"ACL Anthology identifier\").nullable().optional(),\n DOI: z.string().describe(\"Digital Object Identifier\").nullable().optional(),\n MAG: z.string().describe(\"Microsoft Academic Graph identifier\").nullable().optional(),\n DBLP: z.string().describe(\"DBLP computer science bibliography identifier\").nullable().optional(),\n ArXiv: z.string().describe(\"ArXiv preprint identifier\").nullable().optional(),\n PubMed: z.string().describe(\"PubMed identifier\").nullable().optional(),\n Medline: z.string().describe(\"Medline identifier\").nullable().optional(),\n CorpusId: z.number().int().describe(\"Corpus identifier\").nullable().optional(),\n PubMedCentral: z.string().describe(\"PubMed Central identifier\").nullable().optional(),\n}).passthrough().describe(\"Unique identifiers from external academic sources\");\nconst SemanticscholarDetailsAboutAPaperSReferences_OpenAccessPdfSchema = z.object({\n url: z.string().describe(\"Link to the paper's PDF\").nullable().optional(),\n status: z.string().describe(\"The type of open access per Wikipedia's color naming system\").nullable().optional(),\n license: z.string().describe(\"The paper's usage license\").nullable().optional(),\n disclaimer: z.string().describe(\"Legal notice regarding content extraction and usage rights\").nullable().optional(),\n}).passthrough().describe(\"Contains open access PDF information including URL, access status, license, and legal notice\");\nconst SemanticscholarDetailsAboutAPaperSReferences_CitationStylesSchema = z.object({\n bibtex: z.string().describe(\"The BibTeX bibliographical citation format\").nullable().optional(),\n}).passthrough().describe(\"Bibliographic citation formats for the paper\");\nconst SemanticscholarDetailsAboutAPaperSReferences_S2FieldOfStudySchema = z.object({\n source: z.string().describe(\"Attribution source (either 'external' or 's2-fos-model')\").nullable().optional(),\n category: z.string().describe(\"Field of study matching fieldsOfStudy categories\").nullable().optional(),\n}).passthrough().describe(\"Classified subject area with source attribution\");\nconst SemanticscholarDetailsAboutAPaperSReferences_PublicationVenueSchema = z.object({\n id: z.string().describe(\"Venue's unique identifier\").nullable().optional(),\n url: z.string().describe(\"Venue's official website\").nullable().optional(),\n name: z.string().describe(\"Venue name\").nullable().optional(),\n type: z.string().describe(\"Venue classification (conference, journal, etc.)\").nullable().optional(),\n alternate_names: z.array(z.string()).describe(\"Alternative venue name variations\").nullable().optional(),\n}).passthrough().describe(\"Detailed venue information\");\nconst SemanticscholarDetailsAboutAPaperSReferences_CitedPaperSchema = z.object({\n url: z.string().describe(\"Link to paper on Semantic Scholar website\").nullable().optional(),\n year: z.number().int().describe(\"Publication year\").nullable().optional(),\n title: z.string().describe(\"Publication title\").nullable().optional(),\n venue: z.string().describe(\"Publication venue name\").nullable().optional(),\n authors: z.array(SemanticscholarDetailsAboutAPaperSReferences_AuthorSchema).describe(\"Publication authors\").nullable().optional(),\n journal: SemanticscholarDetailsAboutAPaperSReferences_JournalSchema.nullable().optional(),\n paperId: z.string().describe(\"Semantic Scholar's primary unique identifier for a paper\").nullable(),\n abstract: z.string().describe(\"Paper summary; may be absent for legal reasons\").nullable().optional(),\n corpusId: z.number().int().describe(\"Numeric ID alternative to paperId\").nullable().optional(),\n externalIds: SemanticscholarDetailsAboutAPaperSReferences_ExternalIdsSchema.nullable().optional(),\n isOpenAccess: z.boolean().describe(\"Open access availability status\").nullable().optional(),\n citationCount: z.number().int().describe(\"Count of papers citing this paper\").nullable().optional(),\n fieldsOfStudy: z.array(z.string()).describe(\"High-level academic categories\").nullable().optional(),\n openAccessPdf: SemanticscholarDetailsAboutAPaperSReferences_OpenAccessPdfSchema.nullable().optional(),\n citationStyles: SemanticscholarDetailsAboutAPaperSReferences_CitationStylesSchema.nullable().optional(),\n referenceCount: z.number().int().describe(\"Count of papers cited by this paper\").nullable().optional(),\n publicationDate: z.string().describe(\"Date in YYYY-MM-DD format\").nullable().optional(),\n s2FieldsOfStudy: z.array(SemanticscholarDetailsAboutAPaperSReferences_S2FieldOfStudySchema).describe(\"Classified subject areas with source attribution\").nullable().optional(),\n publicationTypes: z.array(z.string()).describe(\"Publication type classifications\").nullable().optional(),\n publicationVenue: SemanticscholarDetailsAboutAPaperSReferences_PublicationVenueSchema.nullable().optional(),\n influentialCitationCount: z.number().int().describe(\"High-impact citation count\").nullable().optional(),\n}).passthrough().describe(\"Details about the cited paper\");\nconst SemanticscholarDetailsAboutAPaperSReferences_ContextWithIntentSchema = z.object({\n context: z.string().describe(\"Text excerpt mentioning the referenced work\").nullable().optional(),\n intents: z.array(z.string()).describe(\"Citation purposes (e.g., 'methodology', 'background')\").nullable().optional(),\n}).passthrough().describe(\"Object containing both context and the intents associated with it\");\nconst SemanticscholarDetailsAboutAPaperSReferences_ReferenceItemSchema = z.object({\n intents: z.array(z.string()).describe(\"Array of citation intents that summarizes how the reference to the paper is mentioned\").nullable().optional(),\n contexts: z.array(z.string()).describe(\"Array of text snippets where the reference to the paper is mentioned\").nullable().optional(),\n citedPaper: SemanticscholarDetailsAboutAPaperSReferences_CitedPaperSchema.nullable().optional(),\n isInfluential: z.boolean().describe(\"Whether the citing paper is highly influential\").nullable().optional(),\n contextsWithIntent: z.array(SemanticscholarDetailsAboutAPaperSReferences_ContextWithIntentSchema).describe(\"Array of objects that contain both contexts and the intents they are associated with\").nullable().optional(),\n}).passthrough().describe(\"Reference object containing citation context and cited paper details\");\nconst SemanticscholarDetailsAboutAPaperSReferences_CitingPaperInfoSchema = z.object({\n title: z.string().describe(\"Title of the paper being queried\").nullable().optional(),\n authors: z.array(SemanticscholarDetailsAboutAPaperSReferences_AuthorSchema).describe(\"Authors of the paper being queried\").nullable().optional(),\n openAccessPdf: SemanticscholarDetailsAboutAPaperSReferences_OpenAccessPdfSchema.nullable().optional(),\n}).passthrough().describe(\"Metadata about the paper being queried\");\nexport const SemanticscholarDetailsAboutAPaperSReferencesOutput = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSReferences_ReferenceItemSchema).describe(\"Array of reference objects. Null when the paper has no references\").nullable().optional(),\n next: z.number().int().describe(\"Starting position of the next batch. Absent if no more data exists\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position for this batch. Present when the paper has references, absent when data is null\").nullable().optional(),\n citingPaperInfo: SemanticscholarDetailsAboutAPaperSReferences_CitingPaperInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response batch containing paper references with pagination support\");\n\nexport const semanticscholarDetailsAboutAPaperSReferences = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_REFERENCES\", {\n slug: \"semanticscholar-details-about-a-paper-s-references\",\n name: \"Details about a paper s references\",\n description: \"Retrieves the list of references cited by a specific paper in the Semantic Scholar database. This endpoint allows users to explore the scholarly context of a publication by accessing its bibliography. It's particularly useful for understanding the foundation of a paper's research, tracing the development of ideas, or conducting literature reviews. The tool returns details about the cited papers, which may include their titles, authors, publication dates, and Semantic Scholar IDs. It should be used when analyzing a paper's sources or investigating the connections between different academic works. Note that this endpoint only provides outgoing references (papers cited by the specified paper) and not incoming citations (papers that cite the specified paper).\",\n input: SemanticscholarDetailsAboutAPaperSReferencesInput,\n output: SemanticscholarDetailsAboutAPaperSReferencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,moCAAmoC,CAAC,CAAC,SAAS;CAC1qC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACrK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,89CAA89C;AAC9/C,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,UAAUA,IAAAA,EAAE,OAAO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CAAC,SAAS;CAC/I,eAAe,iEAAiE,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,qDAAqDA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClL,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,iBAAiB,mEAAmE,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,+CAA+CC,eAAAA,OAAO,sDAAsD;CACvH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"details-about-a-paper-s-references.cjs","names":["z","action"],"sources":["../../src/actions/details-about-a-paper-s-references.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semanticscholar } from \"../app\";\n\nexport const SemanticscholarDetailsAboutAPaperSReferencesInput = z.object({\n limit: z.number().int().default(100).describe(\"The maximum number of results to return.<br> Must be <= 1000\").optional(),\n fields: z.string().describe(\"A comma-separated list of the fields to be returned for each reference. If omitted, only paperId and title are returned for each cited paper. Available fields include: <ul><li><code>contexts</code> - Text snippets where the reference appears in the citing paper</li><li><code>intents</code> - Citation intent categories (e.g., 'methodology', 'background')</li><li><code>contextsWithIntent</code> - Combined context and intent objects</li><li><code>isInfluential</code> - Boolean indicating if this is a highly influential citation</li><li><code>citedPaper.<field></code> - Nested fields for the cited paper (use period notation)</li></ul>For citedPaper fields, use period notation: citedPaper.title, citedPaper.year, citedPaper.authors, citedPaper.abstract, citedPaper.venue, citedPaper.citationCount, citedPaper.referenceCount, etc.<br><br>Examples: <ul><li><code>contexts,isInfluential</code> - Get citation contexts and influence flag</li><li><code>citedPaper.title,citedPaper.year,citedPaper.authors</code> - Get cited paper metadata</li><li><code>contexts,isInfluential,citedPaper.title,citedPaper.abstract</code> - Combined request</li></ul>\").optional(),\n offset: z.number().int().default(0).describe(\"Used for pagination. When returning a list of results, start with the element at this position in the list.\").optional(),\n paper_id: z.string().describe(\"The following types of IDs are supported: <ul> <li><code><sha></code> - a Semantic Scholar ID, e.g. <code>649def34f8be52c8b66281af98ae884c09aef38b</code></li> <li><code>CorpusId:<id></code> - a Semantic Scholar numerical ID, e.g. <code>CorpusId:215416146</code></li> <li><code>DOI:<doi></code> - a <a href=\\\"http://doi.org\\\">Digital Object Identifier</a>, e.g. <code>DOI:10.18653/v1/N18-3011</code></li> <li><code>ARXIV:<id></code> - <a href=\\\"https://arxiv.org/\\\">arXiv.rg</a>, e.g. <code>ARXIV:2106.15928</code></li> <li><code>MAG:<id></code> - Microsoft Academic Graph, e.g. <code>MAG:112218234</code></li> <li><code>ACL:<id></code> - Association for Computational Linguistics, e.g. <code>ACL:W12-3903</code></li> <li><code>PMID:<id></code> - PubMed/Medline, e.g. <code>PMID:19872477</code></li> <li><code>PMCID:<id></code> - PubMed Central, e.g. <code>PMCID:2323736</code></li> <li><code>URL:<url></code> - URL from one of the sites listed below, e.g. <code>URL:https://arxiv.org/abs/2106.15928v1</code></li> </ul> URLs are recognized from the following sites: <ul> <li><a href=\\\"https://www.semanticscholar.org/\\\">semanticscholar.org</a></li> <li><a href=\\\"https://arxiv.org/\\\">arxiv.org</a></li> <li><a href=\\\"https://www.aclweb.org\\\">aclweb.org</a></li> <li><a href=\\\"https://www.acm.org/\\\">acm.org</a></li> <li><a href=\\\"https://www.biorxiv.org/\\\">biorxiv.org</a></li> </ul>\"),\n}).describe(\"Request schema for `DetailsAboutAPaperSReferences`\");\nconst SemanticscholarDetailsAboutAPaperSReferences_AuthorSchema = z.object({\n name: z.string().describe(\"Author's full name\").nullable(),\n authorId: z.string().describe(\"Semantic Scholar's unique ID for the author\").nullable(),\n}).passthrough().describe(\"Author details for a paper\");\nconst SemanticscholarDetailsAboutAPaperSReferences_JournalSchema = z.object({\n name: z.string().describe(\"The journal name\").nullable().optional(),\n pages: z.string().describe(\"Page number range\").nullable().optional(),\n volume: z.string().describe(\"Journal volume number\").nullable().optional(),\n}).passthrough().describe(\"Publication venue details when applicable\");\nconst SemanticscholarDetailsAboutAPaperSReferences_ExternalIdsSchema = z.object({\n ACL: z.string().describe(\"ACL Anthology identifier\").nullable().optional(),\n DOI: z.string().describe(\"Digital Object Identifier\").nullable().optional(),\n MAG: z.string().describe(\"Microsoft Academic Graph identifier\").nullable().optional(),\n DBLP: z.string().describe(\"DBLP computer science bibliography identifier\").nullable().optional(),\n ArXiv: z.string().describe(\"ArXiv preprint identifier\").nullable().optional(),\n PubMed: z.string().describe(\"PubMed identifier\").nullable().optional(),\n Medline: z.string().describe(\"Medline identifier\").nullable().optional(),\n CorpusId: z.number().int().describe(\"Corpus identifier\").nullable().optional(),\n PubMedCentral: z.string().describe(\"PubMed Central identifier\").nullable().optional(),\n}).passthrough().describe(\"Unique identifiers from external academic sources\");\nconst SemanticscholarDetailsAboutAPaperSReferences_OpenAccessPdfSchema = z.object({\n url: z.string().describe(\"Link to the paper's PDF\").nullable().optional(),\n status: z.string().describe(\"The type of open access per Wikipedia's color naming system\").nullable().optional(),\n license: z.string().describe(\"The paper's usage license\").nullable().optional(),\n disclaimer: z.string().describe(\"Legal notice regarding content extraction and usage rights\").nullable().optional(),\n}).passthrough().describe(\"Contains open access PDF information including URL, access status, license, and legal notice\");\nconst SemanticscholarDetailsAboutAPaperSReferences_CitationStylesSchema = z.object({\n bibtex: z.string().describe(\"The BibTeX bibliographical citation format\").nullable().optional(),\n}).passthrough().describe(\"Bibliographic citation formats for the paper\");\nconst SemanticscholarDetailsAboutAPaperSReferences_S2FieldOfStudySchema = z.object({\n source: z.string().describe(\"Attribution source (either 'external' or 's2-fos-model')\").nullable().optional(),\n category: z.string().describe(\"Field of study matching fieldsOfStudy categories\").nullable().optional(),\n}).passthrough().describe(\"Classified subject area with source attribution\");\nconst SemanticscholarDetailsAboutAPaperSReferences_PublicationVenueSchema = z.object({\n id: z.string().describe(\"Venue's unique identifier\").nullable().optional(),\n url: z.string().describe(\"Venue's official website\").nullable().optional(),\n name: z.string().describe(\"Venue name\").nullable().optional(),\n type: z.string().describe(\"Venue classification (conference, journal, etc.)\").nullable().optional(),\n alternate_names: z.array(z.string()).describe(\"Alternative venue name variations\").nullable().optional(),\n}).passthrough().describe(\"Detailed venue information\");\nconst SemanticscholarDetailsAboutAPaperSReferences_CitedPaperSchema = z.object({\n url: z.string().describe(\"Link to paper on Semantic Scholar website\").nullable().optional(),\n year: z.number().int().describe(\"Publication year\").nullable().optional(),\n title: z.string().describe(\"Publication title\").nullable().optional(),\n venue: z.string().describe(\"Publication venue name\").nullable().optional(),\n authors: z.array(SemanticscholarDetailsAboutAPaperSReferences_AuthorSchema).describe(\"Publication authors\").nullable().optional(),\n journal: SemanticscholarDetailsAboutAPaperSReferences_JournalSchema.nullable().optional(),\n paperId: z.string().describe(\"Semantic Scholar's primary unique identifier for a paper\").nullable(),\n abstract: z.string().describe(\"Paper summary; may be absent for legal reasons\").nullable().optional(),\n corpusId: z.number().int().describe(\"Numeric ID alternative to paperId\").nullable().optional(),\n externalIds: SemanticscholarDetailsAboutAPaperSReferences_ExternalIdsSchema.nullable().optional(),\n isOpenAccess: z.boolean().describe(\"Open access availability status\").nullable().optional(),\n citationCount: z.number().int().describe(\"Count of papers citing this paper\").nullable().optional(),\n fieldsOfStudy: z.array(z.string()).describe(\"High-level academic categories\").nullable().optional(),\n openAccessPdf: SemanticscholarDetailsAboutAPaperSReferences_OpenAccessPdfSchema.nullable().optional(),\n citationStyles: SemanticscholarDetailsAboutAPaperSReferences_CitationStylesSchema.nullable().optional(),\n referenceCount: z.number().int().describe(\"Count of papers cited by this paper\").nullable().optional(),\n publicationDate: z.string().describe(\"Date in YYYY-MM-DD format\").nullable().optional(),\n s2FieldsOfStudy: z.array(SemanticscholarDetailsAboutAPaperSReferences_S2FieldOfStudySchema).describe(\"Classified subject areas with source attribution\").nullable().optional(),\n publicationTypes: z.array(z.string()).describe(\"Publication type classifications\").nullable().optional(),\n publicationVenue: SemanticscholarDetailsAboutAPaperSReferences_PublicationVenueSchema.nullable().optional(),\n influentialCitationCount: z.number().int().describe(\"High-impact citation count\").nullable().optional(),\n}).passthrough().describe(\"Details about the cited paper\");\nconst SemanticscholarDetailsAboutAPaperSReferences_ContextWithIntentSchema = z.object({\n context: z.string().describe(\"Text excerpt mentioning the referenced work\").nullable().optional(),\n intents: z.array(z.string()).describe(\"Citation purposes (e.g., 'methodology', 'background')\").nullable().optional(),\n}).passthrough().describe(\"Object containing both context and the intents associated with it\");\nconst SemanticscholarDetailsAboutAPaperSReferences_ReferenceItemSchema = z.object({\n intents: z.array(z.string()).describe(\"Array of citation intents that summarizes how the reference to the paper is mentioned\").nullable().optional(),\n contexts: z.array(z.string()).describe(\"Array of text snippets where the reference to the paper is mentioned\").nullable().optional(),\n citedPaper: SemanticscholarDetailsAboutAPaperSReferences_CitedPaperSchema.nullable().optional(),\n isInfluential: z.boolean().describe(\"Whether the citing paper is highly influential\").nullable().optional(),\n contextsWithIntent: z.array(SemanticscholarDetailsAboutAPaperSReferences_ContextWithIntentSchema).describe(\"Array of objects that contain both contexts and the intents they are associated with\").nullable().optional(),\n}).passthrough().describe(\"Reference object containing citation context and cited paper details\");\nconst SemanticscholarDetailsAboutAPaperSReferences_CitingPaperInfoSchema = z.object({\n title: z.string().describe(\"Title of the paper being queried\").nullable().optional(),\n authors: z.array(SemanticscholarDetailsAboutAPaperSReferences_AuthorSchema).describe(\"Authors of the paper being queried\").nullable().optional(),\n openAccessPdf: SemanticscholarDetailsAboutAPaperSReferences_OpenAccessPdfSchema.nullable().optional(),\n}).passthrough().describe(\"Metadata about the paper being queried\");\nexport const SemanticscholarDetailsAboutAPaperSReferencesOutput = z.object({\n data: z.array(SemanticscholarDetailsAboutAPaperSReferences_ReferenceItemSchema).describe(\"Array of reference objects. Null when the paper has no references\").nullable().optional(),\n next: z.number().int().describe(\"Starting position of the next batch. Absent if no more data exists\").nullable().optional(),\n offset: z.number().int().describe(\"Starting position for this batch. Present when the paper has references, absent when data is null\").nullable().optional(),\n citingPaperInfo: SemanticscholarDetailsAboutAPaperSReferences_CitingPaperInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response batch containing paper references with pagination support\");\n\nexport const semanticscholarDetailsAboutAPaperSReferences: AppAction<\n typeof SemanticscholarDetailsAboutAPaperSReferencesInput,\n typeof SemanticscholarDetailsAboutAPaperSReferencesOutput,\n typeof semanticscholar.credential\n> = action(\"SEMANTICSCHOLAR_DETAILS_ABOUT_A_PAPER_S_REFERENCES\", {\n slug: \"semanticscholar-details-about-a-paper-s-references\",\n name: \"Details about a paper s references\",\n description: \"Retrieves the list of references cited by a specific paper in the Semantic Scholar database. This endpoint allows users to explore the scholarly context of a publication by accessing its bibliography. It's particularly useful for understanding the foundation of a paper's research, tracing the development of ideas, or conducting literature reviews. The tool returns details about the cited papers, which may include their titles, authors, publication dates, and Semantic Scholar IDs. It should be used when analyzing a paper's sources or investigating the connections between different academic works. Note that this endpoint only provides outgoing references (papers cited by the specified paper) and not incoming citations (papers that cite the specified paper).\",\n input: SemanticscholarDetailsAboutAPaperSReferencesInput,\n output: SemanticscholarDetailsAboutAPaperSReferencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8DAA8D,CAAC,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
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/details-about-a-paper-s-references.d.ts
|
|
@@ -89,24 +91,7 @@ declare const SemanticscholarDetailsAboutAPaperSReferencesOutput: z.ZodObject<{
|
|
|
89
91
|
}, z.core.$loose>>>;
|
|
90
92
|
}, z.core.$loose>>>;
|
|
91
93
|
}, z.core.$loose>;
|
|
92
|
-
declare const semanticscholarDetailsAboutAPaperSReferences:
|
|
93
|
-
paper_id: string;
|
|
94
|
-
limit?: number | undefined;
|
|
95
|
-
fields?: string | undefined;
|
|
96
|
-
offset?: number | undefined;
|
|
97
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
98
|
-
connectionId: z.ZodString;
|
|
99
|
-
entityId: z.ZodString;
|
|
100
|
-
instanceId: z.ZodString;
|
|
101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
-
generic_api_key: z.ZodString;
|
|
103
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semanticscholar", z.ZodObject<{
|
|
104
|
-
connectionId: z.ZodString;
|
|
105
|
-
entityId: z.ZodString;
|
|
106
|
-
instanceId: z.ZodString;
|
|
107
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
-
generic_api_key: z.ZodString;
|
|
109
|
-
}, z.core.$strip>>]>;
|
|
94
|
+
declare const semanticscholarDetailsAboutAPaperSReferences: AppAction<typeof SemanticscholarDetailsAboutAPaperSReferencesInput, typeof SemanticscholarDetailsAboutAPaperSReferencesOutput, typeof semanticscholar.credential>;
|
|
110
95
|
//#endregion
|
|
111
96
|
export { semanticscholarDetailsAboutAPaperSReferences };
|
|
112
97
|
//# sourceMappingURL=details-about-a-paper-s-references.d.cts.map
|