chat-agent-toolkit 1.2.119 → 1.2.120

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.
@@ -1,2 +1,5 @@
1
+ /**
2
+ * @fileoverview Barrel export for shared utility modules (chat history helpers and LLM output parsers).
3
+ */
1
4
  export * from './chat-helpers';
2
5
  export * from './outputParser';
@@ -1,3 +1,10 @@
1
+ /**
2
+ * @fileoverview Crops a single provider's icon out of a shared sprite-sheet image.
3
+ *
4
+ * The sprite sheet is a 6-column by 4-row grid of provider logos; each provider's
5
+ * grid position is looked up in `PROVIDERS` and rendered onto a canvas, which can
6
+ * then be returned as a canvas, Blob, or data URL.
7
+ */
1
8
  declare const PROVIDERS: {
2
9
  readonly openrouter: {
3
10
  readonly row: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chat-agent-toolkit",
3
- "version": "1.2.119",
3
+ "version": "1.2.120",
4
4
  "description": "Multi-provider AI agent toolkit: generate language responses, search the web, extract content, and manage memory across 10+ LLM providers.",
5
5
  "author": "vtempest <grokthiscontact@gmail.com>",
6
6
  "license": "rights.institute/PROSPER",
@@ -49,6 +49,7 @@
49
49
  "scripts": {
50
50
  "build": "vite build",
51
51
  "test": "vitest",
52
+ "test:coverage": "vitest run --coverage",
52
53
  "test-ui": "vitest --ui --watch",
53
54
  "make": "rm -rf dist/*; NODE_OPTIONS=--max-old-space-size=15192 vite build",
54
55
  "ship": "npx standard-version --release-as patch && npm publish --access public"
@@ -68,6 +69,7 @@
68
69
  "devDependencies": {
69
70
  "@cloudflare/workers-types": "^4.20241127.0",
70
71
  "@types/node": "^22.0.0",
72
+ "@vitest/coverage-v8": "^4.0.18",
71
73
  "@vitest/ui": "^4.0.18",
72
74
  "terser": "^5.46.0",
73
75
  "typedoc-plugin-markdown": "^4.10.0",
@@ -1,3 +1,9 @@
1
+ /**
2
+ * @fileoverview Accessors for configured model providers and search-related settings.
3
+ *
4
+ * Thin read helpers over `configManager` for model provider lookups (by list or id)
5
+ * and SearxNG/Tavily search configuration (URL, API key, scrape count/timeout).
6
+ */
1
7
  import { configManager } from "./index";
2
8
  import type { ConfigModelProvider } from "./config-types";
3
9
 
@@ -1,2 +1,5 @@
1
+ /**
2
+ * @fileoverview Barrel export for shared utility modules (chat history helpers and LLM output parsers).
3
+ */
1
4
  export * from './chat-helpers';
2
5
  export * from './outputParser';
@@ -1,3 +1,10 @@
1
+ /**
2
+ * @fileoverview Crops a single provider's icon out of a shared sprite-sheet image.
3
+ *
4
+ * The sprite sheet is a 6-column by 4-row grid of provider logos; each provider's
5
+ * grid position is looked up in `PROVIDERS` and rendered onto a canvas, which can
6
+ * then be returned as a canvas, Blob, or data URL.
7
+ */
1
8
  const PROVIDERS = {
2
9
  openrouter: { row: 0, col: 0 },
3
10
  tongyi: { row: 0, col: 1 },