full initial implementation

This commit is contained in:
Shivering Ocelot committed 2026-09-03 23:43:33 -05:00
1 parent 65fc75e509
commit d9d9b7f463
15 files changed
+799 -4

No files matched your search

@@ -0,0 +1,16 @@
export const spec = {
name: 'clone_space',
description: 'Clone a git repository or an existing space into a new space.',
parameters: {
type: 'object',
properties: {
source: { type: 'string', description: 'Name of an existing space, or a git URL to clone.' },
name: { type: 'string', description: 'Optional name for the new space (required when cloning an existing space).' },
},
required: ['source'],
},
};
export default async function (args, ctx) {
return await ctx.api.cloneSpace(args.source, args.name);
}