dsh-tiddlywiki 0.1.0 → 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/README.md +36 -7
- package/package.json +17 -1
package/README.md
CHANGED
|
@@ -10,6 +10,14 @@ between machines through **dsh-market**.
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
## 为什么做这个(初衷)
|
|
14
|
+
|
|
15
|
+
等 agent 干活的时候,人常是干坐着的——想随手写点什么,又不想切来切去:开个便签、再切到笔记软件、再切回来,思路早断了。市面上没找到一款专门给这种「陪跑式摸鱼」用的 DSH 插件;去联动别的笔记软件,又总觉得隔了一层、动静太大。
|
|
16
|
+
|
|
17
|
+
TiddlyWiki 的特性正好合适:单文件、纯文本、wiki 语法、自带 git 同步,天生适合**随手写点小东西**。于是把它做成 DSH 的原生插件——不用离开当前界面,聊天区右下角就有个快速笔记,想写就写;要正经编辑,弹出 TW 原生编辑器;写下的东西自动进 git,既是知识库也是备份。
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
13
21
|
## 它能做什么
|
|
14
22
|
|
|
15
23
|
| 能力 | 说明 |
|
|
@@ -22,18 +30,39 @@ between machines through **dsh-market**.
|
|
|
22
30
|
|
|
23
31
|
## 安装
|
|
24
32
|
|
|
33
|
+
插件随 dsh 插件系统安装,三种方式任选(装完**重启 dsh web** 生效;把 `--profile web` 换成你自己的 profile 名):
|
|
34
|
+
|
|
25
35
|
```bash
|
|
26
|
-
#
|
|
27
|
-
dsh plugin --profile web add
|
|
36
|
+
# ① npm 发布包(推荐)
|
|
37
|
+
dsh plugin --profile web add dsh-tiddlywiki
|
|
38
|
+
|
|
39
|
+
# ② 直接从 GitHub 安装(需要 git;仓库已含预构建的 lib,开箱即用)
|
|
40
|
+
dsh plugin --profile web add github:bbqisbbq/dsh-tiddlywiki
|
|
28
41
|
|
|
29
|
-
#
|
|
42
|
+
# ③ 本地开发 / 改源码(link 方式:改完 src 后 npm run build 即生效,免重装)
|
|
43
|
+
dsh plugin --profile web add link:C:\Users\bbq\.dsh\plugins\dsh-tiddlywiki
|
|
30
44
|
```
|
|
31
45
|
|
|
32
|
-
|
|
46
|
+
首次启动会向 wiki **幂等写入**一篇「dsh-tiddlywiki 插件说明」笔记(tag `docs`)。
|
|
33
47
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
48
|
+
## 发布 / 仓库
|
|
49
|
+
|
|
50
|
+
- **GitHub(公开)**:https://github.com/bbqisbbq/dsh-tiddlywiki
|
|
51
|
+
- **npm**:`dsh-tiddlywiki`(`npm i dsh-tiddlywiki`;https://www.npmjs.com/package/dsh-tiddlywiki )
|
|
52
|
+
- **说明笔记**:插件在首次启动时向 wiki **幂等写入**一篇「`dsh-tiddlywiki 插件说明`」笔记(tag `docs`)——不存在才写、手动编辑不被覆盖、删除后重启会重建;当前 live wiki 里已有一份。
|
|
53
|
+
|
|
54
|
+
## 可被检索的标准字段
|
|
55
|
+
|
|
56
|
+
为方便 GitHub / npm / 搜索引擎发现,包与仓库带以下标准元数据:
|
|
57
|
+
|
|
58
|
+
| 字段 | 值 |
|
|
59
|
+
|---|---|
|
|
60
|
+
| npm 包名 | `dsh-tiddlywiki` |
|
|
61
|
+
| npm `keywords` | `dsh` `dsh-plugin` `tiddlywiki` `knowledge-base` `note-taking` `notes` `wiki` `git-sync` `agent-tools` `plugin` |
|
|
62
|
+
| GitHub topics | `dsh` `dsh-plugin` `tiddlywiki` `knowledge-base` `note-taking` `wiki` `agent` |
|
|
63
|
+
| `description` | 见 package.json(一句话说明插件的用途) |
|
|
64
|
+
| `license` | MIT |
|
|
65
|
+
| `homepage` / `repository` / `bugs` | 均指向 https://github.com/bbqisbbq/dsh-tiddlywiki |
|
|
37
66
|
|
|
38
67
|
## 配置
|
|
39
68
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tiddlywiki",
|
|
3
3
|
"description": "TiddlyWiki 5 as the DSH persistent knowledge base: tiddlywiki_* agent tools (search/get/put/delete + git sync), a full TiddlyWiki editor embedded in the GUI center column, a floating quick-note widget in the chat area, and git-based sync with auto-commit. Mounts via the official dsh plugin system — no DSH source changes.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"dsh",
|
|
8
|
+
"dsh-plugin",
|
|
9
|
+
"tiddlywiki",
|
|
10
|
+
"knowledge-base",
|
|
11
|
+
"note-taking",
|
|
12
|
+
"notes",
|
|
13
|
+
"wiki",
|
|
14
|
+
"git-sync",
|
|
15
|
+
"agent-tools",
|
|
16
|
+
"plugin"
|
|
17
|
+
],
|
|
18
|
+
"author": {
|
|
19
|
+
"name": "bbqisbbq",
|
|
20
|
+
"url": "https://github.com/bbqisbbq"
|
|
21
|
+
},
|
|
6
22
|
"main": "lib/index.js",
|
|
7
23
|
"exports": {
|
|
8
24
|
".": "./lib/index.js",
|