18 Commits

Author SHA1 Message Date
president
8655bb4e5f feat: harden auth/permissions and audit logging 2026-02-09 18:31:30 +09:00
president
af5fa9af9f chore: update worklog 2026-02-07 21:20:16 +09:00
president
77c4043b67 chore: make ci a separate topic 2026-02-07 21:18:19 +09:00
president
d634b083a7 chore: update worklog and topic detection 2026-02-07 21:13:25 +09:00
president
7a43dda385 chore: update worklog 2026-02-07 21:04:25 +09:00
president
4f4ccb6888 move file 2026-02-07 19:36:15 +09:00
president
8bda73151c tast case1 2026-02-07 19:33:16 +09:00
president
a8957742ea MCP test add worklog.md 2026-02-07 19:27:53 +09:00
president
4a93fb8260 docs: update notes, tasks, and gitignore 2026-02-07 17:01:22 +09:00
president
943dbd6ef5 feat: add MCP diary tools and id search shortcuts 2026-02-07 17:01:13 +09:00
president
0c5ea5269e feat: add kb delete endpoint and audit log 2026-02-07 17:00:56 +09:00
president
5d8dc0f2c9 Add initial implementation of MCP server and pgvecter API integration
- Introduced the MCP server with core functionality for handling document upserts and searches using the pgvecter API.
- Added configuration management for API keys and base URL.
- Implemented RPC request handling for various tools, including dev log and trade event management.
- Expanded the README with endpoint details and usage examples for the new MCP server features.
- Created documentation for development notes and API specifications in `docs/mcp_dev_memo.md`.
- Added necessary types and client implementations for interacting with the pgvecter API.
2026-02-07 08:38:06 +09:00
president
ae187d7338 Enhance collection handling in KbSearchRequest and API
- Added support for multiple collections in `KbSearchRequest` with validation logic in `main.go`.
- Updated `openapi.yaml` to reflect the new `collections` field and its requirements.
- Strengthened collection constraints in the database with a new migration script.
- Expanded `README.md` with examples for using the new collections feature.
2026-02-06 19:54:45 +09:00
president
277d152f9c Add collection management and upsert functionality to pgvecter API
- Enhanced `main.go` with new types and handlers for managing collections and upserting documents, including validation and error handling.
- Updated `openapi.yaml` to define new endpoints for listing collections and admin access.
- Introduced `CollectionsResponse` and `CollectionItem` schemas for API responses.
- Added a new migration script to include a `collection` column in the `kb_doc_chunks` table.
- Expanded `README.md` with usage examples for the new collection features and environment variable configurations.
2026-02-06 17:44:23 +09:00
president
a8bff893dc Update README and design documentation with environment variables and API design details
- Enhanced `README.md` to include additional environment variable requirements and startup instructions.
- Updated `design.md` with detailed API design drafts, use cases, and security considerations for the pgvecter API, including metadata handling and SQL safety measures.
2026-02-06 08:27:32 +09:00
president
8300e517e4 Add API key management functionality with PostgreSQL support
- Introduced `main.go` implementing API key creation, listing, updating, and revocation.
- Added `go.mod` and `go.sum` for dependency management.
- Created `migrations/001_create_api_keys.sql` for setting up the API keys table in PostgreSQL.
- Updated `openapi.yaml` to include new endpoints for managing API keys.
- Added documentation for the admin UI and API key management in `docs/admin_ui.md` and `docs/design.md`.
- Enhanced `README.md` with environment variable requirements and startup instructions.
2026-02-05 23:30:04 +09:00
president
de44ef33b9 Add initial implementation of pgvecter API with OpenAPI specification and design documentation
- Created `openapi.yaml` defining API endpoints for health check, SQL query, document upsert, and vector search.
- Added `design.md` outlining API purpose, use cases, and initial design drafts.
- Introduced `filter_builder.py` for constructing SQL WHERE clauses from JSON filter objects, supporting various operators for metadata queries.
2026-02-04 23:16:22 +09:00
a88749b0bf Initial commit 2026-02-04 22:07:33 +09:00