MCPcopy Index your code
hub / github.com/Waishnav/devspace / resultOutputSchema

Function resultOutputSchema

src/server.ts:211–220  ·  view source on GitHub ↗
(extra: z.ZodRawShape = {})

Source from the content-addressed store, hash-verified

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}
211function 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
222const workspaceSkillOutputSchema = z.object({
223 name: z.string(),

Callers 2

processOutputSchemaFunction · 0.85
createMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected