54c1befd1ac95aab8c80c7e2e400a90d01849237
angie
  Fri Jan 9 16:41:47 2015 -0800
New CGI hgAi (Annotation Integrator) that uses new ReactJS/ImmutableJS framework.hgAi.c has three modes of operation:
- HTML output for simple main page with a <div> container to be filled in by javascript
- JSON responses to ajax requests from javascript (using hg/lib/cartJson.c)
- text output for queries on track data

hgAi.jsx is the React/JSX UI view code, compiled to bundle/reactHgAi.js.
hgAiModel.js is a subclass of js/model/lib/ImModel.js that gets initial state
from the server and then responds to user actions.

diff --git src/hg/inc/hCommon.h src/hg/inc/hCommon.h
index 7c0b6dc..59ce675 100644
--- src/hg/inc/hCommon.h
+++ src/hg/inc/hCommon.h
@@ -34,30 +34,33 @@
 char *hgCustomName();
 /* Relative URL to custom tracks manager. */
 
 char *hgHubConnectName();
 /* Relative URL to track hub manager. */
 
 char *hgSessionName();
 /* Relative URL to session manager. */
 
 char *hgPalName();
 /* Relative URL to click processing program. */
 
 char *hgVarAnnogratorName();
 /* Relative URL to variant annotation integrator program. */
 
+char *hgAiName();
+/* Relative URL to annotation integrator program. */
+
 void fragToCloneName(char *fragName, char cloneName[128]);
 /* Convert fragment name to clone name. */
 
 void fragToCloneVerName(char *fragName, char cloneVerName[128]);
 /* Convert fragment name to clone.version name. */
 
 void recNameToFileName(char *dir, char *recName, char *fileName, char *suffix);
 /* Convert UCSC style fragment name to name of file for a clone. */
 
 void faRecNameToFaFileName(char *dir, char *recName, char *fileName);
 /* Convert fa record name to file name. */
 
 void faRecNameToQacFileName(char *dir, char *recName, char *fileName);
 /* Convert fa record name to file name. */