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.
Files changed (38) hide show
  1. package/README.md +14 -14
  2. package/docs/commands.md +9 -11
  3. package/docs/quickstart.md +10 -12
  4. package/package.json +23 -1
  5. package/src/board/assets/app.js +469 -1377
  6. package/src/board/assets/components/ClampedText.js +1 -1
  7. package/src/board/assets/components/Component.js +271 -0
  8. package/src/board/assets/components/ConfirmDialog.js +81 -0
  9. package/src/board/assets/components/EpicRow.js +43 -26
  10. package/src/board/assets/components/EpicsOverview.js +52 -11
  11. package/src/board/assets/components/Inspector.js +335 -0
  12. package/src/board/assets/components/Notice.js +87 -0
  13. package/src/board/assets/components/SubtaskModal.js +100 -0
  14. package/src/board/assets/components/TaskCard.js +82 -0
  15. package/src/board/assets/components/TaskModal.js +99 -0
  16. package/src/board/assets/components/TopBar.js +167 -0
  17. package/src/board/assets/components/Workspace.js +319 -0
  18. package/src/board/assets/components/assetMap.js +29 -14
  19. package/src/board/assets/components/helpers.js +261 -0
  20. package/src/board/assets/fonts/inter-latin.woff2 +0 -0
  21. package/src/board/assets/fonts/material-symbols-rounded.woff2 +0 -0
  22. package/src/board/assets/index.html +20 -57
  23. package/src/board/assets/main.js +2 -18
  24. package/src/board/assets/runtime/clipboard.js +34 -0
  25. package/src/board/assets/runtime/delegation.js +342 -0
  26. package/src/board/assets/state/actions.js +204 -16
  27. package/src/board/assets/state/api.js +201 -46
  28. package/src/board/assets/state/store.js +418 -117
  29. package/src/board/assets/state/url.js +184 -0
  30. package/src/board/assets/state/utils.js +222 -0
  31. package/src/board/assets/styles/board.css +933 -129
  32. package/src/board/assets/styles/fonts.css +22 -0
  33. package/src/board/routes.ts +15 -6
  34. package/src/board/server.ts +1 -0
  35. package/src/board/assets/components/AppShell.js +0 -17
  36. package/src/board/assets/components/BoardTopbar.js +0 -78
  37. package/src/board/assets/components/WorkspaceHeader.js +0 -70
  38. 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 shell currently loads Vue from `unpkg.com`, Tailwind from
103
- `cdn.tailwindcss.com`, and Google-hosted fonts/icons when the page renders
104
- - if your environment blocks those hosts, `trekoon board open` still starts the
105
- local server, but the browser UI may render without the enhanced shell until
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 workspace name, active
111
- epic context, Epics and Board navigation, search, theme toggle, and a
112
- workspace info popover
113
- - wide screens show the epic switcher sidebar, task workspace, and task
114
- inspector together; narrower screens collapse these into stacked panels or
115
- drawer-style views
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
- - keep progress in Trekoon with append-based updates
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
- - the current shell also requests Vue from `unpkg.com`, Tailwind from
83
- `cdn.tailwindcss.com`, and Google-hosted fonts/icons in the browser
84
- - if those remote dependencies are blocked, the local server still starts and
85
- the fallback URL remains valid, but the browser UI may not fully load until
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` with Vue 3
91
- (shell) and vanilla JS (board app) loaded from CDN dependencies
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
- - extra-wide layouts show the epic switcher sidebar, task workspace, and task
104
- inspector or detail modal together
105
- - narrower layouts progressively collapse support surfaces into stacked panels
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
 
@@ -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
- - the current shell also pulls Vue from `unpkg.com`, Tailwind from
79
- `cdn.tailwindcss.com`, and Google-hosted fonts/icons at page load time
80
- - if those hosts are unavailable, the command still starts the loopback server
81
- and prints the fallback URL, but the shell may not fully hydrate in the
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
- - on wide displays, expect a three-surface workspace: epic switcher sidebar,
89
- task workspace, and task inspector
90
- - on medium and small displays, secondary surfaces collapse into stacked panels
91
- or drawer-style views so the board remains navigable on narrower widths
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 epic switcher sidebar, workspace, and detail
110
- panel can all be visible simultaneously.
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.2.8",
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"