fix(examples): own repository plugin startup order

This commit is contained in:
Tianyi Cui
2026-08-02 01:25:02 +08:00
parent a7b84bec68
commit a0aed8a19f
2 changed files with 14 additions and 4 deletions
+1 -4
View File
@@ -1,11 +1,8 @@
- id: cli-mock-llm
name: './cli-mock-llm.ts'
- id: repository-plugin-runtime
name: '@deepseek-ai/dsh-repository-plugin'
- id: repository-plugin-fixture
name: './repository-plugin/dsh-plugin.mjs'
name: './repository-plugin/load.mjs'
- id: base
name: '@cordisjs/plugin-include'
@@ -0,0 +1,13 @@
/**
* Keyless fixture owner that mounts the runtime before its prepared wrapper.
* Cordis starts sibling Loader entries concurrently, so row order is not a dependency edge.
*/
import * as RepositoryPlugin from '@deepseek-ai/dsh-repository-plugin'
import * as PreparedPlugin from './dsh-plugin.mjs'
export const name = 'headless-repository-fixture-loader'
export async function apply(ctx) {
await ctx.plugin(RepositoryPlugin)
await ctx.plugin(PreparedPlugin)
}