@aiready/cli 0.9.43 → 0.9.45

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,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.9.43 build /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.9.45 build /Users/pengcao/projects/aiready/packages/cli
4
4
  > tsup src/index.ts src/cli.ts --format cjs,esm
5
5
 
6
6
  CLI Building entry: src/cli.ts, src/index.ts
@@ -10,10 +10,10 @@
10
10
  CJS Build start
11
11
  ESM Build start
12
12
 
13
- [12:55:45 AM]  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta]
13
+ [2:01:22 PM]  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta]
14
14
 
15
- src/cli.ts:23:31:
16
-  23 │ return dirname(fileURLToPath(import.meta.url));
15
+ src/cli.ts:25:31:
16
+  25 │ return dirname(fileURLToPath(import.meta.url));
17
17
  ╵ ~~~~~~~~~~~
18
18
 
19
19
  You need to set the output format to "esm" for "import.meta" to work correctly.
@@ -21,9 +21,9 @@
21
21
 
22
22
 
23
23
  CJS dist/index.js 9.42 KB
24
- CJS dist/cli.js 80.79 KB
25
- CJS ⚡️ Build success in 100ms
26
- ESM dist/cli.mjs 70.25 KB
24
+ CJS dist/cli.js 88.27 KB
25
+ CJS ⚡️ Build success in 107ms
26
+ ESM dist/cli.mjs 77.34 KB
27
27
  ESM dist/chunk-LLJMKNBI.mjs 8.07 KB
28
28
  ESM dist/index.mjs 138.00 B
29
- ESM ⚡️ Build success in 104ms
29
+ ESM ⚡️ Build success in 107ms
package/README.md CHANGED
@@ -37,7 +37,28 @@ The CLI provides both unified analysis (scan multiple tools at once) and individ
37
37
  aiready scan .
38
38
 
39
39
  # Run a specific tool
40
- aiready pattern-detect .
40
+ aiready patterns . --similarity 0.6
41
+
42
+ ## 🌐 Platform Integration
43
+
44
+ Connect your local scans to the [AIReady Dashboard](https://getaiready.dev/dashboard).
45
+
46
+ ### Automatic Upload
47
+ Scan and upload results in one step:
48
+ ```bash
49
+ aiready scan . --upload --api-key ar_...
50
+ ```
51
+
52
+ ### Manual Upload
53
+ Upload an existing report JSON:
54
+ ```bash
55
+ aiready upload .aiready/latest.json --api-key ar_...
56
+ ```
57
+
58
+ ### Options
59
+ - `--upload`: Automatically upload results after scan
60
+ - `--api-key <key>`: Your platform API key (or set `AIREADY_API_KEY`)
61
+ - `--server <url>`: Custom platform URL (optional)
41
62
  ```
42
63
 
43
64
  ## License