- 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
15 lines
831 B
TypeScript
15 lines
831 B
TypeScript
/**
|
|
* Percent-encode everything that isn't safe to have in a path without encoding safe chars.
|
|
*
|
|
* Taken from https://datatracker.ietf.org/doc/html/rfc3986#section-3.3:
|
|
* > unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
|
|
* > sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
|
|
* > pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
|
|
*/
|
|
export declare function encodeURIPath(str: string): string;
|
|
export declare const createPathTagFunction: (pathEncoder?: typeof encodeURIPath) => (statics: readonly string[], ...params: readonly unknown[]) => string;
|
|
/**
|
|
* URI-encodes path params and ensures no unsafe /./ or /../ path segments are introduced.
|
|
*/
|
|
export declare const path: (statics: readonly string[], ...params: readonly unknown[]) => string;
|
|
//# sourceMappingURL=path.d.ts.map
|