@auto-engineer/cli 0.7.7 → 0.8.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,15 +1,15 @@
1
1
  {
2
2
  "name": "@auto-engineer/cli",
3
- "version": "0.7.7",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
- "types": "./dist/src/index.d.ts",
10
- "import": "./dist/src/index.js",
11
- "require": "./dist/src/index.js",
12
- "default": "./dist/src/index.js"
9
+ "types": "./dist/src/dsl-exports.d.ts",
10
+ "import": "./dist/src/dsl-exports.js",
11
+ "require": "./dist/src/dsl-exports.js",
12
+ "default": "./dist/src/dsl-exports.js"
13
13
  },
14
14
  "./manifest-types": {
15
15
  "types": "./dist/src/manifest-types.d.ts",
@@ -32,11 +32,27 @@
32
32
  "engines": {
33
33
  "node": ">=18.0.0"
34
34
  },
35
+ "scripts": {
36
+ "build": "tsc && tsx ../../scripts/fix-esm-imports.ts && chmod +x dist/bin/auto.js && cp -r src/server/*.html src/server/*.svg dist/src/server/ 2>/dev/null || true",
37
+ "build:tsx": "echo 'Using tsx runtime, no build needed'",
38
+ "dev": "node scripts/watch.js",
39
+ "test": "vitest run",
40
+ "test:watch": "vitest",
41
+ "lint": "eslint 'src/**/*.ts' --ignore-pattern '**/*.specs.ts' --max-warnings 0 --config ../../eslint.config.ts",
42
+ "type-check": "tsc --noEmit",
43
+ "flow": "tsx src/index.ts flow",
44
+ "prepublishOnly": "npm run build",
45
+ "format": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
46
+ "lint:fix": "eslint 'src/**/*.ts' --fix --config ../../eslint.config.ts",
47
+ "format:fix": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
48
+ "link:dev": "pnpm build && pnpm link --global",
49
+ "unlink:dev": "pnpm unlink --global"
50
+ },
35
51
  "publishConfig": {
36
52
  "access": "public"
37
53
  },
38
54
  "dependencies": {
39
- "@auto-engineer/message-bus": "^0.5.5",
55
+ "@auto-engineer/message-bus": "^0.6.0",
40
56
  "chalk": "^5.3.0",
41
57
  "chokidar": "^3.6.0",
42
58
  "commander": "^12.0.0",
@@ -65,21 +81,7 @@
65
81
  "@types/js-yaml": "^4.0.9",
66
82
  "@types/marked": "^6.0.0",
67
83
  "@types/marked-terminal": "^6.1.1",
84
+ "get-port": "^7.1.0",
68
85
  "tsx": "^4.20.3"
69
- },
70
- "scripts": {
71
- "build": "tsc && tsx ../../scripts/fix-esm-imports.ts && chmod +x dist/bin/auto.js && cp -r src/server/*.html src/server/*.svg dist/src/server/ 2>/dev/null || true",
72
- "build:tsx": "echo 'Using tsx runtime, no build needed'",
73
- "dev": "tsc --watch",
74
- "test": "vitest run",
75
- "test:watch": "vitest",
76
- "lint": "eslint 'src/**/*.ts' --ignore-pattern '**/*.specs.ts' --max-warnings 0 --config ../../eslint.config.ts",
77
- "type-check": "tsc --noEmit",
78
- "flow": "tsx src/index.ts flow",
79
- "format": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
80
- "lint:fix": "eslint 'src/**/*.ts' --fix --config ../../eslint.config.ts",
81
- "format:fix": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
82
- "link:dev": "pnpm build && pnpm link --global",
83
- "unlink:dev": "pnpm unlink --global"
84
86
  }
85
- }
87
+ }
package/LICENSE DELETED
@@ -1,10 +0,0 @@
1
- Elastic License 2.0
2
-
3
- Copyright 2024 Sam Hatoum
4
-
5
- This software and associated documentation files (the "Software") are licensed under the Elastic License 2.0 (the "License"). You may not use this file except in compliance with the License.
6
-
7
- You may obtain a copy of the License at:
8
- https://www.elastic.co/licensing/elastic-license
9
-
10
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
@@ -1,22 +0,0 @@
1
- export interface CommandDefinition {
2
- handler: () => Promise<unknown>;
3
- description: string;
4
- usage?: string;
5
- examples?: string[];
6
- args?: Array<{
7
- name: string;
8
- description: string;
9
- required?: boolean;
10
- }>;
11
- options?: Array<{
12
- name: string;
13
- description: string;
14
- }>;
15
- }
16
- export interface CliManifest {
17
- category: string;
18
- version?: string;
19
- commands: Record<string, CommandDefinition>;
20
- }
21
- export declare const CLI_MANIFEST: CliManifest;
22
- //# sourceMappingURL=manifest-types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manifest-types.d.ts","sourceRoot":"","sources":["../../src/manifest-types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACxE,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,YAAY,EAAS,WAAW,CAAC"}
@@ -1,2 +0,0 @@
1
- export const CLI_MANIFEST = {}; // Type-only export
2
- //# sourceMappingURL=manifest-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manifest-types.js","sourceRoot":"","sources":["../../src/manifest-types.ts"],"names":[],"mappings":"AAeA,MAAM,CAAC,MAAM,YAAY,GAAG,EAAiB,CAAC,CAAC,mBAAmB"}