fix(tools): use @deepseek-ai/cordis import in README type blocks
This commit is contained in:
@@ -2,5 +2,5 @@
|
|||||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
# 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:
|
# after editing either side, bring the other along and re-record with:
|
||||||
# pnpm run verify-translation-pairing --write packages/core/tools/README.md
|
# pnpm run verify-translation-pairing --write packages/core/tools/README.md
|
||||||
README.md: d556130bf924b8dbd7ba4d5afdd8bdfc792be38f
|
README.md: 653720b9a577df630c3b4c23a4615ff640e95292
|
||||||
README.zh.md: d7766b432c5a319d214da80e3df438489519be92
|
README.zh.md: 8c4671bf8d4f10f806fcce1a21044c82ff2d6d7d
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ First-party plugin authors can use the `defineTool()` helper (exported from this
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { readFile } from 'node:fs/promises'
|
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'
|
import { defineTool } from '@deepseek-ai/dsh-tools'
|
||||||
|
|
||||||
declare const ctx: Context
|
declare const ctx: Context
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ tools:
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { readFile } from 'node:fs/promises'
|
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'
|
import { defineTool } from '@deepseek-ai/dsh-tools'
|
||||||
|
|
||||||
declare const ctx: Context
|
declare const ctx: Context
|
||||||
|
|||||||
Reference in New Issue
Block a user