Skip to content

Commit 758151b

Browse files
Copilotbrunoborges
andcommitted
Add cookbook entry to CHANGELOG.md
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
1 parent 884c6ff commit 758151b

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1212
1313
### Added
1414

15+
#### Cookbook with Practical Recipes
16+
17+
Added a comprehensive cookbook with 5 practical recipes demonstrating common SDK usage patterns. All examples are JBang-compatible and can be run directly without a full Maven project setup.
18+
19+
**Recipes:**
20+
- **Error Handling** - Connection failures, timeouts, cleanup patterns, tool errors
21+
- **Multiple Sessions** - Parallel conversations, custom session IDs, lifecycle management
22+
- **Managing Local Files** - AI-powered file organization with grouping strategies
23+
- **PR Visualization** - Interactive CLI tool for analyzing PR age distribution via GitHub MCP Server
24+
- **Persisting Sessions** - Save and resume conversations across restarts
25+
26+
**Location:** `src/site/markdown/cookbook/`
27+
28+
**Usage:**
29+
```bash
30+
jbang BasicErrorHandling.java
31+
jbang MultipleSessions.java
32+
jbang PRVisualization.java github/copilot-sdk
33+
```
34+
35+
Each recipe includes JBang prerequisites, usage instructions, and best practices.
36+
1537
#### Session Context and Filtering
1638

1739
Added session context tracking and filtering capabilities to help manage multiple Copilot sessions across different repositories and working directories.

0 commit comments

Comments
 (0)