open-research 0.1.16 → 0.1.17
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/cli.js +21 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -811,7 +811,7 @@ function formatDateTime(value) {
|
|
|
811
811
|
}
|
|
812
812
|
|
|
813
813
|
// src/lib/cli/version.ts
|
|
814
|
-
var PACKAGE_VERSION = "0.1.
|
|
814
|
+
var PACKAGE_VERSION = "0.1.17";
|
|
815
815
|
function getPackageVersion() {
|
|
816
816
|
return PACKAGE_VERSION;
|
|
817
817
|
}
|
|
@@ -1475,9 +1475,9 @@ function TextInput({
|
|
|
1475
1475
|
nextValue = originalValue.slice(0, cursorOffset - 1) + originalValue.slice(cursorOffset);
|
|
1476
1476
|
nextCursor--;
|
|
1477
1477
|
}
|
|
1478
|
-
} else if (key.meta && key.leftArrow) {
|
|
1478
|
+
} else if (key.meta && key.leftArrow || key.meta && input2 === "b" || key.ctrl && key.leftArrow) {
|
|
1479
1479
|
nextCursor = prevWordBoundary(originalValue, cursorOffset);
|
|
1480
|
-
} else if (key.meta && key.rightArrow) {
|
|
1480
|
+
} else if (key.meta && key.rightArrow || key.meta && input2 === "f" || key.ctrl && key.rightArrow) {
|
|
1481
1481
|
nextCursor = nextWordBoundary(originalValue, cursorOffset);
|
|
1482
1482
|
} else if (key.ctrl && input2 === "a" || key.home) {
|
|
1483
1483
|
nextCursor = 0;
|
|
@@ -2187,12 +2187,27 @@ var TOOL_SCHEMAS = [
|
|
|
2187
2187
|
type: "function",
|
|
2188
2188
|
function: {
|
|
2189
2189
|
name: "search_external_sources",
|
|
2190
|
-
description: "Search OpenAlex, Semantic Scholar, and arXiv for academic papers.",
|
|
2190
|
+
description: "Search OpenAlex, Semantic Scholar, and arXiv for academic papers. Provide one or more search queries. The first query is the primary search; additional queries are variations to broaden coverage.",
|
|
2191
2191
|
parameters: {
|
|
2192
2192
|
type: "object",
|
|
2193
2193
|
properties: {
|
|
2194
|
-
searches: {
|
|
2195
|
-
|
|
2194
|
+
searches: {
|
|
2195
|
+
type: "array",
|
|
2196
|
+
items: {
|
|
2197
|
+
type: "object",
|
|
2198
|
+
properties: {
|
|
2199
|
+
query: { type: "string", description: "The search query string." },
|
|
2200
|
+
intent: { type: "string", description: "Brief description of what you're looking for with this query." }
|
|
2201
|
+
},
|
|
2202
|
+
required: ["query"],
|
|
2203
|
+
additionalProperties: false
|
|
2204
|
+
},
|
|
2205
|
+
description: "Array of search queries. First is primary, rest are variations."
|
|
2206
|
+
},
|
|
2207
|
+
num_results: {
|
|
2208
|
+
type: "number",
|
|
2209
|
+
description: "Maximum number of results to return. Default: 8."
|
|
2210
|
+
}
|
|
2196
2211
|
},
|
|
2197
2212
|
required: ["searches"],
|
|
2198
2213
|
additionalProperties: false
|
package/package.json
CHANGED