@2digits/opencode-plugin 0.1.17 → 0.1.18
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/dist/index.js +2 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import r from"dedent";import{tool as i}from"@opencode-ai/plugin";import s from"d
|
|
|
8
8
|
Provide a detailed explanation of what went wrong and what the user expected to happen.
|
|
9
9
|
This will be used as the issue body.
|
|
10
10
|
`}),context:i.schema.string().meta({title:"Relevant code or conversation snippets",description:s`
|
|
11
|
-
|
|
11
|
+
Show the before and after code or conversation snippets that triggered the issue.
|
|
12
12
|
`}),suggestedRule:i.schema.string().meta({title:"Suggested rule",description:s`
|
|
13
13
|
Propose a rule to prevent this happening in the future.
|
|
14
14
|
Keep in mind that the rule should be specific and not too broad.
|
|
@@ -61,9 +61,7 @@ _Created via \`/fix\` command in OpenCode_
|
|
|
61
61
|
|
|
62
62
|
## User Input
|
|
63
63
|
|
|
64
|
-
<Feedback>
|
|
65
|
-
$ARGUMENTS
|
|
66
|
-
</Feedback>
|
|
64
|
+
<Feedback>$ARGUMENTS</Feedback>
|
|
67
65
|
`;async function p(t){return{config:async(e)=>{e.command=e.command??{},e.command.fix={description:"Submit feedback about agent behavior to improve shared rules",template:l}},"experimental.chat.system.transform":async(e,a)=>{a.system.push(r`
|
|
68
66
|
Instructions from: @2digits/opencode-plugin
|
|
69
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/opencode-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "OpenCode plugin for 2digits team - shared rules and feedback system",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opencode-ai/plugin": "1.3.
|
|
28
|
+
"@opencode-ai/plugin": "1.3.10",
|
|
29
29
|
"dedent": "1.7.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/bun": "1.3.11",
|
|
33
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
33
|
+
"@typescript/native-preview": "7.0.0-dev.20260331.1",
|
|
34
34
|
"bunup": "0.16.31",
|
|
35
35
|
"typescript": "6.0.2",
|
|
36
36
|
"@2digits/tsconfig": "0.8.7"
|