@xqyz/xq-cli 0.1.0 → 0.1.1
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/README.md +25 -3
- package/package.json +1 -1
- package/src/cli.mjs +3 -3
package/README.md
CHANGED
|
@@ -4,6 +4,26 @@ Standalone CLI project for xique brand task workflows.
|
|
|
4
4
|
|
|
5
5
|
Project execution rules for agents live in [AGENTS.md](./AGENTS.md). That file defines the mandatory config-confirmation flow before any bid generation run.
|
|
6
6
|
|
|
7
|
+
## Install from npm
|
|
8
|
+
|
|
9
|
+
Install the published package from the public npm registry:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g @xqyz/xq-cli
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
If your local npm registry points to a mirror or private source, use:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g @xqyz/xq-cli --registry=https://registry.npmjs.org/
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Upgrade to the latest published version with:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm update -g @xqyz/xq-cli --registry=https://registry.npmjs.org/
|
|
25
|
+
```
|
|
26
|
+
|
|
7
27
|
## Install from this repo
|
|
8
28
|
|
|
9
29
|
```bash
|
|
@@ -20,14 +40,14 @@ npm pack
|
|
|
20
40
|
That command produces a `.tgz` tarball which can be shared and installed with:
|
|
21
41
|
|
|
22
42
|
```bash
|
|
23
|
-
npm install -g .\xqyz-xq-cli-0.1.
|
|
43
|
+
npm install -g .\xqyz-xq-cli-0.1.1.tgz
|
|
24
44
|
```
|
|
25
45
|
|
|
26
46
|
## Usage
|
|
27
47
|
|
|
28
48
|
```bash
|
|
29
|
-
xq-cli login --base-url https://
|
|
30
|
-
xq-cli login --base-url https://
|
|
49
|
+
xq-cli login --base-url https://ai.bidfile.qianlima.com/api
|
|
50
|
+
xq-cli login --base-url https://ai.bidfile.qianlima.com/api --name your-account --password your-password
|
|
31
51
|
xq-cli wizard
|
|
32
52
|
xq-cli wizard --file D:\bids\tender.docx
|
|
33
53
|
xq-cli init --file D:\bids\tender.docx --wait
|
|
@@ -39,6 +59,8 @@ xq-cli export --cid <cid> --interactive --out D:\output
|
|
|
39
59
|
xq-cli export --cid <cid> --out D:\output
|
|
40
60
|
```
|
|
41
61
|
|
|
62
|
+
Fresh installs do not ship with a saved API address. Users must run `login` once to save the target `--base-url`.
|
|
63
|
+
|
|
42
64
|
`login` now defaults to browser authorization. If you explicitly pass `--name` and `--password`, the CLI falls back to password login.
|
|
43
65
|
|
|
44
66
|
When `outline --wait` or `write --wait` hits a required response-basis step, the CLI will pause and ask you to choose `0/1/2` before continuing. It no longer auto-selects a default when you just press Enter.
|
package/package.json
CHANGED
package/src/cli.mjs
CHANGED
|
@@ -365,9 +365,9 @@ Commands
|
|
|
365
365
|
export Download the generated docx
|
|
366
366
|
|
|
367
367
|
Examples
|
|
368
|
-
xq-cli login --base-url
|
|
369
|
-
xq-cli login --base-url
|
|
370
|
-
xq-cli login --base-url
|
|
368
|
+
xq-cli login --base-url https://ai.bidfile.qianlima.com/api
|
|
369
|
+
xq-cli login --base-url https://ai.bidfile.qianlima.com/api --name your-account --password your-password
|
|
370
|
+
xq-cli login --base-url https://ai.bidfile.qianlima.com/api --browser
|
|
371
371
|
xq-cli init --file D:\\bids\\tender.docx --wait
|
|
372
372
|
xq-cli parse-status --cid <cid> --uuid <uuid> --wait
|
|
373
373
|
xq-cli choices
|