@bakers-build/addon-herdr 0.8.1-next.9 → 0.9.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.
Files changed (2) hide show
  1. package/options.schema.json +63 -25
  2. package/package.json +6 -6
@@ -6,73 +6,94 @@
6
6
  "properties": {
7
7
  "command": {
8
8
  "type": "string",
9
- "description": "Fallback agent command when the conductor supplies none. Default `claude`."
9
+ "description": "Fallback agent command when the agent addons supply none.",
10
+ "default": "claude"
10
11
  },
11
12
  "open": {
12
13
  "type": "object",
13
- "description": "Startup layout of a fresh worktree; `{}` opts out. Templates expand {identifier}, {branch}, {title}, {worktree_path}.",
14
+ "description": "Overview layout of a fresh worktree; when omitted it runs `bakers ui --ticket {identifier}`, `{}` leaves a bare tab. Templates also expand {branch} and {worktree_path}.",
14
15
  "properties": {
15
16
  "command": {
16
- "type": "string"
17
+ "type": "string",
18
+ "description": "Command of the overview pane.",
19
+ "default": "bakers ui --ticket {identifier}"
17
20
  },
18
21
  "panes": {
19
22
  "type": "array",
20
23
  "items": {
21
24
  "$ref": "#/$defs/pane"
22
- }
25
+ },
26
+ "description": "Extra splits beside the overview pane."
23
27
  },
24
28
  "tab_label": {
25
- "type": "string"
29
+ "type": "string",
30
+ "description": "Tab label template.",
31
+ "default": "{identifier} · {title}"
26
32
  },
27
33
  "panel_label": {
28
- "type": "string"
34
+ "type": "string",
35
+ "description": "Panel label template.",
36
+ "default": "{identifier} · {title}"
29
37
  }
30
38
  },
31
39
  "additionalProperties": false
32
40
  },
33
41
  "root": {
34
42
  "type": "string",
35
- "description": "Main clone; otherwise derived from the git common dir."
43
+ "description": "Main clone path; derived from Git's common directory when omitted."
36
44
  },
37
45
  "default": {
38
- "$ref": "#/$defs/state"
46
+ "$ref": "#/$defs/state",
47
+ "description": "Layout for every run; a `states` entry beats it, and it beats the built-ins."
39
48
  },
40
49
  "states": {
41
50
  "type": "object",
42
51
  "additionalProperties": {
43
52
  "$ref": "#/$defs/state"
53
+ },
54
+ "description": "Layout per workflow state; it only lays out panes and does not choose which states are served.",
55
+ "propertyNames": {
56
+ "title": "state"
44
57
  }
45
58
  },
46
59
  "launch_watch": {
47
60
  "type": "object",
48
- "description": "Launch-watch windows: wait start_timeout_ms (default 60000) for the wrapper to start, then timeout_ms (default 4000) in which an immediate agent exit fails the launch.",
61
+ "description": "Launch-watch windows: how long a start may take and how soon an agent exit counts as a failed launch.",
49
62
  "properties": {
50
63
  "timeout_ms": {
51
64
  "type": "integer",
52
- "minimum": 0
65
+ "minimum": 0,
66
+ "description": "Window after start in which an immediate agent exit fails the launch; 0 skips it.",
67
+ "default": 4000
53
68
  },
54
69
  "start_timeout_ms": {
55
70
  "type": "integer",
56
- "minimum": 0
71
+ "minimum": 0,
72
+ "description": "How long the launch waits for the wrapper to report the start.",
73
+ "default": 60000
57
74
  },
58
75
  "poll_ms": {
59
76
  "type": "integer",
60
- "minimum": 0
77
+ "minimum": 0,
78
+ "description": "Polling interval of both windows.",
79
+ "default": 50
61
80
  }
62
81
  },
63
82
  "additionalProperties": false
64
83
  },
65
84
  "worktree_dir": {
66
85
  "type": "string",
67
- "description": "Directory (relative to root, or absolute) for new worktrees. Default `.bakers-worktrees`."
86
+ "description": "Directory for new worktrees, relative to `root` or absolute.",
87
+ "default": ".bakers-worktrees"
68
88
  },
69
89
  "base_branch": {
70
90
  "type": "string",
71
- "description": "Base ref for new branches. Default: the upstream of the root's HEAD."
91
+ "description": "Base ref for new branches; when omitted, the remote-tracking branch of the checked-out branch."
72
92
  },
73
93
  "auto_setup_merge": {
74
94
  "type": "boolean",
75
- "description": "`true` leaves Git's branch.autoSetupMerge alone. Default `false`."
95
+ "description": "`false` sets Git's `branch.autoSetupMerge=false` in the root repository, so run branches have no upstream and push with `push.default=current` (see workspace-git); `true` leaves Git alone.",
96
+ "default": false
76
97
  }
77
98
  },
78
99
  "additionalProperties": false,
@@ -81,36 +102,53 @@
81
102
  "type": "object",
82
103
  "properties": {
83
104
  "direction": {
84
- "enum": ["right", "down"]
105
+ "enum": [
106
+ "right",
107
+ "down"
108
+ ],
109
+ "description": "Where the split opens."
85
110
  },
86
111
  "command": {
87
- "type": "string"
112
+ "type": "string",
113
+ "description": "Command the split runs."
88
114
  },
89
115
  "focus": {
90
- "type": "boolean"
116
+ "type": "boolean",
117
+ "description": "Focus this split after opening."
91
118
  }
92
119
  },
93
- "required": ["direction", "command"],
94
- "additionalProperties": false
120
+ "required": [
121
+ "direction",
122
+ "command"
123
+ ],
124
+ "additionalProperties": false,
125
+ "description": "One extra split; not the agent command."
95
126
  },
96
127
  "state": {
97
128
  "type": "object",
98
- "description": "Per-state layout. Templates expand {identifier}, {title}, {title_slug}, {run_uuid}, {workspace_path}.",
129
+ "description": "Per-run layout. Labels expand {identifier}, {title}, {title_slug}, {run_uuid}, {repo_name}, {workspace_path}.",
99
130
  "properties": {
100
131
  "tab_label": {
101
- "type": "string"
132
+ "type": "string",
133
+ "description": "Tab label; must contain {identifier}.",
134
+ "default": "{identifier} · {title_slug}"
102
135
  },
103
136
  "workspace_label": {
104
- "type": "string"
137
+ "type": "string",
138
+ "description": "Workspace label.",
139
+ "default": "{repo_name}"
105
140
  },
106
141
  "panel_label": {
107
- "type": "string"
142
+ "type": "string",
143
+ "description": "Label of the agent panel.",
144
+ "default": "{title}"
108
145
  },
109
146
  "panes": {
110
147
  "type": "array",
111
148
  "items": {
112
149
  "$ref": "#/$defs/pane"
113
- }
150
+ },
151
+ "description": "Extra splits; an array replaces the previous one."
114
152
  }
115
153
  },
116
154
  "additionalProperties": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/addon-herdr",
3
- "version": "0.8.1-next.9",
3
+ "version": "0.9.0",
4
4
  "description": "bakers.build herdr integration: spawn executor + per-ticket worktree workspace.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -23,14 +23,14 @@
23
23
  "directory": "bakers-cli/addons/herdr"
24
24
  },
25
25
  "dependencies": {
26
- "@bakers-build/addon-workspace-git": "^0.8.1-next.9"
26
+ "@bakers-build/addon-workspace-git": "^0.9.0"
27
27
  },
28
28
  "peerDependencies": {
29
- "@bakers-build/conductor": "^0.8.1-next.9",
30
- "@bakers-build/core": "^0.8.1-next.9"
29
+ "@bakers-build/conductor": "^0.9.0",
30
+ "@bakers-build/core": "^0.9.0"
31
31
  },
32
32
  "bakersBuild": {
33
- "commit": "9dd53d3c212a1ae8ca140b24b1b63fe08b20f964",
34
- "channel": "next"
33
+ "commit": "ceb44a12624feaa85cb2b0c9f84345399b38bf50",
34
+ "channel": "latest"
35
35
  }
36
36
  }