@danypops/papyrus 0.46.0 → 0.46.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danypops/papyrus",
3
- "version": "0.46.0",
3
+ "version": "0.46.1",
4
4
  "description": "Daemon-backed graph artifacts, evidence-bearing tasks, rules, skills, and native TUI workflows for Pi",
5
5
  "type": "module",
6
6
  "keywords": ["pi-package"],
@@ -752,11 +752,11 @@ export function registerTasksVehicleOperations(registry: VehicleRegistry, deps:
752
752
 
753
753
  define(
754
754
  "claim",
755
- "Claims this Task's lease under owner (defaults to session_id). Returns taskName (the reusable artifact alias) and taskTitle instead of exposing its backend UUID. Throws if a different owner already holds one.",
755
+ "Claims this Task's lease under owner (defaults to session_id). Prefer name over id. Returns taskName (the reusable artifact alias) and taskTitle instead of exposing its backend UUID. Throws if a different owner already holds one.",
756
756
  "local-write",
757
757
  {
758
- id: stringProp,
759
758
  name: stringProp,
759
+ id: stringProp,
760
760
  owner: stringProp,
761
761
  ttl_ms: numberProp,
762
762
  note: stringProp,
@@ -772,11 +772,11 @@ export function registerTasksVehicleOperations(registry: VehicleRegistry, deps:
772
772
  );
773
773
  define(
774
774
  "heartbeat_lease",
775
- "Extends this Task's lease -- needs the exact owner/token claim() returned and returns the reusable taskName plus taskTitle.",
775
+ "Extends this Task's lease -- needs the exact owner/token claim() returned. Prefer name over id. Returns the reusable taskName plus taskTitle.",
776
776
  "local-write",
777
777
  {
778
- id: stringProp,
779
778
  name: stringProp,
779
+ id: stringProp,
780
780
  owner: stringProp,
781
781
  token: stringProp,
782
782
  ttl_ms: numberProp,
@@ -791,9 +791,9 @@ export function registerTasksVehicleOperations(registry: VehicleRegistry, deps:
791
791
  );
792
792
  define(
793
793
  "release_lease",
794
- "Releases this Task's lease -- needs the exact owner/token claim() returned.",
794
+ "Releases this Task's lease -- needs the exact owner/token claim() returned. Prefer name over id.",
795
795
  "local-write",
796
- { id: stringProp, name: stringProp, owner: stringProp, token: stringProp, project_root: stringProp, session_id: stringProp },
796
+ { name: stringProp, id: stringProp, owner: stringProp, token: stringProp, project_root: stringProp, session_id: stringProp },
797
797
  ["owner", "token"],
798
798
  (input) => ({
799
799
  ...input,
@@ -802,9 +802,9 @@ export function registerTasksVehicleOperations(registry: VehicleRegistry, deps:
802
802
  );
803
803
  define(
804
804
  "lease",
805
- "Shows this Task's current lease, if any, identified by reusable taskName plus taskTitle rather than its backend UUID.",
805
+ "Shows this Task's current lease, if any. Prefer name over id. The result is identified by reusable taskName plus taskTitle rather than its backend UUID.",
806
806
  "read",
807
- { id: stringProp, name: stringProp, project_root: stringProp },
807
+ { name: stringProp, id: stringProp, project_root: stringProp },
808
808
  [],
809
809
  (input) => ({
810
810
  ...input,