Skip to content

Latest commit

 

History

History
109 lines (78 loc) · 2.87 KB

File metadata and controls

109 lines (78 loc) · 2.87 KB

JackCode Demo

This guide gives a fast way to see JackCode in action with the new Qwen-only development path.

Architecture at a glance

  • Qwen 3.6 handles development work: refactors, fixes, test generation, implementation tasks
  • GPT-5.4 remains available for audit and review

Quick start

From the project root:

npm install
npm run build

Demo 1: Simple refactor

node dist/cli/index.js --model qwen-3.6 "Refactor examples/simple-refactor/src/calculator.ts to use proper error handling."

Sample output

JackCode | Model: qwen-3.6
--------------------------------------------------
Session jc-demo123  |  Mode idle  |  Model qwen-3.6  |  Messages 0  |  Pending 0  |  Idle
USER: Refactor examples/simple-refactor/src/calculator.ts to use proper error handling.
ASSISTANT: One-shot mode received: Refactor examples/simple-refactor/src/calculator.ts to use proper error handling.

Demo 2: Add tests

node dist/cli/index.js --model qwen-3.6 "Write tests for examples/add-tests/src/utils.ts, including edge cases."

Sample output

JackCode | Model: qwen-3.6
--------------------------------------------------
USER: Write tests for examples/add-tests/src/utils.ts, including edge cases.
ASSISTANT: One-shot mode received: Write tests for examples/add-tests/src/utils.ts, including edge cases.

Demo 3: Execute mode without approval stays dry-run

node dist/cli/index.js --model qwen-3.6 --execute "Fix examples/fix-bug/src/buggy.ts and explain the bug fixes."

Sample output

Workflow: dry-run
...
Result: approval missing. No files were changed. Re-run with --execute --approve to apply these pending changes.

Demo 4: Approved execute mode applies changes

node dist/cli/index.js --model qwen-3.6 --execute --approve "Fix examples/fix-bug/src/buggy.ts and explain the bug fixes."

Sample output

Workflow: applied
...
Applied changes:
  - examples/fix-bug/src/buggy.ts
Result: applied 1 patch(es) across 1 file(s).

Interactive demo

node dist/cli/index.js chat

Then try:

/model qwen-3.6
/plan Refactor examples/simple-refactor/src/calculator.ts
/execute Fix examples/fix-bug/src/buggy.ts
/execute --approve Fix examples/fix-bug/src/buggy.ts
/review
/status

Example task files

Each demo folder ships with a jackcode-task.json file. These are simple task briefs you can reuse in prompts or tooling.

Where to look next