trekoon 0.2.8 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/docs/commands.md +9 -11
- package/docs/quickstart.md +10 -12
- package/package.json +23 -1
- package/src/board/assets/app.js +469 -1377
- package/src/board/assets/components/ClampedText.js +1 -1
- package/src/board/assets/components/Component.js +271 -0
- package/src/board/assets/components/ConfirmDialog.js +81 -0
- package/src/board/assets/components/EpicRow.js +43 -26
- package/src/board/assets/components/EpicsOverview.js +52 -11
- package/src/board/assets/components/Inspector.js +335 -0
- package/src/board/assets/components/Notice.js +87 -0
- package/src/board/assets/components/SubtaskModal.js +100 -0
- package/src/board/assets/components/TaskCard.js +82 -0
- package/src/board/assets/components/TaskModal.js +99 -0
- package/src/board/assets/components/TopBar.js +167 -0
- package/src/board/assets/components/Workspace.js +319 -0
- package/src/board/assets/components/assetMap.js +29 -14
- package/src/board/assets/components/helpers.js +261 -0
- package/src/board/assets/fonts/inter-latin.woff2 +0 -0
- package/src/board/assets/fonts/material-symbols-rounded.woff2 +0 -0
- package/src/board/assets/index.html +20 -57
- package/src/board/assets/main.js +2 -18
- package/src/board/assets/runtime/clipboard.js +34 -0
- package/src/board/assets/runtime/delegation.js +342 -0
- package/src/board/assets/state/actions.js +204 -16
- package/src/board/assets/state/api.js +201 -46
- package/src/board/assets/state/store.js +418 -117
- package/src/board/assets/state/url.js +184 -0
- package/src/board/assets/state/utils.js +222 -0
- package/src/board/assets/styles/board.css +933 -129
- package/src/board/assets/styles/fonts.css +22 -0
- package/src/board/routes.ts +15 -6
- package/src/board/server.ts +1 -0
- package/src/board/assets/components/AppShell.js +0 -17
- package/src/board/assets/components/BoardTopbar.js +0 -78
- package/src/board/assets/components/WorkspaceHeader.js +0 -70
- package/src/board/assets/utils/dom.js +0 -308
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Recommended (global install with Bun):
|
|
|
28
28
|
bun add -g trekoon
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Alternative (npm global install):
|
|
31
|
+
Alternative (npm global install — Bun must still be installed as the runtime):
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
npm i -g trekoon
|
|
@@ -99,20 +99,19 @@ The browser flow is local-only by design:
|
|
|
99
99
|
Current runtime expectations:
|
|
100
100
|
|
|
101
101
|
- the local runtime is served from `.trekoon/board`
|
|
102
|
-
- the
|
|
103
|
-
|
|
104
|
-
-
|
|
105
|
-
|
|
106
|
-
network access is restored
|
|
102
|
+
- all assets are self-hosted: the board ships its own CSS, fonts (Inter,
|
|
103
|
+
Material Symbols), and vanilla JS with no framework or CDN dependencies
|
|
104
|
+
- the board works fully offline once `trekoon board open` copies the runtime
|
|
105
|
+
assets into `.trekoon/board`
|
|
107
106
|
|
|
108
107
|
Current board behavior to expect:
|
|
109
108
|
|
|
110
|
-
- the topbar is a compact single-row navbar showing the
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
-
|
|
114
|
-
|
|
115
|
-
|
|
109
|
+
- the topbar is a compact single-row navbar showing the Trekoon brand, Epics
|
|
110
|
+
and Board navigation, search, theme toggle, and a workspace info popover;
|
|
111
|
+
selecting an epic adds the active epic context to the topbar
|
|
112
|
+
- the board toggles between an epics overview and a task workspace view; task
|
|
113
|
+
detail opens as a modal overlay; responsive breakpoints adjust kanban column
|
|
114
|
+
counts and component spacing
|
|
116
115
|
- the page scrolls naturally as a single SPA surface; modal overlays (task
|
|
117
116
|
detail, subtask editor) lock body scroll while open
|
|
118
117
|
- overview cards are the primary entry point into an epic; clicking a card opens
|
|
@@ -132,8 +131,9 @@ agent to:
|
|
|
132
131
|
|
|
133
132
|
- use `--toon` by default
|
|
134
133
|
- prefer the smallest sufficient read
|
|
135
|
-
- use bulk planning commands when possible
|
|
136
|
-
-
|
|
134
|
+
- use transactional bulk planning commands when possible
|
|
135
|
+
- append progress and blocker notes instead of rewriting full descriptions
|
|
136
|
+
- preview scoped replace before `--apply`
|
|
137
137
|
- treat `.trekoon` as shared repo-scoped operational state
|
|
138
138
|
|
|
139
139
|
Read [AI agents and the Trekoon skill](docs/ai-agents.md) for installation,
|
package/docs/commands.md
CHANGED
|
@@ -79,16 +79,15 @@ Current shell/runtime notes:
|
|
|
79
79
|
|
|
80
80
|
- the runtime copied into `.trekoon/board` includes the HTML shell, local app
|
|
81
81
|
modules, and shared styles
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
|
|
86
|
-
network access is restored
|
|
82
|
+
- all assets are self-hosted: the board ships its own CSS, fonts (Inter,
|
|
83
|
+
Material Symbols), and vanilla JS with no framework or CDN dependencies
|
|
84
|
+
- the board works fully offline once the runtime assets are copied into
|
|
85
|
+
`.trekoon/board`
|
|
87
86
|
|
|
88
87
|
Board UI architecture:
|
|
89
88
|
|
|
90
|
-
- the board is a single-page application served from `.trekoon/board`
|
|
91
|
-
|
|
89
|
+
- the board is a single-page application served from `.trekoon/board` using a
|
|
90
|
+
zero-dependency vanilla JS component runtime with locally bundled CSS and fonts
|
|
92
91
|
- the backend is a Bun HTTP server exposing a REST API at `/api/*` with
|
|
93
92
|
token-based authentication; every mutation response includes an updated
|
|
94
93
|
snapshot so the client always has fresh state
|
|
@@ -100,10 +99,9 @@ Board layout behavior:
|
|
|
100
99
|
- the topbar is a compact flex-row navbar with workspace identity, Epics and
|
|
101
100
|
Board navigation pills, a debounced search input, theme toggle, and a
|
|
102
101
|
workspace info popover
|
|
103
|
-
-
|
|
104
|
-
|
|
105
|
-
-
|
|
106
|
-
or drawer-style views
|
|
102
|
+
- the board toggles between an epics overview and a task workspace view; task
|
|
103
|
+
detail opens as a modal overlay
|
|
104
|
+
- responsive breakpoints adjust kanban column counts and component spacing
|
|
107
105
|
- task cards show truncated descriptions; clicking anywhere on a card opens the
|
|
108
106
|
task detail modal
|
|
109
107
|
|
package/docs/quickstart.md
CHANGED
|
@@ -75,20 +75,19 @@ Current runtime expectations for operators:
|
|
|
75
75
|
|
|
76
76
|
- the served HTML, styles, and board app files come from the local
|
|
77
77
|
`.trekoon/board` runtime directory
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
|
|
82
|
-
browser until network access is available again
|
|
78
|
+
- all assets are self-hosted: the board ships its own CSS, fonts (Inter,
|
|
79
|
+
Material Symbols), and vanilla JS with no framework or CDN dependencies
|
|
80
|
+
- the board works fully offline once the runtime assets are copied into
|
|
81
|
+
`.trekoon/board`
|
|
83
82
|
|
|
84
83
|
Current layout behavior:
|
|
85
84
|
|
|
86
85
|
- the topbar is a compact navbar with workspace identity, Epics and Board
|
|
87
86
|
navigation, debounced search, theme toggle, and workspace info
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
-
|
|
91
|
-
|
|
87
|
+
- the board toggles between an epics overview and a task workspace view; task
|
|
88
|
+
detail opens as a modal overlay
|
|
89
|
+
- responsive breakpoints adjust kanban column counts and component spacing so
|
|
90
|
+
the board remains navigable on narrower widths
|
|
92
91
|
- the page scrolls naturally as one document; modal overlays lock body scroll
|
|
93
92
|
while open
|
|
94
93
|
- task cards show truncated descriptions; clicking a card opens the task detail
|
|
@@ -106,9 +105,8 @@ Verification checklist for operators:
|
|
|
106
105
|
the search input while typing.
|
|
107
106
|
4. Click a task card and confirm the task detail modal opens with the full
|
|
108
107
|
description, edit form, and subtask list.
|
|
109
|
-
5. On desktop width, confirm the
|
|
110
|
-
|
|
111
|
-
6. Resize to a narrow viewport and confirm the layout stacks cleanly without
|
|
108
|
+
5. On desktop width, confirm the kanban board shows multiple columns.
|
|
109
|
+
6. Resize to a narrow viewport and confirm columns reflow cleanly without
|
|
112
110
|
horizontal overflow.
|
|
113
111
|
7. Close modals and confirm you return to the previous board context.
|
|
114
112
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trekoon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "AI-first local issue tracker CLI.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"agent",
|
|
8
|
+
"skill",
|
|
9
|
+
"cli",
|
|
10
|
+
"board",
|
|
11
|
+
"tracker",
|
|
12
|
+
"agent-tracker",
|
|
13
|
+
"issue-tracker",
|
|
14
|
+
"task-tracker",
|
|
15
|
+
"local-first",
|
|
16
|
+
"planning",
|
|
17
|
+
"worktree"
|
|
18
|
+
],
|
|
5
19
|
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/KristjanPikhof/Trekoon.git"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/KristjanPikhof/Trekoon#readme",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/KristjanPikhof/Trekoon/issues"
|
|
27
|
+
},
|
|
6
28
|
"type": "module",
|
|
7
29
|
"bin": {
|
|
8
30
|
"trekoon": "./bin/trekoon"
|