@backtest-kit/ollama 6.7.0 → 6.9.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/build/index.cjs CHANGED
@@ -387,7 +387,7 @@ const DUMP_SIGNAL_FN = async (signalId, history, signal, outputDir = "./dump/out
387
387
  summary += "\n";
388
388
  });
389
389
  }
390
- await backtestKit.Markdown.writeData("outline", summary, {
390
+ await backtestKit.MarkdownWriter.writeData("outline", summary, {
391
391
  path: subfolderPath,
392
392
  file: "00_system_prompt.md",
393
393
  symbol: "",
@@ -413,7 +413,7 @@ const DUMP_SIGNAL_FN = async (signalId, history, signal, outputDir = "./dump/out
413
413
  content += `**ResultId**: ${String(signalId)}\n\n`;
414
414
  content += message.content;
415
415
  content += "\n";
416
- await backtestKit.Markdown.writeData("outline", content, {
416
+ await backtestKit.MarkdownWriter.writeData("outline", content, {
417
417
  path: subfolderPath,
418
418
  file: contentFileName,
419
419
  signalId: String(signalId),
@@ -436,7 +436,7 @@ const DUMP_SIGNAL_FN = async (signalId, history, signal, outputDir = "./dump/out
436
436
  content += JSON.stringify(signal, null, 2);
437
437
  content += "\n```\n";
438
438
  }
439
- await backtestKit.Markdown.writeData("outline", content, {
439
+ await backtestKit.MarkdownWriter.writeData("outline", content, {
440
440
  path: subfolderPath,
441
441
  file: contentFileName,
442
442
  symbol: "",
package/build/index.mjs CHANGED
@@ -4,7 +4,7 @@ import path, { join } from 'path';
4
4
  import { createRequire } from 'module';
5
5
  import { createActivator } from 'di-kit';
6
6
  import { memoize, ToolRegistry, Subject, trycatch, errorData, getErrorMessage, iterateDocuments, distinctDocuments, resolveDocuments, singleshot, randomString, fetchApi, str, timeout } from 'functools-kit';
7
- import { Markdown, getSymbol, getContext, getMode } from 'backtest-kit';
7
+ import { MarkdownWriter, getSymbol, getContext, getMode } from 'backtest-kit';
8
8
  import MarkdownIt from 'markdown-it';
9
9
  import sanitizeHtml from 'sanitize-html';
10
10
  import { lint } from 'markdownlint/promise';
@@ -384,7 +384,7 @@ const DUMP_SIGNAL_FN = async (signalId, history, signal, outputDir = "./dump/out
384
384
  summary += "\n";
385
385
  });
386
386
  }
387
- await Markdown.writeData("outline", summary, {
387
+ await MarkdownWriter.writeData("outline", summary, {
388
388
  path: subfolderPath,
389
389
  file: "00_system_prompt.md",
390
390
  symbol: "",
@@ -410,7 +410,7 @@ const DUMP_SIGNAL_FN = async (signalId, history, signal, outputDir = "./dump/out
410
410
  content += `**ResultId**: ${String(signalId)}\n\n`;
411
411
  content += message.content;
412
412
  content += "\n";
413
- await Markdown.writeData("outline", content, {
413
+ await MarkdownWriter.writeData("outline", content, {
414
414
  path: subfolderPath,
415
415
  file: contentFileName,
416
416
  signalId: String(signalId),
@@ -433,7 +433,7 @@ const DUMP_SIGNAL_FN = async (signalId, history, signal, outputDir = "./dump/out
433
433
  content += JSON.stringify(signal, null, 2);
434
434
  content += "\n```\n";
435
435
  }
436
- await Markdown.writeData("outline", content, {
436
+ await MarkdownWriter.writeData("outline", content, {
437
437
  path: subfolderPath,
438
438
  file: contentFileName,
439
439
  symbol: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/ollama",
3
- "version": "6.7.0",
3
+ "version": "6.9.0",
4
4
  "description": "Multi-provider LLM inference library for AI-powered trading strategies. Supports 10+ providers including OpenAI, Claude, DeepSeek, Grok, Mistral with unified API and automatic token rotation.",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
@@ -81,24 +81,24 @@
81
81
  "ts-morph": "27.0.2",
82
82
  "tslib": "2.7.0",
83
83
  "typedoc": "0.27.9",
84
- "backtest-kit": "6.7.0",
84
+ "backtest-kit": "6.9.0",
85
85
  "worker-testbed": "1.0.12"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "@huggingface/inference": "^4.7.1",
89
89
  "@langchain/core": "^0.3.57",
90
90
  "@langchain/xai": "^0.0.2",
91
- "backtest-kit": "^6.7.0",
91
+ "backtest-kit": "^6.9.0",
92
92
  "groq-sdk": "^0.37.0",
93
93
  "ollama": "^0.6.0",
94
94
  "openai": "^4.97.0",
95
95
  "typescript": "^5.0.0"
96
96
  },
97
97
  "dependencies": {
98
- "agent-swarm-kit": "^1.4.0",
98
+ "agent-swarm-kit": "^1.6.0",
99
99
  "di-kit": "^1.1.1",
100
100
  "di-scoped": "^1.0.21",
101
- "functools-kit": "^1.0.95",
101
+ "functools-kit": "^1.1.1",
102
102
  "get-moment-stamp": "^1.1.2",
103
103
  "jsonrepair": "^3.12.0",
104
104
  "markdown-it": "^14.1.0",