issy 0.5.6 → 0.5.7
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 +7 -0
- package/dist/cli.js +8 -1
- package/dist/main.js +23 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -29,6 +29,12 @@ The assistant creates, searches, updates, and closes issues for you. Issues are
|
|
|
29
29
|
|
|
30
30
|
## Install the Skill
|
|
31
31
|
|
|
32
|
+
```bash
|
|
33
|
+
issy skill install
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Or, if you haven't installed `issy` yet:
|
|
37
|
+
|
|
32
38
|
```bash
|
|
33
39
|
npx skills add miketromba/issy
|
|
34
40
|
```
|
|
@@ -124,6 +130,7 @@ issy create --title "Bug" --after 0002 # Create issue after #0002
|
|
|
124
130
|
issy update 0001 --before 0003 # Reposition in roadmap
|
|
125
131
|
issy close 0001 # Close issue
|
|
126
132
|
issy reopen 0001 --after 0004 # Reopen and place in roadmap
|
|
133
|
+
issy skill install # Install the AI skill
|
|
127
134
|
issy migrate # Migrate from .issues/ to .issy/
|
|
128
135
|
issy --version # Check version
|
|
129
136
|
```
|
package/dist/cli.js
CHANGED
|
@@ -2107,7 +2107,12 @@ function formatIssueRow(issue) {
|
|
|
2107
2107
|
async function resolvePosition(opts) {
|
|
2108
2108
|
const openIssues = await getOpenIssuesByOrder();
|
|
2109
2109
|
const relevantIssues = opts.excludeId ? openIssues.filter((i) => i.id !== opts.excludeId?.padStart(4, "0")) : openIssues;
|
|
2110
|
-
const positionFlags = [
|
|
2110
|
+
const positionFlags = [
|
|
2111
|
+
opts.before,
|
|
2112
|
+
opts.after,
|
|
2113
|
+
opts.first,
|
|
2114
|
+
opts.last
|
|
2115
|
+
].filter(Boolean).length;
|
|
2111
2116
|
if (positionFlags > 1) {
|
|
2112
2117
|
throw new Error("Only one of --before, --after, --first, or --last can be specified.");
|
|
2113
2118
|
}
|
|
@@ -2399,6 +2404,8 @@ Commands:
|
|
|
2399
2404
|
--first Insert at the beginning of the roadmap
|
|
2400
2405
|
--last Insert at the end of the roadmap
|
|
2401
2406
|
|
|
2407
|
+
skill install Install the issy skill for your AI coding assistant
|
|
2408
|
+
|
|
2402
2409
|
Examples:
|
|
2403
2410
|
issy list
|
|
2404
2411
|
issy list --priority high --type bug
|
package/dist/main.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createRequire } from "node:module";
|
|
|
2
2
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
3
3
|
|
|
4
4
|
// src/main.ts
|
|
5
|
+
import { execSync } from "node:child_process";
|
|
5
6
|
import {
|
|
6
7
|
cpSync,
|
|
7
8
|
existsSync as existsSync2,
|
|
@@ -2128,6 +2129,8 @@ if (args[0] === "migrate") {
|
|
|
2128
2129
|
migrate();
|
|
2129
2130
|
} else if (args[0] === "init") {
|
|
2130
2131
|
init();
|
|
2132
|
+
} else if (args[0] === "skill") {
|
|
2133
|
+
skill();
|
|
2131
2134
|
} else if (CLI_COMMANDS.has(args[0] || "")) {
|
|
2132
2135
|
const dir = dirname2(fileURLToPath(import.meta.url));
|
|
2133
2136
|
const cli = await import(resolve2(dir, "cli.js"));
|
|
@@ -2188,6 +2191,26 @@ order: ${orderKey}`);
|
|
|
2188
2191
|
console.log(` Removed ${legacy}`);
|
|
2189
2192
|
process.exit(0);
|
|
2190
2193
|
}
|
|
2194
|
+
function skill() {
|
|
2195
|
+
const subcommand = args[1];
|
|
2196
|
+
if (subcommand !== "install") {
|
|
2197
|
+
console.log(`
|
|
2198
|
+
Usage: issy skill <command>
|
|
2199
|
+
|
|
2200
|
+
Commands:
|
|
2201
|
+
install Install the issy skill for your AI coding assistant
|
|
2202
|
+
`);
|
|
2203
|
+
process.exit(subcommand ? 1 : 0);
|
|
2204
|
+
}
|
|
2205
|
+
console.log(`Installing issy skill via skills CLI...
|
|
2206
|
+
`);
|
|
2207
|
+
try {
|
|
2208
|
+
execSync("npx skills add miketromba/issy", { stdio: "inherit" });
|
|
2209
|
+
} catch {
|
|
2210
|
+
process.exit(1);
|
|
2211
|
+
}
|
|
2212
|
+
process.exit(0);
|
|
2213
|
+
}
|
|
2191
2214
|
function init() {
|
|
2192
2215
|
const shouldSeed = args.includes("--seed");
|
|
2193
2216
|
if (!existsSync2(issuesDir2)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "issy",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
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.
|
|
39
|
-
"@miketromba/issy-core": "^0.5.
|
|
38
|
+
"@miketromba/issy-app": "^0.5.7",
|
|
39
|
+
"@miketromba/issy-core": "^0.5.7",
|
|
40
40
|
"update-notifier": "^7.3.1"
|
|
41
41
|
}
|
|
42
42
|
}
|