1.23.0 • Published 1 year ago
askds v1.23.0
askds - DeepSeek R1-powered test debugger
askds is a test debugger that helps diagnose test failures using DeepSeek R1. It runs your tests, analyzes failures, and suggests fixes.
Installation
Make sure you have yek installed:
npm install -g askdsBasic Usage
Run tests with AI analysis:
export DEEPSEEK_API_KEY="your-api-key"
askds npm testConfiguration
Set these environment variables to customize behavior:
| Variable | Description | Default |
|---|---|---|
DEEPSEEK_API_KEY | Required API key | - |
Command line options:
| Flag | Description | Default |
|---|---|---|
--test-file-pattern | Glob pattern for test files | **/*.test.ts |
--source-file-pattern | Glob pattern for source files | src/**/*.ts |
--serialize | Repository serialization cmd | yek |
--debug | Enable debug mode | false |
--hide-ui | Hide UI | false |
--system-prompt | Custom system prompt file | - |
--timeout | Timeout for AI response | 120 |
--run | Run this command. when using run test-command-and-args... is ignored | false |
How It Works
- Runs your test command
- Analyzes failures + repo content using Deepseek R1
- Prints the solution/suggestion
Examples
Basic Test Analysis
askai npm testExperimental Fixing
askds --fix npm test--fix uses DeepSeek R1 to fix the code by calling it again with original code and the fix returned from the first call.
1.23.0
1 year ago
1.22.0
1 year ago
1.21.0
1 year ago
1.20.0
1 year ago
1.19.0
1 year ago
1.18.0
1 year ago
1.17.0
1 year ago
1.16.0
1 year ago
1.15.0
1 year ago
1.14.0
1 year ago
1.13.0
1 year ago
1.12.0
1 year ago
1.11.0
1 year ago
1.10.0
1 year ago
1.9.0
1 year ago
1.8.0
1 year ago
1.7.0
1 year ago
1.5.0
1 year ago
1.4.0
1 year ago
1.3.0
1 year ago
1.2.0
1 year ago
1.1.0
1 year ago
1.0.0
1 year ago