Просмотр исходного кода

test(snapshot): declare spill command fixture plugin types

Tianyi Cui 2 недель назад
Родитель
Сommit
1c06f1d3ac
1 измененных файлов с 13 добавлено и 0 удалено
  1. 13 0
      snapshots/session/session-query-spill/resolve-spill-command.d.mts

+ 13 - 0
snapshots/session/session-query-spill/resolve-spill-command.d.mts

@@ -0,0 +1,13 @@
+/** Typed Cordis plugin exports for the query-spill verification fixture. */
+import type { Context } from '@deepseek-ai/cordis'
+
+/** Scenario-local plugin identifier. */
+export const name: 'query-spill-verification-path'
+/** Runtime services used to resolve and execute the verification command. */
+export const inject: string[]
+
+/**
+ * Translate the physical command while preserving tool logging and approval.
+ * @param ctx - profile context with the real shell and filesystem providers.
+ */
+export function apply(ctx: Context): void