@dudko.dev/agent-web-react 0.0.19 → 0.0.20
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/README.md +1 -0
- package/dist/index.cjs +206 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +143 -9
- package/dist/index.d.ts +143 -9
- package/dist/index.js +206 -26
- package/dist/index.js.map +1 -1
- package/dist/styles.css +99 -0
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1292,6 +1292,105 @@
|
|
|
1292
1292
|
.awr-composer2--compact .awr-tchip {
|
|
1293
1293
|
padding: 0 6px;
|
|
1294
1294
|
}
|
|
1295
|
+
/* ── steering a run that is going ─────────────────────────────────────────── */
|
|
1296
|
+
.awr-subagent__profile {
|
|
1297
|
+
flex: none;
|
|
1298
|
+
padding: 0 6px;
|
|
1299
|
+
border: 1px solid var(--awr-border);
|
|
1300
|
+
border-radius: 999px;
|
|
1301
|
+
color: var(--awr-muted);
|
|
1302
|
+
font-size: 11px;
|
|
1303
|
+
line-height: 18px;
|
|
1304
|
+
}
|
|
1305
|
+
.awr-subagent__stop {
|
|
1306
|
+
flex: none;
|
|
1307
|
+
margin-left: auto;
|
|
1308
|
+
color: var(--awr-danger);
|
|
1309
|
+
}
|
|
1310
|
+
.awr-subagent--stopped .awr-subagent__activity {
|
|
1311
|
+
color: var(--awr-warn);
|
|
1312
|
+
}
|
|
1313
|
+
.awr-notes {
|
|
1314
|
+
margin: 6px 0 0;
|
|
1315
|
+
padding: 0;
|
|
1316
|
+
list-style: none;
|
|
1317
|
+
}
|
|
1318
|
+
.awr-note {
|
|
1319
|
+
display: flex;
|
|
1320
|
+
align-items: baseline;
|
|
1321
|
+
gap: 6px;
|
|
1322
|
+
margin-top: 4px;
|
|
1323
|
+
padding: 4px 8px;
|
|
1324
|
+
border-left: 3px solid var(--awr-accent);
|
|
1325
|
+
border-radius: 0 6px 6px 0;
|
|
1326
|
+
background: var(--awr-subtle);
|
|
1327
|
+
font-size: 12.5px;
|
|
1328
|
+
}
|
|
1329
|
+
.awr-note__icon {
|
|
1330
|
+
flex: none;
|
|
1331
|
+
align-self: center;
|
|
1332
|
+
color: var(--awr-accent);
|
|
1333
|
+
}
|
|
1334
|
+
.awr-note__where {
|
|
1335
|
+
flex: none;
|
|
1336
|
+
color: var(--awr-muted);
|
|
1337
|
+
}
|
|
1338
|
+
.awr-note__text {
|
|
1339
|
+
min-width: 0;
|
|
1340
|
+
overflow-wrap: anywhere;
|
|
1341
|
+
quotes: none;
|
|
1342
|
+
}
|
|
1343
|
+
.awr-step--notes {
|
|
1344
|
+
border: 0;
|
|
1345
|
+
padding-top: 0;
|
|
1346
|
+
}
|
|
1347
|
+
.awr-queued {
|
|
1348
|
+
display: flex;
|
|
1349
|
+
flex-direction: column;
|
|
1350
|
+
gap: 4px;
|
|
1351
|
+
margin-bottom: 6px;
|
|
1352
|
+
}
|
|
1353
|
+
.awr-queued__item {
|
|
1354
|
+
display: flex;
|
|
1355
|
+
align-items: center;
|
|
1356
|
+
gap: 8px;
|
|
1357
|
+
padding: 5px 10px;
|
|
1358
|
+
border: 1px dashed var(--awr-border);
|
|
1359
|
+
border-radius: 8px;
|
|
1360
|
+
background: var(--awr-subtle);
|
|
1361
|
+
font-size: 12.5px;
|
|
1362
|
+
}
|
|
1363
|
+
.awr-queued__item--undelivered {
|
|
1364
|
+
border-color: var(--awr-warn);
|
|
1365
|
+
}
|
|
1366
|
+
.awr-queued__icon {
|
|
1367
|
+
flex: none;
|
|
1368
|
+
color: var(--awr-muted);
|
|
1369
|
+
}
|
|
1370
|
+
.awr-queued__item--undelivered .awr-queued__icon {
|
|
1371
|
+
color: var(--awr-warn);
|
|
1372
|
+
}
|
|
1373
|
+
.awr-queued__text {
|
|
1374
|
+
flex: 1;
|
|
1375
|
+
min-width: 0;
|
|
1376
|
+
overflow: hidden;
|
|
1377
|
+
text-overflow: ellipsis;
|
|
1378
|
+
white-space: nowrap;
|
|
1379
|
+
}
|
|
1380
|
+
.awr-queued__state {
|
|
1381
|
+
flex: none;
|
|
1382
|
+
color: var(--awr-muted);
|
|
1383
|
+
}
|
|
1384
|
+
.awr-linkbtn {
|
|
1385
|
+
flex: none;
|
|
1386
|
+
padding: 0;
|
|
1387
|
+
border: 0;
|
|
1388
|
+
background: none;
|
|
1389
|
+
color: var(--awr-accent);
|
|
1390
|
+
font: inherit;
|
|
1391
|
+
cursor: pointer;
|
|
1392
|
+
text-decoration: underline;
|
|
1393
|
+
}
|
|
1295
1394
|
@media (max-width: 480px) {
|
|
1296
1395
|
.awr-msg__col,
|
|
1297
1396
|
.awr-msg--assistant .awr-msg__col {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudko.dev/agent-web-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "React bindings for @dudko.dev/agent-web: a headless useAgent hook, an AgentProvider context, and optional pre-styled components (chat panel, plan/step view, BYOK key form, WebLLM load bar) that connect the in-browser LLM agent to any React site. UI you can drop in — or a headless reducer you can build your own around.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
"node": ">=18"
|
|
116
116
|
},
|
|
117
117
|
"peerDependencies": {
|
|
118
|
-
"@dudko.dev/agent-web": ">=0.0.
|
|
118
|
+
"@dudko.dev/agent-web": ">=0.0.29",
|
|
119
119
|
"react": ">=18",
|
|
120
120
|
"react-dom": ">=18"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
|
-
"@dudko.dev/agent-web": "^0.0.
|
|
123
|
+
"@dudko.dev/agent-web": "^0.0.29",
|
|
124
124
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
125
125
|
"@playwright/test": "^1.65.0",
|
|
126
126
|
"@types/node": "^22.9.0",
|