@danypops/pi-papyrus 0.57.0 → 0.57.2
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/extension/src/index.ts
CHANGED
|
@@ -135,10 +135,17 @@ export function taskSectionLabel(projection: TaskWidgetProjection, rotation?: Au
|
|
|
135
135
|
return rotation?.isPaging ? `${base} · ${rotation.pageIndex + 1}/${rotation.pageCount} ⟳` : base;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
export function buildTaskWidgetSection(
|
|
138
|
+
export function buildTaskWidgetSection(
|
|
139
|
+
theme: Theme,
|
|
140
|
+
projection: TaskWidgetProjection,
|
|
141
|
+
rotation: AutoRotatingWindow,
|
|
142
|
+
): WidgetSection | undefined {
|
|
139
143
|
if (projection.openTotal === 0) return undefined;
|
|
140
144
|
rotation.setTotalRows(projection.rows.length);
|
|
141
|
-
return {
|
|
145
|
+
return {
|
|
146
|
+
label: taskSectionLabel(projection, rotation),
|
|
147
|
+
render: (width) => renderTaskSectionBodyLines(theme, projection, width, rotation),
|
|
148
|
+
};
|
|
142
149
|
}
|
|
143
150
|
|
|
144
151
|
export class TaskOverlay {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AutoRotatingWindow, WidgetSection } from "malevich-tui-components";
|
|
2
1
|
import { truncateToWidth } from "@earendil-works/pi-tui";
|
|
2
|
+
import type { AutoRotatingWindow, WidgetSection } from "malevich-tui-components";
|
|
3
3
|
|
|
4
4
|
export interface NoteWidgetRow {
|
|
5
5
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danypops/pi-papyrus",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.2",
|
|
4
4
|
"description": "Pi host extension for Papyrus: native tools, TUI panels, and context injection over the daemon-backed graph store",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": ["pi-package"],
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@danypops/vehicle-client-pi": "^0.
|
|
15
|
+
"@danypops/vehicle-client-pi": "^0.45.0",
|
|
16
16
|
"@earendil-works/pi-coding-agent": "*",
|
|
17
17
|
"@earendil-works/pi-tui": "*",
|
|
18
18
|
"typebox": "*"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@danypops/pi-tui-harness": "^0.0.2",
|
|
31
|
-
"@danypops/vehicle-client-pi": "^0.
|
|
31
|
+
"@danypops/vehicle-client-pi": "^0.45.0",
|
|
32
32
|
"@danypops/vehicle-conformance": "^0.3.0",
|
|
33
33
|
"@earendil-works/pi-coding-agent": "^0.80.10",
|
|
34
34
|
"bun-types": "latest",
|