@codedeck/codedeck 2026.3.1-4.66 → 2026.3.1-4.68
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/util/logger.d.ts.map +1 -1
- package/dist/util/logger.js +11 -3
- package/dist/util/logger.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/util/logger.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/util/logger.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAaxB,QAAA,MAAM,MAAM,6BAGV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
package/dist/util/logger.js
CHANGED
|
@@ -4,11 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const pino_1 = __importDefault(require("pino"));
|
|
7
|
+
function hasPinoPretty() {
|
|
8
|
+
try {
|
|
9
|
+
require.resolve('pino-pretty');
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
catch {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
const usePretty = process.env.NODE_ENV !== 'production' && hasPinoPretty();
|
|
7
17
|
const logger = (0, pino_1.default)({
|
|
8
18
|
level: process.env.LOG_LEVEL ?? 'info',
|
|
9
|
-
transport:
|
|
10
|
-
? { target: 'pino-pretty', options: { colorize: true } }
|
|
11
|
-
: undefined,
|
|
19
|
+
transport: usePretty ? { target: 'pino-pretty', options: { colorize: true } } : undefined,
|
|
12
20
|
});
|
|
13
21
|
exports.default = logger;
|
|
14
22
|
//# sourceMappingURL=logger.js.map
|
package/dist/util/logger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/util/logger.ts"],"names":[],"mappings":";;;;;AAAA,gDAAwB;AAExB,MAAM,MAAM,GAAG,IAAA,cAAI,EAAC;IAClB,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,MAAM;IACtC,SAAS,
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/util/logger.ts"],"names":[],"mappings":";;;;;AAAA,gDAAwB;AAExB,SAAS,aAAa;IACpB,IAAI,CAAC;QACH,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,IAAI,aAAa,EAAE,CAAC;AAE3E,MAAM,MAAM,GAAG,IAAA,cAAI,EAAC;IAClB,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,MAAM;IACtC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC;AAEH,kBAAe,MAAM,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codedeck/codedeck",
|
|
3
|
-
"version": "2026.3.1-4.
|
|
3
|
+
"version": "2026.3.1-4.68",
|
|
4
4
|
"description": "Remote control AI coding agents (Claude Code, Codex, OpenCode) via chat platforms and web terminal",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"commander": "^12.1.0",
|
|
39
39
|
"octokit": "^4.0.2",
|
|
40
40
|
"pino": "^9.5.0",
|
|
41
|
+
"pino-pretty": "^13.1.3",
|
|
41
42
|
"tsx": "^4.19.0",
|
|
42
43
|
"ws": "^8.18.0",
|
|
43
44
|
"yaml": "^2.6.0"
|
|
@@ -53,7 +54,6 @@
|
|
|
53
54
|
"husky": "^9.1.7",
|
|
54
55
|
"jsdom": "^28.1.0",
|
|
55
56
|
"lint-staged": "^16.3.4",
|
|
56
|
-
"pino-pretty": "^13.1.3",
|
|
57
57
|
"typescript": "^5.7.0",
|
|
58
58
|
"vitest": "^2.1.0",
|
|
59
59
|
"zod": "^4.3.6"
|