loopcaptain 0.3.1__py3-none-any.whl
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.
- loopcaptain/__init__.py +0 -0
- loopcaptain/agents.py +162 -0
- loopcaptain/board/AGENTS.md +39 -0
- loopcaptain/board/__init__.py +0 -0
- loopcaptain/board/app.py +430 -0
- loopcaptain/board/discover.py +249 -0
- loopcaptain/board/files.py +94 -0
- loopcaptain/board/filters.py +48 -0
- loopcaptain/board/graph.py +139 -0
- loopcaptain/board/overview.py +59 -0
- loopcaptain/board/static/board.js +41 -0
- loopcaptain/board/static/fonts/OFL.txt +94 -0
- loopcaptain/board/static/fonts/inter-latin-wght-normal.woff2 +0 -0
- loopcaptain/board/static/fonts/inter-tight-latin-wght-normal.woff2 +0 -0
- loopcaptain/board/static/mark.svg +5 -0
- loopcaptain/board/static/style.css +425 -0
- loopcaptain/board/steer.py +207 -0
- loopcaptain/board/templates/base.html +27 -0
- loopcaptain/board/templates/connect.html +35 -0
- loopcaptain/board/templates/file.html +9 -0
- loopcaptain/board/templates/loop.html +357 -0
- loopcaptain/board/templates/overview.html +108 -0
- loopcaptain/board/templates/unreadable.html +17 -0
- loopcaptain/board/trend.py +185 -0
- loopcaptain/cli.py +204 -0
- loopcaptain/demo/__init__.py +59 -0
- loopcaptain/demo/loop.py +311 -0
- loopcaptain/demo/loops.py +76 -0
- loopcaptain/mcp_server/AGENTS.md +23 -0
- loopcaptain/mcp_server/__init__.py +0 -0
- loopcaptain/mcp_server/server.py +181 -0
- loopcaptain/prompt_texts/build-a-loop.md +6 -0
- loopcaptain/prompt_texts/watch-my-loops.md +6 -0
- loopcaptain/prompts.py +27 -0
- loopcaptain/protocol/AGENTS.md +24 -0
- loopcaptain/protocol/LOOPS.md +402 -0
- loopcaptain/protocol/__init__.py +17 -0
- loopcaptain/protocol/doctor.py +79 -0
- loopcaptain/protocol/models.py +496 -0
- loopcaptain/protocol/signing.py +105 -0
- loopcaptain/protocol/state.py +595 -0
- loopcaptain/protocol/store.py +275 -0
- loopcaptain/protocol/validate.py +199 -0
- loopcaptain-0.3.1.dist-info/METADATA +220 -0
- loopcaptain-0.3.1.dist-info/RECORD +50 -0
- loopcaptain-0.3.1.dist-info/WHEEL +4 -0
- loopcaptain-0.3.1.dist-info/entry_points.txt +2 -0
- loopcaptain-0.3.1.dist-info/licenses/LICENSE +202 -0
- loopcaptain-0.3.1.dist-info/licenses/NOTICE +11 -0
- loopcaptain-0.3.1.dist-info/licenses/src/loopcaptain/board/static/fonts/OFL.txt +94 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: loopcaptain
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Summary: An open protocol for agent loops and a local dashboard to monitor and steer them: plain files, any agent, no dependency.
|
|
5
|
+
Project-URL: Repository, https://github.com/faviens/loopcaptain
|
|
6
|
+
Project-URL: Issues, https://github.com/faviens/loopcaptain/issues
|
|
7
|
+
Project-URL: Changelog, https://github.com/faviens/loopcaptain/blob/main/CHANGELOG.md
|
|
8
|
+
Author: Daniel Vogler
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
License-File: NOTICE
|
|
12
|
+
License-File: src/loopcaptain/board/static/fonts/OFL.txt
|
|
13
|
+
Keywords: agent dashboard,agent loop,agent monitoring,agent protocol,agentic loop,ai agents,autonomous agents,coding agents,human in the loop,jsonl,llm,long-running agent,loop engineering,mcp,mcp server,ralph loop
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Environment :: Web Environment
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Operating System :: MacOS
|
|
18
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
|
+
Classifier: Topic :: Software Development
|
|
24
|
+
Classifier: Typing :: Typed
|
|
25
|
+
Requires-Python: >=3.12
|
|
26
|
+
Requires-Dist: fastapi>=0.115
|
|
27
|
+
Requires-Dist: jinja2>=3.1
|
|
28
|
+
Requires-Dist: markdown-it-py>=3.0
|
|
29
|
+
Requires-Dist: mcp>=2.0
|
|
30
|
+
Requires-Dist: pydantic>=2.7
|
|
31
|
+
Requires-Dist: python-multipart>=0.0.9
|
|
32
|
+
Requires-Dist: pyyaml>=6.0
|
|
33
|
+
Requires-Dist: uvicorn>=0.30
|
|
34
|
+
Description-Content-Type: text/markdown
|
|
35
|
+
|
|
36
|
+
<!-- Banner and how-it-works picture are drawn by scripts/readme_assets.py, light and dark: make readme. -->
|
|
37
|
+
<picture>
|
|
38
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/banner-dark.svg">
|
|
39
|
+
<img alt="Loopcaptain: monitor and steer your agent loops from one local board. An open protocol lets any loop report to it." src="docs/assets/banner-light.svg">
|
|
40
|
+
</picture>
|
|
41
|
+
|
|
42
|
+
[](LICENSE)
|
|
43
|
+
[](https://www.python.org/downloads/)
|
|
44
|
+
[](https://docs.astral.sh/uv/)
|
|
45
|
+
[](https://docs.astral.sh/ruff/)
|
|
46
|
+
[](https://mypy-lang.org/)
|
|
47
|
+
[](standard/LOOPS.md#5-the-same-through-mcp)
|
|
48
|
+
[](https://pre-commit.com/)
|
|
49
|
+
[](https://github.com/gitleaks/gitleaks)
|
|
50
|
+
|
|
51
|
+
**Loopcaptain is an open protocol for agent loops and a local dashboard to
|
|
52
|
+
monitor and steer them.** You run agent loops in many repositories, each
|
|
53
|
+
built its own way. Here is the one place to see them: what each loop is
|
|
54
|
+
for, where it stands, what every round and every reviewer found, what it
|
|
55
|
+
cost, and what waits for you. You answer, stop and start a loop from the
|
|
56
|
+
board: a human in the loop without a chat window.
|
|
57
|
+
|
|
58
|
+
It works with any loop that can write a file: a script, a Ralph loop, a
|
|
59
|
+
long-running session of a coding agent (Claude Code's `/loop`, Codex's
|
|
60
|
+
goal mode, for example), a loop built on an agent framework. None of
|
|
61
|
+
them is needed: a loop has no dependency and never imports this
|
|
62
|
+
repository.
|
|
63
|
+
|
|
64
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/screenshot-overview-dark.webp"><img alt="The board's front page with eight invented loops in four projects: one waits for an answer, two run, one stalled and one failed are marked, each with its rounds, open findings, time and cost." src="docs/assets/screenshot-overview.webp"></picture>
|
|
65
|
+
|
|
66
|
+
<sub>Invented loops, photographed from the board itself: `make shots`.</sub>
|
|
67
|
+
|
|
68
|
+
## Get started
|
|
69
|
+
|
|
70
|
+
**Want to monitor the loops you already run?** Paste this into your coding
|
|
71
|
+
agent, whichever you use. It finds the loops on your machine, sets up the
|
|
72
|
+
board and proposes the smallest change that connects each one:
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
Help me see and steer the agent loops on this machine with Loopcaptain.
|
|
76
|
+
Read https://github.com/faviens/loopcaptain/blob/main/AGENTS.md, section A.
|
|
77
|
+
Find the repositories here that run agent loops, tell me which already
|
|
78
|
+
write a .loops/ folder and which do not, set up the board to watch them,
|
|
79
|
+
start it, and for each loop that is not connected propose the smallest
|
|
80
|
+
change that connects it. Change nothing in those repositories before I agree.
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Want to set up a new loop that speaks the protocol?** Paste this one. It
|
|
84
|
+
asks what the loop is for, builds it in your repository and shows you one
|
|
85
|
+
real round on the board:
|
|
86
|
+
|
|
87
|
+
```text
|
|
88
|
+
Help me build an agent loop that reports to Loopcaptain.
|
|
89
|
+
Read https://github.com/faviens/loopcaptain/blob/main/standard/AGENTS.md and LOOPS.md beside it.
|
|
90
|
+
Ask me what the loop is for, who reads the result and when it is done.
|
|
91
|
+
Then design the roles of one round, write the loop in this repository,
|
|
92
|
+
make it write .loops/<loop-id>/ as the protocol says, and show me
|
|
93
|
+
`loopcaptain validate .` printing ok after one real round.
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Want to look first?** Install it and run the example loop, which costs
|
|
97
|
+
nothing (no model, no network):
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
uv tool install git+https://github.com/faviens/loopcaptain
|
|
101
|
+
loopcaptain demo && loopcaptain serve # http://127.0.0.1:8484
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
It needs Python 3.12 or later and [uv](https://docs.astral.sh/uv/), on
|
|
105
|
+
macOS or Linux. From a checkout: `make setup && make demo && make serve`.
|
|
106
|
+
The documentation has [Installation](docs/installation.md),
|
|
107
|
+
[Get started](docs/get-started.md) and [Setup](docs/setup.md).
|
|
108
|
+
|
|
109
|
+
## The loop protocol
|
|
110
|
+
|
|
111
|
+
A loop does not import this repository. It writes a few small files into
|
|
112
|
+
`.loops/<loop-id>/` in its own repository; the board reads them and writes
|
|
113
|
+
the person's answers back.
|
|
114
|
+
|
|
115
|
+
| File | Written by | Holds |
|
|
116
|
+
|---|---|---|
|
|
117
|
+
| `loop.json` | the loop | what it is: the brief, the steps of a round, its caps, its start command |
|
|
118
|
+
| `events.jsonl` | the loop, appending | what happened: rounds, steps, findings, cost, metrics, questions |
|
|
119
|
+
| `inbox.jsonl` | the board, signed | what you sent: answers, notes, a stop |
|
|
120
|
+
|
|
121
|
+
The whole protocol is one page, [standard/LOOPS.md](standard/LOOPS.md). A
|
|
122
|
+
Python loop pastes a 60-line helper, [standard/loops.py](standard/loops.py);
|
|
123
|
+
an agent session uses the MCP server, which every coding agent adds its own
|
|
124
|
+
way: [docs/agents.md](docs/agents.md).
|
|
125
|
+
|
|
126
|
+
## Monitor an agent loop
|
|
127
|
+
|
|
128
|
+
1. **Every loop**, grouped by repository, filtered by status or text, with
|
|
129
|
+
what waits for you on its own tab.
|
|
130
|
+
2. **One loop**: the brief, the graph of a round, whether it converges (a
|
|
131
|
+
line per measure against its target), bars against its caps, every round
|
|
132
|
+
against every step, open findings, the items it evaluates, and what you
|
|
133
|
+
sent with whether the loop took it.
|
|
134
|
+
3. **Signs before the loop sees them**: a loop that stalled, one that goes
|
|
135
|
+
round without getting closer, a step that needs you, a line it wrote
|
|
136
|
+
that the protocol check refuses.
|
|
137
|
+
|
|
138
|
+
<p>
|
|
139
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/screenshot-waiting-dark.webp"><img alt="Waiting for you: a loop's question with two answer buttons and a box for your own words." src="docs/assets/screenshot-waiting.webp" width="49%"></picture>
|
|
140
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/screenshot-loop-dark.webp"><img alt="One loop: key figures, rounds against the cap, and a line per measure showing whether it converges." src="docs/assets/screenshot-loop.webp" width="49%"></picture>
|
|
141
|
+
</p>
|
|
142
|
+
<p>
|
|
143
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/screenshot-rounds-dark.webp"><img alt="The rounds of one loop: every round against every step, and one round with what each step did, found and cost." src="docs/assets/screenshot-rounds.webp" width="49%"></picture>
|
|
144
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/screenshot-findings-dark.webp"><img alt="Open findings of one loop: what the last reviewed round left open, by reviewer." src="docs/assets/screenshot-findings.webp" width="49%"></picture>
|
|
145
|
+
</p>
|
|
146
|
+
|
|
147
|
+
## Steer a loop: answer, note, stop, start
|
|
148
|
+
|
|
149
|
+
1. **Answer.** A loop that asks shows its question on the board, with
|
|
150
|
+
buttons where it offered choices. Your answer is one signed line in the
|
|
151
|
+
loop's `inbox.jsonl`; the loop reads it at its next round.
|
|
152
|
+
2. **Note.** The same line without a question: a direction for the next
|
|
153
|
+
round.
|
|
154
|
+
3. **Stop.** The loop finishes the round it is in and ends.
|
|
155
|
+
`loopcaptain doctor` checks that a loop really takes a stop.
|
|
156
|
+
4. **Start.** The board runs the one command the loop declared in its own
|
|
157
|
+
`loop.json`, without a shell, after you tick it once.
|
|
158
|
+
|
|
159
|
+
## Connect a loop you already have
|
|
160
|
+
|
|
161
|
+
1. **A script** (Python, shell, anything): paste the helper from
|
|
162
|
+
[standard/LOOPS.md](standard/LOOPS.md) and call it where a round and a
|
|
163
|
+
step begin and end, or append the JSON lines yourself.
|
|
164
|
+
2. **A Ralph loop or any loop around an agent's command line:** the shell
|
|
165
|
+
form, `loopcaptain emit <loop> <event> key=value`, once per iteration.
|
|
166
|
+
3. **A long-running agent session:** add the MCP server
|
|
167
|
+
(`loopcaptain mcp-config <agent>`), and the session reports its rounds
|
|
168
|
+
through five tools.
|
|
169
|
+
|
|
170
|
+
[standard/AGENTS.md](standard/AGENTS.md) walks an agent through each, and
|
|
171
|
+
through building a loop from nothing.
|
|
172
|
+
|
|
173
|
+
## Commands
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
loopcaptain serve # the board, 127.0.0.1 only
|
|
177
|
+
loopcaptain watch <folder> [--root] # show a repository, or every one under a folder
|
|
178
|
+
loopcaptain demo # the example loop, written and watched
|
|
179
|
+
loopcaptain validate <repository> # check a repository's .loops folders
|
|
180
|
+
loopcaptain doctor <repository> <loop> # does the loop take a stop?
|
|
181
|
+
loopcaptain mcp-config <agent> # how your agent adds the MCP server
|
|
182
|
+
loopcaptain emit <loop> <event> key=value # one event from a shell loop
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
From a checkout, put `uv run` in front, or use the `make` targets in
|
|
186
|
+
[AGENTS.md](AGENTS.md).
|
|
187
|
+
|
|
188
|
+
## How it differs
|
|
189
|
+
|
|
190
|
+
1. **A dashboard for one kind of loop** watches the loops of its own
|
|
191
|
+
runner. Loopcaptain watches any loop that writes the protocol's files.
|
|
192
|
+
2. **A session monitor** shows an agent's live session and its transcript.
|
|
193
|
+
Loopcaptain shows what sits above: rounds, steps, findings, verdicts,
|
|
194
|
+
cost and the question that waits for you.
|
|
195
|
+
3. **A loop runner or control plane** runs the loop. Loopcaptain runs
|
|
196
|
+
none: it is a protocol and a board, and your loop stays your own.
|
|
197
|
+
4. **Agent observability** traces model calls. Loopcaptain sends and takes
|
|
198
|
+
no telemetry; [docs/opentelemetry.md](docs/opentelemetry.md) maps the
|
|
199
|
+
protocol onto the GenAI conventions for those who want both.
|
|
200
|
+
|
|
201
|
+
## What it is not
|
|
202
|
+
|
|
203
|
+
No agent runtime: the board runs no model and schedules nothing; it starts
|
|
204
|
+
only the one command a loop declares, after you tick it once. No database:
|
|
205
|
+
the files are the truth. No cloud and no login: it answers on 127.0.0.1
|
|
206
|
+
only. No transcripts: a loop reports summaries and paths. See
|
|
207
|
+
[SECURITY.md](SECURITY.md) for what it trusts.
|
|
208
|
+
|
|
209
|
+
## More
|
|
210
|
+
|
|
211
|
+
[AGENTS.md](AGENTS.md) runs the board and changes this repository.
|
|
212
|
+
[docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) says why it is built this way.
|
|
213
|
+
[CHANGELOG.md](CHANGELOG.md) says what changed.
|
|
214
|
+
|
|
215
|
+
## License
|
|
216
|
+
|
|
217
|
+
[Apache License 2.0](LICENSE): use it, change it and ship it, also
|
|
218
|
+
commercially; keep the licence and the [NOTICE](NOTICE), and say what you
|
|
219
|
+
changed. It comes with a patent grant from every contributor. A
|
|
220
|
+
contribution is taken under the same licence.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
loopcaptain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
loopcaptain/agents.py,sha256=zqb0x3PvtNT1tE5l8glDgew5fbpfuVkadSJlIElrtFU,6213
|
|
3
|
+
loopcaptain/cli.py,sha256=wvAkCTuxNEyE8822p1IK7Pm8aDZuCfD3vU1HmkCAuN4,8630
|
|
4
|
+
loopcaptain/prompts.py,sha256=h-3O_b-W1KKc87TGlR3cVZC1gblR6pmeGnEYzRZhPnw,1020
|
|
5
|
+
loopcaptain/board/AGENTS.md,sha256=P4HU58PfLlChS5z6sGVClFo9O26gSJ77c7R5XJdJruU,2670
|
|
6
|
+
loopcaptain/board/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
loopcaptain/board/app.py,sha256=1B38cTC3DiAM3HCGi_1SMDPkYbmMipKvNfbpNwE8Z7U,18786
|
|
8
|
+
loopcaptain/board/discover.py,sha256=odgHP2U_F8vQ6OM14YTfx4cSe6luokS7GlZeVI_7z1o,9837
|
|
9
|
+
loopcaptain/board/files.py,sha256=sGYg6RFOkaPQcqougRe4COF9E4HbciuLv_GjLziCni4,2420
|
|
10
|
+
loopcaptain/board/filters.py,sha256=M3-PN4nFFJAMVtctJOYsTi-JOEWMHZTRy1DLqaQguuE,1319
|
|
11
|
+
loopcaptain/board/graph.py,sha256=wf3OHYFO1YkxZbssvOrLqT8A4bpftEuNT9g8zlqUdRQ,4858
|
|
12
|
+
loopcaptain/board/overview.py,sha256=Zz6FZWBDSOs0MpfAdqFtrJfORx6oiq0Eymm7a6j7KWc,2029
|
|
13
|
+
loopcaptain/board/steer.py,sha256=po5W9UWnepKCqpCjClQANDBJSV3wT3TLM3crABcz9NY,9031
|
|
14
|
+
loopcaptain/board/trend.py,sha256=tkP5JyAU3aKz6XUsr1DJkviXUcAglq5gJVx0zZ1vMDw,6269
|
|
15
|
+
loopcaptain/board/static/board.js,sha256=QB7ftV4qrzvbozuHSNVf6xryF6aCYn7kjlxoF_1UkDo,1632
|
|
16
|
+
loopcaptain/board/static/mark.svg,sha256=CmeCUxaSFjRYA-lW4Do1l-4Gp53gCu0-l5bYEFUDu8E,335
|
|
17
|
+
loopcaptain/board/static/style.css,sha256=f3zzwunn-B3K9pgcT4qfJPWynmzyTZ6GNmBRnYbuWPc,36422
|
|
18
|
+
loopcaptain/board/static/fonts/OFL.txt,sha256=vP2R_akNnFOUiLPqfTmy4bhlT276Ap_fsE1noLbIf3Y,4454
|
|
19
|
+
loopcaptain/board/static/fonts/inter-latin-wght-normal.woff2,sha256=8FLuRMNyjf0jq6ikVnFQvDFNI5AwJvu2rQiUIsLfVq8,48444
|
|
20
|
+
loopcaptain/board/static/fonts/inter-tight-latin-wght-normal.woff2,sha256=yjRFX4KlyB2BEcamQXccAR6Vdn5k78ilL4IpmJYCjFc,45072
|
|
21
|
+
loopcaptain/board/templates/base.html,sha256=S9f-8z5vokisHG-DclCqL1hVE_4RTPVLjX4UeNGUy5A,1409
|
|
22
|
+
loopcaptain/board/templates/connect.html,sha256=ugLGO35Qt0Yg6Ngz753W2MZjk3c_t2paKj3hY6O8xoQ,2981
|
|
23
|
+
loopcaptain/board/templates/file.html,sha256=ZtJydOdsC6Yw2zZuym8b6Mw0umFPhD5kGgj_CORNsvI,584
|
|
24
|
+
loopcaptain/board/templates/loop.html,sha256=eT32nX_DqD_hvvsqUHtGkyq5RL7uUxMa3NJJebeHOCE,27206
|
|
25
|
+
loopcaptain/board/templates/overview.html,sha256=lBqf2Pwsf7PcZHclVx4GBE1AO2dCgY4VxFT-5NUTdos,8496
|
|
26
|
+
loopcaptain/board/templates/unreadable.html,sha256=Ue-wdSJXe2xDmu8m57CbZKjTxJxEsKfTEKnm9bV4UlQ,1044
|
|
27
|
+
loopcaptain/demo/__init__.py,sha256=i9yZrJ91qf6BE5RnAWYzXDEd1i5dQ2NsLD8A1QdSyQ4,2358
|
|
28
|
+
loopcaptain/demo/loop.py,sha256=sCbqP-Q3DQfugAXTOavKt3Dso8-sxyB3EaElSAUAbNE,12546
|
|
29
|
+
loopcaptain/mcp_server/AGENTS.md,sha256=OFMiIUCryjeh4v-LXmKOFmZoN2JiH5QD7nYTP5RHfzo,1176
|
|
30
|
+
loopcaptain/mcp_server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
|
+
loopcaptain/mcp_server/server.py,sha256=ZyEu3VPWwJaGr5GCltNB1V3dviI-pATdayIr6PYDMgk,8506
|
|
32
|
+
loopcaptain/protocol/AGENTS.md,sha256=s0JTTgaoCtwa3xny0_BxNjoS7q90iSOhgpGRiBp16IM,1381
|
|
33
|
+
loopcaptain/protocol/__init__.py,sha256=DNGkw9eq904oKAXQMxhm1WvjEIHuOdnOnkC2LEew3dY,702
|
|
34
|
+
loopcaptain/protocol/doctor.py,sha256=fpNM4OS1s2awFJphhKLsRriqr1Ox3tU1_fdbaIzU9BI,3028
|
|
35
|
+
loopcaptain/protocol/models.py,sha256=Z9kQh3ds1HJPxODTf3diCjgTWd4dFjppqBlTczC1Rw4,16345
|
|
36
|
+
loopcaptain/protocol/signing.py,sha256=LYB6PyTYiPl40IOVIAbeZH-wQDONrUHiagzqE-CFs74,3988
|
|
37
|
+
loopcaptain/protocol/state.py,sha256=B_izP54Jo43vzfJRI9BWPI9RaQIPllJw2Gr5S8TQLZ8,22413
|
|
38
|
+
loopcaptain/protocol/store.py,sha256=oe3HTFvTR4FZethYgYIoKYG8qRECwTMDFBjkZ7scCXc,9736
|
|
39
|
+
loopcaptain/protocol/validate.py,sha256=5v01KNsR-EdaGvLLXo853qt32KEyHUeBzw_kGoe-VRU,8035
|
|
40
|
+
loopcaptain/demo/loops.py,sha256=GkVSGjdozRa5qeAPMlWnscKWUQ3nO7HQfEHM2PISgdg,3023
|
|
41
|
+
loopcaptain/prompt_texts/build-a-loop.md,sha256=Bl7rSyrcR9PP5USsAvLPkeiLPXA1sx0N5PQSByDGngc,421
|
|
42
|
+
loopcaptain/prompt_texts/watch-my-loops.md,sha256=eTzsqnx8Wq_F73UORvgJZvqSf5b-jOnjSmR_hgqEJ2c,441
|
|
43
|
+
loopcaptain/protocol/LOOPS.md,sha256=oomAa74hpgufd59B156AGkQ3G9YNNbuGxL2ptPz5_gY,20260
|
|
44
|
+
loopcaptain-0.3.1.dist-info/METADATA,sha256=dhlUj8PdXFtJjX3G7ust-PSAFA5kdTbvLp2k1mQvh9M,11580
|
|
45
|
+
loopcaptain-0.3.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
46
|
+
loopcaptain-0.3.1.dist-info/entry_points.txt,sha256=foVA9_jtJ-KicHnxgx3LHC0qbSTgFRySONJlHHf3jkw,53
|
|
47
|
+
loopcaptain-0.3.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
48
|
+
loopcaptain-0.3.1.dist-info/licenses/NOTICE,sha256=5Xh_qkLm24rjOb6eYvus6NxdHh1I8tFl1y8c6XdDsjE,379
|
|
49
|
+
loopcaptain-0.3.1.dist-info/licenses/src/loopcaptain/board/static/fonts/OFL.txt,sha256=vP2R_akNnFOUiLPqfTmy4bhlT276Ap_fsE1noLbIf3Y,4454
|
|
50
|
+
loopcaptain-0.3.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Loopcaptain
|
|
2
|
+
Copyright 2026 Daniel Vogler
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
The files of the standard (standard/) may be copied into any repository:
|
|
7
|
+
that is what they are for.
|
|
8
|
+
|
|
9
|
+
This product includes the Inter and Inter Tight typefaces, served from
|
|
10
|
+
src/loopcaptain/board/static/fonts/ under the SIL Open Font License 1.1 (see
|
|
11
|
+
OFL.txt in that folder).
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
Copyright 2022 The Inter Project Authors (https://github.com/rsms/inter-tight)
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
http://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|