first commit

This commit is contained in:
ray zhou
2026-05-21 18:16:26 +08:00
commit 033aa0ae69
324 changed files with 24705 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{
"name": "create_project",
"description": "Create a new project at the given path. Creates the directory if it does not exist and initializes a git repository. Use this to bootstrap a new project before moving the agent to it with move_agent_to_root.",
"arguments": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"path": {
"description": "Absolute path where the new project should be created (e.g. \"/Users/name/projects/my-new-app\")",
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
}
}

View File

@@ -0,0 +1,41 @@
{
"name": "move_agent_to_cloned_root",
"description": "Move the current agent to a root workspace directory that is a verbatim clone of the current workspace (for example produced by `cursorfs-clone`) and is already on the agent's recorded branch. Skips the migration-path `git fetch` and ff-merge that `move_agent_to_root` performs. Use ONLY when you already know the target is a sibling clone of the current workspace on the same branch; otherwise use `move_agent_to_root`.",
"arguments": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"rootPath": {
"description": "Absolute path to the directory that should become the agent root workspace (e.g. \"/Users/name/projects/my-app\")",
"type": "string",
"minLength": 1
}
},
"required": [
"rootPath"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"rootPaths": {
"description": "Array of absolute paths used to create/switch to a multi-root workspace.",
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"rootPaths"
],
"additionalProperties": false
}
]
}
}

View File

@@ -0,0 +1,41 @@
{
"name": "move_agent_to_root",
"description": "Move the current agent to a new root workspace directory. Use this after creating a worktree or whenever the conversation should continue from a different workspace root.",
"arguments": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"rootPath": {
"description": "Absolute path to the directory that should become the agent root workspace (e.g. \"/Users/name/projects/my-app\")",
"type": "string",
"minLength": 1
}
},
"required": [
"rootPath"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"rootPaths": {
"description": "Array of absolute paths used to create/switch to a multi-root workspace.",
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"rootPaths"
],
"additionalProperties": false
}
]
}
}