opencode-snippets 2.2.3 → 3.0.0

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 CHANGED
@@ -98,7 +98,7 @@ Required: add the package to your `opencode.json` plugins array:
98
98
 
99
99
  ```json
100
100
  {
101
- "plugins": [
101
+ "plugin": [
102
102
  "opencode-snippets"
103
103
  ]
104
104
  }
@@ -467,7 +467,7 @@ A default config file is created automatically on first run.
467
467
 
468
468
  ```jsonc
469
469
  {
470
- "$schema": "https://raw.githubusercontent.com/JosXa/opencode-snippets/v2.2.3/schema/config.schema.json",
470
+ "$schema": "https://raw.githubusercontent.com/JosXa/opencode-snippets/v3.0.0/schema/config.schema.json",
471
471
  "logging": {
472
472
  "debug": false // Enable debug logging (logs: ~/.config/opencode/logs/snippets/daily/)
473
473
  },
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Plugin } from "@opencode-ai/plugin";
1
+ import type { Plugin, PluginModule } from "@opencode-ai/plugin";
2
2
  /**
3
3
  * Snippets Plugin for OpenCode
4
4
  *
@@ -8,4 +8,9 @@ import type { Plugin } from "@opencode-ai/plugin";
8
8
  * @see https://github.com/JosXa/opencode-snippets for full documentation
9
9
  */
10
10
  export declare const SnippetsPlugin: Plugin;
11
+ declare const plugin: PluginModule & {
12
+ id: string;
13
+ };
14
+ export declare const server: Plugin;
15
+ export default plugin;
11
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AA6DlD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,MA+xB5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AA+DhE;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,MAuyB5B,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,YAAY,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAGxC,CAAC;AAEF,eAAO,MAAM,MAAM,QAAiB,CAAC;AACrC,eAAe,MAAM,CAAC"}