@goonnguyen/human-mcp 2.8.4 → 2.9.0

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/README.md CHANGED
@@ -1454,6 +1454,7 @@ GOOGLE_GEMINI_API_KEY=your_api_key
1454
1454
 
1455
1455
  # Optional Core Configuration
1456
1456
  GOOGLE_GEMINI_MODEL=gemini-2.5-flash
1457
+ GOOGLE_GEMINI_IMAGE_MODEL=gemini-2.5-flash-image-preview
1457
1458
  LOG_LEVEL=info
1458
1459
  PORT=3000
1459
1460
  MAX_REQUEST_SIZE=50MB
package/dist/index.js CHANGED
@@ -165944,7 +165944,7 @@ class GeminiClient {
165944
165944
  });
165945
165945
  }
165946
165946
  getImageGenerationModel(modelName) {
165947
- const imageModelName = modelName || "gemini-2.5-flash-image-preview";
165947
+ const imageModelName = modelName || this.config.gemini.imageModel || "gemini-2.5-flash-image-preview";
165948
165948
  return this.genAI.getGenerativeModel({
165949
165949
  model: imageModelName,
165950
165950
  generationConfig: {
@@ -171681,7 +171681,8 @@ init_logger();
171681
171681
  var ConfigSchema = exports_external.object({
171682
171682
  gemini: exports_external.object({
171683
171683
  apiKey: exports_external.string().min(1, "Google Gemini API key is required"),
171684
- model: exports_external.string().default("gemini-2.5-flash")
171684
+ model: exports_external.string().default("gemini-2.5-flash"),
171685
+ imageModel: exports_external.string().default("gemini-2.5-flash-image-preview")
171685
171686
  }),
171686
171687
  transport: exports_external.object({
171687
171688
  type: exports_external.enum(["stdio", "http", "both"]).default("stdio"),
@@ -171770,7 +171771,8 @@ function loadConfig() {
171770
171771
  return ConfigSchema.parse({
171771
171772
  gemini: {
171772
171773
  apiKey: process.env.GOOGLE_GEMINI_API_KEY || "",
171773
- model: process.env.GOOGLE_GEMINI_MODEL || "gemini-2.5-flash"
171774
+ model: process.env.GOOGLE_GEMINI_MODEL || "gemini-2.5-flash",
171775
+ imageModel: process.env.GOOGLE_GEMINI_IMAGE_MODEL || "gemini-2.5-flash-image-preview"
171774
171776
  },
171775
171777
  transport: {
171776
171778
  type: process.env.TRANSPORT_TYPE || "stdio",
@@ -173676,7 +173678,8 @@ class TransportManager {
173676
173678
  var ConfigSchema2 = exports_external.object({
173677
173679
  gemini: exports_external.object({
173678
173680
  apiKey: exports_external.string().min(1, "Google Gemini API key is required"),
173679
- model: exports_external.string().default("gemini-2.5-flash")
173681
+ model: exports_external.string().default("gemini-2.5-flash"),
173682
+ imageModel: exports_external.string().default("gemini-2.5-flash-image-preview")
173680
173683
  }),
173681
173684
  transport: exports_external.object({
173682
173685
  type: exports_external.enum(["stdio", "http", "both"]).default("stdio"),
@@ -173765,7 +173768,8 @@ function loadConfig2() {
173765
173768
  return ConfigSchema2.parse({
173766
173769
  gemini: {
173767
173770
  apiKey: process.env.GOOGLE_GEMINI_API_KEY || "",
173768
- model: process.env.GOOGLE_GEMINI_MODEL || "gemini-2.5-flash"
173771
+ model: process.env.GOOGLE_GEMINI_MODEL || "gemini-2.5-flash",
173772
+ imageModel: process.env.GOOGLE_GEMINI_IMAGE_MODEL || "gemini-2.5-flash-image-preview"
173769
173773
  },
173770
173774
  transport: {
173771
173775
  type: process.env.TRANSPORT_TYPE || "stdio",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goonnguyen/human-mcp",
3
- "version": "2.8.4",
3
+ "version": "2.9.0",
4
4
  "description": "Human MCP: Bringing Human Capabilities to Coding Agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",