|
|
@@ -3892,10 +3892,10 @@
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
- "/experimental/project/{projectID}/copy": {
|
|
|
+ "/experimental/project/{projectID}/copy/generate-name": {
|
|
|
"post": {
|
|
|
"tags": ["projectCopy"],
|
|
|
- "operationId": "experimental.projectCopy.create",
|
|
|
+ "operationId": "experimental.projectCopy.generateName",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "projectID",
|
|
|
@@ -3905,6 +3905,14 @@
|
|
|
},
|
|
|
"required": true
|
|
|
},
|
|
|
+ {
|
|
|
+ "name": "directory",
|
|
|
+ "in": "query",
|
|
|
+ "schema": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "required": false
|
|
|
+ },
|
|
|
{
|
|
|
"name": "workspace",
|
|
|
"in": "query",
|
|
|
@@ -3916,127 +3924,45 @@
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
- "description": "Project copy created",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/ProjectCopyCopy"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "400": {
|
|
|
- "description": "ProjectCopyError | InvalidRequestError",
|
|
|
+ "description": "Success",
|
|
|
"content": {
|
|
|
"application/json": {
|
|
|
"schema": {
|
|
|
- "anyOf": [
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/ProjectCopyError"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/InvalidRequestError"
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
}
|
|
|
- ]
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "description": "Create a local physical copy of a project using the selected strategy.",
|
|
|
- "summary": "Create project copy",
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "strategy": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["git_worktree"]
|
|
|
- },
|
|
|
- "directory": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "name": {
|
|
|
- "type": "string"
|
|
|
},
|
|
|
- "context": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["strategy", "directory"],
|
|
|
- "additionalProperties": false
|
|
|
+ "required": ["name"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- },
|
|
|
- "x-codeSamples": [
|
|
|
- {
|
|
|
- "lang": "js",
|
|
|
- "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.experimental.projectCopy.create({\n ...\n})"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "delete": {
|
|
|
- "tags": ["projectCopy"],
|
|
|
- "operationId": "experimental.projectCopy.remove",
|
|
|
- "parameters": [
|
|
|
- {
|
|
|
- "name": "projectID",
|
|
|
- "in": "path",
|
|
|
- "schema": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "required": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "workspace",
|
|
|
- "in": "query",
|
|
|
- "schema": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "required": false
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "204": {
|
|
|
- "description": "Project copy removed"
|
|
|
},
|
|
|
"400": {
|
|
|
- "description": "ProjectCopyError | InvalidRequestError",
|
|
|
+ "description": "Bad request",
|
|
|
"content": {
|
|
|
"application/json": {
|
|
|
"schema": {
|
|
|
- "anyOf": [
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/ProjectCopyError"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/InvalidRequestError"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/components/schemas/BadRequestError"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "description": "Remove a local physical copy of a project using the selected strategy.",
|
|
|
- "summary": "Remove project copy",
|
|
|
+ "description": "Generate a short name for a project copy from task context.",
|
|
|
+ "summary": "Generate project copy name",
|
|
|
"requestBody": {
|
|
|
"content": {
|
|
|
"application/json": {
|
|
|
"schema": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
- "directory": {
|
|
|
+ "context": {
|
|
|
"type": "string"
|
|
|
- },
|
|
|
- "force": {
|
|
|
- "type": "boolean"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["directory", "force"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
}
|
|
|
@@ -4045,69 +3971,7 @@
|
|
|
"x-codeSamples": [
|
|
|
{
|
|
|
"lang": "js",
|
|
|
- "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.experimental.projectCopy.remove({\n ...\n})"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
- "/experimental/project/{projectID}/copy/refresh": {
|
|
|
- "post": {
|
|
|
- "tags": ["projectCopy"],
|
|
|
- "operationId": "experimental.projectCopy.refresh",
|
|
|
- "parameters": [
|
|
|
- {
|
|
|
- "name": "projectID",
|
|
|
- "in": "path",
|
|
|
- "schema": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "required": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "directory",
|
|
|
- "in": "query",
|
|
|
- "schema": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "required": false
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "workspace",
|
|
|
- "in": "query",
|
|
|
- "schema": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "required": false
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "204": {
|
|
|
- "description": "Project copies refreshed"
|
|
|
- },
|
|
|
- "400": {
|
|
|
- "description": "ProjectCopyError | InvalidRequestError",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "anyOf": [
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/ProjectCopyError"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/InvalidRequestError"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "description": "Discover local project copies using one or all configured strategies.",
|
|
|
- "summary": "Refresh project copies",
|
|
|
- "x-codeSamples": [
|
|
|
- {
|
|
|
- "lang": "js",
|
|
|
- "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.experimental.projectCopy.refresh({\n ...\n})"
|
|
|
+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.experimental.projectCopy.generateName({\n ...\n})"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
@@ -13389,21 +13253,282 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "description": "Reject a pending question request owned by a session.",
|
|
|
- "summary": "Reject pending question request",
|
|
|
+ "description": "Reject a pending question request owned by a session.",
|
|
|
+ "summary": "Reject pending question request",
|
|
|
+ "x-codeSamples": [
|
|
|
+ {
|
|
|
+ "lang": "js",
|
|
|
+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.v2.session.question.reject({\n ...\n})"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/api/reference": {
|
|
|
+ "get": {
|
|
|
+ "tags": ["reference"],
|
|
|
+ "operationId": "v2.reference.list",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "location",
|
|
|
+ "in": "query",
|
|
|
+ "schema": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "directory": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "workspace": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "required": false,
|
|
|
+ "style": "deepObject",
|
|
|
+ "explode": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "security": [],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "Success",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "location": {
|
|
|
+ "$ref": "#/components/schemas/LocationInfo"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/ReferenceInfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["location", "data"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "400": {
|
|
|
+ "description": "InvalidRequestError",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/InvalidRequestError"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "401": {
|
|
|
+ "description": "UnauthorizedError",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/UnauthorizedError"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "description": "List references available in the requested location.",
|
|
|
+ "summary": "List references",
|
|
|
+ "x-codeSamples": [
|
|
|
+ {
|
|
|
+ "lang": "js",
|
|
|
+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.v2.reference.list({\n ...\n})"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/experimental/project/{projectID}/copy": {
|
|
|
+ "post": {
|
|
|
+ "tags": ["projectCopy"],
|
|
|
+ "operationId": "v2.projectCopy.create",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "projectID",
|
|
|
+ "in": "path",
|
|
|
+ "schema": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "location",
|
|
|
+ "in": "query",
|
|
|
+ "schema": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "directory": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "workspace": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "required": false,
|
|
|
+ "style": "deepObject",
|
|
|
+ "explode": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "ProjectCopy.Copy",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ProjectCopyCopy"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "400": {
|
|
|
+ "description": "ProjectCopyError | InvalidRequestError",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "anyOf": [
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/ProjectCopyError"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/InvalidRequestError"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "strategy": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "directory": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["strategy", "directory"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "x-codeSamples": [
|
|
|
+ {
|
|
|
+ "lang": "js",
|
|
|
+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.v2.projectCopy.create({\n ...\n})"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "delete": {
|
|
|
+ "tags": ["projectCopy"],
|
|
|
+ "operationId": "v2.projectCopy.remove",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "projectID",
|
|
|
+ "in": "path",
|
|
|
+ "schema": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "location",
|
|
|
+ "in": "query",
|
|
|
+ "schema": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "directory": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "workspace": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "required": false,
|
|
|
+ "style": "deepObject",
|
|
|
+ "explode": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "204": {
|
|
|
+ "description": "<No Content>"
|
|
|
+ },
|
|
|
+ "400": {
|
|
|
+ "description": "ProjectCopyError | InvalidRequestError",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "anyOf": [
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/ProjectCopyError"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/InvalidRequestError"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "directory": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "force": {
|
|
|
+ "type": "boolean"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["directory", "force"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"x-codeSamples": [
|
|
|
{
|
|
|
"lang": "js",
|
|
|
- "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.v2.session.question.reject({\n ...\n})"
|
|
|
+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.v2.projectCopy.remove({\n ...\n})"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
- "/api/reference": {
|
|
|
- "get": {
|
|
|
- "tags": ["reference"],
|
|
|
- "operationId": "v2.reference.list",
|
|
|
+ "/experimental/project/{projectID}/copy/refresh": {
|
|
|
+ "post": {
|
|
|
+ "tags": ["projectCopy"],
|
|
|
+ "operationId": "v2.projectCopy.refresh",
|
|
|
"parameters": [
|
|
|
+ {
|
|
|
+ "name": "projectID",
|
|
|
+ "in": "path",
|
|
|
+ "schema": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
{
|
|
|
"name": "location",
|
|
|
"in": "query",
|
|
|
@@ -13424,58 +13549,32 @@
|
|
|
"explode": true
|
|
|
}
|
|
|
],
|
|
|
- "security": [],
|
|
|
"responses": {
|
|
|
- "200": {
|
|
|
- "description": "Success",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "location": {
|
|
|
- "$ref": "#/components/schemas/LocationInfo"
|
|
|
- },
|
|
|
- "data": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/ReferenceInfo"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["location", "data"],
|
|
|
- "additionalProperties": false
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ "204": {
|
|
|
+ "description": "<No Content>"
|
|
|
},
|
|
|
"400": {
|
|
|
- "description": "InvalidRequestError",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/InvalidRequestError"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "401": {
|
|
|
- "description": "UnauthorizedError",
|
|
|
+ "description": "ProjectCopyError | InvalidRequestError",
|
|
|
"content": {
|
|
|
"application/json": {
|
|
|
"schema": {
|
|
|
- "$ref": "#/components/schemas/UnauthorizedError"
|
|
|
+ "anyOf": [
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/ProjectCopyError"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/InvalidRequestError"
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "description": "List references available in the requested location.",
|
|
|
- "summary": "List references",
|
|
|
"x-codeSamples": [
|
|
|
{
|
|
|
"lang": "js",
|
|
|
- "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.v2.reference.list({\n ...\n})"
|
|
|
+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.v2.projectCopy.refresh({\n ...\n})"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
@@ -13724,6 +13823,9 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventReferenceUpdated"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventProjectDirectoriesUpdated"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventFileWatcherUpdated"
|
|
|
},
|
|
|
@@ -13781,9 +13883,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventCommandExecuted"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/EventProjectDirectoriesUpdated"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventProjectUpdated"
|
|
|
},
|
|
|
@@ -17651,6 +17750,31 @@
|
|
|
"required": ["id", "type", "properties"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
+ {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^evt_"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["project.directories.updated"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "projectID": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["projectID"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
{
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -18265,31 +18389,6 @@
|
|
|
"required": ["id", "type", "properties"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "string",
|
|
|
- "pattern": "^evt_"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["project.directories.updated"]
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "projectID": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["projectID"],
|
|
|
- "additionalProperties": false
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["id", "type", "properties"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
{
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -21105,30 +21204,6 @@
|
|
|
"required": ["_tag", "projectID", "message"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "ProjectCopyError": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "name": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["ProjectCopyError"]
|
|
|
- },
|
|
|
- "data": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "message": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "forceRequired": {
|
|
|
- "type": "boolean"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["message"],
|
|
|
- "additionalProperties": false
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["name", "data"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
"PtyNotFoundError": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -22007,6 +22082,30 @@
|
|
|
"required": ["_tag", "providerID", "message"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
+ "ProjectCopyError": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "name": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["ProjectCopyError"]
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "forceRequired": {
|
|
|
+ "type": "boolean"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["message"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["name", "data"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
"effect_HttpApiError_Forbidden": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -25177,25 +25276,14 @@
|
|
|
"directory": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["main", "root", "git_worktree"]
|
|
|
+ "strategy": {
|
|
|
+ "type": "string"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["directory", "type"],
|
|
|
+ "required": ["directory"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
- "ProjectCopyCopy": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "directory": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["directory"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
"LocationInfo": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -26749,6 +26837,16 @@
|
|
|
"required": ["name", "path", "source"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
+ "ProjectCopyCopy": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "directory": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["directory"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
"EventModels-devRefreshed": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -29207,6 +29305,31 @@
|
|
|
"required": ["id", "type", "properties"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
+ "EventProjectDirectoriesUpdated": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^evt_"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["project.directories.updated"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "projectID": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["projectID"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
"EventFileWatcherUpdated": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -29683,31 +29806,6 @@
|
|
|
"required": ["id", "type", "properties"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "EventProjectDirectoriesUpdated": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "string",
|
|
|
- "pattern": "^evt_"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["project.directories.updated"]
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "projectID": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["projectID"],
|
|
|
- "additionalProperties": false
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["id", "type", "properties"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
"EventProjectUpdated": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -30244,7 +30342,7 @@
|
|
|
},
|
|
|
{
|
|
|
"name": "projectCopy",
|
|
|
- "description": "Project copy management routes."
|
|
|
+ "description": "Project copy naming routes."
|
|
|
},
|
|
|
{
|
|
|
"name": "pty",
|
|
|
@@ -30342,6 +30440,10 @@
|
|
|
"name": "reference",
|
|
|
"description": "Location-scoped project references."
|
|
|
},
|
|
|
+ {
|
|
|
+ "name": "projectCopy",
|
|
|
+ "description": "Project copy management routes."
|
|
|
+ },
|
|
|
{
|
|
|
"name": "pty",
|
|
|
"description": "PTY websocket route."
|