Browse Source

fix(tools): use @deepseek-ai/cordis import in README type blocks

Chinesezjc 2 months ago
parent
commit
b558afc373

+ 2 - 2
packages/core/tools/README.i18n.yaml

@@ -2,5 +2,5 @@
 # side as of the last confirmed-consistent state. Both languages carry equal authority;
 # after editing either side, bring the other along and re-record with:
 #   pnpm run verify-translation-pairing --write packages/core/tools/README.md
-README.md: d556130bf924b8dbd7ba4d5afdd8bdfc792be38f
-README.zh.md: d7766b432c5a319d214da80e3df438489519be92
+README.md: 653720b9a577df630c3b4c23a4615ff640e95292
+README.zh.md: 8c4671bf8d4f10f806fcce1a21044c82ff2d6d7d

+ 1 - 1
packages/core/tools/README.md

@@ -66,7 +66,7 @@ First-party plugin authors can use the `defineTool()` helper (exported from this
 
 ```ts
 import { readFile } from 'node:fs/promises'
-import type { Context } from 'cordis'
+import type { Context } from '@deepseek-ai/cordis'
 import { defineTool } from '@deepseek-ai/dsh-tools'
 
 declare const ctx: Context

+ 1 - 1
packages/core/tools/README.zh.md

@@ -66,7 +66,7 @@ tools:
 
 ```ts
 import { readFile } from 'node:fs/promises'
-import type { Context } from 'cordis'
+import type { Context } from '@deepseek-ai/cordis'
 import { defineTool } from '@deepseek-ai/dsh-tools'
 
 declare const ctx: Context