Skip to content

Add structured startup arguments builder#88

Draft
Kosinkadink wants to merge 4 commits intomainfrom
args-builder
Draft

Add structured startup arguments builder#88
Kosinkadink wants to merge 4 commits intomainfrom
args-builder

Conversation

@Kosinkadink
Copy link
Member

Replaces the plain text input for launch args with a structured editor.

Changes

  • ArgsBuilder component: Renders a text input (source of truth) with a gear button that toggles a helper panel with structured controls for common CLI args
  • Schema-driven: Args defined in args-schema.ts with types: boolean, number, string, select, optional-string. Supports version-aware filtering (since) and mutually-exclusive groups (exclusiveGroup)
  • Bidirectional sync: Editing the text field updates helper controls; using controls updates the text field. Parsing tokenizes respecting quotes, separates known vs extra args
  • 4 common args: --port (number), --listen (optional-string: checkbox + IP input), --front-end-version (select: Latest/Custom with text input), --enable-manager (boolean)
  • Select with Custom option: Select-type args support a Custom option that reveals a text input for arbitrary values
  • Field reorder: Settings tab fields reordered to: Startup Args, Launch Mode, Port Conflict, Use Shared Dirs, Browser Cache
  • No data model changes: Raw args string remains the single source of truth in installations.json

@Kosinkadink Kosinkadink marked this pull request as draft March 2, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant