veryfront 0.1.1107 → 0.1.1108
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/esm/deno.js +1 -1
- package/esm/src/agent/streaming/tool-input.js +1 -1
- package/esm/src/server/build-routes.d.ts.map +1 -1
- package/esm/src/server/build-routes.js +6 -1
- package/esm/src/transforms/pipeline/stages/browser-server-exports-strip.d.ts.map +1 -1
- package/esm/src/transforms/pipeline/stages/browser-server-exports-strip.js +141 -0
- package/esm/src/utils/logger/logger.d.ts.map +1 -1
- package/esm/src/utils/logger/logger.js +2 -1
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/utils/version.js +1 -1
- package/package.json +5 -5
package/esm/deno.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { serverLogger } from "../../utils/
|
|
1
|
+
import { serverLogger } from "../../utils/logger/logger.js";
|
|
2
2
|
const logger = serverLogger.component("agent-tool-input");
|
|
3
3
|
function isRecord(value) {
|
|
4
4
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-routes.d.ts","sourceRoot":"","sources":["../../../src/src/server/build-routes.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"build-routes.d.ts","sourceRoot":"","sources":["../../../src/src/server/build-routes.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAgChE,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,MAAM,EAAE,EAClB,OAAO,CAAC,EAAE,MAAM,EAAE,EAClB,cAAc,SAAU,GACvB,OAAO,CAAC,SAAS,EAAE,CAAC,CA0BtB;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,MAAM,EAAE,EAClB,OAAO,CAAC,EAAE,MAAM,EAAE,EAClB,YAAY,SAAQ,GACnB,OAAO,CAAC,YAAY,EAAE,CAAC,CAgBzB"}
|
|
@@ -8,6 +8,7 @@ import { discoverFiles } from "../utils/file-discovery.js";
|
|
|
8
8
|
import { isDynamicRoute, isDynamicSegment } from "../utils/route-path-utils.js";
|
|
9
9
|
const PAGE_EXTENSIONS = [".mdx", ".md", ".tsx", ".jsx", ".ts", ".js"];
|
|
10
10
|
const PAGE_CANDIDATES = ["page.mdx", "page.md", "page.tsx", "page.jsx", "page.ts", "page.js"];
|
|
11
|
+
const PAGES_LAYOUT_CANDIDATES = new Set(PAGE_EXTENSIONS.map((extension) => `layout${extension}`));
|
|
11
12
|
function convertToSlug(relativePath) {
|
|
12
13
|
return (relativePath
|
|
13
14
|
.replace(/\\/g, "/")
|
|
@@ -17,6 +18,10 @@ function convertToSlug(relativePath) {
|
|
|
17
18
|
function isPagesApiDirectoryDescendant(relativePath) {
|
|
18
19
|
return relativePath.replace(/\\/g, "/").startsWith("api/");
|
|
19
20
|
}
|
|
21
|
+
function isPagesLayoutFile(relativePath) {
|
|
22
|
+
const fileName = relativePath.replace(/\\/g, "/").split("/").pop();
|
|
23
|
+
return fileName !== undefined && PAGES_LAYOUT_CANDIDATES.has(fileName);
|
|
24
|
+
}
|
|
20
25
|
function shouldIncludeRoute(path, include, exclude) {
|
|
21
26
|
if (include?.length && !include.some((p) => path.startsWith(p)))
|
|
22
27
|
return false;
|
|
@@ -37,7 +42,7 @@ export async function collectPagesRoutes(adapter, projectDir, include, exclude,
|
|
|
37
42
|
}
|
|
38
43
|
for await (const file of discoverFiles({ baseDir: pagesDir, extensions: PAGE_EXTENSIONS, adapter })) {
|
|
39
44
|
const relativePath = relative(pagesDir, file.path);
|
|
40
|
-
if (isPagesApiDirectoryDescendant(relativePath))
|
|
45
|
+
if (isPagesApiDirectoryDescendant(relativePath) || isPagesLayoutFile(relativePath))
|
|
41
46
|
continue;
|
|
42
47
|
const slug = convertToSlug(relativePath);
|
|
43
48
|
const pathForRoute = `/${slug === "index" ? "" : slug}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser-server-exports-strip.d.ts","sourceRoot":"","sources":["../../../../../src/src/transforms/pipeline/stages/browser-server-exports-strip.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AAIH,OAAO,KAAK,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"browser-server-exports-strip.d.ts","sourceRoot":"","sources":["../../../../../src/src/transforms/pipeline/stages/browser-server-exports-strip.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AAIH,OAAO,KAAK,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAC;AAq8BrE;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CA+C7F;AAED,eAAO,MAAM,+BAA+B,EAAE,eAO7C,CAAC"}
|
|
@@ -671,6 +671,135 @@ function hookReferencedIdentifiers(body, targets) {
|
|
|
671
671
|
}
|
|
672
672
|
return referenced;
|
|
673
673
|
}
|
|
674
|
+
function literalText(node) {
|
|
675
|
+
if (!node)
|
|
676
|
+
return null;
|
|
677
|
+
return typeof node.value === "string" ? node.value : nodeName(node);
|
|
678
|
+
}
|
|
679
|
+
function stringLiteralText(node) {
|
|
680
|
+
return node && typeof node.value === "string" ? node.value : null;
|
|
681
|
+
}
|
|
682
|
+
function isObjectDefineProperty(node) {
|
|
683
|
+
if (!node || node.type !== "MemberExpression")
|
|
684
|
+
return false;
|
|
685
|
+
return nodeName(node.object) === "Object" &&
|
|
686
|
+
literalText(isNode(node.property) ? node.property : undefined) === "defineProperty";
|
|
687
|
+
}
|
|
688
|
+
function returnedCall(node) {
|
|
689
|
+
const body = node.body;
|
|
690
|
+
if (!isNode(body))
|
|
691
|
+
return null;
|
|
692
|
+
if (body.type === "CallExpression")
|
|
693
|
+
return body;
|
|
694
|
+
if (body.type !== "BlockStatement" || !Array.isArray(body.body) || body.body.length !== 1) {
|
|
695
|
+
return null;
|
|
696
|
+
}
|
|
697
|
+
const statement = body.body[0];
|
|
698
|
+
if (!isNode(statement) || statement.type !== "ReturnStatement" || !isNode(statement.argument)) {
|
|
699
|
+
return null;
|
|
700
|
+
}
|
|
701
|
+
return statement.argument.type === "CallExpression" ? statement.argument : null;
|
|
702
|
+
}
|
|
703
|
+
function isTrueExpression(node) {
|
|
704
|
+
if (!node)
|
|
705
|
+
return false;
|
|
706
|
+
if (node.value === true)
|
|
707
|
+
return true;
|
|
708
|
+
return node.type === "UnaryExpression" && node.operator === "!" &&
|
|
709
|
+
isNode(node.argument) && node.argument.value === 0;
|
|
710
|
+
}
|
|
711
|
+
function isNameDescriptor(node, valueParam) {
|
|
712
|
+
if (!node || node.type !== "ObjectExpression")
|
|
713
|
+
return false;
|
|
714
|
+
let hasValue = false;
|
|
715
|
+
let configurable = false;
|
|
716
|
+
for (const property of Array.isArray(node.properties) ? node.properties : []) {
|
|
717
|
+
if (!isNode(property) || property.type !== "ObjectProperty")
|
|
718
|
+
continue;
|
|
719
|
+
const key = literalText(isNode(property.key) ? property.key : undefined);
|
|
720
|
+
const value = isNode(property.value) ? property.value : undefined;
|
|
721
|
+
if (key === "value" && nodeName(value) === valueParam)
|
|
722
|
+
hasValue = true;
|
|
723
|
+
if (key === "configurable" && isTrueExpression(value))
|
|
724
|
+
configurable = true;
|
|
725
|
+
}
|
|
726
|
+
return hasValue && configurable;
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* Bindings for esbuild's `keepNames` helper. Release modules are compiled
|
|
730
|
+
* before the browser transform, so their declarations are followed by calls
|
|
731
|
+
* like `__name(loadPage, "loadPage")`. Recognise the helper by its exact
|
|
732
|
+
* `Object.defineProperty(target, "name", …)` semantics rather than by its
|
|
733
|
+
* minified binding name.
|
|
734
|
+
*/
|
|
735
|
+
function compilerNameHelperBindings(body) {
|
|
736
|
+
const initializers = new Map();
|
|
737
|
+
for (const statement of body) {
|
|
738
|
+
if (statement.type !== "VariableDeclaration")
|
|
739
|
+
continue;
|
|
740
|
+
for (const declarator of Array.isArray(statement.declarations) ? statement.declarations : []) {
|
|
741
|
+
if (!isNode(declarator) || !isNode(declarator.init))
|
|
742
|
+
continue;
|
|
743
|
+
const name = nodeName(declarator.id);
|
|
744
|
+
if (name)
|
|
745
|
+
initializers.set(name, declarator.init);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
const definePropertyBindings = new Set();
|
|
749
|
+
for (const [name, init] of initializers) {
|
|
750
|
+
if (isObjectDefineProperty(init))
|
|
751
|
+
definePropertyBindings.add(name);
|
|
752
|
+
}
|
|
753
|
+
const helpers = new Set();
|
|
754
|
+
for (const [name, init] of initializers) {
|
|
755
|
+
if (init.type !== "ArrowFunctionExpression" && init.type !== "FunctionExpression")
|
|
756
|
+
continue;
|
|
757
|
+
const params = Array.isArray(init.params) ? init.params.filter(isNode) : [];
|
|
758
|
+
if (params.length !== 2)
|
|
759
|
+
continue;
|
|
760
|
+
const targetParam = nodeName(params[0]);
|
|
761
|
+
const valueParam = nodeName(params[1]);
|
|
762
|
+
if (!targetParam || !valueParam)
|
|
763
|
+
continue;
|
|
764
|
+
const call = returnedCall(init);
|
|
765
|
+
if (!call)
|
|
766
|
+
continue;
|
|
767
|
+
const callee = isNode(call.callee) ? call.callee : undefined;
|
|
768
|
+
const callsDefineProperty = isObjectDefineProperty(callee) ||
|
|
769
|
+
(callee?.type === "Identifier" && definePropertyBindings.has(nodeName(callee) ?? ""));
|
|
770
|
+
if (!callsDefineProperty)
|
|
771
|
+
continue;
|
|
772
|
+
const args = Array.isArray(call.arguments) ? call.arguments.filter(isNode) : [];
|
|
773
|
+
if (args.length === 3 && nodeName(args[0]) === targetParam &&
|
|
774
|
+
stringLiteralText(args[1]) === "name" && isNameDescriptor(args[2], valueParam)) {
|
|
775
|
+
helpers.add(name);
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
return helpers;
|
|
779
|
+
}
|
|
780
|
+
function compilerNameRegistrations(body) {
|
|
781
|
+
const helpers = compilerNameHelperBindings(body);
|
|
782
|
+
if (helpers.size === 0)
|
|
783
|
+
return [];
|
|
784
|
+
const registrations = [];
|
|
785
|
+
for (const statement of body) {
|
|
786
|
+
if (statement.type !== "ExpressionStatement" || !isNode(statement.expression))
|
|
787
|
+
continue;
|
|
788
|
+
const expression = statement.expression;
|
|
789
|
+
if (expression.type !== "CallExpression" || !isNode(expression.callee))
|
|
790
|
+
continue;
|
|
791
|
+
if (!helpers.has(nodeName(expression.callee) ?? ""))
|
|
792
|
+
continue;
|
|
793
|
+
const args = Array.isArray(expression.arguments) ? expression.arguments.filter(isNode) : [];
|
|
794
|
+
const target = args[0];
|
|
795
|
+
const targetName = nodeName(target);
|
|
796
|
+
if (!target || args.length !== 2 || !targetName || stringLiteralText(args[1]) === null) {
|
|
797
|
+
continue;
|
|
798
|
+
}
|
|
799
|
+
registrations.push({ statement, target, targetName });
|
|
800
|
+
}
|
|
801
|
+
return registrations;
|
|
802
|
+
}
|
|
674
803
|
/**
|
|
675
804
|
* Drop the top-level declarations the emptied server-only hooks closed over.
|
|
676
805
|
*
|
|
@@ -695,6 +824,13 @@ function dropUnusedModuleScopeBindings(body, hookClosure) {
|
|
|
695
824
|
for (const decl of decls)
|
|
696
825
|
for (const id of decl.bindingIds)
|
|
697
826
|
excluded.add(id);
|
|
827
|
+
// Esbuild's generated name-registration call is metadata for a declaration,
|
|
828
|
+
// not an independent browser consumer of it. Ignore that target reference
|
|
829
|
+
// when deciding liveness, and remove the call together with a declaration
|
|
830
|
+
// that proves hook-only.
|
|
831
|
+
const nameRegistrations = compilerNameRegistrations(current);
|
|
832
|
+
for (const registration of nameRegistrations)
|
|
833
|
+
excluded.add(registration.target);
|
|
698
834
|
const referenced = referencedIdentifiers(current, excluded);
|
|
699
835
|
const removableStatements = new Set();
|
|
700
836
|
const removableDeclarators = new Map();
|
|
@@ -705,6 +841,11 @@ function dropUnusedModuleScopeBindings(body, hookClosure) {
|
|
|
705
841
|
if (!inClosure || !unused)
|
|
706
842
|
continue;
|
|
707
843
|
removedDecls.push(decl);
|
|
844
|
+
for (const registration of nameRegistrations) {
|
|
845
|
+
if (decl.names.includes(registration.targetName)) {
|
|
846
|
+
removableStatements.add(registration.statement);
|
|
847
|
+
}
|
|
848
|
+
}
|
|
708
849
|
if (!decl.declarator) {
|
|
709
850
|
removableStatements.add(decl.statement);
|
|
710
851
|
continue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/logger/logger.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/logger/logger.ts"],"names":[],"mappings":"AAGA,OAAO,EAOL,KAAK,YAAY,EAEjB,KAAK,eAAe,EAErB,MAAM,WAAW,CAAC;AAGnB,oBAAY,QAAQ;IAClB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;IACR,KAAK,IAAI;CACV;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAExC;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB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AAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACA,MAAM,CAUR"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { getEnv, getHostEnv
|
|
1
|
+
import { getEnv, getHostEnv } from "../../platform/compat/process/env.js";
|
|
2
|
+
import { isStdoutTTY } from "../../platform/compat/process/lifecycle.js";
|
|
2
3
|
import { RUNTIME_VERSION } from "../version.js";
|
|
3
4
|
import { ANSI, colorize, formatContextText, formatTimestamp, LEVEL_COLORS, LEVEL_GLYPHS, padTag, serializeError, } from "./core.js";
|
|
4
5
|
import { redactSensitive, sanitizeSerializedError, sanitizeUrlCredentials } from "./redact.js";
|
package/esm/src/utils/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import denoConfig from "../../deno.js";
|
|
2
|
-
import { getEnv } from "../platform/compat/process.js";
|
|
2
|
+
import { getEnv } from "../platform/compat/process/env.js";
|
|
3
3
|
import { VERSION } from "./version-constant.js";
|
|
4
4
|
export { VERSION } from "./version-constant.js";
|
|
5
5
|
export function normalizeVeryfrontVersion(version) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "veryfront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1108",
|
|
4
4
|
"description": "The simplest way to build AI-powered apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -332,10 +332,10 @@
|
|
|
332
332
|
"@types/react": "19.2.14",
|
|
333
333
|
"@types/react-dom": "19.2.3",
|
|
334
334
|
"ws": "8.21.0",
|
|
335
|
-
"@veryfront/ext-bundler-esbuild": "0.1.
|
|
336
|
-
"@veryfront/ext-content-mdx": "0.1.
|
|
337
|
-
"@veryfront/ext-css-tailwind": "0.1.
|
|
338
|
-
"@veryfront/ext-parser-babel": "0.1.
|
|
335
|
+
"@veryfront/ext-bundler-esbuild": "0.1.1108",
|
|
336
|
+
"@veryfront/ext-content-mdx": "0.1.1108",
|
|
337
|
+
"@veryfront/ext-css-tailwind": "0.1.1108",
|
|
338
|
+
"@veryfront/ext-parser-babel": "0.1.1108"
|
|
339
339
|
},
|
|
340
340
|
"devDependencies": {
|
|
341
341
|
"@types/node": "20.9.0"
|