@onlooker-community/ecosystem 0.28.0 → 0.28.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecosystem",
3
- "version": "0.28.0",
3
+ "version": "0.28.1",
4
4
  "description": "Observability substrate for Claude Code. Provides the shared $ONLOOKER_DIR storage root (default $HOME/.onlooker), canonical schema-validated event emission, session and tool tracking hooks, and prompt rules. Required by all other Onlooker plugins.",
5
5
  "author": {
6
6
  "name": "Onlooker Community",
@@ -1,11 +1,11 @@
1
1
  {
2
- ".": "0.28.0",
2
+ ".": "0.28.1",
3
3
  "plugins/archivist": "0.1.0",
4
4
  "plugins/tribunal": "1.0.1",
5
5
  "plugins/echo": "0.2.0",
6
6
  "plugins/cartographer": "0.2.1",
7
7
  "plugins/governor": "0.2.1",
8
- "plugins/compass": "0.2.0",
8
+ "plugins/compass": "0.2.1",
9
9
  "plugins/scribe": "0.2.1",
10
10
  "plugins/counsel": "0.3.1",
11
11
  "plugins/warden": "0.2.0",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.28.1](https://github.com/onlooker-community/ecosystem/compare/ecosystem-v0.28.0...ecosystem-v0.28.1) (2026-06-12)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **compass:** resolve MultiEdit file path from the top-level field ([#85](https://github.com/onlooker-community/ecosystem/issues/85)) ([468abaa](https://github.com/onlooker-community/ecosystem/commit/468abaaad4bef59fe4308bd8887dfcf6d633921a))
9
+
3
10
  ## [0.28.0](https://github.com/onlooker-community/ecosystem/compare/ecosystem-v0.27.0...ecosystem-v0.28.0) (2026-06-12)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlooker-community/ecosystem",
3
- "version": "0.28.0",
3
+ "version": "0.28.1",
4
4
  "description": "Agents, skills, hooks, commands, rules, and MCP configurations that power [Onlooker](https://onlooker.dev)",
5
5
  "author": {
6
6
  "name": "Onlooker Community",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compass",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Pre-write intent clarity gate. Intercepts write-class tool calls and requires a confidence threshold before allowing them to proceed. Evaluates the pending write against the prior assistant turn as context to avoid false positives on question-answer turns. Builds on the Onlooker ecosystem plugin.",
5
5
  "author": {
6
6
  "name": "Onlooker Community",
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.1](https://github.com/onlooker-community/ecosystem/compare/compass-v0.2.0...compass-v0.2.1) (2026-06-12)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **compass:** resolve MultiEdit file path from the top-level field ([#85](https://github.com/onlooker-community/ecosystem/issues/85)) ([468abaa](https://github.com/onlooker-community/ecosystem/commit/468abaaad4bef59fe4308bd8887dfcf6d633921a))
9
+
3
10
  ## [0.2.0](https://github.com/onlooker-community/ecosystem/compare/compass-v0.1.0...compass-v0.2.0) (2026-06-01)
4
11
 
5
12
 
@@ -65,14 +65,19 @@ case "$TOOL_NAME" in
65
65
  OPERATION="edit"
66
66
  ;;
67
67
  MultiEdit)
68
- # For MultiEdit, use the first file path and a summary as context.
68
+ # MultiEdit applies to one file via a top-level file_path; fall back to
69
+ # the first edit's path for any nested shape.
69
70
  FILE_PATH=$(printf '%s' "$INPUT" \
70
- | jq -r '.tool_input.edits[0].file_path // ""' 2>/dev/null) || FILE_PATH=""
71
+ | jq -r '.tool_input.file_path // .tool_input.edits[0].file_path // ""' 2>/dev/null) || FILE_PATH=""
71
72
  _edit_count=$(printf '%s' "$INPUT" \
72
73
  | jq '.tool_input.edits | length' 2>/dev/null) || _edit_count="?"
74
+ # Combine the top-level path with any per-edit paths, drop blanks/nulls.
73
75
  _file_list=$(printf '%s' "$INPUT" \
74
- | jq -r '[.tool_input.edits[].file_path] | unique | join(", ")' 2>/dev/null) \
75
- || _file_list="(multiple files)"
76
+ | jq -r '([.tool_input.file_path] + [.tool_input.edits[]?.file_path] | map(select(. != null and . != "")) | unique) | join(", ")' 2>/dev/null) \
77
+ || _file_list=""
78
+ [[ -z "$_file_list" ]] && _file_list="$FILE_PATH"
79
+ # Both blank (a MultiEdit with no resolvable path) — keep the context legible.
80
+ [[ -z "$_file_list" ]] && _file_list="(unknown)"
76
81
  CONTEXT="MultiEdit: ${_edit_count} edit(s) across: ${_file_list}"
77
82
  OPERATION="multi_edit"
78
83
  ;;