@toolplex/client 0.1.41 → 0.1.42

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.
@@ -21,8 +21,8 @@ export declare class ClientContext {
21
21
  set dev(isDev: boolean);
22
22
  get apiKey(): string;
23
23
  set apiKey(key: string);
24
- get clientMode(): "standard" | "restricted";
25
- set clientMode(mode: "standard" | "restricted");
24
+ get clientMode(): "standard" | "restricted" | "automation";
25
+ set clientMode(mode: "standard" | "restricted" | "automation");
26
26
  get clientName(): string;
27
27
  set clientName(name: string);
28
28
  get llmContext(): LLMContext;
@@ -6,7 +6,10 @@ dotenv.config();
6
6
  FileLogger.initialize("mcp-server");
7
7
  const isDev = process.env.DEV === "true";
8
8
  const apiKey = process.env.TOOLPLEX_API_KEY;
9
- const clientMode = process.env.TOOLPLEX_CLIENT_MODE || "standard";
9
+ // CLIENT_MODE can come from ai-engine (automation mode) or TOOLPLEX_CLIENT_MODE (legacy)
10
+ const clientMode = process.env.CLIENT_MODE ||
11
+ process.env.TOOLPLEX_CLIENT_MODE ||
12
+ "standard";
10
13
  const clientName = process.env.CLIENT_NAME || "unknown";
11
14
  const logLevel = process.env.LOG_LEVEL || "info";
12
15
  // Optional user ID for per-user telemetry (system API keys only)
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export type ClientMode = "standard" | "restricted";
2
+ export type ClientMode = "standard" | "restricted" | "automation";
3
3
  export type LogLevel = "error" | "warn" | "info" | "debug";
4
4
  /**
5
5
  * Paths to bundled dependencies provided by the host application (e.g., Electron).
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.1.41";
1
+ export declare const version = "0.1.42";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '0.1.41';
1
+ export const version = '0.1.42';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolplex/client",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "author": "ToolPlex LLC",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "description": "The official ToolPlex client for AI agent tool discovery and execution",