feat(plugin): expose server URL to plugins (#6373)

This commit is contained in:
Eduardo Santos de Brito 2025-12-30 04:05:08 +01:00 • committed by GitHub
commit 4657fa823f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,7 @@ export namespace Plugin {
project: Instance.project,
worktree: Instance.worktree,
directory: Instance.directory,
serverUrl: Server.url(),
$: Bun.$,
}
const plugins = [...(config.plugin ?? [])]