- Add full Telegram bot functionality with Z.AI API integration
- Implement 4 tools: Bash, FileEdit, WebSearch, Git
- Add 3 agents: Code Reviewer, Architect, DevOps Engineer
- Add 6 skills for common coding tasks
- Add systemd service file for 24/7 operation
- Add nginx configuration for HTTPS webhook
- Add comprehensive documentation
- Implement WebSocket server for real-time updates
- Add logging system with Winston
- Add environment validation
🤖 zCode CLI X - Agentic coder with Z.AI + Telegram integration
26 lines
584 B
JavaScript
26 lines
584 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.asConst = void 0;
|
|
|
|
/**
|
|
* Returns the input parameter without muting it, but narrowing its inferred type. Similar to using the `as const` statement functionnally.
|
|
* @param input Input
|
|
* @returns Input, narrowly typed
|
|
*
|
|
* ```ts
|
|
* const object = { foo: "bar" }
|
|
* // { foo: string }
|
|
*
|
|
* const narrowedObject = asConst({ foo: "bar "})
|
|
* // => { foo: "bar" }
|
|
* ```
|
|
*/
|
|
var asConst = function asConst(input) {
|
|
return input;
|
|
};
|
|
|
|
exports.asConst = asConst;
|
|
//# sourceMappingURL=asConst.js.map
|