Clarify plugin authoring and external dev workflow
This commit is contained in:
@@ -61,15 +61,11 @@ const OPERATION_CAPABILITIES: Record<string, readonly PluginCapability[]> = {
|
||||
"activity.get": ["activity.read"],
|
||||
"costs.list": ["costs.read"],
|
||||
"costs.get": ["costs.read"],
|
||||
"assets.list": ["assets.read"],
|
||||
"assets.get": ["assets.read"],
|
||||
|
||||
// Data write operations
|
||||
"issues.create": ["issues.create"],
|
||||
"issues.update": ["issues.update"],
|
||||
"issue.comments.create": ["issue.comments.create"],
|
||||
"assets.upload": ["assets.write"],
|
||||
"assets.delete": ["assets.write"],
|
||||
"activity.log": ["activity.log.write"],
|
||||
"metrics.write": ["metrics.write"],
|
||||
|
||||
|
||||
@@ -582,17 +582,6 @@ export function buildHostServices(
|
||||
},
|
||||
},
|
||||
|
||||
assets: {
|
||||
async upload(params) {
|
||||
void params;
|
||||
throw new Error("Plugin asset uploads are not supported in this build.");
|
||||
},
|
||||
async getUrl(params) {
|
||||
void params;
|
||||
throw new Error("Plugin asset URLs are not supported in this build.");
|
||||
},
|
||||
},
|
||||
|
||||
activity: {
|
||||
async log(params) {
|
||||
const companyId = ensureCompanyId(params.companyId);
|
||||
|
||||
Reference in New Issue
Block a user