refactor(api): expose traced remote namespaces

This commit is contained in:
imccyu
2026-08-07 18:28:30 +08:00
parent 146097368b
commit d6ffd87c5f
38 changed files with 566 additions and 492 deletions

View File

@@ -38,7 +38,8 @@ async function mount(): Promise<Bench> {
},
}
ctx.reflect.provide('connection', handle)
ctx.reflect.provide('api', {})
ctx.reflect.provide('remote', {})
ctx.reflect.provide('remote.goals', {})
await ctx.plugin(RuntimeClient).await()
return bench
}

View File

@@ -32,7 +32,8 @@ async function mount(): Promise<Bench> {
},
}
ctx.reflect.provide('connection', handle)
ctx.reflect.provide('api', {})
ctx.reflect.provide('remote', {})
ctx.reflect.provide('remote.goals', {})
await ctx.plugin(RuntimeClient).await()
return bench
}