agent-loft 0.2.23 → 0.2.25
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 +23 -3
- package/package.json +1 -1
- package/src/agents/claude/driver.ts +41 -0
- package/src/agents/claude/session.ts +68 -7
- package/src/agents/codex/driver.ts +55 -3
- package/src/agents/codex/session.ts +134 -7
- package/src/channels/feishu/bot.ts +91 -23
- package/src/channels/web/api.ts +183 -3
- package/src/cli/user.ts +3 -0
- package/src/core/chat-history.ts +250 -0
- package/src/core/chat-mode.ts +62 -0
- package/src/core/command-catalog.ts +3 -0
- package/src/core/commands.ts +4 -0
- package/src/core/feishu-links.ts +119 -0
- package/src/core/hub.ts +131 -1
- package/src/core/memory-curator.ts +447 -0
- package/src/core/memory-mcp.ts +37 -0
- package/src/core/memory.ts +311 -0
- package/src/core/personal.ts +44 -0
- package/src/core/store.ts +9 -2
- package/src/core/types.ts +34 -0
- package/src/core/uploads.ts +56 -3
- package/src/main.ts +4 -0
- package/src/mcp/memory-server.ts +168 -0
- package/web/app.js +553 -10
- package/web/style.css +49 -2
package/web/style.css
CHANGED
|
@@ -431,6 +431,32 @@ button.conv-group:hover {
|
|
|
431
431
|
gap: 10px;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
+
/* 拖动目录排序:被拖的行变淡,落点处画一条横线 */
|
|
435
|
+
.proj-row.dragging {
|
|
436
|
+
opacity: 0.4;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.proj-row.drop-before::before,
|
|
440
|
+
.proj-row.drop-after::after {
|
|
441
|
+
content: "";
|
|
442
|
+
position: absolute;
|
|
443
|
+
left: 8px;
|
|
444
|
+
right: 8px;
|
|
445
|
+
height: 2px;
|
|
446
|
+
border-radius: 1px;
|
|
447
|
+
background: var(--accent, #3b82f6);
|
|
448
|
+
pointer-events: none;
|
|
449
|
+
z-index: 1;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.proj-row.drop-before::before {
|
|
453
|
+
top: -2px;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.proj-row.drop-after::after {
|
|
457
|
+
bottom: -2px;
|
|
458
|
+
}
|
|
459
|
+
|
|
434
460
|
.proj-icon {
|
|
435
461
|
display: inline-grid;
|
|
436
462
|
color: var(--fg-soft);
|
|
@@ -559,8 +585,8 @@ button.conv-group:hover {
|
|
|
559
585
|
margin-left: auto;
|
|
560
586
|
}
|
|
561
587
|
|
|
562
|
-
/*
|
|
563
|
-
.desktop-settings .side-
|
|
588
|
+
/* 桌面端里:设置在顶栏「更多」里,侧栏底部只留额度(额度由桌面端统一查好推过来) */
|
|
589
|
+
.desktop-settings .side-gear {
|
|
564
590
|
display: none;
|
|
565
591
|
}
|
|
566
592
|
|
|
@@ -1952,6 +1978,26 @@ button.ctx-item:hover {
|
|
|
1952
1978
|
flex-shrink: 0;
|
|
1953
1979
|
}
|
|
1954
1980
|
|
|
1981
|
+
.mode-pill {
|
|
1982
|
+
display: inline-flex;
|
|
1983
|
+
align-items: center;
|
|
1984
|
+
height: 32px;
|
|
1985
|
+
padding: 0 10px;
|
|
1986
|
+
border-radius: 999px;
|
|
1987
|
+
font-size: 13px;
|
|
1988
|
+
color: var(--fg-faint);
|
|
1989
|
+
white-space: nowrap;
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
.mode-pill:hover {
|
|
1993
|
+
background: var(--bg-hover);
|
|
1994
|
+
color: var(--fg);
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
.mode-pill.chat {
|
|
1998
|
+
color: var(--accent);
|
|
1999
|
+
}
|
|
2000
|
+
|
|
1955
2001
|
.composer.drag {
|
|
1956
2002
|
border-color: var(--accent);
|
|
1957
2003
|
}
|
|
@@ -2292,6 +2338,7 @@ textarea.sending {
|
|
|
2292
2338
|
font-size: 14px;
|
|
2293
2339
|
line-height: 1.6;
|
|
2294
2340
|
color: var(--fg-soft);
|
|
2341
|
+
white-space: pre-line;
|
|
2295
2342
|
}
|
|
2296
2343
|
|
|
2297
2344
|
.dialog-foot .btn.danger-fill {
|