Jelajahi Sumber

test(snapshot): declare spill command fixture plugin types

Tianyi Cui 5 hari lalu
induk
melakukan
1c06f1d3ac

+ 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