feat(install): one-command install and update with staleness checks
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- csharp, powershell
調査の方向性
Start by reading build.ps1, scripts/install-claude-desktop.ps1, and scripts/package-chat-skill.ps1, then check the dependency issue nevridge/taskflow-assistant#11 and the transfer issue nevridge/taskflow-assistant#38. The issue says this work is complete after the monorepo move in nevridge/TaskFlow#397; verify the new layout and transferred scope before considering any implementation.
索引モデルが issue の本文から書いたものです。
説明
Status 2026-11-06: the monorepo move is done (#398), and the dependency nevridge/taskflow-assistant#11 shipped (PR nevridge/taskflow-assistant#23). This issue is no longer blocked by #400 and is first in #420, because it changes how the assistant is run every day. Redesigned the same day: the plugin and the MCP server run from a runtime folder outside the repo, not from the clone.
Background
Before the move, the assistant repo was a standalone clone, and the plugin and Claude Desktop ran from that same folder. It is now assistant/ inside nevridge/TaskFlow, whose working tree changes branch daily. Running the assistant in place means:
- the skills, agent and chat references you use every day follow whatever branch is checked out;
- an unfinished assistant change runs as your live tool;
build.ps1refuses to run while a server is usingplugin/bin, and the server is always running;- the daily tool runs from a code repo, not from an install location.
The #398 work worked around this with a dedicated worktree (C:\code\TaskFlow-live, detached at origin/main). That is a stopgap: another repo-shaped folder to keep current by hand.
Keeping a local environment current after a pull also takes several manual steps across four pieces, and only one of them is scripted:
| Piece | Today | Gap |
|---|---|---|
MCP server (plugin/bin) |
Manual ./build.ps1 |
Easy to forget after a pull; unsafe while a server runs (see nevridge/taskflow-assistant#11) |
| Plugin skills and agents | Loaded in place from the local marketplace path; /reload-plugins |
Follow the checked-out branch |
| Claude Desktop MCP registration | scripts/install-claude-desktop.ps1, run once |
Holds an absolute path to the DLL; no check that it still points at the right place |
| Chat skill | scripts/package-chat-skill.ps1, then a manual upload of the zip |
No way to tell whether chat/ changed since the last upload |
Both Claude Code (plugin) and Claude Desktop (Chat) are used daily, so both paths need to stay current. A GitHub install is not an option today: plugin/bin is gitignored, so a copy installed from GitHub has no server.
Problem
Forgetting to rebuild or re-upload after a pull is a silent failure: the plugin skills update, but the server or the Chat skill lags behind, so tool behavior and instructions drift apart. And the live tool is tied to the state of a code checkout.
Proposed approach (ungroomed)
- An install step that stages everything into a runtime folder outside the repo, by default
%LOCALAPPDATA%\TaskFlowAssistant\(overridable):- the built server (
TaskFlow.Mcp.dlland its files); - a copy of the plugin (skills, agent,
.mcp.json,plugin.json) with amarketplace.jsonthat points at it; - the packaged Chat skill zip;
- a
build-info.jsonstamp (source commit or hash).
- the built server (
- Claude Code adds the marketplace from the staged folder, and Claude Desktop's config points at the staged DLL. The repo can then be on any branch or in any state. Updating is re-running the script.
- A single
update.ps1entry point that:- stops if a server is running from the runtime folder (the check from nevridge/taskflow-assistant#11, now against the install folder);
- builds and stages;
- re-packages the Chat skill only when
chat/changed; - prints the manual steps still needed for this run (
/reload-plugins, restart Claude Desktop, upload the zip).
- The same script does the first-time install, idempotent on re-run: marketplace add, plugin install, Claude Desktop registration. It also covers the one-time move off a marketplace registered from a repo path (the marketplace name stays
taskflow-assistant, so the old one is removed first). - Staleness:
update.ps1 -Checkreports, without changing anything, whether the staged build is older thansrc/, whether the Chat zip is older thanchat/, and whether Desktop's config points at the runtime folder.build.ps1exits early when the stamp already matches the source. - The plugin's
api_urlis lost when the plugin is reinstalled (it resets to the default). The script should keep it or re-apply it (claude plugin configure ... --values-stdin), andinstall-claude-desktop.ps1 -ApiUrlmust stay a parameter.
Out of scope
- CI-published binaries or a GitHub release install.
- Automating the Chat skill upload (not possible; the script only reports when it is needed).
- Killing running processes automatically.
Open questions
- Overwrite the runtime folder in place, or keep one folder per version for an easy rollback? (Earlier this issue ruled out side-by-side versioned folders; that is open again.)
- Does Claude Code re-read a staged plugin folder on
/reload-pluginsthe way it did for the worktree? (The reload output named the folder; confirm when building this.) - Should
update.ps1rungit pullitself, or leave that to the user? - Does
update.ps1replacebuild.ps1, or wrap it? Dev builds in the repo (dotnet test,plugin/binfor local runs) still need to work. - Is the default location
%LOCALAPPDATA%\TaskFlowAssistantright, and should-InstallDirbe remembered? - Should the optional
post-mergehook warning be included, given hooks are not versioned? - Is the
plugin.jsonversion bump still needed to refresh an installed copy?
Dependencies
None open. nevridge/taskflow-assistant#11 and the move (#398) are done. Build with the merged pipeline (#400) if it has landed; it does not block this.
- 主要言語
- C#
- スター
- 1
- フォーク
- 0
- 平均マージ
- 2時間 2分
- マージ済み PR(30日)
- 98
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nevridge/TaskFlow のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
nevridge/TaskFlow の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
juandresrodca/AdminForge#54 ·
-
要トリアージ 辞書
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
yksr-melt/Meltype#1625 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Docs typoオープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
MonoGame/docs.monogame.github.io#328 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
space-wizards/RobustToolbox#7197 ·
メンテナーはふだん 1 日以内に返信
-
documentation high priority
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
lachydotmcg/capri-desktop#201 ·
メンテナーはふだん 1 日以内に返信