MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / publish

Function publish

cli/src/utils/codebuff-api.ts:525–534  ·  view source on GitHub ↗
(
      data: Record<string, unknown>[],
      allLocalAgentIds?: string[],
    )

Source from the content-addressed store, hash-verified

523 },
524
525 publish(
526 data: Record<string, unknown>[],
527 allLocalAgentIds?: string[],
528 ): Promise<ApiResponse<PublishAgentsResponse>> {
529 // Auth is sent via Authorization header (includeAuth defaults to true)
530 return request<PublishAgentsResponse>('POST', '/api/agents/publish', {
531 data,
532 allLocalAgentIds,
533 })
534 },
535
536 logout(req: LogoutRequest = {}): Promise<ApiResponse<void>> {
537 // Auth is sent via Authorization header (includeAuth defaults to true)

Callers

nothing calls this directly

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected