- 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
23 lines
879 B
TypeScript
23 lines
879 B
TypeScript
import type { CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition, SchemaObject } from "../../types";
|
|
import type { KeywordCxt } from "../../compile/validate";
|
|
import { _JTDTypeError } from "./error";
|
|
declare enum PropError {
|
|
Additional = "additional",
|
|
Missing = "missing"
|
|
}
|
|
type PropKeyword = "properties" | "optionalProperties";
|
|
type PropSchema = {
|
|
[P in string]?: SchemaObject;
|
|
};
|
|
export type JTDPropertiesError = _JTDTypeError<PropKeyword, "object", PropSchema> | ErrorObject<PropKeyword, {
|
|
error: PropError.Additional;
|
|
additionalProperty: string;
|
|
}, PropSchema> | ErrorObject<PropKeyword, {
|
|
error: PropError.Missing;
|
|
missingProperty: string;
|
|
}, PropSchema>;
|
|
export declare const error: KeywordErrorDefinition;
|
|
declare const def: CodeKeywordDefinition;
|
|
export declare function validateProperties(cxt: KeywordCxt): void;
|
|
export default def;
|