tmex-cli 0.8.2 → 0.9.0-test-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/dist/cli-node.js
CHANGED
|
@@ -556,6 +556,7 @@ After=network.target
|
|
|
556
556
|
|
|
557
557
|
[Service]
|
|
558
558
|
Type=simple
|
|
559
|
+
KillMode=process
|
|
559
560
|
WorkingDirectory=${escapedInstallDir}
|
|
560
561
|
SyslogIdentifier=tmex
|
|
561
562
|
StandardOutput=journal
|
|
@@ -595,6 +596,8 @@ function buildLaunchdPlist({
|
|
|
595
596
|
<true/>
|
|
596
597
|
<key>KeepAlive</key>
|
|
597
598
|
<true/>
|
|
599
|
+
<key>AbandonProcessGroup</key>
|
|
600
|
+
<true/>
|
|
598
601
|
<key>StandardOutPath</key>
|
|
599
602
|
<string>${escapeXml(join3(installDir, "tmex.log"))}</string>
|
|
600
603
|
<key>StandardErrorPath</key>
|
|
Binary file
|
package/dist/runtime/server.js
CHANGED
|
@@ -7721,7 +7721,7 @@ var require_bcrypt_pbkdf = __commonJS((exports, module) => {
|
|
|
7721
7721
|
|
|
7722
7722
|
// ../../node_modules/.bun/cpu-features@0.0.10/node_modules/cpu-features/build/Release/cpufeatures.node
|
|
7723
7723
|
var require_cpufeatures = __commonJS((exports, module) => {
|
|
7724
|
-
module.exports = __require("./cpufeatures-
|
|
7724
|
+
module.exports = __require("./cpufeatures-j6gtp52k.node");
|
|
7725
7725
|
});
|
|
7726
7726
|
|
|
7727
7727
|
// ../../node_modules/.bun/cpu-features@0.0.10/node_modules/cpu-features/lib/index.js
|
|
@@ -8334,12 +8334,12 @@ var require_utils3 = __commonJS((exports, module) => {
|
|
|
8334
8334
|
|
|
8335
8335
|
// ../../node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node
|
|
8336
8336
|
var require_sshcrypto = __commonJS((exports, module) => {
|
|
8337
|
-
module.exports = __require("./sshcrypto-
|
|
8337
|
+
module.exports = __require("./sshcrypto-k4w22zcv.node");
|
|
8338
8338
|
});
|
|
8339
8339
|
|
|
8340
8340
|
// ../../node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib/protocol/crypto/poly1305.js
|
|
8341
8341
|
var require_poly1305 = __commonJS((exports, module) => {
|
|
8342
|
-
var __dirname = "/Users/krhougs/LocalCodes/tmex/node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib/protocol/crypto", __filename = "/Users/krhougs/LocalCodes/tmex/node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib/protocol/crypto/poly1305.js";
|
|
8342
|
+
var __dirname = "/Users/krhougs/LocalCodes/tmex/.claude/worktrees/prod-crash-hardening/node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib/protocol/crypto", __filename = "/Users/krhougs/LocalCodes/tmex/.claude/worktrees/prod-crash-hardening/node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib/protocol/crypto/poly1305.js";
|
|
8343
8343
|
var createPoly1305 = function() {
|
|
8344
8344
|
var _scriptDir = typeof document !== "undefined" && document.currentScript ? document.currentScript.src : undefined;
|
|
8345
8345
|
if (typeof __filename !== "undefined")
|
|
@@ -11112,7 +11112,7 @@ ${formatted}-----END ${type} KEY-----`;
|
|
|
11112
11112
|
|
|
11113
11113
|
// ../../node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib/agent.js
|
|
11114
11114
|
var require_agent = __commonJS((exports, module) => {
|
|
11115
|
-
var __dirname = "/Users/krhougs/LocalCodes/tmex/node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib";
|
|
11115
|
+
var __dirname = "/Users/krhougs/LocalCodes/tmex/.claude/worktrees/prod-crash-hardening/node_modules/.bun/ssh2@1.17.0/node_modules/ssh2/lib";
|
|
11116
11116
|
var { Socket } = __require("net");
|
|
11117
11117
|
var { Duplex } = __require("stream");
|
|
11118
11118
|
var { resolve: resolve3 } = __require("path");
|
|
@@ -32413,10 +32413,16 @@ var telegramBotChats = sqliteTable("telegram_bot_chats", {
|
|
|
32413
32413
|
// ../../apps/gateway/src/db/client.ts
|
|
32414
32414
|
var sqliteClient = null;
|
|
32415
32415
|
var db = null;
|
|
32416
|
+
function applyPragmas(database) {
|
|
32417
|
+
database.run("PRAGMA foreign_keys = ON");
|
|
32418
|
+
database.run("PRAGMA journal_mode = WAL");
|
|
32419
|
+
database.run("PRAGMA busy_timeout = 5000");
|
|
32420
|
+
database.run("PRAGMA synchronous = NORMAL");
|
|
32421
|
+
}
|
|
32416
32422
|
function ensureSqliteClient() {
|
|
32417
32423
|
if (!sqliteClient) {
|
|
32418
32424
|
sqliteClient = new Database2(config.databaseUrl);
|
|
32419
|
-
sqliteClient
|
|
32425
|
+
applyPragmas(sqliteClient);
|
|
32420
32426
|
}
|
|
32421
32427
|
return sqliteClient;
|
|
32422
32428
|
}
|
|
@@ -105067,6 +105073,7 @@ class SwitchBarrier {
|
|
|
105067
105073
|
console.warn(`[switch-barrier] Transaction timeout at stage: ${stage} for ${deviceId}`);
|
|
105068
105074
|
if (stage === "history") {
|
|
105069
105075
|
this.sendLiveResume(ws, deviceId, expectedToken);
|
|
105076
|
+
sessionStateStore.stopOutputBuffering(ws, deviceId);
|
|
105070
105077
|
pending.callbacks.onTimeout?.(stage);
|
|
105071
105078
|
return;
|
|
105072
105079
|
}
|
|
Binary file
|