@ai-setting/roy-task-plugin 0.1.0 → 0.2.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/package.json CHANGED
@@ -1,24 +1,35 @@
1
1
  {
2
2
  "name": "@ai-setting/roy-task-plugin",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
+ "scripts": {
7
+ "test": "bun test tests/",
8
+ "build": "bun run build:plugin && bun run build:cli",
9
+ "build:plugin": "bun build src/index.ts --target=bun --format=esm --minify --sourcemap=external --packages=bundle --outdir=dist --entry-naming=index.js",
10
+ "build:cli": "bun build ../cli/src/main.ts --target=node --format=esm --packages=external --outdir=dist --entry-naming=cli.js",
11
+ "build:dev": "bun build src/index.ts --target=bun --format=esm --sourcemap=inline --packages=bundle --outdir=dist"
12
+ },
13
+ "dependencies": {
14
+ "@ai-setting/roy-agent-core": "1.7.53"
15
+ },
16
+ "devDependencies": {
17
+ "@types/bun": "latest",
18
+ "typescript": "^5.6.0"
19
+ },
20
+ "description": "OpenCode plugin for business-semantic task management. Ships the plugin entry (dist/index.js) plus the `roy-task` CLI (dist/cli.js) that bridges Feishu events to the roy agent — the CLI runs on plain Node.js, no bun required.",
6
21
  "exports": {
7
22
  ".": "./dist/index.js"
8
23
  },
24
+ "bin": {
25
+ "roy-task": "./dist/cli.js"
26
+ },
9
27
  "files": [
10
28
  "dist",
11
29
  "README.md",
12
30
  "LICENSE"
13
31
  ],
14
- "scripts": {
15
- "test": "bun test tests/",
16
- "build": "bun build src/index.ts --target=bun --format=esm --minify --sourcemap=external --packages=bundle --outdir=dist",
17
- "build:dev": "bun build src/index.ts --target=bun --format=esm --sourcemap=inline --packages=bundle --outdir=dist"
18
- },
19
- "dependencies": {},
20
- "devDependencies": {
21
- "@types/bun": "latest",
22
- "typescript": "^5.6.0"
32
+ "engines": {
33
+ "node": ">=20"
23
34
  }
24
35
  }