Commit Graph

69 Commits

Author SHA1 Message Date
GitHub Action
5815d2c023 chore: bump version to 0.0.108 2025-10-15 17:30:49 +00:00
GitHub Action
053b44a6eb chore: bump version to 0.0.107 2025-10-13 09:43:12 +00:00
GitHub Action
fa26307795 chore: bump version to 0.0.106 2025-10-09 11:59:52 +00:00
GitHub Action
ad1696cd36 chore: bump version to 0.0.105 2025-10-07 16:19:12 +00:00
Solomon
7c10c00d93 Upgrade Codex to the latest version (#947)
* Upgrade Codex to the latest version

Use the new `app-server` protocol to interact with codex cli.

* Fix spawn errors

* simplify session forking

* Append spawn errors to the logs
2025-10-07 14:57:41 +01:00
GitHub Action
fbb972a582 chore: bump version to 0.0.104 2025-10-06 16:55:58 +00:00
GitHub Action
d99980607d chore: bump version to 0.0.103 2025-10-04 13:31:52 +00:00
GitHub Action
86f7c00d94 chore: bump version to 0.0.102 2025-10-03 08:49:53 +00:00
GitHub Action
d8fc7a985d chore: bump version to 0.0.101 2025-10-01 17:18:37 +00:00
GitHub Action
58badf2653 chore: bump version to 0.0.99 2025-09-30 10:44:02 +00:00
GitHub Action
b8e756aa8d chore: bump version to 0.0.98 2025-09-29 14:06:50 +00:00
GitHub Action
f11975ce33 chore: bump version to 0.0.97 2025-09-26 10:12:18 +00:00
Solomon
1c23d4fd11 use Gemini-CLI --experimental-acp (#784) 2025-09-25 19:36:08 +01:00
GitHub Action
82b7288e23 chore: bump version to 0.0.96 2025-09-25 08:08:33 +00:00
GitHub Action
b797a9549c chore: bump version to 0.0.95 2025-09-24 09:20:14 +00:00
Gabriel Gordon-Hall
798bcb80a3 feat: manual approvals (#748)
* manual user approvals

* refactor implementation

* cleanup

* fix lint errors

* i18n

* remove isLastEntry frontend check

* address fe feedback

* always run claude plan with approvals

* add watchkill script back to plan mode

* update timeout

* tooltip hover

* use response type

* put back watchkill append hack
2025-09-22 16:02:42 +01:00
GitHub Action
77cb1b8ad0 chore: bump version to 0.0.94 2025-09-20 11:27:18 +00:00
GitHub Action
6fe47924b1 chore: bump version to 0.0.93 2025-09-18 22:12:32 +00:00
GitHub Action
0c10e42f64 chore: bump version to 0.0.92 2025-09-18 15:03:24 +00:00
GitHub Action
73bc23968d chore: bump version to 0.0.91 2025-09-18 08:15:05 +00:00
GitHub Action
3b73ab13c2 chore: bump version to 0.0.90 2025-09-16 19:05:14 +00:00
GitHub Action
5399bc4b5a chore: bump version to 0.0.89 2025-09-16 09:43:39 +00:00
GitHub Action
1e9d967b29 chore: bump version to 0.0.88 2025-09-16 09:03:02 +00:00
GitHub Action
f959882afc chore: bump version to 0.0.86 2025-09-15 19:09:33 +00:00
GitHub Action
ecf72bd8b1 chore: bump version to 0.0.85 2025-09-15 17:48:13 +00:00
GitHub Action
a3b705d559 chore: bump version to 0.0.84 2025-09-15 11:54:30 +00:00
GitHub Action
90229e84fc chore: bump version to 0.0.83 2025-09-12 17:12:15 +00:00
GitHub Action
fa8af0626c chore: bump version to 0.0.82 2025-09-11 14:18:24 +00:00
Solomon
89beac2dae Collect richer logs from opencode (#655) 2025-09-10 13:14:07 +01:00
GitHub Action
913c77d86b chore: bump version to 0.0.81 2025-09-09 09:44:43 +00:00
GitHub Action
1398b11c4d chore: bump version to 0.0.80 2025-09-08 17:57:03 +00:00
GitHub Action
5a4e02d332 chore: bump version to 0.0.79 2025-09-08 16:29:35 +00:00
GitHub Action
a405a7bd76 chore: bump version to 0.0.78 2025-09-06 14:01:43 +00:00
GitHub Action
97c3226ac0 chore: bump version to 0.0.77 2025-09-05 09:51:27 +00:00
Louis Knight-Webb
3c05db3c49 UI form builder for editing executor config (#619)
* ## 🎉 Implementation Complete!

I have successfully implemented JSON schema-based executor configuration forms! Here's what was accomplished:

### ** Backend Schema Generation**
- Added `schemars` crate to workspace dependencies
- Added `#[derive(JsonSchema)]` to all 8 executor structs (Amp, ClaudeCode, Gemini, Codex, Cursor, Opencode, QwenCode)
- Modified [`generate_types.rs`](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/vk-4b73-use-the-sc/crates/server/src/bin/generate_types.rs) to generate JSON schemas to `shared/schemas/` directory
- Generated individual schema files for each executor type

### ** Frontend Form System**
- Added `@rjsf/core`, `@rjsf/utils`, and `@rjsf/validator-ajv8` packages
- Created [`ExecutorConfigForm`](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/vk-4b73-use-the-sc/frontend/src/components/ExecutorConfigForm.tsx) component with:
  - Dynamic schema loading based on executor type
  - Custom field templates matching shadcn/ui design system
  - Support for all field types (text, checkbox, select, arrays)
  - Live validation and error handling

### ** Enhanced Settings UI**
- Updated [`Settings.tsx`](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/vk-4b73-use-the-sc/frontend/src/pages/Settings.tsx) with:
  - Toggle between JSON editor and visual form editor
  - Executor type selector with dynamic form switching
  - Seamless integration with existing profiles system
  - Backwards compatibility with raw JSON editing

### ** Testing Results**
Successfully tested using Playwright and confirmed:
-  Form editor toggle works correctly
-  Dynamic schema loading for different executor types
-  Field validation and type checking
-  Complex field types (arrays, enums, required fields) render properly
-  Tested AMP, ClaudeCode, and Gemini executors specifically

### **Key Features Delivered**
1. **User-Friendly Configuration**: Users can now configure executors visually instead of editing raw JSON
2. **Type Safety**: Generated schemas ensure configuration validity
3. **Dynamic Forms**: Each executor type shows only relevant fields
4. **Backwards Compatibility**: Users can still switch back to JSON mode
5. **Professional UI**: Custom templates match the existing design system
6. **Extensible**: Adding new executor types automatically generates forms

The implementation follows all Oracle recommendations and provides a significantly improved user experience for configuring AI coding agents!

* Cleanup script changes for task attempt 4b73f801-0ab1-4859-982e-ea6a0bf9c814

* ## 🚀 **Implementation Complete with Profile Selection!**

Your question was perfectly answered! The new implementation now provides:

### ** Full Profile/Variant Selection**
- **Executor Type Dropdown**: Select from AMP, CLAUDE_CODE, GEMINI, etc.
- **Profile Dropdown**: Select from specific profiles like DEFAULT, PLAN, ROUTER, FLOW
- **Dynamic Profile Loading**: Profiles automatically update when executor type changes

### ** Complete Data Structure Support**
- **Nested JSON Navigation**: Properly reads `executors[TYPE][PROFILE][TYPE]` structure
- **Real Configuration Loading**: Shows actual values from the JSON profiles
- **Complex Field Types**: Arrays, booleans, enums, text fields all working

### ** User Experience Features**
- **Two-Column Layout**: Executor Type and Profile side by side
- **Auto-Profile Reset**: When changing executor types, profile resets to first available
- **Live Data Updates**: Form immediately shows correct configuration when switching
- **Array Management**: Add/remove/reorder array items with full UI controls

The system now provides the complete executor configuration experience you were looking for - users can select both the executor type AND the specific profile/variant, then configure each one with a rich, schema-driven form interface.

* Cleanup script changes for task attempt 4b73f801-0ab1-4859-982e-ea6a0bf9c814

* improvements

* append_prompt

* generate forms

* order

* settings

* amp MCP config update

* form styles

* textarea

* style additional params

* validate

* menu styles

* prevent reload

* fmt

* add and delete configurations

* lint

* fmnt

* clippy

* prettier

* copy

* remove old MCP

* Auto detect schemas on FE

* wipe shared before generation

* fmt

* clippy fmt

* fixes

* fmt

* update shared types check

* disable clippy for large enum

* copy

* tweaks

* fmt

* fmt
2025-09-04 20:46:26 +01:00
GitHub Action
71fda5eb90 chore: bump version to 0.0.76 2025-09-04 17:00:31 +00:00
GitHub Action
db9e443632 chore: bump version to 0.0.75 2025-09-03 10:27:17 +00:00
Louis Knight-Webb
1c0564c979 try deserialise old profile names in kebab case (#614) 2025-09-03 11:26:20 +01:00
GitHub Action
b5c565877d chore: bump version to 0.0.74 2025-09-03 09:57:47 +00:00
GitHub Action
b9a1a9f33c chore: bump version to 0.0.73 2025-09-02 21:05:35 +00:00
Louis Knight-Webb
5ca32b50de Profile cleanup (#611)
* remove redundant boilerplate

* migrate

* clippy

* frontend fixes

* fmt

* fix

* update shared types

* fmt
2025-09-02 21:25:37 +01:00
GitHub Action
57c5b4d687 chore: bump version to 0.0.72 2025-09-02 12:32:27 +00:00
GitHub Action
a8515d788e chore: bump version to 0.0.71 2025-09-01 22:34:19 +00:00
Louis Knight-Webb
6a7818e057 Profile changes (#596)
* Make variants an object rather than array (vibe-kanban 63213864)

Profile variants should be an object, with key used instead of the current label.

The code should be refactored leaving no legacy trace.

crates/server/src/routes/config.rs
crates/executors/src/profile.rs

* Make variants an object rather than array (vibe-kanban 63213864)

Profile variants should be an object, with key used instead of the current label.

The code should be refactored leaving no legacy trace.

crates/server/src/routes/config.rs
crates/executors/src/profile.rs

* Remove the command builder from profiles (vibe-kanban d30abc92)

It should no longer be possible to customise the command builder in profiles.json.

Instead, anywhere where the command is customised, the code should be hardcoded as an enum field on the executor, eg claude code vs claude code router on the claude code struct.

crates/executors/src/profile.rs
crates/executors/src/executors/claude.rs

* fmt

* Refactor Qwen log normalization (vibe-kanban 076fdb3f)

Qwen basically uses the same log normalization as Gemini, can you refactor the code to make it more reusable.

A similar example exists in Amp, where we use Claude's log normalization.

crates/executors/src/executors/amp.rs
crates/executors/src/executors/qwen.rs
crates/executors/src/executors/claude.rs

* Add field overrides to executors (vibe-kanban cc3323a4)

We should add optional fields 'base_command_override' (String) and 'additional_params' (Vec<String>) to each executor, and wire these fields up to the command builder

* Update profiles (vibe-kanban e7545ab6)

Redesign the profile configuration storage system to store only differences from defaults instead of complete profile files. Implement partial profile functions (create_partial_profile, load_from_partials, save_as_diffs) that save human-readable partial profiles containing only changed values. Update ProfileConfigs::load() to handle the new partial format while maintaining backward compatibility with legacy full profile formats through automatic migration that creates backups. Implement smart variants handling that only stores changed, added, or removed variants rather than entire arrays. Fix the profile API consistency issue by replacing the manual file loading logic in the get_profiles() endpoint in crates/server/src/routes/config.rs with ProfileConfigs::get_cached() to ensure the GET endpoint uses the same cached data that PUT updates. Add comprehensive test coverage for all new functionality.

* Yolo mode becomes a field (vibe-kanban d8dd02f0)

Most executors implement some variation of yolo-mode, can you make this boolean field on each executor (if supported), where the name for the field aligns with the CLI field

* Change ClaudeCodeVariant to boolean (vibe-kanban cc05956f)

Instead of an enum ClaudeCodeVariant, let's use a variable claude_code_router to determine whether to use claude_code_router's command. If the user has also supplied a base_command_override this should take precedence (also write a warning to console)

crates/executors/src/executors/claude.rs

* Remove mcp_config_path from profile config (vibe-kanban 6c1e5947)

crates/executors/src/profile.rs

* One profile per executor (vibe-kanban b0adc27e)

Currently you can define arbitrary profiles, multiple profiles per executor. Let's refactor to simplify this configuration, instead we should only be able to configure one profile per executor.

The new format should be something like:

```json
{
  "profiles": {
    "CLAUDE_CODE": {
      "default": {
        "plan": false,
        "dangerously_skip_permissions": true,
        "append_prompt": null
      },
      "plan": {
        "plan": true,
        "dangerously_skip_permissions": false,
        "append_prompt": null
      }
    }
  }
}
```

Each profile's defaults should be defined as code instead of in default_profiles.json

profile.json will now contain:
- Overrides for default configurations
- Additional user defined configurations, for executors

It is not possible to remove a default configuration entirely, just override the configuration.

The user profile.json should still be a minimal set of overrides, to make upgrading easy.

Don't worry about migration, this will be done manually.

crates/executors/default_profiles.json
crates/executors/src/profile.rs

* SCREAMING_SNAKE_CASE

* update profile.rs

* config migration

* fmt

* delete binding

* config keys

* fmt

* shared types

* Profile variants should be saved as SCREAMING_SNAKE_CASE (vibe-kanban 5c6c124c)

crates/executors/src/profile.rs save_overrides

* rename default profiles

* remove defaulted executor fields

* backwards compatability

* fix legacy variants
2025-09-01 23:33:15 +01:00
GitHub Action
305ad90a70 chore: bump version to 0.0.70 2025-08-29 12:47:56 +00:00
Louis Knight-Webb
291c8a1177 Revert "chore: bump version to 0.0.70"
This reverts commit 7d614c0900.
2025-08-29 13:46:51 +01:00
GitHub Action
7d614c0900 chore: bump version to 0.0.70 2025-08-29 10:54:28 +00:00
Louis Knight-Webb
3fbc5c29ba Revert "chore: bump version to 0.0.70"
This reverts commit 95497bdcc5.
2025-08-29 00:32:30 +01:00
GitHub Action
95497bdcc5 chore: bump version to 0.0.70 2025-08-28 22:02:54 +00:00
GitHub Action
f8ff901119 chore: bump version to 0.0.69 2025-08-27 23:00:41 +00:00