ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s

This commit is contained in:
2026-08-20 13:12:50 +00:00
commit b119135836
10275 changed files with 3284984 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
:root {
color-scheme: light;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: #14221d;
background: #edf3ef;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(880px, calc(100% - 32px)); margin: 48px auto 72px; }
header { margin-bottom: 28px; }
h1 { margin: 6px 0 12px; font-size: clamp(2rem, 6vw, 4.2rem); line-height: 0.98; letter-spacing: -0.045em; }
h2 { margin-top: 0; font-size: 1.15rem; }
.eyebrow, .label { color: #356450; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.76rem; font-weight: 750; }
.lede { max-width: 700px; color: #41534b; font-size: 1.08rem; line-height: 1.55; }
.card { background: #fff; border: 1px solid #cad8d0; border-radius: 18px; padding: 22px; margin: 14px 0; box-shadow: 0 12px 32px rgba(29, 67, 50, 0.06); }
.mode-row, .actions, .text-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mode-row { margin-bottom: 18px; }
label { display: block; margin: 12px 0 6px; font-weight: 650; }
input, textarea, button { font: inherit; }
input:not([type="radio"]), textarea { width: 100%; border: 1px solid #aebfb6; border-radius: 10px; padding: 11px 12px; background: #fbfdfc; color: inherit; }
textarea { resize: vertical; }
button { border: 0; border-radius: 999px; padding: 11px 18px; background: #176b49; color: white; font-weight: 720; cursor: pointer; }
button.secondary { background: #dde8e2; color: #254537; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.actions { margin-top: 20px; }
.privacy { margin-bottom: 0; color: #68776f; font-size: 0.86rem; }
.status-card { display: grid; grid-template-columns: 0.7fr 1fr 1.2fr; gap: 16px; }
.status-card div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
code { overflow-wrap: anywhere; }
#transcript { min-height: 110px; max-height: 330px; overflow: auto; padding: 12px; background: #f3f7f4; border-radius: 12px; }
.turn { margin: 0 0 10px; line-height: 1.45; }
.turn b { color: #176b49; }
.text-row { flex-wrap: nowrap; }
.text-row input { flex: 1; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; color: #31463d; font-size: 0.82rem; }
@media (max-width: 680px) {
main { margin-top: 24px; }
.status-card { grid-template-columns: 1fr; }
.text-row { flex-wrap: wrap; }
}