summaryrefslogtreecommitdiff
path: root/uv.lock
AgeCommit message (Collapse)Author
5 hoursImprove web search region selection and normalize provider resultsHEADmaintanaka takashi
Update ddgs to 9.16.0 and keep backend="auto" while preserving the LLM-facing query/max_results inputs and title/href/body result schema. Implementation: - Add OLLAMA_WEB_SEARCH_REGION with auto/us-en/jp-jp values, normalized configuration input, and a clear startup error for unsupported values. - In auto mode, detect kana after NFKC normalization and exclusion of URLs and site:/filetype: tokens. Select jp-jp for kana and us-en otherwise, without modifying the original query or sharing per-call region state. - Preserve href/url and body/snippet fallbacks and normalize None values. - Reject malformed HTTP(S) URLs without DNS lookups or extra requests. - Unwrap known Yahoo redirect URLs before excluding Bing aclick ads. - Represent missing and URL-only titles as empty strings rather than inventing titles from snippets. Preserve remaining provider order and allow fewer results after filtering, without additional searches. - Preserve provider exception propagation and identify ddgs in error logs. Coverage and documentation: - Add 72 regression cases for configuration, region routing, concurrency, public schemas, title/URL/ad boundaries, limits, and search_and_fetch continuation. Update existing provider mocks and log assertions. - Document the region environment setting and result semantics in both READMEs and tools-schema.md; update the changelog. - Keep only a short backend availability caveat in tools-schema.md and remove the temporary backend comparison, design, and validation docs. Validation: - pytest: 222 passed; ruff check . and mypy src/ passed. - uv lock --check and git diff --check passed. - Initial live acceptance: 56 searches plus 3 registry smoke checks; default-region auto succeeded 8/18 times and real ad filtering removed two ads. Stable relevance/title quality targets remain unmet because provider acquisition is unreliable. - Follow-up backend study: 234 comparative searches plus 3 Yahoo response diagnostics. Yahoo led individual backends at 9/18; restricted multi- backend combinations did not outperform the contemporaneous auto control. Authentication, access restrictions, temporary upstream failures, and Yahoo HTML/parser mismatches were observed. Do not claim search reliability is fixed or add backend configuration, custom retries, ranking changes, or challenge bypasses. Running app processes were not restarted; restart is needed to load the changes.
2026-09-14release: prepare version 0.5.4v0.5.4tanaka takashi
Dependabotで報告された21件の脆弱性を解消した依存更新を、0.5.4のセキュリティパッチリリースとして確定する。 - pyproject.tomlとollama_web.__version__を0.5.4へ更新 - uv.lockのルートパッケージversionを正規のuvコマンドで同期 - CHANGELOGへ2026-09-14付けの0.5.4 Securityセクションを追加 - Pillow、pypdf、h2、hpack、cryptographyの更新内容を記録 - Unreleasedおよび0.5.4のGitHub比較リンクを更新 検証: - GitHub Dependabot: open 0件、fixed 21件 - pytest: 150 passed - Ruff: passed - mypy: 30 source files passed - JavaScript syntax check: passed - uv lock --check --offline: passed - source distribution and wheel build: passed - installed wheel assets, application initialization, and /login endpoint verified
2026-09-14fix(deps): Dependabotで報告された脆弱性を解消tanaka takashi
openのDependabot alert 21件が要求するfirst patched versionへ、uvの正規コマンドで依存パッケージを更新する。公開依存契約を不必要に変更しないため、pyproject.tomlは維持してlockfileだけを更新する。 更新内容: - Pillow 12.2.0から12.3.0へ更新し、alert #1から#13を解消 - pypdf 6.14.2から6.16.1へ更新し、alert #16から#21を解消 - h2 4.3.0から4.4.1へ更新し、alert #15を解消 - h2 4.4.1の必須条件に合わせてhpack 4.1.0から4.2.0へ更新 - cryptography 49.0.0から50.0.0へ更新し、alert #14を解消 互換性確認: - Python 3.10以上というプロジェクト要件と各更新版のRequires-Pythonが整合 - Pillowとpypdfで利用中のAPIに非互換な変更がないことを確認 - h2/hpackはddgsからhttpx[http2]を経由する依存制約内 - cryptographyはmcpからpyjwt[crypto]を経由する依存制約内 検証: - PyJWTとcryptography 50.0.0によるRS256署名・検証スモーク成功 - pytest: 150 passed - Ruff: passed - mypy: 30 source files passed - JavaScript syntax check: passed - uv lock --check --offline: passed - source distribution and wheel build: passed - git diff --check: passed
2026-09-13release: prepare version 0.5.3v0.5.3tanaka takashi
0.5.3 の公開に向けて、プロジェクトおよび実行時のバージョン情報を更新する。 - pyproject.toml と ollama_web.__version__ を 0.5.3 に更新 - uv.lock のルートパッケージバージョンを同期 - CHANGELOG に 2026-09-13 付けの 0.5.3 セクションを追加 - Unreleased と 0.5.3 の GitHub 比較リンクを更新 - MCP 画像・音声 artifact、vision 非対応モデル向け通知、モバイルのセッション削除修正をリリース対象として確定 検証: - pytest: 150 passed - ruff check src tests - mypy src - node --check src/ollama_web/static/app.js - uv lock --check --offline - sdist / wheel ビルドおよび wheel インストール後の起動確認
2026-08-26release: prepare version 0.5.2v0.5.2tanaka takashi
Finalize the 0.5.2 changelog for lossless PDF pagination, session-scoped attachment continuation, deduplicated fetched files, and token-only cross-conversation resume. Synchronize the project metadata, runtime package version, and uv lock entry at 0.5.2. Refresh the exceptiongroup typing-extensions marker emitted by the current uv resolver, and move changelog comparison links to the v0.5.2 release boundary. Validated with uv lock --check, the complete 132-test suite, Ruff, mypy for 30 source files, source and wheel builds, packaged runtime assets, and application initialization from the installed wheel.
2026-08-26build: uv.lockを追加して依存関係を固定tanaka takashi