Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/minimax-ai/minimax-bot/.minimax-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schemaVersion": 1,
"name": "minimax-bot",
"displayName": "MiniMax Bot",
"version": "0.7.3",
"version": "0.7.4",
"description": "Turn MiniMax Code into an always-on team of Bots. A Chief Bot helps you build the team; in group chats the admin answers and @mentions hand work to other members. Every Bot has its own octopus avatar and memory, with scheduled tasks and usage stats.",
"author": "MiniMax Code",
"icon": "icon.png",
Expand Down
37 changes: 37 additions & 0 deletions plugins/minimax-ai/minimax-bot/miniapp/client/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ html,
body {
margin: 0;
height: 100%;
/* The chat shell scrolls inside its panes. A document scrollport would carry the sidebar with it. */
overflow: hidden;
background: var(--bg);
color: var(--ink);
font-family: ui-sans-serif, -apple-system, system-ui, 'PingFang SC', 'Segoe UI', Helvetica, Arial, sans-serif;
Expand Down Expand Up @@ -100,7 +102,10 @@ button {
.app {
display: flex;
height: 100vh;
height: 100dvh;
max-height: 100dvh;
min-height: 0;
overflow: hidden;
}

/* ================================================================ octopus marks */
Expand Down Expand Up @@ -368,7 +373,14 @@ button {
flex-direction: column;
background: var(--sidebar);
border-right: 0.5px solid var(--line);
/* Pinned by height: 100% + overflow: hidden inside the non-scrolling .app; sticky is only a fallback if .app ever scrolls. */
position: sticky;
top: 0;
align-self: flex-start;
height: 100%;
max-height: 100dvh;
min-height: 0;
overflow: hidden;
--ring: var(--sidebar);
}

Expand All @@ -382,11 +394,20 @@ button {
padding: 14px 0;
background: color-mix(in srgb, var(--ink) 3%, var(--sidebar));
border-right: 0.5px solid var(--line);
position: sticky;
top: 0;
align-self: flex-start;
height: 100%;
max-height: 100dvh;
min-height: 0;
overflow: hidden;
--rail-bg: color-mix(in srgb, var(--ink) 3%, var(--sidebar));
}

.rail-filters {
flex: 1;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
align-items: center;
Expand Down Expand Up @@ -508,6 +529,7 @@ button {

.side-list {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 8px 10px 12px;
display: flex;
Expand Down Expand Up @@ -670,6 +692,7 @@ button {
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
background: var(--bg);
--ring: var(--bg);
}
Expand Down Expand Up @@ -734,6 +757,8 @@ button {

.feed {
flex: 1;
/* Padding alone is 84px. Without a real floor, task rows (min-height: auto) shrink the transcript to that sliver. */
min-height: min(220px, 48%);
overflow-y: auto;
padding: 72px 24px 12px;
scroll-behavior: auto;
Expand Down Expand Up @@ -1178,6 +1203,11 @@ button {
display: flex;
flex-direction: column;
gap: 8px;
flex: 0 1 auto;
min-height: 0;
max-height: min(240px, 36%);
overflow-y: auto;
overscroll-behavior: contain;
}

.approval {
Expand Down Expand Up @@ -1238,6 +1268,7 @@ button {

/* composer */
.composer {
flex: none;
padding: 4px 24px 18px;
}

Expand Down Expand Up @@ -2680,6 +2711,12 @@ fieldset.field {
display: flex;
flex-direction: column;
gap: 4px;
/* A few rows stay fully visible. More than the cap scrolls here instead of pushing the transcript off screen. */
flex: 0 1 auto;
min-height: 0;
max-height: min(280px, 40%);
overflow-y: auto;
overscroll-behavior: contain;
}

.helpers:empty {
Expand Down
2 changes: 1 addition & 1 deletion plugins/minimax-ai/minimax-bot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minimax-bot",
"version": "0.7.3",
"version": "0.7.4",
"private": true,
"type": "module",
"mcode": {
Expand Down
Loading