heyio 4.0.5 → 4.0.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/daemon/cli.js
CHANGED
|
@@ -80,7 +80,7 @@ var init_constants = __esm({
|
|
|
80
80
|
"packages/shared/dist/constants.js"() {
|
|
81
81
|
"use strict";
|
|
82
82
|
APP_NAME = "io";
|
|
83
|
-
APP_VERSION = "4.0.
|
|
83
|
+
APP_VERSION = "4.0.7";
|
|
84
84
|
API_PORT = 7777;
|
|
85
85
|
API_HOST = "0.0.0.0";
|
|
86
86
|
DEFAULT_MODEL = "gpt-4o";
|
|
@@ -55813,7 +55813,7 @@ var require_gray_matter = __commonJS({
|
|
|
55813
55813
|
import { mkdir as mkdir4, readFile as readFile3, readdir, rm as rm2, stat, writeFile as writeFile3 } from "node:fs/promises";
|
|
55814
55814
|
import { basename as basename2, dirname as dirname3, extname as extname2, join as join4, relative, resolve } from "node:path";
|
|
55815
55815
|
function getWikiPagesDir() {
|
|
55816
|
-
return
|
|
55816
|
+
return wikiDirectoryOverride ?? process.env.WIKI_DIR ?? WIKI_DIR;
|
|
55817
55817
|
}
|
|
55818
55818
|
async function listPages() {
|
|
55819
55819
|
const markdownFiles = await collectMarkdownFiles(getWikiPagesDir());
|
|
@@ -60089,7 +60089,7 @@ function createApiServer(config2) {
|
|
|
60089
60089
|
});
|
|
60090
60090
|
if (existsSync2(webDirectory)) {
|
|
60091
60091
|
app.use(import_express10.default.static(webDirectory));
|
|
60092
|
-
app.
|
|
60092
|
+
app.use((_req, res) => {
|
|
60093
60093
|
res.sendFile(join5(webDirectory, "index.html"));
|
|
60094
60094
|
});
|
|
60095
60095
|
}
|
package/dist/daemon/index.js
CHANGED
|
@@ -60175,7 +60175,7 @@ var require_mod2 = __commonJS({
|
|
|
60175
60175
|
|
|
60176
60176
|
// packages/shared/dist/constants.js
|
|
60177
60177
|
var APP_NAME = "io";
|
|
60178
|
-
var APP_VERSION = "4.0.
|
|
60178
|
+
var APP_VERSION = "4.0.7";
|
|
60179
60179
|
var API_PORT = 7777;
|
|
60180
60180
|
var API_HOST = "0.0.0.0";
|
|
60181
60181
|
var DEFAULT_MODEL = "gpt-4o";
|
|
@@ -78638,7 +78638,7 @@ import { mkdir as mkdir4, readFile as readFile3, readdir, rm as rm2, stat, write
|
|
|
78638
78638
|
import { basename as basename2, dirname as dirname3, extname as extname2, join as join3, relative, resolve } from "node:path";
|
|
78639
78639
|
var wikiDirectoryOverride = null;
|
|
78640
78640
|
function getWikiPagesDir() {
|
|
78641
|
-
return
|
|
78641
|
+
return wikiDirectoryOverride ?? process.env.WIKI_DIR ?? WIKI_DIR;
|
|
78642
78642
|
}
|
|
78643
78643
|
async function listPages() {
|
|
78644
78644
|
const markdownFiles = await collectMarkdownFiles(getWikiPagesDir());
|
|
@@ -79178,7 +79178,7 @@ function createApiServer(config2) {
|
|
|
79178
79178
|
});
|
|
79179
79179
|
if (existsSync2(webDirectory)) {
|
|
79180
79180
|
app.use(import_express10.default.static(webDirectory));
|
|
79181
|
-
app.
|
|
79181
|
+
app.use((_req, res) => {
|
|
79182
79182
|
res.sendFile(join4(webDirectory, "index.html"));
|
|
79183
79183
|
});
|
|
79184
79184
|
}
|