kanban 0.0.3 → 0.1.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 (241) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +60 -173
  3. package/dist/cli.d.ts +3 -0
  4. package/dist/cli.d.ts.map +1 -0
  5. package/dist/cli.js +384 -0
  6. package/dist/cli.js.map +1 -0
  7. package/dist/commands/hooks.d.ts +4 -0
  8. package/dist/commands/hooks.d.ts.map +1 -0
  9. package/dist/commands/hooks.js +471 -0
  10. package/dist/commands/hooks.js.map +1 -0
  11. package/dist/commands/mcp.d.ts +3 -0
  12. package/dist/commands/mcp.d.ts.map +1 -0
  13. package/dist/commands/mcp.js +32 -0
  14. package/dist/commands/mcp.js.map +1 -0
  15. package/dist/config/runtime-config.d.ts +38 -0
  16. package/dist/config/runtime-config.d.ts.map +1 -0
  17. package/dist/config/runtime-config.js +306 -0
  18. package/dist/config/runtime-config.js.map +1 -0
  19. package/dist/config/shortcut-utils.d.ts +3 -0
  20. package/dist/config/shortcut-utils.d.ts.map +1 -0
  21. package/dist/config/shortcut-utils.js +20 -0
  22. package/dist/config/shortcut-utils.js.map +1 -0
  23. package/dist/core/agent-catalog.d.ts +12 -0
  24. package/dist/core/agent-catalog.d.ts.map +1 -0
  25. package/dist/core/agent-catalog.js +46 -0
  26. package/dist/core/agent-catalog.js.map +1 -0
  27. package/dist/core/api-contract.d.ts +1564 -0
  28. package/dist/core/api-contract.d.ts.map +1 -0
  29. package/dist/core/api-contract.js +474 -0
  30. package/dist/core/api-contract.js.map +1 -0
  31. package/dist/core/api-validation.d.ts +20 -0
  32. package/dist/core/api-validation.d.ts.map +1 -0
  33. package/dist/core/api-validation.js +204 -0
  34. package/dist/core/api-validation.js.map +1 -0
  35. package/dist/core/git-process-env.d.ts +2 -0
  36. package/dist/core/git-process-env.d.ts.map +1 -0
  37. package/dist/core/git-process-env.js +24 -0
  38. package/dist/core/git-process-env.js.map +1 -0
  39. package/dist/core/kanban-command.d.ts +8 -0
  40. package/dist/core/kanban-command.d.ts.map +1 -0
  41. package/dist/core/kanban-command.js +50 -0
  42. package/dist/core/kanban-command.js.map +1 -0
  43. package/dist/core/runtime-endpoint.d.ts +7 -0
  44. package/dist/core/runtime-endpoint.d.ts.map +1 -0
  45. package/dist/core/runtime-endpoint.js +24 -0
  46. package/dist/core/runtime-endpoint.js.map +1 -0
  47. package/dist/core/shell.d.ts +7 -0
  48. package/dist/core/shell.d.ts.map +1 -0
  49. package/dist/core/shell.js +36 -0
  50. package/dist/core/shell.js.map +1 -0
  51. package/dist/core/task-board-mutations.d.ts +54 -0
  52. package/dist/core/task-board-mutations.d.ts.map +1 -0
  53. package/dist/core/task-board-mutations.js +418 -0
  54. package/dist/core/task-board-mutations.js.map +1 -0
  55. package/dist/core/task-id.d.ts +3 -0
  56. package/dist/core/task-id.d.ts.map +1 -0
  57. package/dist/core/task-id.js +14 -0
  58. package/dist/core/task-id.js.map +1 -0
  59. package/dist/index.d.ts +2 -0
  60. package/dist/index.d.ts.map +1 -0
  61. package/dist/index.js +2 -0
  62. package/dist/index.js.map +1 -0
  63. package/dist/mcp/server.d.ts +4 -0
  64. package/dist/mcp/server.d.ts.map +1 -0
  65. package/dist/mcp/server.js +528 -0
  66. package/dist/mcp/server.js.map +1 -0
  67. package/dist/mcp/task-state.d.ts +2 -0
  68. package/dist/mcp/task-state.d.ts.map +1 -0
  69. package/dist/mcp/task-state.js +2 -0
  70. package/dist/mcp/task-state.js.map +1 -0
  71. package/dist/projects/project-path.d.ts +2 -0
  72. package/dist/projects/project-path.d.ts.map +1 -0
  73. package/dist/projects/project-path.js +12 -0
  74. package/dist/projects/project-path.js.map +1 -0
  75. package/dist/server/assets.d.ts +8 -0
  76. package/dist/server/assets.d.ts.map +1 -0
  77. package/dist/server/assets.js +70 -0
  78. package/dist/server/assets.js.map +1 -0
  79. package/dist/server/browser.d.ts +2 -0
  80. package/dist/server/browser.d.ts.map +1 -0
  81. package/dist/server/browser.js +16 -0
  82. package/dist/server/browser.js.map +1 -0
  83. package/dist/server/runtime-server.d.ts +34 -0
  84. package/dist/server/runtime-server.d.ts.map +1 -0
  85. package/dist/server/runtime-server.js +201 -0
  86. package/dist/server/runtime-server.js.map +1 -0
  87. package/dist/server/runtime-state-hub.d.ts +24 -0
  88. package/dist/server/runtime-state-hub.d.ts.map +1 -0
  89. package/dist/server/runtime-state-hub.js +365 -0
  90. package/dist/server/runtime-state-hub.js.map +1 -0
  91. package/dist/server/shell.d.ts +2 -0
  92. package/dist/server/shell.d.ts.map +1 -0
  93. package/dist/server/shell.js +2 -0
  94. package/dist/server/shell.js.map +1 -0
  95. package/dist/server/shutdown-coordinator.d.ts +8 -0
  96. package/dist/server/shutdown-coordinator.d.ts.map +1 -0
  97. package/dist/server/shutdown-coordinator.js +125 -0
  98. package/dist/server/shutdown-coordinator.js.map +1 -0
  99. package/dist/server/workspace-registry.d.ts +67 -0
  100. package/dist/server/workspace-registry.d.ts.map +1 -0
  101. package/dist/server/workspace-registry.js +321 -0
  102. package/dist/server/workspace-registry.js.map +1 -0
  103. package/dist/state/workspace-state.d.ts +29 -0
  104. package/dist/state/workspace-state.d.ts.map +1 -0
  105. package/dist/state/workspace-state.js +511 -0
  106. package/dist/state/workspace-state.js.map +1 -0
  107. package/dist/terminal/activity-preview.d.ts +8 -0
  108. package/dist/terminal/activity-preview.d.ts.map +1 -0
  109. package/dist/terminal/activity-preview.js +495 -0
  110. package/dist/terminal/activity-preview.js.map +1 -0
  111. package/dist/terminal/agent-registry.d.ts +13 -0
  112. package/dist/terminal/agent-registry.d.ts.map +1 -0
  113. package/dist/terminal/agent-registry.js +166 -0
  114. package/dist/terminal/agent-registry.js.map +1 -0
  115. package/dist/terminal/agent-session-adapters.d.ts +24 -0
  116. package/dist/terminal/agent-session-adapters.d.ts.map +1 -0
  117. package/dist/terminal/agent-session-adapters.js +734 -0
  118. package/dist/terminal/agent-session-adapters.js.map +1 -0
  119. package/dist/terminal/claude-workspace-trust.d.ts +10 -0
  120. package/dist/terminal/claude-workspace-trust.d.ts.map +1 -0
  121. package/dist/terminal/claude-workspace-trust.js +82 -0
  122. package/dist/terminal/claude-workspace-trust.js.map +1 -0
  123. package/dist/terminal/hook-runtime-context.d.ts +9 -0
  124. package/dist/terminal/hook-runtime-context.d.ts.map +1 -0
  125. package/dist/terminal/hook-runtime-context.js +24 -0
  126. package/dist/terminal/hook-runtime-context.js.map +1 -0
  127. package/dist/terminal/output-utils.d.ts +2 -0
  128. package/dist/terminal/output-utils.d.ts.map +1 -0
  129. package/dist/terminal/output-utils.js +47 -0
  130. package/dist/terminal/output-utils.js.map +1 -0
  131. package/dist/terminal/session-manager.d.ts +53 -0
  132. package/dist/terminal/session-manager.d.ts.map +1 -0
  133. package/dist/terminal/session-manager.js +642 -0
  134. package/dist/terminal/session-manager.js.map +1 -0
  135. package/dist/terminal/session-state-machine.d.ts +19 -0
  136. package/dist/terminal/session-state-machine.d.ts.map +1 -0
  137. package/dist/terminal/session-state-machine.js +60 -0
  138. package/dist/terminal/session-state-machine.js.map +1 -0
  139. package/dist/terminal/slash-commands.d.ts +7 -0
  140. package/dist/terminal/slash-commands.d.ts.map +1 -0
  141. package/dist/terminal/slash-commands.js +305 -0
  142. package/dist/terminal/slash-commands.js.map +1 -0
  143. package/dist/terminal/ws-server.d.ts +12 -0
  144. package/dist/terminal/ws-server.d.ts.map +1 -0
  145. package/dist/terminal/ws-server.js +153 -0
  146. package/dist/terminal/ws-server.js.map +1 -0
  147. package/dist/trpc/app-router.d.ts +804 -0
  148. package/dist/trpc/app-router.d.ts.map +1 -0
  149. package/dist/trpc/app-router.js +213 -0
  150. package/dist/trpc/app-router.js.map +1 -0
  151. package/dist/trpc/hooks-api.d.ts +10 -0
  152. package/dist/trpc/hooks-api.d.ts.map +1 -0
  153. package/dist/trpc/hooks-api.js +59 -0
  154. package/dist/trpc/hooks-api.js.map +1 -0
  155. package/dist/trpc/projects-api.d.ts +38 -0
  156. package/dist/trpc/projects-api.d.ts.map +1 -0
  157. package/dist/trpc/projects-api.js +160 -0
  158. package/dist/trpc/projects-api.js.map +1 -0
  159. package/dist/trpc/runtime-api.d.ts +17 -0
  160. package/dist/trpc/runtime-api.d.ts.map +1 -0
  161. package/dist/trpc/runtime-api.js +215 -0
  162. package/dist/trpc/runtime-api.js.map +1 -0
  163. package/dist/trpc/workspace-api.d.ts +11 -0
  164. package/dist/trpc/workspace-api.d.ts.map +1 -0
  165. package/dist/trpc/workspace-api.js +302 -0
  166. package/dist/trpc/workspace-api.js.map +1 -0
  167. package/dist/update/auto-update.d.ts +43 -0
  168. package/dist/update/auto-update.d.ts.map +1 -0
  169. package/dist/update/auto-update.js +267 -0
  170. package/dist/update/auto-update.js.map +1 -0
  171. package/dist/web-ui/assets/allPaths-CXMFMOnb.js +1 -0
  172. package/dist/web-ui/assets/allPathsLoader-DNMinLHb.js +2 -0
  173. package/dist/web-ui/assets/blueprint-icons-16-BC7K-1ZL.svg +2097 -0
  174. package/dist/web-ui/assets/blueprint-icons-16-C9UbJccz.eot +0 -0
  175. package/dist/web-ui/assets/blueprint-icons-16-CbGmchD-.woff2 +0 -0
  176. package/dist/web-ui/assets/blueprint-icons-16-D1c4th_0.ttf +0 -0
  177. package/dist/web-ui/assets/blueprint-icons-16-fZACaXWC.woff +0 -0
  178. package/dist/web-ui/assets/blueprint-icons-20-B-rrHVQ3.woff2 +0 -0
  179. package/dist/web-ui/assets/blueprint-icons-20-B6yHPaaV.ttf +0 -0
  180. package/dist/web-ui/assets/blueprint-icons-20-ChMGrX7K.svg +2097 -0
  181. package/dist/web-ui/assets/blueprint-icons-20-DmATFtZy.woff +0 -0
  182. package/dist/web-ui/assets/blueprint-icons-20-VH3LUzkX.eot +0 -0
  183. package/dist/web-ui/assets/index-BmDjQHI0.js +1 -0
  184. package/dist/web-ui/assets/index-Cb9WHKOt.css +32 -0
  185. package/dist/web-ui/assets/index-CzNKtOwn.js +1 -0
  186. package/dist/web-ui/assets/index-DlJ8fzMU.js +159 -0
  187. package/dist/web-ui/assets/splitPathsBySizeLoader-Bi84ronq.js +1 -0
  188. package/dist/web-ui/index.html +17 -0
  189. package/dist/workspace/get-workspace-changes.d.ts +3 -0
  190. package/dist/workspace/get-workspace-changes.d.ts.map +1 -0
  191. package/dist/workspace/get-workspace-changes.js +261 -0
  192. package/dist/workspace/get-workspace-changes.js.map +1 -0
  193. package/dist/workspace/git-history.d.ts +21 -0
  194. package/dist/workspace/git-history.d.ts.map +1 -0
  195. package/dist/workspace/git-history.js +329 -0
  196. package/dist/workspace/git-history.js.map +1 -0
  197. package/dist/workspace/git-sync.d.ts +14 -0
  198. package/dist/workspace/git-sync.d.ts.map +1 -0
  199. package/dist/workspace/git-sync.js +268 -0
  200. package/dist/workspace/git-sync.js.map +1 -0
  201. package/dist/workspace/search-workspace-files.d.ts +3 -0
  202. package/dist/workspace/search-workspace-files.d.ts.map +1 -0
  203. package/dist/workspace/search-workspace-files.js +177 -0
  204. package/dist/workspace/search-workspace-files.js.map +1 -0
  205. package/dist/workspace/task-worktree.d.ts +22 -0
  206. package/dist/workspace/task-worktree.d.ts.map +1 -0
  207. package/dist/workspace/task-worktree.js +302 -0
  208. package/dist/workspace/task-worktree.js.map +1 -0
  209. package/man/kanban.1 +48 -0
  210. package/package.json +68 -21
  211. package/..travis.yml.un~ +0 -0
  212. package/.Makefile.un~ +0 -0
  213. package/.README.md.un~ +0 -0
  214. package/.index.js.un~ +0 -0
  215. package/.npmignore +0 -18
  216. package/.package.json.un~ +0 -0
  217. package/.travis.yml +0 -4
  218. package/Makefile +0 -38
  219. package/examples/.fast_and_slow.js.un~ +0 -0
  220. package/examples/.fast_and_slow_with_buffer.js.un~ +0 -0
  221. package/examples/fast_and_slow.js +0 -25
  222. package/examples/fast_and_slow_with_buffer.js +0 -26
  223. package/index.js +0 -4
  224. package/lib/.board.js.un~ +0 -0
  225. package/lib/.job.js.un~ +0 -0
  226. package/lib/.step.js.un~ +0 -0
  227. package/lib/board.js +0 -75
  228. package/lib/job.js +0 -96
  229. package/lib/step.js +0 -107
  230. package/precommit.sh +0 -3
  231. package/test/.board_spec.js.un~ +0 -0
  232. package/test/.common.js.un~ +0 -0
  233. package/test/.job_spec.js.un~ +0 -0
  234. package/test/.kanban_spec.js.un~ +0 -0
  235. package/test/.mocha.opts.un~ +0 -0
  236. package/test/.step_spec.js.un~ +0 -0
  237. package/test/board_spec.js +0 -141
  238. package/test/common.js +0 -9
  239. package/test/job_spec.js +0 -132
  240. package/test/mocha.opts +0 -5
  241. package/test/step_spec.js +0 -191
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Cline Bot Inc.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1,173 +1,60 @@
1
- Kanban
2
- ===========
3
-
4
- [![Build
5
- Status](https://travis-ci.org/mcollina/kanban.png)](https://travis-ci.org/mcollina/kanban)
6
-
7
- __Kanban__ is a node.js control-flow library.
8
- As the Japanese methodology, it is pull-based.
9
-
10
- ## Rationale
11
-
12
- Node.js is all about concurrency: the more, the better.
13
- If you use external tools, or slow external services,
14
- you might reach a point were more concurrency reduce
15
- your throughput.
16
- You have to do something, and yet you have no data
17
- to decide.
18
-
19
- __Kanban__ focus is on recording stats and identifying bottlenecks.
20
- Then, it helps you improving your system, by specifying
21
- a work-in-progress limit to limit the concurrency
22
- of a processing step in your app.
23
-
24
- ## Install
25
-
26
- ```
27
- npm install kanban --save
28
- ```
29
-
30
- ## Usage
31
-
32
- As in kanban, there is a __Board__ and the processing of __Job__s
33
- happens in __Step__s.
34
-
35
- First, you must create a new __Board__:
36
-
37
- ```
38
- var kanban = require("kanban");
39
- var board = new kanban.Board();
40
- ```
41
-
42
- Then, you define some tasks:
43
-
44
- ```
45
- board.defineStep("fast", { wip: 2 }, function (obj, done) {
46
- console.log("Fast step started for " + obj);
47
- setTimeout(function () {
48
- console.log("Fast step done for " + obj);
49
- done();
50
- }, 1000);
51
- });
52
- board.defineStep("buffer");
53
- board.defineStep("slow", { wip: 1 }, function (obj, done) {
54
- console.log("Slow step started for " + obj);
55
- setTimeout(function () {
56
- console.log("Slow step done for " + obj);
57
- done();
58
- }, 5000);
59
- });
60
- ```
61
-
62
- Note that the second and third parameters are optional.
63
-
64
- Finally you insert some jobs in the __Board__:
65
- ```
66
- var print = function (err, job) {
67
- // job is an instance of the Job class
68
- console.dir(job);
69
- };
70
-
71
- for (var i = 0; i < 15; i++) {
72
- board.insert(i, print);
73
- }
74
- ```
75
-
76
- You can find more examples in the examples folder.
77
-
78
- ### Errors
79
-
80
- The errors are handled in a pure node.js-style callbacks,
81
- so you MUST call the callback with the error as the
82
- first parameter.
83
-
84
- If an error happens, the job is removed from the board
85
- and the function you inserted with the job is called.
86
-
87
- ```
88
- instance.defineStep("a", function (obj, job, cb) {
89
- cb(new Error("hello world"));
90
- });
91
-
92
- instance.insert({ a: "b" }, function (err) {
93
- console.log(err)
94
- });
95
- ```
96
-
97
- ### Jumping to a specific step
98
-
99
- It is possible to jump to a specific step in the board:
100
-
101
- ```
102
- instance.defineStep("a", { wip: 1 }, function (obj, job, cb) {
103
- job.jumpTo("c");
104
- cb();
105
- }).defineStep("b", { wip: 1 }, function (obj, cb) {
106
- cb(new Error("hello world"));
107
- }).defineStep("c").defineStep("d", function (obj, cb) {
108
- cb();
109
- });
110
-
111
- instance.insert({ a: "b" }, function (err) {
112
- console.log(err)
113
- });
114
- ```
115
-
116
- ### Timeouts
117
-
118
- It is possible to specify a timeout for a given step, in milliseconds.
119
-
120
- If a timeout happens, the job is removed from the board
121
- and the function you inserted with the job is called.
122
-
123
- ```
124
- // define a timeout of a minute
125
- instance.defineStep("a", { timeout: 60 * 1000 }, function (obj, job, cb) {
126
- // this function is stuck somewhere, it will not complete
127
- });
128
-
129
- instance.insert({ a: "b" }, function (err) {
130
- console.log(err)
131
- });
132
- ```
133
-
134
- ## Contributing to Kanban
135
-
136
- * Check out the latest master to make sure the feature hasn't been
137
- implemented or the bug hasn't been fixed yet
138
- * Check out the issue tracker to make sure someone already hasn't
139
- requested it and/or contributed it
140
- * Fork the project
141
- * Start a feature/bugfix branch
142
- * Commit and push until you are happy with your contribution
143
- * Make sure to add tests for it. This is important so I don't break it
144
- in a future version unintentionally.
145
- * Please try not to mess with the Makefile and package.json. If you
146
- want to have your own version, or is otherwise necessary, that is
147
- fine, but please isolate to its own commit so I can cherry-pick around
148
- it.
149
-
150
- ## LICENSE - "MIT License"
151
-
152
- Copyright (c) 2013 Matteo Collina, http://matteocollina.com
153
-
154
- Permission is hereby granted, free of charge, to any person
155
- obtaining a copy of this software and associated documentation
156
- files (the "Software"), to deal in the Software without
157
- restriction, including without limitation the rights to use,
158
- copy, modify, merge, publish, distribute, sublicense, and/or sell
159
- copies of the Software, and to permit persons to whom the
160
- Software is furnished to do so, subject to the following
161
- conditions:
162
-
163
- The above copyright notice and this permission notice shall be
164
- included in all copies or substantial portions of the Software.
165
-
166
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
167
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
168
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
169
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
170
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
171
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
172
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
173
- OTHER DEALINGS IN THE SOFTWARE.
1
+ # kanban (Research Preview)
2
+
3
+ <p align="center">
4
+ <img src="https://github.com/user-attachments/assets/deabc452-a340-4210-b42f-f8696be04ee9" width="100%" />
5
+ </p>
6
+
7
+ <div align="center">
8
+ <table>
9
+ <tbody>
10
+ <td align="center">
11
+ <a href="https://www.npmjs.com/package/kanban" target="_blank">NPM</a>
12
+ </td>
13
+ <td align="center">
14
+ <a href="https://github.com/cline/kanban" target="_blank">GitHub</a>
15
+ </td>
16
+ <td align="center">
17
+ <a href="https://github.com/cline/kanban/issues" target="_blank">Issues</a>
18
+ </td>
19
+ <td align="center">
20
+ <a href="https://github.com/cline/kanban/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop" target="_blank">Feature Requests</a>
21
+ </td>
22
+ <td align="center">
23
+ <a href="https://discord.gg/cline" target="_blank">Discord</a>
24
+ </td>
25
+ <td align="center">
26
+ <a href="https://x.com/cline" target="_blank">@cline</a>
27
+ </td>
28
+ </tbody>
29
+ </table>
30
+ </div>
31
+
32
+ A Human-in-the-Loop Agent Swarm Orchestration layer that gives more autonomy to your CLI agents with task dependency linking and automatic commits and pull requests. Each task runs in its own branchless worktree with .gitignore'd files like node_modules symlinked so your filesystem and git don't get polluted, letting you run hundreds of tasks in parallel on any computer. It also comes with a visualizer for your git branches and commit history, so you can keep track of the work your agents do.
33
+
34
+ ## Getting Started
35
+
36
+ 1. Install an agent like Claude Code, Codex, Gemini, OpenCode, Cline
37
+ 2. Run `npx kanban` (or install with `npm i -g kanban`) in your repo to launch a web GUI
38
+ 3. Create tasks, link dependencies, hit the play button, and watch agents work in parallel. You can even use Kanban MCP to tell an agent to create parallelizable tasks and links in clever ways to get projects done quickly.
39
+ 4. When they finish, you review diffs, leave comments, and commit or make a PR.
40
+
41
+ Use MCP to let the agent add and start tasks on the kanban board itself, decomposing large work into parallelizable linked tasks in clever ways to get work done quicker.
42
+
43
+ ```bash
44
+ claude mcp add --transport stdio --scope user kanban -- kanban mcp
45
+ ```
46
+
47
+ With the MCP tools, your agent can:
48
+
49
+ - `list_tasks`: see what's on the board, including task links and auto-review settings
50
+ - `create_task`: add a new task to backlog, optionally with auto-review enabled
51
+ - `update_task`: change a task's prompt, base ref, plan mode, or auto-review settings
52
+ - `link_tasks`: link tasks so backlog work waits on another task to finish first
53
+ - `unlink_tasks`: remove a task link
54
+ - `start_task`: kick off a task (creates the worktree, launches the agent)
55
+
56
+ Task linking handles both parallelization and dependencies. Link multiple backlog tasks to the same dependency and they all become ready once it finishes. Auto-review settings let a task automatically commit, open a PR, or move to trash.
57
+
58
+ ## License
59
+
60
+ [Apache 2.0 (c) 2026 Cline Bot Inc.](./LICENSE)
package/dist/cli.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}