pub struct ProjectConfig {Show 22 fields
pub name: Option<String>,
pub repo: String,
pub path: String,
pub default_branch: String,
pub session_prefix: Option<String>,
pub branch_namespace: Option<String>,
pub runtime: Option<String>,
pub agent: Option<String>,
pub workspace: Option<String>,
pub tracker: Option<PluginConfig>,
pub scm: Option<PluginConfig>,
pub symlinks: Vec<String>,
pub post_create: Vec<String>,
pub agent_config: Option<AgentConfig>,
pub orchestrator: Option<RoleAgentConfig>,
pub worker: Option<RoleAgentConfig>,
pub reactions: HashMap<String, ReactionConfig>,
pub agent_rules: Option<String>,
pub agent_rules_file: Option<String>,
pub orchestrator_rules: Option<String>,
pub orchestrator_session_strategy: Option<OrchestratorSessionStrategy>,
pub opencode_issue_session_strategy: Option<OpencodeIssueSessionStrategy>,
}Expand description
Per-project configuration.
Fields§
§name: Option<String>Friendly display name (TS: name).
repo: StringGitHub-style owner/repo.
path: StringAbsolute path on disk.
default_branch: StringDefault branch to use as worktree base.
session_prefix: Option<String>Session prefix (TS: sessionPrefix).
branch_namespace: Option<String>Optional per-project override for branch namespace/prefix. See
defaults.branch_namespace.
runtime: Option<String>Per-project plugin overrides (TS: runtime, agent, workspace).
agent: Option<String>§workspace: Option<String>§tracker: Option<PluginConfig>Issue tracker plugin for spawn --issue (“github”, “linear”, …).
scm: Option<PluginConfig>SCM config (TS: scm).
symlinks: Vec<String>Files to symlink into workspaces (TS: symlinks).
post_create: Vec<String>Commands to run after workspace creation (TS: postCreate).
agent_config: Option<AgentConfig>Agent-specific overrides.
orchestrator: Option<RoleAgentConfig>Role overrides for the orchestrator agent (TS: projects.<id>.orchestrator).
worker: Option<RoleAgentConfig>Role overrides for worker agents (TS: projects.<id>.worker).
reactions: HashMap<String, ReactionConfig>Per-project reaction overrides (TS: projects.*.reactions).
agent_rules: Option<String>Inline rules/instructions passed to every agent prompt (TS: agentRules).
agent_rules_file: Option<String>Path to a file containing agent rules, relative to project path (TS: agentRulesFile).
orchestrator_rules: Option<String>System rules for the orchestrator session (TS: orchestratorRules).
orchestrator_session_strategy: Option<OrchestratorSessionStrategy>Strategy for handling existing orchestrator sessions (TS: orchestratorSessionStrategy).
opencode_issue_session_strategy: Option<OpencodeIssueSessionStrategy>Strategy for handling existing opencode issue sessions (TS: opencodeIssueSessionStrategy).
Trait Implementations§
Source§impl Clone for ProjectConfig
impl Clone for ProjectConfig
Source§fn clone(&self) -> ProjectConfig
fn clone(&self) -> ProjectConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProjectConfig
impl Debug for ProjectConfig
Source§impl<'de> Deserialize<'de> for ProjectConfig
impl<'de> Deserialize<'de> for ProjectConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ProjectConfig
impl PartialEq for ProjectConfig
Source§impl Serialize for ProjectConfig
impl Serialize for ProjectConfig
impl Eq for ProjectConfig
impl StructuralPartialEq for ProjectConfig
Auto Trait Implementations§
impl Freeze for ProjectConfig
impl RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl UnsafeUnpin for ProjectConfig
impl UnwindSafe for ProjectConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.