MCPcopy
hub / github.com/openai/plugins / resource_visual_entries

Function resource_visual_entries

plugins/ngs-analysis/scripts/ngs_resource_gate.py:99–143  ·  view source on GitHub ↗
(resource_plan: dict[str, Any] | None)

Source from the content-addressed store, hash-verified

97
98
99def resource_visual_entries(resource_plan: dict[str, Any] | None) -> list[dict[str, Any]]:
100 if resource_plan is None:
101 return []
102 return [
103 artifact_entry(
104 artifact_id="resource_readiness",
105 title="Resource Readiness",
106 path="resources/resource_readiness.md",
107 kind="markdown",
108 status="created",
109 description="Human-readable reference/database readiness gate for this run.",
110 ),
111 artifact_entry(
112 artifact_id="resource_manifest",
113 title="Resource Manifest",
114 path="resources/resource_manifest.tsv",
115 kind="table",
116 status="created",
117 description="Resolved resource bundles, roots, env vars, and missing-file counts.",
118 ),
119 artifact_entry(
120 artifact_id="resource_plan",
121 title="Resource Plan",
122 path="resources/resource_plan.json",
123 kind="json",
124 status="created",
125 description="Structured reference/database readiness plan used by this run.",
126 ),
127 artifact_entry(
128 artifact_id="resource_setup_plan",
129 title="Resource Setup Plan",
130 path="resources/resource_setup_plan.md",
131 kind="markdown",
132 status="created",
133 description="Actionable setup checklist for missing reference/database bundles.",
134 ),
135 artifact_entry(
136 artifact_id="resource_setup_commands",
137 title="Resource Setup Commands",
138 path="resources/resource_setup_commands.sh",
139 kind="script",
140 status="created",
141 description="Reviewed shell skeleton with commented setup hints and validation commands.",
142 ),
143 ]
144
145
146def resource_summary_lines(resource_plan: dict[str, Any] | None) -> list[str]:

Callers

nothing calls this directly

Calls 1

artifact_entryFunction · 0.90

Tested by

no test coverage detected