@matrix-ai/plugin 1.6.1 → 1.6.2

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.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Event, createOpencodeClient, Project, Model, Provider, Permission, UserMessage, Message, Part, Auth, Config as SDKConfig } from "@matrix-ai/sdk";
1
+ import type { Event, createMatrixClient, Project, Model, Provider, Permission, UserMessage, Message, Part, Auth, Config as SDKConfig } from "@matrix-ai/sdk";
2
2
  import type { Provider as ProviderV2, Model as ModelV2 } from "@matrix-ai/sdk/v2";
3
3
  import type { BunShell } from "./shell.js";
4
4
  import { type ToolDefinition } from "./tool.js";
@@ -9,7 +9,7 @@ export type ProviderContext = {
9
9
  options: Record<string, any>;
10
10
  };
11
11
  export type PluginInput = {
12
- client: ReturnType<typeof createOpencodeClient>;
12
+ client: ReturnType<typeof createMatrixClient>;
13
13
  project: Project;
14
14
  directory: string;
15
15
  worktree: string;
package/dist/tui.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { AgentPart, OpencodeClient, Event, FilePart, LspStatus, McpStatus, Todo, Message, Part, Provider, PermissionRequest, QuestionRequest, SessionStatus, TextPart, Workspace, Config as SdkConfig } from "@matrix-ai/sdk/v2";
1
+ import type { AgentPart, MatrixClient, Event, FilePart, LspStatus, McpStatus, Todo, Message, Part, Provider, PermissionRequest, QuestionRequest, SessionStatus, TextPart, Workspace, Config as SdkConfig } from "@matrix-ai/sdk/v2";
2
2
  import type { CliRenderer, ParsedKey, RGBA, SlotMode } from "@opentui/core";
3
3
  import type { JSX, SolidPlugin } from "@opentui/solid";
4
4
  import type { Config as PluginConfig, PluginOptions } from "./index.js";
@@ -406,8 +406,8 @@ export type TuiPluginApi = {
406
406
  kv: TuiKV;
407
407
  state: TuiState;
408
408
  theme: TuiTheme;
409
- client: OpencodeClient;
410
- scopedClient: (workspaceID?: string) => OpencodeClient;
409
+ client: MatrixClient;
410
+ scopedClient: (workspaceID?: string) => MatrixClient;
411
411
  workspace: TuiWorkspace;
412
412
  event: TuiEventBus;
413
413
  renderer: CliRenderer;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@matrix-ai/plugin",
4
- "version": "1.6.1",
4
+ "version": "1.6.2",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@matrix-ai/sdk": "1.6.1",
29
+ "@matrix-ai/sdk": "1.6.2",
30
30
  "zod": "4.1.8"
31
31
  },
32
32
  "peerDependencies": {