feat: Add custom URL support for the /bug command (#1017)

This commit is contained in:
Allen Hutchison
2025-06-14 00:00:24 -07:00
committed by GitHub
parent d5c6bb9740
commit 643bdf31d5
6 changed files with 79 additions and 7 deletions

View File

@@ -211,6 +211,7 @@ export async function loadCliConfig(
telemetryOtlpEndpoint:
process.env.OTEL_EXPORTER_OTLP_ENDPOINT ?? settings.telemetryOtlpEndpoint,
fileDiscoveryService: fileService,
bugCommand: settings.bugCommand,
});
}

View File

@@ -7,7 +7,11 @@
import * as fs from 'fs';
import * as path from 'path';
import { homedir } from 'os';
import { MCPServerConfig, getErrorMessage } from '@gemini-cli/core';
import {
MCPServerConfig,
getErrorMessage,
BugCommandSettings,
} from '@gemini-cli/core';
import stripJsonComments from 'strip-json-comments';
import { DefaultLight } from '../ui/themes/default-light.js';
import { DefaultDark } from '../ui/themes/default.js';
@@ -40,6 +44,7 @@ export interface Settings {
telemetry?: boolean;
telemetryOtlpEndpoint?: string;
preferredEditor?: string;
bugCommand?: BugCommandSettings;
// Git-aware file filtering settings
fileFiltering?: {