@fabioplunser/epd 0.5.12 → 0.5.13
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/cli.js +31 -17
- package/docs/.vitepress/config.mts +8 -1
- package/docs/.vitepress/theme/DeployAnimation.vue +283 -553
- package/docs/.vitepress/theme/style.css +50 -8
- package/docs/agents.md +151 -0
- package/docs/getting-started.md +76 -24
- package/docs/guide/getting-started.md +76 -24
- package/docs/guide.md +63 -198
- package/docs/index.md +6 -33
- package/docs/public/llms-full.txt +344 -0
- package/docs/public/llms.txt +43 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -7407,7 +7407,13 @@ ${c.bold("SEVALLA MANAGED DATABASES")} (${dbs.length})
|
|
|
7407
7407
|
// src/core/update.ts
|
|
7408
7408
|
import { chmodSync as chmodSync3, existsSync as existsSync10, mkdirSync as mkdirSync6, readFileSync as readFileSync7, renameSync, writeFileSync as writeFileSync7 } from "fs";
|
|
7409
7409
|
import { homedir as homedir4 } from "os";
|
|
7410
|
-
import { dirname as dirname3, join as join9 } from "path";
|
|
7410
|
+
import { basename as basename3, dirname as dirname3, join as join9 } from "path";
|
|
7411
|
+
function isCompiledExecutable(execPath, isBun) {
|
|
7412
|
+
return isBun && !["bun", "bun.exe"].includes(basename3(execPath).toLowerCase());
|
|
7413
|
+
}
|
|
7414
|
+
function packageUpdateCommand(manager, pkgSpec, platform = process.platform) {
|
|
7415
|
+
return platform === "win32" && manager === "npm" ? [process.env.ComSpec || "cmd.exe", "/d", "/s", "/c", `npm install -g ${pkgSpec}`] : [manager, "install", "-g", pkgSpec];
|
|
7416
|
+
}
|
|
7411
7417
|
function parseSemver(v) {
|
|
7412
7418
|
const clean = v.replace(/^v/, "").trim();
|
|
7413
7419
|
const parts = clean.split("-")[0].split(".").map((n) => Number(n) || 0);
|
|
@@ -7486,7 +7492,7 @@ async function checkForUpdate(currentVersion, options = {}) {
|
|
|
7486
7492
|
async function performUpdate(targetVersion) {
|
|
7487
7493
|
const isBun = typeof process.isBun !== "undefined";
|
|
7488
7494
|
const execPath = process.execPath || "";
|
|
7489
|
-
const isCompiledBinary = isBun
|
|
7495
|
+
const isCompiledBinary = isCompiledExecutable(execPath, isBun);
|
|
7490
7496
|
if (isCompiledBinary) {
|
|
7491
7497
|
try {
|
|
7492
7498
|
const platform = process.platform;
|
|
@@ -7504,7 +7510,8 @@ async function performUpdate(targetVersion) {
|
|
|
7504
7510
|
binaryName = "epd-windows-x64.exe";
|
|
7505
7511
|
if (binaryName) {
|
|
7506
7512
|
log.step(`Downloading ${binaryName} from GitHub Releases...`);
|
|
7507
|
-
const
|
|
7513
|
+
const release = targetVersion ? `download/v${targetVersion}` : "latest/download";
|
|
7514
|
+
const url = `https://github.com/FabioPlunser/epd/releases/${release}/${binaryName}`;
|
|
7508
7515
|
const res = await fetch(url);
|
|
7509
7516
|
if (!res.ok)
|
|
7510
7517
|
throw new Error(`HTTP ${res.status} ${res.statusText}`);
|
|
@@ -7522,20 +7529,17 @@ async function performUpdate(targetVersion) {
|
|
|
7522
7529
|
const isBunGlobal = (process.argv[1] || "").includes(".bun");
|
|
7523
7530
|
const pkgMgr = isBunGlobal ? "bun" : "npm";
|
|
7524
7531
|
const pkgSpec = targetVersion ? `@fabioplunser/epd@${targetVersion}` : "@fabioplunser/epd@latest";
|
|
7525
|
-
|
|
7526
|
-
log.step(`Updating via ${pkgMgr}...`);
|
|
7527
|
-
const res = await runShell(`${pkgMgr} install -g ${pkgSpec}`, { stream: true, allowFailure: true });
|
|
7528
|
-
return res.code === 0;
|
|
7529
|
-
} catch {
|
|
7530
|
-
const fallback = pkgMgr === "bun" ? "npm" : "bun";
|
|
7532
|
+
for (const manager of [pkgMgr, pkgMgr === "bun" ? "npm" : "bun"]) {
|
|
7531
7533
|
try {
|
|
7532
|
-
log.step(`
|
|
7533
|
-
const res = await
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7534
|
+
log.step(`Updating via ${manager}...`);
|
|
7535
|
+
const res = await run(packageUpdateCommand(manager, pkgSpec), { stream: true, allowFailure: true });
|
|
7536
|
+
if (res.code === 0)
|
|
7537
|
+
return true;
|
|
7538
|
+
} catch (error) {
|
|
7539
|
+
log.debug(`${manager} update failed: ${error}`);
|
|
7537
7540
|
}
|
|
7538
7541
|
}
|
|
7542
|
+
return false;
|
|
7539
7543
|
}
|
|
7540
7544
|
async function promptAutoUpdate(currentVersion) {
|
|
7541
7545
|
if (!interactive() || process.env.CI || process.env.EPD_NO_UPDATE_CHECK === "1" || process.env.EPD_NO_UPDATE_CHECK === "true") {
|
|
@@ -7570,14 +7574,23 @@ var init_update = __esm(() => {
|
|
|
7570
7574
|
init_proc();
|
|
7571
7575
|
});
|
|
7572
7576
|
|
|
7577
|
+
// package.json
|
|
7578
|
+
var version = "0.5.13";
|
|
7579
|
+
var init_package = () => {};
|
|
7580
|
+
|
|
7573
7581
|
// src/version.ts
|
|
7574
|
-
var VERSION
|
|
7582
|
+
var VERSION;
|
|
7583
|
+
var init_version = __esm(() => {
|
|
7584
|
+
init_package();
|
|
7585
|
+
VERSION = version;
|
|
7586
|
+
});
|
|
7575
7587
|
|
|
7576
7588
|
// src/commands/update.ts
|
|
7577
7589
|
var update;
|
|
7578
7590
|
var init_update2 = __esm(() => {
|
|
7579
7591
|
init_log();
|
|
7580
7592
|
init_update();
|
|
7593
|
+
init_version();
|
|
7581
7594
|
update = {
|
|
7582
7595
|
name: "update",
|
|
7583
7596
|
aliases: ["upgrade"],
|
|
@@ -8490,7 +8503,7 @@ Options
|
|
|
8490
8503
|
|
|
8491
8504
|
// src/commands/restore.ts
|
|
8492
8505
|
import { createReadStream, existsSync as existsSync11 } from "fs";
|
|
8493
|
-
import { basename as
|
|
8506
|
+
import { basename as basename4, resolve as resolve4 } from "path";
|
|
8494
8507
|
var restore;
|
|
8495
8508
|
var init_restore = __esm(() => {
|
|
8496
8509
|
init_log();
|
|
@@ -8521,7 +8534,7 @@ Options
|
|
|
8521
8534
|
throw new EpdError(`Backup file not found: ${absPath}`);
|
|
8522
8535
|
const loaded = ctx.load();
|
|
8523
8536
|
const cfg = loaded.config;
|
|
8524
|
-
const fileBase =
|
|
8537
|
+
const fileBase = basename4(absPath);
|
|
8525
8538
|
const accessories = cfg.accessories;
|
|
8526
8539
|
if (!accessories.length)
|
|
8527
8540
|
throw new EpdError("No accessories configured in epd.yml.");
|
|
@@ -9236,6 +9249,7 @@ init_prompt();
|
|
|
9236
9249
|
init_load();
|
|
9237
9250
|
init_commands();
|
|
9238
9251
|
init_update();
|
|
9252
|
+
init_version();
|
|
9239
9253
|
import { parseArgs } from "util";
|
|
9240
9254
|
var CATEGORIES = [
|
|
9241
9255
|
{
|
|
@@ -14,6 +14,7 @@ export default defineConfig({
|
|
|
14
14
|
siteTitle: "EPD",
|
|
15
15
|
nav: [
|
|
16
16
|
{ text: "Getting Started", link: "/guide/getting-started" },
|
|
17
|
+
{ text: "AI Agents", link: "/agents" },
|
|
17
18
|
{ text: "Guide", link: "/guide" },
|
|
18
19
|
{ text: "CI/CD", link: "/ci-cd" },
|
|
19
20
|
{ text: "Hetzner & DNS", link: "/hetzner-dns" },
|
|
@@ -22,11 +23,13 @@ export default defineConfig({
|
|
|
22
23
|
items: [
|
|
23
24
|
{ text: "CLI Commands", link: "/reference/cli" },
|
|
24
25
|
{ text: "Configuration (epd.yml)", link: "/reference/config" },
|
|
26
|
+
{ text: "For AI Agents", link: "/agents" },
|
|
27
|
+
{ text: "llms.txt (Raw Feed)", link: "/llms.txt" },
|
|
25
28
|
{ text: "Troubleshooting", link: "/guide/troubleshooting" },
|
|
26
29
|
],
|
|
27
30
|
},
|
|
28
31
|
{
|
|
29
|
-
text: "v0.5.
|
|
32
|
+
text: "v0.5.12",
|
|
30
33
|
items: [
|
|
31
34
|
{ text: "Releases & Changelog", link: "https://github.com/FabioPlunser/epd/releases" },
|
|
32
35
|
{ text: "NPM Package", link: "https://www.npmjs.com/package/@fabioplunser/epd" },
|
|
@@ -39,6 +42,7 @@ export default defineConfig({
|
|
|
39
42
|
items: [
|
|
40
43
|
{ text: "Quickstart (5 Mins)", link: "/guide/getting-started" },
|
|
41
44
|
{ text: "Installation", link: "/guide/installation" },
|
|
45
|
+
{ text: "For AI Agents (Cursor / Windsurf)", link: "/agents" },
|
|
42
46
|
],
|
|
43
47
|
},
|
|
44
48
|
{
|
|
@@ -59,6 +63,7 @@ export default defineConfig({
|
|
|
59
63
|
{
|
|
60
64
|
text: "Integrations & Automation",
|
|
61
65
|
items: [
|
|
66
|
+
{ text: "AI Coding Agents", link: "/agents" },
|
|
62
67
|
{ text: "GitHub Actions CI/CD", link: "/ci-cd" },
|
|
63
68
|
{ text: "Hetzner Cloud & DNS", link: "/hetzner-dns" },
|
|
64
69
|
],
|
|
@@ -68,6 +73,8 @@ export default defineConfig({
|
|
|
68
73
|
items: [
|
|
69
74
|
{ text: "CLI Commands Reference", link: "/reference/cli" },
|
|
70
75
|
{ text: "epd.yml Configuration", link: "/reference/config" },
|
|
76
|
+
{ text: "Raw LLM Feed (llms.txt)", link: "/llms.txt" },
|
|
77
|
+
{ text: "Full LLM Context (llms-full.txt)", link: "/llms-full.txt" },
|
|
71
78
|
],
|
|
72
79
|
},
|
|
73
80
|
],
|