Skip to content

Fix delegation tool and SEC agent typing#5

Open
HomenShum wants to merge 136 commits intomainfrom
codex/fix-typescript-type-errors-ybp8lt
Open

Fix delegation tool and SEC agent typing#5
HomenShum wants to merge 136 commits intomainfrom
codex/fix-typescript-type-errors-ybp8lt

Conversation

@HomenShum
Copy link
Owner

Summary

  • adjust delegation tool typing to use generic AI tool definition so typed subagent delegates satisfy constraints
  • type SEC company search tool with explicit result shape instead of FunctionReference-derived ReturnType

Testing

  • npm run --silent tsc -- --noEmit

Codex Task

HomenShum and others added 30 commits September 17, 2025 03:33
docs(README): replace top link with clickable demo thumbnail
…Fixed drag and drop - changed the window-level onDrop handler in DocumentsHomeHub to:

preventDefault only (to avoid accidental browser navigation)
not call stopPropagation (so drop reaches Dropzone roots)
not manually forward files to onDrop (let the local dropzones handle the event)
“Find documents about nodebench” → should do local doc search, not web.
“Search the web for nodebench benchmarks” → should take web.search path.
“Create a doc about nodebench improvements” → should classify to doc.create.
“Insert an outline into the current doc” → should classify to doc.edit if a doc is selected.
…and kind cycling; auto-generate on analyze\n\n- Header: move tags UI here; replace input/select with ghost add pill; click pill text to rename; click left strip to change kind; remove tag via \n- Backend (Convex): add updateTagKind and removeTagFromDocument; canonicalize kinds; wire actions\n- FileViewer: dispatch nodebench:generateTags after analysis\n- Docs: add CHANGELOG.md (2025-09-17) with screenshots; README now shows short preview and links to CHANGELOG\n
… (event conflict, streaming awaits, tool schema, plan step kind)
…mponents/views; remove old top-level viewer components; update layout/navigation and MiniEditorPopover; update Convex file/document APIs; chore: package.json
…resetChip; right-align hero date; remove top gap in Calendar hub; apply PageHeroHeader to PublicDocuments
…shot; center Tasks prompt; Final Output copy/collapse; run history; timeline freeze; no-op on missing task metrics
…p walkthrough to README; reflect in CHANGELOG (2025-09-23)
… README; tidy preview timeline; update 2025-09-23 CHANGELOG with tests and docs notes
Place Timeline in its own card at the top; keep Final Output below; render Run History below Final Output regardless of editor presence. Also fix Save-as-Final click handler to be void-returning. Update DESIGN_SPECS/FOLDER_STRUCTURES.
- In Fit mode, compute [start,end] tightly around tasks with symmetric pad; only include now when tasks are running.
- Use >=1s pad min.
- Fix useMemo deps to use wm.
- No UI changes.
…oad-driven code.exec\n\nchore(promptPlan): enforce channel wiring and add payload examples for web.fetch/code.exec\n\nrefactor: align Gemini generateContent call shape with repo usage
- Add validation to detect unresolved template syntax ( or {{channel:...}})
- Provide clear error messages when upstream nodes haven't completed
- Add maxBytes parameter with 1MB default limit
- Improve trace logging for local/static/remote fetches
- Prevent ENOENT errors from attempting to open template strings as file paths

chore: remove non-essential refactoring summary .md files
chore: update .gitignore to exclude temporary summary files
- Replaced 092325  v0.5.0
- Replaced v2025.09.19  v0.6.0
- Replaced v2025.09.19-2  v0.7.0
- Added v0.8.0 for timeline improvements
- All tags now follow v0.x.x semantic versioning
…y\n\n- v0.5.0 Initial multi-agent (2025-09-19) [05e5a95]\n- v0.6.0  Timeline upgrades (2025-09-19-2) [b55a950]\n- v0.7.0  Early prototype (092325) [dc817ec]
ci: add tag chronology validation workflow
chore: add scripts/release.js to auto-generate notes and tag consistently
Major Features:
- Multi-agent workflows with web search, image collection, parallel visual LLM analysis
- Code execution support (Google Genai/GPT-5-mini) with Plotly visualizations
- Cross-model comparison and conversational follow-up
- Analytics tracking (convex/analytics.ts)

Agent Improvements:
- Enhanced planner with better tool orchestration (agents/core/plan.ts)
- Improved OpenAI tool integration with structured outputs (agents/tools/openai.ts)
- Linkup search with image collection support (agents/tools/search.ts)
- Structured output validation and schema handling (agents/tools/structured.ts)
- New multimodal GLM demo scenario (task_spec_multimodal_glm.json)

UI/UX Updates:
- Unified layout with Documents/Calendar/Agents hubs (MainLayout.tsx)
- Enhanced Agent Dashboard with real-time progress tracking
- Improved Timeline/Gantt visualization with execution metrics
- Updated Calendar and Documents home hubs with better navigation
- Refined PageHeroHeader and TopDividerBar components
- Timeline Roadmap view enhancements

Backend Updates:
- Convex RAG improvements with better context handling
- Updated agent prompt planning (convex/agents/promptPlan.ts)
- Analytics integration for usage tracking

Documentation:
- Updated README with multi-agent capabilities and Grok 4 Fast default
- Enhanced DESIGN_SPECS and FOLDER_STRUCTURES
- Updated agents/README with new scenarios
- Added .gitignore rules to exclude unnecessary docs and temp files
…Add src/components/AIChatPanel/index.ts barrel export\n- Ensure tests can import AIChatPanel via Vite alias\n\nContext: continuing test stabilization work (FastAgentPanel streaming fix, helper updates, agent dashboard/timeline, trip-planning graph).
HomenShum and others added 12 commits November 10, 2025 11:51
…king, add timeout

Critical Fixes:
1. Enable Send button when not authenticated
   - Button was disabled, preventing sign-in flow
   - Now enabled to trigger anonymous auth
   - Shows 'Send (sign in)' hint

2. Fix layout overlay blocking click events
   - Add pointer-events: none to animated hero section
   - Prevents parallax and animations from blocking chat input
   - Allows immediate interaction

3. Add 30s timeout to streaming operations
   - Prevents indefinite hangs
   - Aborts stream if no response after timeout
   - Clears timeout in finally block

4. Add error handling and toast notifications
   - Sign-in failures show error toast
   - Send failures show error message
   - Better user feedback

Files modified:
- src/components/MiniNoteAgentChat.tsx: Enable button, add error handling
- src/components/views/WelcomeLanding.tsx: Add pointer-events: none
- convex/fastAgentPanelStreaming.ts: Add 30s timeout with abort

These fixes address critical issues found in Playwright E2E testing.
Removed 60+ legacy documentation files from previous work:
- Architecture decision docs
- Implementation guides
- Test reports
- Temporary files and logs

Keeping only:
- AGENT_CHAT_TEST_REPORT.md (current test results)
- LANDING_PAGE_ENHANCEMENTS.md (recent feature)
- Active test results in test-results/ and playwright-report/

This cleans up the repository root and reduces clutter.
- Add test-results/ to .gitignore (test execution artifacts)
- Add playwright-report/ to .gitignore (HTML reports)
- Keep tests/ directory (source test files)
- Remove test artifacts from git tracking

Test artifacts are generated locally and should not be committed.
- Add pointer-events-auto to CTA button container
- Add pointer-events-auto to benefit pills container
- Add pointer-events-auto to collage + chat section
- Fixes buttons being unclickable due to parent pointer-events-none

All interactive elements in the hero section now work correctly while
keeping the animated backgrounds non-interactive.
- Add live agent progress timeline with tool execution visibility
- Display rich media (videos, images, documents, sources) with citations
- Fix showResults logic to display results during streaming
- Add section headers with icons (Agent Progress, Analysis & Findings)
- Polish timeline with gradient background and better contrast
- Enhance content card with white background and shadow
- Improve typography with responsive sizing and better spacing
- Add code blocks and blockquote styling to markdown
- Redesign action bar with gradient, icons, and hover effects
- Improve loading states with better visual feedback
- Add comprehensive mobile responsiveness
- Fix circular dependency error in useEffect hooks
- Add debug logging for streaming state

Visual improvements:
- Gradient timeline: blue-50/purple-50 with blue-200 border
- Content card: white bg, rounded-xl, shadow-sm
- Action bar: gradient bg, backdrop-blur, shadow-lg
- Buttons: added icons (Sparkles, Briefcase, Send)
- Better spacing rhythm: mb-6 sm:mb-8 throughout
- Responsive text: text-sm sm:text-base pattern

Documentation:
- WELCOME_LANDING_LIVE_STREAMING.md - Implementation details
- WELCOME_LANDING_UX_POLISH.md - Visual improvements guide
- Fixed UI flickering between hero and dossier views with stable state management
- Added navigation controls (Back to Search, View Last Results)
- Implemented global search cache system with Convex backend
- Applied comprehensive Convex optimizations (bounded arrays, query limits, indexes)
- Added searchCache table with versioning support (max 30 versions)
- Implemented 5 optimized queries: getCachedSearch, saveSearchResult, getPopular/Recent, isCacheStale
- All functions meet performance targets (<50ms queries, <100ms mutations)
- Full end-to-end type safety and production-ready architecture
…ndencies

- Add Convex service mutations for planning and memory (secured with shared secret)
- Update mcpClient to pass X-User-Id header to Python MCP server
- Implement Python ConvexService for persistent storage
- Upgrade TipTap packages to consistent v3.6.6 (fixes build error)
- Fix TypeScript types in coreAgentTools (extract to shared types)
- Add .env configuration for Python servers with CONVEX_URL
…ions

- Added QuickActionButton component with gradient design
- Implemented SuggestedFollowUps with smart context detection (company/person/general)
- Integrated onRunFollowUp callback to trigger enrichment queries
- Added verification screenshots and demo recording
- Updated README with feature walkthrough and changelog
@vercel
Copy link

vercel bot commented Nov 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
nodebench-ai Ready Ready Preview Comment Nov 24, 2025 1:37am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments