Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

10.2 KB
Raw Blame
.market-page {
  position: relative;
  height: 100%;
  background: var(--background);
}
.market-scroll {
  height: 100%;
  overflow-y: auto;
}
.market-page-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px 36px;
  max-width: 860px;
  margin: 0 auto;
}
.market-close {
  position: absolute;
  top: 8px;
  right: 8px;
}
.market-installed-body {
  flex: 1;
  min-height: 0;
}
.market-empty {
  padding: 40px 0;
  text-align: center;
}

/* Installed ⇄ page: slides like `.move(edge:)` + opacity. The base page sizes the stack (so a
   card that fits its content fits it) and the page on top takes the same box. */
.market-stack {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--background);
}
.market-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--layout), opacity var(--layout);
}
.market-layer:first-child {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}
.market-layer.off-leading {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.market-layer.off-trailing {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.market-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 38px;
  background: var(--bubble-agent);
  border-radius: var(--radius-m);
}
.market-search input {
  flex: 1;
  min-width: 0;
}
.market-search-clear {
  display: flex;
  color: var(--tertiary);
}

.market-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.market-section-title {
  padding-left: 4px;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 10px;
  row-gap: 4px;
}

/* Node.js missing for some agents: one filled row above the grid (no border on a fill). */
.node-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-m);
  background: var(--bubble-agent);
}

.agent-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-m);
  min-width: 0;
  background: transparent;
  transition: background-color var(--hover), transform var(--press);
}
.agent-card:hover {
  background: color-mix(in srgb, var(--bubble-agent) 80%, transparent);
}
.agent-card:active {
  transform: scale(0.98);
}
.agent-card-line {
  max-width: 100%;
}

/* An agent's registry logo on a rounded tile; size and radius come from the caller. */
.agent-tile {
  flex: none;
  display: grid;
  place-items: center;
  background: var(--bubble-agent);
  color: var(--text);
}

.market-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-l);
  min-width: 0;
  transition: background-color var(--hover);
}
.market-row.openable:hover {
  background: color-mix(in srgb, var(--bubble-agent) 60%, transparent);
}
.market-row-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
}
/* The trailing "adding…" orb or "added" check, as wide as the capsule they replace. */
.market-row-status {
  width: 60px;
  flex: none;
}
.market-row-added {
  color: var(--secondary);
}

/* Logo tiles (ServiceLogo, AppLogo); size and corner radius follow the size prop. */
.market-logo {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--bubble-agent);
}
.service-logo {
  overflow: hidden;
}
.service-logo-initial {
  font-family: ui-rounded, var(--font);
}
.market-logo-image {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-sizing: border-box;
}
.market-logo-image.loaded {
  display: block;
}
/* Favicons sit on white in both schemes. */
.service-logo-image {
  background: #fff;
}
.market-tile {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-m);
  background: var(--bubble-agent);
  display: grid;
  place-items: center;
  color: var(--text);
}

/* The quiet capsule action ("Add", "Install"). */
.capsule-action {
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--text);
  padding: 7px 16px;
  background: var(--bubble-agent);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex: none;
  transition: transform var(--press), opacity var(--press);
}
.capsule-action:active:not(:disabled) {
  transform: scale(0.98);
  opacity: 0.85;
}
.agent-step-action {
  padding: 7px 14px;
}

.skeleton {
  animation: market-pulse 0.9s ease-in-out infinite alternate;
}
.skeleton-row {
  padding: 10px 12px;
}
.skeleton-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius-m);
  background: var(--bubble-agent);
}
.skeleton-title,
.skeleton-subtitle {
  background: var(--bubble-agent);
}
.skeleton-title {
  width: 120px;
  height: 12px;
  border-radius: var(--radius-xs);
}
.skeleton-subtitle {
  width: 190px;
  height: 10px;
  border-radius: 5px;
}
@keyframes market-pulse {
  to {
    opacity: 0.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
  }
}

.plain-link {
  color: var(--text);
  text-decoration: underline;
  text-align: left;
}
.plain-link.small {
  font-size: var(--text-caption);
  font-weight: 400;
}

/* A full screen's top bar (ScreenHeader), its title centered over the whole bar. */
.market-screen-header {
  position: relative;
  height: 44px;
  padding: 0 12px;
  flex: none;
  background: var(--background);
}
.market-screen-title {
  position: absolute;
  left: 60px;
  right: 60px;
  text-align: center;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.option-row:disabled {
  opacity: 0.5;
}
/* At least 8 pt between a row's text and its trailing control, on top of the gaps. */
.agent-row-gap {
  min-width: 8px;
}

/* The logo and name at the top of a details sheet. */
.market-card-header {
  padding: 4px 0;
}
.agent-step-row {
  padding: 4px 0;
}
.agent-step-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bubble-agent);
  transition: background-color var(--fade);
}
.agent-step-number.done {
  background: var(--accent-fill);
}
.agent-check-again {
  display: flex;
  color: var(--secondary);
}
/* What an agent brings: a glyph, the list name, and its count at the chevron. */
.agent-brings-row {
  flex: 1;
  min-width: 0;
}
.disclosure-label:has(.agent-brings-row) > .spacer {
  flex: none;
  width: 8px;
}
.agent-brings-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bubble-agent);
  color: var(--text);
}
.agent-brings-count {
  flex: none;
  margin-left: auto;
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bubble-agent);
  color: var(--secondary);
  font-size: var(--text-caption);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  line-height: 18px;
}
.agent-brings-items {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  padding-left: 36px;
}
.agent-brings-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
}
.agent-brings-item + .agent-brings-item {
  box-shadow: inset 0 0.5px 0 var(--border);
}
.agent-auth-detail {
  white-space: pre-wrap;
}
.agent-keys-notes {
  padding: 0 4px;
  font-size: var(--text-caption);
  font-weight: 400;
  color: var(--tertiary);
}
.market-danger-button {
  color: var(--danger);
}

.composio-connected {
  color: var(--added);
}

/* SkillSheet's "added" check, in the place of the Add button. */
.skill-added {
  width: 32px;
  display: grid;
  place-items: center;
  color: var(--secondary);
}

.plain-row-button {
  display: flex;
  align-items: center;
  width: 100%;
}

.market-field {
  width: 100%;
  display: block;
}
textarea.market-field {
  field-sizing: content;
  line-height: 1.3;
}
.market-field.mono {
  font-size: var(--text-callout);
  font-weight: 400;
  font-family: var(--mono);
}
/* A connector/sign-in request in the chat: an outlined card, no fill. */
.request-card {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  align-self: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.request-card-trailing {
  flex: none;
}
.request-card-status {
  font-size: var(--text-caption);
  font-weight: 400;
  color: var(--secondary);
}
/* A chat request card has no fill, so each of its fields gets one (fill, no border). */
.request-card .market-field {
  padding: 7px 12px;
  border-radius: var(--radius-s);
  background: var(--bubble-agent);
  box-sizing: border-box;
}

.setup-terminal {
  flex: 1;
  min-height: 0;
  padding: 6px 10px 0;
}
.setup-terminal .xterm {
  height: 100%;
}
.setup-terminal .xterm-viewport {
  background: transparent !important;
}
.setup-terminal-surface {
  width: 100%;
  height: 100%;
}
.setup-terminal-status {
  padding: 10px 16px;
  font-size: var(--text-caption);
  font-weight: 400;
}

.market-heading { display: flex; align-items: center; gap: 12px; padding-right: 10px; flex-wrap: wrap; }
.market-heading-titles {
  white-space: nowrap;
}
/* "N installed": the first connectors' logos, overlapping, then the count. */
.market-installed {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  max-width: 100%;
}
.market-installed-logos {
  display: flex;
  align-items: center;
  flex: none;
}
.market-installed-logos > * + * {
  margin-left: -8px;
}
.market-installed-skill {
  width: 26px;
  height: 26px;
  border-radius: 6.76px;
}
.market-installed-skill .market-tile {
  width: 100%;
  height: 100%;
}
.market-installed-text {
  white-space: nowrap;
  min-width: 0;
  text-align: start;
}
.market-remove {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  color: var(--secondary);
}
@media (max-width: 640px) {
  .market-page-content { padding: 28px 18px; }
  .item-grid { grid-template-columns: minmax(0, 1fr); }
  .agent-grid { grid-template-columns: minmax(0, 1fr); }
}
/* An agent's logo in a sheet's title row, on the same tile as a symbol. */
.modal-header > .agent-tile {
  background: var(--field);
}