@opencode-ai/plugin 0.0.0-next-17125 → 0.0.0-next-17132

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.
@@ -1,10 +1,12 @@
1
1
  import type { SkillApi } from "@opencode-ai/client/effect/api";
2
2
  import { Skill } from "@opencode-ai/schema/skill";
3
- import type { Effect } from "effect";
3
+ import type { Effect, Types } from "effect";
4
4
  import type { Transform } from "./registration.js";
5
5
  export interface SkillDraft {
6
- source(source: Skill.Source): void;
7
- list(): readonly Skill.Source[];
6
+ list(): readonly Types.DeepMutable<Skill.Info>[];
7
+ add(skill: Skill.Info): void;
8
+ update(id: string, update: (skill: Types.DeepMutable<Skill.Info>) => void): void;
9
+ remove(id: string): void;
8
10
  }
9
11
  export interface SkillDomain extends SkillApi<unknown> {
10
12
  readonly transform: Transform<SkillDraft>;
@@ -1,9 +1,12 @@
1
1
  import type { SkillApi } from "@opencode-ai/client/promise/api";
2
2
  import type { Skill } from "@opencode-ai/schema/skill";
3
3
  import type { Transform } from "./registration.js";
4
+ import type { DeepMutable } from "./types.js";
4
5
  export interface SkillDraft {
5
- source(source: Skill.Source): void;
6
- list(): readonly Skill.Source[];
6
+ list(): readonly DeepMutable<Skill.Info>[];
7
+ add(skill: Skill.Info): void;
8
+ update(id: string, update: (skill: DeepMutable<Skill.Info>) => void): void;
9
+ remove(id: string): void;
7
10
  }
8
11
  export interface SkillDomain extends SkillApi {
9
12
  readonly transform: Transform<SkillDraft>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/plugin",
4
- "version": "0.0.0-next-17125",
4
+ "version": "0.0.0-next-17132",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -36,16 +36,16 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@ai-sdk/provider": "3.0.8",
39
- "@opencode-ai/ai": "0.0.0-next-17125",
40
- "@opencode-ai/client": "0.0.0-next-17125",
41
- "@opencode-ai/schema": "0.0.0-next-17125",
39
+ "@opencode-ai/ai": "0.0.0-next-17132",
40
+ "@opencode-ai/client": "0.0.0-next-17132",
41
+ "@opencode-ai/schema": "0.0.0-next-17132",
42
42
  "@opencode-ai/sdk": "1.18.5",
43
43
  "@standard-schema/spec": "1.1.0",
44
44
  "effect": "4.0.0-beta.101",
45
45
  "zod": "4.1.8"
46
46
  },
47
47
  "peerDependencies": {
48
- "@opencode-ai/theme": "0.0.0-next-17125",
48
+ "@opencode-ai/theme": "0.0.0-next-17132",
49
49
  "@opentui/core": "0.0.0-20260808-9ecf7c0a",
50
50
  "@opentui/keymap": "0.0.0-20260808-9ecf7c0a",
51
51
  "@opentui/solid": "0.0.0-20260808-9ecf7c0a",
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "devDependencies": {
72
- "@opencode-ai/theme": "0.0.0-next-17125",
72
+ "@opencode-ai/theme": "0.0.0-next-17132",
73
73
  "@opentui/core": "0.0.0-20260808-9ecf7c0a",
74
74
  "@opentui/keymap": "0.0.0-20260808-9ecf7c0a",
75
75
  "@opentui/solid": "0.0.0-20260808-9ecf7c0a",