@tangcent/apilot 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +70 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,34 @@
1
+ ## [0.1.2] - 2026-04-26
2
+
3
+ ### Added
4
+ - enhance markdown formatter with detailed API export (#113)
5
+ - enhance postman formatter to parse detailed API information (#112)
6
+ - feat(flask): add detailed request/response type resolution (#111)
7
+ - add DRF serializer type resolution for Django parser (#110)
8
+ - feat(fastapi): add detailed request/response type resolution for Python FastAPI (#109)
9
+ - add detailed request/response type resolution to NestJS parser (#108)
10
+ - add detailed request/response type resolution for Fastify parser (#107)
11
+ - add detailed request/response type resolution for Express TypeScript (#106)
12
+ - add detailed request/response type resolution for Go Fiber (#105)
13
+ - add detailed request/response type resolution for Go Echo (#104)
14
+ - add Go struct type resolution to Gin parser (#103)
15
+ - resolve jaxrs request and response schemas (#101)
16
+ - feat(ci): enhance release workflows and scripts
17
+
18
+ ### Fixed
19
+ - improve Java type resolution and CLI flag handling for markdown export (#114)
20
+ - resolve feign request and response schemas (#102)
21
+ - resolve inherited Java model fields (#100)
22
+
23
+ ### Changed
24
+ - make TypeResolver framework-agnostic (#99)
25
+
26
+ ### Improved
27
+ - docs: update readme and add skill documentation
28
+ - release: cli v0.1.1
29
+
30
+ ---
31
+
1
32
  ## [0.1.1] - 2026-04-19
2
33
 
3
34
  ### Added
package/README.md CHANGED
@@ -6,8 +6,15 @@ APilot scans your source code, extracts API endpoints, and exports them to the f
6
6
 
7
7
  [![CI](https://github.com/tangcent/apilot/actions/workflows/ci.yml/badge.svg)](https://github.com/tangcent/apilot/actions/workflows/ci.yml)
8
8
  [![codecov](https://codecov.io/gh/tangcent/apilot/branch/master/graph/badge.svg)](https://codecov.io/gh/tangcent/apilot)
9
+ [![npm version](https://img.shields.io/npm/v/@tangcent/apilot.svg)](https://www.npmjs.com/package/@tangcent/apilot)
9
10
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
10
11
 
12
+ 1 AI Agent [Skill](./skills/)
13
+
14
+ | Skill | Description |
15
+ |-------|-------------|
16
+ | `apilot` | Scan source code and export API endpoints to Postman, Markdown, cURL, and more |
17
+
11
18
  ---
12
19
 
13
20
  ## What it does
@@ -45,8 +52,50 @@ It detects your language and framework automatically, walks the source tree, and
45
52
 
46
53
  ---
47
54
 
55
+ ## Quick Start (AI Agent)
56
+
57
+ > The following steps are for AI Agents (Claude Code, Cursor, etc.).
58
+
59
+ **Step 1 — Install**
60
+
61
+ ```bash
62
+ # Install CLI
63
+ npm install -g @tangcent/apilot
64
+
65
+ # Install CLI SKILL (required)
66
+ npx skills add tangcent/apilot -y -g
67
+ ```
68
+
69
+ **Step 2 — Export APIs**
70
+
71
+ ```bash
72
+ # Scan source code and export to Postman
73
+ apilot export ./my-service --formatter postman --output api.postman_collection.json
74
+
75
+ # Generate Markdown documentation
76
+ apilot export ./my-service --formatter markdown --format detailed --output API.md
77
+
78
+ # Generate cURL commands
79
+ apilot export ./my-service --formatter curl
80
+ ```
81
+
82
+ **Step 3 — Verify**
83
+
84
+ ```bash
85
+ apilot export --list-collectors
86
+ apilot export --list-formatters
87
+ ```
88
+
89
+ ---
90
+
48
91
  ## Installation
49
92
 
93
+ ### npm (recommended)
94
+
95
+ ```bash
96
+ npm install -g @tangcent/apilot
97
+ ```
98
+
50
99
  ### Download binary
51
100
 
52
101
  Grab the latest release for your platform from the [releases page](https://github.com/tangcent/apilot/releases):
@@ -65,6 +114,27 @@ cd apilot
65
114
  go build -o apilot ./apilot-cli
66
115
  ```
67
116
 
117
+ ### Install from source (local development)
118
+
119
+ Use the install script to build and install `apilot` to your local PATH — handy for testing changes before release:
120
+
121
+ ```bash
122
+ # Clone and enter the repo
123
+ git clone https://github.com/tangcent/apilot.git
124
+ cd apilot
125
+
126
+ # Build and install to /usr/local/bin (or ~/.local/bin if no write access)
127
+ ./scripts/install-local.sh
128
+
129
+ # Or specify a custom install directory
130
+ ./scripts/install-local.sh /usr/local/bin
131
+
132
+ # Verify
133
+ apilot --version
134
+ ```
135
+
136
+ After making code changes, just re-run `./scripts/install-local.sh` to rebuild and reinstall.
137
+
68
138
  ---
69
139
 
70
140
  ## Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangcent/apilot",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Navigate your APIs. Scans source code and exports to Markdown, cURL, Postman, and more.",
5
5
  "bin": {
6
6
  "apilot": "scripts/run.js"