llm-strings 1.4.0 → 1.5.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.
@@ -5,7 +5,7 @@ interface ValidationIssue {
5
5
  severity: "error" | "warning";
6
6
  }
7
7
  interface ValidateOptions {
8
- /** Promote warnings (unknown provider, unknown params) to errors. */
8
+ /** Report unknown providers/params as errors instead of allowing model-specific params through. */
9
9
  strict?: boolean;
10
10
  }
11
11
  /**
@@ -5,7 +5,7 @@ interface ValidationIssue {
5
5
  severity: "error" | "warning";
6
6
  }
7
7
  interface ValidateOptions {
8
- /** Promote warnings (unknown provider, unknown params) to errors. */
8
+ /** Report unknown providers/params as errors instead of allowing model-specific params through. */
9
9
  strict?: boolean;
10
10
  }
11
11
  /**
package/dist/validate.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  validate
3
- } from "./chunk-OBLFZFNR.js";
4
- import "./chunk-DPVT3FFP.js";
5
- import "./chunk-5YTG2NRX.js";
6
- import "./chunk-76EFNZCF.js";
3
+ } from "./chunk-4BE457QA.js";
4
+ import "./chunk-7Z7DCLZN.js";
5
+ import "./chunk-6HQOCOQI.js";
6
+ import "./chunk-PCJDQTOV.js";
7
7
  export {
8
8
  validate
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-strings",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "packageManager": "pnpm@11.1.1",
5
5
  "description": "Parse and build LLM connection strings — like database URLs, but for LLM APIs",
6
6
  "type": "module",
@@ -77,6 +77,7 @@
77
77
  "build": "tsup",
78
78
  "test": "vitest run",
79
79
  "test:watch": "vitest",
80
+ "test:coverage": "vitest run --coverage",
80
81
  "lint": "eslint .",
81
82
  "format": "prettier --write .",
82
83
  "format:check": "prettier --check .",
@@ -89,11 +90,24 @@
89
90
  "keywords": [
90
91
  "llm",
91
92
  "connection-string",
93
+ "url",
92
94
  "openai",
93
95
  "anthropic",
96
+ "google",
97
+ "bedrock",
98
+ "mistral",
99
+ "cohere",
100
+ "groq",
94
101
  "ai",
95
- "parser"
102
+ "parser",
103
+ "validation",
104
+ "normalize",
105
+ "typescript"
96
106
  ],
107
+ "homepage": "https://github.com/justsml/llm-strings#readme",
108
+ "bugs": {
109
+ "url": "https://github.com/justsml/llm-strings/issues"
110
+ },
97
111
  "repository": {
98
112
  "type": "git",
99
113
  "url": "git+https://github.com/justsml/llm-strings.git"