@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.
- package/.claude-plugin/plugin.json +1 -1
- package/.gitattributes +18 -0
- package/.release-please-manifest.json +17 -17
- package/CHANGELOG.md +19 -0
- package/CLAUDE.md +10 -0
- package/package.json +2 -3
- package/plugins/archivist/.claude-plugin/plugin.json +1 -1
- package/plugins/archivist/CHANGELOG.md +7 -0
- package/plugins/archivist/README.md +4 -10
- package/plugins/archivist/config.json +0 -1
- package/plugins/archivist/scripts/hooks/archivist-extract.sh +0 -6
- package/plugins/archivist/scripts/hooks/archivist-inject.sh +2 -7
- package/plugins/archivist/scripts/lib/archivist-config.sh +0 -8
- package/plugins/assayer/.claude-plugin/plugin.json +1 -1
- package/plugins/assayer/CHANGELOG.md +7 -0
- package/plugins/assayer/README.md +4 -10
- package/plugins/assayer/config.json +0 -1
- package/plugins/assayer/scripts/hooks/assayer-stop.sh +1 -3
- package/plugins/assayer/scripts/lib/assayer-config.sh +0 -6
- package/plugins/bursar/.claude-plugin/plugin.json +1 -1
- package/plugins/bursar/CHANGELOG.md +7 -0
- package/plugins/bursar/README.md +3 -11
- package/plugins/bursar/config.json +0 -1
- package/plugins/bursar/scripts/hooks/bursar-session-end.sh +4 -6
- package/plugins/bursar/scripts/hooks/bursar-session-start.sh +3 -5
- package/plugins/bursar/scripts/lib/bursar-config.sh +1 -7
- package/plugins/cartographer/.claude-plugin/plugin.json +1 -1
- package/plugins/cartographer/CHANGELOG.md +7 -0
- package/plugins/cartographer/README.md +3 -10
- package/plugins/cartographer/config.json +0 -1
- package/plugins/cartographer/scripts/hooks/cartographer-post-write.sh +0 -2
- package/plugins/cartographer/scripts/hooks/cartographer-session-start.sh +0 -2
- package/plugins/cartographer/scripts/lib/cartographer-config.sh +0 -7
- package/plugins/cartographer/skills/cartographer/SKILL.md +0 -5
- package/plugins/compass/.claude-plugin/plugin.json +1 -1
- package/plugins/compass/CHANGELOG.md +7 -0
- package/plugins/compass/README.md +4 -10
- package/plugins/compass/config.json +0 -1
- package/plugins/compass/scripts/hooks/compass-bash-gate.sh +0 -4
- package/plugins/compass/scripts/hooks/compass-pre-tool-use.sh +0 -4
- package/plugins/compass/scripts/hooks/compass-record-write.sh +0 -4
- package/plugins/compass/scripts/hooks/compass-session-start.sh +1 -6
- package/plugins/compass/scripts/lib/compass-config.sh +0 -7
- package/plugins/counsel/.claude-plugin/plugin.json +1 -1
- package/plugins/counsel/CHANGELOG.md +7 -0
- package/plugins/counsel/README.md +6 -10
- package/plugins/counsel/config.json +0 -1
- package/plugins/counsel/scripts/hooks/counsel-session-start.sh +1 -7
- package/plugins/counsel/scripts/lib/counsel-config.sh +0 -6
- package/plugins/counsel/skills/counsel/SKILL.md +0 -5
- package/plugins/curator/.claude-plugin/plugin.json +1 -1
- package/plugins/curator/CHANGELOG.md +7 -0
- package/plugins/curator/README.md +1 -11
- package/plugins/curator/config.json +0 -1
- package/plugins/curator/scripts/hooks/curator-session-start.sh +0 -6
- package/plugins/curator/scripts/lib/curator-config.sh +0 -7
- package/plugins/echo/.claude-plugin/plugin.json +1 -1
- package/plugins/echo/CHANGELOG.md +7 -0
- package/plugins/echo/README.md +3 -9
- package/plugins/echo/config.json +0 -1
- package/plugins/echo/scripts/hooks/echo-stop-gate.sh +1 -3
- package/plugins/echo/scripts/lib/echo-config.sh +0 -6
- package/plugins/governor/.claude-plugin/plugin.json +1 -1
- package/plugins/governor/CHANGELOG.md +7 -0
- package/plugins/governor/README.md +4 -10
- package/plugins/governor/config.json +0 -1
- package/plugins/governor/scripts/hooks/governor-post-tool-use.sh +0 -5
- package/plugins/governor/scripts/hooks/governor-pre-tool-use.sh +0 -5
- package/plugins/governor/scripts/hooks/governor-session-start.sh +4 -9
- package/plugins/governor/scripts/hooks/governor-stop.sh +0 -5
- package/plugins/governor/scripts/lib/governor-config.sh +0 -7
- package/plugins/historian/.claude-plugin/plugin.json +1 -1
- package/plugins/historian/CHANGELOG.md +14 -0
- package/plugins/historian/README.md +3 -7
- package/plugins/historian/config.json +0 -1
- package/plugins/historian/scripts/hooks/historian-prompt-submit.sh +1 -6
- package/plugins/historian/scripts/hooks/historian-session-end.sh +2 -6
- package/plugins/historian/scripts/lib/historian-config.sh +0 -6
- package/plugins/historian/scripts/lib/historian-embedder.sh +10 -6
- package/plugins/inspector/.claude-plugin/plugin.json +1 -1
- package/plugins/inspector/CHANGELOG.md +7 -0
- package/plugins/inspector/README.md +9 -5
- package/plugins/inspector/config.json +0 -1
- package/plugins/inspector/scripts/hooks/inspector-post-write.sh +0 -7
- package/plugins/inspector/scripts/lib/inspector-config.sh +0 -7
- package/plugins/librarian/.claude-plugin/plugin.json +1 -1
- package/plugins/librarian/CHANGELOG.md +7 -0
- package/plugins/librarian/README.md +5 -9
- package/plugins/librarian/config.json +0 -1
- package/plugins/librarian/scripts/hooks/librarian-session-end.sh +0 -2
- package/plugins/librarian/scripts/hooks/librarian-session-start.sh +0 -6
- package/plugins/librarian/scripts/lib/librarian-config.sh +0 -8
- package/plugins/lineage/.claude-plugin/plugin.json +1 -1
- package/plugins/lineage/CHANGELOG.md +7 -1
- package/plugins/lineage/README.md +3 -12
- package/plugins/lineage/config.json +0 -1
- package/plugins/lineage/scripts/hooks/lineage-post-tool-use.sh +0 -1
- package/plugins/lineage/scripts/lib/lineage-config.sh +0 -7
- package/plugins/lineage/skills/lineage/SKILL.md +1 -4
- package/plugins/scribe/.claude-plugin/plugin.json +1 -1
- package/plugins/scribe/CHANGELOG.md +7 -0
- package/plugins/scribe/README.md +4 -12
- package/plugins/scribe/config.json +0 -1
- package/plugins/scribe/scripts/hooks/scribe-capture.sh +0 -4
- package/plugins/scribe/scripts/hooks/scribe-session-start.sh +2 -7
- package/plugins/scribe/scripts/hooks/scribe-stop.sh +0 -5
- package/plugins/scribe/scripts/lib/scribe-config.sh +1 -8
- package/plugins/scribe/scripts/lib/scribe-extract.sh +16 -12
- package/plugins/tribunal/.claude-plugin/plugin.json +1 -1
- package/plugins/tribunal/CHANGELOG.md +7 -0
- package/plugins/tribunal/README.md +7 -1
- package/plugins/tribunal/config.json +0 -1
- package/plugins/tribunal/scripts/hooks/tribunal-stop-gate.sh +3 -14
- package/plugins/tribunal/scripts/lib/tribunal-config.sh +0 -8
- package/plugins/warden/.claude-plugin/plugin.json +1 -1
- package/plugins/warden/CHANGELOG.md +7 -0
- package/plugins/warden/README.md +3 -12
- package/plugins/warden/config.json +0 -1
- package/plugins/warden/scripts/hooks/warden-post-tool-use.sh +0 -4
- package/plugins/warden/scripts/hooks/warden-pre-tool-use.sh +0 -4
- package/plugins/warden/scripts/hooks/warden-session-start.sh +1 -6
- package/plugins/warden/scripts/lib/warden-config.sh +1 -8
- package/renovate.json +34 -0
- package/test/bats/archivist-config-files.bats +2 -2
- package/test/bats/archivist-config.bats +0 -25
- package/test/bats/archivist-inject.bats +1 -13
- package/test/bats/assayer-config.bats +0 -13
- package/test/bats/assayer-stop-hook.bats +3 -17
- package/test/bats/bursar-config.bats +0 -25
- package/test/bats/bursar-session-end.bats +0 -20
- package/test/bats/bursar-session-start.bats +1 -18
- package/test/bats/cartographer-config.bats +0 -25
- package/test/bats/compass-config.bats +1 -26
- package/test/bats/compass-gate.bats +1 -3
- package/test/bats/curator-session-start.bats +2 -12
- package/test/bats/echo-config.bats +0 -24
- package/test/bats/echo-stop-hook.bats +3 -15
- package/test/bats/governor-config.bats +0 -36
- package/test/bats/historian-prompt-submit.bats +2 -8
- package/test/bats/historian-session-end.bats +4 -14
- package/test/bats/inspector-config.bats +0 -13
- package/test/bats/inspector-post-write-hook.bats +10 -17
- package/test/bats/librarian-session-end.bats +0 -11
- package/test/bats/librarian-session-start.bats +1 -11
- package/test/bats/lineage-config.bats +0 -25
- package/test/bats/lineage-post-tool-use.bats +1 -7
- package/test/bats/scribe-extract.bats +6 -6
- package/test/bats/tribunal-config.bats +0 -25
- package/test/bats/warden-config.bats +0 -25
- 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":{"
|
|
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"
|