@pleaseai/work 0.1.3 → 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/dist/index.js +55 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2162,6 +2162,55 @@ var {
|
|
|
2162
2162
|
Option,
|
|
2163
2163
|
Help
|
|
2164
2164
|
} = import__.default;
|
|
2165
|
+
// package.json
|
|
2166
|
+
var package_default = {
|
|
2167
|
+
name: "@pleaseai/work",
|
|
2168
|
+
type: "module",
|
|
2169
|
+
version: "0.1.4",
|
|
2170
|
+
description: "Symphony-spec orchestrator for Claude Code + Asana/GitHub Projects v2",
|
|
2171
|
+
license: "FSL-1.1-MIT",
|
|
2172
|
+
repository: {
|
|
2173
|
+
type: "git",
|
|
2174
|
+
url: "https://github.com/pleaseai/work-please.git",
|
|
2175
|
+
directory: "apps/work-please"
|
|
2176
|
+
},
|
|
2177
|
+
bin: {
|
|
2178
|
+
"work-please": "./dist/index.js"
|
|
2179
|
+
},
|
|
2180
|
+
files: [
|
|
2181
|
+
"LICENSE",
|
|
2182
|
+
"README.md",
|
|
2183
|
+
"dist"
|
|
2184
|
+
],
|
|
2185
|
+
scripts: {
|
|
2186
|
+
prepublishOnly: "cp ../../LICENSE ../../README.md .",
|
|
2187
|
+
postpublish: "rm -f LICENSE README.md",
|
|
2188
|
+
build: "bun build ./src/index.ts --outdir ./dist --target bun && bun run scripts/add-shebang.ts",
|
|
2189
|
+
dev: "bun run --watch src/index.ts",
|
|
2190
|
+
lint: "eslint .",
|
|
2191
|
+
"lint:fix": "eslint . --fix",
|
|
2192
|
+
check: "tsc --noEmit",
|
|
2193
|
+
test: "bun test",
|
|
2194
|
+
"test:coverage": "bun test --coverage --coverage-reporter=lcov"
|
|
2195
|
+
},
|
|
2196
|
+
dependencies: {
|
|
2197
|
+
"@anthropic-ai/claude-agent-sdk": "^0.2.72",
|
|
2198
|
+
"@octokit/auth-app": "^8.2.0",
|
|
2199
|
+
"@octokit/graphql": "^9.0.3",
|
|
2200
|
+
commander: "^14.0.3",
|
|
2201
|
+
"js-yaml": "^4.1.1",
|
|
2202
|
+
liquidjs: "^10.25.0",
|
|
2203
|
+
zod: "^4.3.6"
|
|
2204
|
+
},
|
|
2205
|
+
devDependencies: {
|
|
2206
|
+
"@antfu/eslint-config": "^7.7.0",
|
|
2207
|
+
"@types/js-yaml": "^4.0.9",
|
|
2208
|
+
"@types/node": "^25.4.0",
|
|
2209
|
+
"bun-types": "^1.3.10",
|
|
2210
|
+
eslint: "^10.0.3",
|
|
2211
|
+
typescript: "^5.7.0"
|
|
2212
|
+
}
|
|
2213
|
+
};
|
|
2165
2214
|
|
|
2166
2215
|
// src/init.ts
|
|
2167
2216
|
import { existsSync, writeFileSync } from "fs";
|
|
@@ -41134,6 +41183,8 @@ function esc2(s2) {
|
|
|
41134
41183
|
// src/cli.ts
|
|
41135
41184
|
async function runCli(argv) {
|
|
41136
41185
|
const parsed = parseArgs(argv.slice(2));
|
|
41186
|
+
if (parsed.command === "version")
|
|
41187
|
+
return;
|
|
41137
41188
|
if (parsed.command === "init") {
|
|
41138
41189
|
await runInit(parsed.initOptions);
|
|
41139
41190
|
return;
|
|
@@ -41197,6 +41248,7 @@ function parseArgs(args) {
|
|
|
41197
41248
|
initOptions: null
|
|
41198
41249
|
};
|
|
41199
41250
|
const program2 = new Command;
|
|
41251
|
+
program2.version(package_default.version);
|
|
41200
41252
|
program2.exitOverride();
|
|
41201
41253
|
program2.allowUnknownOption();
|
|
41202
41254
|
program2.allowExcessArguments(true);
|
|
@@ -41220,7 +41272,9 @@ function parseArgs(args) {
|
|
|
41220
41272
|
program2.parse(["node", "work-please", ...args]);
|
|
41221
41273
|
} catch (err) {
|
|
41222
41274
|
if (err instanceof CommanderError) {
|
|
41223
|
-
|
|
41275
|
+
if (err.code === "commander.version")
|
|
41276
|
+
return { ...result, command: "version" };
|
|
41277
|
+
const informational = new Set(["commander.help", "commander.helpDisplayed"]);
|
|
41224
41278
|
if (informational.has(err.code))
|
|
41225
41279
|
return result;
|
|
41226
41280
|
console.error(err.message);
|