@ampcode/plugin 0.0.0-20260604004653-g5544281 → 0.0.0-20260605003935-g43249fe
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -336,7 +336,7 @@ declare module '@ampcode/plugin' {
|
|
|
336
336
|
*/
|
|
337
337
|
export interface PluginConfiguration<T> extends Observable<T> {
|
|
338
338
|
/**
|
|
339
|
-
* Get the current configuration
|
|
339
|
+
* Get the current configuration.
|
|
340
340
|
*/
|
|
341
341
|
get(): Promise<T>
|
|
342
342
|
|
|
@@ -534,6 +534,9 @@ declare module '@ampcode/plugin' {
|
|
|
534
534
|
/** Active thread ID for the current invocation context */
|
|
535
535
|
id: ThreadID
|
|
536
536
|
|
|
537
|
+
/** Current thread title stream, or `null` when no title has been set yet. */
|
|
538
|
+
readonly title: Observable<string | null> & { get(): Promise<string | null> }
|
|
539
|
+
|
|
537
540
|
/**
|
|
538
541
|
* Read messages from the thread in a stable plugin-facing schema.
|
|
539
542
|
*
|