- 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
155 lines
4.5 KiB
JavaScript
155 lines
4.5 KiB
JavaScript
import { BedrockRuntimeServiceException as __BaseException } from "./BedrockRuntimeServiceException";
|
|
export class AccessDeniedException extends __BaseException {
|
|
name = "AccessDeniedException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "AccessDeniedException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
}
|
|
}
|
|
export class InternalServerException extends __BaseException {
|
|
name = "InternalServerException";
|
|
$fault = "server";
|
|
constructor(opts) {
|
|
super({
|
|
name: "InternalServerException",
|
|
$fault: "server",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
}
|
|
}
|
|
export class ThrottlingException extends __BaseException {
|
|
name = "ThrottlingException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ThrottlingException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
}
|
|
}
|
|
export class ValidationException extends __BaseException {
|
|
name = "ValidationException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ValidationException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
}
|
|
}
|
|
export class ConflictException extends __BaseException {
|
|
name = "ConflictException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ConflictException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
}
|
|
}
|
|
export class ResourceNotFoundException extends __BaseException {
|
|
name = "ResourceNotFoundException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ResourceNotFoundException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
}
|
|
}
|
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
name = "ServiceQuotaExceededException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ServiceQuotaExceededException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
}
|
|
}
|
|
export class ServiceUnavailableException extends __BaseException {
|
|
name = "ServiceUnavailableException";
|
|
$fault = "server";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ServiceUnavailableException",
|
|
$fault: "server",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
}
|
|
}
|
|
export class ModelErrorException extends __BaseException {
|
|
name = "ModelErrorException";
|
|
$fault = "client";
|
|
originalStatusCode;
|
|
resourceName;
|
|
constructor(opts) {
|
|
super({
|
|
name: "ModelErrorException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ModelErrorException.prototype);
|
|
this.originalStatusCode = opts.originalStatusCode;
|
|
this.resourceName = opts.resourceName;
|
|
}
|
|
}
|
|
export class ModelNotReadyException extends __BaseException {
|
|
name = "ModelNotReadyException";
|
|
$fault = "client";
|
|
$retryable = {};
|
|
constructor(opts) {
|
|
super({
|
|
name: "ModelNotReadyException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ModelNotReadyException.prototype);
|
|
}
|
|
}
|
|
export class ModelTimeoutException extends __BaseException {
|
|
name = "ModelTimeoutException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ModelTimeoutException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ModelTimeoutException.prototype);
|
|
}
|
|
}
|
|
export class ModelStreamErrorException extends __BaseException {
|
|
name = "ModelStreamErrorException";
|
|
$fault = "client";
|
|
originalStatusCode;
|
|
originalMessage;
|
|
constructor(opts) {
|
|
super({
|
|
name: "ModelStreamErrorException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ModelStreamErrorException.prototype);
|
|
this.originalStatusCode = opts.originalStatusCode;
|
|
this.originalMessage = opts.originalMessage;
|
|
}
|
|
}
|