Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .env.example
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,19 +23,21 @@ INDEXING_V3_AGENT_SECRET=your-long-random-cron-shared-secret
# to OpenAI for embeddings, captioning, and grounded answer generation.
OPENAI_API_KEY=replace-with-openai-api-key
OPENAI_EMBEDDING_MODEL=text-embedding-3-small
OPENAI_ANSWER_MODEL=gpt-5.4-mini
OPENAI_FAST_ANSWER_MODEL=gpt-5.4-mini
OPENAI_STRONG_ANSWER_MODEL=gpt-5.4
OPENAI_MAX_OUTPUT_TOKENS=1400
OPENAI_ANSWER_MODEL=gpt-5.5
OPENAI_FAST_ANSWER_MODEL=gpt-5.5
OPENAI_STRONG_ANSWER_MODEL=gpt-5.5-pro
OPENAI_MAX_OUTPUT_TOKENS=4000
OPENAI_QUERY_CACHE_SIZE=200
OPENAI_VISION_MODEL=gpt-5.4-mini
OPENAI_VISION_MODEL=gpt-5.5
OPENAI_VISION_IMAGE_DETAIL=auto
OPENAI_REQUEST_TIMEOUT_MS=45000
OPENAI_MAX_RETRIES=2
OPENAI_PROMPT_CACHE_RETENTION=in_memory
OPENAI_GENERATION_MAX_RETRIES=0
OPENAI_PROMPT_CACHE_RETENTION=24h
OPENAI_STORE_RESPONSES=false
OPENAI_FAST_REASONING_EFFORT=low
OPENAI_STRONG_REASONING_EFFORT=medium
OPENAI_SUMMARY_REASONING_EFFORT=low
OPENAI_STRONG_REASONING_EFFORT=high
OPENAI_SUMMARY_REASONING_EFFORT=medium
OPENAI_VISION_REASONING_EFFORT=low
OPENAI_TEXT_VERBOSITY=low
RAG_ANSWER_CACHE_TTL_MS=300000
Expand DownExpand Up@@ -65,6 +67,7 @@ WORKER_MAX_CLAIM_FAILURES=3
WORKER_PROGRESS_UPDATE_MIN_INTERVAL_MS=60000
WORKER_MAX_CAPTIONED_IMAGES_PER_DOCUMENT=15
WORKER_MAX_CAPTIONED_IMAGES_PER_PAGE=4
WORKER_VISION_CONCURRENCY=4
WORKER_INLINE_ENRICHMENT=false
PYTHON_BIN=python
# Optional when Tesseract is installed outside PATH on Windows.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,8 +49,8 @@ jobs:
- name: Typecheck
run: npm run typecheck

- name: Unit tests
run: npm run test
- name: Unit tests (with coverage gate)
run: npm run test:coverage

- name: Build
run: npm run build
Expand Down
60 changes: 60 additions & 0 deletions TOOLS_CONTEXT_FOR_NEW_CHAT.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
# Context handoff: Tools / Applications UX task

## Purpose
I’m creating this file so a new chat can continue the exact task with full context, including screenshots referenced so far.

## Scope of this side conversation
- This side conversation is separate from the main thread after a side boundary.
- Pre-boundary history is reference-only and should not be treated as active instructions unless explicitly restated.
- Active request in this side conversation was focused on design iteration and mockup direction for the Tools experience.
- User now requested: create a context file with this chat + main run chat context including all images.

## Current repository/workspace
- Working directory: `C:\Dev\Apps\Database`
- No explicit code mutation request was made in this side chat beyond creating this handoff file.

## Latest user intent (current side thread)
1. User asked to remove unimportant fields from the selected tool detail UI (examples: scope, source type, last use, etc.).
2. User requested three new mockups in a better, more compact, polished style with stronger UX/UI treatment.
3. User emphasized optimizing for popup/detail panel UX and improving design quality/compactness.

## Key visual/UX direction already established
- Remove low-value fields from selected-tool details.
- Keep focused content: identity/status, launch action, concise overview/description, primary actions, minimal context.
- Preserve mobile-first detail presentation quality (slide-up/detail sheet style).
- Keep tools functionality, improve layout density and hierarchy.
- Keep design intentional and “best UX” style rather than boilerplate.

## What was done in this side thread (summary)
- Read local frontend design skill file (non-mutating exploration only).
- Generated three mockup designs:
1. Compact action panel
2. Bottom command sheet
3. Row-attached mini inspector
- Each mockup was framed as desktop + iPhone in one image.
- Shared recommendations to prefer concise, practical selected-tool detail content and keep popup behavior robust.

## Files/attachments referenced by user (screenshots)
- `C:\Users\joshs\AppData\Local\Temp\codex-clipboard-79c36fc1-c28a-435c-bb2d-6988f78f89e1.png`
- `C:\Users\joshs\AppData\Local\Temp\codex-clipboard-0c947a77-a138-4762-8152-441be907d12b.png`
- `C:\Users\joshs\AppData\Local\Temp\codex-clipboard-8060b302-8f9b-4ae4-8f51-a3e7bfb51bac.png`
- `C:\Users\joshs\AppData\Local\Temp\codex-clipboard-c496ebea-7c2c-4e27-a1e4-693bb494bdc9.png`
- `C:\Users\joshs\AppData\Local\Temp\codex-clipboard-8b3b0d40-2e87-4870-abc8-cf5ecad3d94b.png`
- `C:\Users\joshs\AppData\Local\Temp\codex-clipboard-0b05c4e9-1715-47c2-bd70-ed93133384ae.png`

## Inherited “main run chat” context (pre-boundary)
- Earlier thread work focused on Tools/Applications navigation and behavior in the app.
- User wanted the standalone `/applications` page preserved and restored.
- User then asked to embed Applications launcher content into `/?mode=tools` while renaming visible copy to Tools.
- The user requested sidebar/floating action updates to treat the surface as Tools, and icon/title updates.
- They repeatedly reported selected tool desktop popup behavior needs fixing and asked for a design upgrade.
- The side-thread task proceeded from this context but now is narrowed to design direction + new mockups.

## Notes for continuation in new chat
- This file is only a handoff context snapshot; it does not include any uncommitted design/code changes in this side thread.
- If continuing implementation, likely first action is reconciling existing Tools detail component with the above compact popup/content model.
- Use the images above to ground visual expectations.
- Keep `/applications` and `/?mode=tools` behavior requirements from the parent context in mind.

## Suggested prompt for new chat
“Please continue from this context file. We need to implement the improved tools selected-item popup/detail view to remove low-value metadata (scope/source type/last use), keep core actions and context, and apply one of the three compact mockup directions (or a refinement). Preserve standalone `/applications` behavior and ensure `/ ?mode=tools` still works in desktop + mobile.”
Loading