<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ollama-web.git/src/ollama_web/static/app.js, branch v0.5.3</title>
<subtitle>A lightweight personal Ollama Web UI with web search, PDF attachments, and MCP tools.
</subtitle>
<id>https://git.takashi-2521.com/ollama-web.git/atom?h=v0.5.3</id>
<link rel='self' href='https://git.takashi-2521.com/ollama-web.git/atom?h=v0.5.3'/>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/'/>
<updated>2026-09-13T05:36:46+00:00</updated>
<entry>
<title>fix(ui): スマホでセッションを削除できるようにする</title>
<updated>2026-09-13T05:36:46+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-09-13T05:36:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=b24aa19ad22f59556fc7bbb63c58836799239588'/>
<id>urn:sha1:b24aa19ad22f59556fc7bbb63c58836799239588</id>
<content type='text'>
セッション削除ボタンが通常時はdisplay:noneで、li:hover時だけ表示されていたため、持続的なhoverを持たないスマートフォンでは安定して操作できなかった。モバイル幅、hover非対応、coarse pointer環境ではボタンを常時表示し、44x44pxのタップ領域とtouch-actionを設定する。

表示修正後もタップ後の処理がネイティブwindow.confirmと複数のclickリスナーに依存していたため、削除とセッション選択をsession-list上の単一イベント委譲へ統合する。削除ボタンを先に判定して行選択とサイドバー閉鎖へ伝播しないようにした。

ネイティブ確認ダイアログを既存modalスタイルに沿ったアプリ内確認ダイアログへ置き換える。キャンセル、背景タップ、Escape、フォーカス復帰に対応し、DELETE実行中の二重送信を防止する。通信失敗はネイティブalertではなくダイアログ内のaria-live領域へ表示する。

削除ボタンへbutton typeとaria-labelを明示し、確認ダイアログへdialog semanticsと日英のキャンセル文言を追加する。CHANGELOGと、タッチ向けCSSのカスケード順・サイズ・ネイティブconfirm非依存を確認する回帰テストも更新する。

Validation: 150 tests passed; ruff check passed; node --check src/ollama_web/static/app.js passed; git diff --check passed.
</content>
</entry>
<entry>
<title>feat(multimedia): MCP画像・音声artifactの安全な表示経路を追加</title>
<updated>2026-09-13T04:35:03+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-09-13T04:35:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=f2d24cb7d437ad099291262d7c1b021809cd66ae'/>
<id>urn:sha1:f2d24cb7d437ad099291262d7c1b021809cd66ae</id>
<content type='text'>
MCP Tool結果をテキストと型付きartifactへ分離し、画像・音声のbase64をMIME、サイズ、件数のallowlistで検証する。annotations.audienceを反映し、ユーザー向けartifactだけをセッションへ保存してSSEにはメタデータのみを公開する。

画像はvision capabilityが明示されたモデルだけへ渡し、非対応時は既存の多言語プロンプト機構による固定通知へ置き換える。MCP生成音声とユーザー添付音声はOllamaへ送らず、誤デコードしたテキストやbase64がモデル入力へ混入しないポリシーに統一する。

保存メディア用の認証済み同一オリジン配信ルートを追加し、セッションスコープ、MIME allowlist、nosniff、private/no-store、Rangeリクエストを適用する。UIはMCP由来HTMLを使わずDOM APIでimgとaudio controlsを生成し、CSPへmedia-src selfを追加する。

web_searchは文字列メタデータだけを返す既存仕様を維持する。scrape_urlとsearch_and_fetchは画像・音声・動画レスポンスを拒否し、search_and_fetchの対象拡張子を明示的allowlistへ変更して標準Webツールをテキスト専用の契約に揃える。

責務境界と導入しない過剰対策をdocs/multimedia.mdへ記録し、README、ツール仕様、CHANGELOGを更新する。MCP artifact変換・永続化、vision分岐、音声非送信、認証、Range配信、MIME偽装拒否をテストで追加確認した。

Validation: 148 tests passed; ruff check passed; mypy src passed; node --check src/ollama_web/static/app.js passed.
</content>
</entry>
<entry>
<title>fix(ui): コピー失敗時のエラーハンドリングを追加</title>
<updated>2026-08-16T10:07:08+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-08-16T10:07:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=239c206659d02f5e89b3f54aa050aff6a71dcdd5'/>
<id>urn:sha1:239c206659d02f5e89b3f54aa050aff6a71dcdd5</id>
<content type='text'>
Clipboard API が利用できない非セキュアコンテキストや、ブラウザの権限拒否で writeText が失敗した場合に、未処理例外となってコピーボタンが無反応に見える問題を修正。

navigator.clipboard.writeText の存在を事前に確認し、非同期処理を try/catch で囲むことで同期例外と Promise の拒否をまとめて処理する。成功時はチェックマーク、失敗時は警告マークを一時表示し、詳細はコンソールへ記録する。アラートは表示しない。
</content>
</entry>
<entry>
<title>ollama側のレスポンスが空の場合に1回リトライする処理に変更</title>
<updated>2026-07-09T12:52:16+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-07-09T12:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=1729e1c399a41b4128b5dd7ef0286fae128e6157'/>
<id>urn:sha1:1729e1c399a41b4128b5dd7ef0286fae128e6157</id>
<content type='text'>
トークン数の累積計算処理削除
</content>
</entry>
<entry>
<title>トークン消費量のリングゲージの表示タイミング調整</title>
<updated>2026-07-09T11:07:18+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-07-09T11:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=2bbb9752568bb1701051878ffb844bc78c81f1f4'/>
<id>urn:sha1:2bbb9752568bb1701051878ffb844bc78c81f1f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>停止ボタンの不具合修正(停止ボタンを押すと送信できなくなるバグを修正)</title>
<updated>2026-07-09T10:52:03+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-07-09T10:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=77eef27cad9b0e5b0551d5a8ea9485779ee7dc18'/>
<id>urn:sha1:77eef27cad9b0e5b0551d5a8ea9485779ee7dc18</id>
<content type='text'>
LLMがメッセージ生成途上で画面スクロールしにくい問題を修正
チャットメッセージバルーンをコピペ対応
トークン消費量をリングゲージで可視化(表示タイミングに不具合あり)
</content>
</entry>
<entry>
<title>マルチ言語対応。MCP設定画面の言語切り替え表示にバグあり</title>
<updated>2026-06-27T05:49:12+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-27T05:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=f93822cebf6258c3a31e03745183aa2c8bb56f4d'/>
<id>urn:sha1:f93822cebf6258c3a31e03745183aa2c8bb56f4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>レンダー処理の最適化。markdownのHTMLレンダーを最後に一括に処理するように変更。</title>
<updated>2026-06-26T18:47:43+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-26T18:47:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=01583ab13d25d9c966c6adfa1da20b53d3bdbac8'/>
<id>urn:sha1:01583ab13d25d9c966c6adfa1da20b53d3bdbac8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MCP機能追加</title>
<updated>2026-06-26T14:54:17+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-26T14:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=3a9e8e18df4c596360da54000f65e1bebc6039c2'/>
<id>urn:sha1:3a9e8e18df4c596360da54000f65e1bebc6039c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>各モデルの機能を取得するように修正。thinking, tools, vision対応モデルに応じて機能を変えるように変更。クリアボタンのバグを修正</title>
<updated>2026-06-24T17:41:58+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-24T17:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=5f948a33412dfde6d0a210746e61ac9c8477c9e8'/>
<id>urn:sha1:5f948a33412dfde6d0a210746e61ac9c8477c9e8</id>
<content type='text'>
</content>
</entry>
</feed>
