@kedem/okdb 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/algorithm-worker-thread.js +1 -1
  2. package/bin/okdb.js +1 -1
  3. package/docs/OKDB-ARCHITECTURE.md +16 -2
  4. package/docs/embeddings.md +11 -7
  5. package/docs/pipelines.md +12 -0
  6. package/okdb-functions-sandbox-worker.js +1 -1
  7. package/okdb-http-worker-child.js +1 -1
  8. package/okdb-views-bootstrap-worker.js +1 -1
  9. package/okdb.js +1 -1
  10. package/package.json +1 -1
  11. package/public/layouts/_default.ok.html +3 -1
  12. package/public/sections/embeddings/modals/edit-pipeline-modal.ok.js +1 -0
  13. package/public/sections/embeddings/modals/replace-embedder-modal.ok.js +1 -0
  14. package/public/sections/embeddings/parts/embed-create-panel.ok.js +1 -1
  15. package/public/sections/embeddings/parts/embed-embedder-panel.ok.js +1 -1
  16. package/public/sections/embeddings/parts/embed-indexer-panel.ok.js +1 -1
  17. package/public/sections/embeddings/parts/embed-search-panel.ok.js +1 -1
  18. package/public/sections/embeddings/parts/embed-worker-panel.ok.js +1 -1
  19. package/public/sections/embeddings/parts/engines-overview.ok.js +1 -1
  20. package/public/sections/embeddings/parts/pipeline-flow-strip.ok.js +1 -0
  21. package/public/sections/embeddings/parts/pipeline-try-search.ok.js +1 -0
  22. package/public/sections/engines/engine-ui-utils.js +1 -1
  23. package/public/sections/engines/index.ok.html +1 -1
  24. package/public/sections/engines/parts/engine-declaration-editor.ok.js +1 -1
  25. package/public/sections/engines/parts/engine-lifecycle-actions.ok.js +1 -1
  26. package/public/sections/engines/parts/engine-panel-shell.ok.js +1 -1
  27. package/public/sections/engines/parts/engine-resource-card.ok.js +1 -1
  28. package/public/sections/functions/index.ok.html +1 -1
  29. package/public/sections/system/index.ok.html +1 -1
  30. package/public/sections/system/parts/system-locks-panel.ok.js +1 -1
  31. package/public/sections/system/parts/system-storage-panel.ok.js +1 -0
  32. package/public/sections/views/index.ok.html +1 -1
  33. package/public/stores/auth-store.js +1 -1
  34. package/public/stores/events-store.js +1 -1
  35. package/public/styles.css +1 -1
  36. package/public/vendor/okjs/ok.esm.min.js +1 -1
  37. package/public/vendor/okjs/toolkit/components/ok-chart.ok.js +1 -1
  38. package/public/vendor/okjs/toolkit/components/ok-marked.ok.js +1 -1
  39. package/public/vendor/okjs/toolkit/components/ok-monaco.ok.js +1 -1
  40. package/public/vendor/okjs/toolkit/core/ok-layer-service.ok.js +1 -1
  41. package/public/vendor/okjs/toolkit/core/virtualized.ok.js +1 -1
  42. package/public/vendor/okjs/toolkit/devtools/ok-console.ok.js +1 -1
  43. package/public/vendor/okjs/toolkit/devtools/ok-fps-monitor-service.ok.js +1 -1
  44. package/public/vendor/okjs/toolkit/errors/ok-crash-info.ok.js +1 -1
  45. package/public/vendor/okjs/toolkit/interaction/ok-contextmenu.ok.js +1 -1
  46. package/public/vendor/okjs/toolkit/interaction/ok-flyover-panel.ok.js +1 -1
  47. package/public/vendor/okjs/toolkit/interaction/ok-hotkeys-service.ok.js +1 -1
  48. package/public/vendor/okjs/toolkit/interaction/ok-popout-service.ok.js +1 -1
  49. package/public/vendor/okjs/toolkit/interaction/ok-submenu.ok.js +1 -1
  50. package/public/vendor/okjs/toolkit/layout/ok-resizer.ok.js +1 -1
  51. package/public/vendor/okjs/toolkit/manifest.js +1 -1
  52. package/public/vendor/okjs/toolkit/modals/ok-modal-service.ok.js +1 -1
  53. package/public/vendor/okjs/toolkit/modals/ok-modal.ok.js +1 -1
  54. package/public/vendor/okjs/toolkit/modals/ok-toast-service.ok.js +1 -1
  55. package/public/vendor/okjs/toolkit/theming/ok-design-style.js +1 -1
  56. package/public/vendor/okjs/toolkit/theming/ok-theme.ok.js +1 -1
  57. package/public/sections/db/parts/db-pipelines-panel.ok.js +0 -1
@@ -1 +0,0 @@
1
- import e from"../../../stores/events-store.js";import n from"../../engines/modals/engine-modal.ok.js";export default{tag:"db-pipelines-panel",dependencies:[n],attr:{showall:{},envname:{},selectedpipeline:{}},context:e=>({busy:!1,error:null,search:"",pipelines:[],selectedKey:null,actionBusy:!1,_unsubs:[],get isAllEnvs(){return!0===e.$attr.showall||"true"===e.$attr.showall},get envName(){return e.$attr.envname||e.$ok.stores.okdb.selectedEnv||"default"},get externalSelectedPipeline(){return String(e.$attr.selectedpipeline||"")},pipelineKey(e){return`${e?.env||this.envName}::${e?.name||""}`},get filteredPipelines(){const e=this.search.trim().toLowerCase(),n=[...this.pipelines].sort((e,n)=>{const i=String(e.env||"").localeCompare(String(n.env||""));return 0!==i?i:e.name.localeCompare(n.name)});return e?n.filter(n=>[n.env,n.name,n.meta?.label,n.status,n.health,...(n.engines||[]).flatMap(e=>[e.role,e.type,e.name,e.state,e.config?.source_type,e.config?.job_type])].filter(Boolean).join(" ").toLowerCase().includes(e)):n},get selectedPipeline(){return 0===this.filteredPipelines.length?null:this.filteredPipelines.find(e=>this.pipelineKey(e)===this.selectedKey)??this.filteredPipelines[0]},applyExternalSelection(){const e=this.externalSelectedPipeline.trim();if(!e||0===this.pipelines.length)return;const n=this.pipelines.find(n=>this.pipelineKey(n)===e)??this.pipelines.find(n=>n?.name===e)??null;if(n){const e=this.pipelineKey(n);this.selectedKey!==e&&(this.selectedKey=e)}},get selectedRelatedTypes(){const e=this.selectedPipeline;if(!e)return[];const n=new Set,i=[];for(const t of e.engines||[]){const e=this.relatedType(t);e&&!n.has(e)&&(n.add(e),i.push({type:e,env:this.relatedEnv(t)}))}return i},async load(){this.busy=!0,this.error=null;try{const e=this.isAllEnvs?`${__ENV__.API}/pipelines`:`${__ENV__.API}/env/${encodeURIComponent(this.envName)}/pipelines`,n=await fetch(e),i=await n.json().catch(()=>({}));if(!n.ok)throw new Error(i?.error?.message||"Failed to load pipelines");this.pipelines=i.data??i.result??[],this.applyExternalSelection(),this.pipelines.some(e=>this.pipelineKey(e)===this.selectedKey)||(this.selectedKey=this.pipelines[0]?this.pipelineKey(this.pipelines[0]):null)}catch(e){this.error=e?.message||String(e),this.pipelines=[],this.selectedKey=null}finally{this.busy=!1}},selectPipeline(n){this.selectedKey=this.pipelineKey(n),e.$dispatch("select",n)},healthColor:e=>"online"===e?"var(--okdb-success)":"degraded"===e?"var(--okdb-warning)":"error"===e?"var(--okdb-danger)":"var(--okdb-app-fg-muted)",stateColor:e=>"online"===e?"var(--okdb-success)":"degraded"===e?"var(--okdb-warning)":"error"===e||"missing"===e?"var(--okdb-danger)":"stopped"===e?"var(--okdb-app-fg-muted)":"var(--okdb-sky)",chipStyle:(e,n=!1)=>`font-size:10px;padding:2px 7px;border-radius:999px;border:1px solid ${e}55;color:${e};background:${n?"transparent":`${e}12`};white-space:nowrap;`,summaryText(e){const n=e.engines||[];return 0===n.length?"No members":n.map(e=>e.role||e.type).join(" · ")},formatNumber:e=>null==e||Number.isNaN(Number(e))?null:Number(e).toLocaleString(),progressLabel(e){const n=e.progress??e.runtime?.progress??null;if(null==n)return null;if("string"==typeof n||"number"==typeof n)return String(n);if("object"==typeof n&&"string"==typeof n.phase)return n.phase;try{return JSON.stringify(n)}catch{return"progress"}},relatedType:e=>e?.config?.source_type??e?.runtime?.source_type??null,relatedEnv(e){return e?.config?.source_env??e?.runtime?.source_env??this.envName},memberOwnerEnv(e){return e?.storeEnv??e?.env??this.relatedEnv(e)??this.selectedPipeline?.env??this.envName},memberFacts(e){const n=[];return e?.config?.job_type&&n.push(`job:${e.config.job_type}`),e?.config?.handler?.name&&n.push(`handler:${e.config.handler.name}`),e?.config?.source_type&&n.push(`type:${e.config.source_type}`),e?.config?.source_env&&e.config.source_env!==this.envName&&n.push(`source env:${e.config.source_env}`),e?.storeEnv&&n.push(`store:${e.storeEnv}`),e?.owned?n.push("owned"):e?.exists&&n.push("shared"),n},async _request(e,n={}){const i=await fetch(e,n),t=await i.json().catch(()=>({}));if(!i.ok)throw new Error(t?.error?.message||`Request failed (${i.status})`);return t.data??t.result??null},async startSelected(){if(this.selectedPipeline&&!this.actionBusy){this.actionBusy=!0;try{const n=this.selectedPipeline.env||this.envName;await this._request(`${__ENV__.API}/env/${encodeURIComponent(n)}/pipelines/${encodeURIComponent(this.selectedPipeline.name)}/start`,{method:"POST"}),e.$ok.shared?.toast?.success?.(`Started pipeline "${this.selectedPipeline.name}"`),await this.load()}catch(n){e.$ok.shared?.toast?.error?.(n?.message||"Start failed")}finally{this.actionBusy=!1}}},async stopSelected(){if(this.selectedPipeline&&!this.actionBusy&&await e.$ok.shared.modal.confirm(`Stop pipeline "<b>${this.selectedPipeline.name}</b>"?`)){this.actionBusy=!0;try{const n=this.selectedPipeline.env||this.envName;await this._request(`${__ENV__.API}/env/${encodeURIComponent(n)}/pipelines/${encodeURIComponent(this.selectedPipeline.name)}/stop`,{method:"POST"}),e.$ok.shared?.toast?.info?.(`Stopped pipeline "${this.selectedPipeline.name}"`),await this.load()}catch(n){e.$ok.shared?.toast?.error?.(n?.message||"Stop failed")}finally{this.actionBusy=!1}}},async deleteSelected(){if(!this.selectedPipeline||this.actionBusy)return;const n=this.selectedPipeline,i=(n.engines||[]).map(e=>`• ${e.role||e.type}: ${e.type}@${e.name}`).join("<br>");if(await e.$ok.shared.modal.confirm(`Delete pipeline "<b>${n.name}</b>"?<br><br>${i||"No members"}<br><br>Env-owned members will be removed; shared members will be preserved.`)){this.actionBusy=!0;try{const i=n.env||this.envName;await this._request(`${__ENV__.API}/env/${encodeURIComponent(i)}/pipelines/${encodeURIComponent(n.name)}`,{method:"DELETE"}),e.$ok.shared?.toast?.success?.(`Deleted pipeline "${n.name}"`),this.selectedKey=null,await this.load()}catch(n){e.$ok.shared?.toast?.error?.(n?.message||"Delete failed")}finally{this.actionBusy=!1}}},openType(n){const i=this.relatedType(n);if(!i)return;const t=this.relatedEnv(n);t&&t!==e.$ok.stores.okdb.selectedEnv&&e.$ok.stores.okdb.selectEnv(t);const s=e.$vars.$router;s?.push(s.resolve("/db",{env:t,type:i,tab:"pipelines"}))},async openEngineModal(n){if(!n?.exists)return;const i=this,t=this.memberOwnerEnv(n);await e.$ok.shared.modal.open({owner:e,title:`Edit Engine · ${n.name}`,canDrag:!0,content:'<engine-modal :modal="modal" :engine="engine" :env="envName" :on-done="onDone" />',context:e=>({modal:e,engine:n,envName:t,onDone:async()=>{await i.load()}})})}}),async init(n){n.$watch(()=>n.$attr.selectedpipeline,()=>this.applyExternalSelection()),n.$watch(()=>n.$ok.stores.okdb.selectedEnv,()=>{this.isAllEnvs||(this.selectedKey=null),this.load()}),await this.load();const i=()=>this.load();this._unsubs=[e.on("engine:started",i),e.on("engine:stopped",i),e.on("engine:error",i),e.on("engine:installed",i),e.on("engine:uninstalled",i)]},unmount(){for(const e of this._unsubs)e();this._unsubs=[]},template:'\n<div class="pipelines-wrap">\n <div class="pipelines-head">\n <div>\n <div class="pipelines-title">{{ isAllEnvs ? \'Pipelines · all environments\' : \'Pipelines\' }}</div>\n <div class="pipelines-sub">{{ isAllEnvs ? \'Primary grouped lifecycle management across opened environments. Open DB or Files only when you need source-specific context.\' : \'Primary grouped lifecycle management for the selected environment. Open DB or Files only when you need source-specific context.\' }}</div>\n </div>\n <div style="display:flex; gap:8px; align-items:center; flex-wrap:wrap;">\n <span :style="chipStyle(\'var(--okdb-indigo)\')">{{ pipelines.length }} pipeline{{ pipelines.length !== 1 ? \'s\' : \'\' }}</span>\n <button @click="load()" :disabled="busy" style="font-size:12px; padding:5px 12px; opacity:.75;">↻ Refresh</button>\n </div>\n </div>\n\n <if :="error">\n <div class="pipelines-error">{{ error }}</div>\n </if>\n\n <if :="!busy && pipelines.length === 0 && !error">\n <div class="pipelines-empty">\n <div style="font-size:30px; opacity:.25;">⛓</div>\n <div style="font-size:14px; font-weight:600; opacity:.75;">No pipelines {{ isAllEnvs ? \'in opened environments\' : \'in \' + envName }}</div>\n <div style="font-size:12px; opacity:.5; max-width:520px; line-height:1.7; text-align:center;">\n Pipelines appear here once created or synced into the environment.\n This view preserves member order, shows aggregate health, and exposes lifecycle controls.\n </div>\n </div>\n </if>\n\n <if :="pipelines.length > 0">\n <div class="pipelines-layout">\n <div class="pipelines-list-card">\n <div class="pipelines-list-head">\n <input\n type="text"\n placeholder="Filter pipelines…"\n :value="search"\n @input="search = $event.target.value"\n style="width:100%; box-sizing:border-box;"\n />\n </div>\n <div class="pipelines-list">\n <each :of="filteredPipelines" let:item="pipeline">\n <button\n @click="selectPipeline(pipeline)"\n :class="selectedPipeline && pipelineKey(selectedPipeline) === pipelineKey(pipeline) ? \'pipeline-row pipeline-row--active\' : \'pipeline-row\'"\n >\n <div style="display:flex; align-items:center; gap:8px; min-width:0;">\n <span :style="\'width:8px;height:8px;border-radius:50%;flex-shrink:0;background:\' + healthColor(pipeline.health)"></span>\n <span style="font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">{{ pipeline.meta?.label || pipeline.name }}</span>\n </div>\n <div style="display:flex; gap:6px; flex-wrap:wrap; margin-top:6px;">\n <if :="isAllEnvs || pipeline.env">\n <span :style="chipStyle(\'var(--okdb-indigo)\', true)">{{ pipeline.env || envName }}</span>\n </if>\n <span :style="chipStyle(healthColor(pipeline.health))">{{ pipeline.health }}</span>\n <span :style="chipStyle(\'var(--okdb-sky)\', true)">{{ pipeline.status }}</span>\n <span :style="chipStyle(\'var(--okdb-app-fg-muted)\', true)">{{ pipeline.engines.length }} members</span>\n </div>\n <div style="font-size:11px; opacity:.5; margin-top:7px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">\n {{ summaryText(pipeline) }}\n </div>\n </button>\n </each>\n <if :="filteredPipelines.length === 0">\n <div style="font-size:12px; opacity:.45; padding:8px;">No pipelines match the current filter.</div>\n </if>\n </div>\n </div>\n\n <div class="pipelines-detail-card">\n <if :="selectedPipeline">\n <div style="display:flex; flex-direction:column; gap:14px;">\n <div style="display:flex; justify-content:space-between; gap:12px; align-items:flex-start; flex-wrap:wrap;">\n <div style="display:flex; flex-direction:column; gap:8px; min-width:0;">\n <div style="display:flex; align-items:center; gap:8px; flex-wrap:wrap;">\n <div style="font-size:18px; font-weight:700; min-width:0;">{{ selectedPipeline.name }}</div>\n <span :style="chipStyle(healthColor(selectedPipeline.health))">{{ selectedPipeline.health }}</span>\n <span :style="chipStyle(\'var(--okdb-sky)\', true)">{{ selectedPipeline.status }}</span>\n </div>\n <if :="selectedPipeline.meta?.label && selectedPipeline.meta.label !== selectedPipeline.name">\n <div style="font-size:12px; opacity:.6;">{{ selectedPipeline.meta.label }}</div>\n </if>\n <div style="font-size:12px; color:var(--okdb-app-fg-muted); line-height:1.6; max-width:620px;">\n This is the global grouped view for the pipeline. Use the related type shortcuts below only when you need the local DB drill-in.\n </div>\n <div style="display:flex; gap:6px; flex-wrap:wrap;">\n <span :style="chipStyle(\'var(--okdb-app-fg-muted)\', true)">env: {{ selectedPipeline.env || envName }}</span>\n <span :style="chipStyle(\'var(--okdb-app-fg-muted)\', true)">{{ selectedPipeline.engines.length }} ordered member{{ selectedPipeline.engines.length !== 1 ? \'s\' : \'\' }}</span>\n <each :of="selectedRelatedTypes" let:item="rel">\n <button\n @click="openType({ config: { source_type: rel.type, source_env: rel.env } })"\n style="font-size:10px; padding:2px 7px; border-radius:999px; border:1px solid color-mix(in srgb, var(--okdb-indigo) 33%, transparent); color:var(--okdb-indigo); background:color-mix(in srgb, var(--okdb-indigo) 6%, transparent); cursor:pointer;"\n :title="\'Open type \' + rel.type + \' in env \' + rel.env"\n >{{ rel.env !== envName ? rel.env + \':\' : \'\' }}{{ rel.type }} →</button>\n </each>\n </div>\n </div>\n <div style="display:flex; gap:8px; flex-wrap:wrap; align-items:center;">\n <button @click="startSelected()" :disabled="actionBusy" style="font-size:12px; padding:5px 12px; color:var(--okdb-success); border-color:color-mix(in srgb, var(--okdb-success) 33%, transparent);">▶ Start</button>\n <button @click="stopSelected()" :disabled="actionBusy" style="font-size:12px; padding:5px 12px; color:var(--okdb-warning); border-color:color-mix(in srgb, var(--okdb-warning) 33%, transparent);">⏹ Stop</button>\n <button @click="deleteSelected()" :disabled="actionBusy" style="font-size:12px; padding:5px 12px; color:var(--okdb-danger); border-color:color-mix(in srgb, var(--okdb-danger) 33%, transparent);">🗑 Delete</button>\n </div>\n </div>\n\n <div class="pipelines-members">\n <each :of="selectedPipeline.engines" let:item="member" let:index="index">\n <div class="pipeline-member-card">\n <div style="display:flex; justify-content:space-between; gap:12px; align-items:flex-start; flex-wrap:wrap;">\n <div style="display:flex; flex-direction:column; gap:8px; min-width:0;">\n <div style="display:flex; gap:8px; align-items:center; flex-wrap:wrap;">\n <span style="font-size:11px; opacity:.4; min-width:18px;">{{ index + 1 }}.</span>\n <span :style="chipStyle(\'var(--okdb-accent)\', true)">{{ member.role || member.type }}</span>\n <code style="font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">{{ member.type }}@{{ member.name }}</code>\n <span :style="chipStyle(stateColor(member.state))">{{ member.state }}</span>\n <if :="member.status && member.status !== member.state">\n <span :style="chipStyle(\'var(--okdb-app-fg-muted)\', true)">{{ member.status }}</span>\n </if>\n </div>\n <div style="display:flex; gap:6px; flex-wrap:wrap;">\n <each :of="memberFacts(member)" let:item="fact">\n <span :style="chipStyle(\'var(--okdb-app-fg-muted)\', true)">{{ fact }}</span>\n </each>\n <if :="member.lag != null">\n <span :style="chipStyle(\'var(--okdb-warning)\', true)">lag: {{ formatNumber(member.lag) }}</span>\n </if>\n <if :="progressLabel(member)">\n <span :style="chipStyle(\'var(--okdb-sky)\', true)">progress: {{ progressLabel(member) }}</span>\n </if>\n <if :="member.cursorKey">\n <span :style="chipStyle(\'var(--okdb-app-fg-muted)\', true)">cursor: {{ member.cursorKey }}</span>\n </if>\n </div>\n </div>\n <div style="display:flex; gap:8px; flex-wrap:wrap; align-items:center;">\n <if :="member.exists">\n <button\n @click="openEngineModal(member)"\n style="font-size:11px; padding:3px 10px; border-radius:999px; border:1px solid color-mix(in srgb, var(--okdb-accent) 33%, transparent); color:var(--okdb-accent); background:color-mix(in srgb, var(--okdb-accent) 6%, transparent); cursor:pointer;"\n title="Open engine editor"\n >Edit engine</button>\n </if>\n <if :="relatedType(member)">\n <button\n @click="openType(member)"\n style="font-size:11px; padding:3px 10px; border-radius:999px; border:1px solid color-mix(in srgb, var(--okdb-indigo) 33%, transparent); color:var(--okdb-indigo); background:color-mix(in srgb, var(--okdb-indigo) 6%, transparent); cursor:pointer;"\n :title="\'Open type \' + relatedType(member)"\n >Open type →</button>\n </if>\n </div>\n </div>\n <if :="member.error">\n <div class="pipeline-member-error">{{ member.error }}</div>\n </if>\n </div>\n </each>\n </div>\n </div>\n </if>\n </div>\n </div>\n </if>\n\n <if :="busy && pipelines.length === 0">\n <div style="font-size:12px; opacity:.45; padding:4px 0;">Loading pipelines…</div>\n </if>\n</div>',style:"\n db-pipelines-panel .pipelines-wrap {\n display: flex;\n flex-direction: column;\n gap: 14px;\n }\n db-pipelines-panel .pipelines-head {\n display: flex;\n justify-content: space-between;\n gap: 12px;\n align-items: flex-start;\n flex-wrap: wrap;\n }\n db-pipelines-panel .pipelines-title {\n font-size: 14px;\n font-weight: 600;\n }\n db-pipelines-panel .pipelines-sub {\n font-size: 12px;\n opacity: .5;\n margin-top: 4px;\n max-width: 560px;\n line-height: 1.6;\n }\n db-pipelines-panel .pipelines-error {\n color: var(--okdb-danger);\n font-size: 12px;\n padding: 10px 12px;\n border-radius: 10px;\n border: 1px solid color-mix(in srgb, var(--okdb-danger) 33%, transparent);\n background: color-mix(in srgb, var(--okdb-danger) 5%, transparent);\n }\n db-pipelines-panel .pipelines-empty {\n border: 1px dashed var(--okdb-app-border);\n border-radius: 12px;\n padding: 28px 24px;\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: center;\n }\n db-pipelines-panel .pipelines-layout {\n display: grid;\n grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);\n gap: 14px;\n }\n db-pipelines-panel .pipelines-list-card,\n db-pipelines-panel .pipelines-detail-card {\n border: 1px solid var(--okdb-app-border);\n border-radius: 12px;\n background: var(--okdb-app-bg);\n overflow: hidden;\n }\n db-pipelines-panel .pipelines-list-head {\n padding: 12px;\n border-bottom: 1px solid var(--okdb-app-border);\n }\n db-pipelines-panel .pipelines-list {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 10px;\n }\n db-pipelines-panel .pipeline-row {\n width: 100%;\n text-align: left;\n border-radius: 10px;\n border: 1px solid var(--okdb-app-border);\n background: var(--okdb-app-bg-deep);\n padding: 10px 11px;\n cursor: pointer;\n }\n db-pipelines-panel .pipeline-row:hover {\n border-color: var(--okdb-app-border-strong);\n background: var(--okdb-app-bg-deep);\n }\n db-pipelines-panel .pipeline-row--active {\n border-color: color-mix(in srgb, var(--okdb-accent) 33%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--okdb-accent) 13%, transparent);\n background: #10202a;\n }\n db-pipelines-panel .pipelines-detail-card {\n padding: 14px;\n }\n db-pipelines-panel .pipelines-members {\n display: flex;\n flex-direction: column;\n gap: 10px;\n }\n db-pipelines-panel .pipeline-member-card {\n border: 1px solid var(--okdb-app-border);\n border-radius: 10px;\n padding: 12px;\n background: var(--okdb-app-bg-deep);\n display: flex;\n flex-direction: column;\n gap: 10px;\n }\n db-pipelines-panel .pipeline-member-error {\n font-size: 12px;\n line-height: 1.6;\n color: var(--okdb-danger);\n border: 1px solid var(--okdb-danger-deep-border);\n background: #450a0a33;\n padding: 8px 10px;\n border-radius: 8px;\n }\n @media (max-width: 860px) {\n db-pipelines-panel .pipelines-layout {\n grid-template-columns: 1fr;\n }\n }\n "};