@sidecar-ai/cli 0.1.0-alpha.7 → 0.1.0-alpha.8
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1906,7 +1906,7 @@ function analyzeProjectConfig(rootDir) {
|
|
|
1906
1906
|
listChanged: readBooleanNested(definition, "tools", "listChanged") ?? false
|
|
1907
1907
|
},
|
|
1908
1908
|
pagination: {
|
|
1909
|
-
pageSize: readNumberNested(definition, "pagination", "pageSize") ??
|
|
1909
|
+
pageSize: readNumberNested(definition, "pagination", "pageSize") ?? 50,
|
|
1910
1910
|
hasOverride: hasProperty(readObjectProperty3(definition, "pagination"), "override")
|
|
1911
1911
|
}
|
|
1912
1912
|
};
|
|
@@ -1963,7 +1963,7 @@ function defaultCompilerConfig() {
|
|
|
1963
1963
|
listChanged: false
|
|
1964
1964
|
},
|
|
1965
1965
|
pagination: {
|
|
1966
|
-
pageSize:
|
|
1966
|
+
pageSize: 50,
|
|
1967
1967
|
hasOverride: false
|
|
1968
1968
|
}
|
|
1969
1969
|
};
|
|
@@ -4035,7 +4035,7 @@ var SidecarMcpServer = class {
|
|
|
4035
4035
|
/** Returns the server-chosen page size for all built-in list pagination. */
|
|
4036
4036
|
pageSize() {
|
|
4037
4037
|
const configured = this.options.pagination?.pageSize;
|
|
4038
|
-
return configured && configured > 0 ? Math.floor(configured) :
|
|
4038
|
+
return configured && configured > 0 ? Math.floor(configured) : 50;
|
|
4039
4039
|
}
|
|
4040
4040
|
/** Executes a tool after request-level and tool-level auth checks. */
|
|
4041
4041
|
async callTool(request, context) {
|