feat: Complete zCode CLI X with Telegram bot integration

- 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
This commit is contained in:
admin
2026-05-05 09:01:26 +00:00
Unverified
parent 4a7035dd92
commit 875c7f9b91
24688 changed files with 3224957 additions and 221 deletions

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { CreateIdentityPool$ } from "../schemas/schemas_0";
export { $Command };
export class CreateIdentityPoolCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "CreateIdentityPool", {})
.n("CognitoIdentityClient", "CreateIdentityPoolCommand")
.sc(CreateIdentityPool$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { DeleteIdentities$ } from "../schemas/schemas_0";
export { $Command };
export class DeleteIdentitiesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "DeleteIdentities", {})
.n("CognitoIdentityClient", "DeleteIdentitiesCommand")
.sc(DeleteIdentities$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { DeleteIdentityPool$ } from "../schemas/schemas_0";
export { $Command };
export class DeleteIdentityPoolCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "DeleteIdentityPool", {})
.n("CognitoIdentityClient", "DeleteIdentityPoolCommand")
.sc(DeleteIdentityPool$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeIdentity$ } from "../schemas/schemas_0";
export { $Command };
export class DescribeIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "DescribeIdentity", {})
.n("CognitoIdentityClient", "DescribeIdentityCommand")
.sc(DescribeIdentity$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeIdentityPool$ } from "../schemas/schemas_0";
export { $Command };
export class DescribeIdentityPoolCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "DescribeIdentityPool", {})
.n("CognitoIdentityClient", "DescribeIdentityPoolCommand")
.sc(DescribeIdentityPool$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetCredentialsForIdentity$ } from "../schemas/schemas_0";
export { $Command };
export class GetCredentialsForIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
.n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
.sc(GetCredentialsForIdentity$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetId$ } from "../schemas/schemas_0";
export { $Command };
export class GetIdCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "GetId", {})
.n("CognitoIdentityClient", "GetIdCommand")
.sc(GetId$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetIdentityPoolRoles$ } from "../schemas/schemas_0";
export { $Command };
export class GetIdentityPoolRolesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "GetIdentityPoolRoles", {})
.n("CognitoIdentityClient", "GetIdentityPoolRolesCommand")
.sc(GetIdentityPoolRoles$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetOpenIdToken$ } from "../schemas/schemas_0";
export { $Command };
export class GetOpenIdTokenCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "GetOpenIdToken", {})
.n("CognitoIdentityClient", "GetOpenIdTokenCommand")
.sc(GetOpenIdToken$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetOpenIdTokenForDeveloperIdentity$ } from "../schemas/schemas_0";
export { $Command };
export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {})
.n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand")
.sc(GetOpenIdTokenForDeveloperIdentity$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetPrincipalTagAttributeMap$ } from "../schemas/schemas_0";
export { $Command };
export class GetPrincipalTagAttributeMapCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "GetPrincipalTagAttributeMap", {})
.n("CognitoIdentityClient", "GetPrincipalTagAttributeMapCommand")
.sc(GetPrincipalTagAttributeMap$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { ListIdentities$ } from "../schemas/schemas_0";
export { $Command };
export class ListIdentitiesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "ListIdentities", {})
.n("CognitoIdentityClient", "ListIdentitiesCommand")
.sc(ListIdentities$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { ListIdentityPools$ } from "../schemas/schemas_0";
export { $Command };
export class ListIdentityPoolsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "ListIdentityPools", {})
.n("CognitoIdentityClient", "ListIdentityPoolsCommand")
.sc(ListIdentityPools$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { ListTagsForResource$ } from "../schemas/schemas_0";
export { $Command };
export class ListTagsForResourceCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "ListTagsForResource", {})
.n("CognitoIdentityClient", "ListTagsForResourceCommand")
.sc(ListTagsForResource$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { LookupDeveloperIdentity$ } from "../schemas/schemas_0";
export { $Command };
export class LookupDeveloperIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "LookupDeveloperIdentity", {})
.n("CognitoIdentityClient", "LookupDeveloperIdentityCommand")
.sc(LookupDeveloperIdentity$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { MergeDeveloperIdentities$ } from "../schemas/schemas_0";
export { $Command };
export class MergeDeveloperIdentitiesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "MergeDeveloperIdentities", {})
.n("CognitoIdentityClient", "MergeDeveloperIdentitiesCommand")
.sc(MergeDeveloperIdentities$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { SetIdentityPoolRoles$ } from "../schemas/schemas_0";
export { $Command };
export class SetIdentityPoolRolesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "SetIdentityPoolRoles", {})
.n("CognitoIdentityClient", "SetIdentityPoolRolesCommand")
.sc(SetIdentityPoolRoles$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { SetPrincipalTagAttributeMap$ } from "../schemas/schemas_0";
export { $Command };
export class SetPrincipalTagAttributeMapCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "SetPrincipalTagAttributeMap", {})
.n("CognitoIdentityClient", "SetPrincipalTagAttributeMapCommand")
.sc(SetPrincipalTagAttributeMap$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { TagResource$ } from "../schemas/schemas_0";
export { $Command };
export class TagResourceCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "TagResource", {})
.n("CognitoIdentityClient", "TagResourceCommand")
.sc(TagResource$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { UnlinkDeveloperIdentity$ } from "../schemas/schemas_0";
export { $Command };
export class UnlinkDeveloperIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "UnlinkDeveloperIdentity", {})
.n("CognitoIdentityClient", "UnlinkDeveloperIdentityCommand")
.sc(UnlinkDeveloperIdentity$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { UnlinkIdentity$ } from "../schemas/schemas_0";
export { $Command };
export class UnlinkIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "UnlinkIdentity", {})
.n("CognitoIdentityClient", "UnlinkIdentityCommand")
.sc(UnlinkIdentity$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { UntagResource$ } from "../schemas/schemas_0";
export { $Command };
export class UntagResourceCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "UntagResource", {})
.n("CognitoIdentityClient", "UntagResourceCommand")
.sc(UntagResource$)
.build() {
}

View File

@@ -0,0 +1,16 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { UpdateIdentityPool$ } from "../schemas/schemas_0";
export { $Command };
export class UpdateIdentityPoolCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityService", "UpdateIdentityPool", {})
.n("CognitoIdentityClient", "UpdateIdentityPoolCommand")
.sc(UpdateIdentityPool$)
.build() {
}

View File

@@ -0,0 +1,23 @@
export * from "./CreateIdentityPoolCommand";
export * from "./DeleteIdentitiesCommand";
export * from "./DeleteIdentityPoolCommand";
export * from "./DescribeIdentityCommand";
export * from "./DescribeIdentityPoolCommand";
export * from "./GetCredentialsForIdentityCommand";
export * from "./GetIdCommand";
export * from "./GetIdentityPoolRolesCommand";
export * from "./GetOpenIdTokenCommand";
export * from "./GetOpenIdTokenForDeveloperIdentityCommand";
export * from "./GetPrincipalTagAttributeMapCommand";
export * from "./ListIdentitiesCommand";
export * from "./ListIdentityPoolsCommand";
export * from "./ListTagsForResourceCommand";
export * from "./LookupDeveloperIdentityCommand";
export * from "./MergeDeveloperIdentitiesCommand";
export * from "./SetIdentityPoolRolesCommand";
export * from "./SetPrincipalTagAttributeMapCommand";
export * from "./TagResourceCommand";
export * from "./UnlinkDeveloperIdentityCommand";
export * from "./UnlinkIdentityCommand";
export * from "./UntagResourceCommand";
export * from "./UpdateIdentityPoolCommand";