@joe-broadhead/opencode-plaud 0.0.2 → 0.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joe-broadhead/opencode-plaud",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Unofficial OpenCode plugin for Plaud recordings",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -23,6 +23,7 @@
23
23
  },
24
24
  "files": [
25
25
  "dist",
26
+ "assets/icon.svg",
26
27
  "skills",
27
28
  "README.md",
28
29
  "LICENSE",
@@ -58,5 +59,97 @@
58
59
  "typescript": "5.9.3",
59
60
  "vitest": "5.0.5",
60
61
  "zod": "4.6.7"
62
+ },
63
+ "jelly": {
64
+ "title": "Plaud",
65
+ "summary": "Your Plaud recordings, transcripts and notes.",
66
+ "icon": "assets/icon.svg",
67
+ "tools": [
68
+ {
69
+ "name": "plaud.recent",
70
+ "permission": "plaud_recent",
71
+ "effect": "allow",
72
+ "readOnly": true
73
+ },
74
+ {
75
+ "name": "plaud.list_files",
76
+ "permission": "plaud_list_files",
77
+ "effect": "allow",
78
+ "readOnly": true
79
+ },
80
+ {
81
+ "name": "plaud.get_file",
82
+ "permission": "plaud_get_file",
83
+ "effect": "allow",
84
+ "readOnly": true
85
+ },
86
+ {
87
+ "name": "plaud.get_note",
88
+ "permission": "plaud_get_note",
89
+ "effect": "allow",
90
+ "readOnly": true
91
+ },
92
+ {
93
+ "name": "plaud.get_transcript",
94
+ "permission": "plaud_get_transcript",
95
+ "effect": "allow",
96
+ "readOnly": true
97
+ },
98
+ {
99
+ "name": "plaud.get_current_user",
100
+ "permission": "plaud_get_current_user",
101
+ "effect": "allow",
102
+ "readOnly": true
103
+ },
104
+ {
105
+ "name": "plaud.export",
106
+ "permission": "plaud_export",
107
+ "effect": "ask",
108
+ "readOnly": false
109
+ }
110
+ ],
111
+ "skills": [
112
+ "opencode-plaud",
113
+ "opencode-plaud-export",
114
+ "opencode-plaud-digest"
115
+ ],
116
+ "rpc": [],
117
+ "views": [],
118
+ "signIns": [
119
+ {
120
+ "id": "plaud",
121
+ "label": "Plaud",
122
+ "server": "plaud*"
123
+ }
124
+ ],
125
+ "contributes": {
126
+ "homeFeeds": [
127
+ {
128
+ "id": "plaud.recent",
129
+ "label": "Recent Plaud recordings",
130
+ "description": "Your newest recordings, by title, time and length.",
131
+ "keywords": [
132
+ "plaud",
133
+ "recordings",
134
+ "voice notes"
135
+ ],
136
+ "feed": {
137
+ "title": "Recent recordings",
138
+ "size": "m",
139
+ "template": "list",
140
+ "cadence": 1800,
141
+ "mode": "looking",
142
+ "preview": "desktop-only",
143
+ "tools": [
144
+ "plaud.recent"
145
+ ],
146
+ "script": "return await tools.plaud.recent({});"
147
+ }
148
+ }
149
+ ],
150
+ "homeWidgets": [],
151
+ "workKinds": [],
152
+ "settings": []
153
+ }
61
154
  }
62
155
  }
@@ -5,8 +5,8 @@ description: Plaud voice recordings in OpenCode. Use when the user mentions Plau
5
5
 
6
6
  # Plaud recordings
7
7
 
8
- Plaud's own server provides the read tools, and the plugin adds one export
9
- tool. Plaud has no write API: nothing here can create, rename, delete,
8
+ Plaud's own server provides the read tools, and the plugin adds an export
9
+ tool and a one-line list of the newest recordings. Plaud has no write API: nothing here can create, rename, delete,
10
10
  upload, share or send a recording.
11
11
 
12
12
  ## Tools
@@ -18,6 +18,7 @@ upload, share or send a recording.
18
18
  | `plaud_get_transcript` | `tools.plaud.get_transcript(input)` | One transcript block, a page at a time. |
19
19
  | `plaud_get_file` | `tools.plaud.get_file(input)` | One recording in full. Large: see below. |
20
20
  | `plaud_get_current_user` | `tools.plaud.get_current_user(input)` | The signed-in Plaud account's own details. |
21
+ | `plaud_recent` | `tools.plaud.recent(input)` | The newest recordings, one line each (title, start time in UTC, length), for a quick look. |
21
22
  | `plaud_export` | `tools.plaud.export(input)` | Save audio, a transcript or a note as a local file. |
22
23
 
23
24
  - Use the argument names in each tool's own schema.
@@ -27,8 +28,9 @@ upload, share or send a recording.
27
28
  audio link. Call it only for `source_list`.
28
29
  - Another account the user configured, such as `work`, has the same read
29
30
  tools under `plaud-work`: `plaud-work_list_files`, or
30
- `tools["plaud-work"].list_files(input)` in Code Mode. For an export, pass
31
- `account: "work"` to `plaud_export` instead. If it is unclear which account
31
+ `tools["plaud-work"].list_files(input)` in Code Mode. For an export or the
32
+ newest recordings, pass `account: "work"` to `plaud_export` or
33
+ `plaud_recent` instead. If it is unclear which account
32
34
  the user means, ask.
33
35
  - Load `opencode-plaud-export` before an export, and `opencode-plaud-digest`
34
36
  for a summary across several recordings or a follow-up draft.