@sublang/playbook 0.5.0 → 0.6.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.
@@ -7,10 +7,10 @@
7
7
  #
8
8
  # This is a CODE *overlay*, not a full tmux-play config: playbook-code
9
9
  # composes the launched tmux-play config from it at startup (PBCODE-16).
10
- # The composer injects captain.from (the CODE adapter module) and the
11
- # coder / reviewer player ids, and can inherit theme plus captain-judge
12
- # defaults from an existing tmux-play config — so you only tune the
13
- # fields below.
10
+ # The composer injects captain.from (the Playbook Captain shell adapter)
11
+ # and the coder / reviewer player ids, and can inherit theme plus
12
+ # captain-judge defaults from an existing tmux-play config — so you only
13
+ # tune the fields below.
14
14
  #
15
15
  # Safe tuning points:
16
16
  # - captain.adapter / model / reasoningEffort pick the judge/Captain
@@ -31,6 +31,11 @@
31
31
  # - layout sizes the tmux window (layout.window: columns × rows) and
32
32
  # sets the relative column widths (layout.columnWeights) for the
33
33
  # Boss/Captain, Coder, and Reviewer columns.
34
+ # - notifications configures tmux-play's host notifications. Supported
35
+ # events are player_finished, turn_finished, and turn_aborted; each
36
+ # event accepts off, bell, or desktop. The seeded defaults match
37
+ # cligent's generated home config, with omitted turn_aborted resolving
38
+ # to off.
34
39
 
35
40
  layout:
36
41
  window:
@@ -38,6 +43,10 @@ layout:
38
43
  rows: 49
39
44
  columnWeights: [4, 6, 6]
40
45
 
46
+ notifications:
47
+ player_finished: bell
48
+ turn_finished: desktop
49
+
41
50
  captain:
42
51
  adapter: claude
43
52
  model: claude-sonnet-4-6
@@ -1,18 +1,23 @@
1
1
  # SPDX-License-Identifier: Apache-2.0
2
2
  # SPDX-FileCopyrightText: 2026 SubLang International <https://sublang.ai>
3
3
 
4
- # Example tmux-play config for the CODE playbook DR-004 §11.
4
+ # Example tmux-play config for the CODE playbook through the
5
+ # Playbook Captain shell — DR-008 §6.
5
6
  # Run with:
6
7
  # tmux-play --config tmux-play.config.yaml
7
8
 
9
+ notifications:
10
+ player_finished: bell
11
+ turn_finished: desktop
12
+
8
13
  captain:
9
- # Dev form: sibling-path import of the compiled adapter. After
10
- # @sublang/playbook is published, swap this for the package
11
- # specifier — e.g.
12
- # from: "@sublang/playbook/code/tmux-play"
13
- # (final form confirmed at publish time per DR-004 §11). Players,
14
- # options, and the rest of the config are unchanged.
15
- from: ./code.tmux-play.js
14
+ # Dev form: sibling-path import of the compiled shell adapter. After
15
+ # @sublang/playbook is published, swap this for:
16
+ # from: "@sublang/playbook/playbook-captain"
17
+ # Existing explicit configs that still import ./code.tmux-play.js or
18
+ # @sublang/playbook/code/tmux-play continue through a compatibility
19
+ # shim that delegates to the same shell with CODE registered.
20
+ from: ./playbook-captain.js
16
21
  adapter: claude
17
22
  model: claude-sonnet-4-6
18
23
  reasoningEffort: high
@@ -2,12 +2,16 @@
2
2
  # SPDX-FileCopyrightText: 2026 SubLang International <https://sublang.ai>
3
3
 
4
4
  # Production tmux-play config for the published CODE playbook package.
5
- # This intentionally imports the adapter through the package export, not
6
- # a local repo path. The runtime still expects the host app to provide the
7
- # @sublang/cligent peer dependency.
5
+ # This intentionally imports the Playbook Captain shell through the
6
+ # package export, not a local repo path. The runtime still expects the
7
+ # host app to provide the @sublang/cligent peer dependency.
8
+
9
+ notifications:
10
+ player_finished: bell
11
+ turn_finished: desktop
8
12
 
9
13
  captain:
10
- from: "@sublang/playbook/code/tmux-play"
14
+ from: "@sublang/playbook/playbook-captain"
11
15
  adapter: claude
12
16
  model: claude-sonnet-4-6
13
17
  reasoningEffort: high