Inventory is now the Market
Everything the user sees says Market: the sidebar, titles, breadcrumbs, help text, messages, suggestions and the agent tool's description; the export downloads as supermarket-market.yaml. Its pages live under /market, and the old /inventory addresses redirect there (308, so a form's POST stays a POST). The YAML format (inventory:), the database and the code's names are unchanged, so exported files still import. A breadcrumb no longer repeats the page's own title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -174,7 +174,7 @@ func addTools(s *mcp.Server, d *db.DB) {
|
||||
|
||||
mcp.AddTool(s, &mcp.Tool{
|
||||
Name: "inventory_list",
|
||||
Description: "The inventory: partners (whose news we amplify), competitors (whom we position against) and projects we watch, with their accounts, keywords and talking points.",
|
||||
Description: "The Market: partners (whose news we amplify), competitors (whom we position against) and projects we watch, with their accounts, keywords and talking points.",
|
||||
}, func(ctx context.Context, _ *mcp.CallToolRequest, args inventoryArgs) (*mcp.CallToolResult, any, error) {
|
||||
entries, err := inventory.List(d, strings.ToLower(strings.TrimSpace(args.Relationship)))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user