fix(vendor): align command providers with Cordis rescope

This commit is contained in:
Turtle
2026-08-10 22:34:07 +08:00
parent ca39194221
commit dab601e123
9 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -16,9 +16,9 @@
*/
import type { Command } from 'commander'
import type { Context } from 'cordis'
import type { Context } from '@deepseek-ai/cordis'
// Empty type import carries the Loader Context merge used by enableRow.
import type {} from '@cordisjs/plugin-loader'
import type {} from '@deepseek-ai/cordis-plugin-loader'
/**
* The invocation's inner arguments: everything after the launcher's own flags,
@@ -42,7 +42,7 @@ export interface AppExit {
(code: number): void
}
declare module 'cordis' {
declare module '@deepseek-ai/cordis' {
interface Context {
/** The invocation's inner arguments; provided by a launcher before the tree mounts. */
cmdlineArgs?: CmdlineArgs
+1 -1
View File
@@ -3,7 +3,7 @@
* @module @deepseek-ai/dsh-cmdline/invariant
*/
import type { Context } from 'cordis'
import type { Context } from '@deepseek-ai/cordis'
import type { InvariantInstaller } from '@deepseek-ai/dsh-invariants'
const PACKAGE_NAME = '@deepseek-ai/dsh-cmdline'