MCPcopy Create free account
hub / github.com/compozy/agh / nativeResolvedNetworkWorkspaceID

Function nativeResolvedNetworkWorkspaceID

internal/daemon/native_tools.go:4958–4967  ·  view source on GitHub ↗
(resolved *workspacepkg.ResolvedWorkspace)

Source from the content-addressed store, hash-verified

4956}
4957
4958func nativeResolvedNetworkWorkspaceID(resolved *workspacepkg.ResolvedWorkspace) (string, error) {
4959 if resolved == nil {
4960 return "", errors.New("daemon: resolved workspace is required")
4961 }
4962 workspaceID := strings.TrimSpace(resolved.WorkspaceID)
4963 if workspaceID == "" {
4964 return "", errors.New("daemon: resolved workspace_id is empty")
4965 }
4966 return workspaceID, nil
4967}
4968
4969func nativeResolvedRegistryWorkspaceID(resolved *workspacepkg.ResolvedWorkspace) (string, error) {
4970 if resolved == nil {

Callers 3

networkSendMethod · 0.85
workspaceDescribeMethod · 0.85
authoredAgentTargetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected