mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-02 18:11:37 +08:00
docs(im): document ImSendOptions.thread default and sync Cordis catalog
This commit is contained in:
1 parent
bb16bab1ea
commit
a21b2ec44d
2 files changed
+6
-1
No files matched your search
@@ -521,6 +521,11 @@ export interface ImSendOptions extends SendOptions {
|
||||
* message of the same chat — its `referrer` becomes the target's, so passive replies and thread placement work.
|
||||
*/
|
||||
quote?: ImMessageKey
|
||||
/**
|
||||
* Thread placement: a `string` targets that explicit thread id; `true` answers inside `quote`'s thread. When both
|
||||
* `thread` and `quote` are omitted for a `session`, defaults to the thread of the message `ImSessions.trigger(session)`
|
||||
* answered last in memory (falling back to the chat's main timeline when none exists or after a restart).
|
||||
*/
|
||||
thread?: string | true
|
||||
/** For grants check + attribution. */
|
||||
session?: SessionId
|
||||
|
||||
@@ -7848,7 +7848,7 @@ export const TYPE_API: readonly TypeApiEntry[] = [
|
||||
},
|
||||
{
|
||||
name: 'ImSenderDeps',
|
||||
declaration: 'export interface ImSenderDeps {\n store: ImStore;\n sessions: Pick<ImSessions, \'of\' | \'get\'>;\n announced?: (key: ImMessageKey) => Promise<ImMessage | undefined>;\n}',
|
||||
declaration: 'export interface ImSenderDeps {\n store: ImStore;\n sessions: Pick<ImSessions, \'of\' | \'get\' | \'trigger\'>;\n announced?: (key: ImMessageKey) => Promise<ImMessage | undefined>;\n}',
|
||||
},
|
||||
{
|
||||
name: 'ImSendOptions',
|
||||
|
||||
Reference in new issue
Block a user