@danypops/papyrus 0.50.0 → 0.50.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.50.0",
3
+ "version": "0.50.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
  "main": "./src/index.ts",
@@ -67,12 +67,16 @@ const createCommand = buildCommand({
67
67
  });
68
68
 
69
69
  const listCommand = buildCommand({
70
- func: async function (this: DocsContext, flags: { status?: string; text?: string; limit?: number; projectRoot?: string }) {
70
+ func: async function (
71
+ this: DocsContext,
72
+ flags: { status?: string; text?: string; limit?: number; projectRoot?: string; applicable?: boolean },
73
+ ) {
71
74
  const rows = await this.client.call<Record<string, unknown>, CliArtifact[]>("docs.list", {
72
75
  status: flags.status,
73
76
  text: flags.text,
74
77
  limit: flags.limit,
75
78
  project_root: flags.projectRoot,
79
+ applicable: flags.applicable,
76
80
  });
77
81
  render.call(this, rows, rows.length === 0 ? "No documents found." : rows.map((row) => artifactLabel(row)).join("\n"));
78
82
  },
@@ -82,6 +86,11 @@ const listCommand = buildCommand({
82
86
  text: { brief: "Substring match against title/body", kind: "parsed", parse: String, placeholder: "text", optional: true },
83
87
  limit: { brief: "Maximum docs to return", kind: "parsed", parse: numberParser, optional: true },
84
88
  projectRoot: { brief: "Project scope", kind: "parsed", parse: String, placeholder: "path", optional: true },
89
+ applicable: {
90
+ brief: "With --project-root: list global Docs plus Docs applicable to it, instead of exact membership",
91
+ kind: "boolean",
92
+ optional: true,
93
+ },
85
94
  },
86
95
  },
87
96
  docs: { brief: "List Docs" },