Repository navigation
feat(plugins): reading-list にキー 1 つの取り込み、night-post-guard に朝の予約投稿を追加 - #88
Merged
Merged
Conversation
NoteDeck 1.85.x で増えた capability を使う 2 件の更新。 - reading-list 1.1.0: コマンド「フォーカス中のノートを追加」(column.focusedNote) と 「クリップボードのノート URL を追加」(clipboard.read → Mk:api ap/show で リモートのノートも自分のサーバー上の noteId に解決) を Nd:register_command で 登録する。1.85.2 からプラグインのコマンドにキーバインド (アプリ内 / OS グローバル) が届く (notedeck#1243) ので、キーバインド設定の「プラグイン」節で 割り当てると 1 キーで溜められる。クリップ解決とアカウント指定は ノートメニューと共通化し、clips.* に accountId を明示する - night-post-guard 1.1.0: 投稿フォームのメニューに「朝 N:00 に予約投稿」を足す。 本文と CW を drafts.create の scheduledAt + isActuallyScheduled (1.85.0、 notedeck#1247。サーバーは Misskey 2025.10+) で次の朝の予約投稿にし、確認を 通ったらフォームを空にする。interruptor は同期実行で Nd:call を呼べず 投稿も止められないため post_form_action 方式にした。公開範囲はフォームから 取れないので設定 scheduleVisibility に従う Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
misstore | cd71594 | Oct 17 2026, 12:33 PM |
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 14
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
なぜ
NoteDeck 1.85.0 / 1.85.2 で閉じた notedeck 側 issue のうち、misstore がまだ使っていなかった capability を配布物に反映する。
Nd:register_commandのコマンドにキーバインド (アプリ内 / OS グローバル) が届くようになったdrafts.createにscheduledAt+isActuallyScheduledが入った変更
reading-list 1.1.0
column.focusedNoteで今のノートをそのアカウントの「後で読む」クリップへclipboard.readのテキストがhttps://<host>/notes/<id>ならMk:api("ap/show")で (リモートでも) 自分のサーバー上のノートに解決して追加。OS グローバルショートカットに割り当てると NoteDeck が背面でも動くclips.*に accountId を明示)notes.read/clipboard/account.read、minNoteDeckVersion 1.85.2night-post-guard 1.1.0
morningHour既定 8、scheduleVisibility既定 public)。本文と CW をdrafts.createに次の朝のscheduledAt+isActuallyScheduled: trueで渡し、確認を通ったらフォームを空にするNd:callを呼べず、null を返しても投稿は止まらず、scheduledAtを足しても本家 Misskey では予約にならない) ためpost_form_action方式{text, cw}) に無いので設定に従う。予約投稿に未対応のサーバーではdrafts.createが throw して止まる旨を description に明記Nd:callを使うため導出 runsOn は notedeck のみになる。capabilities は daily-note と同じnotedeck-apiに合わせた検証
@syuilo/aiscript@1.2.1+ NoteDeck 互換モック env で handler を直接叩くテスト 18 本 (フォーカス / クリップボード URL の解析と非 URL の拒否 / 翌朝・同日・ちょうど 8:00 の scheduledAt / キャンセル時はフォームを消さない / 既存のノートメニューと深夜ガードの回帰) すべて通過pnpm contract:verify149 件合格、check-registry-integrityOK、registry:build済み🤖 Generated with Claude Code
Summary by CodeRabbit