mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 04:14:30 +00:00
feat(operations): add create_project operation across agent, mcp, and cli (#529)
* feat(operations): add create_project operation across agent, mcp, and cli * fix(api): remove legacy team creation endpoint * fix(api): preserve ProjectInfo response on POST /teams/:teamId/projects
This commit is contained in:
@@ -23,6 +23,7 @@ describe('operation registry', () => {
|
||||
'create_comment',
|
||||
'create_file',
|
||||
'create_folder',
|
||||
'create_project',
|
||||
'create_version',
|
||||
'create_version_stack',
|
||||
'delete_asset',
|
||||
@@ -122,6 +123,7 @@ describe('operation registry', () => {
|
||||
.filter((d) => d.cli)
|
||||
.map((d) => [d.name, [...(d.cli?.command ?? []), ...(d.cli?.aliases ?? [])]])
|
||||
expect(commands).toEqual([
|
||||
['create_project', ['project', 'create']],
|
||||
['list_projects', ['project', 'ls']],
|
||||
['list_assets', ['ls']],
|
||||
['search_assets', ['search']],
|
||||
|
||||
Reference in New Issue
Block a user