@anthonyhaussman/opencode-agy-auth 1.2.7-alpha.3 → 1.2.7
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/README.md +0 -1
- package/dist/index.d.ts +5 -6
- package/dist/index.js +108 -876
- package/dist/index.js.map +1 -1
- package/dist/src/constants.d.ts +0 -2
- package/dist/src/plugin/oauth-authorize.d.ts +0 -9
- package/dist/src/plugin/quota-summary.d.ts +0 -2
- package/dist/src/plugin/quota.d.ts +0 -2
- package/dist/src/plugin/types.d.ts +0 -35
- package/dist/src/plugin.d.ts +0 -2
- package/package.json +1 -1
- package/dist/src/plugin/headers.d.ts +0 -7
- package/dist/src/plugin/tier.d.ts +0 -28
- package/dist/src/plugin/v2-fetch.d.ts +0 -1
- package/dist/src/plugin/v2-session.d.ts +0 -7
- package/dist/src/plugin/v2-storage.d.ts +0 -3
- package/dist/src/plugin/v2.d.ts +0 -14
package/README.md
CHANGED
|
@@ -8,7 +8,6 @@ An [OpenCode](https://opencode.ai/) authentication plugin that enables seamless
|
|
|
8
8
|
- **Dynamic Model Retrieval**: Fetches available models based on user tier and current allocations.
|
|
9
9
|
- **Quota Tracking**: Injects the `agy_quota` tool into OpenCode to check usage limits directly.
|
|
10
10
|
- **Traffic Simulation**: Maintains background heartbeat with `agy` servers.
|
|
11
|
-
- **Dual OpenCode Compatibility**: Fully supports both OpenCode v1 (>= 1.18.29) and OpenCode v2 seamlessly without breaking changes.
|
|
12
11
|
|
|
13
12
|
## Installation
|
|
14
13
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AgyCLIOAuthPlugin, GoogleOAuthPlugin } from "./src/plugin";
|
|
2
|
-
import { setupOpenCodeV2, v2PluginDefinition } from "./src/plugin/v2";
|
|
3
|
-
import type { DualOpenCodePlugin } from "./src/plugin/types";
|
|
4
2
|
export { AgyCLIOAuthPlugin, GoogleOAuthPlugin };
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
declare const _default: {
|
|
4
|
+
id: string;
|
|
5
|
+
server: typeof AgyCLIOAuthPlugin;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|