vanilla-agent 1.11.0 → 1.12.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/dist/index.cjs +19 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.global.js +65 -59
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +19 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/runtime/init.ts +1 -1
- package/src/utils/code-generators.ts +1242 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vanilla-agent",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Themeable, plugable streaming agent widget for websites, in plain JS with support for voice input and reasoning / tool output.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
package/src/index.ts
CHANGED
|
@@ -59,6 +59,8 @@ export {
|
|
|
59
59
|
createRegexJsonParser,
|
|
60
60
|
createXmlParser
|
|
61
61
|
} from "./utils/formatting";
|
|
62
|
+
export { generateCodeSnippet } from "./utils/code-generators";
|
|
63
|
+
export type { CodeFormat } from "./utils/code-generators";
|
|
62
64
|
export type { AgentWidgetInitHandle };
|
|
63
65
|
|
|
64
66
|
// Plugin system exports
|
package/src/runtime/init.ts
CHANGED