dirban 0.1.2 → 0.1.6
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 +21 -0
- package/README.md +31 -8
- package/dist/dirban.js +3429 -2631
- package/package.json +12 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Dirban 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 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/README.md
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/SYip/dirban/actions)
|
|
6
6
|
[](https://www.npmjs.com/package/dirban)
|
|
7
|
-
[](https://marketplace.visualstudio.com/items?itemName=syip.dirban-vscode)
|
|
8
|
+
[](https://open-vsx.org/extension/syip/dirban-vscode)
|
|
8
9
|
[](LICENSE)
|
|
10
|
+
[](https://buymeacoffee.com/sywong)
|
|
9
11
|
|
|
10
12
|
---
|
|
11
13
|
|
|
@@ -15,8 +17,10 @@
|
|
|
15
17
|
|
|
16
18
|
**The physical directory is the task state.** Moving a task between stages is just moving a file (`mv`).
|
|
17
19
|
|
|
20
|
+

|
|
21
|
+
|
|
18
22
|
- **Directories as Columns**: Workflow stages are plain folders (`01-todo/`, `02-doing/`, `03-done/`).
|
|
19
|
-
- **
|
|
23
|
+
- **Configurable Workspace & Git Automation**: Tailor priority tiers, archive paths, and Git branching/worktree strategies using [`.dirban.json`](docs/concepts/configuration.md).
|
|
20
24
|
- **Isolated Task Files**: Each task is a self-contained Markdown file with an optional priority and checklist (`- [ ]`). Editing one task never collides with another in Git or file sync.
|
|
21
25
|
- **Agent-Ready & Context-Efficient**: AI tools and scripts read only the active task file (`dirban current`), keeping token usage low and focus sharp.
|
|
22
26
|
- **Git is Completely Optional**: While Dirban automates Git branching and worktrees for developers, it works equally well on plain folders (`branchStrategy: "none"`) in Obsidian vaults, Dropbox, or local drives.
|
|
@@ -49,11 +53,11 @@ dirban init
|
|
|
49
53
|
This creates a lightweight task hierarchy under `docs/tasks/`:
|
|
50
54
|
```text
|
|
51
55
|
docs/tasks/
|
|
52
|
-
├── backlog/
|
|
56
|
+
├── 00-backlog/ # Staging, future ideas, and blocked tasks
|
|
53
57
|
├── 01-todo/ # Ready to be picked up
|
|
54
58
|
├── 02-doing/ # Actively executing tasks (human or AI agent)
|
|
55
59
|
├── 03-done/ # Completed tasks
|
|
56
|
-
└── archive/
|
|
60
|
+
└── 04-archive/ # Historical archive (partitioned by year, e.g. 2026/)
|
|
57
61
|
```
|
|
58
62
|
|
|
59
63
|
---
|
|
@@ -89,8 +93,8 @@ dirban board
|
|
|
89
93
|
dirban board --static
|
|
90
94
|
```
|
|
91
95
|
|
|
92
|
-
### 2.
|
|
93
|
-
- Install directly
|
|
96
|
+
### 2. Editor Extension ([VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=syip.dirban-vscode) & [Open VSX](https://open-vsx.org/extension/syip/dirban-vscode))
|
|
97
|
+
- Install directly in VS Code, VSCodium, Cursor, or Gitpod: Search for `Dirban` (`syip.dirban-vscode`).
|
|
94
98
|
- **Focus View**: Pinned sidebar panel showing the currently active task, branch alignment, and interactive checklist.
|
|
95
99
|
- **Status Bar Indicator**: Real-time status badge (`$(checklist) 26-001 [2/5]`) linking directly to the active task.
|
|
96
100
|
- **Embedded Webview Kanban Board**: Visual drag-and-drop Kanban board running natively inside an editor tab.
|
|
@@ -104,7 +108,7 @@ Dirban maps directly to the questions developers and AI agents ask when executin
|
|
|
104
108
|
| Question You're Asking | Command | What Dirban Does |
|
|
105
109
|
| :--- | :--- | :--- |
|
|
106
110
|
| **"Where do things stand overall?"** | `dirban board` | Opens the interactive Kanban TUI (or `--static` for stdout) |
|
|
107
|
-
| **"How do I queue up work from the backlog?"** | `dirban ready <id>` | Moves unblocked tasks from `backlog/` into `01-todo/` |
|
|
111
|
+
| **"How do I queue up work from the backlog?"** | `dirban ready <id>` | Moves unblocked tasks from `00-backlog/` into `01-todo/` |
|
|
108
112
|
| **"What should I focus on next?"** | `dirban next` | Recommends the highest-priority unblocked task in `01-todo/` |
|
|
109
113
|
| **"How do I begin working on it?"** | `dirban start <id>` | Moves task to `02-doing/` and creates a matching Git branch or worktree |
|
|
110
114
|
| **"What am I currently doing?"** | `dirban current` | Displays the active task, branch alignment, and criteria checklist |
|
|
@@ -119,13 +123,32 @@ Dirban maps directly to the questions developers and AI agents ask when executin
|
|
|
119
123
|
|
|
120
124
|
- 📋 **[Technical Specification & Standards (`spec.md`)](spec.md)**: Google OKF schemas, trunk-based branching, state precedence, and engine invariants.
|
|
121
125
|
- 📖 **[Why Dirban: Philosophy & Comparative Positioning](docs/concepts/why-dirban.md)**: Fast agent cycles (minutes) vs cloud tools (weeks), comparison matrix, and trade-offs.
|
|
122
|
-
- ⚙️ **[Configuration Guide (`.dirban.json`)](docs/concepts/configuration.md)**:
|
|
126
|
+
- ⚙️ **[Configuration Guide (`.dirban.json`)](docs/concepts/configuration.md)**: Semantic priorities, archive paths, and Git branch/worktree strategies.
|
|
123
127
|
- 💻 **[CLI & TUI Reference Manual](docs/cli-reference.md)**: Full command reference, options, and keyboard shortcuts.
|
|
124
128
|
- 🌿 **[Trunk-Based Git Workflow](docs/concepts/git-workflow.md)**: Git branch automation, worktree isolation, and squash merging.
|
|
125
129
|
- 🐚 **[Forget About Dirban](docs/concepts/forget-about-dirban.md)**: Complete mapping of every Dirban command to raw POSIX shell (`ls`, `mv`, `cat`).
|
|
126
130
|
|
|
127
131
|
---
|
|
128
132
|
|
|
133
|
+
## Status & What's Next
|
|
134
|
+
|
|
135
|
+
Dirban is under active development. Current focus areas:
|
|
136
|
+
|
|
137
|
+
- **Enhanced Planning Mode (`dirban plan`)**: Smarter dependency graph visualization, multi-task batch promotions, and automated unblocking rules.
|
|
138
|
+
- **Archive & History Search (`dirban archive`)**: Full-text searching across historical tasks, completed date indexing, and archival export options.
|
|
139
|
+
|
|
140
|
+
Feedback, bug reports, and suggestions are welcome on [GitHub Discussions](https://github.com/SYip/dirban/discussions) and [Issues](https://github.com/SYip/dirban/issues).
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Support
|
|
145
|
+
|
|
146
|
+
If you find Dirban useful, you can support its development:
|
|
147
|
+
|
|
148
|
+
[](https://buymeacoffee.com/sywong)
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
129
152
|
## License
|
|
130
153
|
|
|
131
154
|
[MIT](LICENSE)
|