Skip to content

Releases: creativedswork/dscode

v0.2.5

Choose a tag to compare

@wangcan26 wangcan26 released this 14 Jul 15:58
e9c0bfe
Merge pull request #7 from creativedswork/feat/v0.2.5

 feat: v0.2.5 — Session Dashboard, Cascade Animation, Edit Resilience & Custom  Commands

v0.2.4

Choose a tag to compare

@wangcan26 wangcan26 released this 27 Jun 13:38
5c2a7d8
Merge pull request #6 from creativedswork/optimize/tui

optimize/tui: TUI streaming scrollback fix + per-turn token/cost stats

v0.2.3: feat: add context window usage bar with session-switch

Choose a tag to compare

@wangcan26 wangcan26 released this 20 Jun 16:20
   refresh

   Sync & archive context-window-usage-bar +
   fix-context-window-refresh-on-session-switch.

   - Add ContextWindowBar component in header center with
   token breakdown bar
   - Add `context_window` WebSocket event with throttled
   broadcast (500ms)
   - Persist bar update on saved session load (fix missing
   refresh on switch)
   - 8 color-coded categories: system, user, thinking, file
   read/edit, terminal, browser, other
   - Hover tooltip with per-category breakdown, minimum 2px
   segment width
   - Responsive: hidden below 768px

v0.2.2

Choose a tag to compare

@wangcan26 wangcan26 released this 16 Jun 19:13
feat(ui): display session timestamps in local time instead of UTC

   Replace toISOString() slicing with fmtLocalDate/fmtLocalTime/fmtLocalDateTime
   helpers so /sessions and /session commands show human-readable local times.

v0.2.1

Choose a tag to compare

@wangcan26 wangcan26 released this 11 Jun 10:11
feat(permissions): fuzzy pattern matching for tool permissions

   Add fuzzy/glob pattern support to the permission system, allowing users
   to grant broad patterns (e.g. "mcp__playcanvas__*", "git.*", "/src/*")
   instead of only exact tool+args matches.

   Core changes:
   - `deriveFuzzyPattern()` — auto-derives glob from tool name structure
     (MCP: mcp__<server>__*, non-MCP: tool name itself)
   - `deriveFuzzyArgPattern()` — derives regex from args
     (bash: first-word prefix, file tools: directory prefix)
   - `describeFuzzyArgPattern()` — human-readable version for UI display
   - Three-tier save in TUI/Web: exact / fuzzy tool / fuzzy args
   - Session grants extended with glob matching (sessionGrantPatterns)
   - All three permission levels (Allow/Always Allow/Save) support fuzzy

   LLM supplement:
   - `prefetchLlmSuggestions()` — async fire-and-forget LLM call to derive
     smarter patterns (e.g. "git push.*" vs "git.*"), cached per session
   - Results appear as [AI] options on subsequent prompts for same tool

   Bug fixes:
   - TUI sub-menu Escape now cancels sub-mode instead of denying
   - Sub-menu arrow navigation debounced (120ms) to prevent double-jumps
   - Web UI sub-menu pattern consistent with TUI (expand-on-click)

   Files:
   - src/permissions/fuzzy.ts, fuzzy-llm.ts (new)
   - src/permissions/manager.ts (session grants + glob, persistRule override)
   - src/ui/conversation.ts (sub-menu state machine, LLM option rendering)
   - src/ui/tui-app.ts (three-tier save, session grant options)
   - src/ui/web/web-backend.ts (fuzzy in protocol, LLM prefetch)
   - src/ui/shared/types.ts (PermissionPrompt, ClientCommand, ServerEvent)
   - web/src/components/* (sub-menu UI, LLM suggestions)

v0.2.0

Choose a tag to compare

@wangcan26 wangcan26 released this 10 Jun 06:06
chore(release): rename npm package to @creative-dswork/dscode, reset …

v0.1.5

Choose a tag to compare

@wangcan26 wangcan26 released this 01 Jun 21:35
feat: update version 0.1.5, docs

v0.1.4

Choose a tag to compare

@wangcan26 wangcan26 released this 29 May 17:58
archive(shared-ui-data-model): archive change and sync specs to main

v0.1.3

Choose a tag to compare

@wangcan26 wangcan26 released this 25 May 16:56
fix: run npm install in web/ before build in CI

v0.1.2

Choose a tag to compare

@wangcan26 wangcan26 released this 25 May 16:53
fix: normalize registry URLs in lock files