@dexto/core 1.5.5 → 1.5.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.
@@ -340,6 +340,9 @@ ${import_chalk.default.white(JSON.stringify(args, null, 2))}`,
340
340
  displayStartupInfo(info) {
341
341
  if (this.isSilent) return;
342
342
  console.log("");
343
+ if (info.configPath) {
344
+ console.log(`\u{1F4C4} ${import_chalk.default.bold("Config:")} ${import_chalk.default.dim(info.configPath)}`);
345
+ }
343
346
  if (info.model && info.provider) {
344
347
  console.log(
345
348
  `\u{1F916} ${import_chalk.default.bold("Current Model:")} ${import_chalk.default.cyan(info.model)} ${import_chalk.default.dim(`(${info.provider})`)}`
@@ -375,13 +378,9 @@ ${import_chalk.default.white(JSON.stringify(args, null, 2))}`,
375
378
  console.log(`\u{1F4AC} ${import_chalk.default.bold("Session:")} ${import_chalk.default.blue(info.sessionId)}`);
376
379
  }
377
380
  if (info.logLevel && info.logFile) {
378
- if (process.env.DEXTO_PRIVACY_MODE === "true") {
379
- console.log(`\u{1F4CB} ${import_chalk.default.bold("Log Level:")} ${import_chalk.default.cyan(info.logLevel)}`);
380
- } else {
381
- console.log(
382
- `\u{1F4CB} ${import_chalk.default.bold("Log Level:")} ${import_chalk.default.cyan(info.logLevel)} ${import_chalk.default.dim(`(file: ${info.logFile})`)}`
383
- );
384
- }
381
+ console.log(
382
+ `\u{1F4CB} ${import_chalk.default.bold("Log Level:")} ${import_chalk.default.cyan(info.logLevel)} ${import_chalk.default.dim(`(file: ${info.logFile})`)}`
383
+ );
385
384
  }
386
385
  }
387
386
  displayError(message, error) {
@@ -69,6 +69,7 @@ export declare class Logger {
69
69
  getLogFilePath(): string | null;
70
70
  getLevel(): string;
71
71
  displayStartupInfo(info: {
72
+ configPath?: string;
72
73
  model?: string;
73
74
  provider?: string;
74
75
  connectedServers?: {
@@ -1 +1 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger/logger.ts"],"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MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,UAAU;IASrD,iBAAiB,CAAC,QAAQ,EAAE,GAAG;IAkB/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;IAUpC,UAAU,CAAC,MAAM,EAAE,GAAG;IA4EtB,QAAQ,CAAC,KAAK,EAAE,MAAM;IAatB,cAAc,IAAI,MAAM,GAAG,IAAI;IAK/B,QAAQ,IAAI,MAAM;IAKlB,kBAAkB,CAAC,IAAI,EAAE;QACrB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,gBAAgB,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;QACtD,iBAAiB,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAC9C,SAAS,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;QAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB;IAwDD,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK;CAkB9C;AAGD,eAAO,MAAM,MAAM,QAAe,CAAC"}
@@ -307,6 +307,9 @@ ${chalk.white(JSON.stringify(args, null, 2))}`,
307
307
  displayStartupInfo(info) {
308
308
  if (this.isSilent) return;
309
309
  console.log("");
310
+ if (info.configPath) {
311
+ console.log(`\u{1F4C4} ${chalk.bold("Config:")} ${chalk.dim(info.configPath)}`);
312
+ }
310
313
  if (info.model && info.provider) {
311
314
  console.log(
312
315
  `\u{1F916} ${chalk.bold("Current Model:")} ${chalk.cyan(info.model)} ${chalk.dim(`(${info.provider})`)}`
@@ -342,13 +345,9 @@ ${chalk.white(JSON.stringify(args, null, 2))}`,
342
345
  console.log(`\u{1F4AC} ${chalk.bold("Session:")} ${chalk.blue(info.sessionId)}`);
343
346
  }
344
347
  if (info.logLevel && info.logFile) {
345
- if (process.env.DEXTO_PRIVACY_MODE === "true") {
346
- console.log(`\u{1F4CB} ${chalk.bold("Log Level:")} ${chalk.cyan(info.logLevel)}`);
347
- } else {
348
- console.log(
349
- `\u{1F4CB} ${chalk.bold("Log Level:")} ${chalk.cyan(info.logLevel)} ${chalk.dim(`(file: ${info.logFile})`)}`
350
- );
351
- }
348
+ console.log(
349
+ `\u{1F4CB} ${chalk.bold("Log Level:")} ${chalk.cyan(info.logLevel)} ${chalk.dim(`(file: ${info.logFile})`)}`
350
+ );
352
351
  }
353
352
  }
354
353
  displayError(message, error) {
@@ -68,7 +68,7 @@ const ToolConfirmationConfigSchema = import_zod.z.object({
68
68
  "Tool confirmation mode: manual (interactive), auto-approve (all tools), auto-deny (no tools)"
69
69
  ),
70
70
  timeout: import_zod.z.number().int().positive().optional().describe(
71
- "Timeout for tool confirmation requests in milliseconds (optional - no timeout if not specified)"
71
+ "Timeout for tool confirmation requests in milliseconds. If not set, waits indefinitely."
72
72
  ),
73
73
  allowedToolsStorage: import_zod.z.enum(ALLOWED_TOOLS_STORAGE_TYPES).default(DEFAULT_ALLOWED_TOOLS_STORAGE).describe(
74
74
  "Storage type for remembered tool approvals: memory (session-only) or storage (persistent)"
@@ -82,7 +82,7 @@ const ElicitationConfigSchema = import_zod.z.object({
82
82
  "Enable elicitation support (ask_user tool and MCP server elicitations). When disabled, elicitation requests will be rejected."
83
83
  ),
84
84
  timeout: import_zod.z.number().int().positive().optional().describe(
85
- "Timeout for elicitation requests in milliseconds (optional - no timeout if not specified)"
85
+ "Timeout for elicitation requests in milliseconds. If not set, waits indefinitely."
86
86
  )
87
87
  }).strict().describe(
88
88
  "Elicitation configuration for user input requests. Independent from tool confirmation mode, allowing auto-approve for tools while still supporting elicitation."
@@ -33,7 +33,7 @@ const ToolConfirmationConfigSchema = z.object({
33
33
  "Tool confirmation mode: manual (interactive), auto-approve (all tools), auto-deny (no tools)"
34
34
  ),
35
35
  timeout: z.number().int().positive().optional().describe(
36
- "Timeout for tool confirmation requests in milliseconds (optional - no timeout if not specified)"
36
+ "Timeout for tool confirmation requests in milliseconds. If not set, waits indefinitely."
37
37
  ),
38
38
  allowedToolsStorage: z.enum(ALLOWED_TOOLS_STORAGE_TYPES).default(DEFAULT_ALLOWED_TOOLS_STORAGE).describe(
39
39
  "Storage type for remembered tool approvals: memory (session-only) or storage (persistent)"
@@ -47,7 +47,7 @@ const ElicitationConfigSchema = z.object({
47
47
  "Enable elicitation support (ask_user tool and MCP server elicitations). When disabled, elicitation requests will be rejected."
48
48
  ),
49
49
  timeout: z.number().int().positive().optional().describe(
50
- "Timeout for elicitation requests in milliseconds (optional - no timeout if not specified)"
50
+ "Timeout for elicitation requests in milliseconds. If not set, waits indefinitely."
51
51
  )
52
52
  }).strict().describe(
53
53
  "Elicitation configuration for user input requests. Independent from tool confirmation mode, allowing auto-approve for tools while still supporting elicitation."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexto/core",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",