Merge origin/master: web permission sandbox, default pi-ai providers

This commit is contained in:
Turtle
2026-07-29 14:29:32 +08:00
parent 42e3cceb64
commit e7c0a5b794
147 changed files with 6770 additions and 195 deletions

View File

@@ -0,0 +1,14 @@
import { resolve } from 'node:path'
import type { Context } from 'cordis'
import * as SourceGuard from '@deepseek-ai/dsh-source-guard'
export const name = 'source-guard-fixture'
/**
* Mount the real guard against the staging fixture in the process cwd. The
* checkout under protection is a runtime fact of the isolated smoke directory,
* which no static config value can name.
*/
export async function apply(ctx: Context): Promise<void> {
await ctx.plugin(SourceGuard, { protectedCheckout: resolve('staging/guard-anchor.ts') })
}