Shuttle bus
pkuinfo/pku-harness-plugins/plugins/shuttle
Timetables for the Yanyuan–Xinyanyuan (Changping) commuter shuttle and the Xinyanyuan–Bei’anhe metro express bus, with the next departure worked out for you.
What the plugin can access
A plugin can only do what it declares here. The app shows you this same list before you install the plugin. If an update needs more access, the app asks you again.
- Campus serviceswith your sign-in
None
- Other websites
None
- App features
None
- Tools
- Next shuttleshuttle.nextNext shuttle between Yanyuan and the new campusRead
- Shuttle timetableshuttle.timetableThe full shuttle timetableRead
- Screens and commands
- Dashboard widgets: next
- /shuttle 下一班校车
System capabilities
This plugin needs no extra capabilities. It does not use the network, send notifications or run in the background.
Cloud data
Does not use PKU harness Cloud.
Checks
- Maintained by pkuinfo. The source code is in the official plugins repository.
Instructions for the AI
The body text of PLUGIN.md. It is sent to the model together with the plugin.
校车(静态时刻表,来自学校公布的图片/通知,附来源和日期):
- shuttle__next:下一班车。用户说"去昌平/新校区的车""回本部"时换算成 from/to(燕园/本部, 新燕园/昌平, 200号, 肖家河, 西二旗, 阳坊, 北安河(地铁))。周六日自动用周末表;法定节假日、寒暑假要传 dayType "holiday"(拿不准时可先用 calendar__officialCalendar 查节假日)。
- shuttle__timetable:整张时刻表、上车地点、预约规则和数据来源。
- 通勤班车免费但必须提前在校内门户「办事大厅 → 新校区班车预约」预约、登车扫码签到;北安河快速公交是公交公司运营、收费、无需预约。
- 时刻表是 2022-09-16 发布的版本,回答时说明"以预约系统为准";用户要提醒时可以用提醒工具在发车前提醒。
Manifest
The frontmatter of PLUGIN.md, exactly as written. Source: plugins/shuttle/PLUGIN.md. Field reference
spec: 1
id: shuttle
name: 校车
description: 燕园—新燕园(昌平)通勤班车和新燕园—地铁北安河快速公交时刻表,算出下一班车。
version: 0.2.0
author: pkuinfo
icon: bus
homepage: https://github.com/pkuinfo/pku-harness-plugins/tree/main/plugins/shuttle
# No network, campus or abilities: the timetables are static data inside the tools (PKU publishes
# them only as an image / notice text; source URL and date are in each line's `source`).
shared: shared.yaml
tools:
next: tools/next.yaml
timetable: tools/timetable.yaml
widgets:
next: widgets/next.json
dataSources:
next: { title: 下一班校车, tool: next, args: { count: 2 }, ttl: 1m }
commands:
# Was answered on the phone without the model (quickAnswer); a document command is a prompt, so
# the agent answers with shuttle__next.
shuttle: { description: 下一班校车, aliases: [校车, 班车], argHint: 如 燕园到新燕园, prompt: '查一下下一班校车{{input}}' }
i18n:
en:
name: Shuttle bus
description: Timetables for the Yanyuan–Xinyanyuan (Changping) commuter shuttle and the Xinyanyuan–Bei’anhe metro express bus, with the next departure worked out for you.
tools: { next: { title: Next shuttle, summary: Next shuttle between Yanyuan and the new campus }, timetable: { title: Shuttle timetable, summary: The full shuttle timetable } }
widgets: { next: { title: Next shuttle, description: 'The next Yanyuan ⇄ Xinyanyuan commuter shuttles both ways with a countdown, refreshed every minute from the built-in timetable (no network needed).' } }
commands: { shuttle: { description: Next shuttle, argHint: e.g. Yanyuan to Xinyanyuan, aliases: [bus], prompt: 'When is the next shuttle{{input}}' } }
dataSources: { next: { title: Next shuttle } }{
"id": "shuttle",
"name": "校车",
"description": "燕园—新燕园通勤班车和快速公交时刻表,算出下一班车。",
"author": "pkuinfo",
"kind": "builtin",
"auth": "none",
"icon": "bus",
"requires": [],
"tags": [
"campus",
"transport"
],
"version": "0.2.0",
"i18n": {
"en": {
"name": "Shuttle bus",
"description": "Timetables for the Yanyuan–Xinyanyuan (Changping) commuter shuttle and the Xinyanyuan–Bei’anhe metro express bus, with the next departure worked out for you."
}
}
}Other plugins in this repository
pkuinfo/pku-harness-pluginsGenerative UIOfficial
ui
Lets the AI build native UI in the chat: forms, pickers and data cards.
No campus sign-in
DashboardOfficial
dashboard
A dashboard the AI builds for you and you can change any time.
No campus sign-in
Reminders and scheduled tasksOfficial
scheduler
On-time local reminders, plus scheduled checks on your data (like a balance) that notify you when a condition is met.
No campus sign-in
To-dosOfficial
todo
To-dos with due dates, on-time reminders, an important flag and repeats, plus a dashboard widget.
No campus sign-in
TimetableOfficial
timetable
Your class timetable, today’s classes and class reminders.
No campus sign-in
Official timetableOfficial
course-sync
Syncs this semester’s timetable from the university into Schedule.
Uses your campus sign-in forTreehole