loop-canvas 0.1.5 → 0.1.7
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/cli.mjs +9 -8
- package/package.json +1 -1
- package/public/app.css +1 -1
- package/public/app.js +118 -87
- package/public/duo3d.js +4259 -0
- package/public/fflate.LICENSE.txt +21 -0
- package/public/index.html +17 -19
- package/public/three.LICENSE.txt +21 -0
- package/server.mjs +30 -25
- package/skills/loop-canvas/SKILL.md +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Arjun Barrett
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/public/index.html
CHANGED
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
<span class="logo" aria-hidden="true" title="Loop"><svg viewBox="0 0 32 32"><rect x="3" y="3" width="26" height="26" rx="7"/><circle cx="16" cy="16" r="6.5"/></svg></span>
|
|
40
40
|
<span id="canvas-name" class="canvas-name" title="Rename canvas"></span>
|
|
41
41
|
<button id="history-btn" class="hist-btn" title="Canvas history: bring back the canvas as it was" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3.5 12a8.5 8.5 0 1 0 2.6-6.1"/><path d="M3.5 4v4.5H8"/><path d="M12 7.5V12l3 2"/></svg></button>
|
|
42
|
+
<button id="comments-btn" class="hist-btn comments-btn" title="All comments"><i data-i="comments"></i><span id="comments-count"></span></button>
|
|
42
43
|
</div>
|
|
43
44
|
<div class="top-right">
|
|
44
45
|
<div id="presence" class="presence"></div>
|
|
45
|
-
<button id="
|
|
46
|
-
|
|
47
|
-
<span class="agent-dot"></span><span id="agent-label">Agent</span>
|
|
46
|
+
<button id="agent-pill" class="pill">
|
|
47
|
+
<span class="agent-mark"><svg class="ctx-ring" viewBox="0 0 24 24" aria-hidden="true" hidden><circle class="cr-track" cx="12" cy="12" r="10.5"/><circle class="cr-fill" cx="12" cy="12" r="10.5" pathLength="100"/></svg><span class="agent-logo"></span><span class="agent-dot"></span></span><span id="agent-label">Agent</span><span id="reconnect-btn" class="reconnect-btn" role="button" tabindex="0" hidden>Reconnect</span>
|
|
48
48
|
</button>
|
|
49
49
|
<button id="update-pill" class="pill update-pill" hidden></button>
|
|
50
50
|
<button id="share-btn" class="pill share-btn">Share</button>
|
|
@@ -52,20 +52,18 @@
|
|
|
52
52
|
</header>
|
|
53
53
|
|
|
54
54
|
<div id="agent-menu" class="menu" hidden>
|
|
55
|
-
<div
|
|
56
|
-
<
|
|
57
|
-
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
<span class="radio"></span>
|
|
66
|
-
<span><b>The chat that launched Loop</b><small>Comments go to that chat, with everything it already knows, and it replies here. If the chat isn't listening, comments carry on in the background.</small></span>
|
|
67
|
-
</button>
|
|
55
|
+
<div id="am-card"></div>
|
|
56
|
+
<div class="am-more"><div class="am-more-in">
|
|
57
|
+
<div class="am-sec">
|
|
58
|
+
<div class="am-title">Comments go to</div>
|
|
59
|
+
<div class="am-opts">
|
|
60
|
+
<button class="am-opt" data-mode="inbox"><span class="am-ic am-chat"></span><span class="am-txt"><b>Your chat</b><small>Knows the project, replies here</small></span><span class="am-check"></span></button>
|
|
61
|
+
<button class="am-opt" data-mode="headless" data-runner="claude"><span class="am-ic" data-logo="claude"></span><span class="am-txt"><b>Claude Code</b><small>Runs in the background</small></span><span class="am-check"></span></button>
|
|
62
|
+
<button class="am-opt" data-mode="headless" data-runner="codex"><span class="am-ic" data-logo="codex"></span><span class="am-txt"><b>Codex</b><small>Runs in the background</small></span><span class="am-check"></span></button>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
68
65
|
<div id="agent-allowed" class="agent-allowed" hidden></div>
|
|
66
|
+
</div></div>
|
|
69
67
|
</div>
|
|
70
68
|
|
|
71
69
|
<div id="share-menu" class="menu" hidden>
|
|
@@ -97,7 +95,7 @@
|
|
|
97
95
|
|
|
98
96
|
<nav id="toolbar" aria-label="Tools">
|
|
99
97
|
<div class="tb-group"><button id="move-btn" data-tool="select" title="Select (V)"><i data-i="select"></i></button><button class="tb-caret" id="move-caret" title="Select or Hand"><i data-i="down"></i></button></div>
|
|
100
|
-
<button data-tool="use" title="Interact (
|
|
98
|
+
<button data-tool="use" title="Interact (X)"><i data-i="point"></i></button>
|
|
101
99
|
<button data-tool="pen" title="Draw (P)"><i data-i="pen"></i></button>
|
|
102
100
|
<button data-tool="erase" title="Erase marks (E)"><i data-i="erase"></i></button>
|
|
103
101
|
<button data-tool="comment" title="Point & comment (C)"><i data-i="comment"></i></button>
|
|
@@ -117,7 +115,7 @@
|
|
|
117
115
|
<div id="zoom">
|
|
118
116
|
<button id="theme-btn" title="Light or dark (⇧D)"><i data-i="sun"></i></button>
|
|
119
117
|
<button id="zoom-out" title="Zoom out (−)">−</button>
|
|
120
|
-
<button id="zoom-level" title="Fit
|
|
118
|
+
<button id="zoom-level" title="Fit the selection, or everything (⇧2 / ⇧1)">100%</button>
|
|
121
119
|
<button id="zoom-in" title="Zoom in (+)">+</button>
|
|
122
120
|
</div>
|
|
123
121
|
|
|
@@ -134,7 +132,7 @@
|
|
|
134
132
|
|
|
135
133
|
<div id="thread" class="pop" hidden></div>
|
|
136
134
|
|
|
137
|
-
<aside id="comments-panel" hidden>
|
|
135
|
+
<aside id="comments-panel" class="sheet" hidden>
|
|
138
136
|
<div class="cp-head">
|
|
139
137
|
<b>Comments</b>
|
|
140
138
|
<div class="cp-tabs"><button data-tab="open" class="on">Open <span></span></button><button data-tab="resolved">Resolved <span></span></button></div>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright © 2010-2026 three.js authors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|