@m6d/cortex-cli 0.10.0 → 0.10.2
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/package.json
CHANGED
|
@@ -233,11 +233,14 @@ export type RuntimeAgentConfig = z.infer<typeof runtimeAgentConfigSchema>;
|
|
|
233
233
|
const retrievalQuerySchema = z.string().trim().min(1).max(4000);
|
|
234
234
|
const threadIdSchema = z.string().max(128);
|
|
235
235
|
|
|
236
|
+
/** How many recent tool names one resolve request may carry. */
|
|
237
|
+
export const RECENT_TOOL_NAMES_MAX = 20;
|
|
238
|
+
|
|
236
239
|
export const resolveRequestSchema = z.object({
|
|
237
240
|
query: retrievalQuerySchema,
|
|
238
241
|
threadId: threadIdSchema,
|
|
239
242
|
/** Sandbox tools the thread called recently; resolve ranks them ahead of cold ones. */
|
|
240
|
-
recentToolNames: z.array(z.string()).max(
|
|
243
|
+
recentToolNames: z.array(z.string()).max(RECENT_TOOL_NAMES_MAX),
|
|
241
244
|
limits: z
|
|
242
245
|
.object({
|
|
243
246
|
knowledge: z.number().int().min(0).max(20),
|
package/src/scaffold/files.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type Database = "postgres" | "mssql";
|
|
|
27
27
|
// sync (scripts/sync-package-versions.ts) restamps it and files.test.ts holds
|
|
28
28
|
// them to that.
|
|
29
29
|
export const DEPENDENCIES = {
|
|
30
|
-
"@m6d/cortex-server": "~0.10.
|
|
30
|
+
"@m6d/cortex-server": "~0.10.2",
|
|
31
31
|
"@tanstack/ai": "^0.55.0",
|
|
32
32
|
"@tanstack/ai-openai": "^0.22.8",
|
|
33
33
|
hono: "^4.12.3",
|