mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
feat(servers): run Manager automation on linked servers
This commit is contained in:
1 parent
c591c15743
commit
a9bdb8358f
131 files changed
+6568
-949
No files matched your search
@@ -22,6 +22,10 @@ export function buildSessionPath(
|
||||
return `/repos/${repoId}/sessions/${sessionId}${search ? `?${search}` : ''}`
|
||||
}
|
||||
|
||||
export function buildServerSessionPath(serverId: string, sessionId: string): string {
|
||||
return `/servers/${encodeURIComponent(serverId)}/sessions/${encodeURIComponent(sessionId)}`
|
||||
}
|
||||
|
||||
function trimTrailingChar(value: string, char: string): string {
|
||||
let end = value.length
|
||||
while (end > 0 && value[end - 1] === char) end--
|
||||
|
||||
Reference in new issue
Block a user