Skip to content

Comments

Add docs search tool#4

Merged
getlatedev merged 19 commits intomainfrom
develop
Jan 8, 2026
Merged

Add docs search tool#4
getlatedev merged 19 commits intomainfrom
develop

Conversation

@getlatedev
Copy link
Contributor

No description provided.

- Add release summary in GitHub Actions
- Check if version exists on PyPI before publishing
- Show clear notices for skip/release decisions
- Bump version to 1.0.1
Shows version info and release status before merging:
- Version from pyproject.toml
- Whether git tag exists
- Whether version exists on PyPI
- Clear indication if release will happen or be skipped
- All resource methods now return typed Pydantic models instead of dicts
- Generate proper Enum classes instead of Literal types
- Add response models: PostsListResponse, ProfileGetResponse, etc.
- Add upload module with direct and Vercel Blob support
- Update tests to use attribute access syntax
- Sync version to 1.1.0 across pyproject.toml and __init__.py
- Add is_draft parameter to posts_create and posts_cross_post
- Create tool_definitions.py as single source of truth for MCP params
- Add script to generate MDX docs from definitions
Refactors MCP server to use typed model attributes instead of dicts for accounts, profiles, and posts, improving type safety and code clarity. Adds the @use_tool_def decorator to all MCP tool functions, automatically applying centralized docstrings from tool_definitions.py. Updates tool_definitions.py to expand tool documentation, add summaries, and improve MDX generation. Updates README examples to use enums and new tool names. Bumps version to 1.1.1 and regenerates models for improved type annotations.
Added per-file ignores for generated models in Ruff config to allow old-style annotations and trailing whitespace. Also imported 'Any' from typing in src/late/mcp/server.py.
- Add docs_search tool to search Late API documentation
- Fetch and cache llms-full.txt with 24h TTL
- Score-based search across markdown sections
- Returns top 5 relevant documentation sections
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

📦 Release Preview

Item Value
Version 1.1.2
Git tag exists ❌ No
PyPI version exists ❌ No

🚀 New Release

When this PR is merged, the following will happen:

  1. ✅ Create GitHub Release v1.1.2
  2. ✅ Publish to PyPI as late-sdk==1.1.2
pip install late-sdk==1.1.2

@getlatedev getlatedev merged commit a569022 into main Jan 8, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants