diff --git a/plugins/heph-expert/skills/heph/references/authoring.md b/plugins/heph-expert/skills/heph/references/authoring.md index 33023a5..adfbd71 100644 --- a/plugins/heph-expert/skills/heph/references/authoring.md +++ b/plugins/heph-expert/skills/heph/references/authoring.md @@ -108,7 +108,7 @@ Available in every BUILD file; use it to vary targets by OS/arch. | `heph.core.arch()` | normalized arch | `amd64`, `arm64` | | `heph.core.os_raw()` | host OS identifier | `macos`, `linux` | | `heph.core.arch_raw()` | host arch identifier | `x86_64`, `aarch64` | -| `heph.core.pkg()` | current package path | `//tools/build` | +| `heph.core.pkg()` | current package path | `tools/build` | Normalized names match container-registry / distribution conventions; use the `*_raw()` forms when a tool or URL expects the host's exact identifiers. diff --git a/website/docs/plugins/buildfile.md b/website/docs/plugins/buildfile.md index acd4b3f..69c371e 100644 --- a/website/docs/plugins/buildfile.md +++ b/website/docs/plugins/buildfile.md @@ -221,7 +221,7 @@ host platform so targets can vary by operating system or CPU architecture. | `heph.core.arch()` | normalized architecture | `"amd64"`, `"arm64"` | | `heph.core.os_raw()` | host OS identifier | `"macos"`, `"linux"` | | `heph.core.arch_raw()` | host architecture identifier | `"x86_64"`, `"aarch64"` | -| `heph.core.pkg()` | current package path | `"//tools/build"` | +| `heph.core.pkg()` | current package path | `"tools/build"` | `heph.core.os()` and `heph.core.arch()` return normalized names that match the conventions used by container registries and most package distribution