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
feat(daemon): team resource sharing + copy red-line guard
Shares design systems, plugins, and skills to the team through the resource hub
via a kind-parametrized share service and per-kind routes
(/api/workspace/{design-systems,plugins,skills}/{team,:id/share}), and enforces
the team-resource copy red-line (a frozen team resource can't be copied to
personal) at the plugin-duplicate and skill-edit escape routes. Wires all the
collab + sharing routes together in the server. Verified against a local
resource-hub fixture: owner shares -> member pulls byte-identical, per kind.
app.get('/api/plugins/:id',async(req,res)=>{try{constplugin=plugins.getInstalledPlugin(db,req.params.id);if(!plugin)returnres.status(404).json({error: 'plugin not found'});res.json(plugin);}catch(err){res.status(500).json({error: String(err)});}});
0 commit comments