@1agents/dsh-plugin-todo 0.1.4 → 0.1.6

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/README.md CHANGED
@@ -32,7 +32,7 @@ macOS 的隐私授权按「责任进程」判定,而不是看实际读数据
32
32
  前提:Apple 芯片的 macOS、Node.js 20 或以上、已安装的 DeepSeek Harness。提醒事项和日历只在这台 Mac 上读写。当前发布的原生程序是 arm64,Intel Mac 不能安装。
33
33
 
34
34
  ```sh
35
- dsh plugin --profile web add @1agents/dsh-plugin-todo@0.1.4
35
+ dsh plugin --profile web add @1agents/dsh-plugin-todo@0.1.6
36
36
  ```
37
37
 
38
38
  装完后重启 DSH。左侧栏「历史会话」上方出现「日程」。Host 启动时会把 MCP 登记到 `127.0.0.1:36908`。网关没在跑时,页面仍可用,Agent 搜索不到工具。当前这个对话窗口走的是 desktop profile;要在 `dsh web`(默认 `http://127.0.0.1:3080`)里看到,安装目标是 web profile。
package/dist/client.js CHANGED
@@ -92,6 +92,16 @@ var zh = {
92
92
  emptyDay: "\u8FD9\u4E00\u5929\u6CA1\u6709\u5B89\u6392",
93
93
  today: "\u4ECA\u5929",
94
94
  week: "\u672C\u5468",
95
+ dayView: "\u65E5",
96
+ previousDay: "\u524D\u4E00\u5929",
97
+ nextDay: "\u540E\u4E00\u5929",
98
+ viewMode: "\u89C6\u56FE",
99
+ saving: "\u4FDD\u5B58\u4E2D\u2026",
100
+ cancel: "\u53D6\u6D88",
101
+ now: "\u73B0\u5728",
102
+ allDaySection: "\u5168\u5929",
103
+ timedSection: "\u6709\u65F6\u95F4",
104
+ laterSection: "\u5F53\u5929",
95
105
  prevMonth: "\u4E0A\u4E2A\u6708",
96
106
  nextMonth: "\u4E0B\u4E2A\u6708",
97
107
  untitled: "\u672A\u547D\u540D",
@@ -127,6 +137,16 @@ var en = {
127
137
  emptyDay: "Nothing scheduled",
128
138
  today: "Today",
129
139
  week: "This week",
140
+ dayView: "Day",
141
+ previousDay: "Previous day",
142
+ nextDay: "Next day",
143
+ viewMode: "View",
144
+ saving: "Saving\u2026",
145
+ cancel: "Cancel",
146
+ now: "Now",
147
+ allDaySection: "All day",
148
+ timedSection: "Timed",
149
+ laterSection: "This day",
130
150
  prevMonth: "Previous month",
131
151
  nextMonth: "Next month",
132
152
  untitled: "Untitled",
@@ -279,8 +299,19 @@ function dayBlocks(day, events, reminders) {
279
299
  (due && hasClock(due) ? timed : later).push(block);
280
300
  });
281
301
  timed.sort((left, right) => left.at - right.at || left.id.localeCompare(right.id));
302
+ later.sort((left, right) => left.at - right.at || left.id.localeCompare(right.id));
282
303
  return [...timed, ...later];
283
304
  }
305
+ function splitDay(blocks) {
306
+ const allDay = [];
307
+ const timed = [];
308
+ blocks.forEach((block) => {
309
+ if (block.kind === "event" && block.event.allDay) allDay.push(block);
310
+ else if (block.kind === "reminder" && !hasClock(parseDate(block.reminder.due) ?? /* @__PURE__ */ new Date(0))) allDay.push(block);
311
+ else timed.push(block);
312
+ });
313
+ return { allDay, timed };
314
+ }
284
315
  function visibleRange(year, month) {
285
316
  const days = monthGrid(year, month);
286
317
  const from = days[0];
@@ -369,29 +400,73 @@ function mountSidebarEntry({ label, onOpen }) {
369
400
  button.remove();
370
401
  };
371
402
  }
372
- function AgendaRow({ compact, time, title, source, location, notes, overdue, accent, onComplete, onDelete, t, busy }) {
403
+ function AgendaRow({ compact, time, title, source, location, notes, overdue, accent, checked, onComplete, onDelete, t, busy }) {
404
+ const [expanded, setExpanded] = (0, import_react.useState)(false);
373
405
  const style = accent ? { "--ia-accent": accent } : void 0;
406
+ const titleControl = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-title ia-expand", "aria-expanded": expanded, onClick: () => setExpanded((value) => !value), title: title || t("untitled"), children: title || t("untitled") });
374
407
  if (compact) {
375
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("article", { className: overdue ? "ia-compact is-overdue" : "ia-compact", style, children: [
408
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("article", { className: `ia-compact${overdue ? " is-overdue" : ""}${expanded ? " is-expanded" : ""}`, style, children: [
376
409
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-compact-top", children: [
377
- onComplete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { type: "checkbox", checked: false, "aria-label": t("complete"), disabled: busy, onChange: onComplete }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-time", children: time }),
410
+ onComplete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { type: "checkbox", checked: Boolean(checked), "aria-label": t("complete"), disabled: busy, onChange: onComplete }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-time", children: time }),
378
411
  onComplete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-time", children: time }) : null,
379
- onDelete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-delete", disabled: busy, onClick: onDelete, children: t("remove") }) : null
412
+ onDelete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-icon-btn ia-delete", "aria-label": t("remove"), disabled: busy, onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TrashIcon, {}) }) : null
380
413
  ] }),
381
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { className: "ia-title", children: title || t("untitled") }),
414
+ titleControl,
415
+ expanded && notes ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-detail", children: notes }) : null,
416
+ expanded && location ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-location", children: location }) : null,
382
417
  source ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-source", children: source }) : null
383
418
  ] });
384
419
  }
385
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("article", { className: overdue ? "ia-row is-overdue" : "ia-row", style, children: [
386
- onComplete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { type: "checkbox", checked: false, "aria-label": t("complete"), disabled: busy, onChange: onComplete }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-check-spacer" }),
420
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("article", { className: `ia-row${overdue ? " is-overdue" : ""}${expanded ? " is-expanded" : ""}`, style, children: [
421
+ onComplete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { type: "checkbox", checked: Boolean(checked), "aria-label": t("complete"), disabled: busy, onChange: onComplete }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-check-spacer" }),
387
422
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-time", children: time }),
388
423
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "ia-main", children: [
389
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { className: "ia-title", children: title || t("untitled") }),
390
- notes ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-detail", children: notes }) : null
424
+ titleControl,
425
+ expanded && notes ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-detail", children: notes }) : null
391
426
  ] }),
392
427
  source ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-source", children: source }) : null,
393
- location ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-location", children: location }) : null,
394
- onDelete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-delete", disabled: busy, onClick: onDelete, children: t("remove") }) : null
428
+ expanded && location ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-location", children: location }) : null,
429
+ onDelete ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-icon-btn ia-delete", "aria-label": t("remove"), disabled: busy, onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TrashIcon, {}) }) : null
430
+ ] });
431
+ }
432
+ function TrashIcon() {
433
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", width: "14", height: "14", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4 7h16M9 7V5h6v2M8 7l1 12h6l1-12", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round" }) });
434
+ }
435
+ function Chevron({ direction }) {
436
+ const path = direction === "left" ? "M14 6l-6 6 6 6" : "M10 6l6 6-6 6";
437
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", width: "16", height: "16", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: path, fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }) });
438
+ }
439
+ function DayTimeline({ day, blocks, overdueIds, listColors, calendarColors, t, busy, onComplete, onDelete }) {
440
+ const { allDay, timed } = splitDay(blocks);
441
+ const groups = [];
442
+ timed.forEach((block) => {
443
+ const date = parseDate(block.kind === "event" ? block.event.start : block.reminder.due);
444
+ const label = date && sameDay(date, day) ? clock(date) : t("continues");
445
+ const previous = groups[groups.length - 1];
446
+ if (previous && block.at - previous.at < 45 * 6e4) {
447
+ previous.items.push(block);
448
+ return;
449
+ }
450
+ groups.push({ at: block.at, label, items: [block] });
451
+ });
452
+ const renderBlocks = (items) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AgendaBlocks, { blocks: items, overdueIds, listColors, calendarColors, t, busy, onComplete, onDelete });
453
+ const now = /* @__PURE__ */ new Date();
454
+ let nowGroup = -1;
455
+ if (sameDay(day, now)) {
456
+ nowGroup = groups.findIndex((group, index) => group.at <= now.getTime() && (groups[index + 1]?.at ?? Infinity) > now.getTime());
457
+ }
458
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-timeline", children: [
459
+ allDay.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-time-group", children: [
460
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-time-label", children: t("allDay") }),
461
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-time-items", children: renderBlocks(allDay) })
462
+ ] }),
463
+ groups.map((group, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
464
+ index === nowGroup && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-now-line", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: t("now") }) }),
465
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-time-group", children: [
466
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "ia-time-label", children: group.label }),
467
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-time-items", children: renderBlocks(group.items) })
468
+ ] })
469
+ ] }, `${group.at}:${group.label}`))
395
470
  ] });
396
471
  }
397
472
  function AgendaBlocks({ blocks, overdueIds, listColors, calendarColors, t, busy, onComplete, onDelete, compact }) {
@@ -405,8 +480,8 @@ function AgendaBlocks({ blocks, overdueIds, listColors, calendarColors, t, busy,
405
480
  time: eventTimeLabel(event, day, t),
406
481
  title: event.title,
407
482
  source: event.calendar,
408
- location: compact ? "" : event.location,
409
- notes: compact ? "" : event.notes,
483
+ location: event.location,
484
+ notes: event.notes,
410
485
  accent: calendarColors.get(event.calendarId) || "",
411
486
  onDelete: () => onDelete("deleteEvent", event.id),
412
487
  t,
@@ -423,7 +498,8 @@ function AgendaBlocks({ blocks, overdueIds, listColors, calendarColors, t, busy,
423
498
  time: reminderTimeLabel(reminder),
424
499
  title: reminder.title,
425
500
  source: reminder.list,
426
- notes: compact ? "" : reminder.notes,
501
+ notes: reminder.notes,
502
+ checked: reminder.completed,
427
503
  overdue: overdueIds.has(reminder.id),
428
504
  accent: listColors.get(reminder.listId) || "",
429
505
  onComplete: () => onComplete(reminder.id),
@@ -514,6 +590,8 @@ function AgendaPage({ t, agenda }) {
514
590
  const [eventTitle, setEventTitle] = (0, import_react.useState)("");
515
591
  const [eventStart, setEventStart] = (0, import_react.useState)("");
516
592
  const [eventEnd, setEventEnd] = (0, import_react.useState)("");
593
+ const [overdueOpen, setOverdueOpen] = (0, import_react.useState)(false);
594
+ const [undatedOpen, setUndatedOpen] = (0, import_react.useState)(false);
517
595
  const requestRef = (0, import_react.useRef)(0);
518
596
  const overdueRef = (0, import_react.useRef)(null);
519
597
  const undatedRef = (0, import_react.useRef)(null);
@@ -605,8 +683,15 @@ function AgendaPage({ t, agenda }) {
605
683
  setError(result.error?.message || t("unavailable"));
606
684
  return;
607
685
  }
686
+ const active = document.activeElement;
687
+ const row = active && active.closest ? active.closest(".ia-row, .ia-compact") : null;
688
+ const group = row && row.closest ? row.closest(".ia-group") : null;
608
689
  clear();
609
690
  setRevision((value) => value + 1);
691
+ requestAnimationFrame(() => {
692
+ const toggle = group && group.querySelector(".ia-group-toggle");
693
+ if (toggle) toggle.focus();
694
+ });
610
695
  }
611
696
  function openEvent() {
612
697
  if (!eventStart || !eventEnd) {
@@ -677,9 +762,9 @@ function AgendaPage({ t, agenda }) {
677
762
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-body", children: [
678
763
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("aside", { className: "ia-side", children: [
679
764
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-month", children: [
680
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", "aria-label": t("prevMonth"), onClick: () => shiftMonth(-1), children: "\u2039" }),
765
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-icon-btn", "aria-label": t("prevMonth"), onClick: () => shiftMonth(-1), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chevron, { direction: "left" }) }),
681
766
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: monthHeading(month.year, month.month) }),
682
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", "aria-label": t("nextMonth"), onClick: () => shiftMonth(1), children: "\u203A" })
767
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-icon-btn", "aria-label": t("nextMonth"), onClick: () => shiftMonth(1), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chevron, { direction: "right" }) })
683
768
  ] }),
684
769
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-weekdays", "aria-hidden": "true", children: Array.from({ length: 7 }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: weekdayNarrow(index) }, index)) }),
685
770
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-cal", children: range.days.map((day) => {
@@ -727,12 +812,16 @@ function AgendaPage({ t, agenda }) {
727
812
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-board", children: [
728
813
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-board-scroll", children: [
729
814
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", { className: "ia-board-head", children: [
730
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { children: mode === "week" ? weekLabel : dayHeading(cursor) }),
731
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-modes", role: "group", children: [
732
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", "aria-pressed": mode === "day" && sameDay(cursor, today), onClick: () => {
733
- setMode("day");
734
- selectDay(today);
735
- }, children: t("today") }),
815
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-title-block", children: [
816
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { children: mode === "week" ? weekLabel : dayHeading(cursor) }),
817
+ mode === "day" && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-day-nav", children: [
818
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-icon-btn", "aria-label": t("previousDay"), onClick: () => selectDay(addDays(cursor, -1)), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chevron, { direction: "left" }) }),
819
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-icon-btn", "aria-label": t("nextDay"), onClick: () => selectDay(addDays(cursor, 1)), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chevron, { direction: "right" }) })
820
+ ] }),
821
+ !sameDay(cursor, today) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-today", onClick: () => selectDay(today), children: t("today") })
822
+ ] }),
823
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ia-modes", role: "group", "aria-label": t("viewMode"), children: [
824
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", "aria-pressed": mode === "day", onClick: () => setMode("day"), children: t("dayView") }),
736
825
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", "aria-pressed": mode === "week", onClick: () => setMode("week"), children: t("week") })
737
826
  ] }),
738
827
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "ia-refresh", onClick: () => setRevision((value) => value + 1), disabled: busy, children: t("refresh") })
@@ -752,31 +841,52 @@ function AgendaPage({ t, agenda }) {
752
841
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", onClick: authorize, disabled: busy, children: accessBlocked(auth.reminders) || accessBlocked(auth.events) ? t("openSettings") : t("authorize") })
753
842
  ] }),
754
843
  error && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "ios-agenda-error", role: "alert", children: error }),
844
+ busy && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "ios-agenda-muted", role: "status", children: t("saving") }),
755
845
  !ready && !error && !auth && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "ios-agenda-muted", children: t("loading") }),
756
- ready && !auth && mode === "day" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("section", { className: "ia-day-list", children: dayList.length ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AgendaBlocks, { blocks: dayList, overdueIds, listColors, calendarColors, t, busy, onComplete: (id) => submit("completeReminder", { id, completed: true }, () => {
757
- }), onDelete: (method, id) => submit(method, { id }, () => {
758
- }) }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "ios-agenda-muted", children: t("emptyDay") }) }),
846
+ ready && !auth && mode === "day" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("section", { className: "ia-day-list", children: dayList.length ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
847
+ DayTimeline,
848
+ {
849
+ day: cursor,
850
+ blocks: dayList,
851
+ overdueIds,
852
+ listColors,
853
+ calendarColors,
854
+ t,
855
+ busy,
856
+ onComplete: (id) => submit("completeReminder", { id, completed: true }, () => {
857
+ }),
858
+ onDelete: (method, id) => submit(method, { id }, () => {
859
+ })
860
+ }
861
+ ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "ios-agenda-empty", children: t("emptyDay") }) }),
759
862
  ready && !auth && mode === "week" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-week-scroll", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-week", children: weekDays.map((day) => {
760
- const blocks = dayBlocks(day, events, reminders);
863
+ const { allDay, timed } = splitDay(dayBlocks(day, events, reminders));
864
+ const renderItems = (items) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AgendaBlocks, { compact: true, blocks: items, overdueIds, listColors, calendarColors, t, busy, onComplete: (id) => submit("completeReminder", { id, completed: true }, () => {
865
+ }), onDelete: (method, id) => submit(method, { id }, () => {
866
+ }) });
761
867
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: sameDay(day, cursor) ? "ia-week-col is-selected" : "ia-week-col", children: [
762
868
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { type: "button", className: sameDay(day, today) ? "ia-week-head is-today" : "ia-week-head", onClick: () => selectDay(day), children: [
763
869
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: weekdayShort(day) }),
764
870
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: day.getDate() })
765
871
  ] }),
766
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AgendaBlocks, { compact: true, blocks, overdueIds, listColors, calendarColors, t, busy, onComplete: (id) => submit("completeReminder", { id, completed: true }, () => {
767
- }), onDelete: (method, id) => submit(method, { id }, () => {
768
- }) })
872
+ allDay.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-allday", children: renderItems(allDay) }),
873
+ timed.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "ia-week-list", children: renderItems(timed) })
769
874
  ] }, dayKey(day));
770
875
  }) }) }),
771
876
  ready && !auth && overdueItems.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: "ia-group", ref: overdueRef, children: [
772
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: t("overdue") }),
773
- overdueItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
877
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { type: "button", className: "ia-group-toggle", "aria-expanded": overdueOpen, onClick: () => setOverdueOpen((value) => !value), children: [
878
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: t("overdue") }),
879
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: overdueItems.length }),
880
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chevron, { direction: overdueOpen ? "left" : "right" })
881
+ ] }),
882
+ overdueOpen && overdueItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
774
883
  AgendaRow,
775
884
  {
776
885
  time: overdueTimeLabel(item),
777
886
  title: item.title,
778
887
  source: item.list,
779
888
  notes: item.notes,
889
+ checked: item.completed,
780
890
  overdue: true,
781
891
  accent: listColors.get(item.listId) || "",
782
892
  onComplete: () => submit("completeReminder", { id: item.id, completed: true }, () => {
@@ -790,14 +900,19 @@ function AgendaPage({ t, agenda }) {
790
900
  ))
791
901
  ] }),
792
902
  ready && !auth && undatedItems.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: "ia-group", ref: undatedRef, children: [
793
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: t("undated") }),
794
- undatedItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
903
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { type: "button", className: "ia-group-toggle", "aria-expanded": undatedOpen, onClick: () => setUndatedOpen((value) => !value), children: [
904
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: t("undated") }),
905
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: undatedItems.length }),
906
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chevron, { direction: undatedOpen ? "left" : "right" })
907
+ ] }),
908
+ undatedOpen && undatedItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
795
909
  AgendaRow,
796
910
  {
797
911
  time: "",
798
912
  title: item.title,
799
913
  source: item.list,
800
914
  notes: item.notes,
915
+ checked: item.completed,
801
916
  accent: listColors.get(item.listId) || "",
802
917
  onComplete: () => submit("completeReminder", { id: item.id, completed: true }, () => {
803
918
  }),
@@ -813,7 +928,9 @@ function AgendaPage({ t, agenda }) {
813
928
  !auth && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("form", { className: "ia-composer", onSubmit: (event) => {
814
929
  event.preventDefault();
815
930
  if (!reminderTitle.trim()) return;
816
- submit("createReminder", { title: reminderTitle.trim() }, () => setReminderTitle(""));
931
+ const due = new Date(cursor);
932
+ due.setHours(9, 0, 0, 0);
933
+ submit("createReminder", { title: reminderTitle.trim(), due: due.toISOString() }, () => setReminderTitle(""));
817
934
  }, children: [
818
935
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { "aria-label": t("titleField"), value: reminderTitle, placeholder: t("newReminder"), onChange: (event) => setReminderTitle(event.target.value) }),
819
936
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "submit", disabled: busy || !reminderTitle.trim(), children: t("add") }),
@@ -836,7 +953,13 @@ function AgendaPage({ t, agenda }) {
836
953
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { "aria-label": t("titleField"), value: eventTitle, placeholder: t("newEvent"), onChange: (event) => setEventTitle(event.target.value) }),
837
954
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { "aria-label": t("start"), type: "datetime-local", value: eventStart, onChange: (event) => setEventStart(event.target.value) }),
838
955
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { "aria-label": t("end"), type: "datetime-local", value: eventEnd, onChange: (event) => setEventEnd(event.target.value) }),
839
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "submit", disabled: busy || !eventTitle.trim() || !eventStart || !eventEnd, children: t("add") })
956
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "submit", disabled: busy || !eventTitle.trim() || !eventStart || !eventEnd, children: t("add") }),
957
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", onClick: () => {
958
+ setEventOpen(false);
959
+ setEventTitle("");
960
+ setEventStart("");
961
+ setEventEnd("");
962
+ }, children: t("cancel") })
840
963
  ] })
841
964
  ] })
842
965
  ] })
@@ -850,17 +973,20 @@ var css = `
850
973
  .ia-side { min-height: 0; overflow: auto; padding: 16px 16px 20px; border-right: 1px solid var(--dsw-alias-border-default); }
851
974
  .ia-month { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
852
975
  .ia-month strong { font-size: 15px; font-weight: 600; }
853
- .ia-month button, .ia-refresh, .ia-composer button, .ia-event-form button { border: 1px solid var(--dsw-alias-border-default); background: var(--dsw-alias-bg-layer-1); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
854
- .ia-month button { width: 32px; height: 32px; padding: 0; border: none; background: transparent; }
855
- .ia-month button:hover { background: var(--dsw-alias-interactive-bg-hover); }
976
+ .ia-month button, .ia-refresh, .ia-composer button, .ia-event-form button, .ia-today { border: 1px solid var(--dsw-alias-border-default); background: var(--dsw-alias-bg-layer-1); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
977
+ .ia-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: none; background: transparent; border-radius: 8px; cursor: pointer; color: var(--dsw-alias-label-secondary); }
978
+ .ia-month .ia-icon-btn:hover, .ia-icon-btn:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); }
856
979
  .ia-composer button[type="submit"], .ia-event-form button[type="submit"] { border-color: transparent; background: var(--dsw-alias-state-business-primary); color: var(--dsw-alias-bg-base); }
857
980
  .ia-weekdays, .ia-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
858
981
  .ia-weekdays { margin-bottom: 4px; color: var(--dsw-alias-label-secondary); font-size: 12px; text-align: center; }
859
982
  .ia-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; aspect-ratio: 1; border: none; border-radius: 8px; background: transparent; cursor: pointer; padding: 0; }
860
983
  .ia-day:hover { background: var(--dsw-alias-interactive-bg-hover); }
861
984
  .ia-day.is-outside { color: var(--dsw-alias-label-secondary); opacity: 0.45; }
862
- .ia-day.is-today > span:first-child { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--dsw-alias-state-business-primary); color: var(--dsw-alias-bg-base); font-weight: 600; }
863
- .ia-day.is-selected { background: var(--dsw-alias-bg-layer-1); box-shadow: inset 0 0 0 1.5px var(--dsw-alias-state-business-primary); color: var(--dsw-alias-label-primary); opacity: 1; }
985
+ .ia-day.is-today:not(.is-selected) > span:first-child { box-shadow: inset 0 0 0 1.5px var(--dsw-alias-state-business-primary); }
986
+ .ia-day.is-selected { color: var(--dsw-alias-label-primary); opacity: 1; }
987
+ .ia-day.is-selected > span:first-child,
988
+ .ia-day.is-today > span:first-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 600; }
989
+ .ia-day.is-selected > span:first-child { background: var(--dsw-alias-state-business-primary); color: var(--dsw-alias-bg-base); }
864
990
  .ia-day:focus-visible, .ia-week-head:focus-visible, .ia-modes button:focus-visible, .ia-filter-row:focus-visible { outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary)); outline-offset: -2px; }
865
991
  .ia-dots { display: flex; gap: 3px; height: 5px; }
866
992
  .ia-dot { width: 5px; height: 5px; border-radius: 50%; }
@@ -881,13 +1007,15 @@ var css = `
881
1007
  .ia-swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ia-swatch, var(--dsw-alias-label-secondary)); }
882
1008
  .ia-board { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
883
1009
  .ia-board-scroll { flex: 1; min-height: 0; overflow: auto; padding: 16px 24px 8px; }
884
- .ia-board-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 10px; background: var(--dsw-alias-bg-base); }
885
- .ia-board-head h1 { margin: 0; flex: 1; min-width: 0; font-size: 22px; font-weight: 600; }
1010
+ .ia-board-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--dsw-alias-border-default); background: var(--dsw-alias-bg-base); }
1011
+ .ia-title-block { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
1012
+ .ia-board-head h1 { margin: 0; min-width: 0; font-size: 22px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1013
+ .ia-today { flex: none; color: var(--dsw-alias-state-business-primary); border-color: transparent; background: var(--dsw-alias-bg-layer-1); }
886
1014
  .ia-modes { display: flex; gap: 2px; padding: 2px; border-radius: 10px; background: var(--dsw-alias-bg-layer-1); }
887
1015
  .ia-modes button { padding: 6px 10px; color: var(--dsw-alias-label-secondary); }
888
1016
  .ia-modes button[aria-pressed="true"] { background: var(--dsw-alias-bg-base); color: var(--dsw-alias-label-primary); box-shadow: inset 0 0 0 1px var(--dsw-alias-border-default); }
889
1017
  .ia-row, .ia-compact { box-shadow: inset 3px 0 0 var(--ia-accent, transparent); }
890
- .ia-row { display: grid; grid-template-columns: 16px 9.5rem minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; }
1018
+ .ia-row { display: grid; grid-template-columns: 16px 7.5rem minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 10px; border-radius: 6px; border: 1px solid var(--dsw-alias-border-default); background: var(--dsw-alias-bg-layer-1); }
891
1019
  .ia-row:hover { background: var(--dsw-alias-interactive-bg-hover); }
892
1020
  .ia-check-spacer { width: 16px; height: 16px; }
893
1021
  .ia-time { font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); white-space: nowrap; }
@@ -896,28 +1024,68 @@ var css = `
896
1024
  .ia-source, .ia-location, .ia-detail, .ios-agenda-muted { color: var(--dsw-alias-label-secondary); }
897
1025
  .ia-source, .ia-location { white-space: nowrap; font-size: 13px; }
898
1026
  .ia-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 400; }
899
- .ia-delete { opacity: 0; border: none; background: transparent; color: var(--dsw-alias-label-secondary); cursor: pointer; padding: 4px 6px; }
1027
+ .ia-delete { opacity: 0; width: 28px; height: 28px; color: var(--dsw-alias-label-secondary); }
900
1028
  .ia-row:hover .ia-delete, .ia-compact:hover .ia-delete, .ia-delete:focus-visible { opacity: 1; }
1029
+ .ia-delete:hover { color: var(--ia-danger); }
901
1030
  .is-overdue .ia-time { color: var(--ia-danger); }
902
- .ia-group { margin-top: 22px; scroll-margin-top: 64px; }
903
- .ia-group h2 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--dsw-alias-label-secondary); }
1031
+ .ia-day-list { min-height: 100px; }
1032
+ .ia-day-nav { display: flex; flex: none; gap: 2px; }
1033
+ .ia-time-group { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 6px 0; }
1034
+ .ia-time-label { padding-top: 14px; font-size: 12px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }
1035
+ .ia-time-items { display: grid; gap: 8px; min-width: 0; padding-left: 14px; border-left: 1px solid var(--dsw-alias-border-default); }
1036
+ .ia-now-line { display: flex; align-items: center; gap: 8px; padding: 6px 0 2px 14px; }
1037
+ .ia-now-line::before { content: ''; flex: 1; border-top: 1px solid var(--ia-danger); }
1038
+ .ia-now-line span { font-size: 11px; color: var(--ia-danger); white-space: nowrap; }
1039
+ .ia-time-items .ia-row { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px 12px; background: var(--dsw-alias-bg-layer-1); border: 1px solid var(--dsw-alias-border-default); border-radius: 8px; }
1040
+ .ia-time-items .ia-row > input, .ia-time-items .ia-check-spacer { grid-column: 1; grid-row: 1; }
1041
+ .ia-time-items .ia-row > .ia-time { grid-column: 2; grid-row: 1; }
1042
+ .ia-time-items .ia-row > .ia-main { grid-column: 2; grid-row: 2; }
1043
+ .ia-time-items .ia-row > .ia-source, .ia-time-items .ia-row > .ia-location { grid-column: 2; max-width: 100%; }
1044
+ .ia-time-items .ia-row > .ia-delete { grid-column: 3; grid-row: 1; }
1045
+ .ia-time-items .ia-title { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
1046
+ .ios-agenda-empty { margin: 48px 0; text-align: center; color: var(--dsw-alias-label-secondary); }
1047
+ .ia-timeline { position: relative; }
1048
+ .ia-allday { display: grid; gap: 8px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--dsw-alias-border-default); }
1049
+ .ia-week-list { display: grid; gap: 8px; min-width: 0; }
1050
+ .ia-group { margin-top: 18px; padding-top: 14px; scroll-margin-top: 64px; border-top: 1px solid var(--dsw-alias-border-default); }
1051
+ .ia-group-toggle { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 10px; padding: 4px 2px; border: none; background: transparent; border-radius: 6px; cursor: pointer; color: var(--dsw-alias-label-secondary); font-size: 13px; font-weight: 600; text-align: left; }
1052
+ .ia-group-toggle:hover { background: var(--dsw-alias-interactive-bg-hover); }
1053
+ .ia-group-toggle strong { font-variant-numeric: tabular-nums; }
1054
+ .ia-group-toggle svg { flex: none; }
904
1055
  .ia-week-scroll { overflow-x: auto; }
905
- .ia-week { display: grid; grid-template-columns: repeat(7, minmax(160px, 1fr)); gap: 8px; min-width: 100%; }
906
- .ia-week-col { min-width: 0; padding: 8px; border-radius: 10px; background: var(--dsw-alias-bg-layer-1); }
907
- .ia-week-col.is-selected { box-shadow: inset 0 0 0 1.5px var(--dsw-alias-state-business-primary); }
908
- .ia-week-head { display: flex; justify-content: space-between; width: 100%; margin-bottom: 8px; border: none; background: transparent; cursor: pointer; padding: 2px 2px 6px; color: var(--dsw-alias-label-secondary); }
909
- .ia-week-head strong { color: var(--dsw-alias-label-primary); }
910
- .ia-week-head.is-today strong { color: var(--dsw-alias-state-business-primary); }
911
- .ia-compact { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 6px 4px; border-radius: 8px; }
912
- .ia-compact:hover { background: var(--dsw-alias-interactive-bg-hover); }
1056
+ .ia-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; width: 100%; }
1057
+ .ia-week-col { min-width: 0; padding: 4px; border-radius: 8px; background: transparent; }
1058
+ .ia-week-col.is-selected { background: var(--dsw-alias-interactive-bg-hover); }
1059
+ .ia-week-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 4px 2px 8px; border: none; border-bottom: 1px solid var(--dsw-alias-border-default); background: transparent; cursor: pointer; color: var(--dsw-alias-label-secondary); }
1060
+ .ia-week-head strong { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--dsw-alias-label-primary); }
1061
+ .ia-week-head.is-today strong { background: var(--dsw-alias-state-business-primary); color: var(--dsw-alias-bg-base); }
1062
+ .ia-compact { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; padding: 8px; border: 1px solid var(--dsw-alias-border-default); border-left: 3px solid var(--ia-accent, var(--dsw-alias-border-default)); border-radius: 6px; background: var(--dsw-alias-bg-layer-1); }
1063
+ .ia-compact:hover { background: var(--dsw-alias-bg-layer-1); }
913
1064
  .ia-compact-top { display: flex; align-items: center; gap: 6px; min-height: 18px; }
914
- .ia-compact .ia-title, .ia-compact .ia-source { display: block; }
915
- .ia-compact .ia-source { font-size: 12px; }
916
- .ia-compact .ia-delete { position: absolute; top: 2px; right: 0; }
917
- .ia-composer, .ia-event-form { display: flex; gap: 8px; align-items: center; padding: 10px 24px; }
918
- .ia-composer { border-top: 1px solid var(--dsw-alias-border-default); }
919
- .ia-event-form { padding-top: 0; padding-bottom: 14px; }
920
- .ia-composer input, .ia-event-form input { flex: 1; min-width: 0; border: 1px solid var(--dsw-alias-border-default); background: var(--dsw-alias-bg-layer-1); border-radius: 8px; padding: 8px 10px; }
1065
+ .ia-compact .ia-source { display: block; font-size: 12px; }
1066
+ .ia-compact .ia-delete { margin-left: auto; flex: none; }
1067
+ .ia-board { container-type: inline-size; }
1068
+ .ios-agenda .ia-expand { padding: 0; border: none; background: transparent; text-align: left; cursor: pointer; color: inherit; font-weight: 600; }
1069
+ .ia-expand:hover { text-decoration: underline; text-underline-offset: 3px; }
1070
+ .ia-row.is-expanded .ia-title, .ia-row.is-expanded .ia-detail, .ia-compact.is-expanded .ia-title, .ia-compact.is-expanded .ia-detail, .ia-compact.is-expanded .ia-location { white-space: pre-wrap; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
1071
+ .ia-row .ia-source { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
1072
+ .ia-row .ia-time { font-size: 13px; }
1073
+ .ia-row:focus-within .ia-delete, .ia-compact:focus-within .ia-delete { opacity: 1; }
1074
+ @container (max-width: 700px) {
1075
+ .ia-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
1076
+ .ia-week-col:last-child { grid-column: 1 / -1; }
1077
+ .ia-row { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px; }
1078
+ .ia-row > .ia-time { grid-column: 2; grid-row: 1; }
1079
+ .ia-row > .ia-main { grid-column: 2; grid-row: 2; }
1080
+ .ia-row > .ia-source, .ia-row > .ia-location { grid-column: 2; }
1081
+ .ia-row > .ia-delete { grid-column: 3; grid-row: 1; }
1082
+ }
1083
+ @media (hover: none) { .ia-delete { opacity: 1; } }
1084
+ .ia-composer, .ia-event-form { display: flex; gap: 8px; align-items: center; padding: 10px 24px 12px; }
1085
+ .ia-composer { border-top: 1px solid var(--dsw-alias-border-default); background: var(--dsw-alias-bg-base); }
1086
+ .ia-event-form { flex-wrap: wrap; padding-top: 0; }
1087
+ .ia-composer input, .ia-event-form input { flex: 1; min-width: 140px; border: 1px solid var(--dsw-alias-border-default); background: var(--dsw-alias-bg-layer-1); border-radius: 8px; padding: 8px 10px; }
1088
+ .ia-composer input:focus, .ia-event-form input:focus { outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary)); outline-offset: -1px; }
921
1089
  .ia-auth { max-width: 440px; margin: 12px 0 20px; padding: 16px; border: 1px solid var(--dsw-alias-border-default); border-radius: 12px; background: var(--dsw-alias-bg-layer-1); }
922
1090
  .ia-auth h2 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
923
1091
  .ia-auth p, .ia-auth-hint { margin: 0 0 12px; color: var(--dsw-alias-label-secondary); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1agents/dsh-plugin-todo",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "管理本机已同步的系统提醒事项和日历。页面在 DSH,工具在 dreammate-node MCP。",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -107,7 +107,7 @@ dreammate-node cli invoke --agent http://127.0.0.1:36908 --service mcp-ios-agend
107
107
  ## 6. 安装与升级
108
108
 
109
109
  ```sh
110
- dsh plugin --profile web add @1agents/dsh-plugin-todo@0.1.4
110
+ dsh plugin --profile web add @1agents/dsh-plugin-todo@0.1.6
111
111
  ```
112
112
 
113
113
  装完重启 DSH,侧栏出现「日程」。本技能会由插件安装时自动放到 `~/.dsh/skills/ios-agenda/`;如果没生效,从包目录手动复制一次即可。