-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.hive.yml
More file actions
104 lines (98 loc) · 2.87 KB
/
.hive.yml
File metadata and controls
104 lines (98 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
# Hive CLI Configuration
#
# Uncomment and modify options as needed.
# Values shown are defaults unless noted otherwise.
#
# Configuration precedence (highest to lowest):
# 1. Environment variables (HIVE_*)
# 2. .hive.local.yml (local overrides, git-ignored)
# 3. .hive.yml (project config, version-controlled)
# 4. $XDG_CONFIG_HOME/hive/hive.yml (global user config)
# 5. Package defaults
# agents:
# # Priority order for agent auto-detection
# order:
# - claude
# - gemini
# - codex
# - agent
# - copilot
#
# # Per-agent configuration
# configs:
# claude:
# resume_args: ["--continue"]
# skip_permissions_args: ["--dangerously-skip-permissions"]
# extra_dirs_flag: "--add-dir"
#
# copilot:
# resume_args: ["--continue"]
# skip_permissions_args: ["--allow-all"]
# extra_dirs_flag: "--add-dir"
#
# codex:
# resume_args: ["resume", "--last"]
# skip_permissions_args: ["--full-auto"]
# extra_dirs_flag: "--add-dir"
#
# gemini:
# resume_args: ["--resume", "latest"]
# skip_permissions_args: ["-y"]
# extra_dirs_flag: "--include-directories"
#
# agent:
# resume_args: ["resume"]
# skip_permissions_args: ["-f"]
#
# cursor-agent:
# resume_args: ["resume"]
# skip_permissions_args: ["-f"]
# resume:
# enabled: false
worktrees:
enabled: true
# parent_dir: "~/.worktrees/{repo}/{branch}" # Supports ~, {repo}, {branch}
resume: true
# skip_permissions: false
#
# # Files to symlink from main repo into each new worktree (relative paths)
# symlink_files: []
# # - .env
# # - .env.local
#
# # Files to copy from main repo into each new worktree (relative paths)
# copy_files: []
# # - .some-local-config
#
# # Auto-select a branch in the worktree picker after a timeout.
# # Any keypress cancels the timer.
# auto_select:
# enabled: false
# branch: "-" # Use "-" for repo's default branch
# timeout: 3.0 # Seconds before auto-selection
#
# # Commands to run after creating a worktree.
# # Each entry has a "command" and optional "if_exists" condition.
# post_create:
# - command: "mise trust"
# if_exists: "mise.toml"
# - command: "mise install"
# if_exists: "mise.toml"
# - command: "pnpm install --frozen-lockfile"
# if_exists: "pnpm-lock.yaml"
# - command: "yarn install --frozen-lockfile"
# if_exists: "yarn.lock"
# - command: "npm install"
# if_exists: "package-lock.json"
# - command: "uv sync"
# if_exists: "pyproject.toml"
# zellij:
# layout: "agent" # Layout name, or omit for Zellij's default
# session_name: "{repo}-{agent}"
# github:
# fetch_issues: true
# issue_limit: 20
# # Additional directories to pass to the agent via its extra_dirs_flag.
# # Relative paths resolve against the main repo root.
# extra_dirs: []