Read cwd from session.header (not only meta) and title from sessionTitle service or session/title events; list details in the message body and richer inline buttons. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
691 B
TypeScript
20 lines
691 B
TypeScript
import type { Context } from '@deepseek-ai/cordis';
|
|
import Schema from '@deepseek-ai/schemastery';
|
|
export declare const name = "dsh-telegram-channel";
|
|
export declare const inject: string[];
|
|
export interface TelegramChannelConfig {
|
|
token?: string;
|
|
allowedUserIds?: number[];
|
|
allowAllUsers?: boolean;
|
|
maxMessageLength?: number;
|
|
pollingTimeoutSec?: number;
|
|
}
|
|
export declare const Config: Schema<TelegramChannelConfig>;
|
|
export declare function apply(ctx: Context, config: TelegramChannelConfig): void;
|
|
export * from './format.js';
|
|
export * from './client.js';
|
|
export * from './auth.js';
|
|
export * from './commands.js';
|
|
export * from './label.js';
|
|
export * from './bridge.js';
|