@chatpanel/events 0.10.0 → 0.11.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/observability.js +6 -3
  2. package/package.json +1 -1
package/observability.js CHANGED
@@ -25,10 +25,13 @@ export const ACCESS_LOG_MAX = 500;
25
25
  // listed here is dropped. Content-bearing fields (a search `query`) are deliberately ABSENT —
26
26
  // the tool name already says "a search happened"; the words searched are not logged.
27
27
  const SAFE_ARGS = {
28
- search_history: ['limit'],
28
+ // Metadata filters are safe to keep (they are not content) and useful to see in the log:
29
+ // "type=meeting since=7d". The search QUERY is deliberately absent — never recorded.
30
+ search_history: ['type', 'since', 'before', 'limit', 'offset'],
29
31
  list_history: ['limit', 'offset'],
30
- get_record: ['id'], // opaque record id, not content
31
- open_skill: ['skill'], // skill names are catalog identifiers, not PII
32
+ get_record: ['id', 'maxChars', 'offset'], // opaque record id + paging, not content
33
+ find_related: ['id', 'limit'], // graph navigation from an opaque id
34
+ open_skill: ['skill'], // skill names are catalog identifiers, not PII
32
35
  read_skill_file: ['skill', 'path'],
33
36
  list_skills: ['limit'],
34
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatpanel/events",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "The canonical ChatPanel event-log and capability contracts \u2014 typed durable facts, clock-free deterministic linearization, schema upcasting, and the invariants the replay harness asserts. Pure, dependency-free ESM shared by the ChatPanel extension, gateway and bridge.",
5
5
  "type": "module",
6
6
  "main": "index.js",