@lazyingart/agintiflow 0.20.2 → 0.20.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazyingart/agintiflow",
3
- "version": "0.20.2",
3
+ "version": "0.20.3",
4
4
  "type": "module",
5
5
  "description": "AgInTiFlow is a web-first coding agent and CLI with DeepSeek routing, sandboxed tools, model providers, canvas artifacts, and optional wrappers.",
6
6
  "license": "Apache-2.0",
package/public/app.js CHANGED
@@ -1136,7 +1136,9 @@ function renderModelOptions() {
1136
1136
  modelRoutePillEl.textContent =
1137
1137
  mode === "manual"
1138
1138
  ? `${provider} · ${primary}`
1139
- : `${mode} · route ${routeLabel} · main ${mainLabel}`;
1139
+ : `${mode} · ${routeLabel} -> ${mainLabel}`;
1140
+ modelRoutePillEl.title =
1141
+ mode === "manual" ? `Manual route: ${provider}/${primary}` : `Route: ${routeLabel}. Main: ${mainLabel}.`;
1140
1142
  }
1141
1143
  if (!modelCatalogEl) return;
1142
1144
  if (options.length === 0) {
package/public/index.html CHANGED
@@ -114,14 +114,7 @@
114
114
 
115
115
  <p id="routing-hint" class="subtle route-hint"></p>
116
116
  <p id="model-route-status" class="subtle route-hint"></p>
117
- <section class="model-catalog-panel" aria-label="Model catalog">
118
- <div class="model-catalog-head">
119
- <span>Route</span>
120
- <strong id="model-route-pill">DeepSeek flash/pro</strong>
121
- </div>
122
- <div id="model-role-grid" class="model-role-grid"></div>
123
- <div id="model-catalog" class="model-catalog"></div>
124
- </section>
117
+ <p id="model-route-pill" class="route-pill">DeepSeek flash/pro</p>
125
118
 
126
119
  <label>
127
120
  <span data-i18n="taskProfileLabel">Task profile</span>
@@ -381,6 +374,15 @@
381
374
  </div>
382
375
  </section>
383
376
 
377
+ <section class="settings-section model-catalog-panel" aria-label="Model catalog">
378
+ <div class="model-catalog-head">
379
+ <span>Catalog</span>
380
+ <strong>Provider models</strong>
381
+ </div>
382
+ <div id="model-role-grid" class="model-role-grid"></div>
383
+ <div id="model-catalog" class="model-catalog"></div>
384
+ </section>
385
+
384
386
  <section class="settings-section">
385
387
  <div class="settings-section-head">
386
388
  <strong>Browser and target</strong>
package/public/styles.css CHANGED
@@ -139,6 +139,22 @@ h1 {
139
139
  #fffdfa;
140
140
  }
141
141
 
142
+ .route-pill {
143
+ max-width: 100%;
144
+ overflow: hidden;
145
+ margin: -2px 0 0;
146
+ padding: 8px 10px;
147
+ border: 1px solid rgba(15, 118, 110, 0.16);
148
+ border-radius: 999px;
149
+ background: rgba(204, 251, 241, 0.42);
150
+ color: #0f766e;
151
+ font-size: 0.78rem;
152
+ font-weight: 800;
153
+ line-height: 1.25;
154
+ text-overflow: ellipsis;
155
+ white-space: nowrap;
156
+ }
157
+
142
158
  .model-catalog-head {
143
159
  display: flex;
144
160
  align-items: center;
@@ -168,7 +184,7 @@ h1 {
168
184
  .model-role-grid {
169
185
  display: grid;
170
186
  gap: 8px;
171
- grid-template-columns: repeat(2, minmax(0, 1fr));
187
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
172
188
  }
173
189
 
174
190
  .model-role-card {
@@ -244,7 +260,7 @@ h1 {
244
260
  .model-chip {
245
261
  display: grid;
246
262
  gap: 2px;
247
- flex: 1 1 148px;
263
+ flex: 1 1 180px;
248
264
  min-width: 0;
249
265
  padding: 9px 11px;
250
266
  border: 1px solid rgba(15, 118, 110, 0.2);