@wport/cli 0.2.1 → 0.2.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.
- package/CHANGELOG.md +10 -1
- package/README.md +2 -2
- package/dist/index.js +3 -3
- package/package.json +1 -7
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [0.2.2] — 2026-06-30
|
|
9
|
+
|
|
10
|
+
**無 CLI 邏輯/原始碼變動**(`src/` 行為與 0.2.1 相同),純清理打包進 npm 的文件死連結。registry 上 0.2.1 的 `repository` / `homepage` 與 README/CHANGELOG 仍指向私有 `W101-TalentSearchHub` repo(公開使用者點了 404),npm 已發布版本不可覆寫,故 bump PATCH 重新發布以覆蓋呈現。
|
|
11
|
+
|
|
12
|
+
### Docs
|
|
13
|
+
|
|
14
|
+
- 移除 README 中指向私有 repo 的死連結(issue tracker、CHANGELOG blob 連結),保留說明文字;CHANGELOG 改引用隨套件出貨的 `CHANGELOG.md`。
|
|
15
|
+
- 移除 CHANGELOG `PR #15` 殘留的舊 owner(`w101-admin`)死連結,去連結化為純文字。
|
|
16
|
+
|
|
8
17
|
## [0.2.1] — 2026-06-12
|
|
9
18
|
|
|
10
19
|
### Changed
|
|
@@ -92,7 +101,7 @@ agent-ready + contract-hardened 一輪。版號維持 PATCH(0.x 階段 SemVer
|
|
|
92
101
|
|
|
93
102
|
## [0.1.0] — TBD(pre-release)
|
|
94
103
|
|
|
95
|
-
對應 PR
|
|
104
|
+
對應 PR #15。
|
|
96
105
|
|
|
97
106
|
### Added
|
|
98
107
|
|
package/README.md
CHANGED
|
@@ -249,13 +249,13 @@ This CLI is in pre-release. Bug reports and feature requests are best-effort and
|
|
|
249
249
|
- **Email**: [yao@wport.me](mailto:yao@wport.me)
|
|
250
250
|
- **Response time**: best-effort, typically within a few business days
|
|
251
251
|
|
|
252
|
-
A public issue tracker
|
|
252
|
+
A public issue tracker will be opened once usage volume justifies it. Until then, email is the only supported channel — please don't open issues on the main repo for CLI-specific concerns yet (the repo is shared with the backend and would create cross-team noise).
|
|
253
253
|
|
|
254
254
|
## Compatibility
|
|
255
255
|
|
|
256
256
|
This CLI tracks the `api.wport.me` public job endpoints (`GET /api/jobs/search`, `GET /api/jobs/{encId}/view`).
|
|
257
257
|
|
|
258
|
-
**Pre-1.0 (0.x.y) — soft compatibility**: During the `0.x.y` phase the upstream API and the CLI may evolve without strict semver guarantees. Backward-incompatible changes can land in any `0.x` minor release. Pin to a specific version (`@wport/cli@0.1.0`) if you script against this CLI in production. Each release pins the server version range it has been tested against (see
|
|
258
|
+
**Pre-1.0 (0.x.y) — soft compatibility**: During the `0.x.y` phase the upstream API and the CLI may evolve without strict semver guarantees. Backward-incompatible changes can land in any `0.x` minor release. Pin to a specific version (`@wport/cli@0.1.0`) if you script against this CLI in production. Each release pins the server version range it has been tested against (see the bundled `CHANGELOG.md`).
|
|
259
259
|
|
|
260
260
|
**Post-1.0 (1.x.y and beyond) — firm semver**: The `1.0.0` release will commit to standard semver. Any breaking server-side change that affects the CLI surface will be released as a CLI **major** bump (`2.0.0`, `3.0.0`, ...). Additive changes (new flags, new fields) → minor; bug fixes → patch.
|
|
261
261
|
|
package/dist/index.js
CHANGED
|
@@ -179,7 +179,7 @@ function isTimeoutAbort(err) {
|
|
|
179
179
|
return false;
|
|
180
180
|
}
|
|
181
181
|
function buildUserAgent() {
|
|
182
|
-
return `wport-cli/${"0.2.
|
|
182
|
+
return `wport-cli/${"0.2.2"} (node ${process.version}; ${process.platform})`;
|
|
183
183
|
}
|
|
184
184
|
function unwrapDataResponse(body) {
|
|
185
185
|
if (body && typeof body === "object" && "success" in body && "data" in body) {
|
|
@@ -920,7 +920,7 @@ function registerDoctorCommand(program2) {
|
|
|
920
920
|
).action(async (_opts, command) => {
|
|
921
921
|
const ctx = resolveContext(command);
|
|
922
922
|
const line = (s = "") => process.stdout.write(s + "\n");
|
|
923
|
-
line(`wport-cli ${"0.2.
|
|
923
|
+
line(`wport-cli ${"0.2.2"}`);
|
|
924
924
|
line(` bundled schema fingerprint: ${"839e8a891dfb"}`);
|
|
925
925
|
line("");
|
|
926
926
|
line("Resolved configuration:");
|
|
@@ -1299,7 +1299,7 @@ function registerEnterpriseCommand(program2) {
|
|
|
1299
1299
|
|
|
1300
1300
|
// src/index.ts
|
|
1301
1301
|
var program = new import_commander.Command();
|
|
1302
|
-
program.name("wport").description("wport CLI \u2014 terminal interface to the W101 Talent Search Hub public API").version("0.2.
|
|
1302
|
+
program.name("wport").description("wport CLI \u2014 terminal interface to the W101 Talent Search Hub public API").version("0.2.2", "-v, --version", "output the CLI version").option("--lang <locale>", "Accept-Language locale: zh-TW | en-US | vi-VN | th-TH | id-ID").option("--api <url>", "override API base URL").option("--output <fmt>", "output format: table | json").option("--no-color", "disable color output").option("--timeout <ms>", "HTTP timeout in milliseconds", (v) => Number(v));
|
|
1303
1303
|
registerJobsCommand(program);
|
|
1304
1304
|
registerConfigCommand(program);
|
|
1305
1305
|
registerDoctorCommand(program);
|
package/package.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wport/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "wport CLI — terminal interface to the W101 Talent Search Hub public API",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/w101-admin/W101-TalentSearchHub.git",
|
|
8
|
-
"directory": "apps/cli"
|
|
9
|
-
},
|
|
10
|
-
"homepage": "https://github.com/w101-admin/W101-TalentSearchHub/tree/main/apps/cli#readme",
|
|
11
5
|
"author": "YAO <yao@wport.me>",
|
|
12
6
|
"bugs": {
|
|
13
7
|
"email": "yao@wport.me"
|