openship 0.6.6 → 0.6.7
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/bare-7QD623QV.js +29 -0
- package/dist/{chunk-Q7WGTQQ5.js → chunk-2ANV5ZQ5.js} +1 -1
- package/dist/{chunk-UJ6JZM65.js → chunk-2VSW6Q6C.js} +601 -382
- package/dist/{chunk-PCPVTH6M.js → chunk-5T4UVOM3.js} +6 -4
- package/dist/{chunk-YMMQRE5J.js → chunk-BLEXTYRK.js} +1 -1
- package/dist/{chunk-OBPKYXQL.js → chunk-CIJV43LH.js} +71 -32
- package/dist/{chunk-NK5N5LXN.js → chunk-DDFUESPJ.js} +24 -9
- package/dist/{chunk-6FH4AXVY.js → chunk-E2X26PXR.js} +1 -1
- package/dist/{chunk-HKRQXPTI.js → chunk-FYPFEDPZ.js} +1 -1
- package/dist/{chunk-UVNMQM7W.js → chunk-FZ6QCF6B.js} +8 -6
- package/dist/{chunk-MLYSEZQB.js → chunk-GGIAIGUL.js} +15 -66
- package/dist/{chunk-2YM3NI2E.js → chunk-GIPJNNI5.js} +38 -44
- package/dist/{chunk-ZFJXPCQP.js → chunk-H3WT3A6R.js} +4 -3
- package/dist/chunk-H4FS5BED.js +936 -0
- package/dist/{chunk-CBLD2HS5.js → chunk-J2XM3QSP.js} +8 -5
- package/dist/{chunk-FE7ZZQSE.js → chunk-J3K6XABC.js} +3 -3
- package/dist/{chunk-77QDF6UD.js → chunk-LHFXSC36.js} +428 -93
- package/dist/{chunk-YIMOCZBZ.js → chunk-MEE6OZFP.js} +3 -3
- package/dist/chunk-N5YZMO33.js +111 -0
- package/dist/{chunk-QVW76WDL.js → chunk-NRTJRNAE.js} +58 -16
- package/dist/{chunk-WVAML4H6.js → chunk-PPEBIY5F.js} +247 -61
- package/dist/{chunk-4I2BM2DT.js → chunk-PVP4RGWT.js} +3 -3
- package/dist/{chunk-RSR7PFIQ.js → chunk-QHMDCYZ3.js} +4 -4
- package/dist/chunk-R4VDPFLS.js +106 -0
- package/dist/{chunk-VTGPEC6B.js → chunk-RDXT4BQB.js} +6 -4
- package/dist/{chunk-LFE5KQ7Y.js → chunk-S6B2Z3OO.js} +142 -57
- package/dist/chunk-UWEV6XTS.js +249 -0
- package/dist/{chunk-5DMWSTOM.js → chunk-VQM6JHJB.js} +940 -224
- package/dist/{chunk-SM26HDS2.js → chunk-VSTFHUCV.js} +44 -50
- package/dist/chunk-WU54BXFE.js +70 -0
- package/dist/{chunk-LUKYPVJ4.js → chunk-XWHWTHEL.js} +313 -469
- package/dist/{chunk-A4GXYE4L.js → chunk-ZPJ74LXE.js} +22 -20
- package/dist/cloud-KNNABE3O.js +40 -0
- package/dist/{detect-OIE5V3VZ.js → detect-G4DR3U2N.js} +9 -6
- package/dist/{docker-VTR2GK5Y.js → docker-YOVPCIB4.js} +11 -8
- package/dist/{docker-edge-executor-22IBXNYJ.js → docker-edge-executor-QFXD3337.js} +8 -6
- package/dist/edge-import-CRFVSR6P.js +56 -0
- package/dist/{edge-preflight-GBNCPNVU.js → edge-preflight-MXERVAMG.js} +15 -12
- package/dist/{ensure-container-edge-KPI2CVXJ.js → ensure-container-edge-F4JUNQIK.js} +13 -10
- package/dist/{executor-7LXXZPBR.js → executor-CVPAYYHR.js} +8 -6
- package/dist/host-channel-preflight-QTDNGLCK.js +54 -0
- package/dist/index.js +84 -48
- package/dist/{local-executor-WOFZD72X.js → local-executor-ODC6RANU.js} +3 -2
- package/dist/{nginx-KUFMLMAC.js → nginx-KLFF43TC.js} +11 -8
- package/dist/{openresty-lua-ATTH35BE.js → openresty-lua-VKWUV4GB.js} +6 -5
- package/dist/{privilege-I4W3ZNZK.js → privilege-7D3SSOL3.js} +6 -5
- package/dist/server/index.js +8813 -5232
- package/dist/setup-I5AJC6NJ.js +25 -0
- package/dist/{ssh-client-JBMA7SN4.js → ssh-client-625VWGKP.js} +3 -2
- package/dist/up-QXTOOVXC.js +61 -0
- package/package.json +1 -1
- package/dist/bare-OXJVW3AK.js +0 -25
- package/dist/chunk-LH2PLRQO.js +0 -434
- package/dist/cloud-75VIT4KV.js +0 -37
- package/dist/edge-import-WJUB4M7F.js +0 -52
- package/dist/host-channel-preflight-KE6OONYK.js +0 -50
- package/dist/setup-XGLGUUFW.js +0 -22
- package/dist/up-K4BV7466.js +0 -57
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
stop,
|
|
27
27
|
upCommand,
|
|
28
28
|
writeCliInstall
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DDFUESPJ.js";
|
|
30
30
|
import {
|
|
31
31
|
composeDown,
|
|
32
32
|
composeInternalToken,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
sourceBuildDir,
|
|
61
61
|
storedApiPort,
|
|
62
62
|
storedDashboardPort
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-PPEBIY5F.js";
|
|
64
64
|
import {
|
|
65
65
|
bootstrapAdmin,
|
|
66
66
|
detectPublicIp,
|
|
@@ -71,10 +71,10 @@ import {
|
|
|
71
71
|
internalTokenRejectedProblem,
|
|
72
72
|
waitDashboard,
|
|
73
73
|
waitHealthy
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-RDXT4BQB.js";
|
|
75
75
|
import {
|
|
76
76
|
startUnitHint
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-VQM6JHJB.js";
|
|
78
78
|
import "./chunk-QWHBRY2K.js";
|
|
79
79
|
import {
|
|
80
80
|
completeHostEdge,
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
renderEdgeConflict,
|
|
86
86
|
repairEdgeConflict,
|
|
87
87
|
rollbackHostEdge
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-J2XM3QSP.js";
|
|
89
89
|
import {
|
|
90
90
|
DATA_DIR,
|
|
91
91
|
LOG_DIR,
|
|
92
92
|
OS_DIR
|
|
93
93
|
} from "./chunk-ELGRMZOW.js";
|
|
94
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-FYPFEDPZ.js";
|
|
95
95
|
import "./chunk-ONKEYSMY.js";
|
|
96
96
|
import "./chunk-XZYFZ6A5.js";
|
|
97
97
|
import "./chunk-PDW4L3NV.js";
|
|
@@ -100,35 +100,39 @@ import "./chunk-42WQABXM.js";
|
|
|
100
100
|
import "./chunk-DRK3MEDS.js";
|
|
101
101
|
import "./chunk-3NQQXMDR.js";
|
|
102
102
|
import "./chunk-ZWLDLTJP.js";
|
|
103
|
-
import "./chunk-
|
|
104
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-J3K6XABC.js";
|
|
104
|
+
import "./chunk-CIJV43LH.js";
|
|
105
105
|
import {
|
|
106
106
|
detectInstalledProxy,
|
|
107
107
|
scanImportableSites
|
|
108
|
-
} from "./chunk-
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
108
|
+
} from "./chunk-ZPJ74LXE.js";
|
|
109
|
+
import "./chunk-NRTJRNAE.js";
|
|
110
|
+
import "./chunk-QHMDCYZ3.js";
|
|
111
111
|
import "./chunk-I3DPMTSF.js";
|
|
112
112
|
import "./chunk-WNWQBB7F.js";
|
|
113
113
|
import "./chunk-2GWYYHOR.js";
|
|
114
114
|
import "./chunk-RXQBD4ZY.js";
|
|
115
|
-
import "./chunk-
|
|
116
|
-
import "./chunk-
|
|
117
|
-
import "./chunk-
|
|
118
|
-
import "./chunk-
|
|
119
|
-
import "./chunk-
|
|
120
|
-
import "./chunk-
|
|
121
|
-
import "./chunk-
|
|
122
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-LHFXSC36.js";
|
|
116
|
+
import "./chunk-XWHWTHEL.js";
|
|
117
|
+
import "./chunk-S6B2Z3OO.js";
|
|
118
|
+
import "./chunk-MEE6OZFP.js";
|
|
119
|
+
import "./chunk-WU54BXFE.js";
|
|
120
|
+
import "./chunk-H4FS5BED.js";
|
|
121
|
+
import "./chunk-GGIAIGUL.js";
|
|
122
|
+
import "./chunk-R4VDPFLS.js";
|
|
123
|
+
import "./chunk-2ANV5ZQ5.js";
|
|
124
|
+
import "./chunk-5T4UVOM3.js";
|
|
123
125
|
import {
|
|
124
126
|
LocalExecutor
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import "./chunk-
|
|
127
|
-
import "./chunk-
|
|
128
|
-
import "./chunk-
|
|
129
|
-
import "./chunk-
|
|
130
|
-
import "./chunk-
|
|
131
|
-
import "./chunk-
|
|
127
|
+
} from "./chunk-E2X26PXR.js";
|
|
128
|
+
import "./chunk-PVP4RGWT.js";
|
|
129
|
+
import "./chunk-BLEXTYRK.js";
|
|
130
|
+
import "./chunk-FZ6QCF6B.js";
|
|
131
|
+
import "./chunk-H3WT3A6R.js";
|
|
132
|
+
import "./chunk-GIPJNNI5.js";
|
|
133
|
+
import "./chunk-VSTFHUCV.js";
|
|
134
|
+
import "./chunk-UWEV6XTS.js";
|
|
135
|
+
import "./chunk-N5YZMO33.js";
|
|
132
136
|
import {
|
|
133
137
|
CLOUD_DASHBOARD_URL,
|
|
134
138
|
HOST_CHANNEL_AUTH_REJECTED_SHORT,
|
|
@@ -146,7 +150,7 @@ import {
|
|
|
146
150
|
parseOpenshipConfigJson,
|
|
147
151
|
resolveCliUpdatePlan,
|
|
148
152
|
summarizeHostChannelCause
|
|
149
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-2VSW6Q6C.js";
|
|
150
154
|
import "./chunk-PXKCZB2I.js";
|
|
151
155
|
|
|
152
156
|
// src/index.ts
|
|
@@ -305,7 +309,7 @@ function getDashboardUrl(name) {
|
|
|
305
309
|
}
|
|
306
310
|
|
|
307
311
|
// src/lib/api-client.ts
|
|
308
|
-
var USER_AGENT = `openship-cli/${true ? "0.6.
|
|
312
|
+
var USER_AGENT = `openship-cli/${true ? "0.6.7" : "dev"}`;
|
|
309
313
|
function getApiUrl2() {
|
|
310
314
|
return `${getApiUrl()}/api`;
|
|
311
315
|
}
|
|
@@ -1101,7 +1105,7 @@ function dockerNameRunning(nameFilter) {
|
|
|
1101
1105
|
return r.stdout.trim().length > 0;
|
|
1102
1106
|
}
|
|
1103
1107
|
async function hostControlCheck(api) {
|
|
1104
|
-
const { checkHostChannel } = await import("./host-channel-preflight-
|
|
1108
|
+
const { checkHostChannel } = await import("./host-channel-preflight-QTDNGLCK.js");
|
|
1105
1109
|
return hostControlRow(await checkHostChannel().catch(() => null), api);
|
|
1106
1110
|
}
|
|
1107
1111
|
var NEVER_PROVISIONED_DETAIL = `never provisioned \u2014 run \`${HOST_CHANNEL_PROVISION_COMMAND}\``;
|
|
@@ -1506,7 +1510,7 @@ async function interactiveDoctor() {
|
|
|
1506
1510
|
continue;
|
|
1507
1511
|
}
|
|
1508
1512
|
if (action2 === "host-control") {
|
|
1509
|
-
const { verifyHostChannel } = await import("./host-channel-preflight-
|
|
1513
|
+
const { verifyHostChannel } = await import("./host-channel-preflight-QTDNGLCK.js");
|
|
1510
1514
|
const report3 = await verifyHostChannel().catch(() => null);
|
|
1511
1515
|
if (report3?.status === "fixed") log2.success("Host control is reachable now.");
|
|
1512
1516
|
else if (report3?.status === "ok") log2.success("Host control was already reachable.");
|
|
@@ -1613,8 +1617,6 @@ async function deployFolder(opts) {
|
|
|
1613
1617
|
tarball,
|
|
1614
1618
|
"--exclude=./node_modules",
|
|
1615
1619
|
"--exclude=./.git",
|
|
1616
|
-
"--exclude=./dist",
|
|
1617
|
-
"--exclude=./.next",
|
|
1618
1620
|
"--exclude=./.DS_Store",
|
|
1619
1621
|
"-C",
|
|
1620
1622
|
cwd,
|
|
@@ -1682,7 +1684,11 @@ async function deployFolder(opts) {
|
|
|
1682
1684
|
})
|
|
1683
1685
|
});
|
|
1684
1686
|
if (!dep.deployment_id) throw new Error(dep.error || "Failed to start deployment");
|
|
1685
|
-
return {
|
|
1687
|
+
return {
|
|
1688
|
+
deploymentId: dep.deployment_id,
|
|
1689
|
+
projectId: dep.project_id,
|
|
1690
|
+
...scan.configDiagnostics && { configDiagnostics: scan.configDiagnostics }
|
|
1691
|
+
};
|
|
1686
1692
|
}
|
|
1687
1693
|
|
|
1688
1694
|
// src/lib/sse.ts
|
|
@@ -1871,8 +1877,18 @@ var deployCommand = new Command11("deploy").description("Trigger a deployment fo
|
|
|
1871
1877
|
}
|
|
1872
1878
|
});
|
|
1873
1879
|
deploymentId = result2.deploymentId;
|
|
1874
|
-
payload = {
|
|
1880
|
+
payload = {
|
|
1881
|
+
success: true,
|
|
1882
|
+
deployment_id: result2.deploymentId,
|
|
1883
|
+
project_id: result2.projectId,
|
|
1884
|
+
...result2.configDiagnostics && { configDiagnostics: result2.configDiagnostics }
|
|
1885
|
+
};
|
|
1875
1886
|
spinner5?.succeed(deploymentId ? `Deployment queued: ${deploymentId}` : "Deployment queued");
|
|
1887
|
+
if (result2.configDiagnostics?.wholeFile) {
|
|
1888
|
+
err(" \u2717 openship.json was ignored entirely \u2014 deployed with detected settings:");
|
|
1889
|
+
}
|
|
1890
|
+
for (const e of result2.configDiagnostics?.errors ?? []) err(` \u2022 ${e}`);
|
|
1891
|
+
for (const w of result2.configDiagnostics?.warnings ?? []) info(` \u26A0 ${w}`);
|
|
1876
1892
|
} catch (e) {
|
|
1877
1893
|
spinner5?.fail("Folder deploy failed");
|
|
1878
1894
|
err(e instanceof ApiError ? e.message : String(e));
|
|
@@ -2953,16 +2969,36 @@ ${mapErrors.join("\n")}`
|
|
|
2953
2969
|
}
|
|
2954
2970
|
});
|
|
2955
2971
|
function containerActionCommand(action2) {
|
|
2956
|
-
|
|
2972
|
+
const cmd = stackCommand(action2).description(
|
|
2973
|
+
action2 === "restart" ? "Bounce a service's container (does NOT apply changed env \u2014 use `deploy --refresh` for that)" : `${action2[0].toUpperCase()}${action2.slice(1)} a service's container`
|
|
2974
|
+
).argument("<service>", "Service name or id");
|
|
2975
|
+
if (action2 === "restart") {
|
|
2976
|
+
cmd.option("--force", "Bounce even with pending env changes (they will NOT be applied)");
|
|
2977
|
+
}
|
|
2978
|
+
return cmd.action(async (service, opts) => {
|
|
2957
2979
|
requireAuth();
|
|
2980
|
+
let serviceId = "";
|
|
2958
2981
|
try {
|
|
2959
2982
|
const projectId = await resolveProject(opts.project);
|
|
2960
2983
|
const svc = await resolveService(projectId, service);
|
|
2961
|
-
|
|
2984
|
+
serviceId = svc.id;
|
|
2985
|
+
const query2 = action2 === "restart" && opts.force ? "?force=true" : "";
|
|
2986
|
+
await apiRequest(`/projects/${projectId}/services/${svc.id}/${action2}${query2}`, {
|
|
2962
2987
|
method: "POST"
|
|
2963
2988
|
});
|
|
2964
2989
|
ok(` ${action2}ed "${svc.name}".`);
|
|
2965
2990
|
} catch (e) {
|
|
2991
|
+
const body = e instanceof ApiError ? e.body : null;
|
|
2992
|
+
if (body?.code === "SERVICE_CONFIG_STALE") {
|
|
2993
|
+
const keys = Array.isArray(body.staleEnvKeys) ? body.staleEnvKeys : [];
|
|
2994
|
+
err(` Restart refused: "${body.serviceName ?? service}" has pending environment changes.`);
|
|
2995
|
+
if (keys.length > 0) info(` Pending: ${keys.join(", ")}`);
|
|
2996
|
+
info(
|
|
2997
|
+
` Apply them: openship deploy --refresh --service-ids ${serviceId} -p ${opts.project}`
|
|
2998
|
+
);
|
|
2999
|
+
info(` Bounce anyway (changes NOT applied): add --force`);
|
|
3000
|
+
process.exit(1);
|
|
3001
|
+
}
|
|
2966
3002
|
fail(e);
|
|
2967
3003
|
}
|
|
2968
3004
|
});
|
|
@@ -3463,7 +3499,7 @@ async function runRepair2(mode) {
|
|
|
3463
3499
|
requireLinux();
|
|
3464
3500
|
const sp = spin2(mode === "migrate" ? "Migrating the existing proxy's sites into the edge\u2026" : "Taking over :80/:443\u2026");
|
|
3465
3501
|
try {
|
|
3466
|
-
const { repairEdgeConflict: repairEdgeConflict2 } = await import("./edge-preflight-
|
|
3502
|
+
const { repairEdgeConflict: repairEdgeConflict2 } = await import("./edge-preflight-MXERVAMG.js");
|
|
3467
3503
|
sp?.stop();
|
|
3468
3504
|
const res = await repairEdgeConflict2(mode, apiPort(), onLog);
|
|
3469
3505
|
reportRepair(res);
|
|
@@ -3612,7 +3648,7 @@ async function panelStatus() {
|
|
|
3612
3648
|
async function panelRepair(mode) {
|
|
3613
3649
|
const sp = spin2(mode === "migrate" ? "Migrating the existing proxy's sites\u2026" : "Taking over :80/:443\u2026");
|
|
3614
3650
|
try {
|
|
3615
|
-
const { repairEdgeConflict: repairEdgeConflict2 } = await import("./edge-preflight-
|
|
3651
|
+
const { repairEdgeConflict: repairEdgeConflict2 } = await import("./edge-preflight-MXERVAMG.js");
|
|
3616
3652
|
sp?.stop();
|
|
3617
3653
|
const res = await repairEdgeConflict2(mode, apiPort(), onLog);
|
|
3618
3654
|
renderRepair(res);
|
|
@@ -4454,7 +4490,7 @@ function printMonitoringNextSteps() {
|
|
|
4454
4490
|
info(" openship edge analytics -p <project> per-domain analytics");
|
|
4455
4491
|
}
|
|
4456
4492
|
async function runMonitoringInstall(opts) {
|
|
4457
|
-
const up = await import("./up-
|
|
4493
|
+
const up = await import("./up-QXTOOVXC.js");
|
|
4458
4494
|
let adminName = opts.adminName;
|
|
4459
4495
|
let adminEmail = opts.adminEmail;
|
|
4460
4496
|
let adminPassword = opts.adminPassword;
|
|
@@ -6611,7 +6647,7 @@ function applyOnlyArgv(selfArgs, json) {
|
|
|
6611
6647
|
// src/commands/update.ts
|
|
6612
6648
|
async function verifyHostChannelAfterUpdate() {
|
|
6613
6649
|
if (isJsonMode()) return;
|
|
6614
|
-
const { verifyHostChannel } = await import("./host-channel-preflight-
|
|
6650
|
+
const { verifyHostChannel } = await import("./host-channel-preflight-QTDNGLCK.js");
|
|
6615
6651
|
await verifyHostChannel().catch(() => {
|
|
6616
6652
|
});
|
|
6617
6653
|
}
|
|
@@ -6688,7 +6724,7 @@ async function runSourceUpdate(source, opts) {
|
|
|
6688
6724
|
}
|
|
6689
6725
|
var REINSTALL_HINT = "curl -fsSL https://get.openship.io | sh";
|
|
6690
6726
|
async function runTarballUpdate(install, opts) {
|
|
6691
|
-
const current = "0.6.
|
|
6727
|
+
const current = "0.6.7";
|
|
6692
6728
|
let latest;
|
|
6693
6729
|
try {
|
|
6694
6730
|
latest = (await resolveLatestTag()).replace(/^v/, "");
|
|
@@ -6772,7 +6808,7 @@ var updateCommand = new Command26("update").description("Update the Openship CLI
|
|
|
6772
6808
|
if (source) return runSourceUpdate(source, opts);
|
|
6773
6809
|
const cliInstall = readCliInstall();
|
|
6774
6810
|
if (cliInstall?.method === "tarball") return runTarballUpdate(cliInstall, opts);
|
|
6775
|
-
const current = "0.6.
|
|
6811
|
+
const current = "0.6.7";
|
|
6776
6812
|
let latest;
|
|
6777
6813
|
try {
|
|
6778
6814
|
latest = (await resolveLatestTag()).replace(/^v/, "");
|
|
@@ -7380,7 +7416,7 @@ async function runWizard() {
|
|
|
7380
7416
|
}
|
|
7381
7417
|
}
|
|
7382
7418
|
}
|
|
7383
|
-
const uiTag = `v${"0.6.
|
|
7419
|
+
const uiTag = `v${"0.6.7"}`;
|
|
7384
7420
|
if (method === "bare") {
|
|
7385
7421
|
const dl = spinner4();
|
|
7386
7422
|
dl.start("Pulling the Openship dist from GitHub");
|
|
@@ -7440,7 +7476,7 @@ async function runWizard() {
|
|
|
7440
7476
|
const dashboardPort = String(ports.dashboard);
|
|
7441
7477
|
const moved = portMoveNotice(ports, composeTrustedOriginUrls());
|
|
7442
7478
|
if (moved.length) log5.info(moved.join("\n"));
|
|
7443
|
-
if (!pinnedImagesReady({ version: "0.6.
|
|
7479
|
+
if (!pinnedImagesReady({ version: "0.6.7" })) {
|
|
7444
7480
|
cancel4("The pinned Openship image tag isn't in the registry yet \u2014 nothing on this box was changed.");
|
|
7445
7481
|
process.exit(1);
|
|
7446
7482
|
}
|
|
@@ -7464,7 +7500,7 @@ async function runWizard() {
|
|
|
7464
7500
|
dashboardPort,
|
|
7465
7501
|
publicUrl,
|
|
7466
7502
|
trustProxy: behindProxy,
|
|
7467
|
-
version: "0.6.
|
|
7503
|
+
version: "0.6.7",
|
|
7468
7504
|
noHostControl: !allowHostControl
|
|
7469
7505
|
});
|
|
7470
7506
|
if (!fetched.ok) {
|
|
@@ -7493,7 +7529,7 @@ async function runWizard() {
|
|
|
7493
7529
|
dashboardPort,
|
|
7494
7530
|
publicUrl,
|
|
7495
7531
|
trustProxy: behindProxy,
|
|
7496
|
-
version: "0.6.
|
|
7532
|
+
version: "0.6.7",
|
|
7497
7533
|
noHostControl: !allowHostControl
|
|
7498
7534
|
});
|
|
7499
7535
|
if (!up.ok) {
|
|
@@ -7594,7 +7630,7 @@ async function runWizard() {
|
|
|
7594
7630
|
if (result.liveUrl) liveUrl2 = result.liveUrl;
|
|
7595
7631
|
else if (!result.domainRegistered) liveUrl2 = `http://localhost:${started.dashPort}`;
|
|
7596
7632
|
for (const w of result.warnings) log5.warn(w);
|
|
7597
|
-
const { verifyHostChannel } = await import("./host-channel-preflight-
|
|
7633
|
+
const { verifyHostChannel } = await import("./host-channel-preflight-QTDNGLCK.js");
|
|
7598
7634
|
await verifyHostChannel().catch(() => {
|
|
7599
7635
|
});
|
|
7600
7636
|
finishSetup({
|
|
@@ -7873,7 +7909,7 @@ function attachCompletion(program2) {
|
|
|
7873
7909
|
|
|
7874
7910
|
// src/index.ts
|
|
7875
7911
|
var program = new Command28();
|
|
7876
|
-
program.name("openship").description("Openship CLI \u2014 install, run, and manage Openship from your terminal").version("0.6.
|
|
7912
|
+
program.name("openship").description("Openship CLI \u2014 install, run, and manage Openship from your terminal").version("0.6.7").option("--json", "Machine-readable JSON output (stdout data only)").hook("preAction", (thisCommand) => {
|
|
7877
7913
|
if (thisCommand.opts().json) setJsonMode(true);
|
|
7878
7914
|
}).action(async () => {
|
|
7879
7915
|
const installed = serviceStatus().installed || readInstallMethod() === "compose";
|
|
@@ -4,8 +4,9 @@ import { createRequire as __ospCreateRequire } from "node:module";
|
|
|
4
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
5
5
|
import {
|
|
6
6
|
LocalExecutor
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-E2X26PXR.js";
|
|
8
|
+
import "./chunk-H3WT3A6R.js";
|
|
9
|
+
import "./chunk-2VSW6Q6C.js";
|
|
9
10
|
import "./chunk-PXKCZB2I.js";
|
|
10
11
|
export {
|
|
11
12
|
LocalExecutor
|
|
@@ -14,15 +14,18 @@ import {
|
|
|
14
14
|
renderProxyOptions,
|
|
15
15
|
renderProxyTlsOptions,
|
|
16
16
|
summarizeCertbotFailure
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-NRTJRNAE.js";
|
|
18
|
+
import "./chunk-QHMDCYZ3.js";
|
|
19
19
|
import "./chunk-I3DPMTSF.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-R4VDPFLS.js";
|
|
21
|
+
import "./chunk-BLEXTYRK.js";
|
|
22
|
+
import "./chunk-FZ6QCF6B.js";
|
|
23
|
+
import "./chunk-H3WT3A6R.js";
|
|
24
|
+
import "./chunk-GIPJNNI5.js";
|
|
25
|
+
import "./chunk-VSTFHUCV.js";
|
|
26
|
+
import "./chunk-UWEV6XTS.js";
|
|
27
|
+
import "./chunk-N5YZMO33.js";
|
|
28
|
+
import "./chunk-2VSW6Q6C.js";
|
|
26
29
|
import "./chunk-PXKCZB2I.js";
|
|
27
30
|
export {
|
|
28
31
|
MANAGED_STATIC_BASE,
|
|
@@ -40,11 +40,12 @@ import {
|
|
|
40
40
|
ensureOpenRestyConfig,
|
|
41
41
|
luaSourceAvailable,
|
|
42
42
|
parseNginxVersion
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-QHMDCYZ3.js";
|
|
44
|
+
import "./chunk-BLEXTYRK.js";
|
|
45
|
+
import "./chunk-FZ6QCF6B.js";
|
|
46
|
+
import "./chunk-H3WT3A6R.js";
|
|
47
|
+
import "./chunk-N5YZMO33.js";
|
|
48
|
+
import "./chunk-2VSW6Q6C.js";
|
|
48
49
|
import "./chunk-PXKCZB2I.js";
|
|
49
50
|
export {
|
|
50
51
|
ACME_CHALLENGE_LOCATION,
|
|
@@ -6,11 +6,12 @@ import {
|
|
|
6
6
|
privilegedExecutor,
|
|
7
7
|
rootChecked,
|
|
8
8
|
rootOrDegrade
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-PVP4RGWT.js";
|
|
10
|
+
import "./chunk-BLEXTYRK.js";
|
|
11
|
+
import "./chunk-FZ6QCF6B.js";
|
|
12
|
+
import "./chunk-H3WT3A6R.js";
|
|
13
|
+
import "./chunk-N5YZMO33.js";
|
|
14
|
+
import "./chunk-2VSW6Q6C.js";
|
|
14
15
|
import "./chunk-PXKCZB2I.js";
|
|
15
16
|
export {
|
|
16
17
|
privilegedExecutor,
|