vybekiit 0.7.8 → 0.7.10
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 -14
- package/dist/global-skills/expo-skill-eval/scripts/check-static.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/clean-fixture.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/latest-sdk.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/make-fixture.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/make-workspace.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/snapshot-android.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/snapshot-ios.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/snapshot-web.sh +0 -0
- package/dist/global-skills/use-railway/scripts/analyze-mongo.py +0 -0
- package/dist/global-skills/use-railway/scripts/analyze-mysql.py +0 -0
- package/dist/global-skills/use-railway/scripts/analyze-postgres.py +0 -0
- package/dist/global-skills/use-railway/scripts/analyze-redis.py +0 -0
- package/dist/global-skills/use-railway/scripts/enable-pg-stats.py +0 -0
- package/dist/global-skills/use-railway/scripts/pg-extensions.py +0 -0
- package/dist/global-skills/use-railway/scripts/railway-api.sh +0 -0
- package/package.json +22 -21
package/dist/bin.js
CHANGED
|
@@ -10213,18 +10213,19 @@ var execFileAsync3 = promisify3(execFile3);
|
|
|
10213
10213
|
var HERE2 = dirname3(fileURLToPath2(import.meta.url));
|
|
10214
10214
|
var MIRROR_ORG2 = "VybeKiit";
|
|
10215
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
|
+
];
|
|
10216
10226
|
var cloneKitMirror = async (repoName, targetDir) => {
|
|
10217
10227
|
try {
|
|
10218
|
-
await execFileAsync3("gh",
|
|
10219
|
-
"repo",
|
|
10220
|
-
"clone",
|
|
10221
|
-
`${MIRROR_ORG2}/${repoName}`,
|
|
10222
|
-
targetDir,
|
|
10223
|
-
"--",
|
|
10224
|
-
"--depth",
|
|
10225
|
-
"1",
|
|
10226
|
-
"--no-tags"
|
|
10227
|
-
]);
|
|
10228
|
+
await execFileAsync3("gh", kitMirrorCloneArgs(repoName, targetDir));
|
|
10228
10229
|
} catch (error) {
|
|
10229
10230
|
throw new ScaffoldError(
|
|
10230
10231
|
"Couldn't download the kit workspace. Make sure your assistant is signed in to GitHub: run gh auth login --web",
|
|
@@ -10507,7 +10508,7 @@ var packageRelFromPackagesRoot = (packagesRoot, packageDir) => {
|
|
|
10507
10508
|
};
|
|
10508
10509
|
|
|
10509
10510
|
// src/lib/scaffoldKitWorkspace.ts
|
|
10510
|
-
var KIT_BUILD_ROOT_FILES = ["tsconfig.base.json"];
|
|
10511
|
+
var KIT_BUILD_ROOT_FILES = ["tsconfig.base.json", "tsup.base.ts"];
|
|
10511
10512
|
var KIT_BUILD_SCRIPT_LIBS = [
|
|
10512
10513
|
"scripts/lib/packageExportEntries.mjs",
|
|
10513
10514
|
"scripts/lib/tsupWorkspaceAliases.mjs",
|
|
@@ -10534,7 +10535,7 @@ var kitWorkspacePackageJson = (kitRootPkg, template) => {
|
|
|
10534
10535
|
)}
|
|
10535
10536
|
`;
|
|
10536
10537
|
};
|
|
10537
|
-
var
|
|
10538
|
+
var repairKitBuildRoots = async (kitRoot, dest) => {
|
|
10538
10539
|
for (const rel of KIT_BUILD_ROOT_FILES) {
|
|
10539
10540
|
const src = join11(kitRoot, rel);
|
|
10540
10541
|
if (await pathExists3(src)) {
|
|
@@ -10631,7 +10632,7 @@ var scaffoldKitWorkspace = async (options) => {
|
|
|
10631
10632
|
join11(options.dest, "pnpm-workspace.yaml"),
|
|
10632
10633
|
kitWorkspacePnpmYaml(options.template, sourceWorkspaceYaml)
|
|
10633
10634
|
);
|
|
10634
|
-
await
|
|
10635
|
+
await repairKitBuildRoots(options.kitRoot, options.dest);
|
|
10635
10636
|
await ensureAgentSkillSymlinks(surfaceDest);
|
|
10636
10637
|
await shipFirstPartyMcpConfigs({ dest: options.dest, template: options.template });
|
|
10637
10638
|
return { dest: options.dest };
|
|
@@ -11013,6 +11014,35 @@ var defaultPathExists = async (path) => {
|
|
|
11013
11014
|
return false;
|
|
11014
11015
|
}
|
|
11015
11016
|
};
|
|
11017
|
+
var BUYER_BUILD_ROOTS = [
|
|
11018
|
+
join14("scripts", "lib", "tsupWorkspaceAliases.mjs"),
|
|
11019
|
+
"tsup.base.ts"
|
|
11020
|
+
];
|
|
11021
|
+
var repairProjectBuildRoots = async (appPath, deps = {
|
|
11022
|
+
pathExists: pathExists3,
|
|
11023
|
+
locateKit: locateKitWorkspace,
|
|
11024
|
+
repairFromKit: repairKitBuildRoots
|
|
11025
|
+
}) => {
|
|
11026
|
+
const buildRootsReady = async () => {
|
|
11027
|
+
const checks = await Promise.all(
|
|
11028
|
+
BUYER_BUILD_ROOTS.map((relativePath) => deps.pathExists(join14(appPath, relativePath)))
|
|
11029
|
+
);
|
|
11030
|
+
return checks.every(Boolean);
|
|
11031
|
+
};
|
|
11032
|
+
if (await buildRootsReady()) {
|
|
11033
|
+
return true;
|
|
11034
|
+
}
|
|
11035
|
+
let source;
|
|
11036
|
+
try {
|
|
11037
|
+
source = await deps.locateKit();
|
|
11038
|
+
await deps.repairFromKit(source.kitRoot, appPath);
|
|
11039
|
+
return await buildRootsReady();
|
|
11040
|
+
} catch {
|
|
11041
|
+
return false;
|
|
11042
|
+
} finally {
|
|
11043
|
+
await source?.cleanup?.();
|
|
11044
|
+
}
|
|
11045
|
+
};
|
|
11016
11046
|
var defaultIsEmptyDir = async (path) => {
|
|
11017
11047
|
try {
|
|
11018
11048
|
const entries = await readdir6(path);
|
|
@@ -11154,8 +11184,9 @@ var defaultDeps = () => ({
|
|
|
11154
11184
|
openBrowser: defaultOpenBrowser,
|
|
11155
11185
|
prepareProjectTools: async (appPath) => {
|
|
11156
11186
|
try {
|
|
11187
|
+
const buildRootsReady = await repairProjectBuildRoots(appPath);
|
|
11157
11188
|
const writtenConfigs = await shipFirstPartyMcpConfigs({ dest: appPath, template: "web" });
|
|
11158
|
-
return writtenConfigs.length === 2;
|
|
11189
|
+
return buildRootsReady && writtenConfigs.length === 2;
|
|
11159
11190
|
} catch {
|
|
11160
11191
|
return false;
|
|
11161
11192
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vybekiit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"description": "Choose your services, sign in, create a VybeKiit app, and open its verified local welcome page.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"packageManager": "pnpm@10.33.2",
|
|
6
7
|
"publishConfig": {
|
|
7
8
|
"access": "public"
|
|
8
9
|
},
|
|
@@ -13,36 +14,36 @@
|
|
|
13
14
|
"files": [
|
|
14
15
|
"dist"
|
|
15
16
|
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsup && node scripts/bundleGlobalSkills.mjs",
|
|
19
|
+
"typecheck": "tsc --noEmit",
|
|
20
|
+
"test": "vitest run"
|
|
21
|
+
},
|
|
16
22
|
"dependencies": {
|
|
17
23
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
18
24
|
"@aws-sdk/client-dynamodb": "^3.1075.0",
|
|
19
25
|
"@aws-sdk/client-s3": "^3.1075.0",
|
|
20
26
|
"@aws-sdk/lib-dynamodb": "^3.1075.0",
|
|
21
|
-
"@clack/prompts": "
|
|
27
|
+
"@clack/prompts": "catalog:",
|
|
22
28
|
"@neondatabase/serverless": "^0.10.4",
|
|
23
29
|
"@supabase/supabase-js": "^2.47.10",
|
|
24
|
-
"effect": "
|
|
30
|
+
"effect": "catalog:",
|
|
25
31
|
"firebase-admin": "^13.0.2",
|
|
26
32
|
"mongodb": "^7.4.0",
|
|
27
|
-
"open": "
|
|
33
|
+
"open": "catalog:",
|
|
28
34
|
"playwright": "^1.61.1"
|
|
29
35
|
},
|
|
30
36
|
"devDependencies": {
|
|
31
|
-
"@types/node": "
|
|
32
|
-
"tsup": "
|
|
33
|
-
"typescript": "
|
|
34
|
-
"vitest": "
|
|
35
|
-
"@vybekiit/agent-kit": "
|
|
36
|
-
"@vybekiit/
|
|
37
|
-
"@vybekiit/
|
|
38
|
-
"@vybekiit/
|
|
39
|
-
"@vybekiit/
|
|
40
|
-
"@vybekiit/
|
|
41
|
-
"@vybekiit/report-mode": "
|
|
42
|
-
},
|
|
43
|
-
"scripts": {
|
|
44
|
-
"build": "tsup && node scripts/bundleGlobalSkills.mjs",
|
|
45
|
-
"typecheck": "tsc --noEmit",
|
|
46
|
-
"test": "vitest run"
|
|
37
|
+
"@types/node": "catalog:",
|
|
38
|
+
"tsup": "catalog:",
|
|
39
|
+
"typescript": "catalog:",
|
|
40
|
+
"vitest": "catalog:",
|
|
41
|
+
"@vybekiit/agent-kit": "workspace:*",
|
|
42
|
+
"@vybekiit/agent-mcp": "workspace:*",
|
|
43
|
+
"@vybekiit/core": "workspace:*",
|
|
44
|
+
"@vybekiit/db": "workspace:*",
|
|
45
|
+
"@vybekiit/deploy": "workspace:*",
|
|
46
|
+
"@vybekiit/payments": "workspace:*",
|
|
47
|
+
"@vybekiit/report-mode": "workspace:*"
|
|
47
48
|
}
|
|
48
|
-
}
|
|
49
|
+
}
|