Phase 14, part 1: plans, each team's account, and their limits
The multi-tenant edition's plans (Free and Paid as decided, or a plans file) and each team's billing account, with a 14-day trial of Paid. A team's plan caps what its people and agents may change: modules outside it stay readable, a lapsed team changes nothing, and agents, Market entries, crawls and background jobs keep to it. Without a Stripe key, no billing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -690,6 +690,11 @@ func (s *Server) marketActTools(srv *mcp.Server, c *mcpserver.Caller) {
|
||||
e.ID, action = old.ID, "changed"
|
||||
}
|
||||
}
|
||||
if action == "added" {
|
||||
if err := s.limitSources(len(list)); err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
}
|
||||
if err := inventory.Save(s.DB, &e); err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user