@danypops/papyrus 0.59.3 → 0.60.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/package.json +1 -1
  2. package/src/constants.ts +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danypops/papyrus",
3
- "version": "0.59.3",
3
+ "version": "0.60.0",
4
4
  "description": "Daemon-backed graph artifacts, evidence-bearing tasks, rules, skills, and native TUI workflows for Pi",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/constants.ts CHANGED
@@ -93,7 +93,7 @@ export const RULE_TEXT_HARD_LIMIT_CHARACTERS = 4000;
93
93
  /** Compact task-context limits keep recurring prompt injection bounded. */
94
94
  export const TASK_CONTEXT_CURRENT_LIMIT = 3;
95
95
  export const TASK_CONTEXT_REJECTED_LIMIT = 3;
96
- export const TASK_WIDGET_OPEN_LIMIT = 3;
96
+ export const TASK_WIDGET_OPEN_LIMIT = 9;
97
97
  export const TASK_DETAIL_MIN_VISIBLE_LINES = 8;
98
98
  /**
99
99
  * Event-triggered refresh (tool_execution_end, session_compact/tree) can't see a Task
@@ -103,6 +103,14 @@ export const TASK_DETAIL_MIN_VISIBLE_LINES = 8;
103
103
  export const TASK_WIDGET_POLL_INTERVAL_MS = 20_000;
104
104
  /** Same fallback purpose as TASK_WIDGET_POLL_INTERVAL_MS, for the Notes widget's own count. */
105
105
  export const NOTE_WIDGET_POLL_INTERVAL_MS = 20_000;
106
+ /** Max note titles kept for the Notes widget card. */
107
+ export const NOTE_WIDGET_OPEN_LIMIT = 8;
108
+ /** Visible rows per page in the Notes card. */
109
+ export const NOTE_WIDGET_VISIBLE_ROWS = 3;
110
+ /** Visible rows per page in the Tasks card. */
111
+ export const TASK_WIDGET_VISIBLE_ROWS = 3;
112
+ /** How often a paging widget card advances to its next page. */
113
+ export const WIDGET_CARD_ROTATION_INTERVAL_MS = 6_000;
106
114
  export const TASK_DETAIL_MAX_VISIBLE_LINES = 24;
107
115
  export const TASK_DETAIL_RESERVED_ROWS = 8;
108
116
  export const TASK_DETAIL_HORIZONTAL_PAN_COLUMNS = 4;