Merge branch: resolve conflict in worktree-actions-dropdown.tsx

This commit is contained in:
Kacper
2026-01-11 20:08:19 +01:00
118 changed files with 6327 additions and 1795 deletions

13
libs/types/src/editor.ts Normal file
View File

@@ -0,0 +1,13 @@
/**
* Editor types for the "Open In" functionality
*/
/**
* Information about an available code editor
*/
export interface EditorInfo {
/** Display name of the editor (e.g., "VS Code", "Cursor") */
name: string;
/** CLI command or open command to launch the editor */
command: string;
}

View File

@@ -5,7 +5,7 @@
/**
* Available enhancement modes for transforming task descriptions
*/
export type EnhancementMode = 'improve' | 'technical' | 'simplify' | 'acceptance';
export type EnhancementMode = 'improve' | 'technical' | 'simplify' | 'acceptance' | 'ux-reviewer';
/**
* Example input/output pair for few-shot learning

View File

@@ -12,7 +12,7 @@ export interface DescriptionHistoryEntry {
description: string;
timestamp: string; // ISO date string
source: 'initial' | 'enhance' | 'edit'; // What triggered this version
enhancementMode?: 'improve' | 'technical' | 'simplify' | 'acceptance'; // Only for 'enhance' source
enhancementMode?: 'improve' | 'technical' | 'simplify' | 'acceptance' | 'ux-reviewer'; // Only for 'enhance' source
}
export interface FeatureImagePath {

View File

@@ -214,6 +214,9 @@ export type {
// Port configuration
export { STATIC_PORT, SERVER_PORT, RESERVED_PORTS } from './ports.js';
// Editor types
export type { EditorInfo } from './editor.js';
// Ideation types
export type {
IdeaCategory,

View File

@@ -89,6 +89,9 @@ export interface EnhancementPrompts {
/** System prompt for "acceptance" mode (add acceptance criteria) */
acceptanceSystemPrompt?: CustomPrompt;
/** System prompt for "ux-reviewer" mode (UX and design perspective) */
uxReviewerSystemPrompt?: CustomPrompt;
}
/**
@@ -150,4 +153,5 @@ export interface ResolvedEnhancementPrompts {
technicalSystemPrompt: string;
simplifySystemPrompt: string;
acceptanceSystemPrompt: string;
uxReviewerSystemPrompt: string;
}

View File

@@ -460,6 +460,10 @@ export interface GlobalSettings {
/** List of configured MCP servers for agent use */
mcpServers: MCPServerConfig[];
// Editor Configuration
/** Default editor command for "Open In" action (null = auto-detect: Cursor > VS Code > first available) */
defaultEditorCommand: string | null;
// Prompt Customization
/** Custom prompts for Auto Mode, Agent Runner, Backlog Planning, and Enhancements */
promptCustomization?: PromptCustomization;
@@ -720,6 +724,7 @@ export const DEFAULT_GLOBAL_SETTINGS: GlobalSettings = {
codexAdditionalDirs: DEFAULT_CODEX_ADDITIONAL_DIRS,
codexThreadId: undefined,
mcpServers: [],
defaultEditorCommand: null,
enableSkills: true,
skillsSources: ['user', 'project'],
enableSubagents: true,