@sanqianx/ai-coding-workflow 0.2.1 → 0.2.2

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 (3) hide show
  1. package/package.json +1 -1
  2. package/ui/app.css +1 -1
  3. package/ui/app.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanqianx/ai-coding-workflow",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Independent workflow module for project-knowledge: AI team, cross-project business tasks, fixed workflow orchestration, deterministic quality checks, review coordination, delivery decisions, daily digests and reminders.",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
package/ui/app.css CHANGED
@@ -87,7 +87,7 @@
87
87
  @media(max-width:460px){.nav{gap:8px}.top{gap:12px}.preview-mark{max-width:5.8em;line-height:1.25;text-align:center;white-space:normal}.chat-icon{display:none}.page-head p{max-width:17em}.demo-select{gap:3px}.subnav{padding:0 12px;gap:12px}.content .row{flex-wrap:wrap}.facts{grid-template-columns:76px minmax(0,1fr)}}
88
88
  @media(prefers-color-scheme:dark){:root{color-scheme:dark;--canvas:#111821;--surface:#192333;--soft:#202c3d;--text:#e6edf7;--dim:#bdc9d9;--muted:#a2b1c5;--line:#344357;--accent:#8bb3ff;--accent-soft:#233957;--tint-line:#3c5781;--green:#9bd6b9;--green-bg:#203f35;--orange:#f0c585;--orange-bg:#473721;--red:#f2b1ab;--red-bg:#482c32;--violet:#d3b8f5;--violet-bg:#3a3052}.btn.primary{background:#315faa;border-color:#4471bd}.action-banner.block,.action-banner.good{border-color:var(--line)}}
89
89
 
90
- body[data-embed="1"] header{display:none}
90
+ body[data-embed="1"] .brand,body[data-embed="1"] .service{display:none}
91
91
  .service{align-self:center;margin-left:auto;display:flex;align-items:center;gap:7px;color:var(--dim);font-size:.8rem;white-space:nowrap}
92
92
  .dot{width:9px;height:9px;border-radius:50%;background:var(--muted);flex:0 0 9px}
93
93
  .dot.ok{background:#1f9d63}.dot.down{background:var(--red)}.dot.unknown{background:var(--muted)}
package/ui/app.js CHANGED
@@ -305,6 +305,7 @@
305
305
  const hasTeam = Boolean(state.overview && state.overview.team);
306
306
  if (!hasTeam) {
307
307
  $('settings').innerHTML = '<section class="card"><h2>初始化团队</h2><p>还没有默认团队。创建后可添加成员并为项目配置团队执行。</p><div class="actions"><button id="createTeam" class="btn primary">创建默认团队</button></div></section>';
308
+ bindSettingsEvents();
308
309
  return;
309
310
  }
310
311
  const settingsHtml = projects.length ? projects.map(p => projectCard(p)).join('') : '<p class="empty">暂无已登记项目设置——任务创建后其项目会出现在这里。</p>';