@nikcli-ai/plugin 1.18.0 → 1.21.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/dist/index.d.ts +15 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -116,6 +116,21 @@ export type AuthOuathResult = {
|
|
|
116
116
|
})) | {
|
|
117
117
|
type: "failed";
|
|
118
118
|
}>;
|
|
119
|
+
} | {
|
|
120
|
+
method: "auto-code";
|
|
121
|
+
callback(code?: string): Promise<({
|
|
122
|
+
type: "success";
|
|
123
|
+
provider?: string;
|
|
124
|
+
} & ({
|
|
125
|
+
refresh: string;
|
|
126
|
+
access: string;
|
|
127
|
+
expires: number;
|
|
128
|
+
accountId?: string;
|
|
129
|
+
} | {
|
|
130
|
+
key: string;
|
|
131
|
+
})) | {
|
|
132
|
+
type: "failed";
|
|
133
|
+
}>;
|
|
119
134
|
});
|
|
120
135
|
export interface Hooks {
|
|
121
136
|
event?: (input: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@nikcli-ai/plugin",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.21.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@nikcli-ai/sdk": "1.
|
|
38
|
+
"@nikcli-ai/sdk": "1.21.0",
|
|
39
39
|
"@opentui/core": "0.1.91",
|
|
40
40
|
"@opentui/solid": "0.1.91",
|
|
41
41
|
"zod": "4.1.8"
|