@seamnet/client 0.12.5 → 0.12.6
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/lib/guardian.js +1 -1
- package/package.json +1 -1
package/lib/guardian.js
CHANGED
|
@@ -195,7 +195,7 @@ export async function guardianRun() {
|
|
|
195
195
|
const isFirstStart = !guardianState.has('cc_restarted');
|
|
196
196
|
const isUpgradeRestart = guardianState.has('pending_upgrade_restart');
|
|
197
197
|
if (ccSession && (isFirstStart || isUpgradeRestart)) {
|
|
198
|
-
const safeSession = ccSession.replace(/[^a-zA-Z0-9_
|
|
198
|
+
const safeSession = ccSession.replace(/[^a-zA-Z0-9_一-鿿-ヿ가--]/g, '_');
|
|
199
199
|
const tmux = tmuxCmd(ccSocket);
|
|
200
200
|
hub.logger('guardian').info('auto_restart_cc_scheduled', {
|
|
201
201
|
session: safeSession,
|