@wwwfz/dsh-agent-bridge 0.0.0-stage → 0.8.2
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 +183 -2
- package/cordis.patch.yml +4 -0
- package/package.json +38 -4
- package/src/assets.js +348 -0
- package/src/catalog.js +605 -0
- package/src/client.js +310 -0
- package/src/config.js +88 -0
- package/src/export.js +12 -0
- package/src/index.js +136 -0
- package/src/project-archive.js +145 -0
- package/src/projects.js +980 -0
- package/src/session-import.js +93 -0
- package/src/watch.js +309 -0
- package/web/Geist-OFL.txt +93 -0
- package/web/agent-icons/NOTICE.md +19 -0
- package/web/agent-icons/antigravity.svg +76 -0
- package/web/agent-icons/claude.svg +3 -0
- package/web/agent-icons/codex.png +0 -0
- package/web/agent-icons/copilot.svg +1 -0
- package/web/agent-icons/dsh.svg +58 -0
- package/web/agent-icons/gemini.png +0 -0
- package/web/agent-icons/licenses/copilot.txt +21 -0
- package/web/agent-icons/licenses/dsh.txt +21 -0
- package/web/agent-icons/licenses/gemini.txt +202 -0
- package/web/agent-icons/licenses/opencode.txt +21 -0
- package/web/agent-icons/licenses/qoder-notice.txt +18 -0
- package/web/agent-icons/licenses/qoder.txt +22 -0
- package/web/agent-icons/licenses/qwen.txt +203 -0
- package/web/agent-icons/opencode.png +0 -0
- package/web/agent-icons/qoder.svg +4 -0
- package/web/agent-icons/qwen.svg +5 -0
- package/web/agent-icons/trae.png +0 -0
- package/web/agent-icons/workbuddy.svg +29 -0
- package/web/geist-latin-wght-normal.woff2 +0 -0
- package/web/panel.css +502 -0
- package/web/panel.html +246 -0
- package/web/panel.js +1559 -0
- package/web/project-context.js +25 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto'
|
|
2
|
+
import path from 'node:path'
|
|
3
|
+
|
|
4
|
+
export function nativeSessionServices(ctx) {
|
|
5
|
+
const sessions = ctx.get?.('sessions')
|
|
6
|
+
const persistence = ctx.get?.('sessionPersistence')
|
|
7
|
+
const workspaces = ctx.get?.('workspaceRegistry')
|
|
8
|
+
const projectionCache = ctx.get?.('sessionProjectionCache')
|
|
9
|
+
if (!sessions?.prepare || !persistence?.create || !workspaces?.create) return undefined
|
|
10
|
+
return { sessions, persistence, workspaces, projectionCache }
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function nativeSessionEvents(messages, title, now = Date.now()) {
|
|
14
|
+
const events = []
|
|
15
|
+
let time = messages.find(message => message.time)?.time || now
|
|
16
|
+
const add = (type, data, surfaceOp) => {
|
|
17
|
+
events.push({ seq: events.length, time, type, data, ...(surfaceOp ? { surfaceOp } : {}) })
|
|
18
|
+
}
|
|
19
|
+
const message = (role, content, source) => ({ id: randomUUID(), role, content, source })
|
|
20
|
+
let turn = 0
|
|
21
|
+
let step = 0
|
|
22
|
+
let replied = false
|
|
23
|
+
const finish = () => {
|
|
24
|
+
add('step/end', { turn, step })
|
|
25
|
+
add('turn/end', { turn, reason: { kind: replied ? 'completed' : 'interrupted' } })
|
|
26
|
+
}
|
|
27
|
+
for (const entry of messages) {
|
|
28
|
+
const content = [{ type: 'text', text: entry.text }]
|
|
29
|
+
if (entry.role === 'user') {
|
|
30
|
+
if (turn) finish()
|
|
31
|
+
time = Math.max(time, entry.time || 0)
|
|
32
|
+
turn++
|
|
33
|
+
step = 1
|
|
34
|
+
replied = false
|
|
35
|
+
add('turn/start', { turn })
|
|
36
|
+
add('step/start', { turn, step })
|
|
37
|
+
if (turn === 1) {
|
|
38
|
+
// The current DSH system prompt replaces the empty first surface node on resume.
|
|
39
|
+
add('system/message', { turn, step, message: message('system', [], { kind: 'system-prompt' }) }, 'append')
|
|
40
|
+
}
|
|
41
|
+
add('user/message', message('user', content, { kind: 'user' }), 'append')
|
|
42
|
+
continue
|
|
43
|
+
}
|
|
44
|
+
if (replied) {
|
|
45
|
+
add('step/end', { turn, step })
|
|
46
|
+
step++
|
|
47
|
+
}
|
|
48
|
+
time = Math.max(time, entry.time || 0)
|
|
49
|
+
if (replied) {
|
|
50
|
+
add('step/start', { turn, step })
|
|
51
|
+
}
|
|
52
|
+
add('assistant/message', {
|
|
53
|
+
turn, step, stream: [],
|
|
54
|
+
message: message('assistant', content, { kind: 'model', provider: 'agent-bridge-import', model: 'imported' }),
|
|
55
|
+
}, 'append')
|
|
56
|
+
replied = true
|
|
57
|
+
}
|
|
58
|
+
finish()
|
|
59
|
+
add('session/title', { title, messageSeqs: [], source: { kind: 'user' } })
|
|
60
|
+
return events
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export async function saveNativeSession(services, record, cwd) {
|
|
64
|
+
const { sessions, persistence, workspaces, projectionCache } = services
|
|
65
|
+
const workspace = await workspaces.create(cwd)
|
|
66
|
+
const normalize = value => {
|
|
67
|
+
const normalized = path.normalize(value)
|
|
68
|
+
return process.platform === 'win32' ? normalized.toLowerCase() : normalized
|
|
69
|
+
}
|
|
70
|
+
if (normalize(workspace.path) !== normalize(cwd)) {
|
|
71
|
+
throw Object.assign(new Error('原工作目录已变化,请刷新项目。'), { status: 409 })
|
|
72
|
+
}
|
|
73
|
+
if (!record.stored) {
|
|
74
|
+
const events = nativeSessionEvents(record.messages, record.title)
|
|
75
|
+
const prepared = sessions.prepare(record.sessionId, { seed: events, meta: { cwd, createdAt: events[0].time } })
|
|
76
|
+
if (prepared.header.version !== 4) {
|
|
77
|
+
throw Object.assign(new Error('当前 DSH 的会话格式暂不支持历史迁入。'), { status: 409 })
|
|
78
|
+
}
|
|
79
|
+
const handle = await persistence.create(prepared.header)
|
|
80
|
+
try {
|
|
81
|
+
await handle.append(events)
|
|
82
|
+
await handle.flush()
|
|
83
|
+
record.stored = { header: prepared.header, events }
|
|
84
|
+
} finally {
|
|
85
|
+
await handle.close()
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
if (!workspace.sessionIds.includes(record.sessionId)) {
|
|
89
|
+
projectionCache?.coldSnapshot(record.stored.header, 0, record.stored.events)
|
|
90
|
+
await workspace.attachSession(record.sessionId)
|
|
91
|
+
}
|
|
92
|
+
return { sessionId: record.sessionId }
|
|
93
|
+
}
|
package/src/watch.js
ADDED
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
import { watch } from 'node:fs';
|
|
2
|
+
import { readdir, realpath, stat } from 'node:fs/promises';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
|
|
5
|
+
const maxWatchers = 224;
|
|
6
|
+
const maxSelected = 5;
|
|
7
|
+
const maxRootsPerAgent = 12;
|
|
8
|
+
const planLifetime = 30_000;
|
|
9
|
+
const note = /\.(?:md|markdown)$/i;
|
|
10
|
+
const transcript = /\.jsonl(?:\.zst)?$/i;
|
|
11
|
+
const skill = /^skill\.md$/i;
|
|
12
|
+
const projectFolders = [
|
|
13
|
+
'.agent', '.agents', '.claude', '.codex', '.dsh', '.gemini', '.opencode',
|
|
14
|
+
'.qoder', '.qwen', '.trae', '.workbuddy',
|
|
15
|
+
];
|
|
16
|
+
const hubFolders = ['决策', '经验', '资料', '交接', '笔记'];
|
|
17
|
+
const aliases = {
|
|
18
|
+
'claude-code': 'claude', 'codex-cli': 'codex', 'open-code': 'opencode', 'qoder-cn': 'qoder',
|
|
19
|
+
'qwen-code': 'qwen', 'trae-cn': 'trae', 'trae-solo': 'trae', 'gemini-cli': 'gemini',
|
|
20
|
+
'antigravity-cli': 'antigravity', vscode: 'copilot', 'vscode-insiders': 'copilot',
|
|
21
|
+
'vscode-copilot': 'copilot', vscodium: 'copilot', 'code-oss': 'copilot',
|
|
22
|
+
};
|
|
23
|
+
const all = () => true;
|
|
24
|
+
const matches = pattern => name => pattern.test(name);
|
|
25
|
+
const named = (...values) => {
|
|
26
|
+
const names = new Set(values.map(value => value.toLowerCase()));
|
|
27
|
+
return name => names.has(name.toLowerCase());
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
function fileKey(value) {
|
|
31
|
+
const normalized = path.normalize(value);
|
|
32
|
+
return process.platform === 'win32' ? normalized.toLowerCase() : normalized;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
async function recentDirectories(directory, limit) {
|
|
36
|
+
const entries = await readdir(directory, { withFileTypes: true }).catch(() => []);
|
|
37
|
+
const candidates = entries.filter(item => item.isDirectory() && !item.name.startsWith('.')).slice(0, 256);
|
|
38
|
+
const checked = await Promise.all(candidates.map(async item => {
|
|
39
|
+
const file = path.join(directory, item.name);
|
|
40
|
+
const info = await stat(file).catch(() => undefined);
|
|
41
|
+
return { file, modified: info?.mtimeMs ?? 0 };
|
|
42
|
+
}));
|
|
43
|
+
checked.sort((a, b) => b.modified - a.modified);
|
|
44
|
+
return checked.slice(0, limit).map(item => item.file);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function selectedProjects(entries) {
|
|
48
|
+
return entries.slice(0, maxSelected).map(item => typeof item === 'string' ? { cwd: item } : item)
|
|
49
|
+
.filter(item => typeof item?.cwd === 'string' && path.isAbsolute(item.cwd));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function sourceConfigPath(config) {
|
|
53
|
+
return config.configFile ?? config.file ?? process.env.DSH_AGENT_BRIDGE_CONFIG
|
|
54
|
+
?? (process.env.DSH_HOME ? path.join(process.env.DSH_HOME, 'agent-bridge.json')
|
|
55
|
+
: config.home ? path.join(config.home, '.dsh', 'agent-bridge.json') : undefined);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
async function watchPlan(config, selected) {
|
|
59
|
+
const wanted = new Map();
|
|
60
|
+
function add(directory, matcher, priority = 1) {
|
|
61
|
+
if (typeof directory !== 'string' || !path.isAbsolute(directory)) return;
|
|
62
|
+
const key = fileKey(directory);
|
|
63
|
+
const current = wanted.get(key);
|
|
64
|
+
if (current) {
|
|
65
|
+
current.matchers.push(matcher);
|
|
66
|
+
current.priority = Math.min(current.priority, priority);
|
|
67
|
+
} else wanted.set(key, { directory, matchers: [matcher], priority });
|
|
68
|
+
}
|
|
69
|
+
function file(value, sqlite = false) {
|
|
70
|
+
if (typeof value !== 'string' || !path.isAbsolute(value)) return;
|
|
71
|
+
const name = path.basename(value);
|
|
72
|
+
add(path.dirname(value), sqlite ? named(name, `${name}-wal`, `${name}-journal`) : named(name), 0);
|
|
73
|
+
}
|
|
74
|
+
async function skills(root, priority) {
|
|
75
|
+
add(root, all, priority);
|
|
76
|
+
const children = await recentDirectories(root, 20);
|
|
77
|
+
for (const child of children) add(child, matches(skill), priority + 1);
|
|
78
|
+
const system = path.join(root, '.system');
|
|
79
|
+
add(system, all, priority + 1);
|
|
80
|
+
for (const child of await recentDirectories(system, 8)) add(child, matches(skill), priority + 1);
|
|
81
|
+
}
|
|
82
|
+
async function childTranscripts(root, extra = []) {
|
|
83
|
+
add(root, all);
|
|
84
|
+
for (const child of await recentDirectories(root, 8)) {
|
|
85
|
+
add(child, name => transcript.test(name) || name.endsWith('-session.json') || extra.includes(name), 2);
|
|
86
|
+
for (const name of extra) {
|
|
87
|
+
if (name === 'chats' || name === 'chatSessions') add(path.join(child, name), matches(/\.jsonl?$/i), 2);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function codexTranscripts(root) {
|
|
92
|
+
add(root, all);
|
|
93
|
+
const now = new Date();
|
|
94
|
+
const days = new Set();
|
|
95
|
+
for (const value of [now, new Date(now.valueOf() - 86_400_000)]) {
|
|
96
|
+
const local = [value.getFullYear(), value.getMonth() + 1, value.getDate()].map(item => String(item).padStart(2, '0')).join('/');
|
|
97
|
+
days.add(local);
|
|
98
|
+
days.add(value.toISOString().slice(0, 10).replaceAll('-', '/'));
|
|
99
|
+
}
|
|
100
|
+
for (const day of days) {
|
|
101
|
+
const directory = path.join(root, day);
|
|
102
|
+
add(path.dirname(directory), all, 2);
|
|
103
|
+
add(directory, matches(transcript), 2);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
const jobs = [];
|
|
108
|
+
file(sourceConfigPath(config));
|
|
109
|
+
for (const archive of config.archiveFiles ?? []) file(archive, true);
|
|
110
|
+
for (const project of selected) {
|
|
111
|
+
const { cwd } = project;
|
|
112
|
+
add(cwd, name => /^(?:agents|claude|gemini|qwen|memory)\.md$/i.test(name) || name === '.agent-bridge' || projectFolders.includes(name), 0);
|
|
113
|
+
const bridge = path.join(cwd, '.agent-bridge');
|
|
114
|
+
add(bridge, named('memory', 'handoffs'), 0);
|
|
115
|
+
for (const folder of ['memory', 'handoffs']) add(path.join(bridge, folder), matches(note), 0);
|
|
116
|
+
for (const folder of projectFolders) {
|
|
117
|
+
const root = path.join(cwd, folder);
|
|
118
|
+
add(root, name => note.test(name) || name === 'memory' || name === 'skills', 0);
|
|
119
|
+
add(path.join(root, 'memory'), matches(note), 0);
|
|
120
|
+
jobs.push(skills(path.join(root, 'skills'), 0));
|
|
121
|
+
}
|
|
122
|
+
for (const [workspace, sources] of Object.entries(config.memoryExports ?? {})) {
|
|
123
|
+
if (fileKey(workspace) !== fileKey(cwd)) continue;
|
|
124
|
+
for (const source of sources) {
|
|
125
|
+
if (note.test(source)) file(source);
|
|
126
|
+
else add(source, matches(note), 0);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
for (const root of config.workspaceHubRoots ?? []) {
|
|
130
|
+
for (const id of (project.projectIds ?? []).filter(value => /^P\d{3,}$/.test(value)).slice(0, 8)) {
|
|
131
|
+
const folder = path.join(root, '项目档案', id);
|
|
132
|
+
add(folder, name => note.test(name) || name === 'project.yaml' || hubFolders.includes(name), 0);
|
|
133
|
+
for (const subfolder of hubFolders) add(path.join(folder, subfolder), matches(note), 0);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
for (const root of config.workspaceHubRoots ?? []) {
|
|
138
|
+
const projects = path.basename(root) === '项目档案' ? root : path.join(root, '项目档案');
|
|
139
|
+
add(projects, matches(/^P\d{3,}$/), 0);
|
|
140
|
+
jobs.push(skills(path.join(root, 'skills', 'source'), 2));
|
|
141
|
+
}
|
|
142
|
+
for (const root of config.projectRoots ?? []) {
|
|
143
|
+
if (typeof root === 'string' && path.isAbsolute(root)) add(path.dirname(root), named(path.basename(root)), 0);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
const globalSkills = [...(config.skillRoots ?? []), ...(config.opencodeSkillRoots ?? []).map(root => path.join(root, 'skills'))];
|
|
147
|
+
if (config.home) globalSkills.push(path.join(config.home, '.agents', 'skills'));
|
|
148
|
+
for (const root of globalSkills) jobs.push(skills(root, 2));
|
|
149
|
+
|
|
150
|
+
for (const [provider, roots] of Object.entries(config.agentRoots ?? {})) {
|
|
151
|
+
const agent = aliases[provider] ?? provider;
|
|
152
|
+
for (const root of roots.slice(0, maxRootsPerAgent)) {
|
|
153
|
+
if (agent === 'opencode' && (await stat(root).catch(() => undefined))?.isFile()) {
|
|
154
|
+
file(root, true);
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
add(root, name => /^(?:state_\d+\.sqlite(?:-wal|-journal)?|(?:opencode|conversation_summaries)\.db(?:-wal|-journal)?|history\.jsonl|session_index\.jsonl)$/i.test(name)
|
|
158
|
+
|| note.test(name) || ['projects', 'sessions', 'archived_sessions', 'workspaceStorage', 'User', 'tmp', 'skills', 'memory', 'memories', 'memories_v2', 'agent-memory', 'knowledge', 'qoder-knowledge', 'diary'].includes(name), 0);
|
|
159
|
+
|
|
160
|
+
if (agent === 'codex') {
|
|
161
|
+
const tail = path.basename(root).toLowerCase();
|
|
162
|
+
if (tail !== 'archived_sessions') codexTranscripts(tail === 'sessions' ? root : path.join(root, 'sessions'));
|
|
163
|
+
if (tail !== 'sessions') add(tail === 'archived_sessions' ? root : path.join(root, 'archived_sessions'), matches(transcript));
|
|
164
|
+
}
|
|
165
|
+
if (['claude', 'qoder', 'qwen', 'workbuddy'].includes(agent)) {
|
|
166
|
+
const projects = path.basename(root).toLowerCase() === 'projects' ? root : path.join(root, 'projects');
|
|
167
|
+
jobs.push(childTranscripts(projects));
|
|
168
|
+
for (const { cwd } of selected) {
|
|
169
|
+
const slug = cwd.replace(/[^\p{L}\p{N}]/gu, '-');
|
|
170
|
+
const asciiSlug = cwd.replace(/[^a-zA-Z0-9]/g, '-');
|
|
171
|
+
for (const name of new Set([slug, asciiSlug, slug.toLowerCase()])) {
|
|
172
|
+
const bucket = path.join(projects, name);
|
|
173
|
+
add(bucket, name => transcript.test(name) || name === 'memory', 0);
|
|
174
|
+
add(path.join(bucket, 'memory'), matches(note), 0);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
if (agent === 'gemini') jobs.push(childTranscripts(path.basename(root) === 'tmp' ? root : path.join(root, 'tmp'), ['chats', '.project_root']));
|
|
179
|
+
if (agent === 'opencode') {
|
|
180
|
+
file(path.join(root, 'opencode.db'), true);
|
|
181
|
+
file(path.join(root, 'opencode', 'opencode.db'), true);
|
|
182
|
+
}
|
|
183
|
+
if (agent === 'copilot' || agent === 'trae') {
|
|
184
|
+
const stores = path.basename(root).toLowerCase() === 'workspacestorage'
|
|
185
|
+
? [root] : [path.join(root, 'workspaceStorage'), path.join(root, 'User', 'workspaceStorage')];
|
|
186
|
+
for (const store of stores) jobs.push(childTranscripts(store, ['workspace.json', 'chatSessions']));
|
|
187
|
+
}
|
|
188
|
+
for (const folder of ['memory', 'memories', 'memories_v2', 'agent-memory', 'knowledge', 'qoder-knowledge', 'diary']) {
|
|
189
|
+
add(path.join(root, folder), matches(note), 2);
|
|
190
|
+
}
|
|
191
|
+
if (agent === 'codex') {
|
|
192
|
+
for (const folder of ['memories', 'memories_v2']) add(path.join(root, folder, 'extensions', 'ad_hoc', 'notes'), matches(note), 2);
|
|
193
|
+
}
|
|
194
|
+
jobs.push(skills(path.join(root, 'skills'), 2));
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
await Promise.all(jobs);
|
|
198
|
+
return [...wanted.values()].sort((a, b) => a.priority - b.priority);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
async function watchTarget(entry) {
|
|
202
|
+
let { directory, matchers } = entry;
|
|
203
|
+
for (let level = 0; level < 4; level++) {
|
|
204
|
+
try {
|
|
205
|
+
const actual = await realpath(directory);
|
|
206
|
+
const info = await stat(actual, { bigint: true });
|
|
207
|
+
if (!info.isDirectory()) return undefined;
|
|
208
|
+
return { directory: actual, matchers, identity: `${info.dev}:${info.ino}` };
|
|
209
|
+
} catch (error) {
|
|
210
|
+
if (!['ENOENT', 'ENOTDIR'].includes(error.code)) return undefined;
|
|
211
|
+
const parent = path.dirname(directory);
|
|
212
|
+
if (parent === directory) return undefined;
|
|
213
|
+
matchers = [named(path.basename(directory))];
|
|
214
|
+
directory = parent;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return undefined;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export function createSourceMonitor({ onChange, debounceMs = 300 } = {}) {
|
|
221
|
+
const watchers = new Map();
|
|
222
|
+
let disposed = false;
|
|
223
|
+
let dirty = true;
|
|
224
|
+
let nextPlan = 0;
|
|
225
|
+
let signature;
|
|
226
|
+
let generation = 0;
|
|
227
|
+
let changeTimer;
|
|
228
|
+
|
|
229
|
+
function signal(event) {
|
|
230
|
+
if (disposed) return;
|
|
231
|
+
if (event === 'rename') dirty = true;
|
|
232
|
+
if (changeTimer) return;
|
|
233
|
+
changeTimer = setTimeout(() => {
|
|
234
|
+
changeTimer = undefined;
|
|
235
|
+
if (!disposed) onChange?.();
|
|
236
|
+
}, debounceMs);
|
|
237
|
+
changeTimer.unref?.();
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
async function update(config = {}, projectDirectories = []) {
|
|
241
|
+
if (disposed) return;
|
|
242
|
+
const selected = selectedProjects(projectDirectories);
|
|
243
|
+
const current = JSON.stringify([config, selected]);
|
|
244
|
+
if (!dirty && signature === current && Date.now() < nextPlan) return;
|
|
245
|
+
const token = ++generation;
|
|
246
|
+
signature = current;
|
|
247
|
+
dirty = false;
|
|
248
|
+
nextPlan = Date.now() + planLifetime;
|
|
249
|
+
const plan = await watchPlan(config, selected);
|
|
250
|
+
const wanted = new Map();
|
|
251
|
+
for (let offset = 0; offset < plan.length && wanted.size < maxWatchers; offset += 48) {
|
|
252
|
+
const chunk = await Promise.all(plan.slice(offset, offset + 48).map(watchTarget));
|
|
253
|
+
for (const target of chunk) {
|
|
254
|
+
if (!target) continue;
|
|
255
|
+
const key = fileKey(target.directory);
|
|
256
|
+
const current = wanted.get(key);
|
|
257
|
+
if (current) current.matchers.push(...target.matchers);
|
|
258
|
+
else if (wanted.size < maxWatchers) wanted.set(key, target);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
if (disposed || token !== generation) return;
|
|
262
|
+
for (const [key, entry] of watchers) {
|
|
263
|
+
if (wanted.has(key)) continue;
|
|
264
|
+
entry.watcher.close();
|
|
265
|
+
watchers.delete(key);
|
|
266
|
+
}
|
|
267
|
+
for (const [key, target] of wanted) {
|
|
268
|
+
const current = watchers.get(key);
|
|
269
|
+
if (current?.identity === target.identity) {
|
|
270
|
+
current.matchers = target.matchers;
|
|
271
|
+
continue;
|
|
272
|
+
}
|
|
273
|
+
if (current) {
|
|
274
|
+
watchers.delete(key);
|
|
275
|
+
current.watcher.close();
|
|
276
|
+
}
|
|
277
|
+
try {
|
|
278
|
+
const entry = { matchers: target.matchers, identity: target.identity };
|
|
279
|
+
const watcher = watch(target.directory, { persistent: false }, (event, filename) => {
|
|
280
|
+
if (!filename || entry.matchers.some(matcher => matcher(path.basename(String(filename))))) signal(event);
|
|
281
|
+
});
|
|
282
|
+
entry.watcher = watcher;
|
|
283
|
+
watcher.on('error', () => {
|
|
284
|
+
if (watchers.get(key) !== entry) return;
|
|
285
|
+
watcher.close();
|
|
286
|
+
watchers.delete(key);
|
|
287
|
+
dirty = true;
|
|
288
|
+
});
|
|
289
|
+
watcher.on('close', () => {
|
|
290
|
+
if (watchers.get(key) !== entry) return;
|
|
291
|
+
watchers.delete(key);
|
|
292
|
+
dirty = true;
|
|
293
|
+
});
|
|
294
|
+
watchers.set(key, entry);
|
|
295
|
+
} catch {
|
|
296
|
+
// Unsupported filesystems remain covered by the caller's periodic polling.
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
function dispose() {
|
|
302
|
+
disposed = true;
|
|
303
|
+
clearTimeout(changeTimer);
|
|
304
|
+
for (const { watcher } of watchers.values()) watcher.close();
|
|
305
|
+
watchers.clear();
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
return { update, dispose };
|
|
309
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font) Geist-Italic[wght].ttf: Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Agent icon notices
|
|
2
|
+
|
|
3
|
+
The panel shows these small marks next to Agent names to identify the local sources it can read. The marks belong to their respective owners. Their use does not imply affiliation or endorsement.
|
|
4
|
+
|
|
5
|
+
| Asset | First-party artwork | Source license or usage guidance |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| `antigravity.svg` | [Google Antigravity full-color icon](https://antigravity.google/assets/image/brand/antigravity-icon__full-color.svg) from the [official press kit](https://antigravity.google/press) | Google's [product icon guidance](https://about.google/intl/ALL/brand-resource-center/brand-elements/#product-icons) permits small informational depictions that identify a relationship to the product. |
|
|
8
|
+
| `claude.svg` | `resources/clawd.svg` from [Anthropic's Claude Code extension](https://marketplace.visualstudio.com/items?itemName=Anthropic.claude-code) | [Anthropic Trademark Guidelines](https://www.anthropic.com/legal/trademark-guidelines) |
|
|
9
|
+
| `codex.png` | [OpenAI Codex app logo](https://cdn.oaistatic.com/assets/codex-app-ga-logo.dfddfb85d7.png) | [OpenAI brand guidelines](https://openai.com/brand/#usage-terms) |
|
|
10
|
+
| `copilot.svg` | [GitHub Primer Copilot Octicon](https://github.com/primer/octicons/blob/main/icons/copilot-24.svg) | [MIT](licenses/copilot.txt) |
|
|
11
|
+
| `dsh.svg` | [DeepSeek Harness desktop app icon](https://github.com/deepseek-ai/deepseek-harness/blob/e8f7b93a344964de3dca1ace9e72b6e4d6de87cb/apps/desktop/resources/icon.svg) | [MIT](licenses/dsh.txt) |
|
|
12
|
+
| `gemini.png` | [Gemini CLI IDE Companion icon](https://github.com/google-gemini/gemini-cli/blob/e5d88fb2c036ce7e0c27131469cd963221b9d9e7/packages/vscode-ide-companion/assets/icon.png) | [Apache 2.0](licenses/gemini.txt) and [Google product icon guidance](https://about.google/intl/ALL/brand-resource-center/brand-elements/#product-icons) |
|
|
13
|
+
| `opencode.png` | [OpenCode UI favicon](https://github.com/anomalyco/opencode/blob/99f2bea6dfd77bda4bdc8150cca71cb93ee32194/packages/ui/src/assets/favicon/favicon-96x96-v3.png) | [MIT](licenses/opencode.txt) |
|
|
14
|
+
| `qoder.svg` | [Qoder icon from QoderAI's Qoderian](https://github.com/QoderAI/Qoderian/blob/c3a7b79d6019769cbb9e5b5b4f597ac5b3556b4c/src/assets/qoder-icon.svg) | [MIT](licenses/qoder.txt) and [upstream notice](licenses/qoder-notice.txt) |
|
|
15
|
+
| `qwen.svg` | [Qwen Code desktop logo](https://github.com/QwenLM/qwen-code/blob/583f9dd13762234646402f88ffffac83f0d2c99d/packages/desktop/bootstrap/qwen-code-logo.svg) | [Apache 2.0](licenses/qwen.txt) |
|
|
16
|
+
| `trae.png` | [TRAE China website favicon](https://lf-cdn.trae.com.cn/obj/trae-com-cn/trae_website_prod_cn/favicon.png) | [TRAE](https://www.trae.cn/) |
|
|
17
|
+
| `workbuddy.svg` | [Tencent WorkBuddy website logo](https://assets.workbuddy.cn/web/workbuddy/5611ca0b566ae70e862617fecf6f3c8b05e5515a/assets/logo.svg) | [WorkBuddy](https://www.workbuddy.cn/) |
|
|
18
|
+
|
|
19
|
+
The applicable upstream license texts accompany their assets. The marks retain their respective ownership, including any applicable trademark rights.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M144.248 149.062C151.748 154.688 162.998 150.938 152.685 140.625C121.748 110.625 128.31 28.125 89.8727 28.125C51.4352 28.125 57.9977 110.625 27.0602 140.625C15.8102 151.875 27.9977 154.688 35.4977 149.062C64.5602 129.375 62.6852 94.6875 89.8727 94.6875C117.06 94.6875 115.185 129.375 144.248 149.062Z" fill="#3186FF"/>
|
|
3
|
+
<mask id="mask0_6001_409" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="22" y="28" width="136" height="125">
|
|
4
|
+
<path d="M144.248 149.062C151.748 154.688 162.998 150.938 152.685 140.625C121.748 110.625 128.31 28.125 89.8727 28.125C51.4352 28.125 57.9977 110.625 27.0602 140.625C15.8102 151.875 27.9977 154.688 35.4977 149.062C64.5602 129.375 62.6852 94.6875 89.8727 94.6875C117.06 94.6875 115.185 129.375 144.248 149.062Z" fill="white"/>
|
|
5
|
+
</mask>
|
|
6
|
+
<g mask="url(#mask0_6001_409)">
|
|
7
|
+
<g filter="url(#filter0_f_6001_409)">
|
|
8
|
+
<ellipse cx="36.6225" cy="43.0872" rx="36.6225" ry="43.0872" transform="matrix(-0.112784 0.99362 -0.99362 -0.112781 106.557 -26.4847)" fill="#FFE432"/>
|
|
9
|
+
</g>
|
|
10
|
+
<g filter="url(#filter1_f_6001_409)">
|
|
11
|
+
<ellipse cx="155.163" cy="54.9292" rx="47.4118" ry="48.4541" transform="rotate(76.9243 155.163 54.9292)" fill="#FC413D"/>
|
|
12
|
+
</g>
|
|
13
|
+
<g filter="url(#filter2_f_6001_409)">
|
|
14
|
+
<ellipse cx="14.6006" cy="65.4425" rx="49.5515" ry="64.192" transform="rotate(74.1257 14.6006 65.4425)" fill="#00B95C"/>
|
|
15
|
+
</g>
|
|
16
|
+
<g filter="url(#filter3_f_6001_409)">
|
|
17
|
+
<ellipse cx="14.6006" cy="65.4425" rx="49.5515" ry="64.192" transform="rotate(74.1257 14.6006 65.4425)" fill="#00B95C"/>
|
|
18
|
+
</g>
|
|
19
|
+
<g filter="url(#filter4_f_6001_409)">
|
|
20
|
+
<ellipse cx="18.1226" cy="67.414" rx="48.5679" ry="53.4688" transform="rotate(45.6065 18.1226 67.414)" fill="#00B95C"/>
|
|
21
|
+
</g>
|
|
22
|
+
<g filter="url(#filter5_f_6001_409)">
|
|
23
|
+
<ellipse cx="121.837" cy="166.945" rx="46.6356" ry="44.9084" transform="rotate(76.9243 121.837 166.945)" fill="#3186FF"/>
|
|
24
|
+
</g>
|
|
25
|
+
<g filter="url(#filter6_f_6001_409)">
|
|
26
|
+
<ellipse cx="53.9456" cy="56.8997" rx="53.9456" ry="56.8997" transform="matrix(-0.409539 0.912293 -0.912294 -0.409537 162.811 -25.895)" fill="#FBBC04"/>
|
|
27
|
+
</g>
|
|
28
|
+
<g filter="url(#filter7_f_6001_409)">
|
|
29
|
+
<path d="M4.21557 239.063C-25.3231 227.467 25.1577 132.061 37.7105 100.085C50.2634 68.1097 84.3853 51.5888 113.924 63.1848C143.463 74.7809 178.474 138.65 165.921 170.626C153.368 202.601 33.7543 250.659 4.21557 239.063Z" fill="#3186FF"/>
|
|
30
|
+
</g>
|
|
31
|
+
<g filter="url(#filter8_f_6001_409)">
|
|
32
|
+
<path d="M183.197 120.315C175.289 129.545 154.652 124.839 137.102 109.803C119.553 94.7668 111.738 75.0955 119.646 65.8656C127.554 56.6357 148.191 61.3423 165.74 76.3782C183.289 91.414 191.105 111.085 183.197 120.315Z" fill="#749BFF"/>
|
|
33
|
+
</g>
|
|
34
|
+
<g filter="url(#filter9_f_6001_409)">
|
|
35
|
+
<ellipse cx="148.928" cy="36.7252" rx="71.1018" ry="44.199" transform="rotate(34.0763 148.928 36.7252)" fill="#FC413D"/>
|
|
36
|
+
</g>
|
|
37
|
+
<g filter="url(#filter10_f_6001_409)">
|
|
38
|
+
<ellipse cx="37.848" cy="46.0346" rx="38.1008" ry="22.1575" transform="rotate(112.516 37.848 46.0346)" fill="#FFEE48"/>
|
|
39
|
+
</g>
|
|
40
|
+
</g>
|
|
41
|
+
<defs>
|
|
42
|
+
<filter id="filter0_f_6001_409" x="4.09591" y="-44.1761" width="111.037" height="98.4416" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
43
|
+
<feGaussianBlur stdDeviation="6.25234"/>
|
|
44
|
+
</filter>
|
|
45
|
+
<filter id="filter1_f_6001_409" x="46.2974" y="-53.0009" width="217.731" height="215.86" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
46
|
+
<feGaussianBlur stdDeviation="30.2268"/>
|
|
47
|
+
</filter>
|
|
48
|
+
<filter id="filter2_f_6001_409" x="-100.018" y="-36.7558" width="229.238" height="204.397" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
49
|
+
<feGaussianBlur stdDeviation="25.6957"/>
|
|
50
|
+
</filter>
|
|
51
|
+
<filter id="filter3_f_6001_409" x="-100.018" y="-36.7558" width="229.238" height="204.397" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
52
|
+
<feGaussianBlur stdDeviation="25.6957"/>
|
|
53
|
+
</filter>
|
|
54
|
+
<filter id="filter4_f_6001_409" x="-84.3985" y="-35.003" width="205.042" height="204.834" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
55
|
+
<feGaussianBlur stdDeviation="25.6957"/>
|
|
56
|
+
</filter>
|
|
57
|
+
<filter id="filter5_f_6001_409" x="27.9915" y="71.5493" width="187.691" height="190.791" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
58
|
+
<feGaussianBlur stdDeviation="24.4184"/>
|
|
59
|
+
</filter>
|
|
60
|
+
<filter id="filter6_f_6001_409" x="-11.8808" y="-98.7085" width="201.38" height="197.45" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
61
|
+
<feGaussianBlur stdDeviation="22.1301"/>
|
|
62
|
+
</filter>
|
|
63
|
+
<filter id="filter7_f_6001_409" x="-44.4432" y="19.9522" width="252.513" height="260.404" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
64
|
+
<feGaussianBlur stdDeviation="19.7631"/>
|
|
65
|
+
</filter>
|
|
66
|
+
<filter id="filter8_f_6001_409" x="81.1915" y="25.7722" width="140.46" height="134.637" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
67
|
+
<feGaussianBlur stdDeviation="17.6843"/>
|
|
68
|
+
</filter>
|
|
69
|
+
<filter id="filter9_f_6001_409" x="55.1499" y="-47.2531" width="187.555" height="167.957" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
70
|
+
<feGaussianBlur stdDeviation="14.9365"/>
|
|
71
|
+
</filter>
|
|
72
|
+
<filter id="filter10_f_6001_409" x="-24.2633" y="-27.1515" width="124.223" height="146.372" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
73
|
+
<feGaussianBlur stdDeviation="18.4865"/>
|
|
74
|
+
</filter>
|
|
75
|
+
</defs>
|
|
76
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="47" height="38" viewBox="0 0 47 38" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M5.08191 10.0769V0.938461H9.37422V10.0769H5.08191ZM9.23305 10.0769V0.938461H13.5254V10.0769H9.23305ZM13.3842 10.0769V0.938461H17.6765V10.0769H13.3842ZM17.5353 10.0769V0.938461H21.8276V10.0769H17.5353ZM21.6865 10.0769V0.938461H25.9788V10.0769H21.6865ZM25.8376 10.0769V0.938461H30.1299V10.0769H25.8376ZM29.9888 10.0769V0.938461H34.2811V10.0769H29.9888ZM34.1399 10.0769V0.938461H38.4322V10.0769H34.1399ZM38.291 10.0769V0.938461H42.5834V10.0769H38.291ZM0.930769 19.0769V9.93846H5.22308V19.0769H0.930769ZM5.08191 19.0769V9.93846H9.37422V19.0769H5.08191ZM9.23305 19.0769V14.5077H13.5254V19.0769H9.23305ZM13.3842 19.0769V9.93846H17.6765V19.0769H13.3842ZM17.5353 19.0769V9.93846H21.8276V19.0769H17.5353ZM21.6865 19.0769V9.93846H25.9788V19.0769H21.6865ZM25.8376 19.0769V9.93846H30.1299V19.0769H25.8376ZM29.9888 19.0769V9.93846H34.2811V19.0769H29.9888ZM34.1399 19.0769V14.5077H38.4322V19.0769H34.1399ZM38.291 19.0769V9.93846H42.5834V19.0769H38.291ZM42.4422 19.0769V9.93846H46.7345V19.0769H42.4422ZM5.08191 28.0769V18.9385H9.37422V28.0769H5.08191ZM9.23305 28.0769V18.9385H13.5254V28.0769H9.23305ZM13.3842 28.0769V18.9385H17.6765V28.0769H13.3842ZM17.5353 28.0769V18.9385H21.8276V28.0769H17.5353ZM21.6865 28.0769V18.9385H25.9788V28.0769H21.6865ZM25.8376 28.0769V18.9385H30.1299V28.0769H25.8376ZM29.9888 28.0769V18.9385H34.2811V28.0769H29.9888ZM34.1399 28.0769V18.9385H38.4322V28.0769H34.1399ZM38.291 28.0769V18.9385H42.5834V28.0769H38.291ZM5.08191 37.0769V27.9385H9.37422V37.0769H5.08191ZM13.3842 37.0769V27.9385H17.6765V37.0769H13.3842ZM29.9888 37.0769V27.9385H34.2811V37.0769H29.9888ZM38.291 37.0769V27.9385H42.5834V37.0769H38.291Z" fill="#D97757"/>
|
|
3
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"/><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"/></svg>
|