跳到正文

d4ncboz

qoder-workflow

Complete, end-to-end framework and high-performance OpenAI-compatible gateway for the Qoder ecosystem.

README 已保存到本站,可直接阅读

Documentation snapshot

README 快照

这篇是英文原文

下面正文是项目自己的英文 README。想读全文就用浏览器自带的整页翻译: Chrome / Edge 点地址栏右侧的翻译图标,或用右键菜单里的「翻译成中文」; 手机浏览器一般在菜单里。

本页保存的是公开项目资料快照,阅读过程不需要连接 GitHub。

⚡ Qoder Workflow: Unified Suite & AI Gateway

Comprehensive, modular framework and high-performance OpenAI-compatible gateway integrating all essential capabilities of the Qoder ecosystem.


🏗️ Unified 5-Stage Architecture

Qoder Workflow seamlessly integrates all functional modules into an end-to-end framework:

┌──────────────────────────────────────────────────────────────────────────────────┐
│                             UNIFIED QODER SUITE                                  │
├──────────────────────────────────────────────────────────────────────────────────┤
│                                                                                  │
│  [Stage 1: Provisioner & Patcher] ──► [Stage 2: Harvester] ──► [Stage 3: Decrypt] │
│  (Auth, SSO & Machine Patcher)        (PAT Generator pt-*)     (AES-CBC Session) │
│                                                                        │         │
│                                                                        ▼         │
│  [Stage 5: OpenAI & Proxy Bridge] ◄── [Stage 4: COSY Claim Engine] ◄───┘         │
│  (REST API & 15 Top Models)           (Activity & Quota Check)                   │
│                                                                                  │
└──────────────────────────────────────────────────────────────────────────────────┘

Module Capabilities

  1. Provisioner & Desktop Patcher (src/provisioner/ & src/patcher/):
    • Multi-platform identity patching (macOS, Windows, Linux) for machine IDs, MAC addresses, and application states.
    • Google Workspace SSO handshake, mail verification flows, and account status initializations.
  2. PAT Harvester (src/harvester/):
    • Automated REST generation of official 64-character Personal Access Tokens (pt-*).
  3. Session Decryptor (src/decryptor/):
    • Isolated sandbox runner for Qoder CLI and cryptographic AES-CBC-128 extraction of .auth/user access tokens (jt-*).
  4. COSY Activity & Claim Engine (src/claimer/):
    • Hardware machine binding (Cosy-MachineToken, Cosy-MachineCode) with dynamic GMT MD5 date-signatures (cosy&war, war never changes&) for quota inspection and activity eligibility scanning.
  5. OpenAI & Anthropic Proxy Gateway (src/gateway/ & src/proxy/):
    • Drop-in HTTP REST API server (/v1/chat/completions & /v1/models) supporting SSE streaming, fallback routing, and native model mappings for 15 top AI architectures.

🎯 Top Models Qoder PAT

Integrated model catalog available through the gateway:

Model IDModel NameUpstream ArchitectureContext WindowCategory / Specialization
qd/autoAutoAuto Dynamic Routing128kDynamic multi-tier routing
qd/ultimateOpus 4.7Claude Opus 4.7200kDeep reasoning & complex architecture
qd/performanceSonnet 4.6Claude Sonnet 4.6200kHigh-speed coding & precision
qd/efficientHaiku 4.5Claude Haiku 4.5128kToken efficiency & lightweight tasks
qd/liteLiteLite Engine64kHigh throughput basic parsing
qd/qmodel_38maxQwen3.8-MaxQwen 3.8 Max128kAdvanced coding & mathematics
qd/qmodel_latestQwen3.7-MaxQwen 3.7 Max128kFlagship coding model
qd/qmodelQwen3.7-PlusQwen 3.7 Plus128kGeneral software engineering
qd/kmodel_latestKimi-K3Moonshot Kimi K3200kLong-context & document analysis
qd/kmodelKimi-K2.7-CodeMoonshot Kimi K2.7 Code128kSyntax & code refactoring
qd/gm51modelGLM-5.2Zhipu GLM-5.2128kAnalytical logic & reasoning
qd/dmodelDeepSeek-V4-ProDeepSeek V4 Pro128kComplex algorithms & deep logic
qd/dfmodelDeepSeek-V4-FlashDeepSeek V4 Flash64kLow-latency response generation
qd/mmodelMiniMax-M3MiniMax M3128kNatural language dialogue & writing
qd/cmodelFable 5Fable 5128kTechnical writing & synthesis

📂 Repository Structure

qoder-workflow/
├── config/
│   ├── config.example.toml     # Engine TOML Configuration
│   ├── config.example.json     # Engine JSON Configuration
│   └── models.json             # 15 Top Models Catalog Definition
├── src/
│   ├── provisioner/            # Provisioning & SSO Handshake
│   ├── harvester/              # PAT Token Harvester API
│   ├── patcher/                # Multi-Platform Identity Patcher
│   ├── decryptor/              # AES-CBC CLI Session Decryptor
│   ├── claimer/                # COSY Signature & Claim Engine
│   ├── proxy/                  # OpenAI Model Router & Fallback
│   └── gateway/                # OpenAI REST API HTTP Server
├── test/
│   ├── test_decrypt.py         # Unit tests for AES decryption
│   ├── test_cosy_sign.py       # Unit tests for COSY MD5 signature
│   ├── test_patcher_router.py  # Unit tests for Patcher & Model Router
│   └── test_gateway.js         # Integration tests for OpenAI Gateway
├── main.py                     # Unified CLI Orchestrator
├── package.json                # Node.js Package Specification
├── README.md                   # Complete Documentation
└── LICENSE                     # MIT License

🚀 Quick Start

1. Launch OpenAI-Compatible API Gateway

git clone https://github.com/d4ncboz/qoder-workflow.git
cd qoder-workflow
npm start

The gateway starts listening on http://localhost:20240.

2. Test Model Routing via cURL

curl http://localhost:20240/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qd/ultimate",
    "messages": [
      {"role": "user", "content": "Hello world"}
    ],
    "stream": false
  }'

3. Run Verification & State Patcher via CLI

# Verify PAT & Check Live Quota
python3 main.py --action verify-pat --pat "pt-..."

# Scan Activity Eligibility
python3 main.py --action scan-eligibility --pat "pt-..."

🤝 Community & Support

  • Community discussions, project updates, and ecosystem releases: BOZDROP CRYPTO.
  • Support independent open-source development via SAWERIA.

📄 License

Licensed under the MIT License © 2026 D4NNBOZ.

Official distribution

获取与安装

暂未发现可确认的官方软件包地址

当前 README 快照没有出现 npm、PyPI、Crates.io、pub.dev 等官方包页链接。本站不会根据仓库名称猜测下载地址。

本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。

使用前核验

本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。