dshbase

插件目录 / Developer / dsh-idea-jar

dsh-idea-jar

已验证 · 实测可装 wanghaonan3333-web

✓ 持续维护 基于 6 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-18最近推送
跨平台平台

功能简介

A floating, persistent creative idea jar for DeepSeek Harness Web.

✅
我们的评价
可用 — 实测通过,早期项目

A floating, persistent creative idea jar for DeepSeek Harness Web. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

Idea Jar for DeepSeek Harness

English | 中文

Idea Jar is a floating creative tool for DeepSeek Harness Web. Click the transparent jar to generate one idea, then keep useful results as colored paper notes inside the jar.

Features

  • Generates general-purpose creative ideas with the currently configured DSH default model.
  • Accepts an optional follow-up requirement after the first result; Enter generates again.
  • Generates up to three candidates at once; "换一个" regenerates with the same requirement.
  • Shows saved ideas as status-colored folded notes inside a transparent jar.
  • Supports expand, edit, copy, AI optimization, delete, status changes, filtering, and undo for delete/optimize.
  • Expands a favorite into an executable next-step breakdown (goal, first action, materials).
  • Optionally sends a favorite to a new session as an executable prompt (off by default).
  • Exports favorites to JSON or Markdown and imports JSON or the legacy dynamic-plugin backup.
  • Persists favorites through the DSH Settings idea-jar namespace across page reloads, plugin updates, and DSH restarts.

Install

npm (recommended)

After the package is published:

dsh plugin --profile web add dsh-idea-jar

Restart dsh web, then refresh the browser page.

GitHub source

dsh plugin --profile web add github:wanghaonan3333-web/dsh-idea-jar

GitHub installation runs the package prepare build. pnpm 10 and newer block dependency builds by default. Review the source, add the exact package key printed by the CLI to the profile's pnpm-workspace.yaml allowBuilds, and retry the installation.

GitHub Release tarball

The prebuilt release avoids dependency-build approval:

dsh plugin --profile web add "https://github.com/wanghaonan3333-web/dsh-idea-jar/releases/latest/download/dsh-idea-jar-0.3.1.tgz"

Usage

  1. Click the transparent jar in the lower-right corner.
  2. Favorite a generated idea with the star in its bubble.
  3. Use "换一个" to regenerate or "来三条" to generate three candidates at once.
  4. Open the library with the star button attached to the jar.
  5. Edit, copy, optimize, expand, delete, or assign a status from each paper card.
  6. Export or import from the toolbar at the top of the library.

Copy writes category|idea to the system clipboard and reports browser permission failures on the card.

Next steps and new session

  • 下一步 expands a favorite into an executable breakdown: a one-line goal, the first action, and the materials or tools you need. The result is shown inline and can be copied; it is generated on demand and not persisted.
  • 新会话 copies the favorite as an executable prompt and opens a new blank session through the DSH workspaces service; paste the copied prompt to start. It is hidden unless enableNewSession is set to true.

Import and export

  • Export JSON produces the canonical backup: full fidelity with status, re-importable on any machine.
  • Export Markdown produces a human-readable list for sharing; it is read-only and not re-imported.
  • Import accepts the plugin's own JSON backup (bare array or { "favorites": [...] }) and the legacy dynamic-plugin .idea-jar-favorites.txt (tab-separated, base64-encoded category and idea).
  • Deleting or optimizing a favorite shows a short-lived "撤销" toast that restores the previous state.

Configuration

Override the complete idea-jar row config in the profile's cordis.patch.yml:

- id: idea-jar
  config:
    maxFavorites: 200
    maxRequestChars: 2000
    maxIdeaChars: 1000
    maxTokens: 320
    maxBatch: 3
    enableNewSession: false
Field Default Purpose
maxFavorites 200 Maximum saved favorites.
maxRequestChars 2000 Maximum extra-requirement length.
maxIdeaChars 1000 Maximum saved idea length.
maxTokens 320 Output-token cap for generation, optimization, and expansion.
maxBatch 3 Maximum candidates per generation request.
enableNewSession false Show the "新会话" action that opens a new session with the idea as a prompt.

Data and permissions

  • Favorites live in the idea-jar section of $DSH_HOME/settings.yaml; the plugin creates no project-local data file.
  • Generation and optimization use the configured DSH default model and its existing credentials.
  • The Host registers the same-origin POST endpoint /idea-jar/api; cross-site requests are rejected and bodies are capped at 2 MiB.
  • The Client invokes the browser Clipboard API only after a copy click.
  • The plugin contains no telemetry, advertising, or third-party analytics.

Development

Node.js 22.19 or newer is required.

npm install
npm run check

Install the checkout into a Web profile:

dsh plugin --profile web add ./dsh-idea-jar
dsh --profile web --dump-config

The composed output should contain the idea-jar row.

Publishing

  1. Replace every wanghaonan3333-web placeholder in the project with the real GitHub owner.
  2. Create a public GitHub repository and add the dsh-plugin topic.
  3. Run npm run check and npm pack --dry-run.
  4. Prefer npm publish --access public so installs use prebuilt artifacts.
  5. After the repository is at least one day old and has at least 10 commits, submit the entry in community/awesome-entry.yml to awesome-dsh-plugin/awesome-dsh-plugin.

Model experience

Generation and optimization are independent auxiliary model requests and do not enter the active chat session. The plugin sends one requirement or saved idea to the current default model and requests only category|idea. Each call requests at most maxTokens output tokens. Changes to the requirement, saved idea, default model, or system prompt change the independent request prefix.

Known limitations

  • Settings persistence is local to one DSH installation and does not synchronize across devices.
  • Clipboard access depends on browser permission and a trusted local context.
  • The plugin targets the web profile and provides no headless UI.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-idea-jar」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:wanghaonan3333-web/dsh-idea-jar

Headless(CLI)profile:

dsh plugin --profile headless add github:wanghaonan3333-web/dsh-idea-jar

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →