Skip to content

docs: document heph.fs provider functions and fix inspect functions output#24

Merged
raphaelvigee merged 2 commits into
mainfrom
claude/laughing-lovelace-iqa5l8
Jun 13, 2026
Merged

docs: document heph.fs provider functions and fix inspect functions output#24
raphaelvigee merged 2 commits into
mainfrom
claude/laughing-lovelace-iqa5l8

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

$(cat <<'EOF'

Summary

Follow-up docs for hephbuild/heph#57 (enforce declarative signatures on provider functions).

  • guides/inspecting-builds.md: Fix the description of heph inspect functions — the output format changed from heph.<provider>.<fn> to <provider>.<signature> (e.g. fs.glob(pattern: string) -> list[string]).
  • plugins/fs.md: Add a "Provider functions" section documenting the four heph.fs.* BUILD-callable helpers (glob, join, dir, base) with their typed signatures. Includes a note distinguishing heph.fs.glob (returns list[string] of path strings) from the top-level glob() builtin (returns a filesystem target address).
  • heph-expert/references/authoring.md: Reference-drift update — add a heph.fs section alongside heph.core so the plugin reference stays current.

Test plan

  • Docs render correctly (no broken markdown)
  • heph.fs section in fs.md matches actual signatures from the code
  • inspect functions example output matches new format

https://claude.ai/code/session_014wucdKDQxMSWeSNXvR3wSs
EOF
)


Generated by Claude Code

…utput format

hephbuild/heph#57 added declarative typed signatures to provider-exposed
BUILD functions and changed `heph inspect functions` output to include the
full signature (e.g. `fs.glob(pattern: string) -> list[string]`).

- inspecting-builds.md: fix description of `heph inspect functions` output
  (was `heph.<provider>.<fn>`, now `<provider>.<signature>`)
- plugins/fs.md: add "Provider functions" section documenting the four
  `heph.fs.*` BUILD-callable helpers (glob, join, dir, base) with typed
  signatures and a note distinguishing `heph.fs.glob` from the `glob()` builtin
- heph-expert/references/authoring.md: reference-drift update — add `heph.fs`
  section alongside the existing `heph.core` section

https://claude.ai/code/session_014wucdKDQxMSWeSNXvR3wSs
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://1f4b2076.hephbuild.pages.dev
Commit 7d31d0d

@raphaelvigee

Copy link
Copy Markdown
Member Author

Add a provider function for go plugin too

…h.go.build_addr

Per review on #24. Matches the pattern added for the fs plugin — a dedicated
"Provider functions" section listing the function with its enforced typed
signature. Updates the heph-go reference too (reference drift rule).

https://claude.ai/code/session_014wucdKDQxMSWeSNXvR3wSs
@raphaelvigee raphaelvigee merged commit 7b4f5b5 into main Jun 13, 2026
3 checks passed
@raphaelvigee raphaelvigee deleted the claude/laughing-lovelace-iqa5l8 branch June 13, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants