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

Function _find_plugin_root

plugins/ngs-analysis/scripts/ngs_run_utils.py:384–388  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382
383
384def _find_plugin_root() -> Path | None:
385 for current in [Path(__file__).resolve().parent, *Path(__file__).resolve().parents]:
386 if (current / ".codex-plugin" / "plugin.json").exists():
387 return current
388 return None
389
390
391def plugin_metadata() -> dict[str, Any]:

Callers 1

plugin_metadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected