lobehub/.agents/skills
Arvin Xu d581937196
feat(cc): account card, topic filter, and CC integration polish (#13955)
* 💄 style(error): refine error page layout and stack panel

Replace Collapse with Accordion for a clickable full-row header, move
stack below action buttons as a secondary branch, and wrap in a Block
that softens to filled when collapsed and outlined when expanded.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 💄 style(cc): boost topic loading ring contrast in light mode

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 💄 style(error): reload page on retry instead of no-op navigate

The retry button called navigate(resetPath) which often landed on the
same path and re-triggered the same error, feeling broken. Switch to
window.location.reload() so the error page actually recovers, and drop
the now-unused resetPath prop across route configs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 🐛 fix(cc-agent): send prompt via stdin stream-json to avoid CLI arg parsing

Previously the Claude Code prompt was appended as a positional CLI arg,
so any prompt starting with `-` / `--` (dashes, 破折号) got
misinterpreted as a flag by the CC CLI's argparser.

Switch the claude-code preset to `--input-format stream-json` and write
the prompt as a newline-delimited JSON user message on stdin for all
messages (not just image-attached ones). Unifies the image and text
paths and paves the way for LOBE-7346 Phase 2 (persistent process +
native queue/interrupt).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ♻️ refactor(cc): extract per-tool inspectors into Inspector/ folder

Mirrors the Inspector/<Tool>/index.tsx convention used by builtin-tool-skills,
builtin-tool-skill-store, and builtin-tool-activator.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ♻️ refactor(cc): flatten Inspector/ to per-tool tsx files

Drop the per-tool subfolder wrapper (Inspector/Edit/index.tsx → Inspector/Edit.tsx)
since each tool is a single file — no co-located assets to justify the folder.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

*  feat(topic): add filter with By project grouping and sort-by option

Split the legacy topicDisplayMode enum into independent topicGroupMode
(byTime / byProject / flat) and topicSortBy (createdAt / updatedAt), and
surface them from a new sidebar Filter dropdown. Adds groupTopicsByProject
so topics can be grouped by their workingDirectory, with favorites pinned
and the "no project" bucket placed last.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

*  feat(cc): show Claude Code account and subscription on profile

Add a getClaudeAuthStatus IPC that shells out to claude auth status --json,
and render the returned email + subscription tag on the CC Status Card.
The auth fetch runs independently of tool detection so a failure can't
flip the CLI card to unavailable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 💄 style(home): show running spinner badge on agent/inbox avatars

Replace NavItem's generic loading state with a bottom-right spinner badge
on the avatar, so a running agent stays clearly labelled without hiding
the avatar. Inbox entries switch to per-agent isAgentRunning so only the
actively running inbox shows the badge.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 💄 style(cc): default-expand Edit and Write tool renderers

Add ClaudeCodeApiName.Edit and Write to ClaudeCodeRenderDisplayControls
so their inspectors render expanded by default, matching TodoWrite.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 🔧 chore(cc): drop default system prompt when creating Claude Code agent

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Update avatar URL for Claude Code

*  test(workflow-collapse): stub ShikiLobeTheme on @lobehub/ui mock

@lobehub/editor's init code reads ShikiLobeTheme from @lobehub/ui, which
some transitive import pulls in during the test. Add the stub to match
the pattern used in WorkingSidebar/index.test.tsx.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 🐛 fix(cc): fall back to Desktop path instead of `/` when no cwd is set

- Selector prefers desktopPath over homePath before it resolves nothing,
  so the renderer always forwards a sensible cwd.
- Main-process spawn mirrors the same fallback with app.getPath('desktop'),
  covering cases where Electron is launched from Finder (parent cwd is `/`).

Fixes LOBE-7354

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 🐛 fix(topic): use remote app origin for topic copy link

Desktop 下 window.location.origin 是 app://renderer,复制出来的链接无法分享。
改用 useAppOrigin(),与分享链接保持一致(web 用 window.location.origin,
desktop 用 electron store 的 remoteServerUrl)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 21:58:50 +08:00
..
add-provider-doc 🔨 chore: improve version sync (#12422) 2026-02-22 01:09:23 +08:00
add-setting-env ♻️ refactor: migrate AI Rules to Claude Code Skills (#11737) 2026-01-23 22:30:18 +08:00
agent-tracing 🐛 fix: fix agent runtime error handle (#12834) 2026-03-09 12:24:13 +08:00
bot feat: support multi media and multiple connection mode (#13624) 2026-04-09 14:16:03 +08:00
chat-sdk feat: support Discord IM bot intergration (#12517) 2026-03-01 19:54:38 +08:00
cli 🐛 fix: fix anthropic claude model max window tokens (#13206) 2026-03-23 23:01:31 +08:00
cli-backend-testing 🔨 chore: support nested subtask tree in task.detail (#13625) 2026-04-08 12:49:26 +08:00
code-review 💄 style(proxy-settings): sticky pill SaveBar + instant enable toggle (#13821) 2026-04-15 00:05:00 +08:00
data-fetching feat: support agent benchmark (#12355) 2026-02-21 20:36:40 +08:00
db-migrations 🐛 fix: fix anthropic claude model max window tokens (#13206) 2026-03-23 23:01:31 +08:00
debug ♻️ refactor: migrate AI Rules to Claude Code Skills (#11737) 2026-01-23 22:30:18 +08:00
desktop 🔨 chore: improve version sync (#12422) 2026-02-22 01:09:23 +08:00
docs-changelog 📝 docs: update release changelog skills (#13899) 2026-04-16 23:14:00 +08:00
drizzle 🔨 chore: remove dead eslint disable comments for deleted rules (#12597) 2026-03-02 23:18:01 +08:00
hotkey 🔧 chore: update eslint v2 configuration and suppressions (#12133) 2026-02-11 13:04:48 +08:00
i18n feat(ci): add Claude PR auto-assign reviewer workflow (#13120) 2026-03-19 16:13:01 +08:00
linear feat: enhance linear skill with image extraction and in-progress status (#13629) 2026-04-08 10:58:07 +08:00
local-testing feat: promote agent documents as primary workspace panel (#13924) 2026-04-17 23:04:59 +08:00
microcopy 📝 docs: Polishing and improving product documentation (#12612) 2026-03-03 16:01:41 +08:00
modal feat(document): add history management and compare workflow (#13725) 2026-04-16 23:24:28 +08:00
pr 🔨 chore: fix skill frontmatter key to use kebab-case (#13730) 2026-04-11 15:53:02 +08:00
project-overview 📝 docs: update documents (#12982) 2026-03-14 22:06:09 +08:00
react feat(cc): account card, topic filter, and CC integration polish (#13955) 2026-04-18 21:58:50 +08:00
response-compliance 🔨 chore: add Response API support (#12918) 2026-03-12 10:39:08 +08:00
spa-routes 🐛 fix(desktop): add missing Stats and Creds tabs to Electron componentMap (#13243) 2026-03-25 16:27:37 +08:00
store-data-structures feat: support agent benchmark (#12355) 2026-02-21 20:36:40 +08:00
testing feat: support use remote device in IM integration (#12798) 2026-03-09 01:17:56 +08:00
trpc-router 🐛 fix: fix anthropic claude model max window tokens (#13206) 2026-03-23 23:01:31 +08:00
typescript feat: add request trigger tracking, embeddings billing hooks, and memory extraction userId fix (#13061) 2026-03-17 20:54:28 +08:00
upstash-workflow 🐛 fix: improve crawler error handling and timeout cancellation (#12487) 2026-02-26 22:59:10 +08:00
version-release 📝 docs: update release changelog skills (#13899) 2026-04-16 23:14:00 +08:00
zustand ♻️ refactor: remove legacy messageLoadingIds from chat store (#13662) 2026-04-08 21:54:11 +08:00