acdev 1.1.2 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "acdev",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "Local CLI + web UI for running AI agents on GitHub issues via git worktrees",
5
5
  "type": "module",
6
6
  "bin": {
package/public/app.js CHANGED
@@ -4971,7 +4971,7 @@ async function savePermissionMode(next) {
4971
4971
  setSettingsFeedback(msg, 'error');
4972
4972
  return;
4973
4973
  }
4974
- applyConfigSnapshot({ ...appConfig, ...data });
4974
+ appConfig = { ...appConfig, ...data };
4975
4975
  } catch (err) {
4976
4976
  updatePermissionModeUI(prev);
4977
4977
  if (els.overviewPermissionModeFeedback) {
package/public/styles.css CHANGED
@@ -2630,7 +2630,7 @@ body.diff-fs-open {
2630
2630
  color: var(--text-muted);
2631
2631
  cursor: pointer;
2632
2632
  white-space: nowrap;
2633
- transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
2633
+ transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
2634
2634
  }
2635
2635
 
2636
2636
  .source-toggle--compact .source-btn {
@@ -2652,6 +2652,20 @@ body.diff-fs-open {
2652
2652
  box-shadow: var(--shadow-sm);
2653
2653
  }
2654
2654
 
2655
+ /* Agent permission mode: selected button uses the theme's primary color. */
2656
+ #settings-permission-mode .source-btn.active,
2657
+ #overview-permission-mode .source-btn.active {
2658
+ background: var(--primary);
2659
+ color: var(--btn-on-primary);
2660
+ border-color: var(--primary);
2661
+ }
2662
+
2663
+ #settings-permission-mode .source-btn.active:hover:not(:disabled),
2664
+ #overview-permission-mode .source-btn.active:hover:not(:disabled) {
2665
+ background: var(--primary-hover);
2666
+ border-color: var(--primary-hover);
2667
+ }
2668
+
2655
2669
  .source-btn:disabled {
2656
2670
  opacity: 0.45;
2657
2671
  cursor: not-allowed;