planpick 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 (2) hide show
  1. package/dist/cli.js +23 -0
  2. package/package.json +32 -0
package/dist/cli.js ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/index.ts
4
+ import { Command } from "commander";
5
+ var DESCRIPTION = [
6
+ "Turn AI coding agent plans into collaborative, shareable workflows.",
7
+ "",
8
+ "Planpick works with any AI coding agent that produces execution plans \u2014",
9
+ "Claude Code, Cursor, Windsurf, Cline, Aider, and others. Developers",
10
+ "generate an execution plan, let AI produce improved versions, pick the",
11
+ "best one, and instantly share it with the entire team \u2014 developers,",
12
+ "project managers, and stakeholders \u2014 through a clean, purpose-built",
13
+ "interface."
14
+ ].join("\n");
15
+ var program = new Command().name("planpick").description(DESCRIPTION).version("0.1.0");
16
+
17
+ // src/cli.ts
18
+ program.parseAsync().catch((error) => {
19
+ if (error instanceof Error && error.name === "ExitPromptError") {
20
+ process.exit(0);
21
+ }
22
+ throw error;
23
+ });
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "planpick",
3
+ "version": "0.1.0",
4
+ "description": "Turn AI coding agent plans into collaborative, shareable workflows",
5
+ "type": "module",
6
+ "bin": {
7
+ "planpick": "dist/cli.js"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "prepare": "npm run build",
14
+ "clean": "rm -rf dist",
15
+ "dev": "tsx ./src/cli.ts",
16
+ "test": "vitest run",
17
+ "test:coverage": "vitest run --coverage",
18
+ "build": "tsup"
19
+ },
20
+ "dependencies": {
21
+ "chalk": "~5.4.1",
22
+ "commander": "~13.1.0"
23
+ },
24
+ "devDependencies": {
25
+ "@types/node": "~22.15.3",
26
+ "@vitest/coverage-v8": "~4.1.0",
27
+ "tsup": "~8.5.1",
28
+ "tsx": "~4.21.0",
29
+ "typescript": "~5.9.3",
30
+ "vitest": "~4.1.0"
31
+ }
32
+ }