@danypops/pi-papyrus 0.57.4 → 0.57.5

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.
@@ -39,7 +39,7 @@ import { emitTaskFocusEvent } from "../task/task-focus-events.ts";
39
39
  import { recordRenderDiagnostic, shapeFingerprint } from "./render-diagnostics.ts";
40
40
  import { papyrusVehiclePresentations, papyrusVehicleRenderers } from "./vehicle-artifact-renderers.ts";
41
41
 
42
- const REGISTERED_PERMISSIONS = [
42
+ export const PAPYRUS_VEHICLE_PERMISSIONS = [
43
43
  "notes:read",
44
44
  "notes:write",
45
45
  "rules:read",
@@ -54,7 +54,9 @@ const REGISTERED_PERMISSIONS = [
54
54
  "discuss:write",
55
55
  "artifact:read",
56
56
  "artifact:write",
57
- ];
57
+ "binders:read",
58
+ "binders:write",
59
+ ] as const;
58
60
 
59
61
  /** Task Focus's own internal write needs a real, per-session secret -- see below. Every other tasks.* operation reads session_id purely for read-scoping and needs no secret. */
60
62
  const FOCUS_MUTATION_OPERATIONS = new Set(["tasks.focus", "tasks.pause", "tasks.unpause", "tasks.clear_focus"]);
@@ -148,7 +150,7 @@ export function registerNotesVehicle(pi: ExtensionAPI): Promise<RegisteredPiVehi
148
150
  recordRenderDiagnostic({ event: "vehicle-ready", kind: event.kind, ...("attempt" in event ? { attempt: event.attempt } : {}) });
149
151
  notifyReadyEvent(event);
150
152
  },
151
- permissions: REGISTERED_PERMISSIONS,
153
+ permissions: PAPYRUS_VEHICLE_PERMISSIONS,
152
154
  principal: { id: "pi-papyrus" },
153
155
  renderers: papyrusVehicleRenderers,
154
156
  // papyrusVehiclePresentations projects a bounded, versioned PapyrusToolDetails DTO
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danypops/pi-papyrus",
3
- "version": "0.57.4",
3
+ "version": "0.57.5",
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"],