issy 0.5.7 → 0.6.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 CHANGED
@@ -78,7 +78,7 @@ Once installed globally, you can run commands from your terminal:
78
78
  issy # Start the web UI
79
79
  issy list # List open issues (roadmap order)
80
80
  issy next # Show next issue to work on
81
- issy create --title "Bug" # Create issue
81
+ issy create --title "Bug" # Create an issue
82
82
  ```
83
83
 
84
84
  ### Repository installation
@@ -127,7 +127,9 @@ issy next # Show next issue to work on
127
127
  issy search "auth" # Fuzzy search
128
128
  issy read 0001 # View issue
129
129
  issy create --title "Bug" --after 0002 # Create issue after #0002
130
+ issy create --title "Bug" --body "Details here" --last # Create with body content
130
131
  issy update 0001 --before 0003 # Reposition in roadmap
132
+ issy update 0001 --body "New details" # Replace body content
131
133
  issy close 0001 # Close issue
132
134
  issy reopen 0001 --after 0004 # Reopen and place in roadmap
133
135
  issy skill install # Install the AI skill
package/dist/cli.js CHANGED
@@ -490,12 +490,13 @@ async function createIssue(input) {
490
490
  order: input.order || undefined,
491
491
  created: formatDate()
492
492
  };
493
- const content = `${generateFrontmatter(frontmatter)}
494
-
493
+ const body = input.body ?? `
495
494
  ## Details
496
495
 
497
496
  <!-- Add detailed description here -->
498
-
497
+ `;
498
+ const content = `${generateFrontmatter(frontmatter)}
499
+ ${body}
499
500
  `;
500
501
  await writeFile(join(getIssuesDir(), filename), content);
501
502
  return {
@@ -503,10 +504,7 @@ async function createIssue(input) {
503
504
  filename,
504
505
  frontmatter,
505
506
  content: `
506
- ## Details
507
-
508
- <!-- Add detailed description here -->
509
-
507
+ ${body}
510
508
  `
511
509
  };
512
510
  }
@@ -529,12 +527,16 @@ async function updateIssue(id, input) {
529
527
  ...input.order && { order: input.order },
530
528
  updated: formatDate()
531
529
  };
530
+ const updatedContent = input.body !== undefined ? `
531
+ ${input.body}
532
+ ` : issue.content;
532
533
  const content = `${generateFrontmatter(updatedFrontmatter)}
533
- ${issue.content}`;
534
+ ${updatedContent}`;
534
535
  await writeFile(join(getIssuesDir(), issue.filename), content);
535
536
  return {
536
537
  ...issue,
537
- frontmatter: updatedFrontmatter
538
+ frontmatter: updatedFrontmatter,
539
+ content: updatedContent
538
540
  };
539
541
  }
540
542
  async function closeIssue(id) {
@@ -2254,6 +2256,7 @@ Create New Issue`);
2254
2256
  const input = {
2255
2257
  title: options.title,
2256
2258
  description: options.description,
2259
+ body: options.body,
2257
2260
  priority: options.priority,
2258
2261
  scope: options.scope,
2259
2262
  type: options.type,
@@ -2284,6 +2287,7 @@ async function updateIssueCommand(id, options) {
2284
2287
  const issue = await updateIssue(id, {
2285
2288
  title: options.title,
2286
2289
  description: options.description,
2290
+ body: options.body,
2287
2291
  priority: options.priority,
2288
2292
  scope: options.scope,
2289
2293
  type: options.type,
@@ -2375,6 +2379,7 @@ Commands:
2375
2379
  create Create a new issue
2376
2380
  --title, -t <t> Issue title
2377
2381
  --description, -d <d> Short description
2382
+ --body, -b <b> Markdown body content
2378
2383
  --priority, -p <p> Priority (high, medium, low)
2379
2384
  --scope <s> Scope (small, medium, large)
2380
2385
  --type <t> Type (bug, improvement)
@@ -2387,6 +2392,7 @@ Commands:
2387
2392
  update <id> Update an issue
2388
2393
  --title, -t <t> New title
2389
2394
  --description, -d <d> New description
2395
+ --body, -b <b> New markdown body content
2390
2396
  --priority, -p <p> New priority
2391
2397
  --scope <s> New scope
2392
2398
  --type <t> New type
@@ -2472,6 +2478,7 @@ Examples:
2472
2478
  options: {
2473
2479
  title: { type: "string", short: "t" },
2474
2480
  description: { type: "string", short: "d" },
2481
+ body: { type: "string", short: "b" },
2475
2482
  priority: { type: "string", short: "p" },
2476
2483
  scope: { type: "string" },
2477
2484
  type: { type: "string" },
@@ -2497,6 +2504,7 @@ Examples:
2497
2504
  options: {
2498
2505
  title: { type: "string", short: "t" },
2499
2506
  description: { type: "string", short: "d" },
2507
+ body: { type: "string", short: "b" },
2500
2508
  priority: { type: "string", short: "p" },
2501
2509
  scope: { type: "string" },
2502
2510
  type: { type: "string" },
package/dist/main.js CHANGED
@@ -501,12 +501,13 @@ async function createIssue(input) {
501
501
  order: input.order || undefined,
502
502
  created: formatDate()
503
503
  };
504
- const content = `${generateFrontmatter(frontmatter)}
505
-
504
+ const body = input.body ?? `
506
505
  ## Details
507
506
 
508
507
  <!-- Add detailed description here -->
509
-
508
+ `;
509
+ const content = `${generateFrontmatter(frontmatter)}
510
+ ${body}
510
511
  `;
511
512
  await writeFile(join(getIssuesDir(), filename), content);
512
513
  return {
@@ -514,10 +515,7 @@ async function createIssue(input) {
514
515
  filename,
515
516
  frontmatter,
516
517
  content: `
517
- ## Details
518
-
519
- <!-- Add detailed description here -->
520
-
518
+ ${body}
521
519
  `
522
520
  };
523
521
  }
@@ -540,12 +538,16 @@ async function updateIssue(id, input) {
540
538
  ...input.order && { order: input.order },
541
539
  updated: formatDate()
542
540
  };
541
+ const updatedContent = input.body !== undefined ? `
542
+ ${input.body}
543
+ ` : issue.content;
543
544
  const content = `${generateFrontmatter(updatedFrontmatter)}
544
- ${issue.content}`;
545
+ ${updatedContent}`;
545
546
  await writeFile(join(getIssuesDir(), issue.filename), content);
546
547
  return {
547
548
  ...issue,
548
- frontmatter: updatedFrontmatter
549
+ frontmatter: updatedFrontmatter,
550
+ content: updatedContent
549
551
  };
550
552
  }
551
553
  async function closeIssue(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "issy",
3
- "version": "0.5.7",
3
+ "version": "0.6.0",
4
4
  "description": "AI-native issue tracking. Markdown files in .issues/, managed by your coding assistant.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -35,8 +35,8 @@
35
35
  "lint": "biome check src bin"
36
36
  },
37
37
  "dependencies": {
38
- "@miketromba/issy-app": "^0.5.7",
39
- "@miketromba/issy-core": "^0.5.7",
38
+ "@miketromba/issy-app": "^0.6.0",
39
+ "@miketromba/issy-core": "^0.6.0",
40
40
  "update-notifier": "^7.3.1"
41
41
  }
42
42
  }