@oddessentials/agent-guild 0.5.0 → 0.7.0
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 +182 -135
- package/package.json +1 -1
- package/src/manager/changelog.mjs +195 -0
- package/src/manager/config.mjs +1 -0
- package/src/manager/github.mjs +842 -0
- package/src/manager/main.mjs +10 -3
- package/src/manager/news.mjs +5 -5
- package/src/manager/server.mjs +70 -8
- package/src/manager/session-manager.mjs +32 -3
- package/src/manager/session.mjs +4 -1
- package/web/app.js +1005 -11
- package/web/art/art.css +374 -159
- package/web/art/characters/anthropic/idle.avif +0 -0
- package/web/art/characters/anthropic/idle.webp +0 -0
- package/web/art/characters/anthropic/locked.avif +0 -0
- package/web/art/characters/anthropic/locked.webp +0 -0
- package/web/art/characters/anthropic/working.avif +0 -0
- package/web/art/characters/anthropic/working.webp +0 -0
- package/web/art/characters/google/idle.avif +0 -0
- package/web/art/characters/google/idle.webp +0 -0
- package/web/art/characters/google/locked.avif +0 -0
- package/web/art/characters/google/locked.webp +0 -0
- package/web/art/characters/google/working.avif +0 -0
- package/web/art/characters/google/working.webp +0 -0
- package/web/art/characters/openai/idle.avif +0 -0
- package/web/art/characters/openai/idle.webp +0 -0
- package/web/art/characters/openai/locked.avif +0 -0
- package/web/art/characters/openai/locked.webp +0 -0
- package/web/art/characters/openai/working.avif +0 -0
- package/web/art/characters/openai/working.webp +0 -0
- package/web/art/characters/shell/idle.avif +0 -0
- package/web/art/characters/shell/idle.webp +0 -0
- package/web/art/characters/shell/locked.avif +0 -0
- package/web/art/characters/shell/locked.webp +0 -0
- package/web/art/characters/shell/working.avif +0 -0
- package/web/art/characters/shell/working.webp +0 -0
- package/web/art/characters/xai/idle.avif +0 -0
- package/web/art/characters/xai/idle.webp +0 -0
- package/web/art/characters/xai/locked.avif +0 -0
- package/web/art/characters/xai/locked.webp +0 -0
- package/web/art/characters/xai/working.avif +0 -0
- package/web/art/characters/xai/working.webp +0 -0
- package/web/art/icons/anthropic.avif +0 -0
- package/web/art/icons/anthropic.webp +0 -0
- package/web/art/icons/google.avif +0 -0
- package/web/art/icons/google.webp +0 -0
- package/web/art/icons/openai.avif +0 -0
- package/web/art/icons/openai.webp +0 -0
- package/web/art/icons/shell.avif +0 -0
- package/web/art/icons/shell.webp +0 -0
- package/web/art/icons/xai.avif +0 -0
- package/web/art/icons/xai.webp +0 -0
- package/web/art/page-light.avif +0 -0
- package/web/art/page-light.webp +0 -0
- package/web/art/page.avif +0 -0
- package/web/art/page.webp +0 -0
- package/web/art/ui/empty-state.avif +0 -0
- package/web/art/ui/empty-state.webp +0 -0
- package/web/art/ui/favicon.png +0 -0
- package/web/art/ui/frame-ornate.png +0 -0
- package/web/art/ui/guild-crest.png +0 -0
- package/web/fonts/OFL.txt +93 -0
- package/web/fonts/cinzel.woff2 +0 -0
- package/web/index.html +101 -15
- package/web/styles.css +240 -71
- package/web/art/characters/anthropic/idle.png +0 -0
- package/web/art/characters/anthropic/locked.png +0 -0
- package/web/art/characters/anthropic/working.png +0 -0
- package/web/art/characters/google/idle.png +0 -0
- package/web/art/characters/google/locked.png +0 -0
- package/web/art/characters/google/working.png +0 -0
- package/web/art/characters/openai/idle.png +0 -0
- package/web/art/characters/openai/locked.png +0 -0
- package/web/art/characters/openai/working.png +0 -0
- package/web/art/characters/shell/idle.png +0 -0
- package/web/art/characters/shell/locked.png +0 -0
- package/web/art/characters/shell/working.png +0 -0
- package/web/art/characters/xai/idle.png +0 -0
- package/web/art/characters/xai/locked.png +0 -0
- package/web/art/characters/xai/working.png +0 -0
- package/web/art/icons/anthropic.png +0 -0
- package/web/art/icons/google.png +0 -0
- package/web/art/icons/openai.png +0 -0
- package/web/art/icons/shell.png +0 -0
- package/web/art/icons/xai.png +0 -0
- package/web/art/page.png +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Cinzel Project Authors (https://github.com/NDISCOVER/Cinzel)
|
|
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.
|
|
Binary file
|
package/web/index.html
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
<title>Agent Guild</title>
|
|
7
7
|
<meta name="color-scheme" content="light dark">
|
|
8
8
|
<script src="/theme.js"></script>
|
|
9
|
-
<link rel="icon" href="
|
|
9
|
+
<link rel="icon" href="/art/ui/favicon.png" type="image/png">
|
|
10
|
+
<link rel="preload" href="/fonts/cinzel.woff2" as="font" type="font/woff2" crossorigin>
|
|
10
11
|
<link rel="stylesheet" href="/vendor/xterm/xterm.css">
|
|
11
12
|
<link rel="stylesheet" href="/styles.css">
|
|
12
13
|
<link rel="stylesheet" href="/art/art.css">
|
|
@@ -14,9 +15,8 @@
|
|
|
14
15
|
<body>
|
|
15
16
|
<header class="topbar">
|
|
16
17
|
<div class="brand">
|
|
17
|
-
<svg class="brand-mark" viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="8" fill="currentColor"/><path d="M9 22l7-12 7 12" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
18
18
|
<h1>Agent Guild</h1>
|
|
19
|
-
<
|
|
19
|
+
<button id="version" class="version" type="button" aria-haspopup="dialog" hidden></button>
|
|
20
20
|
</div>
|
|
21
21
|
<div class="topbar-end">
|
|
22
22
|
<div id="connection" class="connection" role="status" aria-live="polite">
|
|
@@ -34,10 +34,13 @@
|
|
|
34
34
|
<section class="launcher" aria-labelledby="launch-heading">
|
|
35
35
|
<div class="section-head">
|
|
36
36
|
<h2 id="launch-heading">Start a session</h2>
|
|
37
|
-
<
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
<div class="launch-tools">
|
|
38
|
+
<label class="cwd">
|
|
39
|
+
<span>Working folder</span>
|
|
40
|
+
<input id="cwd" type="text" spellcheck="false" autocomplete="off" placeholder="Home folder">
|
|
41
|
+
</label>
|
|
42
|
+
<button id="github-open" class="btn github-open" type="button" aria-haspopup="dialog">Clone from GitHub…</button>
|
|
43
|
+
</div>
|
|
41
44
|
</div>
|
|
42
45
|
<div id="providers" class="providers" role="list"></div>
|
|
43
46
|
</section>
|
|
@@ -139,6 +142,25 @@
|
|
|
139
142
|
<p id="news-status" class="news-status" hidden></p>
|
|
140
143
|
</dialog>
|
|
141
144
|
|
|
145
|
+
<dialog id="changelog" class="news-panel" aria-labelledby="changelog-title">
|
|
146
|
+
<div class="news-bar">
|
|
147
|
+
<div class="news-heading">
|
|
148
|
+
<h2 id="changelog-title">What’s new</h2>
|
|
149
|
+
<p id="changelog-sub" class="sub"></p>
|
|
150
|
+
</div>
|
|
151
|
+
<button id="changelog-close" class="btn" type="button">Close</button>
|
|
152
|
+
</div>
|
|
153
|
+
<div class="news-body">
|
|
154
|
+
<div id="changelog-actions" class="changelog-actions" hidden>
|
|
155
|
+
<button id="changelog-upgrade" class="btn upgrade" type="button" hidden></button>
|
|
156
|
+
<button id="changelog-restart" class="btn restart-manager pending" type="button" hidden></button>
|
|
157
|
+
</div>
|
|
158
|
+
<ol id="changelog-list" class="changelog-list"></ol>
|
|
159
|
+
<p id="changelog-note" class="news-empty" hidden></p>
|
|
160
|
+
</div>
|
|
161
|
+
<p id="changelog-status" class="news-status" hidden></p>
|
|
162
|
+
</dialog>
|
|
163
|
+
|
|
142
164
|
<dialog id="history" class="models history" aria-labelledby="history-title">
|
|
143
165
|
<div class="models-bar">
|
|
144
166
|
<span id="history-icon" class="provider-icon small"></span>
|
|
@@ -163,24 +185,75 @@
|
|
|
163
185
|
</form>
|
|
164
186
|
</dialog>
|
|
165
187
|
|
|
188
|
+
<dialog id="github" class="models history github" aria-labelledby="github-title">
|
|
189
|
+
<div class="models-bar">
|
|
190
|
+
<span class="github-mark" aria-hidden="true"></span>
|
|
191
|
+
<div class="models-heading">
|
|
192
|
+
<h2 id="github-title">GitHub</h2>
|
|
193
|
+
<p id="github-sub" class="sub"></p>
|
|
194
|
+
</div>
|
|
195
|
+
<button id="github-close" class="btn" type="button">Close</button>
|
|
196
|
+
</div>
|
|
197
|
+
<div id="github-accounts" class="github-accounts" hidden>
|
|
198
|
+
<div id="github-chips" class="github-chips" role="tablist" aria-label="GitHub accounts"></div>
|
|
199
|
+
<button id="github-add" class="btn github-add" type="button">Add account</button>
|
|
200
|
+
</div>
|
|
201
|
+
<div class="models-body">
|
|
202
|
+
<section id="github-card" class="github-card" aria-live="polite" hidden></section>
|
|
203
|
+
<div id="github-status" class="github-status" hidden></div>
|
|
204
|
+
<div id="github-tools" class="history-tools github-tools" hidden>
|
|
205
|
+
<input id="github-filter" type="search" placeholder="Filter repositories" aria-label="Filter repositories" spellcheck="false" autocomplete="off">
|
|
206
|
+
<button id="github-refresh" class="btn" type="button">Refresh</button>
|
|
207
|
+
<button id="github-new" class="btn" type="button" aria-expanded="false" aria-controls="github-create">New repository</button>
|
|
208
|
+
</div>
|
|
209
|
+
<form id="github-create" class="github-card github-create" hidden>
|
|
210
|
+
<h3>New repository</h3>
|
|
211
|
+
<div class="github-fields">
|
|
212
|
+
<label><span>Owner</span><select id="github-create-owner"></select></label>
|
|
213
|
+
<label><span>Name</span><input id="github-create-name" type="text" required maxlength="100" pattern="[A-Za-z0-9._\-]+" spellcheck="false" autocomplete="off" placeholder="my-project"></label>
|
|
214
|
+
<label class="wide"><span>Description</span><input id="github-create-description" type="text" maxlength="350" autocomplete="off" placeholder="Optional"></label>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="github-options">
|
|
217
|
+
<label><input id="github-create-private" type="checkbox" checked> Private</label>
|
|
218
|
+
<label><input id="github-create-readme" type="checkbox" checked> Start with a README</label>
|
|
219
|
+
<label><input id="github-create-clone" type="checkbox" checked> <span id="github-create-clone-label">Clone it</span></label>
|
|
220
|
+
</div>
|
|
221
|
+
<p id="github-create-error" class="github-error" role="alert" hidden></p>
|
|
222
|
+
<div class="github-actions">
|
|
223
|
+
<button id="github-create-submit" class="btn primary" type="submit">Create repository</button>
|
|
224
|
+
<button id="github-create-cancel" class="btn" type="button">Cancel</button>
|
|
225
|
+
</div>
|
|
226
|
+
</form>
|
|
227
|
+
<div id="github-list" class="history-list" role="list"></div>
|
|
228
|
+
<p id="github-note" class="models-note" hidden></p>
|
|
229
|
+
</div>
|
|
230
|
+
<div class="history-form github-form">
|
|
231
|
+
<label for="github-parent">Clone into</label>
|
|
232
|
+
<input id="github-parent" type="text" placeholder="Folder that holds your clones" spellcheck="false" autocomplete="off">
|
|
233
|
+
</div>
|
|
234
|
+
</dialog>
|
|
235
|
+
|
|
166
236
|
<div id="tip" class="tip" aria-hidden="true" hidden><strong id="tip-title"></strong><span id="tip-source"></span><p id="tip-text"></p></div>
|
|
167
237
|
|
|
168
238
|
<div id="toast" class="toast" role="alert" hidden></div>
|
|
169
239
|
|
|
170
240
|
<template id="provider-template">
|
|
171
241
|
<article class="provider" role="listitem">
|
|
172
|
-
<span class="
|
|
173
|
-
<
|
|
174
|
-
<span class="
|
|
175
|
-
<span class="
|
|
176
|
-
|
|
177
|
-
|
|
242
|
+
<span class="card-art" aria-hidden="true"></span>
|
|
243
|
+
<div class="provider-head">
|
|
244
|
+
<span class="provider-icon"></span>
|
|
245
|
+
<span class="provider-text">
|
|
246
|
+
<span class="vendor-line"><span class="vendor"></span><span class="tier" hidden></span></span>
|
|
247
|
+
<span class="tool"></span>
|
|
248
|
+
<span class="state"></span>
|
|
249
|
+
</span>
|
|
250
|
+
</div>
|
|
178
251
|
<div class="accounts" role="tablist" aria-label="Accounts" hidden></div>
|
|
179
252
|
<div class="usage"></div>
|
|
180
253
|
<div class="model-stats"></div>
|
|
181
254
|
<div class="provider-links">
|
|
182
|
-
<a class="console-link usage-link" target="_blank" rel="noopener noreferrer">Usage
|
|
183
|
-
<a class="console-link billing-link" target="_blank" rel="noopener noreferrer">Billing
|
|
255
|
+
<a class="console-link usage-link" target="_blank" rel="noopener noreferrer">Usage</a>
|
|
256
|
+
<a class="console-link billing-link" target="_blank" rel="noopener noreferrer">Billing</a>
|
|
184
257
|
</div>
|
|
185
258
|
<div class="provider-actions">
|
|
186
259
|
<button class="btn primary new" type="button">New</button>
|
|
@@ -237,8 +310,20 @@
|
|
|
237
310
|
</article>
|
|
238
311
|
</template>
|
|
239
312
|
|
|
313
|
+
<template id="github-repo-template">
|
|
314
|
+
<article class="history-row github-repo" role="listitem">
|
|
315
|
+
<div class="history-main">
|
|
316
|
+
<div class="history-title"><span class="repo-name"></span></div>
|
|
317
|
+
<div class="history-meta"></div>
|
|
318
|
+
</div>
|
|
319
|
+
<button class="btn github-action" type="button"></button>
|
|
320
|
+
</article>
|
|
321
|
+
</template>
|
|
322
|
+
|
|
240
323
|
<template id="session-template">
|
|
241
324
|
<article class="session-card" role="listitem" tabindex="0">
|
|
325
|
+
<span class="card-art" aria-hidden="true"></span>
|
|
326
|
+
<span class="card-aura" aria-hidden="true"></span>
|
|
242
327
|
<span class="level-badge" aria-hidden="true"></span>
|
|
243
328
|
<div class="card-top">
|
|
244
329
|
<span class="provider-icon"></span>
|
|
@@ -257,6 +342,7 @@
|
|
|
257
342
|
<div class="card-actions">
|
|
258
343
|
<button class="btn primary open" type="button">Open</button>
|
|
259
344
|
<button class="btn resume" type="button" hidden>Resume</button>
|
|
345
|
+
<button class="btn primary use-folder" type="button" hidden>Use folder</button>
|
|
260
346
|
<button class="btn rename" type="button">Rename</button>
|
|
261
347
|
<button class="btn danger stop" type="button">Stop</button>
|
|
262
348
|
<button class="btn remove" type="button">Remove</button>
|