import{Jt as e,_n as t,fn as o,ln as n,nn as a,sn as c,vn as r,yn as s}from"./vendor-all-0-fRSUBfCr.js";import{Cr as d,xr as u}from"./shared-1-3-6x7RKF.js";import{Zs as i,ac as p,nc as l,rc as h}from"./shared-5-UQAFGbWu.js";var x=function(e){return e.ReadyForContent="anthropic.claude.usercontent.sandbox.ReadyForContent",e.SetContent="anthropic.claude.usercontent.sandbox.SetContent",e.ExecuteTool="anthropic.claude.usercontent.sandbox.ToolExecutionHostToSandboxService.ExecuteTool",e.OpenExternal="anthropic.claude.usercontent.sandbox.OpenExternal",e.RenderPublicArtifact="anthropic.claude.usercontent.sandbox.RenderPublicArtifact",e.ReportPublicArtifact="anthropic.claude.usercontent.sandbox.ReportPublicArtifact",e.RenderSharedArtifact="anthropic.claude.usercontent.sandbox.RenderSharedArtifact",e}({}),b=(o({code:r()}),a("type",[o({type:c("repl"),result:i})]),{"anthropic.claude.usercontent.sandbox.ReadyForContent":{requestSchema:l.extend({method:c("anthropic.claude.usercontent.sandbox.ReadyForContent"),payload:t({"@type":c("type.googleapis.com/google.protobuf.Empty")})}),responseSchema:p},"anthropic.claude.usercontent.sandbox.SetContent":{requestSchema:l.extend({method:c("anthropic.claude.usercontent.sandbox.SetContent"),payload:t({"@type":c("type.googleapis.com/anthropic.claude.usercontent.sandbox.SandboxContent"),content:r(),type:s([n(u),n(d)]),conversation_uuid:r(),version_uuid:r().optional(),file_path:r().optional()})}),responseSchema:p,alwaysPermitted:!1},"anthropic.claude.usercontent.sandbox.ToolExecutionHostToSandboxService.ExecuteTool":{requestSchema:l.extend({method:c("anthropic.claude.usercontent.sandbox.ToolExecutionHostToSandboxService.ExecuteTool"),payload:t({"@type":c("type.googleapis.com/anthropic.claude.usercontent.sandbox.ExecuteToolRequest"),name:r(),input:r(),tool_id:r(),conversation_uuid:r()})}),responseSchema:h.extend({payload:t({"@type":c("type.googleapis.com/anthropic.claude.usercontent.sandbox.ExecuteToolResponse"),tool_id:r(),status:e(["SUCCESS","ERROR"]),error:r().optional()})})},"anthropic.claude.usercontent.sandbox.OpenExternal":{requestSchema:l.extend({method:c("anthropic.claude.usercontent.sandbox.OpenExternal"),payload:t({"@type":c("type.googleapis.com/anthropic.claude.usercontent.sandbox.OpenExternal"),href:r()})}),responseSchema:p},"anthropic.claude.usercontent.sandbox.RenderPublicArtifact":{requestSchema:l.extend({method:c("anthropic.claude.usercontent.sandbox.RenderPublicArtifact"),payload:t({"@type":c("type.googleapis.com/anthropic.claude.usercontent.sandbox.RenderPublicArtifactRequest"),uuid:r()})}),responseSchema:h.extend({payload:t({"@type":c("type.googleapis.com/anthropic.claude.usercontent.sandbox.RenderPublicArtifactResponse"),status:e(["SUCCESS","ERROR"]),error:r().optional()})}),alwaysPermitted:!1},"anthropic.claude.usercontent.sandbox.ReportPublicArtifact":{requestSchema:l.extend({method:c("anthropic.claude.usercontent.sandbox.ReportPublicArtifact"),payload:t({"@type":c("type.googleapis.com/google.protobuf.Empty")})}),responseSchema:p},"anthropic.claude.usercontent.sandbox.RenderSharedArtifact":{requestSchema:l.extend({method:c("anthropic.claude.usercontent.sandbox.RenderSharedArtifact"),payload:t({"@type":c("type.googleapis.com/anthropic.claude.usercontent.sandbox.RenderSharedArtifactRequest"),uuid:r()})}),responseSchema:h.extend({payload:t({"@type":c("type.googleapis.com/anthropic.claude.usercontent.sandbox.RenderSharedArtifactResponse"),status:e(["SUCCESS","ERROR"]),error:r().optional()})}),alwaysPermitted:!1}}),S=(e(["anthropic.claude.usercontent.sandbox.ReadyForContent","anthropic.claude.usercontent.sandbox.OpenExternal"]),a("method",[b["anthropic.claude.usercontent.sandbox.ReadyForContent"].requestSchema]),p),m=e(["anthropic.claude.usercontent.sandbox.ToolExecutionHostToSandboxService.ExecuteTool","anthropic.claude.usercontent.sandbox.SetContent","anthropic.claude.usercontent.sandbox.RenderPublicArtifact","anthropic.claude.usercontent.sandbox.ReportPublicArtifact","anthropic.claude.usercontent.sandbox.RenderSharedArtifact"]),y=a("method",[b["anthropic.claude.usercontent.sandbox.ToolExecutionHostToSandboxService.ExecuteTool"].requestSchema,b["anthropic.claude.usercontent.sandbox.SetContent"].requestSchema,b["anthropic.claude.usercontent.sandbox.OpenExternal"].requestSchema,b["anthropic.claude.usercontent.sandbox.RenderPublicArtifact"].requestSchema,b["anthropic.claude.usercontent.sandbox.ReportPublicArtifact"].requestSchema,b["anthropic.claude.usercontent.sandbox.RenderSharedArtifact"].requestSchema]);s([b["anthropic.claude.usercontent.sandbox.ToolExecutionHostToSandboxService.ExecuteTool"].responseSchema,b["anthropic.claude.usercontent.sandbox.SetContent"].responseSchema,b["anthropic.claude.usercontent.sandbox.RenderPublicArtifact"].responseSchema,b["anthropic.claude.usercontent.sandbox.RenderSharedArtifact"].responseSchema]);export{S as i,m as n,y as r,x as t};