@clawos-dev/clawd 0.1.1 → 0.1.2
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.cjs +5 -5
- package/dist/cli.cjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -8069,15 +8069,15 @@ function wrap(inner) {
|
|
|
8069
8069
|
function createLogger(opts = {}) {
|
|
8070
8070
|
const level = opts.level ?? "info";
|
|
8071
8071
|
const streams = [
|
|
8072
|
-
{ stream: import_pino.default.destination(1), level }
|
|
8072
|
+
{ stream: import_pino.default.destination({ dest: 1, sync: true }), level }
|
|
8073
8073
|
];
|
|
8074
8074
|
if (opts.file) {
|
|
8075
8075
|
try {
|
|
8076
8076
|
import_node_fs2.default.mkdirSync(import_node_path2.default.dirname(opts.file), { recursive: true });
|
|
8077
|
-
|
|
8078
|
-
|
|
8077
|
+
streams.push({
|
|
8078
|
+
stream: import_pino.default.destination({ dest: opts.file, mkdir: true, sync: true }),
|
|
8079
|
+
level
|
|
8079
8080
|
});
|
|
8080
|
-
streams.push({ stream: fileStream, level });
|
|
8081
8081
|
} catch {
|
|
8082
8082
|
}
|
|
8083
8083
|
}
|
|
@@ -16650,7 +16650,7 @@ function listRecentDirs(store, limit = 50) {
|
|
|
16650
16650
|
}
|
|
16651
16651
|
|
|
16652
16652
|
// src/version.ts
|
|
16653
|
-
var version = "0.1.
|
|
16653
|
+
var version = "0.1.2";
|
|
16654
16654
|
|
|
16655
16655
|
// src/index.ts
|
|
16656
16656
|
async function startDaemon(config) {
|