aioffice 1.12.0 → 1.14.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/README.md +2 -2
- package/install.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ Both are useful for testing or for serving binaries from a private mirror:
|
|
|
93
93
|
|
|
94
94
|
| Variable | Default | Purpose |
|
|
95
95
|
| ---------------------------- | ---------------------------------------------------------------- | ---------------------------------------- |
|
|
96
|
-
| `AIOFFICE_DOWNLOAD_VERSION` | `v{package version}` (e.g. `v1.
|
|
96
|
+
| `AIOFFICE_DOWNLOAD_VERSION` | `v{package version}` (e.g. `v1.14.0`) | Release tag to download. |
|
|
97
97
|
| `AIOFFICE_DOWNLOAD_BASEURL` | `https://github.com/onecer/AIOffice/releases/download` | Base URL for the assets + `SHA256SUMS`. |
|
|
98
98
|
|
|
99
99
|
The binary is fetched from `{BASEURL}/{VERSION}/{asset}` and the checksum file
|
|
@@ -101,7 +101,7 @@ from `{BASEURL}/{VERSION}/SHA256SUMS`.
|
|
|
101
101
|
|
|
102
102
|
```sh
|
|
103
103
|
# Example: install a specific version from a local mirror
|
|
104
|
-
AIOFFICE_DOWNLOAD_VERSION=v1.
|
|
104
|
+
AIOFFICE_DOWNLOAD_VERSION=v1.14.0 \
|
|
105
105
|
AIOFFICE_DOWNLOAD_BASEURL=https://mirror.example.com/aioffice \
|
|
106
106
|
npm install -g aioffice
|
|
107
107
|
```
|
package/install.js
CHANGED
|
@@ -28,7 +28,7 @@ const REPO_RELEASES = 'https://github.com/onecer/AIOffice/releases';
|
|
|
28
28
|
|
|
29
29
|
const BIN_DIR = path.join(__dirname, 'bin');
|
|
30
30
|
|
|
31
|
-
// Resolve the release tag. A bare package version "1.
|
|
31
|
+
// Resolve the release tag. A bare package version "1.14.0" becomes "v1.14.0";
|
|
32
32
|
// an explicit override is used verbatim (it may or may not carry a leading v).
|
|
33
33
|
function resolveVersion() {
|
|
34
34
|
const override = process.env.AIOFFICE_DOWNLOAD_VERSION;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aioffice",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "AIOffice — an AI-native CLI + MCP server for creating, reading, editing, rendering and validating real Office documents (.docx/.xlsx/.pptx). Installs a single self-contained native binary downloaded and SHA256-verified from the GitHub release.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"aioffice": "bin/aioffice.js"
|