overlord-cli 0.2607201427.0 → 0.2607231225.0
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/connectors/adapters/antigravity/scripts/overlord-mcp.mjs +29 -0
- package/dist/connectors/adapters/codex/scripts/overlord-mcp.mjs +29 -0
- package/dist/connectors/adapters/cursor/scripts/overlord-mcp.mjs +29 -0
- package/dist/index.js +249 -216
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
|
@@ -89,6 +89,23 @@ const tools = [
|
|
|
89
89
|
)
|
|
90
90
|
})
|
|
91
91
|
},
|
|
92
|
+
{
|
|
93
|
+
name: 'overlord_create_project',
|
|
94
|
+
title: 'Create Overlord project',
|
|
95
|
+
description:
|
|
96
|
+
'Create a new Overlord project. If the caller belongs to more than one workspace and none is given, returns a workspace_selection_required result listing the workspaces for the user to choose.',
|
|
97
|
+
inputSchema: objectSchema(
|
|
98
|
+
{
|
|
99
|
+
name: stringProperty('New project name.'),
|
|
100
|
+
workspaceId: stringProperty(
|
|
101
|
+
'Workspace to create the project in (id, slug, or name). Required only when the caller belongs to multiple workspaces.'
|
|
102
|
+
),
|
|
103
|
+
description: stringProperty('Optional project description.'),
|
|
104
|
+
slug: stringProperty('Optional project slug; defaults to a slug derived from the name.')
|
|
105
|
+
},
|
|
106
|
+
['name']
|
|
107
|
+
)
|
|
108
|
+
},
|
|
92
109
|
{
|
|
93
110
|
name: 'overlord_search_missions',
|
|
94
111
|
title: 'Search Overlord missions',
|
|
@@ -240,6 +257,18 @@ function callOverlordTool(name, args) {
|
|
|
240
257
|
...(optionalString(args, 'directory') ? { directory: requiredString(args, 'directory') } : {})
|
|
241
258
|
});
|
|
242
259
|
}
|
|
260
|
+
if (name === 'overlord_create_project') {
|
|
261
|
+
return runProtocol('create-project', {
|
|
262
|
+
name: requiredString(args, 'name'),
|
|
263
|
+
...(optionalString(args, 'workspaceId')
|
|
264
|
+
? { 'workspace-id': requiredString(args, 'workspaceId') }
|
|
265
|
+
: {}),
|
|
266
|
+
...(optionalString(args, 'description')
|
|
267
|
+
? { description: requiredString(args, 'description') }
|
|
268
|
+
: {}),
|
|
269
|
+
...(optionalString(args, 'slug') ? { slug: requiredString(args, 'slug') } : {})
|
|
270
|
+
});
|
|
271
|
+
}
|
|
243
272
|
if (name === 'overlord_search_missions') {
|
|
244
273
|
return runProtocol('search-missions', {
|
|
245
274
|
...(optionalString(args, 'query') ? { query: requiredString(args, 'query') } : {}),
|
|
@@ -89,6 +89,23 @@ const tools = [
|
|
|
89
89
|
)
|
|
90
90
|
})
|
|
91
91
|
},
|
|
92
|
+
{
|
|
93
|
+
name: 'overlord_create_project',
|
|
94
|
+
title: 'Create Overlord project',
|
|
95
|
+
description:
|
|
96
|
+
'Create a new Overlord project. If the caller belongs to more than one workspace and none is given, returns a workspace_selection_required result listing the workspaces for the user to choose.',
|
|
97
|
+
inputSchema: objectSchema(
|
|
98
|
+
{
|
|
99
|
+
name: stringProperty('New project name.'),
|
|
100
|
+
workspaceId: stringProperty(
|
|
101
|
+
'Workspace to create the project in (id, slug, or name). Required only when the caller belongs to multiple workspaces.'
|
|
102
|
+
),
|
|
103
|
+
description: stringProperty('Optional project description.'),
|
|
104
|
+
slug: stringProperty('Optional project slug; defaults to a slug derived from the name.')
|
|
105
|
+
},
|
|
106
|
+
['name']
|
|
107
|
+
)
|
|
108
|
+
},
|
|
92
109
|
{
|
|
93
110
|
name: 'overlord_search_missions',
|
|
94
111
|
title: 'Search Overlord missions',
|
|
@@ -240,6 +257,18 @@ function callOverlordTool(name, args) {
|
|
|
240
257
|
...(optionalString(args, 'directory') ? { directory: requiredString(args, 'directory') } : {})
|
|
241
258
|
});
|
|
242
259
|
}
|
|
260
|
+
if (name === 'overlord_create_project') {
|
|
261
|
+
return runProtocol('create-project', {
|
|
262
|
+
name: requiredString(args, 'name'),
|
|
263
|
+
...(optionalString(args, 'workspaceId')
|
|
264
|
+
? { 'workspace-id': requiredString(args, 'workspaceId') }
|
|
265
|
+
: {}),
|
|
266
|
+
...(optionalString(args, 'description')
|
|
267
|
+
? { description: requiredString(args, 'description') }
|
|
268
|
+
: {}),
|
|
269
|
+
...(optionalString(args, 'slug') ? { slug: requiredString(args, 'slug') } : {})
|
|
270
|
+
});
|
|
271
|
+
}
|
|
243
272
|
if (name === 'overlord_search_missions') {
|
|
244
273
|
return runProtocol('search-missions', {
|
|
245
274
|
...(optionalString(args, 'query') ? { query: requiredString(args, 'query') } : {}),
|
|
@@ -89,6 +89,23 @@ const tools = [
|
|
|
89
89
|
)
|
|
90
90
|
})
|
|
91
91
|
},
|
|
92
|
+
{
|
|
93
|
+
name: 'overlord_create_project',
|
|
94
|
+
title: 'Create Overlord project',
|
|
95
|
+
description:
|
|
96
|
+
'Create a new Overlord project. If the caller belongs to more than one workspace and none is given, returns a workspace_selection_required result listing the workspaces for the user to choose.',
|
|
97
|
+
inputSchema: objectSchema(
|
|
98
|
+
{
|
|
99
|
+
name: stringProperty('New project name.'),
|
|
100
|
+
workspaceId: stringProperty(
|
|
101
|
+
'Workspace to create the project in (id, slug, or name). Required only when the caller belongs to multiple workspaces.'
|
|
102
|
+
),
|
|
103
|
+
description: stringProperty('Optional project description.'),
|
|
104
|
+
slug: stringProperty('Optional project slug; defaults to a slug derived from the name.')
|
|
105
|
+
},
|
|
106
|
+
['name']
|
|
107
|
+
)
|
|
108
|
+
},
|
|
92
109
|
{
|
|
93
110
|
name: 'overlord_search_missions',
|
|
94
111
|
title: 'Search Overlord missions',
|
|
@@ -240,6 +257,18 @@ function callOverlordTool(name, args) {
|
|
|
240
257
|
...(optionalString(args, 'directory') ? { directory: requiredString(args, 'directory') } : {})
|
|
241
258
|
});
|
|
242
259
|
}
|
|
260
|
+
if (name === 'overlord_create_project') {
|
|
261
|
+
return runProtocol('create-project', {
|
|
262
|
+
name: requiredString(args, 'name'),
|
|
263
|
+
...(optionalString(args, 'workspaceId')
|
|
264
|
+
? { 'workspace-id': requiredString(args, 'workspaceId') }
|
|
265
|
+
: {}),
|
|
266
|
+
...(optionalString(args, 'description')
|
|
267
|
+
? { description: requiredString(args, 'description') }
|
|
268
|
+
: {}),
|
|
269
|
+
...(optionalString(args, 'slug') ? { slug: requiredString(args, 'slug') } : {})
|
|
270
|
+
});
|
|
271
|
+
}
|
|
243
272
|
if (name === 'overlord_search_missions') {
|
|
244
273
|
return runProtocol('search-missions', {
|
|
245
274
|
...(optionalString(args, 'query') ? { query: requiredString(args, 'query') } : {}),
|