feat(worktree): add managed workspace cloning (#30117)

This commit is contained in:
Dax 2026-05-31 11:57:44 -04:00 committed by GitHub
commit 5661af2034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 2374 additions and 28 deletions

View file

@ -68,8 +68,8 @@ export class Info extends Schema.Class<Info>("ModelV2.Info")({
output: Schema.Int,
}),
}) {
static empty(providerID: ProviderV2.ID, modelID: ID) {
return new Info({
static empty(providerID: ProviderV2.ID, modelID: ID): Info {
return {
id: modelID,
apiID: modelID,
providerID,
@ -101,7 +101,7 @@ export class Info extends Schema.Class<Info>("ModelV2.Info")({
context: 0,
output: 0,
},
})
}
}
}