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
parent 1d589c7ac7
commit 4657fa823f
3 changed files with 10 additions and 0 deletions

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 ?? [])]