mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-29 18:17:21 +08:00
* feat(plugins): add timezone config to ScheNotify for all tools (LANG-319) Add a `timezone` plugin config (IANA name, UTC, or an offset such as UTC+8; empty keeps the server's local timezone). get_current_time_str reports the time in it, schedule_notify interprets time_str in it, and !sche / !dsche display reminder times in it. Reminders now store aware instants, so the detached scheduler compares against UTC without reading installation config. Bump to 0.2.7 and add tzdata. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai> * fix(plugins): deliver ScheNotify reminders under audit-correlating SDKs (LANG-319) The scheduler task was created with a copy of the scheduling invocation's context, which carries the SDK's per-action audit correlation. SDKs that close that correlation when the action returns (langbot-plugin 0.7.21, pinned by Core) then rejected every delivery with "Plugin audit invocation has ended", so no reminder was ever sent. Start the loop from an empty context; it already re-enters the captured invocation. Found during live acceptance; adds a regression test that relays the audit correlation like the real handler. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
76 lines
2.6 KiB
YAML
76 lines
2.6 KiB
YAML
apiVersion: v1
|
|
kind: Plugin
|
|
metadata:
|
|
author: langbot-team
|
|
name: ScheNotify
|
|
repository: https://github.com/langbot-app/LangBot/tree/master/plugins/misc/ScheNotify
|
|
version: 0.2.7
|
|
description:
|
|
en_US: Schedule notifications with natural language. LLM can help you set
|
|
reminders at specific times.
|
|
zh_Hans: 使用自然语言计划日程。LLM 可以帮助你在特定时间设置提醒。
|
|
zh_Hant: 定時通知插件,支援設定定時任務,在指定時間發送通知訊息。
|
|
ja_JP: スケジュール通知プラグイン。定期タスクを設定し、指定時刻に通知メッセージを送信します。
|
|
vi_VN: Plugin thông báo theo lịch, hỗ trợ thiết lập tác vụ định kỳ và gửi
|
|
thông báo vào thời gian chỉ định.
|
|
th_TH: ปลั๊กอินแจ้งเตือนตามกำหนดเวลา
|
|
รองรับการตั้งงานตามเวลาและส่งข้อความแจ้งเตือนตามเวลาที่กำหนด
|
|
es_ES: Plugin de notificaciones programadas que permite configurar tareas
|
|
periódicas y enviar mensajes de notificación en horarios específicos.
|
|
label:
|
|
en_US: ScheNotify
|
|
zh_Hans: 日程提醒
|
|
zh_Hant: ScheNotify
|
|
ja_JP: ScheNotify
|
|
vi_VN: ScheNotify
|
|
th_TH: ScheNotify
|
|
es_ES: ScheNotify
|
|
icon: assets/icon.svg
|
|
spec:
|
|
config:
|
|
- name: language
|
|
type: select
|
|
label:
|
|
en_US: Language
|
|
zh_Hans: 语言
|
|
description:
|
|
en_US: Language for notification messages
|
|
zh_Hans: 通知消息的语言
|
|
required: false
|
|
default: zh_Hans
|
|
options:
|
|
- label:
|
|
en_US: English
|
|
zh_Hans: 英语
|
|
name: en_US
|
|
- label:
|
|
en_US: Chinese (Simplified)
|
|
zh_Hans: 简体中文
|
|
name: zh_Hans
|
|
- name: timezone
|
|
type: string
|
|
label:
|
|
en_US: Timezone
|
|
zh_Hans: 时区
|
|
description:
|
|
en_US: 'Timezone used by every tool and command: an IANA name such as
|
|
Asia/Shanghai or America/New_York, UTC, or an offset such as UTC+8.
|
|
Leave empty to use the server''s local timezone.'
|
|
zh_Hans: 所有工具和命令使用的时区:IANA 时区名(如 Asia/Shanghai、America/New_York)、UTC,或
|
|
UTC+8 这样的偏移量。留空则使用服务器本地时区。
|
|
required: false
|
|
default: ''
|
|
components:
|
|
Command:
|
|
fromDirs:
|
|
- path: components/commands/
|
|
Tool:
|
|
fromDirs:
|
|
- path: components/tools/
|
|
execution:
|
|
python:
|
|
path: main.py
|
|
attr: ScheNotify
|
|
sharedRuntime: shared-runtime-v1
|
|
componentModel: stateless-v1
|