dsh-work-fish 0.0.0-stage → 0.1.1
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.
- package/LICENSE +21 -0
- package/README.md +76 -2
- package/THIRD-PARTY-NOTICES.md +59 -0
- package/board/client.js +1041 -0
- package/cordis.patch.yml +172 -0
- package/core/approve-paths.mjs +387 -0
- package/core/approve-paths.test.mjs +241 -0
- package/core/approve.mjs +182 -0
- package/core/bootstrap.mjs +185 -0
- package/core/events.mjs +80 -0
- package/core/guard.mjs +155 -0
- package/core/index.mjs +637 -0
- package/core/parse.mjs +310 -0
- package/core/persona.mjs +98 -0
- package/core/report.mjs +370 -0
- package/core/skills.mjs +111 -0
- package/docs/DETAIL.md +1 -0
- package/docs/DETAIL.zh.md +1 -0
- package/docs/preview.webp +0 -0
- package/icon.png +0 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +69 -4
- package/rules/code-rules.md +92 -0
- package/rules/experience-pool.md +59 -0
- package/rules/file-rules.md +134 -0
- package/rules/memory-rules.md +91 -0
- package/rules/task-rules.md +71 -0
- package/skills/code-review/LICENSE +202 -0
- package/skills/code-review/NOTICE.md +75 -0
- package/skills/code-review/SKILL.md +155 -0
- package/skills/code-review/upstream/README.md +258 -0
- package/skills/code-review/upstream/code-review.command.md +110 -0
- package/skills/code-review/upstream/plugin.json +10 -0
- package/skills/code-simplifier/LICENSE +202 -0
- package/skills/code-simplifier/NOTICE.md +72 -0
- package/skills/code-simplifier/SKILL.md +126 -0
- package/skills/code-simplifier/agents/code-simplifier.md +52 -0
- package/skills/code-simplifier/upstream/plugin.json +9 -0
- package/skills/comfyui-h3/SKILL.md +455 -0
- package/skills/comfyui-h3/reference/failures.md +84 -0
- package/skills/comfyui-h3/reference/serial-production.md +173 -0
- package/skills/delete-gate/SKILL.md +48 -0
- package/skills/doc-writing/SKILL.md +152 -0
- package/skills/doc-writing/reference/skeletons.md +81 -0
- package/skills/feature-dev/LICENSE +202 -0
- package/skills/feature-dev/NOTICE.md +67 -0
- package/skills/feature-dev/SKILL.md +181 -0
- package/skills/feature-dev/agents/code-architect.md +34 -0
- package/skills/feature-dev/agents/code-explorer.md +51 -0
- package/skills/feature-dev/agents/code-reviewer.md +46 -0
- package/skills/feature-dev/upstream/README.md +412 -0
- package/skills/feature-dev/upstream/feature-dev.command.md +125 -0
- package/skills/feature-dev/upstream/plugin.json +9 -0
- package/skills/frontend-design/LICENSE.txt +177 -0
- package/skills/frontend-design/SKILL.md +71 -0
- package/skills/git-flow/SKILL.md +80 -0
- package/skills/plan-revision/SKILL.md +54 -0
- package/skills/task-setup/SKILL.md +124 -0
- package/template/AGENTS.template.md +28 -0
- package/template/memory/pool/experience.md +9 -0
- package/template/memory/preferences.md +17 -0
- package/template/memory/projects/README.md +6 -0
- package/template/memory/user-profile.md +33 -0
- package/template/persona-core.md +32 -0
- package/template/persona-user.md +0 -0
- package/template/rules/user-rules.md +20 -0
- package/template/rules-index.md +50 -0
- package/template/tasks/index.md +34 -0
- package/tools/lib/paths.mjs +31 -0
- package/tools/lib/persona.mjs +454 -0
- package/tools/lib/taskboard.mjs +708 -0
- package/tools/wf-audit.cmd +3 -0
- package/tools/wf-audit.ps1 +242 -0
- package/tools/wf-mem.mjs +336 -0
- package/tools/wf-metrics.mjs +601 -0
- package/tools/wf-persona.mjs +337 -0
- package/tools/wf-pool.mjs +250 -0
- package/tools/wf-preview.mjs +240 -0
- package/tools/wf-recent.mjs +168 -0
- package/tools/wf-review.mjs +650 -0
- package/tools/wf-rule.mjs +407 -0
- package/tools/wf-snapshot.mjs +100 -0
- package/tools/wf-spec.mjs +882 -0
- package/tools/wf-task.mjs +298 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 dsh-work-fish contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,77 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Work Fish(大肥鱼)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A standing work assistant for DeepSeek Harness: it takes an assignment, breaks it down, executes, delivers, and keeps its own task board and memory.
|
|
4
|
+
|
|
5
|
+
**Unofficial plugin.** A third-party work, not affiliated with, authorised by, or endorsed by DeepSeek.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
Install entry point: the repository's front page. Hand the assistant on the target machine the
|
|
10
|
+
repository URL and "install this"; it reads the repository's `INSTALL.md` for the procedure and does
|
|
11
|
+
the install itself.
|
|
12
|
+
|
|
13
|
+
From a registry, add the package by name in DSH → **Plugins** → **Add plugin**, or run
|
|
14
|
+
`dsh plugin --profile <profile> add dsh-work-fish`. The same dialog takes a Git address, a tarball,
|
|
15
|
+
or this directory's path.
|
|
16
|
+
|
|
17
|
+
Offline fallback, by hand, three steps:
|
|
18
|
+
|
|
19
|
+
1. Open DSH → plugin page → install bundle → select this directory (the level that holds `package.json`).
|
|
20
|
+
2. Restart DSH, open a new session, pick the preset 「大肥鱼」.
|
|
21
|
+
3. In the first message say 「开始建档」 and answer the six questions.
|
|
22
|
+
|
|
23
|
+
No install script ships with the package on purpose: the agent on that machine reads `INSTALL.md`, edits the profile and runs `dsh plugin install` itself, so the commands match the machine it is actually on.
|
|
24
|
+
|
|
25
|
+
After install the workbench is created at `%USERPROFILE%\.dsh\work-fish` and holds the task board, memory and rules. To keep it elsewhere, point the `WF_HOME` environment variable at the target directory.
|
|
26
|
+
|
|
27
|
+
## The task panel
|
|
28
|
+
|
|
29
|
+
A floating card with four tabs (进行中 / 待办 / 等待 / 今日), a button per row (开始 / 推进 / 完成 / 暂停 / 催一下 / 继续) and an inline composer. Open it from the 「🐋 任务」 button in the conversation header.
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
| You want | Just say |
|
|
34
|
+
|---|---|
|
|
35
|
+
| Something vague | 「帮我搞一下 XX」 — it writes a task card first, then acts |
|
|
36
|
+
| A feature change | 「给 XX 加个 YY」 — reads the code, asks at most two questions, offers two or three options, acts after approval |
|
|
37
|
+
| A concrete chore | 「按这个格式整理成表格,周五前给我」 |
|
|
38
|
+
| An outside project | 「看下 D:\proj\demo,把数据整理成月报」 |
|
|
39
|
+
| Long-running follow-up | 「这个项目你跟进,每周五给我进展」 |
|
|
40
|
+
| Status | 「现在有什么在等我」 |
|
|
41
|
+
| A style change | 「以后汇报都用表格」 — recorded as a preference, no configuration edit |
|
|
42
|
+
| A local H3 video | 「在这台机器上生成一段 H3 视频」 — loads skill `comfyui-h3`, asks which directories to use, then installs only what is missing |
|
|
43
|
+
|
|
44
|
+
## What it does on its own
|
|
45
|
+
|
|
46
|
+
- At start-up it reads the task board and reports only due and overdue items, never the whole board.
|
|
47
|
+
- Every task carries acceptance criteria, a next step and a deadline; a missing deadline is recorded as `未定` (undecided) and settled at the weekly review.
|
|
48
|
+
- Deliverables land in the workbench `out/` and are linked from the board.
|
|
49
|
+
- Say 「关掉节律」 to stop the scheduled reminders at any time.
|
|
50
|
+
- Video generation runs from skill `comfyui-h3`: a machine with no ComfyUI is taken to a rendered MiniMax H3 clip in six phases (two directories agreed with you, comfy-cli and ComfyUI installed, server proved by `/system_stats`, five weights fetched, the bundled graph run, the `.mp4` fetched). The workflow and the weight list ship inside that skill directory.
|
|
51
|
+
|
|
52
|
+
## Auto-approval for project directories
|
|
53
|
+
|
|
54
|
+
Sandbox escalation asks you every time a call reaches outside the session workspace, so working on a project directory means answering a prompt for every write. The `wf-approve` row answers those requests on your behalf when **every** target of the call lies inside a trusted root.
|
|
55
|
+
|
|
56
|
+
- Three kinds of root are trusted by default, with no profile edit: this bundle's own directory (plus the dev checkout that holds it, so `out/` is covered), the workbench directory `%USERPROFILE%\.dsh\work-fish` itself — the board, the rules, the memory and this log live there and it is not a project, so nothing else would cover it — and every project registered in `<WF_HOME>/projects.json`: `{"projects":[{"code":"c34","path":"E:\\C34"}]}`. Adding a project to that file needs no restart; changing where the workbench is does.
|
|
57
|
+
- `write` / `edit` / `apply_patch` / `delete` / `rename` are judged by every file path they declare — `edit` counts its default `file_path`/`path` and each `edits[].path`; `apply_patch` reads both the `*** Update File:` and the `file` / `new` / `remove` / `move … -> …` spellings; `pwsh` / `bash` by every absolute path in the command, with any `..` traversal refused outright. Anything unnamed falls through to the normal prompt.
|
|
58
|
+
- Every verdict — allow or pass — is appended to `<WF_HOME>/auto-approve.log`; a request with no matching pre-execute record is logged as `no pre-execute record for this call` rather than disappearing.
|
|
59
|
+
- A session whose approval policy is `never` is left alone — that policy keeps rejecting.
|
|
60
|
+
|
|
61
|
+
## Data and backup
|
|
62
|
+
|
|
63
|
+
- Everything lives in `%USERPROFILE%\.dsh\work-fish`: `tasks/` the board, `memory/` memory, `rules/` rules, `out/` deliverables, `archive/` archive.
|
|
64
|
+
- Backup is a directory copy; bring it back to the same location on a new machine and work continues.
|
|
65
|
+
- Uninstalling the plugin does **not** delete that directory.
|
|
66
|
+
|
|
67
|
+
## Requirements
|
|
68
|
+
|
|
69
|
+
- DeepSeek Harness 0.2.x
|
|
70
|
+
- Node.js 22 or newer (the runtime bundled with DSH is enough)
|
|
71
|
+
|
|
72
|
+
## Licence
|
|
73
|
+
|
|
74
|
+
MIT — see [`LICENSE`](LICENSE) for this package's own code. Four skills under `skills/`
|
|
75
|
+
(`code-review`, `code-simplifier`, `feature-dev`, `frontend-design`) are Apache-2.0 works by
|
|
76
|
+
Anthropic; their sources, versions, upstream commits and licence files are recorded in
|
|
77
|
+
[`THIRD-PARTY-NOTICES.md`](THIRD-PARTY-NOTICES.md).
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
This package's own code — `core/`, `board/`, `tools/`, `rules/`, `template/`, and the six skills
|
|
4
|
+
that carry no licence file of their own — is released under the MIT licence in [`LICENSE`](LICENSE).
|
|
5
|
+
|
|
6
|
+
Four skills under `skills/` are Apache-2.0 works by Anthropic, redistributed here. Their licence
|
|
7
|
+
text sits beside each skill; this file records where they came from, so the provenance does not
|
|
8
|
+
depend on any README surviving an edit.
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
| Skill | Upstream (within `anthropics/claude-plugins-official`) | Version | Licence | Modified here |
|
|
13
|
+
|---|---|---|---|---|
|
|
14
|
+
| `code-review` | `plugins/code-review` | 1.0.1 | Apache-2.0, © Anthropic | Yes — `skills/code-review/NOTICE.md` |
|
|
15
|
+
| `code-simplifier` | `plugins/code-simplifier` | 1.0.0 | Apache-2.0, © Anthropic | Yes — `skills/code-simplifier/NOTICE.md` |
|
|
16
|
+
| `feature-dev` | `plugins/feature-dev` | 1.0.1 | Apache-2.0, © Anthropic | Yes — `skills/feature-dev/NOTICE.md` |
|
|
17
|
+
| `frontend-design` | `plugins/frontend-design` | 1.1.1 | Apache-2.0, © Anthropic | **No — unmodified copy** |
|
|
18
|
+
|
|
19
|
+
## frontend-design
|
|
20
|
+
|
|
21
|
+
- Source: `anthropics/claude-plugins-official`, path `plugins/frontend-design/skills/frontend-design/`
|
|
22
|
+
- Version 1.1.1, recorded in that plugin's `plugin.json`; authors Prithvi Rajasekaran and
|
|
23
|
+
Alexander Bricken (Anthropic), recorded in that plugin's `README.md`
|
|
24
|
+
- Upstream commit for `SKILL.md`: `44490cccaf6d9f82fdeec9416fbf7c9bd72575dc` (2026-09-01)
|
|
25
|
+
- `skills/frontend-design/SKILL.md` is **byte-for-byte identical** to upstream: 9 390 bytes,
|
|
26
|
+
72 lines, 0 differing lines. Nothing in it was edited, translated or trimmed — which is also why
|
|
27
|
+
no attribution line was added to its header: editing it would have turned it into a derivative
|
|
28
|
+
work requiring a statement of changes. Attribution lives here instead.
|
|
29
|
+
- `skills/frontend-design/LICENSE.txt` (10 174 bytes) is the upstream licence text, carried verbatim
|
|
30
|
+
- Two upstream files are deliberately **not** copied, because this runtime has no use for them:
|
|
31
|
+
the plugin-level `README.md` (which is where upstream records the authors) and
|
|
32
|
+
`.claude-plugin/plugin.json`. The details they carry are reproduced above.
|
|
33
|
+
- Upstream ships no `NOTICE` file, so Apache-2.0 §4(d) adds no obligation for this skill
|
|
34
|
+
|
|
35
|
+
## The other three
|
|
36
|
+
|
|
37
|
+
Each keeps its own `NOTICE.md` — source repository, upstream commit, what is verbatim, and a
|
|
38
|
+
numbered list of every change — plus an `upstream/` folder holding the unedited originals
|
|
39
|
+
(`agents/*.md`, `commands/*.md`, `README.md`, `plugin.json`). Read that NOTICE before editing the
|
|
40
|
+
port; the change list is history, not a summary.
|
|
41
|
+
|
|
42
|
+
## Redistributing
|
|
43
|
+
|
|
44
|
+
1. Keep `LICENSE` and every `skills/*/LICENSE` or `LICENSE.txt` with the package.
|
|
45
|
+
2. Keep this file.
|
|
46
|
+
3. If you edit a ported skill, add the change to its `NOTICE.md`; do not delete the history.
|
|
47
|
+
4. The MIT grant covers this package's own code. Apache-2.0 governs the four skills above.
|
|
48
|
+
Nothing in this package implies endorsement by Anthropic, by DeepSeek, or by any other party;
|
|
49
|
+
this is an unofficial third-party work.
|
|
50
|
+
|
|
51
|
+
## Not distributed — referenced at run time
|
|
52
|
+
|
|
53
|
+
| Component | Licence | Where |
|
|
54
|
+
|---|---|---|
|
|
55
|
+
| ComfyUI (optional, H3 video) | GPL-3.0 | `github.com/comfyanonymous/ComfyUI` |
|
|
56
|
+
| MiniMax H3 weights (downloaded by the user) | See upstream | `comfy.org/minimax/license` |
|
|
57
|
+
|
|
58
|
+
None of these ship inside this package: the `comfyui-h3` skill installs ComfyUI on the user's
|
|
59
|
+
machine, and the model weights are downloaded there rather than bundled.
|