isol8 0.4.3 → 0.5.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.
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @module logger
3
+ *
4
+ * Centralized logging utility for isol8.
5
+ * Supports debug mode toggling and standardized log formatting.
6
+ */
7
+ declare class Logger {
8
+ private debugMode;
9
+ /**
10
+ * Enable or disable debug logging.
11
+ */
12
+ setDebug(enabled: boolean): void;
13
+ /**
14
+ * Log a debug message. Only prints if debug mode is enabled.
15
+ */
16
+ debug(...args: unknown[]): void;
17
+ /**
18
+ * Log an info message. Always prints.
19
+ */
20
+ info(...args: unknown[]): void;
21
+ /**
22
+ * Log a warning message. Always prints.
23
+ */
24
+ warn(...args: unknown[]): void;
25
+ /**
26
+ * Log an error message. Always prints.
27
+ */
28
+ error(...args: unknown[]): void;
29
+ }
30
+ export declare const logger: Logger;
31
+ export {};
32
+ //# sourceMappingURL=logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/utils/logger.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAM,MAAM;IACV,OAAO,CAAC,SAAS,CAAS;IAE1B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO;IAIzB;;OAEG;IACH,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;IAMxB;;OAEG;IACH,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;IAIvB;;OAEG;IACH,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;IAIvB;;OAEG;IACH,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;CAGzB;AAED,eAAO,MAAM,MAAM,QAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isol8",
3
- "version": "0.4.3",
3
+ "version": "0.5.1",
4
4
  "description": "Secure code execution engine for AI agents",
5
5
  "author": "Illusion47586",
6
6
  "license": "MIT",
@@ -69,6 +69,11 @@
69
69
  },
70
70
  "type": "object"
71
71
  },
72
+ "debug": {
73
+ "default": false,
74
+ "description": "Enable debug logging.",
75
+ "type": "boolean"
76
+ },
72
77
  "defaults": {
73
78
  "additionalProperties": false,
74
79
  "description": "Default execution settings applied to all runs. (Partial override allowed).",
Binary file