Clarify plugin authoring and external dev workflow

This commit is contained in:
Dotta
2026-03-14 10:40:21 -05:00
parent cb5d7e76fb
commit 30888759f2
36 changed files with 693 additions and 410 deletions

View File

@@ -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"],

View File

@@ -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);