Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:

**npm 全局安装**
\`\`\`bash
npm install -g lingxiao_cli
npm install -g @lingxiao-office/lingxiao-coding
lingxiao
\`\`\`
EOF
Expand Down Expand Up @@ -315,3 +315,34 @@ jobs:
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# ── 发布到 npm ──────────────────────────────────────────────────
publish-npm:
name: Publish to npm
needs: [check-release, build-portable, build-binary, build-source]
runs-on: ubuntu-latest
if: needs.check-release.outputs.should_run == 'true'
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci

- name: Install web dependencies
run: cd web && npm ci

- name: Build package
run: npm run build:package
env:
LINGXIAO_SKIP_MODELS_SNAPSHOT: '1'

- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ LingXiao 内置了 Claude Code Driver 和 Codex Driver,可以把 `claude` CLI
- npm 或兼容包管理器
```

### npm 全局安装(推荐)

```bash
npm install -g @lingxiao-office/lingxiao-coding
lingxiao
```

### 源码安装

```bash
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.12.1
87 changes: 82 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 31 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lingxiao_cli",
"version": "1.12.0",
"description": "凌霄剑域 - 动态智能编排系统 (Node.js 版本)",
"name": "@lingxiao-office/lingxiao-coding",
"version": "1.12.1",
"description": "凌霄剑域 - 动态智能编排系统 (Node.js 版本) | Lingxiao Coding - Dynamic Agent Orchestration System",
"main": "dist/index.js",
"type": "module",
"engines": {
Expand Down Expand Up @@ -63,9 +63,20 @@
"README.md",
"LICENSE"
],
"keywords": [],
"author": "",
"license": "UNLICENSED",
"keywords": [
"lingxiao",
"agent",
"ai",
"llm",
"cli",
"orchestration",
"coding-assistant",
"multi-agent",
"tool-calling",
"framework"
],
"author": "Lingxiao Office",
"license": "AGPL-3.0-only",
"devDependencies": {
"@types/node": "^25.5.0",
"@types/pdfkit": "^0.17.6",
Expand Down Expand Up @@ -97,10 +108,10 @@
"@langfuse/client": "^5.5.3",
"@langfuse/otel": "^5.5.3",
"@langfuse/tracing": "^5.5.3",
"@lingxiao-office/sdk": "^1.0.1",
"@lydell/node-pty": "1.2.0-beta.10",
"@modelcontextprotocol/sdk": "^1.29.0",
"@nodesecure/js-x-ray": "^11.1.0",
"electron-updater": "^6.8.9",
"@opentelemetry/api": "^1.9.1",
"@opentelemetry/sdk-node": "^0.219.0",
"@slidev/cli": "^52.15.2",
Expand All @@ -111,6 +122,7 @@
"chokidar": "^5.0.0",
"commander": "^14.0.3",
"docx": "^9.7.1",
"electron-updater": "^6.8.9",
"exceljs": "^4.4.0",
"fastify": "^5.8.4",
"glob": "^13.0.6",
Expand Down Expand Up @@ -224,5 +236,17 @@
],
"category": "Development"
}
},
"homepage": "https://github.com/hexian2001/lingxiao-coding",
"repository": {
"type": "git",
"url": "git+https://github.com/hexian2001/lingxiao-coding.git"
},
"bugs": {
"url": "https://github.com/hexian2001/lingxiao-coding/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}
Loading
Loading