@exulu/backend 3.7.3 → 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 (41) hide show
  1. package/dist/{chunk-T6JVFT7L.js → chunk-QMN6MVHQ.js} +6 -1
  2. package/dist/{chunk-BNTL6LYY.js → chunk-RBEWHG7I.js} +404 -59
  3. package/dist/cli/start-whisper.js +1 -1
  4. package/dist/{convert-exulu-tools-to-ai-sdk-tools-UQSLJDXE.js → convert-exulu-tools-to-ai-sdk-tools-6RU4IZMI.js} +1 -1
  5. package/dist/index.cjs +957 -474
  6. package/dist/index.d.cts +3 -6
  7. package/dist/index.d.ts +3 -6
  8. package/dist/index.js +258 -182
  9. package/dist/python-setup-DRJ3QX5F.js +17 -0
  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/invoke-skills/artifact-filter.test.ts +49 -0
  26. package/ee/invoke-skills/artifact-filter.ts +38 -0
  27. package/ee/invoke-skills/create-sandbox.ts +56 -4
  28. package/ee/python/documents/processing/README.md +2 -3
  29. package/ee/python/documents/processing/doc_processor.ts +21 -61
  30. package/ee/python/documents/processing/split_pdf.py +25 -30
  31. package/ee/python/documents/processing/tests/__init__.py +0 -0
  32. package/ee/python/documents/processing/tests/test_split_pdf.py +230 -0
  33. package/ee/python/requirements.txt +17 -2
  34. package/ee/python/setup.sh +40 -1
  35. package/ee/python/transcription/pipeline.py +109 -15
  36. package/ee/python/transcription/tests/test_align_model_licensing.py +184 -0
  37. package/ee/workers.ts +2 -7
  38. package/license.md +2 -2
  39. package/package.json +3 -4
  40. package/scripts/postinstall.cjs +52 -1
  41. 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;
@@ -2252,11 +2254,6 @@ interface PythonSetupResult {
2252
2254
  /** Full output from setup script */
2253
2255
  output?: string;
2254
2256
  }
2255
- /**
2256
- * Check if Python environment is already set up
2257
- * Note: This only checks if the venv exists, not if packages are installed.
2258
- * Use validatePythonEnvironment() for a more thorough check.
2259
- */
2260
2257
  declare function isPythonEnvironmentSetup(packageRoot?: string): boolean;
2261
2258
  /**
2262
2259
  * Set up the Python environment by running the setup script
@@ -2346,7 +2343,7 @@ type DocumentProcessorConfig = {
2346
2343
  concurrency: number;
2347
2344
  };
2348
2345
  processor: {
2349
- name: "docling" | "liteparse" | "mistral" | "officeparser";
2346
+ name: "liteparse" | "mistral" | "officeparser";
2350
2347
  /**
2351
2348
  * LiteLLM model_name for the "mistral" OCR processor (declared in
2352
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;
@@ -2252,11 +2254,6 @@ interface PythonSetupResult {
2252
2254
  /** Full output from setup script */
2253
2255
  output?: string;
2254
2256
  }
2255
- /**
2256
- * Check if Python environment is already set up
2257
- * Note: This only checks if the venv exists, not if packages are installed.
2258
- * Use validatePythonEnvironment() for a more thorough check.
2259
- */
2260
2257
  declare function isPythonEnvironmentSetup(packageRoot?: string): boolean;
2261
2258
  /**
2262
2259
  * Set up the Python environment by running the setup script
@@ -2346,7 +2343,7 @@ type DocumentProcessorConfig = {
2346
2343
  concurrency: number;
2347
2344
  };
2348
2345
  processor: {
2349
- name: "docling" | "liteparse" | "mistral" | "officeparser";
2346
+ name: "liteparse" | "mistral" | "officeparser";
2350
2347
  /**
2351
2348
  * LiteLLM model_name for the "mistral" OCR processor (declared in
2352
2349
  * config.litellm.yaml). Defaults to "mistral-ocr". OCR is routed through