kadence 0.1.2 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.4] — 2026-09-03
4
+
5
+ ### Fixed
6
+
7
+ - The package depended on itself. `kadence@^0.1.1` sat in `dependencies`, so
8
+ every install pulled a second, older copy of the tool into `node_modules`
9
+ and shipped it to users. Removed; the published tarball is now 32.7 kB with
10
+ eight files in it.
11
+ - `@types/blessed` moved to `devDependencies`. Type definitions are not needed
12
+ at runtime, and every install was paying for them.
13
+
14
+ ### Repository
15
+
16
+ - Developer tooling (`.claude/`, `.serena/`) is no longer committed: 381 files
17
+ and 3.8 MB of it, against 94 files of actual product. What belongs in git and
18
+ what does not is written down in
19
+ [ADR-007](docs/decisions/007-what-goes-into-git.md), and `.gitignore` now
20
+ also covers `.env`, coverage output and editor leftovers.
21
+
22
+ ## [0.1.3] — 2026-09-03
23
+
24
+ ### Testing
25
+
26
+ - End-to-end coverage through the real binary: a full sprint from `init` to
27
+ `sprint close` with velocity computed from actual events, every reachable
28
+ command checked for a clean exit, three branches editing one task, an agent
29
+ driving the tool with JSON alone, and the events folder vanishing on a
30
+ branch switch. 390 tests.
31
+
3
32
  ## [0.1.2] — 2026-09-03
4
33
 
5
34
  ### Documentation
package/dist/cli.js CHANGED
@@ -129,7 +129,7 @@ Available: create, add, edit, start, close, status, list, burndown
129
129
  kadence sprint --help`),e)}});h.command("template [action] [name]","Task templates: save | list | delete").option("-d, --description <text>","Default description").option("--type <type>","Default type").option("--priority <level>","Default priority").option("-a, --assignee <who>","Default assignee").option("--label <name>","Default label; repeat for several").option("--estimate <points>","Default estimate").option("--json","Machine-readable output for agents").example(" kadence template save bug --type bug --priority high --label triage").example(" kadence template list").action((n,t,s)=>{let e=s.json===!0,a=process.cwd();switch(n){case"save":{t===void 0&&c(f(`A template name is required:
130
130
  kadence template save bug --type bug`),e);let i=s.label===void 0?void 0:Array.isArray(s.label)?s.label:[s.label];c(Te(a,process.env,t,{...s.description!==void 0?{description:s.description}:{},...s.type!==void 0?{type:s.type}:{},...s.priority!==void 0?{priority:s.priority}:{},...s.assignee!==void 0?{assignee:s.assignee}:{},...i!==void 0?{labels:i}:{},...s.estimate!==void 0?{estimate:Number(s.estimate)}:{}}),e);break}case"list":case void 0:c(Ke(a,process.env),e);break;case"delete":t===void 0&&c(f(`Which template?
131
131
  kadence template delete bug`),e),c(Ne(a,process.env,t),e);break;default:c(f(`Unknown action "${n}".
132
- Available: save, list, delete`),e)}});h.command("ui","Interactive kanban board").alias("board:ui").example(" kadence ui").action(async()=>{let{runUi:n}=await import("./chunks/ui-WFLRVGUH.js"),t=await n(process.cwd(),process.env);t.ok||c(t,!1)});h.help();h.version("0.1.2");var v=process.argv;if(v[2]==="task"&&v[3]==="log"&&v[4]!==void 0&&v[5]!==void 0){let n=T(process.cwd(),process.env,v[4],v[5]),t=v.includes("--json");c(n,t)}var _e=process.argv.findIndex((n,t)=>n.startsWith("-")&&/^-\d+(\.\d+)?$/.test(n)&&process.argv[t-1]==="--estimate");_e!==-1&&(process.stderr.write(`Estimate must be a positive number, got "${process.argv[_e]}".
132
+ Available: save, list, delete`),e)}});h.command("ui","Interactive kanban board").alias("board:ui").example(" kadence ui").action(async()=>{let{runUi:n}=await import("./chunks/ui-WFLRVGUH.js"),t=await n(process.cwd(),process.env);t.ok||c(t,!1)});h.help();h.version("0.1.4");var v=process.argv;if(v[2]==="task"&&v[3]==="log"&&v[4]!==void 0&&v[5]!==void 0){let n=T(process.cwd(),process.env,v[4],v[5]),t=v.includes("--json");c(n,t)}var _e=process.argv.findIndex((n,t)=>n.startsWith("-")&&/^-\d+(\.\d+)?$/.test(n)&&process.argv[t-1]==="--estimate");_e!==-1&&(process.stderr.write(`Estimate must be a positive number, got "${process.argv[_e]}".
133
133
  kadence task add "Fix login" --estimate 3
134
134
  `),process.exit(2));try{h.parse()}catch(n){process.stderr.write(`${n.message}
135
135
  `),process.exit(2)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kadence",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Tasks, sprints and velocity as plain files inside your git repository",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -24,12 +24,11 @@
24
24
  "prepublishOnly": "npm run typecheck && npm test && npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "@types/blessed": "^0.1.27",
28
27
  "blessed": "^0.1.81",
29
- "cac": "^7.0.0",
30
- "kadence": "^0.1.1"
28
+ "cac": "^7.0.0"
31
29
  },
32
30
  "devDependencies": {
31
+ "@types/blessed": "^0.1.27",
33
32
  "@types/node": "^22.0.0",
34
33
  "esbuild": "^0.28.0",
35
34
  "typescript": "^5.6.0",