shapewall 0.3.2 → 0.6.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/CHANGELOG.md +357 -0
- package/NOTICE +7 -0
- package/README.md +50 -4
- package/THIRD_PARTY.md +39 -0
- package/dist/agent/package-lock.json +2 -2
- package/dist/client/assets/BoardChat-DdwBcb2N.js +27 -0
- package/dist/client/assets/BuzzDialog-DpUcnU6S.js +1 -0
- package/dist/client/assets/ChecksPanel-CngYV4yz.js +1 -0
- package/dist/client/assets/History-CD0saQA5.js +1 -0
- package/dist/client/assets/LocalSettings-MZy2baig.js +1 -0
- package/dist/client/assets/{Management-DmTh1-tA.js → Management-CSvZ-SHO.js} +1 -1
- package/dist/client/assets/QuickConnect-foLh2QUm.js +1 -0
- package/dist/client/assets/ShareDialog-DPWDftoL.js +2 -0
- package/dist/client/assets/app-update-dialog-CtiXpTRD.js +1 -0
- package/dist/client/assets/{circle-x-3UxAvczM.js → circle-x-CteRBtXC.js} +1 -1
- package/dist/client/assets/index-Cxz1UVcV.css +2 -0
- package/dist/client/assets/index-uUZVBYUS.js +37 -0
- package/dist/client/assets/play-BjRNIGSf.js +1 -0
- package/dist/client/assets/{refresh-cw-BRHNyCnY.js → refresh-cw-r_tZiFfB.js} +1 -1
- package/dist/client/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/dist/client/assets/{runtime-Bft6x_6E.js → runtime-Bvq10IhH.js} +1 -1
- package/dist/client/assets/ui-zQpn-PdL.js +41 -0
- package/dist/client/build-info.json +1 -1
- package/dist/client/index.html +4 -3
- package/dist/client/sw.js +2 -2
- package/dist/console/assets/{LocalAccountsApp-IvHd9zWN.js → LocalAccountsApp-DIdy1KnN.js} +1 -1
- package/dist/console/assets/{LocalConsole-DOyLou56.js → LocalConsole-DfcQztF-.js} +1 -1
- package/dist/console/assets/{app-update-dialog-Da46CJpv.js → app-update-dialog-ttl9lF5A.js} +1 -1
- package/dist/console/assets/console-OqAjD0kV.js +55 -0
- package/dist/console/assets/console-kvjrAArQ.css +2 -0
- package/dist/console/build-info.json +1 -1
- package/dist/console/console.html +2 -2
- package/docs/agent-hardening.md +192 -0
- package/docs/agent-recipes.md +23 -0
- package/docs/agent-workflow.md +5 -0
- package/docs/agents.md +74 -6
- package/docs/config.md +1 -1
- package/docs/deployment.md +2 -0
- package/docs/design-system.md +20 -15
- package/docs/hosted.md +815 -3
- package/docs/where-to-run.md +123 -0
- package/package.json +2 -1
- package/src/agent/agent-logos.js +81 -0
- package/src/agent/backends/acp.js +528 -25
- package/src/agent/branch-mode.js +17 -3
- package/src/agent/card-hash.js +65 -0
- package/src/agent/config.js +27 -2
- package/src/agent/context.js +41 -0
- package/src/agent/exec-paths.js +105 -0
- package/src/agent/icon-store.js +100 -0
- package/src/agent/identity.js +77 -0
- package/src/agent/owner-mcp.js +19 -3
- package/src/agent/routes.js +82 -22
- package/src/agent/run.js +14 -2
- package/src/agent/settings-routes.js +233 -14
- package/src/agent/starter/cli.js +6 -1
- package/src/agent/test-timing.js +14 -0
- package/src/agent/tools.js +4 -2
- package/src/agent/turn-changes.js +70 -8
- package/src/agent/user-settings.js +51 -3
- package/src/capture/element-map.js +61 -4
- package/src/cli/args.js +13 -0
- package/src/cli/commands.js +20 -5
- package/src/cli/help.js +36 -1
- package/src/hosted/admin.js +7 -0
- package/src/hosted/agent-approvals.js +28 -3
- package/src/hosted/agent-link.js +1032 -0
- package/src/hosted/agent-policy.js +10 -3
- package/src/hosted/agent-presence.js +81 -0
- package/src/hosted/agent-routes.js +135 -0
- package/src/hosted/agents.js +1199 -0
- package/src/hosted/app.js +94 -4
- package/src/hosted/board-routes.js +134 -3
- package/src/hosted/chat-frames.js +256 -0
- package/src/hosted/chat-job.js +204 -0
- package/src/hosted/chat-permissions.js +191 -0
- package/src/hosted/chat-routes.js +1009 -0
- package/src/hosted/chat-store.js +460 -0
- package/src/hosted/comment-files.js +8 -1
- package/src/hosted/comments.js +1 -1
- package/src/hosted/console-routes.js +58 -1
- package/src/hosted/db.js +165 -0
- package/src/hosted/device-routes.js +64 -8
- package/src/hosted/device.js +35 -4
- package/src/hosted/events.js +8 -6
- package/src/hosted/membership.js +9 -1
- package/src/hosted/pages.js +2 -0
- package/src/hosted/permissions.js +38 -0
- package/src/hosted/presence.js +18 -1
- package/src/hosted/projects.js +60 -2
- package/src/hosted/ratelimit.js +8 -0
- package/src/hosted/tenancy.js +18 -0
- package/src/hosted/token-api.js +118 -15
- package/src/hosted/token-events.js +7 -2
- package/src/hosted/tokens.js +24 -7
- package/src/hosted/turn-hub.js +152 -0
- package/src/mcp.js +10 -2
- package/src/remote/agent-connect.js +433 -0
- package/src/remote/agent-fix.js +611 -0
- package/src/remote/agent-job.js +216 -0
- package/src/remote/agent-link.js +904 -0
- package/src/remote/agent-policy-file.js +242 -0
- package/src/remote/credentials.js +35 -1
- package/src/remote/login.js +12 -2
- package/src/store.js +5 -0
- package/dist/client/assets/BoardChat-BeRp6007.js +0 -27
- package/dist/client/assets/BuzzDialog-CrYy48hh.js +0 -1
- package/dist/client/assets/ChecksPanel-CB820mhj.js +0 -1
- package/dist/client/assets/History-Ba909bGJ.js +0 -1
- package/dist/client/assets/LocalSettings-ChMi9Zir.js +0 -1
- package/dist/client/assets/QuickConnect-CrVweWZB.js +0 -1
- package/dist/client/assets/ShareDialog-DO2HhY6g.js +0 -2
- package/dist/client/assets/app-update-dialog-C09ODdUQ.js +0 -1
- package/dist/client/assets/index-BIjfZKnp.js +0 -37
- package/dist/client/assets/index-CXtuJi1K.css +0 -2
- package/dist/client/assets/shield-check-DMpniYP6.js +0 -1
- package/dist/client/assets/ui-mhL9gsne.js +0 -41
- package/dist/console/assets/console-CIBv7cXU.js +0 -55
- package/dist/console/assets/console-Fp4k9iyx.css +0 -2
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Where to run Shapewall
|
|
2
|
+
|
|
3
|
+
Shapewall has two shapes. Pick by who needs the board and when, not by how big the site is.
|
|
4
|
+
|
|
5
|
+
| You are | Run | Who can open it | Always on? |
|
|
6
|
+
| ----------------------------------------------- | ------------------------------------------------------------ | ------------------------------------ | -------------------------- |
|
|
7
|
+
| One person, reviewing your own project | `npx shapewall serve` in the project, next to its dev server | You, on this machine | No: start it when you work |
|
|
8
|
+
| One person, also on your phone or second laptop | `npx shapewall serve --tailscale` | Your own devices on your tailnet | No |
|
|
9
|
+
| A team, or you and your agents around the clock | `shapewall hosted --tailscale` on a machine that stays on | Everyone you invite, on your tailnet | Yes |
|
|
10
|
+
| A team with people outside your tailnet | `shapewall hosted` behind your own domain | Everyone you invite, from anywhere | Yes |
|
|
11
|
+
|
|
12
|
+
The first two are the same local board. The last two are the same hosted server, reached two ways. Nothing about a project changes
|
|
13
|
+
when you move between them: the config, the captures and the comments are the same files.
|
|
14
|
+
|
|
15
|
+
## The local board
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
npx shapewall doctor --install-browser
|
|
19
|
+
npx shapewall init --base-url http://localhost:3000
|
|
20
|
+
npx shapewall capture
|
|
21
|
+
npx shapewall serve --open
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
It lives in the project folder, runs while you work and stops when you close it, like a dev server. Captures, comments and agent fixes
|
|
25
|
+
all happen on this machine. There is no account and nothing to host. Details: [Running and sharing a board](deployment.md).
|
|
26
|
+
|
|
27
|
+
To use the same board from your phone, add `--tailscale`: Shapewall asks Tailscale to serve it at this machine's private HTTPS name,
|
|
28
|
+
and your other devices pair once. See [Your own other devices](deployment.md#your-own-other-devices-local-mode).
|
|
29
|
+
|
|
30
|
+
Working on several projects? Each one has its own board on its own port, and the site dropdown switches between the ones that are
|
|
31
|
+
running. See [Several local projects](deployment.md#several-local-projects).
|
|
32
|
+
|
|
33
|
+
## The hosted server
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
shapewall hosted --data ./hosted-data --tailscale
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
One server for all your projects: passkey accounts, workspaces, invites, roles, share links and live presence. It runs on any machine
|
|
40
|
+
that stays on: a spare computer at home, a server in the office, a small cloud machine. It needs Node 22.13 or newer and little else:
|
|
41
|
+
it stores and serves boards, and runs no browser and no agent. The full guide is [the hosted operator guide](hosted.md).
|
|
42
|
+
|
|
43
|
+
**Tailscale is the recommended way to reach it.** With `--tailscale` the server gets a private HTTPS address on the machine's tailnet
|
|
44
|
+
name, with a real certificate and nothing open to the internet. Add `--funnel` to make only guest share links public while the console
|
|
45
|
+
and sign-in stay private. When people outside your tailnet need accounts, put the server behind your own domain instead:
|
|
46
|
+
`shapewall hosted --setup --domain app.example.com` writes a Docker Compose and Caddy folder for that
|
|
47
|
+
([Own domain deployment](hosted.md#own-domain-deployment-mode-2)).
|
|
48
|
+
|
|
49
|
+
### Where the work happens
|
|
50
|
+
|
|
51
|
+
The hosted server never captures a page and never edits code. Those happen on a machine that has the project:
|
|
52
|
+
|
|
53
|
+
```text
|
|
54
|
+
machine with the code hosted server
|
|
55
|
+
--------------------- -------------
|
|
56
|
+
shapewall capture -> shapewall push -> stores the board, shows it to everyone
|
|
57
|
+
agent fixes the code <- shapewall watch <- a comment someone left
|
|
58
|
+
recapture, push, reply -> the thread shows the fix
|
|
59
|
+
agent reads the code <- shapewall agent connect <- a question in the board's chat
|
|
60
|
+
the answer, as it is written -> everyone with the thread open sees it
|
|
61
|
+
agent edits a fresh copy <- agent connect --approvals <- "Fix with Builder" on a comment
|
|
62
|
+
each edit, as a diff -> a person allows or denies it on the board
|
|
63
|
+
a new branch, a pull request -> the thread shows where the fix is
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
1. **Sign the machine in once.** `shapewall login --remote https://your-server` shows a code; approve it in the console and choose the
|
|
67
|
+
project. Tick **Take agent work** if this machine should pick up comments.
|
|
68
|
+
2. **Push the board.** `shapewall capture`, then `shapewall push --remote https://your-server`. Push again after every capture, or
|
|
69
|
+
from CI.
|
|
70
|
+
3. **Let an agent pick up comments (optional).** `shapewall watch --remote https://your-server --exec "<your agent command>"` runs
|
|
71
|
+
your command once per new comment, with the comment's JSON on stdin (`{ "board": ..., "comment": ... }`). The command edits the
|
|
72
|
+
code; a wrapper around it recaptures, pushes and replies. [Agent recipes](agent-recipes.md) has commands for Claude Code, Codex and
|
|
73
|
+
goose.
|
|
74
|
+
|
|
75
|
+
4. **Chat with your coding agent on the board (optional).** `shapewall agent connect --remote https://your-server`, run in the
|
|
76
|
+
project's folder, connects that machine's Claude Code. An admin approves it in the console (a name, an icon, who may use it),
|
|
77
|
+
and members then ask it questions from the board's Agents panel. By default it reads the project and answers; it does not
|
|
78
|
+
change files or run commands from the board. Codex, goose and Gemini CLI are not offered by `agent connect` in this
|
|
79
|
+
release: for them, `watch` is the way. Leave it running, or run it as a service.
|
|
80
|
+
[Connected agents](hosted.md#connected-agents) has the details.
|
|
81
|
+
|
|
82
|
+
5. **Let it make fixes from the board (optional).** Edits are switched on only on the machine that has the code:
|
|
83
|
+
`shapewall agent connect --remote https://your-server --approvals owner`. **Fix with Builder** on a comment then starts a fix
|
|
84
|
+
there. The work happens on that machine, never on the server and never in the checked-out tree: the agent edits a fresh copy
|
|
85
|
+
of the base commit in a folder outside the project, each edit shows on the board as a card with the full diff that you allow
|
|
86
|
+
or deny, and Shapewall commits what was allowed on a new branch (`shapewall/comment-<n>-...`). The branch is pushed and a pull
|
|
87
|
+
request is opened when that machine has the remote and GitHub connect; otherwise the thread names the branch. A connected
|
|
88
|
+
Claude Code runs no commands from the board, so a fix is not built, tested or recaptured for you: `watch --exec` stays the way
|
|
89
|
+
for that. [Edits from the board](hosted.md#edits-from-the-board-the-trust-decision) has the details.
|
|
90
|
+
|
|
91
|
+
Each machine that watches or connects is an **agent** of the project, with a name. The board lists them in its Agent panel ("Builder: online",
|
|
92
|
+
"Fixer: offline, last seen 2 hours ago") and **Send to agent** on a comment names the one it goes to: the project's default agent on
|
|
93
|
+
the button, the others and **Any agent** in its menu. In the console, **Agents** is where an admin names each one, gives it an icon,
|
|
94
|
+
picks the default and says who may send it work: a new agent only takes comments from the person who connected it, until they share
|
|
95
|
+
it with named members or with everyone the project trusts. [Agents on a hosted board](hosted.md#agents-on-a-hosted-board) has the
|
|
96
|
+
whole of it.
|
|
97
|
+
|
|
98
|
+
While a watching machine is off, comments still save on the server and wait: a comment sent to that agent says "Waiting for Builder
|
|
99
|
+
(offline ...)" with **Let any agent take it**. Nothing is lost; nothing is fixed until an agent is back. Chat does not wait: a
|
|
100
|
+
connected agent that is offline says so, and takes no message until it is back. A fix cannot be asked of an offline agent either.
|
|
101
|
+
|
|
102
|
+
### One machine, several projects
|
|
103
|
+
|
|
104
|
+
`shapewall login` remembers one project for each server. For a second project on the same server, make a token on that project's page
|
|
105
|
+
in the console, keep it in a file only you can read, and pass it: `--token-file ~/.config/shapewall/other-project.token` (or
|
|
106
|
+
`SHAPEWALL_TOKEN`). A watcher that runs as a service should use a token file of its own, so a later `login` cannot change what it
|
|
107
|
+
talks to. Each token is its own agent on its project's board, so one machine can be "Builder" in one project and "Docs bot" in
|
|
108
|
+
another; the workspace's **Agents** page lists them all.
|
|
109
|
+
|
|
110
|
+
`shapewall agent connect` keeps a token of its own for each server, apart from the login, and serves the project whose folder it
|
|
111
|
+
runs in. For a second project on the same server, run it in that project's folder with `--as NAME` (its own approval, its own token).
|
|
112
|
+
One process holds an agent's link: a second `agent connect` on the same token is refused, unless it is started with `--takeover`.
|
|
113
|
+
|
|
114
|
+
## Which one should I start with?
|
|
115
|
+
|
|
116
|
+
Start local. It takes four commands and nothing to maintain. Move to the hosted server when one of these is true:
|
|
117
|
+
|
|
118
|
+
- someone else needs to comment, and a share link or a screenshot is not enough;
|
|
119
|
+
- you want to leave comments from anywhere and have an agent on another machine act on them;
|
|
120
|
+
- the board should be there when your laptop is closed.
|
|
121
|
+
|
|
122
|
+
`shapewall share --remote https://your-server` moves a local project's captures, history and comments to a hosted project in one go
|
|
123
|
+
([Move a local project to your team](hosted.md#move-a-local-project-to-your-team)).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shapewall",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Every page of your site on one zoomable wall: desktop and phone captures, sandboxed live HTML, and element-anchored comments your coding agent can read.",
|
|
5
5
|
"license": "Apache-2.0 AND FSL-1.1-ALv2",
|
|
6
6
|
"author": "Dan Baruch",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"docs/performance.md",
|
|
51
51
|
"docs/starter-agent.md",
|
|
52
52
|
"docs/updates.md",
|
|
53
|
+
"docs/where-to-run.md",
|
|
53
54
|
"docs/images"
|
|
54
55
|
],
|
|
55
56
|
"engines": {
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// The product marks of the agents Shapewall knows how to run: the default
|
|
2
|
+
// icon of a connected Claude Code, Codex, goose or Gemini CLI, until its owner
|
|
3
|
+
// picks an avatar or uploads a picture (identity.js). Data only, one entry per mark,
|
|
4
|
+
// so adding or removing one is one line here (and its row in THIRD_PARTY.md).
|
|
5
|
+
//
|
|
6
|
+
// Each mark is another company's trademark, shown only to identify the agent
|
|
7
|
+
// the owner connected, with no endorsement implied (NOTICE). They are used
|
|
8
|
+
// exactly as sourced: one path, one colour, never redrawn, recoloured into
|
|
9
|
+
// Shapewall's accent or combined with another shape. The board draws them in
|
|
10
|
+
// the text colour on a neutral tile (client/src/chat/agentIcons.jsx).
|
|
11
|
+
//
|
|
12
|
+
// Source: the Simple Icons project (https://simpleicons.org), npm package
|
|
13
|
+
// simple-icons, released under CC0 1.0. Simple Icons carries no separate
|
|
14
|
+
// licence entry for these marks; its disclaimer says a brand may still have
|
|
15
|
+
// its own terms, and CC0 waives no trademark rights. Claude and Google
|
|
16
|
+
// Gemini are from 16.37.0. OpenAI is from 15.22.0, the last release that has
|
|
17
|
+
// it: Simple Icons removed the icon in 16.0.0 (pull request 13944, "assuming
|
|
18
|
+
// no permissions are sought/obtained"), so it is here by the owner's
|
|
19
|
+
// decision, with that provenance said plainly in THIRD_PARTY.md.
|
|
20
|
+
//
|
|
21
|
+
// The goose mark is the project's own file, from its official repository
|
|
22
|
+
// (github.com/aaif-goose/goose, where github.com/block/goose now redirects;
|
|
23
|
+
// Apache 2.0). goose is a project of LF Projects, LLC, whose trademark policy
|
|
24
|
+
// (https://lfprojects.org/policies/trademark-policy/) covers its name and logo.
|
|
25
|
+
//
|
|
26
|
+
// A mark is only added from a source that may be redistributed, never drawn
|
|
27
|
+
// to look like one or copied from an unofficial site.
|
|
28
|
+
//
|
|
29
|
+
// No Node imports: the board and the demo share this file.
|
|
30
|
+
|
|
31
|
+
const SIMPLE_ICONS = 'Simple Icons 16.37.0 (https://simpleicons.org), CC0 1.0'
|
|
32
|
+
// The last release with the OpenAI icon (removed in 16.0.0).
|
|
33
|
+
const SIMPLE_ICONS_15 = 'Simple Icons 15.22.0 (https://simpleicons.org), CC0 1.0'
|
|
34
|
+
|
|
35
|
+
export const AGENT_LOGOS = [
|
|
36
|
+
{
|
|
37
|
+
id: 'claude',
|
|
38
|
+
name: 'Claude',
|
|
39
|
+
owner: 'Anthropic, PBC',
|
|
40
|
+
// The known agents (acp/detect.js KNOWN_AGENTS ids) it is the default icon of.
|
|
41
|
+
agents: ['claude'],
|
|
42
|
+
viewBox: '0 0 24 24',
|
|
43
|
+
path: 'm4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z',
|
|
44
|
+
source: `${SIMPLE_ICONS}, icons/claude.svg`,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: 'openai',
|
|
48
|
+
name: 'OpenAI',
|
|
49
|
+
owner: 'OpenAI',
|
|
50
|
+
agents: ['codex'],
|
|
51
|
+
viewBox: '0 0 24 24',
|
|
52
|
+
path: 'M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z',
|
|
53
|
+
source: `${SIMPLE_ICONS_15}, icons/openai.svg`,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 'goose',
|
|
57
|
+
name: 'goose',
|
|
58
|
+
owner: 'LF Projects, LLC',
|
|
59
|
+
agents: ['goose'],
|
|
60
|
+
viewBox: '0 0 45 45',
|
|
61
|
+
path: 'M43.2098 39.2492L39.8118 36.4522C37.9646 34.9318 36.3923 33.1051 35.1631 31.0529C33.4647 28.2172 31.1178 25.8243 28.3164 24.071L26.9482 23.2744C26.4794 22.9485 26.1525 22.4405 26.106 21.8675C26.0762 21.4981 26.1647 21.1678 26.3712 20.8771C27.0837 19.873 30.9617 15.6995 31.6365 15.1411C32.5056 14.4228 33.4739 13.8253 34.3724 13.1412C34.5001 13.0438 34.6283 12.9469 34.7545 12.8481C34.7589 12.8437 34.7653 12.8403 34.7692 12.8363C35.0574 12.6088 35.3295 12.3671 35.5458 12.0803C36.5993 10.8604 36.5783 9.82938 36.5783 9.82938C36.5783 9.82938 36.5793 9.8284 36.5798 9.82791C36.4677 9.5534 36.0645 8.69902 35.2449 8.29825C35.9696 8.28406 36.7872 8.55564 37.1582 8.91873C37.6039 8.21947 37.8922 7.76585 38.3404 7.00347C38.4471 6.82241 38.5038 6.48771 38.2998 6.30029C38.2998 6.30029 38.2988 6.30029 38.2978 6.30029C38.2978 6.30029 38.2978 6.29931 38.2978 6.29833C38.2939 6.29442 38.289 6.29148 38.2851 6.28757C38.2812 6.28365 38.2787 6.27925 38.2743 6.27485C38.2743 6.27485 38.2734 6.27485 38.2724 6.27485C38.2724 6.27485 38.2724 6.27387 38.2724 6.27289C38.2641 6.26457 38.2548 6.25821 38.246 6.25038C38.2406 6.245 38.2362 6.23864 38.2313 6.23276C38.2254 6.22787 38.219 6.22347 38.2137 6.21808C38.2053 6.20977 38.2 6.19949 38.1911 6.19166C38.1911 6.19166 38.1897 6.19117 38.1892 6.19166C38.1892 6.19166 38.1892 6.19068 38.1892 6.1897C38.1853 6.18579 38.1804 6.18285 38.1765 6.17894C38.1726 6.17502 38.1696 6.17013 38.1657 6.16621C38.1657 6.16621 38.1642 6.16572 38.1637 6.16621C38.1637 6.16621 38.1637 6.16524 38.1637 6.16426C37.9763 5.9602 37.6416 6.01697 37.4606 6.12364C36.4692 6.70693 35.5047 7.33475 34.6351 7.88525C34.6351 7.88525 33.6046 7.86372 32.3842 8.91775C32.097 9.13452 31.8552 9.4066 31.6282 9.69433C31.6238 9.69873 31.6199 9.7046 31.6164 9.70901C31.5171 9.83476 31.4202 9.96297 31.3233 10.0912C30.6387 10.9901 30.0417 11.958 29.3234 12.8271C28.7656 13.5023 24.5915 17.3798 23.5874 18.0923C23.2967 18.2988 22.9669 18.3879 22.597 18.3575C22.0245 18.3115 21.5161 17.9842 21.1902 17.5154L20.3935 16.1472C18.6402 13.3448 16.2474 10.9989 13.4117 9.30041C11.3594 8.0712 9.5332 6.49847 8.01234 4.65172L5.2153 1.25377C5.0773 1.08642 4.81306 1.11382 4.71422 1.30662C4.39615 1.92612 3.78888 3.23411 3.32353 4.99327C3.31227 5.03487 3.32206 5.07891 3.34946 5.11218C3.92786 5.81095 5.26717 7.35089 6.8624 8.65351C6.97348 8.74403 6.88246 8.92313 6.74447 8.88496C5.36846 8.51013 4.03062 7.90825 3.02944 7.39542C2.94772 7.35383 2.84887 7.4057 2.83713 7.49672C2.68152 8.74354 2.64139 10.1127 2.80581 11.5562C2.8107 11.6032 2.84055 11.6438 2.8841 11.6629C4.02572 12.1596 5.85143 12.8804 7.76816 13.3389C7.90713 13.3722 7.90273 13.5723 7.76229 13.5992C6.26982 13.8801 4.70688 13.9427 3.43656 13.9261C3.3475 13.9251 3.28193 14.0093 3.30591 14.0949C3.56085 14.9958 3.90632 15.9118 4.3619 16.8342C4.55029 17.2487 4.75532 17.6553 4.97504 18.0532C5.01271 18.1212 5.08562 18.1618 5.16343 18.1584C6.21207 18.107 7.47946 17.9964 8.75369 17.7713C8.97095 17.7331 9.08741 18.0189 8.90391 18.1417C8.03877 18.7201 7.11588 19.2183 6.25758 19.6283C6.14259 19.6836 6.1054 19.8304 6.18125 19.9327C6.69114 20.6236 7.25191 21.2774 7.86114 21.8866C7.86114 21.8866 10.8608 24.9763 10.9425 25.2185C12.6928 23.4261 15.5701 21.4394 18.7474 19.7047C14.4921 23.1672 12.1198 25.7235 10.9258 27.1758L10.0935 28.3439C9.66091 28.9507 9.2856 29.5951 8.97193 30.2709C7.92231 32.5292 6.19201 37.0966 6.19201 37.0966C6.0594 37.4543 6.16755 37.8072 6.39753 38.0371C6.40292 38.0425 6.4083 38.0479 6.41417 38.0528C6.41955 38.0582 6.42445 38.0641 6.42983 38.0694C6.66031 38.2999 7.01263 38.4076 7.37033 38.275C7.37033 38.275 11.9368 36.5447 14.1961 35.495C14.8719 35.1814 15.5168 34.8056 16.1231 34.3735L17.4095 33.457C18.0907 32.9715 19.0234 33.0489 19.615 33.6405L22.5804 36.6058C23.1896 37.2151 23.8433 37.7758 24.5343 38.2857C24.637 38.3611 24.7833 38.3244 24.8386 38.2094C25.2492 37.3516 25.7473 36.4277 26.3252 35.5631C26.4481 35.3796 26.7343 35.4965 26.6957 35.7133C26.4701 36.988 26.3605 38.2554 26.3086 39.3035C26.3047 39.3809 26.3458 39.4543 26.4138 39.4919C26.8112 39.7121 27.2178 39.9172 27.6327 40.1051C28.5551 40.5606 29.4717 40.9066 30.3721 41.1611C30.4577 41.185 30.5419 41.1195 30.5409 41.0304C30.5237 39.7596 30.5864 38.1967 30.8677 36.7047C30.8942 36.5638 31.0943 36.5593 31.1281 36.6988C31.5861 38.616 32.3069 40.4417 32.8041 41.5829C32.8231 41.6264 32.8633 41.6558 32.9107 41.6612C34.3543 41.8256 35.7234 41.7855 36.9703 41.6298C37.0618 41.6186 37.1136 41.5197 37.0715 41.4375C36.5587 40.4364 35.9568 39.0975 35.582 37.7225C35.5443 37.584 35.7229 37.4935 35.8135 37.6046C37.1161 39.1998 38.656 40.5391 39.3548 41.1175C39.3881 41.1449 39.4326 41.1542 39.4737 41.1434C41.2333 40.6786 42.5413 40.0713 43.1604 39.7528C43.3532 39.6539 43.3806 39.3897 43.2132 39.2517L43.2098 39.2492Z',
|
|
62
|
+
source:
|
|
63
|
+
'github.com/aaif-goose/goose at 0c5b5e2f2e7933fca4de5377d239645dcbe4cbb3, documentation/static/img/goose.svg (Apache 2.0; LF Projects trademark policy)',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 'gemini',
|
|
67
|
+
name: 'Google Gemini',
|
|
68
|
+
owner: 'Google LLC',
|
|
69
|
+
agents: ['gemini'],
|
|
70
|
+
viewBox: '0 0 24 24',
|
|
71
|
+
path: 'M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81',
|
|
72
|
+
source: `${SIMPLE_ICONS}, icons/googlegemini.svg`,
|
|
73
|
+
},
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
// The mark by its id, or null.
|
|
77
|
+
export const agentLogo = (id) => AGENT_LOGOS.find((logo) => logo.id === id) || null
|
|
78
|
+
|
|
79
|
+
// The id of the mark a known agent shows by default, or null (an agent
|
|
80
|
+
// Shapewall does not know, one without a redistributable mark, an endpoint).
|
|
81
|
+
export const logoForAgent = (agentId) => AGENT_LOGOS.find((logo) => logo.agents.includes(agentId))?.id || null
|