vybekiit 0.7.7 → 0.7.9
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/bin.js +45 -26
- package/package.json +8 -8
package/dist/bin.js
CHANGED
|
@@ -5749,7 +5749,7 @@ var CLI_HELP = `vybekiit \u2014 set up tools and create your app
|
|
|
5749
5749
|
|
|
5750
5750
|
Getting started:
|
|
5751
5751
|
vybekiit Interactive menu (terminal only)
|
|
5752
|
-
vybekiit setup
|
|
5752
|
+
vybekiit setup First run or repair: sign in, reapply tools, and open your app
|
|
5753
5753
|
vybekiit doctor Full toolchain pass (agents, gh, cloud CLIs, skills, \u2026)
|
|
5754
5754
|
${createSurfaceUsage}
|
|
5755
5755
|
vybekiit create --ui-library [directory] Full UI kit + gallery + Claude (report mode ready)
|
|
@@ -5787,7 +5787,6 @@ Buyer journey:
|
|
|
5787
5787
|
[--data=supabase|neon|railway|mongodb|firebase|aws|local]
|
|
5788
5788
|
[--google-sign-in]
|
|
5789
5789
|
vybekiit global-install [--yes] (skills + MCP + awareness into ~/.claude)
|
|
5790
|
-
vybekiit update (re-run auto-updater: latest skills + MCP)
|
|
5791
5790
|
vybekiit doctor
|
|
5792
5791
|
vybekiit doctor --ensure <tool> [--json]
|
|
5793
5792
|
vybekiit create app ${CREATE_SURFACE_PIPE_FLAGS} [directory]
|
|
@@ -10214,18 +10213,19 @@ var execFileAsync3 = promisify3(execFile3);
|
|
|
10214
10213
|
var HERE2 = dirname3(fileURLToPath2(import.meta.url));
|
|
10215
10214
|
var MIRROR_ORG2 = "VybeKiit";
|
|
10216
10215
|
var KIT_MIRROR_REPO = "kit";
|
|
10216
|
+
var kitMirrorCloneArgs = (repoName, targetDir) => [
|
|
10217
|
+
"repo",
|
|
10218
|
+
"clone",
|
|
10219
|
+
`https://github.com/${MIRROR_ORG2}/${repoName}`,
|
|
10220
|
+
targetDir,
|
|
10221
|
+
"--",
|
|
10222
|
+
"--depth",
|
|
10223
|
+
"1",
|
|
10224
|
+
"--no-tags"
|
|
10225
|
+
];
|
|
10217
10226
|
var cloneKitMirror = async (repoName, targetDir) => {
|
|
10218
10227
|
try {
|
|
10219
|
-
await execFileAsync3("gh",
|
|
10220
|
-
"repo",
|
|
10221
|
-
"clone",
|
|
10222
|
-
`${MIRROR_ORG2}/${repoName}`,
|
|
10223
|
-
targetDir,
|
|
10224
|
-
"--",
|
|
10225
|
-
"--depth",
|
|
10226
|
-
"1",
|
|
10227
|
-
"--no-tags"
|
|
10228
|
-
]);
|
|
10228
|
+
await execFileAsync3("gh", kitMirrorCloneArgs(repoName, targetDir));
|
|
10229
10229
|
} catch (error) {
|
|
10230
10230
|
throw new ScaffoldError(
|
|
10231
10231
|
"Couldn't download the kit workspace. Make sure your assistant is signed in to GitHub: run gh auth login --web",
|
|
@@ -10535,7 +10535,7 @@ var kitWorkspacePackageJson = (kitRootPkg, template) => {
|
|
|
10535
10535
|
)}
|
|
10536
10536
|
`;
|
|
10537
10537
|
};
|
|
10538
|
-
var
|
|
10538
|
+
var repairKitBuildRoots = async (kitRoot, dest) => {
|
|
10539
10539
|
for (const rel of KIT_BUILD_ROOT_FILES) {
|
|
10540
10540
|
const src = join11(kitRoot, rel);
|
|
10541
10541
|
if (await pathExists3(src)) {
|
|
@@ -10632,7 +10632,7 @@ var scaffoldKitWorkspace = async (options) => {
|
|
|
10632
10632
|
join11(options.dest, "pnpm-workspace.yaml"),
|
|
10633
10633
|
kitWorkspacePnpmYaml(options.template, sourceWorkspaceYaml)
|
|
10634
10634
|
);
|
|
10635
|
-
await
|
|
10635
|
+
await repairKitBuildRoots(options.kitRoot, options.dest);
|
|
10636
10636
|
await ensureAgentSkillSymlinks(surfaceDest);
|
|
10637
10637
|
await shipFirstPartyMcpConfigs({ dest: options.dest, template: options.template });
|
|
10638
10638
|
return { dest: options.dest };
|
|
@@ -11014,6 +11014,27 @@ var defaultPathExists = async (path) => {
|
|
|
11014
11014
|
return false;
|
|
11015
11015
|
}
|
|
11016
11016
|
};
|
|
11017
|
+
var BUYER_BUILD_HELPER = join14("scripts", "lib", "tsupWorkspaceAliases.mjs");
|
|
11018
|
+
var repairProjectBuildRoots = async (appPath, deps = {
|
|
11019
|
+
pathExists: pathExists3,
|
|
11020
|
+
locateKit: locateKitWorkspace,
|
|
11021
|
+
repairFromKit: repairKitBuildRoots
|
|
11022
|
+
}) => {
|
|
11023
|
+
const helperPath = join14(appPath, BUYER_BUILD_HELPER);
|
|
11024
|
+
if (await deps.pathExists(helperPath)) {
|
|
11025
|
+
return true;
|
|
11026
|
+
}
|
|
11027
|
+
let source;
|
|
11028
|
+
try {
|
|
11029
|
+
source = await deps.locateKit();
|
|
11030
|
+
await deps.repairFromKit(source.kitRoot, appPath);
|
|
11031
|
+
return await deps.pathExists(helperPath);
|
|
11032
|
+
} catch {
|
|
11033
|
+
return false;
|
|
11034
|
+
} finally {
|
|
11035
|
+
await source?.cleanup?.();
|
|
11036
|
+
}
|
|
11037
|
+
};
|
|
11017
11038
|
var defaultIsEmptyDir = async (path) => {
|
|
11018
11039
|
try {
|
|
11019
11040
|
const entries = await readdir6(path);
|
|
@@ -11155,8 +11176,9 @@ var defaultDeps = () => ({
|
|
|
11155
11176
|
openBrowser: defaultOpenBrowser,
|
|
11156
11177
|
prepareProjectTools: async (appPath) => {
|
|
11157
11178
|
try {
|
|
11179
|
+
const buildRootsReady = await repairProjectBuildRoots(appPath);
|
|
11158
11180
|
const writtenConfigs = await shipFirstPartyMcpConfigs({ dest: appPath, template: "web" });
|
|
11159
|
-
return writtenConfigs.length === 2;
|
|
11181
|
+
return buildRootsReady && writtenConfigs.length === 2;
|
|
11160
11182
|
} catch {
|
|
11161
11183
|
return false;
|
|
11162
11184
|
}
|
|
@@ -11476,7 +11498,7 @@ var formatCreateUiLibraryLines = (result) => {
|
|
|
11476
11498
|
if (result.appPath === null) {
|
|
11477
11499
|
lines.push(" \u2022 Could not create or open a kit workspace.");
|
|
11478
11500
|
lines.push(" \u2022 Accept the GitHub invite, run: gh auth login --web");
|
|
11479
|
-
lines.push(" \u2022 Then: npx
|
|
11501
|
+
lines.push(" \u2022 Then: npx vybekiit create --ui-library");
|
|
11480
11502
|
lines.push("");
|
|
11481
11503
|
return lines;
|
|
11482
11504
|
}
|
|
@@ -11543,7 +11565,7 @@ var runCreateUiLibrary = async (args = [], deps = defaultDeps2()) => {
|
|
|
11543
11565
|
lines: [
|
|
11544
11566
|
"",
|
|
11545
11567
|
`${appPath} already exists and is not a VybeKiit kit workspace.`,
|
|
11546
|
-
" Pick a free folder: npx
|
|
11568
|
+
" Pick a free folder: npx vybekiit create --ui-library ~/my-ui-kit",
|
|
11547
11569
|
" Or set VYBEKIIT_UI_LIBRARY_DIR and re-run.",
|
|
11548
11570
|
""
|
|
11549
11571
|
]
|
|
@@ -31379,7 +31401,7 @@ var formatGlobalInstallSummary = (summary) => {
|
|
|
31379
31401
|
if (skillsEmpty) {
|
|
31380
31402
|
lines.push(
|
|
31381
31403
|
" No managed skills on disk \u2014 Claude Code will not load kit skills until this is fixed.",
|
|
31382
|
-
" Re-run: `npx
|
|
31404
|
+
" Re-run: `npx vybekiit setup` to repair the installation."
|
|
31383
31405
|
);
|
|
31384
31406
|
}
|
|
31385
31407
|
if (summary.claudeMissing) {
|
|
@@ -31409,10 +31431,9 @@ var formatGlobalInstallSummary = (summary) => {
|
|
|
31409
31431
|
"To see it: restart Claude Code (or run `claude` once) to approve the new MCP servers,",
|
|
31410
31432
|
"then type /vybekiit to confirm.",
|
|
31411
31433
|
"",
|
|
31412
|
-
"Re-run anytime to
|
|
31413
|
-
"
|
|
31414
|
-
|
|
31415
|
-
"Skip that step: VYBEKIIT_SKIP_SESSION_ONE=1 or --skip-session-one",
|
|
31434
|
+
"Re-run anytime to repair or reapply everything: npx vybekiit setup",
|
|
31435
|
+
'The first run creates your web app and opens Claude with "Set up my app.";',
|
|
31436
|
+
"later runs reuse that app and redo the required setup.",
|
|
31416
31437
|
""
|
|
31417
31438
|
);
|
|
31418
31439
|
}
|
|
@@ -31431,7 +31452,7 @@ var runGlobalInstall = async (args, gate = checkEntitlement) => {
|
|
|
31431
31452
|
if (!skipPrompt) {
|
|
31432
31453
|
if (!isInteractive()) {
|
|
31433
31454
|
process29.stdout.write(
|
|
31434
|
-
"Skipping global setup (non-interactive). Run `
|
|
31455
|
+
"Skipping global setup (non-interactive). Run `npx vybekiit setup` to provision Claude Code globally.\n"
|
|
31435
31456
|
);
|
|
31436
31457
|
return 0;
|
|
31437
31458
|
}
|
|
@@ -31440,9 +31461,7 @@ var runGlobalInstall = async (args, gate = checkEntitlement) => {
|
|
|
31440
31461
|
initialValue: true
|
|
31441
31462
|
});
|
|
31442
31463
|
if (isCancel4(proceed) || proceed !== true) {
|
|
31443
|
-
process29.stdout.write(
|
|
31444
|
-
"Skipped global setup. You can run `vybekiit update` or `vybekiit global-install` anytime.\n"
|
|
31445
|
-
);
|
|
31464
|
+
process29.stdout.write("Skipped global setup. You can run `npx vybekiit setup` anytime.\n");
|
|
31446
31465
|
return 0;
|
|
31447
31466
|
}
|
|
31448
31467
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vybekiit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.9",
|
|
4
4
|
"description": "Choose your services, sign in, create a VybeKiit app, and open its verified local welcome page.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"tsup": "8.5.1",
|
|
33
33
|
"typescript": "5.7.2",
|
|
34
34
|
"vitest": "3.2.6",
|
|
35
|
-
"@vybekiit/agent-kit": "0.7.
|
|
36
|
-
"@vybekiit/
|
|
37
|
-
"@vybekiit/
|
|
38
|
-
"@vybekiit/
|
|
39
|
-
"@vybekiit/
|
|
40
|
-
"@vybekiit/
|
|
41
|
-
"@vybekiit/
|
|
35
|
+
"@vybekiit/agent-kit": "0.7.9",
|
|
36
|
+
"@vybekiit/core": "0.7.9",
|
|
37
|
+
"@vybekiit/db": "0.7.9",
|
|
38
|
+
"@vybekiit/agent-mcp": "0.7.9",
|
|
39
|
+
"@vybekiit/report-mode": "0.7.9",
|
|
40
|
+
"@vybekiit/deploy": "0.7.9",
|
|
41
|
+
"@vybekiit/payments": "0.7.9"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsup && node scripts/bundleGlobalSkills.mjs",
|