@opencode-ai/plugin 0.0.0-snapshot-tui-plugins-202603191129 → 0.0.0-snapshot-tui-plugins-202603201124

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.d.ts +4 -2
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -53,7 +53,7 @@ export type AuthHook = {
53
53
  condition?: (inputs: Record<string, string>) => boolean;
54
54
  when?: Rule;
55
55
  }>;
56
- authorize(inputs?: Record<string, string>): Promise<AuthOuathResult>;
56
+ authorize(inputs?: Record<string, string>): Promise<AuthOAuthResult>;
57
57
  } | {
58
58
  type: "api";
59
59
  label: string;
@@ -88,7 +88,7 @@ export type AuthHook = {
88
88
  }>;
89
89
  })[];
90
90
  };
91
- export type AuthOuathResult = {
91
+ export type AuthOAuthResult = {
92
92
  url: string;
93
93
  instructions: string;
94
94
  } & ({
@@ -122,6 +122,8 @@ export type AuthOuathResult = {
122
122
  type: "failed";
123
123
  }>;
124
124
  });
125
+ /** @deprecated Use AuthOAuthResult instead. */
126
+ export type AuthOuathResult = AuthOAuthResult;
125
127
  export interface Hooks {
126
128
  event?: (input: {
127
129
  event: Event;
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-snapshot-tui-plugins-202603191129",
4
+ "version": "0.0.0-snapshot-tui-plugins-202603201124",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@opencode-ai/sdk": "0.0.0-snapshot-tui-plugins-202603191129",
29
+ "@opencode-ai/sdk": "0.0.0-snapshot-tui-plugins-202603201124",
30
30
  "zod": "4.1.8"
31
31
  },
32
32
  "peerDependencies": {