(extra: z.ZodRawShape = {})
| 209 | return `Use DevSpace as a local coding workspace. Call ${toolNames.openWorkspace} once per project folder or worktree to obtain a workspaceId. Reuse that same workspaceId for all later file, search, edit, write, show-changes, and shell tools in that folder; do not call ${toolNames.openWorkspace} again unless switching folders/worktrees, changing checkout/worktree mode, the workspaceId is rejected as unknown, or the user explicitly asks to reopen. ${agentsMd}${skills}${inspection}Prefer ${toolNames.edit} for targeted modifications, ${toolNames.write} only for new files or complete rewrites, and ${toolNames.shell} for tests, builds, git inspection, package scripts, and commands that are better executed by the shell. Do not create or modify files with ${toolNames.shell}; avoid shell redirection, heredocs, tee, sed -i, perl -i, node/python/ruby scripts, or any command whose purpose is to write project files.${showChanges}`; |
| 210 | } |
| 211 | function resultOutputSchema(extra: z.ZodRawShape = {}): z.ZodRawShape { |
| 212 | return { |
| 213 | result: z |
| 214 | .string() |
| 215 | .describe( |
| 216 | "Model-readable result text for follow-up reasoning and plain MCP hosts.", |
| 217 | ), |
| 218 | ...extra, |
| 219 | }; |
| 220 | } |
| 221 | |
| 222 | const workspaceSkillOutputSchema = z.object({ |
| 223 | name: z.string(), |
no outgoing calls
no test coverage detected