@exulu/backend 3.7.4 → 4.0.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.
Files changed (38) hide show
  1. package/dist/{chunk-27K2CO47.js → chunk-QMN6MVHQ.js} +1 -1
  2. package/dist/{chunk-AWMU6QXB.js → chunk-RBEWHG7I.js} +297 -39
  3. package/dist/cli/start-whisper.js +1 -1
  4. package/dist/{convert-exulu-tools-to-ai-sdk-tools-XNQ6Q3X6.js → convert-exulu-tools-to-ai-sdk-tools-6RU4IZMI.js} +1 -1
  5. package/dist/index.cjs +566 -217
  6. package/dist/index.d.cts +3 -1
  7. package/dist/index.d.ts +3 -1
  8. package/dist/index.js +250 -180
  9. package/dist/{python-setup-JZGHWQCG.js → python-setup-DRJ3QX5F.js} +1 -1
  10. package/ee/LICENSE.md +2 -2
  11. package/ee/agentic-retrieval/pipeline/config.test.ts +18 -1
  12. package/ee/agentic-retrieval/pipeline/config.ts +15 -0
  13. package/ee/agentic-retrieval/pipeline/index.test.ts +73 -0
  14. package/ee/agentic-retrieval/pipeline/index.ts +67 -13
  15. package/ee/agentic-retrieval/pipeline/memory.test.ts +59 -0
  16. package/ee/agentic-retrieval/pipeline/memory.ts +181 -11
  17. package/ee/agentic-retrieval/pipeline/pin-rerun.test.ts +17 -0
  18. package/ee/agentic-retrieval/pipeline/pin-rerun.ts +29 -0
  19. package/ee/agentic-retrieval/pipeline/routing.test.ts +34 -0
  20. package/ee/agentic-retrieval/pipeline/routing.ts +96 -5
  21. package/ee/agentic-retrieval/pipeline/search.ts +9 -6
  22. package/ee/agentic-retrieval/pipeline/timing.test.ts +24 -0
  23. package/ee/agentic-retrieval/pipeline/timing.ts +26 -0
  24. package/ee/agentic-retrieval/pipeline/types.ts +2 -0
  25. package/ee/python/documents/processing/README.md +2 -3
  26. package/ee/python/documents/processing/doc_processor.ts +21 -61
  27. package/ee/python/documents/processing/split_pdf.py +25 -30
  28. package/ee/python/documents/processing/tests/__init__.py +0 -0
  29. package/ee/python/documents/processing/tests/test_split_pdf.py +230 -0
  30. package/ee/python/requirements.txt +12 -2
  31. package/ee/python/setup.sh +40 -1
  32. package/ee/python/transcription/pipeline.py +109 -15
  33. package/ee/python/transcription/tests/test_align_model_licensing.py +184 -0
  34. package/ee/workers.ts +2 -7
  35. package/license.md +2 -2
  36. package/package.json +3 -4
  37. package/scripts/postinstall.cjs +52 -1
  38. package/ee/python/documents/processing/document_to_markdown.py +0 -413
package/dist/index.d.cts CHANGED
@@ -137,6 +137,8 @@ interface ExuluAgent {
137
137
  suggestions_enabled?: boolean;
138
138
  sandbox_enabled?: boolean;
139
139
  max_tool_steps?: number | null;
140
+ /** Thinking budget of the answer model, forwarded as LiteLLM reasoning_effort; null = provider default. */
141
+ reasoning_effort?: string | null;
140
142
  slug?: string;
141
143
  tools?: {
142
144
  id: string;
@@ -2341,7 +2343,7 @@ type DocumentProcessorConfig = {
2341
2343
  concurrency: number;
2342
2344
  };
2343
2345
  processor: {
2344
- name: "docling" | "liteparse" | "mistral" | "officeparser";
2346
+ name: "liteparse" | "mistral" | "officeparser";
2345
2347
  /**
2346
2348
  * LiteLLM model_name for the "mistral" OCR processor (declared in
2347
2349
  * config.litellm.yaml). Defaults to "mistral-ocr". OCR is routed through
package/dist/index.d.ts CHANGED
@@ -137,6 +137,8 @@ interface ExuluAgent {
137
137
  suggestions_enabled?: boolean;
138
138
  sandbox_enabled?: boolean;
139
139
  max_tool_steps?: number | null;
140
+ /** Thinking budget of the answer model, forwarded as LiteLLM reasoning_effort; null = provider default. */
141
+ reasoning_effort?: string | null;
140
142
  slug?: string;
141
143
  tools?: {
142
144
  id: string;
@@ -2341,7 +2343,7 @@ type DocumentProcessorConfig = {
2341
2343
  concurrency: number;
2342
2344
  };
2343
2345
  processor: {
2344
- name: "docling" | "liteparse" | "mistral" | "officeparser";
2346
+ name: "liteparse" | "mistral" | "officeparser";
2345
2347
  /**
2346
2348
  * LiteLLM model_name for the "mistral" OCR processor (declared in
2347
2349
  * config.litellm.yaml). Defaults to "mistral-ocr". OCR is routed through