@flowdesk/opencode-plugin 0.1.2 → 0.1.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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +86 -0
  3. package/package.json +21 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 FlowDesk 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
13
+ all 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
21
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,86 @@
1
+ # @flowdesk/opencode-plugin
2
+
3
+ FlowDesk for opencode plugin with Release 1 non-dispatch command-backed
4
+ registration plus opt-in description-driven natural-language tools.
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ npm install @flowdesk/opencode-plugin@^0.1.2
10
+ ```
11
+
12
+ ## Configure
13
+
14
+ The OpenCode plugin entry must point at the `/server` subpath. The package
15
+ root only exports helper types and an id; the actual default plugin object
16
+ is exposed under `/server`:
17
+
18
+ ```json
19
+ {
20
+ "plugin": ["@flowdesk/opencode-plugin/server"]
21
+ }
22
+ ```
23
+
24
+ The minimum opt-in set for the natural-language tools is:
25
+
26
+ ```json
27
+ {
28
+ "plugin": [
29
+ [
30
+ "@flowdesk/opencode-plugin/server",
31
+ {
32
+ "providerUsageLive": {
33
+ "enabled": true,
34
+ "providers": ["claude", "openai", "gemini"]
35
+ },
36
+ "statusLive": { "enabled": true },
37
+ "laneHeartbeatWriter": { "enabled": true },
38
+ "chatMessageStallAlert": { "enabled": true },
39
+ "durableStateRoot": "/Users/<you>/.flowdesk"
40
+ }
41
+ ]
42
+ ]
43
+ }
44
+ ```
45
+
46
+ ## Natural-Language Tools
47
+
48
+ Once loaded, the assistant LLM picks up five description-driven FlowDesk
49
+ tools without you typing portable commands:
50
+
51
+ 1. `flowdesk_quick_reviewer_run` for explicit multi-perspective code review
52
+ (Korean `다관점 리뷰 해줘`, English `multi-perspective review`).
53
+ 2. `flowdesk_provider_usage_live` for usage, quota, remaining, reset, or
54
+ rate-limit questions (Korean `사용량 보여줘`, English `how much usage
55
+ do I have left`).
56
+ 3. `flowdesk_status_live` for workflow status, lane heartbeat, or "is it
57
+ stuck" questions (Korean `상태`, `어디까지`, `멈췄어`, `하트비트 알려줘`;
58
+ English `status`, `where are we`, `is it stuck`,
59
+ `lane heartbeat status`).
60
+ 4. `flowdesk_quick_fallback_run` for explicit provider fallback intent
61
+ (Korean `Claude 막혔어 OpenAI 로 다시`, English `fallback to`,
62
+ `switch to`, `retry with`). Plans only; actual provider switching stays
63
+ behind managed-dispatch promotion.
64
+ 5. `flowdesk_lane_heartbeat_record` for explicit heartbeat requests
65
+ (Korean `하트비트 남겨줘`, English `record heartbeat`, `mark progress`).
66
+
67
+ See the workspace
68
+ [QUICKSTART](https://github.com/astasdf1/flowdesk/blob/main/docs/QUICKSTART.md),
69
+ [USAGE_NATURAL_LANGUAGE](https://github.com/astasdf1/flowdesk/blob/main/docs/USAGE_NATURAL_LANGUAGE.md),
70
+ and [USER_MANUAL](https://github.com/astasdf1/flowdesk/blob/main/docs/USER_MANUAL.md)
71
+ for the full Korean and English trigger lists, opt-in config, and safety
72
+ boundaries.
73
+
74
+ ## Authority Boundary
75
+
76
+ `realOpenCodeDispatch`, `providerCall`, `runtimeExecution`,
77
+ `actualLaneLaunch`, `fallbackAuthority`,
78
+ `hardCancelOrNoReplyAuthority`, and `toolAuthority` always remain `false`.
79
+ Only diagnostic flags (`providerUsageAcquired`, `statusEvidenceObserved`,
80
+ `exactModelProviderAcquisitionRecorded`, `regatePlanPrepared`,
81
+ `laneHeartbeatPersisted`, `expectedNextHeartbeatOverdue`) can become
82
+ `true` to indicate that real diagnostic data was read or written.
83
+
84
+ ## License
85
+
86
+ MIT. See the workspace-level [LICENSE](https://github.com/astasdf1/flowdesk/blob/main/LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowdesk/opencode-plugin",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "FlowDesk OpenCode plugin with Release 1 non-dispatch command-backed registration.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -9,6 +9,13 @@
9
9
  "url": "git+https://github.com/astasdf1/flowdesk.git",
10
10
  "directory": "packages/opencode-plugin"
11
11
  },
12
+ "homepage": "https://github.com/astasdf1/flowdesk#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/astasdf1/flowdesk/issues"
15
+ },
16
+ "engines": {
17
+ "node": ">=20.11.0"
18
+ },
12
19
  "publishConfig": {
13
20
  "access": "public"
14
21
  },
@@ -21,7 +28,9 @@
21
28
  "!dist/**/*.test.d.ts.map",
22
29
  "!dist/**/*.test.js",
23
30
  "!dist/**/*.test.js.map",
24
- "!dist/.tsbuildinfo"
31
+ "!dist/.tsbuildinfo",
32
+ "README.md",
33
+ "LICENSE"
25
34
  ],
26
35
  "exports": {
27
36
  ".": {
@@ -48,7 +57,15 @@
48
57
  "test": "npm run build && node --test dist/**/*.test.js"
49
58
  },
50
59
  "dependencies": {
51
- "@flowdesk/core": "^0.1.2",
52
- "@opencode-ai/plugin": "1.15.6"
60
+ "@flowdesk/core": "^0.1.4"
61
+ },
62
+ "peerDependencies": {
63
+ "@opencode-ai/plugin": ">=1.14.40 <2"
64
+ },
65
+ "peerDependenciesMeta": {
66
+ "@opencode-ai/plugin": {
67
+ "optional": false
68
+ }
53
69
  }
54
70
  }
71
+