@massa-ai/tools-api 1.19.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -50705,6 +50705,9 @@ async function _checkJsonSchemaSupport() {
|
|
|
50705
50705
|
return false;
|
|
50706
50706
|
}
|
|
50707
50707
|
}
|
|
50708
|
+
function _setJsonSchemaSupportedForTesting(flag) {
|
|
50709
|
+
_jsonSchemaSupported = flag;
|
|
50710
|
+
}
|
|
50708
50711
|
function isLlmEnabled() {
|
|
50709
50712
|
if (testEnabledOverride !== null)
|
|
50710
50713
|
return testEnabledOverride;
|
|
@@ -50714,6 +50717,9 @@ function isLlmEnabled() {
|
|
|
50714
50717
|
return false;
|
|
50715
50718
|
}
|
|
50716
50719
|
}
|
|
50720
|
+
function _setLlmEnabledForTesting(flag) {
|
|
50721
|
+
testEnabledOverride = flag;
|
|
50722
|
+
}
|
|
50717
50723
|
function getLlmConfig(opts) {
|
|
50718
50724
|
const cfg = config.get("llm");
|
|
50719
50725
|
const role = opts?.modelRole ?? "instruct";
|
|
@@ -150436,6 +150442,8 @@ __export(exports_services, {
|
|
|
150436
150442
|
applyChainInhibition: () => applyChainInhibition,
|
|
150437
150443
|
applyAttentionScore: () => applyAttentionScore,
|
|
150438
150444
|
analyzeSpectrum: () => analyzeSpectrum,
|
|
150445
|
+
_setLlmEnabledForTesting: () => _setLlmEnabledForTesting,
|
|
150446
|
+
_setJsonSchemaSupportedForTesting: () => _setJsonSchemaSupportedForTesting,
|
|
150439
150447
|
ZIG_QUERY_PACK: () => ZIG_QUERY_PACK,
|
|
150440
150448
|
WorkspaceManager: () => WorkspaceManager,
|
|
150441
150449
|
WorkingMemoryBuffer: () => WorkingMemoryBuffer,
|
|
@@ -150558,6 +150566,7 @@ var init_services = __esm(() => {
|
|
|
150558
150566
|
init_index_manager();
|
|
150559
150567
|
init_search_diagnostics();
|
|
150560
150568
|
init_memory_controller();
|
|
150569
|
+
init_llm_client();
|
|
150561
150570
|
init_search_controller();
|
|
150562
150571
|
init_context_controller();
|
|
150563
150572
|
init_executor_controller();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@massa-ai/tools-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"author": "luizgmassa",
|
|
5
5
|
"description": "massa-ai REST API server - Semantic code search, memory, and context compression",
|
|
6
6
|
"type": "module",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"test": "bun scripts/run-tests-isolated.ts"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@massa-ai/core": "^1.
|
|
25
|
-
"@massa-ai/shared": "^1.
|
|
24
|
+
"@massa-ai/core": "^1.21.0",
|
|
25
|
+
"@massa-ai/shared": "^1.21.0",
|
|
26
26
|
"elysia": "^1.2.25",
|
|
27
27
|
"@elysiajs/swagger": "^1.2.0",
|
|
28
28
|
"@elysiajs/cors": "^1.2.0",
|