- 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
148 lines
5.7 KiB
JavaScript
148 lines
5.7 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.ConcurrentModificationException = exports.DeveloperUserAlreadyRegisteredException = exports.InvalidIdentityPoolConfigurationException = exports.ExternalServiceException = exports.ResourceNotFoundException = exports.TooManyRequestsException = exports.ResourceConflictException = exports.NotAuthorizedException = exports.LimitExceededException = exports.InvalidParameterException = exports.InternalErrorException = void 0;
|
|
const CognitoIdentityServiceException_1 = require("./CognitoIdentityServiceException");
|
|
class InternalErrorException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "InternalErrorException";
|
|
$fault = "server";
|
|
constructor(opts) {
|
|
super({
|
|
name: "InternalErrorException",
|
|
$fault: "server",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
}
|
|
}
|
|
exports.InternalErrorException = InternalErrorException;
|
|
class InvalidParameterException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "InvalidParameterException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "InvalidParameterException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
}
|
|
}
|
|
exports.InvalidParameterException = InvalidParameterException;
|
|
class LimitExceededException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "LimitExceededException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "LimitExceededException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
}
|
|
}
|
|
exports.LimitExceededException = LimitExceededException;
|
|
class NotAuthorizedException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "NotAuthorizedException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "NotAuthorizedException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
}
|
|
}
|
|
exports.NotAuthorizedException = NotAuthorizedException;
|
|
class ResourceConflictException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "ResourceConflictException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ResourceConflictException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
}
|
|
}
|
|
exports.ResourceConflictException = ResourceConflictException;
|
|
class TooManyRequestsException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "TooManyRequestsException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "TooManyRequestsException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
}
|
|
}
|
|
exports.TooManyRequestsException = TooManyRequestsException;
|
|
class ResourceNotFoundException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "ResourceNotFoundException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ResourceNotFoundException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
}
|
|
}
|
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
class ExternalServiceException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "ExternalServiceException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ExternalServiceException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ExternalServiceException.prototype);
|
|
}
|
|
}
|
|
exports.ExternalServiceException = ExternalServiceException;
|
|
class InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "InvalidIdentityPoolConfigurationException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "InvalidIdentityPoolConfigurationException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype);
|
|
}
|
|
}
|
|
exports.InvalidIdentityPoolConfigurationException = InvalidIdentityPoolConfigurationException;
|
|
class DeveloperUserAlreadyRegisteredException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "DeveloperUserAlreadyRegisteredException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "DeveloperUserAlreadyRegisteredException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, DeveloperUserAlreadyRegisteredException.prototype);
|
|
}
|
|
}
|
|
exports.DeveloperUserAlreadyRegisteredException = DeveloperUserAlreadyRegisteredException;
|
|
class ConcurrentModificationException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
name = "ConcurrentModificationException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ConcurrentModificationException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
}
|
|
}
|
|
exports.ConcurrentModificationException = ConcurrentModificationException;
|