esedre 0.1.3
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/LICENSE +327 -0
- package/README.md +200 -0
- package/dist/esedre.mjs +3683 -0
- package/dist/web/apple-touch-icon.png +0 -0
- package/dist/web/assets/index-BqjKnasV.js +114 -0
- package/dist/web/assets/index-CezKPkES.css +2 -0
- package/dist/web/embed.js +98 -0
- package/dist/web/esedre-hero.png +0 -0
- package/dist/web/esedre-icon-inverted.svg +18 -0
- package/dist/web/esedre-icon.svg +18 -0
- package/dist/web/favicon-16x16.png +0 -0
- package/dist/web/favicon-32x32.png +0 -0
- package/dist/web/favicon.ico +0 -0
- package/dist/web/favicon.png +0 -0
- package/dist/web/favicon.svg +18 -0
- package/dist/web/index.html +18 -0
- package/package.json +61 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
Mozilla Public License Version 2.0
|
|
2
|
+
==================================
|
|
3
|
+
|
|
4
|
+
1. Definitions
|
|
5
|
+
--------------
|
|
6
|
+
|
|
7
|
+
1.1. "Contributor"
|
|
8
|
+
means each individual or legal entity that creates, contributes to
|
|
9
|
+
the creation of, or owns Covered Software.
|
|
10
|
+
|
|
11
|
+
1.2. "Contributor Version"
|
|
12
|
+
means the combination of the Contributions of others (if any) used
|
|
13
|
+
by a Contributor and that particular Contributor's Contribution.
|
|
14
|
+
|
|
15
|
+
1.3. "Contribution"
|
|
16
|
+
means Covered Software of a particular Contributor.
|
|
17
|
+
|
|
18
|
+
1.4. "Covered Software"
|
|
19
|
+
means Source Code Form to which the initial Contributor has attached
|
|
20
|
+
the notice in Exhibit A, the Executable Form of such Source Code
|
|
21
|
+
Form, and Modifications of such Source Code Form, in each case
|
|
22
|
+
including portions thereof.
|
|
23
|
+
|
|
24
|
+
1.5. "Incompatible With Secondary Licenses"
|
|
25
|
+
means
|
|
26
|
+
|
|
27
|
+
(a) that the initial Contributor has attached the notice described
|
|
28
|
+
in Exhibit B to the Covered Software; or
|
|
29
|
+
|
|
30
|
+
(b) that the Covered Software was made available under the terms of
|
|
31
|
+
version 1.1 or earlier of the License, but not also under the
|
|
32
|
+
terms of a Secondary License.
|
|
33
|
+
|
|
34
|
+
1.6. "Executable Form"
|
|
35
|
+
means any form of the work other than Source Code Form.
|
|
36
|
+
|
|
37
|
+
1.7. "Larger Work"
|
|
38
|
+
means a work that combines Covered Software with other material, in
|
|
39
|
+
a separate file or files, that is not Covered Software.
|
|
40
|
+
|
|
41
|
+
1.8. "License"
|
|
42
|
+
means this document.
|
|
43
|
+
|
|
44
|
+
1.9. "Licensable"
|
|
45
|
+
means having the right to grant, to the maximum extent possible,
|
|
46
|
+
whether at the time of the initial grant or subsequently, any and
|
|
47
|
+
all of the rights conveyed by this License.
|
|
48
|
+
|
|
49
|
+
1.10. "Modifications"
|
|
50
|
+
means any of the following:
|
|
51
|
+
|
|
52
|
+
(a) any addition to or deletion from the substance or structure of
|
|
53
|
+
a file containing Covered Software; or
|
|
54
|
+
|
|
55
|
+
(b) any new file that contains any part of the Covered Software.
|
|
56
|
+
|
|
57
|
+
1.11. "Patent Claims" of a Contributor
|
|
58
|
+
means any patent claim(s), including without limitation, method,
|
|
59
|
+
process, and apparatus claims, in any patent Licensable by such
|
|
60
|
+
Contributor that would be infringed, but for the grant of the
|
|
61
|
+
License, whether sponsored, acquired, or hereafter acquired by such
|
|
62
|
+
Contributor.
|
|
63
|
+
|
|
64
|
+
1.12. "Secondary License"
|
|
65
|
+
means either the GNU General Public License, Version 2.0, the GNU
|
|
66
|
+
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
67
|
+
Public License, Version 3.0, or any later versions of those
|
|
68
|
+
licenses.
|
|
69
|
+
|
|
70
|
+
1.13. "Source Code Form"
|
|
71
|
+
means the preferred form of the work for making modifications.
|
|
72
|
+
|
|
73
|
+
1.14. "You" (or "Your")
|
|
74
|
+
means an individual or a legal entity exercising rights under this
|
|
75
|
+
License. For legal entities, "You" includes any entity that
|
|
76
|
+
controls, is controlled by, or is under common control with You. For
|
|
77
|
+
purposes of this definition, "control" means (a) the power, direct
|
|
78
|
+
or indirect, to cause the direction or management of such entity,
|
|
79
|
+
whether by contract or otherwise, or (b) ownership of more than
|
|
80
|
+
fifty percent (50%) of the outstanding shares or beneficial
|
|
81
|
+
ownership of such entity.
|
|
82
|
+
|
|
83
|
+
2. License Grants and Conditions
|
|
84
|
+
--------------------------------
|
|
85
|
+
|
|
86
|
+
2.1. Grants
|
|
87
|
+
|
|
88
|
+
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
89
|
+
non-exclusive license:
|
|
90
|
+
|
|
91
|
+
(a) under intellectual property rights (other than patent or trademark)
|
|
92
|
+
Licensable by such Contributor to use, reproduce, make available,
|
|
93
|
+
modify, display, perform, distribute, and otherwise exploit its
|
|
94
|
+
Contributions, either on an unmodified basis, with Modifications, or
|
|
95
|
+
as part of a Larger Work; and
|
|
96
|
+
|
|
97
|
+
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
98
|
+
for sale, have made, import, and otherwise transfer either its
|
|
99
|
+
Contributions or its Contributor Version.
|
|
100
|
+
|
|
101
|
+
2.2. Effective Date
|
|
102
|
+
|
|
103
|
+
The licenses granted in Section 2.1 with respect to any Contribution
|
|
104
|
+
become effective each time a Contributor first distributes such
|
|
105
|
+
Contribution.
|
|
106
|
+
|
|
107
|
+
2.3. Limitations on Grant Scope
|
|
108
|
+
|
|
109
|
+
The licenses granted in this Section 2 are the only rights granted under
|
|
110
|
+
this License. No additional terms or conditions are granted or should be
|
|
111
|
+
implied. Without limiting the foregoing, no licenses are granted:
|
|
112
|
+
|
|
113
|
+
(a) for any code that a Contributor has removed from the Contributor
|
|
114
|
+
Version;
|
|
115
|
+
|
|
116
|
+
(b) for separate device or hardware features that are not incorporated
|
|
117
|
+
in the Covered Software;
|
|
118
|
+
|
|
119
|
+
(c) under Trademark Claims of any Contributor;
|
|
120
|
+
|
|
121
|
+
(d) to any patent claims of a Contributor that would be infringed by the
|
|
122
|
+
combination of the Contribution with other software or devices, but
|
|
123
|
+
for such grant; or
|
|
124
|
+
|
|
125
|
+
(e) to any patent claims of a Contributor in the absence of its
|
|
126
|
+
Contributions to the Contributor Version.
|
|
127
|
+
|
|
128
|
+
No hardware per se is licensed hereunder.
|
|
129
|
+
|
|
130
|
+
2.4. Recalcitrant Contributors
|
|
131
|
+
|
|
132
|
+
Nothing in this License shall be deemed to grant any rights to any
|
|
133
|
+
Contribution of any Contributor that is in breach of this License.
|
|
134
|
+
|
|
135
|
+
2.5. Representation
|
|
136
|
+
|
|
137
|
+
Each Contributor represents that the Contributor believes its
|
|
138
|
+
Contributions are its original creation(s) or it has sufficient rights
|
|
139
|
+
to grant the rights to its Contributions conveyed by this License.
|
|
140
|
+
|
|
141
|
+
2.6. Fair Use
|
|
142
|
+
|
|
143
|
+
This License is not intended to limit any rights You have under
|
|
144
|
+
applicable copyright doctrines of fair use, fair dealing, or other
|
|
145
|
+
equivalents.
|
|
146
|
+
|
|
147
|
+
2.7. Conditions
|
|
148
|
+
|
|
149
|
+
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
150
|
+
in Section 2.1.
|
|
151
|
+
|
|
152
|
+
3. Responsibilities
|
|
153
|
+
-------------------
|
|
154
|
+
|
|
155
|
+
3.1. Distribution of Source Form
|
|
156
|
+
|
|
157
|
+
All distribution of Covered Software in Source Code Form, including any
|
|
158
|
+
Modifications that You create or to which You contribute, must be under
|
|
159
|
+
the terms of this License. You must inform recipients that the Source
|
|
160
|
+
Code Form of the Covered Software is governed by the terms of this
|
|
161
|
+
License, and how they can obtain a copy of this License. You may not
|
|
162
|
+
attempt to alter or restrict the recipients' rights in the Source Code
|
|
163
|
+
Form.
|
|
164
|
+
|
|
165
|
+
3.2. Distribution of Executable Form
|
|
166
|
+
|
|
167
|
+
If You distribute Covered Software in Executable Form then:
|
|
168
|
+
|
|
169
|
+
(a) such Covered Software must also be made available in Source Code
|
|
170
|
+
Form, as described in Section 3.1, and You must inform recipients of
|
|
171
|
+
the Executable Form how they can obtain a copy of such Source Code
|
|
172
|
+
Form by reasonable means in a timely manner, at a charge no more
|
|
173
|
+
than the cost of distribution to the recipient; and
|
|
174
|
+
|
|
175
|
+
(b) You may distribute such Executable Form under the terms of this
|
|
176
|
+
License, or sublicense it under different terms, provided that the
|
|
177
|
+
license for the Executable Form does not attempt to limit or alter
|
|
178
|
+
the recipients' rights in the Source Code Form under this License.
|
|
179
|
+
|
|
180
|
+
3.3. Distribution of a Larger Work
|
|
181
|
+
|
|
182
|
+
You may create and distribute a Larger Work under terms of Your choice,
|
|
183
|
+
provided that You also comply with the requirements of this License for
|
|
184
|
+
the Covered Software. If the Larger Work is a combination of Covered
|
|
185
|
+
Software with a work governed by one or more Secondary Licenses, and the
|
|
186
|
+
Covered Software is not Incompatible With Secondary Licenses, this
|
|
187
|
+
License permits You to additionally distribute such Covered Software
|
|
188
|
+
under the terms of such Secondary License(s), so that the recipient of
|
|
189
|
+
the Larger Work may, at their option, further distribute the Covered
|
|
190
|
+
Software under the terms of such Secondary License(s).
|
|
191
|
+
|
|
192
|
+
3.4. Notices
|
|
193
|
+
|
|
194
|
+
You may not remove or alter the substance of any license notices
|
|
195
|
+
(including copyright notices, patent notices, disclaimers of warranty,
|
|
196
|
+
or limitations of liability) contained within the Source Code Form of
|
|
197
|
+
the Covered Software, except that You may alter any license notices to
|
|
198
|
+
the extent required to remedy known factual inaccuracies.
|
|
199
|
+
|
|
200
|
+
3.5. Application of Additional Terms
|
|
201
|
+
|
|
202
|
+
You may choose to offer, and to charge a fee for, warranty, support,
|
|
203
|
+
indemnity or liability obligations to one or more recipients of Covered
|
|
204
|
+
Software. However, You may do so only on Your own behalf, and not on
|
|
205
|
+
behalf of any Contributor. You must make it absolutely clear that any
|
|
206
|
+
such warranty, support, indemnity, or liability obligation is offered by
|
|
207
|
+
You alone, and You hereby agree to indemnify every Contributor for any
|
|
208
|
+
liability incurred by such Contributor as a result of warranty, support,
|
|
209
|
+
indemnity or liability terms You offer. You may include additional
|
|
210
|
+
disclaimers of warranty and limitations of liability specific to any
|
|
211
|
+
jurisdiction.
|
|
212
|
+
|
|
213
|
+
4. Inability to Comply Due to Statute or Regulation
|
|
214
|
+
---------------------------------------------------
|
|
215
|
+
|
|
216
|
+
If it is impossible for You to comply with any of the terms of this
|
|
217
|
+
License with respect to all or some of the Covered Software due to
|
|
218
|
+
statute, judicial order, or regulation then You must: (a) comply with
|
|
219
|
+
the terms of this License to the maximum extent possible; and (b)
|
|
220
|
+
describe the limitations and the code they affect. Such description must
|
|
221
|
+
be placed in a text file included with all distributions of the Covered
|
|
222
|
+
Software under this License. Except to the extent prohibited by statute
|
|
223
|
+
or regulation, such description must be sufficiently detailed for a
|
|
224
|
+
recipient of ordinary skill to be able to understand it.
|
|
225
|
+
|
|
226
|
+
5. Termination
|
|
227
|
+
--------------
|
|
228
|
+
|
|
229
|
+
5.1. The rights granted under this License will terminate automatically
|
|
230
|
+
if You fail to comply with any of its terms. However, if You become
|
|
231
|
+
compliant, then the rights granted under this License from a particular
|
|
232
|
+
Contributor are reinstated (a) provisionally, unless and until such
|
|
233
|
+
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
234
|
+
ongoing basis, if such Contributor fails to notify You of the
|
|
235
|
+
non-compliance by some reasonable means prior to 60 days after You have
|
|
236
|
+
come back into compliance. Moreover, Your grants from a particular
|
|
237
|
+
Contributor are reinstated on an ongoing basis if such Contributor
|
|
238
|
+
notifies You of the non-compliance by some reasonable means, this is the
|
|
239
|
+
first time You have received notice of non-compliance with this License
|
|
240
|
+
from such Contributor, and You become compliant prior to 30 days after
|
|
241
|
+
Your receipt of the notice.
|
|
242
|
+
|
|
243
|
+
5.2. If You initiate litigation against any entity by asserting a patent
|
|
244
|
+
infringement claim (excluding declaratory judgment actions,
|
|
245
|
+
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
246
|
+
directly or indirectly infringes any patent, then the rights granted to
|
|
247
|
+
You by any and all Contributors for the Covered Software under Section
|
|
248
|
+
2.1 of this License shall terminate.
|
|
249
|
+
|
|
250
|
+
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
251
|
+
end user license agreements (excluding distributors and resellers) which
|
|
252
|
+
have been validly granted by You or Your distributors under this License
|
|
253
|
+
prior to termination shall survive termination.
|
|
254
|
+
|
|
255
|
+
6. Disclaimer of Warranty
|
|
256
|
+
-------------------------
|
|
257
|
+
|
|
258
|
+
Covered Software is provided under this License on an "as is"
|
|
259
|
+
basis, without warranty of any kind, either expressed, implied, or
|
|
260
|
+
statutory, including, without limitation, warranties that the
|
|
261
|
+
Covered Software is free of defects, merchantable, fit for a
|
|
262
|
+
particular purpose or non-infringing. The entire risk as to the
|
|
263
|
+
quality and performance of the Covered Software is with You.
|
|
264
|
+
Should any Covered Software prove defective in any respect, You
|
|
265
|
+
(not any Contributor) assume the cost of any necessary servicing,
|
|
266
|
+
repair, or correction. This disclaimer of warranty constitutes an
|
|
267
|
+
essential part of this License. No use of any Covered Software is
|
|
268
|
+
authorized under this License except under this disclaimer.
|
|
269
|
+
|
|
270
|
+
7. Limitation of Liability
|
|
271
|
+
--------------------------
|
|
272
|
+
|
|
273
|
+
Under no circumstances and under no legal theory, whether tort
|
|
274
|
+
(including negligence), contract, or otherwise, shall any
|
|
275
|
+
Contributor, or anyone who distributes Covered Software as
|
|
276
|
+
permitted above, be liable to You for any direct, indirect,
|
|
277
|
+
special, incidental, or consequential damages of any character
|
|
278
|
+
including, without limitation, damages for lost profits, loss of
|
|
279
|
+
goodwill, work stoppage, computer failure or malfunction, or any
|
|
280
|
+
and all other commercial damages or losses, even if such party
|
|
281
|
+
shall have been informed of the possibility of such damages. This
|
|
282
|
+
limitation of liability shall not apply to liability for death or
|
|
283
|
+
personal injury resulting from such party's negligence to the
|
|
284
|
+
extent applicable law prohibits such limitation. Some
|
|
285
|
+
jurisdictions do not allow the exclusion or limitation of
|
|
286
|
+
incidental or consequential damages, so this exclusion and
|
|
287
|
+
limitation may not apply to You.
|
|
288
|
+
|
|
289
|
+
8. Litigation
|
|
290
|
+
-------------
|
|
291
|
+
|
|
292
|
+
Any litigation relating to this License may be brought only in the
|
|
293
|
+
courts of a jurisdiction where the defendant maintains its principal
|
|
294
|
+
place of business and such litigation shall be governed by laws of that
|
|
295
|
+
jurisdiction, without reference to its conflict-of-law provisions.
|
|
296
|
+
Nothing in this Section shall prevent a party's ability to bring
|
|
297
|
+
cross-claims or counter-claims.
|
|
298
|
+
|
|
299
|
+
9. Miscellaneous
|
|
300
|
+
----------------
|
|
301
|
+
|
|
302
|
+
This License represents the complete agreement concerning the subject
|
|
303
|
+
matter hereof. If any provision of this License is held to be
|
|
304
|
+
unenforceable, such provision shall be reformed only to the extent
|
|
305
|
+
necessary to make it enforceable. Any law or regulation which provides
|
|
306
|
+
that the language of a contract shall be construed against the drafter
|
|
307
|
+
shall not be used to construe this License against a Contributor.
|
|
308
|
+
|
|
309
|
+
Exhibit A - Source Code Form License Notice
|
|
310
|
+
-------------------------------------------
|
|
311
|
+
|
|
312
|
+
This Source Code Form is subject to the terms of the Mozilla Public
|
|
313
|
+
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
314
|
+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
315
|
+
|
|
316
|
+
If it is not possible or desirable to put the notice in a particular
|
|
317
|
+
file, then You may include the notice in a location (such as a LICENSE
|
|
318
|
+
file in a relevant directory) where a recipient would be likely to look
|
|
319
|
+
for such a notice.
|
|
320
|
+
|
|
321
|
+
You may add additional accurate notices of copyright ownership.
|
|
322
|
+
|
|
323
|
+
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
324
|
+
---------------------------------------------------------
|
|
325
|
+
|
|
326
|
+
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
327
|
+
defined by the Mozilla Public License, v. 2.0.
|
package/README.md
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# 🏛️ Esedre (`/eh-ˈseh-dreh/`)
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="docs/assets/esedre-hero.png" alt="Esedre: The Classical Council Forum for Developers & Companion Agents" width="100%" />
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
> **Developer roadmap, ticketing engine, and Model Context Protocol (MCP) server for developers and companion LLM coding agents.**
|
|
8
|
+
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
[](tests/)
|
|
11
|
+
[](https://www.arwam.com)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 🌟 Overview
|
|
16
|
+
|
|
17
|
+
**Esedre** (with short CLI alias **`ese`**) is an open-source developer planning engine backed by text-based files (Markdown & JSON) that are easily backed by a git branch or repository for clean versioning and branch-aware workflows. Designed from the ground up for software engineers and autonomous companion LLM coding agents (such as Google Antigravity, Claude Code, and Cursor) to coordinate together, it provides:
|
|
18
|
+
|
|
19
|
+
1. **CLI Commands (`esedre` / `ese`)**: List, query, plan, create, and update tickets via simple terminal commands with human-readable colored tables or machine-readable `--json` output.
|
|
20
|
+
2. **Model Context Protocol (MCP) Server**: Full JSON-RPC 2.0 stdio server implementing the official MCP specification (`2024-11-05`), exposing roadmap tickets as first-class tools and URI resources.
|
|
21
|
+
3. **Multi-Project Agent Isolation**: Informs each companion LLM only of the projects it is authorized to access, keeping unrelated project tickets, specifications, and plans completely isolated.
|
|
22
|
+
4. **Optimistic Concurrency Control**: SHA-1 content hashing on all tickets and plans, preventing concurrent agents or humans from clobbering each other's edits.
|
|
23
|
+
5. **Local Web Dashboard & Embeddable Component**: Run a visual dashboard with `esedre serve` to manage tickets in your browser, or embed `<esedre-planner>` into any web app without adding UI framework dependencies to your project.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 🏛️ About the Name
|
|
28
|
+
|
|
29
|
+
### Origin
|
|
30
|
+
|
|
31
|
+
**Esedre** derives from classical Latin *exedra* (plural *esedre*), the semicircular architectural council pavilions where ancient architects, master builders, and planners gathered to debate designs, draft blueprints, and coordinate construction. That classical forum mirrors Esedre's mission: a structured, open workspace where developers and companion LLMs collaborate to scope work, align on plans, and ship software.
|
|
32
|
+
|
|
33
|
+
### Pronunciation Guide
|
|
34
|
+
|
|
35
|
+
Esedre is pronounced **`eh-SEH-dreh`** (phonetically: **`/ɛˈsɛ.drɛ/`**).
|
|
36
|
+
|
|
37
|
+
* Short CLI alias: **`ese`** (pronounced **`/ˈɛ.sɛ/`**).
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 🚀 Quick Start
|
|
42
|
+
|
|
43
|
+
### 1. Installation
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# Global CLI installation
|
|
47
|
+
npm install -g esedre
|
|
48
|
+
|
|
49
|
+
# Or run instantly without installation via npx
|
|
50
|
+
npx esedre list
|
|
51
|
+
npx ese list
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### 2. Configure Your Project (`.esedre/esedre.json`)
|
|
55
|
+
|
|
56
|
+
Create an `.esedre/esedre.json` (or root `esedre.json`) configuration:
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
{
|
|
60
|
+
"projectCode": "MYAPP",
|
|
61
|
+
"allowedProjects": ["MYAPP"]
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
> **Tip**: Passing `"allowedProjects": ["*"]` authorizes access to all registered projects in the workspace.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 💻 CLI Commands
|
|
70
|
+
|
|
71
|
+
Both `esedre` and `ese` can be used interchangeably:
|
|
72
|
+
|
|
73
|
+
| Command | Usage | Description |
|
|
74
|
+
|---|---|---|
|
|
75
|
+
| `list` | `ese list [--project <code\|all>] [--status <status>] [--json]` | List roadmap tickets. Defaults to the active project. |
|
|
76
|
+
| `get` | `ese get <id> [--json]` | View ticket specifications, feature breakdown, comments, and SHA-1 hash. |
|
|
77
|
+
| `plan` | `ese plan <id> [--set "<markdown>"] [--file <path>] [--last-hash <h>]` | Read or update the active implementation plan markdown. |
|
|
78
|
+
| `create` | `ese create --title "..." [--project <code>] [--category <cat>]` | Create a new ticket with auto-sequential ID. Title strictly capped at 48 chars. |
|
|
79
|
+
| `update` | `ese update <id> [--status <status>] [--title "..."] [--last-hash <h>]` | Update ticket status or title with optimistic concurrency protection. |
|
|
80
|
+
| `comment` | `ese comment <id> --text "..." [--author "..."]` | Append a developer or companion agent note to a ticket. |
|
|
81
|
+
| `configure` | `ese configure [--project <code>] [--port <n>]` | Initialize workspace configuration, MCP config, and in-repo shell wrappers. |
|
|
82
|
+
| `snapshot` | `ese snapshot [--json]` | Generate lean projection `.esedre/snapshot.json` for zero-latency agent context. |
|
|
83
|
+
| `projects` | `ese projects [--json]` | List registered projects within authorized scope. |
|
|
84
|
+
| `serve` | `ese serve [--port <n>]` | Start the reverse proxy gateway (default 5674) with internal UI & API. |
|
|
85
|
+
| `mcp` | `ese mcp` | Launch the Model Context Protocol stdio server for companion LLMs. |
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## 🤖 Model Context Protocol (MCP) Setup
|
|
90
|
+
|
|
91
|
+
To connect Esedre to **Google Antigravity**, **Claude Code**, **Cursor**, or any MCP-compatible companion LLM:
|
|
92
|
+
|
|
93
|
+
```json
|
|
94
|
+
{
|
|
95
|
+
"mcpServers": {
|
|
96
|
+
"esedre": {
|
|
97
|
+
"command": "esedre",
|
|
98
|
+
"args": ["mcp"]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Registered Tools
|
|
105
|
+
- `esedre_list_tickets`: List tickets with optional project, status, category, or search filter.
|
|
106
|
+
- `esedre_get_ticket`: Retrieve full specification, summary, comments, revision, and content hash (`sha1`).
|
|
107
|
+
- `esedre_get_plan` & `esedre_save_plan`: Inspect and update implementation plans with optimistic concurrency (`lastHash`).
|
|
108
|
+
- `esedre_create_ticket`: Mint new roadmap tickets with project code validation (up to 6 chars).
|
|
109
|
+
- `esedre_update_ticket`: Modify status, title, complexity, or effort with optimistic concurrency (`lastHash`).
|
|
110
|
+
- `esedre_add_comment`: Append developer or companion agent verification notes.
|
|
111
|
+
|
|
112
|
+
### Resources
|
|
113
|
+
- URI Scheme: `esedre://tickets/{id}` (MIME type: `text/markdown`)
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## 🎨 Embeddable Component & Theming
|
|
118
|
+
|
|
119
|
+
Esedre includes a drop-in Web Component (`<esedre-planner>`) that allows you to embed the visual developer planner directly into any host web application (React, Vue, Svelte, or vanilla HTML) without adding UI framework dependencies to your project.
|
|
120
|
+
|
|
121
|
+
### Component Usage
|
|
122
|
+
|
|
123
|
+
```html
|
|
124
|
+
<!-- Load the Esedre embed script -->
|
|
125
|
+
<script type="module" src="node_modules/esedre/dist/web/embed.js"></script>
|
|
126
|
+
|
|
127
|
+
<!-- Embed the planner -->
|
|
128
|
+
<esedre-planner
|
|
129
|
+
project="MYAPP"
|
|
130
|
+
api-url="/esedre"
|
|
131
|
+
show-header="false">
|
|
132
|
+
</esedre-planner>
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Component Attributes
|
|
136
|
+
|
|
137
|
+
| Attribute | Default | Description |
|
|
138
|
+
|---|---|---|
|
|
139
|
+
| `project` | `"all"` | Filter tickets to a specific project code (e.g. `Profe`, `Alce`) or `"all"` |
|
|
140
|
+
| `api-url` | `"/api/planning"` | Base URL of the Esedre server or reverse proxy endpoint |
|
|
141
|
+
| `show-header` | `"true"` | Set to `"false"` to hide the top navigation header for seamless dialog/drawer embedding |
|
|
142
|
+
| `read-only` | `"false"` | Disable ticket creation, editing, and plan modification |
|
|
143
|
+
|
|
144
|
+
### Theming with CSS Tokens
|
|
145
|
+
|
|
146
|
+
The planner UI is styled entirely using CSS custom properties. When embedding inside host applications, you can override these tokens to match your app's visual identity:
|
|
147
|
+
|
|
148
|
+
```css
|
|
149
|
+
:root {
|
|
150
|
+
/* Surfaces & Backgrounds */
|
|
151
|
+
--bg-main: #060812; /* Main canvas background */
|
|
152
|
+
--bg-card: #0b0f19; /* Card containers */
|
|
153
|
+
--bg-surface: #0a0e1a; /* Surface panels */
|
|
154
|
+
--bg-surface-elevated: #0f172a; /* Headers & elevated panels */
|
|
155
|
+
|
|
156
|
+
/* Borders & Accents */
|
|
157
|
+
--border-subtle: #1e293b; /* Subtle divider borders */
|
|
158
|
+
--border-strong: #334155; /* Interactive/hover borders */
|
|
159
|
+
--accent-primary: #818cf8; /* Primary interactive accent */
|
|
160
|
+
|
|
161
|
+
/* Typography */
|
|
162
|
+
--text-primary: #f8fafc; /* High-contrast headings and titles */
|
|
163
|
+
--text-secondary: #94a3b8; /* Body and secondary text */
|
|
164
|
+
--text-muted: #64748b; /* Metadata and subtle labels */
|
|
165
|
+
}
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
* **Standalone Theme Toggle**: When running via `esedre serve`, users can toggle between Day (Light) and Night (Dark) themes with one click in the header. Theme preferences persist automatically in `localStorage`.
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## 🛡️ Multi-Project Agent Isolation & Upward Discovery
|
|
173
|
+
|
|
174
|
+
Esedre enforces clean project isolation so each companion LLM is informed only of the projects it is authorized to access:
|
|
175
|
+
- **Upward Discovery**: When invoked in any subdirectory, Esedre climbs upward until it encounters the nearest `.esedre/esedre.json` or `esedre.json`, binding its execution to that repository's scope.
|
|
176
|
+
- **Scoped Project Awareness**: Storage operations and tools only inform and expose projects declared in `allowedProjects`. Companion LLMs cannot query, list, or mutate tickets outside their authorized scope.
|
|
177
|
+
- Unauthorized requests throw `EsedreAuthorizationError`:
|
|
178
|
+
- **CLI**: Prints `Access Denied: ...` and exits with status code 1.
|
|
179
|
+
- **MCP**: Responds with standard JSON-RPC error `-32603`.
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 🛠️ Development & Testing
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
# Run full unit and integration test suite
|
|
187
|
+
npm test
|
|
188
|
+
|
|
189
|
+
# Lint TypeScript types
|
|
190
|
+
npm run lint
|
|
191
|
+
|
|
192
|
+
# Build bundled standalone distribution & web components
|
|
193
|
+
npm run build
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## 📄 License
|
|
199
|
+
|
|
200
|
+
[Mozilla Public License 2.0 (MPL-2.0)](LICENSE) © [ARWAM](https://www.arwam.com)
|