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

Function nativeResolvedRegistryWorkspaceID

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

Source from the content-addressed store, hash-verified

4967}
4968
4969func nativeResolvedRegistryWorkspaceID(resolved *workspacepkg.ResolvedWorkspace) (string, error) {
4970 if resolved == nil {
4971 return "", errors.New("daemon: resolved workspace is required")
4972 }
4973 workspaceID := strings.TrimSpace(resolved.ID)
4974 if workspaceID == "" {
4975 return "", errors.New("daemon: resolved workspace registry id is empty")
4976 }
4977 return workspaceID, nil
4978}
4979
4980func (n *daemonNativeTools) requireNativeSessionWorkspace(
4981 ctx context.Context,

Callers 9

hooksRunsMethod · 0.85
networkInboxMethod · 0.85
networkSendMethod · 0.85
sessionStatusMethod · 0.85
sessionHealthMethod · 0.85
sessionEventsMethod · 0.85
sessionHistoryMethod · 0.85
sessionDescribeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected