openmates 0.24.0 → 0.25.0-alpha.1
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/README.md +3 -3
- package/dist/{chunk-VEQ3R7MK.js → chunk-4KYSLHVG.js} +16 -12
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -349,12 +349,12 @@ intentionally want the chat saved to the OpenMates account.
|
|
|
349
349
|
|
|
350
350
|
## Versioning
|
|
351
351
|
|
|
352
|
-
OpenMates shows the short product line, for example `v0.
|
|
352
|
+
OpenMates shows the short product line, for example `v0.25`, in the web app.
|
|
353
353
|
The npm package uses exact artifact versions:
|
|
354
354
|
|
|
355
|
-
- `0.
|
|
355
|
+
- `0.25.0-alpha.N` is a prerelease from the `dev` branch published under the
|
|
356
356
|
`alpha` npm tag.
|
|
357
|
-
- `0.
|
|
357
|
+
- `0.25.0` is a stable release from `main` published under the `latest` npm tag.
|
|
358
358
|
|
|
359
359
|
Install stable releases with `npm install -g openmates`. Install prereleases with
|
|
360
360
|
`npm install -g openmates@alpha`.
|
|
@@ -32647,7 +32647,7 @@ var ROLE_DEFINITIONS = {
|
|
|
32647
32647
|
dataBearing: true,
|
|
32648
32648
|
requiredServices: ["api", "cms", "cms-database", "cache", "vault", "vault-setup", "cms-setup"],
|
|
32649
32649
|
optionalServices: [...CORE_WORKER_SERVICES, "admin-sidecar", "webapp", "openobserve", "promtail", "prometheus", "cadvisor", "node-exporter", "alertmanager"],
|
|
32650
|
-
healthChecks: ["http://
|
|
32650
|
+
healthChecks: ["http://127.0.0.1:8000/health"],
|
|
32651
32651
|
templatePath: "templates/core/docker-compose.selfhost.yml",
|
|
32652
32652
|
composeFile: "backend/core/docker-compose.selfhost.yml"
|
|
32653
32653
|
},
|
|
@@ -32655,7 +32655,7 @@ var ROLE_DEFINITIONS = {
|
|
|
32655
32655
|
dataBearing: true,
|
|
32656
32656
|
requiredServices: ["app-uploads", "clamav", "vault", "vault-setup", "admin-sidecar"],
|
|
32657
32657
|
optionalServices: [],
|
|
32658
|
-
healthChecks: ["http://
|
|
32658
|
+
healthChecks: ["http://127.0.0.1:8000/health"],
|
|
32659
32659
|
templatePath: "templates/upload/docker-compose.yml",
|
|
32660
32660
|
composeFile: "backend/upload/docker-compose.yml"
|
|
32661
32661
|
},
|
|
@@ -32663,7 +32663,7 @@ var ROLE_DEFINITIONS = {
|
|
|
32663
32663
|
dataBearing: false,
|
|
32664
32664
|
requiredServices: ["preview", "admin-sidecar"],
|
|
32665
32665
|
optionalServices: ["cache"],
|
|
32666
|
-
healthChecks: ["http://
|
|
32666
|
+
healthChecks: ["http://127.0.0.1:8080/health"],
|
|
32667
32667
|
templatePath: "templates/preview/docker-compose.preview.yml",
|
|
32668
32668
|
composeFile: "backend/preview/docker-compose.preview.yml"
|
|
32669
32669
|
}
|
|
@@ -34159,7 +34159,7 @@ function selectExpectedServerApiUrl(input) {
|
|
|
34159
34159
|
if (input.allowExplicitOverride && input.explicitApiUrl?.trim()) {
|
|
34160
34160
|
return input.explicitApiUrl;
|
|
34161
34161
|
}
|
|
34162
|
-
return input.configuredApiUrl || "http://
|
|
34162
|
+
return input.configuredApiUrl || "http://127.0.0.1:8000";
|
|
34163
34163
|
}
|
|
34164
34164
|
function mergeQuickServerTestUpdateStatus(current, outcome) {
|
|
34165
34165
|
const { role: _role, updated_at: _updatedAt, ...status } = current;
|
|
@@ -34935,7 +34935,7 @@ function firstCsvValue(value) {
|
|
|
34935
34935
|
}
|
|
34936
34936
|
function deriveSelfHostCliUrls(envContent) {
|
|
34937
34937
|
return {
|
|
34938
|
-
apiUrl: firstCsvValue(getEnvVar(envContent, "VITE_API_URL")) || "http://
|
|
34938
|
+
apiUrl: firstCsvValue(getEnvVar(envContent, "VITE_API_URL")) || "http://127.0.0.1:8000",
|
|
34939
34939
|
appUrl: firstCsvValue(getEnvVar(envContent, "PRODUCTION_URL")) || "http://localhost:5173"
|
|
34940
34940
|
};
|
|
34941
34941
|
}
|
|
@@ -34958,6 +34958,14 @@ function packagedCaddyTemplatePath(role) {
|
|
|
34958
34958
|
function packagedCoreAlertmanagerTemplatePath() {
|
|
34959
34959
|
return join15(dirname8(new URL(import.meta.url).pathname), "..", "templates", "core", "monitoring", "alertmanager", "alertmanager.yml");
|
|
34960
34960
|
}
|
|
34961
|
+
function ensureCoreAlertmanagerRuntimeFile(installPath) {
|
|
34962
|
+
const templatePath = packagedCoreAlertmanagerTemplatePath();
|
|
34963
|
+
if (!existsSync13(templatePath)) throw new Error(`Packaged Alertmanager config not found: ${templatePath}`);
|
|
34964
|
+
const runtimePath = join15(installPath, CORE_ALERTMANAGER_CONFIG_FILE);
|
|
34965
|
+
if (fileHash(templatePath) === fileHash(runtimePath)) return;
|
|
34966
|
+
mkdirSync13(dirname8(runtimePath), { recursive: true });
|
|
34967
|
+
copyFileSync2(templatePath, runtimePath);
|
|
34968
|
+
}
|
|
34961
34969
|
function ensureCorePrometheusRuntimeFiles(installPath) {
|
|
34962
34970
|
const packagedDir = join15(dirname8(new URL(import.meta.url).pathname), "..", "templates", "core", "monitoring", "prometheus");
|
|
34963
34971
|
const runtimeDir = join15(installPath, CORE_PROMETHEUS_CONFIG_DIR);
|
|
@@ -35029,11 +35037,7 @@ async function writeImageModeRuntimeFiles(installPath, imageTag, role) {
|
|
|
35029
35037
|
const promtailConfigPath = join15(installPath, CORE_PROMTAIL_CONFIG_FILE);
|
|
35030
35038
|
mkdirSync13(dirname8(promtailConfigPath), { recursive: true });
|
|
35031
35039
|
writeFileSync8(promtailConfigPath, SELFHOST_PROMTAIL_CONFIG_TEMPLATE);
|
|
35032
|
-
|
|
35033
|
-
if (!existsSync13(alertmanagerTemplatePath)) throw new Error(`Packaged Alertmanager config not found: ${alertmanagerTemplatePath}`);
|
|
35034
|
-
const alertmanagerConfigPath = join15(installPath, CORE_ALERTMANAGER_CONFIG_FILE);
|
|
35035
|
-
mkdirSync13(dirname8(alertmanagerConfigPath), { recursive: true });
|
|
35036
|
-
copyFileSync2(alertmanagerTemplatePath, alertmanagerConfigPath);
|
|
35040
|
+
ensureCoreAlertmanagerRuntimeFile(installPath);
|
|
35037
35041
|
}
|
|
35038
35042
|
writeFileSync8(join15(vaultConfigDir, "vault.hcl"), VAULT_CONFIG_TEMPLATE);
|
|
35039
35043
|
ensureImageRuntimeConfig(installPath);
|
|
@@ -35081,7 +35085,7 @@ async function checkUrl(url) {
|
|
|
35081
35085
|
}
|
|
35082
35086
|
async function waitForServerHealth(installPath, role = "core", options = {}) {
|
|
35083
35087
|
if (role === "upload" || role === "preview") {
|
|
35084
|
-
const healthUrl = role
|
|
35088
|
+
const healthUrl = planServerRuntime({ role }).healthChecks[0];
|
|
35085
35089
|
const deadline2 = Date.now() + UPDATE_HEALTH_TIMEOUT_MS;
|
|
35086
35090
|
while (Date.now() < deadline2) {
|
|
35087
35091
|
if (await checkUrl(healthUrl)) return;
|
|
@@ -76240,7 +76244,7 @@ As of mid-2026, the severe supply shocks from the 2024\u20132025 avian flu have
|
|
|
76240
76244
|
text: "Test for free"
|
|
76241
76245
|
},
|
|
76242
76246
|
version_title: {
|
|
76243
|
-
text: "v0.
|
|
76247
|
+
text: "v0.25"
|
|
76244
76248
|
},
|
|
76245
76249
|
domain_not_allowed: {
|
|
76246
76250
|
text: "E-Mail domain not allowed."
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED