Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: codu-code/agent-workshop
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d9b7e7d
Choose a base ref
...
head repository: codu-code/agent-workshop
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2c6bffc
Choose a head ref
  • 8 commits
  • 23 files changed
  • 2 contributors

Commits on Nov 25, 2025

  1. Chapter 0: Basic chat starting point (tool-free)

    - Remove all AI tools (weather, create/update document, suggestions)
    - Remove all agent definitions (tutor, quiz master, planner, analyst)
    - Remove custom artifacts (flashcard, study-plan)
    - Simplify prompts to basic chat without tool routing
    - Keep UI components with placeholder types for rendering
    - Exclude tempfiles from TypeScript compilation
    NiallJoeMaher committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    dcdd374 View commit details
    Browse the repository at this point in the history
  2. Chapter 1: Add weather tool (first tool)

    - Add lib/ai/tools/get-weather.ts with geocoding support
    - Update route.ts to import and use weather tool
    - Add stepCountIs for multi-step tool conversations
    - Add experimental_activeTools for reasoning model compatibility
    - Update types.ts to use InferUITool for weather tool
    NiallJoeMaher committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    f990ce0 View commit details
    Browse the repository at this point in the history
  3. Chapter 2: Add tutor agent (first agent)

    - Add lib/ai/agents/ directory with types and index
    - Add tutor agent that explains concepts with examples
    - Update route.ts to import and register tutor agent
    - Update types.ts with tutor tool type inference
    NiallJoeMaher committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    6b85452 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2025

  1. workshop: add Chapter 3 preview stubs (multi-agent)

    - Add lib/ai/agents/quiz-master.ts with TODO placeholder
    - Add lib/ai/agents/planner.ts with TODO placeholder
    - Add lib/ai/agents/analyst.ts with TODO placeholder
    - Update index.ts with commented exports for Chapter 3
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    NiallJoeMaher and claude committed Nov 26, 2025
    Configuration menu
    Copy the full SHA
    509ecd6 View commit details
    Browse the repository at this point in the history
  2. docs: update CHAPTER-1.md to match full weather implementation

    - Show full geocodeCity implementation
    - Update route.ts example with stepCountIs, experimental_activeTools
    - Fix Weather component props to match API response
    - Update flow diagram to show city name lookup
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    NiallJoeMaher and claude committed Nov 26, 2025
    Configuration menu
    Copy the full SHA
    82cb86a View commit details
    Browse the repository at this point in the history
  3. docs: fix all chapter documentation to match actual code

    - CHAPTER-0: Updated to show createUIMessageStream pattern, full useChat
      config with transport, correct systemPrompt signature
    - CHAPTER-2: Fixed agent types (UIMessageStreamWriter), gateway.languageModel
      pattern, tutor params (depth/context), route handler structure
    - CHAPTER-3: Rewrote quiz-master and planner to show artifact creation with
      dataStream.write(), correct models (artifact-model), DB save, error handling
    - CHAPTER-4: Fixed CustomUIDataTypes, added focusAreas param, artifact-model
    - CHAPTER-5: Added analyst.ts to file structure, fixed inputSchema usage,
      updated architecture diagrams, added analyst to orchestrator tools
    
    All code snippets are now copy-paste ready and match the actual implementation.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    NiallJoeMaher and claude committed Nov 26, 2025
    Configuration menu
    Copy the full SHA
    7bf7e4b View commit details
    Browse the repository at this point in the history
  4. docs: fix CHAPTER-1 to show correct systemPrompt and route patterns

    - Updated system prompt section to show updating regularPrompt constant
    - Updated route handler to show correct systemPrompt({ selectedChatModel, requestHints })
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    NiallJoeMaher and claude committed Nov 26, 2025
    Configuration menu
    Copy the full SHA
    8762bcf View commit details
    Browse the repository at this point in the history
  5. Add agentRoutingPrompt for tutor agent routing

    - Add agentRoutingPrompt with tutor agent description
    - Update systemPrompt to include routing for non-reasoning models
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    NiallJoeMaher and claude committed Nov 26, 2025
    Configuration menu
    Copy the full SHA
    2c6bffc View commit details
    Browse the repository at this point in the history
Loading