@apso/cli 0.19.0 → 0.21.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.19.0",
2
+ "version": "0.21.0",
3
3
  "commands": {
4
4
  "config": {
5
5
  "id": "config",
@@ -69,6 +69,25 @@
69
69
  "type": "boolean",
70
70
  "description": "Skip local migration validation",
71
71
  "allowNo": false
72
+ },
73
+ "skip-push": {
74
+ "name": "skip-push",
75
+ "type": "boolean",
76
+ "description": "Skip uploading + pushing code (redeploy current code)",
77
+ "allowNo": false
78
+ },
79
+ "repo": {
80
+ "name": "repo",
81
+ "type": "option",
82
+ "description": "GitHub repo (owner/name) to connect when none is linked yet",
83
+ "multiple": false
84
+ },
85
+ "branch": {
86
+ "name": "branch",
87
+ "type": "option",
88
+ "description": "Branch to push to",
89
+ "multiple": false,
90
+ "default": "main"
72
91
  }
73
92
  },
74
93
  "args": {}
@@ -512,6 +531,42 @@
512
531
  },
513
532
  "args": {}
514
533
  },
534
+ "github:connect": {
535
+ "id": "github:connect",
536
+ "description": "Connect a GitHub account to push generated code to a repo",
537
+ "strict": true,
538
+ "pluginName": "@apso/cli",
539
+ "pluginAlias": "@apso/cli",
540
+ "pluginType": "core",
541
+ "aliases": [],
542
+ "hiddenAliases": [],
543
+ "examples": [
544
+ "$ apso github connect"
545
+ ],
546
+ "flags": {
547
+ "help": {
548
+ "name": "help",
549
+ "type": "boolean",
550
+ "char": "h",
551
+ "description": "Show CLI help.",
552
+ "allowNo": false
553
+ },
554
+ "workspace-id": {
555
+ "name": "workspace-id",
556
+ "type": "option",
557
+ "description": "Workspace id to connect (defaults to the linked project)",
558
+ "multiple": false
559
+ },
560
+ "timeout": {
561
+ "name": "timeout",
562
+ "type": "option",
563
+ "description": "Seconds to wait for the connection",
564
+ "multiple": false,
565
+ "default": 300
566
+ }
567
+ },
568
+ "args": {}
569
+ },
515
570
  "mcp:serve": {
516
571
  "id": "mcp:serve",
517
572
  "description": "Start an MCP server exposing Apso tools over stdio. Used by AI coding agents (Claude Code, Cursor, etc.) to design schemas, generate APIs, and deploy backends.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.19.0",
3
+ "version": "0.21.0",
4
4
  "mcpName": "io.github.apsoai/apso",
5
5
  "description": "Apso CLI",
6
6
  "author": "Apso by Mavric - @mavric",
@@ -24,17 +24,20 @@
24
24
  "/oclif.manifest.json"
25
25
  ],
26
26
  "dependencies": {
27
+ "@biomejs/biome": "^1.9.4",
27
28
  "@electric-sql/pglite": "^0.2.17",
28
29
  "@modelcontextprotocol/sdk": "^1.29.0",
29
30
  "@oclif/core": "^2",
30
31
  "@oclif/plugin-help": "^5",
31
32
  "@oclif/plugin-plugins": "^3",
32
33
  "@oclif/plugin-warn-if-update-available": "^2.1.1",
34
+ "@sentry/node": "^10.68.0",
33
35
  "debug": "^4.3.4",
34
36
  "eta": "^2.0.0",
35
37
  "inquirer": "^8.2.7",
36
38
  "ora": "^5.4.1",
37
39
  "pluralize": "^8.0.0",
40
+ "posthog-node": "^5.21.2",
38
41
  "rc": "^1.2.8",
39
42
  "shelljs": "^0.8.5",
40
43
  "typeorm": "^0.3.20",
@@ -104,10 +107,14 @@
104
107
  "linux-x64"
105
108
  ]
106
109
  }
110
+ },
111
+ "hooks": {
112
+ "init": "./dist/hooks/init/telemetry",
113
+ "postrun": "./dist/hooks/postrun/telemetry"
107
114
  }
108
115
  },
109
116
  "scripts": {
110
- "post-build": "copyfiles -u 1 src/**/*.eta dist/",
117
+ "post-build": "copyfiles -u 1 \"src/**/*.eta\" \"src/lib/biome/*.json\" dist/",
111
118
  "build": "shx rm -rf dist && tsc -b && npm run post-build",
112
119
  "lint": "eslint . --ext .ts --config .eslintrc",
113
120
  "format": "prettier \"{src,test}/**/*.ts\" --write",