@agent-link/server 0.1.187 → 0.1.188
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/dist/index.js +13 -15
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/web/dist/assets/index-C9bIrYkZ.js +320 -0
- package/web/dist/assets/index-C9bIrYkZ.js.map +1 -0
- package/web/dist/assets/index-Y1FN_mFe.css +1 -0
- package/web/{index.html → dist/index.html} +2 -19
- package/web/app.js +0 -2881
- package/web/css/ask-question.css +0 -333
- package/web/css/base.css +0 -270
- package/web/css/btw.css +0 -148
- package/web/css/chat.css +0 -176
- package/web/css/file-browser.css +0 -499
- package/web/css/input.css +0 -671
- package/web/css/loop.css +0 -674
- package/web/css/markdown.css +0 -169
- package/web/css/responsive.css +0 -314
- package/web/css/sidebar.css +0 -593
- package/web/css/team.css +0 -1277
- package/web/css/tools.css +0 -327
- package/web/encryption.js +0 -56
- package/web/modules/appHelpers.js +0 -100
- package/web/modules/askQuestion.js +0 -63
- package/web/modules/backgroundRouting.js +0 -269
- package/web/modules/connection.js +0 -731
- package/web/modules/fileAttachments.js +0 -125
- package/web/modules/fileBrowser.js +0 -398
- package/web/modules/filePreview.js +0 -213
- package/web/modules/i18n.js +0 -101
- package/web/modules/loop.js +0 -338
- package/web/modules/loopTemplates.js +0 -110
- package/web/modules/markdown.js +0 -83
- package/web/modules/messageHelpers.js +0 -206
- package/web/modules/sidebar.js +0 -402
- package/web/modules/streaming.js +0 -116
- package/web/modules/team.js +0 -396
- package/web/modules/teamTemplates.js +0 -360
- package/web/vendor/highlight.min.js +0 -1213
- package/web/vendor/marked.min.js +0 -6
- package/web/vendor/nacl-fast.min.js +0 -1
- package/web/vendor/nacl-util.min.js +0 -1
- package/web/vendor/pako.min.js +0 -2
- package/web/vendor/vue.global.prod.js +0 -13
- /package/web/{favicon.svg → dist/favicon.svg} +0 -0
- /package/web/{images → dist/images}/chat-iPad.webp +0 -0
- /package/web/{images → dist/images}/chat-iPhone.webp +0 -0
- /package/web/{images → dist/images}/loop-iPad.webp +0 -0
- /package/web/{images → dist/images}/team-iPad.webp +0 -0
- /package/web/{landing.html → dist/landing.html} +0 -0
- /package/web/{landing.zh.html → dist/landing.zh.html} +0 -0
- /package/web/{locales → dist/locales}/en.json +0 -0
- /package/web/{locales → dist/locales}/zh.json +0 -0
- /package/web/{vendor → dist/vendor}/github-dark.min.css +0 -0
- /package/web/{vendor → dist/vendor}/github.min.css +0 -0
package/web/css/btw.css
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
/* ── Side question (/btw) overlay ─────────────────────────────────────────── */
|
|
2
|
-
|
|
3
|
-
.btw-overlay {
|
|
4
|
-
position: absolute;
|
|
5
|
-
inset: 0;
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
background: var(--overlay-bg, rgba(0, 0, 0, 0.3));
|
|
10
|
-
z-index: 500;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.btw-panel {
|
|
14
|
-
background: var(--bg-primary);
|
|
15
|
-
border: 1px solid var(--border);
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
18
|
-
width: 90%;
|
|
19
|
-
max-width: 560px;
|
|
20
|
-
max-height: 60vh;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.btw-header {
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: space-between;
|
|
30
|
-
padding: 12px 16px;
|
|
31
|
-
border-bottom: 1px solid var(--border);
|
|
32
|
-
flex-shrink: 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.btw-title {
|
|
36
|
-
font-weight: 600;
|
|
37
|
-
font-size: 14px;
|
|
38
|
-
color: var(--text-primary);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.btw-close {
|
|
42
|
-
background: none;
|
|
43
|
-
border: none;
|
|
44
|
-
font-size: 16px;
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
color: var(--text-secondary);
|
|
47
|
-
padding: 4px 8px;
|
|
48
|
-
border-radius: 4px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.btw-close:hover {
|
|
52
|
-
background: var(--bg-hover);
|
|
53
|
-
color: var(--text-primary);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.btw-body {
|
|
57
|
-
padding: 16px;
|
|
58
|
-
overflow-y: auto;
|
|
59
|
-
flex: 1;
|
|
60
|
-
min-height: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.btw-question {
|
|
64
|
-
font-size: 13px;
|
|
65
|
-
color: var(--text-secondary);
|
|
66
|
-
margin-bottom: 12px;
|
|
67
|
-
padding-bottom: 12px;
|
|
68
|
-
border-bottom: 1px solid var(--border);
|
|
69
|
-
font-style: italic;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.btw-answer {
|
|
73
|
-
font-size: 14px;
|
|
74
|
-
color: var(--text-primary);
|
|
75
|
-
line-height: 1.6;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.btw-error {
|
|
79
|
-
font-size: 13px;
|
|
80
|
-
color: var(--danger, #e53e3e);
|
|
81
|
-
background: var(--danger-bg, rgba(229, 62, 62, 0.08));
|
|
82
|
-
padding: 10px 12px;
|
|
83
|
-
border-radius: 6px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.btw-loading {
|
|
87
|
-
display: flex;
|
|
88
|
-
flex-direction: column;
|
|
89
|
-
align-items: center;
|
|
90
|
-
justify-content: center;
|
|
91
|
-
padding: 24px 0;
|
|
92
|
-
gap: 12px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.btw-loading-dots {
|
|
96
|
-
display: flex;
|
|
97
|
-
align-items: center;
|
|
98
|
-
gap: 6px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.btw-loading-dots span {
|
|
102
|
-
width: 8px;
|
|
103
|
-
height: 8px;
|
|
104
|
-
border-radius: 50%;
|
|
105
|
-
background: var(--accent, #6366f1);
|
|
106
|
-
animation: btw-bounce 1.4s infinite ease-in-out both;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.btw-loading-dots span:nth-child(1) { animation-delay: -0.32s; }
|
|
110
|
-
.btw-loading-dots span:nth-child(2) { animation-delay: -0.16s; }
|
|
111
|
-
.btw-loading-dots span:nth-child(3) { animation-delay: 0s; }
|
|
112
|
-
|
|
113
|
-
@keyframes btw-bounce {
|
|
114
|
-
0%, 80%, 100% { transform: scale(0.4); opacity: 0.4; }
|
|
115
|
-
40% { transform: scale(1); opacity: 1; }
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.btw-loading-text {
|
|
119
|
-
font-size: 13px;
|
|
120
|
-
color: var(--text-secondary);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.btw-hint {
|
|
124
|
-
text-align: center;
|
|
125
|
-
font-size: 12px;
|
|
126
|
-
color: var(--text-tertiary);
|
|
127
|
-
padding: 8px 16px 12px;
|
|
128
|
-
flex-shrink: 0;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* ── Mobile (< 768px) ──────────────────────────────────────────────────── */
|
|
132
|
-
|
|
133
|
-
@media (max-width: 768px) {
|
|
134
|
-
.btw-panel {
|
|
135
|
-
width: calc(100% - 24px);
|
|
136
|
-
max-width: none;
|
|
137
|
-
max-height: 50vh;
|
|
138
|
-
margin: 0 12px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.btw-header {
|
|
142
|
-
padding: 10px 14px;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.btw-body {
|
|
146
|
-
padding: 14px;
|
|
147
|
-
}
|
|
148
|
-
}
|
package/web/css/chat.css
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/* ── Chat area (message list + input) ── */
|
|
2
|
-
.chat-area {
|
|
3
|
-
flex: 1;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
min-height: 0;
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* ── Message list ── */
|
|
11
|
-
.message-list {
|
|
12
|
-
flex: 1 1 auto;
|
|
13
|
-
overflow-y: auto;
|
|
14
|
-
min-height: 0;
|
|
15
|
-
overscroll-behavior: contain;
|
|
16
|
-
padding: 1.5rem 1.5rem 1rem;
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
gap: 0.25rem;
|
|
20
|
-
min-height: 0;
|
|
21
|
-
overscroll-behavior: contain;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.message-list-inner {
|
|
25
|
-
max-width: 768px;
|
|
26
|
-
width: 100%;
|
|
27
|
-
margin: 0 auto;
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
gap: 0.25rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.empty-state {
|
|
34
|
-
flex: 1;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
align-items: center;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
gap: 0.5rem;
|
|
40
|
-
color: var(--text-secondary);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.empty-state-icon {
|
|
44
|
-
font-size: 2.5rem;
|
|
45
|
-
opacity: 0.5;
|
|
46
|
-
margin-bottom: 0.5rem;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.empty-state strong {
|
|
50
|
-
color: var(--text-primary);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* ── Messages ── */
|
|
54
|
-
.message {
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.message-user {
|
|
60
|
-
margin-top: 1.25rem;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.message-role-label {
|
|
64
|
-
font-size: 0.75rem;
|
|
65
|
-
font-weight: 600;
|
|
66
|
-
text-transform: uppercase;
|
|
67
|
-
letter-spacing: 0.03em;
|
|
68
|
-
margin-bottom: 0.3rem;
|
|
69
|
-
padding-left: 0.1rem;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.message-role-label.user-label {
|
|
73
|
-
color: var(--text-secondary);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.message-role-label.assistant-label {
|
|
77
|
-
color: var(--accent);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.message-bubble {
|
|
81
|
-
padding: 0.6rem 0.9rem;
|
|
82
|
-
border-radius: 10px;
|
|
83
|
-
font-size: 0.94rem;
|
|
84
|
-
line-height: 1.6;
|
|
85
|
-
word-wrap: break-word;
|
|
86
|
-
position: relative;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.user-bubble {
|
|
90
|
-
background: var(--bg-tertiary);
|
|
91
|
-
color: var(--text-primary);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/* ── Queue bar (pending messages above input) ── */
|
|
95
|
-
.queue-bar {
|
|
96
|
-
max-width: 768px;
|
|
97
|
-
margin: 0 auto 6px;
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
gap: 3px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.queue-item {
|
|
104
|
-
display: flex;
|
|
105
|
-
align-items: center;
|
|
106
|
-
gap: 6px;
|
|
107
|
-
background: var(--bg-secondary);
|
|
108
|
-
border: 1px dashed var(--border);
|
|
109
|
-
border-radius: 8px;
|
|
110
|
-
padding: 4px 8px;
|
|
111
|
-
font-size: 0.8rem;
|
|
112
|
-
line-height: 1.3;
|
|
113
|
-
color: var(--text-secondary);
|
|
114
|
-
opacity: 0.85;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.queue-item-num {
|
|
118
|
-
flex-shrink: 0;
|
|
119
|
-
font-weight: 600;
|
|
120
|
-
color: var(--text-secondary);
|
|
121
|
-
font-size: 0.7rem;
|
|
122
|
-
opacity: 0.6;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.queue-item-text {
|
|
126
|
-
flex: 1;
|
|
127
|
-
min-width: 0;
|
|
128
|
-
overflow: hidden;
|
|
129
|
-
text-overflow: ellipsis;
|
|
130
|
-
white-space: nowrap;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.queue-item-attach {
|
|
134
|
-
flex-shrink: 0;
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
gap: 2px;
|
|
138
|
-
font-size: 0.7rem;
|
|
139
|
-
opacity: 0.6;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.queue-item-remove {
|
|
143
|
-
flex-shrink: 0;
|
|
144
|
-
background: none;
|
|
145
|
-
border: none;
|
|
146
|
-
color: var(--text-secondary);
|
|
147
|
-
font-size: 1rem;
|
|
148
|
-
line-height: 1;
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
padding: 0 2px;
|
|
151
|
-
opacity: 0.5;
|
|
152
|
-
transition: color 0.15s, opacity 0.15s;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.queue-item-remove:hover {
|
|
156
|
-
opacity: 1;
|
|
157
|
-
color: var(--error);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.usage-bar {
|
|
161
|
-
max-width: 768px;
|
|
162
|
-
margin: 0 auto 6px;
|
|
163
|
-
padding: 4px 10px;
|
|
164
|
-
font-size: 0.75rem;
|
|
165
|
-
color: var(--text-secondary);
|
|
166
|
-
text-align: center;
|
|
167
|
-
opacity: 0.7;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.assistant-bubble {
|
|
171
|
-
background: transparent;
|
|
172
|
-
padding: 0.2rem 0;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|