diff options
| author | Ryan Vogel <[email protected]> | 2026-01-31 10:20:23 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-31 10:20:23 -0500 |
| commit | 53f118c57afa57464c561114693648fc65b05554 (patch) | |
| tree | b06b0b211c985c5fc88734e7a96c07582618a461 /packages/app/src/context | |
| parent | 786ae0a584688214c99d613f18b6dc1b4ccefb9e (diff) | |
| download | opencode-53f118c57afa57464c561114693648fc65b05554.tar.gz opencode-53f118c57afa57464c561114693648fc65b05554.zip | |
Revert "feat(app): add skill slash commands" (#11484)
Diffstat (limited to 'packages/app/src/context')
| -rw-r--r-- | packages/app/src/context/global-sync.tsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/app/src/context/global-sync.tsx b/packages/app/src/context/global-sync.tsx index 6977b86a3..ad3d124b2 100644 --- a/packages/app/src/context/global-sync.tsx +++ b/packages/app/src/context/global-sync.tsx @@ -17,7 +17,6 @@ import { type VcsInfo, type PermissionRequest, type QuestionRequest, - type AppSkillsResponse, createOpencodeClient, } from "@opencode-ai/sdk/v2/client" import { createStore, produce, reconcile, type SetStoreFunction, type Store } from "solid-js/store" @@ -57,13 +56,10 @@ type ProjectMeta = { } } -export type Skill = AppSkillsResponse[number] - type State = { status: "loading" | "partial" | "complete" agent: Agent[] command: Command[] - skill: Skill[] project: string projectMeta: ProjectMeta | undefined icon: string | undefined @@ -392,7 +388,6 @@ function createGlobalSync() { status: "loading" as const, agent: [], command: [], - skill: [], session: [], sessionTotal: 0, session_status: {}, @@ -533,7 +528,6 @@ function createGlobalSync() { Promise.all([ sdk.path.get().then((x) => setStore("path", x.data!)), sdk.command.list().then((x) => setStore("command", x.data ?? [])), - sdk.app.skills().then((x) => setStore("skill", x.data ?? [])), sdk.session.status().then((x) => setStore("session_status", x.data!)), loadSessions(directory), sdk.mcp.status().then((x) => setStore("mcp", x.data!)), |
