Implementation:AI QL Tuui App Package Lock
| Knowledge Sources | |
|---|---|
| Domains | Dependency_Management |
| Last Updated | 2026-10-24 00:00 GMT |
Overview
Concrete tool for pinning the exact dependency tree of the tuui Electron application (MCP SDK, mcpb, nut-js, Vue, Vuetify, Electron and all transitive dependencies), provided by the tuui repository.
Description
The package-lock.json file is the root NPM lockfile (lockfileVersion 3) for the tuui app (v1.5.1). It records every transitive dependency version and integrity hash for the app's dependencies and devDependencies — the MCP SDK, @anthropic-ai/mcpb, @nut-tree-fork/nut-js, Vue 3, Vuetify, Electron, Vite, Playwright, and their full transitive trees. It is consumed by npm ci / npm install at the repository root to install a reproducible application toolchain.
Usage
Reference this file when installing application dependencies, adding or updating dependencies (per AGENTS.md the lockfile must be kept in sync), or running CI. Run npm ci at the repository root to install the exact locked tree.
Code Reference
Source Location
- Repository: tuui
- File: package-lock.json
- Lines: 1-12358
Signature
{
"name": "tuui",
"version": "1.5.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": { "dependencies": { ... }, "devDependencies": { ... } },
"node_modules/@modelcontextprotocol/sdk": { "version": "...", "integrity": "sha512-..." },
"node_modules/electron": { "version": "...", "integrity": "sha512-..." },
...
}
}
Import
# Consumed by npm; no code import. Install the locked app toolchain:
npm ci
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| package.json | JSON manifest | Yes | Defines the app's direct dependencies this lock pins |
| registry | npm registry | Yes | Source for resolving integrity hashes |
Outputs
| Name | Type | Description |
|---|---|---|
| node_modules/ | Directory | Reproducible app dependency tree installed at repo root |
| integrity | sha512 hashes | Per-package integrity verification |
Usage Examples
Install Locked App Toolchain
# From the repository root, install the app dependencies exactly as locked
npm ci
# Then start the Vite dev server with HMR (per AGENTS.md)
npm run dev
Add a New Dependency
# Per AGENTS.md: update the lockfile when adding/updating dependencies
npm install <package-name>
# package-lock.json and package.json are updated automatically
# Re-start the dev server so Vite picks up the changes