mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
0ecbbe2382
* fix(workboard): inherit caller workspace authority * docs(plugin-sdk): refresh API baseline * fix(workboard): pin restricted worker authority * fix(workboard): avoid host git for restricted dispatch * refactor(worktrees): extract owner matching * refactor(workboard): reuse sdk workspace helpers * fix(workboard): narrow cleanup owner * refactor(workboard): clarify claim value handling * fix(workboard): inherit caller workspace authority * test(worktrees): use managed temp directories * chore: keep release notes in PR body * fix(workboard): keep internal authority helpers private
7 lines
251 B
TypeScript
7 lines
251 B
TypeScript
// Workboard paths accept POSIX, drive-letter, and UNC absolute forms.
|
|
export function isAbsoluteWorkspacePath(value: string): boolean {
|
|
return (
|
|
value.startsWith("/") || /^[A-Za-z]:[\\/]/.test(value) || /^\\\\[^\\]+\\[^\\]+/.test(value)
|
|
);
|
|
}
|