emceepee 0.2.4 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -89,6 +89,8 @@ emceepee exposes a **static set of tools** that never change. These tools provid
89
89
  | `list_resources` | List available resources |
90
90
  | `list_resource_templates` | List resource templates |
91
91
  | `read_resource` | Fetch a resource by URI |
92
+ | `subscribe_resource` | Subscribe to resource change notifications |
93
+ | `unsubscribe_resource` | Unsubscribe from resource change notifications |
92
94
 
93
95
  ### Prompts
94
96
  | Tool | Description |
@@ -122,6 +124,38 @@ emceepee exposes a **static set of tools** that never change. These tools provid
122
124
  | `cancel_task` | Cancel a running task |
123
125
  | `await_activity` | Wait for server events (polling) |
124
126
 
127
+ ### Timers
128
+ | Tool | Description |
129
+ |------|-------------|
130
+ | `set_timer` | Create a timer that fires after a duration |
131
+ | `list_timers` | List all timers |
132
+ | `get_timer` | Get timer details |
133
+ | `delete_timer` | Delete a timer (returns timer body) |
134
+
135
+ ## Context Info
136
+
137
+ Every tool response may include additional context information as a second JSON text block. This provides real-time status without requiring explicit polling:
138
+
139
+ ```json
140
+ {
141
+ "content": [
142
+ { "type": "text", "text": "Tool result here" },
143
+ { "type": "text", "text": "{\"pending_client\":{\"sampling\":1,\"elicitation\":0},\"expired_timers\":[{\"id\":\"...\",\"message\":\"Check status\",\"expiredAt\":\"...\"}],\"notifications\":[...]}" }
144
+ ]
145
+ }
146
+ ```
147
+
148
+ **Context info fields:**
149
+
150
+ | Field | Description |
151
+ |-------|-------------|
152
+ | `pending_client.sampling` | Number of pending sampling requests (urgent - servers are blocked) |
153
+ | `pending_client.elicitation` | Number of pending elicitation requests (urgent - servers are blocked) |
154
+ | `expired_timers` | Timers that have fired since the last tool call (cleared after delivery) |
155
+ | `notifications` | Buffered notifications from backend servers (cleared after delivery) |
156
+
157
+ Context info is only included when there's something to report.
158
+
125
159
  ## Installation
126
160
 
127
161
  ```bash