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: main
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: workshop/chapter-01-first-tool
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 25 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

Commits on Nov 26, 2025

  1. Configuration menu
    Copy the full SHA
    13849f3 View commit details
    Browse the repository at this point in the history
  2. workshop: update Chapter 1 docs and add Chapter 2 stubs

    - Update CHAPTER-1.md to show full geocoding implementation
    - Fix weather tool code block to match actual implementation
    - Update route.ts example with stepCountIs and experimental_activeTools
    - Add lib/ai/agents/ directory with Chapter 2 preview stubs:
      - types.ts: Agent type definitions
      - tutor.ts: Tutor agent stub
      - index.ts: Barrel export with TODOs
    
    🤖 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
    8f10218 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
    54aaf5b 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
    ebbe868 View commit details
    Browse the repository at this point in the history
Loading