feat(sdk): addon asset path resolution — addon_resource() (#389) #401

Merged
forbes merged 1 commits from feat/sdk-addon-resource into main 2026-03-04 19:47:50 +00:00

1 Commits

Author SHA1 Message Date
forbes
85ae0effc9 feat(sdk): addon asset path resolution — addon_resource() (#389)
Some checks failed
Build and Test / build (pull_request) Has been cancelled
Add kindred_sdk.addon_resource(name, relative_path) that resolves
bundled asset paths relative to an addon's root directory. Looks up
the addon manifest from AddonRegistry for the install root, joins
the relative path, and validates existence on disk.

Raises LookupError if the addon is not registered, FileNotFoundError
if the resolved path does not exist.

Closes #389
2026-03-04 13:46:25 -06:00