plugin.yaml in it. The walkthrough is
extension points; the manifest is
plugin packages.
Worked examples
--exp is what makes a plugin travel with a job: the lock file is referenced in the JobSpec at
submission, and the platform injects the package into the job. Installing without --exp only
puts it on your machine.
What publish checks
- The entrypoint module exists in the package.
- No top-level file shadows a real dependency.
torch.pyat the root would make every laterimport torchin the training process load your file. - A declarative pack contains no executable file outside
template/. - The recomputed content digest matches what the client claimed.
- The version does not already exist. Versions are immutable — publish
1.2.1to fix1.2.0.
Check it worked
tp plugin
Manage plugins
tp plugin activate
Activate a playbook or prompt version
No options beyond
--help.
tp plugin deactivate
Restore the built-in defaults
No options beyond
--help.
tp plugin disable
Disable a plugin
No options beyond
--help.
tp plugin enable
Enable a plugin (admin)
No options beyond
--help.
tp plugin info
Show a plugin’s details
No options beyond
--help.
tp plugin install
Install a plugin
tp plugin ls
List the plugins on the platform
--help.
tp plugin publish
Publish a plugin version
tp plugin remove
Remove a plugin from an experiment
tp plugin validate
Validate a plugin package
No options beyond
--help.