veryfront 0.0.62 → 0.0.64
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/ai/index.js +28 -28
- package/dist/ai/index.js.map +2 -2
- package/dist/ai/workflow.js +26 -24
- package/dist/ai/workflow.js.map +2 -2
- package/dist/cli.js +228 -2989
- package/dist/components.js +407 -224
- package/dist/components.js.map +4 -4
- package/dist/config.js +26 -24
- package/dist/config.js.map +2 -2
- package/dist/data.js +26 -24
- package/dist/data.js.map +2 -2
- package/dist/index.js +415 -229
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
package/dist/ai/index.js
CHANGED
|
@@ -1675,14 +1675,14 @@ var LRU_DEFAULT_MAX_SIZE_BYTES = 50 * 1024 * 1024;
|
|
|
1675
1675
|
// deno.json
|
|
1676
1676
|
var deno_default = {
|
|
1677
1677
|
name: "veryfront",
|
|
1678
|
-
version: "0.0.
|
|
1678
|
+
version: "0.0.64",
|
|
1679
|
+
nodeModulesDir: "auto",
|
|
1679
1680
|
exclude: [
|
|
1680
1681
|
"npm/",
|
|
1681
1682
|
"dist/",
|
|
1682
1683
|
"coverage/",
|
|
1683
1684
|
"scripts/",
|
|
1684
1685
|
"examples/",
|
|
1685
|
-
"tests/",
|
|
1686
1686
|
"src/cli/templates/files/",
|
|
1687
1687
|
"src/cli/templates/integrations/"
|
|
1688
1688
|
],
|
|
@@ -1766,34 +1766,36 @@ var deno_default = {
|
|
|
1766
1766
|
"react-dom/client": "https://esm.sh/react-dom@18.3.1/client",
|
|
1767
1767
|
"react/jsx-runtime": "https://esm.sh/react@18.3.1/jsx-runtime",
|
|
1768
1768
|
"react/jsx-dev-runtime": "https://esm.sh/react@18.3.1/jsx-dev-runtime",
|
|
1769
|
-
"@mdx-js/mdx": "
|
|
1770
|
-
"@mdx-js/react": "
|
|
1771
|
-
"unist-util-visit": "
|
|
1772
|
-
"mdast-util-to-string": "
|
|
1773
|
-
"github-slugger": "
|
|
1774
|
-
"remark-gfm": "
|
|
1775
|
-
"remark-frontmatter": "
|
|
1776
|
-
"rehype-highlight": "
|
|
1777
|
-
"rehype-slug": "
|
|
1769
|
+
"@mdx-js/mdx": "npm:@mdx-js/mdx@3.0.0",
|
|
1770
|
+
"@mdx-js/react": "npm:@mdx-js/react@3.0.0",
|
|
1771
|
+
"unist-util-visit": "npm:unist-util-visit@5.0.0",
|
|
1772
|
+
"mdast-util-to-string": "npm:mdast-util-to-string@4.0.0",
|
|
1773
|
+
"github-slugger": "npm:github-slugger@2.0.0",
|
|
1774
|
+
"remark-gfm": "npm:remark-gfm@4.0.1",
|
|
1775
|
+
"remark-frontmatter": "npm:remark-frontmatter@5.0.0",
|
|
1776
|
+
"rehype-highlight": "npm:rehype-highlight@7.0.2",
|
|
1777
|
+
"rehype-slug": "npm:rehype-slug@6.0.0",
|
|
1778
1778
|
esbuild: "https://deno.land/x/esbuild@v0.20.1/wasm.js",
|
|
1779
1779
|
"esbuild/mod.js": "https://deno.land/x/esbuild@v0.20.1/mod.js",
|
|
1780
|
-
"es-module-lexer": "
|
|
1781
|
-
zod: "
|
|
1782
|
-
"mime-types": "
|
|
1783
|
-
mdast: "
|
|
1784
|
-
hast: "
|
|
1785
|
-
unist: "
|
|
1786
|
-
unified: "
|
|
1787
|
-
ai: "https://esm.sh/ai@5.0.
|
|
1788
|
-
"ai/react": "https://esm.sh/@ai-sdk/react@2.0.
|
|
1789
|
-
"@ai-sdk/react": "https://esm.sh/@ai-sdk/react@2.0.
|
|
1790
|
-
"@ai-sdk/openai": "https://esm.sh/@ai-sdk/openai@2.0.
|
|
1791
|
-
"@ai-sdk/anthropic": "https://esm.sh/@ai-sdk/anthropic@2.0.
|
|
1780
|
+
"es-module-lexer": "npm:es-module-lexer@1.5.0",
|
|
1781
|
+
zod: "npm:zod@3.23.8",
|
|
1782
|
+
"mime-types": "npm:mime-types@2.1.35",
|
|
1783
|
+
mdast: "npm:@types/mdast@4.0.3",
|
|
1784
|
+
hast: "npm:@types/hast@3.0.3",
|
|
1785
|
+
unist: "npm:@types/unist@3.0.2",
|
|
1786
|
+
unified: "npm:unified@11.0.5",
|
|
1787
|
+
ai: "https://esm.sh/ai@5.0.108?deps=react@18.3.1,react-dom@18.3.1",
|
|
1788
|
+
"ai/react": "https://esm.sh/@ai-sdk/react@2.0.109?deps=react@18.3.1,react-dom@18.3.1",
|
|
1789
|
+
"@ai-sdk/react": "https://esm.sh/@ai-sdk/react@2.0.109?deps=react@18.3.1,react-dom@18.3.1",
|
|
1790
|
+
"@ai-sdk/openai": "https://esm.sh/@ai-sdk/openai@2.0.80",
|
|
1791
|
+
"@ai-sdk/anthropic": "https://esm.sh/@ai-sdk/anthropic@2.0.54",
|
|
1792
1792
|
unocss: "https://esm.sh/unocss@0.59.0",
|
|
1793
1793
|
"@unocss/core": "https://esm.sh/@unocss/core@0.59.0",
|
|
1794
1794
|
"@unocss/preset-wind": "https://esm.sh/@unocss/preset-wind@0.59.0",
|
|
1795
1795
|
redis: "npm:redis",
|
|
1796
|
-
pg: "npm:pg"
|
|
1796
|
+
pg: "npm:pg",
|
|
1797
|
+
"@opentelemetry/api": "npm:@opentelemetry/api@1",
|
|
1798
|
+
"@opentelemetry/core": "npm:@opentelemetry/core@1"
|
|
1797
1799
|
},
|
|
1798
1800
|
compilerOptions: {
|
|
1799
1801
|
jsx: "react-jsx",
|
|
@@ -2351,12 +2353,10 @@ var TracingManager = class {
|
|
|
2351
2353
|
}
|
|
2352
2354
|
}
|
|
2353
2355
|
async initializeTracer(config) {
|
|
2354
|
-
const
|
|
2355
|
-
const api = await import(otelApiModule);
|
|
2356
|
+
const api = await import("@opentelemetry/api");
|
|
2356
2357
|
this.state.api = api;
|
|
2357
2358
|
this.state.tracer = api.trace.getTracer(config.serviceName || "veryfront", "0.1.0");
|
|
2358
|
-
const
|
|
2359
|
-
const { W3CTraceContextPropagator } = await import(otelCoreModule);
|
|
2359
|
+
const { W3CTraceContextPropagator } = await import("@opentelemetry/core");
|
|
2360
2360
|
const propagator = new W3CTraceContextPropagator();
|
|
2361
2361
|
this.state.propagator = propagator;
|
|
2362
2362
|
api.propagation.setGlobalPropagator(propagator);
|