JohnXu22786/calendar0

dsh-calendar

CalDAV + iCalendar + RRULE calendar integration bundle for DeepSeek Harness (dsh), with Chinese-bias (lunar calendar / holidays / Asia/Shanghai) and conflict detection.

AI 분석

核心用途是让 Agent 能够读写和管理个人日历日程,支持农历、节假日及冲突检测。适合需要 Agent 协助管理日程、安排会议的个人助理任务。

패키지
dsh-calendar
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 23.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JohnXu22786/calendar

Configuration

Configuration goes through the bundle's Config schema (set in the patch / profile overlay):

- insert:
    - id: calendar
      name: dsh-calendar
      config:
        defaultTimezone: Asia/Shanghai
        serverUrl: https://nextcloud.example.com/remote.php/dav/
        # or calendarUrl: https://nextcloud.example.com/remote.php/dav/calendars/me/personal/
        authMode: basic   # basic | google

or via environment variables / the dsh credential service (see below).

Credentials (never logged)

secretmeaning
CALDAV_URLfull calendar collection URL (Basic)
CALDAV_USERNAME / CALDAV_PASSWORDBasic credentials
GOOGLE_CLIENT_IDGoogle OAuth client id
GOOGLE_CALDAV_REFRESH_TOKENlong-lived refresh token (see below)

Set them in the environment, or store them in the dsh credential service (credentialRef names match the table above, e.g. credentialRef('CALDAV_PASSWORD')), or, for the CLI, in the local .calendar-credentials.json (mode 0600). The resolver checks environment → dsh credential service → local store.

Google OAuth (device flow)

dsh-calendar auth google --device --client-id 

opens a URL to authorize; the refresh token is saved to the secure store. The server-side client refreshes the access token automatically when near expiry.