veryfront 0.1.590 → 0.1.592
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/cli/app/index.d.ts +1 -2
- package/esm/cli/app/index.d.ts.map +1 -1
- package/esm/cli/app/index.js +1 -2
- package/esm/cli/app/views/dashboard.d.ts.map +1 -1
- package/esm/cli/app/views/dashboard.js +3 -4
- package/esm/cli/commands/build/command-help.js +1 -1
- package/esm/cli/commands/init/catalog.d.ts.map +1 -1
- package/esm/cli/commands/init/catalog.js +0 -1
- package/esm/cli/commands/init/init-command.d.ts.map +1 -1
- package/esm/cli/commands/init/init-command.js +0 -1
- package/esm/cli/commands/mcp/command-help.d.ts.map +1 -1
- package/esm/cli/commands/mcp/command-help.js +2 -3
- package/esm/cli/commands/start/command-help.d.ts.map +1 -1
- package/esm/cli/commands/start/command-help.js +1 -6
- package/esm/cli/commands/start/command.d.ts +0 -1
- package/esm/cli/commands/start/command.d.ts.map +1 -1
- package/esm/cli/commands/start/command.js +1 -5
- package/esm/cli/commands/start/handler.d.ts +0 -1
- package/esm/cli/commands/start/handler.d.ts.map +1 -1
- package/esm/cli/commands/start/handler.js +0 -4
- package/esm/cli/commands/styles/command.d.ts +1 -0
- package/esm/cli/commands/styles/command.d.ts.map +1 -1
- package/esm/cli/commands/styles/command.js +13 -1
- package/esm/cli/skills/core-skills.js +2 -2
- package/esm/cli/templates/integration-loader.d.ts.map +1 -1
- package/esm/cli/templates/integration-loader.js +0 -1
- package/esm/cli/templates/manifest.d.ts +5 -13
- package/esm/cli/templates/manifest.js +10 -18
- package/esm/deno.js +1 -1
- package/esm/src/agent/hosted/stream-finalization.d.ts.map +1 -1
- package/esm/src/agent/hosted/stream-finalization.js +53 -3
- package/esm/src/agent/runtime/chat-stream-handler.d.ts.map +1 -1
- package/esm/src/agent/runtime/chat-stream-handler.js +61 -1
- package/esm/src/embedding/veryfront-cloud/rag-store.js +1 -1
- package/esm/src/integrations/_data.d.ts.map +1 -1
- package/esm/src/integrations/_data.js +6 -8
- package/esm/src/integrations/schema.d.ts +4 -4
- package/esm/src/integrations/schema.d.ts.map +1 -1
- package/esm/src/integrations/schema.js +0 -1
- package/esm/src/oauth/index.d.ts +2 -2
- package/esm/src/oauth/index.d.ts.map +1 -1
- package/esm/src/oauth/index.js +2 -2
- package/esm/src/oauth/providers/common.d.ts +0 -27
- package/esm/src/oauth/providers/common.d.ts.map +1 -1
- package/esm/src/oauth/providers/common.js +0 -16
- package/esm/src/oauth/providers/index.d.ts +1 -1
- package/esm/src/oauth/providers/index.d.ts.map +1 -1
- package/esm/src/oauth/providers/index.js +1 -1
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/workflow/blob/guards.d.ts +10 -0
- package/esm/src/workflow/blob/guards.d.ts.map +1 -0
- package/esm/src/workflow/blob/guards.js +17 -0
- package/esm/src/workflow/executor/step-executor.d.ts.map +1 -1
- package/esm/src/workflow/executor/step-executor.js +4 -1
- package/esm/src/workflow/executor/workflow-executor.d.ts.map +1 -1
- package/esm/src/workflow/executor/workflow-executor.js +2 -4
- package/esm/src/workflow/runtime/approval-manager.d.ts.map +1 -1
- package/esm/src/workflow/runtime/approval-manager.js +2 -2
- package/package.json +1 -1
- package/esm/cli/mcp/index.d.ts +0 -3
- package/esm/cli/mcp/index.d.ts.map +0 -1
- package/esm/cli/mcp/index.js +0 -2
package/esm/cli/app/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CLI App Shell
|
|
3
3
|
*
|
|
4
|
-
* Interactive app-like CLI experience with dashboard
|
|
5
|
-
* and MCP integration for coding agents.
|
|
4
|
+
* Interactive app-like CLI experience with dashboard and project navigation.
|
|
6
5
|
*/
|
|
7
6
|
export { createApp } from "./shell.js";
|
|
8
7
|
export { showStartup } from "./startup.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/app/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/app/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG3C,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/E,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC"}
|
package/esm/cli/app/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CLI App Shell
|
|
3
3
|
*
|
|
4
|
-
* Interactive app-like CLI experience with dashboard
|
|
5
|
-
* and MCP integration for coding agents.
|
|
4
|
+
* Interactive app-like CLI experience with dashboard and project navigation.
|
|
6
5
|
*/
|
|
7
6
|
// Core app
|
|
8
7
|
export { createApp } from "./shell.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../../src/cli/app/views/dashboard.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAyDvD;
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../../src/cli/app/views/dashboard.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAyDvD;AAuGD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAQxD"}
|
|
@@ -70,11 +70,10 @@ function renderBanner(state) {
|
|
|
70
70
|
textLines.push("");
|
|
71
71
|
textLines.push(`${brand("Veryfront")} ${dim("is now running")}`);
|
|
72
72
|
textLines.push("");
|
|
73
|
-
// Server URL and MCP URL
|
|
73
|
+
// Server URL and MCP URL, always reserve both lines to prevent jumps.
|
|
74
74
|
textLines.push(`${dim("Url")} ${brand(state.server.url)}`);
|
|
75
|
-
if (state.mcp.enabled && state.mcp.transport === "http") {
|
|
76
|
-
|
|
77
|
-
textLines.push(`${dim("Mcp")} ${brand(`http://veryfront.me:${port}/mcp`)}`);
|
|
75
|
+
if (state.mcp.enabled && state.mcp.transport === "http" && state.mcp.httpPort !== undefined) {
|
|
76
|
+
textLines.push(`${dim("Mcp")} ${brand(`http://veryfront.me:${state.mcp.httpPort}/mcp`)}`);
|
|
78
77
|
}
|
|
79
78
|
else {
|
|
80
79
|
textLines.push("");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/init/catalog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAMnE,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,YAAY,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,SAAS,cAAc,EAoBrC,CAAC;AAEX,0DAA0D;AAC1D,wBAAgB,wBAAwB,IAAI,YAAY,EAAE,CAMzD;AAMD,MAAM,WAAW,iBAAiB;IA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CAa5D;AAED,+DAA+D;AAC/D,wBAAgB,sCAAsC,IAAI,KAAK,CAC7D,YAAY,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CACtC,CAqBA"}
|
|
@@ -78,7 +78,6 @@ export const INTEGRATION_CATEGORIES = [
|
|
|
78
78
|
{ id: "sheets", label: "Google Sheets", description: "Spreadsheets" },
|
|
79
79
|
{ id: "onedrive", label: "OneDrive", description: "Microsoft files" },
|
|
80
80
|
{ id: "sharepoint", label: "SharePoint", description: "Enterprise content" },
|
|
81
|
-
{ id: "dropbox", label: "Dropbox", description: "File storage" },
|
|
82
81
|
{ id: "box", label: "Box", description: "Enterprise files" },
|
|
83
82
|
{ id: "airtable", label: "Airtable", description: "Database, spreadsheet" },
|
|
84
83
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/init/init-command.ts"],"names":[],"mappings":"AAAA;;;iCAGiC;AAUjC,OAAO,KAAK,EAAE,WAAW,EAAgB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"init-command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/init/init-command.ts"],"names":[],"mappings":"AAAA;;;iCAGiC;AAUjC,OAAO,KAAK,EAAE,WAAW,EAAgB,MAAM,YAAY,CAAC;AAkK5D;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAkYrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-help.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/mcp/command-help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGvD,eAAO,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"command-help.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/mcp/command-help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGvD,eAAO,MAAM,OAAO,EAAE,WA+BrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_DEV_MCP_PORT
|
|
1
|
+
import { DEFAULT_DEV_MCP_PORT } from "../../shared/constants.js";
|
|
2
2
|
export const mcpHelp = {
|
|
3
3
|
name: "mcp",
|
|
4
4
|
category: "ai",
|
|
@@ -8,14 +8,13 @@ export const mcpHelp = {
|
|
|
8
8
|
examples: [
|
|
9
9
|
"veryfront mcp # Start stdio MCP server",
|
|
10
10
|
`veryfront dev # HTTP MCP on --port + 2 (default ${DEFAULT_DEV_MCP_PORT})`,
|
|
11
|
-
`deno task start # HTTP MCP on port ${DEFAULT_MCP_PORT}`,
|
|
12
11
|
],
|
|
13
12
|
notes: [
|
|
14
13
|
"Used by Claude Code, Cursor, and other AI coding assistants",
|
|
15
14
|
"Two transport modes:",
|
|
16
15
|
` • HTTP: Auto-starts with 'veryfront dev' (--port + 2, default ${DEFAULT_DEV_MCP_PORT})`,
|
|
17
|
-
` or 'veryfront start' (default ${DEFAULT_MCP_PORT})`,
|
|
18
16
|
" • stdio: Run 'veryfront mcp' for stdin/stdout communication",
|
|
17
|
+
"The CLI MCP server is development-only. Production start does not expose vf_* tools.",
|
|
19
18
|
"",
|
|
20
19
|
"Claude Code setup (~/.claude.json):",
|
|
21
20
|
` "mcpServers": { "veryfront": { "url": "http://veryfront.me:${DEFAULT_DEV_MCP_PORT}/mcp" } }`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-help.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/start/command-help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"command-help.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/start/command-help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,SAAS,EAAE,WA4CvB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const startHelp = {
|
|
2
2
|
name: "start",
|
|
3
3
|
category: "project",
|
|
4
|
-
description: "Start
|
|
4
|
+
description: "Start the production dashboard and proxy server",
|
|
5
5
|
usage: "veryfront start [options]",
|
|
6
6
|
options: [
|
|
7
7
|
{
|
|
@@ -9,11 +9,6 @@ export const startHelp = {
|
|
|
9
9
|
description: "Port to run on",
|
|
10
10
|
default: "8080",
|
|
11
11
|
},
|
|
12
|
-
{
|
|
13
|
-
flag: "--mcp-port <number>",
|
|
14
|
-
description: "MCP server port",
|
|
15
|
-
default: "9999",
|
|
16
|
-
},
|
|
17
12
|
{
|
|
18
13
|
flag: "--project <path>",
|
|
19
14
|
description: "Path to a Veryfront project directory (single-project mode)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/start/command.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/start/command.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAC;CACnB;AA8GD,wBAAsB,YAAY,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA8HvE"}
|
|
@@ -90,7 +90,7 @@ async function trySetupProxy(localProjects) {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
export async function startCommand(options) {
|
|
93
|
-
const { port,
|
|
93
|
+
const { port, projectPath, headless } = options;
|
|
94
94
|
onGlobalError((error, type) => {
|
|
95
95
|
const isFatal = (error.name === "RangeError" && error.message.includes("Maximum call stack")) ||
|
|
96
96
|
error.message.includes("out of memory") ||
|
|
@@ -130,7 +130,6 @@ export async function startCommand(options) {
|
|
|
130
130
|
}
|
|
131
131
|
const app = createApp({
|
|
132
132
|
port,
|
|
133
|
-
mcpPort,
|
|
134
133
|
headless,
|
|
135
134
|
projects: discovered.projects,
|
|
136
135
|
examples: discovered.examples,
|
|
@@ -174,8 +173,6 @@ export async function startCommand(options) {
|
|
|
174
173
|
});
|
|
175
174
|
}
|
|
176
175
|
await server.ready;
|
|
177
|
-
const { createMCPServer } = await import("../../mcp/index.js");
|
|
178
|
-
const mcpServer = await createMCPServer({ httpPort: mcpPort });
|
|
179
176
|
app.setServerReady();
|
|
180
177
|
let shuttingDown = false;
|
|
181
178
|
async function shutdown(signal) {
|
|
@@ -186,7 +183,6 @@ export async function startCommand(options) {
|
|
|
186
183
|
cliLogger.info(`Received ${signal}, shutting down...`);
|
|
187
184
|
try {
|
|
188
185
|
app.stop();
|
|
189
|
-
await mcpServer.stop();
|
|
190
186
|
shutdownController.abort();
|
|
191
187
|
await server.stop();
|
|
192
188
|
await proxy.close();
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ParsedArgs } from "../../shared/types.js";
|
|
2
2
|
export declare const parseStartArgs: (args: ParsedArgs) => import("../../shared/args.js").SafeParseResult<import("../../../src/extensions/schema/schema-validator.js").InferShape<{
|
|
3
3
|
port: import("../../../src/internal-agents/schema.js").Schema<number>;
|
|
4
|
-
mcpPort: import("../../../src/internal-agents/schema.js").Schema<number>;
|
|
5
4
|
project: import("../../../src/internal-agents/schema.js").Schema<string | undefined>;
|
|
6
5
|
headless: import("../../../src/internal-agents/schema.js").Schema<boolean>;
|
|
7
6
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/start/handler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/start/handler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAcxD,eAAO,MAAM,cAAc;;;;GAIzB,CAAC;AAEH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAOxE"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
2
2
|
import { startCommand } from "./command.js";
|
|
3
3
|
import { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
|
|
4
|
-
import { DEFAULT_MCP_PORT } from "../../shared/constants.js";
|
|
5
4
|
const DEFAULT_START_PORT = 8080;
|
|
6
5
|
const getStartArgsSchema = defineSchema((v) => v.object({
|
|
7
6
|
port: v.number().default(DEFAULT_START_PORT),
|
|
8
|
-
mcpPort: v.number().default(DEFAULT_MCP_PORT),
|
|
9
7
|
project: v.string().optional(),
|
|
10
8
|
headless: v.boolean().default(false),
|
|
11
9
|
}));
|
|
12
10
|
const StartArgsSchema = lazySchema(getStartArgsSchema);
|
|
13
11
|
export const parseStartArgs = createArgParser(StartArgsSchema, {
|
|
14
12
|
port: { keys: ["port", "p"], type: "number" },
|
|
15
|
-
mcpPort: { keys: ["mcp-port"], type: "number" },
|
|
16
13
|
project: { keys: ["project"], type: "string" },
|
|
17
14
|
headless: { keys: ["headless", "no-tui"], type: "boolean" },
|
|
18
15
|
});
|
|
@@ -20,7 +17,6 @@ export async function handleStartCommand(args) {
|
|
|
20
17
|
const opts = parseArgsOrThrow(parseStartArgs, "start", args);
|
|
21
18
|
await startCommand({
|
|
22
19
|
port: opts.port,
|
|
23
|
-
mcpPort: opts.mcpPort,
|
|
24
20
|
projectPath: opts.project ?? null,
|
|
25
21
|
headless: opts.headless,
|
|
26
22
|
});
|
|
@@ -5,6 +5,7 @@ interface StyleBuildContentContext {
|
|
|
5
5
|
environmentName?: string;
|
|
6
6
|
releaseId?: string;
|
|
7
7
|
}
|
|
8
|
+
export declare function normalizeStyleArtifactBuildConfigInput(parsed: unknown): unknown;
|
|
8
9
|
export declare function getUnderlyingVeryfrontClient(adapter: Awaited<ReturnType<typeof enhanceAdapterWithFS>>): {
|
|
9
10
|
client: VeryfrontApiClient;
|
|
10
11
|
contentContext: StyleBuildContentContext | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/styles/command.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oBAAoB,EAIpB,KAAK,kBAAkB,EACxB,MAAM,gCAAgC,CAAC;AAOxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAyB/C,UAAU,wBAAwB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/styles/command.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oBAAoB,EAIpB,KAAK,kBAAkB,EACxB,MAAM,gCAAgC,CAAC;AAOxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAyB/C,UAAU,wBAAwB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+BD,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAU/E;AAoED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,GACxD;IACD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,cAAc,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAChD,iBAAiB,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAC;CAC7E,CAyBA;AAwBD,wBAAsB,aAAa,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CA4GtE"}
|
|
@@ -21,6 +21,18 @@ const getStyleArtifactBuildConfigSchema = defineSchema((v) => v.object({
|
|
|
21
21
|
}
|
|
22
22
|
}));
|
|
23
23
|
const StyleArtifactBuildConfigSchema = lazySchema(getStyleArtifactBuildConfigSchema);
|
|
24
|
+
function isRecord(value) {
|
|
25
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
26
|
+
}
|
|
27
|
+
export function normalizeStyleArtifactBuildConfigInput(parsed) {
|
|
28
|
+
if (!isRecord(parsed)) {
|
|
29
|
+
return parsed;
|
|
30
|
+
}
|
|
31
|
+
if (parsed.source === "webhook" && isRecord(parsed.payload)) {
|
|
32
|
+
return parsed.payload;
|
|
33
|
+
}
|
|
34
|
+
return parsed;
|
|
35
|
+
}
|
|
24
36
|
function parseStyleArtifactBuildConfig(rawConfig) {
|
|
25
37
|
if (!rawConfig) {
|
|
26
38
|
throw new Error("Missing --config JSON");
|
|
@@ -32,7 +44,7 @@ function parseStyleArtifactBuildConfig(rawConfig) {
|
|
|
32
44
|
catch {
|
|
33
45
|
throw new Error("Invalid --config JSON");
|
|
34
46
|
}
|
|
35
|
-
return StyleArtifactBuildConfigSchema.parse(parsed);
|
|
47
|
+
return StyleArtifactBuildConfigSchema.parse(normalizeStyleArtifactBuildConfigInput(parsed));
|
|
36
48
|
}
|
|
37
49
|
function resolveStyleArtifactSelector(config) {
|
|
38
50
|
if (config.branch) {
|
|
@@ -181,7 +181,7 @@ Diagnose runtime errors via MCP.
|
|
|
181
181
|
|
|
182
182
|
## Steps
|
|
183
183
|
|
|
184
|
-
1. Ensure \`veryfront dev\` is running (MCP on port
|
|
184
|
+
1. Ensure \`veryfront dev\` is running (MCP on the dev server port plus 2)
|
|
185
185
|
2. Use vf_get_errors for current runtime errors
|
|
186
186
|
3. Use vf_get_debug_context for stack traces
|
|
187
187
|
4. Read veryfront://logs resource for server logs
|
|
@@ -191,7 +191,7 @@ Diagnose runtime errors via MCP.
|
|
|
191
191
|
## Error Recovery
|
|
192
192
|
|
|
193
193
|
- **Dev server not running**: Start with veryfront dev
|
|
194
|
-
- **MCP not responding**: Check
|
|
194
|
+
- **MCP not responding**: Check the printed MCP URL, restart
|
|
195
195
|
- **Error persists**: veryfront clean, restart dev`,
|
|
196
196
|
directory: "core:debug-runtime",
|
|
197
197
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-loader.d.ts","sourceRoot":"","sources":["../../../src/cli/templates/integration-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAUH,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,WAAW,EACZ,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"integration-loader.d.ts","sourceRoot":"","sources":["../../../src/cli/templates/integration-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAUH,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,WAAW,EACZ,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,eAAe,EAoDnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,WAAW,EAM3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,M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;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,YAAY,EAAE,CAwZxD"}
|
|
@@ -44,6 +44,7 @@ declare namespace _default {
|
|
|
44
44
|
files: {
|
|
45
45
|
"agents/rag.ts": string;
|
|
46
46
|
"app/api/ag-ui/route.ts": string;
|
|
47
|
+
"app/api/ingest/route.ts": string;
|
|
47
48
|
"app/api/uploads/[id]/route.ts": string;
|
|
48
49
|
"app/api/uploads/route.ts": string;
|
|
49
50
|
"app/layout.tsx": string;
|
|
@@ -246,19 +247,6 @@ declare namespace _default {
|
|
|
246
247
|
"tools/upload-file.ts": string;
|
|
247
248
|
};
|
|
248
249
|
};
|
|
249
|
-
"integration:dropbox": {
|
|
250
|
-
files: {
|
|
251
|
-
".env.example": string;
|
|
252
|
-
"app/api/auth/dropbox/callback/route.ts": string;
|
|
253
|
-
"app/api/auth/dropbox/route.ts": string;
|
|
254
|
-
"lib/dropbox-client.ts": string;
|
|
255
|
-
"tools/get-account.ts": string;
|
|
256
|
-
"tools/get-file.ts": string;
|
|
257
|
-
"tools/list-files.ts": string;
|
|
258
|
-
"tools/search-files.ts": string;
|
|
259
|
-
"tools/upload-file.ts": string;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
250
|
"integration:figma": {
|
|
263
251
|
files: {
|
|
264
252
|
".env.example": string;
|
|
@@ -281,12 +269,16 @@ declare namespace _default {
|
|
|
281
269
|
"lib/user-id.ts": string;
|
|
282
270
|
"tools/add-issue-comment.ts": string;
|
|
283
271
|
"tools/create-issue.ts": string;
|
|
272
|
+
"tools/create-pr.ts": string;
|
|
284
273
|
"tools/get-issue.ts": string;
|
|
285
274
|
"tools/get-pr-diff.ts": string;
|
|
275
|
+
"tools/get-pr.ts": string;
|
|
286
276
|
"tools/get-repo.ts": string;
|
|
277
|
+
"tools/list-commits.ts": string;
|
|
287
278
|
"tools/list-issues.ts": string;
|
|
288
279
|
"tools/list-prs.ts": string;
|
|
289
280
|
"tools/list-repos.ts": string;
|
|
281
|
+
"tools/merge-pr.ts": string;
|
|
290
282
|
"tools/update-issue.ts": string;
|
|
291
283
|
};
|
|
292
284
|
};
|