Self-hosted workflows for coding-agent delivery. Orchestrate CodeBuddy, Codex and Claude Code with scripts and human approval gates. Includes Local workflows for coding assistants.
JavaScript agent-orchestrationagentic-workflowai-agentsai-codingclaude-codecode-reviewcodebuddycodexcoding-agentscursordeveloper-toolshuman-on-the-loopllmmcpmulti-agentsdlcself-hostedsopworkflow-automationworkflow-engine
/*
* File identity and toolbar spacing adapted from Grasp's artifact preview.
* See assets/provider-logos/LICENSE.grasp.
*
* MIT License
* Copyright (c) 2026 cocofhu
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
.artifact-preview:has(> .artifact-preview-header) {
padding: 0;
}
.artifact-preview > .artifact-preview-header {
flex: none;
border-bottom: 1px solid var(--line);
}
.artifact-preview .artifact-preview-file-row {
display: flex;
min-width: 0;
align-items: center;
gap: 10px;
padding: 12px 16px 8px;
}
.artifact-preview .artifact-preview-file-row > svg {
flex: none;
color: var(--muted);
}
.artifact-preview .artifact-preview-file-identity {
flex: 1;
min-width: 0;
}
.artifact-preview .artifact-preview-file-name {
overflow: hidden;
margin: 0;
color: var(--text);
font-size: 13px;
font-weight: 500;
line-height: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.artifact-preview .artifact-preview-file-meta {
overflow: hidden;
margin: 0;
color: var(--muted);
font-size: 10px;
line-height: 17px;
text-overflow: ellipsis;
white-space: nowrap;
}
.artifact-preview .artifact-preview-toolbar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 6px 12px;
padding: 0 12px 8px;
}
.artifact-preview .artifact-preview-view-options {
flex: 0 1 auto;
min-width: 0;
}
/* The preview/source switch is a secondary control: size it like the 30px
* icon actions beside it instead of the 48px page-level segmented tabs. */
.artifact-preview .artifact-preview-view-options.sliding-tabs[data-sliding-tabs] {
display: inline-flex !important;
height: 30px !important;
min-height: 30px !important;
padding: 2px !important;
border-radius: 8px !important;
}
.artifact-preview
.artifact-preview-view-options.sliding-tabs[data-sliding-tabs]
> [data-sliding-indicator] {
border-radius: 6px;
}
.artifact-preview
.artifact-preview-view-options.sliding-tabs[data-sliding-tabs]
> [data-sliding-tab] {
flex: 0 0 auto;
height: 26px !important;
min-height: 26px !important;
padding: 0 10px !important;
border-radius: 6px !important;
font-size: 12px !important;
line-height: 26px !important;
}
.artifact-preview .artifact-preview-actions {
display: flex;
min-width: 0;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 2px;
margin-left: auto;
}
.artifact-preview .artifact-preview-icon-action {
display: inline-flex;
width: 30px;
height: 30px;
min-width: 30px;
flex: none;
align-items: center;
justify-content: center;
border-radius: 6px;
padding: 0;
color: var(--muted);
text-decoration: none;
}
.artifact-preview .artifact-preview-actions button,
.artifact-preview .artifact-preview-actions a {
transition:
background-color 150ms ease,
color 150ms ease;
}
.artifact-preview .artifact-preview-actions button:hover,
.artifact-preview .artifact-preview-actions a:hover {
background: rgb(24 24 27 / 4%);
color: var(--text);
box-shadow: none;
transform: none;
}
.artifact-preview .artifact-preview-actions button:focus-visible,
.artifact-preview .artifact-preview-actions a:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.artifact-preview .artifact-preview-stage {
min-width: 0;
padding: 16px;
}
.artifact-preview .artifact-preview-stage > .artifact-source {
margin: 0;
}
html[data-theme="dark"]
.artifact-preview
.artifact-preview-actions
button:hover,
html[data-theme="dark"] .artifact-preview .artifact-preview-actions a:hover {
background: rgb(237 237 240 / 4%);
}
@media (max-width: 767px) {
.artifact-preview .artifact-preview-file-row {
padding-inline: 12px;
}
.artifact-preview .artifact-preview-toolbar {
padding-inline: 8px;
}
.artifact-preview .artifact-preview-icon-action {
width: 36px;
height: 36px;
min-width: 36px;
}
.artifact-preview .artifact-preview-view-options.sliding-tabs[data-sliding-tabs] {
height: 36px !important;
min-height: 36px !important;
}
.artifact-preview
.artifact-preview-view-options.sliding-tabs[data-sliding-tabs]
> [data-sliding-tab] {
height: 32px !important;
min-height: 32px !important;
line-height: 32px !important;
}
.artifact-preview .artifact-preview-stage {
padding: 12px;
}
}
@media (prefers-reduced-motion: reduce) {
.artifact-preview .artifact-preview-actions button,
.artifact-preview .artifact-preview-actions a {
transition: none;
}
}