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

Function agentCommandSessionRecord

internal/cli/agent_kernel_test.go:795–809  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

793}
794
795func agentCommandSessionRecord() SessionRecord {
796 return SessionRecord{
797 ID: "sess-agent",
798 Name: "worker",
799 AgentName: "coder",
800 Provider: "test-provider",
801 WorkspaceID: "ws-1",
802 WorkspacePath: "/workspace/project",
803 Channel: "builders",
804 Type: session.SessionTypeUser,
805 State: session.StateActive,
806 CreatedAt: fixedTestNow,
807 UpdatedAt: fixedTestNow,
808 }
809}
810
811func assertAgentCredentials(t *testing.T, credentials agentidentity.Credentials) {
812 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected