97b2089857
- Added `--route` and `--method` options to `function execute` command for better HTTP handling. - Improved `get function` command to display additional function metadata including HTTP settings, cache status, network restrictions, RAM limits, timeouts, and tags. - Removed deprecated `helloworld` command. - Expanded `update function` command with new options for Docker mounts, network restrictions, and various installation flags, including better error handling for boolean and number options. - Introduced environment variable management commands: `add`, `list`, and `remove` for account-wide environment variables. - Added `export` command to export authenticated account data. - Implemented `api openapi` and `api request` commands for direct API interaction. - Created logging and rate limit management commands for functions. - Added MCP tool commands for calling tools, fetching documentation, and initializing sessions. - Introduced utility functions for JSON handling and environment variable normalization. - Set up CI/CD pipeline with Gitea Actions for automated testing, building, and publishing. - Updated configuration loading to support environment variables for instance and token.
40 lines
889 B
JSON
40 lines
889 B
JSON
{
|
|
"name": "shsf-cli",
|
|
"version": "2.3.1",
|
|
"description": "Production-ready command-line interface and agent bridge for SHSF.",
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"bin": {
|
|
"shsf": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf dist && tsc",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT-0",
|
|
"packageManager": "pnpm@10.30.0",
|
|
"devDependencies": {
|
|
"@types/inquirer": "^9.0.9",
|
|
"@types/node": "^25.5.0",
|
|
"@vitest/coverage-v8": "^4.1.0",
|
|
"rimraf": "^6.1.3",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.13.6",
|
|
"chalk": "^5.6.2",
|
|
"commander": "^14.0.3",
|
|
"dotenv": "^17.3.1",
|
|
"inquirer": "^9.3.8"
|
|
}
|
|
}
|