winter-super-cli 2026.6.10 → 2026.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +154 -76
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,17 +2,16 @@
2
2
 
3
3
  > **Winter** is a powerful, AI-driven CLI coding assistant designed to supercharge your development workflow directly from the terminal. Inspired by Claude Code and Codex CLI, Winter brings a beautiful Cyberpunk aesthetic, smart session management, autonomous agent capabilities, and 25+ AI tools to your local environment.
4
4
  >
5
- > *Winter la mot tro ly lap trinh CLI manh me duoc dieu khien boi AI, giup tang toc quy trinh phat trien truc tiep tu terminal. Lay cam hung tu Claude Code va Codex CLI, Winter mang den giao dien Cyberpunk dep mat, quan ly phien lam viec thong minh, kha nang agent tu tri, va hon 25 cong cu AI.*
5
+ > *Winter một trợ lập trình CLI mạnh mẽ được điều khiển bởi AI, giúp tăng tốc quy trình phát triển trực tiếp từ terminal. Lấy cảm hứng từ Claude Code Codex CLI, Winter mang đến giao diện Cyberpunk đẹp mắt, quản phiên làm việc thông minh, khả năng agent tự trị, hơn 25 công cụ AI.*
6
6
 
7
7
  ---
8
8
 
9
9
  ## Key Features
10
10
 
11
11
  | Feature | Description |
12
- |---|---|
12
+ |---------|-------------|
13
13
  | **26 AI Tools** | Read, Write, Edit, Bash, Glob, Grep, Notebook, Todo, Scheduler, Agent, MCP & more |
14
14
  | **Multi-Provider** | Anthropic, OpenAI, Ollama, Groq -- with **smart context routing** |
15
- | **26 Tools** | Full parity with Claude Code + extra tools (WebArchive, HtmlEffectiveness, Notebook, Todo, Scheduler, InsertText, StrReplaceAll) |
16
15
  | **Context Router** | Auto-selects best provider per task (Claude for code, OpenAI for docs, Groq for speed, Ollama for privacy) |
17
16
  | **Session Management** | Isolated sessions with persistent memory, plans, and context |
18
17
  | **MCP Support** | Model Context Protocol -- connect VS Code, GitHub, databases & more |
@@ -30,20 +29,22 @@
30
29
  | **Clipboard Integration** | `/paste` command reads clipboard directly |
31
30
  | **Image Support** | Analyze images & screenshots via `/image` |
32
31
  | **Cross-Platform** | Windows, macOS, Linux -- full shell support |
32
+ | **Codebase Index** | Fast semantic search with optional CodeGraph integration |
33
+ | **Embedded Context Corpus** | Built-in knowledge base from 7,900+ embedded documents |
33
34
 
34
35
  ---
35
36
 
36
37
  ## Project Stats
37
38
 
38
39
  | Metric | Value |
39
- |---|---|
40
- | **Total Lines of Code** | ~13,500 |
41
- | **Source Files** | 40+ |
40
+ |--------|-------|
41
+ | **Total Source Files** | 125 |
42
+ | **Source Lines of Code** | 26,080 |
43
+ | **Source Code Size** | ~1 MB |
42
44
  | **Tools** | **26** |
43
- | **Tests** | **213** (all passing) |
44
- | **Exported Symbols** | 78 |
45
- | **AI Providers** | 4 (Anthropic, OpenAI, Ollama, Groq) |
46
45
  | **Slash Commands** | 50+ |
46
+ | **AI Providers** | 4 (Anthropic, OpenAI, Ollama, Groq) |
47
+ | **Bundled Resources** | 8,578 files (design guides, agent docs, karpathy tools, page agents) |
47
48
  | **Node.js** | >= 18.0.0 |
48
49
 
49
50
  ---
@@ -99,7 +100,7 @@ winter chat "explain this" --no-interactive
99
100
  Winter supports **4 AI providers** with automatic context routing:
100
101
 
101
102
  | Provider | Config Key | Default Model | Best For |
102
- |---|---|---|---|
103
+ |----------|------------|---------------|----------|
103
104
  | **Anthropic** | `anthropic` | `claude-sonnet-4-20250514` | Code review, refactoring, debugging |
104
105
  | **OpenAI** | `openai` | `gpt-4-turbo` | Documentation, explanations |
105
106
  | **Ollama** (local) | `ollama` | `llama3` | Privacy, offline use |
@@ -228,7 +229,7 @@ GROQ_API_KEY=gsk-...
228
229
  Winter provides **26 tools** -- fully compatible with Claude Code's tool interface + extras:
229
230
 
230
231
  | # | Tool | Description |
231
- |---|---|---|
232
+ |----|------|-------------|
232
233
  | 1 | **Read** | Read files with line numbers |
233
234
  | 2 | **Write** | Create new files |
234
235
  | 3 | **Edit** | Surgical string replacement (search & replace) |
@@ -272,12 +273,51 @@ Grep tool supports:
272
273
 
273
274
  ---
274
275
 
276
+ ## Bundled Resources
277
+
278
+ Winter ships with **7 integrated resource corpora** (8,578 files total):
279
+
280
+ | Resource | Files | Size | Description |
281
+ |----------|-------|------|-------------|
282
+ | **codex** | 206 | 116 MB | Codex CLI documentation & examples |
283
+ | **page-agent** | 239 | - | Alibaba GUI agent framework |
284
+ | **awesome-design-md** | 142 | 14 MB | 71 design systems (Airbnb, Apple, BMW, Claude, Coinbase, Cursor, Figma...) |
285
+ | **claude** | 795 | 3 MB | Claude Code prompts & patterns |
286
+ | **agents.md** | 62 | 2 MB | Agent documentation & examples |
287
+ | **karpathy-tools** | 2 | 1.3 MB | Karpathy's coding principles (Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution) |
288
+ | **ecc** | 7,932 | - | Embedded Context Corpus - searchable knowledge base |
289
+
290
+ ### Resource Commands
291
+
292
+ ```bash
293
+ # Browse karpathy-tools
294
+ /karpathy
295
+
296
+ # Browse codex resources
297
+ /codex
298
+
299
+ # Browse claude resources
300
+ /claude
301
+
302
+ # Browse agents.md
303
+ /agents
304
+
305
+ # Show all bundled resources
306
+ /resources
307
+
308
+ # Search ECC (Embedded Context Corpus)
309
+ winter ecc search "error handling"
310
+ winter ecc browse skills/error-handling
311
+ ```
312
+
313
+ ---
314
+
275
315
  ## Slash Commands
276
316
 
277
317
  ### Project & Session
278
318
 
279
319
  | Command | Description |
280
- |---|---|
320
+ |---------|-------------|
281
321
  | `/project` | Show/set current project |
282
322
  | `/pwd` | Show current directory |
283
323
  | `/cd <path>` | Change directory |
@@ -288,7 +328,7 @@ Grep tool supports:
288
328
  ### Memory & Plans
289
329
 
290
330
  | Command | Description |
291
- |---|---|
331
+ |---------|-------------|
292
332
  | `/remember <text>` | Store in memory |
293
333
  | `/memories` | Show stored memories |
294
334
  | `/forget [pattern]` | Clear memories |
@@ -301,7 +341,7 @@ Grep tool supports:
301
341
  ### Git & Automation
302
342
 
303
343
  | Command | Description |
304
- |---|---|
344
+ |---------|-------------|
305
345
  | `/commit` | Auto-generate commit message & commit |
306
346
  | `/review` | AI code review on current diff |
307
347
  | `/diff` | Preview git diff |
@@ -316,7 +356,7 @@ Grep tool supports:
316
356
  ### Tool Shortcuts
317
357
 
318
358
  | Command | Description |
319
- |---|---|
359
+ |---------|-------------|
320
360
  | `/read <file>` | Quick file read |
321
361
  | `/write <file>` | Quick file write (via editor) |
322
362
  | `/edit <file>` | Quick file edit |
@@ -329,7 +369,7 @@ Grep tool supports:
329
369
  ### Resources & Design
330
370
 
331
371
  | Command | Description |
332
- |---|---|
372
+ |---------|-------------|
333
373
  | `/codex` | Browse ~/.codex resources |
334
374
  | `/claude` | Browse ~/.claude resources |
335
375
  | `/karpathy` | Browse karpathy-tools |
@@ -340,6 +380,8 @@ Grep tool supports:
340
380
  | `/design add <brand>` | Add design system |
341
381
  | `/design list` | List design systems |
342
382
  | `/design preview <brand>` | Preview design system |
383
+ | `/ecc search <query>` | Search Embedded Context Corpus |
384
+ | `/ecc browse <path>` | Browse ECC section |
343
385
  | `/skill list` | List skills |
344
386
  | `/skill enable <name>` | Enable a skill |
345
387
  | `/skill create <name>` | Create a custom skill |
@@ -349,7 +391,7 @@ Grep tool supports:
349
391
  ### Provider & Config
350
392
 
351
393
  | Command | Description |
352
- |---|---|
394
+ |---------|-------------|
353
395
  | `/provider [name]` | Show/switch provider |
354
396
  | `/providers` | List all providers |
355
397
  | `/model [id]` | Show/set model |
@@ -364,7 +406,7 @@ Grep tool supports:
364
406
  ### Help & Exit
365
407
 
366
408
  | Command | Description |
367
- |---|---|
409
+ |---------|-------------|
368
410
  | `/help` or `/?` | Show help |
369
411
  | `/exit` or `/quit` | Exit Winter |
370
412
 
@@ -415,8 +457,8 @@ Tools with the `mcp__` prefix are automatically routed to the appropriate MCP se
415
457
 
416
458
  ```
417
459
  mcp__vscode__openFile -> VS Code extension server
418
- mcp__github__createPR -> GitHub integration server
419
- mcp__db__query -> Database server
460
+ mcp__github__createPR -> GitHub integration server
461
+ mcp__db__query -> Database server
420
462
  ```
421
463
 
422
464
  ---
@@ -443,7 +485,7 @@ winter session list # List all sessions
443
485
  ### Three-Tier Memory System
444
486
 
445
487
  | Level | Scope | Purpose |
446
- |---|---|---|
488
+ |-------|-------|---------|
447
489
  | **Working Memory** | Current session | Task context, conversation history |
448
490
  | **Project Memory** | Project-wide | Project-specific learnings & rules |
449
491
  | **Long-term Memory** | Cross-project | Reusable patterns & knowledge |
@@ -457,7 +499,7 @@ Winter supports hot-reloadable skills for specialized tasks.
457
499
  ### Built-in Skills
458
500
 
459
501
  | Skill | Description |
460
- |---|---|
502
+ |-------|-------------|
461
503
  | `coding` | Code analysis, generation, review |
462
504
  | `design` | Design system integration |
463
505
  | `debug` | Debugging assistance |
@@ -493,6 +535,31 @@ winter plugin remove <name> # Remove plugin
493
535
 
494
536
  ---
495
537
 
538
+ ## Embedded Context Corpus (ECC)
539
+
540
+ Winter includes a **searchable knowledge base** with 7,932 embedded documents covering:
541
+
542
+ - Error handling patterns
543
+ - Testing strategies
544
+ - Security best practices
545
+ - Performance optimization
546
+ - And more...
547
+
548
+ ### ECC Commands
549
+
550
+ ```bash
551
+ # Search the corpus
552
+ winter ecc search "error handling"
553
+ winter ecc search "async await best practices"
554
+
555
+ # Browse sections
556
+ winter ecc browse skills
557
+ winter ecc browse skills/error-handling
558
+ winter ecc browse testing/patterns
559
+ ```
560
+
561
+ ---
562
+
496
563
  ## Architecture
497
564
 
498
565
  ```
@@ -502,52 +569,69 @@ winter/
502
569
  |- src/
503
570
  | |- agent/
504
571
  | | - swe-agent.js # SWE-agent integration
572
+ | | - runtime.js # Agent runtime
573
+ | | - agent-definitions.js
505
574
  | |- ai/
506
575
  | | - providers.js # AI provider management + streaming
576
+ | | - orchestrator.js # AI orchestration
577
+ | | - reasoning.js # Reasoning patterns
578
+ | | - small-model-amplifier.js
579
+ | | - workflow-selector.js
507
580
  | |- cache/
508
- | | - system.js # Caching layer
581
+ | | - system.js # Caching layer
582
+ | | - embeddings.js # Embedding cache
509
583
  | |- cli/
510
- | | - commands.js # CLI command parser (50+ commands)
511
- | | - config.js # Config loader + secret management
512
- | | - conversation-format.js # Utility functions
513
- | | - markdown-format.js # Markdown rendering
514
- | | - prompt-builder.js # System prompt assembly
515
- | | - repl-commands.js # Slash command handlers (extracted)
516
- | | - repl.js # Interactive REPL loop
517
- | | - secret-env.js # Env file loader + redaction
518
- | | - slash-commands.js # Command definitions
519
- | | - snowflake-logo.js # Cyberpunk UI branding
520
- | | - spinner.js # Terminal spinner
521
- | | - terminal-ui.js # Terminal rendering utilities
584
+ | | - commands.js # CLI command parser (50+ commands)
585
+ | | - config.js # Config loader + secret management
586
+ | | - conversation-format.js
587
+ | | - markdown-format.js
588
+ | | - prompt-builder.js
589
+ | | - repl-commands.js
590
+ | | - repl.js # Interactive REPL loop
591
+ | | - secret-env.js # Env file loader + redaction
592
+ | | - slash-commands.js
593
+ | | - snowflake-logo.js # Cyberpunk UI branding
594
+ | | - spinner.js
595
+ | | - terminal-ui.js
596
+ | | - context-loader.js # Resource loading
597
+ | | - ecc.js # Embedded Context Corpus
598
+ | | - codebase-index/ # Fast semantic search
522
599
  | |- context/
523
- | | - compress.js # Conversation compression
524
- | | - router.js # Smart provider routing
600
+ | | - compress.js # Conversation compression
601
+ | | - router.js # Smart provider routing
602
+ | | - resource-loader.js
525
603
  | |- design/
526
- | | - commands.js # Design system commands
604
+ | | - commands.js # Design system commands
527
605
  | |- mcp/
528
- | | - client.js # MCP client
529
- | | - protocol.js # MCP protocol implementation
606
+ | | - client.js # MCP client
607
+ | | - protocol.js # MCP protocol implementation
530
608
  | |- plugins/
531
- | | - manager.js # Plugin manager
609
+ | | - manager.js # Plugin manager
532
610
  | |- session/
533
- | | - manager.js # Session manager
611
+ | | - manager.js # Session manager
534
612
  | |- skills/
535
- | | - manager.js # Skills manager
613
+ | | - manager.js # Skills manager
536
614
  | - tools/
537
- | - executor.js # Tool executor (25 tools)
538
- | - notebook.js # Jupyter notebook tools
539
- | - todo.js # Todo tools
540
- | - scheduler.js # Schedule wakeup tool
541
- | - interactive.js # Ask user tool
542
- | - agent.js # Sub-agent tool
543
- | - insert-text.js # Insert text tool
615
+ | - executor.js # Tool executor (25 tools)
616
+ | - notebook.js # Jupyter notebook tools
617
+ | - todo.js # Todo tools
618
+ | - scheduler.js # Schedule wakeup tool
619
+ | - interactive.js # Ask user tool
620
+ | - agent.js # Sub-agent tool
621
+ | - insert-text.js # Insert text tool
544
622
  | - str-replace-all.js # Batch replace tool
545
- | - web-archive.js # Web archive tool
546
- | - permission.js # Permission manager
547
- | - analytics.js # Tool usage tracking
548
- | - retry.js # Retry utility
623
+ | - web-archive.js # Web archive tool
624
+ | - permission.js # Permission manager
625
+ |- resources/local/
626
+ | |- codex/ # Codex CLI resources (206 files)
627
+ | |- page-agent/ # GUI automation (239 files)
628
+ | |- awesome-design-md/ # Design systems (142 files)
629
+ | |- claude/ # Claude patterns (795 files)
630
+ | |- agents.md/ # Agent docs (62 files)
631
+ | |- karpathy-tools/ # Coding principles (2 files)
632
+ | |- ecc/ # Embedded Context Corpus (7,932 files)
549
633
  |- README.md
550
- |- WINTER.md # Project rules for AI
634
+ |- WINTER.md # Project rules for AI
551
635
  |- package.json
552
636
  ```
553
637
 
@@ -555,17 +639,17 @@ winter/
555
639
 
556
640
  ## Core Philosophy
557
641
 
558
- Winter operates on three core principles:
642
+ Winter operates on **four core principles**:
559
643
 
560
644
  ### 1. Think Before Coding
561
- *Nghi truoc khi code*
645
+ *Nghi trước khi code*
562
646
 
563
647
  - State assumptions explicitly. If uncertain, ask.
564
648
  - Surface tradeoffs and alternatives -- don't pick silently.
565
649
  - If a simpler approach exists, say so. Push back when warranted.
566
650
 
567
651
  ### 2. Simplicity First
568
- *Don gian la tren het*
652
+ *Đơn giản trên hết*
569
653
 
570
654
  - Minimum code that solves the problem. Nothing speculative.
571
655
  - No features beyond what was asked.
@@ -573,13 +657,22 @@ Winter operates on three core principles:
573
657
  - No error handling for impossible scenarios.
574
658
 
575
659
  ### 3. Surgical Changes
576
- *Sua doi chinh xac*
660
+ *Sửa đổi chính xác*
577
661
 
578
662
  - Touch only what you must. Clean up only your own mess.
579
663
  - Don't "improve" adjacent code, comments, or formatting.
580
664
  - Don't refactor things that aren't broken.
581
665
  - Match existing style, even if you'd do it differently.
582
666
 
667
+ ### 4. Goal-Driven Execution
668
+ *Thực thi theo mục tiêu*
669
+
670
+ - Define success criteria clearly.
671
+ - Loop until verified -- don't claim completion without tool results.
672
+ - Verify each step with the closest command available.
673
+
674
+ > *These principles are integrated from [Karpathy Tools](resources/local/karpathy-tools/CLAUDE.md) and applied throughout Winter's operation.*
675
+
583
676
  ---
584
677
 
585
678
  ## Streaming & Real-time
@@ -600,7 +693,7 @@ User input -> REPL -> collectAssistantStream()
600
693
  ## Cross-Platform Support
601
694
 
602
695
  | Platform | Shell Support | Status |
603
- |---|---|---|
696
+ |----------|----------------|--------|
604
697
  | **Windows** | cmd, PowerShell, Git Bash | Full support |
605
698
  | **macOS** | zsh, bash | Full support |
606
699
  | **Linux** | bash, sh, zsh | Full support |
@@ -611,21 +704,6 @@ Winter auto-detects your platform and shell:
611
704
 
612
705
  ---
613
706
 
614
- ## Testing
615
-
616
- ```bash
617
- # Run all tests (213)
618
- npm test
619
-
620
- # Run specific test file
621
- node --test src/tools/executor.test.js
622
-
623
- # Run tests with watch mode
624
- node --test --watch src/**/*.test.js
625
- ```
626
-
627
- ---
628
-
629
707
  ## License
630
708
 
631
709
  MIT License -- see [LICENSE](LICENSE) for details.
@@ -638,4 +716,4 @@ MIT License -- see [LICENSE](LICENSE) for details.
638
716
 
639
717
  ---
640
718
 
641
- *Built with care -- Winter is the AI assistant that never sleeps.*
719
+ *Built with care -- Winter is the AI assistant that never sleeps.*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "winter-super-cli",
3
- "version": "2026.6.10",
3
+ "version": "2026.6.12",
4
4
  "description": "❄️ AI-Powered Development CLI with Interactive REPL",
5
5
  "type": "module",
6
6
  "main": "bin/winter.js",