@laxture/vibe-pm 0.1.1 → 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 (2) hide show
  1. package/dist/index.js +36 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -600,10 +600,25 @@ Create project term dictionary docs/regulation/dictionary.md (if not exists).
600
600
  title: "Integration: DCP",
601
601
  type: "question",
602
602
  instruction: `
603
- Configure DCP plugin.
604
- 1. Check global & project configs for DCP dependency
605
- 2. If installed \u2192 skip this step, continue to next step
606
- 3. If missing \u2192 ask user. Write to .opencode/opencode.json`,
603
+ Configure DCP (Dynamic Context Pruning) plugin.
604
+ 1. Use bash to check global and project-level opencode configs for the plugin "@tarquinen/opencode-dcp":
605
+ - ~/.config/opencode/opencode.json (global config)
606
+ - ./.opencode/opencode.json (project config)
607
+ 2. If not installed \u2192 suggest installation. Command: "opencode plugin @tarquinen/opencode-dcp@latest --global"
608
+ 3. Configure DCP: merge the following config into "~/.config/opencode/dcp.jsonc" or "~/.config/opencode/dcp.json"
609
+ (if neither exists, create dcp.jsonc)
610
+ \`\`\`json
611
+ {
612
+ "compress": {
613
+ "protectTags": true
614
+ },
615
+ "protectedFilePatterns": [
616
+ "docs/flow/*",
617
+ "docs/regulation/*",
618
+ "docs/spec/*"
619
+ ]
620
+ }
621
+ \`\`\``,
607
622
  checkInstalled: "opencode-dynamic-context-pruning",
608
623
  checkPaths: ["~/.config/opencode/opencode.json", ".opencode/opencode.json"],
609
624
  params: {
@@ -1001,9 +1016,23 @@ ${tableRows}
1001
1016
  type: "question",
1002
1017
  instruction: `
1003
1018
  \u914D\u7F6E DCP (Dynamic Context Pruning) \u63D2\u4EF6\u3002
1004
- 1. \u7528 bash \u68C0\u67E5\u5168\u5C40\u548C\u9879\u76EE\u7EA7 opencode \u914D\u7F6E\u4E2D\u662F\u5426\u5DF2\u6709 DCP \u4F9D\u8D56\uFF1A~/.config/opencode/opencode.json \u548C ./.opencode/opencode.json\uFF08\u6216 package.json\uFF09
1005
- 2. \u82E5\u5DF2\u5B89\u88C5 \u2192 \u8DF3\u8FC7\u672C\u6B65\u9AA4\uFF0C\u7EE7\u7EED\u6267\u884C\u4E0B\u4E00\u4E2A\u6B65\u9AA4
1006
- 3. \u82E5\u672A\u5B89\u88C5 \u2192 \u8BE2\u95EE\u7528\u6237\u3002\u5B89\u88C5\u65B9\u5F0F\uFF1A\u5199\u5165 .opencode/opencode.json \u7684 dependencies`,
1019
+ 1. \u7528 bash \u68C0\u67E5\u5168\u5C40\u548C\u9879\u76EE\u7EA7 opencode \u914D\u7F6E, \u662F\u5426\u5305\u542B\u4E86\u63D2\u4EF6\u914D\u7F6E"@tarquinen/opencode-dcp"\uFF1A
1020
+ - ~/.config/opencode/opencode.json\uFF08\u9879\u76EE\u7EA7\u914D\u7F6E\uFF09
1021
+ - ./.opencode/opencode.json\uFF08\u9879\u76EE\u7EA7\u914D\u7F6E\uFF09
1022
+ 2. \u82E5\u672A\u5B89\u88C5 \u2192 \u5EFA\u8BAE\u7528\u6237\u5B89\u88C5\u3002\u5B89\u88C5\u65B9\u5F0F\uFF1A"opencode plugin @tarquinen/opencode-dcp@latest --global"
1023
+ 3. \u914D\u7F6Edcp, \u5C06\u4EE5\u4E0B\u914D\u7F6E\u5408\u5E76\u5230"~/.config/opencode/dcp.jsonc" \u6216 "~/.config/opencode/dcp.json" (\u5982\u90FD\u672A\u5B58\u5728, \u521B\u5EFAdcp.jsonc)
1024
+ \`\`\`json
1025
+ {
1026
+ "compress": {
1027
+ "protectTags": true
1028
+ },
1029
+ "protectedFilePatterns": [
1030
+ "docs/flow/*",
1031
+ "docs/regulation/*",
1032
+ "docs/spec/*"
1033
+ ]
1034
+ }
1035
+ \`\`\``,
1007
1036
  checkInstalled: "opencode-dynamic-context-pruning",
1008
1037
  checkPaths: ["~/.config/opencode/opencode.json", ".opencode/opencode.json"],
1009
1038
  params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laxture/vibe-pm",
3
- "version": "0.1.1",
3
+ "version": "0.1.4",
4
4
  "license": "Apache-2.0",
5
5
  "repository": "https://github.com/hank-cp/opencode-vibe-pm",
6
6
  "keywords": [