@onlooker-community/ecosystem 0.30.0 → 0.31.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 (150) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.gitattributes +18 -0
  3. package/.release-please-manifest.json +17 -17
  4. package/CHANGELOG.md +19 -0
  5. package/CLAUDE.md +10 -0
  6. package/package.json +2 -3
  7. package/plugins/archivist/.claude-plugin/plugin.json +1 -1
  8. package/plugins/archivist/CHANGELOG.md +7 -0
  9. package/plugins/archivist/README.md +4 -10
  10. package/plugins/archivist/config.json +0 -1
  11. package/plugins/archivist/scripts/hooks/archivist-extract.sh +0 -6
  12. package/plugins/archivist/scripts/hooks/archivist-inject.sh +2 -7
  13. package/plugins/archivist/scripts/lib/archivist-config.sh +0 -8
  14. package/plugins/assayer/.claude-plugin/plugin.json +1 -1
  15. package/plugins/assayer/CHANGELOG.md +7 -0
  16. package/plugins/assayer/README.md +4 -10
  17. package/plugins/assayer/config.json +0 -1
  18. package/plugins/assayer/scripts/hooks/assayer-stop.sh +1 -3
  19. package/plugins/assayer/scripts/lib/assayer-config.sh +0 -6
  20. package/plugins/bursar/.claude-plugin/plugin.json +1 -1
  21. package/plugins/bursar/CHANGELOG.md +7 -0
  22. package/plugins/bursar/README.md +3 -11
  23. package/plugins/bursar/config.json +0 -1
  24. package/plugins/bursar/scripts/hooks/bursar-session-end.sh +4 -6
  25. package/plugins/bursar/scripts/hooks/bursar-session-start.sh +3 -5
  26. package/plugins/bursar/scripts/lib/bursar-config.sh +1 -7
  27. package/plugins/cartographer/.claude-plugin/plugin.json +1 -1
  28. package/plugins/cartographer/CHANGELOG.md +7 -0
  29. package/plugins/cartographer/README.md +3 -10
  30. package/plugins/cartographer/config.json +0 -1
  31. package/plugins/cartographer/scripts/hooks/cartographer-post-write.sh +0 -2
  32. package/plugins/cartographer/scripts/hooks/cartographer-session-start.sh +0 -2
  33. package/plugins/cartographer/scripts/lib/cartographer-config.sh +0 -7
  34. package/plugins/cartographer/skills/cartographer/SKILL.md +0 -5
  35. package/plugins/compass/.claude-plugin/plugin.json +1 -1
  36. package/plugins/compass/CHANGELOG.md +7 -0
  37. package/plugins/compass/README.md +4 -10
  38. package/plugins/compass/config.json +0 -1
  39. package/plugins/compass/scripts/hooks/compass-bash-gate.sh +0 -4
  40. package/plugins/compass/scripts/hooks/compass-pre-tool-use.sh +0 -4
  41. package/plugins/compass/scripts/hooks/compass-record-write.sh +0 -4
  42. package/plugins/compass/scripts/hooks/compass-session-start.sh +1 -6
  43. package/plugins/compass/scripts/lib/compass-config.sh +0 -7
  44. package/plugins/counsel/.claude-plugin/plugin.json +1 -1
  45. package/plugins/counsel/CHANGELOG.md +7 -0
  46. package/plugins/counsel/README.md +6 -10
  47. package/plugins/counsel/config.json +0 -1
  48. package/plugins/counsel/scripts/hooks/counsel-session-start.sh +1 -7
  49. package/plugins/counsel/scripts/lib/counsel-config.sh +0 -6
  50. package/plugins/counsel/skills/counsel/SKILL.md +0 -5
  51. package/plugins/curator/.claude-plugin/plugin.json +1 -1
  52. package/plugins/curator/CHANGELOG.md +7 -0
  53. package/plugins/curator/README.md +1 -11
  54. package/plugins/curator/config.json +0 -1
  55. package/plugins/curator/scripts/hooks/curator-session-start.sh +0 -6
  56. package/plugins/curator/scripts/lib/curator-config.sh +0 -7
  57. package/plugins/echo/.claude-plugin/plugin.json +1 -1
  58. package/plugins/echo/CHANGELOG.md +7 -0
  59. package/plugins/echo/README.md +3 -9
  60. package/plugins/echo/config.json +0 -1
  61. package/plugins/echo/scripts/hooks/echo-stop-gate.sh +1 -3
  62. package/plugins/echo/scripts/lib/echo-config.sh +0 -6
  63. package/plugins/governor/.claude-plugin/plugin.json +1 -1
  64. package/plugins/governor/CHANGELOG.md +7 -0
  65. package/plugins/governor/README.md +4 -10
  66. package/plugins/governor/config.json +0 -1
  67. package/plugins/governor/scripts/hooks/governor-post-tool-use.sh +0 -5
  68. package/plugins/governor/scripts/hooks/governor-pre-tool-use.sh +0 -5
  69. package/plugins/governor/scripts/hooks/governor-session-start.sh +4 -9
  70. package/plugins/governor/scripts/hooks/governor-stop.sh +0 -5
  71. package/plugins/governor/scripts/lib/governor-config.sh +0 -7
  72. package/plugins/historian/.claude-plugin/plugin.json +1 -1
  73. package/plugins/historian/CHANGELOG.md +14 -0
  74. package/plugins/historian/README.md +3 -7
  75. package/plugins/historian/config.json +0 -1
  76. package/plugins/historian/scripts/hooks/historian-prompt-submit.sh +1 -6
  77. package/plugins/historian/scripts/hooks/historian-session-end.sh +2 -6
  78. package/plugins/historian/scripts/lib/historian-config.sh +0 -6
  79. package/plugins/historian/scripts/lib/historian-embedder.sh +10 -6
  80. package/plugins/inspector/.claude-plugin/plugin.json +1 -1
  81. package/plugins/inspector/CHANGELOG.md +7 -0
  82. package/plugins/inspector/README.md +9 -5
  83. package/plugins/inspector/config.json +0 -1
  84. package/plugins/inspector/scripts/hooks/inspector-post-write.sh +0 -7
  85. package/plugins/inspector/scripts/lib/inspector-config.sh +0 -7
  86. package/plugins/librarian/.claude-plugin/plugin.json +1 -1
  87. package/plugins/librarian/CHANGELOG.md +7 -0
  88. package/plugins/librarian/README.md +5 -9
  89. package/plugins/librarian/config.json +0 -1
  90. package/plugins/librarian/scripts/hooks/librarian-session-end.sh +0 -2
  91. package/plugins/librarian/scripts/hooks/librarian-session-start.sh +0 -6
  92. package/plugins/librarian/scripts/lib/librarian-config.sh +0 -8
  93. package/plugins/lineage/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lineage/CHANGELOG.md +7 -1
  95. package/plugins/lineage/README.md +3 -12
  96. package/plugins/lineage/config.json +0 -1
  97. package/plugins/lineage/scripts/hooks/lineage-post-tool-use.sh +0 -1
  98. package/plugins/lineage/scripts/lib/lineage-config.sh +0 -7
  99. package/plugins/lineage/skills/lineage/SKILL.md +1 -4
  100. package/plugins/scribe/.claude-plugin/plugin.json +1 -1
  101. package/plugins/scribe/CHANGELOG.md +7 -0
  102. package/plugins/scribe/README.md +4 -12
  103. package/plugins/scribe/config.json +0 -1
  104. package/plugins/scribe/scripts/hooks/scribe-capture.sh +0 -4
  105. package/plugins/scribe/scripts/hooks/scribe-session-start.sh +2 -7
  106. package/plugins/scribe/scripts/hooks/scribe-stop.sh +0 -5
  107. package/plugins/scribe/scripts/lib/scribe-config.sh +1 -8
  108. package/plugins/scribe/scripts/lib/scribe-extract.sh +16 -12
  109. package/plugins/tribunal/.claude-plugin/plugin.json +1 -1
  110. package/plugins/tribunal/CHANGELOG.md +7 -0
  111. package/plugins/tribunal/README.md +7 -1
  112. package/plugins/tribunal/config.json +0 -1
  113. package/plugins/tribunal/scripts/hooks/tribunal-stop-gate.sh +3 -14
  114. package/plugins/tribunal/scripts/lib/tribunal-config.sh +0 -8
  115. package/plugins/warden/.claude-plugin/plugin.json +1 -1
  116. package/plugins/warden/CHANGELOG.md +7 -0
  117. package/plugins/warden/README.md +3 -12
  118. package/plugins/warden/config.json +0 -1
  119. package/plugins/warden/scripts/hooks/warden-post-tool-use.sh +0 -4
  120. package/plugins/warden/scripts/hooks/warden-pre-tool-use.sh +0 -4
  121. package/plugins/warden/scripts/hooks/warden-session-start.sh +1 -6
  122. package/plugins/warden/scripts/lib/warden-config.sh +1 -8
  123. package/renovate.json +34 -0
  124. package/test/bats/archivist-config-files.bats +2 -2
  125. package/test/bats/archivist-config.bats +0 -25
  126. package/test/bats/archivist-inject.bats +1 -13
  127. package/test/bats/assayer-config.bats +0 -13
  128. package/test/bats/assayer-stop-hook.bats +3 -17
  129. package/test/bats/bursar-config.bats +0 -25
  130. package/test/bats/bursar-session-end.bats +0 -20
  131. package/test/bats/bursar-session-start.bats +1 -18
  132. package/test/bats/cartographer-config.bats +0 -25
  133. package/test/bats/compass-config.bats +1 -26
  134. package/test/bats/compass-gate.bats +1 -3
  135. package/test/bats/curator-session-start.bats +2 -12
  136. package/test/bats/echo-config.bats +0 -24
  137. package/test/bats/echo-stop-hook.bats +3 -15
  138. package/test/bats/governor-config.bats +0 -36
  139. package/test/bats/historian-prompt-submit.bats +2 -8
  140. package/test/bats/historian-session-end.bats +4 -14
  141. package/test/bats/inspector-config.bats +0 -13
  142. package/test/bats/inspector-post-write-hook.bats +10 -17
  143. package/test/bats/librarian-session-end.bats +0 -11
  144. package/test/bats/librarian-session-start.bats +1 -11
  145. package/test/bats/lineage-config.bats +0 -25
  146. package/test/bats/lineage-post-tool-use.bats +1 -7
  147. package/test/bats/scribe-extract.bats +6 -6
  148. package/test/bats/tribunal-config.bats +0 -25
  149. package/test/bats/warden-config.bats +0 -25
  150. package/test/bats/warden-scanner.bats +1 -1
@@ -34,10 +34,10 @@ setup() {
34
34
  @test "count_turns counts only user-role entries" {
35
35
  local f="${BATS_TEST_TMPDIR}/transcript.jsonl"
36
36
  printf '%s\n' \
37
- '{"role":"user","content":"hello"}' \
38
- '{"role":"assistant","content":"hi"}' \
39
- '{"role":"user","content":"thanks"}' \
40
- '{"role":"assistant","content":"sure"}' \
37
+ '{"type":"user","message":{"role":"user","content":"hello"}}' \
38
+ '{"type":"assistant","message":{"role":"assistant","content":"hi"}}' \
39
+ '{"type":"user","message":{"role":"user","content":"thanks"}}' \
40
+ '{"type":"assistant","message":{"role":"assistant","content":"sure"}}' \
41
41
  > "$f"
42
42
  run scribe_count_turns "$f"
43
43
  [ "$status" -eq 0 ]
@@ -47,9 +47,9 @@ setup() {
47
47
  @test "count_turns skips blank lines" {
48
48
  local f="${BATS_TEST_TMPDIR}/sparse.jsonl"
49
49
  printf '%s\n' \
50
- '{"role":"user","content":"a"}' \
50
+ '{"type":"user","message":{"role":"user","content":"a"}}' \
51
51
  '' \
52
- '{"role":"user","content":"b"}' \
52
+ '{"type":"user","message":{"role":"user","content":"b"}}' \
53
53
  > "$f"
54
54
  run scribe_count_turns "$f"
55
55
  [ "$status" -eq 0 ]
@@ -10,37 +10,12 @@ setup() {
10
10
  source "${PLUGIN_ROOT}/scripts/lib/tribunal-config.sh"
11
11
  }
12
12
 
13
- @test "config defaults from plugin config.json: enabled" {
14
- tribunal_config_load ""
15
- run tribunal_config_enabled
16
- [ "$status" -eq 0 ]
17
- }
18
-
19
13
  @test "stop_hook defaults to disabled" {
20
14
  tribunal_config_load ""
21
15
  run tribunal_config_stop_hook_enabled
22
16
  [ "$status" -ne 0 ]
23
17
  }
24
18
 
25
- @test "user-level settings.json overlay can disable tribunal" {
26
- mkdir -p "${HOME}/.claude"
27
- printf '%s\n' '{"tribunal":{"enabled":false}}' > "${HOME}/.claude/settings.json"
28
- tribunal_config_load ""
29
- run tribunal_config_enabled
30
- [ "$status" -ne 0 ]
31
- }
32
-
33
- @test "repo-level settings.json overrides user-level" {
34
- mkdir -p "${HOME}/.claude"
35
- printf '%s\n' '{"tribunal":{"enabled":false}}' > "${HOME}/.claude/settings.json"
36
- local repo="${BATS_TEST_TMPDIR}/repo"
37
- mkdir -p "${repo}/.claude"
38
- printf '%s\n' '{"tribunal":{"enabled":true}}' > "${repo}/.claude/settings.json"
39
- tribunal_config_load "$repo"
40
- run tribunal_config_enabled
41
- [ "$status" -eq 0 ]
42
- }
43
-
44
19
  @test "default judge_types is standard + adversarial" {
45
20
  tribunal_config_load ""
46
21
  local types
@@ -10,31 +10,6 @@ setup() {
10
10
  source "${PLUGIN_ROOT}/scripts/lib/warden-config.sh"
11
11
  }
12
12
 
13
- @test "warden is disabled by default" {
14
- warden_config_load ""
15
- run warden_config_enabled
16
- [ "$status" -ne 0 ]
17
- }
18
-
19
- @test "user-level settings.json can enable warden" {
20
- mkdir -p "${HOME}/.claude"
21
- printf '%s\n' '{"warden":{"enabled":true}}' > "${HOME}/.claude/settings.json"
22
- warden_config_load ""
23
- run warden_config_enabled
24
- [ "$status" -eq 0 ]
25
- }
26
-
27
- @test "repo-level settings.json overrides user-level" {
28
- mkdir -p "${HOME}/.claude"
29
- printf '%s\n' '{"warden":{"enabled":true}}' > "${HOME}/.claude/settings.json"
30
- local repo="${BATS_TEST_TMPDIR}/repo"
31
- mkdir -p "${repo}/.claude"
32
- printf '%s\n' '{"warden":{"enabled":false}}' > "${repo}/.claude/settings.json"
33
- warden_config_load "$repo"
34
- run warden_config_enabled
35
- [ "$status" -ne 0 ]
36
- }
37
-
38
13
  @test "defaults are preserved when an overlay sets only some keys" {
39
14
  mkdir -p "${HOME}/.claude"
40
15
  printf '%s\n' '{"warden":{"enabled":true,"escalation":{"enabled":false}}}' > "${HOME}/.claude/settings.json"
@@ -12,7 +12,7 @@ setup() {
12
12
  export CLAUDE_PLUGIN_ROOT="$PLUGIN_ROOT"
13
13
 
14
14
  mkdir -p "${HOME}/.claude"
15
- printf '%s\n' '{"warden":{"enabled":true,"escalation":{"enabled":false}}}' > "${HOME}/.claude/settings.json"
15
+ printf '%s\n' '{"warden":{"escalation":{"enabled":false}}}' > "${HOME}/.claude/settings.json"
16
16
 
17
17
  # shellcheck disable=SC1091
18
18
  source "${PLUGIN_ROOT}/scripts/lib/warden-config.sh"