@ai-sdk-tool/parser 2.1.3 → 2.1.5

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/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright 2025 Woonggi Min (https://github.com/minpeter)
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md CHANGED
@@ -124,6 +124,10 @@ See `examples/parser-core/src/*` for runnable demos (streaming/non‑streaming,
124
124
  - Set `DEBUG_PARSER_MW=parse` to log original matched text and parsed summary.
125
125
  - Optional `DEBUG_PARSER_MW_STYLE=bg|inverse|underline|bold` to change highlight style.
126
126
  - Provider options passthrough: `providerOptions.toolCallMiddleware` fields are merged into protocol options. Internal fields used:
127
- - `toolNames`: internal propagation of custom tool names.
127
+ - `originalTools`: internal propagation of custom tool schemas.
128
128
  - `toolChoice`: internal fast‑path activation for required/specific tool modes.
129
129
  - Transform details: `transformParams` injects a system message built from protocol `formatTools` and clears `tools` since many providers strip/ignore them.
130
+
131
+ ## License
132
+
133
+ Licensed under Apache License 2.0. See the repository `LICENSE`. Include the `NOTICE` file in distributions.