Skip to content

Commit 1d8019b

Browse files
committed
add instructions to inventory
1 parent abffbf5 commit 1d8019b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/inventory/registry.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ type Inventory struct {
5858
filters []ToolFilter
5959
// unrecognizedToolsets holds toolset IDs that were requested but don't match any registered toolsets
6060
unrecognizedToolsets []string
61+
// server instructions hold high-lelvel instructions for agents to use the server effectively
62+
instructions string
6163
}
6264

6365
// UnrecognizedToolsets returns toolset IDs that were passed to WithToolsets but don't
@@ -292,3 +294,7 @@ func (r *Inventory) AvailableToolsets(exclude ...ToolsetID) []ToolsetMetadata {
292294
}
293295
return result
294296
}
297+
298+
func (r *Inventory) Instructions() string {
299+
return r.instructions
300+
}

0 commit comments

Comments
 (0)