@devpad/mcp 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +32 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10166,7 +10166,7 @@ var coerce = {
|
|
|
10166
10166
|
date: (arg) => ZodDate.create({ ...arg, coerce: true })
|
|
10167
10167
|
};
|
|
10168
10168
|
var NEVER = INVALID;
|
|
10169
|
-
// ../api/dist/chunk-
|
|
10169
|
+
// ../api/dist/chunk-XGQQPYSB.js
|
|
10170
10170
|
var ArrayBufferedQueue = class {
|
|
10171
10171
|
constructor(_capacity) {
|
|
10172
10172
|
this._capacity = _capacity;
|
|
@@ -10222,7 +10222,8 @@ var upsert_project = exports_external.object({
|
|
|
10222
10222
|
link_url: exports_external.string().nullable(),
|
|
10223
10223
|
link_text: exports_external.string().nullable(),
|
|
10224
10224
|
visibility: exports_external.union([exports_external.literal("PUBLIC"), exports_external.literal("PRIVATE"), exports_external.literal("HIDDEN"), exports_external.literal("ARCHIVED"), exports_external.literal("DRAFT"), exports_external.literal("DELETED")]).optional(),
|
|
10225
|
-
current_version: exports_external.string().nullable()
|
|
10225
|
+
current_version: exports_external.string().nullable(),
|
|
10226
|
+
force: exports_external.boolean().optional().describe("Override protection on user-modified entities")
|
|
10226
10227
|
});
|
|
10227
10228
|
var upsert_todo = exports_external.object({
|
|
10228
10229
|
id: exports_external.string().optional().nullable(),
|
|
@@ -10236,7 +10237,8 @@ var upsert_todo = exports_external.object({
|
|
|
10236
10237
|
priority: exports_external.union([exports_external.literal("LOW"), exports_external.literal("MEDIUM"), exports_external.literal("HIGH")]).optional(),
|
|
10237
10238
|
owner_id: exports_external.string(),
|
|
10238
10239
|
project_id: exports_external.string().optional().nullable(),
|
|
10239
|
-
goal_id: exports_external.string().optional().nullable()
|
|
10240
|
+
goal_id: exports_external.string().optional().nullable(),
|
|
10241
|
+
force: exports_external.boolean().optional().describe("Override protection on user-modified entities")
|
|
10240
10242
|
});
|
|
10241
10243
|
var update_action = exports_external.union([exports_external.literal("CONFIRM"), exports_external.literal("UNLINK"), exports_external.literal("CREATE"), exports_external.literal("IGNORE"), exports_external.literal("DELETE"), exports_external.literal("COMPLETE")]);
|
|
10242
10244
|
var ConfigSchema = exports_external.object({
|
|
@@ -10289,7 +10291,8 @@ var upsert_milestone = exports_external.object({
|
|
|
10289
10291
|
target_time: exports_external.string().nullable().optional(),
|
|
10290
10292
|
target_version: exports_external.string().nullable().optional(),
|
|
10291
10293
|
finished_at: exports_external.string().nullable().optional(),
|
|
10292
|
-
after_id: exports_external.string().nullable().optional()
|
|
10294
|
+
after_id: exports_external.string().nullable().optional(),
|
|
10295
|
+
force: exports_external.boolean().optional().describe("Override protection on user-modified entities")
|
|
10293
10296
|
});
|
|
10294
10297
|
var upsert_goal = exports_external.object({
|
|
10295
10298
|
id: exports_external.string().optional().nullable(),
|
|
@@ -10297,7 +10300,8 @@ var upsert_goal = exports_external.object({
|
|
|
10297
10300
|
name: exports_external.string().min(1).max(200),
|
|
10298
10301
|
description: exports_external.string().nullable().optional(),
|
|
10299
10302
|
target_time: exports_external.string().nullable().optional(),
|
|
10300
|
-
finished_at: exports_external.string().nullable().optional()
|
|
10303
|
+
finished_at: exports_external.string().nullable().optional(),
|
|
10304
|
+
force: exports_external.boolean().optional().describe("Override protection on user-modified entities")
|
|
10301
10305
|
});
|
|
10302
10306
|
|
|
10303
10307
|
// ../../node_modules/@f0rbit/corpus/dist/types.js
|
|
@@ -12332,6 +12336,16 @@ var ApiClient2 = class {
|
|
|
12332
12336
|
}))
|
|
12333
12337
|
}
|
|
12334
12338
|
};
|
|
12339
|
+
this.activity = {
|
|
12340
|
+
ai: (options2) => wrap(() => {
|
|
12341
|
+
const query = {};
|
|
12342
|
+
if (options2?.limit)
|
|
12343
|
+
query.limit = String(options2.limit);
|
|
12344
|
+
if (options2?.since)
|
|
12345
|
+
query.since = options2.since;
|
|
12346
|
+
return this.clients.projects.get("/activity/ai", Object.keys(query).length ? { query } : {});
|
|
12347
|
+
})
|
|
12348
|
+
};
|
|
12335
12349
|
this.user = {
|
|
12336
12350
|
history: () => wrap(() => this.clients.auth.get("/user/history")),
|
|
12337
12351
|
preferences: (data) => wrap(() => this.clients.auth.patch("/user/preferences", { body: data }))
|
|
@@ -12425,7 +12439,7 @@ var tools = {
|
|
|
12425
12439
|
},
|
|
12426
12440
|
devpad_projects_upsert: {
|
|
12427
12441
|
name: "devpad_projects_upsert",
|
|
12428
|
-
description: "Create or update a project (set deleted=true to delete)",
|
|
12442
|
+
description: "Create or update a project (set deleted=true to delete). Returns 409 if entity is protected by user - pass force=true to override.",
|
|
12429
12443
|
inputSchema: upsert_project,
|
|
12430
12444
|
execute: async (client, input) => unwrap2(await client.projects.upsert(input))
|
|
12431
12445
|
},
|
|
@@ -12452,7 +12466,7 @@ var tools = {
|
|
|
12452
12466
|
},
|
|
12453
12467
|
devpad_tasks_upsert: {
|
|
12454
12468
|
name: "devpad_tasks_upsert",
|
|
12455
|
-
description: "Create or update a task (set deleted=true to delete)",
|
|
12469
|
+
description: "Create or update a task (set deleted=true to delete). Returns 409 if entity is protected by user - pass force=true to override.",
|
|
12456
12470
|
inputSchema: upsert_todo,
|
|
12457
12471
|
execute: async (client, input) => unwrap2(await client.tasks.upsert(input))
|
|
12458
12472
|
},
|
|
@@ -12479,7 +12493,7 @@ var tools = {
|
|
|
12479
12493
|
},
|
|
12480
12494
|
devpad_milestones_upsert: {
|
|
12481
12495
|
name: "devpad_milestones_upsert",
|
|
12482
|
-
description: "Create or update a milestone",
|
|
12496
|
+
description: "Create or update a milestone. Returns 409 if entity is protected by user - pass force=true to override.",
|
|
12483
12497
|
inputSchema: upsert_milestone,
|
|
12484
12498
|
execute: async (client, input) => unwrap2(input.id ? await client.milestones.update(input.id, {
|
|
12485
12499
|
name: input.name,
|
|
@@ -12508,7 +12522,7 @@ var tools = {
|
|
|
12508
12522
|
},
|
|
12509
12523
|
devpad_goals_upsert: {
|
|
12510
12524
|
name: "devpad_goals_upsert",
|
|
12511
|
-
description: "Create or update a goal",
|
|
12525
|
+
description: "Create or update a goal. Returns 409 if entity is protected by user - pass force=true to override.",
|
|
12512
12526
|
inputSchema: upsert_goal,
|
|
12513
12527
|
execute: async (client, input) => unwrap2(input.id ? await client.goals.update(input.id, {
|
|
12514
12528
|
name: input.name,
|
|
@@ -12638,6 +12652,15 @@ var tools = {
|
|
|
12638
12652
|
}),
|
|
12639
12653
|
execute: async (client, input) => unwrap2(await client.user.preferences(input))
|
|
12640
12654
|
},
|
|
12655
|
+
devpad_activity_ai: {
|
|
12656
|
+
name: "devpad_activity_ai",
|
|
12657
|
+
description: "Get AI activity feed - shows recent actions made via API/MCP grouped into sessions by time window",
|
|
12658
|
+
inputSchema: exports_external.object({
|
|
12659
|
+
limit: exports_external.number().optional().describe("Max sessions to return (default 20)"),
|
|
12660
|
+
since: exports_external.string().optional().describe("Only show activity after this ISO date")
|
|
12661
|
+
}),
|
|
12662
|
+
execute: async (client, input) => unwrap2(await client.activity.ai(input))
|
|
12663
|
+
},
|
|
12641
12664
|
devpad_blog_posts_list: {
|
|
12642
12665
|
name: "devpad_blog_posts_list",
|
|
12643
12666
|
description: "List blog posts with optional filters",
|