You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Agent: Added support for dynamically created sub-agents to forward runtime events directly into the parent agent event stream, so callers can observe child-agent progress, tool activity, and final outputs without waiting for the whole delegated task to finish.
8
+
* Agent: Added dynamic sub-agent creation support, allowing agents to create and use child agents at runtime for more flexible task decomposition and delegation.
9
+
* Goal: Added Goal support aligned with the Go implementation, giving agents a structured way to carry task objectives through the execution flow.
10
+
* A2A: Added optional `app_name` support to `TrpcA2aAgentService`, allowing the Runner app identity to differ from the exposed A2A service name while keeping the existing `service_name` fallback behavior.
11
+
* Session: Updated `list_sessions()` so `user_id` can be omitted. When `user_id=None`, InMemory, SQL, Redis, and Eval session services now return all sessions under the specified `app_name` without loading session events.
12
+
* Skill: Added the `skills_hub` module to support centralized skill discovery and management.
13
+
14
+
### Bug Fixes
15
+
16
+
* Graph: Fixed `GraphAgent``AgentNode.last_response` so it no longer records thinking text or intermediate tool-call round text as the node's final response. The graph now uses `Event.is_final_response()` and removes thinking content before saving the last response.
17
+
* A2A: Fixed internal pipeline example scripts and paths so the example workflow can be triggered and run with the expected files.
18
+
* Docs: Fixed README optional dependency installation commands by quoting extras, removing extra spaces, and normalizing package-extra casing so shell parsing works correctly.
19
+
20
+
### Docs
21
+
22
+
* Docs: Added MkDocs site entry pages and navigation for the existing English and Chinese documentation, plus a GitHub Pages workflow so the README documentation badge can point to a published documentation site.
23
+
* Docs: Added documentation and test coverage for listing sessions across all users under an app by passing `user_id=None`.
24
+
25
+
### Internal
26
+
27
+
* CI: Added and adjusted internal pipeline test trigger files used by repository automation.
## Skill Hub - Discovering and Fetching Skills from Remote Sources
2147
+
2148
+
**Skill Hub** (`trpc_agent_sdk.skills.hub`) is a set of adapters (`SkillSource`) for discovering and fetching skills from remote sources. It provides three capabilities: searching for available skills from a source (GitHub, ClawHub, skills.sh, and others), inspecting metadata for a specific skill, and downloading the complete file contents for that skill. Users can also implement the `SkillSource` interface to integrate their own skill source.
2149
+
2150
+
### `SkillSource` Contract
2151
+
2152
+
Every adapter implements the same four-method interface:
2153
+
2154
+
```python
2155
+
from trpc_agent_sdk.skills.hub import SkillSource, SkillMeta, SkillBundle
`fetch()` only returns an in-memory `SkillBundle`. Writing it to disk (including overwrite policy, atomic writes, and concurrency safety) is the **caller's** responsibility, because different harnesses have different installation semantics. For this purpose, the SDK also exports three path validation functions:
2168
+
2169
+
```python
2170
+
from trpc_agent_sdk.skills.hub import validate_skill_name, validate_category_name, validate_bundle_rel_path
2171
+
```
2172
+
2173
+
### Built-in Adapters
2174
+
2175
+
| Adapter | Source | Identifier format |
2176
+
| --- | --- | --- |
2177
+
|`GitHubSource`| GitHub repos, via the Contents / Git Trees API |`"owner/repo/path/to/skill-dir"`|
2178
+
|`WellKnownSkillSource`| Any domain exposing `/.well-known/skills/index.json`|`well-known:{base_url}/{skill_name}` or a raw HTTPS URL |
2179
+
|`HermesIndexSource`| A centralized, pre-crawled skills catalog | Same identifiers as the underlying `GitHubSource` entries |
0 commit comments